Fix parallel bootstrap in lisp/ on MS-Windows.
[bpt/emacs.git] / lisp / ChangeLog
1 2012-07-26 Eli Zaretskii <eliz@gnu.org>
2
3 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
4 ($(lisp)/calendar/diary-loaddefs.el)
5 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
6 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs. Fixes
7 failures in parallel bootstrap because subdirs.el is being
8 rewritten while the autoload files are built at the same time,
9 which needs to load subdirs.el.
10
11 2012-07-26 Martin Rudalics <rudalics@gmx.at>
12
13 * mouse.el (popup-menu): Fix doc-string and re-indent code.
14 (mouse-drag-line): Don't exit tracking when a switch-frame or
15 switch-window event occurs (Bug#12006).
16
17 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
18
19 * mouse.el (popup-menu): Fix last change.
20
21 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
22
23 Autoload from Lisp with more care. Follow aliases when looking for
24 function properties.
25 * subr.el (autoloadp): New function.
26 (symbol-file): Use it.
27 (function-get): New function.
28 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
29 autoload-do-load.
30 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
31 (lisp-indent-function):
32 * emacs-lisp/gv.el (gv-get):
33 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
34 * emacs-lisp/byte-opt.el (byte-optimize-form):
35 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
36 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
37 Use function-get.
38 * emacs-lisp/cl.el: Don't propagate function properties any more.
39
40 * speedbar.el (speedbar-add-localized-speedbar-support):
41 * emacs-lisp/disass.el (disassemble-internal):
42 * desktop.el (desktop-load-file):
43 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
44 (describe-function-1):
45 * emacs-lisp/find-func.el (find-function-noselect):
46 * emacs-lisp/elp.el (elp-instrument-function):
47 * emacs-lisp/advice.el (ad-has-proper-definition):
48 * apropos.el (apropos-safe-documentation, apropos-macrop):
49 * emacs-lisp/debug.el (debug-on-entry):
50 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
51 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
52 * calc/calc.el (name): Use autoloadp & autoload-do-load.
53
54 2012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
55
56 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
57 function, not an obsolete variable (Bug#12046).
58
59 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
60
61 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
62
63 2012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
64
65 * emacs-lisp/pp.el (pp-display-expression): Select old selected
66 window only if it is still live (Bug#12034).
67
68 2012-07-25 Martin Rudalics <rudalics@gmx.at>
69
70 * subr.el (redirect-frame-focus): Add advertised calling
71 convention (Bug#12030).
72
73 2012-07-25 Paul Eggert <eggert@cs.ucla.edu>
74
75 Prefer typical American spelling for "acknowledgment".
76 * vc/add-log.el (change-log-acknowledgment): Rename from
77 change-log-acknowledgement, with an alias for the old name.
78
79 2012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
80
81 * calc-alg.el (math-simplify-divide): Don't cross multiply
82 in an equation when the lhs is a variable.
83
84 2012-07-24 Julien Danjou <julien@danjou.info>
85
86 * net/netrc.el (netrc-find-service-number, netrc-store-data):
87 Remove, unused.
88
89 2012-07-23 Eli Zaretskii <eliz@gnu.org>
90
91 * startup.el (command-line): Don't display an empty user name in
92 the error message about non-existent home directory, when
93 init-file-user was set to an empty string. See
94 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
95 for the details and context.
96
97 2012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
98
99 * ses.el (ses-cell-formula-aset): New macro.
100 (ses-cell-references-aset): New macro.
101 (ses-cell-p): New function.
102 (ses-rename-cell): Do no longer rely on complex operations like
103 ses-cell-set-formula or ses-set-cell to change the cell and handle
104 the undo at the same time, but rather use lower level new macros
105 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
106 the undo directly. Refresh the mode line.
107
108 2012-07-21 Leo Liu <sdl.web@gmail.com>
109
110 * progmodes/cc-cmds.el (c-defun-name):
111 Use match-string-no-properties instead for consistency.
112
113 2012-07-20 Leo Liu <sdl.web@gmail.com>
114
115 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
116 (Bug#7879)
117
118 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
119
120 2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
121
122 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
123 * progmodes/bug-reference.el, misearch.el: Provide themselves
124 (bug#11915).
125
126 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
127 of narrowed buffer (bug#11966).
128
129 2012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
130
131 * ses.el (ses-rename-cell): Set new name also in reference list of
132 cells of which the renamed cell depends.
133
134 2012-07-20 Masatake YAMATO <yamato@redhat.com>
135
136 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
137 to check whether menu-bar is shown or not. If not shown,
138 show the menu-bar as a popup menu instead of using tmm.
139 * mouse.el (popup-menu): Accept `point' as `position' argument.
140
141 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
142
143 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
144 up inside string symbol literal (bug#11923).
145
146 2012-07-20 Eli Zaretskii <eliz@gnu.org>
147
148 * startup.el (fancy-startup-text): Read the whole tutorial, not
149 just its first 256 bytes. Prevents gibberish in display of the
150 tutorial title.
151
152 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
153
154 Drop idle buffer compaction due to an absence of the
155 proved efficiency.
156 * compact.el: Remove.
157
158 2012-07-19 Sam Steingold <sds@gnu.org>
159
160 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
161 vc-bzr-pull & vc-bzr-merge-branch.
162 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
163 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
164 for consistency with compilation-error-regexp-alist.
165 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
166 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
167 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
168 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
169
170 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
171
172 * emacs-lisp/chart.el: Use lexical-binding.
173 (chart-emacs-storage): Don't hardcode the list of entries.
174
175 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
176
177 Next round of tweaks caused by Fgarbage_collect changes.
178 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
179
180 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
181
182 Compact buffers when idle.
183 * compact.el: New file.
184
185 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
186
187 * subr.el (eventp): Presume that if it looks vaguely like an event,
188 it's an event (bug#10190).
189
190 2012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
191
192 Enhancements to ppss related code (thanks Stefan).
193 * progmodes/python.el (python-indent-context)
194 (python-indent-calculate-indentation, python-indent-dedent-line)
195 (python-indent-electric-colon, python-nav-forward-block)
196 (python-mode-abbrev-table)
197 (python-info-assignment-continuation-line-p): Simplify checks
198 for ppss context.
199 (python-info-continuation-line-p): Cleanup.
200 (python-info-ppss-context): Do not catch 'quote.
201 (python-info-ppss-context-type)
202 (python-info-ppss-comment-or-string-p): Simplify.
203
204 2012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
205
206 * progmodes/python.el: Enhancements to eldoc support.
207 (python-info-current-symbol): New function.
208 (python-eldoc-at-point): Use python-info-current-symbol.
209 (python-info-current-defun): Fix cornercase on first defun scan.
210 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
211 and signal error when no inferior python process is available.
212
213 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
214
215 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
216 assume it's always t.
217 (vc-git-registered): Remove caching, the function is only called
218 once.
219 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
220
221 2012-07-18 Chong Yidong <cyd@gnu.org>
222
223 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
224
225 * simple.el (count-words): Report on narrowing (Bug#9959).
226
227 * bindings.el: Bind M-= to count-words.
228
229 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
230
231 2012-07-18 Masatake YAMATO <yamato@redhat.com>
232
233 * progmodes/sh-script.el (sh-imenu-generic-expression):
234 Capture a function with `function' keyword and without parentheses
235 like "function FOO" (bug#11856).
236
237 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
238
239 * window.el (split-window-sensibly): Make WINDOW argument
240 optional.
241
242 2012-07-18 Chong Yidong <cyd@gnu.org>
243
244 * subr.el (keyboard-translate): Doc fix (Bug#7261).
245
246 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
247 and make C-x 8 RET exit isearch (Bug#11439).
248
249 * international/iso-transl.el: Move isearch-mode-map key
250 definitions to isearch.el.
251
252 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
253
254 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
255 (eieio-defclass): Use gv-define-setter when possible.
256
257 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
258
259 Reflect recent changes in Fgarbage_collect.
260 * emacs-lisp/chart.el (chart-emacs-storage): Change to
261 reflect new format of data returned by Fgarbage_collect.
262
263 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
264
265 New utility functions + python-info-ppss-context fix (Bug#11910).
266 * progmodes/python.el (python-info-beginning-of-block-statement-p)
267 (python-info-ppss-comment-or-string-p): New functions.
268 (python-info-ppss-context): Small fix for string check.
269
270 2012-07-17 Juri Linkov <juri@jurta.org>
271
272 * dired-aux.el (dired-do-async-shell-command): Doc fix.
273 (dired-do-async-shell-command): Don't add `*' at the end of the
274 command (Bug#11815).
275 (dired-do-shell-command): Doc fix.
276 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
277 Join the individual commands using either "&" or ";" as the
278 separator depending on the values of these trailing characters.
279 At the end re-add the trailing "&". (Bug#10598)
280
281 * simple.el (async-shell-command): Sync the interactive spec with
282 `shell-command'. Doc fix.
283 (shell-command): Doc fix.
284
285 2012-07-17 Juri Linkov <juri@jurta.org>
286
287 * descr-text.el (describe-char): Fix format args. (Bug#10129)
288
289 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
290
291 Final renames and doc fixes for movement commands (bug#11899).
292 * progmodes/python.el (python-nav-beginning-of-statement):
293 Rename from python-nav-statement-start.
294 (python-nav-end-of-statement): Rename from
295 python-nav-statement-end.
296 (python-nav-beginning-of-block): Rename from
297 python-nav-block-start.
298 (python-nav-end-of-block): Rename from python-nav-block-end.
299
300 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
301
302 * progmodes/python.el (python-shell-send-string-no-output):
303 Allow accept-process-output to quit, keeping shell process ready for
304 future interactions (Bug#11868).
305
306 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
307
308 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
309
310 * emacs-lisp/elint.el (elint-find-args-in-code):
311 Use help-function-arglist, so as to handle lexical byte-code.
312
313 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
314 change (bug#11826).
315
316 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
317
318 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
319 Avoid spuriously marking the buffer as modified because of c-is-sws.
320
321 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
322 as not-a-comment (bug#11946).
323
324 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
325 for uninterned vars.
326
327 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
328 Use read-event since we don't really want to read chars but bytes.
329
330 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
331 $$..$$ but also $..$ using regexps (bug#11953).
332 Use tex-verbatim for \url and \path.
333 (tex-font-lock-keywords): Define as defconst like the others.
334 (tex-common-initialization): Don't use font-lock-syntax-table any more.
335
336 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
337
338 * international/mule-cmds.el (ucs-insert): Make it an obsolete
339 alias for insert-char.
340
341 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
342
343 * progmodes/python.el: Simplified imenu implementation.
344 (python-nav-jump-to-defun): Remove command.
345 (python-mode-map): Use `imenu' instead.
346 (python-nav-list-defun-positions-cache)
347 (python-imenu-include-defun-type, python-imenu-make-tree)
348 (python-imenu-subtree-root-label, python-imenu-index-alist):
349 Remove vars.
350 (python-nav-list-defun-positions, python-nav-read-defun)
351 (python-imenu-tree-assoc, python-imenu-make-element-tree)
352 (python-imenu-make-tree, python-imenu-create-index):
353 Remove functions.
354 (python-mode): Update to interact with imenu by setting
355 `imenu-extract-index-name-function' only.
356
357 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
358
359 * progmodes/python.el: Enhancements to navigation commands.
360 (python-nav-backward-sentence)
361 (python-nav-forward-sentence): Remove.
362 (python-nav-backward-statement, python-nav-forward-statement)
363 (python-nav-statement-start, python-nav-statement-end)
364 (python-nav-backward-block, python-nav-forward-block)
365 (python-nav-block-start, python-nav-block-end)
366 (python-nav-forward-sexp-function)
367 (python-info-current-line-comment-p)
368 (python-info-current-line-empty-p): New functions.
369 (python-indent-context): Use `python-nav-statement-start'.
370
371 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
372
373 * eshell/em-ls.el (eshell/ls): Use `apply'.
374
375 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
376 multi-hops, instead of Tramp internals.
377
378 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
379
380 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
381 when F1 and F2 are located on different hosts.
382
383 2012-07-14 Chong Yidong <cyd@gnu.org>
384
385 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
386 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
387 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
388 (xterm-mouse--read-event-sequence-1000)
389 (xterm-mouse--read-event-sequence-1006): New functions. For old
390 mouse protocol, handle M-mouse-X events correctly.
391 (xterm-mouse-event): New arg specifying mouse protocol.
392 (turn-on-xterm-mouse-tracking-on-terminal)
393 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
394 sequence to toggle extended coordinates on newer XTerms.
395 This appears to be harmless on terminals which do not support this.
396
397 2012-07-14 Leo Liu <sdl.web@gmail.com>
398
399 Add fringe bitmap indicators for flymake. (Bug#11253)
400 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
401 (flymake-make-overlay): New arg BITMAP.
402 (flymake-error-bitmap, flymake-warning-bitmap)
403 (flymake-fringe-indicator-position): New user variables.
404
405 * fringe.el: New bitmap exclamation-mark.
406
407 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
408
409 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
410 also (Bug#7879).
411
412 2012-07-14 Chong Yidong <cyd@gnu.org>
413
414 * electric.el (electric-pair-post-self-insert-function): Fix pair
415 insertion in empty-region case (Bug#11520).
416
417 2012-07-14 Chong Yidong <cyd@gnu.org>
418
419 * bindings.el: Consolidate ctl-x-r-map bindings.
420 Bind copy-rectangle-as-kill to C-x r w.
421
422 * rect.el, register.el: Move bindings to bindings.el.
423
424 2012-07-14 Reuben Thomas <rrt@sc3d.org>
425
426 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
427
428 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
429
430 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
431
432 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
433
434 * bindings.el (top): Use `mapc' instead of `mapcar'.
435
436 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
437
438 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
439
440 * progmodes/sql.el (sql-comint): Suppress the check for program on
441 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
442 (Bug#11908)
443
444 2012-07-13 Chong Yidong <cyd@gnu.org>
445
446 * bindings.el: Assign a non-nil permanent-local property to
447 per-buffer variables which lack a default value (Bug#11930).
448
449 * help-fns.el (describe-variable): In the "automatically becomes
450 local" notice, take note of permanent-local variables.
451
452 2012-07-13 Chong Yidong <cyd@gnu.org>
453
454 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
455 to allow printing the message when called from Lisp.
456
457 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
458 Remove toggle-read-only.
459
460 * bs.el (bs-toggle-readonly):
461 * buff-menu.el (Buffer-menu-toggle-read-only):
462 Remove with-no-warnings around toggle-read-only.
463
464 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
465 Remove with-no-warnings around toggle-read-only.
466 (ffap-read-only, ffap-read-only-other-window)
467 (ffap-read-only-other-frame): Callers changed.
468
469 * help-mode.el: Don't require view package.
470 (help-mode-finish): Set buffer-read-only instead of calling
471 toggle-read-only.
472
473 * bindings.el (mode-line-toggle-read-only):
474 * dired.el (dired-toggle-read-only):
475 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
476 with non-nil second arg.
477
478 * emacs-lisp/eieio-custom.el (eieio-customize-object):
479 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
480 directly.
481
482 2012-07-12 Eli Zaretskii <eliz@gnu.org>
483
484 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
485 not incf.
486
487 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
488
489 More CL cleanups and reduction of use of cl.el.
490 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
491 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
492 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
493 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
494 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
495 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
496 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
497 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
498 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
499 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
500 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
501 * eshell/em-cmpl.el, eshell/em-banner.el:
502 * calendar/parse-time.el: Use cl-lib.
503 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
504 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
505 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
506 * term/ns-win.el, term.el, shell.el, ps-samp.el:
507 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
508 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
509 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
510 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
511 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
512 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
513 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
514 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
515 `lambda' rather than with `quote'.
516 (eshell-do-opt): Adjust accordingly.
517 (eshell-process-option): Simplify.
518 * eshell/esh-var.el:
519 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
520 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
521 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
522 to `pcase--dontcare'.
523 * emacs-lisp/cl.el (labels): Mark obsolete.
524 (cl--letf, letf): Move to cl-lib.
525 (cl--letf*, letf*): Remove.
526 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
527 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
528 (cl-progv): Rewrite.
529 (cl--letf, cl-letf): Move from cl.el.
530 (cl-letf*): New macro.
531 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
532
533 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
534
535 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
536
537 2012-07-11 Chong Yidong <cyd@gnu.org>
538
539 * vc/log-edit.el (log-edit-vc-backend): New variable.
540 (log-edit): Doc fix.
541
542 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
543 argument of log-edit to set up all local variables.
544 (vc-start-logentry): New optional arg specifying VC backend.
545
546 * vc/vc.el (vc-checkin): Use it.
547 (vc-deduce-fileset): Handle Log Edit buffers.
548 (vc-diff): Make first argument optional too.
549
550 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
551
552 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
553
554 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
555 command, just in case. The function is not needed anymore.
556 (eshell-external-command): Do not call `eshell-remote-command'.
557
558 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
559
560 Reduce use of (require 'cl).
561 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
562 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
563 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
564 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
565 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
566 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
567 * battery.el, avoid.el, abbrev.el: Use cl-lib.
568 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
569 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
570 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
571 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
572 * calculator.el, autorevert.el, apropos.el: Don't require CL.
573 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
574 (byte-compile-unfold-bcf, byte-compile-check-variable):
575 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
576 (byte-compile-nilconstp):
577 * emacs-lisp/autoload.el (make-autoload): Use pcase.
578 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
579
580 * emacs-lisp/gv.el (cond): Make it a valid place.
581 (if): Simplify slightly.
582
583 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
584 (pcase--self-quoting-p): New function.
585 (pcase--u1): Use it.
586
587 2012-07-10 Glenn Morris <rgm@gnu.org>
588
589 * emacs-lisp/authors.el (authors-fixed-entries):
590 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
591
592 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
593
594 Rename configure.in to configure.ac (Bug#11603).
595 * emacs-lisp/authors.el (authors-canonical-file-name):
596 * progmodes/autoconf.el (autoconf-mode):
597 Prefer configure.ac to configure.in.
598
599 2012-07-08 Chong Yidong <cyd@gnu.org>
600
601 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
602 Implement the mouse-1-click-follows-link handling properly.
603
604 * info.el (Info-link-keymap): Use follow-link mechanism for
605 header-line links (Bug#374).
606
607 * simple.el (deactivate-mark): Do not set the primary selection
608 if another program has acquired it (Bug#11772).
609
610 2012-07-07 Kevin Ryde <user42@zip.com.au>
611
612 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
613 (woman-decode-region): Replace escaped-escapes without destroying
614 bold or underline (Bug#11552).
615 (woman2-process-escapes): Handle nofill regions (Bug#11591).
616
617 2012-07-07 Chong Yidong <cyd@gnu.org>
618
619 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
620 (interprogram-cut-function, interprogram-paste-function):
621 Mention that we typically mean the clipboard.
622
623 2012-07-06 Glenn Morris <rgm@gnu.org>
624
625 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
626
627 * files.el (toggle-read-only): Restrict message to interactive use.
628
629 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
630
631 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
632
633 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
634
635 2012-07-06 Glenn Morris <rgm@gnu.org>
636
637 * Makefile.in (compile-one-process): Rename from "recompile".
638
639 * Makefile.in (bzr-update): "compile" is the same as "recompile
640 autoloads", but parallelizable, so use that instead.
641
642 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
643
644 * window.el (quit-window): Always restore window height when
645 it's saved in quit-restore parameter (Bug#11810).
646
647 2012-07-06 Glenn Morris <rgm@gnu.org>
648
649 * simple.el (kill-whole-line): Doc tweak.
650
651 2012-07-06 Eli Zaretskii <eliz@gnu.org>
652
653 * files.el (file-relative-name): Compare file names
654 case-insensitively if on MS-Windows or MS-DOS, or if
655 read-file-name-completion-ignore-case is non-nil. Don't use
656 case-fold-search for this purpose. (Bug#11827)
657
658 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
659
660 * calendar/cal-dst.el (calendar-current-time-zone):
661 Return calendar-current-time-zone-cache if non-nil.
662
663 2012-07-17 Masatake YAMATO <yamato@redhat.com>
664 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
665
666 * calendar/cal-dst.el (calendar-current-time-zone):
667 Return calendar-current-time-zone-cache if non-nil.
668
669 2012-07-06 Glenn Morris <rgm@gnu.org>
670
671 * Makefile.in (cvs-update): Remove old alias.
672
673 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
674
675 Sync with Tramp 2.2.6-pre.
676
677 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
678 compatible declaration.
679
680 * net/tramp-cmds.el (tramp-append-tramp-buffers):
681 Protect `list-load-path-shadows' call.
682
683 * net/tramp-compat.el (top): Require packages, which aren't
684 autoloaded anymore for XEmacs. Protect call of
685 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
686 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
687 it hurts at least for SXEmacs.
688 (tramp-compat-temporary-file-directory): In XEmacs, there is no
689 standard-value for `temporary-file-directory'.
690
691 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
692 Redirect stderr to /dev/null.
693 (tramp-sh-handle-write-region): uid and gid can be floats.
694 Reported by Russell Sim <russell.sim@gmail.com>.
695 (tramp-sh-handle-vc-registered): Hide errors.
696 (tramp-vc-file-name-handler): Use dummy results for `process-file'
697 and `start-file-process'.
698 (tramp-maybe-open-connection): Check also whether `non-essential'
699 is bound.
700
701 2012-07-04 Chong Yidong <cyd@gnu.org>
702
703 * xml.el (xml--parse-buffer): Use xml-syntax-table.
704 (xml-parse-tag): Likewise, and avoid changing entity tables.
705 (xml-syntax-table): Define from scratch, making sure not to give
706 x2000 and other Unicode spaces whitespace syntax, since those are
707 not spaces in XML.
708 (xml-parse-fragment): Delete unused function.
709 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
710 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
711 (xml-entity-ref, xml-pe-reference-re)
712 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
713 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
714 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
715 (xml-entity-value-re): Use syntax references in regexps where
716 possible; no need to define inside a let-binding.
717 (xml-parse-dtd): Use xml-pe-reference-re.
718 (xml-entity-or-char-ref-re): New defconst.
719 (xml-parse-string, xml-substitute-special): Use it.
720
721 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
722
723 * files.el (locate-dominating-file): Allow `name' to be a predicate.
724 (find-file--read-only): New function.
725 (find-file-read-only, find-file-read-only-other-window)
726 (find-file-read-only-other-frame): Use it.
727 (insert-file-contents-literally): Don't `fset'.
728 (get-free-disk-space): Use locate-dominating-file.
729
730 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
731 function is already compiled.
732
733 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
734
735 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
736
737 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
738 files on the same host.
739
740 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
741
742 * help-fns.el (describe-function-1): Only call
743 help-fns--autoloaded-p when we have a file name. (Bug#11848)
744
745 2012-07-03 Chong Yidong <cyd@gnu.org>
746
747 * xml.el: Protect parser against XML bombs.
748 (xml-entity-expansion-limit): New variable.
749 (xml-parse-string, xml-substitute-special): Use it.
750 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
751
752 2012-07-03 Glenn Morris <rgm@gnu.org>
753
754 * progmodes/bug-reference.el (bug-reference-bug-regexp):
755 Allow linking to specific messages in debbugs reports (eg 123#5).
756
757 2012-07-02 Chong Yidong <cyd@gnu.org>
758
759 * xml.el: Fix entity and character reference expansion, allowing
760 them to expand into markup as per XML spec.
761 (xml-default-ns): New variable.
762 (xml-entity-alist): Use XML spec definitions for lt and amp.
763 (xml-parse-region): Make first two arguments optional.
764 Discard text properties.
765 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
766 All callers changed.
767 (xml-parse-tag): Call xml-parse-tag-1. For backward
768 compatibility, this function should not modify buffer contents.
769 (xml-parse-tag-1): Fix opening-tag regexp.
770 (xml-parse-string): Rewrite, handling entity and character
771 references properly.
772 (xml--entity-replacement-text): Signal an error if a parameter
773 entity is undefined.
774
775 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
776
777 * comint.el (comint-output-filter): Filter out repeated prompts.
778
779 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
780 and file-name-absolute-p.
781 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
782 internal calls.
783
784 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
785
786 Spelling fixes.
787 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
788 Rename from byte-compile--refiy-function. All uses changed.
789
790 2012-07-01 Chong Yidong <cyd@gnu.org>
791
792 * xml.el (xml--parse-buffer): New function. Move most of
793 xml-parse-region here.
794 (xml-parse-region): Copy region into a temporary buffer, since
795 parameter entity substitution requires changing buffer contents.
796 Use xml--parse-buffer.
797 (xml-parse-file): Use xml--parse-buffer.
798 (xml-parse-dtd): Make parameter entity substitution work right.
799 Use proper regexps for ELEMENT declarations (Bug#7172).
800
801 2012-06-30 Glenn Morris <rgm@gnu.org>
802
803 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
804
805 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
806 Remove outdated and unnecessary dbus declarations.
807
808 2012-06-30 Eli Zaretskii <eliz@gnu.org>
809
810 * emacs-lisp/timer.el (timer-until): Subtract results of
811 float-time, instead of taking float-time of the result of
812 time-subtract, since float-time signals an error for negative time
813 arguments.
814
815 2012-06-30 Chong Yidong <cyd@gnu.org>
816
817 * xml.el (xml-*-re): Convert defvars into defconsts, and
818 eval-and-compile them so eval-and-compile works on derivatives.
819 (xml--entity-replacement-text): Use eval-and-comple.
820
821 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
822
823 * vc/vc-git.el (vc-git-registered): Use cache property
824 `git-registered'.
825 (vc-git-mode-line-string): Call `vc-working-revision' instead of
826 `vc-git-working-revision' in order to benefit from the cache.
827 (vc-git-root): Use cache property `git-root'. (Bug#11757)
828
829 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
830
831 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
832 removed (likely outside Emacs). (Bug#11757)
833
834 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
835
836 * emacs-lisp/cl-lib.el: Require macroexp.
837
838 2012-06-30 Chong Yidong <cyd@gnu.org>
839
840 * xml.el: Implement XML parameter entities.
841 (xml-parameter-entity-alist): New variable.
842 (xml-parse-region, xml-parse-fragment): Preserve previous values
843 of xml-entity-alist and xml-parameter-entity-alist, so that
844 repeated calls on different documents do not change them.
845 (xml-parse-tag): Fix doctype regexp.
846 (xml--entity-replacement-text): New function.
847 (xml-parse-dtd): Use it. Don't handle system entities; doing that
848 properly requires url retrieval which is unimplemented.
849 (xml-escape-string): Doc fix.
850
851 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
852
853 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
854
855 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
856
857 * fringe.el (fringe-mode): Doc fix.
858
859 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
860
861 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
862 is non-nil.
863 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
864 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
865
866 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
867
868 * calendar/cal-dst.el (calendar-current-time-zone):
869 Return calendar-current-time-zone-cache if non-nil.
870
871 2012-06-29 Masatake YAMATO <yamato@redhat.com>
872
873 * progmodes/which-func.el (which-func-format):
874 Add mouse-face. (Bug#11698)
875
876 2012-06-29 Leo Liu <sdl.web@gmail.com>
877
878 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
879
880 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
881
882 * minibuffer.el (minibuffer-confirm-exit-commands):
883 Add completion-at-point (bug#11725).
884
885 2012-06-29 Glenn Morris <rgm@gnu.org>
886
887 * progmodes/f90.el (f90-font-lock-keywords-2):
888 Add some preprocessor elements. (Bug#10499)
889
890 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
891
892 * progmodes/cperl-mode.el (cperl-update-syntaxification):
893 Use syntax-propertize (bug#11739).
894
895 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
896
897 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
898
899 2012-06-28 Julien Danjou <julien@danjou.info>
900
901 * term.el (term-handle-colors-array): Use a set of new faces to
902 color the terminal. Also uses :inverse-video property.
903 (term-default-fg-color): Set to nil by default, deprecate in favor
904 of `term-face'.
905 (term-default-bg-color): Set to nil by default, deprecate in favor
906 of `term-face'.
907 (term-current-face): Use `term-face' by default.
908 (term-bold-attribute): Variable deleted.
909
910 2012-06-28 Glenn Morris <rgm@gnu.org>
911
912 * simple.el (completion-list-mode-finish):
913 Don't use toggle-read-only. (Since completion-list-mode has
914 a special mode-class, it wasn't doing anything extra anyway.)
915
916 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
917
918 Make inlining of other-mode interpreted functions work (bug#11799).
919 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
920 (byte-compile): Use it to fix compilation of lexical-binding closures.
921 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
922 function, if needed.
923
924 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
925
926 * help-mode.el (help-make-xrefs): Don't just withstand
927 cyclic-variable-indirection but any error in documentation-property.
928
929 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
930 memory use.
931 * bindings.el (bindings--define-key): New function.
932 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
933 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
934 * bindings.el: Use it to purecopy define-key bindings.
935
936 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
937
938 * emacs-lisp/cl.el (flet): Mark obsolete.
939 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
940 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
941 * progmodes/js.el (js-c-fill-paragraph):
942 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
943 (ebrowse-switch-member-buffer-to-derived-class):
944 * play/5x5.el (5x5-solver): Use cl-flet.
945
946 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
947 (cl--symbol-function): New macro.
948 (cl--letf, cl--letf*): Use it.
949
950 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
951 Strip "toggle-" if any.
952
953 2012-06-27 Glenn Morris <rgm@gnu.org>
954
955 * info.el (Info-default-directory-list): Move here from paths.el.
956 * paths.el: Remove file, which is now empty.
957 * loadup.el: No longer load "paths".
958
959 * custom.el (custom-initialize-delay): Doc fix.
960
961 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
962 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
963 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
964 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
965 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
966 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
967 * eshell/eshell.el (eshell-defgroup): Remove alias.
968
969 2012-06-27 Chong Yidong <cyd@gnu.org>
970
971 * help.el (help-enable-auto-load): New variable.
972
973 * help-fns.el (help-fns--autoloaded-p): New function.
974 (describe-function-1): Refer to a function as "autoloaded" if it
975 was autoloaded at any time in the past. Perform autoloading if
976 help-enable-auto-load is non-nil.
977
978 2012-06-26 Eli Zaretskii <eliz@gnu.org>
979
980 * makefile.w32-in (compile, compile-always): Depend on
981 update-subdirs, not on subdirs.el. Otherwise, several different
982 sub-targets of 'bootstrap' running in parallel could
983 simultaneously write to subdirs.el, producing a garbled file.
984
985 2012-06-26 Sam Steingold <sds@gnu.org>
986
987 * files.el (file-name-base): New convenience function.
988 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
989 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
990 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
991 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
992 * textmodes/ispell.el, textmodes/reftex-ref.el:
993 * textmodes/tex-mode.el: Use it.
994 Did not touch cedet and org because they are maintained elsewhere.
995
996 2012-06-26 Martin Rudalics <rudalics@gmx.at>
997
998 * calendar/calendar.el (calendar-exit): Don't try to delete or
999 iconify last frame. See:
1000 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
1001
1002 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
1003
1004 * server.el (server-process-filter): Remember dir in the
1005 process's `server-client-directory' properties.
1006
1007 2012-06-24 Chong Yidong <cyd@gnu.org>
1008
1009 * xml.el (xml-parse-tag): Correctly handle comment embedded in
1010 non-tag text.
1011
1012 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
1013
1014 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
1015
1016 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
1017
1018 * help-fns.el (describe-variable): Don't croak when doc is not found.
1019 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
1020 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
1021 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
1022 * emacs-lisp/smie.el (smie-next-sexp): CSE.
1023 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
1024 ((lambda ..) ..).
1025 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
1026
1027 2012-06-23 Chong Yidong <cyd@gnu.org>
1028
1029 * info.el (Info-mouse-follow-link): Accept symbol values of
1030 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
1031 (Info-fontify-node): Use Info-link-keymap for all navigation
1032 buttons, with link-args property to perform the desired action.
1033 (Info-link-keymap): Doc fix.
1034 (Info-next-link-keymap, Info-prev-link-keymap)
1035 (Info-up-link-keymap): Delete now-unused keymaps.
1036
1037 2012-06-23 Chong Yidong <cyd@gnu.org>
1038
1039 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
1040
1041 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
1042 system abbrevs.
1043
1044 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
1045
1046 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
1047
1048 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
1049 (bug#11719).
1050
1051 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
1052 the requote function doesn't work properly (bug#11714).
1053
1054 2012-06-23 Glenn Morris <rgm@gnu.org>
1055
1056 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
1057
1058 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
1059
1060 Further GV/CL cleanups.
1061 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
1062 gv-expander.
1063 (gv--defun-declaration): New function.
1064 (defun-declarations-alist): Use it.
1065 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
1066 (gv-place): Autoload.
1067 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
1068 original definition of dotimes and dolist.
1069 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
1070 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
1071 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
1072 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
1073 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
1074 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
1075 to the function's definition.
1076 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
1077 * window.el:
1078 * files.el:
1079 * faces.el:
1080 * env.el: Don't use CL.
1081
1082 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
1083
1084 Support higher-resolution time stamps (Bug#9000).
1085
1086 * calendar/time-date.el (with-decoded-time-value): New arg
1087 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
1088 (encode-time-value): New optional arg PICO. New type 3.
1089 (time-to-seconds) [!float-time]: Support the new picoseconds
1090 component if it's used.
1091 (seconds-to-time, time-subtract, time-add):
1092 Support ps-resolution time stamps as well.
1093
1094 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
1095 (timerp): Timer vectors now have length 9, not 8.
1096 (timer--time): Support new-style (4-part) time stamps.
1097 (timer-next-integral-multiple-of-time): Time stamps now have
1098 picosecond resolution, so take a bit more care about rounding.
1099 (timer-relative-time, timer-inc-time): New optional arg psecs.
1100 (timer-set-time-with-usecs): Set psecs to 0.
1101 (timer--activate): Check psecs component, too.
1102
1103 * proced.el (proced-time-lessp): Support ps-resolution stamps.
1104
1105 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
1106
1107 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
1108 Move the non-essential binding to the post/pre-command-hook where it is
1109 more obviously correct.
1110
1111 * subr.el (read-passwd): Don't use a history at all.
1112 * savehist.el (savehist-save): Remove password saved accidentally
1113 because of the above bug.
1114
1115 2012-06-22 Bastien Guerry <bzg@gnu.org>
1116
1117 * files.el (toggle-read-only): Display a message telling whether
1118 the buffer is read-only or not (bug#11726).
1119
1120 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
1121
1122 * emacs-lisp/gv.el: New file.
1123 * subr.el (push, pop): Extend to generalized variables.
1124 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
1125 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
1126 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
1127 gv-define-simple-setter, and gv-define-expander.
1128 Remove setf-methods defined in gv. Rename cl-setf -> setf.
1129 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
1130 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
1131 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
1132 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
1133 gv-letplace.
1134 (cl-defstruct): Don't define setf-method any more.
1135 * emacs-lisp/cl.el (flet): Don't autoload.
1136 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
1137 (define-setf-expander, defsetf, define-modify-macro)
1138 (cl-struct-setf-expander): Move from cl-lib.el.
1139 * emacs-lisp/syntax.el:
1140 * emacs-lisp/ewoc.el:
1141 * emacs-lisp/smie.el:
1142 * emacs-lisp/cconv.el:
1143 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
1144 (timer--time): Use gv-define-simple-setter.
1145 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
1146 to avoid coding-system problems in subr.el. Adjust all users.
1147 (macroexp--maxsize, macroexp-small-p): New functions.
1148 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
1149 * scroll-bar.el (scroll-bar-mode):
1150 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
1151 (normal-erase-is-backspace-mode): Don't use the `eq' place.
1152 * winner.el (winner-configuration, winner-make-point-alist)
1153 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
1154 * files.el (locate-file-completion-table): Avoid list*.
1155
1156 2012-06-22 Chong Yidong <cyd@gnu.org>
1157
1158 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
1159 (dired-create-files): Doc fix (Bug#11329).
1160 (dired-do-copy): Doc fix (Bug#11334).
1161 (dired-mark-read-string): Doc fix (Bug#11553).
1162
1163 * dired.el (dired-recursive-copies, dired-recursive-deletes):
1164 Doc fix (Bug#11326).
1165 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
1166 (dired-dwim-target): Doc fix.
1167
1168 * wdired.el (wdired-mode): Doc fix.
1169
1170 2012-06-22 Glenn Morris <rgm@gnu.org>
1171
1172 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
1173 (pcmpl-rpm-cache-stamp-file): New constant.
1174 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
1175 (pcmpl-rpm-packages): Optionally cache list of packages.
1176
1177 * pcmpl-rpm.el (pcmpl-rpm): New group.
1178 (pcmpl-rpm-query-options): New option.
1179 (pcmpl-rpm-packages): No need to inline it.
1180 Use pcmpl-rpm-query-options.
1181
1182 * calendar/calendar.el (calendar-in-read-only-buffer):
1183 Avoid some needless mode changes.
1184
1185 2012-06-21 Chong Yidong <cyd@gnu.org>
1186
1187 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
1188 (desktop-path): Remove . from the default value (Bug#10977).
1189 (desktop-read): Use user-emacs-directory if desktop-path is nil.
1190
1191 2012-06-20 Chong Yidong <cyd@gnu.org>
1192
1193 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
1194
1195 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
1196
1197 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
1198 (bug#11201).
1199
1200 2012-06-20 Chong Yidong <cyd@gnu.org>
1201
1202 * term.el (term-window-width): Handle the case of a missing right
1203 fringe (Bug#8837).
1204 (term-check-size): Use window-text-height (Bug#5445).
1205 (term-mode): Use define-derived-mode. Minor cleanups.
1206 Set font-lock-defaults (Bug#7692).
1207 (term-move-columns, term-insert-char, term-emulate-terminal)
1208 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
1209
1210 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
1211
1212 * net/ange-ftp.el (ange-ftp-get-passwd):
1213 Bind `enable-recursive-minibuffers'.
1214 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
1215
1216 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
1217
1218 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
1219
1220 2012-06-19 Glenn Morris <rgm@gnu.org>
1221
1222 * progmodes/python.el (python-mode): Derive from prog-mode.
1223
1224 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
1225
1226 * emulation/edt.el (edt-default-menu-bar-update-buffers)
1227 (edt-user-menu-bar-update-buffers): New functions.
1228 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
1229
1230 2012-06-19 Chong Yidong <cyd@gnu.org>
1231
1232 * subr.el (with-selected-window): Preserve the selected window's
1233 terminal's top-frame (Bug#4702).
1234
1235 * window.el (save-selected-window): Likewise.
1236
1237 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
1238
1239 * progmodes/python.el (python-rx-constituents): Move backquote.
1240 (python-skeleton-define, python-define-auxiliary-skeleton):
1241 Use `declare'.
1242
1243 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
1244
1245 * minibuffer.el (read-file-name-default): Revert the patch from
1246 2012-06-17.
1247
1248 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
1249
1250 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
1251 (pcase--u1, pcase--q1): Don't use apply-partially.
1252
1253 2012-06-18 Glenn Morris <rgm@gnu.org>
1254
1255 * progmodes/python.el (python-proc, python-buffer)
1256 (python-send-receive, python-send-string): Fix obsolete versions.
1257
1258 2012-06-18 Martin Rudalics <rudalics@gmx.at>
1259
1260 * window.el (special-display-p): Completely remove stringp
1261 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
1262
1263 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
1264
1265 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
1266
1267 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
1268
1269 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
1270 * net/tramp-sh.el (tramp-maybe-open-connection):
1271 Throw if `non-essential' is non-nil.
1272
1273 2012-06-17 Martin Rudalics <rudalics@gmx.at>
1274
1275 * window.el (special-display-p): Signal an error if BUFFER-NAME
1276 is not a string (Bug#11713).
1277
1278 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
1279
1280 * progmodes/python.el (python-info-beginning-of-backslash):
1281 Rename from python-info-beginning-of-backlash, as a spelling fix.
1282
1283 2012-06-17 Chong Yidong <cyd@gnu.org>
1284
1285 * term.el (term-emulate-terminal): If term-check-size is called,
1286 move point to the process mark without resetting point (Bug#4635).
1287
1288 2012-06-17 Glenn Morris <rgm@gnu.org>
1289
1290 * international/mule-cmds.el (mule-menu-keymap)
1291 (set-language-environment, set-locale-environment): Doc tweaks.
1292
1293 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
1294
1295 * cus-face.el (custom-face-attributes): Add wave-style underline
1296 attribute.
1297 * faces.el (set-face-attribute): Update docstring to describe
1298 wave-style underline attribute.
1299
1300 2012-06-16 Chong Yidong <cyd@gnu.org>
1301
1302 * term/xterm.el (terminal-init-xterm): Discard input before
1303 querying background mode (Bug#10959).
1304
1305 2012-06-16 Stefan Merten <smerten@oekonux.de>
1306
1307 * textmodes/rst.el: Added and corrected some comments.
1308 (rst-re-alist-def): Improve symbol syntax.
1309 (rst-mode-syntax-table): Correct syntax entries.
1310 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
1311 (rst-official-version, rst-official-cvs-rev): Update version
1312 information.
1313
1314 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
1315
1316 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
1317 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
1318
1319 2012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
1320
1321 * progmodes/python.el: New python.el merge.
1322 (python-guess-indent): Obsolete var.
1323 (python-indent-guess-indent-offset): New defcustom.
1324 (python-indent): Obsolete var.
1325 (python-indent-offset): New defcustom.
1326 (python-python-command, python-jython-command): Delete var.
1327 (python-shell-interpreter): New defcustom.
1328 (python-pdbtrack-do-tracking-p): Delete var.
1329 (python-pdbtrack-activate): New defcustom.
1330 (python-use-skeletons): Obsolete var.
1331 (python-skeleton-autoinsert): New defcustom.
1332 (inferior-python-filter-regexp, python-continuation-offset)
1333 (python-honour-comment-indentation, python-indent-string-contents)
1334 (python-jython-packages, python-mode-hook)
1335 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
1336 (python-shell-prompt-alist)
1337 (python-source-modes): Delete defcustoms.
1338 (python-check-buffer-name, python-eldoc-setup-code)
1339 (python-eldoc-string-code, python-ffap-setup-code)
1340 (python-ffap-string-code, python-fill-comment-function)
1341 (python-fill-decorator-function, python-fill-paren-function)
1342 (python-fill-string-function, python-imenu-include-defun-type)
1343 (python-imenu-make-tree, python-imenu-subtree-root-label)
1344 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
1345 (python-shell-compilation-regexp-alist)
1346 (python-shell-completion-module-string-code)
1347 (python-shell-completion-pdb-string-code)
1348 (python-shell-completion-setup-code)
1349 (python-shell-completion-string-code)
1350 (python-shell-enable-font-lock, python-shell-exec-path)
1351 (python-shell-extra-pythonpaths)
1352 (python-shell-internal-buffer-name, python-shell-interpreter-args)
1353 (python-shell-process-environment)
1354 (python-shell-prompt-block-regexp)
1355 (python-shell-prompt-output-regexp)
1356 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
1357 (python-shell-send-setup-max-wait, python-shell-setup-codes)
1358 (python-shell-virtualenv-path): New defcustoms.
1359 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
1360 (inferior-python-mode-syntax-table, python--prompt-regexp)
1361 (python-buffer, python-command python-python-command)
1362 (python-default-template, python-imports, python-indent-index)
1363 (python-indent-list, python-indent-list-length)
1364 (python-mode-running, python-pdbtrack-is-tracking-p)
1365 (python-preoutput-continuation, python-preoutput-leftover)
1366 (python-preoutput-result, python-preoutput-skip-next-prompt)
1367 (python-prev-dir/file, python-recursing)
1368 (python-saved-check-command, python-version-checked)
1369 (python-which-func-length-limit)
1370 (view-return-to-alist): Delete vars.
1371 (python-check-custom-command, python-dotty-syntax-table)
1372 (python-imenu-index-alist, python-indent-current-level)
1373 (python-indent-dedenters, python-indent-levels)
1374 (python-nav-beginning-of-defun-regexp)
1375 (python-nav-list-defun-positions-cache)
1376 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
1377 (python-shell-internal-buffer)
1378 (python-skeleton-available): New vars.
1379 (def-python-skeleton): Delete macro.
1380 (python-skeleton-define): New macro.
1381 (python-define-auxiliary-skeleton, python-rx): New macros.
1382 (python-insert-class): Delete command.
1383 (python-skeleton-class): New command.
1384 (python-insert-def): Delete command.
1385 (python-skeleton-def): New command.
1386 (python-insert-for): Delete command.
1387 (python-skeleton-for): New command.
1388 (python-insert-if): Delete command.
1389 (python-skeleton-if): New command.
1390 (python-insert-try/except, python-insert-try/finally): Delete commands.
1391 (python-skeleton-try): New command.
1392 (python-insert-while): Delete command.
1393 (python-skeleton-while): New command.
1394 (python-backspace): Delete command.
1395 (python-indent-dedent-line-backspace): New command.
1396 (python-electric-colon): Delete command.
1397 (python-indent-electric-colon): New command.
1398 (python-guess-indent): Delete command.
1399 (python-indent-guess-indent-offset): New command.
1400 (python-shift-left): Delete command.
1401 (python-indent-shift-left): New command.
1402 (python-shift-right): Delete command.
1403 (python-indent-shift-right): New command.
1404 (python-find-function): Delete command.
1405 (python-nav-jump-to-defun): New command.
1406 (python-next-statement): Delete command.
1407 (python-nav-forward-sentence): New command.
1408 (python-previous-statement): Delete command.
1409 (python-nav-backward-sentence): New command.
1410 (python-fill-paragraph): Delete command.
1411 (python-fill-paragraph-function): New command.
1412 (python-send-buffer): Delete command.
1413 (python-shell-send-buffer): New command.
1414 (python-send-defun): Delete command.
1415 (python-shell-send-defun): New command.
1416 (python-send-region, python-send-region-and-go): Delete commands.
1417 (python-shell-send-region)
1418 (python-shell-switch-to-shell): New commands.
1419 (python-send-string): Delete command.
1420 (python-shell-send-string): New command.
1421 (python-switch-to-python): Delete command.
1422 (python-shell-switch-to-shell): New command.
1423 (python-describe-symbol): Delete command.
1424 (python-eldoc-at-point): New command.
1425 (python--set-prompt-regexp, python-args-to-list)
1426 (python-after-info-look, python-check-version)
1427 (python-check-comint-prompt, python-find-imports)
1428 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
1429 (python-unload-function, python-expand-template)
1430 (python-maybe-jython, python-preoutput-filter)
1431 (python-pdbtrack-get-source-buffer)
1432 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
1433 (python-pdbtrack-toggle-stack-tracking)
1434 (python-pdbtrack-track-stack-file, python-initial-text)
1435 (python-first-word, python-comment-line-p, python-send-command)
1436 (python-setup-brm, python-sentinel, python-set-proc)
1437 (python-skip-out, python-input-filter, python-outdent-p)
1438 (python-outline-level, python-backslash-continuation-line-p)
1439 (python-end-of-block, python-end-of-statement, python-mark-block)
1440 (python-beginning-of-block, python-beginning-of-statement)
1441 (python-blank-line-p, python-beginning-of-string)
1442 (python-open-block-statement-p): Delete functions.
1443 (python-indent-line, python-indent-line-1): Delete functions.
1444 (python-indent-line): New function.
1445 (python-indentation-levels): Delete function.
1446 (python-indent-calculate-levels): New function.
1447 (python-proc): Delete function.
1448 (python-shell-get-process): New function.
1449 (python-send-receive): Delete function.
1450 (python-shell-send-string-no-output): New function.
1451 (python-module-path): Delete function.
1452 (python-ffap-module-path): New function.
1453 (python-completion-at-point)
1454 (python-symbol-completions): Delete functions.
1455 (python-completion-complete-at-point): New function.
1456 (python-load-file): Delete function.
1457 (python-shell-send-file): New function.
1458 (python-calculate-indentation): Delete function.
1459 (python-indent-calculate-indentation): New function.
1460 (python-skip-comments/blanks): Delete function.
1461 (python-util-forward-comment): New function.
1462 (python-continuation-line-p): Delete function.
1463 (python-info-continuation-line-p): New function.
1464 (python-which-func, python-current-defun): Delete function.
1465 (python-info-current-defun): New function.
1466 (python-beginning-of-defun): Delete function.
1467 (python-nav-beginning-of-defun): New function.
1468 (python-close-block-statement-p)
1469 (python-block-end-p): Delete function.
1470 (python-info-closing-block): New function.
1471 (python-comint-output-filter-function)
1472 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
1473 (python-fill-comment, python-fill-decorator, python-fill-paren)
1474 (python-fill-string, python-imenu-make-element-tree)
1475 (python-imenu-make-tree, python-imenu-tree-assoc)
1476 (python-indent-context, python-indent-dedent-line)
1477 (python-indent-line-function)
1478 (python-indent-post-self-insert-function)
1479 (python-indent-toggle-levels)
1480 (python-info-assignment-continuation-line-p)
1481 (python-info-beginning-of-backlash)
1482 (python-info-block-continuation-line-p)
1483 (python-info-closing-block-message)
1484 (python-info-line-ends-backslash-p)
1485 (python-info-looking-at-beginning-of-defun)
1486 (python-info-ppss-context, python-info-ppss-context-type)
1487 (python-nav-list-defun-positions, python-nav-read-defun)
1488 (python-nav-sentence-end, python-nav-sentence-start)
1489 (python-pdbtrack-comint-output-filter-function)
1490 (python-pdbtrack-set-tracked-buffer)
1491 (python-shell-calculate-exec-path)
1492 (python-shell-calculate-process-environment)
1493 (python-shell-completion--do-completion-at-point)
1494 (python-shell-completion--get-completions)
1495 (python-shell-completion-complete-at-point)
1496 (python-shell-completion-complete-or-indent)
1497 (python-shell-get-or-create-process)
1498 (python-shell-get-process-name)
1499 (python-shell-internal-get-or-create-process)
1500 (python-shell-internal-get-process-name)
1501 (python-shell-internal-send-string, python-shell-make-comint)
1502 (python-shell-parse-command, python-shell-send-setup-code)
1503 (python-skeleton-add-menu-items)
1504 (python-util-clone-local-variables, python-util-position)
1505 (run-python-internal, python-indentation-levels)
1506 (python-nav-beginning-of-defun)
1507 (python-completion-complete-at-point): New functions.
1508 (run-python): Change arguments. New API requirements.
1509
1510 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
1511
1512 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
1513 (bug#11649).
1514
1515 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
1516 (macroexp--expand-all): Use it.
1517
1518 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
1519 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
1520 Use `cl-function' instead.
1521
1522 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
1523
1524 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
1525 Suggested by Stefan Monnier while discussing bug#11657.
1526
1527 2012-06-14 Sam Steingold <sds@gnu.org>
1528
1529 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
1530
1531 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
1532
1533 * play/doctor.el (doctor-doc): Remove parameter and use
1534 doctor-sent instead of sent.
1535 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
1536
1537 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
1538
1539 * files.el: Require cl-lib.
1540 (file-name-non-special): Replace case -> cl-case.
1541
1542 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
1543
1544 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
1545 mapping from #' to function*.
1546
1547 2012-06-13 Chong Yidong <cyd@gnu.org>
1548
1549 * mouse.el (mouse-drag-track): Do not set the mark if the user
1550 releases the mouse without selecting anything (Bug#11588).
1551
1552 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
1553
1554 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
1555 as well (bug#11646).
1556
1557 * loadup.el: Count byte-code functions as well.
1558
1559 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
1560 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
1561
1562 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
1563 (bug#11649). Add cl-defun and cl-defmacro.
1564
1565 2012-06-13 Drew Adams <drew.adams@oracle.com>
1566
1567 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
1568 Fix last change.
1569
1570 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
1571
1572 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
1573 Otherwise, it blocks in batch mode.
1574
1575 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
1576
1577 * help-mode.el (bookmark-make-record-default): Declare.
1578
1579 2012-06-13 Chong Yidong <cyd@gnu.org>
1580
1581 * emacs-lisp/package.el (list-packages): Compute a list of
1582 packages that are newly-available since the last list-packages
1583 invocation.
1584 (package-menu--new-package-list): New var.
1585 (package-menu--generate, package-menu--print-info)
1586 (package-menu--status-predicate, package-menu-mark-install):
1587 Handle new status label "new".
1588
1589 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
1590
1591 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
1592 conversion to backquotes.
1593
1594 2012-06-12 Chong Yidong <cyd@gnu.org>
1595
1596 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
1597 Rename from gud-inhibit-global-bindings.
1598
1599 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
1600
1601 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
1602 hook from nxml-glyph-set-hook.
1603
1604 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
1605 declaration.
1606
1607 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
1608
1609 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
1610 Convert to defcustom.
1611
1612 2012-06-12 Drew Adams <drew.adams@oracle.com>
1613
1614 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
1615 New functions.
1616 (help-mode): Use them.
1617
1618 2012-06-11 Glenn Morris <rgm@gnu.org>
1619
1620 * progmodes/fortran.el (fortran-font-lock-keywords-3):
1621 Use preprocessor face for directives.
1622 (fortran-directive-re): Doc fix.
1623
1624 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
1625
1626 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
1627 conversion to backquotes (bug#11652).
1628
1629 Fix compiler-expansion of CL's cXXr functions (bug#11673).
1630 * emacs-lisp/cl-lib.el (cl--defalias): New function.
1631 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
1632 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
1633 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
1634 (cl-ninth, cl-tenth): Mark them as inlinable.
1635 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
1636 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
1637 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
1638 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
1639 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
1640 (cl-list*, cl-adjoin): Don't put an autoload manually.
1641 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
1642 (cl--compiler-macro-list*): Add autoload cookie.
1643 (cl--compiler-macro-cXXr): New function.
1644
1645 * help-fns.el (help-fns--compiler-macro): New function extracted from
1646 describe-function-1; follow aliases and use `compiler-macro' property.
1647 (describe-function-1): Use it.
1648
1649 2012-06-11 Chong Yidong <cyd@gnu.org>
1650
1651 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
1652 is uninstalled, if imagemagick is installed.
1653
1654 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
1655
1656 * emacs-lisp/cl-lib.el: Use lexical-binding.
1657 (cl-map-extents, cl-maclisp-member): Remove.
1658 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
1659 (cl--set-substring, cl--block-wrapper, cl--block-throw)
1660 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
1661 * emacs-lisp/cl-extra.el: Use lexical-binding.
1662 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
1663 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
1664 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
1665 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
1666 * emacs-lisp/cl-seq.el: Use lexical-binding.
1667 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
1668 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
1669 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
1670 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
1671 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
1672 CL's internals.
1673
1674 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
1675
1676 Sync with Tramp 2.2.6-pre.
1677
1678 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
1679 `print-length' and `print-level' to nil, in order to avoid
1680 truncation. Reported by Christopher Schmidt
1681 <christopher@ristopher.com>.
1682
1683 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
1684
1685 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
1686 New defmacro.
1687 (tramp-compat-copy-directory): Add optional argument
1688 COPY-CONTENTS. It is not handled yet.
1689
1690 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
1691 (tramp-ftp-file-name-p): Simplify.
1692
1693 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
1694 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
1695 connection vector.
1696
1697 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
1698 (tramp-methods): Do not use `tramp-password-end-of-line'.
1699 (tramp-completion-function-alist-putty): Handle UNIX case.
1700 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
1701 (tramp-do-file-attributes-with-stat)
1702 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
1703 gid as real numbers. They could run out of integer range on cygwin.
1704 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
1705 (tramp-sh-handle-expand-file-name): Handle hops.
1706 (tramp-open-connection-setup-interactive-shell):
1707 Use `tramp-cleanup'. Move check for busyboxes ...
1708 (tramp-find-shell): ... here. Simplify implementation.
1709 Set "remote-shell" property also for alternative shells.
1710 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
1711 If failing, a regular file would be written otherwise.
1712 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
1713 (tramp-find-inline-encoding): Cache the coding commands in the
1714 process cache. Apply test command on the remote side, if defined.
1715 (tramp-find-inline-compress): Cache the compress commands in the
1716 process cache.
1717 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
1718 when requested. Handle hops.
1719 (tramp-current-connection): New defvar.
1720 (tramp-maybe-open-connection): Use `tramp-cleanup'.
1721 Throw `suppress', if there was a failed connection shortly before.
1722 Handle user interrupt. (Bug#10187)
1723 (tramp-get-inline-compress, tramp-get-inline-coding):
1724 Read connection properties from the process cache.
1725
1726 * net/tramp-smb.el (tramp-smb-server-version)
1727 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
1728 New defconsts.
1729 (tramp-smb-prompt): Extend for powershell prompt.
1730 (tramp-smb-file-name-handler-alist): Add handlers for
1731 `process-file', `shell-command' and `start-file-process'.
1732 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
1733 (tramp-smb-winexe-shell-command-switch): New defcustoms.
1734 (tramp-smb-file-name-p): Simplify.
1735 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
1736 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
1737 (tramp-smb-shell-quote-argument): New defuns.
1738 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
1739 Implement using "tar". By this, time-stamps are preserved.
1740 (tramp-smb-handle-copy-file): Handle also the case of directories.
1741 (tramp-smb-do-file-attributes-with-stat)
1742 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
1743 Use `tramp-get-connection-buffer').
1744 (tramp-smb-handle-rename-file): Use "rename", when source and
1745 target are on the same share.
1746 (tramp-smb-maybe-open-connection): Handle wrong passwords.
1747 Use `tramp-smb-server-version'.
1748 (tramp-smb-wait-for-output): Remove prompt.
1749
1750 * net/tramp.el (top): Require 'cl.
1751 (tramp-methods, tramp-rsh-end-of-line):
1752 Remove `tramp-password-end-of-line' from docstring.
1753 (tramp-save-ad-hoc-proxies): New defcustom.
1754 (tramp-completion-function-alist): Adapt docstring.
1755 (tramp-default-password-end-of-line): Remove defcustom.
1756 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
1757 (tramp-user-regexp, tramp-file-name-regexp-unified)
1758 (tramp-file-name-regexp-url): Extend regexp by hop separator.
1759 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
1760 (tramp-remote-file-name-spec-regexp): New defconst.
1761 (tramp-file-name-structure): Extend structure for hops.
1762 (tramp-get-method-parameter): Move up.
1763 (tramp-file-name-p, tramp-dissect-file-name)
1764 (with-parsed-tramp-file-name): Handle hops.
1765 (tramp-file-name-hop): New defun.
1766 (tramp-make-tramp-file-name): New optional arg HOP.
1767 (tramp-message-show-progress-reporter-message): New defvar.
1768 (tramp-with-progress-reporter): Use it. We cannot use
1769 `tramp-message-show-message' here, because this suppresses also
1770 error buffers.
1771 (tramp-error-with-buffer): Suppress buffer view, if
1772 `tramp-message-show-message' is nil.
1773 Use `tramp-get-connection-buffer'.
1774 (tramp-cleanup): New defun.
1775 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
1776 (tramp-file-name-handler): If `debug-on-error' is set, propagate
1777 an error unchanged.
1778 (tramp-completion-handle-file-name-all-completions): Handle hops.
1779 Fix an error when called from ido.
1780 (tramp-completion-dissect-file-name): Use better local variable
1781 name. Add hop to the vector.
1782 (tramp-handle-insert-file-contents): Use progress-reporter for the
1783 whole scenario.
1784 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
1785 to `t'.
1786 (tramp-check-for-regexp): Simplify search.
1787 (tramp-enter-password): Remove it. Move implementation ...
1788 (tramp-action-password): ... here.
1789 (tramp-mode-string-to-int, tramp-local-host-p)
1790 (tramp-make-tramp-temp-file, tramp-read-passwd)
1791 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
1792 Set tramp-autoload cookie.
1793
1794 * net/trampver.el: Update release number.
1795
1796 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1797 Michael Albinus <michael.albinus@gmx.de>
1798
1799 * net/tramp.el (tramp-set-completion-function): Fix docstring.
1800 (tramp-parse-group, tramp-parse-file)
1801 (tramp-parse-shostkeys-sknownhosts): New defuns.
1802 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
1803 (tramp-parse-shosts-group, tramp-parse-sconfig)
1804 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
1805 (tramp-parse-sknownhosts, tramp-parse-hosts)
1806 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
1807 Use them.
1808 (tramp-parse-passwd-group, tramp-parse-netrc-group)
1809 (tramp-parse-putty-group): Don't narrow.
1810 (tramp-parse-putty): Make a loop.
1811 (tramp-file-name-handler): Catch the `suppress' signal.
1812
1813 2012-06-11 Chong Yidong <cyd@gnu.org>
1814
1815 * image.el (imagemagick-register-types): Put the ImageMagick entry
1816 at the end of image-type-file-name-regexps.
1817
1818 2012-06-11 Johan Bockgård <bojohan@gnu.org>
1819
1820 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
1821 (pcase, pcase-let*, pcase-dolist): Use them.
1822
1823 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
1824
1825 * emacs-lisp/pcase.el (pcase--let*): New function.
1826 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
1827 (pcase--expand): Use macroexp-let².
1828
1829 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
1830
1831 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
1832 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
1833 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
1834 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
1835 * emacs-lisp/derived.el: Use pcase instead of `cl'.
1836 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
1837
1838 2012-06-10 Glenn Morris <rgm@gnu.org>
1839
1840 * mail/rmail.el (rmail-yank-current-message): Leave point at
1841 correct position. (Bug#11660)
1842
1843 2012-06-10 Chong Yidong <cyd@gnu.org>
1844
1845 * allout-widgets.el: Fix code header.
1846
1847 2012-06-10 Chong Yidong <cyd@gnu.org>
1848
1849 * cus-edit.el (customize-changed-options-previous-release):
1850 Bump to 24.1.
1851
1852 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
1853
1854 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
1855
1856 2012-06-09 Chong Yidong <cyd@gnu.org>
1857
1858 * ebuff-menu.el (electric-buffer-list): Preserve header line.
1859
1860 2012-06-09 Martin Rudalics <rudalics@gmx.at>
1861
1862 * window.el (special-display-popup-frame): Don't use
1863 window--display-buffer (Bug#11651).
1864
1865 2012-06-09 Eli Zaretskii <eliz@gnu.org>
1866
1867 Fix parallel builds: make sure loaddefs.el is not being written
1868 while Lisp files are compiled.
1869 (compile): Don't depend on 'mh-autoloads'.
1870 (compile-CMD, compile-SH): Depend on 'autoloads'.
1871 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
1872
1873 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
1874
1875 2012-06-09 Chong Yidong <cyd@gnu.org>
1876
1877 * face-remap.el (face-remap-add-relative, face-remap-set-base)
1878 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
1879 Doc fixes (Bug#11225).
1880
1881 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
1882
1883 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
1884 a function if there's a clear indication that it has a compiler-macro.
1885 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
1886 (macro-declarations-alist): Add arglist to declaration functions.
1887 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
1888 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
1889 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
1890 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
1891 Also add autoload to find the compiler macro.
1892 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
1893 (cl--compiler-macro-member, cl--compiler-macro-assoc)
1894 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
1895 (cl--compiler-macro-get): New functions, replacing calls to
1896 cl-define-compiler-macro.
1897 (cl-typep) [compiler-macro]: Use macroexp-let².
1898
1899 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
1900
1901 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
1902 string properly, fixes Bug#11473.
1903
1904 2012-06-08 Chong Yidong <cyd@gnu.org>
1905
1906 * faces.el (set-face-attribute): Doc fix.
1907 (modify-face): Don't use :bold and :italic.
1908 (error, warning, success): Tweak definitions.
1909
1910 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
1911 (custom-modified, custom-set, custom-changed, custom-themed)
1912 (custom-saved, custom-button, custom-button-mouse)
1913 (custom-button-pressed, custom-state, custom-comment-tag)
1914 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
1915 (custom-group-subtitle): Use new-style face specs.
1916 (custom-invalid-face, custom-rogue-face, custom-modified-face)
1917 (custom-set-face, custom-changed-face, custom-saved-face)
1918 (custom-button-face, custom-button-pressed-face)
1919 (custom-documentation-face, custom-state-face)
1920 (custom-comment-face, custom-comment-tag-face)
1921 (custom-variable-tag-face, custom-variable-button-face)
1922 (custom-face-tag-face, custom-group-tag-face-1)
1923 (custom-group-tag-face): Remove obsolete face alias.
1924
1925 * epa.el (epa-validity-high, epa-validity-medium)
1926 (epa-validity-low, epa-mark, epa-field-name, epa-string)
1927 (epa-field-name, epa-field-body):
1928 * font-lock.el (font-lock-comment-face, font-lock-string-face)
1929 (font-lock-keyword-face, font-lock-builtin-face)
1930 (font-lock-function-name-face, font-lock-variable-name-face)
1931 (font-lock-type-face, font-lock-constant-face):
1932 * ido.el (ido-first-match, ido-only-match, ido-subdir)
1933 (ido-virtual, ido-indicator, ido-incomplete-regexp):
1934 * speedbar.el (speedbar-button-face, speedbar-file-face)
1935 (speedbar-directory-face, speedbar-tag-face)
1936 (speedbar-selected-face, speedbar-highlight-face)
1937 (speedbar-separator-face):
1938 * whitespace.el (whitespace-newline, whitespace-space)
1939 (whitespace-hspace, whitespace-tab, whitespace-trailing)
1940 (whitespace-line, whitespace-space-before-tab)
1941 (whitespace-space-after-tab, whitespace-indentation)
1942 (whitespace-empty):
1943 * emulation/cua-base.el (cua-global-mark):
1944 * eshell/em-prompt.el (eshell-prompt):
1945 * net/newst-plainview.el (newsticker-new-item-face)
1946 (newsticker-old-item-face, newsticker-immortal-item-face)
1947 (newsticker-obsolete-item-face, newsticker-date-face)
1948 (newsticker-statistics-face, newsticker-default-face):
1949 * net/newst-reader.el (newsticker-feed-face)
1950 (newsticker-extra-face, newsticker-enclosure-face):
1951 * net/newst-treeview.el (newsticker-treeview-face)
1952 (newsticker-treeview-new-face, newsticker-treeview-old-face)
1953 (newsticker-treeview-immortal-face)
1954 (newsticker-treeview-obsolete-face)
1955 (newsticker-treeview-selection-face):
1956 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
1957 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
1958 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
1959 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
1960 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
1961 (nxml-outline-active-indicator, nxml-outline-ellipsis):
1962 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
1963 (mpuz-text):
1964 * progmodes/vera-mode.el (vera-font-lock-number)
1965 (vera-font-lock-function, vera-font-lock-interface):
1966 * textmodes/table.el (table-cell): Use new-style face specs, and
1967 don't use the old :bold and :italic attributes.
1968
1969 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
1970 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
1971 (ebrowse-member-class, ebrowse-progress): Likewise.
1972 (ebrowse-tree-mark-face, ebrowse-root-class-face)
1973 (ebrowse-file-name-face, ebrowse-default-face)
1974 (ebrowse-member-attribute-face, ebrowse-member-class-face)
1975 (ebrowse-progress-face): Remove obsolete faces.
1976
1977 * progmodes/flymake.el (flymake-errline, flymake-warnline):
1978 Inherit from error and warning faces respectively.
1979
1980 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
1981 Likewise.
1982 (flyspell-incorrect-face, flyspell-duplicate-face):
1983 Remove obsolete aliases.
1984
1985 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
1986
1987 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
1988 Avoid infloop.
1989
1990 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
1991
1992 * startup.el (argv, argi): Make lexically scoped.
1993 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
1994 * emacs-lisp/cl-macs.el: Use lexical-binding.
1995 Rename cl-bind-* to cl--bind-*.
1996 * files.el: Don't require `cl' since it doesn't use it.
1997 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
1998
1999 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
2000
2001 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
2002 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
2003 instead of calling external sort utility.
2004 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
2005
2006 2012-06-08 Eli Zaretskii <eliz@gnu.org>
2007
2008 * descr-text.el (describe-char): Mention how to insert the
2009 character, if the current input method doesn't support it.
2010 See the discussion in this thread for the details:
2011 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
2012
2013 2012-06-08 Sam Steingold <sds@gnu.org>
2014
2015 * bindings.el (global-map): Bind XF86Forward to next-buffer and
2016 XF86Back to previous-buffer.
2017 (minibuffer-local-map): Bind them to next-history-element and
2018 previous-history-element respectively.
2019 * help-mode.el (help-mode-map): Bind them to help-go-forward and
2020 help-go-back respectively.
2021 * info.el (Info-mode-map): Bind them to Info-history-forward and
2022 Info-history-back respectively.
2023 These are the keys next to Up on the ThinkPad keyboard.
2024
2025 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
2026
2027 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
2028 * emacs-lisp/cl-macs.el: Provide itself.
2029 (cl--labels-convert-cache): New var.
2030 (cl--labels-convert): New function.
2031 (cl-flet, cl-labels): New implementation with new semantics, relying on
2032 lexical-binding.
2033 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
2034 (cl-closure-vars, cl--function-convert-cache)
2035 (cl--function-convert): Move from cl-macs.el.
2036 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
2037 rename by removing the "cl-" prefix.
2038 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
2039
2040 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
2041
2042 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
2043 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
2044 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
2045 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
2046 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
2047 (cl-hash-table-count): Add old compatibility aliases.
2048
2049 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
2050 Use macroexpand-all-environment instead.
2051 (cl--old-macroexpand): New var.
2052 (cl--sm-macroexpand): New function.
2053 (cl-symbol-macrolet): Use it during macro expansion.
2054 (cl--function-convert-cache): New var.
2055 (cl--function-convert): New function, extracted from
2056 cl-macroexpand-all.
2057 (cl-lexical-let): Use it.
2058
2059 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
2060 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
2061 (cl-member): Remove old alias.
2062
2063 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
2064 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
2065 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
2066 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
2067 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
2068 (cl-macroexpand-cmacs): Remove var.
2069 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
2070 Use macroexpand-all instead.
2071
2072 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
2073
2074 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
2075 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
2076 (macroexp-copyable-p): New functions and macros.
2077 * emacs-lisp/edebug.el (edebug-unwrap):
2078 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
2079 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
2080 (pcase--let*): Remove.
2081 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
2082 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
2083 macroexp-const-p instead.
2084 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
2085
2086 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
2087 instead of "cl-" for internal definitions. Use macroexp-const-p.
2088 (cl-old-bc-file-form): Remove var.
2089 (cl-const-exprs-p): Remove fun.
2090 (cl-labels, cl-macrolet): Use backquote.
2091 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
2092 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
2093 (cl-define-setf-expander): Rename from cl-define-setf-method.
2094 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
2095
2096 * international/mule-cmds.el: Don't require CL.
2097 (view-hello-file): Don't use `letf'.
2098
2099 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
2100
2101 * tmm.el (tmm-prompt): Use string-prefix-p.
2102 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
2103 (tmm-add-prompt): Use minibuffer-completion-help.
2104 (tmm-delete-map): Remove.
2105
2106 * subr.el (kbd): Make it its own function.
2107
2108 2012-06-07 Stefan Merten <smerten@oekonux.de>
2109
2110 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
2111 Silence compiler warnings. Fix versions.
2112 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
2113 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
2114 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
2115 (rst-package-emacs-version-alist): Correct Emacs version to
2116 represent major merge with upstream.
2117 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
2118
2119 2012-06-06 Glenn Morris <rgm@gnu.org>
2120
2121 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
2122 Only print environment variables if set.
2123
2124 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
2125
2126 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
2127 (macroexp--cons): Rename from maybe-cons.
2128 (macroexp--accumulate): Rename from macroexp-accumulate.
2129 (macroexp--all-forms): Rename from macroexpand-all-forms.
2130 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
2131 (macroexp--expand-all): Rename from macroexpand-all-1.
2132
2133 2012-06-06 Sam Steingold <sds@gnu.org>
2134
2135 * calendar/calendar.el (calendar-in-read-only-buffer):
2136 Call `special-mode' to enable the standard read-only keybindings.
2137
2138 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
2139
2140 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
2141 with "loading" messages (bug#11635).
2142
2143 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
2144
2145 * files.el (enable-remote-dir-locals): New option.
2146 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
2147
2148 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
2149 Ensure, that the temp directory is local.
2150
2151 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
2152 `temporary-file-directory'.
2153
2154 * progmodes/python.el (python-send-region): Ensure, that the
2155 temporary file is created also in the remote case.
2156
2157 2012-06-06 Glenn Morris <rgm@gnu.org>
2158
2159 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
2160 (vc-rcs-update-changelog): Use it.
2161
2162 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
2163
2164 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
2165 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
2166 (vc-sccs-diff): Replace use of the external vcdiff script.
2167
2168 2012-06-05 Glenn Morris <rgm@gnu.org>
2169
2170 * ledit.el: Move to obsolete/.
2171
2172 2012-06-05 Sam Steingold <sds@gnu.org>
2173
2174 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
2175 patch (Bug#11140).
2176
2177 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
2178
2179 * emacs-lisp/cust-print.el: Move to obsolete.
2180
2181 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
2182 compiler-macro expansion.
2183
2184 Add native compiler-macro support.
2185 * emacs-lisp/macroexp.el (macroexpand-all-1):
2186 Support compiler-macros directly. Properly follow aliases and apply
2187 the compiler macros more thoroughly.
2188 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
2189 macroexpand now properly follows aliases.
2190 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
2191 (cl-compiler-macroexpand): Use new prop.
2192 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
2193
2194 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
2195
2196 2012-06-05 Martin Rudalics <rudalics@gmx.at>
2197
2198 * window.el (get-lru-window, get-mru-window, get-largest-window):
2199 New argument NOT-SELECTED to avoid picking the selected window.
2200 (window--display-buffer-1, window--display-buffer-2): Replace by
2201 new function window--display-buffer
2202 (display-buffer-same-window, display-buffer-reuse-window)
2203 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
2204 Use window--display-buffer.
2205 (display-buffer-use-some-window): Remove temporary dedication
2206 hack by calling get-lru-window and get-largest-window with
2207 NOT-SELECTED argument non-nil. Call window--display-buffer.
2208
2209 2012-06-05 Glenn Morris <rgm@gnu.org>
2210
2211 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
2212 Replace external vcdiff script.
2213
2214 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
2215
2216 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
2217
2218 2012-06-04 Chong Yidong <cyd@gnu.org>
2219
2220 * image.el (imagemagick-types-inhibit): Revert last change.
2221 Add INFO and M.
2222 (imagemagick-enabled-types): Remove CIN and EPS*.
2223
2224 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
2225
2226 * emacs-lisp/cl-lib.el: Rename from cl.el.
2227 * emacs-lisp/cl.el: New compatibility file.
2228 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
2229 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
2230 to obey the "cl-" prefix.
2231 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
2232
2233 2012-06-03 Glenn Morris <rgm@gnu.org>
2234
2235 * emacs-lisp/authors.el (authors-aliases): Addition.
2236
2237 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
2238 Fix :version.
2239
2240 2012-06-03 Stefan Merten <smerten@oekonux.de>
2241
2242 * textmodes/rst.el: Add comments.
2243 (rst-transition, rst-adornment): New faces.
2244 (rst-adornment-faces-alist): Make default safe to reevaluate.
2245 Fixes
2246 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
2247 Improve customization tags.
2248 (rst-define-level-faces): Clarify meaning.
2249
2250 2012-06-03 Chong Yidong <cyd@gnu.org>
2251
2252 * progmodes/compile.el (compilation-mode-line-fail)
2253 (compilation-mode-line-run, compilation-mode-line-exit):
2254 New faces.
2255 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
2256
2257 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
2258
2259 * progmodes/which-func.el (which-func-update-ediff-windows):
2260 New function. Use it in ediff-select-hook (Bug#11478).
2261
2262 2012-06-03 Chong Yidong <cyd@gnu.org>
2263
2264 * bindings.el: Remove explicit help text from format-mode-line.
2265 It is now supplied by mode-line-default-help-echo.
2266 (mode-line-front-space, mode-line-end-spaces)
2267 (mode-line-misc-info): New variables.
2268 (mode-line-modes, mode-line-position): Move the default value to
2269 the variable definition.
2270 (mode-line-default-help-echo): New defcustom.
2271 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
2272 (mode-line-modified-help-echo): New functions.
2273 (mode-line-mule-info, mode-line-modified): Use them.
2274 (mode-line-eol-desc, propertized-buffer-identification):
2275 Consistency fixes for help text.
2276 (mode-line-coding-system-map): Allow using mouse-3 to invoke
2277 set-buffer-file-coding-system (Bug#289).
2278 (mode-line-mule-info-help-echo): Update help text.
2279
2280 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
2281
2282 * simple.el (execute-extended-command): Set real-this-command
2283 (bug#11506).
2284
2285 2012-06-02 Chong Yidong <cyd@gnu.org>
2286
2287 Remove incorrect uses of "modeline" in comments, docstrings, and
2288 function/variable names (Bug#10329).
2289
2290 * cus-edit.el (mode-line):
2291 * dframe.el (dframe-mouse-hscroll):
2292 * emacs-lisp/re-builder.el:
2293 * emacs-lisp/easy-mmode.el (define-minor-mode):
2294 * frame.el (set-frame-name):
2295 * help.el (lookup-minor-mode-from-indicator):
2296 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
2297 * progmodes/cc-cmds.el (c-toggle-auto-newline)
2298 (c-toggle-hungry-state):
2299 * progmodes/antlr-mode.el (antlr-language-alist):
2300 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
2301 * progmodes/vhdl-mode.el (vhdl-mode):
2302 * progmodes/which-func.el (which-func, which-func-cleanup-function):
2303 * term/ns-win.el (ns-face-at-pos):
2304 * term/sup-mouse.el (sup-mouse-report):
2305 * textmodes/flyspell.el (flyspell-mode-line-string):
2306 * textmodes/ispell.el (ispell-highlight-face):
2307 * textmodes/reftex-global.el:
2308 * vc/vc-arch.el (vc-arch-mode-line-string):
2309 * vc/vc-cvs.el (vc-cvs-mode-line-string):
2310 * vc/vc-git.el (vc-git-mode-line-string):
2311 * vc/vc-hooks.el (vc-display-status)
2312 (vc-default-mode-line-string):
2313 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
2314
2315 * ansi-color.el (ansi-color-faces-vector): Change default faces.
2316
2317 * dired.el (dired-sort-set-mode-line): Rename from
2318 dired-sort-set-modeline. All callers changed.
2319
2320 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
2321 eshell-status-in-modeline.
2322
2323 * foldout.el (foldout-mode-line-string): Rename from
2324 foldout-modeline-string. All callers changed.
2325 (foldout-update-mode-line): Rename from foldout-update-modeline.
2326
2327 * subr.el (redraw-modeline): Make into obsolete alias.
2328
2329 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
2330 timeclock-modeline-display. Make old name an alias.
2331 (timeclock-update-mode-line): Likewise. All callers changed.
2332 (timeclock-mode-line-display): No need to check before using
2333 add-hook.
2334 (timeclock-relative, timeclock-day-over-hook)
2335 (timeclock-use-elapsed, timeclock-mode-string)
2336 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
2337
2338 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
2339 crisp-mode-modeline-string.
2340
2341 * play/solitaire.el (solitaire-build-mode-line): Rename from
2342 solitaire-build-modeline. All callers changed.
2343
2344 * play/zone.el (zone-hiding-mode-line): Rename from
2345 zone-hiding-modeline. All callers changed.
2346 (zone): Remove unusued `modeline-hidden-level' property.
2347
2348 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
2349 xscheme-modeline-initialize. All callers changed.
2350
2351 * strokes.el (strokes-lighter): Rename from
2352 strokes-modeline-string.
2353
2354 * textmodes/sgml-mode.el (html-face-tag-alist)
2355 (html-tag-face-alist): Use mode-line face instead of obsolete
2356 alias modeline.
2357
2358 2012-06-02 Stefan Merten <smerten@oekonux.de>
2359
2360 * textmodes/rst.el: Always require `cl'.
2361 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
2362
2363 2012-06-02 Chong Yidong <cyd@gnu.org>
2364
2365 * image.el (imagemagick-enabled-types): Rename from
2366 imagemagick-types-enable. Add many more types.
2367 (imagemagick-types-inhibit): Change default to nil.
2368 (imagemagick-filter-types): Caller changed.
2369
2370 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
2371
2372 * emacs-lisp/cl-macs.el: Use backquotes.
2373 (cl-transform-function-property): Use eval-and-compile rather than
2374 abusing `require'.
2375 (defstruct): Use declare-function instead of with-no-warnings.
2376
2377 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
2378 (byte-compile-output-docform): Re-add the print-circle bindings.
2379 (byte-compile-fix-header): Use #$ just because it's shorter.
2380 (byte-compile-output-file-form): Remove defun/defmacro.
2381
2382 2012-06-01 Martin Rudalics <rudalics@gmx.at>
2383
2384 * simple.el (choose-completion): Remove now obsolete binding for
2385 owindow.
2386
2387 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
2388
2389 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
2390 in order to avoid "Stack overflow in regexp matcher".
2391
2392 2012-05-31 Glenn Morris <rgm@gnu.org>
2393
2394 * image.el: For clarity, call imagemagick-register-types at
2395 top-level, rather than relying on a custom :initialize.
2396 (imagemagick-types-enable): New option. (Bug#11557)
2397 (imagemagick-filter-types): New function. (Bug#7406)
2398 (imagemagick-register-types): Use imagemagick-filter-types.
2399 If disabling support, remove elements altogether rather
2400 than using an impossible regexp.
2401 (imagemagick-types-inhibit): Give it the default init function.
2402
2403 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
2404
2405 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
2406 Handle arbitrary file name lengths (Bug#11585).
2407
2408 2012-05-31 Martin Rudalics <rudalics@gmx.at>
2409
2410 * desktop.el (desktop-read): Clear previous and next buffers for
2411 all windows and bury *Messages* buffer (bug#11556).
2412
2413 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
2414
2415 Add `declare' for `defun'. Align `defmacro's with it.
2416 * emacs-lisp/easy-mmode.el (define-minor-mode)
2417 (define-globalized-minor-mode): Don't autoload the var definitions.
2418 * emacs-lisp/byte-run.el: Use lexical-binding.
2419 (defun-declarations-alist, macro-declarations-alist): New vars.
2420 (defmacro, defun): Use them.
2421 (make-obsolete, define-obsolete-function-alias)
2422 (make-obsolete-variable, define-obsolete-variable-alias):
2423 Use `declare'.
2424 (macro-declaration-function): Mark obsolete.
2425 * emacs-lisp/autoload.el: Use lexical-binding.
2426 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
2427
2428 2012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2429
2430 * textmodes/ispell.el (ispell-with-no-warnings):
2431 Define as a macro.
2432 (ispell-kill-ispell, ispell-change-dictionary):
2433 Use `called-interactively-p' for Emacs instead of obsolete
2434 `interactive-p'.
2435
2436 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
2437
2438 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
2439 (macro-declaration-function): Move var from C code.
2440 (macro-declaration-function): Define function with defalias.
2441 * emacs-lisp/macroexp.el (macroexpand-all-1):
2442 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
2443 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
2444 defun/defmacro any more.
2445 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
2446 Provide fallback for unknown arglist.
2447 (byte-compile-arglist-warn): Change calling convention.
2448 (byte-compile-output-file-form): Move print-vars binding.
2449 (byte-compile-output-docform): Simplify accordingly.
2450 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
2451 (byte-compile-defmacro-declaration): Remove.
2452 (byte-compile-file-form-defmumble): Generalize to defalias.
2453 (byte-compile-output-as-comment): Return byte-positions.
2454 Simplify callers accordingly.
2455 (byte-compile-lambda): Use `assert'.
2456 (byte-compile-defun, byte-compile-defmacro): Remove.
2457 (byte-compile-file-form-defalias):
2458 Use byte-compile-file-form-defmumble.
2459 (byte-compile-defalias-warn): Remove.
2460
2461 2012-05-29 Stefan Merten <smerten@oekonux.de>
2462
2463 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
2464 possible. Fix authors. Improve comments. Improve loading of `cl'.
2465
2466 (rst-mode-abbrev-table): Merge definition.
2467 (rst-mode): Make sure `font-lock-defaults' is buffer local.
2468 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
2469
2470 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
2471
2472 * calendar/icalendar.el
2473 (icalendar-export-region): Export UID properly.
2474
2475 2012-05-29 Leo Liu <sdl.web@gmail.com>
2476 * calendar/icalendar.el (icalendar-import-format):
2477 Add `icalendar-import-format-uid' (Bug#11525).
2478 (icalendar-import-format-uid): New.
2479 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
2480 Export UID.
2481
2482 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
2483
2484 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
2485 different alternative patterns.
2486 (pcase-codegen): Be more careful to preserve identity.
2487 (pcase--u1): Don't forget to mark vars as used.
2488
2489 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
2490 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
2491 (byte-compile-from-buffer): ...rather than here.
2492
2493 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
2494 functions from byte-compile-function-environment.
2495
2496 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
2497
2498 * window.el (window-deletable-p): Avoid deleting the root window
2499 of a frame with an active minibuffer.
2500
2501 2012-05-29 Martin Rudalics <rudalics@gmx.at>
2502
2503 * simple.el (choose-completion): Use quit-window (Bug#11567).
2504
2505 2012-05-29 Chong Yidong <cyd@gnu.org>
2506
2507 * whitespace.el (whitespace-cleanup): Fix usage of
2508 whitespace-empty-at-bob-regexp (Bug#11492).
2509
2510 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
2511
2512 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
2513 revert (Bug#11488).
2514
2515 2012-05-29 Juri Linkov <juri@jurta.org>
2516
2517 * isearch.el (isearch-mode-map): Bind `M-s _' to
2518 `isearch-toggle-symbol'. Bind `M-s c' to
2519 `isearch-toggle-case-fold'.
2520 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
2521 (isearch-forward): Add `M-s _' to the docstring.
2522 (isearch-forward-symbol, isearch-toggle-case-fold)
2523 (isearch-symbol-regexp): New functions. (Bug#11381)
2524
2525 2012-05-29 Juri Linkov <juri@jurta.org>
2526
2527 * isearch.el (isearch-word): Add docstring. (Bug#11381)
2528 (isearch-occur, isearch-search-and-update): If `isearch-word' is
2529 a function, call it to get the regexp.
2530 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
2531 property `isearch-message-prefix' instead of the string "word ".
2532 (isearch-search-fun-default): For the case of `isearch-word',
2533 return a lambda that calls re-search-forward/re-search-backward
2534 with a regexp returned by `word-search-regexp' or by the function
2535 in `isearch-word'.
2536
2537 2012-05-29 Juri Linkov <juri@jurta.org>
2538
2539 * isearch.el (isearch-search-fun-default): New function.
2540 (isearch-search-fun): Move default part to the new function
2541 `isearch-search-fun-default'.
2542 (isearch-search-fun-function): Set the default value to
2543 `isearch-search-fun-default'. (Bug#11381)
2544
2545 * comint.el (comint-history-isearch-end):
2546 Use `isearch-search-fun-default'.
2547 (comint-history-isearch-search): Use `isearch-search-fun-default'
2548 and remove spacial case for `isearch-word'.
2549 (comint-history-isearch-wrap): Remove spacial case for
2550 `isearch-word'.
2551
2552 * hexl.el (hexl-isearch-search-function):
2553 Use `isearch-search-fun-default'.
2554
2555 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
2556 Use `word-search-regexp' for `isearch-word'.
2557
2558 * misearch.el (multi-isearch-search-fun):
2559 Use `isearch-search-fun-default'.
2560
2561 * simple.el (minibuffer-history-isearch-search):
2562 Use `isearch-search-fun-default' and remove spacial case for
2563 `isearch-word'.
2564 (minibuffer-history-isearch-wrap): Remove spacial case for
2565 `isearch-word'.
2566
2567 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
2568 Remove spacial case for `isearch-word'.
2569 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
2570
2571 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2572
2573 Decrease XEmacs incompatibilities.
2574 * textmodes/flyspell.el (flyspell-check-pre-word-p):
2575 Use `string-match'.
2576 (flyspell-delete-region-overlays): Use alternative definition for
2577 XEmacs.
2578 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
2579 (flyspell-word): Use `process-kill-without-query' if XEmacs.
2580 (flyspell-mode-on): Use `interactive-p' if XEmacs.
2581 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
2582 `define-obsolete-face-alias' under XEmacs, but old method.
2583
2584 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
2585 `with-no-warnings' definition or Emacs alias.
2586 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
2587 (ispell-word): Do not use `region-p' if XEmacs.
2588
2589 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2590
2591 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
2592 Check for `ispell-dictionary-base-alist' instead of full
2593 `ispell-dictionary-alist'.
2594 (ispell-init-process): Show spellchecker when starting new Ispell
2595 process.
2596
2597 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
2598
2599 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
2600 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
2601
2602 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
2603
2604 * version.el (motif-version-string, gtk-version-string)
2605 (ns-version-string): Declare.
2606
2607 2012-05-27 Juri Linkov <juri@jurta.org>
2608
2609 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
2610 after the `eval-defun-1' specialcaseing
2611 like in `edebug-eval-defun' (bug#10181).
2612
2613 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
2614 like in `eval-defun-1'.
2615
2616 2012-05-27 Eli Zaretskii <eliz@gnu.org>
2617
2618 * mail/sendmail.el (mail-yank-region):
2619 Recognize rmail-yank-current-message in addition to insert-buffer.
2620 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
2621 a *mail* buffer created through rmail-start-mail with sendmail as
2622 mail-user-agent.
2623
2624 2012-05-27 Chong Yidong <cyd@gnu.org>
2625
2626 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
2627 Default to 256 (Bug#11267).
2628
2629 * help.el (describe-mode): Doc fix.
2630
2631 2012-05-26 Glenn Morris <rgm@gnu.org>
2632
2633 * w32-fns.el (w32-init-info): Remove.
2634 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
2635
2636 * info.el (info-initialize): For self-contained NS builds, put the
2637 included info/ directory at the front. (Bug#2791)
2638
2639 * paths.el (Info-default-directory-list): Make it a defcustom,
2640 mainly so that we can use custom-initialize-delay.
2641
2642 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
2643
2644 * subr.el (buffer-has-markers-at): Mark obsolete.
2645
2646 * subr.el (lambda): Use declare.
2647
2648 * emacs-lisp/lisp-mode.el (lambda):
2649 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
2650
2651 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
2652
2653 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
2654
2655 2012-05-26 Glenn Morris <rgm@gnu.org>
2656
2657 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
2658
2659 2012-05-25 Glenn Morris <rgm@gnu.org>
2660
2661 * paths.el: Remove no-byte-compile.
2662 * loadup.el: No need to load paths.el uncompiled.
2663
2664 * image.el (imagemagick-types-inhibit): Doc fix.
2665
2666 * version.el: Remove no-byte-compile and associated formatting.
2667 * loadup.el: No need to load version.el uncompiled. AFAICS, this
2668 is ancient code from when there was an "inc-vers.el".
2669
2670 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
2671
2672 * progmodes/gdb-mi.el: Minor style changes.
2673 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
2674 Turn into minor modes.
2675 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
2676 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
2677 (gdb-shell): Remove unneeded let-binding.
2678 (gdb-get-many-fields): Eliminate O(n²) behavior.
2679
2680 2012-05-25 Eli Zaretskii <eliz@gnu.org>
2681
2682 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
2683 platforms that don't link in fontset.c.
2684
2685 2012-05-25 Juri Linkov <juri@jurta.org>
2686
2687 Use the same diff color scheme as in modern VCSes (bug#10181).
2688
2689 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
2690 to avoid confusion with `diff-added' that now uses green colors.
2691 (diff-removed): Use shades of red.
2692 (diff-added): Use shades of green.
2693 (diff-changed): Leave just the yellow color.
2694 (diff-use-changed-face): New variable.
2695 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
2696 how to highlight context diff changes.
2697 (diff-refine-change): Use shades of yellow.
2698 (diff-refine-removed): New face that uses shades of red.
2699 (diff-refine-added): New face that uses shades of green.
2700 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
2701 `diff-refine-removed' in the call to `smerge-refine-subst'
2702 depending on the value of `diff-use-changed-face'.
2703
2704 * vc/smerge-mode.el (smerge-mine): Use shades of red.
2705 (smerge-other): Use shades of green.
2706 (smerge-base): Use shades of yellow.
2707 (smerge-refined-change): Empty face.
2708 (smerge-refined-removed): New face that uses shades of red.
2709 (smerge-refined-added): New face that uses shades of green.
2710 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
2711 args `props-r' and `props-a', and use them. Doc fix.
2712 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
2713 on its value use different faces `smerge-refined-change',
2714 `smerge-refined-removed', `smerge-refined-added' in the call to
2715 `smerge-refine-subst'.
2716
2717 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
2718 Add face condition `min-colors 88' with shades of red.
2719 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
2720 `min-colors 88' with shades of green.
2721 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
2722 `min-colors 88' with shades of yellow.
2723
2724 2012-05-24 Glenn Morris <rgm@gnu.org>
2725
2726 * paths.el (prune-directory-list, remote-shell-program): Move to...
2727 * files.el (prune-directory-list, remote-shell-program): ...here.
2728 For the latter, delay initialization, prefer ssh, just search PATH.
2729
2730 * paths.el (term-file-prefix): Move to faces.el (the only user).
2731 * faces.el (term-file-prefix): Move here, make it a defcustom.
2732
2733 * paths.el (news-directory, news-path, news-inews-program):
2734 Move to gnus/nnspool.el.
2735
2736 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
2737
2738 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
2739 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
2740 Make the latter a defcustom, with a delayed initialization.
2741
2742 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
2743 These were deleted from Gnus itself late 2010.
2744
2745 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
2746
2747 * progmodes/which-func.el (which-func-ff-hook):
2748 Check against user-error, not error.
2749
2750 * emacs-lisp/edebug.el (top): Do not load or set up loading of
2751 cl-specs.el, which no longer exists.
2752
2753 2012-05-22 Glenn Morris <rgm@gnu.org>
2754
2755 * info.el (info-emacs-bug): New command.
2756 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
2757 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
2758
2759 2012-05-21 Glenn Morris <rgm@gnu.org>
2760
2761 * makefile.w32-in (update-subdirs-SH):
2762 * Makefile.in (update-subdirs): Update for moved update-subdirs.
2763
2764 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
2765
2766 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
2767
2768 * progmodes/compile.el (compilation-error-regexp-alist-alist):
2769 Simplify Maven regexp, and make sure the file can't start with a space
2770 (bug#11517).
2771
2772 2012-05-21 Glenn Morris <rgm@gnu.org>
2773
2774 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
2775 Scrap superfluous subshells.
2776
2777 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
2778
2779 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
2780 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
2781
2782 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
2783
2784 * calc/calc.el (calc-ensure-consistent-units): New variable.
2785
2786 * calc/calc-units.el (math-consistent-units-p)
2787 (math-check-unit-consistency): New functions.
2788 (calc-quick-units, calc-convert-units):
2789 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
2790 is non-nil.
2791 (calc-extract-units): Fix typo.
2792
2793 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
2794
2795 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
2796
2797 * textmodes/flyspell.el: Commenting style, plus code simplifications.
2798 (flyspell-default-deplacement-commands): Don't spell check after
2799 repeated window/frame switches (e.g. triggered by mouse-movement).
2800 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
2801 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
2802 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
2803 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
2804 Remove unused vars.
2805 (flyspell-get-casechars, flyspell-get-not-casechars):
2806 Simplify; Don't bother removing a ] just to add it back.
2807 * textmodes/ispell.el (ispell-program-name): Use executable-find.
2808
2809 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2810
2811 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
2812 New functions.
2813 (math-function-table): Add support for more C functions.
2814
2815 2012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2816
2817 * textmodes/flyspell.el (flyspell-check-pre-word-p)
2818 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
2819 Protect delay handling for otherchars against empty otherchars.
2820
2821 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
2822
2823 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
2824 their respective macro declarations.
2825 * skeleton.el (define-skeleton):
2826 * progmodes/compile.el (define-compilation-mode):
2827 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
2828 (define-ibuffer-filter):
2829 * emacs-lisp/generic.el (define-generic-mode):
2830 * emacs-lisp/easy-mmode.el (define-minor-mode)
2831 (define-globalized-minor-mode):
2832 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
2833 * emacs-lisp/byte-run.el (defsubst):
2834 * custom.el (deftheme): Add doc-string metadata.
2835
2836 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
2837
2838 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
2839
2840 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
2841
2842 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
2843
2844 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
2845 * emacs-lisp/cl-macs.el: Idem.
2846 * emacs-lisp/cl-specs.el: Remove.
2847
2848 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
2849
2850 Minor renaming of internal CL functions and variables.
2851 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
2852 (cl--position): Rename from cl-position.
2853 (cl--delete-duplicates): Rename from cl-delete-duplicates.
2854 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
2855 (cl--random-state): Rename from *random-state*.
2856
2857 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
2858
2859 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
2860 parens around the arg list (bug#11499).
2861
2862 2012-05-17 Juri Linkov <juri@jurta.org>
2863
2864 * isearch.el (word-search-regexp, word-search-backward)
2865 (word-search-forward, word-search-backward-lax)
2866 (word-search-forward-lax): Move functions from search.c
2867 (bug#10145, bug#11381).
2868
2869 2012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2870
2871 * textmodes/flyspell.el (flyspell-check-pre-word-p)
2872 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
2873 Delay for otherchars as for normal word components.
2874
2875 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
2876
2877 * minibuffer.el (completion--sifn-requote): Fix last change.
2878 (minibuffer-local-must-match-filename-map):
2879 Move define-obsolete-variable-alias before its var.
2880
2881 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
2882
2883 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
2884
2885 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
2886 behavior.
2887 (completion--string-equal-p): New function.
2888 (completion--twq-all): Use it to get better assertion failure data.
2889
2890 Only handle ".." and '..' quoting in shell-mode (bug#11466).
2891 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
2892 (shell--requote-argument): New functions.
2893 (shell-completion-vars): Use them.
2894 (shell--parse-pcomplete-arguments): Rename from
2895 shell-parse-pcomplete-arguments.
2896 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
2897 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
2898 Obey comint-file-name-quote-list.
2899
2900 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
2901 (smie-indent-keyword): Use it.
2902
2903 2012-05-14 Stefan Merten <smerten@oekonux.de>
2904
2905 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
2906
2907 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
2908
2909 * net/rlogin.el (rlogin-mode-map): Fix last change.
2910
2911 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
2912
2913 * mail/smtpmail.el (smtpmail-send-command): Send the command and
2914 the following \r\n using a single `process-send-string', since the
2915 Lotus SMTP server refuses to accept any commands if they are sent
2916 with two `process-send-string's (Bug#11444).
2917
2918 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
2919
2920 * shell.el (shell-parse-pcomplete-arguments):
2921 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
2922
2923 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
2924
2925 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2926 (image-transform-scale, image-transform-right-angle-fudge): New vars.
2927 (image-transform-width, image-transform-fit-width): New functions.
2928 (image-transform-properties): Use them.
2929 (image-transform-check-size): New function.
2930 (image-toggle-display-image): Use it (for testing).
2931 (image-transform-set-rotation): Reduce angle mod 360.
2932 Delete obsolete comment.
2933
2934 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
2935
2936 * image-mode.el: Fix scaling (bug#11399).
2937 (image-transform-resize): Doc fix.
2938 (image-transform-properties): Default scale is 1 and height should
2939 be an integer.
2940
2941 2012-05-13 Johan Bockgård <bojohan@gnu.org>
2942
2943 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
2944 than hard-coding `car', to fix misbehavior when moving forward.
2945
2946 2012-05-13 Chong Yidong <cyd@gnu.org>
2947
2948 * emacs-lisp/tabulated-list.el (tabulated-list-format)
2949 (tabulated-list-entries, tabulated-list-padding)
2950 (tabulated-list-sort-key): Make permanent-local.
2951
2952 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
2953 (electric-buffer-list): Put electric buffer menu
2954 command descriptions in this docstring, instead of the docstring
2955 of electric-buffer-menu-mode. Code cleanups.
2956 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
2957 Electric-buffer-menu-mode.
2958 (electric-buffer-update-highlight): Minor code cleanup.
2959
2960 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
2961
2962 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
2963 (Bug#11447)
2964
2965 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
2966
2967 Move define-obsolete-variable-alias before the var's definition.
2968 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
2969 * tooltip.el (tooltip-hook):
2970 * textmodes/reftex-toc.el (reftex-toc-map):
2971 * textmodes/reftex-sel.el (reftex-select-label-map)
2972 (reftex-select-bib-map):
2973 * textmodes/reftex-index.el (reftex-index-map)
2974 (reftex-index-phrases-map):
2975 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
2976 * progmodes/meta-mode.el (meta-mode-map):
2977 * novice.el (disabled-command-hook):
2978 * loadhist.el (unload-hook-features-list):
2979 * frame.el (blink-cursor):
2980 * files.el (find-file-not-found-hooks, write-file-hooks)
2981 (write-contents-hooks):
2982 * emulation/tpu-edt.el (GOLD-map):
2983 * emacs-lock.el (emacs-lock-from-exiting):
2984 * emacs-lisp/generic.el (generic-font-lock-defaults):
2985 * emacs-lisp/chart.el (chart-map):
2986 * dos-fns.el (register-name-alist):
2987 * dired-x.el (dired-omit-files-p):
2988 * desktop.el (desktop-enable):
2989 * cus-edit.el (custom-mode-hook):
2990 * buff-menu.el (buffer-menu-mode-hook):
2991 * bookmark.el (bookmark-read-annotation-text-func)
2992 (bookmark-exit-hooks):
2993 * allout.el (allout-mode-deactivate-hook)
2994 (allout-exposure-change-hook, allout-structure-added-hook)
2995 (allout-structure-deleted-hook, allout-structure-shifted-hook):
2996 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
2997 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
2998 comes before the corresponding variable's definition.
2999
3000 2012-05-12 Chong Yidong <cyd@gnu.org>
3001
3002 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
3003 (Buffer-menu-mouse-select): Restore function (Bug#11459).
3004 (Buffer-menu-mode-map): Bind it.
3005 (Buffer-menu--pretty-name): Add a mouse-face property.
3006
3007 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
3008
3009 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
3010 (prolog-upper-case-string, prolog-lower-case-string)
3011 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
3012 (prolog-use-smie, prolog-smie-grammar): New vars.
3013 (prolog-smie-forward-token, prolog-smie-backward-token)
3014 (prolog-smie-rules): New funs.
3015 (prolog-comment-indent): Remove.
3016 (prolog-mode-variables): Use default comment indentation instead.
3017 Setup SMIE.
3018 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
3019 (prolog-mode): Don't call them any more.
3020 (prolog-electric-colon, prolog-electric-dash)
3021 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
3022
3023 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
3024
3025 * minibuffer.el (completion--twq-all): Again, allow case differences.
3026
3027 * term.el: Move keymap initialization code to be more idiomatic.
3028 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
3029 (term-terminal-menu): Move initialization into declaration.
3030 (term-escape-char): Let the user set it in her .emacs.
3031
3032 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
3033 Provide SMIE-based indentation (not enabled by default yet).
3034 (sh-mode-map): Don't bind electric keys.
3035 Use electric-pair-mode instead of skeleton-pair.
3036 (sh-assignment-regexp): Fit within 80 columns.
3037 (sh-indent-supported): Specify actual shell name instead of boolean.
3038 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
3039 (sh-maybe-here-document): Use it. Make obsolete.
3040 (sh-electric-here-document-mode) New minor mode.
3041 (sh-mode): Use it. Don't set sh-indent-supported-here here.
3042 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
3043 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
3044 (sh-smie-rc-grammar, sh-use-smie): New vars.
3045 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
3046 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
3047 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
3048 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
3049 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
3050 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
3051 (sh-set-shell): Use smie-setup if requested.
3052
3053 * term.el (term-set-escape-char): Properly set term-escape-char.
3054 See http://stackoverflow.com/questions/10524656.
3055
3056 2012-05-10 Chong Yidong <cyd@gnu.org>
3057
3058 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
3059 Use url-generic-parse-url, and handle host names and Windows
3060 filenames properly.
3061 (ffap-url-unwrap-remote): Use url-generic-parse-url.
3062 (ffap-url-unwrap-remote): Accept list values, specifying a list of
3063 URL schemes to work on.
3064 (ffap--toggle-read-only): New function.
3065 (ffap-read-only, ffap-read-only-other-window)
3066 (ffap-read-only-other-frame): Use it.
3067 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
3068 necessary for ffap-url-unwrap-remote.
3069
3070 2012-05-10 Dave Abrahams <dave@boostpro.com>
3071
3072 * cus-start.el (create-lockfiles): Add it.
3073
3074 2012-05-09 Chong Yidong <cyd@gnu.org>
3075
3076 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
3077 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
3078
3079 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3080
3081 * shell.el (shell-completion-vars): Fix last change (bug#11348).
3082
3083 2012-05-09 Chong Yidong <cyd@gnu.org>
3084
3085 * ansi-color.el (ansi-color-process-output): Check for validity of
3086 comint-last-output-start before using it. This avoids a bad
3087 interaction with gdb-mi's input/output buffer.
3088
3089 2012-05-09 Glenn Morris <rgm@gnu.org>
3090
3091 * files.el (dir-locals-read-from-file):
3092 Mention dir-locals in any error message.
3093
3094 2012-05-09 Chong Yidong <cyd@gnu.org>
3095
3096 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
3097 package (Bug#11410).
3098
3099 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
3100 variables into description.
3101
3102 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3103
3104 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
3105 shell-delimiter-argument-list (bug#11348).
3106 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
3107
3108 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
3109
3110 * textmodes/rst.el: Silence byte-compiler warnings.
3111 (rst-re-alist, rst-reset-section-caches): Move around.
3112 (rst-re): Use `characterp', not `char-valid-p'.
3113 (font-lock-beg, font-lock-end): Declare.
3114
3115 * progmodes/idlw-shell.el (specs): Remove reference to deleted
3116 variable `idlwave-shell-activate-alt-keybindings' and simplify.
3117
3118 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
3119
3120 2012-05-08 Glenn Morris <rgm@gnu.org>
3121
3122 * files.el (auto-mode-alist): Treat ".make" like ".mk".
3123
3124 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
3125
3126 * vc/log-edit.el: Add GNU coding standards highlighting.
3127 (log-edit-font-lock-gnu-style)
3128 (log-edit-font-lock-gnu-keywords): New vars.
3129 (log-edit-font-lock-keywords): New fun.
3130 (log-edit-mode): Don't fold case in font-lock.
3131 (log-edit-font-lock-keywords): Do not assume case-folding.
3132
3133 * imenu.el: Misc cleanup. Make docstrings out of comments.
3134 Use lexical-binding.
3135 (imenu--index-alist, imenu--last-menubar-index-alist)
3136 (imenu-menubar-modified-tick): Use defvar-local.
3137 (imenu--split-menu): Remove unused var.
3138 (imenu--cleanup-seen): Declare as global.
3139 (imenu--cleanup): Use dolist.
3140
3141 * subr.el (defvar-local): Add debug spec and doc-string position.
3142
3143 2012-05-08 Glenn Morris <rgm@gnu.org>
3144
3145 * language/burmese.el, language/cham.el, language/czech.el:
3146 * language/english.el, language/georgian.el, language/greek.el:
3147 * language/japanese.el, language/khmer.el, language/korean.el:
3148 * language/lao.el, language/misc-lang.el, language/romanian.el:
3149 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
3150 * language/thai.el, language/utf-8-lang.el:
3151 Remove no-byte-compile setting.
3152
3153 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
3154
3155 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
3156
3157 * progmodes/make-mode.el (makefile-browse):
3158 Remove unnecessary interactive. (Bug#11324)
3159
3160 2012-05-07 Glenn Morris <rgm@gnu.org>
3161
3162 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
3163
3164 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
3165
3166 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
3167
3168 * loadup.el: Preload newcomment.el.
3169 * newcomment.el: Move autoload-only code to toplevel.
3170
3171 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
3172 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
3173 Handle new :right-align column property.
3174 (tabulated-list-print-col): Idem, plus use `display' text-property to
3175 try and preserve alignment for variable pitch fonts.
3176
3177 2012-05-07 Chong Yidong <cyd@gnu.org>
3178
3179 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
3180 (tabulated-list-use-header-line): New var.
3181 (tabulated-list-init-header): Use it.
3182 (tabulated-list-print-fake-header): New function.
3183 (tabulated-list-print): Use it.
3184 (tabulated-list-sort-button-map): Add non-header-line commands.
3185 (tabulated-list-init-header): Add column name property to basic
3186 labels as well.
3187 (tabulated-list-col-sort): Handle non-header-line button case.
3188 (tabulated-list--sort-by-column-name): Fix a corner case.
3189
3190 * buff-menu.el (list-buffers--refresh):
3191 Handle Buffer-menu-use-header-line.
3192
3193 2012-05-06 Chong Yidong <cyd@gnu.org>
3194
3195 * buff-menu.el: Convert to Tabulated List mode.
3196 (Buffer-menu-buffer+size-width): Make obsolete.
3197 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
3198 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
3199 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
3200 documentation into docstring of buffer-menu.
3201 (Buffer-menu-toggle-files-only): Add an informative message.
3202 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
3203 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
3204 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
3205 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
3206 (Buffer-menu-execute, Buffer-menu-select)
3207 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
3208 (Buffer-menu-bury): Use Tabulated List machinery.
3209 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
3210 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
3211 Delete.
3212 (list-buffers--refresh): New function.
3213 (list-buffers-noselect): Use it.
3214 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
3215 (Buffer-menu--pretty-file-name): New helper functions.
3216
3217 * loadup.el: Preload tabulated-list.
3218
3219 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
3220 tabulated-list-sort-column.
3221 (tabulated-list-init-header): Add the initial aligning space even
3222 if tabulated-list-padding is zero.
3223
3224 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
3225
3226 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
3227 whose cdr is not a cons cell correctly (bug#11038).
3228
3229 2012-05-06 Chong Yidong <cyd@gnu.org>
3230
3231 * emacs-lisp/tabulated-list.el (tabulated-list-format):
3232 Accept additional plist in column descriptors.
3233 (tabulated-list-init-header): Obey it.
3234 (tabulated-list-get-entry): New function.
3235 (tabulated-list-put-tag): Use it. Use string-width instead of
3236 length.
3237 (tabulated-list--column-number): New function.
3238 (tabulated-list-print): Use it.
3239 (tabulated-list-print-col): New function.
3240 Set `tabulated-list-column-name' property on each column's text.
3241 (tabulated-list-print-entry): Use it.
3242 (tabulated-list-delete-entry, tabulated-list-set-col):
3243 New functions.
3244 (tabulated-list-sort-column): New command (Bug#11337).
3245
3246 * buff-menu.el (list-buffers): Move C-x C-b binding from
3247 buff-menu.el to bindings.el.
3248
3249 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
3250 :advertised-binding feature.
3251
3252 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
3253
3254 * progmodes/compile.el (compilation-internal-error-properties):
3255 Calculate start position correctly when end-col is set but
3256 end-line is not (Bug#11382).
3257
3258 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
3259
3260 * man.el (Man-unindent): Use text-property-default-nonsticky to
3261 prevent untabify from inheriting face properties (Bug#11408).
3262
3263 2012-05-05 Stefan Merten <smerten@oekonux.de>
3264
3265 * textmodes/rst.el: Major merge with upstream development up to
3266 Docutils SVN r7399 / rst.el V1.2.1.
3267
3268 Clarify maintainership and authors.
3269
3270 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
3271 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
3272 (rst-official-version, rst-official-cvs-rev, rst-version)
3273 (rst-package-emacs-version-alist): New functions and variables
3274 for version information.
3275
3276 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
3277 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
3278 (rst-mode-syntax-table, rst-mode): New and corrected functions
3279 and variables representing reStructuredText features.
3280
3281 (rst-re): New function for reStructuredText regexes. Use in
3282 many places.
3283
3284 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
3285 (rst-mode-map): Rebind keys.
3286
3287 (rst-mode-lazy, rst-font-lock-keywords)
3288 (rst-font-lock-extend-region)
3289 (rst-font-lock-extend-region-internal)
3290 (rst-font-lock-extend-region-extend)
3291 (rst-font-lock-find-unindented-line-limit)
3292 (rst-font-lock-find-unindented-line-match)
3293 (rst-adornment-level, rst-font-lock-adornment-level)
3294 (rst-font-lock-adornment-match)
3295 (rst-font-lock-handle-adornment-pre-match-form)
3296 (rst-font-lock-handle-adornment-matcher): Major revision of
3297 font-locking. Integrate with other code. Use `jit-lock-mode'.
3298
3299 (rst-preferred-adornments, rst-adjust-hook)
3300 (rst-new-adornment-down, rst-preferred-bullets)
3301 (rst-preferred-bullets, rst-indent, rst-indent-width)
3302 (rst-indent-field, rst-indent-literal-normal)
3303 (rst-indent-literal-minimized, rst-indent-comment): Change,
3304 extend and improve customization.
3305
3306 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
3307 (rst-normalize-cursor-position, rst-get-decoration)
3308 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
3309 (rst-rstrip, rst-toc-insert-find-delete-contents)
3310 (rst-shift-fill-region, rst-compute-bullet-tabs)
3311 (rst-debug-print-tabs, rst-debug-mark-found)
3312 (rst-shift-region-guts, rst-shift-region-right)
3313 (rst-shift-region-left, rst-use-char-classes)
3314 (rst-font-lock-keywords-function)
3315 (rst-font-lock-indentation-point)
3316 (rst-font-lock-find-unindented-line-begin)
3317 (rst-font-lock-find-unindented-line-end)
3318 (rst-font-lock-find-unindented-line)
3319 (rst-font-lock-adornment-point, rst-font-lock-level)
3320 (rst-adornment-level-alist): Remove functions and variables.
3321
3322 (rst-compare-adornments, rst-get-adornment-match)
3323 (rst-suggest-new-adornment, rst-get-adornments-around)
3324 (rst-adornment-complete-p, rst-get-next-adornment)
3325 (rst-adjust-adornment, rst-display-adornments-hierarchy)
3326 (rst-straighten-adornments): Standardize function names to
3327 use "adornment" instead of "decoration". Correct callers.
3328 Similar standardizing in many places.
3329
3330 (rst-update-section, rst-adjust, rst-promote-region)
3331 (rst-enumerate-region, rst-bullet-list-region)
3332 (rst-repeat-last-character): Correct use of `interactive'.
3333
3334 (rst-classify-adornment, rst-find-all-adornments)
3335 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
3336 (rst-find-leftmost-column, rst-repeat-last-character):
3337 Refactor functions.
3338
3339 (rst-find-title-line, rst-reset-section-caches)
3340 (rst-get-adornments-around, rst-adjust-adornment-work)
3341 (rst-arabic-to-roman, rst-roman-to-arabic)
3342 (rst-insert-list-pos, rst-insert-list-new-item)
3343 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
3344 New functions.
3345
3346 (rst-all-sections, rst-section-hierarchy)
3347 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
3348 New variables.
3349
3350 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
3351 configuration instead of only buffer. Change where necessary.
3352
3353 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
3354 (rst-shift-region, rst-adaptive-fill): New functions for
3355 indentation and filling.
3356
3357 (rst-comment-line-break, rst-comment-indent)
3358 (rst-comment-insert-comment, rst-comment-region)
3359 (rst-uncomment-region): New functions for handling comments.
3360
3361 (rst-compile): Quote shell arguments.
3362
3363 (rst-compile-pdf-preview, rst-compile-slides-preview):
3364 Delete temporary files after use.
3365
3366 2012-05-05 Glenn Morris <rgm@gnu.org>
3367
3368 * calendar/cal-html.el: Optionally include holidays in the output.
3369 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
3370 (cal-html-holidays): New option.
3371 (cal-html-css-default): Add holiday entry.
3372 (holiday-in-range): Autoload it.
3373 (cal-html-htmlify-entry): Add optional class argument.
3374 (cal-html-htmlify-list): Add optional holidays argument.
3375 (cal-html-insert-agenda-days): Include holidays in the output.
3376 (cal-html-one-month): Maybe include holidays.
3377
3378 * calendar/holidays.el (holiday-in-range):
3379 Move here from cal-tex-list-holidays.
3380 * calendar/cal-tex.el (cal-tex-list-holidays):
3381 Make it an obsolete alias for holiday-in-range. Update all callers.
3382
3383 2012-05-05 Chong Yidong <cyd@gnu.org>
3384
3385 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
3386 Nextstep.
3387
3388 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
3389
3390 * files.el (file-auto-mode-skip): New var.
3391 (set-auto-mode-1): Use it.
3392
3393 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
3394
3395 * repeat.el: Use lexical-binding.
3396 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
3397 (repeat-undo-count): Remove.
3398 (repeat):
3399 * progmodes/octave-mod.el (octave-abbrev-start):
3400 * progmodes/f90.el (f90-abbrev-start):
3401 * face-remap.el (text-scale-adjust):
3402 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
3403
3404 * emacs-lisp/pcase.el (pcase--let*): New function.
3405 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
3406 a bit more.
3407 (pcase--split-pred): Be more clever about ruling out overlap between
3408 a predicate and some constant pattern.
3409 (pcase--q1): Use `null' instead of (eq foo nil).
3410
3411 * subr.el (setq-local, defvar-local): New macros.
3412 (kbd): Redefine as an alias.
3413 (with-selected-window): Leave unrelated frames alone.
3414 (set-temporary-overlay-map): New function.
3415
3416 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
3417
3418 * subr.el (user-error): New function.
3419 * window.el (switch-to-buffer):
3420 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
3421 (smerge-match-conflict):
3422 * simple.el (previous-matching-history-element)
3423 (next-matching-history-element, goto-history-element, undo-more)
3424 (undo-start):
3425 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
3426 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
3427 (next-file, tags-loop-scan, list-tags, complete-tag):
3428 * progmodes/compile.el (compilation-loop):
3429 * mouse.el (mouse-minibuffer-check):
3430 * man.el (Man-bgproc-sentinel, Man-goto-page):
3431 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
3432 (Info-history-forward, Info-follow-reference, Info-menu)
3433 (Info-extract-menu-item, Info-extract-menu-counting)
3434 (Info-forward-node, Info-backward-node, Info-next-menu-item)
3435 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
3436 (Info-next-reference, Info-prev-reference, Info-index)
3437 (Info-index-next, Info-follow-nearest-node)
3438 (Info-copy-current-node-name):
3439 * imenu.el (imenu--make-index-alist)
3440 (imenu-default-create-index-function, imenu-add-to-menubar):
3441 * files.el (basic-save-buffer, recover-file):
3442 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
3443 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
3444 (checkdoc-message-text, checkdoc-defun):
3445 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
3446 * cus-edit.el (customize-changed-options, customize-rogue)
3447 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
3448 (custom-variable-mark-to-reset-standard)
3449 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
3450 (custom-file):
3451 * completion.el (check-completion-length):
3452 * comint.el (comint-search-arg)
3453 (comint-previous-matching-input-string-position)
3454 (comint-previous-matching-input)
3455 (comint-replace-by-expanded-history-before-point, comint-send-input)
3456 (comint-copy-old-input, comint-backward-matching-input)
3457 (comint-goto-process-mark, comint-set-process-mark):
3458 * calendar/calendar.el (calendar-cursor-to-date): Use it.
3459 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
3460
3461 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
3462
3463 * dabbrev.el (dabbrev--ignore-case-p): New function.
3464 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
3465 Use it.
3466
3467 * files.el (automount-dir-prefix): Mark as obsolete.
3468
3469 2012-05-04 Glenn Morris <rgm@gnu.org>
3470
3471 * patcomp.el, play/bruce.el: Move to obsolete/.
3472
3473 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
3474
3475 Fix minor Y10k bugs.
3476 * arc-mode.el (archive-unixdate):
3477 * autoinsert.el (auto-insert-alist):
3478 * calc/calc-forms.el (math-this-year):
3479 * emacs-lisp/copyright.el (copyright-current-year)
3480 (copyright-update-year, copyright):
3481 * tar-mode.el (tar-clip-time-string):
3482 * time.el (display-time-update):
3483 Don't assume years have 4 digits.
3484
3485 2012-05-04 Chong Yidong <cyd@gnu.org>
3486
3487 * dos-w32.el (file-name-buffer-file-type-alist)
3488 (direct-print-region-use-command-dot-com):
3489 * ffap.el (ffap-menu-regexp):
3490 * find-file.el (ff-special-constructs):
3491 * follow.el (follow-debug):
3492 * forms.el (forms--debug):
3493 * iswitchb.el (iswitchb-all-frames):
3494 * ido.el (ido-all-frames):
3495 * emacs-lisp/timer.el (timer-max-repeats):
3496 * mail/feedmail.el (feedmail-mail-send-hook)
3497 (feedmail-mail-send-hook-queued):
3498 * mail/footnote.el (footnote-signature-separator):
3499 * mail/mailabbrev.el (mail-alias-separator-string)
3500 (mail-abbrev-mode-regexp):
3501 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
3502 * progmodes/idlwave.el (idlwave-libinfo-file)
3503 (idlwave-default-completion-case-is-down)
3504 (idlwave-library-routines): Convert defvars to defcustoms.
3505
3506 * mail/rmail.el (rmail-decode-mime-charset):
3507 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
3508 (idlwave-shell-fix-inserted-breaks)
3509 (idlwave-shell-activate-alt-keybindings)
3510 (idlwave-shell-use-breakpoint-glyph):
3511 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
3512
3513 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
3514
3515 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
3516
3517 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
3518
3519 * progmodes/verilog-mode.el (font-lock-keywords):
3520 Fix mis-highligting auto. Reported by Craig Barner.
3521 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
3522 defines from global name space. Reported by Dan Dever.
3523 (verilog-auto-reset, verilog-auto-reset-widths)
3524 (verilog-auto-tieoff): Support using unbased numbers for
3525 AUTORESET and AUTOTIEOFF.
3526 (verilog-submit-bug-report): Update variable list.
3527 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
3528 parenthesis from not matching. Reported by Michael Rytting.
3529 (verilog-auto-template-lint): Fix hash error when linting modules
3530 with no used templates.
3531 (verilog-warn, verilog-warn-error)
3532 (verilog-warn-fatal): When non-interactive report multiple
3533 warnings before exiting. Suggested by Brad Dobbie.
3534 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
3535 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
3536 to report unused template errors. Reported by Brad Dobbie.
3537 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
3538 nets, bug438. Reported by Vns Blore.
3539 (verilog-auto-inout-module, verilog-auto-reg)
3540 (verilog-read-decls, verilog-read-sub-decls-sig)
3541 (verilog-signals-edit-wire-reg, verilog-signals-with):
3542 Fix passing of Verilog data types in ANSI input/output ports
3543 such as "output logic" into the AUTOs. Special case "wire" and
3544 "reg" for backwards compatibility presuming Verilog 2001.
3545 (verilog-auto-ascii-enum): Add "auto enum" as alias.
3546 (verilog-preprocess): Fix replication of preprocess output.
3547 Reported by Brad Dobbie.
3548 (verilog-auto-inst-interfaced-ports):
3549 Create verilog-auto-inst-interfaced-ports, bug429.
3550 Reported by Julian Gorfajn.
3551 (verilog-after-save-font-hook)
3552 (verilog-before-save-font-hook): New variable.
3553 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
3554 (verilog-save-font-mods): Wrap disabling fontification, reported
3555 by David Rogoff.
3556 (verilog-do-indent, verilog-pretty-declarations-auto)
3557 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
3558 Reported by Pierre-David Pfister.
3559 (verilog-set-auto-endcomments): Fix endtask auto comments outside
3560 of class declarations, bug292. Reported by Kevin Heilman.
3561 (verilog-read-decls): Fix 'parameter type' not appearing in
3562 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
3563 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
3564 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
3565 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
3566 Reported by David Kravitz.
3567
3568 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
3569
3570 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
3571 assignment with tests in ifs and for loops.
3572 (verilog-extended-complete-re, verilog-complete-reg): Change so
3573 that DPI inport functions don't look like fuction declarations.
3574 (verilog-pretty-expr): Don't line up assignment
3575 operations to the test and increment in if and for loops
3576 (verilog-extended-complete-re, verilog-complete-reg): Change so
3577 that DPI inport functions don't look like fuction declarations.
3578
3579 2012-05-03 Kenichi Handa <handa@m17n.org>
3580
3581 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
3582 decoding, and show a warning message without signaling an error
3583 (Bug#11282).
3584
3585 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
3586
3587 * emacs-lisp/bytecomp.el
3588 (byte-compile-file-form-custom-declare-variable): Compile all elements,
3589 since cconv.el might have introduced :fun-body, internal-make-closure,
3590 and friends for bytecomp to handle (bug#11391).
3591 * custom.el (defcustom): Avoid ((λ ..) ..).
3592
3593 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
3594
3595 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
3596
3597 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
3598
3599 * notifications.el (dbus-debug):
3600 * term/linux.el (gpm-mouse-enable):
3601 * term/screen.el (xterm-register-default-colors): Declare.
3602
3603 2012-05-02 Chong Yidong <cyd@gnu.org>
3604
3605 * cus-start.el (gc-cons-percentage, exec-suffixes)
3606 (dos-display-scancodes, dos-hyper-key, dos-super-key)
3607 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
3608 (make-cursor-line-fully-visible, void-text-area-pointer)
3609 (font-list-limit): Add customization data.
3610
3611 * allout.el (allout-exposure-change-functions)
3612 (allout-structure-added-functions)
3613 (allout-structure-deleted-functions)
3614 (allout-structure-shifted-functions): Rename abnormal hooks from
3615 *-hook, and convert to defcustoms.
3616 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
3617 Convert to defcustoms.
3618 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
3619
3620 * allout-widgets.el: Hook callers changed.
3621
3622 2012-05-02 Eli Zaretskii <eliz@gnu.org>
3623
3624 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
3625 the yanked message in preference to the default value of
3626 buffer-file-coding-system.
3627
3628 2012-05-02 Martin Rudalics <rudalics@gmx.at>
3629
3630 * window.el (display-buffer--action-function-custom-type):
3631 Fix entry.
3632
3633 2012-05-02 Alan Mackenzie <acm@muc.de>
3634
3635 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
3636
3637 2012-05-01 Glenn Morris <rgm@gnu.org>
3638
3639 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
3640
3641 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
3642
3643 * cus-edit.el (custom-variable-documentation): Simplify with format.
3644
3645 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
3646 Stefan Monnier <monnier@iro.umontreal.ca>
3647
3648 * simple.el (suggest-key-bindings, execute-extended-command):
3649 Move from keyboard.c.
3650
3651 2012-05-01 Chong Yidong <cyd@gnu.org>
3652
3653 * follow.el: Eliminate advice.
3654 (set-process-filter, process-filter, sit-for): Advice deleted.
3655 (follow-mode-off-hook): Obsolete hook removed.
3656 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
3657 Vars deleted.
3658 (follow-auto): Use a :set function.
3659 (follow-mode): Rewritten. Don't advise process filters.
3660 (follow-switch-to-current-buffer-all, follow-scroll-up)
3661 (follow-scroll-down): Assume follow-mode is bound.
3662 (follow-comint-scroll-to-bottom)
3663 (follow-align-compilation-windows): New functions.
3664 (follow--window-sorter): New function.
3665 (follow-all-followers): Use it to explicitly sort windows by their
3666 positions; don't make assumptions about next-window order.
3667 (follow-windows-start-end, follow-delete-other-windows-and-split)
3668 (follow-calc-win-start): Doc fix.
3669 (follow-windows-aligned-p, follow-select-if-visible): Don't call
3670 vertical-motion unnecessarily.
3671 (follow-adjust-window): New function.
3672 (follow-post-command-hook): Use it.
3673 (follow-call-set-process-filter, follow-call-process-filter)
3674 (follow-intercept-process-output, follow-tidy-process-filter-alist)
3675 (follow-stop-intercept-process-output, follow-generic-filter):
3676 Functions deleted.
3677 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
3678 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
3679 New functions, replacing advice on scroll-bar-* commands.
3680 (follow-mwheel-scroll): New function (Bug#4112).
3681
3682 * comint.el (comint-adjust-point): New function.
3683 (comint-postoutput-scroll-to-bottom): Use it.
3684 Call follow-comint-scroll-to-bottom for Follow mode buffers.
3685
3686 2012-05-01 Glenn Morris <rgm@gnu.org>
3687
3688 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
3689 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
3690 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
3691 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
3692 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
3693 Remove no-byte-compile setting.
3694
3695 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
3696
3697 * minibuffer.el (completion-table-with-quoting): Fix compatibility
3698 all-completions code to not return a number in the last cdr.
3699
3700 2012-04-30 Leo Liu <sdl.web@gmail.com>
3701
3702 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
3703 read-only error.
3704
3705 2012-04-29 Chong Yidong <cyd@gnu.org>
3706
3707 * follow.el (follow-calc-win-end): Rewrite to handle partial
3708 screen lines correctly (Bug#8390).
3709 (follow-avoid-tail-recenter): Minor cleanup.
3710
3711 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
3712
3713 Avoid the obsolete `assoc' package.
3714 * speedbar.el (speedbar-refresh): Avoid adelete.
3715 (speedbar-file-lists): Simplify and avoid aput.
3716 * man.el (Man--sections, Man--refpages): New vars, replacing
3717 Man-sections-alist and Man-refpages-alist.
3718 (Man-build-section-alist, Man-build-references-alist):
3719 Use them; avoid aput.
3720 (Man--last-section, Man--last-refpage): New vars.
3721 (Man-follow-manual-reference): Use them.
3722 Use the `default' arg of completing-read.
3723 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
3724
3725 2012-04-27 Chong Yidong <cyd@gnu.org>
3726
3727 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
3728
3729 * startup.el (x-apply-session-resources): New function.
3730
3731 * term/ns-win.el (ns-initialize-window-system):
3732 * term/w32-win.el (w32-initialize-window-system):
3733 * term/x-win.el (x-initialize-window-system): Use it to properly
3734 set menu-bar-mode and other vars from X resources, even if the
3735 initial frame is not a window-system frame (Bug#2299).
3736
3737 * subr.el (read-key): Avoid running filter function when setting
3738 up temporary tool bar entries (Bug#9922).
3739
3740 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
3741
3742 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
3743 (Bug#11344)
3744
3745 2012-04-27 Chong Yidong <cyd@gnu.org>
3746
3747 * select.el (xselect--encode-string): New function, split from
3748 xselect-convert-to-string.
3749 (xselect-convert-to-string): Use it.
3750 (xselect-convert-to-filename, xselect-convert-to-os)
3751 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
3752 returned strings are properly encoded (Bug#11315).
3753
3754 2012-04-27 Chong Yidong <cyd@gnu.org>
3755
3756 * simple.el (delete-active-region): Move to killing custom group.
3757
3758 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
3759
3760 * progmodes/which-func.el (which-func-current): Quote %
3761 characters for mode-line processing.
3762
3763 2012-04-27 Chong Yidong <cyd@gnu.org>
3764
3765 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
3766 reaching eob (Bug#11286).
3767
3768 2012-04-27 Eli Zaretskii <eliz@gnu.org>
3769
3770 * progmodes/gdb-mi.el (gdb-control-level): New variable.
3771 (gdb): Make it buffer-local and init to zero.
3772 (gdb-control-commands-regexp): New variable.
3773 (gdb-send): Don't wrap in "-interpreter-exec console" if
3774 gdb-control-level is positive. Increment gdb-control-level
3775 whenever the command matches gdb-control-commands-regexp, and
3776 decrement it each time the command is "end". (Bug#11279)
3777
3778 2012-04-27 Martin Rudalics <rudalics@gmx.at>
3779
3780 * window.el (adjust-window-trailing-edge, enlarge-window)
3781 (shrink-window, window-resize):
3782 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
3783 windows (Bug#11276).
3784
3785 2012-04-27 Chong Yidong <cyd@gnu.org>
3786
3787 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
3788 fix "missing prefix" warning. All callers changed.
3789
3790 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
3791
3792 * emacs-lisp/assoc.el: Move to obsolete/.
3793
3794 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
3795
3796 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
3797
3798 * term/ns-win.el (ns-define-service):
3799 * progmodes/pascal.el (pascal-goto-defun):
3800 * progmodes/js.el (js--read-tab):
3801 * progmodes/etags.el (tags-lazy-completion-table):
3802 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
3803 * emacs-lisp/ewoc.el (ewoc--wrap):
3804 * emacs-lisp/assoc.el (aput, adelete, amake):
3805 * doc-view.el (doc-view-convert-current-doc):
3806 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
3807
3808 2012-04-26 Chong Yidong <cyd@gnu.org>
3809
3810 * image.el (image-type-from-buffer): Only return supported image
3811 type (Bug#9045).
3812
3813 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
3814 value, for symmetry with diff-end-of-hunk.
3815 (diff-split-hunk, diff-find-source-location)
3816 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
3817 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
3818 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
3819 compute the relevant hunk or file properly (Bug#6005).
3820 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
3821
3822 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
3823
3824 * vc/vc-mtn.el:
3825 * vc/vc-hg.el:
3826 * vc/vc-git.el:
3827 * vc/vc-dir.el:
3828 * vc/vc-cvs.el:
3829 * vc/vc-bzr.el:
3830 * vc/vc-arch.el:
3831 * vc/vc.el: Replace lexical-let by lexical-binding.
3832 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
3833 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
3834 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
3835
3836 2012-04-26 Chong Yidong <cyd@gnu.org>
3837
3838 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
3839 (diff-mode-shared-map): Bind it to / and [remap undo].
3840
3841 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
3842 (ediff-window-setup-function): Use it as the default, to set up
3843 windows based on whether the current frame is graphical (Bug#2138).
3844 (ediff-choose-window-setup-function-automatically): Make obsolete.
3845
3846 * vc/ediff-init.el: Always define ediff-pixel-width/height.
3847
3848 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
3849
3850 * ffap.el: Remove old code for obsolete package.
3851 (ffap-complete-as-file-p): Remove.
3852
3853 Use completion-table-with-quoting for comint and pcomplete.
3854 * comint.el (comint--unquote&requote-argument)
3855 (comint--unquote-argument, comint--requote-argument): New functions.
3856 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
3857 (comint-quote-filename): Use regexp-opt-charset.
3858 (comint--common-suffix, comint--common-quoted-suffix)
3859 (comint--table-subvert): Remove.
3860 (comint-unquote-function, comint-requote-function): New vars.
3861 (comint--complete-file-name-data): Use them with
3862 completion-table-with-quoting.
3863 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
3864 * pcomplete.el (pcomplete-arg-quote-list)
3865 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
3866 (pcomplete-unquote-argument-function): Default to non-nil.
3867 (pcomplete-unquote-argument): Simplify.
3868 (pcomplete--common-quoted-suffix): Remove.
3869 (pcomplete-requote-argument-function): New var.
3870 (pcomplete--common-suffix): New function.
3871 (pcomplete-completions-at-point): Use completion-table-with-quoting
3872 and completion-table-subvert.
3873
3874 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
3875 (minibuffer--double-dollars): Preserve properties.
3876 (completion--sifn-requote): New function.
3877 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
3878
3879 * minibuffer.el: Add support for completion of quoted/escaped data.
3880 (completion-table-with-quoting, completion-table-subvert): New funs.
3881 (completion--twq-try, completion--twq-all): New functions.
3882 (completion--nth-completion): New function.
3883 (completion-try-completion, completion-all-completions): Use it.
3884
3885 2012-04-25 Leo Liu <sdl.web@gmail.com>
3886
3887 * progmodes/python.el (python-pdbtrack-get-source-buffer):
3888 Use compilation-message if available to find real filename.
3889
3890 2012-04-25 Chong Yidong <cyd@gnu.org>
3891
3892 * vc/diff-mode.el (diff-setup-whitespace): New function.
3893 (diff-mode): Use it.
3894
3895 * vc/diff.el (diff-sentinel):
3896 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
3897 Whitespace mode variables based on diff style (Bug#8612).
3898
3899 2012-04-25 Leo Liu <sdl.web@gmail.com>
3900
3901 * progmodes/python.el (python-send-region): Add suffix .py to the
3902 temp file.
3903
3904 * files.el (auto-mode-alist): Use javascript-mode instead.
3905
3906 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
3907
3908 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
3909
3910 * net/soap-client.el (soap-resolve-references-for-sequence-type)
3911 (soap-resolve-references-for-array-type): Hack to prevent self
3912 references, see Bug#9.
3913 (soap-parse-envelope): Report the contents of the 'detail' node
3914 when receiving a fault reply.
3915 (soap-parse-envelope): Report the contents of the entire 'detail' node.
3916
3917 * net/soap-inspect.el (soap-sample-value-for-simple-type)
3918 (soap-inspect-simple-type): New function.
3919
3920 * net/soap-client.el (soap-simple-type): New struct.
3921 (soap-default-xsd-types, soap-default-soapenc-types)
3922 (soap-decode-basic-type, soap-encode-basic-type):
3923 support unsignedInt and double basic types.
3924 (soap-resolve-references-for-simple-type)
3925 (soap-parse-simple-type, soap-encode-simple-type): New function.
3926 (soap-parse-schema): Parse xsd:simpleType declarations.
3927
3928 * net/soap-client.el (soap-default-xsd-types)
3929 (soap-default-soapenc-types): Add integer, byte and anyURI types.
3930 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
3931 the local name of "soapenc:Array".
3932 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
3933 decoding integer, byte and anyURI xsd types.
3934
3935 2012-04-25 Chong Yidong <cyd@gnu.org>
3936
3937 * cus-edit.el (custom-buffer-create-internal): Update header text.
3938
3939 2012-04-25 Eli Zaretskii <eliz@gnu.org>
3940
3941 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
3942 settings on 'system-type', not on 'window-system'. On MS-Windows,
3943 set interactive-mode on in GDB.
3944
3945 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
3946
3947 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
3948 (ruby-syntax-propertize-regexp): Remove.
3949 (ruby-syntax-propertize-function): Split regexp into chunks.
3950 Match following code directly.
3951
3952 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
3953
3954 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
3955 (ruby-syntax-propertize-regexp): New function.
3956 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
3957 by a special keyword.
3958
3959 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
3960 (ruby-syntax-general-delimiters-goto-beg)
3961 (ruby-syntax-propertize-general-delimiters): New functions.
3962 (ruby-syntax-propertize-function): Use them to handle GDL.
3963 (ruby-font-lock-keywords): Move old handling of GDL...
3964 (ruby-font-lock-syntactic-keywords): .. to here.
3965 (ruby-calculate-indent): Adjust indentation for GDL.
3966
3967 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
3968
3969 * notifications.el (top): Remove unneeded declarations.
3970 (notifications-specification-version): Change to "1.2".
3971 (notifications-interface, notifications-notify-method)
3972 (notifications-close-notification-method): Fix docstring.
3973 (notifications-get-capabilities-method): New defconst.
3974 (notifications-notify): Add :action-items, :resident and
3975 :transient hints. Change "image_data" to "image-data" and
3976 "image_path" to "image-path".
3977 (notifications-get-capabilities): New defun.
3978
3979 2012-04-24 Leo Liu <sdl.web@gmail.com>
3980
3981 * progmodes/python.el: Move hideshow setup to the end.
3982
3983 2012-04-24 Martin Rudalics <rudalics@gmx.at>
3984
3985 * window.el (handle-select-window): Clear echo area since this is
3986 no more done by read_char (Bug#11304).
3987
3988 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
3989
3990 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
3991 and `/ M' to filter-derived-mode.
3992 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
3993 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
3994 (ibuffer-mark-by-mode): Use default rather than initial-input.
3995 (ibuffer-filter-by-derived-mode): Autoload and require-match.
3996
3997 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
3998
3999 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
4000 (ibuffer-filter-by-derived-mode): New filter.
4001 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
4002
4003 2012-04-23 Andreas Politz <politza@fh-trier.de>
4004
4005 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
4006
4007 2012-04-23 Chong Yidong <cyd@gnu.org>
4008
4009 * cus-edit.el (customize-apropos, customize-apropos-options):
4010 Disable matching of non-option variables (Bug#11176).
4011 (customize-option, customize-option-other-window)
4012 (customize-changed-options): Doc fix.
4013 (customize-apropos-options, customize-apropos-faces)
4014 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
4015
4016 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
4017 Fix word list splitting (Bug#11132).
4018 (apropos-symbol, apropos-keybinding, apropos-label)
4019 (apropos-property, apropos-function-button)
4020 (apropos-variable-button, apropos-misc-button): New faces.
4021 (apropos-symbol-face, apropos-keybinding-face)
4022 (apropos-label-face, apropos-property-face, apropos-match-face):
4023 Variables removed (Bug#8396).
4024 (apropos-library-button, apropos-format-plist, apropos-print)
4025 (apropos-print-doc, apropos-describe-plist): Callers changed.
4026
4027 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
4028
4029 * net/xesam.el (xesam-mode-map): Use let-bound map in
4030 initialization. (Bug#11292)
4031
4032 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4033
4034 Preserve ispell session localwords when switching back to
4035 original buffer.
4036
4037 * textmodes/ispell.el (ispell-buffer-session-localwords):
4038 New buffer-local variable to hold buffer session localwords.
4039 (ispell-kill-ispell): Add option 'clear to delete session
4040 localwords.
4041 (ispell-command-loop, ispell-change-dictionary)
4042 (ispell-buffer-local-words): Preserve session localwords when
4043 needed.
4044
4045 * textmodes/flyspell.el (flyspell-process-localwords)
4046 (flyspell-do-correct): Preserve session localwords when needed.
4047
4048 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4049
4050 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
4051 using obsolete `translation-table-for-input'.
4052 (ispell-word, ispell-process-line, ispell-complete-word):
4053 Use plain `insert' instead of removed `ispell-insert-word'.
4054
4055 2012-04-22 Chong Yidong <cyd@gnu.org>
4056
4057 * cus-edit.el (custom-variable-menu)
4058 (custom-variable-reset-saved, custom-face-menu)
4059 (custom-face-reset-saved): If there is no saved value, make the
4060 "reset-saved" operation bring back the default (Bug#9509).
4061 (custom-face-state): Properly detect themed faces.
4062
4063 * faces.el (face-spec-set): Stop supporting deprecated form of
4064 third arg.
4065
4066 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
4067
4068 Move functions from C to Lisp. Make non-blocking method calls
4069 the default. Implement further D-Bus standard interfaces.
4070
4071 * net/dbus.el (dbus-message-internal): Declare function.
4072 Remove unneeded function declarations.
4073 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
4074 (dbus-message-type-method-return, dbus-message-type-error)
4075 (dbus-message-type-signal): Declare variables. Remove local
4076 definitions.
4077 (dbus-interface-dbus, dbus-interface-peer)
4078 (dbus-interface-introspectable, dbus-interface-properties)
4079 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
4080 Adapt docstring.
4081 (dbus-interface-objectmanager): New defconst.
4082 (dbus-call-method, dbus-call-method-asynchronously)
4083 (dbus-send-signal, dbus-method-return-internal)
4084 (dbus-method-error-internal, dbus-register-service)
4085 (dbus-register-signal, dbus-register-method): New defuns, moved
4086 from dbusbind.c
4087 (dbus-call-method-handler, dbus-setenv)
4088 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
4089 New defuns.
4090 (dbus-call-method-non-blocking): Make it an obsolete function.
4091 (dbus-unregister-object, dbus-unregister-service)
4092 (dbus-handle-event, dbus-register-property)
4093 (dbus-property-handler): Obey the new structure of
4094 `bus-registered-objects'.
4095 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
4096 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
4097 Use `dbus-call-method'.
4098
4099 2012-04-22 Chong Yidong <cyd@gnu.org>
4100
4101 * cus-edit.el (custom-commands, custom-reset-menu)
4102 (Custom-reset-standard): Tweak labels.
4103 (custom-reset-button-menu): Change default to t.
4104 (custom-buffer-create-internal): For the custom-reset-button-menu
4105 case, put the revert button first.
4106 (custom-group-subtitle): New face.
4107 (custom-group-value-create): Align docstring to a specific column.
4108
4109 * wid-edit.el (widget-documentation-link-add): Don't handle
4110 indentation in this function.
4111 (widget-documentation-string-indent-to): New function.
4112 (widget-documentation-string-value-create): Use it.
4113
4114 * autorevert.el (auto-revert):
4115 * epg-config.el (epg):
4116 * ibuffer.el (ibuffer):
4117 * mpc.el (mpc):
4118 * ses.el (ses):
4119 * eshell/eshell.el (eshell):
4120 * net/ange-ftp.el (ange-ftp):
4121 * progmodes/ebnf2ps.el (postscript):
4122 * progmodes/flymake.el (flymake):
4123 * progmodes/prolog.el (prolog):
4124 * progmodes/verilog-mode.el (verilog-mode):
4125 * progmodes/which-func.el (which-func):
4126 * term/xterm.el (xterm):
4127 * textmodes/picture.el (picture):
4128 * textmodes/tildify.el (tildify):
4129 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
4130 customization buffers.
4131
4132 2012-04-22 Alan Mackenzie <acm@muc.de>
4133
4134 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
4135 Adding a ) can hide the resulting (..) from searches. Fix it.
4136 Bound the backward search to the position of the existing (.
4137
4138 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
4139
4140 * progmodes/verilog-mode.el (verilog-mode): Check whether
4141 which-func-modes is t before adding verilog-mode.
4142 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
4143
4144 2012-04-21 Leo Liu <sdl.web@gmail.com>
4145
4146 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
4147
4148 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
4149
4150 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
4151 filling of the last column of a table (Bug#5635).
4152 (woman-find-next-control-line): New arg, specifying an additional
4153 regexp component for the control line.
4154 (woman2-roff-buffer): Use it.
4155 (woman-break-table): New function.
4156 (woman2-TS): Use it.
4157
4158 2012-04-21 Chong Yidong <cyd@gnu.org>
4159
4160 * woman.el (woman-set-buffer-display-table, woman-decode-region)
4161 (woman-horizontal-escapes, woman-negative-vertical-space)
4162 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
4163 (WoMan-warn-ignored): Use ?\s instead of ?\ .
4164
4165 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
4166
4167 * minibuffer.el (completion-file-name-table): Complete user names.
4168
4169 2012-04-20 Leo Liu <sdl.web@gmail.com>
4170
4171 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
4172 and pcase-let*.
4173
4174 2012-04-20 Chong Yidong <cyd@gnu.org>
4175
4176 * server.el (server-execute): Respect initial-buffer-choice if it
4177 is a string and there are no files to open (Bug#2825).
4178 (server-create-window-system-frame, server-create-tty-frame):
4179 Don't switch buffers here.
4180 (server-process-filter): Only try to open a window system frame if
4181 compiled with graphical support (Bug#8314).
4182
4183 2012-04-20 Dan Nicolaescu <dann@gnu.org>
4184
4185 * battery.el (battery-echo-area-format): Display remaining time
4186 for sysfs backend too (Bug#11269).
4187 (battery-linux-sysfs): Fix conditional for the charge.
4188
4189 2012-04-20 Chong Yidong <cyd@gnu.org>
4190
4191 * progmodes/gdb-mi.el (gdb): Revert previous change.
4192 (gdb-inferior-io--init-proc): New function.
4193 (gdb-init-1): Use it.
4194 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
4195 responsible for allocating a new pty and hooking it to gdb when
4196 the old pty gets an EIO due to process exit.
4197 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
4198 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
4199 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
4200
4201 2012-04-20 Eli Zaretskii <eliz@gnu.org>
4202
4203 * window.el (window-min-size, window-sizable, window-min-delta)
4204 (window-max-delta, window--resizable, window-resizable)
4205 (window-total-size, window-full-height-p, window-full-width-p)
4206 (window-in-direction, window--resize-mini-window, window-resize)
4207 (window--resize-child-windows-normal)
4208 (window--resize-child-windows, window--resize-siblings)
4209 (window--resize-this-window, adjust-window-trailing-edge)
4210 (enlarge-window, shrink-window): Doc fixes.
4211
4212 2012-04-20 Chong Yidong <cyd@gnu.org>
4213
4214 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
4215 New function to call delete-process on the gdb-inferior buffer's pty.
4216 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
4217 pty process (Bug#11273).
4218 (gdb-update): New arg to suppress talking to the gdb process.
4219 (gdb-done-or-error): Use it.
4220 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
4221 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
4222 sentinel not being called.
4223
4224 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
4225
4226 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
4227
4228 2012-04-20 Glenn Morris <rgm@gnu.org>
4229
4230 * net/network-stream.el (open-network-stream): Doc fix.
4231
4232 2012-04-20 Chong Yidong <cyd@gnu.org>
4233
4234 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
4235
4236 2012-04-20 Alan Mackenzie <acm@muc.de>
4237
4238 Ensure searching for keywords is case sensitive.
4239
4240 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
4241 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
4242 (c-defun-name, c-mark-function, c-cpp-define-name)
4243 (c-comment-indent, c-scan-conditionals, c-indent-defun)
4244 (c-context-line-break): Bind case-fold-search to nil.
4245
4246 * progmodes/cc-mode.el (c-font-lock-fontify-region):
4247 Bind case-fold-search to nil.
4248
4249 2012-04-20 Chong Yidong <cyd@gnu.org>
4250
4251 * mail/sendmail.el (mail-bury): Call return action with the right
4252 Rmail buffer (Bug#11242).
4253
4254 * server.el (server-process-filter): Handle corner case where both
4255 tty and nowait options are present (Bug#11102).
4256
4257 2012-04-20 Eli Zaretskii <eliz@gnu.org>
4258
4259 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
4260 (top level): Put into the executable the ident-style '$Id:' tag on
4261 windows-nt as well.
4262
4263 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
4264
4265 * electric.el (electric-indent-post-self-insert-function): Check that
4266 electric-indent-mode is enabled in current buffer.
4267
4268 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
4269
4270 * imenu.el (imenu-progress-message): Restore; it is "used" in
4271 erc/erc-imenu.el and net/snmp-mode.el.
4272
4273 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
4274
4275 * avoid.el (mouse-avoidance-mode): Mark unused arg.
4276 (mouse-avoidance-nudge-mouse): Remove unused binding.
4277
4278 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
4279
4280 * descr-text.el (describe-char):
4281 * progmodes/python.el (python-describe-symbol):
4282 Don't call `toggle-read-only', set `buffer-read-only'.
4283
4284 * imenu.el (imenu-default-goto-function): Mark unused args.
4285 (imenu-progress-message): Remove obsolete macro; all callers changed.
4286
4287 * subr.el (keymap-canonicalize): Remove unused binding.
4288 (read-passwd): Mark unused arg.
4289
4290 * tutorial.el (tutorial--display-changes): Remove unused binding.
4291 (tutorial--save-tutorial-to): Remove unused variable.
4292
4293 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
4294 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
4295 (package-generate-autoloads, package-menu--generate)
4296 (package-menu--find-upgrades): Remove unused bindings.
4297
4298 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
4299 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
4300 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
4301 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
4302 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
4303 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
4304 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
4305 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
4306 (cua-delete-char-rectangle): Mark unused args.
4307 (cua-align-rectangle): Remove unused binding.
4308
4309 * mail/rmail.el (compilation--message->loc)
4310 (epa--find-coding-system-for-mime-charset): Declare.
4311
4312 * net/dbus.el (dbus-register-service): Declare.
4313 (dbus-name-owner-changed-handler): Remove unused binding.
4314
4315 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
4316 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
4317 (nxml-scan-backward-within): Mark unused arg.
4318 (nxml-dynamic-markup-word): Remove unused binding.
4319
4320 * mouse.el (mouse-menu-major-mode-map):
4321 * emacs-lisp/authors.el (authors-scan-change-log)
4322 (authors-add-to-author-list):
4323 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
4324 * emacs-lisp/smie.el (smie-auto-fill):
4325 * mail/sendmail.el (mail-bury):
4326 * mail/unrmail.el (unrmail):
4327 * net/tls.el (open-tls-stream):
4328 * textmodes/picture.el (picture-mouse-set-point):
4329 Remove unused bindings.
4330
4331 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
4332
4333 * net/tramp.el (tramp-action-password): Let-bind
4334 `enable-recursive-minibuffers' to t.
4335
4336 2012-04-18 Sam Steingold <sds@gnu.org>
4337
4338 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
4339 instead of 'string to accommodate values like [f11].
4340 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
4341 * progmodes/gdb-mi.el: Likewise.
4342
4343 2012-04-18 Leo Liu <sdl.web@gmail.com>
4344
4345 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
4346 current buffer.
4347 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
4348 LOCAL is nil.
4349
4350 2012-04-18 Chong Yidong <cyd@gnu.org>
4351
4352 * simple.el (line-move): Use forward-line if in batch mode
4353 (Bug#11053).
4354
4355 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
4356
4357 * files.el (after-find-file): Do not try to add a final newline if
4358 the buffer is read-only (Bug#11156).
4359
4360 2012-04-17 Richard Stallman <rms@gnu.org>
4361
4362 * mail/rmail.el (rmail-start-mail):
4363 Pass (rmail-mail-return...) for the return-action.
4364 Pass (rmail-yank-current-message...) for the yank-action.
4365 (rmail-yank-current-message): New function.
4366 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
4367 (rmail-reply): Likewise.
4368 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
4369
4370 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
4371 buffer, not the last. Reject temp buffers. Use the rmail-mode
4372 buffer, not newbuf.
4373
4374 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
4375
4376 * server.el (server-ensure-safe-dir): Simplify.
4377
4378 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
4379
4380 * emacs-lisp/smie.el: Provide smarter auto-filling.
4381 (smie-auto-fill): New function.
4382 (smie-setup): Use it.
4383
4384 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
4385
4386 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
4387
4388 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
4389 (comment-indent): Use it.
4390
4391 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4392
4393 * ses.el: The overall change is to add cell renaming, that is
4394 setting fancy names for cell symbols other than name matching
4395 "\\`[A-Z]+[0-9]+\\'" regexp .
4396 (ses-localvars): Add ses--renamed-cell-symb-list.
4397 (ses-create-cell-variable): New defun.
4398 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4399 (ses-relocate-formula): Relocate formulas only for cells the
4400 symbols of which are not renamed, i.e. symbols whose names do not
4401 match regexp "\\`[A-Z]+[0-9]+\\'".
4402 (ses-relocate-all): Relocate values only for cells the symbols of
4403 which are not renamed.
4404 (ses-load): Create cells variables as the (ses-cell ...) are read,
4405 in order to check row col consistency with cell symbol name only
4406 for cells that are not renamed.
4407 (ses-replace-name-in-formula): New defun.
4408 (ses-rename-cell): New defun.
4409
4410 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
4411
4412 * progmodes/perl-mode.el (perl-indent-parens-as-block):
4413 New option (bug#11118).
4414 (perl-calculate-indent): Respect it.
4415
4416 2012-04-17 Glenn Morris <rgm@gnu.org>
4417
4418 * dired-aux.el (dired-mark-read-string): Doc fix.
4419
4420 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
4421
4422 * dired-aux.el (dired-mark-read-string): Offer optional completion.
4423 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
4424
4425 2012-04-17 Glenn Morris <rgm@gnu.org>
4426
4427 * mouse.el (mouse-drag-track):
4428 * speedbar.el (speedbar-frame-mode):
4429 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
4430
4431 2012-04-16 Leo Liu <sdl.web@gmail.com>
4432
4433 * progmodes/python.el: Trivial cleanup.
4434
4435 2012-04-16 Glenn Morris <rgm@gnu.org>
4436
4437 * vc/vc.el (vc-string-prefix-p):
4438 * vc/pcvs-util.el (cvs-string-prefix-p):
4439 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
4440 * mpc.el (mpc-string-prefix-p):
4441 Make all of these into obsolete aliases for string-prefix-p.
4442 Update callers.
4443 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
4444
4445 * textmodes/two-column.el: Move custom options to the start.
4446 (frame-width): Remove compat definition.
4447 (2C-associate-buffer, 2C-dissociate):
4448 Use with-current-buffer rather than save-excursion.
4449 (2C-dissociate): Force a mode-line update.
4450 (2C-autoscroll): Use ignore-errors.
4451
4452 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
4453 Autoload trivia.
4454
4455 * emacs-lisp/cl-extra.el (*random-state*):
4456 Remove unnecessary declaration.
4457
4458 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
4459
4460 * play/cookie1.el (cookie-snarf):
4461 Give an explicit error if input file cannot be read.
4462
4463 * play/yow.el (yow-file): Use expand-file-name rather than concat.
4464
4465 * progmodes/perl-mode.el (c-macro-expand):
4466 Remove unnecessary autoload (it is in loaddefs.el).
4467
4468 * textmodes/picture.el (picture-desired-column)
4469 (picture-update-desired-column): Convert comments to doc-strings.
4470 (picture-substitute): Remove function.
4471 (picture-mode-map): Initialize in the defvar.
4472
4473 * woman.el: Remove eval-after-load for tar-mode.
4474 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
4475 (woman-tar-extract-file): Autoload it.
4476
4477 * frame.el (automatic-hscrolling): Make this alias obsolete.
4478
4479 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4480
4481 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
4482 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
4483 (ispell-dictionary-base-alist): Revert to original XEmacs
4484 friendly version for default. [:alpha:] will be added in
4485 `ispell-set-spellchecker-params' if needed.
4486
4487 2012-04-16 Chong Yidong <cyd@gnu.org>
4488
4489 * image.el (imagemagick--file-regexp): New variable.
4490 (imagemagick-register-types): Use it.
4491 (imagemagick-types-inhibit): Add :set function. Allow new value
4492 of t to inhibit all types.
4493
4494 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
4495 so we can preload it.
4496
4497 * loadup.el (fboundp): Preload regexp-opt, needed by
4498 imagemagick-register-types.
4499
4500 2012-04-15 Chong Yidong <cyd@gnu.org>
4501
4502 * frame.el (scrolling): Remove nearly unused customization group.
4503
4504 * scroll-all.el (scroll-all-mode): Move to windows group.
4505
4506 2012-04-15 Chong Yidong <cyd@gnu.org>
4507
4508 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
4509
4510 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
4511
4512 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4513 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
4514
4515 2012-04-15 Glenn Morris <rgm@gnu.org>
4516
4517 * simple.el (process-file-side-effects): Doc fix.
4518
4519 2012-04-15 Glenn Morris <rgm@gnu.org>
4520
4521 * international/mule-cmds.el (set-language-environment): Doc fix.
4522
4523 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
4524
4525 * server.el (server-auth-key, server-generate-key): Doc fixes.
4526 (server-get-auth-key): Doc fix. Use `string-match-p'.
4527 (server-start): Reflow docstring.
4528
4529 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
4530
4531 * server.el (server-generate-key): `called-interactively-p'
4532 requires a parameter.
4533
4534 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
4535
4536 * server.el (server-auth-key): New variable.
4537 (server-generate-key, server-get-auth-key): New function.
4538 (server-start): Use the new variable and functions to allow
4539 setting a permanent server key (bug#9423).
4540
4541 2012-04-14 Leo Liu <sdl.web@gmail.com>
4542
4543 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
4544
4545 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
4546
4547 Spelling fixes.
4548 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
4549 Emacs uses American spelling.
4550
4551 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
4552
4553 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
4554 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
4555 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
4556 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
4557
4558 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
4559
4560 * progmodes/which-func.el (which-func-modes): Change default.
4561
4562 2012-04-14 Kim F. Storm <storm@cua.dk>
4563
4564 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
4565 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
4566
4567 2012-04-14 Chong Yidong <cyd@gnu.org>
4568
4569 * custom.el (custom-theme-set-variables): Doc fix.
4570
4571 2012-04-14 Glenn Morris <rgm@gnu.org>
4572
4573 * international/mule.el (set-auto-coding-for-load): Doc fix.
4574
4575 2012-04-14 Alan Mackenzie <acm@muc.de>
4576
4577 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
4578 imenu work again for Objective C Mode. Correct the *-index values,
4579 these having been disturbed by a previous change in 2011-08.
4580
4581 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
4582 Correct two search limits.
4583
4584 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
4585
4586 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
4587
4588 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
4589
4590 * international/characters.el: Fix sorting.
4591
4592 2012-04-14 Eli Zaretskii <eliz@gnu.org>
4593
4594 * international/characters.el: Add more missing Latin case pairs.
4595
4596 2012-04-14 Glenn Morris <rgm@gnu.org>
4597
4598 * files.el (dir-locals-set-class-variables): Doc fix.
4599
4600 2012-04-14 Eli Zaretskii <eliz@gnu.org>
4601
4602 * international/characters.el: Add set-case-syntax-pair call for
4603 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
4604 counterpart. (Bug#11209)
4605
4606 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
4607
4608 2012-04-14 Glenn Morris <rgm@gnu.org>
4609
4610 * calendar/holidays.el (calendar-check-holidays): Doc fix.
4611
4612 2012-04-14 Eli Zaretskii <eliz@gnu.org>
4613
4614 * textmodes/ispell.el (ispell-dictionary-base-alist):
4615 Add data for Hebrew.
4616
4617 2012-04-14 Chong Yidong <cyd@gnu.org>
4618
4619 * net/rcirc.el (rcirc-cmd-quit):
4620 Revert 2012-03-18 change (Bug#11192).
4621
4622 2012-04-14 Glenn Morris <rgm@gnu.org>
4623
4624 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
4625
4626 2012-04-14 Eli Zaretskii <eliz@gnu.org>
4627
4628 * minibuffer.el (completion-in-region-mode-map):
4629 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
4630
4631 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
4632
4633 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
4634
4635 2012-04-13 Masatake YAMATO <yamato@redhat.com>
4636
4637 * minibuffer.el (minibuffer-local-filename-syntax): New variable
4638 to allow `C-M-f' and `C-M-b' to move to the nearest path
4639 separator (bug#9511).
4640
4641 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
4642
4643 * avoid.el: Require cl when compiling. And also move the
4644 `provide' to the end.
4645
4646 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4647
4648 * avoid.el (mouse-avoidance-banish-position): New variable.
4649 (mouse-avoidance-banish-destination): Use it (bug#10165).
4650
4651 2012-04-13 Leo Liu <sdl.web@gmail.com>
4652
4653 * progmodes/which-func.el (which-func-modes): Add objc-mode.
4654
4655 2012-04-13 Ken Brown <kbrown@cornell.edu>
4656
4657 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
4658 this is no longer needed now that cygstart understands file:// URLs.
4659 (browse-url-filename-alist): For the same reason, don't modify
4660 file:// URLs on Cygwin.
4661
4662 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
4663
4664 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
4665 the region on shift if the binding is already shifted (bug#11221).
4666
4667 2012-04-12 Glenn Morris <rgm@gnu.org>
4668
4669 * mail/mailpost.el: Move to obsolete/.
4670
4671 2012-04-12 Drew Adams <drew.adams@oracle.com>
4672
4673 * imenu.el (imenu--generic-function): Ignore invisible definitions
4674 (bug#10123).
4675
4676 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
4677
4678 * hexl.el (hexl-bits): New variable.
4679 (hexl-options): Mention the variable in the doc string.
4680 (hexl-rulerise, hexl-line-displen): New functions.
4681 (hexl-mode): Mention the new variable.
4682 (hexl-mode, hexl-current-address, hexl-current-address):
4683 Use the displen.
4684 (hexl-ascii-start-column): New function.
4685 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
4686 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
4687
4688 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4689
4690 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
4691 '("-i" ENCODING), in 2 separate command-line arguments, to specify
4692 the encoding, as expected by hunspell.
4693
4694 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
4695
4696 * battery.el (battery--linux-sysfs-regexp): New const.
4697 (battery-status-function): Use it. Remove yeeloong special case.
4698 (battery-yeeloong-sysfs): Remove.
4699 (battery-echo-area-format): Remove yeeloong special case.
4700
4701 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
4702
4703 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
4704 Reported by Noah Friedman.
4705
4706 * subr.el (read-passwd): Use read-string.
4707
4708 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
4709
4710 * vcursor.el (vcursor-move): Increase the priority of the overlay
4711 (bug#9663).
4712
4713 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
4714
4715 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
4716 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
4717
4718 2012-04-11 William Stevenson <yhvh2000@gmail.com>
4719
4720 * textmodes/artist.el (artist-mode): Convert artist-mode to use
4721 define-minor-mode (bug#10760).
4722
4723 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
4724
4725 * progmodes/grep.el (rgrep): Tweak the find command line so
4726 that directories matching `grep-find-ignored-files' won't be
4727 pruned (bug#10351).
4728
4729 2012-04-11 Chong Yidong <cyd@gnu.org>
4730
4731 * startup.el (command-line): Remove support for long-obsolete
4732 variable font-lock-face-attributes.
4733
4734 2012-04-11 Glenn Morris <rgm@gnu.org>
4735
4736 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
4737
4738 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
4739
4740 * window.el (window--state-get-1): Obey window-point-insertion-type.
4741
4742 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
4743
4744 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
4745 to previous function when point is on the first character of a
4746 function. Take care of that in `narrow-to-defun' (bug#6157).
4747
4748 2012-04-11 Glenn Morris <rgm@gnu.org>
4749
4750 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
4751 not just file-errors.
4752
4753 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
4754 (vc-bzr-sha1): Use internal sha1.
4755
4756 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
4757
4758 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
4759
4760 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
4761
4762 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
4763 that start in the middle of the line (bug#10496).
4764
4765 2012-04-10 Dan Nicolaescu <dann@gnu.org>
4766
4767 * battery.el (battery-linux-proc-acpi): Only one battery is
4768 discharged at a time, but that seems to confuse battery.el when
4769 computing `rate-type' for the battery not being discharged
4770 (bug#10332).
4771
4772 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
4773
4774 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
4775
4776 * international/quail.el: Use dolist and simplify.
4777 (quail-define-package, quail-update-keyboard-layout)
4778 (quail-define-rules): Use dolist.
4779 (quail-insert-kbd-layout, quail-get-translation): CSE.
4780
4781 * tmm.el: Use dolist, remove left over hook.
4782 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
4783 Use dolist.
4784 (calendar-load-hook): Don't mess with it.
4785
4786 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
4787 Use derived-mode-p. Run the diff asynchronously.
4788
4789 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
4790
4791 * obsolete/mouse-sel.el: Add an Obsolete-since header.
4792
4793 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
4794
4795 * misc.el: Display absolute path of loaded DLLs (bug#10424).
4796 (list-dynamic-libraries--loaded): New function.
4797 (list-dynamic-libraries--refresh): Use it.
4798
4799 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
4800
4801 * progmodes/python.el (python-fill-paragraph):
4802 Make python-fill-region in a multiline string work when font-lock is
4803 disabled (bug#7018).
4804
4805 2012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
4806
4807 * language/european.el (cp775): Add oem/legacy (en)coding on
4808 DOS/MS Windows for the Baltic languages. There are still plenty
4809 of texts written in this encoding/codepage (bug#6519).
4810
4811 2012-04-10 Glenn Morris <rgm@gnu.org>
4812
4813 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
4814 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
4815
4816 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
4817
4818 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
4819 next-line "n" and previous-line "p" in order to make recentf more
4820 consistent with ibuffer, dired or org-mode (bug#9387).
4821
4822 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
4823
4824 * image.el (put-image): Return the overlay created instead of the
4825 optional input string (bug#7834). Note that this may break code
4826 that is (for some reason or other) depending on `put-image'
4827 returning the string.
4828
4829 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
4830
4831 * simple.el (zap-to-char): Allow zapping using input methods
4832 (bug#1580).
4833
4834 * textmodes/fill.el (fill-region): Leave point and mark where they
4835 were before filling (bug#5399).
4836
4837 2012-04-09 Glenn Morris <rgm@gnu.org>
4838
4839 * version.el (emacs-bzr-get-version):
4840 Handle lightweight checkouts of local branches.
4841
4842 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
4843
4844 * international/characters.el: Recover lost case pairs. (Bug#11209)
4845
4846 2012-04-09 Chong Yidong <cyd@gnu.org>
4847
4848 * custom.el (custom-variable-p): Return nil for non-symbol
4849 arguments instead of signaling an error.
4850 (user-variable-p): Obsolete alias for custom-variable-p.
4851
4852 * apropos.el (apropos-variable):
4853 * files-x.el (read-file-local-variable):
4854 * simple.el (set-variable):
4855 * woman.el (woman-mini-help):
4856 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
4857
4858 2012-04-09 Glenn Morris <rgm@gnu.org>
4859
4860 * startup.el (normal-top-level): Don't look for leim-list.el
4861 in places where it will not be found. (Bug#910)
4862
4863 * international/mule-cmds.el (set-default-coding-systems):
4864 * files.el (normal-mode):
4865 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
4866 This function was removed with ucs-tables.el in 2008.
4867
4868 2012-04-08 Eli Zaretskii <eliz@gnu.org>
4869
4870 * textmodes/ispell.el (ispell-check-version): For hunspell, set
4871 ispell-encoding8-command to "-i", without a trailing space.
4872 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
4873 separate command-line arguments, to specify the encoding, since
4874 that's how hunspell expects it.
4875
4876 2012-04-08 Glenn Morris <rgm@gnu.org>
4877
4878 * loadup.el: Load bindings before cus-start.
4879 This reduces somewhat the number of "rogue" settings in emacs -Q.
4880
4881 2012-04-07 Glenn Morris <rgm@gnu.org>
4882
4883 * version.el (emacs-bzr-get-version): New function.
4884 (emacs-bzr-version): New variable.
4885 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
4886 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
4887
4888 2012-04-07 Eli Zaretskii <eliz@gnu.org>
4889
4890 * international/uni-bidi.el, international/uni-category.el:
4891 * international/uni-combining.el, international/uni-decimal.el:
4892 * international/uni-decomposition.el, international/uni-digit.el:
4893 * international/uni-lowercase.el, international/uni-mirrored.el:
4894 * international/uni-name.el, international/uni-numeric.el:
4895 * international/uni-titlecase.el, international/uni-uppercase.el:
4896 Update for Unicode 6.1.
4897
4898 2012-04-07 Eli Zaretskii <eliz@gnu.org>
4899
4900 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
4901
4902 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
4903
4904 * window.el (shrink-window): Mention the `window-min-height'
4905 variable in the doc string.
4906
4907 2012-04-05 Bastien Guerry <bzg@altern.org>
4908
4909 * color.el (color-lighten-name): Fix typo.
4910
4911 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
4912
4913 * server.el (server--on-display-p): New function.
4914 (server--on-display-p): Use it.
4915
4916 2012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
4917
4918 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
4919 (bug#11145).
4920
4921 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
4922
4923 * comint.el (comint--common-quoted-suffix): Check string boundary
4924 before comparing (bug#11158).
4925 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
4926
4927 2012-04-04 Chong Yidong <cyd@gnu.org>
4928
4929 * minibuffer.el (completion-extra-properties): Doc fix.
4930
4931 * subr.el (delayed-warnings-hook): Doc fix.
4932
4933 2012-04-04 Daiki Ueno <ueno@unixuser.org>
4934
4935 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
4936 selection (Bug#11159).
4937 (epa-insert-keys): Inform that the default public key will be
4938 exported if no key is selected.
4939
4940 2012-04-04 Richard Stallman <rms@gnu.org>
4941
4942 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
4943
4944 2012-04-03 Chong Yidong <cyd@gnu.org>
4945
4946 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
4947 mail-insert-file, not its obsolete alias mail-attach-file.
4948
4949 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
4950
4951 * notifications.el (notifications-notify): Fix docstring.
4952
4953 2012-04-02 Glenn Morris <rgm@gnu.org>
4954
4955 * emacs-lisp/authors.el (authors-aliases): Another addition.
4956
4957 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
4958
4959 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
4960 `tramp-compat-call-process' instead of `tramp-local-call-process'.
4961 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
4962
4963 2012-04-01 Chong Yidong <cyd@gnu.org>
4964
4965 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
4966 Handle root directory properly.
4967 (copy-directory): Caller changed.
4968
4969 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
4970 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
4971
4972 2012-03-31 Glenn Morris <rgm@gnu.org>
4973
4974 * term/xterm.el (xterm-extra-capabilities): Doc fix.
4975
4976 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
4977
4978 * calendar/calendar.el (calendar-window-list)
4979 (calendar-hide-window): Restore. (Bug#11140)
4980 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
4981
4982 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
4983
4984 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4985
4986 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
4987 Check if file is a symlink (Bug#10489).
4988
4989 * files.el (copy-directory): Likewise.
4990
4991 2012-03-30 Chong Yidong <cyd@gnu.org>
4992
4993 * image.el (imagemagick-types-inhibit)
4994 (imagemagick-register-types): Doc fix.
4995
4996 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4997
4998 * textmodes/ispell.el (ispell-get-extended-character-mode):
4999 Disable extended-char-mode for hunspell. hunspell does not support it
5000 and treats ~word as ordinary words in pipe mode.
5001
5002 2012-03-30 Glenn Morris <rgm@gnu.org>
5003
5004 * tutorial.el (help-with-tutorial): Ensure local variables don't
5005 happen to make the buffer read-only. (Bug#11127)
5006
5007 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
5008
5009 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
5010 (perl-calculate-indent): Return `noindent' in strings.
5011
5012 2012-03-28 Sam Steingold <sds@gnu.org>
5013
5014 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
5015 instead of the broken adhockery which does not prevent calendar
5016 buffers from being displayed at random after exit.
5017 (calendar-window-list, calendar-hide-window): Remove the broken
5018 adhockery.
5019
5020 2012-03-28 Glenn Morris <rgm@gnu.org>
5021
5022 * replace.el (query-replace-map): Doc fix.
5023
5024 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
5025
5026 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
5027 contents. (Bug#11109)
5028
5029 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
5030
5031 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
5032 (bug#11077).
5033 (avl-tree--check, avl-tree--check-node): New funs.
5034
5035 2012-03-27 Martin Rudalics <rudalics@gmx.at>
5036
5037 * window.el (switch-to-visible-buffer): New option.
5038 (switch-to-prev-buffer, switch-to-next-buffer):
5039 Observe switch-to-visible-buffer. Make sure that checking for a window
5040 showing a buffer already is done on the same frame.
5041
5042 2012-03-27 Glenn Morris <rgm@gnu.org>
5043
5044 * startup.el (mail-host-address): Doc fix.
5045
5046 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
5047
5048 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
5049 than 197 variables.
5050
5051 2012-03-26 Ami Fischman <ami@fischman.org>
5052
5053 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
5054
5055 2012-03-26 Glenn Morris <rgm@gnu.org>
5056
5057 * files.el (save-buffers-kill-emacs): Doc fix.
5058
5059 * startup.el (normal-top-level, command-line, command-line-1):
5060 Give them doc strings.
5061
5062 2012-03-25 Eli Zaretskii <eliz@gnu.org>
5063
5064 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
5065 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
5066
5067 2012-03-25 Chong Yidong <cyd@gnu.org>
5068
5069 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
5070 theme if it was previously enabled before (Bug#11031).
5071
5072 * cus-theme.el (custom-theme-write-faces): Retrieve current face
5073 spec with custom-face-get-current-spec if its :shown-value is not
5074 determined yet (Bug#9337).
5075 (customize-create-theme, custom-theme-revert): Doc fixes.
5076
5077 * button.el (button-at): Minor addition to docstring.
5078
5079 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
5080
5081 * vc/vc.el (vc-merge): Fix a prompt.
5082
5083 2012-03-24 Chong Yidong <cyd@gnu.org>
5084
5085 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
5086 point (Bug#9623).
5087
5088 * button.el (button-at): Minor addition to docstring.
5089
5090 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
5091
5092 * newcomment.el (comment-choose-indent): No space after BOL.
5093
5094 2012-03-22 Sam Steingold <sds@gnu.org>
5095
5096 * window.el (switch-to-prev-buffer): Revert last patch because the
5097 bug turned out to be an advertised feature (Elisp manual 28.14).
5098
5099 2012-03-22 Glenn Morris <rgm@gnu.org>
5100
5101 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
5102 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
5103
5104 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
5105
5106 * net/network-stream.el (network-stream-open-starttls): Make error
5107 message under Windows be less misleading.
5108
5109 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
5110
5111 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
5112 understands (bug#9942).
5113
5114 2012-03-22 Chong Yidong <cyd@gnu.org>
5115
5116 * simple.el (end-of-visible-line): Handle return value of
5117 next-single-property-change properly (Bug#9371).
5118
5119 2012-03-22 Kenichi Handa <handa@m17n.org>
5120
5121 * international/quail.el (quail-insert-kbd-layout): Fix previous
5122 change. To avoid unwanted bidi reordering, use
5123 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
5124
5125 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
5126
5127 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
5128 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
5129 (ruby-beginning-of-indent): Be more careful with the difference
5130 between word-boundary and symbol boundary.
5131 (ruby-mode-syntax-table): Make : a symbol constituent.
5132
5133 2012-03-21 Andreas Politz <politza@fh-trier.de>
5134
5135 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
5136
5137 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
5138
5139 * progmodes/etags.el (tags-completion-at-point-function):
5140 Improve last fix.
5141
5142 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
5143
5144 2012-03-21 Sam Steingold <sds@gnu.org>
5145
5146 * progmodes/etags.el (tags-completion-at-point-function):
5147 Avoid the error when point is inside the pattern.
5148
5149 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
5150
5151 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
5152 line (Bug#10855).
5153
5154 2012-03-21 Drew Adams <drew.adams@oracle.com>
5155
5156 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
5157
5158 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
5159
5160 * ido.el (ido-set-current-directory, ido-read-internal)
5161 (ido-choose-completion-string, ido-completion-help): Handle nil
5162 value of ido-completion-buffer (Bug#11008).
5163
5164 2012-03-21 Sam Steingold <sds@gnu.org>
5165
5166 * window.el (switch-to-prev-buffer): Do not switch to a visible
5167 window previous buffer, just like with the frame previous buffers.
5168
5169 2012-03-21 Chong Yidong <cyd@gnu.org>
5170
5171 * faces.el (make-face, make-empty-face, copy-face):
5172 * face-remap.el (face-remap-add-relative, face-remap-set-base):
5173 Doc fixes.
5174
5175 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
5176
5177 * wid-edit.el (widget-complete-field): Remove (bug#11051).
5178 (widget-complete): Remove broken use of it.
5179
5180 2012-03-20 Chong Yidong <cyd@gnu.org>
5181
5182 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
5183 Use string-width and truncate-string-width to handle arbitrary
5184 characters.
5185
5186 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
5187
5188 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
5189 to draw rectangles, not squares. (Regression introduced by revno
5190 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
5191
5192 2012-03-18 Chong Yidong <cyd@gnu.org>
5193
5194 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
5195 it is not yet defined (for temacs).
5196
5197 2012-03-18 Leo Liu <sdl.web@gmail.com>
5198
5199 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
5200
5201 2012-03-17 Eli Zaretskii <eliz@gnu.org>
5202
5203 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
5204 (ispell-choices-win-default-height, ispell-silently-savep)
5205 (ispell-dictionary-alist, ispell-encoding8-command)
5206 (ispell-check-version, ispell-aspell-find-dictionary)
5207 (ispell-valid-dictionary-list, ispell-words-keyword)
5208 (ispell-get-word, ispell-internal-change-dictionary)
5209 (ispell-region, ispell-skip-region-list)
5210 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
5211 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
5212 (ispell-message-text-end, ispell-message)
5213 (ispell-buffer-local-parsing): Doc fix.
5214
5215 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
5216
5217 * htmlfontify.el: Add support for code block fontification for ODT
5218 export (Bug #9914).
5219 (hfy-optimisations): Define new option
5220 `body-text-only'
5221 (hfy-fontify-buffer): Honor above setting.
5222 (hfy-begin-span, hfy-end-span): New routines factored out form
5223 `hfy-fontify-buffer'.
5224 (hfy-begin-span-handler, hfy-end-span-handler): New variables
5225 that permit insertion of custom tags.
5226 (hfy-fontify-buffer): Use above handlers.
5227 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
5228 (hfy-face-to-css): Re-defined to be a variable.
5229 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
5230 over multiple runs. This is made possible by having the caller let
5231 bind a special variable `hfy-user-sheet-assoc'.
5232 (htmlfontify-string): New defun.
5233 (hfy-compile-face-map): Make sure that the last char in the
5234 buffer is correctly fontified.
5235 (hfy-face-resolve-face): Whitespace only change.
5236
5237 2012-03-17 Eli Zaretskii <eliz@gnu.org>
5238
5239 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
5240 message more clear.
5241
5242 2012-03-16 Leo Liu <sdl.web@gmail.com>
5243
5244 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
5245
5246 2012-03-16 Alan Mackenzie <acm@muc.de>
5247
5248 Further optimise the handling of large macros.
5249
5250 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
5251 limit to a call of `c-literal-limits'.
5252 (c-determine-+ve-limit): New function.
5253 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
5254 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
5255 In CASE 5B, restrict a search limit to 500.
5256 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
5257
5258 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
5259 Restrict macro bounds to +-500 from after-change's BEG END.
5260
5261 2012-03-16 Leo Liu <sdl.web@gmail.com>
5262
5263 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
5264
5265 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
5266
5267 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
5268 `special-mode' setting of `buffer-read-only'. (Bug#11010)
5269
5270 2012-03-16 Glenn Morris <rgm@gnu.org>
5271
5272 * view.el (view-buffer, view-buffer-other-window)
5273 (view-buffer-other-frame): Doc fixes re special mode-class.
5274
5275 * subr.el (eval-after-load): If named feature is provided not from
5276 a file, run after-load forms. (Bug#10946)
5277
5278 * calendar/calendar.el (calendar-insert-at-column):
5279 Handle non-unit-width characters a bit better. (Bug#10978)
5280
5281 2012-03-15 Chong Yidong <cyd@gnu.org>
5282
5283 * emacs-lisp/ring.el (ring-extend): New function.
5284 (ring-insert+extend): Extend the ring correctly (Bug#11019).
5285
5286 * comint.el (comint-read-input-ring)
5287 (comint-add-to-input-history): Grow comint-input-ring lazily.
5288
5289 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
5290
5291 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
5292 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
5293
5294 * imenu.el: Fix multiple inheritance breakage (bug#9199).
5295 (imenu-add-to-menubar): Don't add a redundant index.
5296 (imenu-update-menubar): Handle a dynamically composed keymap.
5297
5298 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
5299
5300 * mail/sendmail.el (mail-encode-header):
5301 Bind rfc2047-encode-encoded-words to nil.
5302
5303 2012-03-13 Glenn Morris <rgm@gnu.org>
5304
5305 * calendar/calendar.el (calendar-string-spread):
5306 Handle non-unit-width characters a bit better. (Bug#10978)
5307
5308 2012-03-13 Leo Liu <sdl.web@gmail.com>
5309
5310 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
5311 directory and file as argument (Bug#10822).
5312
5313 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
5314
5315 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
5316 For dynamically generated code, follow $PC.
5317 (gdb-disassembly-handler-custom): Handle no function name case.
5318
5319 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
5320
5321 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
5322 * emulation/ws-mode.el (ws-query-replace):
5323 * sort.el (sort-regexp-fields):
5324 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
5325
5326 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
5327
5328 * dabbrev.el: Fix cycle completion order (bug#10963).
5329 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
5330 (dabbrev-completion): Don't use an obarray; provide
5331 a cycle-sort-function.
5332
5333 2012-03-12 Leo Liu <sdl.web@gmail.com>
5334
5335 * simple.el (kill-new): Use equal-including-properties for comparison.
5336 (kill-do-not-save-duplicates): Doc fix.
5337
5338 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
5339
5340 * dabbrev.el: Fix cycle completion (bug#10963).
5341 Use lexical binding and wrap to 80 columns.
5342 (dabbrev-completion): Delay computing the list of completions.
5343
5344 2012-03-12 Kenichi Handa <handa@m17n.org>
5345
5346 * international/quail.el (quail-insert-kbd-layout): Surround each
5347 row by LRO and PDF instead of inserting many LRMs. Pad the left
5348 and right of each non-spacing marks. Insert invisible space
5349 between lower and upper characters to prevent composition.
5350
5351 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
5352
5353 * minibuffer.el (minibuffer-complete): Don't get confused when the
5354 function is run twice via different commands (bug#10958).
5355 (complete-with-action): Fix docstring.
5356
5357 2012-03-12 Chong Yidong <cyd@gnu.org>
5358
5359 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
5360 (nxml-completion-at-point-function): New function.
5361 (nxml-mode): Use it.
5362 (nxml-bind-meta-tab-to-complete-flag): Default to t.
5363
5364 * emacs-lisp/package.el (package-unpack, package-unpack-single):
5365 Load generated autoloads file before byte compiling (Bug#10970).
5366 (package--make-autoloads-and-compile): New helper fun.
5367
5368 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
5369
5370 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
5371
5372 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
5373
5374 * autorevert.el (auto-revert-handler): Ensure, that
5375 file-readable-p is applied only for local files or in
5376 auto-revert-tail-mode.
5377
5378 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
5379
5380 * server.el (server-eval-at): Handle non-tcp connections.
5381 Decode result string.
5382
5383 * server.el (server-msg-size): New constant.
5384 (server-reply-print): New function.
5385 (server-eval-and-print): Use it.
5386 (server-eval-at): Use server-quote-arg and server-unquote-arg.
5387 Handle -print-nonl.
5388
5389 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
5390
5391 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
5392 (Bug#10987).
5393
5394 2012-03-11 Chong Yidong <cyd@gnu.org>
5395
5396 * simple.el (goto-line): Doc fix (Bug#9938).
5397
5398 * subr.el (save-window-excursion): Doc fix (Bug#9979).
5399
5400 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
5401 when finished (Bug#10963).
5402
5403 2012-03-11 Martin Rudalics <rudalics@gmx.at>
5404
5405 * window.el (split-window-below): Fix bug in case where
5406 split-window-keep-point is nil (Bug#10971).
5407
5408 2012-03-11 Juri Linkov <juri@jurta.org>
5409
5410 * replace.el (replace-highlight): Set isearch-word to nil
5411 unconditionally. (Bug#10887)
5412
5413 2012-03-10 Eli Zaretskii <eliz@gnu.org>
5414
5415 * net/mairix.el (mairix-replace-invalid-chars): Rename from
5416 mairix-replace-illegal-chars; all callers changed. Don't remove
5417 ^, ~, and = characters: they are meaningful in mairix search specs.
5418 (mairix-widget-create-query): Add usage information about mairix
5419 search forms: negating words, searching for substrings, etc.
5420
5421 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
5422
5423 * international/fontset.el (font-encoding-alist): Add an entry for
5424 ksx1001 (Bug#5667).
5425
5426 2012-03-10 Richard Stallman <rms@gnu.org>
5427
5428 * mail/sendmail.el (mail-encode-header):
5429 Set rfc2047-encode-encoded-words.
5430
5431 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
5432
5433 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
5434 view buffer means not swapped.
5435 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
5436 (rmail-write-region-annotate): Error if real text has disappeared.
5437
5438 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
5439
5440 2012-03-10 Chong Yidong <cyd@gnu.org>
5441
5442 * emulation/cua-rect.el (cua--init-rectangles):
5443 * emulation/cua-base.el (cua--init-keymaps):
5444 Add delete-forward-char to remappings (Bug#9666).
5445
5446 2012-03-10 Martin Rudalics <rudalics@gmx.at>
5447
5448 * speedbar.el (speedbar-unhighlight-one-tag-line):
5449 Avoid unhighlighting due to frame switching (Bug#10275).
5450
5451 2012-03-10 Chong Yidong <cyd@gnu.org>
5452
5453 * minibuffer.el (completion-in-region, completion-help-at-point):
5454 Give the completion field overlay a high priority (Bug#6830).
5455
5456 * dired.el (dired-goto-file): Recognize absolute file name
5457 listings (Bug#7126).
5458 (dired-goto-file-1): New helper function.
5459 (dired-toggle-read-only): Inhibit warnings.
5460
5461 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
5462
5463 * net/dbus.el (dbus-property-handler): Return empty array if
5464 there are no properties.
5465
5466 2012-03-09 Leo Liu <sdl.web@gmail.com>
5467
5468 * savehist.el (savehist-printable): Stricter check for string
5469 value (Bug#10937).
5470
5471 2012-03-09 Eli Zaretskii <eliz@gnu.org>
5472
5473 * mail/smtpmail.el (smtpmail-send-it):
5474 Bind coding-system-for-write to *-unix, so that FCC files are kept in
5475 valid mbox format.
5476
5477 2012-03-09 Glenn Morris <rgm@gnu.org>
5478
5479 * files.el (dir-locals-find-file):
5480 Don't check result is regular, readable.
5481 (dir-locals-read-from-file): Demote errors.
5482
5483 2012-03-08 Eli Zaretskii <eliz@gnu.org>
5484
5485 * international/quail.el (quail-insert-kbd-layout):
5486 Insert invisible LRM characters before each character in a keyboard
5487 layout cell, to prevent their reordering by bidi display engine.
5488 For details, see the discussion in
5489 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
5490
5491 2012-03-08 Alan Mackenzie <acm@muc.de>
5492
5493 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
5494 the starting position; make it extend the marked region when
5495 invoked repeatedly - all under appropriate circumstances.
5496 Fixes bugs #5525, #10906.
5497
5498 2012-03-08 Glenn Morris <rgm@gnu.org>
5499
5500 * files.el (locate-dominating-file, dir-locals-find-file):
5501 Undo 2012-03-06 change.
5502
5503 2012-03-07 Eli Zaretskii <eliz@gnu.org>
5504
5505 * international/quail.el (quail-help):
5506 Force bidi-paragraph-direction be left-to-right. See discussion in
5507 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
5508 for the reason.
5509
5510 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
5511
5512 Avoid superfluous registering of signals. (Bug#10807)
5513
5514 * notifications.el (notifications-on-action-object)
5515 (notifications-on-close-object): New defvars.
5516 (notifications-on-action-signal, notifications-on-closed-signal):
5517 Unregister the signal if not needed any longer.
5518 (notifications-notify): Register `notifications-action-signal' or
5519 `notifications-closed-signal', if :on-action or :on-close has been
5520 passed as argument.
5521
5522 2012-03-07 Chong Yidong <cyd@gnu.org>
5523
5524 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
5525 non-X platforms.
5526
5527 2012-03-06 Glenn Morris <rgm@gnu.org>
5528
5529 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
5530 (x-disown-selection-internal, x-get-selection-internal):
5531 Doc fix (add arglist signatures). (Bug#10783)
5532
5533 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
5534
5535 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
5536 Handle breakpoints with no "type".
5537
5538 2012-03-06 Glenn Morris <rgm@gnu.org>
5539
5540 * files.el (locate-dominating-file): Add optional predicate argument.
5541 (dir-locals-find-file): Make use of above change.
5542
5543 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
5544
5545 * info.el (Info-insert-dir): Also try "dir.gz".
5546
5547 2012-03-06 Glenn Morris <rgm@gnu.org>
5548
5549 * files.el (dir-locals-find-file):
5550 Ignore non-readable or non-regular files. (Bug#10928)
5551
5552 * files.el (locate-dominating-file): Doc fix.
5553
5554 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
5555
5556 * calendar/calendar.el (calendar-set-mode-line):
5557 `getenv' returns a string. (Bug#10951)
5558
5559 2012-03-05 Leo Liu <sdl.web@gmail.com>
5560
5561 * simple.el (backward-delete-char-untabify): Constrain point to
5562 field (Bug#10939).
5563
5564 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
5565
5566 2012-03-05 Chong Yidong <cyd@gnu.org>
5567
5568 * simple.el (count-words): If called from Lisp, return the word
5569 count, for symmetry with `count-lines'. Arglist changed.
5570 (count-words--message): Args changed. Consolidate counting code
5571 from count-words and count-words-region.
5572 (count-words-region): Caller changed.
5573 (count-lines-region): Make it an obsolete alias.
5574
5575 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
5576
5577 * saveplace.el (save-place-to-alist)
5578 (save-place-ignore-files-regexp): Allow value nil to disable this
5579 feature.
5580
5581 2012-03-04 Chong Yidong <cyd@gnu.org>
5582
5583 * faces.el (face-spec-reset-face): For the default face, reset the
5584 attributes to default values (Bug#10748).
5585
5586 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
5587
5588 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
5589 previous patch: Check `message-send-mail-function', and not the
5590 default function (bug#10897).
5591
5592 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
5593
5594 * notifications.el (notifications-on-action-signal)
5595 (notifications-on-closed-signal): Check for unique service name of
5596 incoming event. Fix error in removing entry.
5597 (top): Register for signals with wildcard service name.
5598 (notifications-notify): Use daemon unique service name for map entries.
5599
5600 2012-03-04 Chong Yidong <cyd@gnu.org>
5601
5602 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
5603
5604 2012-03-04 Glenn Morris <rgm@gnu.org>
5605
5606 * abbrev.el (copy-abbrev-table, abbrev-table-p)
5607 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
5608 (expand-abbrev, define-abbrev-table): Doc fixes.
5609
5610 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
5611
5612 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
5613 `message-default-send-mail-function' and not `send-mail-function'
5614 when doing the prompting for `sendmail-query-once' before sending
5615 in Message buffers (bug#10897).
5616
5617 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
5618 This is inconsistent with all the other stream functions, which leave
5619 the setting up to the higher levels (if so wanted) (bug#10931).
5620
5621 2012-03-02 Alan Mackenzie <acm@muc.de>
5622
5623 Depessimize the handling of very large macros.
5624
5625 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
5626 (c-macro-cache-syntactic): New variables to implement a one
5627 element macro cache.
5628 (c-invalidate-macro-cache): New function.
5629 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
5630 Adapt to use the new cache.
5631 (c-state-safe-place): Use better the cache of safe positions.
5632 (c-state-semi-nonlit-pos-cache)
5633 (c-state-semi-nonlit-pos-cache-limit):
5634 New variables for...
5635 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
5636 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
5637 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
5638 Use c-state-semi-safe-place.
5639
5640 * progmodes/cc-langs.el (c-get-state-before-change-functions):
5641 Add c-invalidate-macro-cache to the C, C++, Obj entries.
5642
5643 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
5644
5645 * jka-compr.el (jka-compr-call-process):
5646 Apply `file-accessible-directory-p' only when the default directory is
5647 not remote.
5648
5649 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
5650
5651 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
5652 access of FILE2, if FILE1 does not exist.
5653
5654 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
5655 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
5656
5657 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
5658 Add "PAGER=" to `process-environment'.
5659
5660 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
5661
5662 * progmodes/sql.el: Bug fix
5663 (sql-get-login-ext): Save login values in globals.
5664 (sql-get-login): Use new version of `sql-get-login-ext'.
5665 (sql-interactive-mode): Set global `sql-connection' to nil.
5666 (sql-connect): Set global values for connection.
5667 (sql-product-interactive): Save global values as buffer local.
5668
5669 2012-02-29 Leo Liu <sdl.web@gmail.com>
5670
5671 * abbrev.el (define-abbrevs): Reset sys to nil.
5672
5673 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5674
5675 * files.el (file-equal-p): Rename from `files-equal-p'.
5676 Return nil when one or both files don't exist.
5677 (file-subdir-of-p): Now only top directory must exists,
5678 return nil if it doesn't.
5679 (copy-directory): No need to test with `file-subdir-of-p' after
5680 creating dir.
5681 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
5682 to `file-equal-p'.
5683
5684 2012-02-28 Glenn Morris <rgm@gnu.org>
5685
5686 * shell.el (shell-mode):
5687 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
5688 * play/landmark.el (landmark-font-lock-face-O):
5689 * play/handwrite.el (handwrite):
5690 * play/gomoku.el (gomoku-O):
5691 * net/browse-url.el (browse-url-browser-display):
5692 * international/mule.el (define-charset):
5693 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
5694 * filesets.el (filesets-find-file-delay):
5695 * eshell/em-xtra.el (eshell-xtra):
5696 * eshell/em-unix.el (eshell-grep):
5697 * emulation/viper.el (viper-mode):
5698 * emacs-lisp/regexp-opt.el (regexp-opt-group):
5699 * emacs-lisp/easymenu.el (easy-menu-define):
5700 * calendar/timeclock.el (timeclock-use-display-time):
5701 * bs.el (bs-mode):
5702 * bookmark.el (bookmark-save-flag):
5703 Doc fix (standardize possessive apostrophe usage).
5704
5705 2012-02-27 Chong Yidong <cyd@gnu.org>
5706
5707 * emulation/viper-cmd.el (viper-intercept-ESC-key):
5708 Fix key-binding lookup for ESC key (Bug#9146).
5709
5710 * font-lock.el (font-lock-specified-p): Rename from
5711 font-lock-spec-present. Callers changed.
5712
5713 2012-02-27 Daniel Hackney <dan@haxney.org>
5714
5715 * emacs-lisp/package.el (package-compute-transaction):
5716 Handle holding a package version to t in package-load-list.
5717
5718 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
5719
5720 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
5721 (tramp-get-inode, tramp-get-device): Use cached values.
5722
5723 2012-02-26 Alan Mackenzie <acm@muc.de>
5724
5725 Check there is a font-lock specification before doing initial
5726 fontification.
5727
5728 * font-core.el (font-lock-mode): Move the conditional from
5729 :after-hook to font-lock-initial-fontify.
5730 (font-lock-default-function): Move the check for a specification
5731 to font-lock-spec-present.
5732
5733 * font-lock.el (font-lock-initial-fontify): Call ...
5734 (font-lock-spec-present): New function.
5735
5736 2012-02-26 Jim Blandy <jimb@red-bean.com>
5737
5738 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
5739 (gdb-send): Apply it to the operand of the '-interpreter-exec
5740 console' command, so that we can pass arguments with (say) quotes
5741 in them. Store exact string sent in gdb-debug-log (Bug#10765).
5742
5743 2012-02-26 Chong Yidong <cyd@gnu.org>
5744
5745 * help-fns.el (describe-function-1): Clarify description of
5746 remapping (Bug#10844).
5747
5748 * files.el (files-equal-p): Doc fix.
5749 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
5750 and quit the loop once a mismatch is found.
5751
5752 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
5753
5754 * bs.el (bs--show-with-configuration): Don't throw an error
5755 if the window cannot be split; otherwise, subsequent calls to
5756 bs-show fail, restoring a stale window config. (Bug#10882)
5757
5758 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
5759
5760 * term/ns-win.el (global-map): Bind ns-drag-file to
5761 ns-find-file (Bug#5855, Bug#10050).
5762
5763 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
5764
5765 * calendar/parse-time.el (parse-time-string): Allow extractor to
5766 return nil.
5767
5768 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
5769
5770 * net/tramp.el (tramp-file-name-for-operation):
5771 Add `files-equal-p' and `file-subdir-of-p'.
5772
5773 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
5774 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
5775 Add COPY-CONTENTS argument.
5776
5777 2012-02-25 Chong Yidong <cyd@gnu.org>
5778
5779 Add custom groups for VC backends, for consistency with vc-bzr.
5780
5781 * vc/vc-arch.el (vc-arch):
5782 * vc/vc-cvs.el (vc-cvs):
5783 * vc/vc-git.el (vc-git):
5784 * vc/vc-hg.el (vc-hg):
5785 * vc/vc-mtn.el (vc-mtn):
5786 * vc/vc-rcs.el (vc-rcs):
5787 * vc/vc-sccs.el (vc-sccs):
5788 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
5789 All relevant defcustoms reassigned.
5790
5791 2012-02-25 Chong Yidong <cyd@gnu.org>
5792
5793 * newcomment.el (comment-styles): Add autoload (Bug#10868).
5794
5795 * term/x-win.el (x-initialize-window-system): Reduce default for
5796 x-selection-timeout to 5 seconds (Bug#8869).
5797
5798 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5799
5800 * files.el (files-equal-p, file-subdir-of-p): New functions.
5801 (copy-directory): Error when trying to copy a directory on itself.
5802 Add missing copy-contents arg to tramp handler.
5803 * dired-aux.el (dired-copy-file-recursive): Same.
5804 (dired-create-files): Modify destination when source is equal to
5805 dest when copying files.
5806 Return also when dest is a subdir of source. (Bug#10489)
5807
5808 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
5809
5810 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
5811 (Bug#10874)
5812
5813 2012-02-23 Alan Mackenzie <acm@muc.de>
5814
5815 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
5816 parameter "after-hook:" to allow the expansion to run code after
5817 the execution of the mode hooks.
5818
5819 * font-lock.el (font-lock-initial-fontify): New function extracted
5820 from font-lock-mode-internal.
5821
5822 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
5823 :after-hook.
5824
5825 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
5826
5827 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
5828 (completion--cache-all-sorted-completions): New function.
5829 (completion-all-sorted-completions): Use it.
5830 (completion--do-completion, minibuffer-force-complete):
5831 Use it to re-instate the flush hook.
5832
5833 * icomplete.el (icomplete-completions): Replace last fix with a better
5834 one (bug#10850).
5835
5836 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
5837
5838 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
5839 when it might call us back infinitely (bug#10797).
5840
5841 2012-02-23 Glenn Morris <rgm@gnu.org>
5842
5843 * minibuffer.el (completion-category-overrides): Doc fix.
5844
5845 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
5846
5847 * minibuffer.el (completion-table-with-context): Fix inf-loop.
5848 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
5849
5850 2012-02-23 Glenn Morris <rgm@gnu.org>
5851
5852 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
5853 (authors-obsolete-files-regexps, authors-ignored-files)
5854 (authors-ambiguous-files, authors-renamed-files-alist):
5855 Add more entries.
5856
5857 2012-02-23 Juri Linkov <juri@jurta.org>
5858
5859 * isearch.el (isearch-occur): Sync interactive spec with occur's
5860 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
5861
5862 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
5863
5864 2012-02-22 Juri Linkov <juri@jurta.org>
5865
5866 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
5867 (ucs-insert): Doc fix. Check for hex digits in the string.
5868 Don't display `nil' in the error message. (Bug#10857)
5869
5870 2012-02-22 Alan Mackenzie <acm@muc.de>
5871
5872 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
5873
5874 2012-02-22 Glenn Morris <rgm@gnu.org>
5875
5876 * ffap.el (ffap-c-path):
5877 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
5878
5879 2012-02-22 Chong Yidong <cyd@gnu.org>
5880
5881 * custom.el (load-theme): Doc fix.
5882
5883 2012-02-22 Glenn Morris <rgm@gnu.org>
5884
5885 * dired-x.el (dired-guess-shell-alist-default):
5886 Remove escape sequences from nroff output. (Bug#172)
5887
5888 2012-02-21 Glenn Morris <rgm@gnu.org>
5889
5890 * vc/emerge.el (emerge-defvar-local):
5891 Set `permanent-local' property rather than unused `preserved'.
5892
5893 * textmodes/picture.el (picture-delete-char): New alias.
5894 (picture-mode-map): Use it. (Bug#10860)
5895 (picture-mode): Doc fix.
5896
5897 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
5898
5899 * newcomment.el (uncomment-region-default): Remove unused binding.
5900
5901 2012-02-21 Glenn Morris <rgm@gnu.org>
5902
5903 * textmodes/picture.el (picture-motion, picture-motion-reverse)
5904 (picture-self-insert, picture-tab-chars): Doc fix.
5905 (picture-mode-map): Fix C-a, C-e.
5906
5907 2012-02-20 Glenn Morris <rgm@gnu.org>
5908
5909 * emacs-lisp/authors.el (authors-aliases): Add another entry.
5910
5911 2012-02-20 Leo Liu <sdl.web@gmail.com>
5912
5913 * icomplete.el (icomplete-completions): Check FROM arg before
5914 passing to substring (Bug#10850).
5915
5916 2012-02-19 Chong Yidong <cyd@gnu.org>
5917
5918 * comint.el: Require ansi-color.
5919 (comint-output-filter-functions): Add ansi-color-process-output.
5920
5921 * ansi-color.el: Don't set comint-output-filter-functions; it is
5922 now in the initial value defined in comint.el.
5923 (ansi-color-apply-face-function): New variable.
5924 (ansi-color-apply-on-region): Use it.
5925 (ansi-color-apply-overlay-face): New function.
5926
5927 * shell.el (shell): No need to require ansi-color.
5928 (shell-mode): Use ansi-color-apply-face-function to highlight
5929 color escapes using font-lock-face property (Bug#10835).
5930
5931 2012-02-19 Chong Yidong <cyd@gnu.org>
5932
5933 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
5934 mode-line formats (Bug#10839).
5935
5936 2012-02-18 Glenn Morris <rgm@gnu.org>
5937
5938 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
5939
5940 * mail/undigest.el (unforward-rmail-message): Doc fix.
5941
5942 * saveplace.el (save-place-ignore-files-regexp): Add :version.
5943
5944 2012-02-18 Eli Zaretskii <eliz@gnu.org>
5945
5946 * international/characters.el (script-list): Sync with the latest
5947 Unicode Character Database.
5948
5949 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
5950
5951 * international/titdic-cnv.el: Remove duplicate coding tag.
5952 * language/cham.el: Likewise.
5953 * language/tai-viet.el: Likewise.
5954
5955 2012-02-18 Glenn Morris <rgm@gnu.org>
5956
5957 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
5958 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
5959 (calendar-bahai-all-holidays-flag, calendar-other-dates):
5960 * calendar/diary-lib.el (diary-abbreviated-year-flag):
5961 * calendar/holidays.el (holiday-bahai-holidays)
5962 (calendar-holidays, list-holidays):
5963 Use utf-8 Bahá'í in doc-strings, menus, etc.
5964
5965 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
5966
5967 * saveplace.el (save-place-ignore-files-regexp): New variable
5968 allowing for excluding files from saving their location of point.
5969 The default value matches the temporary commit message editing
5970 files from Git, SVN, Bazaar, and Mercurial.
5971 (save-place-to-alist): Use it.
5972
5973 2012-02-17 Lawrence Mitchell <wence@gmx.li>
5974 Stefan Monnier <monnier@iro.umontreal.ca>
5975
5976 * newcomment.el (uncomment-region-default): Don't leave extra space
5977 when an arg is provided (bug#8150).
5978
5979 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
5980
5981 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
5982
5983 2012-02-17 Glenn Morris <rgm@gnu.org>
5984
5985 * net/socks.el: Require network-stream. (Bug#10599)
5986
5987 2012-02-17 Kenichi Handa <handa@m17n.org>
5988
5989 * international/charprop.el:
5990 * international/uni-name.el:
5991 * international/uni-old-name.el:
5992 * international/uni-comment.el: Regenerate.
5993
5994 2012-02-16 Glenn Morris <rgm@gnu.org>
5995
5996 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
5997 Interactively in calendar buffer, give an error if not on a date.
5998
5999 2012-02-15 Glenn Morris <rgm@gnu.org>
6000
6001 * shell.el (shell-delimiter-argument-list):
6002 Revert 2011-02-17 change. (Bug#8027)
6003
6004 2012-02-15 Chong Yidong <cyd@gnu.org>
6005
6006 * minibuffer.el (completion-at-point-functions): Doc fix.
6007
6008 * custom.el (defcustom): Doc fix; note use of defvar.
6009
6010 2012-02-15 Glenn Morris <rgm@gnu.org>
6011
6012 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
6013 Doc fixes.
6014
6015 2012-02-14 Glenn Morris <rgm@gnu.org>
6016
6017 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
6018
6019 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
6020
6021 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
6022 way the ports list is computed.
6023 (smtpmail-query-smtp-server): Prompt the user for a port number if
6024 we can't connect to any of the standard ports (bug#10810).
6025
6026 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
6027
6028 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
6029
6030 2012-02-13 Glenn Morris <rgm@gnu.org>
6031
6032 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
6033
6034 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
6035
6036 * net/gnutls.el (gnutls-trustfiles): New variable.
6037 (gnutls-negotiate): Use it.
6038
6039 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
6040
6041 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
6042 does its stuff if Gnus is running.
6043
6044 2012-02-13 Alan Mackenzie <acm@muc.de>
6045
6046 Fix a loop in c-set-fl-decl-start.
6047
6048 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
6049 c-backward-syntactic-ws actually moves backwards.
6050
6051 2012-02-13 Leo Liu <sdl.web@gmail.com>
6052
6053 * net/rcirc.el (rcirc-markup-attributes): Move point to the
6054 beginning so that all \C-o chars are removed.
6055
6056 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
6057
6058 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
6059
6060 2012-02-12 Alan Mackenzie <acm@muc.de>
6061
6062 Fix infinite loop with long macros.
6063 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
6064
6065 2012-02-12 Chong Yidong <cyd@gnu.org>
6066
6067 * window.el (display-buffer): Doc fix (Bug#10785).
6068
6069 2012-02-12 Glenn Morris <rgm@gnu.org>
6070
6071 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
6072 (x-disown-selection-internal, x-get-selection-internal):
6073 Sync docs with the xselect.c versions.
6074
6075 * allout-widgets.el: Add missing license notice.
6076
6077 2012-02-11 Glenn Morris <rgm@gnu.org>
6078
6079 * select.el (x-get-selection-internal, x-own-selection-internal)
6080 (x-disown-selection-internal):
6081 * x-dnd.el (x-get-selection-internal): Update declarations.
6082
6083 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
6084
6085 * window.el (window-sides-slots):
6086 * tool-bar.el (tool-bar-position):
6087 * term/xterm.el (xterm-extra-capabilities):
6088 * ses.el (ses-self-reference-early-detection):
6089 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
6090 (verilog-auto-wire-type)
6091 (verilog-auto-delete-trailing-whitespace)
6092 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
6093 (verilog-auto-tieoff-declaration):
6094 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
6095 (sql-oracle-statement-starters, sql-oracle-scan-on):
6096 * progmodes/prolog.el (prolog-align-comments-flag)
6097 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
6098 (prolog-left-indent-regexp, prolog-paren-indent-p)
6099 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
6100 (prolog-types, prolog-mode-specificators)
6101 (prolog-determinism-specificators, prolog-directives)
6102 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
6103 (prolog-electric-dot-flag)
6104 (prolog-electric-dot-full-predicate-template)
6105 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
6106 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
6107 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
6108 (prolog-program-switches, prolog-prompt-regexp)
6109 (prolog-debug-on-string, prolog-debug-off-string)
6110 (prolog-trace-on-string, prolog-trace-off-string)
6111 (prolog-zip-on-string, prolog-zip-off-string)
6112 (prolog-use-standard-consult-compile-method-flag)
6113 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
6114 (prolog-imenu-max-lines, prolog-info-predicate-index)
6115 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
6116 (prolog-char-quote-workaround):
6117 * progmodes/cc-vars.el (c-defun-tactic):
6118 * net/tramp.el (tramp-encoding-command-interactive)
6119 (tramp-local-end-of-line):
6120 * net/soap-client.el (soap-client):
6121 * net/netrc.el (netrc-file):
6122 * net/gnutls.el (gnutls):
6123 * minibuffer.el (completion-category-overrides)
6124 (completion-cycle-threshold)
6125 (completion-pcm-complete-word-inserts-delimiters):
6126 * man.el (Man-name-local-regexp):
6127 * mail/feedmail.el (feedmail-display-full-frame):
6128 * international/characters.el (glyphless-char-display-control):
6129 * eshell/em-ls.el (eshell-ls-date-format):
6130 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
6131 (lisp-lambda-list-keyword-parameter-indentation)
6132 (lisp-lambda-list-keyword-parameter-alignment):
6133 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
6134 * dired-x.el (dired-omit-verbose):
6135 * cus-theme.el (custom-theme-allow-multiple-selections):
6136 * calc/calc.el (calc-highlight-selections-with-faces)
6137 (calc-lu-field-reference, calc-lu-power-reference)
6138 (calc-note-threshold):
6139 * battery.el (battery-mode-line-limit):
6140 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
6141 (archive-7z-update):
6142 * allout.el (allout-prefixed-keybindings)
6143 (allout-unprefixed-keybindings)
6144 (allout-inhibit-auto-fill-on-headline)
6145 (allout-flattened-numbering-abbreviation):
6146 * allout-widgets.el (allout-widgets-auto-activation)
6147 (allout-widgets-icons-dark-subdir)
6148 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
6149 (allout-widgets-theme-dark-background)
6150 (allout-widgets-theme-light-background)
6151 (allout-widgets-item-image-properties-emacs)
6152 (allout-widgets-item-image-properties-xemacs)
6153 (allout-widgets-run-unit-tests-on-load)
6154 (allout-widgets-time-decoration-activity)
6155 (allout-widgets-hook-error-post-time)
6156 (allout-widgets-track-decoration):
6157 Add missing :version tags to new defcustoms and defgroups.
6158
6159 * progmodes/sql.el (sql-ansi-statement-starters)
6160 (sql-oracle-statement-starters): Add custom type.
6161
6162 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
6163 (prolog-system-version): Give it a type.
6164
6165 2012-02-11 Eli Zaretskii <eliz@gnu.org>
6166
6167 * term/pc-win.el (x-select-text, x-selection-owner-p)
6168 (x-own-selection-internal, x-disown-selection-internal)
6169 (x-get-selection-internal): Sync doc strings and argument lists
6170 with xselect.c, common-win.el and x-win.el. (Bug#10783)
6171
6172 2012-02-11 Leo Liu <sdl.web@gmail.com>
6173
6174 * progmodes/python.el (python-end-of-statement): Fix infinite
6175 loop. (Bug#10788)
6176
6177 2012-02-10 Glenn Morris <rgm@gnu.org>
6178
6179 * international/mule-cmds.el (unify-8859-on-encoding-mode)
6180 (unify-8859-on-decoding-mode): Properly mark as obsolete.
6181
6182 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
6183
6184 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
6185 about SMTP before checking the From header.
6186
6187 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
6188 into own function for reuse by emacsbug.el.
6189
6190 2012-02-10 Leo Liu <sdl.web@gmail.com>
6191
6192 * subr.el (condition-case-unless-debug): Rename from
6193 condition-case-no-debug. All callers changed.
6194 (with-demoted-errors): Fix caller.
6195
6196 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
6197 * nxml/rng-valid.el (rng-do-some-validation):
6198 * emacs-lisp/package.el (package-refresh-contents)
6199 (package-menu-execute):
6200 * desktop.el (desktop-create-buffer):
6201 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
6202
6203 2012-02-10 Glenn Morris <rgm@gnu.org>
6204
6205 * textmodes/bibtex.el:
6206 Add missing :version tags for new/changed defcustoms.
6207
6208 * files.el (remote-file-name-inhibit-cache): Doc fixes.
6209
6210 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
6211
6212 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
6213 (smtpmail-via-smtp): Use it, or fall back on the From address.
6214 (smtpmail-send-it): Ditto.
6215
6216 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
6217
6218 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
6219 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
6220 (byte-compile-tmp-var): New const.
6221 (byte-compile-defvar): Use it to minimize .elc size.
6222 Just use `defvar' rather than simulate it (bug#10761).
6223
6224 2012-02-09 Glenn Morris <rgm@gnu.org>
6225
6226 * files.el (rename-uniquely): Doc fix. (Bug#3806)
6227
6228 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
6229 Add :version tags.
6230
6231 * progmodes/compile.el (compilation-error-screen-columns)
6232 (compilation-first-column, compilation-filter-start): Doc fixes.
6233
6234 * vc/log-view.el (log-view-toggle-entry-display):
6235 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
6236
6237 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
6238 (report-emacs-bug-can-use-xdg-email):
6239 (report-emacs-bug-insert-to-mailer): Doc fixes.
6240 (report-emacs-bug): Message fix.
6241
6242 * net/browse-url.el (browse-url-can-use-xdg-open)
6243 (browse-url-xdg-open): Doc fixes.
6244
6245 * electric.el (electric-indent-mode, electric-pair-mode)
6246 (electric-layout-rules, electric-layout-mode): Doc fixes.
6247 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
6248
6249 2012-02-08 Martin Rudalics <rudalics@gmx.at>
6250
6251 * server.el (server-unselect-display): Don't inadvertently kill
6252 the current buffer. (Bug#10729)
6253
6254 2012-02-08 Glenn Morris <rgm@gnu.org>
6255
6256 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
6257 (sql-list-table): Doc fixes.
6258
6259 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
6260 Comment out (does nothing).
6261
6262 * completion.el (dynamic-completion-mode):
6263 * dirtrack.el (dirtrack-debug-mode):
6264 * electric.el (electric-layout-mode):
6265 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
6266 * face-remap.el (text-scale-mode, buffer-face-mode):
6267 * iimage.el (iimage-mode):
6268 * image-mode.el (image-transform-mode):
6269 * minibuffer.el (completion-in-region-mode):
6270 * scroll-lock.el (scroll-lock-mode):
6271 * simple.el (next-error-follow-minor-mode):
6272 * tar-mode.el (tar-subfile-mode):
6273 * tooltip.el (tooltip-mode):
6274 * vcursor.el (vcursor-use-vcursor-map):
6275 * wid-browse.el (widget-minor-mode):
6276 * emulation/tpu-edt.el (tpu-edt-mode):
6277 * emulation/tpu-extras.el (tpu-cursor-free-mode):
6278 * international/iso-ascii.el (iso-ascii-mode):
6279 * language/thai-util.el (thai-word-mode):
6280 * mail/supercite.el (sc-minor-mode):
6281 * net/goto-addr.el (goto-address-mode):
6282 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
6283 * progmodes/cwarn.el (cwarn-mode):
6284 * progmodes/flymake.el (flymake-mode):
6285 * progmodes/glasses.el (glasses-mode):
6286 * progmodes/hideshow.el (hs-minor-mode):
6287 * progmodes/pascal.el (pascal-outline-mode):
6288 * textmodes/enriched.el (enriched-mode):
6289 * vc/smerge-mode.el (smerge-mode):
6290 Doc fixes (minor mode argument).
6291
6292 2012-02-07 Eli Zaretskii <eliz@gnu.org>
6293
6294 * ls-lisp.el (ls-lisp-sanitize): New function.
6295 (ls-lisp-insert-directory): Use it to fix or remove any elements
6296 in file-alist with missing attributes. (Bug#4673)
6297
6298 2012-02-07 Alan Mackenzie <acm@muc.de>
6299
6300 Fix spurious recognition of c-in-knr-argdecl.
6301
6302 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
6303 putative K&R region.
6304
6305 2012-02-07 Alan Mackenzie <acm@muc.de>
6306
6307 * progmodes/cc-engine.el (c-forward-objc-directive):
6308 Prevent looping in "#pragma mark @implementation".
6309
6310 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
6311
6312 * notifications.el (notifications-on-closed-signal): Make `reason'
6313 optional. (Bug#10744)
6314
6315 2012-02-07 Glenn Morris <rgm@gnu.org>
6316
6317 * emacs-lisp/easy-mmode.el (define-minor-mode):
6318 Doc fixes for the macro and the mode it defines.
6319
6320 * image.el (imagemagick-types-inhibit): Doc fix.
6321
6322 * cus-start.el (imagemagick-render-type): Add it.
6323
6324 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
6325
6326 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
6327 Set the default at load time, too, so that `font-lock-fontify-buffer'
6328 can be called without setting up the entire mode first. This fixes
6329 a bug in `mm-inline-text' with C MIME parts.
6330
6331 2012-02-06 Chong Yidong <cyd@gnu.org>
6332
6333 * simple.el (list-processes--refresh): Delete exited processes
6334 (Bug#8094).
6335
6336 * comint.el (comint-next-prompt): next-single-char-property-change
6337 and prev-single-char-property-change never return nil (Bug#8657).
6338
6339 * custom.el (defcustom): Doc fix (Bug#9711).
6340
6341 2012-02-05 Chong Yidong <cyd@gnu.org>
6342
6343 * cus-edit.el (custom-variable-reset-backup): Quote the value
6344 before storing it in the customized-value property (Bug#6712).
6345 (custom-display): Add a customization type tag.
6346 (custom-buffer-create-internal): Improve tooltip message.
6347
6348 * wid-edit.el (widget-field-value-get): New optional arg to
6349 suppress trailing whitespace truncation.
6350 (character): Use it (Bug#2689).
6351
6352 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
6353
6354 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
6355 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
6356
6357 2012-02-05 Chong Yidong <cyd@gnu.org>
6358
6359 * cus-edit.el (custom-variable-value-create): For mismatched
6360 types, show the current value (Bug#7600).
6361
6362 * custom.el (defcustom): Doc fix.
6363
6364 2012-02-05 Glenn Morris <rgm@gnu.org>
6365
6366 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
6367
6368 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
6369
6370 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
6371 (pp-buffer): Use `ignore-errors', `looking-at-p'.
6372 (pp-last-sexp): Use `looking-at-p'.
6373
6374 2012-02-04 Glenn Morris <rgm@gnu.org>
6375
6376 * files.el (revert-buffer):
6377 Doc fix (mention revert-buffer-in-progress-p).
6378
6379 * emacs-lisp/ert-x.el (ert-simulate-command):
6380 Check deferred-action-list (which is obsolete) is bound.
6381
6382 * subr.el (with-wrapper-hook): Doc fixes.
6383
6384 * simple.el (filter-buffer-substring-functions)
6385 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
6386
6387 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
6388
6389 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
6390 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
6391
6392 2012-02-04 Leo Liu <sdl.web@gmail.com>
6393
6394 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
6395
6396 2012-02-04 Glenn Morris <rgm@gnu.org>
6397
6398 * image.el (image-extension-data): Add obsolete alias.
6399
6400 * isearch.el (isearch-update): Doc fix.
6401
6402 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
6403
6404 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
6405
6406 2012-02-03 Glenn Morris <rgm@gnu.org>
6407
6408 * image.el (image-animated-p): Doc fix. Use image-animated-types.
6409 (image-animate-timeout): Doc fix.
6410
6411 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
6412
6413 2012-02-02 Glenn Morris <rgm@gnu.org>
6414
6415 * server.el (server-auth-dir): Doc fix.
6416 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
6417
6418 * subr.el (run-mode-hooks): Doc fix.
6419
6420 2012-02-02 Juri Linkov <juri@jurta.org>
6421
6422 * image-mode.el (image-toggle-display-image): Remove tautological
6423 `major-mode' from the `derived-mode-p' test.
6424
6425 2012-02-02 Kenichi Handa <handa@m17n.org>
6426
6427 * composite.el (compose-region): Cancel previous change.
6428
6429 2012-02-02 Kenichi Handa <handa@m17n.org>
6430
6431 * composite.el (compose-region, compose-string): Signal error for
6432 a null string component (Bug#6988).
6433
6434 2012-02-01 Chong Yidong <cyd@gnu.org>
6435
6436 * view.el (view-buffer-other-window, view-buffer-other-frame):
6437 Handle special modes like view-buffer (Bug#10650).
6438 (view-buffer): Simplify.
6439
6440 * frame.el (set-frame-font): Tweak meaning of third argument.
6441
6442 * dynamic-setting.el (font-setting-change-default-font):
6443 Use set-frame-font (Bug#9982).
6444
6445 2012-02-01 Glenn Morris <rgm@gnu.org>
6446
6447 * progmodes/compile.el (compilation-internal-error-properties):
6448 Respect compilation-first-column in the "*compilation*" buffer.
6449
6450 * emacs-lisp/easy-mmode.el (define-minor-mode):
6451 Relax :variable's test for a named function.
6452
6453 2012-01-31 Alan Mackenzie <acm@muc.de>
6454
6455 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
6456 off by one error.
6457
6458 2012-01-31 Chong Yidong <cyd@gnu.org>
6459
6460 * frame.el (set-frame-font): New arg ALL-FRAMES.
6461
6462 * menu-bar.el (menu-set-font): Use set-frame-font.
6463
6464 * faces.el (face-spec-reset-face): Don't apply unspecified
6465 attribute values to the default face.
6466
6467 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
6468
6469 * progmodes/cwarn.el (cwarn): Remove dead link.
6470 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
6471 Remove * from defcustom docstrings.
6472 (turn-on-cwarn-mode): Make obsolete.
6473 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
6474 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
6475
6476 2012-01-31 Glenn Morris <rgm@gnu.org>
6477
6478 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6479 Fix :variable handling of mode a symbol not equal to modefun.
6480 Allow named functions to be used as the cdr of :variable.
6481
6482 2012-01-30 Glenn Morris <rgm@gnu.org>
6483
6484 * emacs-lisp/authors.el (authors-fixed-entries):
6485 Remove reference to deleted file rnewspost.el.
6486
6487 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
6488
6489 * window.el (window-with-parameter): Remove unused variable `windows'.
6490 (window--side-check): Remove unused variable `code'.
6491 (window--resize-siblings): Remove unused variable `first'.
6492 (adjust-window-trailing-edge): Remove unused variable `failed'.
6493 (window-deletable-p, window--delete): Remove unused variable `buffer'.
6494 Use `let', not `let*'.
6495 (balance-windows-2): Remove unused variable `found'.
6496 (window--state-put-2): Remove unused variable `splits'.
6497 (window-state-put): Remove unused variable `selected'.
6498 (same-window-p): Use `string-match-p'.
6499 (display-buffer-assq-regexp): Remove unused variable `value'.
6500 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
6501 Mark argument ALIST as ignored.
6502 (pop-to-buffer): Remove unused variable `old-window'.
6503
6504 2012-01-29 Eli Zaretskii <eliz@gnu.org>
6505
6506 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
6507 and .lzma compressed files.
6508
6509 2012-01-29 Chong Yidong <cyd@gnu.org>
6510
6511 * frame.el (window-system-default-frame-alist): Doc fix.
6512
6513 * dynamic-setting.el (font-setting-change-default-font): Don't
6514 change the default face if SET-FONT argument is non-nil (Bug#9982).
6515
6516 2012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
6517
6518 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
6519
6520 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6521
6522 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
6523 breakpoints in files outside current directory (Bug#6098).
6524
6525 2012-01-29 Chong Yidong <cyd@gnu.org>
6526
6527 * progmodes/python.el: Require ansi-color at top-level.
6528
6529 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
6530 Define and use in Emacs Lisp mode (Bug#9360).
6531 (lisp-mode-abbrev-table): Add doc.
6532 (lisp-mode-variables): Don't set local-abbrev-table.
6533 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
6534
6535 2012-01-28 Roland Winkler <winkler@gnu.org>
6536
6537 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
6538
6539 2012-01-28 Roland Winkler <winkler@gnu.org>
6540
6541 * textmodes/bibtex.el (bibtex-entry-alist): New function.
6542 (bibtex-set-dialect): Use it. Either set global values of
6543 dialect-dependent variables or bind these variables buffer-locally
6544 (Bug#10254).
6545 (bibtex-mode): Call bibtex-set-dialect via
6546 hack-local-variables-hook.
6547 (bibtex-dialect): Update docstring.
6548 Add safe-local-variable predicate.
6549 (bibtex-entry-alist, bibtex-field-alist): Initialize via
6550 bibtex-set-dialect.
6551 (bibtex-mode-map): Define menu for each dialect.
6552 (bibtex-entry): Fix docstring.
6553
6554 2012-01-28 Chong Yidong <cyd@gnu.org>
6555
6556 * eshell/esh-arg.el (eshell-quote-argument): New function.
6557
6558 * eshell/esh-ext.el (eshell-invoke-batch-file):
6559 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
6560 first arg to eshell-parse-command (Bug#10523).
6561
6562 2012-01-28 Drew Adams <drew.adams@oracle.com>
6563
6564 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
6565 `default-directory' is non-nil.
6566
6567 2012-01-28 Eli Zaretskii <eliz@gnu.org>
6568
6569 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
6570 line that displays system-configuration-options. (Bug#9924)
6571
6572 2012-01-28 Drew Adams <drew.adams@oracle.com>
6573
6574 * descr-text.el (describe-char): Show information about POS, in
6575 addition to information about the character at POS. Improve and
6576 update the doc string. Change "code point" to "code point in
6577 charset", to avoid confusion with the character's Unicode code
6578 point shown above that. (Bug#10129)
6579
6580 2012-01-28 Eli Zaretskii <eliz@gnu.org>
6581
6582 * descr-text.el (describe-char): Show the raw character, not only
6583 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
6584 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
6585 for the reasons.
6586
6587 2012-01-28 Phil Hagelberg <phil@hagelb.org>
6588
6589 * emacs-lisp/package.el (package-install):
6590 Run package-refresh-contents if there is no archive yet (Bug#9798).
6591
6592 2012-01-28 Chong Yidong <cyd@gnu.org>
6593
6594 * emacs-lisp/package.el (package-maybe-load-descriptor):
6595 New function, split from package-maybe-load-descriptor.
6596 (package-maybe-load-descriptor): Use it.
6597 (package-download-transaction): Fully load required packages
6598 inside the loop, so that `require' calls work (Bug#10593).
6599 (package-install): No need to call package-initialize now.
6600
6601 2012-01-28 Chong Yidong <cyd@gnu.org>
6602
6603 * simple.el (deactivate-mark): Doc fix (Bug#8614).
6604
6605 * tooltip.el (tooltip-mode): Doc fix.
6606 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
6607
6608 * frame.el (set-cursor-color): Doc fix (Bug#352).
6609
6610 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
6611 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
6612
6613 * cus-edit.el (custom-buffer-create-internal): Fix search button
6614 action (Bug#10542).
6615 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
6616
6617 2012-01-27 Eduard Wiebe <usenet@pusto.de>
6618
6619 * dired.el (dired-mark-files-regexp):
6620 Include any subdirectory components. (Bug#10445)
6621
6622 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
6623
6624 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
6625 Handle [host]:port syntax. (Bug#10533)
6626
6627 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
6628
6629 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
6630
6631 2012-01-26 Glenn Morris <rgm@gnu.org>
6632
6633 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
6634 * term.el (term-raw-escape-map): Use Control-X-prefix.
6635 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
6636
6637 2012-01-25 Martin Rudalics <rudalics@gmx.at>
6638
6639 * window.el (window-state-get, window--state-get-1): Don't deal
6640 with fixed-sizeness of windows. Simplify code.
6641
6642 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
6643
6644 * window.el (window--state-get-1, window--state-put-2):
6645 Don't save and restore the mark.
6646
6647 2012-01-25 Chong Yidong <cyd@gnu.org>
6648
6649 * custom.el (custom-variable-p): Doc fix.
6650
6651 2012-01-25 Glenn Morris <rgm@gnu.org>
6652
6653 * dired.el (dired-goto-file): Handle some of the more common
6654 characters that `ls -b' escapes. (Bug#10596)
6655
6656 * progmodes/compile.el (compilation-next-error-function):
6657 Respect compilation-first-column in the "*compilation*" buffer.
6658 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
6659
6660 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
6661
6662 2012-01-24 Glenn Morris <rgm@gnu.org>
6663
6664 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
6665
6666 2012-01-24 Julien Danjou <julien@danjou.info>
6667
6668 * color.el (color-rgb-to-hsl): Fix value computing.
6669 (color-hue-to-rgb): New function.
6670 (color-hsl-to-rgb): New function.
6671 (color-clamp, color-saturate-hsl, color-saturate-name)
6672 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
6673 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
6674
6675 2012-01-24 Glenn Morris <rgm@gnu.org>
6676
6677 * vc/vc-rcs.el (vc-rcs-create-tag):
6678 * vc/vc-sccs.el (vc-sccs-create-tag):
6679 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
6680
6681 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
6682
6683 * eshell/esh-util.el (eshell-read-hosts-file):
6684 Skip comment lines. (Bug#10549)
6685
6686 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
6687
6688 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
6689
6690 * subr.el (display-delayed-warnings): Doc fix.
6691 (collapse-delayed-warnings): New function to collapse identical
6692 adjacent warnings.
6693 (delayed-warnings-hook): Add it.
6694
6695 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
6696
6697 * net/tramp.el (tramp-action-login): Set connection property "login-as".
6698
6699 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
6700 (tramp-default-user-alist): Don't add "pscp".
6701 (tramp-do-copy-or-rename-file-out-of-band): Use connection
6702 property "login-as", if set. (Bug#10530)
6703
6704 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
6705
6706 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
6707 "plink1" and "psftp". (Bug#10530)
6708
6709 2012-01-21 Kenichi Handa <handa@m17n.org>
6710
6711 * international/mule-cmds.el (prefer-coding-system): Show a
6712 warning message if the default value of file-name-coding-system
6713 was not changed.
6714
6715 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
6716
6717 * windmove.el (windmove-reference-loc):
6718 Fix windmove-reference-loc miscalculation.
6719
6720 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
6721
6722 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
6723 default unit.
6724
6725 2012-01-21 Glenn Morris <rgm@gnu.org>
6726
6727 * international/mule.el (auto-coding-alist): Add .tbz.
6728
6729 * files.el (local-enable-local-variables): Doc fix.
6730 (inhibit-local-variables-regexps): Rename from
6731 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
6732 Doc fix. Add some extensions from auto-coding-alist.
6733 (inhibit-local-variables-suffixes):
6734 Rename from inhibit-first-line-modes-suffixes. Doc fix.
6735 (inhibit-local-variables-p):
6736 New function, extracted from set-auto-mode-1.
6737 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
6738 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
6739 (hack-local-variables): Doc fix. Make the mode-only case
6740 respect enable-local-variables and friends.
6741 Respect inhibit-local-variables-regexps for file-locals, but
6742 not for directory-locals.
6743 (set-visited-file-name):
6744 Take account of inhibit-local-variables-regexps.
6745 Whether it applies may change as the file name is changed.
6746 * jka-cmpr-hook.el (jka-compr-install):
6747 * jka-compr.el (jka-compr-uninstall):
6748 Update for inhibit-first-line-modes-suffixes name change.
6749
6750 2012-01-20 Martin Rudalics <rudalics@gmx.at>
6751
6752 * help-macro.el (make-help-screen): Temporarily restore original
6753 binding for minor-mode-map-alist (Bug#10454).
6754
6755 2012-01-19 Julien Danjou <julien@danjou.info>
6756
6757 * color.el (color-name-to-rgb): Use the white color to find the max
6758 color component value and return correctly computed values.
6759 (color-name-to-rgb): Add missing float conversion for max value.
6760
6761 2012-01-19 Martin Rudalics <rudalics@gmx.at>
6762
6763 * window.el (window--state-get-1, window-state-get): Do not use
6764 special state value for window-persistent-parameters.
6765 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
6766 (window--state-put-2): Reset all window parameters to nil before
6767 assigning values of persistent parameters.
6768
6769 2012-01-18 Alan Mackenzie <acm@muc.de>
6770
6771 Eliminate sluggishness and hangs in fontification of "semicolon
6772 deserts".
6773
6774 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
6775 Change value 10000 -> 3000.
6776 (c-state-safe-place): Reformulate so it doesn't stack up an
6777 infinite number of wrong entries in c-state-nonlit-pos-cache.
6778 (c-determine-limit-get-base, c-determine-limit): New functions to
6779 determine backward search limits disregarding literals.
6780 (c-find-decl-spots): Amend commenting.
6781 (c-cheap-inside-bracelist-p): New function which detects "={".
6782
6783 * progmodes/cc-fonts.el
6784 (c-make-font-lock-BO-decl-search-function): Give a limit to a
6785 backward search.
6786 (c-font-lock-declarations): Fix an occurrence of point being
6787 undefined. Check additionally for point being in a bracelist or
6788 near a macro invocation without a semicolon so as to avoid a
6789 fruitless time consuming search for a declarator. Give a more
6790 precise search limit for declarators using the new
6791 c-determine-limit.
6792
6793 2012-01-18 Glenn Morris <rgm@gnu.org>
6794
6795 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
6796 (set-auto-mode): Doc fixes.
6797
6798 2012-01-17 Glenn Morris <rgm@gnu.org>
6799
6800 * isearch.el (search-nonincremental-instead): Fix doc typo.
6801
6802 * dired.el (dired-insert-directory): Handle newlines in directory name.
6803 (dired-build-subdir-alist): Unescape newlines in directory name.
6804
6805 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
6806
6807 * net/tramp.el (tramp-local-end-of-line): New defcustom.
6808 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
6809 (tramp-action-terminal): Use it. (Bug#10530)
6810
6811 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
6812
6813 * minibuffer.el (completion--replace): Strip properties (bug#10062).
6814
6815 2012-01-16 Martin Rudalics <rudalics@gmx.at>
6816
6817 * window.el (window-state-ignored-parameters): Remove variable.
6818 (window--state-get-1): Rename argument MARKERS to IGNORE.
6819 Handle persistent window parameters. Make copy of clone-of
6820 parameter only if requested. (Bug#10348)
6821 (window--state-put-2): Install a window parameter only if it has
6822 a non-nil value or an existing parameter shall be overwritten.
6823
6824 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
6825
6826 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
6827
6828 2012-01-14 Eli Zaretskii <eliz@gnu.org>
6829
6830 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
6831 don't pass the (nil) value of `upnode' to string-match.
6832
6833 2012-01-14 Chong Yidong <cyd@gnu.org>
6834
6835 * startup.el (command-line): Fix X resource class for cursorColor.
6836 Fix values recognized by the cursorBlink resource.
6837
6838 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
6839
6840 * epg.el (epg--make-temp-file): Avoid permission race condition
6841 when running on old Emacs versions (bug#10403).
6842
6843 2012-01-14 Glenn Morris <rgm@gnu.org>
6844
6845 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
6846
6847 2012-01-13 Alan Mackenzie <acm@muc.de>
6848
6849 Fix filling for when filladapt mode is enabled.
6850
6851 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
6852 c-mask-paragraph, pass in `fill-paragraph' rather than
6853 `fill-region-as-paragraph'. (This is a reversion of a previous
6854 change.)
6855 * progmodes/cc-mode.el (c-basic-common-init):
6856 Make fill-paragraph-handle-comment buffer local and set it to nil.
6857
6858 2012-01-13 Glenn Morris <rgm@gnu.org>
6859
6860 * dired.el (dired-switches-escape-p): New function.
6861 (dired-insert-directory): Use dired-switches-escape-p.
6862 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
6863
6864 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
6865
6866 2012-01-12 Glenn Morris <rgm@gnu.org>
6867
6868 * mail/sendmail.el (mail-mode): Update paragraph-separate for
6869 changes in adaptive-fill-regexp. (Bug#10276)
6870
6871 2012-01-11 Alan Mackenzie <acm@muc.de>
6872
6873 Fix Emacs bug #10463 - put `widen's around the critical spots.
6874
6875 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
6876 widen around each invocation of c-state-pp-to-literal. Remove an
6877 unused let variable.
6878
6879 2012-01-11 Glenn Morris <rgm@gnu.org>
6880
6881 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
6882 Doc fix.
6883
6884 2012-01-10 Chong Yidong <cyd@gnu.org>
6885
6886 * net/network-stream.el (network-stream-open-starttls):
6887 Avoid emitting a confusing error message when the server gives a bad
6888 response to the capability command.
6889
6890 2012-01-10 Glenn Morris <rgm@gnu.org>
6891
6892 * mail/unrmail.el (unrmail): Tweak previous change.
6893
6894 2012-01-09 Chong Yidong <cyd@gnu.org>
6895
6896 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
6897
6898 2012-01-08 Alan Mackenzie <acm@muc.de>
6899
6900 Optimise font locking in long enum definitions.
6901
6902 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
6903 arm to a cond form to handle enums.
6904 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
6905 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
6906
6907 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6908
6909 * files.el (move-file-to-trash): Preserve default file modes on error.
6910 (Bug#10401)
6911
6912 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
6913
6914 * faces.el (set-face-attribute): Clarify the meaning of the nil
6915 frame (bug#10294).
6916
6917 * subr.el (with-selected-frame): Mention that the selected frame
6918 is restored (bug#9980).
6919
6920 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
6921 (bug#9759).
6922
6923 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
6924 (password-read): Don't autoload unused function.
6925
6926 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
6927
6928 * progmodes/which-func.el (which-func-mode): Turn into a
6929 non-interactive function and mark as obsolete (bug#10428).
6930
6931 2012-01-06 Chong Yidong <cyd@gnu.org>
6932
6933 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
6934 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
6935 functions, along with 1 and -1.
6936
6937 2012-01-06 Eli Zaretskii <eliz@gnu.org>
6938
6939 * time.el (display-time-load-average)
6940 (display-time-default-load-average): Doc fixes. See the thread
6941 starting at
6942 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
6943 for the details.
6944
6945 2012-01-06 Glenn Morris <rgm@gnu.org>
6946
6947 * mail/unrmail.el (unrmail): Give an explicit error if the input file
6948 has no messages. (Bug#10377)
6949
6950 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
6951 than Info-edit. (Bug#10385)
6952
6953 * time.el (display-time-load-average, display-time-next-load-average):
6954 Doc fixes.
6955
6956 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
6957 local setting of buffer-read-only to the input buffer. (Bug#10419)
6958
6959 * calendar/calendar.el (calendar-mode):
6960 Locally set scroll-margin to 0. (Bug#10379)
6961
6962 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
6963
6964 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
6965
6966 2012-01-05 Glenn Morris <rgm@gnu.org>
6967
6968 * eshell/em-unix.el (diff-no-select): Autoload it.
6969 (eshell/diff): Use diff-no-select. (Bug#10420)
6970
6971 2012-01-05 Chong Yidong <cyd@gnu.org>
6972
6973 * shell.el (shell-dynamic-complete-functions): Revert last change.
6974 (shell-command-completion-function): New function.
6975 (shell-completion-vars): Use it to implement
6976 shell-completion-execonly (Bug#10417).
6977
6978 * custom.el (enable-theme): Don't set custom-safe-themes.
6979
6980 * cus-theme.el (custom-theme-merge-theme):
6981 Ignore custom-enabled-themes and custom-safe-themes.
6982
6983 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
6984
6985 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
6986 first prompt in `sql-interacive-mode'.
6987 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
6988 keywords.
6989 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
6990 (sql-product-interactive): Bug fix: Set `sql-buffer' in
6991 context of original buffer. Invoke `sql-login-hook'.
6992
6993 2012-01-04 Eli Zaretskii <eliz@gnu.org>
6994
6995 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
6996 letters in cite-prefix.
6997
6998 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
6999
7000 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
7001
7002 2012-01-03 Chong Yidong <cyd@gnu.org>
7003
7004 * shell.el (shell-dynamic-complete-functions):
7005 Put pcomplete-completions-at-point, so as to try
7006 comint-filename-completion first (Bug#10417).
7007
7008 2012-01-02 Richard Stallman <rms@gnu.org>
7009
7010 * battery.el (battery-status-function):
7011 Detect when to use battery-yeeloong-sysfs.
7012 (battery-echo-area-format): Add string for Yeeloong.
7013 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
7014 (battery-yeeloong-sysfs): New function.
7015
7016 2012-01-02 Chong Yidong <cyd@gnu.org>
7017
7018 * dirtrack.el (dirtrack-list): Eliminate unused third element.
7019 (dirtrack): Merge code for handling relative filenames in prompt
7020 from shell-dir-cookie-watcher.
7021 (dirtrack-debug-message): New arg to avoid excess format calls.
7022
7023 * shell.el (shell-dir-cookie-re): Variable deleted.
7024 (shell-dir-cookie-watcher): Function deleted.
7025 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
7026 with dirtrack-mode.
7027
7028 2012-01-01 Eli Zaretskii <eliz@gnu.org>
7029
7030 * term/w32-win.el (dynamic-library-alist) <gnutls>:
7031 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
7032 libgnutls-26.dll.
7033
7034 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
7035
7036 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
7037
7038 2011-12-31 Eli Zaretskii <eliz@gnu.org>
7039
7040 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
7041 headers of non-MIME messages, when rmail-enable-mime is non-nil.
7042
7043 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
7044
7045 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
7046 also for alternative shells.
7047 (tramp-open-connection-setup-interactive-shell): Check, whether
7048 the shell is a busybox.
7049 (tramp-send-command): Don't suppress multiple prompts for
7050 busyboxes, it hurts.
7051
7052 2011-12-28 Chong Yidong <cyd@gnu.org>
7053
7054 * progmodes/gdb-mi.el (gdb-get-source-file-list)
7055 (gdb-get-source-file): Move mode line update to
7056 gdb-get-source-file (Bug#10087).
7057
7058 2011-12-25 Chong Yidong <cyd@gnu.org>
7059
7060 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
7061 gud-gdb-marker-filter without taking it as an argument.
7062 (gud-gdb-run-command-fetch-lines): Caller changed.
7063 (gud-gdb-completion-function): New variable.
7064 (gud-gdb-completion-at-point): Use it.
7065 (gud-gdb-completions-1): Split from gud-gdb-completions.
7066
7067 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
7068 function as separate arguments.
7069 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
7070 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
7071 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
7072 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
7073 (gdb-stopped, def-gdb-auto-update-trigger)
7074 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
7075 (gdb-get-changed-registers, gdb-get-main-selected-frame):
7076 Callers changed.
7077 (gud-gdbmi-completions): New function.
7078 (gdb): Use it for generating the completion table.
7079
7080 2011-12-24 Alan Mackenzie <acm@muc.de>
7081
7082 Introduce a mechanism to widen the region used in context font
7083 locking. Use this to protect declarations from losing their contexts.
7084
7085 * progmodes/cc-langs.el (c-before-font-lock-functions):
7086 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
7087 (c-before-context-fontification-functions): New defvar, a list of
7088 functions to be run just before context (etc.) font locking.
7089
7090 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
7091 New, functionality extracted from
7092 c-neutralize-syntax-in-and-mark-CPP.
7093 (c-in-after-change-fontification): New variable.
7094 (c-after-change): Set c-in-after-change-fontification.
7095 (c-set-fl-decl-start): Rejig its interface, so it can be called
7096 from both after-change and context fontifying.
7097 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
7098 New functions.
7099 (c-standard-font-lock-fontify-region-function): New variable.
7100 (c-font-lock-fontify-region): New function.
7101
7102 2011-12-24 Juri Linkov <juri@jurta.org>
7103
7104 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
7105 (Bug#10348)
7106
7107 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
7108
7109 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
7110 existence of source file. (Bug#10325)
7111
7112 2011-12-23 Alan Mackenzie <acm@muc.de>
7113
7114 Fix unstable fontification inside templates.
7115
7116 * progmodes/cc-langs.el (c-before-font-lock-functions):
7117 Newly created from the singular version. The (c c++ objc) entry now
7118 additionally has c-set-fl-decl-start. The other languages (apart
7119 from AWK) have that as a single entry.
7120
7121 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
7122 The functionality for "local" declarations has been extracted to
7123 c-set-fl-decl-start.
7124
7125 * progmodes/cc-mode.el (c-common-init, c-after-change):
7126 Changes due to pluralisation of c-before-font-lock-functions.
7127 (c-set-fl-decl-start): New function, extracted from
7128 c-font-lock-enclosing-decls and enhanced.
7129
7130 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
7131
7132 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
7133
7134 2011-12-22 Juri Linkov <juri@jurta.org>
7135
7136 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
7137
7138 2011-12-22 Chong Yidong <cyd@gnu.org>
7139
7140 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
7141
7142 2011-12-21 Drew Adams <drew.adams@oracle.com>
7143
7144 * files.el (file-remote-p): Fix docstring. (Bug#10319)
7145
7146 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
7147
7148 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
7149
7150 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
7151
7152 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
7153 highlighting and support. Fix up comments for capitalization.
7154 (cfengine-mode-debug): New var.
7155 (cfengine3-mode): Change the modeline indicator to "CFE3".
7156 (cfengine3-font-lock-keywords): Improve defun highlighting.
7157 (cfengine2-actions): Rename from `cfengine-actions'.
7158 (cfengine2-font-lock-keywords): Rename from
7159 `cfengine-font-lock-keywords'.
7160 (cfengine2-imenu-expression): Rename from
7161 `cfengine-imenu-expression'.
7162 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
7163 (cfengine2-beginning-of-defun): Rename from
7164 `cfengine-beginning-of-defun'.
7165 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
7166 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
7167 (cfengine2-mode): Rename from `cfengine-mode'. Change the
7168 modeline indicator to "CFE2".
7169 (cfengine-mode): Defalias to `cfengine-auto-mode'.
7170 (cfengine-mode-abbrevs): Mark obsolete.
7171
7172 2011-12-21 Chong Yidong <cyd@gnu.org>
7173
7174 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
7175 filename argument.
7176
7177 2011-12-20 Martin Rudalics <rudalics@gmx.at>
7178
7179 * window.el (window-normalize-buffer-to-display): Remove.
7180 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
7181
7182 2011-12-19 Chong Yidong <cyd@gnu.org>
7183
7184 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
7185 Don't signal an error in a predicate function; return non-nil.
7186 (vc-dir-mark-file): Move the error here.
7187 (vc-dir-mark-unmark): If acting on the region, keep going if one
7188 of the entries cannot be marked/unmarked.
7189 (vc-dir-mark-all-files): If current entry is a directory, mark
7190 only child files, as documented.
7191
7192 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
7193
7194 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
7195 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
7196 addition.
7197
7198 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
7199
7200 * term/ns-win.el (ns-get-selection-internal)
7201 (ns-store-selection-internal): Declare.
7202 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
7203 Declare as obsolete.
7204 (ns-get-pasteboard, ns-paste-secondary):
7205 Use ns-get-selection-internal.
7206 (ns-set-pasteboard, ns-copy-including-secondary):
7207 Use ns-store-selection-internal.
7208
7209 2011-12-17 Chong Yidong <cyd@gnu.org>
7210
7211 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
7212 (vc-deduce-fileset): Doc fix.
7213
7214 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
7215
7216 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
7217
7218 2011-12-13 Sam Steingold <sds@gnu.org>
7219
7220 * man.el (Man-getpage-in-background): When running under a
7221 window-system, ignore $MANWIDTH and $COLUMNS.
7222
7223 2011-12-15 Kenichi Handa <handa@m17n.org>
7224
7225 * language/ethio-util.el: Change coding tag to utf-8-emacs.
7226 (setup-ethiopic-environment-internal): Comment out key-binding for
7227 ethio-toggle-punctuation.
7228
7229 2011-12-13 Alan Mackenzie <acm@muc.de>
7230
7231 Add the switch statement to AWK Mode.
7232
7233 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
7234 "default" to the keywords regexp.
7235
7236 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
7237 expression as the rest.
7238 (c-nonlabel-token-key): Allow string literals for AWK.
7239 Refactor for the other modes.
7240
7241 Large brace-block initialisation makes CC Mode slow: Fix.
7242 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
7243 routines. Limit backward searching in c-font-lock-enclosing.decl.
7244
7245 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
7246 pp-state and literal type in addition to the limits.
7247 (c-state-safe-place): New defun, extracted from c-state-literal-at.
7248 (c-state-literal-at): Use the above new defun.
7249 (c-slow-in-literal, c-fast-in-literal): Remove.
7250 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
7251
7252 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
7253 being in a literal. Add a limit for backward searching.
7254
7255 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
7256 c-slow-in-literal.
7257
7258 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
7259
7260 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
7261
7262 2011-12-13 Martin Rudalics <rudalics@gmx.at>
7263
7264 * window.el (delete-other-windows): Use correct frame in call to
7265 window-with-parameter.
7266
7267 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
7268
7269 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
7270 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
7271 (makefile-gmake-statements, makefile-makepp-statements):
7272 Use it and add new makepp keywords.
7273 (makefile-makepp-font-lock-keywords): Add new patterns.
7274 (makefile-match-function-end): Match new [...] and [[...]].
7275
7276 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
7277
7278 * ses.el (ses-call-printer-return, ses-cell-property-get)
7279 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
7280 (ses-create-cell-variable, ses-reset-header-string)
7281 (ses-cell-set-formula, ses-repair-cell-reference-all)
7282 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
7283 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
7284 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
7285 (ses-aset-with-undo, ses-load, ses-truncate-cell)
7286 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
7287 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
7288 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
7289 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
7290 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
7291 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
7292 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
7293 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
7294
7295 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
7296
7297 * ses.el: The overall change is to add cell renaming, that is
7298 setting fancy names for cell symbols other than name matching
7299 "\\`[A-Z]+[0-9]+\\'" regexp .
7300 (ses-create-cell-variable): New defun.
7301 (ses-relocate-formula): Relocate formulas only for cells the
7302 symbols of which are not renamed, i.e. symbols whose names do not
7303 match regexp "\\`[A-Z]+[0-9]+\\'".
7304 (ses-relocate-all): Relocate values only for cells the symbols of
7305 which are not renamed.
7306 (ses-load): Create cells variables as the (ses-cell ...) are read,
7307 in order to check row col consistency with cell symbol name only
7308 for cells that are not renamed.
7309 (ses-replace-name-in-formula): New defun.
7310 (ses-rename-cell): New defun.
7311
7312 2011-12-11 Chong Yidong <cyd@gnu.org>
7313
7314 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
7315 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
7316
7317 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
7318
7319 * window.el (other-window): Fix docstring.
7320
7321 2011-12-10 Eli Zaretskii <eliz@gnu.org>
7322
7323 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
7324 `from' or `to' address before taking its substring.
7325 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
7326 encoded name is chopped in the middle of the encoded string, and
7327 thus displayed encoded.
7328
7329 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
7330
7331 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
7332
7333 2011-12-10 Eli Zaretskii <eliz@gnu.org>
7334
7335 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
7336 to use texinfo-update-node and commands that call it if the
7337 Texinfo file uses @node lines without next/prev/up pointers.
7338 Correct outdated description about texinfo-master-menu.
7339 (texinfo-all-menus-update, texinfo-master-menu)
7340 (texinfo-update-node, texinfo-every-node-update)
7341 (texinfo-multiple-files-update): Doc fix. Warn against updating
7342 all the @node lines.
7343 (texinfo-master-menu): Only call texinfo-update-node if the prefix
7344 argument is numeric. Explain better in the doc string what the
7345 function really does.
7346 (texinfo-insert-master-menu-list): Improve the error message
7347 displayed if there's no menu in the Top node.
7348 (Bug#2975) See also this thread:
7349 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
7350
7351 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
7352
7353 * speedbar.el (speedbar-supported-extension-expressions):
7354 Add .adb and .ads, commonly used for Ada source code (bug#10256).
7355
7356 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
7357
7358 * printing.el (pr-mode-alist):
7359 * simple.el (filter-buffer-substring-functions)
7360 (completion-list-insert-choice-function):
7361 * window.el (window-with-parameter, window-atom-root)
7362 (window-sides-slots, window-size-fixed, window-min-delta)
7363 (window-max-delta, window--resize-mini-window)
7364 (window--resize-child-windows-normal, window-tree)
7365 (delete-other-windows, quit-window, split-window)
7366 (display-buffer-record-window, special-display-buffer-names)
7367 (special-display-regexps, special-display-popup-frame)
7368 (same-window-p, split-window-sensibly)
7369 (display-buffer-overriding-action, display-buffer-alist)
7370 (display-buffer-base-action, display-buffer, switch-to-buffer)
7371 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
7372 (fit-window-to-buffer, recenter-positions)
7373 (mouse-autoselect-window-state, mouse-autoselect-window-select):
7374 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
7375 and remove unneeded backslashes in docstrings.
7376
7377 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
7378
7379 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
7380
7381 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
7382 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
7383 end in ".mk".
7384 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
7385 when reading the makefile (bug#10116).
7386
7387 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
7388
7389 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
7390 (bug#10116).
7391
7392 2011-12-06 Glenn Morris <rgm@gnu.org>
7393
7394 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
7395
7396 2011-12-06 Chong Yidong <cyd@gnu.org>
7397
7398 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
7399
7400 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
7401
7402 * textmodes/table.el (table-shorten-cell): Fix typo.
7403
7404 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
7405
7406 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
7407
7408 2011-12-05 Eli Zaretskii <eliz@gnu.org>
7409
7410 * descr-text.el (describe-char): Fix display of strong
7411 right-to-left characters and directional embeddings and overrides.
7412
7413 * simple.el (what-cursor-position): Fix display of codepoints of
7414 strong right-to-left characters.
7415
7416 2011-12-05 Chong Yidong <cyd@gnu.org>
7417
7418 * faces.el (read-color): Doc fix.
7419
7420 2011-12-05 Glenn Morris <rgm@gnu.org>
7421
7422 * align.el (align--set-marker): Add doc-string.
7423 Don't try to move something that is not a marker. (Bug#10216)
7424
7425 2011-12-04 Glenn Morris <rgm@gnu.org>
7426
7427 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
7428 overly zealous deletion of trailing whitespace.
7429
7430 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
7431
7432 * server.el (server-delete-client): On Windows, do not try to delete
7433 the only terminal.
7434 (server-process-filter): On Windows, treat requests for a tty frame as
7435 if they were for a GUI frame if the running server is in GUI mode.
7436
7437 2011-12-03 Glenn Morris <rgm@gnu.org>
7438
7439 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
7440
7441 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
7442
7443 * electric.el: Streamline electric-indent's hook.
7444 (electric-indent-chars): Revert to simple list.
7445 (electric-indent-functions): New var.
7446 (electric-indent-post-self-insert-function): Use it.
7447
7448 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
7449 there's no inferior buffer (bug#10196).
7450 (prolog-consult-compile): Don't use toggle-read-only.
7451
7452 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
7453
7454 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
7455 interrupt. (Bug#10187)
7456
7457 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
7458
7459 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
7460 (bug#9160).
7461
7462 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
7463 (bug#10191).
7464
7465 2011-12-02 Juri Linkov <juri@jurta.org>
7466
7467 * info.el (Info-search): Display "end of manual" when Isearch
7468 reaches the end of single-file Info manual. (Bug#9918)
7469
7470 2011-12-02 Eli Zaretskii <eliz@gnu.org>
7471
7472 * isearch.el (isearch-message-prefix): Run the input method part
7473 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
7474
7475 2011-12-02 Juri Linkov <juri@jurta.org>
7476
7477 * isearch.el (isearch-occur): Use `word-search-regexp' for
7478 `isearch-word'.
7479 (isearch-search-and-update): Add condition for `isearch-word' and
7480 call `word-search-regexp'. (Bug#10145)
7481
7482 2011-12-01 Glenn Morris <rgm@gnu.org>
7483
7484 * eshell/em-hist.el (eshell-hist-initialize):
7485 Handle eshell-history-size nil and HISTSIZE set or unset.
7486 (eshell-history-file-name, eshell-history-size): Fix custom type.
7487
7488 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
7489
7490 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
7491
7492 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
7493
7494 * progmodes/verilog-mode.el (verilog-pretty-expr):
7495 Rework verilog-pretty-expr to handle new assignment operators in system
7496 verilog, such as += *= and the like.
7497 (verilog-assignment-operator-re): Regular expression to find the
7498 assigment operator in a verilog assignment.
7499 (verilog-assignment-operation-re): Regular expression to find an
7500 assignment statement for pretty-expr.
7501 (verilog-in-attribute-p): Query returns true if point is in an
7502 attribute context; used to skip these for expression line up from
7503 pretty-expr.
7504 (verilog-in-parameter-p): Query returns true if point is in an
7505 parameter definition context; used to skip these for expression
7506 line up from pretty-expr.
7507 (verilog-in-parenthesis-p): Query returns true if point is in a
7508 parenthetical expression, specifically ( ) but not [ ] or { };
7509 used by pretty-expr.
7510 (verilog-just-one-space): If there is no space, don't add one.
7511 (verilog-get-lineup-indent-2): Specifically skip just attribute
7512 contexts for expression lineup, rather than skipping all
7513 parenthetical expressions.
7514 (verilog-calculate-indent): Fix comment, and fix indent.
7515 (verilog-do-indent): Indent declarations in lists (suggested by
7516 Joachim Lechner).
7517 (verilog-mode-abbrev-table): Populate abbrev mode with the various
7518 skeleton items.
7519 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
7520 by Alain Mellan).
7521
7522 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
7523
7524 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
7525 parameters with embedded comments. Reported by Ray Stevens.
7526 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
7527 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
7528 Reported by Tim Holt.
7529 (verilog-auto): Fix AUTOing a upper module then AUTOing module
7530 instantiated by upper module causing wrong expansion until AUTOed a
7531 second time. Reported by K C Buckenmaier.
7532 (verilog-diff-auto): Fix showing .* as a difference when
7533 `verilog-auto-star-save' off. Reported by Dan Dever.
7534 (verilog-auto-reset, verilog-read-always-signals)
7535 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
7536 temporary signals in reset list if
7537 verilog-auto-reset-blocking-in-non is nil, and match assignment
7538 style to each signal's assignment type, bug381.
7539 Reported by Thomas Esposito.
7540 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
7541 (verilog-uvm-statement-re): Support UVM indentation and
7542 highlighting, with old OVM keywords only.
7543 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
7544 Support AUTOTIEOFF creating non-wire data types.
7545 Suggested by Jonathan Greenlaw.
7546 (verilog-auto-insert-lisp, verilog-delete-to-paren)
7547 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
7548 (verilog-inject-sense, verilog-read-inst-pins)
7549 (verilog-read-sub-decls, verilog-read-sub-decls-line):
7550 Fix mismatching parenthesis inside commented out code when deleting
7551 AUTOINST, bug383. Reported by Jonathan Greenlaw.
7552 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
7553 non-numeric vector width. Reported by Alex Reed.
7554 (verilog-auto-ascii-enum): Add "onehot" option to work around not
7555 detecting signals with parameter widths. Reported by Alex Reed.
7556 (verilog-auto-delete-trailing-whitespace):
7557 With `verilog-auto-delete-trailing-whitespace' remove trailing
7558 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
7559 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
7560 Fix verilog-scan-cache corruption when running user AUTO expansion
7561 hooks that call indentation routines.
7562 (verilog-simplify-range-expression): Fix typo ignoring lower case
7563 identifiers.
7564 (verilog-delete-auto): Fix delete-autos to also remove user created
7565 automatics, as long as they start with AUTO.
7566 (verilog-batch-diff-auto, verilog-diff-auto)
7567 (verilog-diff-function): Add `verilog-diff-auto' and bind to
7568 "C-c?" to report differences in AUTO expansion, ignoring spaces.
7569 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
7570 (verilog-in-paren-quick, verilog-re-search-backward-quick)
7571 (verilog-re-search-forward-quick, verilog-syntax-ppss):
7572 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
7573 is disabled and its cache will get corrupt, causing AUTOS not to
7574 expand. Instead use only -quick functions.
7575 (verilog-scan-region): Fix scanning over escaped quotes.
7576 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
7577 (verilog-re-search-backward-quick)
7578 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
7579 related functions now ignore strings, to fix misparsing of strings
7580 with magic comments embedded in them.
7581 (verilog-read-auto-template):
7582 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
7583 Reported by Brad Dobbie.
7584 (verilog-read-auto-template):
7585 Fix 'verilog-auto-inst-template-numbers' with comments.
7586 Reported by Brad Dobbie.
7587 (verilog-auto-inst, verilog-auto-inst-param)
7588 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
7589 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
7590 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
7591 debugging templates without merge conflicts, bug357.
7592 Reported by Brad Dobbie.
7593 (verilog-read-auto-template):
7594 Fix verilog-auto-inst-template-numbers with multiple templates.
7595 Reported by Brad Dobbie.
7596 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
7597 abbrevs so user won't be asked to save.
7598 (verilog-read-auto-lisp-present): Fix to start at beginning of
7599 buffer in case called outside of verilog-auto.
7600 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
7601 to "X-2". Reported by Matthew Myers.
7602 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
7603 all inputs from module templates. Reported by Leith Johnson.
7604 (verilog-module-inside-filename-p): Fix locating programs as with
7605 modules.
7606 (verilog-auto-inst-port): Fix vl-width expressions when using
7607 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
7608 (verilog-decls-get-regs, verilog-decls-get-signals,
7609 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
7610 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
7611 verilog-read-decls): Combine reg and wire structures into one var
7612 structure to represent SystemVerilog concepts.
7613 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
7614 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
7615 (verilog-auto-wire-type, verilog-insert-definition):
7616 Add verilog-auto-wire-type and AUTOLOGIC to support using
7617 SystemVerilog "logic" keyword instead of "wire"/"reg".
7618 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
7619 to declares outputs that also have assignments (presumably in an
7620 ifdef or generate if so there's not a driver conflict).
7621 Reported by Matthew Myers.
7622 (verilog-auto-declare-nettype, verilog-insert-definition):
7623 Add verilog-auto-declare-nettype to fix declarations using
7624 `default_nettype none. Reported by Julian Gorfajn.
7625 (verilog-read-always-signals-recurse, verilog-read-decls)
7626 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
7627 malformed end statement, bug325. Reported by Joshua Wise and
7628 Andrew Drake.
7629 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
7630 (verilog-inst-comment-re): Fix not deleting Interfaced comment
7631 when expanding .* in interfaces, bug320.
7632 Reported by Pierre-David Pfister.
7633 (verilog-read-module-name): Fix import statements between module
7634 name and open parenthesis, bug317.
7635 Reported by Pierre-David Pfister.
7636 (verilog-simplify-range-expression): Fix simplification of
7637 multiplications inside AUTOWIRE connections, bug303.
7638 (verilog-auto-inst-port): Support parameter expansion in
7639 multidimensional arrays.
7640 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
7641 after "assert property". Reported by Julian Gorfajn.
7642 (verilog-simplify-range-expression): Fix "couldn't merge" errors
7643 with multiplication, bug303.
7644 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
7645 Reported by Jan Frode Lonnum.
7646
7647 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
7648
7649 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
7650 (hfy-shell-file-name, hfy-shell):
7651 * international/fontset.el (x-decompose-font-name): Fix typos.
7652
7653 2011-11-29 Ken Brown <kbrown@cornell.edu>
7654
7655 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
7656 (gdb-version): Remove defvar.
7657 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
7658 (gdb-gud-context-command, gdb-non-stop-handler)
7659 (gdb-current-context-command, gdb-stopped): Use it.
7660 (gdb-init-1): Enable pretty printing here.
7661 (gdb-non-stop-handler): Don't enable pretty-printing here.
7662 Check to see if the target supports non-stop mode; if not, turn off
7663 non-stop mode. Use the following.
7664 (gdb-check-target-async): New defun.
7665 (gud-watch, gdb-stopped): Fix whitespace.
7666 (gdb-get-source-file): Don't try to display the source file if
7667 `gdb-main-file' is nil.
7668
7669 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
7670
7671 * align.el: Try to generate fewer markers (bug#10047).
7672 (align--set-marker): New macro.
7673 (align-region): Use it.
7674
7675 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
7676
7677 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
7678
7679 2011-11-29 Chong Yidong <cyd@gnu.org>
7680
7681 * indent.el (indent-for-tab-command, indent-according-to-mode):
7682 Doc fix.
7683 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
7684
7685 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
7686
7687 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
7688 aware of remote file names. (Bug#10124)
7689
7690 2011-11-29 Chong Yidong <cyd@gnu.org>
7691
7692 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
7693
7694 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
7695
7696 * files.el (find-file): Don't use force-same-window (bug#10144).
7697 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
7698 use pop-to-buffer if the selected window can't be used.
7699 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
7700
7701 2011-11-28 Eli Zaretskii <eliz@gnu.org>
7702
7703 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
7704 special-mode-map.
7705
7706 2011-11-28 Chong Yidong <cyd@gnu.org>
7707
7708 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
7709
7710 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
7711
7712 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
7713 gdb-get-source-file-list on gdb-create-source-file-list.
7714
7715 2011-11-26 Eli Zaretskii <eliz@gnu.org>
7716
7717 * whitespace.el (whitespace-newline): Use a different foreground
7718 color for 16-color light-background displays.
7719
7720 2011-11-24 Chong Yidong <cyd@gnu.org>
7721
7722 * window.el (display-buffer--special-action): Doc fix.
7723
7724 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
7725
7726 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
7727 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
7728 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
7729 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
7730 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
7731 (avl-tree-stack-first):
7732 * emacs-lisp/cconv.el (cconv--analyse-use):
7733 * net/gnutls.el (gnutls-negotiate): Fix typos.
7734
7735 2011-11-24 Glenn Morris <rgm@gnu.org>
7736
7737 * lpr.el (lpr-windows-system, lpr-lp-system):
7738 * mail/binhex.el (binhex-begin-line):
7739 * progmodes/grep.el (grep-history, grep-find-history):
7740 * textmodes/flyspell.el:
7741 * vc/pcvs-defs.el (cvs-global-menu):
7742 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
7743 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
7744 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
7745
7746 * net/tls.el: Fix case of "GnuTLS".
7747
7748 * paths.el (rmail-file-name): Format doc-string for make-docfile.
7749
7750 * version.el (emacs-build-system): Give it a doc-string.
7751
7752 2011-11-24 Juri Linkov <juri@jurta.org>
7753
7754 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
7755
7756 2011-11-24 Glenn Morris <rgm@gnu.org>
7757
7758 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
7759 if called on a non-mime message just toggle the headers. (Bug#8006)
7760
7761 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
7762
7763 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
7764 (allout-lead-with-comment-string, allout-structure-deleted-hook)
7765 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
7766 (allout-rebullet-heading, allout-open-sibtopic)
7767 (allout-toggle-current-subtree-encryption)
7768 (allout-toggle-subtree-encryption, allout-encrypt-string)
7769 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
7770 (allout-distinctive-bullets-string, allout-auto-activation):
7771 * window.el (window-normalize-buffer-to-display):
7772 * progmodes/verilog-mode.el (verilog-batch-indent):
7773 * textmodes/bibtex.el (bibtex-field-braces-opt)
7774 (bibtex-field-strings-opt):
7775 * vc/cvs-status.el (cvs-tree-merge):
7776 Fix typos.
7777
7778 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
7779
7780 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
7781 `non-essential' to t, in order to avoid remote connections.
7782
7783 2011-11-23 Eli Zaretskii <eliz@gnu.org>
7784
7785 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
7786 On MS-DOS and MS-Windows, compare with loaddefs.el
7787 case-insensitively.
7788
7789 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
7790
7791 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
7792
7793 2011-11-23 Glenn Morris <rgm@gnu.org>
7794
7795 * paths.el (rmail-file-name): Reformat the doc-string so that it
7796 is picked up.
7797
7798 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
7799 (rmail-auto-file): Ignore case in the "special" field names,
7800 as mail-fetch-field does for all others.
7801
7802 * mail/rmail.el (rmail-forward):
7803 * mail/rmailkwd.el (rmail-set-label):
7804 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
7805 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
7806
7807 * mail/rmail.el (rmail-current-message): Doc fix.
7808
7809 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
7810
7811 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
7812
7813 * server.el (server-eval-and-print): Allow C-g (bug#6585).
7814
7815 2011-11-22 Glenn Morris <rgm@gnu.org>
7816
7817 * mail/rmailmm.el (test-rmail-mime-handler)
7818 (test-rmail-mime-bulk-handler)
7819 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
7820
7821 2011-11-21 Juri Linkov <juri@jurta.org>
7822
7823 * calc/calc.el (calc-read-key-sequence):
7824 Let-bind `input-method-function' to nil. (Bug#10018)
7825
7826 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7827
7828 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
7829 Tell the caller that the next line needs recomputation, even
7830 though it doesn't start a sexp (bug#10094).
7831
7832 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
7833
7834 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
7835
7836 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
7837
7838 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
7839 Use force-same-window.
7840
7841 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
7842
7843 * descr-text.el (describe-char-unicode-data):
7844 * json.el (json-string-escape):
7845 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
7846 (Footnote-unicode, Footnote-style-p):
7847 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
7848
7849 2011-11-20 Chong Yidong <cyd@gnu.org>
7850
7851 * window.el (replace-buffer-in-windows): Restore interactive spec.
7852
7853 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
7854
7855 * electric.el (electric-indent-mode): Fix last change (too optimistic).
7856
7857 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
7858 (byte-compile-global-not-obsolete-vars): New var.
7859 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
7860 Use it.
7861 (byte-compile-warn-obsolete): Align text with the one in *Help*.
7862
7863 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
7864
7865 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
7866 * progmodes/pascal.el (electric-pascal-equal):
7867 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
7868 * xml.el (xml-substitute-special): Fix typos.
7869
7870 2011-11-20 Glenn Morris <rgm@gnu.org>
7871
7872 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
7873 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
7874 Doc fixes.
7875 (rmail-decode-mime-charset): Mark as obsolete.
7876
7877 * mail/rmailsum.el (rmail-message-regexp-p-1):
7878 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
7879 Before using mime functions, check they are set. (Bug#10077)
7880
7881 2011-11-19 Juri Linkov <juri@jurta.org>
7882
7883 * info.el (Info-finder-find-node): Use `package--builtins' instead
7884 of `package-alist'. Use node names formed by the pattern "Keyword "
7885 and the keyword name.
7886
7887 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
7888
7889 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
7890
7891 2011-11-19 Juri Linkov <juri@jurta.org>
7892
7893 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
7894 that calls `revert-buffer' on all Info buffers. (Bug#9915)
7895 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
7896 `old-history', `old-history-forward'. Add let-binding
7897 `window-selected'. Remove calls to `kill-buffer',
7898 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
7899 before calling `Info-find-node', so `Info-find-node-2' will reread
7900 the Info file. Restore window positions only when `window-selected'
7901 is non-nil.
7902
7903 2011-11-19 Juri Linkov <juri@jurta.org>
7904
7905 * isearch.el (isearch-lazy-highlight-new-loop):
7906 Remove condition `(not isearch-error)'. (Bug#9918)
7907
7908 * misearch.el (multi-isearch-search-fun): Add condition
7909 `(not bound)' to ignore lazy-highlighting search.
7910 Add the search-failed message "end of multi" when the end of
7911 multi-sequence is reached. Uncapitalize the search-failed
7912 message "Repeat for next buffer".
7913
7914 * info.el (Info-search): Add the search-failed message
7915 "end of the manual" when the end of the manual is reached
7916 in Isearch mode.
7917
7918 2011-11-19 Juri Linkov <juri@jurta.org>
7919
7920 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
7921 Use non-destructive `remove' instead of `delete' because
7922 `Info-history-list' stored to `Info-isearch-initial-history-list' in
7923 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
7924
7925 2011-11-19 Juri Linkov <juri@jurta.org>
7926
7927 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
7928 to nil instead of binding `search-ring' and `regexp-search-ring'.
7929 (Bug#9185)
7930
7931 2011-11-19 Eli Zaretskii <eliz@gnu.org>
7932
7933 * simple.el (line-move): Force movement by logical lines for any
7934 hscrolled window, not only when auto-hscroll-mode is on.
7935 (line-move-visual): Update doc string to that effect. (Bug#10076)
7936
7937 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
7938
7939 * language/european.el (macintosh): Define as alias for mac-roman.
7940
7941 2011-11-19 Eli Zaretskii <eliz@gnu.org>
7942
7943 * mail/rmailmm.el (rmail-mime-display-header)
7944 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
7945 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
7946 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
7947 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
7948 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
7949 of a raw aref.
7950 (rmail-mime-entity-segment): To get past the tagline, move forward
7951 2 more lines, to account for the 2 empty lines that precede and
7952 follow the line with the buttons.
7953 (rmail-mime-update-tagline): Move one more line, to get past the
7954 empty line that follows the buttons in the tagline. (Bug#9520)
7955
7956 2011-11-19 Martin Rudalics <rudalics@gmx.at>
7957
7958 * window.el (window-max-delta-1, window-min-delta-1)
7959 (window-min-size-1, window-state-get-1, window-state-put-1)
7960 (window-state-put-2): Use "window--" prefix.
7961
7962 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
7963
7964 * emacs-lisp/smie.el: Improve warnings and conflict detection.
7965 (smie-warning-count): New var.
7966 (smie-set-prec2tab): Use it.
7967 (smie-bnf->prec2): Improve warnings. Add docstring.
7968 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
7969 (smie-bnf--set-class): New function.
7970 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
7971 corner case.
7972
7973 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
7974 (compilation-error-properties, compilation-move-to-column):
7975 Handle compilation-first-column while in the target buffer.
7976
7977 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
7978 Don't hardcode point-min==1.
7979
7980 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
7981 (eshell-rewrite-for-command): Remove workaround.
7982 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
7983 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
7984 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
7985
7986 * files-x.el (modify-file-local-variable): Obey commenting conventions.
7987
7988 2011-11-17 Glenn Morris <rgm@gnu.org>
7989
7990 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
7991 Ignore buffer-local generated-autoload-file if it is the same
7992 as the global value. (Bug#10049)
7993
7994 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
7995
7996 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
7997 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
7998 (reftex-toc-previous-heading, reftex-toc-max-level)
7999 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
8000 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
8001 (reftex-toc-do-promote, reftex-toc-promote-prepare)
8002 (reftex-toc-promote-action, reftex-toc-extract-section-number)
8003 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
8004 (reftex-toc-rename-label, reftex-toc-visit-location)
8005 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
8006 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
8007 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
8008 leaving "*toc*" only for references to the buffer.
8009
8010 2011-11-17 Martin Rudalics <rudalics@gmx.at>
8011
8012 * window.el (window-resize, delete-window, split-window):
8013 Replace window-splits by window-combination-resize.
8014 * cus-start.el (window-splits): Replace by window-combination-resize.
8015
8016 2011-11-17 Glenn Morris <rgm@gnu.org>
8017
8018 * progmodes/sh-script.el (sh-font-lock-keywords-var):
8019 Make bash entry derive from sh entry, not shell entry.
8020
8021 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
8022
8023 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
8024 local file name.
8025
8026 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
8027
8028 * menu-bar.el (menu-bar-file-menu):
8029 * printing.el (pr-ps-utility):
8030 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
8031 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
8032 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
8033 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
8034 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
8035 (icalendar--convert-cyclic-to-ical)
8036 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
8037 (icalendar--convert-ical-to-diary)
8038 (icalendar--convert-recurring-to-diary)
8039 (icalendar--convert-non-recurring-all-day-to-diary)
8040 (icalendar-import-format-sample):
8041 * progmodes/idlw-shell.el (idlwave-shell-mode):
8042 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
8043 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
8044 (vhdl-ps-print-init): Fix typos.
8045
8046 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
8047
8048 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
8049 FSF and collapse date sequence, obscure author/maintainer email address
8050 better, remove extra version line, track relocation of author's webpage.
8051
8052 * progmodes/python.el (python-pdbtrack-input-prompt)
8053 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
8054 regular python pdb prompts. Adjustments shamelessly taken exactly as
8055 suggested in EmacsWiki page (tiny change):
8056 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8057
8058 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
8059
8060 * expand.el (expand-pos, expand-index, expand-point):
8061 Remove redundant info from docstring.
8062 (expand-add-abbrevs): Doc fix.
8063 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
8064 (expand-sample-perl-mode-expand-list): Fix typos.
8065
8066 * net/dbus.el (dbus-event-member-name):
8067 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
8068 * term/pc-win.el (msdos-create-frame-with-faces):
8069 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
8070
8071 2011-11-16 Martin Rudalics <rudalics@gmx.at>
8072
8073 * window.el (split-window, window-state-get-1)
8074 (window-state-put-1, window-state-put-2): Rename occurrences of
8075 window-nest to window-combination-limit.
8076 * cus-start.el (window-nest): Rename to window-combination-limit.
8077
8078 2011-11-16 Chong Yidong <cyd@gnu.org>
8079
8080 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
8081 regexp (Bug#10033).
8082
8083 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
8084
8085 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
8086 `completing-read' will remove *Completions* and will preserve
8087 current-buffer for us.
8088 (tmm-add-prompt): Users of *Completions* will always (re)set its
8089 major mode.
8090 (tmm-old-comp-map): Remove.
8091
8092 2011-11-16 Glenn Morris <rgm@gnu.org>
8093
8094 * mail/rmailedit.el: Require rmailmm when compiling.
8095 (rmail-old-mime-state): New declaration.
8096 (rmail-edit-current-message): If editing a mime message,
8097 edit the "raw" message from the mbox buffer.
8098 (rmail-cease-edit): Handle mime messages. (Bug#9840)
8099
8100 2011-11-15 Glenn Morris <rgm@gnu.org>
8101
8102 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
8103 which wasn't being used. Add optional arg to force given state.
8104 (rmail-mime): Add optional arg to force given state.
8105
8106 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
8107
8108 * allout.el (allout-encryption-plaintext-sanitization-regexps):
8109 * frame.el (display-mm-dimensions-alist):
8110 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
8111 (outline-move-subtree-down):
8112 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
8113 (newsticker--treeview-do-get-node):
8114 * net/quickurl.el (quickurl-list-buffer-name):
8115 * progmodes/dcl-mode.el (dcl-mode):
8116 * progmodes/gdb-mi.el (gdb-mapcar*):
8117 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
8118
8119 2011-11-15 Glenn Morris <rgm@gnu.org>
8120
8121 * mail/rmail.el (rmail-file-coding-system): It's only ever used
8122 in a boolean sense, so just make it a boolean, and fix the doc.
8123 (rmail-show-mime-function, rmail-mime-feature)
8124 (rmail-require-mime-maybe): Doc fixes.
8125 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
8126
8127 * mail/rmailmm.el (rmail-show-mime): Doc fix.
8128
8129 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
8130
8131 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
8132 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
8133 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
8134 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
8135
8136 2011-11-15 Glenn Morris <rgm@gnu.org>
8137
8138 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
8139 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
8140 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
8141 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
8142 (rmail-mime, rmail-show-mime): Doc fixes.
8143
8144 * term/ns-win.el (mode-line-frame-identification):
8145 Leave it alone. (Bug#10051)
8146
8147 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
8148
8149 * mail/rmailout.el (rmail-output-to-rmail-buffer):
8150 Handle empty buffers. (Bug#9978)
8151
8152 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
8153
8154 * international/mule.el (define-charset):
8155 * mail/rmailmm.el (rmail-mime-find-header-encoding):
8156 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
8157 * progmodes/verilog-mode.el (verilog-backward-token):
8158 * textmodes/ispell.el (lookup-words):
8159 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
8160
8161 2011-11-14 Glenn Morris <rgm@gnu.org>
8162
8163 * progmodes/executable.el
8164 (executable-make-buffer-file-executable-if-script-p):
8165 Handle file-modes returning nil.
8166
8167 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
8168 message - not necessary, and causes problems. (Bug#9831)
8169
8170 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
8171
8172 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
8173
8174 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
8175 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
8176 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
8177
8178 2011-11-12 Martin Rudalics <rudalics@gmx.at>
8179
8180 * window.el (window-resize, delete-window): Use window-splits
8181 variable instead of function.
8182 (window-state-get-1, window-state-put-2, window-state-put):
8183 Don't deal with windows' splits status.
8184
8185 2011-11-12 Glenn Morris <rgm@gnu.org>
8186
8187 * apropos.el (apropos-do-all, apropos-library, apropos-value)
8188 (apropos-documentation): Doc fixes.
8189
8190 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
8191
8192 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
8193 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
8194
8195 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
8196
8197 * electric.el (electric-indent-post-self-insert-function): Make it
8198 possible for a char to only indent in some circumstances.
8199 (electric-indent-mode): Simplify.
8200
8201 2011-11-11 Martin Rudalics <rudalics@gmx.at>
8202
8203 * window.el (windows-with-parameter): Remove unused function.
8204 (windows-at-side): Rename to window-at-side-list.
8205 (window-check, window-atom-check, window-atom-check-1)
8206 (window-side-check, window-size-ignore, window-size-fixed-1)
8207 (window-in-direction-2): Prefix with "window--".
8208 (window-tree-1): Rename to window--subtree, fix doc-string.
8209
8210 2011-11-11 Glenn Morris <rgm@gnu.org>
8211
8212 * subr.el (eval-after-load): If FILE is already loaded,
8213 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
8214
8215 2011-11-10 Glenn Morris <rgm@gnu.org>
8216
8217 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
8218 Call svn via vc-svn-command rather than vc-do-command.
8219 (vc-svn-command): Add --non-interactive. (Bug#9993)
8220 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
8221
8222 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
8223 Add toggle-read-only. (Bug#7292)
8224 * files.el (toggle-read-only): Mention that it should only
8225 be used interactively. (Bug#10006)
8226
8227 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
8228
8229 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8230 Adjust regexp for OCaml warnings.
8231
8232 * electric.el (electric-pair-post-self-insert-function): Let user
8233 turn it off buffer-locally (bug#9932).
8234
8235 * progmodes/python.el (python-beginning-of-statement):
8236 Rewrite (bug#2703).
8237
8238 * progmodes/compile.el: Better handle TABs (bug#9749).
8239 (compilation-internal-error-properties)
8240 (compilation-next-error-function): Obey the target buffer's
8241 compilation-error-screen-columns.
8242
8243 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
8244
8245 * progmodes/meta-mode.el: Remove obsolete comments.
8246 (meta-right-comment-regexp, meta-ignore-comment-regexp):
8247 Fix typos in docstrings.
8248
8249 2011-11-09 Martin Rudalics <rudalics@gmx.at>
8250
8251 * window.el (window-size-fixed-p): Rewrite doc-string.
8252 (window-resizable-p): Rename to window--resizable-p. Update callers.
8253 (window--resizable): New function. Make all callers of
8254 window-resizable call window--resizable instead.
8255 (window-resizable): Rewrite in terms of window--resizable.
8256
8257 2011-11-08 Glenn Morris <rgm@gnu.org>
8258
8259 * progmodes/delphi.el (delphi-mode-syntax-table):
8260 Let define-derived-mode define a proper syntax table. (Bug#9994)
8261
8262 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
8263
8264 * window.el: Stay away from defsubst.
8265 (window-list-no-nils): Remove.
8266 (window-state-get-1, window-state-get): Use backquote instead.
8267
8268 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8269
8270 * emacs-lisp/find-func.el (find-function-read):
8271 Fix incorrect use of default argument in `completing-read'.
8272
8273 2011-11-08 Martin Rudalics <rudalics@gmx.at>
8274
8275 * window.el (display-buffer-function, special-display-function):
8276 Mention display-buffer-record-window but do not mention
8277 help-setup parameter in doc-strings.
8278 (window-min-delta): Fix doc-string typo.
8279
8280 2011-11-08 Chong Yidong <cyd@gnu.org>
8281
8282 * window.el (window-total-height, window-total-width): Doc fix.
8283 (window-body-size): Move from C.
8284 (window-body-height, window-body-width): Move to C.
8285
8286 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
8287
8288 * window.el: Make special-display like display-buffer-alist (bug#9532).
8289 (display-buffer--special-action): New function, morphed
8290 from display-buffer--special.
8291 (display-buffer): Use it to handle special-display-buffers at higher
8292 priority (just after display-buffer-alist).
8293 (display-buffer-fallback-action, display-buffer--other-frame-action)
8294 (pop-to-buffer-same-window): Remove display-buffer--special.
8295
8296 2011-11-07 Glenn Morris <rgm@gnu.org>
8297
8298 * calendar/cal-menu.el (cal-menu-set-date-title):
8299 Do nothing if not in a calendar. (Bug#9976)
8300
8301 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
8302
8303 * files.el (find-file): Always use selected-window.
8304
8305 2011-11-07 Martin Rudalics <rudalics@gmx.at>
8306
8307 * window.el (window-combinations): Make WINDOW argument
8308 mandatory. Rewrite doc-string.
8309 (walk-window-subtree, window-atom-check, window-min-delta)
8310 (window-max-delta, window--resize-this-window)
8311 (window--resize-root-window-vertically, window-tree)
8312 (balance-windows, window-state-put): Rewrite doc-strings as to
8313 not mention the term "subwindow".
8314 (window--resize-subwindows-skip-p): Rename to
8315 window--resize-child-windows-skip-p.
8316 (window--resize-subwindows-normal): Rename to
8317 window--resize-child-windows-normal.
8318 (window--resize-subwindows): Rename to
8319 window--resize-child-windows.
8320 (window-or-subwindow-p): Rename to window--in-subtree-p.
8321
8322 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
8323
8324 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
8325 Ensure that mbox format messages end in two newlines (Bug#9974).
8326
8327 2011-11-06 Chong Yidong <cyd@gnu.org>
8328
8329 * window.el (window-combination-p): Function deleted; its
8330 side-effect is not used in any existing code.
8331 (window-combinations, window-combined-p): Call window-*-child
8332 directly.
8333
8334 2011-11-05 Chong Yidong <cyd@gnu.org>
8335
8336 * window.el (window-valid-p): Rename from window-any-p.
8337 (window-size-ignore, window-state-get): Callers changed.
8338 (window-normalize-window): Rename from window-normalize-any-window.
8339 New arg LIVE-ONLY, replacing window-normalize-live-window.
8340 (window-normalize-live-window): Delete.
8341 (window-combination-p, window-combined-p, window-combinations)
8342 (walk-window-subtree, window-atom-root, window-min-size)
8343 (window-sizable, window-sizable-p, window-size-fixed-p)
8344 (window-min-delta, window-max-delta, window-resizable)
8345 (window-resizable-p, window-full-height-p, window-full-width-p)
8346 (window-current-scroll-bars, window-point-1, set-window-point-1)
8347 (window-at-side-p, window-in-direction, window-resize)
8348 (adjust-window-trailing-edge, maximize-window, minimize-window)
8349 (window-deletable-p, delete-window, delete-other-windows)
8350 (record-window-buffer, unrecord-window-buffer)
8351 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
8352 (quit-window, split-window, window-state-put)
8353 (set-window-text-height, fit-window-to-buffer)
8354 (shrink-window-if-larger-than-buffer): Callers changed.
8355
8356 2011-11-04 Eli Zaretskii <eliz@gnu.org>
8357
8358 * mail/rmail.el (rmail-simplified-subject): Decode subject with
8359 rfc2047-decode-string.
8360 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
8361 warnings.
8362
8363 * window.el (window-body-height, window-body-width): Mention in
8364 the doc string that the return values are in frame's canonical
8365 units. (Bug#9949)
8366
8367 2011-11-03 Alan Mackenzie <acm@muc.de>
8368
8369 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
8370 change in cc-engine.el.
8371
8372 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
8373
8374 * window.el (switch-to-buffer): Use `force-same-window' interactively.
8375
8376 2011-11-02 Martin Rudalics <rudalics@gmx.at>
8377
8378 * window.el (quit-window): Call unrecord-window-buffer after
8379 showing another buffer in the window. (Bug#9937)
8380 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
8381
8382 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
8383
8384 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
8385 Accept status with more than 9 shelves. (Bug#9935)
8386 Reported by Colin D Bennett <colin@gibibit.com>.
8387
8388 2011-11-01 Martin Rudalics <rudalics@gmx.at>
8389
8390 * help.el (with-help-window): Don't reference
8391 temp-buffer-show-specifiers in doc-string.
8392
8393 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
8394
8395 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
8396 menu-item.
8397
8398 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
8399
8400 * whitespace.el: New version 13.2.2.
8401 (whitespace-newline-mode): Disable properly. Reported by Sarah
8402 <EmacsWiki>.
8403
8404 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
8405
8406 * net/newst-treeview.el: Remove "Time-stamp".
8407 (newsticker--group-manage-orphan-feeds): Do not call
8408 newsticker--treeview-tree-update.
8409 (newsticker-treeview-update, newsticker-treeview):
8410 Call newsticker--treeview-tree-update if necessary.
8411
8412 2011-10-30 Martin Rudalics <rudalics@gmx.at>
8413
8414 * window.el (window-iso-combination-p, window-iso-combined-p)
8415 (window-iso-combinations): Remove "iso-" infix.
8416 Suggested by Chong Yidong.
8417 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
8418 (window-max-delta-1, window-resize, window--resize-siblings)
8419 (window--resize-this-window, adjust-window-trailing-edge)
8420 (split-window, balance-windows-1)
8421 (shrink-window-if-larger-than-buffer):
8422 * calendar/calendar.el (calendar-generate-window):
8423 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
8424
8425 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
8426
8427 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
8428 in place (bug#9907).
8429 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
8430 (eshell-rewrite-if-command, eshell-rewrite-for-command)
8431 (eshell-structure-basic-command, eshell-rewrite-while-command)
8432 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
8433 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
8434 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
8435 (eshell-do-pipelines-synchronously, eshell-eval-command):
8436 Use backquotes and prefer setq to set.
8437 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
8438 (eshell-macrop): Use functionp.
8439 (eshell-do-eval): Handle multiple expressions in `while' body.
8440
8441 2011-10-30 Chong Yidong <cyd@gnu.org>
8442
8443 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
8444 instead of set-mark (Bug#9810).
8445
8446 2011-10-30 Chong Yidong <cyd@gnu.org>
8447
8448 * window.el (split-window-below, split-window-right): Rename from
8449 split-window-above-each-other and split-window-side-by-side
8450 respectively. All callers changed.
8451 (split-window-sensibly, split-window-sensibly): Use them.
8452 (split-window-keep-point): Doc fix.
8453
8454 * isearch.el: Add isearch-scroll property to split-window-below
8455 and split-window-right.
8456
8457 * follow.el (follow-mode):
8458 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
8459 * progmodes/ada-xref.el (ada-gdb-application):
8460 * emulation/vip.el (vip-buffer-in-two-windows):
8461 * image-dired.el (image-dired-dired-with-window-configuration):
8462 * dired-x.el (dired-do-find-marked-files):
8463 * dired.el (dired-pop-to-buffer):
8464 * bs.el (bs--show-with-configuration):
8465 * vc/emerge.el (emerge-setup-windows):
8466 * textmodes/two-column.el (2C-two-columns):
8467 * textmodes/reftex-toc.el (reftex-toc):
8468 * progmodes/gdb-mi.el (gdb-setup-windows):
8469 * progmodes/fortran.el (fortran-window-create):
8470 * net/newst-treeview.el (newsticker--treeview-window-init):
8471 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
8472 * emulation/tpu-edt.el (tpu-gold-map):
8473 * emulation/crisp.el (crisp-mode-map):
8474 * calendar/calendar.el (calendar-basic-setup): Callers changed.
8475
8476 2011-10-29 Chong Yidong <cyd@gnu.org>
8477
8478 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
8479
8480 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
8481
8482 * textmodes/flyspell.el (flyspell-word): Fix char offset for
8483 forged Ispell output (Bug#7904).
8484
8485 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
8486
8487 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
8488
8489 * doc-view.el: Avoid ugly errors about not finding nil.
8490 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
8491 (doc-view-dvipdf-program, doc-view-unoconv-program)
8492 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
8493 Avoid nil or absolute file name as default value.
8494 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
8495
8496 2011-10-28 Alan Mackenzie <acm@muc.de>
8497
8498 * progmodes/cc-defs.el (c-version): -> 5.32.2.
8499
8500 2011-10-28 Alan Mackenzie <acm@muc.de>
8501
8502 Amend the handling of c-beginning/end-of-defun in nested declaration
8503 scopes.
8504
8505 * progmodes/cc-vars.el (c-defun-tactic): Move here from
8506 cc-langs.el. Change it to a defcustom.
8507
8508 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
8509 cc-vars.el.
8510
8511 * progmodes/cc-engine.el (c-beginning-of-statement-1):
8512 Prevent "class foo : bar" being spuriously recognized as a label.
8513
8514 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
8515 Add parameter `inclusive' (to include enclosing braces in the region).
8516 (c-widen-to-enclosing-decl-scope): New function.
8517 (c-while-widening-to-decl-block): New macro.
8518 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
8519 outward for defun boundaries, and correspondingly change symbol
8520 `respect-enclosure' to `go-outward'.
8521 (c-declaration-limits): Change algorithm to report only the "innermost"
8522 defun's boundaries.
8523
8524 2011-10-28 Deniz Dogan <deniz@dogan.se>
8525
8526 * net/rcirc.el (rcirc-mode): Use hard newlines.
8527
8528 2011-10-28 Alan Mackenzie <acm@muc.de>
8529
8530 Amend to indent and fontify macros "which include their own semicolon"
8531 correctly, using the "virtual semicolon" mechanism.
8532
8533 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
8534
8535 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
8536 Recode to scan one line at a time rather than having \n and \r
8537 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
8538 (c-forward-label): Amend for virtual semicolons.
8539 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
8540
8541 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
8542 of the new C macros.
8543
8544 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
8545 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
8546 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
8547 (c-opt-cpp-macro-define): Make into a full language variable.
8548 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
8549 AWK Mode (including \n, \r) removed, no longer needed.
8550
8551 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
8552 Invoke c-make-macro-with-semi-re.
8553
8554 * progmodes/cc-vars.el (c-macro-with-semi-re):
8555 (c-macro-names-with-semicolon): New variables.
8556 (c-make-macro-with-semi-re): New function.
8557
8558 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
8559
8560 * vc/log-edit.el: Fill empty field rather than adding new one.
8561 (log-edit-add-field): New function.
8562 (log-edit-insert-changelog): Use it.
8563
8564 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
8565
8566 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
8567
8568 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
8569
8570 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
8571 (gdb--check-interpreter): New function.
8572 (gdb): Use it.
8573
8574 2011-10-27 Glenn Morris <rgm@gnu.org>
8575
8576 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
8577 (least-positive-float, least-negative-float)
8578 (least-positive-normalized-float, least-negative-normalized-float)
8579 (float-epsilon, float-negative-epsilon):
8580 Remove unnecessary declarations.
8581
8582 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
8583 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
8584 (least-positive-float, least-negative-float)
8585 (least-positive-normalized-float, least-negative-normalized-float)
8586 (float-epsilon, float-negative-epsilon): Add doc-strings,
8587 based on those in cl.texi.
8588
8589 * files.el (set-visited-file-name): If the major-mode changed,
8590 reload the local variables. (Bug#9796)
8591
8592 2011-10-27 Chong Yidong <cyd@gnu.org>
8593
8594 * subr.el (change-major-mode-after-body-hook): New hook.
8595 (run-mode-hooks): Run it.
8596
8597 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
8598 Use change-major-mode-before-body-hook.
8599
8600 * simple.el (fundamental-mode):
8601 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
8602 change introducing fundamental-mode-hook.
8603
8604 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
8605
8606 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
8607
8608 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
8609
8610 * ido.el (ido-file-name-all-completions-1): Do not require
8611 tramp.el explicitly. (Bug#7583)
8612
8613 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
8614
8615 * progmodes/octave-mod.el:
8616 * progmodes/octave-inf.el: Update maintainer.
8617
8618 2011-10-26 Chong Yidong <cyd@gnu.org>
8619
8620 * subr.el (with-wrapper-hook): Rewrite doc.
8621
8622 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
8623
8624 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
8625 filenames "/method:foo:". (Bug#9793)
8626
8627 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
8628
8629 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
8630 (bug#9865).
8631
8632 2011-10-24 Glenn Morris <rgm@gnu.org>
8633
8634 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
8635
8636 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
8637
8638 * notifications.el: Add the requirement of a running D-Bus session
8639 bus to the Commentary.
8640
8641 2011-10-24 Juri Linkov <juri@jurta.org>
8642
8643 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
8644 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
8645 (Bug#9364)
8646
8647 2011-10-24 Juri Linkov <juri@jurta.org>
8648
8649 * info.el (Info-following-node-name-re): Add newline to the list
8650 of allowed characters for leading space. (Bug#9824)
8651
8652 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
8653
8654 * progmodes/octave-inf.el (inferior-octave-mode-map):
8655 Fix C-c C-h binding.
8656 * progmodes/octave-mod.el (octave-help): Remove.
8657
8658 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
8659
8660 Sync with Tramp 2.2.3.
8661
8662 * net/tramp-cache.el (top): Pacify byte-compiler using
8663 `init-file-user' and `site-run-file'.
8664
8665 * net/trampver.el: Update release number.
8666
8667 2011-10-23 Chong Yidong <cyd@gnu.org>
8668
8669 * files.el (toggle-read-only): Remove obsolete comment about
8670 version control.
8671
8672 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
8673 for toggle-read-only. Note that this hasn't called vc-next-action
8674 since 2008-05-02, though it wasn't documented at the time.
8675
8676 * vc/ediff-init.el (ediff-toggle-read-only-function):
8677 Use toggle-read-only.
8678
8679 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
8680
8681 Fix bug #9560, sporadic wrong indentation; improve instrumentation
8682 of c-parse-state.
8683
8684 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
8685 correct faulty logical expression.
8686 (c-parse-state-state, c-record-parse-state-state):
8687 (c-replay-parse-state-state): New defvar/defuns.
8688 (c-debug-parse-state): Use new functions.
8689
8690 2011-10-22 Martin Rudalics <rudalics@gmx.at>
8691
8692 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
8693 last fix. Use window-in-direction correctly.
8694
8695 2011-10-21 Chong Yidong <cyd@gnu.org>
8696
8697 * progmodes/idlwave.el (idlwave-mode):
8698 * progmodes/vera-mode.el (vera-mode): No need to set
8699 require-final-newline; that's done in prog-mode.
8700 Suggested by Stefan Monnier.
8701
8702 2011-10-21 Martin Rudalics <rudalics@gmx.at>
8703
8704 * mouse.el (mouse-drag-window-above)
8705 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
8706 (mouse-drag-mode-line-1, mouse-drag-header-line)
8707 (mouse-drag-vertical-line-rightward-window): Remove.
8708 (mouse-drag-line): New function.
8709 (mouse-drag-mode-line, mouse-drag-header-line)
8710 (mouse-drag-vertical-line): Call mouse-drag-line.
8711 * window.el (window-at-side-p, windows-at-side): New functions.
8712
8713 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
8714
8715 * tar-mode.el (tar-grind-file-mode):
8716 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
8717
8718 2011-10-21 Chong Yidong <cyd@gnu.org>
8719
8720 * progmodes/idlwave.el (idlwave-mode):
8721 * progmodes/vera-mode.el (vera-mode):
8722 Use mode-require-final-newline.
8723
8724 2011-10-20 Glenn Morris <rgm@gnu.org>
8725
8726 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
8727
8728 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
8729
8730 * emulation/cua-base.el (cua-set-mark): Fix case of string.
8731
8732 2011-10-20 Chong Yidong <cyd@gnu.org>
8733
8734 * emulation/cua-base.el (cua-mode):
8735 * mail/footnote.el (footnote-mode):
8736 * mail/mailabbrev.el (mail-abbrevs-mode):
8737 * net/xesam.el (xesam-minor-mode):
8738 * progmodes/bug-reference.el (bug-reference-mode):
8739 * progmodes/cap-words.el (capitalized-words-mode):
8740 * progmodes/compile.el (compilation-minor-mode)
8741 (compilation-shell-minor-mode):
8742 * progmodes/gud.el (gud-tooltip-mode):
8743 * progmodes/hideif.el (hide-ifdef-mode):
8744 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
8745 * progmodes/subword.el (subword-mode):
8746 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
8747 * progmodes/which-func.el (which-function-mode):
8748 * term/tvi970.el (tvi970-set-keypad-mode):
8749 * term/vt100.el (vt100-wide-mode):
8750 * textmodes/flyspell.el (flyspell-mode):
8751 * textmodes/ispell.el (ispell-minor-mode):
8752 * textmodes/nroff-mode.el (nroff-electric-mode):
8753 * textmodes/paragraphs.el (use-hard-newlines):
8754 * textmodes/refill.el (refill-mode):
8755 * textmodes/reftex.el (reftex-mode):
8756 * textmodes/rst.el (rst-minor-mode):
8757 * textmodes/sgml-mode.el (html-autoview-mode)
8758 (sgml-electric-tag-pair-mode):
8759 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
8760 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
8761 * emulation/crisp.el (crisp-mode):
8762 * emacs-lisp/eldoc.el (eldoc-mode):
8763 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
8764 minor mode behavior.
8765
8766 2011-10-19 Juri Linkov <juri@jurta.org>
8767
8768 * descr-text.el (describe-char): Add #x2010 and #x2011 to
8769 the list of hard-coded chars with escape-glyph face.
8770
8771 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
8772
8773 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
8774
8775 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
8776
8777 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
8778 running process.
8779
8780 2011-10-19 Glenn Morris <rgm@gnu.org>
8781
8782 * vc/vc-bzr.el (vc-bzr-after-dir-status):
8783 Ignore ignored files. (Bug#9726)
8784
8785 2011-10-19 Chong Yidong <cyd@gnu.org>
8786
8787 Doc fix for minor modes, stating that an omitted argument enables
8788 the mode unconditionally when called from Lisp.
8789
8790 * abbrev.el (abbrev-mode):
8791 * allout.el (allout-mode):
8792 * autoinsert.el (auto-insert-mode):
8793 * autoarg.el (autoarg-mode, autoarg-kp-mode):
8794 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
8795 (global-auto-revert-mode):
8796 * battery.el (display-battery-mode):
8797 * composite.el (global-auto-composition-mode)
8798 (auto-composition-mode):
8799 * delsel.el (delete-selection-mode):
8800 * desktop.el (desktop-save-mode):
8801 * dired-x.el (dired-omit-mode):
8802 * dirtrack.el (dirtrack-mode):
8803 * doc-view.el (doc-view-minor-mode):
8804 * double.el (double-mode):
8805 * electric.el (electric-indent-mode, electric-pair-mode):
8806 * emacs-lock.el (emacs-lock-mode):
8807 * epa-hook.el (auto-encryption-mode):
8808 * follow.el (follow-mode):
8809 * font-core.el (font-lock-mode):
8810 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
8811 * help.el (temp-buffer-resize-mode):
8812 * hilit-chg.el (highlight-changes-mode)
8813 (highlight-changes-visible-mode):
8814 * hi-lock.el (hi-lock-mode):
8815 * hl-line.el (hl-line-mode, global-hl-line-mode):
8816 * icomplete.el (icomplete-mode):
8817 * ido.el (ido-everywhere):
8818 * image-file.el (auto-image-file-mode):
8819 * image-mode.el (image-minor-mode):
8820 * iswitchb.el (iswitchb-mode):
8821 * jka-cmpr-hook.el (auto-compression-mode):
8822 * linum.el (linum-mode):
8823 * longlines.el (longlines-mode):
8824 * master.el (master-mode):
8825 * mb-depth.el (minibuffer-depth-indicate-mode):
8826 * menu-bar.el (menu-bar-mode):
8827 * minibuf-eldef.el (minibuffer-electric-default-mode):
8828 * mouse-sel.el (mouse-sel-mode):
8829 * msb.el (msb-mode):
8830 * mwheel.el (mouse-wheel-mode):
8831 * outline.el (outline-minor-mode):
8832 * paren.el (show-paren-mode):
8833 * recentf.el (recentf-mode):
8834 * reveal.el (reveal-mode, global-reveal-mode):
8835 * rfn-eshadow.el (file-name-shadow-mode):
8836 * ruler-mode.el (ruler-mode):
8837 * savehist.el (savehist-mode):
8838 * scroll-all.el (scroll-all-mode):
8839 * scroll-bar.el (scroll-bar-mode):
8840 * server.el (server-mode):
8841 * shell.el (shell-dirtrack-mode):
8842 * simple.el (auto-fill-mode, transient-mark-mode)
8843 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
8844 (line-number-mode, column-number-mode, size-indication-mode)
8845 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
8846 * strokes.el (strokes-mode):
8847 * time.el (display-time-mode):
8848 * t-mouse.el (gpm-mouse-mode):
8849 * tool-bar.el (tool-bar-mode):
8850 * tooltip.el (tooltip-mode):
8851 * type-break.el (type-break-mode-line-message-mode)
8852 (type-break-query-mode):
8853 * view.el (view-mode):
8854 * whitespace.el (whitespace-mode, whitespace-newline-mode)
8855 (global-whitespace-mode, global-whitespace-newline-mode):
8856 * xt-mouse.el (xterm-mouse-mode): Doc fix.
8857
8858 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
8859 Fix autogenerated docstring.
8860
8861 2011-10-19 Juri Linkov <juri@jurta.org>
8862
8863 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
8864 by checking environment variables "DESKTOP_SESSION" and
8865 "XDG_CURRENT_DESKTOP". (Bug#9779)
8866
8867 2011-10-19 Juri Linkov <juri@jurta.org>
8868
8869 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
8870 (browse-url-chromium-program, browse-url-chromium-arguments):
8871 New defcustoms.
8872 (browse-url-default-browser): Check for `browse-url-chromium' and
8873 call `browse-url-chromium-program'.
8874 (browse-url-chromium): New command. (Bug#9779)
8875
8876 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
8877
8878 * facemenu.el (list-colors-duplicates): On Windows, detect more
8879 duplicates by assuming that only colors matching "^System" are
8880 special "system colors". (Bug#9722)
8881
8882 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
8883
8884 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
8885 to distinguish the author from the committer.
8886
8887 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
8888
8889 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
8890
8891 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
8892
8893 * international/mule.el (sgml-html-meta-auto-coding-function):
8894 Add support for detecting encoding in HTML5 specified only as
8895 <meta charset="UTF-8">. Implementation just makes http-equiv and
8896 content-type parts from HTML4 encoding string optional. (Bug#9716)
8897
8898 2011-10-18 Glenn Morris <rgm@gnu.org>
8899
8900 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
8901
8902 2011-10-18 Chong Yidong <cyd@gnu.org>
8903
8904 * faces.el (cursor): Doc fix.
8905
8906 2011-10-17 Chong Yidong <cyd@gnu.org>
8907
8908 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
8909
8910 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
8911
8912 * dirtrack.el (dirtrack): Support shell buffers with path
8913 prefixes, e.g. tramp-based remote shells. (Bug#9647)
8914
8915 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
8916
8917 * json.el: Bump version to 1.3 and note change in History.
8918 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
8919
8920 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
8921
8922 * comint.el (comint-insert-input, comint-send-input)
8923 (comint-get-old-input-default, comint-backward-matching-input)
8924 (comint-next-prompt): Use nil instead of `input' for field property of
8925 past user input (bug#114).
8926
8927 * minibuffer.el (completion--replace): Inherit surrounding properties
8928 (bug#114).
8929 (minibuffer-complete-and-exit): Use it.
8930
8931 * comint.el (comint--table-subvert): Quote the all-completions output
8932 (bug#9160).
8933
8934 2011-10-17 Martin Rudalics <rudalics@gmx.at>
8935
8936 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
8937
8938 * menu-bar.el (menu-bar-file-menu): Add entry for making new
8939 window on right of selected. (Bug#9350) Reword other window
8940 entries and separate them from frame entries.
8941
8942 2011-10-15 Glenn Morris <rgm@gnu.org>
8943
8944 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
8945 Doc fixes.
8946
8947 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
8948
8949 * net/network-stream.el (network-stream-open-starttls):
8950 Improve detection of failure due to lack of TLS support.
8951
8952 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
8953 putting the input text in front and in bold.
8954
8955 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
8956
8957 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
8958
8959 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
8960 empty buffer.
8961
8962 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
8963 unread-command-events rather than pushing yet-another event.
8964
8965 2011-10-14 Eli Zaretskii <eliz@gnu.org>
8966
8967 * mail/sendmail.el (sendmail-query-once): Improve the wording of
8968 the explanation of the possible choices. Make the options passed
8969 to completing-read shorter.
8970
8971 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8972
8973 * textmodes/flyspell.el (flyspell-large-region): Make sure
8974 extended character mode is used if defined (Bug#1339).
8975
8976 2011-10-13 Eli Zaretskii <eliz@gnu.org>
8977
8978 * simple.el (what-cursor-position): Fix the display of the
8979 character info for LRE, LRO, RLE, and RLO characters by appending
8980 an invisible PDF.
8981
8982 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
8983
8984 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
8985 even in case of error; add debug spec; simplify data flow.
8986 (with-timeout-handler): Remove.
8987
8988 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
8989
8990 Fix Bug#6019, Bug#9315.
8991
8992 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
8993 complete `buffer-file-name', the local file name part could look
8994 remotely (for example on VMS).
8995
8996 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
8997 `tramp-run-real-handler'.
8998 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
8999 already quoted by '"'.
9000
9001 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
9002 Let `file-name-handler-alist' be nil, the local file name part
9003 could look remotely (for example on VMS).
9004
9005 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
9006
9007 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
9008 from here...
9009 (flyspell-post-command-hook): ...to here.
9010
9011 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
9012
9013 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
9014 if not needed.
9015 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
9016 using completion. Protect against "slow" callers.
9017 Remove the "message hack".
9018
9019 2011-10-11 Juri Linkov <juri@jurta.org>
9020
9021 * isearch.el (isearch-lazy-highlight-word): New variable.
9022 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
9023 Use it. (Bug#9727)
9024
9025 2011-10-11 Glenn Morris <rgm@gnu.org>
9026
9027 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
9028 like f90-previous-statement does.
9029
9030 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9031
9032 * eshell/eshell.el (eshell-command): History should be saved
9033 only in interactive use, to avoid error.
9034
9035 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
9036
9037 * minibuffer.el (completion-file-name-table): Fix last change,
9038 i.e. ignore normal errors but not the other ones.
9039
9040 2011-10-10 Martin Rudalics <rudalics@gmx.at>
9041
9042 * window.el (special-display-buffer-names)
9043 (special-display-regexps): Remove some remnants of earlier
9044 changes from doc-strings.
9045 (quit-windows-on): New function.
9046
9047 * vc/vc.el (vc-revert, vc-rollback):
9048 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
9049 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9050 (Bug#6183) (Bug#7074) (Bug#7447)
9051
9052 2011-10-09 Martin Rudalics <rudalics@gmx.at>
9053
9054 * window.el (frame-auto-hide-function): Add version tag.
9055 (Bug#9699)
9056
9057 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
9058
9059 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
9060 condition.
9061
9062 2011-10-09 Leo Liu <sdl.web@gmail.com>
9063
9064 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
9065 (Bug#9701)
9066
9067 2011-10-08 Glenn Morris <rgm@gnu.org>
9068
9069 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
9070 before the first code statement zero indent. (Bug#9690)
9071
9072 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
9073
9074 * simple.el (count-words-region): Always count in the region.
9075 Report the number of lines and characters too.
9076 (count-words): New command, which counts in the buffer if the
9077 region is inactive, as count-words-region used to.
9078 (count-words--message): New function. Handle plurals.
9079 (count-lines-region): Make it an alias for count-words-region.
9080
9081 * bindings.el (esc-map): Replace count-lines-region with
9082 count-words-region.
9083
9084 2011-10-08 Martin Rudalics <rudalics@gmx.at>
9085
9086 * window.el (window--delete): Delete dedicated frame
9087 unconditionally when argument KILL is non-nil. (Bug#9699)
9088 (switch-to-buffer): Fix doc-string typo.
9089
9090 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9091
9092 * eshell/eshell.el (eshell-command): Avoid using hooks.
9093
9094 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
9095
9096 * bindings.el ([M-left],[M-right]): Bind to left-word and
9097 right-word respectively.
9098
9099 2011-10-07 Glenn Morris <rgm@gnu.org>
9100
9101 * cus-start.el (debug-on-quit): Fix custom type.
9102
9103 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
9104
9105 * subr.el (define-key-after): Clarify that the function is not
9106 useful for non-menu keymaps.
9107
9108 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
9109
9110 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9111
9112 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
9113 in current minibuffer (Fix bug with recursive minibuffers).
9114
9115 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
9116
9117 * progmodes/gdb-mi.el (gdb): Doc fix.
9118
9119 2011-10-05 Martin Rudalics <rudalics@gmx.at>
9120
9121 * window.el (frame-auto-hide-function): New option replacing
9122 frame-auto-delete. Suggested by Stefan Monnier.
9123 (window--delete): Call frame-auto-hide-function instead of
9124 investigating frame-auto-delete.
9125 (window-point-1, set-window-point-1): New functions.
9126 (window-in-direction, record-window-buffer, window-state-get-1)
9127 (display-buffer-record-window): Use window-point-1 instead of
9128 window-point.
9129 (set-window-buffer-start-and-point): Use set-window-point-1.
9130
9131 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
9132
9133 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
9134
9135 2011-10-05 Glenn Morris <rgm@gnu.org>
9136
9137 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
9138 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
9139
9140 2011-10-05 Leo Liu <sdl.web@gmail.com>
9141
9142 * subr.el (read-char-choice): Fix argument to buffer-live-p which
9143 works with buffer object.
9144
9145 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
9146
9147 * mpc.el (mpc-tool-bar-map): Add labels.
9148
9149 2011-10-04 Glenn Morris <rgm@gnu.org>
9150
9151 * calendar/holidays.el (calendar-check-holidays): Doc fix.
9152
9153 2011-10-04 Martin Rudalics <rudalics@gmx.at>
9154
9155 * window.el (window--delete): New function.
9156 (frame-auto-delete): Resuscitate option.
9157 (bury-buffer, replace-buffer-in-windows)
9158 (quit-window): Rewrite using window--delete.
9159 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
9160 Pass display-buffer-mark-dedicated to window--display-buffer-2
9161 (Bug#9639).
9162
9163 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
9164
9165 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
9166 returns a list (bug#9554). Add remote file name completion.
9167 * comint.el (comint--table-subvert): Curry and get quote&unquote
9168 functions as arguments.
9169 (comint--complete-file-name-data): Adjust call accordingly.
9170 * pcomplete.el (pcomplete--table-subvert): Remove.
9171 (pcomplete-completions-at-point): Use comint--table-subvert instead.
9172
9173 * minibuffer.el (completion-table-case-fold): Use currying.
9174 (completion--styles-type, completion--cycling-threshold-type):
9175 New constants.
9176 (completion-styles, completion-category-overrides)
9177 (completion-cycle-threshold): Use them.
9178 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
9179 completion-table-case-fold.
9180
9181 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
9182
9183 * minibuffer.el (completion-category-overrides): Fix type of styles
9184 and add more user friendly tags (bug#9660).
9185
9186 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
9187
9188 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
9189 (mule-input-method-string): New widget.
9190 (default-input-method, language-info-custom-alist): Use it.
9191
9192 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
9193
9194 * pcomplete.el: Require comint.
9195 (pcomplete--common-suffix): Remove.
9196 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
9197 (pcomplete--table-subvert): Sync with comint--table-subvert.
9198 (pcomplete--entries): Use comint-completion-file-name-table.
9199 * comint.el (comint-unquote-filename): Simplify.
9200 (comint-completion-file-name-table): New function (bug#9616).
9201 (comint--complete-file-name-data): Use it.
9202
9203 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
9204 (pcmpl-gnu-tar-buffer): Remove.
9205 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9206 around. Make sure pcomplete-suffix-list is only changed temporarily.
9207 Don't look inside the tar's file if it's too large.
9208
9209 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
9210
9211 * cus-edit.el (custom-mode-map):
9212 * epa.el (epa-key-list-mode-map):
9213 * man.el (Man-mode-map):
9214 * startup.el (splash-screen-keymap):
9215 * simple.el (special-mode-map): Use scroll-up-command and
9216 scroll-down-command.
9217
9218 * progmodes/idlw-help.el (idlwave-help-mode-map):
9219 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
9220 * net/newst-plainview.el (newsticker-mode-map):
9221 * emulation/ws-mode.el (wordstar-mode-map):
9222 * emulation/vi.el (vi-com-map):
9223 * calc/calc-graph.el (calc-graph-show-dumb):
9224 * term/sun.el (terminal-init-sun):
9225 * term/ns-win.el (global-map):
9226 * progmodes/grep.el (grep-mode-map):
9227 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
9228 * mail/rmail.el (rmail-mode-map):
9229 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
9230
9231 * custom.el (custom-safe-themes, load-theme): Treat value of t for
9232 custom-safe-themes as special.
9233
9234 2011-10-01 Julien Danjou <julien@danjou.info>
9235
9236 * notifications.el (notifications-notify): Fix docstring.
9237
9238 2011-10-01 Per Starbäck <per@starback.se>
9239
9240 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
9241
9242 2011-09-30 Martin Rudalics <rudalics@gmx.at>
9243
9244 * startup.el (command-line-1): Fix last fix by inserting
9245 initial-scratch-message into *scratch* before displaying it.
9246 (Bug#9605) and (Bug#9636)
9247
9248 2011-09-29 Eli Zaretskii <eliz@gnu.org>
9249
9250 * simple.el (line-move): If auto-hscroll-mode is disabled and the
9251 window is hscrolled, move by logical lines. (Bug#9607)
9252 (line-move-visual): Update the doc string to the above effect.
9253
9254 2011-09-29 Martin Rudalics <rudalics@gmx.at>
9255
9256 * window.el (display-buffer-record-window): When WINDOW is the
9257 selected window use `point' instead of `window-point'. (Bug#9626)
9258
9259 * startup.el (command-line-1): Use insert-before-markers when
9260 inserting initial-scratch-message. (Bug#9605)
9261
9262 * help.el (help-window): Remove variable.
9263
9264 2011-09-29 Glenn Morris <rgm@gnu.org>
9265
9266 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
9267
9268 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
9269
9270 * descr-text.el (describe-char-categories): Accept category
9271 descriptions more than one line long.
9272
9273 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
9274
9275 * simple.el (delete-trailing-whitespace): Fix last change.
9276
9277 * progmodes/perl-mode.el (perl-syntax-propertize-function):
9278 Don't confuse "y => 3" as the beginning of a `y' operation.
9279
9280 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
9281 object has more than 4 slots (bug#9613).
9282
9283 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
9284
9285 * subr.el (with-output-to-temp-buffer):
9286 * net/quickurl.el (quickurl, quickurl-browse-url):
9287 Fix typos in docstrings.
9288
9289 2011-09-27 Eli Zaretskii <eliz@gnu.org>
9290
9291 * minibuffer.el (completion-styles)
9292 (completion-category-overrides): Cross reference each other in doc
9293 strings.
9294
9295 2011-09-27 Glenn Morris <rgm@gnu.org>
9296
9297 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
9298 to split-string. (Bug#9606)
9299
9300 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
9301
9302 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
9303 (bug#9615).
9304
9305 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
9306
9307 * emacs-lisp/package.el (list-packages): Fix echo area message.
9308
9309 2011-09-27 Leo Liu <sdl.web@gmail.com>
9310
9311 * ido.el (ido-read-internal): Accept cons cell HIST arg.
9312
9313 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
9314
9315 * net/dbus.el (dbus-unregister-object): Don't release services for
9316 registered signals. (Bug#9581)
9317
9318 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
9319
9320 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
9321 function that picks between cfengine 2 and 3 support
9322 automatically. Update docs accordingly.
9323
9324 2011-09-22 Kenichi Handa <handa@m17n.org>
9325
9326 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
9327 ZERO.
9328 (indian-itrans-v5-table-for-tamil): New variable.
9329 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
9330
9331 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
9332
9333 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
9334 that's true if the current command involved collapsing of text.
9335 It's reset to false at the beginning of the next command.
9336 (allout-post-command-business): Move the cursor to the beginning
9337 of entry if the cursor is hidden and collapsing activity just
9338 happened.
9339
9340 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
9341
9342 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
9343 tracking (Bug#9541).
9344
9345 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
9346
9347 * net/newst-reader.el (newsticker-html-renderer)
9348 (newsticker-show-news): Automatically load html rendering package
9349 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
9350 because w3m-fill-column is let-bound" and the error "Symbol's value
9351 as variable is void: w3m-fill-column".
9352
9353 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
9354
9355 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
9356 Release services only if they are defined. (Bug#9581)
9357
9358 2011-09-23 Richard Stallman <rms@gnu.org>
9359
9360 * textmodes/paragraphs.el (forward-sentence): For backwards case,
9361 distinguish start of paragraph from start of its text.
9362
9363 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
9364
9365 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
9366 (rmail-generate-viewer-buffer): Put that hook on view buffer.
9367 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
9368
9369 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
9370
9371 * international/mule-diag.el (mule-diag): Insert a newline after
9372 each fontset description.
9373
9374 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
9375
9376 * simple.el (delete-trailing-whitespace):
9377 Document last change; simplify.
9378
9379 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
9380
9381 * simple.el (delete-trailing-whitespace): Also delete
9382 extra newlines at the end of the buffer.
9383
9384 * textmodes/picture.el: Make motion commands obey shift-select-mode.
9385 (picture-newline): Use forward-line so as to ignore fields.
9386
9387 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
9388
9389 * subr.el (with-wrapper-hook): Fix edebug spec.
9390
9391 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
9392
9393 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
9394 (bug#4538).
9395
9396 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
9397
9398 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
9399 Fix nasty bug using wrong cached values.
9400
9401 2011-09-23 Alan Mackenzie <acm@muc.de>
9402
9403 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
9404
9405 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
9406
9407 * window.el (pop-to-buffer): Ensure right window is selected if we
9408 chose another frame.
9409
9410 2011-09-22 Eli Zaretskii <eliz@gnu.org>
9411
9412 * simple.el (what-cursor-position): Use get-char-property-change
9413 and next-single-char-property-change, to be able to show display
9414 properties that come from overlays as well as text properties.
9415
9416 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
9417
9418 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
9419
9420 * cmuscheme.el (run-scheme, switch-to-scheme):
9421 * cus-edit.el (customize-group, custom-buffer-create)
9422 (customize-browse):
9423 * info.el (info):
9424 * shell.el (shell):
9425 * mail/sendmail.el (mail):
9426 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
9427
9428 2011-09-22 Richard Stallman <rms@gnu.org>
9429
9430 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
9431 move back only to line beg, don't move back over blank lines.
9432
9433 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
9434
9435 * files.el (copy-directory): Set directory attributes only in case
9436 they could be retrieved from the source directory. (Bug#9565)
9437
9438 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
9439
9440 * progmodes/hideshow.el (hs-looking-at-block-start-p)
9441 (hs-find-block-beginning, hs-hide-level-recursive):
9442 Ignore strings as well as comments. (Bug#9502)
9443
9444 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
9445
9446 * progmodes/sql.el (sql-comint-postgres):
9447 Convert port number to a string. (Bug#9566)
9448
9449 2011-09-22 Martin Rudalics <rudalics@gmx.at>
9450
9451 * window.el (quit-window): Undedicate window when switching to
9452 previous buffer. Reported by Thierry Volpiatto
9453 <thierry.volpiatto@gmail.com>.
9454 (special-display-popup-frame): When popping up a new frame reset
9455 its previous buffers to nil. Simplify code.
9456
9457 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
9458
9459 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
9460 and process filter, as done also in `shell-command'.
9461
9462 2011-09-21 Martin Rudalics <rudalics@gmx.at>
9463
9464 * window.el (set-window-buffer-start-and-point):
9465 Call set-window-start with NOFORCE argument t.
9466 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
9467 (quit-window): Reword doc-string. Handle new format of
9468 quit-restore parameter. Don't delete window if it has a
9469 previous buffer we can show instead of the present one.
9470 (display-buffer-record-window): Rewrite using a new format for
9471 the quit-restore window parameter
9472 (special-display-popup-frame, display-buffer-same-window)
9473 (display-buffer-reuse-window, display-buffer-pop-up-frame)
9474 (display-buffer-pop-up-window, display-buffer-use-some-window):
9475 Adapt symbol passed to display-buffer-record-window.
9476 * help.el (help-window-setup): Handle new format of quit-restore
9477 parameter.
9478
9479 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
9480
9481 * faces.el (face-list): Fix docstring (bug#9564).
9482
9483 * window.el (display-buffer--action-function-custom-type):
9484 Don't include internal functions in the Custom interface.
9485
9486 2011-09-20 Juri Linkov <juri@jurta.org>
9487
9488 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
9489 (Info-forward-node, Info-backward-node, Info-next-preorder)
9490 (Info-last-preorder): Use it. (Bug#9528)
9491
9492 2011-09-20 Juri Linkov <juri@jurta.org>
9493
9494 * info.el (Info-last-preorder): Visit last menu item only when
9495 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
9496
9497 2011-09-20 Julien Danjou <julien@danjou.info>
9498
9499 * password-cache.el (password-cache-remove): Remove entries even if the
9500 value is nil, so that password with a nil value (negative caching) is
9501 possible to invalidate.
9502
9503 2011-09-20 Lawrence Mitchell <wence@gmx.li>
9504
9505 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
9506 all whitespace around breakpoint. (Bug#9553)
9507 (f90-find-breakpoint): Only break at whitespace inside a comment.
9508
9509 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
9510
9511 * minibuffer.el (completion-file-name-table): Keep track of errors.
9512 (completion-table-with-predicate): Handle the case where pred1 is nil.
9513 * pcomplete.el (pcomplete-completions-at-point): Simplify.
9514
9515 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
9516
9517 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
9518 (debugger-return-value): Signal an error if the debugging context does
9519 not await any return value.
9520
9521 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
9522 * image-mode.el (image-toggle-display-text)
9523 (image-toggle-display-image): Stay away from evil `intangible'.
9524
9525 2011-09-19 Leo Liu <sdl.web@gmail.com>
9526
9527 * replace.el (occur-revert-arguments): Make it permanent-local.
9528 (occur-mode): Don't call font-lock-defontify.
9529
9530 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
9531
9532 * net/ldap.el (ldap-search-internal): Don't push empty search
9533 result (Bug#9508).
9534
9535 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
9536
9537 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
9538
9539 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
9540
9541 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
9542 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
9543
9544 2011-09-18 Juri Linkov <juri@jurta.org>
9545
9546 * buff-menu.el (Buffer-menu-mode-map):
9547 * dired.el (dired-mode-map):
9548 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
9549 (lisp-interaction-mode-map):
9550 * emacs-lisp/package.el (package-menu-mode-map):
9551 * epa.el (epa-key-list-mode-map):
9552 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
9553 (menu-bar-options-menu):
9554 * outline.el (outline-mode-menu-bar-map):
9555 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
9556 * vc/vc-dir.el (vc-dir-menu-map):
9557 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
9558 Capitalize non-function content words in menu item strings.
9559
9560 * dired.el (dired-mode-map): Add menu item for
9561 `image-dired-dired-toggle-marked-thumbs'.
9562
9563 2011-09-18 Juri Linkov <juri@jurta.org>
9564
9565 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
9566 to `isearch-case-fold-search' and restore its original value
9567 after the `isearch-mode' call.
9568
9569 2011-09-18 Juri Linkov <juri@jurta.org>
9570
9571 * progmodes/grep.el (grep-process-setup): Don't check code for 1
9572 because `zgrep' returns 1 for successful matches (bug#9226).
9573
9574 2011-09-18 Juri Linkov <juri@jurta.org>
9575
9576 * info.el (Info-extract-menu-node-name): Check the second match
9577 for empty string (second test-case of bug#9528).
9578 (Info-last-preorder): Let-bind `Info-history' to nil to not add
9579 intermediate nodes to the history (first test-case of bug#9528).
9580
9581 2011-09-18 Juri Linkov <juri@jurta.org>
9582
9583 * info.el (Info-mode-syntax-table): New variable.
9584 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
9585
9586 2011-09-18 Juri Linkov <juri@jurta.org>
9587
9588 * info.el (Info-file-supports-index-cookies):
9589 Increment line-beginning-position's arg from 3 to 4 because makeinfo
9590 outputs one more line for long file names (bug#4142).
9591
9592 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
9593
9594 * newcomment.el (comment-normalize-vars): If prompting for
9595 comment-start, set comment-start-skip too (Bug#8424).
9596
9597 2011-09-18 Johan Bockgård <bojohan@gnu.org>
9598
9599 * icomplete.el: Fix previous fix of Bug#5849.
9600 (icomplete-mode): Don't set completion-show-inline-help.
9601 (icomplete-minibuffer-setup): Set completion-show-inline-help
9602 locally during icompletion.
9603
9604 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
9605
9606 * woman.el (woman2-process-escapes): Don't delete unrecognized
9607 escapes (Bug#7843).
9608
9609 * files.el (inhibit-first-line-modes-regexps): Add image files.
9610 (hack-local-variables-prop-line): Return nil for malformed
9611 prop-lines (Bug#9044).
9612
9613 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
9614
9615 * net/tramp.el (top): Don't require 'shell.
9616 (tramp-methods): Fix docstring.
9617 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
9618 Return complete remote file name. Handle "smb" case.
9619 Use `tramp-tmpdir', if defined for the respective method.
9620 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
9621
9622 * net/tramp-compat.el (top): Require 'shell.
9623
9624 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
9625 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
9626 `tramp-current-host'.
9627 (tramp-get-remote-tmpdir): Remove.
9628
9629 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
9630 `tramp-tmpdir' entries.
9631 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
9632 (tramp-smb-handle-file-attributes): Ignore errors.
9633 (tramp-smb-wait-for-output): Check also for process end.
9634
9635 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
9636
9637 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
9638 when sending QUIT (bug#9312).
9639
9640 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
9641
9642 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
9643 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
9644 occur-mode-display-occurrence.
9645 (occur-edit-mode): Add usage message.
9646 (occur-cease-edit): New command.
9647 (occur-after-change-function): Use text properties to find the
9648 position of the prefix text.
9649 (occur-engine): Set stickiness of prefix text properties.
9650
9651 2011-09-17 Glenn Morris <rgm@gnu.org>
9652
9653 * progmodes/etags.el (complete-tag):
9654 Fix call to completion-in-region. (Bug#9526)
9655
9656 2011-09-17 Juri Linkov <juri@jurta.org>
9657
9658 * textmodes/ispell.el (ispell-word): Add to the error message
9659 the word, ispell program name and current dictionary (bug#9121).
9660 (ispell-tex-arg-end): Capitalize "error" in the error message.
9661
9662 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
9663
9664 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
9665 check. (Bug#4251)
9666
9667 2011-09-17 Juri Linkov <juri@jurta.org>
9668
9669 * window.el (window-safe-min-height, window-safe-min-width):
9670 Fix typos (followup to bug#9522).
9671
9672 2011-09-17 Sven Joachim <svenjoac@gmx.de>
9673
9674 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
9675
9676 2011-09-16 Eli Zaretskii <eliz@gnu.org>
9677
9678 * simple.el (line-move): If goal-column is set, move by logical
9679 lines, not by display lines. (Bug#971)
9680 (next-line, previous-line, goal-column, line-move-visual): Doc fix
9681 to reflect the above change.
9682
9683 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
9684
9685 * image.el (imagemagick-register-types): Use regexp-opt.
9686
9687 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
9688
9689 * window.el (display-buffer-base-action): Rename from
9690 display-buffer-default-action. Make default value empty.
9691 (display-buffer-overriding-action): Convert to defvar.
9692 (display-buffer-fallback-action): New var.
9693
9694 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
9695
9696 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
9697 declaration.
9698 (package--add-to-archive-contents): If there is a duplicate entry
9699 with an older version, remove it.
9700 (package-menu-mark-delete, package-menu-mark-install)
9701 (package-menu-mark-unmark): Make unused args optional.
9702 (package-menu-mark-obsolete-for-deletion):
9703 Use package-menu-get-status instead of a regexp search.
9704 (package-menu-get-status): Use tabulated-list-entry.
9705 (package-menu-mark-upgrades): New command.
9706 (package-menu-mode-map): Bind it to U. Add it to menu bar.
9707 (package-menu-execute): Do installation before deletion.
9708 (package-menu-refresh, package-menu-execute): Use derived-mode-p
9709 instead of checking major-mode.
9710 (package-menu--find-upgrades): New function.
9711
9712 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
9713
9714 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
9715 passwords in the log buffer.
9716 (smtpmail-process-filter): Update the process marker so that the
9717 "broken by peer" status message is inserted in the right place.
9718
9719 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
9720
9721 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
9722 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
9723 bibtex-completion-at-point-function.
9724 (bibtex-completion-at-point-function): Use them.
9725
9726 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
9727
9728 * mpc.el (mpc-constraints-tag-lookup): New function.
9729 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
9730 also to browser "album|playlist".
9731
9732 2011-09-14 Juri Linkov <juri@jurta.org>
9733
9734 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
9735 (isearch-edit-string): Use length of `isearch-string' when
9736 `isearch-fail-pos' returns nil.
9737 (isearch-message): Remove duplicate code and call
9738 `isearch-fail-pos' with arg `t'.
9739
9740 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
9741
9742 * replace.el (occur-mode-goto-occurrence): Don't force using other
9743 window (Bug#9499).
9744
9745 * dired-aux.el (dired-do-chmod): Don't provide initial input.
9746
9747 2011-09-14 Martin Rudalics <rudalics@gmx.at>
9748
9749 * window.el (display-buffer-window): Remove.
9750 (display-buffer-record-window): Use help-setup window parameter
9751 instead of variable display-buffer-window.
9752 (display-buffer-function, special-display-buffer-names)
9753 (special-display-function): Mention help-setup parameter instead
9754 of display-buffer-window in doc-string.
9755 * help.el (help-window-setup): New argument help-window.
9756 Use help-window-setup parameter instead of display-buffer-window.
9757 Reword some messages.
9758 (with-help-window): Pass window used for displaying the buffer
9759 to help-window-setup. Don't set display-buffer-window.
9760
9761 2011-09-13 Glenn Morris <rgm@gnu.org>
9762
9763 * emacs-lisp/debug.el (debugger-make-xrefs):
9764 Preserve point. (Bug#9462)
9765
9766 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
9767
9768 * window.el (window-deletable-p): Use next-frame.
9769
9770 2011-09-13 Martin Rudalics <rudalics@gmx.at>
9771
9772 * window.el (window-auto-delete): Remove.
9773 (window-deletable-p): Remove argument FORCE. Don't deal with
9774 dedication and previous buffers.
9775 (switch-to-prev-buffer): Don't delete window.
9776 (delete-windows-on): Delete a window's frame if and only if the
9777 window is dedicated.
9778 (replace-buffer-in-windows): Delete buffer's window or frame if
9779 and only if window is dedicated.
9780 (quit-window): Handle quit-restore as before last change.
9781 (bury-buffer): Delete window only if window-deletable-p returns t.
9782
9783 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
9784
9785 * window.el (window-deletable-p): Never delete the last frame on a
9786 given terminal.
9787
9788 2011-09-13 Glenn Morris <rgm@gnu.org>
9789
9790 * help.el (describe-key-briefly): Copy previous standard-output change.
9791
9792 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
9793
9794 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
9795
9796 2011-09-13 Glenn Morris <rgm@gnu.org>
9797
9798 * emacs-lisp/lisp-mode.el (lisp-indent-function):
9799 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
9800
9801 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
9802
9803 * dired-aux.el (dired-mark-read-string): Don't return default
9804 value on empty input (Bug#9361).
9805 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
9806 Omit initial minibuffer contents.
9807 (dired-do-chmod): Signal an error on empty input.
9808 (dired-mark-read-string): Don't return default on empty input.
9809
9810 * files.el (file-modes-symbolic-to-number): Doc fix.
9811
9812 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
9813
9814 * international/mule-cmds.el (ucs-completions): Remove.
9815 (read-char-by-name): Use complete-with-action instead; add metadata.
9816
9817 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
9818
9819 * window.el (display-buffer--action-function-custom-type)
9820 (display-buffer--action-custom-type): New vars.
9821 (display-buffer-alist, display-buffer-default-action)
9822 (display-buffer-overriding-action): Add defcustom types.
9823
9824 * frame.el (delete-other-frames): Doc fix (Bug#276).
9825
9826 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9827
9828 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
9829
9830 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
9831
9832 Change modes that used same-window-* vars to use switch-to-buffer.
9833
9834 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
9835 Use switch-to-buffer.
9836
9837 * cus-edit.el (customize-group, custom-buffer-create)
9838 (customize-browse, custom-buffer-create-other-window):
9839 Use switch-to-buffer or switch-to-buffer-other-window.
9840
9841 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
9842 (Info-prev, Info-up, Info-speedbar-goto-node)
9843 (info-display-manual): Use switch-to-buffer.
9844 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
9845
9846 * mail/sendmail.el (mail): Use switch-to-buffer.
9847 (mail-recover): Use switch-to-buffer-other-window.
9848
9849 * cmuscheme.el (run-scheme, switch-to-scheme):
9850 * ielm.el (ielm):
9851 * shell.el (shell):
9852 * net/rlogin.el (rlogin):
9853 * net/telnet.el (telnet, rsh):
9854 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
9855
9856 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
9857
9858 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
9859
9860 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9861
9862 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
9863 so don't mention it (bug#9301).
9864 (dired-sort-toggle-or-edit): Clarify string further.
9865
9866 * faces.el (face-spec-set-match-display): Make `(type graphic)'
9867 match `x', `w32' and `ns', like the manual says (bug#9029).
9868
9869 * subr.el (eval-after-load): Doc string clarification (bug#9125).
9870 (process-kill-buffer-query-function): Mention the buffer name in
9871 the query.
9872
9873 * image-mode.el (image-next-line): The line parameter is mandatory
9874 (bug#9258).
9875
9876 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
9877 which can be useful (bug#9301).
9878
9879 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
9880
9881 * subr.el (match-string): Mention that the current buffer should
9882 be the same as the search was done in (bug#9282).
9883
9884 * facemenu.el: Disable the remove-* commands if the mark isn't
9885 active (bug#9162).
9886
9887 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
9888
9889 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
9890 of display-buffer.
9891 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
9892
9893 * replace.el (occur-mode-goto-occurrence)
9894 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
9895 and display-buffer.
9896
9897 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
9898 display-buffer.
9899
9900 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
9901 special-display and same-window variables.
9902 (mail-other-window): Use switch-to-buffer-other-window.
9903 (mail-other-frame): USe switch-to-buffer-other-frame.
9904
9905 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
9906 Use display-buffer-other-frame.
9907 (gdb-display-gdb-buffer): Use pop-to-buffer.
9908
9909 * progmodes/gud.el (gud-goto-info): Use info-other-window.
9910
9911 * progmodes/python.el: Don't set same-window-buffer-names.
9912
9913 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
9914
9915 * window.el (display-buffer-alist): Add *Python*.
9916
9917 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
9918
9919 * window.el (display-buffer-alist): Add entry for buffers
9920 previously handled same-window-*.
9921 (display-buffer-alist, display-buffer-default-action)
9922 (display-buffer-overriding-action): Mark as risky.
9923 (display-buffer-alist): Document action function changes.
9924 (display-buffer--same-window-action)
9925 (display-buffer--other-frame-action): New variables.
9926 (switch-to-buffer, display-buffer-other-frame): Use them.
9927 (display-buffer): Rename reuse-frame entry to reusable-frames.
9928 (display-buffer-reuse-selected-window): Function deleted.
9929 (display-buffer-reuse-window): Handle reusable-frames alist entry.
9930 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
9931 (display-buffer-special): New function.
9932 (display-buffer--maybe-pop-up-frame-or-window): Rename from
9933 display-buffer-reuse-or-pop-window. Split off special-display
9934 part into display-buffer-special.
9935 (display-buffer-use-some-window): Don't perform any special
9936 pop-up-frames handling.
9937 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
9938 (display-buffer--maybe-same-window): Rename from
9939 display-buffer-maybe-same-window.
9940
9941 * info.el: Don't set same-window-regexps.
9942 (info-setup): New function.
9943 (info-other-window, info): Call it.
9944
9945 * cus-edit.el: Don't set same-window-regexps.
9946 (customize-group): New argument.
9947 (customize-group-other-window): Use it.
9948 (customize-face, customize-face-other-window): Likewise.
9949 (custom-buffer-create-other-window): Use pop-to-buffer directly.
9950
9951 * net/rlogin.el:
9952 * net/telnet.el:
9953 * progmodes/gud.el: Don't set same-window-regexps.
9954
9955 * cmuscheme.el:
9956 * ielm.el:
9957 * shell.el:
9958 * mail/sendmail.el:
9959 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
9960
9961 2011-09-10 Juri Linkov <juri@jurta.org>
9962
9963 * isearch.el (isearch-edit-string): Remove obsolete mention of
9964 `C-w' (`isearch-yank-word-or-char') from docstring.
9965 (isearch-query-replace): Fix typo in docstring (bug#9466).
9966
9967 2011-09-10 Juri Linkov <juri@jurta.org>
9968
9969 * paren.el (show-paren-function): Don't show escaped parens.
9970 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
9971
9972 2011-09-10 Eli Zaretskii <eliz@gnu.org>
9973
9974 * mail/sendmail.el (mml-to-mime, mml-attach-file)
9975 (mm-default-file-encoding): Remove autoload forms, they are
9976 replaced with autoload cookies in mml.el and mm-encode.el.
9977 (mail-add-attachment): New command.
9978 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
9979 (mail-mode): Mention mail-insert-file and mail-add-attachment in
9980 the doc string.
9981 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
9982
9983 2011-09-10 Reuben Thomas <rrt@sc3d.org>
9984
9985 * simple.el (count-words-region): Use buffer if there's no region
9986 (bug#9429).
9987
9988 2011-09-09 Juri Linkov <juri@jurta.org>
9989
9990 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
9991 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
9992 (wdired-isearch-filter-read-only): New function. (Bug#6362)
9993
9994 2011-09-09 Alan Mackenzie <acm@muc.de>
9995
9996 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
9997 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
9998
9999 2011-09-09 Eli Zaretskii <eliz@gnu.org>
10000
10001 Fix for Savannah bug#9392.
10002 * simple.el (mail-encode-mml): New defvar.
10003
10004 * mail/rmail.el (mail-encode-mml): Add a defvar.
10005 (rmail-enable-mime-composing): Default to t.
10006 (rmail-forward): Use MIME method of forwarding only if both
10007 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
10008 Set mail-encode-mml non-nil if the MIME method was used.
10009
10010 * mail/sendmail.el (mml-to-mime): Add autoload form.
10011 (mail-encode-mml): Add a defvar.
10012 (mail-mode): Make mail-encode-mml buffer-local and initialize it
10013 to nil.
10014 (mail-send): If mail-encode-mml is non-nil, run the outgoing
10015 message through mml-to-mime, and reset mail-encode-mml to nil.
10016
10017 2011-09-09 Glenn Morris <rgm@gnu.org>
10018
10019 * woman.el (woman-if-body): When processing an .el block,
10020 do not delete the next .el block as well. (Bug#9447)
10021 (woman-special-characters): Add oq, cq, and hy characters.
10022
10023 2011-09-08 Martin Rudalics <rudalics@gmx.at>
10024
10025 * window.el (window-deletable-p): Make sure window is live before
10026 invoking window-prev-buffers.
10027
10028 2011-09-08 Leo Liu <sdl.web@gmail.com>
10029
10030 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
10031
10032 2011-09-08 Juri Linkov <juri@jurta.org>
10033
10034 * progmodes/compile.el (compilation-environment): Make it
10035 a defcustom (bug#8340).
10036
10037 2011-09-08 Martin Rudalics <rudalics@gmx.at>
10038
10039 * window.el (frame-auto-delete): Rename to window-auto-delete.
10040 Make it control auto-deletion of windows and/or frames.
10041 (window-deletable-p): New argument FORCE. Rewrite conditions
10042 for deleting window/frame. (Bug#9419)
10043 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
10044 Rewrite handling of case when window/frame can be deleted.
10045 (delete-windows-on): Call window-deletable-p with new FORCE
10046 argument t. (Bug#9456)
10047
10048 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
10049
10050 * help-mode.el (help-mode): Restore autoload.
10051
10052 2011-09-07 Juri Linkov <juri@jurta.org>
10053
10054 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
10055 `compilation-environment'. Set buffer-local
10056 `compilation-environment' to `thisenv' later after (funcall mode).
10057 (Bug#8340)
10058
10059 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
10060 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
10061 instead of replacing its value. (Bug#8340)
10062
10063 2011-09-07 Juri Linkov <juri@jurta.org>
10064
10065 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
10066 based on text properties put by `grep-filter' instead of matching
10067 escape sequences.
10068 (grep-mode): Set buffer-local `compilation-error-screen-columns'
10069 to the value of `grep-error-screen-columns' (bug#9438).
10070
10071 2011-09-07 Juri Linkov <juri@jurta.org>
10072
10073 * simple.el (next-error-highlight, next-error-highlight-no-select):
10074 Doc fix (bug#9432).
10075
10076 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
10077
10078 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
10079 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
10080
10081 2011-09-07 Leo Liu <sdl.web@gmail.com>
10082
10083 * net/rcirc.el (rcirc-mode): Conditionally initialize
10084 rcirc-input-ring.
10085
10086 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
10087
10088 * emacs-lisp/find-func.el (find-function-C-source): Only set
10089 find-function-C-source-directory after checking that we found a source
10090 file there (bug#9440).
10091
10092 2011-09-06 Alan Mackenzie <acm@muc.de>
10093
10094 * isearch.el (isearch-other-meta-char): Wherever a key list is
10095 unread, "unread" the prefix arg, too. This fixes bug #8901.
10096
10097 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
10098
10099 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
10100
10101 2011-09-05 Juri Linkov <juri@jurta.org>
10102
10103 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
10104
10105 2011-09-05 Juri Linkov <juri@jurta.org>
10106
10107 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
10108 keeping point where processing of grep matches begins, and
10109 continue to delete remaining escape sequences from the same point.
10110 (grep-filter): Make leading zero optional in "0?1;31m" because
10111 git-grep emits "\033[1;31m" escape sequences unlike expected
10112 "\033[01;31m" as GNU Grep does (bug#9408).
10113 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
10114
10115 2011-09-05 Juri Linkov <juri@jurta.org>
10116
10117 * subr.el (y-or-n-p): Capitalize "yes".
10118
10119 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
10120
10121 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
10122 `tramp-cache-unload-hook' where appropriate.
10123 (tramp-methods): Rename `tramp-remote-sh' to
10124 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
10125 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
10126
10127 * net/tramp-sh.el (top): Don't require 'shell.
10128 (tramp-methods): Add `tramp-remote-shell' and
10129 `tramp-remote-shell-args' entries.
10130 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
10131 (tramp-sh-handle-shell-command): Remove.
10132 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
10133 Use `tramp-remote-shell'.
10134
10135 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
10136
10137 * mail/sendmail.el (sendmail-query-once-function): Delete.
10138 (sendmail-query-once): Save directly to send-mail-function.
10139 Update message-send-mail-function too.
10140
10141 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
10142
10143 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
10144
10145 * progmodes/python.el (python-mode-map): Use correct function to
10146 start python interpreter from menu-bar (as reported by Geert
10147 Kloosterman).
10148 (inferior-python-mode-map): Fix typo.
10149 (python-shell-map): Remove.
10150
10151 2011-09-03 Deniz Dogan <deniz@dogan.se>
10152
10153 * net/rcirc.el (rcirc-print): Simplify code for
10154 rcirc-scroll-show-maximum-output. There is no need to walk
10155 through all windows to find the right one.
10156
10157 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
10158
10159 * help.el (help-return-method): Doc fix.
10160
10161 2011-09-03 Martin Rudalics <rudalics@gmx.at>
10162
10163 * window.el (window-deletable-p): Don't return a non-nil value
10164 when there's a buffer that was shown in the window before.
10165 (Bug#9419)
10166 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
10167 Set window's previous buffers to nil.
10168
10169 2011-09-03 Eli Zaretskii <eliz@gnu.org>
10170
10171 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
10172 newline before and after the tag line, so it doesn't interfere
10173 with determining the paragraph direction of bidirectional text.
10174
10175 2011-09-03 Leo Liu <sdl.web@gmail.com>
10176
10177 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
10178
10179 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
10180
10181 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
10182 (pop-to-buffer): Change interactive spec. Pass second argument
10183 directly to display-buffer.
10184 (display-buffer): Fix interactive spec. Use functionp to
10185 distinguish between a function and a list of functions.
10186
10187 * abbrev.el (edit-abbrevs):
10188 * arc-mode.el (archive-extract):
10189 * autoinsert.el (auto-insert):
10190 * bookmark.el (bookmark-bmenu-list):
10191 * files.el (find-file):
10192 * view.el (view-buffer):
10193 * progmodes/compile.el (compilation-goto-locus):
10194 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
10195
10196 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
10197
10198 * window.el (display-buffer-alist): Doc fix.
10199 (display-buffer): Add docstring. Don't treat
10200 display-buffer-default specially.
10201 (display-buffer-reuse-selected-window)
10202 (display-buffer-same-window, display-buffer-maybe-same-window)
10203 (display-buffer-reuse-window, display-buffer-pop-up-frame)
10204 (display-buffer-pop-up-window)
10205 (display-buffer-reuse-or-pop-window)
10206 (display-buffer-use-some-window): New functions.
10207 (display-buffer-default-action): Use them.
10208 (display-buffer-default): Delete.
10209 (pop-to-buffer-1): Fix choice of actions.
10210
10211 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
10212
10213 * minibuffer.el (completion--insert-strings): Don't get confused by
10214 completion entries that end with an LF char.
10215
10216 2011-09-01 Eli Zaretskii <eliz@gnu.org>
10217
10218 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
10219
10220 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
10221
10222 * window.el (display-buffer): Restore interactive spec.
10223 (display-buffer-same-window, display-buffer-other-window):
10224 New functions.
10225 (pop-to-buffer-1): New function. Use the above.
10226 (pop-to-buffer, pop-to-buffer-same-window): Use it.
10227 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
10228
10229 * view.el (view-buffer-other-window, view-buffer-other-frame):
10230 Just use pop-to-buffer.
10231
10232 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10233
10234 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
10235
10236 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
10237
10238 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
10239
10240 2011-08-31 Richard Stallman <rms@gnu.org>
10241
10242 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
10243 of the separation of rmail-view-buffer from rmail-buffer.
10244 If you say no to "replace original", the decrypt is in the
10245 view buffer. If you say yes, the decrypt goes into the
10246 rmail buffer also.
10247
10248 2011-08-31 Martin Rudalics <rudalics@gmx.at>
10249
10250 * window.el (display-buffer-window): Rewrite doc-string.
10251 (display-buffer-record-window): New function.
10252 (display-buffer-macro-specifiers)
10253 (display-buffer-even-window-sizes, display-buffer-set-height)
10254 (display-buffer-set-width, display-buffer-in-window)
10255 (display-buffer-reuse-window, display-buffer-split-specifiers)
10256 (display-buffer-side-specifiers, display-buffer-split-window-1)
10257 (display-buffer-split-window, display-buffer-split-atom-window)
10258 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
10259 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
10260 (display-buffer-other-window-means-other-frame)
10261 (display-buffer-normalize-special)
10262 (display-buffer-normalize-default)
10263 (display-buffer-normalize-argument)
10264 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
10265 (display-buffer-normalize-specifiers, display-buffer-frame)
10266 (display-buffer-same-window, display-buffer-same-frame)
10267 (display-buffer-other-window)
10268 (display-buffer-same-frame-other-window)
10269 (display-buffer-other-frame, pop-to-buffer-same-window)
10270 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
10271 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
10272 (switch-to-buffer-same-frame)
10273 (switch-to-buffer-other-window-same-frame)
10274 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
10275 (display-buffer-alist-set-1, display-buffer-alist-set-2)
10276 (display-buffer-alist-set): Remove.
10277 (display-buffer-function, special-display-buffer-names)
10278 (special-display-regexps, special-display-function):
10279 In doc-string refer to display-buffer-window and quit-restore
10280 parameter.
10281 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
10282 (special-display-frame-alist, special-display-popup-frame)
10283 (same-window-buffer-names, same-window-regexps, same-window-p)
10284 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
10285 (split-window-preferred-function, split-height-threshold)
10286 (split-width-threshold, window-splittable-p)
10287 (split-window-sensibly, window--try-to-split-window)
10288 (window--frame-usable-p, even-window-heights)
10289 (window--even-window-heights, window--display-buffer-1)
10290 (window--display-buffer-2, display-buffer-other-frame):
10291 Restore old Emacs 23 code, order and doc-strings where applicable.
10292 (display-buffer-default, display-buffer-assq-regexp): New functions.
10293 (display-buffer-alist): Rewrite doc-string.
10294 (display-buffer-default-action)
10295 (display-buffer-overriding-action): New variables.
10296 (display-buffer, switch-to-buffer): Rewrite.
10297 (pop-to-buffer): Restore Emacs 23 behavior but use
10298 window-normalize-buffer-to-display.
10299 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
10300 Restore Emacs 23 behavior but use
10301 window-normalize-buffer-to-switch-to.
10302 (pop-to-buffer-same-window): Rewrite.
10303 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
10304 Rewrite using Emacs 23 options.
10305
10306 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
10307
10308 * net/tramp.el (tramp-root-regexp): Remove.
10309 (tramp-completion-file-name-regexp-unified)
10310 (tramp-completion-file-name-regexp-separate)
10311 (tramp-completion-file-name-regexp-url): Don't use leading volume
10312 letter on win32 systems. (Bug#5303, Bug#9311)
10313 (tramp-drop-volume-letter): Simplify definition.
10314 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
10315
10316 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
10317
10318 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
10319 (bug#9356).
10320
10321 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
10322
10323 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
10324
10325 2011-08-29 Juri Linkov <juri@jurta.org>
10326
10327 * isearch.el (isearch-done): Don't display message "Mark saved"
10328 when arg `edit' is non-nil to prevent its flicker in the echo area.
10329
10330 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
10331
10332 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
10333 obsolete packages for deletion.
10334
10335 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
10336
10337 * help-mode.el (help-mode-map): Add special-mode-map to parent.
10338 (help-mode): Derive help-mode from special-mode. Don't invoke
10339 view-mode from help-mode.
10340 (help-xref-override-view-map): Remove.
10341 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
10342 view-mode is not used anymore.
10343
10344 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
10345
10346 * server.el (server-port): Doc fix.
10347
10348 * cus-theme.el (custom-theme-choose-mode): Inherit from
10349 special-mode (Bug#9124).
10350 (custom-theme-choose-mode-map): Add special-mode to parent.
10351
10352 2011-08-28 Alan Mackenzie <acm@muc.de>
10353
10354 * progmodes/cc-fonts.el
10355 (c-make-font-lock-BO-decl-search-function): New function.
10356 (c-basic-matchers-after - "Fontify the clauses after various
10357 keywords"): Extract the three keyword lists for the 3 erroneous
10358 constructs from the list of four, and use the new function above
10359 in place of an old one.
10360
10361 2011-08-28 Deniz Dogan <deniz@dogan.se>
10362
10363 * net/rcirc.el (rcirc-insert-prev-input)
10364 (rcirc-insert-next-input): Remove unused argument.
10365
10366 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
10367
10368 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
10369
10370 2011-08-27 Alan Mackenzie <acm@muc.de>
10371
10372 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
10373 handle function pointer parameters properly.
10374
10375 2011-08-27 Martin Rudalics <rudalics@gmx.at>
10376
10377 * window.el (display-buffer-reuse-window): Fix case where
10378 selected window was reused with non-nil OTHER-WINDOW argument.
10379 (Bug#9381)
10380
10381 2011-08-27 Deniz Dogan <deniz@dogan.se>
10382
10383 * net/rcirc.el (rcirc-check-auth-status): Adding support for
10384 oftc's NickServ messages.
10385
10386 2011-08-27 Glenn Morris <rgm@gnu.org>
10387
10388 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
10389
10390 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
10391
10392 * emacs-lisp/package.el (package-install): Call package-initialize
10393 if called interactively.
10394
10395 2011-08-26 Leo Liu <sdl.web@gmail.com>
10396
10397 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
10398
10399 2011-08-25 Juri Linkov <juri@jurta.org>
10400
10401 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
10402 `search-whitespace-regexp' (bug#9364).
10403
10404 2011-08-25 Juri Linkov <juri@jurta.org>
10405
10406 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
10407 `regexp-search-ring' to their global values to protect from
10408 updating by `read-from-minibuffer' (bug#9185).
10409
10410 2011-08-25 Juri Linkov <juri@jurta.org>
10411
10412 * textmodes/ispell.el (ispell-command-loop): Add newline
10413 at the end of the "Use option `i'..." line.
10414
10415 2011-08-25 Juri Linkov <juri@jurta.org>
10416
10417 * battery.el (display-battery-mode): If `battery-status-function'
10418 or `battery-mode-line-format' is nil, display the message and set
10419 `display-battery-mode' to nil (bug#9363).
10420
10421 2011-08-25 Eli Zaretskii <eliz@gnu.org>
10422
10423 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
10424 bidi-string-mark-left-to-right; they are unnecessary now.
10425
10426 2011-08-25 Deniz Dogan <deniz@dogan.se>
10427
10428 * net/quickurl.el: Documentation typo fixes.
10429
10430 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
10431
10432 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
10433
10434 2011-08-25 Glenn Morris <rgm@gnu.org>
10435
10436 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
10437
10438 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
10439 (smtpmail-via-smtp): Handle nil response from smtp.
10440
10441 2011-08-24 Juri Linkov <juri@jurta.org>
10442
10443 * proced.el (proced-marked): Inherit from `error' instead of
10444 `font-lock-warning-face'.
10445
10446 * ibuffer.el (ibuffer-marked-face): Change default face from
10447 `font-lock-warning-face' to `warning'.
10448 (ibuffer-deletion-face): Change default face from
10449 `font-lock-type-face' to `error'.
10450
10451 * battery.el (battery-update): Use the face `error' instead of
10452 `font-lock-warning-face' (bug#6117).
10453
10454 2011-08-24 Juri Linkov <juri@jurta.org>
10455
10456 * faces.el (success): Change face color from "Green3" to
10457 "ForestGreen" on light background (bug#9353).
10458
10459 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
10460
10461 * window.el (quit-window): Rename from quit-restore-window.
10462 Use same arglist as old quit-window.
10463 (frame-auto-delete): Doc fix.
10464
10465 * view.el (view-mode-exit): Use quit-window.
10466
10467 2011-08-24 Juri Linkov <juri@jurta.org>
10468
10469 * isearch.el (isearch-ring-adjust1): Start visiting previous
10470 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
10471 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
10472 for empty search string (when the last search string is reused
10473 automatically) to adjust the isearch ring to the last element and
10474 prepare the correct index for further M-p commands (bug#9185).
10475
10476 2011-08-24 Kenichi Handa <handa@m17n.org>
10477
10478 * international/ucs-normalize.el: If decomposition property of
10479 CHAR is the default one (i.e. a list of CHAR itself), treat it as
10480 nil.
10481 (nfd, nfkd): Likewise.
10482
10483 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
10484
10485 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
10486 from process filters aren't reliably transmitted to the surrounding
10487 accept-process-output.
10488 (mpc-proc-check): New function.
10489 (mpc-proc-sync): Use it (bug#8293)
10490
10491 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
10492
10493 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
10494 Add compatibility functions (bug#9313).
10495
10496 2011-08-23 Eli Zaretskii <eliz@gnu.org>
10497
10498 * cus-start.el (all): Add entry for bidi-paragraph-direction.
10499
10500 * international/uni-bidi.el: Regenerate.
10501
10502 2011-08-23 Kenichi Handa <handa@m17n.org>
10503
10504 * international/charprop.el:
10505 * international/uni-bidi.el:
10506 * international/uni-category.el:
10507 * international/uni-combining.el:
10508 * international/uni-comment.el:
10509 * international/uni-decimal.el:
10510 * international/uni-decomposition.el:
10511 * international/uni-digit.el:
10512 * international/uni-lowercase.el:
10513 * international/uni-mirrored.el:
10514 * international/uni-name.el:
10515 * international/uni-numeric.el:
10516 * international/uni-old-name.el:
10517 * international/uni-titlecase.el:
10518 * international/uni-uppercase.el: Regenerate.
10519
10520 2011-08-23 Martin Rudalics <rudalics@gmx.at>
10521
10522 * help.el (help-window-setup): Fix message displayed when other
10523 window is reused. (Bug#9341)
10524
10525 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
10526
10527 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
10528 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
10529
10530 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
10531 Mark obsolete.
10532 * shell.el (shell-parse-pcomplete-arguments): New function.
10533 (shell-completion-vars): Use it instead (bug#9160).
10534
10535 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
10536
10537 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
10538 strings and comments (bug#9333).
10539
10540 * emacs-lisp/debug.el (debug-arglist): New function.
10541 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
10542 (debug-on-entry-1): Handle interpreted closures (bug#9120).
10543
10544 2011-08-22 Juri Linkov <juri@jurta.org>
10545
10546 * progmodes/compile.el (compilation-mode-font-lock-keywords):
10547 Revert regexp that highlights output switches to its old
10548 pre-2010-10-28 value and remove one `?' from it (bug#9319).
10549
10550 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
10551 to check for empty output (bug#9226).
10552
10553 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
10554
10555 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
10556 symbol-constituent as the default, as that stops font-lock from
10557 working properly (Bug#8843).
10558
10559 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
10560
10561 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
10562 `coding-system-for-*' around the process open call to avoid
10563 auth-source side effects.
10564 (smtpmail-try-auth-methods): Expand the secret password.
10565 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
10566 probe hangs.
10567
10568 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
10569
10570 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
10571
10572 * emacs-lisp/find-func.el (find-function-noselect): New arg
10573 lisp-only.
10574
10575 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
10576 signal an error for built-in functions (Bug#6664).
10577
10578 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
10579
10580 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
10581 (smtpmail-try-auth-methods): Use it.
10582
10583 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
10584
10585 * font-lock.el (font-lock-fontify-region)
10586 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
10587 (font-lock-default-unfontify-buffer)
10588 (font-lock-default-fontify-region)
10589 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
10590
10591 * progmodes/compile.el (compilation-error-properties):
10592 Fix confusion between file struct and message struct (Bug#9319).
10593 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
10594 `ant' regexp.
10595
10596 * net/browse-url.el (browse-url-firefox): Don't call
10597 browse-url-firefox-sentinel unless using -remote (Bug#9328).
10598
10599 2011-08-20 Glenn Morris <rgm@gnu.org>
10600
10601 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
10602
10603 * tutorial.el (tutorial--default-keys): Update some default bindings.
10604
10605 * files.el (hack-local-variables): Fully ignore case for "mode:".
10606
10607 2011-08-20 Alan Mackenzie <acm@muc.de>
10608
10609 Resolve invalid use of a regexp in regexp-opt.
10610
10611 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
10612 detection for a java annotation.
10613
10614 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
10615 detection for a java annotation.
10616
10617 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
10618 handling for java.
10619 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
10620
10621 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
10622
10623 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
10624 (Bug#9274).
10625
10626 2011-08-20 Alan Mackenzie <acm@muc.de>
10627
10628 Fontify CPP expressions correctly when starting in the middle of
10629 such a construct. Mainly for when jit-lock etc. starts a chunk
10630 here.
10631
10632 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
10633 variable.
10634 (c-make-font-lock-search-form): New function, extracted from
10635 c-make-font-lock-search-function.
10636 (c-make-font-lock-search-function): Use the above function.
10637 (c-make-font-lock-context-search-function): New function.
10638 (c-cpp-matchers): Enhance the preprocessor expression case with
10639 the above function
10640 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
10641 which takes an expression.
10642
10643 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
10644
10645 2011-08-20 Martin Rudalics <rudalics@gmx.at>
10646
10647 * window.el (display-buffer-reuse-window)
10648 (display-buffer-pop-up-window): Don't reuse or split a side
10649 window.
10650
10651 2011-08-19 Glenn Morris <rgm@gnu.org>
10652
10653 * files.el (hack-local-variables-prop-line, hack-local-variables):
10654 Downcase "Mode:". (Bug#9331)
10655
10656 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
10657
10658 * international/characters.el: Add L and R categories.
10659
10660 * subr.el (bidi-string-mark-left-to-right): Rename from
10661 string-mark-left-to-right. Use category search.
10662
10663 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
10664
10665 2011-08-18 Juri Linkov <juri@jurta.org>
10666
10667 * faces.el (error, warning, success): New faces with definitions
10668 copied from old default values of `font-lock-warning-face',
10669 `compilation-warning', `compilation-info' (bug#6117).
10670
10671 * font-lock.el (font-lock-warning-face): Inherit from `error'.
10672
10673 * progmodes/compile.el (compilation-error): Inherit from `error'.
10674 (compilation-warning): Inherit from `warning'.
10675 (compilation-info): Inherit from `success'.
10676
10677 * dired.el (dired-marked): Inherit from `warning'.
10678 (dired-flagged): Inherit from `error'.
10679
10680 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
10681
10682 * mail/smtpmail.el (auth-source): Require to avoid problems with
10683 binding variables (bug#9298). Also clean up some unused
10684 autoloads.
10685
10686 * net/network-stream.el (network-stream-open-starttls):
10687 Support using starttls.el without using gnutls-cli.
10688
10689 2011-08-17 Juri Linkov <juri@jurta.org>
10690
10691 * progmodes/grep.el (rgrep): Handle the case when
10692 `grep-find-command' is a cons cell (bug#9278).
10693
10694 2011-08-17 Martin Rudalics <rudalics@gmx.at>
10695
10696 * window.el (display-buffer-pop-up-frame): Run frame creation
10697 function with BUFFER current (as special-display-popup-frame
10698 does). Reported by Drew Adams.
10699
10700 2011-08-17 Daiki Ueno <ueno@unixuser.org>
10701
10702 * epa-mail.el: Simplify GnuPG group expansion using
10703 epg-expand-group.
10704 (epa-mail-group-alist, epa-mail-group-modtime)
10705 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
10706 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
10707 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
10708 Remove.
10709
10710 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
10711
10712 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
10713
10714 2011-08-16 Alan Mackenzie <acm@muc.de>
10715
10716 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
10717 Correct, to avoid the inside of macros.
10718
10719 2011-08-16 Richard Stallman <rms@gnu.org>
10720
10721 * epa-mail.el: Handle GnuPG group definitions.
10722 (epa-mail-group-alist, epa-mail-group-modtime)
10723 (epa-mail-gnupg-conf-file): New variables.
10724 (epa-mail-parse-groups, epa-mail-sync-groups)
10725 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
10726 (epa-mail-expand-recipients): New functions.
10727 (epa-mail-encrypt): Call epa-mail-expand-recipients.
10728
10729 * mail/rmail.el (rmail-epa-decrypt): New command.
10730
10731 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
10732 Don't bind buffer-read-only, just inhibit-read-only.
10733 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
10734 (epa-decrypt-armor-in-region): Make error message clearer.
10735
10736 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
10737
10738 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
10739 and "a2b" to "ab" for `prefix'.
10740
10741 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
10742
10743 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
10744 filter groups.
10745 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
10746 Fourquet (Bug#8804).
10747
10748 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
10749
10750 * startup.el (argi): Declare as global variable (bug#9275).
10751
10752 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
10753
10754 * subr.el (string-mark-left-to-right): Search the entire string
10755 for RTL script, not just the terminating character. Doc fix.
10756
10757 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
10758
10759 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
10760 New function.
10761 (js--regexp-literal, js-syntax-propertize-function): Remove.
10762 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
10763 (js-mode-map): Don't rebind electric keys.
10764 (js-insert-and-indent): Remove.
10765 (js-mode): Setup electric-layout and electric-indent instead.
10766
10767 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
10768
10769 2011-08-12 Daiki Ueno <ueno@unixuser.org>
10770
10771 * epa.el (epa-progress-callback-function): Fix the logic of
10772 displaying progress.
10773 * epa-file.el (epa-file-insert-file-contents): Make progress
10774 display more user-friendly.
10775 (epa-file-write-region): Ditto.
10776
10777 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
10778
10779 * subr.el (string-mark-left-to-right): New function.
10780
10781 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
10782 Use string-mark-left-to-right.
10783 (list-buffers-noselect): Caller changed.
10784
10785 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
10786 Use string-mark-left-to-right.
10787 (tabulated-list-print): Recenter after moving point.
10788
10789 2011-08-10 Juri Linkov <juri@jurta.org>
10790
10791 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
10792 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
10793 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
10794
10795 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
10796
10797 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
10798 (Bug#7554).
10799
10800 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
10801
10802 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
10803 character. (Bug#6594)
10804
10805 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
10806
10807 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
10808 (image-dired--with-db-file): New macro.
10809 (image-dired-write-tags, image-dired-remove-tag)
10810 (image-dired-create-gallery-lists, image-dired-write-comments)
10811 (image-dired-get-comment, image-dired-mark-tagged-files)
10812 (image-dired-list-tags, image-dired-gallery-generate): Use it.
10813 (image-dired-gallery-generate): Use insert-file-contents.
10814
10815 * time.el (display-time-world-list, display-time-world-display):
10816 * time-stamp.el (time-stamp-string):
10817 * vc/add-log.el (add-change-log-entry): Use setenv instead of
10818 set-time-zone-rule (Bug#7337).
10819
10820 2011-08-08 Daiki Ueno <ueno@unixuser.org>
10821
10822 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
10823 (epg-error-to-string, epg-errors-to-string): New function.
10824 (epg-wait-for-completion): Reverse errors list.
10825 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
10826 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
10827 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
10828 (epg-sign-keys, epg-generate-key-from-file)
10829 (epg-generate-key-from-string): Format errors by using
10830 epg-errors-to-string (bug#9255).
10831 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
10832
10833 2011-08-07 Juri Linkov <juri@jurta.org>
10834
10835 * faces.el (list-faces-display): Remove extra angle bracket
10836 from `help-mode-map'.
10837
10838 * info.el (Info-history-toc-nodes): Doc fix.
10839
10840 * longlines.el (longlines-mode): Doc fix.
10841
10842 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
10843
10844 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
10845 of statements and in a few more cases (bug#9183).
10846
10847 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
10848 New functions.
10849 (cl-transform-lambda): Use them (bug#9239).
10850
10851 2011-08-05 Martin Rudalics <rudalics@gmx.at>
10852
10853 * window.el (display-buffer-same-window)
10854 (display-buffer-same-frame, display-buffer-other-window)
10855 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
10856 (pop-to-buffer-other-window)
10857 (pop-to-buffer-same-frame-other-window)
10858 (pop-to-buffer-other-frame): Make them defuns.
10859 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
10860
10861 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
10862
10863 * subr.el (make-composed-keymap): Move from C. Change calling
10864 convention, and improve docstring to bring attention to a subtle point.
10865 * minibuffer.el (completing-read-default): Adjust accordingly.
10866
10867 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
10868
10869 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
10870 (tramp-open-shell): Use `tramp-shell-quote-argument'.
10871
10872 * net/trampver.el: Update release number.
10873
10874 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
10875
10876 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
10877 "in" (bug#9190).
10878
10879 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
10880
10881 * mail/sendmail.el (sendmail-query-once): Restore the current
10882 buffer after querying (bug#9074).
10883
10884 * dired.el (dired-flagged): Use different faces for marked and
10885 flagged files (bug#6117).
10886
10887 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
10888 (bug#4433).
10889
10890 * ido.el (ido-mode): Switch off the message if called
10891 non-interactively.
10892
10893 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
10894 before 587, since it appears that that's more likely to work for
10895 more people.
10896
10897 * cus-edit.el (custom-file): When running under emacs -q, always
10898 refuse to save the customizations, even if the .emacs file doesn't
10899 exist.
10900
10901 * info.el: Remove the `Info-beginning-of-buffer' function
10902 (bug#8325).
10903
10904 * net/network-stream.el (network-stream-open-starttls):
10905 Use `starttls-available-p' to see whether starttls.el can be used.
10906
10907 2011-08-01 Martin Rudalics <rudalics@gmx.at>
10908
10909 * window.el (display-buffer-in-window): Don't set dedicated status
10910 of window here (Bug#9215).
10911 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
10912 (display-buffer-pop-up-side-window)
10913 (display-buffer-in-side-window): Set dedicated status of window here.
10914
10915 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
10916
10917 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
10918 before binding generated-autoload-file.
10919
10920 2011-08-01 Deniz Dogan <deniz@dogan.se>
10921
10922 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
10923
10924 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
10925
10926 Sync with Tramp 2.2.2.
10927
10928 * net/trampver.el: Update release number.
10929
10930 2011-07-30 Juri Linkov <juri@jurta.org>
10931
10932 * dired-aux.el (dired-touch-initial): Remove function.
10933 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
10934 current time, and `default' to the last modification time of the
10935 current marked file (bug#6887).
10936
10937 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
10938
10939 * simple.el (goto-line): Use string-to-number to provide a
10940 numeric argument to read-number (bug#9163).
10941
10942 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
10943
10944 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
10945 connection process, it could be nil.
10946
10947 2011-07-27 Leo Liu <sdl.web@gmail.com>
10948
10949 Simplify url handling in rcirc-mode.
10950
10951 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
10952 (rcirc-browse-url-at-mouse): Remove.
10953 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
10954
10955 2011-07-26 Alan Mackenzie <acm@muc.de>
10956
10957 Fontify bitfield declarations properly.
10958
10959 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
10960 (c-symbol-chars): Now exported as a lang variable.
10961 (c-not-primitive-type-keywords): New lang variable.
10962
10963 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
10964 QT keyword "more" to prevent "more slots: ...." being spuriously
10965 parsed as a bitfield declaration.
10966
10967 * progmodes/cc-engine.el (c-beginning-of-statement-1):
10968 Refactor and enhance to handle bitfield declarations.
10969 (c-punctuation-in): New function.
10970 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
10971 declarations properly.
10972
10973 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
10974
10975 * calendar/icalendar.el (icalendar--all-events): Take care of
10976 multiple vcalendars in a single file.
10977 (icalendar--convert-float-to-ical): Checkdoc fixes.
10978
10979 2011-07-25 Deniz Dogan <deniz@dogan.se>
10980
10981 * image.el (insert-image): Clarifying docstring.
10982
10983 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
10984
10985 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
10986 `tramp-send-command-and-check' if there is no error.
10987 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
10988
10989 2011-07-22 Alan Mackenzie <acm@muc.de>
10990
10991 Prevent cc-langs.elc being loaded at run time.
10992
10993 * progmodes/cc-mode.el: Remove two autoload forms which loaded
10994 cc-langs.
10995
10996 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
10997 "(require 'cc-langs)". Quote a form so it will evaluate at
10998 (cc-mode's) compilation time.
10999
11000 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
11001
11002 * net/tramp.el (tramp-file-name-handler): Avoid recursive
11003 loading. (Bug#9114)
11004
11005 2011-07-21 Martin Rudalics <rudalics@gmx.at>
11006
11007 * window.el (display-buffer-pop-up-window)
11008 (display-buffer-pop-up-side-window)
11009 (display-buffer-in-side-window): Call display-buffer-set-height
11010 and display-buffer-set-width after setting the new window's
11011 buffer so `fit-window-to-buffer' and friends work on the right buffer.
11012
11013 2011-07-20 Sam Steingold <sds@gnu.org>
11014
11015 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
11016 (etags-tags-included-tables): Call `convert-standard-filename' on
11017 the file names contained in TAGS so that windows Emacs can handle
11018 TAGS files created by cygwin ctags.
11019
11020 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
11021
11022 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
11023 which apparently didn't work.
11024
11025 2011-07-19 Roland Winkler <winkler@gnu.org>
11026
11027 * proced.el (proced-send-signal): For *Marked Processes* buffer
11028 put point at beginning of buffer.
11029
11030 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
11031
11032 * proced.el (proced-format): Make header lines align with the text
11033 (bug#1779).
11034
11035 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
11036
11037 * view.el (view-buffer): Allow running in `special' modes if we're
11038 visiting a file (bug#8615).
11039
11040 2011-07-19 Martin Rudalics <rudalics@gmx.at>
11041
11042 * window.el (display-buffer-alist-of-strings-p)
11043 (display-buffer-alist-set-1, display-buffer-alist-set-2):
11044 New functions.
11045 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
11046 more accurately.
11047
11048 2011-07-18 Alan Mackenzie <acm@muc.de>
11049
11050 Fontify declarators properly when, e.g., a jit-lock chunk begins
11051 inside a declaration.
11052
11053 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
11054
11055 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
11056 New function.
11057 (c-complex-decl-matchers): Insert reference to
11058 c-font-lock-enclosing-decls.
11059
11060 * progmodes/cc-engine.el (c-backward-single-comment):
11061 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
11062 to nil around calls to (forward-comment -1).
11063
11064 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
11065
11066 * image.el (put-image): Doc typo fix.
11067
11068 * progmodes/etags.el (tags-search): Doc typo fix.
11069
11070 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
11071 password if we get errors 550 to 554.
11072
11073 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
11074
11075 * net/gnutls.el (gnutls-log-level): Remove.
11076
11077 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
11078 indentation character (bug#6380).
11079
11080 * files.el (buffer-offer-save): Made permanently local (bug#6241).
11081
11082 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
11083 to clarify what the problem is (bug#4291).
11084
11085 * simple.el (current-kill): Clarify what
11086 `interprogram-paste-function' does (bug#7500).
11087 (auto-fill-mode): Document `auto-fill-function' in relation to
11088 `auto-fill-mode' (bug#2470).
11089
11090 2011-07-16 Lawrence Mitchell <wence@gmx.li>
11091
11092 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
11093 method if slot is read-only (bug#9035).
11094
11095 2011-07-16 Martin Rudalics <rudalics@gmx.at>
11096
11097 * frame.el (select-frame-set-input-focus): New argument NORECORD.
11098 * window.el (pop-to-buffer): Select window used even if it was
11099 selected before, see discussion of (Bug#8615), (Bug#6954).
11100 Pass argument NORECORD on to select-frame-set-input-focus.
11101
11102 2011-07-15 Glenn Morris <rgm@gnu.org>
11103
11104 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
11105 Respect help-form.
11106
11107 2011-07-09 Lawrence Mitchell <wence@gmx.li>
11108
11109 * net/gnutls.el (gnutls-min-prime-bits): New variable.
11110 (gnutls-negotiate): Use it.
11111
11112 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
11113
11114 * net/gnutls.el (gnutls-negotiate):
11115 Upcase `gnutls-algorithm-priority'.
11116
11117 2011-07-15 Glenn Morris <rgm@gnu.org>
11118
11119 * jka-compr.el (jka-compr-verbose): Move from here...
11120 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
11121 Add missing :version tag.
11122 * info.el: No need to require jka-compr when compiling.
11123
11124 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
11125
11126 * net/gnutls.el (gnutls-algorithm-priority): New variable.
11127 (gnutls-negotiate): Use it.
11128
11129 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
11130
11131 * info.el (Info-beginning-of-buffer): New command.
11132 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
11133 announcing `b' as the key (bug#8325).
11134 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
11135
11136 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
11137
11138 * international/mule-cmds.el
11139 (describe-specified-language-support): Make the error message
11140 clearer (bug#8905).
11141
11142 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
11143
11144 * isearch.el (isearch-barrier): Add a doc string, since it's
11145 mentioned in a function doc string (bug#8678).
11146
11147 2011-07-15 Martin Rudalics <rudalics@gmx.at>
11148
11149 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
11150 buffer argument (Bug#9083) and self-identifying label argument.
11151
11152 2011-07-15 Glenn Morris <rgm@gnu.org>
11153
11154 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
11155
11156 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
11157
11158 * man.el (Man-fontify-manpage): Fix message when formatting the
11159 man page (bug#7929).
11160
11161 2011-07-14 Eli Zaretskii <eliz@gnu.org>
11162
11163 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
11164 argument LRM; if non-nil, append an invisible LRM character to the
11165 buffer name.
11166 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
11167 last argument non-nil, when formatting buffer names.
11168 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
11169 paragraph direction.
11170
11171 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
11172
11173 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
11174 the man page name (bug#7929).
11175
11176 * image.el (put-image): Mention the `put-image' overlay property
11177 (bug#7834).
11178
11179 * scroll-bar.el (set-scroll-bar-mode): Mention that
11180 `scroll-bar-mode' lists the values (bug#7772).
11181
11182 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
11183 command (bug#7729).
11184
11185 * rect.el (apply-on-rectangle): Return the point after the last
11186 operation.
11187 (string-rectangle): Go to the point after the last operation
11188 (bug#7522).
11189
11190 * printing.el (pr-toggle-region): Clarify the documentation
11191 slightly (bug#7493).
11192
11193 * time.el (display-time-update):
11194 Allow `display-time-mail-function' to return nil (bug#7158).
11195 Fix suggested by Detlev Zundel.
11196
11197 * vc/diff.el (diff): Clarify the order the file names are read
11198 (bug#7111).
11199
11200 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
11201 the doc string (bug#7015).
11202
11203 * font-lock.el (font-lock-maximum-decoration): Mention what
11204 numeric levels mean (bug#6935).
11205
11206 * startup.el (initial-buffer-choice): Don't mention the `none'
11207 selection, which is against policy.
11208
11209 2011-07-14 Martin Rudalics <rudalics@gmx.at>
11210
11211 * window.el (display-buffer-normalize-special):
11212 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
11213
11214 2011-07-14 Eli Zaretskii <eliz@gnu.org>
11215
11216 * subr.el (version<, version<=, version=): Mention "-CVS" and
11217 "-12345" alpha version numbers.
11218
11219 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
11220
11221 * bindings.el: Add advertised binding for set-mark-command
11222 (Bug#5772).
11223
11224 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
11225
11226 * bindings.el (mode-line-other-buffer):
11227 * bookmark.el (bookmark-bmenu-2-window):
11228 * bs.el (bs-cycle-next, bs-cycle-previous):
11229 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
11230 switch-to-buffer.
11231
11232 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
11233 Delete.
11234
11235 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
11236
11237 * follow.el (follow-debug-message, follow-redisplay):
11238 * jka-cmpr-hook.el (with-auto-compression-mode):
11239 Fix typos in docstrings.
11240
11241 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11242
11243 * subr.el (with-silent-modifications): Clarify somewhat what the
11244 macro inhibits (bug#6525).
11245
11246 * simple.el (eval-expression): Note what it does if called
11247 interactively (bug#6495).
11248
11249 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
11250
11251 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
11252 Use pop-to-buffer buffer-or-name if it is nil.
11253
11254 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
11255 Remove switch-to-buffer.
11256
11257 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11258
11259 * files.el (make-directory): Clarify that an error will be raised
11260 if there's an error (bug#6397).
11261
11262 * startup.el (initial-buffer-choice): Add `none' as a choice
11263 (bug#6234).
11264
11265 * subr.el (add-hook): Clarify section about buffer-local hooks
11266 (bug#6218).
11267
11268 * dired.el (dired-flagged): Clarify doc string (bug#6117).
11269
11270 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
11271
11272 * tabify.el (untabify): Preserve the current column so that point
11273 doesn't move (bug#6032).
11274
11275 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11276
11277 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
11278 Rewrite to avoid awkward possessive "s" (bug#5986).
11279
11280 2011-07-13 Glenn Morris <rgm@gnu.org>
11281
11282 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
11283 (dired-insert-directory): Give a message the first time
11284 if ls is found not to support --dired.
11285
11286 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11287
11288 * simple.el (toggle-truncate-lines): Clarify what is toggled
11289 (bug#5580). Text by Drew Adams.
11290
11291 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
11292
11293 * simple.el (blink-matching-open): Make the error message from the
11294 last change less verbose.
11295
11296 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
11297
11298 * font-lock.el (font-lock-comment-face): Use the high contrast
11299 "yellow" color for font-lock-comment-face on low color terminals
11300 using a dark background color (bug#4221).
11301
11302 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11303
11304 * dired.el (dired-insert-set-properties): Make the doc string
11305 reflect what it does now (bug#5325).
11306
11307 * simple.el (blink-matching-open): Say that we were unable to find
11308 the match within the limit, if we're limited (bug#5122).
11309
11310 * international/mule-cmds.el (prefer-coding-system): Add an
11311 example (bug#4869).
11312
11313 * progmodes/etags.el (tags-search): Document `file-list-form'
11314 (bug#4731).
11315
11316 2011-07-13 Lawrence Mitchell <wence@gmx.li>
11317
11318 * net/browse-url.el (browse-url-default-browser)
11319 (browse-url-browser-function): Make the default browser choice a
11320 bit more logical (bug#4300). Also clean up the doc string.
11321
11322 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
11323
11324 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
11325 binary endings (bug#4440).
11326
11327 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11328
11329 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
11330 which can be pretty annoying (bug#8971).
11331
11332 * jka-compr.el (jka-compr-verbose): New variable, and use
11333 throughout (bug#8971).
11334
11335 * info.el (Info-find-file): Fall back on the installation
11336 directory if we can't find the info node anywhere else.
11337
11338 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
11339
11340 * vc/vc.el (vc-revert-file):
11341 Don't set file time-stamp in the past. (Bug#5181)
11342
11343 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
11344
11345 * files.el (after-find-file): Give a better error message when
11346 trying to find a symlink that points to a file that doesn't exist
11347 (bug#4398).
11348
11349 * progmodes/cc-vars.el: Remove (probably) misleading comment
11350 (bug#4396).
11351
11352 2011-07-12 Johan Bockgård <bojohan@gnu.org>
11353
11354 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
11355
11356 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
11357
11358 * mouse-sel.el: Hack restoring functionality, while keeping
11359 compatibility with 2010-07-03 changes to mouse selection.
11360 (mouse-sel-primary-overlay): New var.
11361 (mouse-sel-selection-alist): Use it.
11362 (mouse-sel-mode): Doc fix; remove points that are default features
11363 of mouse.el.
11364
11365 2011-07-12 Johan Bockgård <bojohan@gnu.org>
11366
11367 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11368 Fix previous fix (bug#2490).
11369
11370 2011-07-12 Roland Winkler <winkler@gnu.org>
11371
11372 * textmodes/bibtex.el (bibtex-initialize):
11373 Use pop-to-buffer-same-window.
11374 (bibtex-search-entries): Fix interactive call.
11375
11376 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
11377
11378 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11379 Fontise bytecomp Error lines more correctly (bug#2490).
11380 Fix suggested by Johan Bockgård.
11381
11382 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
11383
11384 * dired-x.el (dired-guess-default): Use `delete-dups'.
11385
11386 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
11387
11388 * dired.el (dired-mark-prompt):
11389 * dired-aux.el (dired-read-shell-command): Doc fix.
11390
11391 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
11392
11393 * mail/sendmail.el (sendmail-query-once):
11394 Use `customize-save-variable' unconditionally, now that it works under
11395 emacs -Q.
11396
11397 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
11398
11399 * cus-edit.el (custom-file): Take an optional no-error variable.
11400 (customize-save-variable): Set the variable, and give a warning if
11401 running under "emacs -q".
11402
11403 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
11404
11405 * loadhist.el (unload-feature-special-hooks):
11406 Add `auto-coding-functions', `fill-nobreak-predicate' and
11407 `find-directory-functions' (bug#5327).
11408
11409 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
11410
11411 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
11412
11413 * cus-edit.el (custom-guess-name-alist): -alist variables should
11414 use the `alist' type (bug#3120). Suggested by Drew Adams.
11415
11416 * printing.el: Add documentation to all the `pr-toggle-' commands.
11417
11418 2011-07-11 Leo Liu <sdl.web@gmail.com>
11419
11420 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
11421 backends where it makes sense (bug#2623).
11422
11423 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
11424
11425 * dired-x.el (dired-guess-default): Remove duplicate shell command
11426 entries (bug#2028).
11427 (dired-guess-default): Fix grammar in doc string (bug#2028).
11428 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
11429
11430 * subr.el (remove-duplicates): New conveniency function.
11431
11432 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
11433
11434 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
11435 (bug#1526).
11436
11437 2011-07-10 Martin Rudalics <rudalics@gmx.at>
11438
11439 * window.el (display-buffer-normalize-default): Don't invert
11440 meaning of even-window-heights. Reported by Eli Zaretskii
11441 <eliz@gnu.org>.
11442
11443 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
11444
11445 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
11446
11447 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
11448
11449 * window.el (display-buffer): Fix arguments to
11450 display-buffer-reuse-window in last change.
11451
11452 * faces.el (link): Use a less saturated blue on light backgrounds.
11453
11454 * startup.el (fancy-startup-text, fancy-about-text)
11455 (fancy-startup-tail): Use font-lock faces, for background safety.
11456
11457 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
11458
11459 * emulation/viper-cmd.el (viper-change-state-to-vi):
11460 Limit triggering of abbrev expansion (Bug#9038).
11461
11462 2011-07-09 Martin Rudalics <rudalics@gmx.at>
11463
11464 * window.el (display-buffer-default-specifiers): Remove.
11465 (display-buffer-macro-specifiers): Remove default specifiers.
11466 (display-buffer-alist): Default to nil.
11467 (display-buffer-reuse-window): New optional argument other-window.
11468 (display-buffer-pop-up-window): Allow splitting internal
11469 windows. Check whether a live window was created.
11470 (display-buffer-other-window-means-other-frame)
11471 (display-buffer-normalize-arguments): Rename to
11472 display-buffer-normalize-argument and rewrite. Set the
11473 other-window specifier.
11474 (display-buffer-normalize-special): New function.
11475 (display-buffer-normalize-options): Rename to
11476 display-buffer-normalize-default and rewrite.
11477 (display-buffer-normalize-options-inhibit): Remove.
11478 (display-buffer-normalize-specifiers): Rewrite.
11479 (display-buffer): Process other-window specifier and call
11480 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
11481 more faithfully.
11482 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
11483 (display-buffer-alist-set): Don't handle 'unset default values.
11484 (display-buffer-in-window, display-buffer-alist-set):
11485 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
11486 <tassilo@member.fsf.org>.
11487
11488 2011-07-09 Leo Liu <sdl.web@gmail.com>
11489
11490 * register.el (insert-register): Restore accidental change on
11491 2011-06-26. (Bug#9028)
11492
11493 2011-07-09 Glenn Morris <rgm@gnu.org>
11494
11495 * subr.el (remq): Handle the empty list. (Bug#9024)
11496
11497 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
11498
11499 * mail/sendmail.el (send-mail-function): No longer delay custom
11500 initialization.
11501 * custom.el (custom-initialize-delay): Doc fix.
11502
11503 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
11504
11505 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
11506
11507 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
11508
11509 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
11510 human-friendly prompt.
11511
11512 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
11513
11514 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
11515 provided by a particular plugin.
11516
11517 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
11518
11519 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
11520 save customizations (with "emacs -Q"), just set the variable
11521 instead of erroring out.
11522
11523 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
11524
11525 2011-07-08 Juri Linkov <juri@jurta.org>
11526
11527 * arc-mode.el (archive-zip-expunge, archive-zip-update)
11528 (archive-zip-update-case): Use 7z if found by `executable-find'.
11529 The order of searching the available programs is the same as in
11530 `archive-zip-extract' (bug#8968).
11531
11532 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
11533
11534 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
11535 (menu-bar-options-menu): Tweak descriptions.
11536
11537 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
11538
11539 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
11540 menu items into verb phrases (bug#1421). Also refill to fit under
11541 80 columns.
11542
11543 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
11544
11545 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
11546 (Info-read-node-name): Doc fix (Bug#1084).
11547
11548 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
11549 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
11550 (end-of-sexp, beginning-of-sexp)
11551 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
11552 (forward-symbol, forward-same-syntax, word-at-point)
11553 (sentence-at-point): Doc fix (Bug#1144).
11554
11555 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
11556
11557 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
11558 should cover it (bug#1281).
11559
11560 * cus-edit.el (custom-show): Mark as obsolete.
11561
11562 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
11563 negotiation fails, then possibly try again with a non-encrypted
11564 connection (bug#9017).
11565
11566 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
11567 be used.
11568
11569 2011-07-07 Richard Stallman <rms@gnu.org>
11570
11571 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
11572 property, and handle its changed format.
11573 Look for the correct line number.
11574 Use file's line contents (but not past first =) to find
11575 correct line in message.
11576
11577 2011-07-07 Kenichi Handa <handa@m17n.org>
11578
11579 * international/characters.el (build-unicode-category-table):
11580 Delete it.
11581 (unicode-category-table): Set it by unicode-property-table-internal.
11582
11583 * international/mule-cmds.el (char-code-property-alist): Move to
11584 to src/chartab.c.
11585 (get-char-code-property): Call unicode-property-table-internal to
11586 load a file. Call get-unicode-property-internal where necessary.
11587 (put-char-code-property): Call unicode-property-table-internal to
11588 load a file. Call put-unicode-property-internal where necessary.
11589 put-unicode-property-internal where necessary.
11590 (char-code-property-description):
11591 Call unicode-property-table-internal to load a file.
11592
11593 * international/charprop.el:
11594 * international/uni-bidi.el:
11595 * international/uni-category.el:
11596 * international/uni-combining.el:
11597 * international/uni-comment.el:
11598 * international/uni-decimal.el:
11599 * international/uni-decomposition.el:
11600 * international/uni-digit.el:
11601 * international/uni-lowercase.el:
11602 * international/uni-mirrored.el:
11603 * international/uni-name.el:
11604 * international/uni-numeric.el:
11605 * international/uni-old-name.el:
11606 * international/uni-titlecase.el:
11607 * international/uni-uppercase.el: Regenerate.
11608
11609 * loadup.el: Load international/charprop.el before
11610 international/characters.
11611
11612 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
11613
11614 * window.el (next-buffer, previous-buffer): Signal an error if
11615 called from a minibuffer window.
11616
11617 * bindings.el: Revert 2011-07-04 change.
11618
11619 2011-07-06 Richard Stallman <rms@gnu.org>
11620
11621 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
11622 (rmail-mime-insert-bulk, rmail-mime-insert-text):
11623 Treat markers like ints.
11624 (rmail-mime-entity): Doc fix.
11625
11626 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
11627
11628 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
11629 defcustom again for backwards compatibility.
11630
11631 * simple.el (shell-command-on-region): Fill.
11632
11633 * dired-aux.el (dired-kill-line): Add a doc string.
11634
11635 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
11636 to "\\sw\\|\\s_" (bug#358).
11637
11638 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
11639 (dired-unmark-backward): Ditto.
11640 (dired-flag-backup-files): Ditto.
11641
11642 * dired-x.el (dired-mark-sexp): Ditto.
11643
11644 2011-07-06 Richard Stallman <rms@gnu.org>
11645
11646 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
11647 (rmail-mime-entity): New arg TRUNCATED.
11648 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
11649 New functions.
11650 (rmail-mime-save): Warn if entity is truncated.
11651 (rmail-mime-toggle-hidden): Likewise, for showing.
11652 (rmail-mime-process-multipart): Record when an entity is truncated.
11653
11654 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
11655 if ENTITY is a string.
11656
11657 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
11658
11659 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
11660 of faces when `M-C-x'-ing their definitions (bug#8378).
11661 Also clean up the code slightly.
11662
11663 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
11664 because that makes the colors go away.
11665
11666 * mail/sendmail.el (send-mail-function): Change the default to
11667 `sendmail-query-once'.
11668 (sendmail-query-once): Add an autoload cookie.
11669
11670 * net/network-stream.el (network-stream-open-starttls): Try using
11671 a plain connection even if the server offered STARTTLS, and we
11672 kinda wanted to use it, if Emacs doesn't have any STARTTLS
11673 capability. This should make smtpmail.el work in slightly more
11674 configurations.
11675
11676 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
11677
11678 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
11679 New defun.
11680 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
11681
11682 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
11683
11684 * progmodes/sql.el: Version 3.0
11685 (sql-product-alist): Add product :completion-object,
11686 :completion-column, and :statement attributes.
11687 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
11688 (sql-mode-syntax-table): Mark all punctuation.
11689 (sql-font-lock-keywords-builder): Temporarily remove fallback on
11690 ansi keywords.
11691 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
11692 (sql-mode-oracle-font-lock-keywords): Improve.
11693 (sql-oracle-show-reserved-words): New function for development.
11694 (sql-product-font-lock): Simplify for source code buffers.
11695 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
11696 New functions.
11697 (sql-highlight-product): Set product specific syntax table.
11698 (sql-mode-map): Add statement movement functions.
11699 (sql-ansi-statement-starters, sql-oracle-statement-starters):
11700 New variable.
11701 (sql-statement-regexp, sql-beginning-of-statement)
11702 (sql-end-of-statement, sql-signum): New functions.
11703 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
11704 (sql-show-sqli-buffer): Bug fix.
11705 (sql-interactive-mode): Store connection data as buffer local.
11706 (sql-connect): Add NEW-NAME parameter. Redesign interaction
11707 with sql-interactive-mode.
11708 (sql-save-connection): Save buffer local settings.
11709 (sql-connection-menu-filter): Change menu entry name.
11710 (sql-product-interactive): Bug fix.
11711 (sql-preoutput-hold): New variable.
11712 (sql-interactive-remove-continuation-prompt): Bug fixes.
11713 (sql-debug-redirect): New variable.
11714 (sql-str-literal): New function.
11715 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
11716 Redesign.
11717 (sql-oracle-save-settings, sql-oracle-restore-settings)
11718 (sql-oracle-list-all, sql-oracle-list-table): New functions.
11719 (sql-completion-object, sql-completion-column)
11720 (sql-completion-sqlbuf): New variables.
11721 (sql-build-completions-1, sql-build-completions)
11722 (sql-try-completion): New functions.
11723 (sql-read-table-name): Use them.
11724 (sql-contains-names): New buffer local variable.
11725 (sql-list-all, sql-list-table): Use it.
11726 (sql-oracle-completion-types): New variable.
11727 (sql-oracle-completion-object, sql-sqlite-completion-object)
11728 (sql-postgres-completion-object): New functions.
11729
11730 2011-07-06 Glenn Morris <rgm@gnu.org>
11731
11732 * window.el (pop-to-buffer): Doc fix.
11733
11734 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
11735
11736 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
11737
11738 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
11739
11740 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
11741
11742 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
11743
11744 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
11745
11746 * button.el (button): Inherit from link face. Suggested by Dan
11747 Nicolaescu.
11748
11749 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
11750
11751 * progmodes/gdb-mi.el: Fit in 80 columns.
11752 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
11753 switch-to-buffer.
11754
11755 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
11756 if imenu is simply not configured (bug#8941).
11757
11758 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
11759
11760 * allout.el (allout-post-undo-hook): New allout outline-change
11761 event hook to signal undo activity.
11762 (allout-post-command-business): Run allout-post-undo-hook if an
11763 undo just occurred.
11764 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
11765 * allout-widgets.el (allout-widgets-after-undo-function):
11766 Ensure the integrity of the current item's decoration after it has been
11767 in the vicinity of an undo.
11768 (allout-widgets-mode): Include allout-widgets-after-undo-function
11769 on the new allout-post-undo-hook.
11770
11771 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
11772
11773 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
11774 Let define-derived-mode define it.
11775 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
11776 cycles of abbrev-table inheritance (bug#8998).
11777
11778 2011-07-05 Roland Winkler <winkler@gnu.org>
11779
11780 * textmodes/bibtex.el: Add support for biblatex.
11781 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
11782 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
11783 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
11784 (bibtex-entry-alist, bibtex-field-alist): New variables.
11785 (bibtex-entry-field-alist): Obsolete alias for
11786 bibtex-BibTeX-entry-alist.
11787 (bibtex-entry-alist, bibtex-field-alist): New widgets.
11788 (bibtex-set-dialect): New command.
11789 (bibtex-entry-type, bibtex-entry-head)
11790 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
11791 Bind via bibtex-set-dialect.
11792 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
11793 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
11794 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
11795 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
11796 Define via bibtex-set-dialect.
11797 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
11798 Obey bibtex-no-opt-remove-re.
11799 (bibtex-vec-push, bibtex-vec-incr): New functions.
11800 (bibtex-format-entry, bibtex-field-list)
11801 (bibtex-print-help-message, bibtex-validate)
11802 (bibtex-search-entries): Use new format of bibtex-entry-alist.
11803
11804 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
11805
11806 * progmodes/compile.el (compilation-goto-locus):
11807 * net/tramp-cmds.el (tramp-append-tramp-buffers):
11808 * bs.el (bs-cycle-next, bs-cycle-previous):
11809 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
11810 * bindings.el (mode-line-other-buffer):
11811 * autoinsert.el (auto-insert):
11812 * arc-mode.el (archive-extract):
11813 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
11814
11815 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
11816
11817 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
11818 Fix check of `emacs-lock-unlockable-modes'.
11819 Coerce true values of `emacs-lock--try-unlocking' to t.
11820
11821 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
11822
11823 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
11824 * emacs-lock.el: New file.
11825
11826 2011-07-05 Julien Danjou <julien@danjou.info>
11827
11828 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
11829 than `boundp' to check if face is set.
11830
11831 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
11832
11833 * register.el (registerv-make):
11834 * window.el (window-min-height): Fix typos in docstrings.
11835
11836 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
11837
11838 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
11839 Update doc string.
11840
11841 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
11842
11843 * server.el (server-execute): Catch quit and call
11844 `server-return-error' to pass the error back to emacsclient and
11845 close the connection (bug#8942).
11846
11847 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
11848
11849 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
11850 insecure exception for current topic. Also note that auto-saves
11851 are handled differently.
11852
11853 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
11854 State variables for tracking auto-save inhibition situation.
11855
11856 (allout-write-contents-hook-handler): Rename from
11857 'allout-write-file-hook-handler', and describe how it depends on
11858 write-contents-functions sensitivity to non-nil value to prevent
11859 file write.
11860
11861 (allout-auto-save-hook-handler): Remove. auto-save does not check
11862 this in individual buffers, only in the starting buffer, so this
11863 is not the right way for us to inhibit auto-save in a buffer
11864 according to its condition.
11865
11866 (allout-mode): Use new allout-write-contents-hook-handler, and
11867 only with write-contents-functions. Remove auto-save provisions -
11868 they're implemented elsewhere.
11869
11870 (allout-before-change-handler): If undo is in progress, note that
11871 for attention of allout-post-command-business.
11872
11873 (allout-post-command-business): If the command we're following was
11874 an undo, check for change in the status of encrypted items and
11875 adjust auto-save inhibitions accordingly.
11876
11877 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
11878 according to whether there are or aren't any plain-text topics
11879 pending encryption.
11880
11881 (allout-inhibit-auto-save-info-for-decryption):
11882 Adjust buffer-saved-size and some allout state to inhibit auto-saves
11883 if there are plain-text topics pending encryption.
11884
11885 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
11886 buffer-saved-size and some allout state to not inhibit auto-saves
11887 if there are no longer any plain-text topics pending encryption.
11888
11889 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
11890 No longer provide for exemption of the current topic.
11891
11892 2011-07-04 Juri Linkov <juri@jurta.org>
11893
11894 Add 7z operations to delete and save changed members (bug#8968).
11895 * arc-mode.el (archive-7z-expunge, archive-7z-update):
11896 New defcustoms.
11897 (archive-7z-write-file-member): New function.
11898 (archive-7z-summarize): Fix the number of dashes in the
11899 listing output.
11900
11901 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
11902
11903 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
11904 (bug#8958).
11905
11906 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
11907
11908 * bindings.el: Ignore next-buffer and previous-buffer in
11909 minibuffer-local-map.
11910
11911 * font-lock.el (font-lock-builtin-face): Change light background
11912 color to dark slate blue (Bug#6693).
11913
11914 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
11915
11916 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
11917
11918 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
11919
11920 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
11921 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
11922 Add switch-to-buffer.
11923
11924 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
11925
11926 * isearch.el (isearch-search-fun-function): Clarify further the
11927 meaning of the function returned.
11928
11929 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
11930
11931 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
11932
11933 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
11934 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
11935 Use it.
11936 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
11937 `tramp-default-remote-path' does not exist.
11938 (tramp-send-command-and-read): New optional argument NOERROR.
11939 (tramp-open-connection-setup-interactive-shell)
11940 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
11941 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
11942 (tramp-process-sentinel): Flush also process' connection property.
11943 (tramp-sh-handle-start-file-process): Do not set process
11944 sentinel. It is done now ...
11945 (tramp-maybe-open-connection): ... here. (Bug#8929)
11946
11947 2011-07-04 MON KEY <monkey@sandpframing.com>
11948
11949 * play/animate.el (animate-string): Doc fixes and allow changing
11950 the buffer name (bug#5417).
11951
11952 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
11953
11954 * play/animate.el (animation-buffer-name): Rename from *animate*.
11955
11956 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
11957
11958 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
11959 This is simpler and helps future-proof the code.
11960 (timer-until): Use time-subtract and float-time.
11961 (timer--time-less-p): Use time-less-p.
11962
11963 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
11964
11965 * type-break.el (timep): Use the value of `float-time' to avoid a
11966 byte-compiler warning.
11967
11968 * server.el (server-eval-and-print): Return any result, even nil.
11969
11970 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
11971
11972 * type-break.el: Accept time formats that the builtins accept.
11973 (timep, type-break-time-difference): Accept any format that
11974 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
11975 This is simpler and helps future-proof the code.
11976 (type-break-time-difference): Round rather than ignoring
11977 subseconds components.
11978
11979 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11980
11981 * info.el (Info-apropos-matches): Make non-interactive, since it
11982 doesn't seem to do anything useful as a command (bug#8829).
11983
11984 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
11985
11986 * frame.el (frame-background-mode, frame-set-background-mode):
11987 Move from faces.el.
11988 (frame-default-terminal-background): New function.
11989
11990 * custom.el (custom-push-theme): Don't record faces in `changed'
11991 theme; this doesn't work correctly for per-frame face settings.
11992 (disable-theme): Use face-set-after-frame-default to reset faces.
11993 (custom--frame-color-default): New function.
11994
11995 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11996
11997 * dired.el (dired-flagging-regexp): Remove unused variable
11998 (bug#8769).
11999
12000 2011-03-29 Kevin Ryde <user42@zip.com.au>
12001
12002 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12003 `perl-Test2' extend to match possible "fail #N" rep count
12004 (bug#8377).
12005
12006 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12007
12008 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
12009 `smtpmail-via-smtp' now returns the error instead of nil.
12010
12011 * isearch.el (isearch-search-fun-function): Clarify the doc string
12012 (bug#8101).
12013
12014 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
12015
12016 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
12017 unnecessary spaces (bug#8987).
12018
12019 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12020
12021 * net/network-stream.el (open-network-stream): Use the
12022 :end-of-capability command thoughout.
12023
12024 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
12025
12026 * net/network-stream.el (open-network-stream): Add the
12027 :end-of-capability command parameter, used by pop3.el.
12028
12029 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12030
12031 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
12032
12033 * fringe.el (fringe-query-style): Remove redundant text " (type ?
12034 for list)" (bug#6475).
12035
12036 * files.el (file-expand-wildcards): Ignore non-readable
12037 sub-directories while trying to find matches instead of signaling
12038 an error (bug#6297).
12039
12040 * man.el (Man-reference-regexp): Allow matching possible
12041 word-wrapped references (bug#6289).
12042
12043 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
12044 for consistency with the other vc buffers (bug#6197).
12045 (vc-checkin): Ditto.
12046
12047 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
12048
12049 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
12050
12051 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
12052
12053 * custom.el (defcustom): Clarify that :set is only used in the
12054 Customize user interface (bug#6089).
12055
12056 * progmodes/flymake.el (flymake-mode): If the buffer isn't
12057 associated with a file, refuse to run instead of erroring out
12058 (bug#6084).
12059
12060 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
12061 the doc string, since it appears that using `fill-column' always
12062 controls the width (bug#7845).
12063
12064 * simple.el (shell-command-on-region): Say where the error output
12065 went if `shell-command-default-error-buffer' is set (bug#6857).
12066
12067 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
12068
12069 * allout.el (allout-yank-processing): Adjust cursor position for
12070 backwards-deleted space.
12071
12072 (allout-rebullet-heading): Register changes with
12073 allout-exposure-changed-hook, so the modified topic is properly
12074 decorated.
12075
12076 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
12077
12078 * minibuffer.el (completion-in-region): Document PREDICATE
12079 (bug#7136).
12080
12081 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
12082 of keyword/argument pairs (bug#6904).
12083
12084 * replace.el (multi-occur):
12085 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
12086
12087 2011-07-02 Drew Adams <drew.adams@oracle.com>
12088
12089 * dired.el (dired-mark-if): Make the message about whether it's
12090 marking or unmarking clearer (bug#8523).
12091
12092 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
12093
12094 * disp-table.el (display-table-print-array): New function.
12095 (describe-display-table): Use it to print the vectors more pretty
12096 (Bug#8859).
12097
12098 2011-07-02 Martin Rudalics <rudalics@gmx.at>
12099
12100 * window.el (window-state-get-1): Don't assign clone numbers.
12101 Add clone-of item to list of window parameters.
12102 (window-state-put-2): Don't process clone numbers.
12103 (display-buffer-alist): Fix doc-string.
12104
12105 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
12106
12107 * subr.el (remq): Don't allocate if it's not needed.
12108 (keymap--menu-item-binding, keymap--menu-item-with-binding)
12109 (keymap--merge-bindings): New functions.
12110 (keymap-canonicalize): Use them to refine the canonicalization.
12111 * minibuffer.el (minibuffer-local-completion-map)
12112 (minibuffer-local-must-match-map): Move initialization from C.
12113 (minibuffer-local-filename-completion-map): Move initialization from C;
12114 don't inherit from anything here.
12115 (minibuffer-local-filename-must-match-map): Make obsolete.
12116 (completing-read-default): Use make-composed-keymap to combine
12117 minibuffer-local-filename-completion-map with either
12118 minibuffer-local-must-match-map or
12119 minibuffer-local-filename-completion-map.
12120
12121 2011-07-01 Glenn Morris <rgm@gnu.org>
12122
12123 * type-break.el (type-break-time-sum): Use dolist.
12124
12125 * textmodes/flyspell.el (flyspell-word-search-backward):
12126 Replace CL function.
12127
12128 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
12129
12130 * mouse.el (mouse--strip-first-event): New function.
12131 (function-key-map): Use it to map fringe clicks to normal clicks
12132 by default.
12133
12134 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
12135 (vc-bzr-revision-completion-table): Add support for annotate and date.
12136
12137 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
12138 inherit from parent.
12139
12140 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
12141
12142 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
12143 (dired-show-file-type): Doc fixup (bug#8818).
12144
12145 * dired.el (dired-mode): Fix up the doc string as suggested by
12146 Drew Adams (bug#8817).
12147
12148 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
12149 cookie, since the manual says that it should be possible to add
12150 this function to `find-file-hook' (bug#8709).
12151
12152 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
12153
12154 * progmodes/cfengine.el: Moved all cfengine3.el functionality
12155 here. Noted Ted Zlatanov as the maintainer.
12156 (cfengine-common-settings, cfengine-common-syntax): New functions
12157 to set up common things between `cfengine-mode' and
12158 `cfengine3-mode'.
12159 (cfengine3-mode): New mode.
12160 (cfengine3-defuns cfengine3-defuns-regex
12161 (cfengine3-class-selector-regex cfengine3-category-regex)
12162 (cfengine3-vartypes cfengine3-font-lock-keywords)
12163 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
12164 (cfengine3-indent-line): Add from cfengine3.el.
12165
12166 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
12167
12168 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
12169
12170 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
12171
12172 2011-07-01 Martin Rudalics <rudalics@gmx.at>
12173
12174 * window.el (same-window-buffer-names, same-window-regexps)
12175 (same-window-p, special-display-frame-alist)
12176 (special-display-popup-frame, special-display-function)
12177 (special-display-buffer-names, special-display-regexps)
12178 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
12179 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
12180 (split-window-preferred-function, split-height-threshold)
12181 (split-width-threshold, even-window-heights)
12182 (display-buffer-mark-dedicated, window-splittable-p)
12183 (split-window-sensibly, window-safely-shrinkable-p):
12184 Un-obsolete.
12185 (display-buffer): Don't spread args with function specifier
12186 because special-display-popup-frame won't like it.
12187
12188 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
12189
12190 Time-stamp simplifications and fixes.
12191 These improve accuracy slightly, and future-proof the code
12192 against some potential changes to current-time format.
12193
12194 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
12195 by using time-since and float-time.
12196
12197 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
12198 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
12199 + NNN microseconds".
12200
12201 * type-break.el (type-break-time-sum): Rewrite using time-add.
12202
12203 * play/hanoi.el (hanoi-current-time-float): Remove.
12204 All uses replaced by float-time.
12205
12206 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
12207 This yields a more-accurate answer.
12208 (rng-time-to-float): Remove; no longer needed.
12209
12210 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
12211
12212 * calendar/timeclock.el (timeclock-seconds-to-time):
12213 Defalias to seconds-to-time, since they're the same thing.
12214
12215 * emacs-lisp/elp.el (elp-elapsed-time):
12216 * emacs-lisp/benchmark.el (benchmark-elapse):
12217 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
12218
12219 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
12220
12221 * window.el (bury-buffer): Don't iconify the only frame.
12222 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
12223 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
12224
12225 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
12226
12227 * eshell/em-smart.el (eshell-smart-display-navigate-list):
12228 Add mouse-yank-primary.
12229
12230 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
12231
12232 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
12233
12234 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
12235
12236 * emacs-lisp/find-func.el (find-library--load-name): New fun.
12237 (find-library-name): Use it to find relative load names when provided
12238 absolute file name (bug#8803).
12239
12240 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
12241
12242 * textmodes/flyspell.el (flyspell-word): Consider words that
12243 differ only in case as potential doublons (bug#5687).
12244
12245 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
12246 Remove two rather uninteresting debugging-like messages to make
12247 debbugs.el more silent.
12248
12249 * comint.el (comint-password-prompt-regexp): Accept "Response" as
12250 a password-like phrase.
12251
12252 2011-06-30 Masatake YAMATO <yamato@redhat.com>
12253
12254 * progmodes/cc-guess.el: New file.
12255
12256 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
12257
12258 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
12259 derived from `c-basic-common-init'.
12260
12261 * progmodes/cc-mode.el (top-level): Require cc-guess.
12262 (c-basic-common-init): Use `cc-choose-style-for-mode'.
12263
12264 2011-06-30 Lawrence Mitchell <wence@gmx.li>
12265
12266 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
12267
12268 2011-06-30 Alan Mackenzie <acm@muc.de>
12269
12270 * progmodes/cc-engine.el (c-guess-continued-construct):
12271 Correct the handling of template-args-cont, particularly for when font
12272 lock is disabled. Name this case as "CASE G".
12273
12274 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
12275
12276 * allout.el (allout-yank-processing): Fix injection of extra space
12277 between bullet and non-whitespace character in first topic when
12278 pasting, ensuring that the actual spacing in the pasted topic
12279 following the bullet char is preserved. This extra space was
12280 causing pasted encrypted topics to get a decrypted status even
12281 when the content was actually still encrypted. Now the decryption
12282 status from before the paste is preserved.
12283
12284 (allout-flag-region): Set all allout overlays so they evaporate
12285 when reduced to zero length (evanescent), to prevent overlay
12286 leakage.
12287
12288 2011-06-30 Glenn Morris <rgm@gnu.org>
12289
12290 * w32-fns.el (w32-charset-info-alist): Declare.
12291
12292 * find-dired.el (find-grep-options): Simplify.
12293
12294 * term/ns-win.el (ns-set-resource): Declare.
12295
12296 * ses.el (row, col): Declare dynamic variables honestly.
12297
12298 * textmodes/reftex-parse.el (index-tags): Declare.
12299
12300 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
12301
12302 * cus-edit.el (customize-push-and-save): New function.
12303
12304 * files.el (hack-local-variables-confirm): Use it.
12305
12306 * custom.el (load-theme): New arg NO-CONFIRM.
12307 Use customize-push-and-save (Bug#8720).
12308 (custom-enabled-themes): Doc fix.
12309
12310 * cus-theme.el (customize-create-theme)
12311 (custom-theme-merge-theme): Callers to load-theme changed.
12312
12313 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
12314
12315 * thingatpt.el (thing-at-point-short-url-regexp): Require that
12316 short URLs have at least one dot in them (bug #7614).
12317
12318 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
12319 nil, because using a pty is apparently too slow (bug #895).
12320
12321 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
12322
12323 * mail/sendmail.el (sendmail-query-once): New function.
12324 (sendmail-query-once-function): New variable.
12325
12326 2011-06-29 Glenn Morris <rgm@gnu.org>
12327
12328 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
12329
12330 * ses.el (top-level): Require cl when compiling.
12331 (ses-set-localvars): Fix error statement.
12332 Call it at compile time to silence a storm of warnings.
12333
12334 2011-06-29 Martin Rudalics <rudalics@gmx.at>
12335
12336 * window.el (normalize-live-buffer): Rename to
12337 window-normalize-buffer.
12338 (normalize-live-frame): Rename to window-normalize-frame.
12339 (normalize-any-window): Rename to window-normalize-any-window.
12340 (normalize-live-window): Rename to window-normalize-live-window.
12341 (make-window-atom): Rename to window-make-atom.
12342 (window-resize-reset): Rename to window--resize-reset.
12343 (window-resize-reset-1): Rename to window--resize-reset-1.
12344 (resize-mini-window): Rename to window--resize-mini-window.
12345 (resize-subwindows-skip-p): Rename to
12346 window--resize-subwindows-skip-p.
12347 (resize-subwindows-normal): Rename to
12348 window--resize-subwindows-normal.
12349 (resize-subwindows): Rename to window--resize-subwindows.
12350 (resize-other-windows): Rename to window--resize-siblings.
12351 (resize-this-window): Rename to window--resize-this-window.
12352 (resize-root-window): Rename to window--resize-root-window.
12353 (resize-root-window-vertically): Rename to
12354 window--resize-root-window-vertically.
12355 (normalize-buffer-to-display): Rename to
12356 window-normalize-buffer-to-display.
12357 (normalize-buffer-to-switch-to): Rename to
12358 window-normalize-buffer-to-switch-to.
12359 Correspondingly update all callers of the functions listed
12360 above.
12361 (display-buffer-alist, display-buffer-normalize-arguments)
12362 (display-buffer-normalize-options, display-buffer)
12363 (display-buffer-alist-set): Use "function" instead of
12364 "fun-with-args".
12365
12366 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
12367
12368 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
12369 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
12370 debbugs.gnu.org. Mention acknowledgment email.
12371
12372 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
12373
12374 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
12375 buffer multibyteness, since it shouldn't matter.
12376
12377 2011-06-28 Martin Rudalics <rudalics@gmx.at>
12378
12379 * window.el (display-buffer-in-side-window): Handle dedicated
12380 windows as in display-buffer-reuse-window.
12381 (display-buffer-normalize-alist): Use value of override
12382 specifier.
12383 (display-buffer-normalize-specifiers): Use value of
12384 other-window-means-other-frame specifier.
12385 (display-buffer-alist): Rewrite some texts in widgets.
12386 (display-buffer): Spread arguments when calling function
12387 specified by fun-with-args.
12388
12389 2011-06-28 Deniz Dogan <deniz@dogan.se>
12390
12391 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
12392 Unnest `let'.
12393
12394 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
12395 selectors (Bug#5732).
12396 (css-proprietary-nmstart-re): Use `regexp-opt'.
12397
12398 2011-06-27 Jari Aalto <jari.aalto@cante.net>
12399
12400 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
12401 (eshell-ls-date-format): New defcustom.
12402 (eshell-ls-file): Use it.
12403
12404 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
12405
12406 * help-fns.el (describe-variable): Fix message for terminal-local vars.
12407
12408 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
12409
12410 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
12411 (ange-ftp-make-tmp-name): New arg.
12412 (ange-ftp-file-local-copy): Use it.
12413
12414 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
12415
12416 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
12417 no-conversion (Bug#8870).
12418
12419 2011-06-27 Martin Rudalics <rudalics@gmx.at>
12420
12421 * window.el (window-right, window-left, window-child)
12422 (window-child-count, window-last-child)
12423 (window-iso-combination-p, walk-window-tree-1)
12424 (window-atom-check-1, window-tree-1, delete-window)
12425 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
12426 new naming conventions - window-vchild, window-hchild,
12427 window-next and window-prev are now called window-top-child,
12428 window-left-child, window-next-sibling and window-prev-sibling
12429 respectively.
12430 (resize-window-reset): Rename to window-resize-reset.
12431 (resize-window-reset-1): Rename to window-resize-reset-1.
12432 (resize-window): Rename to window-resize.
12433 (window-min-height, window-min-width)
12434 (resize-mini-window, resize-this-window, resize-root-window)
12435 (resize-root-window-vertically, adjust-window-trailing-edge)
12436 (enlarge-window, shrink-window, maximize-window)
12437 (minimize-window, delete-window, quit-restore-window)
12438 (split-window, balance-windows, balance-windows-area-adjust)
12439 (balance-windows-area, window-state-put-2)
12440 (display-buffer-even-window-sizes, display-buffer-set-height)
12441 (display-buffer-set-width, set-window-text-height)
12442 (fit-window-to-buffer): Rename all "resize-window" prefixed
12443 calls to use the "window-resize" prefix convention.
12444 (display-buffer-alist): Fix symbol for label specifier.
12445 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
12446 corresponding specifier.
12447 Reported by Juanma Barranquero <lekktu@gmail.com>.
12448
12449 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
12450
12451 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
12452 convention.
12453 (ses-call-printer): Does not pass an empty string to formatter when the
12454 cell is empty to keep from barking printer Calc math-format-value.
12455
12456 2011-06-27 Richard Stallman <rms@gnu.org>
12457
12458 * battery.el (battery-mode-line-limit): New variable.
12459 (battery-update): Handle it.
12460
12461 * mail/rmailmm.el (rmail-mime-process-multipart):
12462 Handle truncated messages.
12463
12464 2011-06-27 Glenn Morris <rgm@gnu.org>
12465
12466 * progmodes/flymake.el (flymake-err-line-patterns):
12467 Allow for column numbers in the ant/javac pattern. (Bug#8866)
12468
12469 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
12470
12471 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
12472 (ses--clean-!, ses--clean-_): New functions.
12473 (ses-range): Add configurability of readout order, and conversion
12474 to Calc vector.
12475
12476 * ses.el (ses-repair-cell-reference-all): New function.
12477 (ses-cell-symbol): Set macro as safe, so that it can be used in
12478 formulas.
12479
12480 * ses.el: Update cycle detection algorithm.
12481 (ses-localvars): Add ses--Dijkstra-attempt-nb and
12482 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
12483 (ses-set-localvars): New function.
12484 (ses-make-cell): Add property-list as a cell element.
12485 (ses-cell-property-get-fun, ses-cell-property-get)
12486 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
12487 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
12488 New functions.
12489 (ses-cell-property-set, ses-cell-property-pop)
12490 (ses-cell-property-get-handle): New macro.
12491 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
12492 New aliases, used for code readability.
12493 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
12494 cycle detection.
12495 (ses-self-reference-early-detection): New defcustom.
12496 (ses-formula-references): Robustify against self-referring cells.
12497 (ses-mode): Use ses-set-localvars.
12498 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
12499 before lauching the update processing.
12500 (ses-initialize-Dijkstra-attempt): New function.
12501 (ses-recalculate-cell): Update for cycle detection based on
12502 Dijkstra algorithm.
12503
12504 * ses.el: Fix commenting and indenting convention.
12505
12506 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
12507
12508 * bs.el (bs-cycle-next): Complete last change.
12509
12510 2011-06-27 Drew Adams <drew.adams@oracle.com>
12511
12512 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
12513
12514 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
12515
12516 * net/network-stream.el (network-stream-open-starttls):
12517 Don't re-get capabilities unless we've reestablished connection.
12518 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
12519
12520 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
12521 to binary to possibly avoid line encoding issues on Windows (among
12522 other things).
12523
12524 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
12525
12526 * net/network-stream.el (open-network-stream): Return an :error
12527 saying what the problem was, if possible.
12528
12529 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
12530 server.
12531
12532 * net/network-stream.el (network-stream-open-starttls): If we
12533 wanted to use STARTTLS, and the server offered it, but we weren't
12534 able to because we had no STARTTLS support, then close the connection.
12535 (open-network-stream): Return an :error element, if present.
12536
12537 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
12538
12539 * hl-line.el (hl-line-sticky-flag): Doc fix.
12540 (global-hl-line-sticky-flag): New option (Bug#8323).
12541 (global-hl-line-highlight): Obey it.
12542
12543 * vc/vc.el (vc-revert-show-diff): Default to t.
12544
12545 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
12546
12547 * allout-widgets.el (allout-widgets-post-command-business):
12548 Stop decorating intermediate isearch matches. They're not being
12549 undecorated when an isearch is continued past, and isearch
12550 automatically collapses them. This leads to "widget leaks", where
12551 decorated items accumulate in collapsed areas. Lines with lots of
12552 hidden widgets can slow down cursor travel, substantially.
12553 Too much complicated machinery would be needed to ensure undecoration,
12554 so we're doing without this nicety.
12555
12556 (allout-widgets-tally-string): Don't try to do a hash-table-count
12557 of allout-widgets-tally when it's nil. This eliminates spurious "Error
12558 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
12559 *Messages* when allout-widgets-maintain-tally is t.
12560
12561 2011-06-26 Martin Rudalics <rudalics@gmx.at>
12562
12563 * window.el (display-buffer-normalize-argument): Rename to
12564 display-buffer-normalize-arguments. Handle special meaning of
12565 LABEL argument. Respect special-display-function when popping up
12566 a new frame. Fix code searching for a window showing the buffer
12567 on another frame.
12568 (display-buffer-normalize-specifiers):
12569 Call display-buffer-normalize-arguments.
12570 (display-buffer-in-window): Don't undedicate the window if its
12571 buffer remains the same.
12572 Reported by Drew Adams <drew.adams@oracle.com>.
12573 (display-buffer-alist): Add choice for same-window macro
12574 specfier.
12575 (display-buffer): Mention special meaning of LABEL argument in
12576 doc-string. Fix quoting. Don't pop up a new frame even as
12577 fallback.
12578
12579 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
12580
12581 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
12582 avoid deleting the current window in some cases (bug#8911).
12583
12584 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
12585
12586 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
12587 (Bug#8934)
12588
12589 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
12590
12591 * net/network-stream.el (network-stream-open-starttls):
12592 Use built-in TLS support if `gnutls-available-p' is true.
12593 (network-stream-open-tls): Ditto.
12594
12595 2011-06-26 Leo Liu <sdl.web@gmail.com>
12596
12597 * register.el (registerv): New struct.
12598 (registerv-make): New function.
12599 (jump-to-register, describe-register-1, insert-register):
12600 Support the jump-func, print-func and insert-func slot of a registerv
12601 struct. (Bug#8415)
12602
12603 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
12604
12605 * vc/vc.el (vc-revert-show-diff): New defcustom.
12606 (vc-diff-internal): New arg specifying diff buffer.
12607 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
12608 reuse an existing *vc-diff* buffer (Bug#8927).
12609
12610 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
12611
12612 2011-06-26 Glenn Morris <rgm@gnu.org>
12613
12614 * progmodes/f90.el (f90-critical-indent): New option.
12615 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
12616 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
12617 (f90-mode): Doc fix.
12618 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
12619 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
12620 (f90-beginning-of-block, f90-next-block, f90-indent-region)
12621 (f90-match-end): Handle block, critical.
12622
12623 2011-06-25 Glenn Morris <rgm@gnu.org>
12624
12625 * calendar/diary-lib.el (diary-included-files): Doc fix.
12626 (diary-include-files): New function, extracted from
12627 diary-include-other-diary-files and diary-mark-included-diary-files.
12628 (diary-include-other-diary-files, diary-mark-included-diary-files):
12629 Just call diary-include-files.
12630 (diary-mark-entries): Reset diary-included-files on first call.
12631
12632 * calendar/diary-lib.el (diary-mark-entries)
12633 (diary-mark-included-diary-files):
12634 Visit included diary-files in temp buffers.
12635
12636 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
12637 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
12638 (f90-start-block-re, f90-imenu-generic-expression)
12639 (f90-looking-at-program-block-start, f90-no-block-limit):
12640 Add support for submodules.
12641
12642 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
12643 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
12644
12645 2011-06-25 Eli Zaretskii <eliz@gnu.org>
12646
12647 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
12648 buffer-file-type before setting its value, to avoid disastrous
12649 global effects on decoding files for DOS/Windows systems. (Bug#8780)
12650
12651 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
12652
12653 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
12654
12655 * ses.el (ses-unload-function):
12656 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
12657
12658 * proced.el (proced-unload-function):
12659 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
12660
12661 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
12662
12663 * server.el (server-create-window-system-frame): Add parameters arg.
12664 (server-process-filter): Doc fix. Handle frame-parameters.
12665
12666 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
12667
12668 Fix bug#8730, bug#8781.
12669
12670 * loadhist.el (unload--set-major-mode): New function.
12671 (unload-feature): Use it.
12672
12673 * progmodes/python.el (python-after-info-look): Add autoload cookie.
12674 (python-unload-function): New function.
12675
12676 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
12677
12678 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
12679
12680 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
12681
12682 * net/browse-url.el (browse-url-firefox-program): Add icecat to
12683 the candidates list.
12684
12685 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
12686
12687 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
12688
12689 2011-06-23 Richard Stallman <rms@gnu.org>
12690
12691 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
12692 (rmail-variables): Set next-error-move-function.
12693 (rmail-what-message): Take argument POS.
12694 (rmail-next-error-move): New function.
12695
12696 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
12697
12698 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
12699 messages for adjacent non-terminals.
12700
12701 2011-06-23 Richard Stallman <rms@gnu.org>
12702
12703 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
12704 (rmail-show-message-1): Preserve buffer modified flag.
12705 (rmail-start-mail): Don't specify use of rmail-mail-return;
12706 that's done by mail-bury now.
12707 (rmail-mail-return): Handle arg NEWBUF.
12708
12709 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
12710
12711 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
12712 SIZE is a number.
12713
12714 2011-06-23 Martin Rudalics <rudalics@gmx.at>
12715
12716 * window.el (get-lru-window, get-mru-window)
12717 (get-largest-window): Never return a minibuffer window.
12718 (display-buffer-pop-up-window): Fix a bug that could lead to
12719 reusing the minibuffer window.
12720 (display-buffer): Pass original specifier argument to
12721 display-buffer-function instead of the normalized one.
12722 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
12723
12724 2011-06-22 Leo Liu <sdl.web@gmail.com>
12725
12726 * minibuffer.el (completing-read-function)
12727 (completing-read-default): Move from minibuf.c
12728
12729 2011-06-22 Richard Stallman <rms@gnu.org>
12730
12731 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
12732 to Rmail even if not started by a special Rmail command.
12733
12734 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
12735 Copy the buffer currently showing just one message.
12736
12737 2011-06-22 Roland Winkler <winkler@gnu.org>
12738
12739 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
12740 (bibtex-clean-entry): First delete the old key so that a
12741 customized algorithm for generating the new key does not get
12742 confused by the old key.
12743 (bibtex-url): Obey regexp of first step.
12744 (bibtex-search-entries): Do not use add-to-list with local
12745 list-var.
12746
12747 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
12748
12749 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
12750 stored a user name, then query for the password first, instead of
12751 waiting for SMTP to give an error message and the trying again.
12752
12753 2011-06-22 Lawrence Mitchell <wence@gmx.li>
12754
12755 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
12756 BUFFER in call-process.
12757
12758 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
12759
12760 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
12761 QUIT twice.
12762 (smtpmail-try-auth-methods): Require user name and password from
12763 auth-source.
12764
12765 2011-06-22 Martin Rudalics <rudalics@gmx.at>
12766
12767 * window.el (display-buffer-default-specifiers)
12768 (display-buffer-alist): Remove entries for pop-up-frame-alist.
12769 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
12770 (split-window): Normalize SIDE argument (Bug#8916).
12771
12772 * frame.el (pop-up-frame-alist, pop-up-frame-function)
12773 (special-display-frame-alist, special-display-popup-frame):
12774 Remove duplicate declarations. These are now in window.el.
12775
12776 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
12777
12778 * mail/smtpmail.el (smtpmail-via-smtp):
12779 Set :use-starttls-if-possible so that we always use STARTTLS if the
12780 server supports it. SMTP servers that support STARTTLS commonly
12781 require it.
12782
12783 * net/network-stream.el (network-stream-open-starttls): Support
12784 upgrading to STARTTLS always, even if we don't have built-in support.
12785 (open-network-stream): Add the :always-query-capabilities keyword.
12786
12787 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
12788 upgrades with `open-network-stream', and rely solely on
12789 auth-source for all credentials. Big changes throughout the file,
12790 but in particular:
12791 (smtpmail-auth-credentials): Remove.
12792 (smtpmail-starttls-credentials): Remove.
12793 (smtpmail-via-smtp): Check for servers saying they want AUTH after
12794 MAIL FROM, too.
12795
12796 * net/network-stream.el (network-stream-open-starttls):
12797 Provide support for client certificates both for external and built-in
12798 STARTTLS.
12799 (auth-source): Require.
12800 (open-network-stream): Document the :client-certificate keyword.
12801 (network-stream-certificate): Change cert-cert to cert and
12802 cert-key to key.
12803
12804 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
12805
12806 * net/tramp-cache.el (top): Don't load the persistency file when
12807 "emacs -Q" has been called.
12808
12809 2011-06-21 Tim Harper <timcharper@gmail.com>
12810
12811 * term/ns-win.el (ns-initialize-window-system):
12812 Set application-specific `ApplePressAndHoldEnabled' system
12813 resource to NO as it is not yet supported by the NS port.
12814
12815 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
12816
12817 * misc.el (list-dynamic-libraries--refresh): Compute header here...
12818 (list-dynamic-libraries): ...not here.
12819
12820 2011-06-21 Leo Liu <sdl.web@gmail.com>
12821
12822 * subr.el (sha1): Implement sha1 using secure-hash.
12823
12824 2011-06-21 Martin Rudalics <rudalics@gmx.at>
12825
12826 * window.el (display-buffer-alist): In default value do not
12827 enforce searching a window on any but the selected frame.
12828 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
12829 (display-buffer-select-window): Remove function.
12830 (display-buffer-in-window): When a window on another frame gets
12831 reused, do not select it any more but just raise its frame if
12832 necessary (Bug#8851) and (Bug#8856).
12833 (display-buffer-normalize-options): Handle pop-up-frames related
12834 options more faithfully.
12835 (pop-to-buffer): Don't rely on `display-buffer' selecting the
12836 window if it is on another frame.
12837 (display-buffer-alist, display-buffer-default-specifiers):
12838 Don't make new frame unsplittable by default.
12839 (display-buffer-normalize-argument): Fix doc-string typo and use
12840 'same-frame-other-window instead of 'other-window when associating
12841 with display-buffer-macro-specifiers.
12842
12843 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
12844
12845 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
12846 New functions.
12847 (5x5-mode-map, 5x5-mode-menu): Bind them.
12848 (5x5-draw-grid): Tweak the solver's rendering.
12849
12850 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
12851
12852 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
12853 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
12854
12855 2011-06-21 Drew Adams <drew.adams@oracle.com>
12856
12857 * menu-bar.el: Use function variable instead of switch-to-buffer.
12858 (menu-bar-select-buffer-function): New variable.
12859 (menu-bar-update-buffers): Use it (bug#8876).
12860
12861 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
12862
12863 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
12864 variable's status.
12865
12866 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
12867
12868 * x-dnd.el (x-dnd-version-from-flags)
12869 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
12870 and long as number (Bug#8899).
12871 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
12872
12873 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
12874
12875 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
12876 (completion-try-completion, completion-all-completions): Compute the
12877 metadata argument if it's missing; make it optional (bug#8795).
12878
12879 * wid-edit.el: Use lex-bind and move towards completion-at-point.
12880 (widget-complete): Use new :completion-function property.
12881 (widget-completions-at-point): New function.
12882 (default): Use :completion-function instead of :complete.
12883 (widget-default-completions): Rename from widget-default-complete;
12884 Rewrite.
12885 (widget-string-complete, widget-file-complete, widget-color-complete):
12886 Remove functions.
12887 (file, symbol, function, variable, coding-system, color):
12888 * international/mule-cmds.el (default-input-method, charset)
12889 (language-info-custom-alist):
12890 * cus-edit.el (face): Use new property :completions.
12891
12892 * progmodes/pascal.el (pascal-completions-at-point): New function.
12893 (pascal-mode): Use it.
12894 (pascal-mode-map): Use completion-at-point.
12895 (pascal-toggle-completions): Make obsolete.
12896 (pascal-complete-word, pascal-show-completions):
12897 * progmodes/octave-mod.el (octave-complete-symbol):
12898 Redefine as obsolete alias.
12899 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
12900 Signal absence of completion info for old Octave,
12901 (inferior-octave-complete): Redefine as obsolete alias.
12902 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
12903 (meta-completions-at-point): Rename from meta-complete-symbol and
12904 adapt it for use on completion-at-point-functions.
12905 (meta-common-mode): Use it.
12906 (meta-looking-at-backward, meta-match-buffer): Remove.
12907 (meta-complete-symbol): Redefine as obsolete alias.
12908 (meta-common-mode-map): Use completion-at-point.
12909 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
12910 (makefile-mode-map): Use completion-at-point.
12911 (makefile-completions-at-point): Rename from makefile-complete and
12912 adapt it for use on completion-at-point-functions.
12913 (makefile-mode): Use it.
12914 (makefile-complete): Redefine as obsolete alias.
12915
12916 2011-06-20 Deniz Dogan <deniz@dogan.se>
12917
12918 * net/rcirc.el: Delete trailing whitespaces once and for all.
12919
12920 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
12921
12922 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
12923
12924 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
12925
12926 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
12927
12928 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
12929
12930 2011-06-19 Martin Rudalics <rudalics@gmx.at>
12931
12932 * window.el (display-buffer-other-window-means-other-frame):
12933 Call display-buffer-normalize-alist.
12934 (display-buffer-normalize-specifiers-1): Rename to
12935 display-buffer-normalize-argument. New argument other-frame.
12936 Rewrite.
12937 (display-buffer-normalize-specifiers-2): Rename to
12938 display-buffer-normalize-options.
12939 (display-buffer-normalize-alist-1): New function.
12940 (display-buffer-normalize-specifiers-3): Rename to
12941 display-buffer-normalize-alist.
12942 Call display-buffer-normalize-alist-1.
12943 (display-buffer-normalize-options-inhibit): New variable.
12944 (display-buffer-normalize-specifiers): Rewrite calling
12945 display-buffer-normalize-alist,
12946 display-buffer-normalize-argument, and
12947 display-buffer-normalize-options. Don't call the latter if
12948 display-buffer-normalize-options-inhibit is non-nil.
12949 (frame-auto-delete): New option.
12950 (window-deletable-p): Use frame-auto-delete.
12951 (window-list-no-nils, window-state-ignored-parameters)
12952 (window-state-get-1, window-state-get, window-state-put-list)
12953 (window-state-put-1, window-state-put-2, window-state-put):
12954 New functions.
12955 (display-buffer-normalize-options): Move special-display-p group
12956 after pop-up-frame group (Bug#8851) and (Bug#8856).
12957
12958 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
12959
12960 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
12961 groups (Bug#8776).
12962 (rx-submatch-n): New function.
12963 (rx): Document it.
12964
12965 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
12966 (Bug#8768).
12967
12968 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
12969
12970 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
12971
12972 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
12973 anytime existing face settings are present (Bug#8889).
12974
12975 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
12976 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
12977 Remove unused argument.
12978
12979 2011-06-18 Martin Rudalics <rudalics@gmx.at>
12980
12981 * window.el (display-buffer-default-specifiers):
12982 Remove pop-up-frame. Add pop-up-window-min-height,
12983 pop-up-window-min-width, and another reuse-window specifier
12984 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
12985 (display-buffer-normalize-specifiers-2):
12986 Handle split-height-threshold and split-width-threshold also when
12987 pop-up-windows is unset. Add a reuse-window specifier for the
12988 case popping up a new window fails.
12989 (special-display-popup-frame): Remove double quoting.
12990 (display-buffer-normalize-specifiers-1): Fix thinko.
12991
12992 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
12993
12994 * shell.el (shell-completion-vars): Set pcomplete-termination-string
12995 according to comint-completion-addsuffix.
12996
12997 * pcomplete.el: Convert to lexical binding and fix bug#8819.
12998 (pcomplete-suffix-list): Mark as obsolete.
12999 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
13000 pcomplete-seen in the closure.
13001 (pcomplete-comint-setup): Setup completion-at-point as well.
13002 (pcomplete--entries): New function.
13003 (pcomplete--env-regexp): New var.
13004 (pcomplete-entries): Rewrite to work with partial-completion and
13005 without relying on pcomplete-suffix-list.
13006 (pcomplete-pare-list): Remove, unused.
13007
13008 2011-06-17 Martin Rudalics <rudalics@gmx.at>
13009
13010 * window.el (display-buffer-alist): Set pop-up-window-min-height
13011 and pop-up-window-min-width in default value. Reported by
13012 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
13013 other-window-means-other-frame.
13014 (display-buffer-macro-specifiers): Comment out entry for
13015 other-window specifier.
13016 (display-buffer-other-window-means-other-frame): New function.
13017 (display-buffer-normalize-specifiers-1): New arguments
13018 buffer-name and label. Treat other-window case specially.
13019 (display-buffer-normalize-specifiers-2): Treat other-window case
13020 specially.
13021 (display-buffer-normalize-specifiers-3): New function.
13022 (display-buffer-normalize-specifiers):
13023 Call display-buffer-normalize-specifiers-3.
13024
13025 2011-06-17 Martin Rudalics <rudalics@gmx.at>
13026
13027 * window.el (same-window-p): Fix two typos introduced when
13028 adding with-no-warnings.
13029 (display-buffer-normalize-specifiers-1): Don't check
13030 pop-up-frames for 'unset initialization.
13031 (display-buffer-normalize-specifiers-2): Major rewrite using
13032 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
13033 (pop-up-frames, display-buffer-reuse-frames)
13034 (display-buffer-mark-dedicated): Don't initialize to 'unset.
13035 Suggested by David Engster <deng@randomsample.de>.
13036 (even-window-heights): Initialize to 'unset.
13037 (display-buffer-alist-set): Handle new 'unset initializations.
13038 (display-buffer-macro-specifiers): Don't pop up a new frame in the
13039 other window case.
13040
13041 2011-06-16 Martin Rudalics <rudalics@gmx.at>
13042
13043 * window.el (display-buffer-normalize-specifiers-1):
13044 Respect current value of pop-up-frames for most reasonable values of
13045 second argument of display-buffer (Bug#8865).
13046 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
13047 (switch-to-buffer-other-window-same-frame)
13048 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
13049 Adams (Bug#8875).
13050 (display-buffer): Don't check noninteractive when calling
13051 display-buffer-pop-up-frame.
13052 (display-buffer-pop-up-frame): Never pop up a frame in
13053 noninteractive mode (Bug#8857).
13054 (enlarge-window, shrink-window): Don't report an error when the
13055 window can't be resized as requested (Bug#8862).
13056
13057 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
13058
13059 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
13060
13061 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
13062
13063 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
13064
13065 2011-06-15 Alan Mackenzie <acm@muc.de>
13066
13067 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
13068 for declarators, disable knr checking to speed up for normal files.
13069 2: Refactor, replacing a sequence of nested if forms by a cond form.
13070
13071 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
13072
13073 * net/network-stream.el (open-network-stream): Add the keyword
13074 :always-query-capabilities for the case where you want to force a
13075 `plain' network connection, but the protocol still requires the
13076 capabilitiy command (i.e., SMTP and EHLO).
13077
13078 * subr.el (process-live-p): Rename from `process-alive-p' for
13079 consistency with other `-live-p' functions.
13080
13081 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
13082
13083 * window.el (same-window-buffer-names, same-window-regexps)
13084 (special-display-frame-alist, special-display-popup-frame)
13085 (special-display-function, special-display-buffer-names)
13086 (special-display-regexps, pop-up-frame-alist)
13087 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
13088 (pop-up-windows, split-window-preferred-function)
13089 (split-height-threshold, split-width-threshold, even-window-heights)
13090 (display-buffer-mark-dedicated): Don't encourage the use of
13091 display-buffer-alist from Elisp code.
13092
13093 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
13094
13095 * progmodes/python.el (python-mode): Derive from prog-mode.
13096 * progmodes/ps-mode.el (ps-mode):
13097 * progmodes/mixal-mode.el (mixal-mode):
13098 * progmodes/cfengine.el (cfengine-mode):
13099 * progmodes/ld-script.el (ld-script-mode): Likewise.
13100
13101 2011-06-15 Martin Rudalics <rudalics@gmx.at>
13102
13103 * window.el (display-buffer-alist): Trim default value to avoid
13104 popping up a new frame (Bug#8857) or reusing an arbitrary window
13105 on another frame.
13106 (display-buffer): Do not fall back on popping up a new frame in
13107 batch mode (Bug#8857).
13108
13109 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
13110
13111 * cus-theme.el (describe-theme-1): Use custom-theme-p.
13112 (custom-theme-summary): New function.
13113 (customize-themes): Use it.
13114
13115 2011-06-13 Glenn Morris <rgm@gnu.org>
13116
13117 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
13118
13119 2011-06-13 Martin Rudalics <rudalics@gmx.at>
13120
13121 * help.el (help-window): Remove variable.
13122 (help-window-point-marker, temp-buffer-max-height)
13123 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
13124 (help-print-return-message): Don't set help-window.
13125 (resize-temp-buffer-window): Rewrite cod eand doc-string.
13126 (help-window-setup-finish): Remove.
13127 (help-window-display-message, help-window-setup)
13128 (with-help-window): Major rewrite based on new
13129 display-buffer-window variable.
13130
13131 * help-mode.el (help-mode-finish): Remove help-window related
13132 code.
13133
13134 * view.el (view-exits-all-viewing-windows): Remove reference to
13135 view-return-to-alist in doc-string.
13136 (view-return-to-alist): Make obsolete.
13137 (view-buffer): Call pop-to-buffer-same-window and remove
13138 undo-window code.
13139 (view-buffer-other-window): Call pop-to-buffer-other-window and
13140 simplify code. Ignore second argument.
13141 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
13142 simplify code. Ignore second argument.
13143 (view-return-to-alist-update): Make obsolete.
13144 (view-mode-enter): Rename second argument to QUIT-RESTORE.
13145 Rewrite using quit-restore window parameters.
13146 (view-mode-exit): Rename second argument to EXIT-ONLY.
13147 Rewrite using quit-restore-window.
13148 (View-exit, View-exit-and-edit, View-leave, View-quit)
13149 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
13150 appropriate arguments.
13151 (view-end-message): Use quit-restore window parameter.
13152
13153 * window.el (display-buffer-function): Rewrite doc-string.
13154 (display-buffer-window, display-buffer-alist): New variables.
13155 (display-buffer-split-specifiers)
13156 (display-buffer-side-specifiers)
13157 (display-buffer-macro-specifiers): New constants.
13158 (display-buffer-even-window-sizes, display-buffer-set-height)
13159 (display-buffer-set-width, display-buffer-select-window)
13160 (display-buffer-in-window, display-buffer-reuse-window)
13161 (display-buffer-split-window-1, display-buffer-split-window)
13162 (display-buffer-split-atom-window, display-buffer-pop-up-window)
13163 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
13164 (display-buffer-in-side-window, normalize-buffer-to-display)
13165 (display-buffer-normalize-specifiers-1)
13166 (display-buffer-normalize-specifiers-2)
13167 (display-buffer-normalize-specifiers, display-buffer-frame):
13168 New functions.
13169 (display-buffer): Major rewrite.
13170 (display-buffer-other-window, display-buffer-other-frame)
13171 (pop-to-buffer, switch-to-buffer-other-window)
13172 (switch-to-buffer-other-frame): Rewrite.
13173 (display-buffer-same-window, display-buffer-same-frame)
13174 (display-buffer-same-frame-other-window)
13175 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
13176 (pop-to-buffer-other-window)
13177 (pop-to-buffer-same-frame-other-window)
13178 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
13179 (switch-to-buffer-other-window-same-frame): New functions.
13180 (same-window-p, special-display-p): Rewrite disabling warnings.
13181 Make obsolete.
13182 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
13183 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
13184 Make obsolete
13185 (same-window-buffer-names, same-window-regexps)
13186 (special-display-frame-alist, special-display-popup-frame)
13187 (special-display-function, special-display-buffer-names)
13188 (special-display-regexps, pop-up-frame-alist)
13189 (pop-up-frame-function, split-window-preferred-function)
13190 (split-height-threshold, split-width-threshold)
13191 (even-window-heights): Make obsolete.
13192
13193 2011-06-12 Glenn Morris <rgm@gnu.org>
13194
13195 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
13196 Misc simplifications.
13197
13198 2011-06-12 Martin Rudalics <rudalics@gmx.at>
13199
13200 * window.el (window-safely-shrinkable-p): Restore function which
13201 was inadvertently removed in change from 2011-06-11. Declare as
13202 obsolete.
13203
13204 * calendar/calendar.el (calendar-generate-window):
13205 Use window-iso-combined-p instead of combination of one-window-p and
13206 window-safely-shrinkable-p.
13207
13208 2011-06-12 Glenn Morris <rgm@gnu.org>
13209
13210 * progmodes/fortran.el (fortran-mode-syntax-table):
13211 * progmodes/f90.el (f90-mode-syntax-table):
13212 Set % to punctuation. (Bug#8820)
13213 (f90-find-tag-default): Remove, no longer needed.
13214
13215 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
13216
13217 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
13218
13219 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
13220
13221 * image.el (image-animated-p): Return animation delay in seconds.
13222 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
13223 (image-animate-timeout): Remove DELAY argument. Don't assume
13224 every subimage has the same delay; get it from image-animated-p.
13225 (image-animate): Caller changed.
13226
13227 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
13228
13229 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
13230 to ignored backtrace functions.
13231
13232 2011-06-11 Glenn Morris <rgm@gnu.org>
13233
13234 * calendar/appt.el (appt-disp-window-function): Doc fix.
13235 (appt-check): Handle overlapping appointments. (Bug#8337)
13236
13237 2011-06-11 Martin Rudalics <rudalics@gmx.at>
13238
13239 * window.el (window-tree-1, window-tree): New functions, moving
13240 the latter to window.el.
13241 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
13242 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
13243 (bw-refresh-edges): Remove.
13244 (balance-windows-1, balance-windows-2): New functions.
13245 (balance-windows): Rewrite in terms of window tree functions,
13246 balance-windows-1 and balance-windows-2.
13247 (bw-adjust-window): Remove.
13248 (balance-windows-area-adjust): New function with functionality of
13249 bw-adjust-window but using resize-window.
13250 (set-window-text-height): Rewrite doc-string.
13251 Use normalize-live-window and resize-window.
13252 (enlarge-window-horizontally, shrink-window-horizontally):
13253 Rename argument to DELTA.
13254 (window-buffer-height): New function.
13255 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
13256 Rewrite using new window resize routines.
13257 (kill-buffer-and-window, mouse-autoselect-window-select):
13258 Use ignore-errors instead of condition-case.
13259 (quit-window): Call delete-frame instead of delete-windows-on
13260 for the only buffer on frame.
13261
13262 2011-06-10 Martin Rudalics <rudalics@gmx.at>
13263
13264 * loadup.el (top-level): Load window before files for the sake
13265 of replace-buffer-in-windows.
13266
13267 * files.el (read-buffer-to-switch)
13268 (switch-to-buffer-other-window)
13269 (switch-to-buffer-other-frame, display-buffer-other-frame):
13270 Move to window.el.
13271
13272 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
13273 (previous-buffer): Move to window.el.
13274
13275 * bindings.el (unbury-buffer): Move to window.el.
13276
13277 * window.el (delete-other-windows-vertically): Move after
13278 definition of delete-other-windows.
13279 (other-window, delete-windows-on, replace-buffer-in-windows):
13280 Move here from window.c.
13281 (record-window-buffer, unrecord-window-buffer)
13282 (set-window-buffer-start-and-point, switch-to-prev-buffer)
13283 (switch-to-next-buffer): New functions.
13284 (get-next-valid-buffer, last-buffer, next-buffer): Move here
13285 from simple.el. Call switch-to-next-buffer.
13286 (previous-buffer): Move here from simple.el.
13287 Call switch-to-prev-buffer.
13288 (bury-buffer): Move here from buffer.c. Switch to previous
13289 buffer when window cannot be deleted.
13290 (unbury-buffer): Move here from bindings.el.
13291 (ctl-x-map): Move binding for other-window from window.c to
13292 here.
13293 (read-buffer-to-switch, switch-to-buffer-other-window)
13294 (switch-to-buffer-other-frame): Move here from files.el.
13295 (normalize-buffer-to-switch-to): New functions.
13296 (switch-to-buffer): Move here from buffer.c.
13297 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
13298
13299 2011-06-10 Martin Rudalics <rudalics@gmx.at>
13300
13301 * window.el (window-min-height, window-min-width): Move here
13302 from window.c. Add defcustoms and rewrite doc-strings.
13303 (resize-mini-window, resize-window): New functions.
13304 (adjust-window-trailing-edge, enlarge-window, shrink-window):
13305 Move here from window.c.
13306 (maximize-window, minimize-window): New functions.
13307 (delete-window, delete-other-windows, split-window): Move here
13308 from window.c.
13309 (window-split-min-size): New function.
13310 (split-window-keep-point): Mention split-window-above-each-other
13311 instead of split-window-vertically.
13312 (split-window-above-each-other, split-window-vertically):
13313 Rename split-window-vertically to split-window-above-each-other
13314 and provide defalias for old definition.
13315 (split-window-side-by-side, split-window-horizontally):
13316 Rename split-window-horizontally to split-window-side-by-side
13317 and provide defalias for the old definition.
13318 (ctl-x-map): Move bindings for delete-window,
13319 delete-other-windows and enlarge-window here from window.c.
13320 Replace bindings for split-window-vertically and
13321 split-window-horizontally by bindings for
13322 split-window-above-each-other and split-window-side-by-side.
13323
13324 * cus-start.el (all): Remove entries for window-min-height and
13325 window-min-width. Add entries for window-splits and
13326 window-nest.
13327
13328 2011-06-09 Glenn Morris <rgm@gnu.org>
13329
13330 * calendar/appt.el (appt-mode-line): New function.
13331 (appt-check, appt-disp-window): Use it.
13332
13333 * files.el (hack-one-local-variable-eval-safep):
13334 Allow minor-modes with explicit +/-1 arguments.
13335
13336 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
13337
13338 * term/xterm.el (xterm): Add defgroup.
13339 (xterm-extra-capabilities): Add defcustom to supply known xterm
13340 capabilities, skip querying them, or query them (default).
13341 (terminal-init-xterm): Use it.
13342 (terminal-init-xterm-modify-other-keys): New function to set up
13343 modifyOtherKeys support to simplify `terminal-init-xterm'.
13344
13345 2011-06-09 Martin Rudalics <rudalics@gmx.at>
13346
13347 * window.el (resize-window-reset, resize-window-reset-1)
13348 (resize-subwindows-skip-p, resize-subwindows-normal)
13349 (resize-subwindows, resize-other-windows, resize-this-window)
13350 (resize-root-window, resize-root-window-vertically)
13351 (window-deletable-p, window-or-subwindow-p)
13352 (frame-root-window-p): New functions.
13353
13354 2011-06-09 Glenn Morris <rgm@gnu.org>
13355
13356 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
13357 (ange-ftp-get-files): Use it.
13358
13359 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
13360
13361 * mail/sendmail.el (mail-recover-1, mail-recover):
13362 * files.el (recover-file, recover-session):
13363 Handle dired-listing-switches not being just a single short option.
13364
13365 2011-06-09 Glenn Morris <rgm@gnu.org>
13366
13367 * calendar/appt.el (appt-display-message, appt-disp-window):
13368 Handle lists of appointments.
13369
13370 2011-06-08 Martin Rudalics <rudalics@gmx.at>
13371
13372 * window.el (one-window-p): Move down in code.
13373 Rewrite doc-string.
13374 (window-current-scroll-bars): Rewrite doc-string.
13375 Normalize live window argument.
13376 (walk-windows, get-window-with-predicate, count-windows):
13377 Rewrite doc-string. Use window-list-1.
13378 (window-in-direction-2, window-in-direction, get-mru-window):
13379 New functions.
13380
13381 2011-06-08 Reuben Thomas <rrt@sc3d.org>
13382
13383 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
13384 Doc fix (Bug#8713).
13385
13386 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
13387
13388 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
13389
13390 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
13391
13392 * loadhist.el (unload-feature-special-hooks):
13393 Add `comint-output-filter-functions'.
13394
13395 2011-06-08 Ivan Kanis <gnu@kanis.fr>
13396
13397 * calendar/appt.el (appt-check): Move some initializations into the let.
13398
13399 2011-06-08 Martin Rudalics <rudalics@gmx.at>
13400
13401 * window.el (window-height): Defalias to window-total-height.
13402 (window-width): Defalias to window-body-width.
13403
13404 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
13405
13406 * image-mode.el (image-toggle-animation): New command.
13407 (image-mode-map): Bind it to RET.
13408 (image-mode): Update message.
13409 (image-toggle-display-image): Avoid a spurious cache flush.
13410 (image-transform-rotation): Doc fix.
13411 (image-transform-properties): Return quickly in the normal case.
13412 (image-animate-loop): Rename from image-animate-max-time.
13413
13414 * image.el (image-animate-max-time): Move to image-mode.el.
13415 (create-animated-image): Remove unnecessary function.
13416 (image-animate): Rename from image-animate-start. New arg.
13417 (image-animate-stop): Remove; just use image-animate-timer.
13418 (image-animate-timer): Use car-safe.
13419 (image-animate-timeout): Rename argument.
13420
13421 2011-06-07 Martin Rudalics <rudalics@gmx.at>
13422
13423 * window.el (get-lru-window, get-largest-window): Move here from
13424 window.c. Rename first argument to ALL-FRAMES.
13425 Rephrase doc-strings.
13426 (get-buffer-window-list): Rewrite using window-list-1.
13427 Rephrase doc-string.
13428 (window-safe-min-height, window-safe-min-width): New constants.
13429 (window-size-ignore, window-min-size, window-min-size-1)
13430 (window-sizable, window-sizable-p, window-size-fixed-1)
13431 (window-size-fixed-p, window-min-delta-1, window-min-delta)
13432 (window-max-delta-1, window-max-delta, window-resizable)
13433 (window-resizable-p, window-total-height, window-total-width)
13434 (window-body-width): New functions.
13435 (window-full-height-p, window-full-width-p): Rewrite using
13436 window-total-size.
13437 (window-body-height): Rewrite using window-body-size.
13438
13439 2011-06-06 Martin Rudalics <rudalics@gmx.at>
13440
13441 * window.el (window-right, window-left, window-child)
13442 (window-child-count, window-last-child, window-any-p)
13443 (normalize-live-buffer, normalize-live-frame)
13444 (normalize-any-window, normalize-live-window)
13445 (window-iso-combination-p, window-iso-combined-p)
13446 (window-iso-combinations)
13447 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
13448 (windows-with-parameter, window-with-parameter)
13449 (window-atom-root, make-window-atom, window-atom-check-1)
13450 (window-atom-check, window-side-check, window-check):
13451 New functions.
13452 (ignore-window-parameters, window-sides, window-sides-vertical)
13453 (window-sides-slots): New variables.
13454 (window-size-fixed): Move down in code. Minor doc-string fix.
13455
13456 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
13457
13458 * comint.el (comint-dynamic-complete-as-filename)
13459 (comint-dynamic-complete-filename): Correctly call
13460 completion-in-region.
13461
13462 2011-06-05 Deniz Dogan <deniz@dogan.se>
13463
13464 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
13465 in last change.
13466
13467 2011-06-05 Deniz Dogan <deniz@dogan.se>
13468
13469 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
13470 (rcirc): Use it to prompt for encryption.
13471
13472 2011-06-05 Roland Winkler <winkler@gnu.org>
13473
13474 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
13475 (bibtex-search-entries): New command bound to C-c C-a.
13476 (bibtex-display-entries): New function.
13477
13478 2011-06-05 Roland Winkler <winkler@gnu.org>
13479
13480 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
13481 (bibtex-insert-kill): After yanking insert newline if necessary.
13482 (bibtex-initialize): Call bibtex-string-files-init only once.
13483 (bibtex-mode): Do not call easy-menu-add.
13484 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
13485 (bibtex-yank): Set arg properly if nil.
13486
13487 2011-06-05 Roland Winkler <winkler@gnu.org>
13488
13489 * textmodes/bibtex.el (bibtex-search-entry-globally):
13490 New variable.
13491 (bibtex-search-entry): Use it.
13492
13493 2011-06-05 Roland Winkler <winkler@gnu.org>
13494
13495 * textmodes/bibtex.el (bibtex-entry-format): New option
13496 sort-fields.
13497 (bibtex-format-entry, bibtex-reformat): Honor this option.
13498 (bibtex-parse-entry): Return fields in proper order.
13499
13500 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
13501
13502 * doc-view.el (doc-view-remove-if): Move computation of result out
13503 of `dolist' to silence misleading lexical-binding warning.
13504
13505 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
13506
13507 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
13508 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
13509
13510 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
13511
13512 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
13513 "SunOS 5.10".
13514
13515 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
13516
13517 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
13518 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
13519 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
13520 (tramp-parse-putty):
13521 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
13522 (tramp-completion-function-alist-ssh)
13523 (tramp-completion-function-alist-telnet)
13524 (tramp-completion-function-alist-su)
13525 (tramp-completion-function-alist-putty): Set `tramp-autoload'
13526 cookie.
13527
13528 * net/tramp-ftp.el:
13529 * net/tramp-sh.el:
13530 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
13531 load "tramp.el" `tramp-set-completion-function'.
13532
13533 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
13534
13535 * shell.el: Require and use pcomplete.
13536 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
13537 (shell-completion-vars): Set pcomplete-default-completion-function.
13538
13539 2011-06-04 Deniz Dogan <deniz@dogan.se>
13540
13541 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
13542 `memq' (Bug#8799).
13543
13544 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
13545
13546 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
13547
13548 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
13549
13550 * bs.el (bs--mark-unmark, bs--nth-wrapper):
13551 * mpc.el (mpc-select-extend, mpc-songpointer-context):
13552 * vc/log-view.el (log-view-beginning-of-defun):
13553 * vc/smerge-mode.el (smerge-apply-resolution-patch)
13554 (smerge-refine-forward, smerge-refine-chopup-region):
13555 Silence warning for unused `dotimes' counter variables.
13556
13557 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
13558
13559 * net/tramp.el (tramp-with-progress-reporter): Rename from
13560 with-progress-reporter. Use `declare'.
13561 * net/tramp-smb.el:
13562 * net/tramp-sh.el:
13563 * net/tramp-gvfs.el: Update all uses.
13564
13565 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
13566
13567 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
13568 buffer isn't killed before making it current.
13569
13570 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
13571
13572 Silence various byte-compiler warnings.
13573 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
13574 `access-type' and new obsolescence format.
13575 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
13576 new format.
13577 (byte-compile-check-variable): New `access-type' argument.
13578 Only warn if the access-type is obsolete.
13579 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
13580 (byte-compile-variable-set): Adjust callers.
13581 * help-fns.el (describe-variable): Adjust to new obsolescence format.
13582 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
13583 setting it as obsolete.
13584 * simple.el (minibuffer-completing-symbol):
13585 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
13586 access as obsolete.
13587 * minibuffer.el (minibuffer-completing-file-name): Don't make it
13588 obsolete yet.
13589 * international/quail.el (quail-mouse-choose-completion): Remove unused
13590 code referring to obsolete var.
13591 (quail-choose-completion-string): Remove.
13592 * server.el (server-clients-with, server-kill-buffer-query-function)
13593 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
13594 * proced.el (proced-send-signal):
13595 * emacs-lisp/lisp.el (lisp-complete-symbol):
13596 Replace completion-annotate-function with completion-extra-properties.
13597
13598 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
13599
13600 * simple.el (goto-line): Use read-number.
13601 (overriding-map-is-bound): Remove.
13602 (saved-overriding-map): Change default.
13603 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
13604 Take the map as argument.
13605 (universal-argument, negative-argument, digit-argument): Use it.
13606 (restore-overriding-map): Adjust.
13607 (do-auto-fill): Use fill-forward-paragraph.
13608 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
13609
13610 * minibuffer.el (minibuffer-inactive-mode-map): New var.
13611 (minibuffer-inactive-mode): New major mode.
13612 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
13613 the *Messages* buffer" hack.
13614 (mouse-popup-menubar): Don't burp if the event is a normal key.
13615
13616 Miscellaneous tweaks.
13617 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
13618 lexical scoping as in subr.el's dolist and dotimes.
13619 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
13620 Silence compiler warning.
13621 * thingatpt.el (forward-whitespace): Trivial coding style fix.
13622 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
13623 * international/ccl.el (ccl-compile): Trivial simplification.
13624 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
13625 * emacs-lisp/testcover.el (testcover-end): Remove spurious
13626 `printflag' argument.
13627 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
13628 Purecopy the whole obsolescence data.
13629
13630 2011-06-01 Leo Liu <sdl.web@gmail.com>
13631
13632 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
13633 improve doc-string as suggested by Marco Pessotto
13634 <melmothx@gmail.com>.
13635 (rcirc-print): Fix last change.
13636
13637 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
13638
13639 * minibuffer.el (complete-with-action): Return nil for the metadata and
13640 boundaries of non-functional tables.
13641 (completion-table-dynamic): Return nil for the metadata.
13642 (completion-table-with-terminator): Add default case, using
13643 complete-with-action.
13644 (completion--metadata): New function.
13645 (completion-all-sorted-completions, minibuffer-completion-help): Use it
13646 to try and avoid pathological performance problems.
13647 (completion--embedded-envvar-table): Return `category' metadata.
13648
13649 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
13650
13651 * subr.el (process-alive-p): New tiny convenience function.
13652
13653 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
13654
13655 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
13656 content but also its previous major mode.
13657
13658 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
13659
13660 * emacs-lisp/debug.el (debug): Restore the previous content of the
13661 *Backtrace* buffer when we exit with C-M-c.
13662
13663 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
13664
13665 * minibuffer.el: Add metadata method to completion tables.
13666 (completion-category-overrides): New defcustom.
13667 (completion-metadata, completion--field-metadata)
13668 (completion-metadata-get, completion--styles)
13669 (completion--cycle-threshold): New functions.
13670 (completion-try-completion, completion-all-completions):
13671 Add `metadata' argument to choose completion-styles.
13672 (completion--do-completion): Use metadata to choose cycling.
13673 (completion-all-sorted-completions): Use metadata for sorting.
13674 Remove :completion-cycle-penalty which is not needed any more.
13675 (completion--try-word-completion): Add `metadata' argument.
13676 (minibuffer-completion-help): Check metadata for annotation function
13677 and sorting.
13678 (completion-file-name-table): Return `category' metadata.
13679 (minibuffer-completing-file-name): Make obsolete.
13680 * simple.el (minibuffer-completing-symbol): Make obsolete.
13681 * icomplete.el (icomplete-completions): Pass new `metadata' param to
13682 completion-try-completion.
13683
13684 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
13685
13686 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
13687
13688 2011-05-30 Leo Liu <sdl.web@gmail.com>
13689
13690 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
13691 (rcirc-print): Decode all incoming messages (bug#8744).
13692 (rcirc-decode-coding-system): Allow value nil for automatic coding
13693 system detection.
13694
13695 2011-06-01 Glenn Morris <rgm@gnu.org>
13696
13697 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
13698
13699 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
13700
13701 * image.el (image-animate-max-time): Allow nil and t values.
13702 Default to nil.
13703 (create-animated-image): Doc fix.
13704 (image-animate-start): Remove second arg; just use
13705 image-animate-max-time.
13706 (image-animate-timeout): Doc fix. Args changed.
13707
13708 * image-mode.el (image-toggle-display-image): Ensure that the
13709 image spec passed to the animate timer is the same object as in
13710 the buffer's display property (Bug#6981).
13711 (image-transform-properties): Doc fix.
13712
13713 * image.el (image-animate-max-time): Default to nil.
13714
13715 2011-05-29 Martin Rudalics <rudalics@gmx.at>
13716
13717 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
13718 entire buffer list (Bug#8184).
13719
13720 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
13721
13722 * image.el (imagemagick-types-inhibit)
13723 (imagemagick-register-types): Doc fix.
13724
13725 2011-05-29 Deniz Dogan <deniz@dogan.se>
13726
13727 * net/rcirc.el (rcirc): Use the user's stored encryption method by
13728 default.
13729
13730 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
13731
13732 * select.el: Don't perform clipboard-manager saving in hooks;
13733 leave the hooks empty.
13734
13735 2011-05-28 Leo Liu <sdl.web@gmail.com>
13736
13737 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
13738 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
13739 (occur-edit-mode): New major mode (Bug#8463).
13740 (occur-after-change-function): New function.
13741 (occur-engine): Give Occur tags a read-only property.
13742
13743 2011-05-28 Kevin Ryde <user42@zip.com.au>
13744
13745 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
13746
13747 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
13748
13749 * bindings.el (help-echo): Make the initial non-indicator dash
13750 empty on graphical terminals (Bug#7295).
13751
13752 * files.el (auto-mode-alist): Move config rule after the
13753 in-stripping one (Bug#8547).
13754
13755 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
13756
13757 * startup.el (normal-splash-screen): Remove gratuitous mode-line
13758 setting (Bug#8740).
13759
13760 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
13761
13762 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
13763 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
13764 (Bug#8539).
13765
13766 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
13767
13768 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
13769
13770 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
13771
13772 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
13773 (hs-hide-block-at-point, hs-find-block-beginning)
13774 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
13775 (Bug#8279).
13776
13777 2011-05-28 Glenn Morris <rgm@gnu.org>
13778
13779 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
13780
13781 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
13782
13783 * help-fns.el (describe-function-1): If the function is a derived
13784 major mode, print the parent mode.
13785
13786 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
13787 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
13788
13789 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
13790
13791 * minibuffer.el (completion--capf-wrapper): Check applicability before
13792 returning non-nil for non-exclusive completion data.
13793 * progmodes/etags.el (tags-completion-at-point-function):
13794 * info-look.el (info-lookup-completions-at-point): Mark as
13795 non-exclusive.
13796 (info-complete): Adjust accordingly.
13797
13798 * info-look.el: Convert to lexical-binding and completion-at-point.
13799 (info-lookup-completions-at-point): New function.
13800 (info-complete): Use it and completion-in-region.
13801
13802 2011-05-28 Drew Adams <drew.adams@oracle.com>
13803
13804 * isearch.el: Let M-e start with point at the first mismatched char.
13805 (isearch-fail-pos): New function.
13806 (isearch-edit-string): Use it.
13807
13808 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
13809
13810 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
13811
13812 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
13813
13814 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
13815 traversal functions for avl-trees.
13816 (avl-tree--stack): New struct.
13817 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
13818 (avl-tree-enter): Add optional `updatefun' arg.
13819 (avl-tree--do-enter): Add optional `updatefun' arg.
13820 Change return value.
13821 (avl-tree-delete): Add optional `test' and `nilflag' args.
13822 (avl-tree--do-delete): Add `test' and `nilflag' args.
13823 Change return value.
13824 (avl-tree-member): Add optional `nilflag'
13825 (avl-tree-member-p): New function.
13826 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
13827 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
13828 (avl-tree-stack-empty-p): New functions.
13829
13830 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
13831 avl-tree--del-balance1 and make it work both ways.
13832 (avl-tree--del-balance2): Remove.
13833 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
13834 make it work both ways.
13835 (avl-tree--enter-balance2): Remove.
13836 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
13837 New macros.
13838 (avl-tree--mapc, avl-tree-map): Add direction argument.
13839
13840 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
13841
13842 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
13843
13844 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
13845
13846 * select.el: Support clipboard managers with built-in function
13847 x-clipboard-manager-save, via delete-frame-functions and
13848 kill-emacs-hook.
13849 (xselect-convert-to-targets): Add MULTIPLE target to list.
13850 (xselect-convert-to-save-targets): New function.
13851
13852 2011-05-27 Kenichi Handa <handa@m17n.org>
13853
13854 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
13855 let-binding rfc2047-encode-encoded-words to nil.
13856
13857 2011-05-27 Glenn Morris <rgm@gnu.org>
13858
13859 * mail/emacsbug.el: Don't require url-util.
13860
13861 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
13862
13863 * files.el (set-auto-mode):
13864 Also respect mode: entries at the end of the file. (Bug#8586)
13865
13866 2011-05-26 Glenn Morris <rgm@gnu.org>
13867
13868 * files.el (hack-local-variables-prop-line, hack-local-variables):
13869 Downcase mode names, as seems to be traditional.
13870 (hack-local-variables, hack-local-variables-apply): Doc fixes.
13871
13872 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
13873 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
13874
13875 2011-05-25 Julien Danjou <julien@danjou.info>
13876
13877 * textmodes/rst.el (rst-define-level-faces): Do not define face
13878 symbol if it is already defined.
13879
13880 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
13881
13882 * play/5x5.el (5x5-new-game, 5x5-randomize):
13883 Reset 5x5-solver-output to nil when a new grid is cast.
13884 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
13885 these debugging traces, as defmacro breaks the compiled code.
13886
13887 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
13888
13889 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
13890
13891 2011-05-24 Leo Liu <sdl.web@gmail.com>
13892
13893 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
13894 (vc-bzr-sha1): Adapt.
13895
13896 * sha1.el: Remove. Function `sha1' is now builtin.
13897
13898 * bindings.el: Provide sha1 feature.
13899
13900 2011-05-24 Kenichi Handa <handa@m17n.org>
13901
13902 * mail/sendmail.el: Require `rfc2047'.
13903 (mail-insert-from-field): Do not perform RFC2047 encoding.
13904 (mail-encode-header): New function.
13905 (sendmail-send-it): Set buffer-file-coding-system of the work
13906 buffer to the return value of select-message-coding-system.
13907 Call mail-encode-header.
13908
13909 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
13910
13911 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
13912
13913 * mail/supercite.el (sc-default-cite-frame):
13914 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
13915
13916 2011-05-24 Glenn Morris <rgm@gnu.org>
13917
13918 * progmodes/python.el (brm-menu): Declare.
13919
13920 * emulation/viper.el (viper-set-hooks): Declare.
13921
13922 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
13923 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
13924 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
13925 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
13926 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
13927 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
13928
13929 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
13930
13931 Add an :exit-function for completion-at-point.
13932
13933 * minibuffer.el (completion--done): New fun.
13934 (completion--do-completion): Use it. New arg `expect-exact'.
13935 (minibuffer-complete, minibuffer-complete-word): Don't output message,
13936 since completion--do-completion does it for us now.
13937 (minibuffer-force-complete): Use completion--done and
13938 completion--replace. Handle sole-completion case with more care.
13939 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
13940 (completion-extra-properties): New var.
13941 (completion-annotate-function): Make obsolete.
13942 (minibuffer-completion-help): Adjust accordingly.
13943 Use completion-list-insert-choice-function.
13944 (completion-at-point, completion-help-at-point):
13945 Bind completion-extra-properties.
13946 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
13947 * simple.el (completion-list-insert-choice-function): New var.
13948 (completion-setup-function): Preserve it.
13949 (choose-completion): Pay attention to it, shuffle the code a bit.
13950 (choose-completion-string): New arg `insert-function'.
13951
13952 * textmodes/bibtex.el: Convert to lexical binding.
13953 (bibtex-mode-map): Use completion-at-point.
13954 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
13955 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
13956 (bibtex-complete): Define as obsolete alias.
13957 (bibtex-complete-internal): Remove.
13958 (bibtex-format-entry): Remove unused sub-group in regexp.
13959 * shell.el (shell--command-completion-data)
13960 (shell-environment-variable-completion):
13961 * pcomplete.el (pcomplete-completions-at-point):
13962 * comint.el (comint--complete-file-name-data): Use :exit-function
13963 instead of completion-table-with-terminator so it also works for
13964 choose-completion.
13965
13966 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
13967
13968 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
13969
13970 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
13971 (bug#8710).
13972
13973 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
13974
13975 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
13976
13977 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
13978 customization variable and implement: If non-nil, auto-fill will
13979 be inhibited while on topic's header line.
13980
13981 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
13982
13983 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
13984 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
13985 always have a solution in grid size = 5 cases.
13986 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
13987 (5x5-solver-output, 5x5-log-buffer): New vars.
13988 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
13989 Make these variables buffer local to achieve 5x5 multi-session-ness.
13990 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
13991 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
13992 (5x5-solve-suggest): New funs.
13993 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
13994 randomize a grid so that we ensure that there is always a solution.
13995 (5x5-make-random-grid): Allow other movement than flipping.
13996
13997 2011-05-23 Kevin Ryde <user42@zip.com.au>
13998
13999 * emacs-lisp/advice.el (ad-read-advised-function):
14000 Use `function-called-at-point' as the default, if it has
14001 advice and passes PREDICATE.
14002
14003 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
14004
14005 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
14006 byte-compile-lambda if it's actually a lambda.
14007
14008 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
14009 Fix function quoting. Use backquote better.
14010
14011 2011-05-22 Yuanle Song <sylecn@gmail.com>
14012
14013 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
14014 matching (Bug#8516).
14015
14016 2011-01-22 Jari Aalto <jari.aalto@cante.net>
14017
14018 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
14019 different face (Bug#8178).
14020
14021 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
14022
14023 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
14024 defface (Bug#8144).
14025
14026 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
14027
14028 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
14029 funcall as well (bug#8712). Warn when performing those conversions.
14030 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
14031
14032 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
14033
14034 2011-05-22 Glenn Morris <rgm@gnu.org>
14035
14036 * files.el (hack-local-variables-prop-line): Small simplifications.
14037 (hack-local-variables, hack-local-variables-prop-line):
14038 If MODE-ONLY, return the mode, rather than just `t'.
14039
14040 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
14041
14042 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
14043
14044 2011-05-21 Glenn Morris <rgm@gnu.org>
14045
14046 * files.el (hack-local-variables-prop-line, hack-local-variables):
14047 If only interested in the mode, don't bother doing the other stuff.
14048
14049 * image-mode.el (image-after-revert-hook):
14050 Redraw all frames on which the image is visible. (Bug#8567)
14051
14052 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
14053
14054 * wid-edit.el (widget-checklist-match-inline):
14055 Fix 2011-04-19 change. (Bug#8649)
14056
14057 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
14058
14059 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
14060 Also allow singlespace after single-letter capitals followed by a dot.
14061
14062 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
14063 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
14064
14065 2011-05-20 Nix <nix@esperi.org.uk>
14066
14067 * files.el (basic-save-buffer-2):
14068 Fix handling of break-hardlink-on-save with non-existent files.
14069
14070 2011-05-19 Deniz Dogan <deniz@dogan.se>
14071
14072 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
14073 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
14074
14075 2011-05-19 Glenn Morris <rgm@gnu.org>
14076
14077 * progmodes/f90.el (f90-type-def-re):
14078 Handle "type, bind(c)". (Bug#8691)
14079
14080 * emacs-lisp/autoload.el (batch-update-autoloads):
14081 Set autoload-excludes by parsing loadup.el rather than Makefiles.
14082
14083 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
14084
14085 * net/tramp.el (tramp-process-actions): Set "first-password-request"
14086 property for the correct connection in case of multihops.
14087
14088 2011-05-18 Glenn Morris <rgm@gnu.org>
14089
14090 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
14091 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
14092
14093 Rationalize calendar handling of day and month abbrev-arrays.
14094 * calendar/calendar.el (calendar-customized-p): New function.
14095 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
14096 (calendar-day-name-array, calendar-month-name-array): Doc fix.
14097 Add :set function.
14098 (calendar-abbrev-length, calendar-day-abbrev-array)
14099 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
14100 (calendar-day-abbrev-array, calendar-month-abbrev-array):
14101 Elements may no longer be nil.
14102 (calendar-day-name, calendar-month-name):
14103 Update for changed nature of abbrev arrays.
14104 * calendar/diary-lib.el (diary-name-pattern):
14105 Update for changed nature of abbrev arrays.
14106 (diary-mark-entries-1): Update calendar-make-alist calls.
14107 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
14108 * calendar/cal-html.el (cal-html-day-abbrev-array):
14109 Simply inherit from calendar-day-abbrev-array.
14110
14111 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
14112
14113 * progmodes/grep.el (grep-mode): Disable default
14114 compilation-directory-matcher setting (bug#8684).
14115
14116 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
14117
14118 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
14119 instead of "head" and "tail". There were problems with SunOS 5.9,
14120 and it performs better.
14121
14122 2011-05-17 Glenn Morris <rgm@gnu.org>
14123
14124 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
14125
14126 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
14127 Replace obsolete function.
14128
14129 * shell.el (pcomplete-parse-arguments-function): Declare.
14130
14131 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
14132 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
14133 (appt-check): Doc fixes.
14134 (appt-disp-window-function, appt-delete-window-function):
14135 Remove needless special case in custom :type.
14136 (appt-display-count): Default to 0, not nil.
14137 (appt-check): Reset appt-display-count to 0, not nil.
14138
14139 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
14140
14141 * progmodes/python.el (python-font-lock-keywords):
14142 Add the Python 3.X keyword "nonlocal" (bug#8639).
14143
14144 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
14145
14146 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
14147
14148 2011-05-16 Kevin Ryde <user42@zip.com.au>
14149
14150 * info-look.el (makefile-automake-mode): New setups, looking in
14151 automake manual, then makefile-mode.
14152 (makefile-mode): Remove automake manual, have it just in
14153 makefile-automake-mode since there's various things different or
14154 not relevant to plain make.
14155 (makefile-mode): Remove "other-modes" non-existent automake-mode,
14156 believe a hypothetical automake-mode would go to makefile-mode,
14157 not the other way around.
14158
14159 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
14160
14161 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
14162 hunk-end tags (Bug#8672).
14163
14164 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
14165 vc-annotate-show-diff-revision-at-line (Bug#8671).
14166
14167 2011-05-14 Glenn Morris <rgm@gnu.org>
14168
14169 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
14170 in the middle of an existing one with multiple authors. (Bug#8645)
14171 (change-log-font-lock-keywords): Also handle multiple author lines
14172 with leading tabs. (Bug#8644)
14173
14174 * calendar/appt.el (appt-check): Rename some local variables.
14175 Some simplification/reordering.
14176
14177 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
14178 (feedmail-sendmail-f-doesnt-sell-me-out)
14179 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
14180 (feedmail-debug-sit-for, feedmail-queue-express-hook)
14181 (feedmail-queue-runner-message-sender): Set :version.
14182 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
14183 (bbdb-dwim-net-address, vm-mail): Declare.
14184 (feedmail-binmail-gnulinuxish-template):
14185 Rename from feedmail-binmail-linuxish-template.
14186 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
14187 Use insert-buffer-substring.
14188
14189 2011-05-14 Bill Carpenter <bill@carpenter.org>
14190
14191 * mail/feedmail.el (feedmail-patch-level): Increase.
14192 (feedmail-debug): New custom group.
14193 (feedmail-confirm-outgoing-timeout)
14194 (feedmail-sendmail-f-doesnt-sell-me-out)
14195 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
14196 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
14197 (feedmail-sender-line, feedmail-from-line)
14198 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
14199 (feedmail-spray-this-address)
14200 (feedmail-spray-address-fiddle-plex-list)
14201 (feedmail-queue-use-send-time-for-date)
14202 (feedmail-queue-use-send-time-for-message-id)
14203 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
14204 (feedmail-buffer-eating-function):
14205 Doc fixes.
14206 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
14207 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
14208 (feedmail-message-action-scroll-down): New functions.
14209 (feedmail-queue-directory, feedmail-queue-draft-directory):
14210 Use expand-file-name.
14211 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
14212 Remove C-v help entry.
14213 (feedmail-queue-buffer-file-name): New variable.
14214 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
14215 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
14216 (feedmail-message-action-send-strong, feedmail-message-action-edit)
14217 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
14218 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
14219 (feedmail-message-action-toggle-spray)
14220 (feedmail-run-the-queue-no-prompts)
14221 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
14222 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
14223 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
14224 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
14225 (feedmail-envelope-deducer, feedmail-fiddle-from)
14226 (feedmail-fiddle-sender, feedmail-default-date-generator)
14227 (feedmail-fiddle-date, feedmail-fiddle-message-id)
14228 (feedmail-fiddle-spray-address)
14229 (feedmail-fiddle-list-of-spray-fiddle-plexes)
14230 (feedmail-fiddle-list-of-fiddle-plexes)
14231 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
14232 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
14233 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
14234 Change default. Doc fix.
14235 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
14236 (feedmail-binmail-linuxish-template): New constant.
14237 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
14238 Respect feedmail-sendmail-f-doesnt-sell-me-out.
14239 (feedmail-send-it): Add debug call.
14240 Use feedmail-queue-buffer-file-name, and
14241 feedmail-send-it-immediately-wrapper.
14242 (feedmail-message-action-send): Add debug call.
14243 Use feedmail-send-it-immediately-wrapper.
14244 (feedmail-queue-express-to-queue): Add debug call.
14245 Run feedmail-queue-express-hook.
14246 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
14247 (feedmail-message-action-help-blat):
14248 Rename from feedmail-queue-send-edit-prompt-help-first.
14249 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
14250 Check line-endings. Handle errors better.
14251 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
14252 Doc fix. Add debug call.
14253 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
14254 Use feedmail-queue-send-edit-prompt-inner.
14255 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
14256 (feedmail-queue-send-edit-prompt-inner): New function, extracted
14257 from feedmail-queue-send-edit-prompt.
14258 (feedmail-queue-send-edit-prompt-help)
14259 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
14260 (feedmail-tidy-up-slug): Add debug call.
14261 Respect feedmail-queue-slug-suspect-regexp.
14262 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
14263 (feedmail-dump-message-to-queue): Add debug call.
14264 Expand queue-directory.
14265 (feedmail-dump-message-to-queue): Change message slightly.
14266 Use feedmail-say-chatter.
14267 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
14268 (feedmail-send-it-immediately-wrapper): New function.
14269 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
14270 Insert empty string rather than newline. Handle full-frame case.
14271 Use catch/throw. Use feedmail-say-chatter.
14272 (feedmail-fiddle-from): Try mail-host-address.
14273 (feedmail-default-message-id-generator): Doc fix.
14274 Bind system-time-locale. Handle missing end.
14275 (feedmail-fiddle-x-mailer): Add debug call.
14276 Handle feedmail-x-mailer-line being nil.
14277 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
14278 Add debug call. Use buffer-substring-no-properties.
14279 (feedmail-say-debug, feedmail-say-chatter): New functions.
14280 (feedmail-find-eoh): Give an explicit error.
14281
14282 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
14283
14284 * net/newst-treeview.el (newsticker-treeview-face): Change default
14285 family from helvetica to sans.
14286 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
14287 etc/images/newsticker.
14288
14289 * net/newst-reader.el (newsticker-feed-face): Change default
14290 family from helvetica to sans.
14291
14292 * net/newst-plainview.el (newsticker-new-item-face)
14293 (newsticker-old-item-face, newsticker-immortal-item-face)
14294 (newsticker-obsolete-item-face, newsticker-date-face)
14295 (newsticker-statistics-face): Change default family from
14296 helvetica to sans.
14297 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
14298 etc/images/newsticker.
14299
14300 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
14301 (newsticker--process-auto-mark-filter-match): Tell user about
14302 auto-marking.
14303
14304 2011-05-13 Didier Verna <didier@xemacs.org>
14305
14306 Common Lisp indentation improvements on defmethod and lambda-lists.
14307 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
14308 TODO entries.
14309 (lisp-lambda-list-keyword-parameter-indentation)
14310 (lisp-lambda-list-keyword-parameter-alignment)
14311 (lisp-lambda-list-keyword-alignment): New customizable user options.
14312 (lisp-indent-defun-method): Improve docstring.
14313 (extended-loop-p): Fix comment.
14314 (lisp-indent-lambda-list-keywords-regexp): New variable.
14315 (lisp-indent-lambda-list): New function.
14316 (lisp-indent-259): Use it.
14317 (lisp-indent-defmethod): Support for more than one
14318 method qualifier and properly indent methods lambda-lists.
14319 (defgeneric): Provide a missing common-lisp-indent-function property.
14320
14321 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
14322
14323 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
14324 bounds for the empty string (bug#8667).
14325
14326 2011-05-13 Glenn Morris <rgm@gnu.org>
14327
14328 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
14329
14330 * mail/sendmail.el (sendmail-program): Try executable-find first.
14331 (sendmail-send-it): `sendmail-program' cannot be unbound.
14332
14333 * calendar/appt.el (appt-make-list): Simplify.
14334 (appt-time-msg-list): Doc fix.
14335 (appt-check): Change mode-line message at the time of the appointment.
14336
14337 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
14338
14339 * progmodes/ld-script.el (ld-script-keywords)
14340 (ld-script-builtins): Update keywords list.
14341
14342 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
14343
14344 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
14345
14346 * shell.el (shell-completion-vars): New function.
14347 (shell-mode):
14348 * simple.el (read-shell-command): Use it.
14349 (blink-matching-open): No need for " [...]" in minibuffer-message.
14350
14351 2011-05-12 Glenn Morris <rgm@gnu.org>
14352
14353 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
14354 (appt-check): Simplify.
14355
14356 2011-05-12 Eli Zaretskii <eliz@gnu.org>
14357
14358 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
14359 literal "/dev/null".
14360
14361 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
14362
14363 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
14364 Fix typo.
14365
14366 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
14367
14368 * progmodes/which-func.el (which-function):
14369 Use add-log-current-defun instead of add-log-current-defun-function,
14370 which might not be defined (Bug#8260).
14371
14372 2011-05-12 Glenn Morris <rgm@gnu.org>
14373
14374 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
14375 Let byte-compile-initial-macro-environment always take precedence.
14376
14377 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
14378
14379 * net/rcirc.el: Add support for SSL/TLS connections.
14380 (rcirc-server-alist): New field `encryption'.
14381 (rcirc): Check `encryption' settings.
14382 (rcirc-connect): New arg `encryption'. Use open-network-stream.
14383 Merge make-local-variable into `set'.
14384 (rcirc--connection-open-p): New function.
14385 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
14386 the process is not a network process (e.g. running gnutls-cli).
14387 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
14388 Make rcirc-(en|de)code-coding-system local here.
14389 (rcirc-mode): Merge make-local-variable into `set'.
14390 (rcirc-parent-buffer): Make permanent buffer-local.
14391 (rcirc-multiline-minor-mode): Don't do it here.
14392 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
14393 there's no server buffer.
14394
14395 2011-05-11 Glenn Morris <rgm@gnu.org>
14396
14397 * newcomment.el (comment-kill): Prefix "unused" local.
14398
14399 * term/w32console.el (get-screen-color): Declare.
14400
14401 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
14402 Handle symbol elements of byte-compile-initial-macro-environment.
14403
14404 2011-05-10 Leo Liu <sdl.web@gmail.com>
14405
14406 * bookmark.el (bookmark-bmenu-mode-map):
14407 Bind bookmark-bmenu-search to `/'.
14408
14409 * mail/footnote.el: Convert to utf-8 encoding.
14410 (footnote-unicode-string, footnote-unicode-regexp): New variable.
14411 (Footnote-unicode): New function.
14412 (footnote-style-alist): Add unicode style to the list.
14413 (footnote-style): Doc fix.
14414
14415 2011-05-10 Jim Meyering <meyering@redhat.com>
14416
14417 Fix doubled-word typos.
14418 * international/quail.el (quail-insert-kbd-layout): and and -> and
14419 * kermit.el: and and -> and
14420 * net/ldap.el (ldap-search-internal): to to -> to
14421 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
14422 * progmodes/js.el (js-mode): and and -> and
14423 * textmodes/artist.el (artist-move-to-xy): at at -> at
14424 (artist-draw-region-trim-line-endings): if if -> if
14425 And Safetyc -> Safety.
14426 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
14427
14428 2011-05-10 Glenn Morris <rgm@gnu.org>
14429 Stefan Monnier <monnier@iro.umontreal.ca>
14430
14431 * files.el (hack-one-local-variable-eval-safep):
14432 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
14433
14434 2011-05-10 Glenn Morris <rgm@gnu.org>
14435
14436 * calendar/diary-lib.el (diary-list-entries-hook)
14437 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
14438 (diary-nongregorian-marking-hook, diary-list-entries)
14439 (diary-include-other-diary-files, diary-mark-entries)
14440 (diary-mark-included-diary-files): Doc fixes.
14441
14442 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
14443
14444 * misc.el: Require tabulated-list.el during compilation.
14445
14446 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
14447
14448 * progmodes/compile.el (compilation-start):
14449 Run compilation-filter-hook for the async case too.
14450 (compilation-filter-hook): Doc fix.
14451
14452 2011-05-09 Deniz Dogan <deniz@dogan.se>
14453
14454 * wdired.el: Remove outdated installation comment. Fix usage
14455 comment.
14456
14457 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
14458
14459 * misc.el: Implement new command `list-dynamic-libraries'.
14460 (list-dynamic-libraries--loaded-only-p): New variable.
14461 (list-dynamic-libraries--refresh): New function.
14462 (list-dynamic-libraries): New command.
14463
14464 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
14465
14466 * progmodes/compile.el (compilation-error-regexp-alist-alist):
14467 Fix the ant regexp to handle end-line and end-column info from jikes.
14468 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
14469 higher priority to avoid clobbering by gnu.
14470
14471 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
14472
14473 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
14474 if the face has existing theme settings (Bug#8454).
14475
14476 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
14477
14478 * progmodes/perl-mode.el (perl-imenu-generic-expression):
14479 Only match variables declared via `my' or `our' (Bug#8261).
14480
14481 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
14482 special file names `.' and `..' (Bug#8259).
14483
14484 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
14485
14486 * progmodes/grep.el (grep-mode-font-lock-keywords):
14487 Remove buffer-changing entries.
14488 (grep-filter): New function.
14489 (grep-mode): Add it to compilation-filter-hook.
14490
14491 * progmodes/compile.el (compilation-filter-hook)
14492 (compilation-filter-start): New defvars.
14493 (compilation-filter): Call compilation-filter-hook prior to
14494 updating the process mark.
14495
14496 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
14497
14498 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
14499
14500 2011-05-07 Eli Zaretskii <eliz@gnu.org>
14501
14502 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
14503 mailclient-send-it even if window-system is nil. (Bug#8595)
14504
14505 * term/w32console.el (terminal-init-w32console):
14506 Call get-screen-color and use its output to set the frame
14507 background-mode. (Bug#8597)
14508
14509 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
14510
14511 Make bytecomp.el understand that defmethod defines funs (bug#8631).
14512 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
14513 New functions.
14514 (defgeneric, eieio--defmethod): Use them.
14515 (eieio-defgeneric): Remove.
14516 (defmethod): Call defgeneric in a way visible to the byte-compiler.
14517
14518 2011-05-07 Glenn Morris <rgm@gnu.org>
14519
14520 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
14521 Use let rather than let*.
14522 (timeclock-find-discrep): Remove unused local.
14523
14524 * calendar/diary-lib.el (diary-comment-start): Doc fix.
14525
14526 * calendar/appt.el (appt-time-msg-list): Doc fix.
14527
14528 2011-05-06 Noah Friedman <friedman@splode.com>
14529
14530 * apropos.el (apropos-print-doc): Only use
14531 emacs-lisp-docstring-fill-column when it is bound to an integer,
14532 per that variable's documentation.
14533
14534 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
14535
14536 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
14537 and warnings are not silently discarded (e.g. use -d instead of -P).
14538
14539 2011-05-06 Glenn Morris <rgm@gnu.org>
14540
14541 * calendar/appt.el (appt-message-warning-time): Doc fix.
14542 (appt-warning-time-regexp): New option.
14543 (appt-make-list): Respect appt-message-warning-time.
14544
14545 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
14546 New options.
14547 (diary-add-to-list): Strip comments from the displayed string.
14548 (diary-mode): Set comment-start and comment-end.
14549
14550 * vc/diff-mode.el (smerge-refine-subst): Declare.
14551 (diff-refine-hunk): Don't require smerge-mode when compiling.
14552
14553 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
14554
14555 * simple.el (list-processes): Return nil as the docstring says.
14556
14557 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
14558
14559 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
14560 to "".
14561 (ange-ftp-write-region, ange-ftp-insert-file-contents)
14562 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
14563 determining of binary transfer. (Bug#7383)
14564
14565 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
14566
14567 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
14568 Fix port computation bug. (Bug#8618)
14569
14570 2011-05-05 Glenn Morris <rgm@gnu.org>
14571
14572 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
14573
14574 * simple.el (shell-dynamic-complete-functions)
14575 (comint-dynamic-complete-functions): Declare.
14576
14577 * net/network-stream.el (gnutls-negotiate):
14578 * simple.el (tabulated-list-print): Fix declarations.
14579
14580 * progmodes/gud.el (syntax-symbol, syntax-point):
14581 Remove unnecessary and incorrect declarations.
14582
14583 * emacs-lisp/check-declare.el (check-declare-scan):
14584 Handle byte-compile-initial-macro-environment in bytecomp.el
14585
14586 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
14587
14588 Fix earlier half-done eieio-defmethod change (bug#8338).
14589 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
14590 Streamline and change calling convention.
14591 (defmethod): Adjust accordingly and simplify.
14592 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
14593 new eieio--defmethod.
14594 (slot-boundp): Minor CSE simplification.
14595
14596 2011-05-05 Milan Zamazal <pdm@zamazal.org>
14597
14598 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
14599 (glasses-make-readable): Use glasses-separate-capital-groups.
14600
14601 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
14602
14603 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
14604 (warning-series): Doc fix.
14605 (display-warning): Don't try to create the buffer if we just found it.
14606
14607 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
14608
14609 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
14610 (autoload-find-generated-file): New function.
14611 (generate-file-autoloads): Bind generated-autoload-file to
14612 buffer-file-name.
14613 (update-file-autoloads, update-directory-autoloads):
14614 Use autoload-find-generated-file. If called interactively, prompt for
14615 output file (Bug#7989).
14616 (batch-update-autoloads): Doc fix.
14617
14618 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
14619
14620 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
14621
14622 2011-05-04 Glenn Morris <rgm@gnu.org>
14623
14624 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
14625 function, so it follows changes in calendar-date-style.
14626 (diary-fancy-date-matcher): New function.
14627 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
14628 (diary-fancy-font-lock-fontify-region-function):
14629 Use diary-fancy-date-pattern as a function.
14630
14631 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
14632 non-numbers for `year' etc pseudo-variables. (Bug#8583)
14633
14634 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
14635
14636 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
14637 instead of positional arguments. Allow :keylist and :crlfiles
14638 arguments.
14639 (open-gnutls-stream): Call it.
14640
14641 * net/network-stream.el (network-stream-open-starttls): Adjust to
14642 call `gnutls-negotiate' with :process and :hostname arguments.
14643
14644 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
14645
14646 * minibuffer.el (completion--message): New function.
14647 (completion--do-completion, minibuffer-complete)
14648 (minibuffer-force-complete, minibuffer-complete-word): Use it.
14649 (completion--do-completion): Don't ignore completion-auto-help when in
14650 icomplete-mode.
14651
14652 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
14653 internal encoding (e.g. tibetan zero is not whitespace).
14654 (global-whitespace-mode): Prefer save-current-buffer.
14655 (whitespace-trailing-regexp): Remove useless save-match-data.
14656 (whitespace-empty-at-bob-regexp): Minor simplification.
14657
14658 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
14659
14660 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
14661
14662 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
14663
14664 * textmodes/ispell.el (ispell-add-per-file-word-list):
14665 Use `concat' to create string for insertion.
14666
14667 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
14668
14669 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
14670 Avoid open-line which runs post-self-insert-hook.
14671 (bibtex-fill-entry): Remove unused `end' var.
14672
14673 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
14674
14675 * textmodes/ispell.el (ispell-add-per-file-word-list):
14676 Protect against `nil' value of `comment-start' (Bug#8579).
14677
14678 2011-05-03 Leo Liu <sdl.web@gmail.com>
14679
14680 * isearch.el (isearch-yank-pop): New command.
14681 (isearch-mode-map): Bind it to `M-y'.
14682 (isearch-forward): Mention it.
14683
14684 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
14685
14686 * simple.el (minibuffer-complete-shell-command): Remove.
14687 (minibuffer-local-shell-command-map): Use completion-at-point.
14688 (read-shell-command): Setup completion vars here instead.
14689 (read-expression-map): Bind TAB to symbol completion.
14690
14691 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
14692 error directly rather via storing it into `results'.
14693
14694 2011-05-02 Leo Liu <sdl.web@gmail.com>
14695
14696 * vc/diff.el: Fix description.
14697
14698 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
14699
14700 * server.el (server-eval-at): New function.
14701
14702 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
14703
14704 * net/network-stream.el (open-network-stream): Take a :nowait
14705 parameter and pass it on to `make-network-process'.
14706 (network-stream-open-plain): Ditto.
14707
14708 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
14709
14710 * faces.el (face-spec-set-match-display): Don't match toolkit
14711 options on terminal frames.
14712
14713 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
14714
14715 * progmodes/pascal.el: Use lexical binding.
14716 (pascal-mode-map): Remove author preferences.
14717
14718 * pcomplete.el (pcomplete-std-complete): Don't abuse
14719 completion-at-point.
14720
14721 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
14722
14723 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
14724 removing code that has been dead since 1991 or so.
14725
14726 * startup.el (command-line): When warning about "_emacs", use a
14727 delayed warning to allow the user to filter it out.
14728
14729 2011-04-28 Deniz Dogan <deniz@dogan.se>
14730
14731 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
14732 user has not joined.
14733
14734 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
14735
14736 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
14737 aren't any completions at point.
14738
14739 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
14740
14741 * subr.el (display-delayed-warnings): New function.
14742 (delayed-warnings-hook): New variable.
14743
14744 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
14745
14746 * minibuffer.el (completion-at-point, completion-help-at-point):
14747 Don't presume that a given completion-at-point-function will always
14748 use the same calling convention.
14749
14750 * pcomplete.el (pcomplete-completions-at-point):
14751 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
14752 pcomplete-seen is non-nil.
14753 (pcomplete-comint-setup): Also recognize the new comint/shell
14754 completion functions.
14755 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
14756 pcomplete-seen is non-nil.
14757
14758 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
14759
14760 * calendar/icalendar.el (diary-lib): Add require statement.
14761 (icalendar--create-uid): Read out a uid from a text-property on
14762 the first character in the entry. This allows for code to add its
14763 own uid to the entry.
14764 (icalendar--convert-float-to-ical): Add export of
14765 `diary-float'-entries save for those with the optional DAY
14766 argument.
14767
14768 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
14769
14770 * subr.el (shell-quote-argument): Use alternate escaping strategy
14771 when we spot a variable reference in a string.
14772
14773 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
14774
14775 * cus-start.el (all): Define customization for debug-on-event.
14776
14777 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
14778
14779 * subr.el (shell-quote-argument): Escape correctly under Windows.
14780
14781 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
14782
14783 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
14784
14785 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
14786
14787 * net/tramp.el (tramp-process-actions): Add POS argument.
14788 Delete region between POS and (pos).
14789
14790 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
14791 Use `nil' position in `tramp-process-actions' call.
14792 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
14793
14794 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
14795 position in `tramp-process-actions' call.
14796
14797 * net/trampver.el: Update release number.
14798
14799 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
14800
14801 * custom.el (defcustom): Obey lexical-binding.
14802
14803 Fix octave-inf completion problems reported by Alexander Klimov.
14804 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
14805 Inherit from octave-mode-syntax-table.
14806 (inferior-octave-mode): Set info-lookup-mode.
14807 (inferior-octave-completion-at-point): New function.
14808 (inferior-octave-complete): Use it and completion-in-region.
14809 (inferior-octave-dynamic-complete-functions): Use it as well, and use
14810 comint-filename-completion.
14811 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
14812 symbol elements which shouldn't be word elements.
14813 (octave-font-lock-keywords, octave-beginning-of-defun)
14814 (octave-function-header-regexp): Adjust regexps accordingly.
14815 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
14816
14817 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
14818
14819 * net/gnutls.el (gnutls-errorp): Declare before first use.
14820
14821 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
14822
14823 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
14824 verify-error, and verify-hostname-error parameters. Check whether
14825 default trustfile exists before going to use it. Add missing
14826 argument to gnutls-message-maybe call. Return value.
14827 Reported by Claudio Bley <claudio.bley@gmail.com>.
14828 (open-gnutls-stream): Add usage example.
14829
14830 * net/network-stream.el (network-stream-open-starttls): Give host
14831 parameter to `gnutls-negotiate'.
14832 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
14833 * subr.el (shell-quote-argument): Escape correctly under Windows.
14834
14835 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
14836
14837 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
14838 Use correct match group (bug#8438).
14839
14840 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
14841
14842 * emacs-lisp/package.el (package-built-in-p): Fix typo.
14843 (package-menu--generate): New arg specifying packages to show.
14844 (package-menu-refresh, package-menu-execute, list-packages):
14845 Callers changed.
14846 (package-show-package-list): New function, replacing deleted
14847 package--list-packages (renamed because it is non-internal).
14848
14849 * finder.el (finder-list-matches): Use package-show-package-list
14850 instead of deleted package--list-packages.
14851
14852 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
14853 Based on a previous implementation by Juanma Barranquero (Bug#8366).
14854 (vc-annotate-mode-map): Bind it to RET.
14855
14856 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
14857
14858 * progmodes/etags.el (next-file): Don't use set-buffer to change
14859 buffers (Bug#8478).
14860
14861 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
14862
14863 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
14864
14865 * apropos.el (apropos-label-face): Avoid variable-pitch face.
14866 (apropos-accumulator): Doc fix.
14867 (apropos-function, apropos-macro, apropos-command)
14868 (apropos-variable, apropos-face, apropos-group, apropos-widget)
14869 (apropos-plist): Add face property.
14870 (apropos-symbols-internal): Fix indentation.
14871 (apropos-print): Simplify help, and recognize apropos-multi-type.
14872 (apropos-print-doc): Use button-type-get to extract the button's
14873 face property. Fill docstring (Bug#8352).
14874
14875 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
14876
14877 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
14878
14879 * play/mpuz.el (mpuz-silent): Doc fix.
14880 (mpuz-mode-map): Use mapc.
14881 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
14882 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
14883 Fix typos in docstrings.
14884
14885 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
14886 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
14887
14888 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
14889
14890 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
14891
14892 * minibuffer.el (completion--do-completion): Avoid the "Next char
14893 not unique" prompt if icomplete-mode is enabled (Bug#5849).
14894
14895 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
14896 mouse-2 into unread-command-events, it is interpreted correctly.
14897
14898 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
14899 (image-toggle-display): Doc fix.
14900
14901 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
14902
14903 * textmodes/page.el (what-page): Use line-number-at-pos to
14904 calculate line number (Bug#6825).
14905
14906 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
14907
14908 * eshell/esh-mode.el (find-tag-interactive): Declare function.
14909 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
14910 Pass argument NO-DEFAULT to `find-tag-interactive'.
14911
14912 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
14913
14914 Lexical-binding cleanup.
14915
14916 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
14917 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
14918 * progmodes/ada-prj.el (ada-prj-initialize-values)
14919 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
14920 (ada-prj-show-value):
14921 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
14922 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
14923 (antlr-invalidate-context-cache, antlr-options-menu-filter)
14924 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
14925 * progmodes/bug-reference.el (bug-reference-push-button):
14926 * progmodes/fortran.el (fortran-line-length):
14927 * progmodes/glasses.el (glasses-change):
14928 * progmodes/octave-mod.el (octave-fill-paragraph):
14929 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
14930 (python-pdbtrack-grub-for-buffer, python-sentinel):
14931 * progmodes/sql.el (sql-save-connection):
14932 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
14933 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
14934 Mark unused parameters.
14935
14936 * progmodes/compile.el (compilation--flush-directory-cache)
14937 (compilation--flush-parse, compile-internal): Mark unused parameters.
14938 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
14939 (compilation-next-error-function): Remove unused variable `timestamp'.
14940
14941 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
14942 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
14943
14944 * progmodes/dcl-mode.el (dcl-end-of-command):
14945 Remove unused variable `start'.
14946 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
14947 (dcl-option-value-basic, dcl-option-value-offset)
14948 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
14949 Mark unused parameters.
14950 (dcl-save-local-variable): Remove unused variable `val'.
14951 (mode): Declare.
14952
14953 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
14954 Mark unused parameters.
14955 (delphi-ignore-changes): Move before first use.
14956 (delphi-charset-token-at): Remove unused variable `start'.
14957 (delphi-else-start): Remove unused variable `if-count'.
14958 (delphi-comment-block-start, delphi-comment-block-end):
14959 Remove unused variable `kind'.
14960 (delphi-indent-line): Remove unused variable `new-point'.
14961
14962 * progmodes/ebrowse.el (ebrowse-files-list)
14963 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
14964 Mark unused parameters. Don't quote `lambda'.
14965 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
14966 Don't quote `lambda'.
14967 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
14968 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
14969 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
14970 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
14971 Use `ignore-errors'.
14972 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
14973 (ebrowse-view/find-file-and-search-pattern)
14974 (ebrowse-view/find-member-declaration/definition):
14975 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
14976 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
14977 Rename parameter PREFIX-ARG to PREFIX.
14978 (ebrowse-tags-read-name): Remove unused variables `start' and
14979 `member-info'.
14980 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
14981 to `tags-file'.
14982
14983 * progmodes/etags.el (local-find-tag-hook): Declare.
14984 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
14985 Mark unused parameters.
14986
14987 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
14988 (executable-interpret): Mark unused parameter.
14989
14990 * progmodes/flymake.el (flymake-process-sentinel)
14991 (flymake-after-change-function)
14992 (flymake-create-temp-with-folder-structure)
14993 (flymake-get-include-dirs-dot): Mark unused parameters.
14994 (flymake-safe-delete-directory): Remove unused variable `err'.
14995
14996 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
14997 (speedbar-timer-fn, speedbar-line-text)
14998 (speedbar-change-expand-button-char, speedbar-delete-subblock)
14999 (speedbar-center-buffer-smartly): Declare functions.
15000 (gdb-find-watch-expression): Remove unused variable `array'.
15001 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
15002 (gdb-starting): Mark unused parameters.
15003 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
15004 (gdb-table-string): Remove unused variable `res'.
15005 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
15006 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
15007 (gdb-display-buffer): Remove unused variable `cur-size'.
15008
15009 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
15010 allow lexical-binding compilation.
15011 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
15012 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
15013 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
15014 Mark unused parameters.
15015 (gud-gdb-marker-filter): Remove unused variable `match'.
15016 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
15017 lambda expressions and funcall them, instead of using `fset'.
15018
15019 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
15020 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
15021
15022 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
15023 variable `header-beg'; use `let'.
15024
15025 * progmodes/icon.el (indent-icon-exp): Remove unused variables
15026 `restart', `last-sexp' and `at-do'.
15027
15028 * progmodes/js.el (js--debug): Mark unused parameter.
15029 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
15030 (js--splice-into-items): Remove unused variable `item'.
15031 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
15032
15033 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
15034 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
15035 (makefile-complete): Remove unused variable `try'.
15036 (makefile-fill-paragraph, makefile-match-function-end):
15037 Mark unused parameters.
15038
15039 * progmodes/octave-inf.el (inferior-octave-complete):
15040 Remove unused variable `proc'.
15041 (inferior-octave-output-digest): Mark unused parameter.
15042
15043 * progmodes/perl-mode.el (perl-calculate-indent):
15044 Remove unused variable `err'.
15045
15046 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
15047 (prolog-indent-line): Mark unused parameters.
15048 (prolog-indent-line): Remove unused variable `beg'.
15049
15050 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
15051 (reporter-dont-compact-list): Declare.
15052
15053 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
15054 Remove unused variable `char'.
15055 (sh-debug): Mark unused parameter.
15056 (sh-get-indent-info): Remove unused variable `start'.
15057 (sh-calculate-indent): Remove unused variable `var'.
15058
15059 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
15060 (simula-electric-keyword): Remove unused variable `null'.
15061 (simula-search-backward, simula-search-forward): Remove unused
15062 variables `begin' and `end'.
15063
15064 * progmodes/vera-mode.el (vera-guess-basic-syntax):
15065 Remove unused variable `pos'.
15066 (vera-electric-tab, vera-comment-uncomment-region):
15067 Mark unused parameters.
15068 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
15069
15070 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
15071
15072 * emacs-lisp/package.el (package--builtins, package-alist)
15073 (package-load-descriptor, package-built-in-p, package-activate)
15074 (define-package, package-installed-p)
15075 (package-compute-transaction, package-buffer-info)
15076 (package--push): Doc fix. Distinguish more clearly between
15077 version strings and version lists.
15078
15079 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
15080
15081 Lexical-binding cleanup.
15082
15083 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
15084 (5x5-make-mutate-best):
15085 * play/fortune.el (fortune-in-buffer):
15086 * play/gomoku.el (gomoku-init-display):
15087 * play/solitaire.el (solitaire, solitaire-do-check):
15088 * play/tetris.el (tetris-default-update-speed-function):
15089 Mark unused parameters.
15090
15091 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
15092 (bubbles--shift): Remove unused variable `char-org'.
15093 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
15094 (bubbles--show-images): Remove unused variable `char'.
15095
15096 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
15097 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
15098 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
15099 (decipher-analyze-buffer): Use ?\s.
15100 (decipher-make-checkpoint): Remove unused variable `mapping'.
15101
15102 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
15103
15104 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
15105 Remove unused variable `result'; use `let'.
15106
15107 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
15108 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
15109 (gametree-children-shown-p, gametree-compute-reduced-score):
15110 Use `ignore-errors'.
15111
15112 * play/handwrite.el (ps-lpr-switches): Declare.
15113 (handwrite): Remove unused variables `pmin' and `lastp'.
15114
15115 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
15116
15117 * play/landmark.el (landmark-init-display)
15118 (landmark-update-naught-weights): Mark unused parameters.
15119 (landmark-y): Remove unused variable `noise'. Simplify.
15120 (landmark-human-plays): Remove unused variable `score'.
15121
15122 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
15123 (mpuz-try-proposal): Remove unused variable `game'.
15124
15125 * play/zone.el (life-patterns): Declare.
15126
15127 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
15128
15129 * vc/vc.el (ediff-vc-internal): Declare function.
15130
15131 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
15132
15133 * shell.el: Use lexical-binding and std completion UI.
15134 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
15135 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
15136 comint-preoutput-filter-functions rather than on
15137 comint-output-filter-functions.
15138 (shell-command-completion, shell--command-completion-data)
15139 (shell-filename-completion, shell-environment-variable-completion)
15140 (shell-c-a-p-replace-by-expanded-directory): New functions.
15141 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
15142 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
15143 (shell-dynamic-complete-environment-variable): Use them.
15144 (shell-dynamic-complete-as-environment-variable)
15145 (shell-dynamic-complete-as-command): Remove.
15146 (shell-match-partial-variable): Match past point.
15147 * comint.el: Clean up use of completion-at-point-functions.
15148 (comint-completion-at-point): New function.
15149 (comint-mode): Use it completion-at-point-functions.
15150 (comint-dynamic-complete): Make it obsolete.
15151 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
15152 (comint-c-a-p-replace-by-expanded-history): New function.
15153 (comint-dynamic-complete-functions)
15154 (comint-replace-by-expanded-history): Use it.
15155 * minibuffer.el (completion-table-with-terminator): Allow dynamic
15156 termination strings. Try harder to avoid second try-completion.
15157 (completion-in-region-mode-map): Disable bindings that don't work yet.
15158
15159 * comint.el: Use lexical-binding. Require CL.
15160 (comint-dynamic-complete-functions): Use comint-filename-completion.
15161 (comint-completion-addsuffix): Tweak custom type.
15162 (comint-filename-completion, comint--common-suffix)
15163 (comint--common-quoted-suffix, comint--table-subvert)
15164 (comint--complete-file-name-data): New functions.
15165 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
15166 (comint-dynamic-list-filename-completions): Use them.
15167 (comint-dynamic-simple-complete): Make obsolete.
15168
15169 * minibuffer.el (completion-in-region-mode):
15170 Keep completion-in-region-mode--predicate global.
15171 (completion-in-region--postch):
15172 Assume completion-in-region-mode--predicate is not null.
15173
15174 * progmodes/flymake.el (flymake-start-syntax-check-process):
15175 Obey `dir'. Simplify.
15176
15177 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
15178 we're in VC after all.
15179
15180 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
15181
15182 * vc/vc.el (vc-diff-build-argument-list-internal)
15183 (vc-version-ediff, vc-ediff): New commands.
15184 (vc-version-diff): Use vc-diff-build-argument-list-internal.
15185
15186 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
15187
15188 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
15189 add sanity check.
15190
15191 * obsolete/erc-hecomplete.el: Make obsolete.
15192 * obsolete/: Standardize obsolescence info in the header.
15193
15194 2011-04-20 Glenn Morris <rgm@gnu.org>
15195
15196 * calendar/solar.el (solar-horizontal-coordinates):
15197 Use the longitude argument rather than `calendar-longitude'.
15198 (solar-date-next-longitude): Remove unused locals.
15199
15200 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
15201
15202 * whitespace.el: New version 13.2.1.
15203
15204 2011-04-20 felix <EmacsWiki> (tiny change)
15205
15206 * whitespace.el (global-whitespace-mode): Keep highlight when
15207 switching between major modes on a file.
15208
15209 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
15210
15211 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
15212 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
15213 multi-line comments as well.
15214
15215 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
15216
15217 Lexical-binding cleanup.
15218
15219 * arc-mode.el (archive-mode-revert):
15220 * cmuscheme.el (scheme-interactively-start-process):
15221 * custom.el (custom-initialize-delay):
15222 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
15223 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
15224 * emacs-lock.el (emacs-lock-clear-sentinel):
15225 * ezimage.el (defezimage):
15226 * follow.el (follow-avoid-tail-recenter):
15227 * fringe.el (set-fringe-mode-1):
15228 * generic-x.el (bat-generic-mode-compile):
15229 * help-mode.el (help-info-variable, help-do-xref)
15230 (help-mode-revert-buffer):
15231 * help.el (view-emacs-todo):
15232 * iswitchb.el (iswitchb-completion-help):
15233 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
15234 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
15235 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
15236 * locate.el (locate-update):
15237 * longlines.el (longlines-encode-region)
15238 (longlines-after-change-function):
15239 * outline.el (outline-isearch-open-invisible):
15240 * ps-def.el (declare-function, charset-dimension, char-width)
15241 (encode-char):
15242 * ps-mule.el (ps-mule-plot-string):
15243 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
15244 (recentf-edit-list-select, recentf-edit-list-validate)
15245 (recentf-open-files-action):
15246 * rect.el (delete-whitespace-rectangle-line)
15247 (rectangle-number-line-callback):
15248 * register.el (window-configuration-to-register)
15249 (frame-configuration-to-register):
15250 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
15251 * select.el (xselect-convert-to-string, xselect-convert-to-length)
15252 (xselect-convert-to-targets, xselect-convert-to-delete)
15253 (xselect-convert-to-filename, xselect-convert-to-charpos)
15254 (xselect-convert-to-lineno, xselect-convert-to-colno)
15255 (xselect-convert-to-os, xselect-convert-to-host)
15256 (xselect-convert-to-user, xselect-convert-to-class)
15257 (xselect-convert-to-name, xselect-convert-to-integer)
15258 (xselect-convert-to-atom, xselect-convert-to-identity):
15259 * subr.el (declare, ignore, process-kill-without-query)
15260 (text-clone-maintain):
15261 * terminal.el (te-get-char, te-tic-sentinel):
15262 * tool-bar.el (tool-bar-make-keymap):
15263 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
15264 * type-break.el (type-break-mode, type-break-noninteractive-query):
15265 * view.el (View-back-to-mark):
15266 * wid-browse.el (widget-browse-action, widget-browse-widget)
15267 (widget-browse-widgets, widget-browse-sexp):
15268 * widget.el (define-widget-keywords):
15269 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
15270 Mark unused parameters.
15271
15272 * align.el (align-adjust-col-for-rule): Mark unused parameter.
15273 (align-areas): Remove unused variable `look'.
15274 (align-region): Remove unused variables `real-end' and `pos-list'.
15275
15276 * apropos.el (apropos-score-doc): Remove unused variable `i'.
15277
15278 * bindings.el (mode-line-modified, mode-line-remote):
15279 Mark unused parameters.
15280 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
15281
15282 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
15283 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
15284
15285 * comint.el (comint-history-isearch-pop-state)
15286 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
15287 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
15288 (comint-substitute-in-file-name): Doc fix.
15289
15290 * completion.el (cmpl-statistics-block): Mark unused parameter.
15291 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
15292 (save-completions-to-file, load-completions-from-file):
15293 Remove unused local variable `e'.
15294
15295 * composite.el (compose-chars): Remove unused variable `len'.
15296 (lgstring-insert-glyph): Remove unused variable `g'.
15297 (compose-glyph-string): Remove unused variables `ascent',
15298 `descent', `lbearing' and `rbearing'.
15299 (compose-glyph-string-relative): Remove unused variables
15300 `lbearing', `rbearing' and `wadjust'.
15301 (compose-gstring-for-graphic): Remove unused variables `header',
15302 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
15303 (compose-gstring-for-terminal): Remove unused variables `header'
15304 and `nchars'. Use `let', not `let*'.
15305
15306 * cus-edit.el (Custom-set, Custom-save, custom-reset)
15307 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
15308 (Custom-buffer-done, custom-buffer-create-internal)
15309 (custom-browse-visibility-action, custom-browse-group-tag-action)
15310 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
15311 (widget-magic-mouse-down-action, custom-toggle-parent)
15312 (custom-add-parent-links, custom-toggle-hide-variable)
15313 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
15314 (custom-toggle-hide-face, face, hook, custom-group-link-action)
15315 (custom-face-menu-create, custom-variable-menu-create, get)
15316 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
15317 (custom-reset-standard-save-and-update): Remove unused variable `value'.
15318 (customize-apropos): Remove unused variable `tests'.
15319 (custom-group-value-create): Remove unused variable `hidden-p'.
15320 (sort-fold-case): Declare.
15321
15322 * cus-theme.el (custom-reset-standard-faces-list)
15323 (custom-reset-standard-variables-list): Declare.
15324 (customize-create-theme, custom-theme-revert, custom-theme-write)
15325 (custom-theme-choose-mode, customize-themes, custom-theme-save):
15326 Mark unused parameters.
15327
15328 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
15329
15330 * delim-col.el (delimit-columns-max): Move defvar before first use.
15331
15332 * descr-text.el (describe-char-categories): Don't quote `lambda'.
15333 (describe-char): Don't quote `lambda'. Mark unused parameter.
15334
15335 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
15336 (auto-insert): Declare.
15337 (desktop-restore-file-buffer): Rename desktop-* parameters;
15338 mark unused ones.
15339 (desktop-create-buffer): Rename desktop-* parameters and bind them.
15340 (desktop-buffer): Rename desktop-* parameters.
15341
15342 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
15343 (dframe-reposition-frame-xemacs, dframe-help-echo)
15344 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
15345 Mark unused parameters.
15346
15347 * dired-aux.el (backup-extract-version-start, overwrite-query)
15348 (overwrite-backup-query, rename-regexp-query)
15349 (rename-non-directory-query): Declare.
15350 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
15351 (dired-add-entry): Remove unused variable `orig-file-name'.
15352 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
15353 Use parameter PRESERVE-TIME instead of accessing dynamic variable
15354 `dired-copy-preserve-time' directly.
15355 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
15356 (dired-insert-subdir-newpos): Rename unused variable `pos'.
15357
15358 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
15359 (dired-virtual-revert, dired-make-relative-symlink):
15360 Mark unused parameters.
15361 (manual-program): Declare.
15362 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
15363 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
15364 wrapped in `with-no-warnings' to avoid replacing one warning by another.
15365
15366 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
15367
15368 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
15369
15370 * echistory.el (electric-history-in-progress, Helper-return-blurb):
15371 Declare.
15372
15373 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
15374
15375 * electric.el (Electric-command-loop): Rename parameter
15376 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
15377
15378 * expand.el (expand-in-literal): Remove unused variable `here'.
15379
15380 * facemenu.el (facemenu-add-new-color):
15381 Remove unused variable `docstring'.
15382
15383 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
15384 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
15385 (face-attr-construct): Mark unused parameter. Doc fix.
15386 (read-color): Remove unused variable `hex-string'.
15387
15388 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
15389 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
15390 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
15391 (display-buffer-other-frame): Remove unused variable `old-window'.
15392 (kill-buffer-hook): Declare.
15393 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
15394 Mark unused parameters.
15395 (after-find-file): Pass 1 to `auto-save-mode', not t.
15396
15397 * files-x.el (auto-insert): Declare.
15398 (modify-file-local-variable-prop-line): Remove unused variable `val'.
15399
15400 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
15401 variable `buf'. Mark unused parameter.
15402 (find-lisp-insert-directory): Mark unused parameter.
15403
15404 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
15405 (format-encode-region): Remove unused variables `cur-buf' and `result'.
15406 (format-common-tail): Remove, unused.
15407 (format-deannotate-region): Remove unused variable `loc'.
15408 (format-annotate-region): Remove unused variable `p'.
15409 (format-annotate-single-property-change): Remove unused variables
15410 `default' and `tail'.
15411
15412 * forms.el (read-file-filter): Declare.
15413 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
15414
15415 * frame.el (frame-creation-function-alist): Mark unused parameter.
15416 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
15417
15418 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
15419 Remove unused parameters.
15420 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
15421 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
15422
15423 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
15424 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
15425 (hfy-prepare-tag-map): Mark unused parameters.
15426 (htmlfontify-buffer): Use `called-interactively-p'.
15427
15428 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
15429 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
15430 (ibuffer-do-occur): Mark unused parameters.
15431 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
15432 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
15433
15434 * ibuffer.el: Don't quote `lambda'.
15435 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
15436 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
15437 Mark unused parameters.
15438
15439 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
15440 (ido-completing-read): Mark unused parameters.
15441 (ido-copy-current-word): Mark unused parameters;
15442 remove unused variable `name'.
15443 (ido-sort-merged-list): Remove unused parameter `dirs'.
15444
15445 * ielm.el (ielm-input-sender): Mark unused parameter.
15446 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
15447 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
15448 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
15449 `ielm-string' as a dynamic variable accessible from the IELM prompt.
15450 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
15451
15452 * image-dired.el (image-dired-display-thumbs): Remove unused
15453 variables `curr-file' and `count'.
15454 (image-dired-remove-tag): Remove unused variable `start'.
15455 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
15456 variable `curr-file'
15457 (image-dired-rotate-original): Remove unused variable `temp-file'.
15458 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
15459 Remove unused variable `file'.
15460 (image-dired-gallery-generate): Remove unused variable `curr'.
15461 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
15462
15463 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
15464
15465 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
15466
15467 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
15468
15469 * isearch.el (minibuffer-history-symbol): Declare.
15470 (isearch-edit-string): Remove unused variable `err'.
15471 (isearch-message-prefix, isearch-message-suffix):
15472 Mark unused parameters.
15473
15474 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
15475
15476 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
15477
15478 * makesum.el (double-column): Remove unused variable `cnt'.
15479
15480 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
15481 (ido-ignore-item-temp-list): Declare.
15482
15483 * mouse-drag.el (mouse-drag-throw): Remove unused variables
15484 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
15485 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
15486 (mouse-drag-drag): Remove unused variables `mouse-delta' and
15487 `mouse-col-delta'.
15488
15489 * mouse-sel.el (mouse-extend-internal):
15490 Remove unused variable `orig-window-frame'.
15491
15492 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
15493 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
15494 Move declarations before first use.
15495 (pcomplete-opt): Mark unused parameters; doc fix.
15496
15497 * proced.el (proced-revert): Mark unused parameter.
15498 (proced-send-signal): Remove unused variable `err'.
15499
15500 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
15501 Rename parameter PREFIX-ARG to ARG.
15502 (ps-basic-plot-string, ps-basic-plot-whitespace):
15503 Mark unused parameters.
15504
15505 * replace.el (replace-count): Define.
15506 (occur-revert-function): Mark unused parameters.
15507 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
15508 (isearch-case-fold-search, isearch-string): Declare.
15509 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
15510 bind `case-fold-search'. Remove unused variables `beg' and `end',
15511 and simplify.
15512 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
15513 COUNT and bind `replace-count'.
15514 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
15515 to COUNT.
15516
15517 * savehist.el (print-readably, print-string-length): Declare.
15518
15519 * shadowfile.el (shadow-expand-cluster-in-file-name):
15520 Remove unused variable `cluster'.
15521 (shadow-copy-file): Remove unused variable `i'.
15522 (shadow-noquery, shadow-clusters, shadow-site-cluster)
15523 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
15524 (shadow-define-literal-group, shadow-define-regexp-group)
15525 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
15526
15527 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
15528 (shell): Use `called-interactively-p'.
15529 (shell-directory-tracker): Remove unused variable `chdir-failure'.
15530
15531 * simple.el (compilation-context-lines, comint-file-name-quote-list)
15532 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
15533 (delete-backward-char): Remove unused variable `ocol'.
15534 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
15535 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
15536 (event-apply-hyper-modifier, event-apply-shift-modifier)
15537 (event-apply-control-modifier, event-apply-meta-modifier):
15538 Mark unused parameters.
15539 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
15540 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
15541
15542 * speedbar.el (speedbar-ignored-directory-expressions)
15543 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
15544 (speedbar-find-file, speedbar-dir-follow)
15545 (speedbar-directory-buttons-follow, speedbar-tag-find)
15546 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
15547 (speedbar-buffers-line-directory, speedbar-buffer-click):
15548 Mark unused parameters.
15549 (speedbar-tag-file): Remove unused variable `mode'.
15550 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
15551
15552 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
15553
15554 * talk.el (talk): Remove unused variable `display'.
15555
15556 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
15557 (tar-write-region-annotate): Mark unused parameter.
15558
15559 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
15560 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
15561 Declare them, wrapped in `with-no-warnings' to avoid replacing one
15562 warning by another.
15563
15564 * time-stamp.el (time-stamp-string-preprocess):
15565 Remove unused variable `require-padding'.
15566
15567 * tree-widget.el (widget-glyph-enable): Declare.
15568 (tree-widget-action): Mark unused parameter.
15569
15570 * w32-fns.el (x-get-selection): Mark unused parameter.
15571 (autoload-make-program, generated-autoload-file): Declare.
15572
15573 * wdired.el (wdired-revert): Mark unused parameters.
15574 (wdired-xcase-word): Remove unused variable `err'.
15575
15576 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
15577 (whitespace-help-scroll): Remove unused variable `data-help'.
15578
15579 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
15580 (widget-image-insert, widget-after-change, default)
15581 (widget-default-format-handler, widget-default-notify)
15582 (widget-default-prompt-value, widget-info-link-action)
15583 (widget-url-link-action, widget-function-link-action)
15584 (widget-variable-link-action, widget-file-link-action)
15585 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
15586 (widget-field-prompt-internal, widget-field-action, widget-field-match)
15587 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
15588 (widget-insert-button-action, widget-delete-button-action, visibility)
15589 (widget-documentation-link-action, widget-documentation-string-action)
15590 (widget-const-prompt-value, widget-regexp-match, symbol)
15591 (widget-coding-system-prompt-value)
15592 (widget-key-sequence-value-to-external, sexp)
15593 (widget-sexp-value-to-internal, character, vector, cons)
15594 (widget-choice-prompt-value, widget-boolean-prompt-value)
15595 (widget-color--choose-action): Mark unused parameters.
15596 (widget-item-match-inline, widget-choice-match-inline)
15597 (widget-checklist-match, widget-checklist-match-inline)
15598 (widget-group-match): Rename parameter VALUES to VALS.
15599 (widget-field-value-set): Remove unused variable `size'.
15600 (widget-color-action): Remove unused variables `value' and `start'.
15601
15602 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
15603 variable `dir'. Doc fix.
15604 (windmove-find-other-window): Don't pass it.
15605
15606 * window.el (count-windows): Mark unused parameter.
15607 (bw-adjust-window): Remove unused variable `err'.
15608
15609 * woman.el (woman-file-name): Remove unused variable `default'.
15610 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
15611 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
15612 (global-font-lock-mode): Declare.
15613 (woman-decode-region): Mark unused parameter.
15614 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
15615
15616 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
15617 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
15618 (x-dnd-handle-moz-url): Remove unused variable `title'.
15619 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
15620
15621 * xml.el (xml-parse-tag, xml-parse-attlist):
15622 Remove unused variable `pos'.
15623
15624 2011-04-19 Glenn Morris <rgm@gnu.org>
15625
15626 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
15627 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
15628 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
15629 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
15630 * calendar/cal-html.el (cal-html-insert-minical):
15631 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
15632 (calendar-mark-date-pattern):
15633 Prefix "unused" locals.
15634
15635 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
15636 optional argument `style'.
15637
15638 * calendar/appt.el (appt-make-list):
15639 * calendar/cal-china.el (calendar-chinese-date-string):
15640 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
15641 (diary-hebrew-yahrzeit):
15642 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
15643 * calendar/calendar.el (calendar-generate-window):
15644 * calendar/time-date.el (time-to-days):
15645 Remove unused local variables.
15646
15647 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
15648
15649 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
15650 glyphless-char-display table.
15651 (tabulated-list-glyphless-char-display): New var.
15652
15653 2011-04-18 Sam Steingold <sds@gnu.org>
15654
15655 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
15656 to acknowledgments.
15657
15658 2011-04-17 Glenn Morris <rgm@gnu.org>
15659
15660 * calendar/diary-lib.el (diary-sexp-entry):
15661 * calendar/holidays.el (holiday-sexp):
15662 Set debug-on-error rather than the removed stack-trace-on-error.
15663
15664 2011-04-16 Glenn Morris <rgm@gnu.org>
15665
15666 * progmodes/f90.el: Use lexical-binding.
15667 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
15668
15669 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
15670
15671 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
15672 (mail-mode): Setup mailalias completion here instead.
15673 * mail/mailalias.el: Use lexical-binding.
15674 (pattern, mailalias-done): Declare dynamic.
15675 (mail-completion-at-point-function): New function, from mail-complete.
15676 (mail-complete): Use it.
15677 (mail-completion-expand): New function.
15678 (mail-get-names): Use it.
15679 (mail-directory, mail-directory-process, mail-directory-stream):
15680 Don't use `pattern' for lexically bound arg.
15681
15682 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
15683
15684 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
15685 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
15686 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
15687
15688 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
15689 (byte-save-window-excursion, byte-temp-output-buffer-setup)
15690 (byte-interactive-p): Define them again, for use when inlining
15691 old code.
15692
15693 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
15694
15695 * loadup.el: Use `string-to-number', not `string-to-int'.
15696
15697 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
15698
15699 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
15700 gud-gdb-complete-command.
15701 (gud-gdb-completions): New function, from gud-gdb-complete-command.
15702 (gud-gdb-completion-at-point): New function.
15703 (gud-gdb-completions): Remove.
15704
15705 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
15706
15707 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
15708 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
15709 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
15710 whether `executable-find' is bound.
15711
15712 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
15713
15714 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
15715
15716 * minibuffer.el (completion-in-region-mode-predicate)
15717 (completion-in-region-mode--predicate): New vars.
15718 (completion-in-region, completion-in-region--postch)
15719 (completion-in-region-mode): Use them.
15720 (completion--capf-wrapper): Also return the hook function.
15721 (completion-at-point, completion-help-at-point):
15722 Adjust and provide a predicate.
15723
15724 Preserve arg names for advice of subr and lexical functions (bug#8457).
15725 * help-fns.el (help-function-arglist): Consolidate the subr and
15726 new-byte-code cases. Add argument `preserve-names' to extract names
15727 from the docstring when needed.
15728 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
15729 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
15730 (ad-arglist): Use help-function-arglist's new arg.
15731 (ad-definition-type): Use cond.
15732
15733 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
15734
15735 * autorevert.el (auto-revert-handler):
15736 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
15737 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
15738 Don't quote lambda.
15739
15740 * image-mode.el (image-transform-set-scale):
15741 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
15742
15743 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
15744
15745 * net/network-stream.el (network-stream-open-starttls): Only do
15746 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
15747 Upgrades via gnutls-cli are too slow to be done opportunistically.
15748
15749 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
15750
15751 * dframe.el (dframe-current-frame): Remove spurious quote.
15752
15753 2011-04-12 Glenn Morris <rgm@gnu.org>
15754
15755 * calendar/cal-tex.el (cal-tex-end-document):
15756 Try to automatically use latin1 input if needed.
15757
15758 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
15759 Don't try to cons a mark onto an empty element.
15760
15761 2011-04-11 Leo Liu <sdl.web@gmail.com>
15762
15763 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
15764 buffers.
15765 (ido-kill-buffer-at-head): Support killing virtual buffers.
15766
15767 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
15768
15769 * minibuffer.el (completion-show-inline-help): New var.
15770 (completion--do-completion, minibuffer-complete)
15771 (minibuffer-force-complete, minibuffer-complete-word):
15772 Inhibit minibuffer messages if completion-show-inline-help is nil.
15773
15774 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
15775 to avoid interference from inline help (Bug#5849).
15776
15777 2011-04-10 Leo Liu <sdl.web@gmail.com>
15778
15779 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
15780 Fix typo.
15781
15782 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
15783
15784 * image-mode.el (image-toggle-display-image): Signal an error if
15785 not in Image mode.
15786 (image-transform-mode, image-transform-resize)
15787 (image-transform-set-rotation): Doc fix.
15788 (image-transform-set-resize): Delete.
15789 (image-transform-set-scale, image-transform-fit-to-height)
15790 (image-transform-fit-to-width): Handle image-toggle-display-image
15791 and image-transform-resize directly.
15792
15793 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
15794
15795 * doc-view.el (doc-view-fit-width-to-window)
15796 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
15797 New functions for fitting the shown image to the Emacs window size.
15798 (doc-view-mode-map): Add bindings for the new functions.
15799
15800 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
15801
15802 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
15803 Fix typo in docstring.
15804
15805 2011-04-08 Eli Zaretskii <eliz@gnu.org>
15806
15807 * files.el (file-size-human-readable): Produce one digit after
15808 decimal, like "ls -lh" does.
15809
15810 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
15811 the file size representation.
15812
15813 * simple.el (list-processes): If async subprocesses are not
15814 available, error out with a clear error message.
15815
15816 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
15817
15818 * help.el (help-form-show): New function, to be called from C.
15819 Put help-form output in a buffer named differently than *Help*.
15820
15821 2011-04-08 Eli Zaretskii <eliz@gnu.org>
15822
15823 * files.el (file-size-human-readable): New function.
15824
15825 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
15826 computing the representation inline. Don't require `cl'.
15827
15828 2011-04-08 Glenn Morris <rgm@gnu.org>
15829
15830 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
15831
15832 * net/browse-url.el (browse-url-firefox):
15833 Test system-type, not system-configuration.
15834
15835 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
15836 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
15837 Use log-edit-empty-buffer-p. (Bug#7598)
15838
15839 * net/rlogin.el (rlogin-process-connection-type): Simplify.
15840 (rlogin-mode-map): Initialize in the defvar.
15841 (rlogin): Use ignore-errors.
15842
15843 * replace.el (occur-mode-map): Some fixes for menu items.
15844
15845 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
15846
15847 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
15848
15849 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
15850
15851 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
15852 issuing unused warnings.
15853
15854 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
15855 macro directly.
15856
15857 * simple.el: Lisp reimplement of list-processes. Based on an
15858 earlier reimplementation by Leo Liu, but using tabulated-list.el.
15859 (process-menu-mode): New major mode.
15860 (list-processes--refresh, list-processes):
15861 (process-menu-visit-buffer): New functions.
15862
15863 * files.el (save-buffers-kill-emacs): Don't assume any return
15864 value of list-processes, which is undocumented anyway.
15865
15866 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
15867
15868 * emacs-lisp/tabulated-list.el: New file.
15869
15870 * emacs-lisp/package.el: Use Tabulated List mode.
15871 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
15872 (package-menu-mode): Derive from tabulated-list-mode. Set up the
15873 table format using Tabulated List mode variables.
15874 (package--push): New macro, replacing package-list-maybe-add.
15875 (package-menu--generate): Use package--push. Renamed from
15876 package--generate-package-list.
15877 (package-menu-refresh, list-packages): Use it.
15878 (package-menu--print-info): Rename from package-print-package.
15879 Return insertion data instead of inserting it directly.
15880 (package-menu-describe-package, package-menu-execute):
15881 Use tabulated-list-get-id.
15882 (package-menu-mark-delete, package-menu-mark-install)
15883 (package-menu-mark-unmark, package-menu-backup-unmark)
15884 (package-menu-mark-obsolete-for-deletion):
15885 Use tabulated-list-put-tag.
15886 (package--list-packages, package-menu-revert)
15887 (package-menu-get-package, package-menu-get-version)
15888 (package-menu-sort-by-column): Functions deleted.
15889 (package-menu-package-list, package-menu-sort-key): Vars deleted.
15890 (package-menu--status-predicate, package-menu--version-predicate)
15891 (package-menu--name-predicate)
15892 (package-menu--description-predicate): Handle arguments in the
15893 Tabulated List format.
15894 (package-list-packages-no-fetch): Call list-packages.
15895
15896 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
15897
15898 * files.el (after-find-file-from-revert-buffer): Remove variable.
15899 (after-find-file): Don't bind it.
15900 (revert-buffer-in-progress-p): New variable.
15901 (revert-buffer): Bind it.
15902 Pass nil for `after-find-file-from-revert-buffer'.
15903
15904 * saveplace.el (save-place-find-file-hook): Use new variable
15905 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
15906
15907 2011-04-06 Glenn Morris <rgm@gnu.org>
15908
15909 * Makefile.in (AUTOGEN_VCS): New variable.
15910 (autoloads): Use $AUTOGEN_VCS.
15911
15912 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
15913 * calendar/calendar.el (calendar-mode-map):
15914 Check for toolkit scroll bars. (Bug#8305)
15915
15916 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
15917
15918 * minibuffer.el (completion-in-region--postch)
15919 (completion-in-region-mode): Remove unnecessary messages.
15920
15921 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
15922
15923 * font-lock.el (font-lock-refresh-defaults):
15924 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
15925 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
15926
15927 * info.el (Info-directory-list, Info-read-node-name-2)
15928 (Info-split-parameter-string): Doc fixes.
15929 (Info-virtual-nodes): Reflow docstring.
15930 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
15931 (Info-apropos-toc-nodes, info-finder, Info-get-token)
15932 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
15933 Fix typos in docstrings.
15934 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
15935 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
15936 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
15937 (Info-restore-desktop-buffer): Mark unused parameters.
15938 (Info-directory-find-file, Info-directory-find-node)
15939 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
15940 (Info-virtual-index-find-node, Info-apropos-find-file)
15941 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
15942 Mark unused parameters; fix typos in docstrings.
15943 (Info-virtual-index): Remove unused local variable `nodename'.
15944
15945 2011-04-05 Deniz Dogan <deniz@dogan.se>
15946
15947 * net/rcirc.el: Update my e-mail address.
15948 (rcirc-mode-map): Remove M-o binding.
15949
15950 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
15951
15952 * startup.el (command-line): Save the cursor's theme-face
15953 directly, instead of using face-override-spec.
15954
15955 * custom.el (load-theme): Minor optimization in assigning faces.
15956
15957 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
15958
15959 * help-fns.el (describe-variable): Complete all variables having
15960 documentation, including keywords.
15961 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
15962
15963 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
15964
15965 Convert to lexical-binding.
15966
15967 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
15968 (bs--get-marked-string, bs--get-modified-string)
15969 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
15970 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
15971 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
15972
15973 * ehelp.el (electric-help-execute-extended)
15974 (electric-help-ctrl-x-prefix):
15975 * hexl.el (hexl-revert-buffer-function):
15976 * linum.el (linum-after-change, linum-after-scroll):
15977 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
15978
15979 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
15980
15981 2011-04-04 Daiki Ueno <ueno@unixuser.org>
15982
15983 * epa-dired.el:
15984 * epa-mail.el:
15985 * epa-hook.el:
15986 * epa-file.el:
15987 * epa.el:
15988 * epg.el: Use lexical binding.
15989
15990 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
15991
15992 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
15993
15994 * textmodes/flyspell.el (flyspell-word): Recognize default
15995 dictionary case for flyspell-mark-duplications-exceptions.
15996 Use regexp matching for languages.
15997 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
15998 default dictionary (Bug#7926).
15999
16000 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
16001
16002 * emacs-lisp/package.el (package--with-work-buffer):
16003 Recognize https URLs.
16004
16005 * net/network-stream.el: Move from gnus/proto-stream.el.
16006 Change prefix to network-stream throughout.
16007 (open-protocol-stream): Merge into open-network-stream, leaving
16008 open-protocol-stream as an alias. Handle nil BUFFER args.
16009
16010 * subr.el (open-network-stream): Move to net/network-stream.el.
16011
16012 2011-04-02 Glenn Morris <rgm@gnu.org>
16013
16014 * find-dired.el (find-exec-terminator): New option.
16015 (find-ls-option): Test for -ls support.
16016 (find-ls-subdir-switches): Test for -b in find-ls-option.
16017 (find-dired, find-grep-dired): Doc fixes.
16018 (find-dired): Use find-exec-terminator.
16019
16020 * find-dired.el (find-ls-option, find-ls-subdir-switches)
16021 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
16022 (find-name-arg): Remove purecopy.
16023
16024 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
16025 (grep-compute-defaults): Check for `-exec COMMAND +' support.
16026 Set grep-find-use-xargs, grep-find-command, and grep-find-template
16027 accordingly. Don't add the null-device if not needed.
16028
16029 * files.el (save-some-buffers): Doc fix.
16030
16031 2011-04-02 Eli Zaretskii <eliz@gnu.org>
16032
16033 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
16034
16035 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
16036
16037 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
16038 Use `dolist' rather than `mapcar'.
16039
16040 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
16041
16042 Add lexical binding.
16043
16044 * subr.el (apply-partially): Use new closures rather than CL.
16045 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
16046 (dolist, dotimes): Use slightly different expansion for lexical code.
16047 (functionp): Move to C.
16048 (letrec): New macro.
16049 (with-wrapper-hook): Use it and apply-partially instead of CL.
16050 (eval-after-load): Preserve lexical-binding.
16051 (save-window-excursion, with-output-to-temp-buffer): Turn them
16052 into macros.
16053
16054 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
16055
16056 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
16057 than the arglist.
16058 (help-add-fundoc-usage): Don't add `Not documented'.
16059 (help-function-arglist): Handle closures, subroutines, and new
16060 byte-code-functions.
16061 (help-make-usage): Remove leading underscores.
16062 (describe-function-1): Handle closures.
16063 (describe-variable): Use special-variable-p for completion.
16064
16065 * files.el (lexical-binding): Declare safe.
16066
16067 * emacs-lisp/pcase.el: Don't use destructuring-bind.
16068 (pcase--memoize): Rename from pcase-memoize. Change weakness.
16069 (pcase): Add `let' pattern.
16070 Change memoization so it actually works.
16071 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
16072 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
16073 <let>: New case.
16074
16075 * emacs-lisp/macroexp.el: Use lexical binding.
16076 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
16077 Don't convert ' to #' without checking that it's indeed quoting
16078 a lambda.
16079
16080 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
16081 Use eval-sexp-add-defvars.
16082 (eval-sexp-add-defvars): New fun.
16083
16084 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
16085
16086 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
16087 Don't autoload.
16088 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
16089 than the internal `byte-compile-lambda'.
16090 (defmethod): Don't hide code under quotes.
16091 (eieio-defmethod): New `code' argument.
16092
16093 * emacs-lisp/eieio-comp.el: Remove.
16094
16095 * emacs-lisp/edebug.el (edebug-eval-defun)
16096 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
16097 (edebug-toggle): Avoid `eval'.
16098
16099 * emacs-lisp/disass.el (disassemble-internal): Handle new
16100 `closure' objects.
16101 (disassemble-1): Handle new byte codes.
16102
16103 * emacs-lisp/cl.el (pushnew): Silence warning.
16104
16105 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
16106 (cl-byte-compile-throw): Remove.
16107 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
16108
16109 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
16110 closures.
16111
16112 * emacs-lisp/cconv.el: New file.
16113
16114 * emacs-lisp/bytecomp.el: Use lexical binding instead of
16115 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
16116 (byte-compile-initial-macro-environment):
16117 Handle declare-function here.
16118 (byte-compile--lexical-environment): New var.
16119 (byte-stack-ref, byte-stack-set, byte-discardN)
16120 (byte-discardN-preserve-tos): New lap codes.
16121 (byte-interactive-p): Don't use any more.
16122 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
16123 New macros.
16124 (byte-compile-lapcode): Use them and handle new lap codes.
16125 (byte-compile-obsolete): Remove.
16126 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
16127 (byte-compile-arglist-warn): Check late def of inlinable funs.
16128 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
16129 since they should have been expanded by now.
16130 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
16131 (byte-compile-from-buffer): Remove unused second arg.
16132 (byte-compile-preprocess): New function.
16133 (byte-compile-toplevel-file-form): New function to distinguish
16134 file-form calls from outside from file-form calls from hunk-handlers.
16135 (byte-compile-file-form): Simplify.
16136 (byte-compile-file-form-defsubst): Remove.
16137 (byte-compile-file-form-defmumble): Simplify now that
16138 byte-compile-lambda always returns a byte-code-function.
16139 (byte-compile): Preprocess.
16140 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
16141 Remove, not used any more.
16142 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
16143 (byte-compile-make-args-desc): New funs.
16144 (byte-compile-lambda): Handle lexical functions. Always return
16145 a byte-code-function.
16146 (byte-compile-reserved-constants): New var, to make up room for
16147 closed-over variables.
16148 (byte-compile-constants-vector): Obey it.
16149 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
16150 (byte-compile-macroexpand-declare-function): New function.
16151 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
16152 byte-code-functions.
16153 (byte-compile-form): Check obsolescence here.
16154 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
16155 (byte-compile-variable-ref): Remove.
16156 (byte-compile-dynamic-variable-op): New fun.
16157 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
16158 (byte-compile-variable-set): New funs.
16159 (byte-compile-discard): Add 2 args.
16160 (byte-compile-stack-ref, byte-compile-stack-set)
16161 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
16162 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
16163 macroexpand-all instead.
16164 (byte-compile-quote-form): Remove.
16165 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
16166 (byte-compile-bind, byte-compile-unbind): New funs.
16167 (byte-compile-let): Handle let* and lexical binding.
16168 (byte-compile-let*): Remove.
16169 (byte-compile-catch, byte-compile-unwind-protect)
16170 (byte-compile-track-mouse, byte-compile-condition-case):
16171 Handle a new :fun-body form, used for lexical scoping.
16172 (byte-compile-save-window-excursion)
16173 (byte-compile-with-output-to-temp-buffer): Remove.
16174 (byte-compile-defun): Simplify.
16175 (byte-compile-stack-adjustment): New fun.
16176 (byte-compile-out): Use it.
16177 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
16178
16179 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
16180 handler any more.
16181
16182 * emacs-lisp/byte-opt.el: Use lexical binding.
16183 (byte-inline-lapcode): Remove (to bytecomp).
16184 (byte-compile-inline-expand): Pay attention to inlining to/from
16185 lexically bound code.
16186 (byte-compile-unfold-lambda): Don't handle byte-code-functions
16187 any more.
16188 (byte-optimize-form-code-walker): Don't handle save-window-excursion
16189 any more and don't call compiler-macros.
16190 (byte-compile-splice-in-already-compiled-code): Remove.
16191 (byte-code): Don't inline any more.
16192 (disassemble-offset): Receive `bytes' as argument rather than via
16193 dynamic scoping.
16194 (byte-compile-tag-number): Declare before first use.
16195 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
16196 `return' even if make-spliceable.
16197 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
16198 obsolete interactive-p.
16199 (byte-optimize-lapcode): Optimize new lap-codes.
16200 Don't trip up on new form of `byte-constant' lap code.
16201
16202 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
16203
16204 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
16205
16206 * custom.el (custom-initialize-default, custom-declare-variable):
16207 Use `defvar'.
16208
16209 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
16210 New variables.
16211 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
16212 (COMPILE_FIRST): Add macroexp and cconv.
16213 * makefile.w32-in: Mirror changes in Makefile.in.
16214
16215 * vc/cvs-status.el:
16216 * vc/diff-mode.el:
16217 * vc/log-edit.el:
16218 * vc/log-view.el:
16219 * vc/smerge-mode.el:
16220 * textmodes/bibtex-style.el:
16221 * textmodes/css-mode.el:
16222 * startup.el:
16223 * uniquify.el:
16224 * minibuffer.el:
16225 * newcomment.el:
16226 * reveal.el:
16227 * server.el:
16228 * mpc.el:
16229 * emacs-lisp/smie.el:
16230 * doc-view.el:
16231 * dired.el:
16232 * abbrev.el: Use lexical binding.
16233
16234 2011-04-01 Eli Zaretskii <eliz@gnu.org>
16235
16236 * info.el (info-display-manual): New function.
16237
16238 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
16239
16240 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
16241
16242 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
16243
16244 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
16245 an entry for that server in rcirc-authinfo. (Bug#8385)
16246
16247 2011-03-31 Glenn Morris <rgm@gnu.org>
16248
16249 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
16250
16251 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
16252
16253 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
16254
16255 * progmodes/python.el (python-default-interpreter)
16256 (python-python-command-args, python-jython-command-args)
16257 (python-which-shell, python-which-args, python-which-bufname)
16258 (python-file-queue, python-comint-output-filter-function)
16259 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
16260 variables and functions.
16261
16262 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
16263
16264 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
16265 (completion-in-region-mode): New minor mode.
16266 (completion-in-region): Use it.
16267 (completion-in-region--data, completion-in-region-mode-map): New vars.
16268 (completion-in-region--postch): New function.
16269 (completion--capf-misbehave-funs, completion--capf-safe-funs):
16270 New vars.
16271 (completion--capf-wrapper): New function.
16272 (completion-at-point): Use it to track well-behavedness of
16273 hook functions.
16274 (completion-help-at-point): New command.
16275
16276 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
16277
16278 * vc/add-log.el (add-change-log-entry): Don't use whitespace
16279 syntax class to search for whitespace on a single line
16280 (Message-ID: <4D938140.4030905@redhat.com>).
16281
16282 2011-03-30 Leo Liu <sdl.web@gmail.com>
16283
16284 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
16285 New commands.
16286 (edit-abbrevs-map): Bind them here.
16287 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
16288
16289 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
16290
16291 * allout.el (allout-hide-by-annotation, allout-flag-region):
16292 Reduce possibility of overlay leakage by making them volatile.
16293
16294 * allout-widgets.el (allout-widgets-tally): Define as nil so the
16295 hash is not shared between buffers. Mode initialization is
16296 responsible for giving it a useful starting value.
16297 (allout-item-span): Reduce possibility of overlay leakage by
16298 making them volatile.
16299 (allout-widgets-count-buttons-in-region): Add diagnostic function
16300 for tracking down button overlay leaks.
16301
16302 2011-03-29 Leo Liu <sdl.web@gmail.com>
16303
16304 * ido.el (ido-read-internal): Use the default history var
16305 minibuffer-history if no HISTORY is specified.
16306
16307 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
16308
16309 * net/imap.el (imap-shell-open, imap-process-connection-type):
16310 Use imap-process-connection-type for 'shell' streams as well as
16311 Kerberos, SSL, other subprocesses.
16312
16313 2011-03-28 Leo Liu <sdl.web@gmail.com>
16314
16315 * abbrev.el (abbrev-table-empty-p): New function.
16316 (prepare-abbrev-list-buffer): Place empty abbrev tables after
16317 nonempty ones. (Bug#5937)
16318
16319 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
16320
16321 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
16322
16323 2011-03-27 Leo Liu <sdl.web@gmail.com>
16324
16325 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
16326 for foreground and background colors.
16327 (ansi-color-make-color-map): Adapt.
16328
16329 2011-03-25 Leo Liu <sdl.web@gmail.com>
16330
16331 * midnight.el (midnight-time-float): Remove. Note it calculates
16332 the microsecond component incorrectly and seconds-to-time does the
16333 same job.
16334 Remove redundant (require 'timer).
16335
16336 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
16337 (ido-completions): Remove unused arguments. (Bug#8329)
16338
16339 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
16340
16341 * minibuffer.el (completion--flush-all-sorted-completions):
16342 Remove itself from hook.
16343 (completion-at-point): Let the functions perform the completion
16344 immediately and return nil or t.
16345 * comint.el (comint-dynamic-complete-functions): Now identical to
16346 completion-at-point-functions.
16347 (comint-dynamic-list-input-ring): Remove unused var `index'.
16348 (comint--match-partial-filename, comint--unquote&expand-filename):
16349 New funs, split from comint-match-partial-filename.
16350 (comint-dynamic-complete): Use completion-at-point.
16351 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
16352
16353 2011-03-24 Drew Adams <drew.adams@oracle.com>
16354
16355 * thingatpt.el: Support `defun'.
16356
16357 2011-03-23 Leo Liu <sdl.web@gmail.com>
16358
16359 * abbrevlist.el: Move to obsolete/abbrevlist.el.
16360
16361 * help-mode.el (help-mode-finish): Tweak regexp.
16362
16363 2011-03-23 Glenn Morris <rgm@gnu.org>
16364
16365 * eshell/esh-opt.el (eshell-eval-using-options):
16366 Do not bind unused local variable `eshell-option-stub'.
16367
16368 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
16369
16370 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
16371
16372 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
16373 keymap variable in `with-no-warnings' to avoid a warning when the
16374 keymap has been already `defconst'ed.
16375
16376 2011-03-22 Leo Liu <sdl.web@gmail.com>
16377
16378 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
16379 encode all chars in abbrevs; otherwise use emacs-mule or
16380 utf-8-emacs. (Bug#8308)
16381
16382 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
16383
16384 * simple.el (backward-delete-char-untabify):
16385 Avoid warning about using `delete-backward-char'.
16386
16387 * image.el (image-type-file-name-regexps): Make it variable.
16388 `imagemagick-register-types' modifies it, and the user may want
16389 to add new extensions for known image types.
16390 (imagemagick-register-types): Throw error if not using ImageMagick.
16391
16392 2011-03-22 Leo Liu <sdl.web@gmail.com>
16393
16394 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
16395 located before rcirc-prompt-end-marker.
16396 (rcirc-complete): Error if point is not after rcirc prompt.
16397 Handle the case when table is nil.
16398 (rcirc-user-authenticated): Define to fix compiler warning.
16399
16400 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
16401
16402 * custom.el (custom--inhibit-theme-enable): Make it affect only
16403 custom-theme-set-variables and custom-theme-set-faces.
16404 (provide-theme): Ignore custom--inhibit-theme-enable.
16405 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
16406 (custom-enabling-themes): Delete variable.
16407 (enable-theme): Accept only loaded themes as arguments.
16408 Ignore the special custom-enabled-themes variable.
16409 (custom-enabled-themes): Forbid themes from setting this.
16410 Eliminate use of custom-enabling-themes.
16411 (custom-push-theme): Quote "changed" custom var entry.
16412
16413 2011-03-21 Leo Liu <sdl.web@gmail.com>
16414
16415 * ido.el (ido-read-internal): Add ido-selected to history instead
16416 of user input.
16417
16418 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
16419
16420 * subr.el (deferred-action-list, deferred-action-function):
16421 Mark obsolete.
16422
16423 2011-03-21 Leo Liu <sdl.web@gmail.com>
16424
16425 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
16426 change on 2011-02-13 (bug#8309).
16427
16428 * minibuffer.el (read-file-name-function): Change default value.
16429 (read-file-name--defaults): Rename from read-file-name-defaults.
16430 (read-file-name-default): Rename from read-file-name.
16431 (read-file-name): Call read-file-name-function.
16432
16433 2011-03-21 Glenn Morris <rgm@gnu.org>
16434
16435 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
16436 Doc fixes.
16437
16438 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
16439
16440 * cus-theme.el: Add missing provide statement.
16441 (customize-create-theme): Extract theme value correctly.
16442 (custom-theme-visit-theme): Autoload.
16443 (customize-create-theme): Prompt before inserting default faces.
16444
16445 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
16446
16447 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
16448 units and musical notes.
16449
16450 2011-03-20 Leo Liu <sdl.web@gmail.com>
16451
16452 * ido.el (ido-read-internal): Use completing-read-default.
16453 (ido-completing-read): Fix compatibility with completing-read.
16454
16455 2011-03-20 Christian Ohler <ohler@gnu.org>
16456
16457 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
16458 (ert-delete-all-tests): Use `called-interactively-p' rather than
16459 `interactive-p'.
16460 (ert--make-xrefs-region): Respect END.
16461
16462 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
16463
16464 * dired-aux.el (dired-create-directory): Signal an error if the
16465 directory already exists (Bug#8246).
16466
16467 * facemenu.el (list-colors-display): Call list-faces-display
16468 inside with-help-window.
16469 (list-colors-print): Use display property to align the final
16470 column, instead of checking window-width.
16471
16472 2011-03-19 Eli Zaretskii <eliz@gnu.org>
16473
16474 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
16475 windows-nt systems.
16476 (emerge-protect-metachars): Quote correctly for ms-dos and
16477 windows-nt systems.
16478
16479 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
16480
16481 * info.el (info-initialize): Replace all uses of `:' with
16482 path-separator for compatibility with non-Unix systems.
16483 Cache quoting of path-separator. (Bug#8258)
16484
16485 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
16486
16487 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
16488 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
16489 (mouse-avoidance-mode): Fix typos in docstrings.
16490
16491 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
16492
16493 * startup.el (package-subdirectory-regexp): Move from package.el.
16494 Omit \\` and \\', and let callers add them.
16495
16496 * emacs-lisp/package.el (package-strip-version)
16497 (package-load-all-descriptors): Add \\` and \\' to
16498 package-subdirectory-regexp before using it.
16499 (package-untar-buffer): New arg DIR; ensure that file untars only
16500 into this expected directory. Remove superfluous delete-region.
16501 (package-unpack): Caller changed.
16502 (package-tar-file-info): Use package-subdirectory-regexp.
16503
16504 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
16505
16506 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
16507 diff-mode-shared-map (bug#8284).
16508 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
16509
16510 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
16511
16512 * calendar/time-date.el (format-seconds): Use assoc instead of
16513 assoc-string, since assoc-string doesn't exist in XEmacs.
16514
16515 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
16516
16517 * custom.el (custom-known-themes): Reflow docstring.
16518 (custom-theme-load-path): Fix typo in docstring.
16519 (load-theme): Fix typo in error message.
16520 (custom-available-themes, custom-variable-theme-value):
16521 Use `let', not `let*'.
16522
16523 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
16524
16525 * calc/README: Mention inclusion of musical notes.
16526
16527 * calc/calc-units.el (calc-lu-quant): Rename from
16528 `calc-logunits-quantity'.
16529 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
16530 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
16531 (calc-db): Rename from `calc-dblevel'.
16532 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
16533 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
16534 (calc-np): Rename from `calc-nplevel'.
16535 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
16536 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
16537 (calc-lu-plus): Rename from `calc-logunits-add'.
16538 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
16539 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
16540 (calc-lu-minus): Rename from `calc-logunits-sub'.
16541 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
16542 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
16543 (calc-lu-times): Rename from `calc-logunits-mul'.
16544 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
16545 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
16546 (calc-lu-divide): Rename from `calc-logunits-div'.
16547 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
16548 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
16549
16550 * calc/calc-ext.el (calc-init-extensions): Update the names of the
16551 functions being autoloaded.
16552
16553 * calc/calc.el (calc-lu-power-reference): Rename from
16554 `calc-logunits-power-reference'.
16555 (calc-lu-field-reference): Rename from
16556 `calc-logunits-field-reference'.
16557
16558 * calc/calc-help.el (calc-l-prefix-help):
16559 Mention musical note functions.
16560
16561 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
16562
16563 * minibuffer.el (completion-all-sorted-completions):
16564 Use :completion-cycle-penalty text property if present.
16565
16566 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
16567
16568 * allout.el (allout-yank-processing): Adjust for new rebulleting
16569 regime so bullet being yanked is used without prompting the user
16570 for a choice.
16571
16572 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
16573
16574 * startup.el (command-line): Warn the user that _emacs is deprecated.
16575
16576 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
16577
16578 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
16579 (delphi-verbose, delphi-comment-face, delphi-string-face)
16580 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
16581 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
16582 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
16583 (delphi-new-comment-line, delphi-font-lock-defaults)
16584 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
16585 Fix typos in docstrings.
16586
16587 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
16588
16589 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
16590 Invert the roles of character and string values for INSTEAD, so a
16591 string is used for the more common case of a defaulting prompt.
16592
16593 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
16594
16595 * progmodes/ruby-mode.el (ruby-backward-sexp):
16596 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
16597 * play/gamegrid.el (gamegrid-make-face):
16598 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
16599 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
16600 * notifications.el (notifications-notify):
16601 * net/xesam.el (xesam-search-engines):
16602 * net/quickurl.el (quickurl-list-insert):
16603 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
16604
16605 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
16606
16607 * startup.el (command-line): Update package subdirectory regexp.
16608
16609 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
16610
16611 * allout.el (allout-abbreviate-flattened-numbering)
16612 (allout-mode-deactivate-hook): Fix up obsolescence "date".
16613
16614 * subr.el (read-char-choice): Only show the cursor after the prompt,
16615 not after the answer.
16616
16617 2011-03-15 Kevin Ryde <user42@zip.com.au>
16618
16619 * help-fns.el (variable-at-point): Skip leading quotes, if any
16620 (bug#8253).
16621
16622 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
16623
16624 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
16625 warning message.
16626
16627 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
16628
16629 * shell.el (shell): When called interactively, offer to change the
16630 shell file name on remote hosts.
16631
16632 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
16633
16634 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
16635 integration for LDAP parameters. The host, base, user or binddn,
16636 and secret tokens can be specified in a netrc file, for instance.
16637 This is optional because an `auth-source' parameter must be
16638 specified in the search attributes.
16639
16640 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
16641
16642 * help.el (describe-mode): Link to the mode's definition (bug#8185).
16643
16644 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16645
16646 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
16647 into declaration. Remove redundant and harmful binding.
16648
16649 2011-03-12 Eli Zaretskii <eliz@gnu.org>
16650
16651 * files.el (file-ownership-preserved-p): Pass `integer' as an
16652 explicit 2nd argument to `file-attributes'. If the file's owner
16653 is the Administrators group on Windows, and the current user is
16654 Administrator, consider that a match.
16655
16656 * server.el (server-ensure-safe-dir): Consider server directory
16657 safe on MS-Windows if its owner is the Administrators group while
16658 the current Emacs user is Administrator. Use `=' to compare
16659 numerical UIDs, since they could be integers or floats.
16660
16661 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
16662
16663 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
16664
16665 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
16666
16667 Sync with Tramp 2.2.1.
16668
16669 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
16670
16671 * net/trampver.el: Update release number.
16672
16673 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16674
16675 * progmodes/compile.el (compilation--previous-directory): Fix up
16676 various nil/dead-marker mismatches (bug#8014).
16677 (compilation-directory-properties, compilation-error-properties):
16678 Don't call it at a position past the one we're about to change.
16679
16680 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
16681 Disable obsolescence warnings in the file that declares it.
16682
16683 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
16684
16685 * allout-widgets.el (allout-widgets-tally):
16686 Initialize allout-widgets-tally as a hash table rather than nil to
16687 prevent mode-line redisplay warnings. Also, clarify the module
16688 description and fix a comment typo.
16689
16690 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
16691
16692 * help-fns.el (describe-variable): Don't complete keywords.
16693 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
16694
16695 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
16696
16697 * emacs-lisp/package.el (package-version-join): Impose a standard
16698 string representation for pre/alpha/beta version lists.
16699 (package-unpack-single): Standardize the directory name by passing
16700 it through package-version-join.
16701 (package-strip-rcs-id): Accept any version string that does not
16702 signal an error in version-to-list.
16703
16704 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
16705
16706 * simple.el (delete-trailing-whitespace): Return nil for the
16707 benefit of `write-file-functions'.
16708
16709 2011-03-10 Glenn Morris <rgm@gnu.org>
16710
16711 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
16712
16713 * vc/vc-git.el (vc-git-program): New option.
16714 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
16715 (vc-git--call): Use it.
16716
16717 * eshell/esh-util.el (eshell-condition-case): Doc fix.
16718
16719 * cus-edit.el (Custom-newline): If no button at point, look
16720 for a subgroup button at start-of-line. (Bug#2298)
16721
16722 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
16723
16724 2011-03-10 Julien Danjou <julien@danjou.info>
16725
16726 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
16727 `cursor-type' is nil.
16728
16729 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
16730
16731 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
16732
16733 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
16734
16735 * allout.el: Change so yank of distinctive-bullet items
16736 preserves the existing header prefix, rebulleting it if necessary,
16737 rather than replacing it. This is necessary for proper operation
16738 of cooperative addons like allout-widgets.
16739 (allout-make-topic-prefix, allout-rebullet-heading):
16740 Change SOLICIT arg to INSTEAD, and interpret additionally a string
16741 value as alternate bullet to be used, instead of prompting the user
16742 for a bullet character.
16743
16744 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
16745
16746 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
16747 Do not use `tramp-file-name-port', because this returns also
16748 `tramp-default-port'.
16749
16750 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
16751
16752 * net/rcirc.el (rcirc-handler-001): Remove useless
16753 with-rcirc-process-buffer.
16754 (rcirc-check-auth-status): Swap arguments to string-match.
16755
16756 2011-03-09 Glenn Morris <rgm@gnu.org>
16757
16758 * shell.el (shell-mode):
16759 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
16760
16761 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
16762 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
16763
16764 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
16765
16766 * emacs-lisp/package.el (package-refresh-contents)
16767 (package-menu-execute): Use condition-case-no-debug.
16768
16769 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
16770
16771 * simple.el (shell-command-to-string): Use `process-file'.
16772
16773 * emacs-lisp/package.el (package-tar-file-info): Handle also
16774 remote files.
16775
16776 * emacs-lisp/package-x.el (package-upload-buffer-internal):
16777 Use `equal' for upload base check.
16778
16779 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
16780
16781 * textmodes/texinfo.el (texinfo-environments):
16782 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
16783
16784 2011-03-08 Glenn Morris <rgm@gnu.org>
16785
16786 * cus-start.el (cursor-in-non-selected-windows):
16787 Fix :set quoting oddness. (Bug#8192)
16788
16789 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
16790 in some setf expressions. (Bug#2159)
16791
16792 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
16793
16794 * custom.el (custom-available-themes): Return themes in
16795 alphabetical order.
16796
16797 See ChangeLog.15 for earlier changes.
16798
16799 ;; Local Variables:
16800 ;; coding: utf-8
16801 ;; End:
16802
16803 Copyright (C) 2011-2012 Free Software Foundation, Inc.
16804
16805 This file is part of GNU Emacs.
16806
16807 GNU Emacs is free software: you can redistribute it and/or modify
16808 it under the terms of the GNU General Public License as published by
16809 the Free Software Foundation, either version 3 of the License, or
16810 (at your option) any later version.
16811
16812 GNU Emacs is distributed in the hope that it will be useful,
16813 but WITHOUT ANY WARRANTY; without even the implied warranty of
16814 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16815 GNU General Public License for more details.
16816
16817 You should have received a copy of the GNU General Public License
16818 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.