1 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
3 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
4 Change return value to be a sexp. Delay `get-buffer' to after
5 restoring the desktop (bug#13951).
7 2013-03-26 Leo Liu <sdl.web@gmail.com>
9 * register.el: Move semantic tag handling back to
10 cedet/semantic/senator.el. (Bug#14052)
12 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
14 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
15 into the prompt either (bug#13963).
17 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
19 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
20 part of "(error-foo)".
22 2013-03-24 Juri Linkov <juri@jurta.org>
24 * replace.el (list-matching-lines-prefix-face): New defcustom.
25 (occur-1): Pass `list-matching-lines-prefix-face' to the function
26 `occur-engine' if `face-differs-from-default-p' returns t.
27 (occur-engine): Add `,' inside backquote construct to evaluate
28 `prefix-face'. Propertize the prefix with the `prefix-face' face.
29 Pass `prefix-face' to the functions `occur-context-lines' and
30 `occur-engine-add-prefix'.
31 (occur-engine-add-prefix, occur-context-lines): Add optional arg
32 `prefix-face' and propertize the prefix with `prefix-face'.
35 2013-03-24 Leo Liu <sdl.web@gmail.com>
37 * nxml/rng-valid.el (rng-validate-while-idle)
38 (rng-validate-quick-while-idle): Guard against deleted buffer.
41 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
42 is the last entry in kill-buffer-hook.
44 * files.el (kill-buffer-hook): Doc fix.
46 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
48 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
51 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
53 2013-03-23 Leo Liu <sdl.web@gmail.com>
55 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
58 * nxml/rng-valid.el (rng-validate-mode)
59 (rng-after-change-function, rng-do-some-validation):
60 * nxml/rng-maint.el (rng-validate-buffer):
61 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
62 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
63 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
64 (nxml-extend-after-change-region): Use with-silent-modifications.
66 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
69 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
70 (rng-next-error-1, rng-previous-error-1): Do not let-bind
71 timer-idle-list. (Bug#13999)
73 2013-03-23 Juri Linkov <juri@jurta.org>
75 * info.el (info-index-match): New face.
76 (Info-index, Info-apropos-matches): Add a nested subgroup to the
77 main pattern and add text properties with the new face to matches
78 in index entries relative to the beginning of the index entry.
81 2013-03-21 Eric Ludlam <zappo@gnu.org>
83 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
84 Inhibit read only while inserting objects.
86 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
88 * progmodes/cfengine.el: Update docs to mention
89 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
90 symbol motion. Remove "_" from the word syntax.
92 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
94 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
95 syntax for both `cfengine2-mode' and `cfengine3-mode'.
97 2013-03-20 Juri Linkov <juri@jurta.org>
99 * info.el (Info-next-reference-or-link)
100 (Info-prev-reference-or-link): New functions.
101 (Info-next-reference, Info-prev-reference): Use them.
102 (Info-try-follow-nearest-node): Handle footnote navigation.
103 (Info-fontify-node): Fontify footnotes. (Bug#13989)
105 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
107 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
108 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
110 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
112 Suppress unnecessary non-ASCII chatter during build process.
113 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
114 (batch-skkdic-convert): Suppress most of the chatter.
115 It's not needed so much now that machines are faster,
116 and its non-ASCII component was confusing; see Dmitry Gutov in
117 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
119 2013-03-20 Leo Liu <sdl.web@gmail.com>
121 * ido.el (ido-chop): Fix bug#10994.
123 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
125 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
127 (whitespace-color-on, whitespace-color-off):
128 Use `font-lock-fontify-buffer' (Bug#13817).
130 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
132 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
133 remapping in mode-line.
134 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
136 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
138 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
139 value for `whitespace-line' face (Bug#13875).
140 (whitespace-font-lock-keywords): Change description.
141 (whitespace-color-on): Don't save `font-lock-keywords' value, save
142 the constructed keywords instead.
143 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
145 2013-03-19 Leo Liu <sdl.web@gmail.com>
147 * progmodes/compile.el (compilation-display-error): New command.
148 (compilation-mode-map, compilation-minor-mode-map): Bind it to
151 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
153 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
155 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
157 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
159 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
161 * net/tramp-compat.el (tramp-compat-user-error): New defun.
163 * net/tramp-adb.el (tramp-adb-handle-shell-command):
164 * net/tramp-gvfs.el (top):
165 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
166 (tramp-handle-shell-command): Use it.
167 (tramp-dissect-file-name): Raise an error when hostname is a
168 method name, and neither method nor user is specified.
170 * net/trampver.el: Update release number.
172 2013-03-18 Leo Liu <sdl.web@gmail.com>
174 Make sure eldoc can be turned off properly.
175 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
177 (eldoc-display-message-p): Revert last change.
178 (eldoc-display-message-no-interference-p)
179 (eldoc-print-current-symbol-info): Tweak.
181 2013-03-18 Tassilo Horn <tsdh@gnu.org>
183 * doc-view.el (doc-view-new-window-function): Check the new window
184 overlay's display property instead the char property of the
185 buffer's first char. Use `with-selected-window' instead of
186 `save-window-excursion' with `select-window'.
187 (doc-view-document->bitmap): Check the current doc-view overlay's
188 display property instead the char property of the buffer's first char.
190 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
192 Automate the build of ja-dic.el (Bug#13984).
193 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
194 from the input, rather than assume that it's been done for us by the
195 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
196 the current date into a ja-dic.el comment, as that complicates
199 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
201 * whitespace.el: Fix double evaluation.
202 (whitespace-space, whitespace-hspace, whitespace-tab)
203 (whitespace-newline, whitespace-trailing, whitespace-line)
204 (whitespace-space-before-tab, whitespace-indentation)
205 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
207 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
208 (whitespace-color-on): Use a single font-lock-add-keywords call.
209 Fix double-evaluation of face variables.
211 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
213 * net/tramp-adb.el (tramp-adb-parse-device-names):
214 Use `start-process' instead of `call-process'. Otherwise, the
215 function might be blocked under MS Windows. (Bug#13299)
217 2013-03-17 Leo Liu <sdl.web@gmail.com>
219 Extend eldoc to display info in the mode-line. (Bug#13978)
220 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
221 (eldoc-mode-line-string): New variable.
222 (eldoc-minibuffer-message): New function.
223 (eldoc-message-function): New variable.
224 (eldoc-message): Use it.
225 (eldoc-display-message-p)
226 (eldoc-display-message-no-interference-p):
227 Support eldoc-post-insert-mode.
229 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
230 (eval-expression): Run it.
232 2013-03-17 Roland Winkler <winkler@gnu.org>
234 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
235 strings in the list of return values.
237 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
239 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
240 radix before checking for HMS forms.
242 2013-03-16 Leo Liu <sdl.web@gmail.com>
244 * progmodes/scheme.el: Add indentation and font-locking for λ.
247 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
249 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
250 token before point (bug#13942).
252 2013-03-16 Leo Liu <sdl.web@gmail.com>
254 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
256 2013-03-16 Glenn Morris <rgm@gnu.org>
258 * Version 24.3 released.
260 2013-03-16 Eli Zaretskii <eliz@gnu.org>
262 * startup.el (command-line-normalize-file-name): Fix handling of
263 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
264 <xfq.free@gmail.com> in
265 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
267 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
269 Sync with Tramp 2.2.7.
271 * net/trampver.el: Update release number.
273 2013-03-14 Tassilo Horn <tsdh@gnu.org>
275 * doc-view.el Fix bug#13887.
276 (doc-view-insert-image): Don't modify overlay associated to
277 non-live windows, and implement horizontal centering of image in
278 case it's smaller than the window.
279 (doc-view-new-window-function): Force redisplay of new windows on
282 2013-03-13 Karl Fogel <kfogel@red-bean.com>
284 * saveplace.el (save-place-alist-to-file): Don't sort
285 `save-place-alist', just pretty-print it (bug#13882).
287 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
289 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Check,
290 whether `default-file-name-coding-system' is bound. It isn't in
293 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
295 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
296 backquotes for `obsolete' (bug#13929).
298 * international/mule.el (find-auto-coding): Include file name in
299 obsolescence warning (bug#13922).
301 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
303 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
304 for CFEngine 3-specific indentation.
305 (cfengine3-indent-line): Use it. Fix up category regex.
306 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
308 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
310 * type-break.el (type-break-file-name):
311 * textmodes/remember.el (remember-data-file):
312 * strokes.el (strokes-file):
313 * shadowfile.el (shadow-initialize):
314 * saveplace.el (save-place-file):
315 * ps-bdf.el (bdf-cache-file):
316 * progmodes/idlwave.el (idlwave-config-directory):
317 * net/quickurl.el (quickurl-url-file):
318 * international/kkc.el (kkc-init-file-name):
319 * ido.el (ido-save-directory-list-file):
320 * emulation/viper.el (viper-custom-file-name):
321 * emulation/vip.el (vip-startup-file):
322 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
323 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
325 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
327 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
328 * language/thai-word.el: Switch to UTF-8.
330 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
332 * recentf.el (recentf-save-file): Use locate-user-emacs-file (bug#13870).
334 2013-03-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
336 * net/net-utils.el (net-utils-remove-ctrl-m-filter):
337 Use with-current-buffer and don't move point.
338 (net-utils-run-simple): Remove useless code.
339 (net-utils-remove-ctl-m): Remove unused custom.
341 2013-03-11 Per Starbäck <starback@stp.lingfil.uu.se>
343 * international/characters.el (glyphless-set-char-table-range): New fun.
344 (update-glyphless-char-display): Use it (bug#13744).
346 2013-03-11 Teodor Zlatanov <tzz@lifelogs.com>
348 * progmodes/cfengine.el: Update for CFEngine 3.4.2 and higher:
349 namespaces in the syntax, indent closer for hanging brace
350 correctly, allow single-quote delimited 'strings', and make
351 `cfengine3-mode' the default.
353 2013-03-11 Jean-Philippe Gravel <jpgravel@gmail.com>
355 * progmodes/gdb-mi.el: Speed up initialization (bug#10580).
356 Use lexical-binding. Fix up docstring according to conventions.
357 (gdbmi-debug-mode): New var.
358 (gdbmi-start-with, gdbmi-same-start, gdbmi-is-number, gdbmi-bnf-init)
359 (gdbmi-bnf-output, gdbmi-bnf-skip-unrecognized, gdbmi-bnf-gdb-prompt)
360 (gdbmi-bnf-result-record, gdbmi-bnf-out-of-band-record)
361 (gdbmi-bnf-async-record, gdbmi-bnf-stream-record)
362 (gdbmi-bnf-console-stream-output, gdbmi-bnf-target-stream-output)
363 (gdbmi-bnf-log-stream-output, gdbmi-bnf-result-and-async-record-impl)
364 (gdbmi-bnf-incomplete-record-result): New functions.
365 (gdb-car<): Remove function.
366 (gdbmi-record-list): Remove variable.
367 (gdbmi-bnf-state, gdbmi-bnf-offset): New vars.
368 (gdbmi-bnf-result-state-configs): New const.
369 (gud-gdbmi-marker-filter): Rewrite.
370 (gdb-ignored-notification, gdb-thread-created, gdb-thread-exited)
371 (gdb-thread-selected, gdb-running, gdb-starting, gdb-stopped):
372 Add `token' argument.
373 (gdb-done, gdb-error): New functions.
374 (gdb-done-or-error): Add `is-complete' argument. Change arg order.
376 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
378 * term/xterm.el (xterm--report-background-handler): Don't burp
380 (xterm--version-handler): Extract from terminal-init-xterm.
381 (xterm--query): Don't mishandle timeout. Remove debugging messages.
382 Allow multiple handlers.
383 (terminal-init-xterm): Handle OSX's Terminal.app's incorrect answer.
385 * term/xterm.el: Don't discard input (bug#6758). Use lexical-binding.
386 (xterm--report-background-handler, xterm--query): New functions.
387 (terminal-init-xterm): Use them.
389 2013-03-11 Michael R. Mauger <michael@mauger.com>
391 * progmodes/sql.el Version 3.2
392 Please note that my address changed to <michael@mauger.com>;
393 the <mmaug@yahoo.com> address remains active.
394 (sql-connection-alist): Updates documentation to fix bug#13715.
395 (sql-connect): Handle missing `sql-connection-alist' correctly.
396 (sql-mode-oracle-font-lock-keywords): Add missing keywords.
397 (sql-magic-go, sql-magic-semicolon): Mark with `delete-selection'
399 (sql-default-value): New function.
400 (sql-get-login-ext, sql-get-login): Fixes bug where buffer-local
401 values were not used.
402 (sql-rename-buffer): Make sure alternate buffer name has no text
404 (sql-input-sender, sql-execute-feature): Fetch variable with
405 `buffer-local-value' rather than `with-current-buffer'.
406 (sql-*): Use #' function syntax consistently.
407 (sql-*): Use message/error/user-error consistently.
409 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
411 * xt-mouse.el (xterm-mouse-event-read): Remove.
412 (xterm-mouse--read-event-sequence-1000)
413 (xterm-mouse--read-event-sequence-1006): Use read-event instead.
415 2013-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
417 * term/xterm.el (xterm-function-map): Support format used with
418 formatOtherKeys=1 (bug#13839).
420 * emacs-lisp/byte-run.el (dont-compile): Declare obsolete.
421 (with-no-warnings): Use `declare'.
423 * whitespace.el (whitespace-enable-predicate): New variable.
424 (whitespace-enable-predicate): Use it.
426 * comint.el (comint-send-input, comint-snapshot-last-prompt)
427 (comint-output-filter, comint-update-fence):
428 Use with-silent-modifications.
430 2013-03-10 Jambunathan K <kjambunathan@gmail.com>
432 * replace.el (occur-read-regexp-defaults-function): New var.
433 (occur-read-regexp-defaults): New defun.
434 (occur-read-primary-args): Propagate above change (bug#13892).
436 2013-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
438 * mouse.el (mouse-drag-track): Remove left-over debugging code.
440 2013-03-09 Michael Albinus <michael.albinus@gmx.de>
442 Major rewrite due to changed D-Bus interface of GVFS 1.14.
444 * net/tramp-gvfs.el (top): Extend check for gvfs availability.
445 (tramp-gvfs-methods-mounttracker, tramp-gvfs-listmounts)
446 (tramp-gvfs-mountlocation, tramp-gvfs-mountlocation-signature):
448 (tramp-gvfs-file-name-handler-alist) [directory-files]
449 [directory-files-and-attributes, file-exists-p, file-modes]:
450 Use Tramp default handler.
451 [file-acl, file-selinux-context, process-file, set-file-acl]:
452 [set-file-modes, set-file-selinux-context, shell-command]:
453 [start-file-process]: Remove handler.
454 [verify-visited-file-modtime]: New handler.
455 (tramp-gvfs-dbus-string-to-byte-array)
456 (tramp-gvfs-dbus-byte-array-to-string): New defuns. Replace all
457 calls of `dbus-string-to-byte-array' and
458 `tramp-gvfs-dbus-byte-array-to-string'.
459 (tramp-gvfs-handle-copy-file)
460 (tramp-gvfs-handle-delete-directory)
461 (tramp-gvfs-handle-delete-file, tramp-gvfs-handle-file-attributes)
462 (tramp-gvfs-handle-file-directory-p)
463 (tramp-gvfs-handle-file-executable-p)
464 (tramp-gvfs-handle-file-name-all-completions)
465 (tramp-gvfs-handle-file-readable-p)
466 (tramp-gvfs-handle-file-writable-p)
467 (tramp-gvfs-handle-insert-directory)
468 (tramp-gvfs-handle-insert-file-contents)
469 (tramp-gvfs-handle-make-directory, tramp-gvfs-handle-rename-file)
470 (tramp-gvfs-handle-set-visited-file-modtime)
471 (tramp-gvfs-handle-write-region): Rewrite.
472 (tramp-gvfs-handle-file-acl)
473 (tramp-gvfs-handle-file-selinux-context)
474 (tramp-gvfs-handle-process-file, tramp-gvfs-handle-set-file-acl)
475 (tramp-gvfs-handle-set-file-modes)
476 (tramp-gvfs-handle-set-file-selinux-context)
477 (tramp-gvfs-handle-shell-command)
478 (tramp-gvfs-handle-start-file-process)
479 (tramp-gvfs-handle-verify-visited-file-modtime): Remove defuns.
480 (tramp-gvfs-url-file-name): Do not use `file-truename', we work
481 over the symlinks. Fix user handling.
482 (top, tramp-gvfs-handler-mounted-unmounted): Handle different names
483 of the D-Bus signals.
484 (tramp-gvfs-connection-mounted-p): Handle different names of the
486 (tramp-gvfs-mount-spec-entry): New defun.
487 (tramp-gvfs-mount-spec): Use it.
488 (tramp-gvfs-maybe-open-connection): Check, that in case of "smb"
489 there is a share name. Handle different names of the D-Bus
490 signals and methods. Set connection properties needed for
491 `tramp-check-cached-permissions'.
492 (tramp-gvfs-send-command): Apply `tramp-gvfs-maybe-open-connection'.
495 * net/tramp.el (tramp-backtrace): Move up.
496 (tramp-error): Dump a backtrace into the debug buffer when
498 (tramp-file-mode-type-map, tramp-file-mode-from-int)
499 (tramp-file-mode-permissions, tramp-get-local-uid)
500 (tramp-get-local-gid, tramp-check-cached-permissions): Move from
503 * net/tramp-sh.el (tramp-file-mode-type-map)
504 (tramp-check-cached-permissions, tramp-file-mode-from-int)
505 (tramp-file-mode-permissions, tramp-get-local-uid)
506 (tramp-get-local-gid): Move to tramp.el.
508 2013-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
510 Separate mouse-1-click-follows-link from mouse-drag-region.
511 * mouse.el (mouse--down-1-maybe-follows-link): New function.
512 (key-translation-map): Use it to implement mouse-1-click-follows-link.
513 (mouse-drag-line, mouse-drag-track):
514 Remove mouse-1-click-follows-link code.
515 (mouse--remap-link-click-p): Remove.
517 2013-03-08 Jambunathan K <kjambunathan@gmail.com>
519 * hi-lock.el (hi-lock-read-regexp-defaults-function): New var.
520 (hi-lock-read-regexp-defaults): New defun.
521 (hi-lock-line-face-buffer, hi-lock-face-buffer)
522 (hi-lock-face-phrase-buffer): Propagate above change.
523 Update docstring (bug#13892).
525 * subr.el (find-tag-default-as-regexp): New defun.
526 * replace.el (read-regexp): Propagate above change.
528 2013-03-08 Jay Belanger <jay.p.belanger@gmail.com>
530 * calc/calc-units.el (calc-convert-units): Fix the way that default
531 new units are stored.
533 2013-03-07 Matthias Meulien <orontee@gmail.com>
535 * bookmark.el: Define a face to highlight bookmark names in
536 bookmark menu buffers, where the default is a bold face similarly
537 to buffer names in buffer menu buffers.
538 (bookmark-menu-bookmark): New face to highlight bookmark names.
539 (bookmark-insert-location): Remove duplicated text property to
540 conform to buffer list (see `list-buffers').
541 (bookmark-bmenu-list, bookmark-bmenu-hide-filenames): Apply face
542 `bookmark-menu-bookmark' to bookmark names.
544 2013-03-07 Matthias Meulien <orontee@gmail.com>
545 Karl Fogel <kfogel@red-bean.com>
547 * bookmark.el: Display the bookmark list header similarly to the
548 buffer list header (see `list-buffers'), where the default is now
549 an immovable/immutable header line.
550 (bookmark-bmenu-use-header-line): New variable.
551 (bookmark-bmenu-inline-header-height): New name for
552 `bookmark-bmenu-header-height', to avoid confusion with the code
553 for the new immovable header. All references changed.
554 (bookmark-bmenu-set-header): New function.
555 (bookmark-bmenu-list, bookmark-bmenu-toggle-filenames):
556 Conditionalize header construction accordingly.
557 (bookmark-bmenu-ensure-position): Conditionalize the skipping of
558 the inline header height.
559 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
560 Conditionalize the skipping of the inline header height.
562 2013-03-07 Dmitry Gutov <dgutov@yandex.ru>
564 * progmodes/js.el (js--multi-line-declaration-indentation):
565 Merge from js2-mode (https://github.com/mooz/js2-mode/issues/89).
567 2013-03-06 Dmitry Gutov <dgutov@yandex.ru>
569 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
570 Only propertize regexp when not inside a string (Bug#13885).
572 2013-03-06 Alan Mackenzie <acm@muc.de>
574 Correct the position of point in some line-up functions.
575 * progmodes/cc-align.el (c-lineup-whitesmith-in-block)
576 (c-lineup-assignments, c-lineup-gcc-asm-reg ): take position of
577 point at column 0 rather than at a random place in the line.
579 2013-03-05 Michael Albinus <michael.albinus@gmx.de>
581 * net/tramp-compat.el (tramp-compat-delete-directory):
582 Implement TRASH argument.
584 2013-03-05 Dmitry Gutov <dgutov@yandex.ru>
586 Keep pre-existing highlighting in completion candidates (Bug#13250).
587 * minibuffer.el (completions-first-difference): State that the
588 face is "added" in the docstring.
589 (completions-common-part): Same. And don't inherit from default.
590 (completion-hilit-commonality): Prepend 'completions-common-part
591 and 'completion-first-difference faces to the 'face property,
592 instead of replacing the value(s).
593 (completion--insert-strings): Same with 'completions-annotations face.
594 (completion-hilit-commonality): Use 'face instead of
595 'font-lock-face, because it gets priority if the completion
596 strings already have 'face set.
598 2013-03-04 Alan Mackenzie <acm@muc.de>
600 Replace `last-command-event' by `last-command-char' in XEmacs.
601 * progmodes/cc-defs.el (c-last-command-char): New macro.
602 * progmodes/cc-align.el (c-semi&comma-inside-parenlist)
603 (c-semi&comma-no-newlines-before-nonblanks)
604 (c-semi&comma-no-newlines-for-oneline-inliners): Use the new macro
605 in place of `last-command-event'.
606 * progmodes/cc-cmds.el (c-electric-pound, c-electric-brace)
607 (c-electric-slash, c-electric-semi&comma, c-electric-lt-gt)
608 (c-electric-paren, c-electric-continued-statement): Use the new
609 macro in place of `last-command-event'.
611 2013-03-04 Glenn Morris <rgm@gnu.org>
613 * files.el (inhibit-local-variables-regexps):
614 Add .diff and .patch. (Bug#13862)
616 2013-03-03 Michael Albinus <michael.albinus@gmx.de>
618 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Cache,
619 whether the "su" command is available on the device.
621 2013-03-01 Michael Albinus <michael.albinus@gmx.de>
623 * net/tramp-adb.el (tramp-adb-prompt): Extend regexp.
624 (tramp-adb-handle-process-file): Remove superfluous setting.
625 (tramp-adb-command-exit-status): Handle case that COMMAND is nil.
626 (tramp-adb-barf-unless-okay): Use `tramp-adb-command-exit-status'.
627 (tramp-adb-maybe-open-connection): Apply "su" if user is defined.
629 2013-03-01 Stefan Monnier <monnier@iro.umontreal.ca>
631 * textmodes/ispell.el: Fix nitpicks and byte-compiler warnings.
632 (ispell-print-if-debug): Build `format' in. Avoid end-of-buffer.
633 (ispell-parse-hunspell-affix-file): Avoid beginning-of-buffer.
634 Use dict-key rather than dict-name for the error message.
636 2013-03-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
638 * net/net-utils.el (net-utils-run-simple): Don't display-buffer
639 when reverting (bug#13831).
641 2013-03-01 Agustín Martín Domingo <agustin.martin@hispalinux.es>
643 * textmodes/ispell.el (ispell-find-hunspell-dictionaries):
644 Always expand affix-file before storing to protect against changed
646 (ispell-print-if-debug): Make sure message is printed at the end
649 2013-03-01 Michael Albinus <michael.albinus@gmx.de>
651 * net/tramp.el (tramp-obsolete-methods): New defconst.
652 (tramp-warned-obsolete-methods): New defvar.
653 (tramp-find-method): Check for obsolete methods. Map them to a
654 replacement method if appropriate.
656 * net/tramp-sh.el (tramp-methods) [scp1, scp2, ssh1, ssh2, plink1]:
658 (top): Remove completion functions for "scp1", "scp2", "ssh1",
661 2013-02-28 Dale Sedivec <dale@codefu.org>
663 * textmodes/sgml-mode.el (sgml-syntax-propertize-function):
664 Return valid syntax-table property value when converting
665 quotes within text from string syntax to punctuation syntax (bug#13844).
667 2013-02-28 Juri Linkov <juri@jurta.org>
669 * dired-aux.el (dired-diff): If file at point is a backup file,
670 use its original as the default value, and reverse the order
671 of arguments to the `diff' call. Doc fix. (Bug#13772)
673 2013-02-28 Michael Albinus <michael.albinus@gmx.de>
675 * net/tramp-adb.el (tramp-adb-sdk-dir): Remove. Replaced by ...
676 (tramp-adb-program): New defcustom. Remove function. Adapt calls.
678 2013-02-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
680 Initial support for hunspell dictionaries auto-detection (Bug#13639)
682 * textmodes/ispell.el (ispell-find-hunspell-dictionaries):
683 Ask hunspell about available and default dictionaries.
684 (ispell-parse-hunspell-affix-file): Extract relevant info from
686 (ispell-hunspell-fill-dictionary-entry): Fill non-initialized
687 `ispell-dictionary-alist' entry for given dictionary after info
688 provided by `ispell-parse-hunspell-affix-file'.
689 (ispell-hunspell-dict-paths-alist): New defvar to contain an alist
690 of parsed hunspell dicts and associated affix files.
691 (ispell-hunspell-dictionary-alist): New defvar to contain an alist
692 of parsed hunspell dicts and associated parameters.
693 (ispell-set-spellchecker-params):
694 Call `ispell-find-hunspell-dictionaries' if hunspell and not
696 (ispell-start-process):
697 Call `ispell-hunspell-fill-dictionary-entry' for current
698 dictionary if it is not initialized.
700 2013-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
702 * imenu.el: Comment nitpicks.
704 2013-02-28 Sam Steingold <sds@gnu.org>
706 * vc/diff-mode.el (diff-hunk-file-names): Handle filenames with spaces.
707 See <http://stackoverflow.com/questions/14720205>.
709 2013-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
711 * net/net-utils.el (net-utils--revert-function): New fun (bug#13831).
712 (net-utils-mode): Use it.
713 (net-utils--revert-cmd): New var.
714 (net-utils-run-simple): Set it, and remove bogus interactive spec.
715 (traceroute): Use net-utils-run-simple.
717 2013-02-28 Glenn Morris <rgm@gnu.org>
719 * textmodes/paragraphs.el (mark-paragraph): Doc fix.
721 2013-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
723 * doc-view.el: Preserve h&v scroll across C-c C-c C-c C-c.
724 (doc-view-fallback-mode): Remove overlays here.
725 (doc-view-toggle-display): Instead of here. Don't throw away
726 image-mode-winprops-alist.
727 (doc-view-goto-page): Don't mess with hscroll.
729 2013-02-27 Thierry Volpiatto <thierry.volpiatto@gmail.com>
731 * font-lock.el (lisp-font-lock-keywords-2): Fix highlighting of
732 &optional (bug#13819).
734 2013-02-27 Michael Albinus <michael.albinus@gmx.de>
736 * net/tramp-adb.el (tramp-adb-parse-device-names)
737 (tramp-adb-maybe-open-connection): Add timeouts. (Bug#13299)
739 2013-02-26 Michael Albinus <michael.albinus@gmx.de>
741 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
742 Add "2>/dev/null" to the ls command, in case "en_US.utf8" is not
743 defined. POSIX environments fall back to the "C" locale then and
744 emit a warning, which shall be suppressed.
746 2013-02-26 Stefan Monnier <monnier@iro.umontreal.ca>
748 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): Tweak logic.
749 (easy-mmode-set-keymap-parents): Use make-composed-keymap.
751 2013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
753 * emacs-lisp/bytecomp.el (byte-compile-file): Use let.
755 2013-02-25 Juri Linkov <juri@jurta.org>
757 * replace.el (read-regexp): Let-bind `default' to the first
758 element of `defaults' if it's a list, otherwise it should be
759 a string or nil. Let-bind `suggestions' to `defaults' if it's
760 a list, otherwise make a list with the string value. Doc fix.
763 2013-02-25 Eli Zaretskii <eliz@gnu.org>
765 * emacs-lisp/bytecomp.el (byte-recompile-directory): Reject files
766 that match "\`\.#", to avoid compiling lock files, even if they
767 are readable (as they are on MS-Windows).
769 2013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
771 * files.el (basic-save-buffer): Remove redundant directory-creation.
773 2013-02-24 Jay Belanger <jay.p.belanger@gmail.com>
775 * calc/calc-ext.el (math-to-radians-2, math-from-radians-2):
776 Add option to force `pi' to remain symbolic.
777 * calc/calcalg2.el (calcFunc-sin, calcFunc-cos, calcFunc-tan)
778 (calcFunc-cot, calcFunc-csc, calcFunc-sec, calcFunc-arcsin)
779 (calcFunc-arccos, calcFunc-arctan): Use symbolic `pi' in the
780 derivatives, when necessary.
782 2013-02-23 Peter Kleiweg <p.c.j.kleiweg@rug.nl>
784 * progmodes/ps-mode.el (ps-mode-version): Bump to 1.1i.
785 (ps-mode-octal-region): Use string-make-unibyte.
787 2013-02-23 Glenn Morris <rgm@gnu.org>
789 * emulation/viper-cmd.el (viper-submit-report):
790 * progmodes/ps-mode.el (ps-mode-maintainer-address):
791 * progmodes/vera-mode.el (vera-mode-help-address):
792 * textmodes/artist.el (artist-maintainer-address):
793 * textmodes/reftex.el (reftex-report-bug):
794 * vc/ediff-util.el (ediff-submit-report):
795 Add bug-gnu-emacs to bug report address.
797 * progmodes/simula.el (simula-mode-menu, simula-mode-map):
798 Remove bug report entries.
799 (simula-mode-help-address, simula-submit-bug-report): Make obsolete.
801 * emacs-lisp/bytecomp.el (byte-compile-level): New.
802 (byte-compile-file, byte-compile-from-buffer):
803 Use separate input/output buffers for each level of recursive
804 byte-compile-file calls. (Bug#13787)
806 2013-02-23 Michael Albinus <michael.albinus@gmx.de>
808 * net/tramp.el (tramp-methods): Fix docstring.
809 (tramp-ssh-controlmaster-options): Rename it from
810 `tramp-ssh-controlmaster-template'. Return a string.
811 (tramp-default-method): Adapt check for
812 `tramp-ssh-controlmaster-options'.
814 * net/tramp-sh.el (tramp-methods):
815 Replace `tramp-ssh-controlmaster-template' by "%c".
816 (tramp-do-copy-or-rename-file-out-of-band)
817 (tramp-maybe-open-connection): Use it in format spec. Ensure,
818 that it is applied for the first hop only.
820 2013-02-22 Juri Linkov <juri@jurta.org>
822 * isearch.el (isearch-lazy-highlight-new-loop):
823 Set `isearch-lazy-highlight-start' and `isearch-lazy-highlight-end'
824 to `isearch-other-end' if it is not nil. (Bug#13402)
826 * replace.el (replace-highlight): Let-bind `isearch-other-end'
829 * textmodes/ispell.el (ispell-highlight-spelling-error-overlay):
830 Let-bind `isearch-other-end' to `start', `isearch-forward' to t
831 and `isearch-error' to nil.
833 2013-03-16 Fabián Ezequiel Gallina <fgallina@cuca>
835 * progmodes/python.el (python-info-current-defun):
836 Enhance match-data cluttering prevention.
838 2013-02-22 Michael Albinus <michael.albinus@gmx.de>
840 * net/tramp.el (tramp-tramp-file-p): Fix docstring.
842 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
843 Handle multibyte file names.
845 2013-02-22 Glenn Morris <rgm@gnu.org>
847 * textmodes/sgml-mode.el (sgml-xml-mode): Move before use.
848 (sgml-transformation-function): Give it a :set function.
851 * cmuscheme.el (scheme-buffer):
852 * progmodes/inf-lisp.el (inferior-lisp-buffer):
853 * progmodes/tcl.el (inferior-tcl-buffer):
854 * textmodes/tex-mode.el (tex-command): Doc fixes.
856 * image-mode.el (image-mode): Add mouse bindings for mode-line-process.
858 * htmlfontify.el (hfy-default-header): Encode title string. (Bug#7457)
860 2013-02-21 Bastien Guerry <bzg@gnu.org>
862 * cmuscheme.el (scheme-buffer): Fix docstring. (Bug#13778)
864 2013-02-21 Fabián Ezequiel Gallina <fgallina@cuca>
866 * progmodes/python.el (python-info-current-defun):
867 Enhance match-data cluttering prevention.
869 2013-02-21 Glenn Morris <rgm@gnu.org>
871 * net/tramp.el (tramp-get-debug-buffer): Ensure outline.el is not
872 loaded while outline-regexp is let bound. (Bug#9584)
874 2013-02-21 Fabián Ezequiel Gallina <fgallina@cuca>
876 * progmodes/python.el (python-info-current-defun): Fix failed
877 defun name retrieval because of unwanted match-data cluttering.
879 2013-02-21 Michael Albinus <michael.albinus@gmx.de>
881 * net/tramp.el (tramp-ssh-controlmaster-template): Make it a
882 defconst. Apply independent check for ControlPersist.
884 * net/tramp-sh.el (tramp-sh-handle-set-file-times): Set $UTC only
885 temporarily, via "env".
887 2013-02-21 Glenn Morris <rgm@gnu.org>
889 * info.el (Info-enable-edit): Remove.
890 (Info-edit): Disable it rather than using Info-enable.
891 (Info-edit-mode-hook, Info-edit-map, Info-edit-mode, Info-edit)
892 (Info-cease-edit): Make editing of Info files obsolete.
894 * informat.el (Info-tagify):
895 Handle buffers not visiting files. (Bug#13763)
897 2013-02-21 Juanma Barranquero <lekktu@gmail.com>
899 * calc/calc-graph.el (calc-graph-show-dumb): Fix typo.
901 2013-02-21 Glenn Morris <rgm@gnu.org>
903 * files.el (basic-save-buffer): Move check for existing parent
904 directory after hooks. (Bug#13773)
906 2013-02-20 Stefan Monnier <monnier@iro.umontreal.ca>
908 * simple.el (command-execute): Move from C. Add obsolete check.
909 (extended-command-history): Move from C.
911 2013-02-20 Ulrich Müller <ulm@gentoo.org>
913 * jka-cmpr-hook.el (jka-compr-compression-info-list)
914 (jka-compr-mode-alist-additions): Handle .txz suffix for
915 XZ-compressed tar archives (bug#13770).
917 2013-02-20 Bastien Guerry <bzg@gnu.org>
919 * outline.el (outline-regexp, outline-heading-end-regexp):
920 Make variables, not options (bug#13731).
922 2013-02-20 Glenn Morris <rgm@gnu.org>
924 * image.el (image-current-frame): Change from variable to function.
925 (image-show-frame): Rename from image-nth-frame. Update callers.
926 * image-mode.el (image-multi-frame): New variable.
927 (image-mode-map, image-mode, image-goto-frame):
928 Use image-multi-frame rather than image-current-frame.
929 (image-mode, image-goto-frame): Use image-current-frame as
930 function rather than as variable.
932 * emacs-lisp/cl-lib.el (cl-floatp-safe): Make it an alias for floatp.
933 * emacs-lisp/cl-macs.el (cl--make-type-test)
934 (cl--compiler-macro-assoc): Use floatp rather than cl-floatp-safe.
936 2013-02-19 Michael Albinus <michael.albinus@gmx.de>
938 * net/tramp-cache.el (tramp-get-hash-table): New defun.
939 (tramp-get-file-property, tramp-set-file-property)
940 (tramp-get-connection-property, tramp-set-connection-property): Use it.
941 (tramp-flush-file-property, tramp-flush-directory-property):
942 Rename argument to KEY.
943 (tramp-flush-connection-property): Simplify a little bit.
944 (tramp-connection-property-p): New defun.
945 (top): Reapply saved values only if there isn't a corresponding
946 entry in `tramp-connection-properties'.
948 2013-02-19 Fabián Ezequiel Gallina <fgallina@cuca>
950 * progmodes/python.el (python-indent-context):
951 Fix python-info-line-ends-backslash-p call.
952 (python-info-line-ends-backslash-p)
953 (python-info-beginning-of-backslash): Respect line-number argument.
954 (python-info-current-line-comment-p):
955 Fix behavior when not at beginning-of-line.
956 (python-util-position): Remove function.
957 (python-util-goto-line): New function.
959 2013-02-19 Michael Albinus <michael.albinus@gmx.de>
961 * eshell/em-unix.el (eshell/su): Require tramp.
962 (eshell/sudo): Require tramp. Remove now unnecessary check.
964 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Let-bind
965 `tramp-current-connection' in order to avoid an error when several
966 commands are invoked in a short time in eshell and friends.
968 2013-02-19 Stefan Monnier <monnier@iro.umontreal.ca>
970 Cleanup some of EIEIO's namespace.
971 * emacs-lisp/eieio.el (eieio--define-field-accessors): New macro.
972 Use it to define all the class-* and object-* field accessors (renamed
973 to eieio--class-* and eieio--object-*). Update all uses.
974 (eieio--class-num-slots, eieio--object-num-slots): Rename from
975 class-num-slots and object-num-slots.
976 (eieio--check-type): New macro.
977 (eieio-defclass, eieio-oref, eieio-oref-default, same-class-p)
978 (object-of-class-p, child-of-class-p, object-slots, class-slot-initarg)
979 (eieio-oset, eieio-oset-default, object-assoc, object-assoc-list)
980 (object-assoc-list-safe): Use it.
981 (eieio-defclass): Tighten regexp.
982 (eieio--defmethod): Use `memq'. Signal an error for unknown method kind.
983 Remove unreachable code.
984 (object-class-fast): Declare obsolete.
985 (eieio-class-name, eieio-object-name, eieio-object-set-name-string)
986 (eieio-object-class, eieio-object-class-name, eieio-class-parents)
987 (eieio-class-children, eieio-class-precedence-list, eieio-class-parent):
988 Rename from class-name, object-name, object-set-name-string,
989 object-class, object-class-name, class-parents, class-children,
990 class-precedence-list, class-parent; with obsolete alias.
991 (class-of, class-direct-superclasses, class-direct-subclasses):
993 (eieio-defmethod): Use `memq'; remove unreachable code.
994 * emacs-lisp/eieio-base.el (eieio-persistent-read):
995 * emacs-lisp/eieio-opt.el (eieio-class-button, eieio-describe-generic)
996 (eieio-browse-tree, eieio-browse): Use eieio--check-type.
999 2013-02-18 Michael Heerdegen <michael_heerdegen@web.de>
1001 * emacs-lisp/eldoc.el (eldoc-highlight-function-argument):
1002 Use font-lock-keyword-face for macros and special forms (bug#8345).
1004 2013-02-17 Didier Verna <didier@didierverna.net>
1006 * net/network-stream.el (network-stream-open-starttls):
1007 Check that response to the starttls-command is non-nil. (Bug#13706)
1009 2013-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
1011 * font-lock.el (lisp-font-lock-keywords-1, lisp-font-lock-keywords-2):
1012 Don't assume all identifier chars have syntax word.
1013 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
1014 Remove bar-not-symbol. Adjust callers.
1015 (lisp-mode-variables): Don't set a font-lock-syntax-table.
1017 2013-02-17 Leo Liu <sdl.web@gmail.com>
1019 * net/rcirc.el (rcirc-keepalive): Fix invalid timer error.
1021 2013-02-17 Glenn Morris <rgm@gnu.org>
1023 * menu-bar.el (menu-bar-tools-menu): Fix case of EDE entry.
1025 * image-mode.el (image-mode-map): Add image-dired menu entry.
1027 * image-dired.el (tumme): Make this alias obsolete.
1029 2013-02-16 Glenn Morris <rgm@gnu.org>
1031 * image.el (image-animated-types): Remove.
1032 (image-multi-frame-p): Rename from image-animated-p, and generalize.
1033 (image-animated-p): Make obsolete alias.
1034 (image-animate, image-nth-frame, image-animate-timeout):
1035 Use image-multi-frame-p.
1036 (image-animate-timeout): If no delay, use image-default-frame-delay.
1037 * image-mode.el (image-mode, image-toggle-animation):
1038 Use image-multi-frame-p. (Bug#763, bug#10739)
1039 (image-mode): Adjust startup message for a multi-frame image.
1041 * image-mode.el (image-mode-map): Give it a menu.
1043 2013-02-16 Michael Albinus <michael.albinus@gmx.de>
1045 * net/tramp-cache.el (tramp-connection-properties): New customer
1047 (tramp-get-connection-property): Use it.
1049 * net/tramp-compat.el (top): Require 'trampver.
1051 * net/tramp-sh.el (tramp-remote-process-environment):
1052 Set tramp-autoload cookie.
1054 2013-02-16 Kevin Ryde <user42@zip.com.au>
1056 * info-look.el (info-lookup-select-mode): If major-mode has no
1057 info-lookup-alist entry then search up derived-mode-parent (bug#8660).
1059 2013-02-16 Jambunathan K <kjambunathan@gmail.com>
1061 * replace.el (read-regexp): Tighten the regexp that matches tag.
1062 When tag is retrieved with `find-tag-default', use regexp that
1063 matches tag at point. Also update docstring (Bug#13687).
1065 2013-02-16 Eli Zaretskii <eliz@gnu.org>
1067 * autorevert.el (auto-revert-notify-add-watch): With 'w32notify',
1068 add watch for the file, not its parent directory, since w32notify
1069 sets up the watch for the directory internally. (Bug#13725)
1071 2013-02-16 Glenn Morris <rgm@gnu.org>
1073 * image.el (image-default-frame-delay): New variable.
1074 (image-animated-p): Use image-default-frame-delay.
1075 (image-minimum-frame-delay): New constant.
1076 (image-animate-timeout): Use image-minimum-frame-delay.
1078 * image.el (image-nth-frame): New, split from image-animate-timeout.
1079 (image-animate-timeout): Use image-nth-frame.
1080 * image-mode.el (image-goto-frame, image-next-frame)
1081 (image-previous-frame): New commands.
1082 (image-mode-map): Add new frame commands.
1084 2013-02-16 Jonas Bernoulli <jonas@bernoul.li>
1086 * emacs-lisp/tabulated-list.el (tabulated-list-print-col):
1087 If col-desc already has help-echo, use it. (Bug#13563)
1089 2013-02-16 Glenn Morris <rgm@gnu.org>
1091 * image.el (image-current-frame): New variable.
1092 (image-animate-timeout): Set image-current-frame.
1093 * image-mode.el (image-mode): For animated images,
1094 display a frame counter via mode-line-process.
1096 * font-lock.el (lisp-font-lock-keywords-1): Add defvar-local.
1098 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
1100 * simple.el (eval-expression): Let `exp' set the mark (bug#13724).
1102 2013-02-15 Alan Mackenzie <acm@muc.de>
1104 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): When a
1105 global minor mode has been enabled, call the minor mode function
1106 for a new buffer once only, after the major mode hook, whilst
1107 allowing that hook explicitly to disable the minor mode.
1108 (MODE-disable-in-buffer): New (generated) function.
1109 (disable-MODE): New (generated) buffer local variable.
1111 2013-02-15 Jambunathan K <kjambunathan@gmail.com>
1113 * iswitchb.el (iswitchb-read-buffer): Bind `C-.' and `C-,' to
1114 `iswitchb-next-match' and `iswitchb-prev-match' resply.
1115 * ido.el (ido-init-completion-maps): Bind `C-.' and `C-,' to
1116 `ido-next-match' and `ido-prev-match' resply.
1117 * icomplete.el (icomplete-minibuffer-map): Unbind `C-s' and `C-r'.
1118 Bind `C-.' and `C-,' to `icomplete-forward-completions' and
1119 `icomplete-backward-completions' (Bug#13708).
1121 2013-02-15 Glenn Morris <rgm@gnu.org>
1123 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
1125 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
1127 * net/goto-addr.el (goto-address-fontify): Add start and end args.
1128 (goto-address-fontify-region): Use them instead of narrowing, so
1129 syntax-ppss has access to the whole buffer.
1131 2013-02-15 Fabián Ezequiel Gallina <fgallina@cuca>
1133 * progmodes/python.el: Explain how to restore "cc-mode"-like
1134 forward-sexp movement in header documentation (Bug#13642).
1135 (python-nav--forward-sexp): Behave like emacs-lisp-mode in
1136 comments and strings (GH bug 114).
1138 2013-02-15 Fabián Ezequiel Gallina <fgallina@cuca>
1140 * progmodes/python.el (python-info-current-defun): Fix current
1141 defun detection (Bug#13618).
1143 2013-02-15 Chong Yidong <cyd@gnu.org>
1145 * xml.el (xml-parse-string): Fix typo in handling of bad character
1148 2013-02-15 Glenn Morris <rgm@gnu.org>
1150 * play/fortune.el (fortune-compile): Simplify and fix previous change.
1152 2013-02-14 Michael Albinus <michael.albinus@gmx.de>
1154 * net/tramp.el (tramp-debug-message):
1155 Add `tramp-condition-case-unless-debug'.
1156 (tramp-debug-on-error): New defvar.
1157 (tramp-condition-case-unless-debug): New defun.
1158 (tramp-file-name-handler): Use it.
1160 2013-02-14 Juri Linkov <juri@jurta.org>
1162 * info.el (Info-isearch-filter): Treat non-nil values of
1163 `search-invisible' including its default value `open'
1164 like the value `t' to match hidden text. (Bug#13402)
1166 2013-02-14 Glenn Morris <rgm@gnu.org>
1168 * help-fns.el (find-lisp-object-file-name): Give special treatment
1169 to all ~/.foo.elc files, not just ~/.emacs. (Bug#9007)
1171 2013-02-14 David Biesack <sasdjb@d72933.na.sas.com> (tiny change)
1173 * net/quickurl.el (quickurl-save-urls):
1174 Ensure quickurl-urls is not truncated on printing. (Bug#9276)
1176 2013-02-14 Dmitry Gutov <dgutov@yandex.ru>
1178 * progmodes/ruby-mode.el (ruby-parse-partial): Don't increase
1179 depth for unfinished percent literal. Not using it in the caller.
1180 (ruby-move-to-block): Jump over multiline literals of all types,
1181 ignoring code-looking contents inside them.
1182 (ruby-add-log-current-method): Improve performance at the expense
1183 of accuracy. `ruby-block-contains-point' is relatively slow, so
1184 only use it for method and singleton class blocks.
1186 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
1188 Use ControlMaster where applicable. (Bug#13677)
1190 * net/tramp.el (tramp-ssh-controlmaster-template): New defvar,
1191 replacing `tramp-detect-ssh-controlmaster'.
1192 (tramp-default-method): Use it.
1194 * net/tramp-sh.el (tramp-methods) [scp, scp1, scp2, scpx, sftp]:
1195 [rsync, ssh, ssh1, ssh2, sshx]: Add ControlPath and ControlMaster
1197 [scpc, rsyncc]: Remove methods.
1198 (top): Remove completion functions for "scpc", "rsyncc", "ssh1_old"
1200 (tramp-do-copy-or-rename-file-out-of-band): Change trace level.
1201 (tramp-maybe-open-connection): Reuse tmpfile for ControlPath.
1203 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
1205 * emacs-lisp/package.el (package--initialized): Move before first use.
1207 2013-02-13 Jambunathan K <kjambunathan@gmail.com>
1209 * icomplete.el (icomplete-hide-common-prefix): New user option.
1210 (icomplete-first-match): New face.
1211 (icomplete-completions): Correct handling of "complete but not
1212 unique" (Bug#12638).
1214 2013-02-13 YE Qianchuan <stool.ye@gmail.com> (tiny change)
1216 * descr-text.el (describe-char): Display the script (bug#13698).
1218 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
1220 * tmm.el: Use lexical-binding and current-active-maps.
1221 (tmm-menubar): Use map-keymap and pcase.
1222 (tmm--completion-table): New function.
1223 (tmm-prompt): Use it to fix the menu order.
1224 (tmm-get-keybind): Use current-active-maps.
1226 2013-02-12 Christopher Schmidt <christopher@ch.ristopher.com>
1228 Add dired-hide-details-mode. (Bug#6799)
1230 * locate.el (locate-mode): Set parent mode property to dired-mode.
1232 * find-dired.el (find-dired): Call dired-insert-set-properties on
1233 initial information line. Set process mark on end of buffer.
1234 (find-dired-sentinel):
1235 Call dired-insert-set-properties on summary.
1237 * dired.el (dired-hide-details-hide-symlink-targets)
1238 (dired-hide-details-hide-information-lines): New options.
1239 (dired-insert-directory):
1240 Set properties after final treatment of output.
1241 (dired-insert-set-properties):
1242 Set dired-hide-details-* properties.
1243 (dired-mode-map): Bind dired-hide-details-mode.
1244 (dired-mode): Set buffer-invisibility-spec to a list.
1245 (dired-next-line): Skip hidden lines.
1246 (dired-previous-line): Use dired-next-line.
1247 (dired-hide-details-mode): New minor mode.
1248 (dired-hide-details-update-invisibility-spec): New function.
1250 2013-02-13 Glenn Morris <rgm@gnu.org>
1252 * play/yow.el: Move to obsolete/. (Bug#9384)
1254 2013-02-13 Juri Linkov <juri@jurta.org>
1256 * vc/ediff-util.el (ediff-recenter): Use `select-frame-set-input-focus'
1257 to select `ediff-control-frame' and set input focus correctly on Xfce.
1260 2013-02-13 Juri Linkov <juri@jurta.org>
1262 * image-mode.el (image-mode-map):
1263 * doc-view.el (doc-view-mode-map):
1264 * vc/ediff-util.el (ediff-setup-keymap):
1265 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
1267 2013-02-13 Dmitry Gutov <dgutov@yandex.ru>
1269 * progmodes/ruby-mode.el (ruby-move-to-block): Improve
1270 performance. Instead of recalculating indentation fully for each
1271 line, sum up indentation depth based only on visited lines.
1272 (ruby-parse-partial): Increase the depth after "do" even when END
1274 (ruby-parse-partial): When END is in the middle of a percent
1275 literal, increase the depth if the delimiter chars belong to the
1278 2013-02-13 Kirill A. Korinskiy <catap@catap.ru>
1280 * play/fortune.el (fortune-compile): Also make the compiled file
1281 if it does not exist at all, not just if it is old. (Bug#5338)
1283 2013-02-13 Glenn Morris <rgm@gnu.org>
1285 * emacs-lisp/package.el (package-menu-execute): Doc fix.
1287 2013-02-13 Yves Baumes <ybaumes@gmail.com> (tiny change)
1289 * lisp/emacs-lisp/package.el (package-menu-execute):
1290 Add optional noquery argument. (Bug#13625)
1292 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
1294 * net/ange-ftp.el (ange-ftp-make-directory): Don't raise an error,
1295 if DIR exists and PARENTS is non-nil.
1297 2013-02-13 Juanma Barranquero <lekktu@gmail.com>
1299 * progmodes/js.el (js--multi-line-declaration-indentation):
1300 Silence byte-compiler warning.
1302 2013-02-12 Michael Albinus <michael.albinus@gmx.de>
1304 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Rewrite.
1306 * net/tramp-compat.el (top): Declare `remote-file-name-inhibit-cache'
1307 only if it doesn't exist.
1309 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1312 2013-02-12 Tassilo Horn <tsdh@gnu.org>
1314 * doc-view.el (doc-view-odf->pdf-converter-soffice): Use separate
1315 UserInstallation when calling soffice to work around LibreOffice
1318 2013-02-12 Glenn Morris <rgm@gnu.org>
1320 * files.el (basic-save-buffer):
1321 Offer to create a non-existing directory. (Bug#3016)
1323 * calc/calc-graph.el (calc-graph-show-dumb):
1324 * calendar/calendar.el (calendar-mode-map):
1325 * cus-edit.el (custom-mode-map):
1326 * ehelp.el (electric-help-map):
1327 * emulation/vip.el (vip-mode-map):
1328 * epa.el (epa-key-list-mode-map):
1329 * info.el (Info-mode-map):
1330 * mail/rmail.el (rmail-mode-map):
1331 * mail/rmailsum.el (rmail-summary-mode-map):
1332 * man.el (Man-mode-map):
1333 * net/newst-plainview.el (newsticker-mode-map):
1334 * progmodes/cpp.el (cpp-edit-mode-map):
1335 * progmodes/grep.el (grep-mode-map):
1336 * progmodes/idlw-help.el (idlwave-help-mode-map):
1337 * simple.el (special-mode-map):
1338 * startup.el (splash-screen-keymap):
1339 * view.el (view-mode-map):
1340 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
1342 2013-02-11 Elias Pipping <pipping@lavabit.com>
1344 * doc-view.el (doc-view-current-cache-dir): Beware % escapes
1347 2013-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
1349 * cus-start.el (all): Remove inhibit-local-menu-bar-menus.
1351 2013-02-11 Glenn Morris <rgm@gnu.org>
1353 * vc/diff.el (diff-use-labels): New variable.
1354 (diff-no-select): Use --label rather than -L, and first
1355 check that it is supported. (Bug#11067)
1357 * files.el (enable-dir-local-variables): New variable.
1358 (hack-dir-local-variables): Respect enable-dir-local-variables.
1359 * tutorial.el (help-with-tutorial):
1360 Ignore directory-local variables. (Bug#11127)
1362 * vc/vc-svn.el (vc-svn-command): Move --non-interactive from here...
1363 (vc-svn-global-switches): ... to here. (Bug#13513)
1365 2013-02-10 Christopher Schmidt <christopher@ch.ristopher.com>
1367 * minibuf-eldef.el (minibuffer-default--in-prompt-regexps):
1368 Handle "foo (bar, default: xxx): " prompts.
1370 2013-02-10 Chong Yidong <cyd@gnu.org>
1372 * files.el (basic-save-buffer-1): Do not set
1373 buffer-file-coding-system-explicit (Bug#4533).
1375 * mail/emacsbug.el (report-emacs-bug): Change binding of
1376 report-emacs-bug-insert-to-mailer to C-c M-i (Bug#13510).
1378 2013-02-09 Jay Belanger <jay.p.belanger@gmail.com>
1380 * calc/calc.el (calc-allow-units-as-numbers): New variable.
1381 * calc/calc-units.el (calc-convert-units): Use new variable.
1383 2013-02-09 Eli Zaretskii <eliz@gnu.org>
1385 * subr.el (buffer-file-type, default-buffer-file-type): Remove.
1387 * net/ange-ftp.el (ange-ftp-insert-file-contents): Don't reference
1390 * mail/feedmail.el (feedmail-force-binary-write): Doc fix.
1391 (feedmail-run-the-queue, feedmail-dump-message-to-queue)
1392 (feedmail-send-it-immediately): Don't bind buffer-file-type, bind
1393 coding-system-for-write instead.
1395 * jka-compr.el (jka-compr-write-region): Don't bind
1398 * emacs-lisp/bytecomp.el (byte-compile-file): Don't bind
1401 * files.el (file-name-buffer-file-type-alist): Remove defvar.
1402 (insert-file-contents-literally): Remove reference to
1403 file-name-buffer-file-type-alist.
1405 * dos-w32.el (file-name-buffer-file-type-alist): Deprecate and
1407 (find-buffer-file-type-match, find-buffer-file-type): Remove.
1408 (find-buffer-file-type-coding-system): Remove references to
1409 find-buffer-file-type-match, find-buffer-file-type, and
1411 Don't put find-buffer-file-type-coding-system into
1412 file-coding-system-alist.
1413 (find-file-binary, find-file-text): Bind coding-system-for-read
1414 instead of file-name-buffer-file-type-alist.
1416 2013-02-09 Jambunathan K <kjambunathan@gmail.com>
1418 * doc-view.el: Use (and prefer) soffice as default ODF->PDF
1419 converter (Bug#13622).
1420 (doc-view-unoconv-program): Make obsolete alias.
1421 (doc-view-odf->pdf-converter-program): New variable.
1422 (doc-view-odf->pdf-converter-function): New variable.
1423 (doc-view-mode-p): Use it.
1424 (doc-view-odf->pdf-converter-unoconv):
1425 Rename from `doc-view-odf->pdf-converter-unoconv'.
1426 (doc-view-odf->pdf-converter-soffice): New function.
1427 (doc-view-convert-current-doc):
1428 Use `doc-view-odf->pdf-converter-function'.
1430 2013-02-09 Chong Yidong <cyd@gnu.org>
1432 * minibuffer.el (minibuffer-inactive-mode-map): Bind mouse-1 to
1433 view-echo-area-messages (Bug#13340).
1435 * help.el (view-echo-area-messages): Use display-buffer.
1437 * dired-x.el (dired-do-run-mail): Prompt for confirmation
1440 2013-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
1442 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
1443 Eval body right away, now that we do eager macroexpansion (bug#13605).
1445 * simple.el (end-of-buffer): Don't touch unrelated windows (bug#13466).
1446 (fundamental-mode): Use run-mode-hooks.
1448 * eshell/esh-proc.el (eshell/kill): Fix last change.
1449 * eshell/em-ls.el (eshell-ls-dir): Fix use of CL in last change.
1451 2013-02-08 Aidan Gauland <aidalgol@no8wireless.co.nz>
1453 * eshell/esh-proc.el (eshell/kill): Rewrite.
1455 * eshell/em-ls.el (show-almost-all): Declare.
1456 (eshell-do-ls): Add support for -A argument.
1458 2013-02-08 Jambunathan K <kjambunathan@gmail.com>
1460 * icomplete.el (icomplete-forward-completions)
1461 (icomplete-backward-completions): Handle corner case (bug#13602).
1463 2013-02-07 Michael Albinus <michael.albinus@gmx.de>
1465 * vc/vc-hooks.el (vc-find-file-hook): `buffer-file-truename' can
1466 be nil. Handle this. (Bug#13636)
1468 2013-02-07 Richard Stallman <rms@gnu.org>
1470 * mail/rmail.el (rmail-variables): Specify `no-conversion' for
1471 `save-buffer-coding-system'.
1473 2013-02-07 Alan Mackenzie <acm@muc.de>
1475 Fix bug in state cache mechanism. Remove 'BOD "strategy". Refactor.
1476 * progmodes/cc-engine.el (c-get-fallback-scan-pos): Remove.
1477 (c-parse-state-get-strategy): Don't return 'BOD any more.
1478 (c-append-lower-brace-pair-to-state-cache):
1479 Extra parameter HERE instead of narrowing.
1480 Widen to top of buffer before searching backwards for a brace pair.
1481 (c-state-push-any-brace-pair): Add HERE parameter to function call.
1482 (c-append-to-state-cache): Extra parameter HERE in place of narrowing.
1483 Narrow to parameter HERE, in place of being called narrowed.
1484 (c-remove-stale-state-cache): Extra parameter HERE in place of
1485 narrowing. Check there's an open brace in the cache before
1486 searching for its match.
1487 (c-invalidate-state-cache-1): Add HERE parameter to function call.
1488 (c-parse-state-1): Don't narrow here for 'forward strategy,
1489 instead passing extra parameter HERE to several functions.
1490 Remove 'BOD strategy.
1492 2013-02-06 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
1494 * emacs-lisp/package.el (describe-package-1): Tell what archive is
1495 used to install the package.
1497 2013-02-06 Glenn Morris <rgm@gnu.org>
1499 * vc/vc-hooks.el (vc-find-file-hook): Don't ask about following links
1500 if we can't get user input. (Bug#6567)
1502 * startup.el (command-line): If simple.el is missing,
1503 test and warn about for some possible causes.
1505 2013-02-05 Jan Djärv <jan.h.d@swipnet.se>
1507 * cus-start.el (all): Add ns-use-native-fullscreen.
1509 2013-02-05 Glenn Morris <rgm@gnu.org>
1511 * profiler.el (profiler-report-mode-map): Add a restart menu entry.
1513 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
1514 Fix directory creation in fallback case.
1516 2013-02-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1518 * vc/vc.el (vc-next-action): Fix inf-loop (bug#13610).
1519 (vc-update-change-log): Use dolist.
1521 2013-02-04 Chong Yidong <cyd@gnu.org>
1523 * thingatpt.el: Rewrite the URL detection routines, absorbing some
1525 (thing-at-point-beginning-of-url-regexp): New var.
1526 (thing-at-point-uri-schemes): Update list of URI schemes.
1527 (thing-at-point-url-regexp): Variable deleted.
1528 (thing-at-point-markedup-url-regexp): Disallow newlines.
1529 (thing-at-point-newsgroup-regexp)
1530 (thing-at-point-newsgroup-heads)
1531 (thing-at-point-default-mail-uri-scheme): New variables.
1532 (thing-at-point-bounds-of-url-at-point): Rewrite. Use ffap's
1533 method to find the possible bounds of the URI at point.
1534 New optional argument to find ill-formed URIs.
1535 (thing-at-point-url-at-point): Rewrite. New arguments for finding
1536 ill-formed URIs. Use thing-at-point-bounds-of-url-at-point, and
1537 the scheme-adding heuristics from ffap-url-at-point.
1538 (thing-at-point--bounds-of-well-formed-url): New function.
1539 Do parens matching to decide whether to include parens in the URI
1542 * ffap.el: Require thingatpt.
1543 (ffap-url-at-point): Delegate URI detection to thing-at-point.
1544 All URI-valid characters are now recognized (Bug#5673).
1545 (ffap-string-at-point): Use use-region-p.
1546 (ffap-url-regexp): Extra character is handled by thing-at-point.
1547 (ffap-string-at-point-mode-alist): Allow parentheses.
1548 (ffap-newsgroup-regexp, ffap-newsgroup-heads, ffap-newsgroup-p):
1549 Convert to aliases; code moved to thingatpt.el.
1550 (ffap-gnus-hook): Use setq-local.
1552 2013-02-04 Glenn Morris <rgm@gnu.org>
1554 * emacs-lisp/ert.el (ert--explain-format-atom):
1555 Don't try to print non-characters as characters. (Bug#13543)
1557 2013-02-03 Michael Albinus <michael.albinus@gmx.de>
1559 * net/tramp.el (tramp-debug-message): Extend function exclude list.
1560 (tramp-backtrace): New defun.
1561 (tramp-handle-insert-file-contents): Use `visit' when inserting
1564 * net/tramp-sh.el (tramp-sh-handle-set-visited-file-modtime):
1565 Use `remote-file-name-inhibit-cache'.
1567 2013-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
1569 * progmodes/cperl-mode.el (cperl-mode): Avoid byte-compile warning
1572 * subr.el (internal--called-interactively-p--get-frame): Avoid filling
1573 current-load-list (bug#13366).
1575 2013-02-02 Christopher Schmidt <christopher@ch.ristopher.com>
1577 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1578 Identify g++ template instantiation trace. (Bug#12287)
1579 (compilation-mode-hook, compilation-start-hook)
1580 (compilation-window-height): Simplify docstrings. (Bug#13379)
1582 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
1584 * mouse.el (mouse-drag-track): Always deactivate the mark before
1585 running the final event's command since that command is in charge of
1586 activating the mark if needed (bug#13523).
1588 2013-02-02 Juri Linkov <juri@jurta.org>
1590 * replace.el (perform-replace): Move let-bindings of isearch-*
1591 variables deeper to the loop that searches for the next match.
1592 Add bindings for `isearch-nonincremental' and `isearch-adjusted'.
1593 Use `isearch-search-fun-default' instead of `isearch-search-fun'.
1596 * isearch.el (isearch-search-fun-default): Check for null
1597 first element of isearch-cmds as a precaution when it's used
1598 with inactive isearch.
1600 2013-02-02 Andrew W. Nosenko <andrew.w.nosenko@gmail.com> (tiny change)
1602 * net/tramp.el (tramp-check-for-regexp): Avoid "Args out of range"
1603 error when buffer in question is narrowed so position 1 is out of
1606 2013-02-02 Glenn Morris <rgm@gnu.org>
1608 * textmodes/remember.el (remember-clipboard): Doc fix.
1610 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
1612 * progmodes/make-mode.el (makefile-fill-paragraph): Reset syntax-table
1613 properties (bug#13179).
1615 2013-02-02 Juri Linkov <juri@jurta.org>
1617 * progmodes/grep.el (grep-regexp-alist): Use variable grep-match-face
1618 instead of hard-coded default face `match'. (Bug#9438)
1620 2012-02-01 Christopher Schmidt <christopher@ch.ristopher.com>
1622 * vc/vc-arch.el (vc-arch-registered):
1623 * vc/vc-bzr.el (vc-bzr-registered):
1624 * vc/vc-cvs.el (vc-cvs-registered):
1625 * vc/vc-git.el (vc-git-registered):
1626 * vc/vc-hg.el (vc-hg-registered):
1627 * vc/vc-mtn.el (vc-mtn-registered):
1628 * vc/vc-svn.el (vc-svn-registered): Suppress load messages.
1631 * info.el (Info-next-reference, Info-prev-reference): Add numeric
1632 prefix argument. (Bug#11656)
1634 2013-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
1636 * help-fns.el (help-split-fundoc): Don't insert byte-compiled body.
1638 2013-02-01 Glenn Morris <rgm@gnu.org>
1640 * vc/vc-hooks.el (vc-menu-map): Disable vc-rollback menu item
1641 if the backend is known not to support it.
1643 * imenu.el (imenu-default-create-index-function):
1644 Tweak infinite loop test to check for forward motion as well as none.
1646 2013-02-01 Alex Harsanyi <AlexHarsanyi@gmail.com>
1648 * net/soap-client.el (soap-invoke): Encode the string for
1649 `url-request-data' as UTF-8.
1650 Fixes <http://code.google.com/p/emacs-soap-client/issues/detail?id=16>.
1652 2013-02-01 Glenn Morris <rgm@gnu.org>
1654 * calc/calc-help.el (calc-view-news): Use view-emacs-news.
1656 * calc/README, calc/README.prev: Rename/merge to etc/CALC-NEWS.
1658 2013-01-31 Michael Albinus <michael.albinus@gmx.de>
1660 * net/tramp.el (tramp-tramp-file-p): Comment check for
1661 `string-as-unibyte'. The function does not exist on XEmacs, and
1662 likely we need another approach.
1664 * net/tramp-sh.el (tramp-compute-multi-hops): Check, whether
1665 `tramp-gw-*' variables are bound.
1667 2013-01-31 Glenn Morris <rgm@gnu.org>
1669 * files.el (basic-save-buffer-2): Choose coding system for
1670 writing the file before backing it up, to reduce delay between
1671 backing up and writing the new version. (Bug#13522)
1673 2013-01-31 Michal Nazarewicz <mina86@mina86.com>
1675 * simple.el (cycle-spacing): New command.
1676 (just-one-space): Use it.
1678 2013-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
1680 * progmodes/opascal.el: Rename from delphi.el. Use lexical-binding.
1681 (opascal-newline-always-indents): Remove custom.
1682 (opascal-tab, opascal-newline): Remove commands.
1683 (opascal-new-comment-line): Insert "\n" instead of calling newline.
1684 (opascal-mode-map): Keep default bindings for RET and TAB and DEL.
1685 (opascal-save-match-data): Remove, use save-match-data instead.
1686 (opascal-save-state): Use with-silent-modifications.
1688 * progmodes/pascal.el (pascal-mode-syntax-table): Accept //..\n comments
1691 2013-01-30 Juri Linkov <juri@jurta.org>
1693 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
1694 Use fullboth as an alias for fullscreen. Suggested by Jan Djärv in
1695 <http://lists.gnu.org/archive/html/emacs-devel/2013-01/msg00203.html>.
1697 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
1699 * progmodes/make-mode.el (makefile-backslash-region): Don't compute
1700 column if we're just deleting the backslashes.
1701 (makefile-fill-paragraph): Use eolp.
1703 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
1705 * autorevert.el (auto-revert-use-notify): Fix docstring.
1707 2013-01-30 Leo Liu <sdl.web@gmail.com>
1709 * imenu.el (imenu--truncate-items): Fix subalist checking (bug#13576).
1711 2013-01-30 Glenn Morris <rgm@gnu.org>
1713 * mouse.el (mouse-drag-line): Avoid pushing same event onto
1714 unread-command-events twice in some cases. This tries to implement
1715 the 2012-07-26 changes in a different way. (Bug#13560)
1717 2013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
1719 * progmodes/python.el
1720 (python-pdbtrack-comint-output-filter-function): Enhancements on
1721 stacktrace detection. (thanks @gnovak)
1723 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
1725 * jit-lock.el (jit-lock-stealth-chunk-start): Don't widen (bug#13542).
1726 (jit-lock-mode, jit-lock-functions, jit-lock-context-unfontify-pos):
1728 (jit-lock-register): Use setq-local.
1730 2013-01-30 Jay Belanger <jay.p.belanger@gmail.com>
1732 * calc-units.el (math-default-units-table): Remove initial value.
1733 (calc-convert-units): Treat expressions where all the units cancel as
1734 if they didn't have units.
1736 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
1738 * net/tramp.el (tramp-process-connection-type): Fix docstring.
1739 (tramp-completion-reread-directory-timeout): Fix type.
1740 (tramp-connection-min-time-diff): New defcustom.
1742 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
1744 2013-01-30 Glenn Morris <rgm@gnu.org>
1746 * imenu.el (imenu-default-create-index-function):
1747 Put back a version of the infinite loop test removed 2013-01-23.
1749 2013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
1751 * progmodes/python.el (python-shell-parse-command):
1752 Find python-shell-interpreter with modified environment.
1754 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
1756 * emacs-lisp/cl.el (cl-set-getf): Add compatibility alias.
1758 2013-01-29 Alan Mackenzie <acm@muc.de>
1760 Amend to fontify /regexp/s in actions correctly.
1761 * cc-awk.el (c-awk-harmless-char-re, c-awk-harmless-string*-re):
1762 (c-awk-harmless-string*-here-re): Braces, parens and semicolons
1763 are no longer included.
1764 (c-awk-harmless-line-char-re, c-awk-harmless-line-string*-re):
1765 What used to be these variables without "-line" in the name.
1766 (c-awk-neutral-re): { is no longer neutral. Escaped newlines now are.
1767 (c-awk-non-arith-op-bra-re): Now also matches {.
1768 (c-awk-pre-exp-alphanum-kwd-re): New regexp to match "print",
1769 "return", and "case".
1770 (c-awk-kwd-regexp-sign-re): New, to match "print", etc., followed
1772 (c-awk-syntax-tablify-/): Check special cases "print /re/", etc.
1773 (c-awk-set-syntax-table-properties): Extend FSM to handle {,},(,),;.
1775 2013-01-29 Michael Albinus <michael.albinus@gmx.de>
1777 * autorevert.el (auto-revert-use-notify):
1778 Use `custom-initialize-default' for initialization. (Bug#13583)
1780 * net/ange-ftp.el (ange-ftp-skip-msgs): Add another message.
1782 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1783 Catch `suppress'. Otherwise, `tramp-run-real-handler' might be called
1784 in `tramp-file-name-handler'.
1785 (tramp-gw-tunnel-method, tramp-gw-socks-method): Declare for
1787 (tramp-compute-multi-hops): Check, whether
1788 `tramp-gw-tunnel-method' and `tramp-gw-socks-method' are non-nil.
1790 2013-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
1792 * hi-lock.el (hi-lock-unface-buffer): Don't assume `face' is a symbol
1795 2013-01-27 Dmitry Gutov <dgutov@yandex.ru>
1797 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove some
1798 checks made superfluous by the \_< operator.
1799 * progmodes/ruby-mode.el (ruby-move-to-block): Work with (maybe
1800 temporarily) broken indentation.
1801 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1802 Highlight nested constants, too. \_< broke that.
1804 2013-01-27 Nobuyoshi Nakada <nobu@ruby-lang.org>
1806 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Use "\\_<"
1809 2013-01-27 Michael Albinus <michael.albinus@gmx.de>
1811 * autorevert.el (auto-revert-handler): Notifications which result
1812 from a saved file shall not be taken into account. (Bug#13557)
1814 2013-01-26 Andreas Schwab <schwab@linux-m68k.org>
1816 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Add optional
1817 parameter BAR-NOT-SYMBOL to control syntax of | for font-lock.
1818 (lisp-mode): Pass t for it. (Bug#13556)
1820 2013-01-25 Alan Mackenzie <acm@muc.de>
1822 AWK Mode: Fix indentation bug at top level. Bug #12274.
1824 * progmodes/cc-engine.el (c-guess-basic-syntax): Move CASE 5P to
1825 just before CASE 5D.
1827 2013-01-25 Dmitry Antipov <dmantipov@yandex.ru>
1829 * net/socks.el (socks-nslookup-host): Use string-to-number.
1831 2013-01-25 Michael Albinus <michael.albinus@gmx.de>
1833 * autorevert.el (auto-revert-remote-files)
1834 (auto-revert-notify-exclude-dir-regexp): New defcustoms.
1835 (auto-revert-notify-enabled, auto-revert-use-notify)
1836 (auto-revert-notify-watch-descriptor-hash-list)
1837 (auto-revert-notify-modified-p, auto-revert-notify-event-p)
1838 (auto-revert-notify-event-descriptor)
1839 (auto-revert-notify-event-action)
1840 (auto-revert-notify-event-file-name): Doc fix.
1841 (global-auto-revert-mode): Reorder checks.
1842 (auto-revert-notify-rm-watch): Respect changed values of
1843 `auto-revert-notify-watch-descriptor-hash-list'.
1844 (auto-revert-notify-add-watch): Check for
1845 `auto-revert-notify-exclude-dir-regexp'. Adapt filters for
1846 `inotify-add-watch'. Watch `default-directory' instead of
1847 `buffer-file-name'. `auto-revert-notify-watch-descriptor-hash-list'
1848 has a changed meaning now. (Bug#13540)
1849 (auto-revert-notify-handler): Change implementation wrt events
1850 returning from a directory.
1851 (auto-revert-handler): Reorder implementation for checks of remote
1853 (auto-revert-buffers): Fix parentheses error.
1855 2013-01-25 Fabián Ezequiel Gallina <fgallina@cuca>
1857 * progmodes/python.el: Enhancements to header documentation about
1858 skeletons. (Bug#5716)
1860 * imenu.el (imenu-default-create-index-function): Remove useless
1861 infinite loop check. (Bug#13438)
1863 2013-01-25 Alan Mackenzie <acm@muc.de>
1865 Fix a bug in the state cache mechanism. Refactor this a bit.
1867 * progmodes/cc-engine.el (c-parse-state-get-strategy): Remove the
1868 `cache-pos' element from the return value.
1869 (c-append-lower-brace-pair-to-state-cache): "Narrow" to end of
1870 buffer to enable proper searching from beyond HERE. Amend the
1871 test for detecting the sought brace pair. Amend the value written
1872 to the "brace desert cache" when the brace isn't found.
1873 (c-remove-stale-state-cache): Rename `good-pos' to `start-point',
1874 and several other variables analogously.
1875 (c-remove-stale-state-cache-backwards): Change `cache-pos' from a
1876 parameter to a locally calculated variable.
1877 (c-parse-state-1): Change the calling conventions to the two
1878 defuns involving `cache-pos'.
1880 2013-01-25 Chong Yidong <cyd@gnu.org>
1882 * xml.el (xml-entity-or-char-ref-re): Fix regexp.
1884 2013-01-24 Aaron Ecay <aaronecay@gmail.com> (tiny change)
1886 * paren.el (show-paren-function): Make sure to set 'priority and
1887 'face only if the overlay does exist.
1889 2013-01-24 Michael Albinus <michael.albinus@gmx.de>
1891 * net/tramp.el (tramp-tramp-file-p): Check, whether NAME is unibyte.
1893 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Do not suppress
1895 (tramp-sh-handle-set-file-acl): Improve error checking.
1897 2013-01-24 Dmitry Antipov <dmantipov@yandex.ru>
1899 * doc-view.el (doc-view-display): Force mode line update until all
1900 document is converted. Suggested by Stefan Monnier (Bug#13164).
1902 2013-01-23 Bastien Guerry <bzg@gnu.org>
1904 * paren.el (show-paren-function): Make sure an overlay exists
1905 before trying to delete it. Also use `pos' as a position only
1906 when it is an integer.
1908 2013-01-23 Dmitry Antipov <dmantipov@yandex.ru>
1910 * play/gametree.el (gametree-break-line-here): Use point-marker.
1912 2013-01-22 Michael Albinus <michael.albinus@gmx.de>
1914 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
1915 Mark descriptive parts with `display' property.
1917 2013-01-21 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1919 * textmodes/ispell.el (ispell-hunspell-dictionary-equivs-alist):
1920 New variable to map standard dict names to hunspell ones.
1921 (ispell-set-spellchecker-params): Make sure specific dict names
1922 are used for standard dicts with hunspell.
1924 2013-01-21 Tassilo Horn <tsdh@gnu.org>
1926 * textmodes/reftex-cite.el (reftex-format-citation): Add format
1927 chars for note (%N) and url (%U).
1928 * textmodes/reftex-vars.el (reftex-cite-format): Document them.
1930 2013-01-21 Juri Linkov <juri@jurta.org>
1932 * frame.el: Bind `f10' in `esc-map' to `toggle-frame-maximized'
1933 in addition to existing separate binding `meta f10' in `global-map'.
1936 2013-01-21 Michael Albinus <michael.albinus@gmx.de>
1938 Improve XEmacs compatibility.
1940 * net/tramp.el (tramp-replace-environment-variables): Make it a defun.
1942 * net/tramp-adb.el (top): Require `time-date'.
1943 (tramp-adb-ls-output-time-less-p): Use `tramp-time-less-p'.
1944 (tramp-adb-handle-copy-file, tramp-adb-handle-rename-file):
1945 Use `tramp-file-name-handler'.
1946 (tramp-adb-maybe-open-connection):
1947 Use `tramp-compat-set-process-query-on-exit-flag'.
1949 * net/tramp-sh.el (tramp-sh-handle-file-acl):
1950 Use `tramp-compat-funcall'.
1952 * net/tramp-smb.el (tramp-smb-handle-file-acl): Use `looking-at' and
1953 `tramp-compat-funcall'.
1955 2013-01-21 Jürgen Hötzel <juergen@archlinux.org>
1957 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Complete
1958 reimplementation using "adb shell command ..." instead of running
1959 remote shell interactively.
1961 2013-01-20 Glenn Morris <rgm@gnu.org>
1963 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
1964 Add native profiler menu entries.
1966 * profiler.el (profiler-running-p): New function.
1967 (profiler-cpu-profile): Use profiler-running-p.
1968 (profiler-report-mode-map): Add some more menu entries.
1970 2013-01-19 Glenn Morris <rgm@gnu.org>
1972 * mail/unrmail.el (unrmail): Do not mangle the mbox From line;
1973 fixes 2012-12-07 change. (Bug#13499)
1975 2013-01-19 Leo Liu <sdl.web@gmail.com>
1977 * dired.el (dired-get-marked-files): Prune erroneous values due to
1978 last change. (Bug#13152)
1980 2013-01-19 Glenn Morris <rgm@gnu.org>
1982 * progmodes/etags.el (tags-table-check-computed-list):
1983 Preserve point in tags buffer. (Bug#13412)
1985 * emacs-lisp/lisp-mode.el (lisp-indent-function): Doc fix.
1987 2013-01-19 Christian Wittern <cwittern@gmail.com> (tiny change)
1988 Chong Yidong <cyd@gnu.org>
1990 * image-mode.el (image-next-file, image-previous-file):
1991 New commands (Bug#8453).
1992 (image-mode-map): Bind them to n and p.
1993 (image-mode--images-in-directory): New helper function.
1995 2013-01-19 Chong Yidong <cyd@gnu.org>
1997 * image-mode.el (image-mode-fit-frame): Add a frame argument.
1998 Suggested by Drew Adams (Bug#7730). Handle window decorations;
1999 save and restore the old window configuration.
2001 2013-01-18 Leo Liu <sdl.web@gmail.com>
2003 * progmodes/js.el: Tweak autoload cookie for alias.
2005 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
2007 * autorevert.el (auto-revert-notify-watch-descriptor): Make it
2008 buffer local, again. This was lost with the fix on 2013-01-12.
2010 2013-01-17 Jürgen Hötzel <juergen@archlinux.org>
2012 * eshell/esh-util.el (eshell-path-env): Make it buffer local, in
2013 order to support several eshell buffers in parallel.
2015 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
2017 * autorevert.el (auto-revert-use-notify): In the :set function, do
2018 not modify `kill-buffer-hook'.
2019 (auto-revert-notify-rm-watch):
2020 Remove `auto-revert-notify-rm-watch' from `kill-buffer-hook'.
2021 (auto-revert-notify-add-watch): Do not call
2022 `auto-revert-notify-rm-watch', but add it to a buffer local
2025 2013-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
2027 * emacs-lisp/trace.el (trace--read-args): Use a closure and an honest
2028 call to `eval' rather than a backquoted lambda.
2030 2013-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
2032 * emacs-lisp/nadvice.el (advice--tweak): Make it possible for `tweak'
2033 to return an explicit nil.
2034 (advice--remove-function): Change accordingly.
2036 * emacs-lisp/advice.el (ad-preactivate-advice): Adjust the cleanup to
2037 the use of nadvice.el.
2039 * progmodes/which-func.el (which-function): Silence imenu errors
2042 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
2044 * progmodes/sql.el: (sql-imenu-generic-expression):
2045 (sql-mode-font-lock-object-name): Match schema qualified names.
2046 (sql-connect): Use string keys.
2047 (sql-product-interactive): Wait for interpreter prompt.
2048 (sql-comint-oracle): Set process coding based on NLS_LANG.
2050 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
2052 * progmodes/sql.el (sql-output-to-send): Remove, unused.
2053 (sql-interactive-remove-continuation-prompt):
2054 (sql-send-magic-terminator, sql-interactive-mode): Remove references.
2056 2013-01-14 Leo Liu <sdl.web@gmail.com>
2058 * calendar/calendar.el (calendar-redraw): Sync window-point and point.
2061 2013-01-14 Glenn Morris <rgm@gnu.org>
2063 * progmodes/compile.el (compilation-error-regexp-alist-alist):
2064 Fix interpretation of gnu line.col1-col2 format. (Bug#13335)
2066 2013-01-13 Fabián Ezequiel Gallina <fgallina@cuca>
2068 * progmodes/python.el (python-nav-end-of-statement):
2069 Fix cornercase when handling multiline strings.
2071 2013-01-13 Richard Stallman <rms@gnu.org>
2073 * mail/sendmail.el (mail-position-on-field): Add doc string.
2075 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
2076 Get current message boundaries and pass them to
2077 message-forward-make-body-mime. Minor style changes.
2079 2013-01-13 Eli Zaretskii <eliz@gnu.org>
2081 * cus-start.el (all): Avoid warnings about
2082 scroll-bar-adjust-thumb-portion on platforms where it is not defined.
2084 2013-01-11 Jan Djärv <jan.h.d@swipnet.se>
2086 * cus-start.el (all): Add scroll-bar-adjust-thumb-portion.
2088 2013-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
2090 * jit-lock.el (jit-lock-debug-mode): New minor mode.
2091 (jit-lock--debug-fontifying): New var.
2092 (jit-lock--debug-fontify): New function.
2093 * subr.el (condition-case-unless-debug): Don't prevent catching the
2094 error, just let the debbugger run.
2095 * emacs-lisp/timer.el (timer-event-handler): Don't prevent debugging
2096 timer code and don't drop errors silently.
2098 2013-01-12 Michael Albinus <michael.albinus@gmx.de>
2100 * autorevert.el (auto-revert-notify-watch-descriptor): Give it
2101 `permanent-local' property.
2102 (auto-revert-notify-handler): Use `file-equal-p'.
2104 2013-01-12 Eli Zaretskii <eliz@gnu.org>
2106 * autorevert.el (auto-revert-notify-handler): Fix filtering of
2107 file notification by ACTION. For filtering by file name, compare
2108 only the non-directory part of the file name.
2110 2013-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
2112 * autorevert.el: Use cl-lib instead of cl.
2114 * vc/vc-bzr.el (vc-bzr--sanitize-header): New function (bug#13307).
2115 (vc-bzr-checkin): Use it.
2116 * vc/log-edit.el (log-edit-extract-headers): Don't presume FUNCTION
2117 will preserve match-data.
2119 2013-01-11 Felix H. Dahlke <fhd@ubercode.de>
2121 * progmodes/js.el: Fix multiline declarations's indentation (bug#8576).
2122 (js--declaration-keyword-re): New var.
2123 (js--multi-line-declaration-indentation): New function.
2124 (js--proper-indentation): Use it.
2126 2013-01-11 Aaron S. Hawley <Aaron.Hawley@vtinfo.com>
2128 * calc/calc.el (calc-highlight-selections-with-faces)
2130 * comint.el (comint-history-isearch-message):
2131 * emacs-lisp/edebug.el (edebug-read, edebug-eval-defun):
2132 * ffap.el (ffap-string-at-point-region, ffap-next)
2133 (ffap-string-at-point, ffap-string-around)
2134 (ffap-copy-string-as-kill, ffap-highlight-overlay)
2136 * font-lock.el (font-lock-keywords-alist)
2137 (font-lock-removed-keywords-alist):
2138 * help-mode.el (help-xref-symbol-regexp):
2139 * info.el (Info-find-emacs-command-nodes):
2140 * international/mule.el (add-to-coding-system-list):
2141 * isearch.el (isearch-message-function, isearch-fail-pos):
2142 * misearch.el (multi-isearch-next-buffer-function):
2143 * newcomment.el (comment-box):
2144 * printing.el (pr-txt-printer-alist, pr-ps-printer-alist)
2145 (pr-setting-database):
2146 * progmodes/cc-fonts.el (c-font-lock-keywords-3)
2147 (c++-font-lock-keywords-3, objc-font-lock-keywords-3)
2148 (java-font-lock-keywords-3, idl-font-lock-keywords-3)
2149 (pike-font-lock-keywords-3):
2150 * progmodes/compile.el (compile):
2151 * progmodes/etags.el (tags-table-files)
2152 (tags-table-files-function, tags-included-tables-function):
2153 * progmodes/gdb-mi.el (gdb, gdb-setup-windows)
2154 (gdb-restore-windows):
2155 * ps-print.el (ps-even-or-odd-pages, ps-spool-buffer-with-faces)
2156 (ps-n-up-filling-database):
2157 * server.el (server-buffer, server-log):
2158 * simple.el (newline, delete-backward-char, delete-forward-char)
2159 (minibuffer-history-isearch-message, kill-line, track-eol)
2160 (temporary-goal-column):
2161 * textmodes/flyspell.el (flyspell-mark-duplications-flag)
2162 (flyspell-default-deplacement-commands):
2163 * textmodes/ispell.el (ispell-accept-output):
2164 * textmodes/sgml-mode.el (html-tag-help):
2165 * vc/compare-w.el (compare-ignore-whitespace)
2166 (compare-ignore-case, compare-windows-dehighlight):
2167 * vc/diff.el (diff):
2168 * whitespace.el (whitespace-point)
2169 (whitespace-font-lock-refontify, whitespace-bob-marker)
2170 (whitespace-eob-marker): Fix ambiguous doc string cross-reference(s).
2172 2013-01-11 Michael Albinus <michael.albinus@gmx.de>
2174 * autorevert.el (top): Require 'cl in order to pacify byte compiler.
2175 (auto-revert-notify-rm-watch): Ignore errors.
2176 (auto-revert-notify-add-watch): Ignore errors. Use '(modify) for
2177 inotify, and '(size last-write-time) for w32notify.
2178 Set buffer-local `auto-revert-use-notify' to nil when adding a file
2179 watch fails - this is a fallback to the file modification check.
2180 (auto-revert-notify-event-p, auto-revert-notify-event-descriptor)
2181 (auto-revert-notify-event-action)
2182 (auto-revert-notify-event-file-name): New defuns.
2183 (auto-revert-notify-handler): Use them. Implement first
2184 plausibility checks.
2185 (auto-revert-handler): Handle also `auto-revert-tail-mode'.
2187 2013-01-11 Julien Danjou <julien@danjou.info>
2189 * color.el (color-rgb-to-hsv): Fix conversion computing in case min and
2190 max are almost equal. Also return the correct value for V which is
2191 already between 0 and 1.
2193 2013-01-11 Dmitry Antipov <dmantipov@yandex.ru>
2195 * emacs-lisp/ert.el (ert-run-test): Use point-max-marker.
2197 2013-01-11 Eli Zaretskii <eliz@gnu.org>
2199 * autorevert.el (auto-revert-notify-rm-watch)
2200 (auto-revert-notify-add-watch): Fix typos in w32notify function
2203 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
2205 * autorevert.el (auto-revert-notify-enabled): Move up.
2206 (auto-revert-use-notify): New defcustom.
2207 (auto-revert-mode, global-auto-revert-mode)
2208 (auto-revert-notify-add-watch, auto-revert-handler)
2209 (auto-revert-buffers): Use `auto-revert-use-notify' instead of
2210 `auto-revert-notify-enabled'.
2212 2013-01-10 Elias Pipping <pipping@exherbo.org>
2214 * files.el (auto-mode-alist): Use doc-view for djvu files (bug#13164).
2215 * doc-view.el (doc-view-document->bitmap):
2216 Use doc-view-single-page-converter-function instead of
2217 single-page-converter arg; adjust callers.
2219 2013-01-10 Feng Li <fengli@gmail.com> (tiny change)
2221 * progmodes/which-func.el (which-function): Understand Semantic's use
2222 of overlays in imenu--index-alist.
2224 2013-01-10 Wolfgang Jenkner <wjenkner@inode.at>
2226 * man.el: Handle different "man -k" behaviors (bug#13160). Use utf-8.
2227 (Man-man-k-use-anchor): New var.
2228 (Man-parse-man-k): New function.
2229 (Man-completion-table): Use it.
2230 (man): Flush the completion cache between uses.
2232 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
2234 * autorevert.el: Add file watch support.
2235 (auto-revert-notify-enabled): New defconst.
2236 (auto-revert-notify-watch-descriptor-hash-list)
2237 (auto-revert-notify-watch-descriptor)
2238 (auto-revert-notify-modified-p): New defvars.
2239 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
2240 (auto-revert-notify-handler): New defuns.
2241 (auto-revert-mode, global-auto-revert-mode): Remove file watches
2242 when mode is disabled.
2243 (auto-revert-handler): Check for `auto-revert-notify-modified-p'.
2244 (auto-revert-buffers): Add file watches for active buffers.
2246 2013-01-10 Dmitry Antipov <dmantipov@yandex.ru>
2248 * cus-start.el (toplevel): Only allow float values for
2249 scroll-up-aggressively and scroll-down-aggressively.
2250 Allow any number for line-spacing.
2252 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
2254 * doc-view.el (doc-view-pdfdraw-program): Allow "pdfdraw" name.
2255 (doc-view-pdf->png-converter-function): Use mupdf if available.
2256 (doc-view-djvu->png-converter-function)
2257 (doc-view-ps->png-converter-function): Remove.
2258 (doc-view--image-file-pattern): Replace doc-view--image-file-extension.
2259 (doc-view-goto-page, doc-view-convert-current-doc, doc-view-display)
2260 (doc-view-already-converted-p): Adjust accordingly.
2261 (doc-view-mode-p): Simplify.
2262 (doc-view-enlarge): Use setq-local.
2263 (doc-view-pdf->png-converter-ghostscript)
2264 (doc-view-djvu->png-converter-ddjvu)
2265 (doc-view-pdf->png-converter-mupdf): Rework to call
2266 doc-view-start-process directly.
2267 (doc-view-pdf/ps->png): Simplify accordingly.
2268 (doc-view-pdf->png-1, doc-view-djvu->png-1): Remove.
2269 (doc-view-document->bitmap): Rename from doc-view-document->png.
2270 (doc-view-convert-current-doc): Merge pdf and djvu cases.
2271 (doc-view-set-slice-from-bounding-box): Fix completion table.
2272 (doc-view-mode): Use add-hook for after-revert-hook.
2274 2013-01-10 Glenn Morris <rgm@gnu.org>
2276 * emacs-lisp/authors.el (authors-ignored-files)
2277 (authors-valid-file-names, authors-renamed-files-alist):
2278 Add some more entries.
2280 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
2282 * image-mode.el (image-mode-winprops): Don't throw away the fallback
2283 `t' pseudo-window entry.
2285 2013-01-10 Alan Mackenzie <acm@muc.de>
2287 Fix bugs in the c-parse-state mechanism. Reuse some markers
2288 instead of continually generating new ones.
2290 * progmodes/cc-engine.el (c-state-old-cpp-beg-marker)
2291 (c-state-old-cpp-end-marker): New variables.
2292 (c-append-lower-brace-pair-to-state-cache): Start a backward
2293 search for "}" definitively outside CPP constructs.
2294 (c-remove-stale-state-cache): Inform the caller of a need to
2295 search back for a brace pair in certain circumstances.
2296 (c-state-maybe-marker): New macro.
2297 (c-parse-state): Reuse markers when appropriate.
2299 2013-01-10 Glenn Morris <rgm@gnu.org>
2301 * simple.el (execute-extended-command): Doc fix.
2302 Bind prefix-arg around read-extended-command, for prompt. (Bug#13395)
2304 2013-01-10 Chong Yidong <cyd@gnu.org>
2306 * faces.el (read-face-name): Doc fix.
2308 2013-01-10 Roland Winkler <winkler@gnu.org>
2310 * emacs-lisp/crm.el: Allow any regexp for separators.
2311 (crm-default-separator): All spaces around the default comma separator.
2312 (crm--completion-command): New macro.
2313 (crm-completion-help, crm-complete, crm-complete-word): Use it.
2314 (crm-complete-and-exit): Handle non-single-char separators.
2316 2013-01-09 Elias Pipping <pipping@lavabit.com>
2318 * doc-view.el: Add support for DjVu (bug#13164).
2319 (doc-view-djvu->png-converter-function): New config var.
2320 (doc-view-single-page-converter-function, doc-view--image-type)
2321 (doc-view--image-file-extension): New vars.
2322 (doc-view-mode): Initialize them.
2323 (doc-view-goto-page): Use them.
2324 (doc-view-mode-p): Add support for ddjvu.
2325 (doc-view-djvu->png-converter-ddjvu, doc-view-djvu->png-1)
2326 (doc-view-set-up-single-converter): New funs.
2327 (doc-view-pdf/ps->png): Extend for djvu.
2328 (doc-view-document->png): Rename from doc-view-pdf->png.
2329 (doc-view-convert-current-doc): Handle djvu.
2330 (doc-view-insert-image, doc-view-display)
2331 (doc-view-already-converted-p): Don't hardcode png.
2332 (doc-view-set-doc-type): Recognize djvu docs.
2334 2013-01-09 Elias Pipping <pipping@lavabit.com>
2336 * doc-view.el: Add support for mupdf converter (bug#13164).
2337 (doc-view-pdfdraw-program, doc-view-pdf->png-converter-function)
2338 (doc-view-ps->png-converter-function): New config vars.
2339 (doc-view-pdf->png-converter-ghostscript)
2340 (doc-view-ps->png-converter-ghostscript)
2341 (doc-view-pdf->png-converter-mupdf): New functions.
2342 (doc-view-pdf/ps->png, doc-view-pdf->png-1): Use them.
2344 2013-01-09 Jürgen Hötzel <juergen@archlinux.org>
2346 * net/tramp.el (tramp-eshell-directory-change): Check remote-path
2347 first in session cache: When `tramp-own-remote-path' is in
2348 `tramp-remote-path', the remote path is only set in the session
2351 2013-01-09 Glenn Morris <rgm@gnu.org>
2353 * emacs-lisp/trace.el (trace-function-foreground)
2354 (trace-function-background): Doc fix.
2356 2013-01-09 Juri Linkov <juri@jurta.org>
2358 * international/mule-cmds.el (read-char-by-name): Move let-binding
2359 of completion-ignore-case around completing-read to fix regression
2360 exhibited by the test case `C-x 8 RET *acc TAB' and caused by
2361 `string-match-p' using the nil value of `case-fold-search' and
2362 `completion-ignore-case' in `completion-pcm--all-completions'.
2365 2013-01-09 Glenn Morris <rgm@gnu.org>
2367 * progmodes/compile.el (compilation-parse-errors):
2368 Fix typo. (Bug#13369)
2370 2013-01-09 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
2372 * comint.el (comint-send-input): Check size of buffer before
2373 waiting for process output, in case already accepted. (Bug#13290)
2375 2013-01-09 Paul Eggert <eggert@cs.ucla.edu>
2378 * net/tramp-adb.el (tramp-adb-get-toolbox):
2379 Fix misspelling of 'unknown'.
2381 2013-01-08 Juri Linkov <juri@jurta.org>
2383 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
2384 * progmodes/flymake.el (flymake-errline, flymake-warnline):
2385 Use underline style wave on terminals that support it. (Bug#13000)
2387 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
2389 * emacs-lisp/pcase.el (pcase--split-equal): Also take advantage if
2390 the predicate returns nil.
2392 * simple.el: Use lexical-binding.
2393 (primitive-undo): Use pcase.
2394 (minibuffer-history-isearch-push-state): Use a closure.
2396 2013-01-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
2398 * simple.el (primitive-undo): Move from undo.c.
2400 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
2402 * vc/pcvs.el (cvs-cleanup-collection): Extend meaning of `rm-handled'.
2403 (cvs-mode-remove-handled): Use it (bug#13380).
2405 * emacs-lisp/nadvice.el (advice--tweak): New function.
2406 (advice--remove-function, advice--subst-main): Use it.
2408 * emacs-lisp/advice.el: Update commentary.
2410 2013-01-08 Michael Albinus <michael.albinus@gmx.de>
2412 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
2413 Remove spurious entry.
2415 2013-01-08 Glenn Morris <rgm@gnu.org>
2417 * net/tramp.el (tramp-default-host-alist): Add :version.
2419 2013-01-08 Juri Linkov <juri@jurta.org>
2421 * info.el (Info-read-node-name-2): Don't duplicate suffixes for
2422 single completion. (Bug#12456)
2423 (info--manual-names): Expand node completions into an explicit list
2424 before appending it to another list. Filter out internal buffers
2425 with the leading space in the buffer name. (Bug#10771)
2427 2013-01-08 Juri Linkov <juri@jurta.org>
2429 * info.el (Info-read-node-name-1): Allow empty node name in (FILENAME)
2430 that defaults to the Top node.
2431 (Info-goto-node, Info-read-node-name): Doc fix to mention that
2432 the short format (FILENAME) goes to the Top node.
2433 (Info-build-node-completions): Rename arg `file' to `filename'.
2436 2013-01-07 Bastien Guerry <bzg@gnu.org>
2438 * menu-bar.el (menu-bar-search-documentation-menu):
2439 Use `apropos-user-option' and fix the help message.
2441 2013-01-07 Bastien Guerry <bzg@gnu.org>
2443 * apropos.el (apropos-do-all): Update docstring.
2444 (apropos-user-option-button): New face.
2445 (apropos-user-option): Rename from `apropos-variable' and update
2447 (apropos-variable): Rewrite, now show all variables by default.
2448 (apropos-print): Mention "User option" instead of "Variable" when
2449 printing doc for user options. (Bug#13276)
2451 2013-01-07 Jürgen Hötzel <juergen@archlinux.org>
2453 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
2454 Handle filename correctly, when parsing "source -> target" symlink
2456 (tramp-adb-handle-set-file-times): New defun.
2458 2013-01-07 Stefan Monnier <monnier@iro.umontreal.ca>
2460 * emacs-lisp/advice.el (ad-activate-advised-definition): Refresh the
2461 advice list when the interactive-spec of ad-Advice-* changes.
2463 2013-01-07 Katsumi Yamaoka <yamaoka@jpl.org>
2465 * wid-edit.el (widget-default-get): Work for inlined elements.
2468 2013-01-07 Michael Albinus <michael.albinus@gmx.de>
2470 * net/tramp.el (tramp-default-host-alist): New defcustom.
2471 (tramp-find-host): Use it.
2472 (tramp-eshell-directory-change): Move from tramp-sh.el. Add to
2473 `eshell-directory-change-hook'.
2475 * net/tramp-adb.el (top): Add adb specific entry in
2476 `tramp-default-host-alist'.
2477 (tramp-adb-file-name-host): Remove function.
2478 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
2479 Use `tramp-file-name-host' instead of `tramp-adb-file-name-host'.
2481 * net/tramp-sh.el: Move eshell integration code to tramp.el.
2483 2013-01-06 Jürgen Hötzel <juergen@archlinux.org>
2485 * net/tramp-adb.el (tramp-methods): Add `tramp-tmpdir' entry.
2487 2013-01-06 Michael Albinus <michael.albinus@gmx.de>
2489 * net/tramp-adb.el (tramp-adb-ls-toolbox-regexp): The file size can
2490 consist of more than one digit.
2491 (tramp-adb-file-name-handler-alist):
2492 Use `tramp-handle-file-exists-p' consistently.
2493 (tramp-adb-file-name-handler): Don't tweak `tramp-default-host'.
2494 (tramp-adb-handle-file-exists-p): Remove function.
2495 (tramp-adb-file-name-host): New defun.
2496 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
2498 (tramp-adb-maybe-open-connection): Set "remote-path" property.
2500 2013-01-06 Chong Yidong <cyd@gnu.org>
2502 * vc/vc.el (vc-next-action): Detect buffer modifications
2503 conflicting with locking VCS operation (Bug#11490).
2505 * vc/vc-hooks.el (vc-after-save): DTRT for locking VCSes.
2507 2013-01-05 Michael Albinus <michael.albinus@gmx.de>
2509 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
2510 (tramp-adb-handle-directory-files-and-attributes): Fix typos.
2512 2013-01-05 Jürgen Hötzel <juergen@archlinux.org>
2514 * net/tramp-adb.el (tramp-adb-handle-file-attributes): More robust
2515 parsing of ls output using regular expression (handle filenames
2516 with spaces). Use virtual device number.
2517 (tramp-do-parse-file-attributes-with-ls): New defun (Code
2520 2013-01-04 Daiki Ueno <ueno@gnu.org>
2522 * epg.el: Silence byte-compiler warnings.
2523 (epg--start): Use delete-char instead of delete-backward-char.
2524 (epg-wait-for-completion): Pass FRAME arg to redraw-frame.
2526 2013-01-04 Daiki Ueno <ueno@gnu.org>
2528 * epg.el (epg--start): Don't call "tty" program on W32 platforms.
2529 Suggested by Eli Zaretskii <eliz@gnu.org>.
2531 2013-01-04 Michael Albinus <michael.albinus@gmx.de>
2533 * net/tramp-sh.el (tramp-set-file-uid-gid): UID and GID must be
2534 non-negative integers. Otherwise, the default values are used.
2535 (tramp-convert-file-attributes): Convert uid and gid to integers.
2537 2013-01-04 Glenn Morris <rgm@gnu.org>
2539 * term.el (term-handle-colors-array): Ensure face attributes
2540 are fully specified, not nil. (Bug#13337)
2542 * term.el (term-default-fg-color, term-default-bg-color):
2545 * progmodes/etags.el (tags-compression-info-list): Doc fix.
2546 (tag-find-file-of-tag-noselect): Check auto-compression-mode
2547 rather than 'jka-compr being loaded. (Bug#13338)
2549 2013-01-04 Wesley Dawson <whd@lavabit.com> (tiny change)
2551 * icomplete.el (icomplete-completions):
2552 Honor icomplete-prospects-height once more following
2553 2012-11-29 changes. (Bug#13224)
2555 2013-01-04 Stefan Monnier <monnier@iro.umontreal.ca>
2557 * subr.el (internal--called-interactively-p--get-frame): Find aliases
2558 of called-interactively-p as well (bug#13237).
2560 * view.el (view--enable, view--disable): Rename from view-mode-enable
2561 and view-mode-disable and assume it's called from view-mode.
2562 (view-mode-enable, view-mode-disable): Redefine as obsolete
2563 compatibility layer above view-mode.
2564 (view-mode-enter): Call `view-mode'.
2566 * files.el (after-find-file): Call `view-mode'.
2568 * doc-view.el (doc-view-scale-internally): New var.
2569 (doc-view-enlarge, doc-view-insert-image): Obey it.
2571 2013-01-03 Daiki Ueno <ueno@gnu.org>
2573 * epg.el (epg--start): Ignore errors when /dev/fd/0 does not
2576 2013-01-03 Glenn Morris <rgm@gnu.org>
2578 * mail/rmail.el (rmail-set-header-1): Ignore case.
2579 Handle multi-line headers. (Bug#13330)
2581 * progmodes/make-mode.el (makefile-fill-paragraph): Add doc.
2582 Handle paragraph starting at beginning of buffer.
2584 * subr.el (eval-after-load): Don't purecopy the form, so that it
2585 can be nconc'd later on; reverts 2009-11-11 change. (Bug#13331)
2587 * emacs-lisp/byte-run.el (defun): Place cl declarations
2588 after any interactive spec. (Bug#13265)
2590 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
2592 * emacs-lisp/byte-run.el (defmacro): Use same argument parsing as
2593 defun. Don't check for DECL if DOCSTRING isn't a string.
2596 2013-01-02 Glenn Morris <rgm@gnu.org>
2598 * eshell/em-cmpl.el (eshell-pcomplete):
2599 More thoroughly imitate pcomplete. (Bug#13293)
2601 * files.el (parse-colon-path): Doc fix. (Bug#12351)
2602 Return nil for empty path elements. (Bug#13296)
2604 2013-01-02 Fabián Ezequiel Gallina <fgallina@cuca>
2606 * progmodes/python.el (python-nav-end-of-statement): Rewrite in
2607 order to improve efficiency (Based on Daniel Colascione's
2608 <dancol@dancol.org> patch). (Bug#13182)
2610 2013-01-02 Glenn Morris <rgm@gnu.org>
2612 * vc/log-edit.el (log-edit-header-contents-regexp): Add doc string.
2614 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
2616 * emacs-lisp/byte-run.el (defmacro): Don't lose final nil if
2617 neither DOCSTRING nor DECL was given. (Bug#13316)
2619 2013-01-02 Michael Albinus <michael.albinus@gmx.de>
2621 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Add argument to
2623 (tramp-do-copy-or-rename-file): Ignore errors when calling
2624 `set-file-extended-attributes'.
2626 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
2627 Add handler for `file-acl'.
2628 (tramp-smb-handle-file-acl): New defun.
2630 2013-01-02 Jay Belanger <jay.p.belanger@gmail.com>
2632 * calc/README: Mention ISO 8601 week-numbering dates.
2634 2013-01-01 Martin Rudalics <rudalics@gmx.at>
2636 * view.el (view-mode-enable): New argument run-view-mode-hook.
2637 Run view-mode-hook only when it's non-nil (Bug#13315).
2638 (view-mode-enter): Call view-mode-enable with run-view-mode-hook
2641 2012-12-31 Jürgen Hötzel <juergen@archlinux.org>
2643 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Handle errors
2644 (No device connected, invalid device name). (Bug #13299)
2646 2012-12-31 Martin Rudalics <rudalics@gmx.at>
2648 * window.el (window-resizable--p): Rename to window-resizable-p.
2649 (window-resize-no-error): New function.
2651 * mail/rmail.el (rmail-maybe-display-summary): Restore behavior
2652 broken in fix from 2012-12-28.
2654 2012-12-31 Stefan Monnier <monnier@iro.umontreal.ca>
2656 * subr.el (special-form-p): Don't signal errors on undef aliases.
2658 2012-12-31 Jay Belanger <jay.p.belanger@gmail.com>
2660 * calc/calc-forms.el (math-parse-date): Try using
2661 `math-parse-iso-date' when it looks like it might be needed.
2662 Allow times of 24:00.
2663 (math-parse-date-validate, math-parse-iso-date-validate): Allow times
2666 2012-12-30 Glenn Morris <rgm@gnu.org>
2668 * net/mairix.el (rmail, rmail-summary-displayed, rmail-summary):
2669 Remove unnecessary/buggy autoloads (missing interactive). (Bug#13294)
2670 (rmail-summary-displayed, rmail-summary): Declare.
2671 (mairix-rmail-display): Just require rmail.
2673 2012-12-30 Chong Yidong <cyd@gnu.org>
2675 * emacs-lisp/package.el (package-untar-buffer): Improve integrity
2676 check for the tarball contents.
2678 2012-12-30 Matt Fidler <matt.fidler@alcon.com> (tiny change)
2680 * emacs-lisp/package.el (package-untar-buffer): Handle problematic
2681 tarfile content listings (Bug#13136).
2683 2012-12-30 Mark Lillibridge <mark.lillibridge@hp.com>
2685 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
2686 Insert the undecoded text of the message being forwarded. (Bug#9521)
2688 2012-12-30 Michael Albinus <michael.albinus@gmx.de>
2690 * net/tramp-sh.el (tramp-set-file-uid-gid): Convert UID and GID to
2691 integers, if they are real numbers. (Bug#13282)
2693 * net/tramp-sh.el (tramp-sh-handle-set-file-selinux-context):
2694 Return `t' on success.
2696 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
2697 Add handler for `set-file-selinux-context'.
2699 2012-12-29 Michael Albinus <michael.albinus@gmx.de>
2701 * net/tramp-sh.el (tramp-sh-handle-file-acl): Suppress basic attributes.
2702 (tramp-sh-handle-set-file-acl): Return `t' on success.
2704 2012-12-29 Eli Zaretskii <eliz@gnu.org>
2706 * files.el (backup-buffer-copy, basic-save-buffer-2):
2707 If set-file-extended-attributes fails, fall back on set-file-modes
2708 instead of signaling an error. (Bug#13298)
2709 (basic-save-buffer): Likewise.
2711 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
2713 * progmodes/python.el: Support other commands triggering
2714 python-indent-line so indentation cycling continues to work.
2715 (python-indent-trigger-commands): New defcustom.
2716 (python-indent-line): Use it.
2718 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
2720 * progmodes/python.el (python-shell-send-region): Add blank lines
2721 for non sent code so backtraces remain correct.
2723 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
2725 * progmodes/python.el: Remove cl dependency.
2726 (python-syntax-count-quotes): Replace incf call.
2727 (python-fill-string): Replace setf call.
2729 2012-12-29 Damien Cassou <damien.cassou@gmail.com>
2731 * info.el (info-other-window): New arg, for consistency with info.
2733 2012-12-28 Martin Rudalics <rudalics@gmx.at>
2735 * mail/rmail.el (rmail-maybe-display-summary):
2736 Rewrite (Bug#13066).
2738 2012-12-28 Andreas Schwab <schwab@linux-m68k.org>
2740 * epg.el (epg--start): Modify process-environment locally.
2742 2012-12-28 Daiki Ueno <ueno@gnu.org>
2744 * epg.el: Support pinentry-curses.
2745 Suggested by Werner Koch in
2746 <http://lists.gnu.org/archive/html/emacs-devel/2007-02/msg00755.html>.
2747 (epg-agent-file, epg-agent-mtime): New variable.
2748 (epg--start): Record the modified time of gpg-agent socket file,
2749 to restore Emacs frame after pinentry-curses termination.
2750 (epg-wait-for-completion): Restore Emacs frame here.
2752 2012-12-27 Juri Linkov <juri@jurta.org>
2754 * info.el (Info-file-completions): New variable.
2755 (Info-read-node-name-1): Complete node names in the Info file
2756 when a file name is given. Call `Info-build-node-completions'
2758 (Info-build-node-completions): Add new arg `file'. When it is
2759 non-nil, visit it in a temporary buffer and cache its completions in
2760 `Info-current-file-completions'. Move most of the function body to
2761 `Info-build-node-completions-1'.
2762 (Info-build-node-completions-1): New function with the body from
2763 `Info-build-node-completions'. (Bug#12456)
2765 2012-12-27 Juri Linkov <juri@jurta.org>
2767 * frame.el (frame-maximization-style): Remove user option.
2768 (cycle-frame-maximized): Remove function.
2769 (toggle-frame-maximized): Rewrite and bind to M-<f10>.
2770 (toggle-frame-fullscreen): New command bound to <f11> instead of
2771 `toggle-frame-maximized'.
2772 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00703.html
2774 2012-12-27 Michael Albinus <michael.albinus@gmx.de>
2776 * net/tramp.el (tramp-handle-file-accessible-directory-p): New defun.
2778 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
2779 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
2780 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
2781 for `file-accessible-directory-p'. (Bug#13275)
2783 2012-12-27 Sam Steingold <sds@gnu.org>
2785 * progmodes/cperl-mode.el (cperl-calculate-indent): Do not stagger
2786 continuations, see <http://stackoverflow.com/questions/3582436>.
2788 2012-12-27 Dmitry Gutov <dgutov@yandex.ru>
2790 * progmodes/ruby-mode.el (ruby-indent-beg-re): Only allow "class",
2791 "module" and "def" to have indentation before them.
2792 Regression from 2012-09-07T04:15:56Z!dgutov@yandex.ru (see the new test).
2794 * progmodes/ruby-mode.el: Bump the version to 1.2 (Bug#13200).
2796 2012-12-27 Alan Mackenzie <acm@muc.de>
2798 Speed up fontification where there's large brace blocks.
2799 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Add a limit
2800 to a call of c-beginning-of-decl-1.
2802 2012-12-27 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
2804 * comint.el (comint-adjust-window-point): New function.
2805 (comint-postoutput-scroll-to-bottom):
2806 Call comint-adjust-window-point (Bug#13248).
2808 2012-12-26 Dmitry Gutov <dgutov@yandex.ru>
2810 * progmodes/ruby-mode.el (auto-mode-alist): `purecopy' the
2812 (auto-mode-alist): Associate .gemspec files with ruby-mode
2813 (https://bugs.ruby-lang.org/issues/5453).
2815 2012-12-26 Jürgen Hötzel <juergen@archlinux.org>
2817 * net/tramp-adb.el (tramp-adb-get-ls-command): New defun.
2818 Suppress coloring, if possible (required for BusyBox based systems like
2820 (tramp-adb-handle-file-attributes)
2821 (tramp-adb-handle-insert-directory)
2822 (tramp-adb-handle-file-name-all-completions): Use it.
2823 (tramp-adb-get-toolbox): New defun. Check for remote shell
2824 implementation (BusyBox or Toolbox).
2826 2012-12-24 Constantin Kulikov <zxnotdead@gmail.com> (tiny change)
2828 * startup.el (initial-buffer-choice): Allow function as value
2830 (command-line-1): Handle case where initial-buffer-choice
2831 specifies a function.
2832 * server.el (server-execute): Handle case where
2833 initial-buffer-choice specifies a function.
2835 2012-12-24 Lars Ingebrigtsen <larsi@gnus.org>
2837 * mail/smtpmail.el (smtpmail-try-auth-method): Refactored out into
2839 (smtpmail-try-auth-methods): Forget the user name/password if the
2840 login is unsuccessful (bug#12424).
2842 2012-12-22 Michael Albinus <michael.albinus@gmx.de>
2844 * notifications.el (notifications-notify): Protect body with
2845 `with-demoted-errors'.
2847 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
2848 Check properties of remote device. Restart connection, if there is a
2851 2012-12-21 Chong Yidong <cyd@gnu.org>
2853 * sort.el (sort-subr): Doc fix (Bug#13056).
2855 2012-12-21 Bastien Guerry <bzg@gnu.org>
2857 * progmodes/etags.el (tags-search): Fix typo. Bug #13232.
2859 2012-12-21 Michael Albinus <michael.albinus@gmx.de>
2861 * simple.el (process-file): Overwrite stderr file, if exists.
2863 2012-12-21 Daiki Ueno <ueno@gnu.org>
2865 * epg.el (epg--start): Print GPG_AGENT_INFO in the debug buffer.
2866 (epg-error): Set `error-message' property.
2868 2012-12-21 Chong Yidong <cyd@gnu.org>
2870 * international/mule-cmds.el (read-char-by-name): Signal an error
2871 if the user does not supply a valid character (Bug#13177).
2873 * simple.el (transpose-subr-1): Preserve marker positions by
2874 changing the insertion sequence (Bug#13122).
2876 2012-12-21 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
2878 * simple.el (kill-region): Deactivate mark even for empty regions
2881 2012-12-21 Chong Yidong <cyd@gnu.org>
2883 * help-fns.el (describe-variable): Make sure we get the right
2884 buffer name (Bug#13105). Suggested by Kelly Dean.
2886 2012-12-20 Michael R. Mauger <mmaug@yahoo.com>
2888 * comint.el (comint-redirect-previous-input-string): New variable.
2889 (comint-redirect-setup, comint-redirect-cleanup)
2890 (comint-redirect-preoutput-filter): Use it. Fixes redirection bug.
2891 (comint-redirect-preoutput-filter): Fix verbose message.
2893 2012-12-20 Michael Albinus <michael.albinus@gmx.de>
2895 * progmodes/grep.el (rgrep): Escape command line. Sometimes, it
2896 is too long for Tramp. See discussion in
2897 <http://thread.gmane.org/gmane.emacs.tramp/8233/focus=8244>.
2899 * progmodes/compile.el (compilation-start): Remove line escape
2902 2012-12-20 Dmitry Antipov <dmantipov@yandex.ru>
2904 * vc/ediff-ptch.el (ediff-map-patch-buffer): Use `point-min-marker'.
2907 2012-12-19 Jonas Bernoulli <jonas@bernoul.li>
2909 * emacs-lisp/lisp-mnt.el (lm-section-end): Always end before the
2910 following non-comment text (bug#13207).
2911 (lm-header-multiline): Continuation lines need to be indented more than
2913 (lm-homepage): New function.
2914 (lm-with-file): Don't be confused if narrowing is in effect.
2916 2012-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
2918 * vc/diff-mode.el (diff-post-command-hook): Don't ignore changes at the
2919 very beginning of a hunk (e.g. killing the first line).
2921 2012-12-19 Michael Albinus <michael.albinus@gmx.de>
2923 * net/tramp-sh.el (tramp-sh-handle-file-acl): Delete empty lines
2924 and text properties from returned ACL string.
2925 (tramp-sh-handle-set-file-acl): Do not use additional parentheses
2926 for "setfacl" command.
2928 2012-12-18 Michael Albinus <michael.albinus@gmx.de>
2930 * net/tramp.el (tramp-error-with-buffer): Give a hint to use
2931 `tramp-cleanup-this-connection', when the process has died.
2934 2012-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
2936 * icomplete.el (icomplete-completions): Also use … to truncate prefix.
2938 2012-12-17 Kevin Ryde <user42@zip.com.au>
2940 * files.el (auto-save-file-name-p): Use \` and \' (bug#13186).
2942 2012-12-17 Michael Albinus <michael.albinus@gmx.de>
2944 Add support for preserving ACL entries of files.
2946 * net/tramp.el (tramp-file-name-for-operation): Add `file-acl' and
2947 `set-file-acl' handlers.
2949 * net/tramp-adb.el (tramp-adb-handle-copy-file):
2950 Handle PRESERVE-EXTENDED-ATTRIBUTES.
2952 * net/tramp-compat.el (tramp-compat-copy-file):
2953 Handle PRESERVE-EXTENDED-ATTRIBUTES.
2955 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
2956 Add `file-acl' and `set-file-acl' handlers.
2957 (tramp-gvfs-handle-copy-file):
2958 Handle PRESERVE-EXTENDED-ATTRIBUTES.
2959 (tramp-gvfs-handle-file-acl, tramp-gvfs-handle-set-file-acl):
2962 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
2963 Add `file-acl' and `set-file-acl' handlers.
2964 (tramp-remote-acl-p, tramp-sh-handle-file-acl)
2965 (tramp-sh-handle-set-file-acl): New defuns.
2966 (tramp-sh-handle-copy-file, tramp-do-copy-or-rename-file):
2967 Handle PRESERVE-EXTENDED-ATTRIBUTES.
2969 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
2970 Add `file-acl' and `set-file-acl' handlers.
2971 (tramp-smb-handle-copy-file): Handle PRESERVE-EXTENDED-ATTRIBUTES.
2973 2012-12-17 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
2975 * help-macro.el (make-help-screen): Instead of switch-to-buffer
2976 use pop-to-buffer with NORECORD argument t. As buffer name, use
2977 *Metahelp* with a leading space (Bug#13190).
2979 2012-12-16 Romain Francoise <romain@orebokech.com>
2981 * files.el (file-extended-attributes)
2982 (set-file-extended-attributes): New functions.
2983 (backup-buffer): Use them to handle both SELinux context and ACL
2985 (backup-buffer-copy): Work with an alist of extended attributes,
2986 rather than an SELinux context.
2987 (basic-save-buffer-2): Ditto.
2989 2012-12-16 Timo Myyrä <timo.myyra@gmail.com>
2991 * battery.el (battery-bsd-apm): New function.
2993 2012-12-16 Jay Belanger <jay.p.belanger@gmail.com>
2995 * calc/calc.el (calc-standard-date-formats): Adjust one of the
2996 standard date formats.
2998 2012-12-15 Juri Linkov <juri@jurta.org>
3000 * isearch.el (isearch-mode-map): Bind `C-x 8 RET' to
3001 `isearch-insert-char-by-name'.
3002 (with-isearch-suspended): New defmacro with body mostly from
3003 `isearch-edit-string' except the part that sets
3004 `isearch-new-string' and `isearch-new-message'.
3005 (isearch-edit-string): Use new macro `with-isearch-suspended' with
3006 body that sets `isearch-new-string' and `isearch-new-message'.
3007 (isearch-insert-char-by-name): New command.
3008 * international/mule-cmds.el (read-char-by-name): Let-bind
3009 `enable-recursive-minibuffers' to t.
3010 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00234.html
3012 2012-12-15 Juri Linkov <juri@jurta.org>
3014 * isearch.el (isearch-delete-char, isearch-del-char): Doc fix.
3017 2012-12-15 Christopher Schmidt <christopher@ch.ristopher.com>
3019 * dired-x.el (dired-guess-shell-command): Put colon at the end of
3020 the prompt. (Bug#13045)
3022 2012-12-14 Glenn Morris <rgm@gnu.org>
3024 * emacs-lisp/macroexp.el (macroexp--warn-and-return):
3025 Try to include filename in non-bytecomp warning. (Bug#13132)
3027 2012-12-14 Paul Eggert <eggert@cs.ucla.edu>
3029 Fix permissions bugs with setgid directories etc. (Bug#13125)
3030 * files.el (backup-buffer): Don't rely on 9th output of
3031 file-attributes, as it's now a placeholder. Instead, use the new
3032 optional arg of file-ownership-preserved-p.
3033 (file-ownership-preserved-p): New optional arg GROUP.
3034 Fix mishandling of setuid directories that would cause this
3035 function to return t when it should have returned nil.
3036 Document what happens if the file does not exist, and when
3037 it's not known whether the ownership will be preserved.
3038 * net/tramp-sh.el (tramp-sh-handle-file-ownership-preserved-p):
3040 (tramp-get-local-gid): Use group-gid for integer, as that's
3041 faster and more reliable.
3043 2012-12-14 Julien Danjou <julien@danjou.info>
3045 * progmodes/sql.el (sql-mode-postgres-font-lock-keywords):
3046 Update keywords list, data type and PL/pgSQL.
3048 2012-12-14 Dave Abrahams <dave@boostpro.com>
3050 * vc/ediff-util.el (ediff-buffer-type): New function.
3051 (ediff-clone-buffer-for-current-diff-comparison): Compute the buf-type
3052 rather than taking it as as argument.
3053 (ediff-inferior-compare-regions): Adjust calls accordingly (bug#11319).
3055 2012-12-14 Ryan Crum <ryan.crum@eleostech.com>
3057 * json.el: Add pretty-print option (bug#12634).
3058 (json-encoding-separator, json-encoding-default-indentation)
3059 (json--encoding-current-indentation, json-encoding-pretty-print)
3060 (json-encoding-lisp-style-closings): New vars.
3061 (json--with-indentation): New macro.
3062 (json-encode-hash-table, json-encode-alist, json-encode-plist)
3063 (json-encode-array): Use it to obey json-encoding-pretty-print.
3064 (json-pretty-print-buffer, json-pretty-print): New commands.
3066 2012-12-14 Dmitry Gutov <dgutov@yandex.ru>
3068 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
3069 Extract `ruby-syntax-propertize-expansions'.
3070 (ruby-syntax-propertize-expansions): Only change syntax on
3071 certain string delimiters, to punctuation. This way the common
3072 functions like forward-word and thing-at-point still work.
3073 (ruby-match-expression-expansion): Improve readability.
3074 (ruby-block-contains-point): New function.
3075 (ruby-add-log-current-method): Handle several edge cases.
3077 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
3079 * emacs-lisp/edebug.el (edebug-unload-function): Make sure that
3080 unload-feature finishes even when aborting an ongoing edebug session.
3081 Also, do not worry about edebug-mode, unload-feature takes care of it.
3083 2012-12-13 Andreas Schwab <schwab@suse.de>
3085 * net/tls.el (tls-program): Update customize type.
3087 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
3089 * emacs-lisp/edebug.el (edebug--require-cl-read): New function.
3090 (edebug-setup-hook, cl-read-load-hooks): Use it.
3091 (edebug-unload-function): New function. (Bug#13163)
3093 2012-12-13 Michael Albinus <michael.albinus@gmx.de>
3095 * net/tramp-adb.el (tramp-adb-file-name-p): Make it a defsubst.
3096 Otherwise, there could be errors in autoloading. (Bug#13151)
3098 2012-12-13 Jürgen Hötzel <juergen@archlinux.org>
3100 * net/tramp-adb.el (tramp-adb-wait-for-output): Remove spurious " ^H"
3103 2012-12-13 Alan Mackenzie <acm@muc.de>
3105 Make CC Mode not hang when _some_ lines end in CRLF. Bug #11841.
3106 * progmodes/cc-engine.el (c-backward-comments): Add code to work
3107 around `forward-comment' not recognizing ^M as whitespace.
3109 2012-12-13 Fabián Ezequiel Gallina <fgallina@cuca>
3111 * progmodes/python.el (python-skeleton-class)
3112 (python-skeleton-def): Do not add space after defun name.
3114 2012-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
3116 * emacs-lisp/cl.el (letf): Make it an alias of cl-letf.
3117 (cl--symbol-function): Remove (now that funbound is like nil).
3119 2012-12-12 Glenn Morris <rgm@gnu.org>
3121 * button.el (button--area-button-p): Fix typo.
3123 2012-12-12 Sam Steingold <sds@gnu.org>
3125 * frame.el (frame-maximization-style): New user option.
3126 (toggle-frame-maximized): Toggle frame maximization according to
3127 `frame-maximization-style', bound to <f11>.
3128 (cycle-frame-maximized): Cycle between all maximization styles and
3129 non-maximized frame, bound to shift-<f11>.
3131 2012-12-12 David Cadé <codename68@gmail.com>
3133 * mpc.el (mpc-format): Use truncate-string-to-width (bug#13143).
3135 2012-12-12 Jonas Bernoulli <jonas@bernoul.li>
3137 * lisp/emacs-lisp/eieio.el: Prettier object pretty-printing (bug#13115).
3138 (eieio-override-prin1): Don't quote kewords and booleans.
3139 (object-write) <eieio-default-superclass>: Don't put closing parens
3140 on new line, avoid needless empty lines, align values that are objects
3141 with the slot keyword (instead of beginning on the same line).
3142 (eieio-list-prin1): Align value with slot keyword; increase
3143 eieio-print-depth before printing members of the list.
3145 2012-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
3147 * mail/emacsbug.el (report-emacs-bug): Move the intangible text to
3148 a display text-property.
3149 (report-emacs-bug-hook): Don't bother deleting it any more.
3151 * hilit-chg.el (highlight-save-buffer-state): Delete.
3152 Use with-silent-modifications instead.
3153 (hilit-chg-set-face-on-change): Only fixup the text that's modified.
3155 * button.el: Handle buttons in display text-properties.
3156 (button--area-button-p, button--area-button-string):
3157 Use (STRING . STRING-POS) representation instead of just STRING.
3159 2012-12-11 Eli Zaretskii <eliz@gnu.org>
3161 * makefile.w32-in (compile4-SH): Fix a typo that caused term
3162 subdirectory be skipped.
3164 2012-12-11 Glenn Morris <rgm@gnu.org>
3166 * net/rcirc.el (rcirc-urls, rcirc-condition-filter): Doc fixes.
3168 * progmodes/f90.el (f90-line-continued, f90-indent-region):
3169 Treat preprocessor lines embedded in continuations like comments.
3170 (f90-indent-line): Special-case preprocessor lines. (Bug#13138)
3172 2012-12-11 Jay Belanger <jay.p.belanger@gmail.com>
3174 * calc/calc.el (calc-standard-date-formats): Add more date
3176 * calc/calc-forms.el (math-parse-iso-date): New function.
3177 (math-parse-date): Use `math-parse-iso-date' when appropriate.
3178 (math-parse-iso-date-validate): Add extra error checking.
3179 (calc-date-notation): Add ability to access new date formats.
3181 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
3183 * hi-lock.el (hi-lock--regexps-at-point): Fix boundary case for
3184 font-lock as well as when there's no text-property.
3186 2012-12-10 Jambunathan K <kjambunathan@gmail.com>
3188 * hi-lock.el: Refine the choice of default face.
3189 (hi-lock-keyword->face): New function. Use it wherever we used
3191 (hi-lock--regexps-at-point): Ignore faces that can't come from hi-lock.
3192 (hi-lock--last-face): Remove var.
3193 (hi-lock--unused-faces): New var to replace it.
3194 (hi-lock-read-face-name): Use/maintain it.
3195 (hi-lock-unface-buffer): Maintain it. Fix error for the C-u case.
3196 (hi-lock-set-pattern): Ignore new rule if it has the same regexp even
3197 if it has another face.
3199 2012-12-10 Eli Zaretskii <eliz@gnu.org>
3201 * subr.el (w32notify-handle-event): New function.
3202 (inotify-handle-event): Doc fix.
3204 2012-12-10 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3206 * subr.el (inotify-event-p, inotify-handle-event): New functions.
3208 2012-12-10 Dani Moncayo <dmoncayo@gmail.com>
3210 * simple.el (just-one-space): Doc fix.
3212 2012-12-10 Eli Zaretskii <eliz@gnu.org>
3214 * textmodes/texinfo.el (texinfo-enable-quote-envs): Add "smallexample".
3216 2012-12-10 Le Wang <l26wang@gmail.com>
3218 * hilit-chg.el (hilit-chg-set-face-on-change): Don't burp in
3219 narrowed buffer (bug#12361).
3221 2012-12-10 Juanma Barranquero <lekktu@gmail.com>
3223 * vc/vc-hooks.el (vc-state): Doc fix.
3225 2012-12-10 Glenn Morris <rgm@gnu.org>
3227 * mail/rmail.el (rmail-maybe-display-summary):
3228 Preserve buffer, in case select-window changes it. (Bug#13066)
3230 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
3232 * emacs-lisp/cl.el, emacs-lisp/cl-lib.el: Move cl-unload-function and
3233 cl-load-hook where they belong.
3235 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
3237 * emacs-lisp/cl-lib.el (cl-declaim): Paren typo.
3239 2012-12-09 Eli Zaretskii <eliz@gnu.org>
3241 Parallelize byte compilation on MS-Windows.
3242 * makefile.w32-in (WINS_BASIC1, WINS_BASIC2, WINS_BASIC3)
3243 (WINS_BASIC4): New variables, subdivide subdirectories into 4 parts.
3244 (WINS_BASIC): Define as concatenation of the above.
3245 (compile): Subdivide into 4 separate and independent jobs that can
3247 (compile0-CMD, compile0-SH): New targets for compiling
3248 COMPILE_FIRST files, which are prerequisites for the rest of the
3250 (compile1-CMD, compile2-CMD, compile3-CMD, compile4-CMD):
3251 New targets for parallel compilation with cmd.exe.
3252 (compile1-SH, compile2-SH, compile3-SH, compile4-SH): Ditto for
3253 compiling under a Unixy shell.
3255 2012-12-09 Chong Yidong <cyd@gnu.org>
3257 * simple.el (set-mark-default-inactive): Delete this
3258 accidentally-introduced option.
3259 (set-mark-command, exchange-point-and-mark): Remove calls.
3261 2012-12-09 Glenn Morris <rgm@gnu.org>
3263 * emacs-lisp/lisp-mode.el (eval-defun-1): Doc fix.
3264 Respect a defcustom's :set function, if appropriate. (Bug#109)
3265 (eval-defun): Doc fix.
3267 2012-12-08 Juri Linkov <juri@jurta.org>
3269 * info.el (Info-copy-current-node-name, Info-breadcrumbs)
3270 (Info-fontify-node, Info-bookmark-make-record): Remove the
3271 file extension from Info-current-file (Bug#13016).
3273 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
3275 * hi-lock.el (hi-lock-unface-buffer): If there's no matching regexp at
3276 point, still provide some default.
3277 (hi-lock--regexps-at-point): Don't enforce a "hi-lock-" prefix on face
3278 names, since we don't use it right now. Actually return the list.
3279 (hi-lock-file-patterns, hi-lock-interactive-patterns): Use defvar-local.
3281 2012-12-07 Chong Yidong <cyd@gnu.org>
3283 * novice.el (disabled-command-function): Remove a spurious help
3284 xref (Bug#13043). Suggested by Kelly Dean.
3286 * subr.el (text-clone-maintain): Fix clone overlay deletion when a
3287 syntax is specified (Bug#13025).
3289 * info.el (Info-set-mode-line): Remove the file extension from
3290 Info-current-file if there is one (Bug#13016).
3292 2012-12-07 Glenn Morris <rgm@gnu.org>
3294 * mail/rmail.el (rmail-mime-decoded): New permanent local.
3295 (rmail-show-message-1): Set rmail-mime-decoded when appropriate.
3296 * mail/rmailedit.el (rmail-cease-edit): Respect rmail-mbox-format
3297 and rmail-mime-decoded. (Bug#9841)
3299 * mail/unrmail.el (unrmail-mbox-format): New option. (Bug#6574)
3300 (batch-unrmail, unrmail): Doc fixes.
3301 (unrmail): Respect unrmail-mbox-format.
3302 * mail/rmail.el (rmail-mbox-format): New option.
3303 (rmail-show-message-1): Respect rmail-mbox-format.
3305 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
3307 * emacs-lisp/cl-macs.el (cl-tagbody): New macro.
3309 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3311 Further cleanup of the "cl-" namespace. Fit CL in 80 columns.
3312 * emacs-lisp/cl-macs.el (cl--pop2, cl--optimize-safety)
3313 (cl--optimize-speed, cl--not-toplevel, cl--parse-loop-clause)
3314 (cl--expand-do-loop, cl--proclaim-history, cl--declare-stack)
3315 (cl--do-proclaim, cl--proclaims-deferred): Rename from the "cl-" prefix.
3316 (cl-progv): Don't rely on dynamic scoping to find the body.
3317 * emacs-lisp/cl-lib.el (cl--optimize-speed, cl--optimize-safety)
3318 (cl--proclaims-deferred): Rename from the "cl-" prefix.
3319 (cl-declaim): Use backquotes.
3320 * emacs-lisp/cl-extra.el (cl-make-random-state, cl-random-state-p):
3321 Use "cl--" prefix for the object's tag.
3323 * ses.el: Use advice-add/remove.
3324 (ses--advice-copy-region-as-kill, ses--advice-yank): New functions.
3325 (copy-region-as-kill, yank): Use advice-add.
3326 (ses-unload-function): Use advice-remove.
3328 2012-12-06 Jonas Bernoulli <jonas@bernoul.li>
3330 * button.el: Make them work in header-lines (bug#12817).
3331 (button-map): Add bindings for header-line and mode-line use.
3332 (button-get, button-put, button-label): `button' may now be a string.
3333 (button-activate): Don't make it a defsubst.
3334 (button--area-button-p, button--area-button-string): New functions.
3335 (make-text-button): Fix the return value when `beg' was a string.
3336 (push-button): Handle the mode-line case.
3338 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3340 * progmodes/sql.el: Use cl-lib and lexical-binding; various cleanup.
3341 (sql-signum): Remove. Use `cl-signum' instead.
3342 (sql-read-passwd): Remove; use read-passwd instread.
3343 (sql-get-login-ext): Use read-string.
3344 (sql-get-login): Use dolist and pcase.
3345 (sql--completion-table): Rename from sql-try-completion.
3346 Use complete-with-action.
3347 (sql-mode): Don't change abbrev-all-caps globally.
3348 (sql-connect): Don't rely on dynamic scoping for `new-name'.
3349 (sql-postgres-completion-object): Initialize vars in their `let'.
3350 (sql-comint-sybase, sql-comint-sqlite, sql-comint-mysql)
3351 (sql-comint-solid, sql-comint-ms, sql-comint-postgres)
3352 (sql-comint-interbase): Use a single append, without setq.
3353 (sql-comint-linter): Same, and unwind-protect the LINTER_MBX var.
3355 * hi-lock.el: Rework the default face and the serialize regexp code.
3356 (hi-lock--auto-select-face-defaults): Remove.
3357 (hi-lock-string-serialize-serial): Remove.
3358 (hi-lock--hashcons-hash): Rename from hi-lock-string-serialize-hash;
3360 (hi-lock--hashcons): Rename from hi-lock-string-serialize, return an
3362 (hi-lock-set-pattern): Adjust accordingly.
3363 (hi-lock--regexps-at-point): Simplify accordingly.
3364 (hi-lock--auto-select-face-defaults): Remove.
3365 (hi-lock--last-face): New var to replace it.
3366 (hi-lock-read-face-name): Rewrite (bug#11095).
3367 (hi-lock-unface-buffer): Arrange for the face to be the next default.
3369 2012-12-06 Michael Albinus <michael.albinus@gmx.de>
3371 * net/tramp.el (tramp-replace-environment-variables):
3372 Hide compiler warning.
3373 (tramp-file-name-for-operation): Remove `executable-find',
3374 `start-process', `call-process' and `call-process-region'.
3376 * net/tramp-compat.el (top): Don't require 'tramp-util and 'tramp-vc.
3378 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Ensure backward
3381 * net/tramp-sh.el (top): Remove `tramp-sh-handle-call-process-region'.
3383 2012-12-06 Chong Yidong <cyd@gnu.org>
3385 * ffap.el (ffap-replace-file-component): Fix typo.
3387 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3389 * progmodes/octave-mod.el (octave-mark-block): Move out of tokens and
3390 fix open-paren-like token test (bug#12785).
3392 2012-12-06 Glenn Morris <rgm@gnu.org>
3394 * mail/rmailsum.el (rmail-new-summary): Tweak for
3395 rmail-maybe-display-summary changing buffer. (Bug#13066)
3397 2012-12-06 Juri Linkov <juri@jurta.org>
3399 * info.el (Info-fontify-node): Don't hide the last newline.
3402 2012-12-06 Katsumi Yamaoka <yamaoka@jpl.org>
3404 * mail/mailabbrev.el (mail-abbrev-expand-wrapper): Work in minibuffer
3405 so as to enable message-read-from-minibuffer to expand mail aliases.
3407 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3409 * minibuf-eldef.el (minibuf-eldef-update-minibuffer): Don't mess with
3410 the `intangible' property.
3411 Suggested by Christopher Schmidt <christopher@ch.ristopher.com>
3413 2012-12-05 Deniz Dogan <deniz@dogan.se>
3415 * net/rcirc.el (rcirc-urls): Update documentation.
3416 (rcirc-condition-filter): New function.
3417 (rcirc-browse-url, rcirc-markup-urls): Use only URLs before point
3418 and exclude consecutive duplicate URLs (Bug#6082).
3420 2012-12-05 Michael Albinus <michael.albinus@gmx.de>
3422 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
3423 Check return code of copy command.
3425 * net/tramp-adb.el (tramp-adb-sdk-dir, tramp-adb-prompt):
3426 Use group `tramp'. Add version.
3428 2012-12-05 Chong Yidong <cyd@gnu.org>
3430 * ffap.el (ffap-url-regexp): Don't require matching at front of
3432 (ffap-url-p): If only a substring matches, return that.
3433 (ffap-url-at-point): Use the return value of ffap-url-p.
3434 (ffap-read-file-or-url, ffap-read-file-or-url-internal)
3435 (find-file-at-point, dired-at-point, dired-at-point-prompter)
3436 (ffap-guess-file-name-at-point): Likewise.
3437 (ffap-replace-file-component): Fix typo.
3439 * info.el (info-display-manual): Add existing Info buffers, whose
3440 files may not be in Info-directory-list, to the completion.
3441 (info--manual-names): New helper function.
3443 2012-12-05 Glenn Morris <rgm@gnu.org>
3445 * vc/vc-hg.el (vc-hg-resolve-when-done, vc-hg-find-file-hook):
3446 New functions, for detecting and resolving conflicts. (Bug#10709)
3448 2012-12-04 Jambunathan K <kjambunathan@gmail.com>
3450 * hi-lock.el (hi-lock-auto-select-face): New user variable.
3451 (hi-lock-auto-select-face-defaults): New buffer local variable.
3452 (hi-lock-read-face-name): Honor `hi-lock-auto-select-face'.
3453 (hi-lock-unface-buffer): Prompt user with useful defaults.
3454 With prefix arg, unhighlight all hi-lock patterns in buffer.
3456 2012-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
3458 * obsolete/terminal.el, obsolete/longlines.el: Add obsolecence info.
3460 2012-12-04 Michael Albinus <michael.albinus@gmx.de>
3462 * Makefile.in (TRAMP_SRC):
3463 * makefile.w32-in (TRAMP_SRC): Add tramp-adb.el.
3465 2012-12-04 Juergen Hoetzel <juergen@archlinux.org>
3467 * net/tramp-adb.el: New package.
3469 2012-12-04 Chong Yidong <cyd@gnu.org>
3471 * terminal.el: Move to obsolete/.
3473 * longlines.el: Move to obsolete/.
3475 * vc/ediff-diff.el (ediff-extract-diffs, ediff-extract-diffs3):
3476 Remove code referring to longlines mode.
3478 2012-12-03 Juri Linkov <juri@jurta.org>
3480 * sort.el (delete-duplicate-lines): New command. (Bug#13032)
3482 2012-12-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3484 * textmodes/ispell.el (ispell-init-process)
3485 (ispell-start-process, ispell-internal-change-dictionary):
3486 Make sure personal dictionary name is expanded after initial
3487 `default-directory' value. Use expanded strings for
3488 keep/restart checks and for value (Bug#13019).
3490 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
3492 * calc/calc-forms.el (math-date-to-iso-dt): Fix weekday number.
3494 2012-12-03 Leo Liu <sdl.web@gmail.com>
3496 * files.el (dir-locals-read-from-file): Check file non-empty
3497 before reading. (Bug#13038)
3499 2012-12-03 Glenn Morris <rgm@gnu.org>
3501 * jka-cmpr-hook.el (jka-compr-get-compression-info):
3502 Remove any version extension before checking filename. (Bug#13006)
3503 (jka-compr-compression-info-list): Belated :version bump.
3505 2012-12-03 Chong Yidong <cyd@gnu.org>
3507 * simple.el (transient-mark-mode): Doc fix (Bug#11523).
3509 * buff-menu.el (Buffer-menu-delete-backwards, Buffer-menu-mode)
3510 (buffer-menu): Doc fix (Bug#12294).
3512 2012-12-03 Roland Winkler <winkler@gnu.org>
3514 * calendar/diary-lib.el (diary-header-line-format): Use keybinding
3515 of diary-show-all-entries in the diary buffer (Bug#12994).
3517 2012-12-03 Michael Albinus <michael.albinus@gmx.de>
3519 * net/tramp-sh.el (tramp-perl-encode): Use "read STDIN" instead of
3520 "<STDIN>". This is binary safe.
3522 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
3524 * calc/calc-forms.el (math-absolute-from-iso-dt)
3525 (math-date-to-iso-dt, math-parse-iso-date-validate)
3526 (math-iso-dt-to-date): New functions.
3527 (math-fd-iso-dt, math-fd-isoyear, math-fd-isoweek)
3528 (math-fd-isoweekday): New variables.
3529 (calc-date-notation, math-parse-standard-date, math-format-date)
3530 (math-format-date-part): Add support for more formatting codes.
3532 2012-12-02 Dmitry Gutov <dgutov@yandex.ru>
3534 * vc/vc.el (vc-delete-file, vc-rename-file): Default to the
3535 current buffer's file name when called interactively (Bug#12488).
3537 2012-12-02 Juri Linkov <juri@jurta.org>
3539 * info.el (info-display-manual): Don't clobber an existing Info
3540 buffer (Bug#10770). Add completion (Bug#10771).
3542 2012-12-01 Yuya Nishihara <yuya@tcha.org> (tiny change)
3544 * vc/vc-hooks.el (vc-find-file-hook): Expand buffer-file-truename
3545 before using it for comparison (Bug#5297).
3547 2012-12-01 Jari Aalto <jari.aalto@cante.net>
3549 * textmodes/css-mode.el (css-current-defun-name): New function.
3552 * textmodes/sgml-mode.el (html-current-defun-name): New function.
3553 (html-mode): Use it.
3555 2012-12-01 Chong Yidong <cyd@gnu.org>
3557 Modularize add-log-current-defun (Bug#2224).
3558 Suggested by Jari Aalto.
3560 * vc/add-log.el (add-log-current-defun-function): Doc fix.
3561 (add-log-current-defun): Move mode-specific code to other files.
3562 (add-log-lisp-like-modes, add-log-c-like-modes)
3563 (add-log-tex-like-modes): Variables deleted.
3565 * emacs-lisp/lisp-mode.el (lisp-current-defun-name): New.
3566 (lisp-mode-variables): Use it.
3568 * progmodes/cc-mode.el (c-common-init):
3569 * progmodes/cperl-mode.el (cperl-mode): Set a value for
3570 add-log-current-defun-function.
3572 * progmodes/m4-mode.el (m4-current-defun-name): New function.
3575 * progmodes/perl-mode.el (perl-current-defun-name): New.
3576 (perl-mode): Use it.
3578 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
3579 Use lisp-current-defun-name.
3581 * textmodes/tex-mode.el (tex-current-defun-name): New.
3582 (tex-common-initialization): Use it.
3584 * textmodes/texinfo.el (texinfo-current-defun-name): New.
3585 (texinfo-mode): Use it.
3587 2012-12-01 Chong Yidong <cyd@gnu.org>
3589 * emacs-lisp/lisp-mode.el (lisp-mode-variables, lisp-mode):
3590 * progmodes/autoconf.el (autoconf-mode):
3591 * progmodes/js.el (js-mode):
3592 * progmodes/make-mode.el (makefile-mode, makefile-makepp-mode)
3593 (makefile-bsdmake-mode, makefile-imake-mode, makefile-browse):
3594 * progmodes/perl-mode.el (perl-mode):
3595 * progmodes/sh-script.el (sh-mode, sh-set-shell):
3596 * textmodes/css-mode.el (css-mode):
3597 * textmodes/sgml-mode.el (html-mode, sgml-mode)
3598 (sgml-tags-invisible, sgml-guess-indent):
3599 * textmodes/tex-mode.el (tex-common-initialization)
3600 (latex-complete-bibtex-keys, tex-shell, tex-main-file)
3601 (doctex-mode, plain-tex-mode, latex-mode):
3602 * textmodes/texinfo.el (texinfo-mode): Use setq-local.
3604 2012-12-01 Kirk Kelsey <kirk.kelsey@0x4b.net>
3606 * vc/vc-hg.el (vc-hg-next-revision):
3607 Ensure use of default "tip" output format. (Bug#6968)
3609 2012-12-01 Kim F. Storm <storm@cua.dk>
3611 * startup.el (fancy-startup-tail): Add a clickable link
3614 2012-12-01 Chong Yidong <cyd@gnu.org>
3616 * startup.el (fancy-startup-tail): Improve the message about
3617 auto-save files (Bug#2176).
3619 * files.el (recover-session): Improve the descriptive message, and
3620 use substitute-command-keys.
3622 2012-12-01 Glenn Morris <rgm@gnu.org>
3624 * ido.el (ido-file-internal):
3625 Handle other-window, other-frame for dired. (Bug#13036)
3627 2012-11-30 Glenn Morris <rgm@gnu.org>
3629 * icomplete.el (icomplete-separator): Fix :version.
3631 2012-11-30 Chong Yidong <cyd@gnu.org>
3633 * shell.el (shell): For C-u M-x shell, use an inactive shell
3634 buffer as the default (Bug#1975).
3635 (shell-apply-ansi-color, shell-reapply-ansi-color): New functions.
3636 (shell-mode): Use them to reapply ansi colorization if Shell mode
3639 2012-11-30 Yuriy Vostrikov <delamonpansie@gmail.com> (tiny change)
3641 * vc/vc-git.el (vc-git-command): Disable the pager (Bug#6137).
3643 2012-11-30 Samuel Bronson <naesten@gmail.com>
3645 * progmodes/grep.el (grep-compute-defaults): Do not pass the -e
3646 flag to xargs, for compatibility with BSD xargs (Bug#11703).
3648 2012-11-30 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
3650 * textmodes/fill.el (fill-region-as-paragraph): Handle overshoot
3651 by move-to-column (Bug#3234).
3653 2012-11-30 Chong Yidong <cyd@gnu.org>
3655 * longlines.el (longlines-wrap-line, longlines-encode-region):
3656 Preserve text properties (Bug#1425).
3658 2012-11-30 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
3660 * vc/vc.el (vc-register): Allow registering a file which is
3661 already registered with a different backend (Bug#10589).
3663 2012-11-29 Jambunathan K <kjambunathan@gmail.com>
3664 Stefan Monnier <monnier@iro.umontreal.ca>
3666 * icomplete.el: Change separator; add ido-style commands.
3667 (icomplete-show-key-bindings): Remove custom var.
3668 (icomplete-get-keys): Remove function.
3669 (icomplete-forward-completions, icomplete-backward-completions):
3671 (icomplete-minibuffer-map): New var.
3672 (icomplete-minibuffer-setup): Use it.
3673 (icomplete-exhibit): Don't delay if the list of completions is known.
3674 (icomplete-separator): New custom.
3675 (icomplete-completions): Use it.
3676 * minibuffer.el (completion-all-sorted-completions): Delete duplicates.
3677 (minibuffer-force-complete-and-exit): New command.
3678 (minibuffer--complete-and-exit): New function extracted from
3679 minibuffer-complete-and-exit.
3680 (minibuffer-complete-and-exit): Use it.
3682 * progmodes/etags.el (visit-tags-table-buffer): Give a more precise
3683 error message when the file doesn't exist (bug#12974).
3685 2012-11-29 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
3687 * simple.el (activate-mark): Run activate-mark-hook (bug#13027).
3689 2012-11-29 Glenn Morris <rgm@gnu.org>
3691 * files.el (hack-dir-local-variables): Warn if try to set
3692 coding via dir-locals, since it doesn't work. (Bug#7169)
3694 Add desktop support for restoring vc-dir buffers. (Bug#10606)
3695 * vc/vc-dir.el (vc-dir-mode): Autoload it (for desktop restore).
3696 Set buffer-local value of desktop-save-buffer.
3697 (vc-dir-desktop-buffer-misc-data, vc-dir-restore-desktop-buffer):
3699 (desktop-buffer-mode-handlers): Add vc-dir-mode entry.
3700 * desktop.el (desktop-save-buffer-p): Treat vc-dir like dired.
3702 * files.el (inhibit-local-variables-ignore-case): New. (Bug#10610)
3703 (inhibit-local-variables-p): Use inhibit-local-variables-ignore-case.
3705 (inhibit-local-variables-regexps, inhibit-local-variables-suffixes):
3708 2012-11-28 Jay Belanger <jay.p.belanger@gmail.com>
3710 * calc/calc-forms.el (calc-date-notation): Fix regexp
3711 used to find time codes. Fix symbol for seconds.
3713 2012-11-27 Glenn Morris <rgm@gnu.org>
3715 * emacs-lisp/derived.el (derived-mode-make-docstring):
3716 Don't mention "abbrev" or "syntax" if nil. (Bug#11277)
3718 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
3720 * textmodes/table.el (table-insert): Don't use `symbol-name' on
3721 lexically scoped variables (bug#13005).
3723 2012-11-27 Glenn Morris <rgm@gnu.org>
3725 * vc/vc-hooks.el (vc-mistrust-permissions):
3726 Default to t, to avoid data-loss. (Bug#11490)
3728 2012-11-27 Fabián Ezequiel Gallina <fgallina@cuca>
3730 * progmodes/python.el (python-indent-guess-indent-offset):
3731 If indentation is guessed make python-indent-offset buffer-local.
3733 Fix Imenu regression.
3734 * progmodes/python.el (python-nav-beginning-of-defun):
3735 Fix forward movement when statement(s) separates point from defun.
3736 (python-imenu-prev-index-position): New function.
3738 2012-11-27 Eli Zaretskii <eliz@gnu.org>
3740 * subr.el (buffer-file-type): Declare with defvar-local. Doc fix.
3742 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
3743 Don't set buffer-file-type. Return nil. (Bug#12989)
3745 2012-11-27 Glenn Morris <rgm@gnu.org>
3747 * hippie-exp.el (hippie-expand-try-functions-list):
3748 Re-autoload it. (Bug#12982)
3750 2012-11-27 Eli Zaretskii <eliz@gnu.org>
3752 * descr-text.el (describe-char-padded-string):
3753 Call internal-char-font only on GUI frames. (Bug#11964)
3755 2012-11-27 Andreas Schwab <schwab@linux-m68k.org>
3757 * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
3758 and obsoletion message.
3760 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
3762 * emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
3763 the constructs to keep outside of the `cl-block' (bug#12977).
3765 2012-11-27 Chong Yidong <cyd@gnu.org>
3767 * mouse.el (mouse-drag-line): Even if the line is not draggable,
3768 keep reading until we get the up-event anyway, in order to process
3769 the up-event for mouse-1-click-follows-link (Bug#12971).
3771 2012-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
3773 * emacs-lisp/advice.el (ad-should-compile): Don't compile advice if the
3774 base function is not yet defined (bug#12965).
3775 (ad-activate-advised-definition): Use ad-compile-function.
3776 (ad-activate): Use cond.
3778 2012-11-25 Leo Liu <sdl.web@gmail.com>
3780 * textmodes/sgml-mode.el (sgml-tag): Fix indentation for closing tag.
3783 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
3785 * textmodes/reftex-parse.el (reftex-parse-from-file): Use variable
3786 reftex-section-info-function in order to be compatible with
3787 Texinfo integration.
3789 * textmodes/reftex.el (reftex-section-pre-regexp)
3790 (reftex-section-post-regexp, reftex-section-info-function):
3792 (reftex-compile-variables): Use variables reftex-section-pre-regexp,
3793 reftex-section-post-regexp, and reftex-section-info-function in order
3794 to be compatible with Texinfo integration.
3796 * textmodes/reftex-toc.el (reftex-toc-promote-action):
3797 use reftex-section-pre-regexp variable in order to be compatible with
3798 Texinfo integration.
3800 2012-11-25 Chong Yidong <cyd@gnu.org>
3802 * faces.el: Make face-spec-set more analogous to setq.
3803 (face-spec-set): Change the third arg to specify whether this
3804 function is being called via defface, customize, or a third party.
3805 Set the appropriate symbol properties. Clear the override spec if
3806 setting via Custom. Initialize face if necessary. (Bug#4988)
3807 (face-spec-recalc): Allow theme faces to completely replace the
3808 defface spec, in the same way as custom faces (Bug#8454).
3810 * cus-face.el (custom-declare-face): Move face initialization to
3812 (custom-theme-set-faces): Don't initialize the face name here, as
3813 that is now done in face-spec-set.
3815 * cus-edit.el (custom-face-set, custom-face-mark-to-save)
3816 (custom-face-reset-saved, custom-face-mark-to-reset-standard):
3817 Simplify by using the new arg to face-spec-set.
3819 * emacs-lisp/lisp-mode.el (eval-defun-1): When evaluating defface,
3820 reset face-override-spec too, and use custom-declare-face.
3822 2012-11-24 Jan Djärv <jan.h.d@swipnet.se>
3824 * term/ns-win.el (ns-initialize-window-system): Move creation of
3825 fontsets here (Bug#11964).
3827 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
3829 * ses.el (ses-rename-cell): Correct bug on mode-line update after
3832 2012-11-24 Chong Yidong <cyd@gnu.org>
3834 * woman.el (woman-default-faces, woman-monochrome-faces): Mark as
3837 * custom.el (custom-theme-set-variables): Use a topological sort
3838 for ordering by custom dependencies (Bug#12952).
3839 (custom--sort-vars, custom--sort-vars-1): New functions.
3841 2012-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
3843 * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
3844 lexical-binding (bug#12938).
3846 2012-11-24 Wolfgang Jenkner <wjenkner@inode.at>
3848 * image-mode.el (image-transform-check-size): Use assertions only
3849 for images of type imagemagick.
3851 Otherwise no error, image-transform-fit-to-{width,height} is
3852 silently ignored, as before. Doc fix.
3854 2012-11-24 Chong Yidong <cyd@gnu.org>
3856 * faces.el (color-defined-p): Doc fix (Bug#12853).
3858 2012-11-24 Juri Linkov <juri@jurta.org>
3860 * dired.el (dired-mark): Add optional arg `interactive'.
3861 Check for `use-region-p' if `interactive' is non-nil.
3862 (dired-unmark, dired-flag-file-deletion): Add optional arg
3863 `interactive'. Call `dired-mark' with the arg `interactive'.
3866 * wdired.el: Revert 2012-10-17 change partly and replace it with
3867 Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
3868 (wdired-finish-edit): Add marks for new file names to
3869 `wdired-old-marks'. Restore marks using `dired-mark-remembered'
3870 after `revert-buffer'.
3871 (wdired-do-renames): Remove calls to `dired-remove-file',
3872 `dired-add-file', `dired-add-entry'. (Bug#11795)
3874 2012-11-24 Alan Mackenzie <acm@muc.de>
3876 * progmodes/cc-defs.el (c-version): Bump to 5.32.4.
3878 Fix bugs in the state cache. Enhance a debugging mechanism.
3879 * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
3880 "brace at column zero" strategy for C++.
3881 (c-append-lower-brace-pair-to-state-cache): Repair algorithm.
3882 (c-parse-state-point): New variable.
3883 (c-record-parse-state-state): Record old parse state with
3884 `copy-tree'. Record previous value of point.
3885 (c-debug-parse-state-double-cons): New debugging function.
3886 (c-debug-parse-state): Call the above new function.
3887 (c-toggle-parse-state-debug): Output a confirmatory message.
3889 * progmodes/cc-mode.el (c-before-change, c-after-change):
3890 Call c-invalidate-state-cache from `c-before-change' instead of
3893 2012-11-23 Chong Yidong <cyd@gnu.org>
3895 * find-cmd.el (find-constituents): Add executable, ipath,
3896 readable, samefile, writable, daystart, regextype (Bug#12856).
3898 2012-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
3900 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: Use cl-lib and lexical-binding.
3902 2012-11-22 Paul Eggert <eggert@cs.ucla.edu>
3904 * calc/calc.el (calc-gregorian-switch): Move to after calc-refresh
3905 definition. This fixes a bootstrap failure.
3906 (calc-gregorian-switch): In menu, put dates before regions.
3907 This is easier to follow, lines up better in the menu, and lets us
3908 coalesce regions that switch at the same time. Give country
3909 names, not "Vatican", as that's better for non-expert users.
3910 Use names that are stable between the date of switch and now, e.g.,
3911 Bohemia and Moravia (which existed then and now) and not
3912 Czechoslovakia (which didn't exist then and doesn't exist now).
3913 What is now the U.S. mostly did not switch at the same time as
3914 Britain, so omit the U.S. Correct spelling of "Britain".
3915 Catholic Switzerland was too much of a mess, so omit it.
3917 2012-11-22 Jay Belanger <jay.p.belanger@gmail.com>
3919 * calc/calc.el (calc-gregorian-switch): Refresh the Calc buffer
3920 after the variable is changed.
3922 2012-11-21 Daniel Colascione <dancol@dancol.org>
3924 * progmodes/sql.el (sql-mode-font-lock-object-name): Support IF NOT EXISTS
3925 in SQL declarations for font-lock.
3926 (sql-imenu-generic-expression): Teach imenu about IF NOT EXISTS.
3928 2012-11-21 Glenn Morris <rgm@gnu.org>
3930 * faces.el (face-underline-p, face-inverse-video-p, face-bold-p)
3931 (face-italic-p): Add optional argument "inherit".
3933 * faces.el (set-face-inverse-video, set-face-bold, set-face-italic):
3934 Remove -p suffix from names, for consistency with other set-face-*.
3935 (set-face-inverse-video): Fix interactive spec.
3936 * play/gamegrid.el (gamegrid-make-mono-tty-face):
3937 * textmodes/table.el (table--update-cell-face):
3938 Use set-face-inverse-video rather than now obsolete alias.
3940 2012-11-21 Eli Zaretskii <eliz@gnu.org>
3942 * simple.el (line-move): Don't call line-move-partial if
3943 scroll-conservatively is in effect. (Bug#12927)
3945 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
3947 * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
3948 Fallback on completion-at-point rather than
3949 pcomplete-expand-and-complete, and only if pcomplete actually failed.
3950 (eshell-cmpl-initialize): Setup completion-at-point.
3952 * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
3954 * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
3956 2012-11-21 Michael Albinus <michael.albinus@gmx.de>
3958 * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
3959 are remote, check out-of-band property for both.
3961 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
3963 * window.el (switch-to-buffer): Re-add the warning that was lost in the
3966 2012-11-21 Paul Eggert <eggert@cs.ucla.edu>
3968 More minor time fixes.
3969 * calendar/time-date.el: Commentary fix.
3970 * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
3971 too much other code depends on (0 0) time stamps.
3972 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
3973 Add a couple of FIXME comments.
3975 Minor cleanup for times as lists of four integers.
3976 * files.el (dir-locals-directory-cache):
3977 * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
3979 * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
3980 * ps-bdf.el (bdf-file-newer-than-time):
3981 Process four-integers time stamps, not two. Doc fixes.
3983 2012-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
3985 * uniquify.el (uniquify-managed): Use defvar-local.
3986 (rename-buffer, create-file-buffer): Advise with advice-add.
3987 (uniquify-unload-function): Unadvise accordingly.
3989 * emacs-lisp/trace.el: Rewrite, use nadvice and lexical-binding.
3990 (trace-buffer): Don't purecopy.
3991 (trace-entry-message, trace-exit-message): Add `context' arg.
3992 (trace--timer): New var.
3993 (trace-make-advice): Adjust for use in nadvice.
3994 Add `context' argument. Delay `display-buffer' via a timer.
3995 (trace-function-internal): Use advice-add.
3996 (trace--read-args): New function.
3997 (trace-function-foreground, trace-function-background): Use it.
3998 (trace-function): Rename to trace-function-foreground and redefine as
3999 an alias to that new name.
4000 (untrace-function, untrace-all): Adjust to the use of nadvice.
4002 * emacs-lisp/bytecomp.el (byte-compile): Fix handling of closures.
4004 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix last change.
4006 * subr.el (called-interactively-p-functions): New var.
4007 (internal--called-interactively-p--get-frame): New macro.
4008 (called-interactively-p, interactive-p): Rewrite in Lisp.
4009 * emacs-lisp/nadvice.el (advice--called-interactively-skip): New fun.
4010 (called-interactively-p-functions): Use it.
4011 * emacs-lisp/edebug.el (edebug--called-interactively-skip): New fun.
4012 (called-interactively-p-functions): Use it.
4013 * allout.el (allout-called-interactively-p): Don't assume
4014 called-interactively-p is a subr.
4016 2012-11-20 Glenn Morris <rgm@gnu.org>
4018 * profiler.el (profiler-report-mode-map): Add a menu.
4019 No need to bind `q' because we derive from special-mode.
4020 (profiler-report-find-entry): Handle calls from the menu-bar.
4022 2012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
4024 * emacs-lisp/byte-run.el (defun-declarations-alist):
4025 Allow a compiler-macro to be a lambda expression.
4027 * progmodes/python.el: Use cl-lib. Move var declarations outside of
4029 (python-syntax-context): Add compiler-macro.
4030 (python-font-lock-keywords): Simplify with De Morgan.
4032 * vc/diff-mode.el (diff-hunk): Don't make useless timers.
4034 * files.el (load-file): Require match in minibuffer selection, as was
4035 the case in Emacs-20 before we changed the spec to allow .elc files
4038 * json.el: Don't require cl since we don't use it.
4039 * color.el: Don't require cl.
4040 (color-complement): `caddr' -> `nth 2'.
4042 * calendar/time-date.el (time-to-seconds): De-obsolete.
4044 2012-11-19 Jay Belanger <jay.p.belanger@gmail.com>
4046 * calc/calc-forms.el (math-leap-year-p): Fix formula for negative
4048 (math-date-to-julian-dt): Adjust the initial approximation for the
4049 year to deal with the new definition of the DATE.
4051 2012-11-19 Daniel Colascione <dancol@dancol.org>
4053 * term/w32-win.el (cygwin-convert-path-from-windows):
4054 Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
4056 2012-11-18 Chong Yidong <cyd@gnu.org>
4058 * filecache.el (file-cache--read-list): New function.
4059 (file-cache-add-directory-list, file-cache-add-file-list)
4060 (file-cache-delete-file-list, file-cache-delete-directory-list):
4061 Use it to read a list of files or directories (Bug#12846).
4062 (file-cache-add-file, file-cache-add-directory)
4063 (file-cache-delete-file-list, file-cache-delete-file-regexp)
4064 (file-cache-delete-directory): Print an message.
4066 2012-11-18 Jay Belanger <jay.p.belanger@gmail.com>
4068 * calc/calc-forms.el (math-date-to-dt): Use integer date when
4069 calling `math-date-to-julian-dt' and 'math-date-to-gregorian-dt'.
4071 2012-11-18 Glenn Morris <rgm@gnu.org>
4073 * image.el (insert-image, insert-sliced-image): Doc fix.
4075 2012-11-18 Chong Yidong <cyd@gnu.org>
4077 * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
4080 2012-11-18 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
4082 * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
4083 response when the target file is in a subdirectory (Bug#12757).
4085 2012-11-18 Chong Yidong <cyd@gnu.org>
4087 * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
4089 2012-11-18 Glenn Morris <rgm@gnu.org>
4091 * emacs-lisp/cl-lib.el (face-underline-p):
4092 Use set-face-underline rather than the alias set-face-underline-p.
4094 * window.el (with-temp-buffer-window): Doc fix.
4095 * subr.el (with-output-to-temp-buffer):
4096 Add doc xref to with-temp-buffer-window.
4098 2012-11-18 Juanma Barranquero <lekktu@gmail.com>
4100 * woman.el (woman-non-underline-faces): Use `set-face-underline'.
4101 * calc/calc.el (math-format-date-cache): Declare.
4103 2012-11-17 Paul Eggert <eggert@cs.ucla.edu>
4105 Calc by default uses the Gregorian calendar for all dates (Bug#12633).
4106 It also uses January 1, 1 AD as its day number 1.
4107 * calc/calc-forms.el (math-julian-date-beginning)
4108 (math-julian-date-beginning-int): Implement this.
4110 2012-11-17 Juanma Barranquero <lekktu@gmail.com>
4112 * descr-text.el (quail-find-key):
4113 * dired.el (desktop-file-name):
4114 * dirtrack.el (shell-prefixed-directory-name, shell-process-cd):
4115 * generic-x.el (comint-mode, comint-exec):
4116 * image-dired.el (widget-forward):
4117 * info.el (speedbar-add-expansion-list, speedbar-center-buffer-smartly)
4118 (speedbar-change-expand-button-char)
4119 (speedbar-change-initial-expansion-list, speedbar-delete-subblock)
4120 (speedbar-make-specialized-keymap, speedbar-make-tag-line):
4121 * printing.el (easy-menu-add-item, easy-menu-remove-item)
4122 (widget-field-action, widget-value-set):
4123 * speedbar.el (imenu--make-index-alist):
4124 * term.el (ring-empty-p, ring-ref, ring-insert-at-beginning)
4125 (ring-length, ring-insert):
4126 * vcursor.el (compare-windows-skip-whitespace):
4127 * woman.el (dired-get-filename):
4130 * term/w32-win.el (cygwin-convert-path-from-windows): Fix declaration.
4132 2012-11-17 Jay Belanger <jay.p.belanger@gmail.com>
4134 * calc/calc.el (calc-gregorian-switch): New variable.
4136 * calc/calc-forms.el (math-day-in-year, math-dt-before-p)
4137 (math-absolute-from-gregorian-dt, math-absolute-from-julian-dt)
4138 (math-date-to-julian-dt, math-date-to-gregorian-dt): New functions.
4139 (math-leap-year-p): Add option to distinguish between Julian
4140 and Gregorian calendars.
4141 (math-day-number): Use `math-day-in-year' to do the computations.
4142 (math-absolute-from-dt): Rename from `math-absolute-from-date'.
4143 Use `math-absolute-from-gregorian' and `math-absolute-from-julian'
4144 to do the computations.
4145 (math-date-to-dt): Use `math-date-to-julian-dt' and
4146 `math-date-to-gregorian-dt' to do the computations.
4147 (calcFunc-weekday, math-format-date-part): Use the new version of
4148 the DATE to determine the weekday.
4149 (calcFunc-newmonth, calcFunc-newyear): Use `calc-gregorian-switch'
4152 2012-11-17 Eli Zaretskii <eliz@gnu.org>
4154 * term/w32-win.el (w32-handle-dropped-file): Use 'file://' only on
4155 Cygwin; otherwise use 'file:'. (Bug#12914)
4156 (cygwin-convert-path-from-windows): Declare, to avoid
4157 byte-compiler warnings.
4159 2012-11-17 Andreas Politz <politza@fh-trier.de>
4161 * ibuffer.el (ibuffer-mark-forward, ibuffer-unmark-forward)
4162 (ibuffer-unmark-backward, ibuffer-mark-interactive): Support plain
4163 prefix and negative numeric prefix args (Bug#12795).
4165 2012-11-17 Stephen Berman <stephen.berman@gmx.net>
4167 * play/gamegrid.el (gamegrid-add-score-with-update-game-score-1):
4168 Don't signal an error with a score that is too low to add to the
4169 list of top scores. (Bug#12779)
4171 2012-11-17 Chong Yidong <cyd@gnu.org>
4173 * help-mode.el (help-xref-interned): End on point-min (Bug#12737).
4175 * filecache.el (file-cache-add-file): Handle relative file name in
4176 the argument (Bug#12694).
4178 2012-11-16 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
4180 * eshell/em-unix.el (eshell/mkdir): Handle "--parents" (bug#12897).
4182 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
4184 * emacs-lisp/advice.el (ad-make-advised-definition): Improve last fix.
4186 * emacs-lisp/cl-lib.el: Set more meaningful version number.
4188 2012-11-16 Martin Rudalics <rudalics@gmx.at>
4190 * window.el (enlarge-window, shrink-window): Don't mention return
4191 value in doc-string (Bug#12896).
4192 (window--display-buffer): Don't resize frames - it won't work
4193 with all window managers and defeat pop-up-frame-alist.
4194 (display-buffer-alist): In doc-string explain that CONDITION can
4195 be a function and which arguments are passed to it (Bug#12854).
4196 (display-buffer-assq-regexp): New argument ACTION. Handle lambda
4197 expressions (Bug#12854).
4198 (display-buffer): Pass ACTION argument to
4199 display-buffer-assq-regexp.
4201 2012-11-16 Glenn Morris <rgm@gnu.org>
4203 * window.el (fit-frame-to-buffer-bottom-margin)
4204 (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
4206 * faces.el (face-underline-p): Use face-attribute-specified-or.
4208 2012-11-16 Juanma Barranquero <lekktu@gmail.com>
4210 * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
4212 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
4214 * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
4216 2012-11-16 Glenn Morris <rgm@gnu.org>
4218 * eshell/em-cmpl.el (eshell-pcomplete): New command. (Bug#12838)
4219 (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
4221 * faces.el (face-underline-p): Doc fix. Handle :underline being
4222 things other than `t' (a string, a list).
4223 (face-inverse-video-p): Doc fix.
4224 (set-face-underline): Rename it back from set-face-underline-p.
4225 Doc fix. Allow interactive input of values other than t.
4226 (read-face-attribute): Apply formatting to :underline,
4227 since like :box and :stipple it can take list values.
4229 * term.el (ansi-term): Don't let C-x escape-char binding
4230 clobber the more standard C-c binding. (Bug#12842)
4232 * subr.el (set-temporary-overlay-map): Doc fix.
4234 2012-11-16 Martin Rudalics <rudalics@gmx.at>
4236 * window.el (record-window-buffer)
4237 (display-buffer-record-window): When copying the markers to
4238 window-point preserve window-point-insertion-type. (Bug#12588)
4240 2012-11-16 Glenn Morris <rgm@gnu.org>
4242 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
4243 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
4244 Use new names for hooks rather than obsolete aliases.
4246 2012-11-15 Daniel Colascione <dancol@dancol.org>
4248 * term/w32-win.el (w32-handle-dropped-file): Use a "file://"
4249 prefix instead of "file:" so that when FILE-NAME begins with "//",
4250 as it does when the target file is on a network share, url-handler
4253 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
4255 * emacs-lisp/advice.el (ad-definition-type): Make sure we don't use
4256 a preactivated advice from an old advice.el; they're not compatible!
4258 2012-11-15 Katsumi Yamaoka <yamaoka@jpl.org>
4260 * emacs-lisp/nadvice.el (advice--make-interactive-form):
4261 Fix string-spec case.
4263 * emacs-lisp/advice.el (ad-make-advised-definition): Fix undefined case.
4265 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
4267 * emacs-lisp/nadvice.el: Add buffer-local support to add-function.
4268 (advice--buffer-local-function-sample): New var.
4269 (advice--set-buffer-local, advice--buffer-local): New functions.
4270 (add-function, remove-function): Use them.
4272 2012-11-15 Drew Adams <drew.adams@oracle.com>
4274 * imenu.el (imenu--split-submenus): Use imenu--subalist-p (bug#12717).
4276 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
4278 * emacs-lisp/cl-macs.el (cl--transform-lambda): Defend against
4279 potential binding of print-gensym to t, and prettify (back)quotes in
4280 case they appear in args's default values (bug#12884).
4282 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4284 * emacs-lisp/nadvice.el: Add around advice for interactive specs.
4285 (advice-eval-interactive-spec): New function.
4286 (advice--make-interactive-form): Support around advice (bug#12844).
4288 2012-11-14 Dmitry Gutov <dgutov@yandex.ru>
4290 * progmodes/ruby-mode.el (ruby-expr-beg): Make heredoc detection
4291 more strict. Add docstring.
4292 (ruby-expression-expansion-re): Extract from
4293 `ruby-match-expression-expansion'.
4294 (ruby-syntax-propertize-function): After everything else, search
4295 for expansions in string literals, mark their insides as
4296 whitespace syntax and save match data for font-lock.
4297 (ruby-font-lock-keywords): Use the 2nd group from expression
4299 (ruby-match-expression-expansion): Use the match data saved to the
4300 text property in ruby-syntax-propertize-function.
4302 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4304 * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
4307 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
4309 * progmodes/ruby-mode.el (ruby-move-to-block): Looks for a block
4310 start/end keyword a bit harder. Works with different values of N.
4312 (ruby-end-of-block): Update accordingly.
4314 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
4316 * woman.el (woman-file-name): Don't mess with unread-command-events
4319 * emacs-lisp/advice.el: Layer on top of nadvice.el.
4320 Remove out of date self-require hack.
4321 (ad-do-advised-functions): Use simple `dolist'.
4322 (ad-advice-name, ad-advice-protected, ad-advice-enabled)
4323 (ad-advice-definition): Redefine as functions.
4324 (ad-advice-classes): Move before first use.
4325 (ad-make-origname, ad-set-orig-definition, ad-clear-orig-definition)
4326 (ad-make-mapped-call, ad-make-advised-docstring,ad-make-plain-docstring)
4327 (ad--defalias-fset): Remove functions.
4328 (ad-make-advicefunname, ad-clear-advicefunname-definition): New funs.
4329 (ad-get-orig-definition): Rewrite.
4330 (ad-make-advised-definition-docstring): Change base docstring.
4331 (ad-real-orig-definition): Rewrite.
4332 (ad-map-arglists): Change name of called function.
4333 (ad--make-advised-docstring): Redirect `function' from ad-Advice-...
4334 (ad-make-advised-definition): Simplify.
4335 (ad-assemble-advised-definition): Tweak for new calling context.
4336 (ad-activate-advised-definition): Setup ad-Advice-* i.s.o ad-Orig-*.
4337 (ad--defalias-fset): Rename from ad-handle-definition. Make it set the
4338 function and call ad-activate if needed.
4339 (ad-activate, ad-deactivate): Don't call ad-handle-definition any more.
4340 (ad-recover): Clear ad-Advice-* instead of ad-Orig-*.
4341 (ad-compile-function): Compile ad-Advice-*.
4342 (ad-activate-on-top-level, ad-with-auto-activation-disabled): Remove.
4343 (ad-start-advice, ad-stop-advice): Remove.
4345 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
4347 * progmodes/ruby-mode.el (ruby-add-log-current-method): Print the
4348 period before class method names, not after. Remove handling of
4349 one impossible case. Add comments.
4351 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
4353 * emacs-lisp/advice.el: Remove support for freezing.
4354 (ad-make-freeze-docstring, ad-make-freeze-definition): Remove functions.
4355 (ad-make-single-advice-docstring, ad-defadvice-flags, defadvice):
4356 Remove support for `freeze'.
4358 * emacs-lisp/cl.el (dolist, dotimes, declare): Use advice-add to
4359 override the default.
4360 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Rewrite without using
4362 * subr.el (dolist, dotimes, declare): Redefine them normally, even when
4365 * emacs-lisp/nadvice.el (advice--normalize): New function, extracted
4367 (advice--strip-macro): New function.
4368 (advice--defalias-fset): Use them to handle macros.
4369 (advice-add): Use them.
4370 (advice-member-p): Correctly handle macros.
4372 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
4374 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
4375 Never font-lock the beginning of singleton class as heredoc.
4377 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
4379 * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
4381 2012-11-13 Wolfgang Jenkner <wjenkner@inode.at>
4383 * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
4384 39 and 49 (bug#12792). Also, treat unimplemented parameters as 0,
4385 thereby restoring the behavior of revisions prior to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
4387 2012-11-13 Fabián Ezequiel Gallina <fgallina@cuca>
4389 Fix end-of-defun misbehavior.
4390 * progmodes/python.el (python-nav-beginning-of-defun): Rename from
4391 python-beginning-of-defun-function. Handle nested defuns
4393 (python-nav-end-of-defun): Rename from
4394 python-end-of-defun-function. Ensure forward movement.
4395 (python-info-current-defun): Reimplement to work as intended
4396 with new fixed python-nav-{end,beginning}-of-defun. Stop scanning
4397 parent defuns as soon as possible.
4399 2012-11-13 Glenn Morris <rgm@gnu.org>
4401 * progmodes/flymake.el (flymake-error-bitmap)
4402 (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
4403 (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
4405 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
4407 * progmodes/ruby-mode.el (ruby-move-to-block): When moving
4408 backward, always stop at indentation. Reverts the change from
4409 2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
4411 2012-11-13 Glenn Morris <rgm@gnu.org>
4413 * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
4414 Add ibuffer-filter-by-derived-mode.
4416 * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
4417 the same name shadowing each other.
4419 * window.el (with-temp-buffer-window): Doc tweak.
4421 * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
4423 * help.el (temp-buffer-max-height):
4424 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
4425 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
4427 2012-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
4429 * emacs-lisp/nadvice.el: New package.
4430 * subr.el (special-form-p): New function.
4431 * emacs-lisp/elp.el: Use lexical-binding and advice-add.
4432 (elp-all-instrumented-list): Remove var.
4433 (elp-not-profilable): Remove elp-wrapper.
4434 (elp-profilable-p): Use autoloadp and special-form-p.
4435 (elp--advice-name): New const.
4436 (elp-instrument-function): Use advice-add.
4437 (elp--instrumented-p): New predicate.
4438 (elp-restore-function): Use advice-remove.
4439 (elp-restore-all, elp-reset-all): Use mapatoms.
4440 (elp-set-master): Use elp--instrumented-p.
4441 (elp--make-wrapper): Rename from elp-wrapper, return a function
4442 suitable for advice-add. Use cl-inf.
4443 (elp-results): Use mapatoms+elp--instrumented-p.
4444 * emacs-lisp/debug.el: Use lexical-binding and advice-add.
4445 (debug-function-list): Remove var.
4446 (debug): Rename arg, and then let-bind it explicitly inside.
4447 (debugger-setup-buffer): Rename arg.
4448 (debugger-setup-buffer): Adjust counts to new debug-on-entry setup.
4449 (debugger-frame-number): Adjust to new debug-on-entry setup.
4450 (debug--implement-debug-on-entry): Rename from
4451 implement-debug-on-entry, add argument.
4452 (debugger-special-form-p): Remove, use special-form-p instead.
4453 (debug-on-entry): Use advice-add.
4454 (debug--function-list): New function.
4455 (cancel-debug-on-entry): Use it, along with advice-remove.
4456 (debug-arglist, debug-convert-byte-code, debug-on-entry-1): Remove.
4457 (debugger-list-functions): Use debug--function-list instead of
4458 debug-function-list.
4459 * emacs-lisp/advice.el (ad-save-real-definition): Remove, unused.
4460 (ad-special-form-p): Remove, use special-form-p instead.
4461 (ad-set-advice-info): Use add-function and remove-function.
4462 (ad--defalias-fset): Adjust accordingly.
4464 2012-11-10 Glenn Morris <rgm@gnu.org>
4466 * mail/emacsbug.el (report-emacs-bug-tracker-url)
4467 (report-emacs-bug-bug-alist, report-emacs-bug-choice-widget)
4468 (report-emacs-bug-create-existing-bugs-buffer)
4469 (report-emacs-bug-parse-query-results)
4470 (report-emacs-bug-query-existing-bugs): Remove. (Bug#7449)
4472 * term.el (term-default-fg-color, term-default-bg-color):
4473 Make obsolete, rather than just saying "deprecated" in the doc.
4475 * term.el (term): Rename from `term-face'.
4476 (term-current-face, ansi-term-color-vector)
4477 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
4480 2012-11-10 Jan Djärv <jan.h.d@swipnet.se>
4482 * server.el (server-create-window-system-frame): Handle Nextstep
4483 specially (Bug#12780).
4485 2012-11-10 Glenn Morris <rgm@gnu.org>
4487 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
4488 Unautoload, and make obsolete. (Bug#7449)
4490 2012-11-10 Chong Yidong <cyd@gnu.org>
4492 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
4493 rename from diff-remove-trailing-whitespace (Bug#12831).
4495 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
4497 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
4498 miscompilation of trace.el.
4500 2012-11-10 Glenn Morris <rgm@gnu.org>
4502 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
4504 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
4506 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
4509 2012-11-10 Chong Yidong <cyd@gnu.org>
4511 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
4512 a defcustom with an appropriate :set function.
4513 (minibuffer-default--in-prompt-regexps): New function.
4515 2012-11-10 Glenn Morris <rgm@gnu.org>
4517 * emacs-lisp/cl.el (define-setf-expander, defsetf)
4518 (define-modify-macro): Doc fixes.
4520 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
4521 (gv-define-simple-setter): Update doc of `fix-return'.
4523 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
4525 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
4526 twice when `fix-return' is set (bug#12813).
4528 * emacs-lisp/cl.el (defsetf): Pass the third arg to
4529 gv-define-simple-setter (bug#12812).
4531 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
4534 2012-11-10 Glenn Morris <rgm@gnu.org>
4536 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
4538 * emacs-lisp/cl-extra.el (cl-prettyexpand):
4539 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
4540 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
4541 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
4543 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
4545 2012-11-10 Leo Liu <sdl.web@gmail.com>
4547 * ido.el (ido-set-matches-1): Improve flex matching performance by
4548 removing backtracking in the regexp (suggested by Stefan). (Bug#12796)
4550 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4552 * emacs-lisp/advice.el (ad-set-advice-info): Set defalias-fset-function.
4553 (ad--defalias-fset): New function.
4554 (ad-safe-fset): Remove.
4555 (ad-make-freeze-definition): Use cl-letf*.
4557 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4559 * subr.el (dolist): Don't bind VAR in RESULT.
4561 * emacs-lisp/advice.el: Miscellaneous cleanup. Use lexical-binding.
4562 (fset, documentation): Don't save real def since we don't advise.
4563 (ad-do-advised-functions): Remove problematic `result-form'.
4564 (ad-safe-fset): `ad-real-fset' => `fset'.
4565 (ad-read-advised-function): Don't assume that ad-do-advised-functions
4566 uses CL's dolist internally.
4567 (ad-arglist): Remove unused arg `name'.
4568 (ad-docstring, ad-make-advised-docstring):
4569 `ad-real-documentation' => `documentation'.
4570 (warning-suppress-types): Declare.
4571 (ad-set-arguments): Simple CSE.
4572 (ad-recover-normality): Sanity check.
4574 * emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Don't turn
4575 (funcall '(lambda ..) ..) into ((lambda ..) ..).
4577 2012-11-09 Vincent Belaïche <vincentb1@users.sourceforge.net>
4579 * ses.el: symbol to coordinate mapping is made by symbol property
4580 `ses-cell'. This means that the same mapping is done for all SES
4581 sheets. That is good enough for cells with standard A1 names, but
4582 not for named cell. So a hash map is added for the latter.
4583 (defconst ses-localvars): Add local variable ses--named-cell-hashmap
4584 (ses-sym-rowcol): Use hashmap for named cell.
4585 (ses-is-cell-sym-p): New defun.
4586 (ses-decode-cell-symbol): New defun.
4587 (ses-create-cell-variable): Add cell to hashmap when name is not
4589 (ses-rename-cell): Check that cell new name is not already in
4590 spreadsheet with the use of ses-is-cell-sym-p
4591 (ses-rename-cell): Use hash map for named cells, but accept also
4592 renaming back to A1-like.
4594 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4596 * emacs-lisp/advice.el: Use new dynamic docstrings.
4597 (ad-make-advised-definition-docstring, ad-advised-definition-p):
4598 Use dynamic-docstring-function instead of ad-advice-info.
4599 (ad--make-advised-docstring): New function extracted from
4600 ad-make-advised-docstring.
4601 (ad-make-advised-docstring): Use it.
4602 * progmodes/sql.el (sql--make-help-docstring): New function, extracted
4604 (sql-help): Use it with dynamic-docstring-function.
4606 * env.el (env--substitute-vars-regexp): Don't use rx (for bootstrap).
4608 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4610 * files.el (hack-one-local-variable--obsolete): New function.
4611 (hack-one-local-variable): Use it for obsolete settings.
4613 * subr.el (locate-user-emacs-file): If both old and new name exist, use
4616 * progmodes/js.el (js--filling-paragraph): New var.
4617 (c-forward-sws, c-backward-sws, c-beginning-of-macro): Advise.
4618 (js-c-fill-paragraph): Prefer advice to cl-letf so the rebinding is
4621 2012-11-08 Julien Danjou <julien@danjou.info>
4623 * progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
4624 `auto-mode-alist' (Bug#12835).
4626 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4628 * progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.
4629 (perl--prettify-symbols-alist): New const.
4630 (perl--font-lock-compose-symbol, perl--font-lock-symbols-keywords):
4632 (perl-font-lock-keywords-2): Use them.
4633 (perl-electric-noindent-p): New function.
4634 (perl-mode): Use it to set up electric-indent-mode.
4635 (perl-electric-terminator, perl-indent-command): Mark obsolete.
4636 (perl-mode-map): Remove bindings for them.
4637 (perl-imenu-generic-expression, perl-outline-level):
4638 Match functions&packages in column>0.
4640 * env.el (env--substitute-vars-regexp): New const.
4641 (substitute-env-vars): Use it. Add `only-defined' arg.
4642 * net/tramp.el (tramp-replace-environment-variables): Use it.
4644 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
4645 Byte-compile *before* eval in eval-and-compile.
4646 (byte-compile-log-warning): Remove redundant inhibit-read-only.
4647 (byte-compile-file-form-autoload): Don't hide actual definition.
4648 (byte-compile-maybe-guarded): Accept `functionp' as well.
4650 * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
4652 2012-11-07 Michael Albinus <michael.albinus@gmx.de>
4654 * notifications.el (notifications-get-server-information-method):
4656 (notifications-get-capabilities): Fix docstring.
4657 (notifications-get-server-information): New defun.
4659 2012-11-06 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4661 * textmodes/ispell.el (ispell-region): Standard re-indent for better
4664 * textmodes/ispell.el: Experimental support for support debugging.
4665 (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
4667 (ispell-print-if-debug): New function to print stuff to
4668 `ispell-debug-buffer' if debugging is enabled.
4669 (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
4670 show some debugging info.
4671 (ispell-buffer-with-debug): New function that creates a debugging
4672 buffer and calls `ispell-buffer' with debugging enabled.
4674 * textmodes/ispell.el (ispell-region): Do not prefix sent string by
4675 comment in autoconf mode. (Bug#12768)
4677 2012-11-06 Dmitry Antipov <dmantipov@yandex.ru>
4679 * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
4680 frame-first-window, frame-root-window, frame-selected-window,
4681 minibuffer-selected-window, minibuffer-window,
4682 window-absolute-pixel-edges, window-at, window-body-height,
4683 window-body-width, window-display-table, window-combination-limit,
4684 window-frame, window-fringes, window-inside-absolute-pixel-edges,
4685 window-inside-edges, window-inside-pixel-edges, window-left-child,
4686 window-left-column, window-margins, window-next-buffers,
4687 window-next-sibling, window-new-normal, window-new-total,
4688 window-normal-size, window-parameter, window-parameters, window-parent,
4689 window-pixel-edges, window-point, window-prev-buffers,
4690 window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
4691 window-start, window-text-height, window-top-child, window-top-line,
4692 window-total-height, window-total-width and window-use-time to the list
4693 of functions without side-effects.
4694 (toplevel): Add window-valid-p to the list of error-free functions
4695 without side-effects.
4697 2012-11-05 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4699 * textmodes/ispell.el (ispell-program-name):
4700 Update spellchecker parameters when customized.
4702 2012-11-04 Glenn Morris <rgm@gnu.org>
4704 * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn. (Bug#7850)
4706 2012-11-04 Chong Yidong <cyd@gnu.org>
4708 * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
4709 same-window-* variables.
4711 2012-11-04 Juri Linkov <juri@jurta.org>
4713 * isearch.el (isearch-help-for-help, isearch-describe-bindings)
4714 (isearch-describe-key, isearch-describe-mode): Use a display
4715 action instead of binding same-window-* variables (Bug#10040).
4717 2012-11-03 Glenn Morris <rgm@gnu.org>
4719 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
4720 Rename handler properties back from cl-- to cl-. (Bug#12788)
4722 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
4724 2012-11-03 Eli Zaretskii <eliz@gnu.org>
4726 * term/pc-win.el: Don't load term/internal from here.
4728 * loadup.el: Load term/internal from here.
4730 2012-11-03 Fabián Ezequiel Gallina <fgallina@cuca>
4732 * progmodes/python.el (inferior-python-mode): Fix hang in
4733 jit-lock (Bug#12645).
4735 2012-11-03 Martin Rudalics <rudalics@gmx.at>
4737 * window.el (switch-to-visible-buffer)
4738 (switch-to-buffer-preserve-window-point): Fix doc-strings.
4740 2012-11-03 Glenn Morris <rgm@gnu.org>
4742 * emacs-lisp/cl-lib.el (cl--random-time):
4743 Rename from cl-random-time. (Bug#12773)
4744 (cl--gensym-counter, cl--random-state): Update callers.
4745 * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
4747 2012-11-03 Chong Yidong <cyd@gnu.org>
4749 * cus-start.el: Make cursor-type customizable (Bug#11633).
4751 2012-11-02 Glenn Morris <rgm@gnu.org>
4753 * filecache.el: No need to load find-lisp when compiling.
4754 (find-lisp-find-files): Autoload it.
4755 (file-cache-add-directory-recursively): Don't require find-lisp.
4757 * image.el (image-type-from-file-name): Trivial simplification.
4759 * emacs-lisp/bytecomp.el (byte-compile-eval):
4760 Decouple "noruntime" and "cl-functions" warnings.
4762 2012-11-01 Stephen Berman <stephen.berman@gmx.net>
4764 * play/gomoku.el (gomoku-display-statistics): Update mode line
4765 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
4767 2012-10-31 Martin Rudalics <rudalics@gmx.at>
4769 * window.el (quit-restore-window): If the window has been
4770 created on an existing frame and ended up as the sole window on
4771 that frame, do not delete it (Bug#12764).
4773 2012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
4775 * progmodes/sh-script.el (sh--inside-noncommand-expression):
4776 Rename from sh--inside-arithmetic-expression, handle more cases
4779 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
4780 (sh-font-lock-open-heredoc): Use it (bug#12770).
4782 2012-10-30 Glenn Morris <rgm@gnu.org>
4784 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
4786 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
4788 2012-10-29 Chong Yidong <cyd@gnu.org>
4790 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
4791 function key is stored in a keyboard macro (Bug#4894).
4793 * thingatpt.el (number-at-point): Apply a thing-at-point property.
4795 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
4797 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
4799 (diff-unified->context, diff-context->unified)
4800 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
4802 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
4804 * files.el (find-alternate-file): Only ask one question (bug#12487).
4806 2012-10-29 Chong Yidong <cyd@gnu.org>
4808 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
4809 Suggested by Dan Nicolaescu (Bug#6326).
4811 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
4813 * startup.el (fancy-about-screen): Don't message (Bug#12680).
4815 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
4817 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
4819 * face-remap.el (face-remap-add-relative): Handle the case where a
4820 face-remapping-alist entry is a cons cell (Bug#12762).
4822 2012-10-29 Kevin Ryde <user42@zip.com.au>
4824 * woman.el (woman-parse-numeric-value): Handle picas correctly
4827 2012-10-29 Glenn Morris <rgm@gnu.org>
4829 * emacs-lisp/cl.el (defsetf): Doc fix.
4831 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
4833 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
4834 syntax to the matching opener, if any (bug#12547).
4835 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
4836 matching open as a "case-(".
4837 (sh-smie-rc-grammar): Add a corresponding rule for it.
4839 2012-10-28 Daniel Hackney <dan@haxney.org>
4841 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
4842 "PKGNAME-autoloads.el" in case we created it.
4844 2012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
4846 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
4847 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
4848 (completion--twq-all): Disable too-strict assertions.
4850 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
4852 2012-10-27 Eli Zaretskii <eliz@gnu.org>
4854 * profiler.el (profiler-report-make-entry-part): Fix help-echo
4855 text to match the real keybindings.
4857 2012-10-27 Juri Linkov <juri@jurta.org>
4859 * wdired.el (wdired-keep-marker-rename): New defcustom.
4860 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
4863 * dired.el (dired-keep-marker-rename): Add reference to
4864 `wdired-keep-marker-rename' in the docstring.
4865 Add default character value ?R to display initially in
4866 Customization UI instead of ?@.
4868 2012-10-27 Martin Rudalics <rudalics@gmx.at>
4870 * window.el (display-buffer): In doc-string describe
4871 window-height and window-width alist entries.
4873 * time.el (display-time-world): Restore fit-window-to-buffer
4876 2012-10-27 Chong Yidong <cyd@gnu.org>
4878 * subr.el (insert-buffer-substring-as-yank): Doc fix.
4880 2012-10-26 Jambunathan K <kjambunathan@gmail.com>
4882 * minibuffer.el (completion-category-overrides): New completion
4883 category `bookmark' (bug#11131).
4885 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
4887 * emacs-lisp/advice.el (ad-assemble-advised-definition):
4888 Silence bogus compiler warnings for ad-do-it.
4890 * bookmark.el (bookmark-completing-read): Set the completion category
4891 to `bookmark' (bug#11131).
4893 2012-10-26 Bastien <bzg@altern.org>
4894 Stefan Monnier <monnier@iro.umontreal.ca>
4896 * face-remap.el: Use lexical-binding.
4897 (text-scale-adjust): Improve docstring. Use itself for the temporary
4898 overlay-map bindings, so as to repeat the "Use..." message each time.
4900 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
4902 * emacs-lisp/macroexp.el (macroexp--expand-all):
4903 Obey byte-compile-warning-enabled-p (bug#12486).
4905 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
4906 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
4908 2012-10-26 Martin Rudalics <rudalics@gmx.at>
4910 * mouse.el (mouse-drag-line): Move last form into preceding when
4913 * help.el (resize-temp-buffer-window): Fix doc-string.
4915 2012-10-25 David Engster <deng@randomsample.de>
4917 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
4918 Remove. This feature is already integrated in imenu.
4920 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
4921 always loaded. Require `speedbar' unconditionally.
4923 2012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
4925 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
4927 * minibuffer.el (minibuffer-force-complete): Fix thinko.
4929 * net/ldap.el (ldap-search-internal): The official ldif format starts
4930 with a "version: 1" header (bug#12724).
4932 * emacs-lisp/package.el (package-installed-p): Warn if not ready
4935 2012-10-25 Glenn Morris <rgm@gnu.org>
4937 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
4939 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
4941 * minibuffer.el (minibuffer-force-complete): Use one more marker
4942 for the temporary-overlay-map command (bug#12619).
4944 2012-10-24 Chong Yidong <cyd@gnu.org>
4946 * time.el (display-time-world-mode): Derive from special-mode.
4947 (display-time-world): Use display-buffer (Bug#12708).
4948 (display-time-world-mode-map): Variable deleted.
4949 (display-time-world-display): Wrap the final delete-char inside
4952 2012-10-24 Chong Yidong <cyd@gnu.org>
4954 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
4957 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
4959 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
4961 * minibuffer.el (completion--all-sorted-completions-location): New var.
4962 (completion--cache-all-sorted-completions)
4963 (completion--flush-all-sorted-completions): Use it.
4964 (completion-in-region, completion-in-region--postch)
4965 (completion-at-point, completion-help-at-point): Use markers in
4966 completion-in-region--data (bug#12619).
4968 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
4970 * progmodes/compile.el (compilation-start): Try to handle common
4971 quoting of `cd' argument (bug#12640).
4973 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
4976 2012-10-23 Glenn Morris <rgm@gnu.org>
4978 * progmodes/gud.el (gud-menu-map):
4979 Check gdb-active-process is bound. (Bug#12358)
4981 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
4983 * repeat.el (repeat): Set real-this-command (bug#12232).
4985 * htmlfontify.el (hfy-post-html-hook):
4986 * filesets.el (filesets-cache-fill-content-hook):
4987 * arc-mode.el (archive-extract-hook):
4988 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
4989 * net/rcirc.el (rcirc-sentinel-functions)
4990 (rcirc-receive-message-functions, rcirc-activity-functions)
4991 (rcirc-print-functions):
4992 * net/dbus.el (dbus-event-error-functions):
4993 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
4994 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
4995 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
4996 * term/sun.el (sun-raw-prefix-hooks):
4997 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
4999 2012-10-23 Michael Albinus <michael.albinus@gmx.de>
5001 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
5002 Set `tramp-chunksize' to 1. This improves the performance.
5003 (tramp-smb-wait-for-output): Add timeout to
5004 `tramp-accept-process-output' calls.
5006 2012-10-23 Chong Yidong <cyd@gnu.org>
5008 * faces.el (font-list-limit): Define as an obsolete variable.
5010 * startup.el (command-line):
5011 * cus-start.el: Don't refer to font-list-limit.
5013 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
5015 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
5017 * subr.el (internal-temp-output-buffer-show): Rename from
5018 temp-output-buffer-show, since previously compiled files expect this name.
5020 2012-10-23 Glenn Morris <rgm@gnu.org>
5022 * image.el (image-type-from-file-name): If multiple types match,
5023 return the first one that is supported. (Bug#9045)
5025 2012-10-22 Glenn Morris <rgm@gnu.org>
5027 * image.el (imagemagick-enabled-types): Doc fix.
5029 2012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
5031 * progmodes/which-func.el (which-func-current): The hash-table may have
5032 an explicit nil (bug#12338).
5034 2012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
5036 * electric.el (electric-pair-delete-selection-self-insert-function):
5037 Rename to electric-pair-will-use-region, return a boolean.
5038 (electric-pair-mode): Adjust accordingly. Don't require delsel.
5040 * delsel.el (delete-selection-helper): Use a function instead of a hook.
5041 (delete-selection-pre-hook): Use use-region-p.
5042 (delete-selection-self-insert-function): Remove.
5043 (self-insert-command): Obey self-insert-uses-region-functions.
5044 (self-insert-iso): Revert to previous setting, since we don't actually
5045 know what that command does.
5046 (delete-selection-self-insert-hooks): Remove.
5048 2012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
5050 * delsel.el (delete-selection-helper): New function, extracted from
5051 delete-selection-pre-hook.
5052 (delete-selection-pre-hook): Use it.
5053 (delete-selection-self-insert-function): New function.
5054 (delete-selection-self-insert-hooks): New hook.
5055 (self-insert-command, self-insert-iso): Use it.
5056 * electric.el (electric-pair-syntax): New function, extracted from
5057 electric-pair-post-self-insert-function.
5058 (electric-pair-post-self-insert-function): Use it.
5059 (electric-pair-delete-selection-self-insert-function): New function.
5060 (electric-pair-mode): Require delsel and setup
5061 delete-selection-self-insert-hooks (bug#11520).
5063 2012-10-20 Chong Yidong <cyd@gnu.org>
5065 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
5066 no changes to show (Bug#12586).
5068 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
5069 list explicitly (Bug#12571).
5071 2012-10-20 Arne Jørgensen <arne@arnested.dk>
5073 * progmodes/flymake.el (flymake-create-temp-inplace):
5076 2012-10-20 Eli Zaretskii <eliz@gnu.org>
5078 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
5080 2012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
5082 * calc/calc-units.el (math-extract-units): Properly extract powers
5085 2012-10-20 Daniel Colascione <dancol@dancol.org>
5087 * frame.el (make-frame): Set x-display-name as we used to in order
5088 to unbreak creating an X11 frame from an Emacs daemon started
5091 2012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
5093 * minibuffer.el (minibuffer-force-complete): Make the next completion use
5094 the same completion-field (bug#12221).
5096 2012-10-19 Martin Rudalics <rudalics@gmx.at>
5098 * emacs-lisp/debug.el (debug): Record height of debugger window
5099 also when debugger will be back (Bug#8789).
5101 2012-10-18 Chong Yidong <cyd@gnu.org>
5103 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
5104 Convert to defcustom.
5105 (gdb-get-source-file): Don't bind pop-up-windows.
5107 * progmodes/gud.el (gud-display-line): Don't specially re-use
5108 other frames for the gdb-mi case (Bug#12648).
5110 2012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
5112 * emacs-lisp/advice.el: Clean up commentary a bit.
5113 (ad-do-advised-functions, ad-with-originals): Use `declare'.
5114 (byte-code-function-p): Never redefine.
5116 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
5118 2012-10-18 Glenn Morris <rgm@gnu.org>
5120 * dired.el (dired-sort-toggle): Some ls implementations only allow
5121 a single option string. (Bug#12666)
5123 * minibuffer.el (completion-cycle-threshold): Doc fix.
5125 2012-10-17 Kenichi Handa <handa@gnu.org>
5127 * international/mule.el (set-keyboard-coding-system):
5128 Recover input meta mode when the new coding system doesn not use 8-bit.
5129 Supply TERMINAL arg to set-input-meta-mode.
5131 2012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
5133 * wdired.el (wdired-old-marks): New variable.
5134 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
5135 (wdired-do-renames): Move point with renamed file and don't lose
5136 mark status (Bug#11795).
5138 2012-10-16 Juri Linkov <juri@jurta.org>
5140 * replace.el (query-replace-help): Mention multi-buffer replacement
5141 keys in the Help message. (Bug#12655)
5143 2012-10-15 Chong Yidong <cyd@gnu.org>
5145 * emacs-lisp/byte-run.el (defsubst): Doc fix.
5147 2012-10-14 Eli Zaretskii <eliz@gnu.org>
5149 * window.el (display-buffer): Doc fix.
5151 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5152 Adjust the msft regexp to the output of Studio 2010, and move msft
5153 before edg-1. See the discussion on emacs-devel,
5154 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
5157 2012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
5159 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
5160 (oset): Move uses of object-class-fast macro after its definition.
5162 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
5164 2012-10-13 Chong Yidong <cyd@gnu.org>
5166 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
5167 enabled, re-enable it (Bug#11963).
5169 2012-10-13 Martin Rudalics <rudalics@gmx.at>
5171 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
5172 non-nil, restore window configuration (Bug#12623).
5174 2012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
5176 * help-fns.el (describe-variable, describe-function-1):
5177 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
5179 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
5181 2012-10-12 Glenn Morris <rgm@gnu.org>
5183 * mail/rmailsum.el (rmail-header-summary):
5184 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
5186 2012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
5188 * progmodes/python.el (python-mode-map):
5189 Replace subtitute-key-definition with proper command remapping.
5190 (python-nav--up-list): Fix behavior for blocks on the same level.
5192 2012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
5194 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
5196 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
5197 changes to the format of load-history.
5199 * international/mule-cmds.el (read-char-by-name): Move let-binding of
5200 completion-ignore-case in case that var is buffer-local (bug#12615).
5202 2012-10-11 Kenichi Handa <handa@gnu.org>
5204 * international/eucjp-ms.el: Re-generated.
5206 2012-10-10 Kenichi Handa <handa@gnu.org>
5208 * select.el (xselect--encode-string): If a coding is specified for
5209 selection, and that is compatible with COMPOUND_TEXT, use it.
5211 2012-10-10 Martin Rudalics <rudalics@gmx.at>
5213 * window.el (switch-to-buffer-preserve-window-point): New option.
5215 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
5217 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
5219 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
5220 Don't document nil as a useful value (bug#12583).
5222 2012-10-09 Michael Albinus <michael.albinus@gmx.de>
5224 * net/tramp.el (tramp-debug-message):
5225 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
5226 (with-tramp-progress-reporter): Rename from
5227 `tramp-with-progress-reporter'.
5228 (with-tramp-file-property, with-tramp-connection-property):
5229 Move from tramp-cache.el, rename from `with-file-property' and
5230 `with-connection-property', respectively.
5232 * net/tramp-cache.el: Remove `with-file-property' and
5233 `with-connection-property'.
5236 * net/tramp-gvfs.el:
5238 * net/tramp-smb.el: Adapt callees.
5240 * net/trampver.el: Update release number.
5242 2012-10-09 Glenn Morris <rgm@gnu.org>
5244 * w32-fns.el (set-message-beep):
5245 * term/w32-win.el (set-message-beep): Update declarations.
5247 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
5249 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
5250 (mode-line-widen, mode-line-input-method-map)
5251 (mode-line-coding-system-map, mode-line-remote)
5252 (mode-line-unbury-buffer, mode-line-bury-buffer)
5253 (mode-line-next-buffer, mode-line-previous-buffer):
5254 Replace save-selected-window+select-window => with-selected-window.
5256 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
5257 * progmodes/cc-vars.el (bq-process): Remove, unused.
5259 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
5261 2012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
5263 Implemented `backward-up-list'-like navigation.
5264 * progmodes/python.el (python-nav-up-list)
5265 (python-nav-backward-up-list): New functions.
5266 (python-mode-map): Define substitute key for backward-up-list to
5267 python-nav-backward-up-list.
5269 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
5271 * progmodes/python.el (python-fill-paragraph): Rename from
5272 python-fill-paragraph-function. Fixed fill-paragraph for
5273 decorators (Bug#12605).
5275 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
5277 * progmodes/python.el (python-shell-output-filter): Handle extra
5278 carriage return in OSX (Bug#12409).
5280 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
5282 Fix shell handling of unbalanced quotes and parens in output.
5283 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
5284 (python-syntax-propertize-function): Use it.
5285 (python-shell-output-syntax-table): New var.
5286 (inferior-python-mode): Prevent unbalanced parens/quotes from
5287 previous output mess with current input context.
5289 2012-10-08 Juanma Barranquero <lekktu@gmail.com>
5291 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
5292 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
5294 2012-10-08 Michael Albinus <michael.albinus@gmx.de>
5296 * ffap.el (ffap-replace-file-component): Support Tramp file name
5297 syntax, not only ange-ftp's one.
5299 2012-10-08 Glenn Morris <rgm@gnu.org>
5301 * cus-start.el (message-log-max): Set :version.
5303 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
5305 2012-10-08 Martin Rudalics <rudalics@gmx.at>
5307 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
5308 the minibuffer window (Bug#10851).
5310 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
5312 Enhancements on forward-sexp movement.
5313 * progmodes/python.el (python-nav-beginning-of-statement)
5314 (python-nav-end-of-statement): Return point-marker.
5315 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
5316 (python-info-current-symbol)
5317 (python-info-statement-starts-block-p): Rename from
5318 python-info-beginning-of-block-p.
5319 (python-info-statement-ends-block-p): Rename from
5320 python-info-end-of-block-p.
5321 (python-info-beginning-of-statement-p)
5322 (python-info-end-of-statement-p)
5323 (python-info-beginning-of-block-p, python-info-end-of-block-p):
5326 2012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
5328 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
5329 frame-selected-windows.
5331 2012-10-08 Daniel Colascione <dancol@dancol.org>
5333 * battery.el (battery-status-function): Check for
5334 w32-battery-status itself, not system-time windows-nt.
5336 * frame.el: Require cl-lib.
5337 (display-format-alist): New variable mapping frame types to
5338 functions that initialize them.
5339 (window-system-for-display): New function: interprets
5340 display-format-alist.
5341 (make-frame-on-display): Remove existing display-selection logic
5342 and just forward to make-frame, which will now DTRT.
5343 (make-frame): Restructure to use window-system-for-display to
5344 figure out how to create a frame on a given display.
5345 (display-mouse-p): Look for frame-type w32, not a particular
5348 * loadup.el: Load w32 lisp code when we have the w32 feature.
5350 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
5351 system-type windows-nt.
5353 * server.el (server-create-window-system-frame): Look for window
5355 (server-proces-filter): Only force a window system when windows-nt
5356 _and_ w32. Explain why.
5358 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
5359 of window systems we configure for the mode.
5361 * startup.el (command-line): Mark window system is initialized
5362 after we've done it.
5364 * common-win.el (x-select-text): Look for w32, not windows-nt.
5366 * ns-win.el: Require cl-lib. Add ourselves to
5367 display-format-alist.
5368 (ns-initialize-window-system): Assert we're not initialized twice.
5370 * w32-win.el: Enable lexical binding; require cl-lib; add
5371 ourselves to display-format-alist.
5372 (w32-handle-dropped-file): Convert incoming dropped files from
5373 Windows paths to Cygwin ones before passing them on to the rest of
5375 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
5376 (w32-initialize-window-system): Assert we're not initialized twice.
5378 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
5379 (x-initialize-window-system): Assert we're not initialized twice.
5381 * w32-common-fns.el: New File.
5382 (w32-version, w32-using-nt, w32-get-clipboard-data)
5383 (w32-set-clipboard-data, x-set-selection, x-get-selection)
5384 (w32-charset-info-alist, x-last-selected, text)
5385 (x-get-selection-value, x-selection-value): Move here.
5387 * w32-fns.el: Require w32-common-fns.
5388 (w32-version, w32-using-nt, w32-get-clipboard-data)
5389 (w32-set-clipboard-data, x-set-selection, x-get-selection)
5390 (w32-charset-info-alist, x-last-selected, text)
5391 (x-get-selection-value, x-selection-value): Move to
5395 (w32-allow-system-shell, w32-system-shells): Define only in
5398 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
5400 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
5401 (read-passwd): Remove a few more potential sources of leaks.
5403 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
5405 * progmodes/python.el (inferior-python-mode)
5406 (python-shell-make-comint): Fix initialization of local
5407 variables copied from parent buffer.
5409 2012-10-07 Jan Djärv <jan.h.d@swipnet.se>
5411 * term/ns-win.el (ns-read-file-name): Update declaration to match
5413 (ns-respond-to-change-font): Change fontsize separatly so we are sure
5414 it is set when font is acted upon.
5416 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
5418 Enhancements to indentation.
5419 * progmodes/python.el (python-indent-context): Give priority to
5420 inside-string context. Make comments indentation markers.
5421 (python-indent-region): Do not mess with strings, unless it's the
5422 enclosing set of quotes.
5424 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
5426 * window.el (internal--before-save-selected-window)
5427 (internal--after-save-selected-window): New functions extracted from
5428 save-selected-window. Make sure we return the `alist' we construct.
5429 (save-selected-window): Use them.
5431 * textmodes/tex-mode.el (tex-recenter-output-buffer):
5432 Use with-selected-window.
5434 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
5435 forms that define macros (bug#12593).
5437 2012-10-07 Kenichi Handa <handa@gnu.org>
5439 * international/mule-conf.el (compound-text-with-extensions):
5440 Add :mime-charset property as x-ctext.
5442 2012-10-07 Stefan Merten <smerten@oekonux.de>
5444 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
5445 (rst-indent-literal-normal, rst-indent-literal-minimized)
5446 (rst-indent-comment): Correct :version tag.
5447 (rst-official-cvs-rev): Correct version string.
5449 2012-10-07 Glenn Morris <rgm@gnu.org>
5451 * mail/rmailmm.el (rmail-mime-process-multipart):
5452 Do not confuse a multipart message with an epilogue
5453 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
5455 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
5457 Fix shell output retrieval and comint-prompt-regexp init.
5458 * progmodes/python.el (inferior-python-mode):
5459 (python-shell-make-comint): Fix initialization of
5460 comint-prompt-regexp from copied file local variables.
5461 (python-shell-fetched-lines): Remove var.
5462 (python-shell-output-filter-in-progress): Rename from
5463 python-shell-fetch-lines-in-progress.
5464 (python-shell-output-filter-buffer): Rename from
5465 python-shell-fetch-lines-string.
5466 (python-shell-fetch-lines-filter): Delete function.
5467 (python-shell-output-filter): New function.
5468 (python-shell-send-string-no-output): Use them.
5470 2012-10-07 Glenn Morris <rgm@gnu.org>
5472 * hi-lock.el (hi-lock-process-phrase):
5473 Try to make it less fragile. (Bug#7161)
5475 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
5477 2012-10-06 Glenn Morris <rgm@gnu.org>
5479 * ehelp.el (electric-help-mode): Use help-mode rather than
5480 non-existent mode `help'.
5481 (electric-help-map): Use button-buffer-map. (Bug#10917)
5483 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
5484 (reftex-create-bibtex-footer): Fix custom types.
5486 * progmodes/sh-script.el (sh-indent-after-continuation):
5487 Add explicit :group.
5489 * textmodes/rst.el (rst-preferred-decorations)
5490 (rst-shift-basic-offset): Clarify obsolescence versions.
5492 * profiler.el (profiler): Add missing group :version tag.
5493 * avoid.el (mouse-avoidance-banish-position):
5494 * proced.el (proced-renice-command):
5495 * calc/calc.el (calc-ensure-consistent-units):
5496 * calendar/icalendar.el (icalendar-import-format-uid):
5497 * net/tramp.el (tramp-save-ad-hoc-proxies):
5498 * progmodes/bug-reference.el (bug-reference-bug-regexp):
5499 * progmodes/flymake.el (flymake-error-bitmap)
5500 (flymake-warning-bitmap, flymake-fringe-indicator-position):
5501 * progmodes/sh-script.el (sh-indent-after-continuation):
5502 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
5503 (verilog-before-save-font-hook, verilog-after-save-font-hook):
5504 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
5505 (vhdl-array-index-record-field-in-sensitivity-list)
5506 (vhdl-indent-comment-like-next-code-line):
5507 * textmodes/reftex-vars.el (reftex-ref-style-alist)
5508 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
5509 (reftex-cite-key-separator, reftex-create-bibtex-header)
5510 (reftex-create-bibtex-footer):
5511 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
5512 (rst-indent-literal-normal, rst-indent-literal-minimized)
5513 (rst-indent-comment): Add missing custom :version tags.
5515 * calendar/timeclock.el (timeclock-modeline-display):
5516 Add missing obsolete alias for renamed user option.
5518 * strokes.el (strokes-modeline-string):
5519 * emulation/crisp.el (crisp-mode-modeline-string):
5520 * eshell/esh-mode.el (eshell-status-in-modeline):
5521 Aliases to defcustoms must come before the defcustom.
5523 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
5524 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
5525 (cal-tex-cursor-week-monday): Doc fixes.
5526 (cal-tex-cursor-week2-summary): Doc fix.
5527 Rename from cal-tex-cursor-week-at-a-glance.
5529 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
5530 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
5532 * calendar/calendar.el (calendar-mode-map):
5533 Add cal-tex-cursor-week2-summary.
5535 2012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
5537 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
5539 * subr.el (read-passwd-map): New var.
5540 (read-passwd): Use `read-string' again.
5541 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
5543 2012-10-06 Jambunathan K <kjambunathan@gmail.com>
5545 * register.el (append-to-register, prepend-to-register):
5546 Deactivate mark, as does `copy-to-register' (bug#12389).
5548 2012-10-06 Chong Yidong <cyd@gnu.org>
5550 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
5552 2012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
5554 * international/characters.el: Fix simple mistake ((car chars) ->
5555 elt), delete duplicated code.
5557 2012-10-06 Glenn Morris <rgm@gnu.org>
5559 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
5561 2012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
5563 * color.el (color-hsl-to-rgb): Fix incorrect results for
5564 small and large hue values. (Bug#12559)
5566 2012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
5568 Enhancements to docstring formatting when filling paragraphs.
5569 * progmodes/python.el (python-fill-docstring-style): Rename from
5570 python-fill-string-style. Added new style.
5571 (python-fill-string): Use new style. Better checks for
5574 2012-10-05 Glenn Morris <rgm@gnu.org>
5576 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
5578 * color.el (color-name-to-rgb, color-rgb-to-hex)
5579 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
5580 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
5581 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
5582 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
5584 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
5586 2012-10-05 Juanma Barranquero <lekktu@gmail.com>
5588 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
5589 to get the correct size across symlinks.
5591 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
5593 2012-10-04 Juri Linkov <juri@jurta.org>
5595 * replace.el (query-replace-interactive): Declare obsolete.
5596 (query-replace-read-from): Add the last incremental search string
5597 to the list of default values accessible via M-n.
5598 (map-query-replace-regexp): Use `read-regexp'.
5599 (query-replace, query-replace-regexp, query-replace-regexp-eval)
5600 (map-query-replace-regexp, replace-string, replace-regexp):
5601 Fix docstrings to replace mentions of `query-replace-interactive'
5602 with alternatives. (Bug#12526)
5604 2012-10-04 Juri Linkov <juri@jurta.org>
5606 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
5607 (dired-pop-to-buffer): Declare obsolete.
5608 (dired-mark-pop-up): Doc fix.
5610 2012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
5612 Allow user to set docstring style for fill-paragraph.
5613 * progmodes/python.el
5614 (python-fill-comment-function, python-fill-string-function)
5615 (python-fill-decorator-function, python-fill-paren-function):
5616 Remove :safe for defcustoms.
5617 (python-fill-string-style): New defcustom
5618 (python-fill-paragraph-function): Enhance context detection.
5619 (python-fill-string): Honor python-fill-string-style settings.
5621 2012-10-04 Martin Rudalics <rudalics@gmx.at>
5623 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
5624 after setting its buffer (Bug#10805).
5626 2012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
5628 Fix cornercase for string syntax.
5629 * progmodes/python.el (python-syntax-propertize-function):
5630 Simplify and enhance the regexp for unescaped quotes. Now it also
5631 matches quotes in weird situations like the single quote in
5633 (python-syntax-stringify): Simplify num-quotes detecting code.
5635 2012-10-03 Glenn Morris <rgm@gnu.org>
5637 * help-macro.el (three-step-help):
5638 Revert 2012-09-29 change. (Bug#12567)
5640 2012-10-03 Martin Rudalics <rudalics@gmx.at>
5642 * menu-bar.el (kill-this-buffer): Don't do anything when
5643 `menu-frame' is not alive or visible (Bug#8184).
5645 * emacs-lisp/debug.el (debug): When quitting the debugger window
5646 restore current buffer (Bug#12502).
5648 2012-10-02 Chong Yidong <cyd@gnu.org>
5650 * progmodes/hideif.el (hif-lookup, hif-defined):
5651 Handle semantic-c-takeover-hideif.
5653 2012-10-02 Paul Eggert <eggert@cs.ucla.edu>
5655 Change sampling interval units from ms to ns.
5656 * profiler.el (profiler-sampling-interval): Change units
5657 from ms to ns, multiplying the default by 1000000 so that
5659 (profiler-report-cpu-line-format): Give enough room for
5660 the maximum counters on 64-bit hosts.
5661 (profiler-report-render-calltree-1): Call them "CPU samples",
5662 not "Time (ms)", since they are not milliseconds now (and
5665 2012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
5667 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
5668 Fix querying BBDB for entries without a last name (Bug#11580).
5670 2012-10-02 Chong Yidong <cyd@gnu.org>
5672 * emacs-lisp/eieio.el: Restore Version header.
5674 2012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
5676 * vc/diff-mode.el (diff--auto-refine-data): New var.
5677 (diff-hunk): Use it to delay refinement.
5678 (diff-mode): Remove overlays when we turn off font-lock.
5680 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
5681 (table-initialize-table-fixed-width-mode)
5682 (table-set-table-fixed-width-mode): Remove functions.
5683 (table-command-list): Move initialization into declaration.
5684 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
5685 (table-with-cache-buffer): Use `declare'.
5686 (table-span-cell): Simplify via CSE.
5687 (table-fixed-width-mode): Use define-minor-mode.
5688 (table-call-interactively, table-funcall, table-apply): Remove.
5689 (table-function): New function, to replace them.
5691 * bookmark.el (bookmark-search-pattern): Remove var.
5692 (bookmark-read-search-input): Remove function.
5693 (bookmark-bmenu-search): Reimplement using a minibuffer.
5695 * faces.el (modeline): Remove obsolete face name.
5697 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
5698 and give a non-nil default value.
5699 (add-change-log-entry): Simplify accordingly.
5701 2012-10-01 Dmitry Gutov <dgutov@yandex.ru>
5703 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
5704 (vc-git-log-edit-toggle-amend): New function.
5705 (vc-git-log-edit-toggle-signoff): New function.
5706 (vc-git-log-edit-mode): New major mode.
5707 (vc-git-log-edit-mode-map): Keymap for it.
5708 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
5710 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
5712 (log-edit-toggle-header): New function.
5713 (log-edit-extract-headers): Accept function values in HEADERS alist.
5715 2012-10-01 David Engster <deng@randomsample.de>
5717 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
5718 from symbol property and change message to be more consistent with
5720 (eieio-describe-generic): Add filename for each implementation.
5721 Fix indices for generic and normal methods.
5722 (eieio-method-def, eieio-class-def): New buttons.
5723 (eieio-help-find-method-definition)
5724 (eieio-help-find-class-definition): New functions.
5725 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
5726 class, constructor and method definitions.
5728 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
5729 information in symbol property.
5730 (scoped-class): Remove.
5731 (eieio-slot-name-index, call-next-method): Check if it is bound.
5733 2012-10-01 Leo P. White <lpw25@cam.ac.uk>
5735 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
5736 (eieio-custom-mode): New major mode.
5737 (eieio-customize-object): Use it.
5739 2012-10-01 Eric Ludlam <zappo@gnu.org>
5741 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
5742 specifying the expected class, and whether subclassing is allowed.
5743 (eieio-persistent-convert-list-to-object):
5744 (eieio-persistent-validate/fix-slot-value)
5745 (eieio-persistent-slot-type-is-class-p): New functions.
5746 (eieio-named::slot-missing): Doc fix.
5748 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
5749 Stop using unused publd variable.
5751 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
5752 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
5753 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
5754 (eieio-speedbar-handle-click): Do not specify a class for the
5755 method. Fixes method invocation order problems with EDE.
5757 2012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
5759 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
5760 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
5762 2012-10-01 Karl Fogel <kfogel@red-bean.com>
5764 * bookmark.el (bookmark-version-control): Give tags in the
5765 :type choices (Bug#12309), and improve doc string.
5766 (bookmark-write-file): Bind `print-circle' to `t' to allow
5767 circular custom bookmark types. (Bug#12503)
5769 2012-10-01 Paul Eggert <eggert@cs.ucla.edu>
5771 Revert the FOLLOW-SYMLINKS change for file-attributes.
5772 * files.el (remote-file-name-inhibit-cache, after-find-file):
5773 * time.el (display-time-file-nonempty-p): Undo last change.
5775 * profiler.el (profiler-sampling-interval): Change default back to 1.
5776 See Stefan Monnier in
5777 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
5779 2012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
5781 Shell output catching a la gud-gdb.
5782 * progmodes/python.el (python-shell-fetch-lines-in-progress)
5783 (python-shell-fetch-lines-string, python-shell-fetched-lines):
5785 (python-shell-fetch-lines-filter): New function.
5786 (python-shell-send-string-no-output): Use them.
5788 2012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
5790 * profiler.el (profiler-sampling-interval): Rename from
5791 profiler-sample-interval.
5792 (profiler-sampling-interval): Default to 10.
5793 (profiler-find-profile): New command (was profiler-find-log).
5794 (profiler-find-profile-other-window): New command.
5795 (profiler-find-profile-other-frame): New command.
5796 (profiler-profile): Introduce API-level data structure.
5798 2012-09-30 Paul Eggert <eggert@cs.ucla.edu>
5800 file-attributes has a new optional arg FOLLOW-SYMLINKS.
5801 * files.el (remote-file-name-inhibit-cache):
5802 * time.el (display-time-file-nonempty-p): Use it.
5803 * files.el (after-find-file): Don't chase links before calling
5804 file-exists-p, as file-exists-p already does the right thing.
5806 2012-09-30 Ralf Angeli <angeli@caeruleus.net>
5808 Merge from standalone RefTeX repository.
5810 The following ChangeLog entries are shortened versions of the
5811 original ones with file paths adapted. A not so strongly edited
5812 version of the original ChangeLog can be found in the commit log.
5814 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
5815 (reftex-arg-cite): Use `reftex-cite-key-separator'.
5816 Correctly handle new value type returned by `reftex-citation'.
5818 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
5819 that entries with whitespace at various places are found.
5820 Doc fix. Include entries that are cross-referenced from cited entries.
5821 Include @String definitions in the resulting bib file. Add header
5822 and footer defined in `reftex-create-bibtex-header' and
5823 `reftex-create-bibtex-footer'.
5824 (reftex-do-citation): Make it possible again to insert
5825 non-existent entries. Save match data when asking for optional
5826 arguments. Return all keys, not just the first one.
5827 (reftex-all-used-citation-keys): Fix regexp to correctly extract
5828 all citations in the same line.
5829 (reftex-parse-bibtex-entry): Accept additional optional argument
5830 `raw' and keep quotes or braces if it is non-nil. Match fields
5831 containing hyphens besides word constituents.
5832 (reftex-get-string-refs): New function.
5833 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
5834 and ask if it should be reread in case it did.
5835 (reftex-pop-to-bibtex-entry)
5836 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
5837 entries with spaces or tabs in front of arguments.
5838 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
5839 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
5840 Match entries containing numbers and symbol constituents.
5841 (reftex-do-citation, reftex-figure-out-cite-format):
5842 Use `reftex-cite-key-separator'.
5844 * textmodes/reftex-dcr.el: Move provide statement to end of file.
5845 (reftex-mouse-view-crossref): Explain why point is set.
5847 * textmodes/reftex-global.el: Whitespace changes.
5849 * textmodes/reftex-index.el: Move provide statement to end of
5851 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
5852 (reftex-index-visit-phrases-buffer): Set marker when visiting
5853 buffer. This allows for returning from the phrases file to the
5854 file one was just editing instead of the file where the last
5855 phrases was added from.
5856 (reftex-index-phrases-syntax-table): New variable. Give ?\"
5857 punctuation syntax as it usually is not used as string quote in
5858 TeX-related modes and may occur unmatched. The change also
5859 prevents fontification of quoted content.
5860 (reftex-index-phrases-mode): Use it.
5862 * textmodes/reftex-parse.el (reftex-parse-from-file):
5863 Move backward one char if a `\' was matched after a section macro.
5864 (reftex-parse-from-file): Use beginning of match instead of end as
5867 * textmodes/reftex-ref.el: Adapt creation of
5868 `reftex-<package>-<macro>' functions to new structure of
5869 `reftex-ref-style-alist'.
5870 (reftex-reference): Use `reftex-ref-style-list' function.
5871 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
5872 reference macro if `reftex-ref-macro-prompt' is non-nil.
5873 (reftex-reference): Pass refstyle to `reftex-format-special'.
5874 Determine reference macro by looking at
5875 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
5876 Use only one special format function.
5877 (reftex-varioref-vref, reftex-fancyref-fref)
5878 (reftex-fancyref-Fref): Remove definitions. The functions are now
5879 generated from `reftex-ref-style-alist'.
5880 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
5882 (reftex-format-special): New function.
5884 * textmodes/reftex-sel.el
5885 (reftex-select-cycle-ref-style-internal): Adapt to new structure
5886 of `reftex-ref-style-alist'. Remove code for testing macro type.
5887 (reftex-select-toggle-varioref)
5888 (reftex-select-toggle-fancyref): Remove.
5889 (reftex-select-cycle-ref-style-internal)
5890 (reftex-select-cycle-ref-style-forward)
5891 (reftex-select-cycle-ref-style-backward): New functions.
5892 (reftex-select-label-map): Use `v' and `V' for general cycling
5893 through reference styles. Add `p' for switching between number
5894 and page reference types.
5896 * textmodes/reftex-toc.el (reftex-re-enlarge):
5897 Call `enlarge-window' only if there is something to do because in Emacs
5898 the horizontal version throws an error even if the parameter is 0.
5900 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
5901 (reftex-plug-into-AUCTeX): Doc fix.
5902 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
5903 string. Adapt to new name.
5904 (reftex-ref-style-alist): Change structure so that it is not
5905 possible to use multiple different package names within a style.
5906 Remove the symbols for symbols for macro type distinction.
5907 Add characters for macro selection.
5908 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
5909 (reftex-create-bibtex-footer): New variables.
5910 (reftex-format-ref-function): Mention third argument of special
5912 (reftex-ref-style-alist, reftex-ref-style-default-list):
5914 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
5915 to new implementation. Mark as obsolete. Add compatibility code
5916 for honoring the variable values in case they are set.
5917 (reftex-cite-format-builtin, reftex-bibliography-commands):
5918 Add support for ConTeXt.
5919 (reftex-format-ref-function, reftex-format-cite-function):
5921 (reftex-cite-key-separator): New variable.
5923 * textmodes/reftex.el (reftex-syntax-table-for-bib)
5924 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
5925 `reftex-syntax-table' because parens have to retain their paren
5926 syntax in order for parsing of BibTeX entries like @book(...) to
5928 (reftex-in-comment): Do not error out if `comment-start-skip' is
5929 not set. Deal correctly with escaped comment characters.
5930 (reftex-tie-multifile-symbols): Add doc string.
5931 Initialize `reftex-ref-style-list'.
5932 (reftex-untie-multifile-symbols): Add doc string.
5933 (reftex-add-index-macros): Doc fix.
5934 (reftex-ref-style-activate, reftex-ref-style-toggle)
5935 (reftex-ref-style-list): New functions.
5936 (reftex-mode-menu): Use them. Adapt to new structure of
5937 `reftex-ref-style-alist'.
5938 (reftex-select-with-char): Kill the RefTeX Select buffer when
5940 (reftex-remove-if): New function.
5941 (reftex-erase-all-selection-and-index-buffers)
5942 (reftex-mode-menu): Reference styles are now computed from
5943 `reftex-ref-style-alist'. Fix typo.
5944 (reftex-report-bug): New function.
5945 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
5946 algorithms with O(n log n). Introduce optional argument SORT (not
5949 2012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
5951 Enhancements for triple-quote string syntax.
5952 * progmodes/python.el (python-syntax-propertize-function):
5953 Match both quote cases in one regexp.
5954 (python-syntax-stringify): Handle matches properly.
5956 2012-09-30 Juri Linkov <juri@jurta.org>
5958 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
5959 to nil around the call to `insert' to prevent
5960 directory time modification by lock_file. (Bug#2295)
5961 * tar-mode.el (tar-summarize-buffer): Idem.
5963 2012-09-30 Juri Linkov <juri@jurta.org>
5965 * facemenu.el (list-colors-sort): Add option "Luminance".
5966 (list-colors-sort-key): Implement it.
5968 * vc/diff-mode.el (diff-refine-removed):
5969 * vc/ediff-init.el (ediff-fine-diff-A):
5970 * vc/smerge-mode.el (smerge-refined-removed):
5971 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
5973 2012-09-30 Jan Djärv <jan.h.d@swipnet.se>
5975 * term/ns-win.el (x-file-dialog): New function.
5977 2012-09-30 Juanma Barranquero <lekktu@gmail.com>
5979 * ido.el (ido-max-directory-size): Default to nil; the current
5980 default is small for POSIX systems, and impractical on Windows 7
5981 now that lstat returns directory sizes for NTFS.
5983 2012-09-30 Martin Rudalics <rudalics@gmx.at>
5985 In buffer display functions handle window-height/window-width
5986 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
5987 * window.el (window--display-buffer): New argument ALIST.
5988 Obey window-height and window-width alist entries.
5989 (window--try-to-split-window): New argument ALIST.
5990 Bind window-combination-limit to t when the window's size shall be
5991 changed and window-combination-limit equals `window-size'.
5992 (display-buffer-in-atom-window)
5993 (display-buffer-in-major-side-window)
5994 (display-buffer-in-side-window, display-buffer-same-window)
5995 (display-buffer-reuse-window, display-buffer-pop-up-frame)
5996 (display-buffer-pop-up-window, display-buffer-below-selected)
5997 (display-buffer-at-bottom, display-buffer-in-previous-window)
5998 (display-buffer-use-some-window): Adjust all callers of
5999 window--display-buffer and window--try-to-split-window.
6000 (fit-frame-to-buffer): New option.
6001 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
6003 (display-buffer-in-major-side-window): Evaluate window-height /
6004 window-width alist entries.
6006 * help.el (temp-buffer-resize-frames)
6007 (temp-buffer-resize-regexps): Remove options.
6008 (temp-buffer-resize-mode): Adjust doc-string.
6009 (resize-temp-buffer-window): Don't consult
6010 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
6011 temp-buffer-resize-frames.
6013 * dired.el (dired-mark-pop-up):
6014 Call display-buffer-below-selected with a fit-window-to-buffer alist
6017 2012-09-30 Chong Yidong <cyd@gnu.org>
6019 * server.el (server-host): Document the security implications.
6020 (server-auth-key): Doc fix.
6022 * startup.el (initial-buffer-choice): Doc fix.
6024 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
6026 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
6029 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
6031 * help-fns.el (help-fns--obsolete): Fix last change.
6033 2012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
6035 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
6036 (minor-mode-map-alist): Remove redundant code.
6038 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
6039 visited in a buffer.
6040 (cvs-insert-visited-file): New function.
6041 (find-file-hook): Use it.
6043 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
6045 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
6047 (log-edit-empty-buffer-p): Don't require a space after a header.
6049 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
6051 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
6053 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
6054 a proper minor-mode.
6056 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
6058 2012-09-29 Glenn Morris <rgm@gnu.org>
6060 * winner.el (winner-mode): Remove variable (let define-minor-mode
6062 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
6064 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
6065 (winner-mode): Use define-minor-mode.
6067 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
6068 the full definition in loaddefs, rather than duplicating it.
6070 * help-macro.el (three-step-help): No need to autoload defcustom.
6072 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
6073 (inferior-lisp-program, inferior-lisp-load-command)
6074 (inferior-lisp-prompt, inferior-lisp-mode-hook):
6075 No need to autoload defcustoms.
6077 * hippie-exp.el (hippie-expand-try-functions-list)
6078 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
6079 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
6080 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
6081 (hippie-expand-only-buffers): No need to autoload defcustoms.
6082 * progmodes/vhdl-mode.el (vhdl-line-expand):
6083 Explicitly load hippie-exp, so it does not get autoloaded
6084 while hippie-expand-try-functions-list is let-bound.
6086 2012-09-28 Glenn Morris <rgm@gnu.org>
6088 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
6090 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
6091 Only "cl.el" counts as cl these days.
6093 2012-09-28 Juri Linkov <juri@jurta.org>
6095 Display archive errors in the echo area instead of inserting
6098 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
6099 to STDERR-TEST that can be a regexp matching a successful output.
6100 Create a temporary file and redirect stderr to it. Search for
6101 STDERR-TEST in the stderr output and display it in the echo area
6102 if no match is found.
6103 (archive-extract-by-file): New function like
6104 `archive-extract-by-stdout' but extracting archives to files
6105 and looking for successful matches in stdout. Function body is
6106 mostly copied from `archive-rar-extract'.
6107 (archive-rar-extract): Use `archive-extract-by-file'.
6108 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
6110 2012-09-28 Leo Liu <sdl.web@gmail.com>
6112 * pcomplete.el (pcomplete-show-completions):
6113 Use minibuffer-message to make pcomplete usable in minibuffer.
6115 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
6117 2012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
6119 * type-break.el: Use lexical-binding.
6120 (type-break-mode): Use define-minor-mode.
6122 * emacs-lisp/pcase.el (pcase--mark-used): New.
6123 (pcase--u1): Use it (bug#12512).
6125 * custom.el (load-theme): Set buffer-file-name so the load is recorded
6126 in load-history with the right file name.
6128 2012-09-28 Tassilo Horn <tsdh@gnu.org>
6130 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
6131 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
6132 (doc-view-get-bounding-box): Make bounding box slicing work for
6133 ODF and DVI documents.
6135 2012-09-28 Glenn Morris <rgm@gnu.org>
6137 * type-break.el (type-break-mode, type-break-interval)
6138 (type-break-good-rest-interval, type-break-keystroke-threshold):
6139 No need to autoload.
6140 (type-break-good-rest-interval, type-break-keystroke-threshold):
6143 2012-09-28 Chong Yidong <cyd@gnu.org>
6145 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
6148 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
6150 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
6152 2012-09-27 Glenn Morris <rgm@gnu.org>
6154 * faces.el (x-display-name): Declare (for without-x builds).
6156 * linum.el (linum-format): Don't autoload it. Improve :type.
6158 * progmodes/tcl.el: Don't require outline when compiling.
6159 (outline-regexp, outline-level): Declare.
6160 * textmodes/sgml-mode.el: Don't require outline when compiling.
6161 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
6163 * term.el (term-ansi-reset):
6164 Try setting term-ansi-face-already-done to nil. (Bug#11785)
6166 * vc/vc.el (vc-next-action): Only gripe about committing read-only
6167 files for RCS and SCCS. (Bug#9781)
6169 2012-09-27 Chong Yidong <cyd@gnu.org>
6171 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
6172 change; value should be t.
6174 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
6176 * image-mode.el: Use lexical-binding.
6177 (image-mode-winprops): Use t to stand for the window of
6178 a buffer that's not displayed.
6179 * doc-view.el (doc-view-new-window-function): Handle the new
6181 (doc-view-enlarge): Make it a real nop if the size is not changed.
6182 (doc-view-display): Handle the case where the buffer is not (yet?)
6183 displayed in any window.
6184 (doc-view-saved-settings): New var.
6185 (doc-view-mode): Use it.
6186 (doc-view-fallback-mode): Set it.
6188 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
6189 Set lexical-binding.
6190 (minibuffer-eldef-shorten-default): New var.
6191 (minibuffer-default-in-prompt-regexps): Use it for new default.
6192 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
6194 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
6196 * international/uni-bidi.el:
6197 * international/uni-category.el:
6198 * international/uni-name.el:
6199 * international/uni-numeric.el: Regenerate.
6201 2012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
6202 Stefan Monnier <monnier@iro.umontreal.ca>
6204 * profiler.el: New file.
6206 2012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
6208 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
6209 (testcover-reinstrument): Simplify with CSE.
6211 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
6213 * window.el (temp-buffer-window-setup): Fix typo in docstring.
6215 2012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
6217 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
6218 (verilog-auto-input, verilog-auto-insert-lisp)
6219 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
6220 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
6221 (verilog-auto-unused, verilog-auto-wire)
6222 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
6223 newline. Reported by Andrew Jones.
6224 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
6225 Reported by Brad Dobbie.
6226 (verilog-batch-delete-trailing-whitespace):
6227 Create verilog-batch-delete-trailing-whitespace.
6228 Reported by Brad Dobbie.
6229 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
6230 parameters from another module. Reported by Dan Katz.
6231 (verilog-auto, verilog-auto-assign-modport)
6232 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
6233 AUTOINOUTMODPORT for UVM interface module shell generation.
6234 Reported by Brad Dobbie.
6235 (verilog-auto-inst-interfaced-ports): Make default nil, as more
6237 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
6238 Reported by Matt Martin.
6240 2012-09-25 Martin Rudalics <rudalics@gmx.at>
6242 * window.el (window--resize-child-windows): When resizing child
6243 windows proportionally, process them in reverse order to
6244 preserve the "when splitting a window the new one gets the odd
6246 (window--resize-root-window-vertically): When resizing the
6247 minibuffer window try to affect only windows at the bottom of the
6250 2012-09-25 Chong Yidong <cyd@gnu.org>
6252 * subr.el (declare): Doc fix.
6254 * help-fns.el (help-fns--obsolete): Handle macros properly.
6256 2012-09-25 Chong Yidong <cyd@gnu.org>
6258 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
6259 this function obsolete.
6261 * calendar/cal-x.el (calendar-two-frame-setup)
6262 (calendar-only-one-frame-setup, calendar-one-frame-setup):
6263 * calendar/calendar.el (american-calendar, european-calendar)
6264 (calendar-for-loop):
6265 * comint.el (comint-dynamic-simple-complete)
6266 (comint-dynamic-complete-as-filename, comint-unquote-filename):
6267 * desktop.el (desktop-load-default):
6268 * dired-x.el (dired-omit-here-always)
6269 (dired-hack-local-variables, dired-default-directory):
6270 * emacs-lisp/derived.el (derived-mode-class):
6271 * emacs-lisp/timer.el (timer-set-time-with-usecs):
6272 * emacs-lock.el (toggle-emacs-lock):
6273 * epa.el (epa-display-verify-result):
6274 * epg.el (epg-sign-keys, epg-start-sign-keys)
6275 (epg-passphrase-callback-function):
6276 * eshell/esh-util.el (eshell-for):
6277 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
6278 (eshell-add-to-window-buffer-names):
6279 * files.el (locate-file-completion):
6280 * imenu.el (imenu-example--create-c-index)
6281 (imenu-example--create-lisp-index)
6282 (imenu-example--lisp-extract-index-name)
6283 (imenu-example--name-and-position):
6284 * international/mule-cmds.el (princ-list):
6285 * international/mule-diag.el (decode-codepage-char):
6286 * international/mule-util.el (detect-coding-with-priority):
6287 * iswitchb.el (iswitchb-read-buffer):
6288 * mail/mailalias.el (mail-complete):
6289 * mail/sendmail.el (mail-sent-via):
6290 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
6291 (mouse-major-mode-menu):
6292 * password-cache.el (password-read-and-add):
6293 * pcomplete.el (pcomplete-parse-comint-arguments):
6294 * progmodes/sh-script.el (sh-maybe-here-document):
6295 * replace.el (query-replace-regexp-eval):
6296 * savehist.el (savehist-load):
6297 * simple.el (choose-completion-delete-max-match):
6298 * term.el (term-dynamic-simple-complete):
6299 * vc/ediff-init.el (ediff-check-version):
6300 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
6301 * vc/vc.el (vc-diff-switches-list):
6302 * view.el (view-return-to-alist-update): Likewise.
6304 * subr.el (eval-next-after-load, makehash, insert-string)
6305 (assoc-ignore-representation, assoc-ignore-case): Use declare to
6307 (mode-line-inverse-video): Variable deleted.
6309 * international/mule-util.el (string-to-sequence): Remove.
6311 * calendar/calendar.el (calendar-version):
6312 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
6313 (icalendar-convert-diary-to-ical):
6314 * cus-edit.el (custom-mode):
6315 * ansi-color.el (ansi-color-unfontify-region):
6316 * international/latin1-disp.el (latin1-char-displayable-p):
6317 * progmodes/cwarn.el (turn-on-cwarn-mode):
6318 * progmodes/which-func.el (which-func-update-1):
6319 Use define-obsolete-function-alias.
6321 * net/newst-backend.el (newsticker-cache-filename):
6322 * net/newst-treeview.el (newsticker-groups-filename):
6323 Fix incorrect obsolescence declaration.
6325 * allout.el (allout-passphrase-hint-string): Likewise.
6326 (allout-init): Use a declare form to mark obsolete.
6328 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
6329 this applies to functions.
6331 * iswitchb.el (iswitchb-read-buffer): Move code of
6332 iswitchb-define-mode-map here, and delete that obsolete function.
6334 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
6335 font-lock-reference-face.
6337 2012-09-25 Glenn Morris <rgm@gnu.org>
6339 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
6342 * eshell/em-term.el (eshell-term-name):
6343 Default to term-term-name. (Bug#12485)
6345 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
6347 * progmodes/python.el (python-shell-send-buffer): Better handling
6348 of "if __name__ == '__main__':" conditionals when sending the buffer.
6350 2012-09-24 Glenn Morris <rgm@gnu.org>
6352 * eshell/esh-cmd.el (eshell-find-alias-function):
6353 Tighten up file-name regexp. (Bug#12499)
6355 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
6357 Enhancements for triple-quote string syntax.
6358 * progmodes/python.el (python-quote-syntax): Remove.
6359 (python-syntax-propertize-function): New value.
6360 (python-syntax-count-quotes, python-syntax-stringify):
6363 2012-09-24 Chong Yidong <cyd@gnu.org>
6365 * mail/supercite.el (sc-version): Remove obsolete function.
6366 (sc-describe): Don't mark as obsolete, since it is bound.
6367 (sc-submit-bug-report): Remove.
6369 * vc/log-edit.el (cvs-changelog-full-paragraphs)
6370 (cvs-commit-buffer-require-final-newline): Remove.
6371 (log-edit-require-final-newline)
6372 (log-edit-changelog-full-paragraphs): Default to t.
6374 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
6375 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
6376 * vc/vc.el (vc-checkout-carefully): Likewise.
6378 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
6379 (emerge-version): Remove.
6381 * progmodes/compile.el (compile-internal): Remove.
6382 (compilation-parse-errors-function): Fix typo.
6384 * international/mule.el (set-char-table-default): Remove.
6385 (set-coding-priority, make-coding-system, generic-char-p)
6386 (charset-list, charset-bytes, charset-id): Use declare to mark
6387 functions as obsolete.
6389 * vc/pcvs-defs.el (cvs-buffer-name-alist)
6390 (cvs-invert-ignore-marks): Remove references to obsolete vars.
6391 * vc/vc-hooks.el (vc-default-registered): Don't use
6392 vc-master-templates.
6394 * font-lock.el (font-lock-reference-face):
6395 Use define-obsolete-variable-alias.
6397 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
6398 * calendar/calendar.el (calendar-font-lock-keywords):
6399 * calendar/diary-lib.el (diary-font-lock-keywords)
6400 (diary-fancy-font-lock-keywords):
6401 * textmodes/reftex-sel.el (reftex-insert-docstruct):
6402 * textmodes/reftex-index.el (reftex-insert-index):
6403 * textmodes/reftex-cite.el (reftex-format-bib-entry):
6404 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6405 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
6406 * progmodes/prolog.el (prolog-font-lock-keywords):
6407 * progmodes/idlwave.el (idlwave-idl-keywords):
6408 * progmodes/ada-mode.el (ada-font-lock-keywords):
6409 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
6411 2012-09-24 Glenn Morris <rgm@gnu.org>
6413 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
6415 2012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
6417 * progmodes/python.el (python-indent-line): More consistent cursor
6420 2012-09-23 Stefan Merten <smerten@oekonux.de>
6422 * textmodes/rst.el: Fix compiler warning.
6424 2012-09-23 Roland Winkler <winkler@gnu.org>
6426 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
6427 Transcribe also LaTeX hyphenation.
6428 (bibtex-reformat): Bug fix. Do not quote twice the elements of
6429 bibtex-reformat-previous-options.
6431 2012-09-23 Roland Winkler <winkler@gnu.org>
6433 * proced.el (proced-renice-command): New variable.
6434 (proced-marked-processes): New function.
6435 (proced-with-processes-buffer): New macro.
6436 (proced-send-signal): Use them.
6437 (proced-renice): New command bound to r.
6439 2012-09-23 Roland Winkler <winkler@gnu.org>
6441 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
6442 ibuffer-saved-filter-groups has one element, shortcut the call of
6443 completing-read. (Bug#12331)
6445 2012-09-23 Chong Yidong <cyd@gnu.org>
6447 * bindings.el (mode-line-toggle-read-only):
6448 * bs.el (bs-toggle-readonly):
6449 * buff-menu.el (Buffer-menu-toggle-read-only):
6450 * dired.el (dired-toggle-read-only):
6451 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
6453 2012-09-23 Chong Yidong <cyd@gnu.org>
6455 * image.el (image-type-available-p): Adapt to init-image-library
6458 2012-09-22 Juri Linkov <juri@jurta.org>
6460 * dired.el (dired-mode-map): Add [remap read-only-mode] for
6461 `dired-toggle-read-only'. (Bug#12462)
6463 2012-09-22 Martin Rudalics <rudalics@gmx.at>
6465 * subr.el (temp-output-buffer-show): New function.
6466 (with-output-to-temp-buffer): Call temp-output-buffer-show
6467 instead of internal-temp-output-buffer-show.
6469 2012-09-22 Chong Yidong <cyd@gnu.org>
6471 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
6474 * repeat.el (repeat): Doc fix (Bug#12348).
6476 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
6479 * simple.el (shell-command-on-region): Doc fix.
6480 (read-only-mode): Doc fix.
6482 2012-09-22 Eli Zaretskii <eliz@gnu.org>
6484 * emacs-lisp/timer.el (run-with-idle-timer)
6485 (timer-activate-when-idle): Warn against reinvoking an idle timer
6486 from within its own timer action. (Bug#12447)
6488 2012-09-22 Martin Rudalics <rudalics@gmx.at>
6490 * cus-start.el (window-combination-limit): Add new optional
6492 * window.el (temp-buffer-window-show)
6493 (window--try-to-split-window): Handle new values of
6494 window-combination-limit (Bug#1806).
6495 (split-window): Test window-combination-limit for t instead of
6497 (display-buffer-at-bottom): New buffer display action function.
6498 * help.el (temp-buffer-resize-regexps): New option.
6499 (temp-buffer-resize-mode): Rewrite doc-string.
6500 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
6501 Don't resize reused window. Suggested by Glenn Morris.
6503 2012-09-22 Stefan Merten <smerten@oekonux.de>
6505 * textmodes/rst.el: Revamp section title faces.
6506 (rst-official-version)
6507 (rst-package-emacs-version-alist): Sync with official version
6509 (rst-faces-defaults, rst-set-level-default)
6510 (rst-level-face-max, rst-level-face-base-color)
6511 (rst-level-face-base-light, rst-level-face-format-light)
6512 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
6513 (rst-adornment-faces-alist): Match new setup.
6514 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
6515 (rst-level-5, rst-level-6): New faces.
6517 2012-09-22 Chong Yidong <cyd@gnu.org>
6519 * simple.el (undo): Handle indirect buffers (Bug#8207).
6521 2012-09-21 Leo Liu <sdl.web@gmail.com>
6523 IDO: Disable match re-ordering for buffer switching.
6524 * ido.el (ido-buffer-disable-smart-matches): New variable.
6525 (ido-set-matches-1): Use it. (Bug#2042)
6527 2012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
6529 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
6530 Fix 2011-05-17 change. (Bug#12418)
6532 2012-09-21 Leo Liu <sdl.web@gmail.com>
6534 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
6536 2012-09-21 Glenn Morris <rgm@gnu.org>
6538 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
6539 Be more robust about locating simple.el.
6541 2012-09-21 Glenn Morris <rgm@gnu.org>
6543 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
6545 2012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
6547 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
6549 2012-09-20 Juri Linkov <juri@jurta.org>
6551 * replace.el (query-replace-read-from): Use `read-regexp' instead
6552 of `read-from-minibuffer' when `regexp-flag' is non-nil.
6553 (occur-read-primary-args): Use `read-regexp' instead of
6555 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
6556 `read-from-minibuffer'.
6557 * isearch.el (isearch-occur): Use `read-regexp' instead of
6559 * dired.el (dired-read-regexp): Use `read-regexp' instead of
6560 `read-from-minibuffer'.
6561 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
6562 of `read-string'. (Bug#7567)
6564 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
6565 and allow accepting a list of strings prepended to a list of
6566 standard default values. Doc fix. (Bug#12321)
6568 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
6570 * replace.el (read-regexp): Don't add ": " when PROMPT already
6571 ends with a colon and space. (Bug#12321)
6573 2012-09-20 Tassilo Horn <tsdh@gnu.org>
6575 * doc-view.el (doc-view-display): Better fix for the cl-assertion
6578 2012-09-20 Stefan Merten <smerten@oekonux.de>
6580 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
6581 Fixes feature request bug#11711.
6582 (rst-mode): Create `imenu-create-index-function'.
6583 (rst-get-stripped-line): Delete after refactoring.
6584 (rst-section-tree, rst-section-tree-rec)
6585 (rst-section-tree-point): Refactor and document properly.
6586 (rst-imenu-find-adornments-for-position)
6587 (rst-imenu-convert-cell, rst-imenu-create-index):
6590 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
6592 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
6593 (macroexp--expand-all): Use it.
6594 (macroexp--funcall-and-return): Remove by folding it into its sole
6595 caller (macroexp--warn-and-return).
6596 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
6597 Use macroexp--obsolete-warning.
6599 * calc/calc.el: Fix last change by removing the whole chunk, since it
6600 was only needed back when Calc was not bundled.
6602 2012-09-20 Martin Rudalics <rudalics@gmx.at>
6604 * emacs-lisp/debug.el (debug): Restore assignment to
6605 debugger-old-buffer removed on 2012-09-08.
6607 2012-09-20 Juri Linkov <juri@jurta.org>
6609 * dired-aux.el (dired-diff): Remove (require 'diff) since
6610 `diff-latest-backup-file' is now autoloaded.
6612 2012-09-20 Chong Yidong <cyd@gnu.org>
6614 * vc/diff.el (diff-latest-backup-file): Autoload.
6616 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
6618 * calc/calc.el: Remove redundant autoload shape check.
6619 (sel-mode): Don't defvar.
6620 (calc-get-stack-element): Add `sel-mode' arg instead.
6621 (calc-top, calc-top-list): Pass it this additional argument.
6622 * calc/calc-store.el (calc-store-map):
6623 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
6624 (calc-map-equation, calc-outer-product, calc-inner-product):
6625 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
6627 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
6629 2012-09-19 Juri Linkov <juri@jurta.org>
6631 * dired-aux.el (dired-diff): Add (require 'diff) because
6632 `diff-latest-backup-file' is not autoloaded.
6633 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
6634 of `dired-get-filename' to t to not report error when there is
6635 no default file on the current line.
6637 2012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
6639 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
6640 macroexp--eval-if-compile.
6641 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
6642 (macroexp--expand-all): Use them (bug#12371).
6644 * doc-view.el (doc-view-guess-paper-size)
6645 (doc-view-scale-bounding-box): Fix unbound `caddr'.
6647 2012-09-19 Tassilo Horn <tsdh@gnu.org>
6649 New feature: set optimal slice from BoundingBox information.
6650 * doc-view.el (doc-view-mode-map): Add keybinding.
6651 (doc-view-menu): Add menu entry.
6652 (doc-view-set-slice): Adapt docstring.
6653 (doc-view-get-bounding-box, doc-view-guess-paper-size)
6654 (doc-view-scale-bounding-box)
6655 (doc-view-set-slice-from-bounding-box): New functions.
6656 (doc-view-paper-sizes): New defvar.
6658 2012-09-19 Glenn Morris <rgm@gnu.org>
6660 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
6661 (byte-compile-log-warning): Autoload. (Bug#12371)
6663 * calendar/calendar.el (calendar-american-month-header)
6664 (calendar-european-month-header, calendar-iso-month-header)
6665 (calendar-month-header): New options.
6666 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
6667 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
6669 2012-09-19 Jan Djärv <jan.h.d@swipnet.se>
6671 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
6673 2012-09-18 Juri Linkov <juri@jurta.org>
6675 * dired-aux.el (dired-diff): Restore original functionality of
6676 getting the default value, but keep new feature of using the
6677 latest existing backup file (`diff-latest-backup-file').
6679 2012-09-18 Juri Linkov <juri@jurta.org>
6681 * dired.el (dired-mark): If the region is active in Transient Mark
6682 mode, mark all files in the active region. Doc fix.
6683 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
6684 Doc fix. (Bug#10624)
6686 2012-09-18 Juri Linkov <juri@jurta.org>
6688 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
6689 attributes for M-n are pulled from the file at point.
6690 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
6691 Suggested by Drew Adams. (Bug#10624)
6693 2012-09-18 Dmitry Gutov <dgutov@yandex.ru>
6695 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
6696 whitespace after "end".
6697 (ruby-do-end-to-brace): Collapse block to one line if it fits
6700 2012-09-18 Martin Rudalics <rudalics@gmx.at>
6702 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
6704 (debug): Don't remove debugger window when debugger is expected
6707 2012-09-18 Chong Yidong <cyd@gnu.org>
6709 * custom.el (defface): Doc fix.
6711 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
6713 2012-09-18 Martin Blais <blais@furius.ca> (tiny change)
6715 * progmodes/compile.el (compilation-start): Use compilation-always-kill
6716 to initialize query-on-exit; then test that instead (bug#12288).
6718 2012-09-17 Stefan Merten <smerten@oekonux.de>
6720 * textmodes/rst.el: Add support for `testcover'.
6721 (rst-defcustom-testcover, rst-testcover-add-compose)
6722 (rst-testcover-add-1value): New functions.
6723 (rst-portable-mark-active-p): Replace by `use-region-p'.
6724 (rst-update-section, rst-classify-adornment)
6725 (rst-find-title-line): Mark `1value' forms.
6726 (rst-classify-adornment): Remove superfluous form.
6727 (rst-update-section, rst-get-adornments-around)
6728 (rst-adornment-complete-p, rst-get-next-adornment)
6729 (rst-adjust, rst-promote-region)
6730 (rst-display-adornments-hierarchy, rst-straighten-adornments)
6731 (rst-find-pfx-in-region, rst-section-tree-rec)
6732 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
6733 (rst-toc-node, rst-toc, rst-forward-section)
6734 (rst-iterate-leftmost-paragraphs)
6735 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
6736 (rst-bullet-list-region)
6737 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
6738 (rst-compile-find-conf, rst-compile)
6739 (rst-repeat-last-character): Fix style.
6741 2012-09-17 Chong Yidong <cyd@gnu.org>
6743 * comint.el (comint--complete-file-name-data): Don't add a space
6744 if the status is `sole'; that adds a gratuitous space in the
6745 completion-cycling case (Bug#12092).
6747 * pcomplete.el (pcomplete-completions-at-point): Likewise.
6749 2012-09-17 Richard Stallman <rms@gnu.org>
6751 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
6752 only in the mime-shown mode, not in raw mode.
6753 (rmail-mime): Toggle off mime by displaying the message without
6754 mime processing. (Bug#12305)
6756 * mail/rmail.el (rmail-retry-failure):
6757 Turn off mime processing first. (Bug#12037)
6759 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
6761 2012-09-17 Chong Yidong <cyd@gnu.org>
6763 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
6764 (shell-dynamic-complete-functions): Convert to defcustom.
6765 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
6767 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
6768 * comint.el (comint-prompt-read-only):
6769 * custom.el (defcustom):
6770 * hi-lock.el (hi-lock-mode):
6771 * ibuffer.el (ibuffer-formats):
6772 * ielm.el (ielm-prompt-read-only):
6773 * novice.el (disable-command):
6774 * saveplace.el (toggle-save-place):
6775 * speedbar.el (speedbar-supported-extension-expressions):
6776 * startup.el (auto-save-list-file-prefix, init-file-user)
6777 (after-init-hook, inhibit-startup-echo-area-message):
6778 * strokes.el (strokes-help):
6779 * time-stamp.el (time-stamp):
6780 * calendar/calendar.el (calendar, diary-file):
6781 * calendar/diary-lib.el (diary-mail-entries, diary)
6782 (diary-list-entries-hook):
6783 * calendar/holidays.el (holidays, calendar-holidays):
6784 * calendar/lunar.el (lunar-phases):
6785 * calendar/solar.el (sunrise-sunset):
6786 * emulation/edt.el (edt-load-keys):
6787 * emulation/viper.el (viper-mode):
6788 * eshell/em-alias.el (eshell-command-aliases-list):
6789 * eshell/esh-util.el (eshell-convert-numeric-arguments):
6790 * international/ogonek.el (ogonek-information):
6791 * net/tramp-cmds.el (tramp-bug):
6792 * net/quickurl.el (quickurl-reread-hook-postfix):
6793 * play/decipher.el (decipher-font-lock-keywords):
6794 * progmodes/cc-styles.el (c-set-style):
6795 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
6796 * progmodes/inf-lisp.el (inferior-lisp-prompt):
6797 * progmodes/octave-mod.el (octave-mode):
6798 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
6799 * progmodes/verilog-mode.el (verilog-read-defines):
6800 * textmodes/two-column.el (2C-mode): Likewise.
6802 2012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
6804 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
6805 that holds many addresses.
6807 2012-09-16 Chong Yidong <cyd@gnu.org>
6809 * align.el (align-areas): Call the indication function with
6810 positions instead of markers for arguments (Bug#12343).
6812 * files.el (parse-colon-path): Use split-string (Bug#12351).
6814 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
6815 (display-buffer-function): Mark as obsolete.
6817 * progmodes/compile.el (compilation-parse-errors): Accept list
6818 values similar to font-lock-keywords (Bug#12136).
6819 Suggested by Oleksandr Manzyuk.
6820 (compilation-error-regexp-alist): Doc fix.
6822 2012-09-15 Glenn Morris <rgm@gnu.org>
6824 * version.el (emacs-bzr-version-bzr): New function.
6825 (emacs-bzr-get-version): Add optional EXTERNAL argument.
6827 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
6828 checkouts, check the parent dirstate matches the branch.
6829 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
6832 * version.el (emacs-bzr-version): Doc fix.
6833 (emacs-bzr-version-dirstate): New function.
6834 (emacs-bzr-get-version): For lightweight checkouts, if the parent
6835 is local try and check that it matches the branch. If not, just
6836 use dirstate information. (Bug#12441)
6838 2012-09-14 Juri Linkov <juri@jurta.org>
6840 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
6843 2012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
6845 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
6847 * emacs-lisp/edebug.el: Miscellaneous cleanup.
6848 Remove obsolete byte-compiler hack that tried to silence some warnings.
6849 (edebug-submit-bug-report): Remove.
6850 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
6851 Remove aliases, use the un-prefixed name instead.
6852 (edebug-pop-to-buffer): Consider other frames.
6853 (edebug-original-read):: Make it more obvious that it's always defined.
6854 (edebug--make-form-data-entry, edebug--form-data-name)
6855 (edebug--form-data-begin, edebug--form-data-end): Rename from the
6856 single-dashed name, and implement with cl-defstruct.
6857 (edebug-set-form-data-entry): Use the standard accessors.
6858 (edebug-make-top-form-data-entry): Use push.
6859 (edebug-no-match): Drop useless `funcall'.
6860 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
6862 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
6863 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
6864 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
6865 (easy-menu-define, with-custom-print): Remove redundant specs.
6866 (edebug-outside-overriding-local-map)
6867 (edebug-outside-overriding-terminal-local-map): Remove, unused.
6868 (edebug--display): Bind unread-command-events directly to nil rather
6869 than binding it to unread-command-events and later setting it to nil.
6870 (edebug--display): Kill edebug-eval-buffer here...
6871 (edebug--recursive-edit): ...rather than here.
6872 Bind standard-output and standard-input.
6873 (edebug-eval): Check cl-macroexpand-all is fboundp.
6874 (edebug-temp-display-freq-count): Fix last change.
6876 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
6877 * subr.el (noreturn, 1value): Add `debug' spec.
6878 * emacs-lisp/advice.el: Require cl-lib.
6879 (ad-copy-tree): Remove, use copy-tree instead.
6880 (ad-dolist): Remove use dolist or cl-dolist instead.
6881 (ad-do-return): Remove, use cl-return instead.
6882 (defadvice): Add `debug' spec.
6884 2012-09-13 Juri Linkov <juri@jurta.org>
6886 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
6889 2012-09-13 Glenn Morris <rgm@gnu.org>
6891 * calc/calc.el (math-compose-expr):
6892 * calc/calc-ext.el (math-compose-expr):
6893 * progmodes/cc-defs.el (cl-macroexpand-all):
6894 * progmodes/cc-langs.el (delete-duplicates, mapcan)
6895 (cl-macroexpand-all): Update declarations.
6897 * vc/vc.el: No need to require ediff.
6898 (ediff-load-version-control): Declare.
6899 (ediff-vc-internal): Fix declaration.
6900 (vc-version-ediff): Require ediff.
6902 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
6904 Use a more backwards-compatible timer format (Bug#12430).
6905 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
6906 being right after USECS, as that better supports old code that
6907 inadvisedly looked directly at the timer vector.
6909 2012-09-13 Kenichi Handa <handa@gnu.org>
6911 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
6912 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
6913 `coding-priority' property of these language environment.
6915 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
6917 Fix glitches caused by addition of psec to timers (Bug#12430).
6918 * image.el (image-animate-timer):
6919 * time.el (display-time-world-timer):
6920 Use timer--function and timer--args rather than raw access to
6923 2012-09-13 Glenn Morris <rgm@gnu.org>
6925 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
6926 If not compiling a file, try using load-file-name.
6928 2012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
6930 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
6932 (edebug-update-eval-list): Use `push'.
6934 * emacs-lisp/edebug.el: Use lexical-binding.
6935 Remove the "edebug-" prefix from non-dynamically-scoped variables.
6936 Mark unused args with underscore.
6937 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
6938 (edebug-form-data): Use defvar-local.
6939 (edebug-make-before-and-after-form, edebug-make-after-form):
6941 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
6942 Not dynamically scoped any more.
6943 (edebug--enter-trace): Add arguments `function' and `args'.
6944 Rename from edebug-enter-trace.
6945 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
6946 (edebug--update-coverage): Add `after-index' and `value' args.
6947 Rename from edebug-update-coverage.
6948 (edebug-slow-after): Call it accordingly.
6949 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
6950 edebug-recursive-edit.
6951 (edebug--display): Call it accordingly. Add args `value',
6952 `offset-index', and `arg-mode'. Rename from edebug-display.
6953 (edebug-debugger, edebug): Call it accordingly.
6954 (edebug-eval-display-list): Use dolist.
6956 2012-09-12 Juri Linkov <juri@jurta.org>
6958 * info.el (Info-search): Don't check for isearch-mode and
6959 isearch-regexp before let-binding search-spaces-regexp to
6960 Info-search-whitespace-regexp.
6961 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
6962 search-whitespace-regexp if isearch-lax-whitespace or
6963 isearch-regexp-lax-whitespace is non-nil.
6964 (Info-mode): Don't set local variable search-whitespace-regexp.
6965 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
6967 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6969 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
6970 (debugger-env-macro): Remove support for unread-command-char.
6972 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
6973 the temporary map re-appearing on emulation-mode-map-alists.
6975 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
6978 * ehelp.el (with-electric-help): Accept functions in
6979 electric-help-form-to-execute.
6980 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
6981 And replace unread-command-char -> unread-command-events.
6983 2012-09-12 Michael Albinus <michael.albinus@gmx.de>
6985 Sync with Tramp 2.2.6.
6987 * net/tramp.el (tramp-accept-process-output): Don't use
6988 JUST-THIS-ONE in the XEmacs case.
6990 * net/trampver.el: Update release number.
6992 2012-09-12 Martin Rudalics <rudalics@gmx.at>
6994 * emacs-lisp/debug.el (debugger-previous-window-height):
6996 (debug): When debugger-jumping-flag is non-nil try to restore
6997 height of debugger window. (Bug#8789)
6999 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
7001 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
7002 overriding-local-map and pre/post-command-hook here.
7003 (edebug-recursive-edit): Do it here instead (bug#12345).
7004 (edebug-outside-unread-command-char): Remove all uses of
7005 unread-command-char.
7007 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
7008 inhibit-debugger is bound instead.
7010 2012-09-11 Bastien Guerry <bzg@gnu.org>
7012 * subr.el (set-temporary-overlay-map): Add a docstring.
7015 2012-09-11 Bastien Guerry <bzg@gnu.org>
7017 * minibuffer.el (completion-table-subvert): Fix docstring.
7020 2012-09-11 Bastien Guerry <bzg@gnu.org>
7022 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
7024 2012-09-10 Michael R. Mauger <mmaug@yahoo.com>
7026 * progmodes/sql.el: Version 3.1
7027 (sql-db2-escape-newlines): New variable.
7028 (sql-escape-newlines-filter): Use it.
7030 2012-09-10 Juanma Barranquero <lekktu@gmail.com>
7032 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
7034 2012-09-10 Dan Nicolaescu <dann@gnu.org>
7036 * vc/diff-mode.el (diff-mode-menu):
7037 Bind diff-remove-trailing-whitespace.
7039 2012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
7041 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
7042 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
7043 (emacs-lisp-byte-code-mode): New functions.
7044 (eval-sexp-add-defvars): Don't skip defvars in column >0.
7045 (eval-defun-2): Remove bogus interactive spec.
7046 (lisp-indent-line): Remove redundant whole-exp code, now done in
7047 indent-according-to-mode.
7048 (save-match-data): Remove redundant indent data.
7050 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
7053 2012-09-09 Juri Linkov <juri@jurta.org>
7055 * replace.el (replace-regexp-lax-whitespace): New defcustom.
7056 (replace-lax-whitespace, query-replace-regexp)
7057 (query-replace-regexp-eval, replace-regexp): Doc fix.
7058 (perform-replace, replace-highlight): Let-bind
7059 isearch-lax-whitespace to replace-lax-whitespace and
7060 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
7062 * isearch.el (isearch-query-replace): Let-bind
7063 replace-lax-whitespace to isearch-lax-whitespace and
7064 replace-regexp-lax-whitespace to
7065 isearch-regexp-lax-whitespace. (Bug#10885)
7067 2012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
7069 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
7071 2012-09-09 Alan Mackenzie <acm@muc.de>
7073 * progmodes/cc-engine.el (c-state-cache-init):
7074 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
7075 (c-record-parse-state-state):
7076 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
7078 2012-09-09 Andreas Schwab <schwab@linux-m68k.org>
7080 * register.el (register-separator): Rename from
7081 separator-register. All uses changed. Doc fix.
7082 (register): Fix version.
7084 2012-09-09 Chong Yidong <cyd@gnu.org>
7086 * replace.el (query-replace-map): Bind four new symbols for
7087 requesting window scrolling.
7089 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
7090 query-replace-map (Bug#8948).
7092 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
7094 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
7095 since they are now in query-replace-map.
7097 * window.el (scroll-other-window-down): Make the arg optional.
7099 2012-09-09 Chong Yidong <cyd@gnu.org>
7101 * files.el (hack-local-variables-confirm): Use quit-window to kill
7102 the *Local Variables* buffer.
7104 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
7106 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
7107 not just expect to be at its beginning. Adjust callees.
7108 Succeed when do-end block has no space before the pipe character.
7109 (ruby-brace-to-do-end): When the original block is one-liner,
7110 convert to multiline. Reindent the result.
7112 2012-09-08 Jambunathan K <kjambunathan@gmail.com>
7114 * register.el (register): New group.
7115 (separator-register): New user option.
7116 (increment-register): Route it to `append-to-register', if
7117 register contains text. Implication is that `C-x r +' can now be
7118 used for appending to a text register (bug#12217).
7119 (append-to-register, prepend-to-register): Add separator based on
7120 `separator-register'.
7122 2012-09-08 Alan Mackenzie <acm@muc.de>
7124 AWK Mode: make auto-newline work when there's "==" in the pattern.
7125 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
7127 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
7128 Test more rigorously for "=" token.
7130 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
7132 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
7133 Only fail when reached LIMIT.
7135 2012-09-08 Chong Yidong <cyd@gnu.org>
7137 * dired.el (dired-mode-map): Don't bind M-=.
7139 * dired-aux.el (dired-diff): Use backup file as default.
7141 2012-09-08 Drew Adams <drew.adams@oracle.com>
7143 * subr.el (add-to-history): Fix delete usage (Bug#12314).
7145 2012-09-08 Chong Yidong <cyd@gnu.org>
7147 * subr.el (syntax-after, syntax-class): Doc fix.
7149 2012-09-08 Martin Rudalics <rudalics@gmx.at>
7151 * window.el (display-buffer-in-previous-window): New buffer
7152 display action function.
7154 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
7155 (debugger-previous-window): New variable.
7156 (debug): Rewrite using display-buffer-in-previous-window,
7157 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
7159 2012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
7161 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
7163 2012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
7165 * progmodes/python.el (python-shell-send-string):
7166 When default-directory is remote, create temp file on remote
7168 (python-shell-send-file): When file is remote, pass local view of
7169 file paths to remote Python interpreter. (Bug#12340)
7171 2012-09-07 Chong Yidong <cyd@gnu.org>
7173 * window.el (switch-to-buffer): Doc fix (Bug#12181).
7175 * files.el (after-find-file): Don't fail on a read-only buffer if
7176 require-final-newline is `visit' or `visit-save' (Bug#11156).
7178 * subr.el (read-char-choice): Allow quitting via ESC ESC.
7180 * userlock.el (ask-user-about-supersession-threat):
7181 Use read-char-choice (Bug#12093).
7183 2012-09-07 Chong Yidong <cyd@gnu.org>
7185 * subr.el (buffer-narrowed-p): New function.
7187 * ses.el (ses-widen):
7188 * simple.el (count-words--buffer-message):
7189 * net/browse-url.el (browse-url-of-buffer): Use it.
7191 * simple.el (count-words-region): Don't signal an error if there
7192 is a non-nil prefix arg and the mark is not set.
7194 * help.el (describe-key-briefly): Allow the message to be seen
7195 when invoked from the minibuffer (Bug#7014).
7197 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
7199 * progmodes/ruby-mode.el (ruby-end-of-defun)
7200 (ruby-beginning-of-defun): Simplify, allow indentation before
7201 block beginning and end keywords.
7202 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
7203 (ruby-end-of-defun): Expect that the point is at the beginning of
7206 2012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
7208 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
7210 (cl--make-usage-args): Strip _ from argument names.
7212 2012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7214 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
7215 obsolete alias speedbar-key-map.
7216 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
7217 (vhdl-index-menu-init): Don't use obsolete variable
7218 font-lock-maximum-size.
7220 2012-09-06 Chong Yidong <cyd@gnu.org>
7222 * frame.el (window-system-version): Mark as obsolete.
7224 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
7225 of obsolete variable speedbar-key-map.
7227 2012-09-06 Juri Linkov <juri@jurta.org>
7229 * replace.el (replace-lax-whitespace): New defcustom.
7230 (query-replace, query-replace-regexp, query-replace-regexp-eval)
7231 (replace-string, replace-regexp): Mention it in docstrings.
7232 (perform-replace, replace-highlight): Let-bind
7233 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
7234 to the values of replace-lax-whitespace and regexp-flag.
7235 Don't let-bind search-whitespace-regexp. (Bug#10885)
7237 * isearch.el (isearch-query-replace): Let-bind
7238 replace-lax-whitespace instead of let-binding
7239 replace-search-function and replace-re-search-function.
7240 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
7241 and isearch-regexp-lax-whitespace to lazy-highlight variables.
7242 (isearch-toggle-symbol): Set isearch-regexp to nil
7243 in isearch-word mode (like in isearch-toggle-word).
7245 2012-09-06 Juri Linkov <juri@jurta.org>
7247 * replace.el (replace-search-function)
7248 (replace-re-search-function): Set default values to nil.
7249 (perform-replace): Let-bind isearch-related variables based on
7250 replace-related values, call `isearch-search-fun' and let-bind
7251 the result to `search-function'. Remove code that sets
7252 `search-function' and `search-string' separately for
7254 (replace-highlight): Add new argument `delimited-flag' and
7255 rename other arguments to the names used in `perform-replace'.
7256 Let-bind `isearch-word' to the argument `delimited-flag'.
7257 (Bug#10885, bug#10887)
7259 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
7261 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
7262 ruby-beginning-of-indent, simplify, allow all keywords to have
7263 indentation before them.
7264 (ruby-beginning-of-indent): Adjust for above. Search until the
7265 found point is not inside a string or comment.
7266 (ruby-font-lock-keywords): Allow symbols to start with "@"
7267 character, give them higher priority than variables.
7268 (ruby-syntax-propertize-function)
7269 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
7270 matchers. Expression expansions are not comments when inside a
7271 string, and there comment syntax status is irrelevant.
7272 (ruby-match-expression-expansion): New function. Check that
7273 expression expansion is inside a string, and it's not escaped.
7274 (ruby-font-lock-keywords): Use it.
7276 2012-09-05 Martin Rudalics <rudalics@gmx.at>
7278 * help.el (temp-buffer-max-height): New default value.
7279 (temp-buffer-resize-frames): New option.
7280 (resize-temp-buffer-window): Optionally resize frame.
7282 * window.el (fit-frame-to-buffer-bottom-margin): New option.
7283 (fit-frame-to-buffer): New function.
7285 2012-09-05 Glenn Morris <rgm@gnu.org>
7287 * emulation/cua-rect.el (cua--init-rectangles):
7288 * textmodes/picture.el (picture-mode-map):
7289 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
7290 like forward-char and backward-char. (Bug#12317)
7292 2012-09-05 Leo Liu <sdl.web@gmail.com>
7294 * progmodes/flymake.el (flymake-warning-re): New variable.
7295 (flymake-parse-line): Use it.
7297 2012-09-05 Glenn Morris <rgm@gnu.org>
7299 * calendar/holidays.el (holiday-christian-holidays):
7300 Rename an entry. (Bug#12289)
7302 2012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
7304 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
7307 2012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
7309 * loadup.el: Load macroexp. Remove hack.
7310 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
7311 (macroexp--expand-all): Use it to get better warnings.
7312 (macroexp--backtrace, macroexp--trim-backtrace-frame)
7313 (internal-macroexpand-for-load): New functions.
7314 (macroexp--pending-eager-loads): New var.
7315 (emacs-startup-hook): New hack to replace one in loadup.el.
7316 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
7317 (cl--compiler-macro-cXXr): Move to top, before they can be used.
7318 (cl-psetf): Simplify.
7319 (cl-defstruct): Add indent rule.
7321 2012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
7323 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
7324 over `user-mail-address' for the SMTP MAIL FROM envelope.
7325 (smtpmail-via-smtp): Ditto.
7327 2012-09-04 Dmitry Gutov <dgutov@yandex.ru>
7329 * progmodes/ruby-mode.el: Clean up keybindings.
7330 (ruby-mode-map): Don't bind ruby-electric-brace,
7331 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
7332 backward-kill-word, reindent-then-newline-and-indent.
7333 (ruby-mark-defun): Remove.
7334 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
7335 (ruby-mode): Set local beginning-of-defun-function and
7336 end-of-defun-function values.
7338 2012-09-03 Martin Rudalics <rudalics@gmx.at>
7340 * window.el (temp-buffer-window-setup-hook)
7341 (temp-buffer-window-show-hook): New hooks.
7342 (temp-buffer-window-setup, temp-buffer-window-show)
7343 (with-temp-buffer-window): New functions.
7344 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
7345 (special-display-popup-frame): Make sure the window used shows BUFFER.
7347 * help.el (temp-buffer-resize-mode): Fix doc-string.
7348 (resize-temp-buffer-window): New optional argument WINDOW.
7350 * files.el (recover-file, save-buffers-kill-emacs):
7351 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
7353 2012-09-02 Michael Albinus <michael.albinus@gmx.de>
7355 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
7356 remote definition of `default-directory', ensure we can connect.
7358 2012-09-02 Juri Linkov <juri@jurta.org>
7360 Toggle whitespace matching mode with M-s SPC.
7361 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
7363 * isearch.el (search-whitespace-regexp): Doc fix.
7364 Remove cons cell customization.
7365 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
7366 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
7368 (isearch-forward, isearch-forward-regexp): Doc fix.
7369 (isearch-toggle-lax-whitespace): New command.
7370 (search-forward-lax-whitespace, search-backward-lax-whitespace)
7371 (re-search-forward-lax-whitespace)
7372 (re-search-backward-lax-whitespace): New functions.
7373 (isearch-whitespace-regexp): Remove function.
7374 (isearch-query-replace): Let-bind replace-search-function and
7375 replace-re-search-function.
7376 (isearch-occur): Let-bind search-spaces-regexp according to the
7377 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
7378 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
7379 condition for C-q SPC.
7380 (isearch-search-fun-default): Use new functions mentioned above.
7381 (isearch-search-forward, isearch-search-backward): Remove functions.
7382 (isearch-search): Don't let-bind search-spaces-regexp.
7383 (isearch-lazy-highlight-space-regexp): Remove variable.
7384 (isearch-lazy-highlight-lax-whitespace)
7385 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
7386 (isearch-lazy-highlight-new-loop): Use them.
7387 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
7389 2012-09-02 Chong Yidong <cyd@gnu.org>
7391 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
7393 2012-09-02 Glenn Morris <rgm@gnu.org>
7395 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
7397 2012-09-01 Glenn Morris <rgm@gnu.org>
7399 * term.el: Tidy up menu definitions.
7400 (term-mode-map): Use easymenu for In/Out, Complete menus.
7401 (term-pager-break-map): Initialize in the defvar.
7402 (term-terminal-menu, term-signals-menu): Define with easymenu.
7403 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
7404 (term-pager-menu): New, extracted from term-process-pager.
7405 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
7406 (term-update-mode-line): Propertize line/char and page items.
7407 (term-process-pager): Move keymap initialization elsewhere.
7409 2012-09-01 Martin Rudalics <rudalics@gmx.at>
7411 * window.el (switch-to-prev-buffer): Handle additional values of
7412 BURY-OR-KILL argument. Don't switch in minibuffer window.
7413 (switch-to-next-buffer): Don't switch in minibuffer window.
7414 (quit-restore-window): New function based on quit-window.
7415 Handle additional values of former KILL argument.
7416 (quit-window): Call quit-restore-window with appropriate
7417 interpretation of KILL argument.
7418 (display-buffer-below-selected): New buffer display action
7421 2012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
7423 * minibuffer.el (completion-at-point-functions): Complete docstring
7426 2012-09-01 Paul Eggert <eggert@cs.ucla.edu>
7428 Better seed support for (random).
7429 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
7430 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
7431 * play/mpuz.el, play/tetris.el, play/zone.el:
7432 * calc/calc-comb.el (math-init-random-base):
7433 * play/blackbox.el (bb-init-board):
7434 * play/life.el (life):
7435 * server.el (server-use-tcp):
7436 * type-break.el (type-break):
7437 Remove unnecessary call to (random t).
7438 * net/sasl.el (sasl-unique-id-function):
7439 Change (random t) to (random), now that the latter is more random.
7440 * play/life.el (life-initialized): Remove no-longer-needed var.
7442 2012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
7444 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
7445 Consider frame's buffer predicate when choosing the buffer.
7448 2012-08-30 Richard Stallman <rms@gnu.org>
7450 * simple.el (special-mode-map): Delete binding for `z'.
7452 2012-08-30 Andreas Schwab <schwab@linux-m68k.org>
7454 * progmodes/compile.el (compilation-always-kill): Doc fix.
7456 2012-08-30 Chong Yidong <cyd@gnu.org>
7458 * window.el (display-buffer-reuse-frames): Make the obsolescence
7459 message more informative.
7461 2012-08-30 Glenn Morris <rgm@gnu.org>
7463 * paren.el (show-paren-delay):
7464 Add a :set function. Doc fix. (Bug#12297)
7466 2012-08-29 Martin Blais <blais@furius.ca> (tiny change)
7468 * progmodes/compile.el (compilation-always-kill): New var.
7469 (compilation-start): Use it.
7471 2012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
7473 * simple.el (read-only-mode): Move from files.el for bootstrapping.
7474 * files.el (read-only-mode): Move to simple.el.
7476 * files.el (read-only-mode): New minor mode.
7477 (toggle-read-only): Use it and mark obsolete.
7478 (find-file--read-only):
7479 * vc/vc.el (vc-next-action, vc-checkout):
7480 * vc/vc-cvs.el (vc-cvs-checkout):
7481 * obsolete/vc-mcvs.el (vc-mcvs-update):
7482 * ffap.el (ffap--toggle-read-only): Update callers.
7484 2012-08-29 Michael Albinus <michael.albinus@gmx.de>
7486 * eshell/esh-ext.el (eshell-external-command): Do not examine
7487 remote shell scripts.
7488 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
7490 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
7493 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7495 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
7497 2012-08-28 Leo Liu <sdl.web@gmail.com>
7499 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
7500 completion-at-point. (Bug#12220)
7502 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
7504 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
7506 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7508 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
7509 be buffer-local; add delete-trailing-whitespace (bug#12259).
7511 2012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
7513 * progmodes/hideif.el (hif-compress-define-list):
7514 Fix typo. (Bug#11951)
7516 2012-08-28 Dan Nicolaescu <dann@gnu.org>
7518 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
7519 buffer local setting.
7521 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
7522 rcirc-encode-coding-system.
7524 2012-08-28 Leo Liu <sdl.web@gmail.com>
7526 * net/rcirc.el (rcirc-split-message): New function.
7527 (rcirc-send-message): Use it. (Bug#12051)
7529 2012-08-28 Juri Linkov <juri@jurta.org>
7531 * info.el (Info-fontify-node): Hide empty lines at the end of
7532 the node. (Bug#12272)
7534 2012-08-27 Drew Adams <drew.adams@oracle.com>
7536 * dired.el (dired-pop-to-buffer): Make window start at beginning
7537 of buffer (Bug#12281).
7539 2012-08-26 Chong Yidong <cyd@gnu.org>
7541 * window.el (special-display-regexps, special-display-frame-alist)
7542 (special-display-buffer-names, special-display-function)
7543 (display-buffer-reuse-frames): Mark as obsolete.
7545 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
7547 * help.el (help-print-return-message): Don't treat
7548 display-buffer-reuse-frames specially.
7550 2012-08-26 Chong Yidong <cyd@gnu.org>
7552 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
7553 New variable, replacing gdb-frame-parameters.
7554 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
7555 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
7556 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
7557 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
7558 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
7559 the functions directly with gdb-display-buffer-other-frame-action.
7560 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
7561 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
7562 (gdb-display-stack-buffer, gdb-display-locals-buffer)
7563 (gdb-display-registers-buffer): Define directly.
7564 (def-gdb-display-buffer): Macro deleted.
7565 (gdb-display-buffer): Remove second and third args, callers don't
7566 use them. Defer to the default display-buffer behavior, apart
7567 from making windows dedicated.
7568 (gdb-setup-windows): Don't call display-buffer unnecessarily.
7570 * progmodes/gud.el (gud-display-line): Just use display-buffer.
7572 * window.el (display-buffer-pop-up-frame): Handle a
7573 pop-up-frame-parameters alist entry.
7574 (display-buffer): Document it.
7576 2012-08-26 Chong Yidong <cyd@gnu.org>
7578 * isearch.el (search-whitespace-regexp): Make string and nil
7579 values apply to both ordinary and regexp search. Allow a cons
7580 cell value to distinguish between the two.
7581 (isearch-whitespace-regexp, isearch-search-forward)
7582 (isearch-search-backward): New functions.
7583 (isearch-occur, isearch-search-fun-default, isearch-search)
7584 (isearch-lazy-highlight-new-loop): Use them.
7585 (isearch-forward, isearch-forward-regexp): Doc fix.
7587 2012-08-26 Chong Yidong <cyd@gnu.org>
7589 * faces.el (help-argument-name): Always inherit from italic
7592 2012-08-25 Martin Rudalics <rudalics@gmx.at>
7594 * window.el (window--even-window-heights): Even heights when
7595 WINDOW and the selected window form a vertical combination.
7596 (display-buffer-use-some-window): Provide that window used gets
7597 sized back by quit-window. (Bug#11880) and (Bug#12091)
7599 2012-08-24 Paul Eggert <eggert@cs.ucla.edu>
7601 Fix file time stamp problem with bzr and CVS (Bug#12001).
7602 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
7603 in the file's time stamp, since the version control system loses
7606 2012-08-22 Juri Linkov <juri@jurta.org>
7608 * info.el (Info-fontify-node): Hide the suffix of the
7609 Info file name in the header line. (Bug#12187)
7611 2012-08-22 Glenn Morris <rgm@gnu.org>
7613 * calendar/cal-tex.el (cal-tex-weekly-common):
7614 Restore leading blank page.
7616 2012-08-22 Le Wang <l26wang@gmail.com>
7618 * misc.el (forward-to-word, backward-to-word): Activate or extend
7619 the region under `shift-select-mode'. (Bug#12231)
7621 2012-08-22 Bastien Guerry <bzg@gnu.org>
7623 * progmodes/executable.el (executable-prefix): Set to "#!" instead
7624 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
7625 gives details on why the space is never needed.
7627 2012-08-22 Martin Rudalics <rudalics@gmx.at>
7629 * window.el (walk-window-tree, window-with-parameter):
7630 New optional argument MINIBUF to control whether these functions
7631 should run on the minibuffer window.
7632 (window-at-side-list): Don't operate on minibuffer window.
7633 (window-in-direction): Simplify and rewrite doc-string.
7634 (window--size-ignore): Rename to window--size-ignore-p.
7636 (display-buffer-in-atom-window, window--major-non-side-window)
7637 (window--major-side-window, display-buffer-in-major-side-window)
7638 (delete-side-window, display-buffer-in-side-window):
7640 (window--side-check, window-deletable-p, delete-window)
7641 (delete-other-windows, split-window): Handle side windows and
7642 atomic windows appropriately.
7643 (window--display-buffer): Call display-buffer-record-window also
7644 when the window buffer did not change.
7646 2012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
7648 * help-fns.el (help-fns--key-bindings):
7649 Abbreviate non-symbol remap targets. (Bug#12174)
7651 2012-08-22 Martin Rudalics <rudalics@gmx.at>
7653 * dired.el (dired-mark-remembered): Don't clobber point.
7656 2012-08-22 Glenn Morris <rgm@gnu.org>
7658 * progmodes/bug-reference.el (bug-reference): New custom group.
7659 (bug-reference-bug-regexp): Make it a defcustom.
7661 2012-08-22 Daiki Ueno <ueno@unixuser.org>
7663 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
7664 (js-paren-indent-offset, js-square-indent-offset)
7665 (js-curly-indent-offset): Add :safe (Bug#12257).
7667 2012-08-22 Edward O'Connor <hober0@gmail.com>
7669 * json.el (json-key-format): Add error properties.
7670 (json-encode-key): New function.
7671 (json-encode-hash-table, json-encode-alist, json-encode-plist):
7672 Use json-encode-key.
7674 2012-08-22 Glenn Morris <rgm@gnu.org>
7676 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
7677 (cal-tex-leftday, cal-tex-rightday): Remove functions.
7678 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
7679 Update for above change.
7681 2012-08-21 Andreas Schwab <schwab@linux-m68k.org>
7683 * cus-face.el (custom-face-attributes): Fix customize type for the
7684 :underline attribute. (Bug#11805)
7686 2012-08-21 Martin Rudalics <rudalics@gmx.at>
7688 * window.el (window-point-1, set-window-point-1): Remove.
7689 (window-in-direction, record-window-buffer)
7690 (set-window-buffer-start-and-point, split-window-below)
7691 (window--state-get-1, display-buffer-record-window):
7692 Replace calls to window-point-1 and set-window-point-1 by calls to
7693 window-point and set-window-point respectively.
7695 2012-08-21 Glenn Morris <rgm@gnu.org>
7697 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
7698 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
7701 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
7702 (cal-tex-shortday): New function.
7703 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
7704 (cal-tex-cursor-filofax-daily): Use the above.
7706 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
7708 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
7709 (cal-tex-cursor-filofax-week): Use them.
7711 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
7713 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
7714 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
7716 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
7717 (cal-tex-end-document): Don't rely on buffer name.
7719 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
7721 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
7722 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
7723 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
7726 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
7727 (cal-tex-cursor-week, cal-tex-cursor-week2)
7728 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
7729 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
7730 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
7731 (cal-tex-insert-preamble, cal-tex-b-document)
7732 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
7733 Improve cal-tex-cmd usage.
7735 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
7736 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
7737 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
7738 (cal-tex-weekly-paper): New function.
7739 (cal-tex-cursor-week, cal-tex-cursor-week2)
7740 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
7741 (cal-tex-cursor-day): Use it.
7743 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
7744 (cal-tex-cursor-filofax-week): Remove leading blank page.
7746 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
7747 Add autoload cookie. For now at least, don't use color, since
7748 no other cal-tex function does.
7750 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
7751 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
7752 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
7754 2012-08-21 Juri Linkov <juri@jurta.org>
7756 * info.el (Info-file-attributes): New variable.
7757 (info-insert-file-contents): Add file attributes to
7758 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
7759 `Info-toc-nodes' when previous modtime of the Info file is less
7761 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
7762 of info.el. (Bug#12230)
7764 2012-08-20 Glenn Morris <rgm@gnu.org>
7766 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
7767 * calendar/holidays.el (calendar-holiday-list):
7768 Report errors with display-warning rather than beep'n'sleep.
7770 2012-08-20 Michael Albinus <michael.albinus@gmx.de>
7772 * net/tramp.el (tramp-accept-process-output): Accept only output
7773 from PROC. Otherwise, process filters and sentinels might be
7774 confused. (Bug#12145)
7776 2012-08-20 Chong Yidong <cyd@gnu.org>
7778 * descr-text.el (describe-text-properties-1): Use overlays-in to
7779 report on empty overlays (Bug#3322).
7781 2012-08-20 Glenn Morris <rgm@gnu.org>
7783 * mail/rmailout.el (rmail-output-read-file-name):
7784 Trap and report errors in rmail-output-file-alist elements.
7786 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
7787 since most non-font-lock faces are not also variables).
7789 2012-08-20 Edward Reingold <reingold@iit.edu>
7791 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
7792 New function. (Bug12160)
7794 2012-08-19 Glenn Morris <rgm@gnu.org>
7796 * mail/rmailout.el (rmail-output-read-file-name):
7797 Fix previous change (when the alist is nil or does not match).
7799 2012-08-19 Chong Yidong <cyd@gnu.org>
7801 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
7804 2012-08-18 Chong Yidong <cyd@gnu.org>
7806 * simple.el (yank-handled-properties): New defcustom.
7807 (yank-excluded-properties): Add font-lock-face and category.
7810 * subr.el (remove-yank-excluded-properties):
7811 Obey yank-handled-properties. The special handling of font-lock-face
7812 and category is now done this way, instead of being hard-coded.
7813 (insert-for-yank-1): Remove font-lock-face handling.
7814 (yank-handle-font-lock-face-property)
7815 (yank-handle-category-property): New function.
7817 2012-08-17 Glenn Morris <rgm@gnu.org>
7819 * mail/rmailout.el (rmail-output-read-file-name):
7820 Check rmail-output-file-alist against the full message body
7821 in the correct rmail buffer. (Bug#12214)
7823 2012-08-17 Michael Albinus <michael.albinus@gmx.de>
7825 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
7826 Eliminate superfluous prompt. (Bug#12203)
7828 2012-08-17 Chong Yidong <cyd@gnu.org>
7830 * mouse.el (mouse-appearance-menu): If x-select-font returns a
7831 font spec, set the font directly (Bug#3228).
7833 2012-08-17 Martin Rudalics <rudalics@gmx.at>
7835 * window.el (delete-window): Fix last fix.
7837 2012-08-16 Martin Rudalics <rudalics@gmx.at>
7839 * window.el (window-valid-p): Move to window.c.
7840 (window-child, window-child-count, window-last-child)
7841 (window-normalize-window, window-combined-p)
7842 (window-combinations, window-atom-root, window-min-size)
7843 (window-sizable, window-sizable-p, window-size-fixed-p)
7844 (window-min-delta, window-max-delta, window--resizable)
7845 (window--resizable-p, window-resizable, window-total-size)
7846 (window-full-height-p, window-full-width-p, window-body-size)
7847 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
7848 (minimize-window, window-deletable-p, delete-window)
7849 (delete-other-windows, set-window-buffer-start-and-point)
7850 (next-buffer, previous-buffer, split-window, balance-windows-2)
7851 (set-window-text-height, window-buffer-height)
7852 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
7853 (truncated-partial-width-window-p): Minor code adjustments.
7854 In doc-strings state whether the argument window has to denote a
7855 live, valid or any window.
7857 2012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
7859 * progmodes/subword.el (subword-forward-function)
7860 (subword-backward-function, subword-forward-regexp)
7861 (subword-backward-regexp): New variables.
7862 (subword-forward, subword-forward-internal, subword-backward-internal):
7863 Use new variables, eg so that different "word" definitions
7864 can be easily used. (Bug#11411)
7866 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
7868 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
7869 for composite selectors.
7870 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
7871 operation just because we can't find a previous revision.
7873 2012-08-15 Chong Yidong <cyd@gnu.org>
7875 * frame.el (set-frame-font): Accept font objects.
7877 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
7879 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
7881 2012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
7883 * man.el (Man-overstrike-face, Man-underline-face)
7884 (Man-reverse-face): Remove variables.
7885 (Man-overstrike, Man-underline, Man-reverse): New faces.
7886 (Man-fontify-manpage): Use them instead of the variables.
7887 (Man-cleanup-manpage): Comment change.
7888 (Man-ansi-color-map): New variable.
7889 (Man-fontify-manpage): Use it.
7890 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
7892 Implement ANSI SGR parameters 22-27 (bug#12146).
7893 * ansi-color.el (ansi-colors): Doc fix.
7894 (ansi-color-context, ansi-color-context-region): Doc fix.
7895 (ansi-color--find-face): New function.
7896 (ansi-color-apply, ansi-color-apply-on-region): Use it.
7897 Rename the local variable `face' to `codes' since it is now a list of
7898 ansi codes. Doc fix.
7899 (ansi-color-get-face): Remove.
7900 (ansi-color-parse-sequence): New function, derived from
7901 ansi-color-get-face.
7902 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
7905 2012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
7907 * subr.el (read-passwd): Allow use from a minibuffer.
7909 2012-08-14 Eli Zaretskii <eliz@gnu.org>
7911 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
7912 inside comments and strings as identifiers.
7914 * progmodes/gud.el (gud-tooltip-print-command): Quote the
7915 expression to evaluate. This allows to evaluate expressions with
7916 embedded whitespace.
7917 (gud-tooltip-tips): Add a blank before the newline in the
7918 message-box text, for the benefit of message-box emulation on
7921 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
7922 messages from GDB, pop them up in a tooltip to give feedback to
7924 (gdb-tooltip-print-1): Quote the expression to evaluate.
7925 This allows to evaluate expressions with embedded whitespace.
7926 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
7927 if the TTY name is nil or empty (which happens when communicating
7928 with the inferior via pipes, e.g. on MS-Windows).
7929 (gdb-internals): If GDB sends a "&\n" empty debugging message,
7930 don't send that to the GUD buffer.
7932 2012-08-14 Glenn Morris <rgm@gnu.org>
7934 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
7935 Optimize away setq-default with no args, as for setq. (Bug#12195)
7937 2012-08-14 Chong Yidong <cyd@gnu.org>
7939 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
7941 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
7944 2012-08-14 Glenn Morris <rgm@gnu.org>
7946 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
7948 2012-08-14 Michael Albinus <michael.albinus@gmx.de>
7950 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
7951 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
7952 Use cached shell name.
7954 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
7956 * progmodes/python.el (python-shell-send-string):
7957 (python-shell-send-setup-code): Do not use `format' with `message'.
7959 2012-08-14 Dmitry Gutov <dgutov@yandex.ru>
7961 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
7962 (ruby-percent-literal-beg-re): New constant.
7963 (ruby-syntax-general-delimiters-goto-beg): Rename to
7964 `ruby-syntax-enclosing-percent-literal', improve literal type check.
7965 (ruby-syntax-propertize-general-delimiters): Rename to
7966 `ruby-syntax-propertize-percent-literal', it's a shorter and more
7967 popular term. Adjust comments everywhere.
7968 (ruby-syntax-propertize-percent-literal): Only propertize when not
7969 inside a simple string or comment. When the literal is unclosed,
7970 leave the text after it unpropertized.
7971 (ruby-syntax-methods-before-regexp): New constant.
7972 (ruby-syntax-propertize-function): Use it to recognize regexps.
7973 Don't look at the text after regexp, just use the whitelist.
7975 2012-08-14 Andreas Schwab <schwab@linux-m68k.org>
7977 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
7978 non-nil always load the compiled file if it exists. (Bug#12197)
7980 2012-08-14 Chong Yidong <cyd@gnu.org>
7982 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
7983 (hi-lock-set-pattern): When deciding whether to use font lock or
7984 overlays, look at font-lock-mode instead of font-lock-fontified
7986 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
7987 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
7989 2012-08-14 Daiki Ueno <ueno@unixuser.org>
7991 * subr.el (internal--after-with-selected-window): Fix typo
7994 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
7996 Use `completion-table-dynamic' for completion functions.
7997 * progmodes/python.el
7998 (python-shell-completion--do-completion-at-point)
7999 (python-shell-completion--get-completions):
8001 (python-shell-completion-complete-at-point): New function.
8002 (python-completion-complete-at-point): Use it.
8004 2012-08-13 Jambunathan K <kjambunathan@gmail.com>
8006 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
8007 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
8009 2012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
8011 * subr.el (function-get): Refine `autoload' arg so it can also
8012 autoload functions for gv.el (bug#12191).
8013 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
8016 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
8017 Prefer pcase-let over destructuring-bind.
8018 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
8019 Also, remove whitespace as we go, rather than after accumulating the
8022 * subr.el (internal--before-with-selected-window)
8023 (internal--after-with-selected-window): Fix typo seleted->selected.
8024 (with-selected-window): Adjust callers.
8025 Reported by Dmitry Gutov <dgutov@yandex.ru>.
8027 2012-08-13 Bastien Guerry <bzg@gnu.org>
8029 * window.el (special-display-popup-frame): Minor docstring
8030 enhancement. (Bug#12172)
8032 2012-08-13 Andreas Schwab <schwab@linux-m68k.org>
8034 * tar-mode.el (tar-header-data-end): Only ignore size for files of
8036 (tar-header-block-summarize, tar-get-descriptor): Handle pax
8039 * files.el (hack-local-variables-filter): Remove useless eval.
8041 2012-08-13 Martin Rudalics <rudalics@gmx.at>
8043 * subr.el (with-selected-window): Fix last change.
8045 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
8047 * subr.el (internal--before-with-seleted-window)
8048 (internal--after-with-seleted-window): New functions.
8049 (with-selected-window): Use them, to replace dependency on
8052 2012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
8054 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
8055 binding for `newline'.
8056 (ruby-move-to-block): When moving backward, stop at block opening,
8058 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
8059 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
8060 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
8061 `ruby-toggle-block'.
8063 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
8065 * ibuffer.el (ibuffer-do-toggle-read-only):
8066 * dired.el (dired-toggle-read-only):
8067 * buff-menu.el (Buffer-menu-toggle-read-only):
8068 * bindings.el (mode-line-toggle-read-only):
8069 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
8071 2012-08-12 Andreas Schwab <schwab@linux-m68k.org>
8073 * descr-text.el (describe-char): Put the overlays over the
8074 "displayed as" character.
8076 2012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
8078 * calc/calc-units.el (math-default-units-table): Give an
8080 (math-put-default-units): Add options to put composite units and
8081 unit systems in the default units table.
8082 (calc-convert-units): Send composite units to
8083 `math-put-default-units' when appropriate.
8085 2012-08-11 Glenn Morris <rgm@gnu.org>
8087 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
8089 * tutorial.el (help-with-tutorial):
8090 * emacs-lisp/copyright.el (copyright-update-directory):
8091 * emacs-lisp/autoload.el (autoload-find-generated-file)
8092 (autoload-find-file): Disable local eval: (for insurance).
8094 * files.el (hack-local-variables-filter): If an eval: form is not
8095 known to be safe, and enable-local-variables is :safe, then ignore
8096 the form totally, as is done for non-eval forms. (Bug#12155)
8097 This is CVE-2012-3479.
8099 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
8101 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
8102 (rx-form): Simplify.
8104 2012-08-09 Dmitry Gutov <dgutov@yandex.ru>
8106 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
8107 ?, _, and : are symbol constituents, ! is not (but kinda should be).
8108 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
8109 (ruby-syntax-propertize-function): Adjust for changes in
8110 `ruby-syntax-propertize-heredoc'.
8112 2012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
8114 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
8115 binding (use `M-;' instead).
8116 (ruby-singleton-class-p): New function.
8117 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
8119 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
8121 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
8123 2012-08-10 Chong Yidong <cyd@gnu.org>
8125 * progmodes/python.el (python-shell-get-process-name): Don't mess
8126 with same-window-buffer-names.
8128 * eshell/eshell.el (eshell-add-to-window-buffer-names)
8129 (eshell-remove-from-window-buffer-names): Make obsolete.
8130 (eshell-buffer-name, eshell-unload-hook): Don't use them.
8131 (eshell): Just use pop-to-buffer-same-window instead.
8133 2012-08-10 Chong Yidong <cyd@gnu.org>
8135 * bindings.el: Bind M-= back to count-words-region.
8137 * simple.el (count-words-region): Accept a prefix arg for acting
8138 on the entire buffer.
8139 (count-words--buffer-message): New helper function.
8141 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
8143 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
8144 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
8145 (event-start, event-end): Use posn-at-point to return a more
8147 (posnp): New function.
8148 * mouse.el (popup-menu-normalize-position): Use it.
8150 2012-08-10 Masatake YAMATO <yamato@redhat.com>
8152 * mouse.el (popup-menu-normalize-position): New function.
8153 (popup-menu): Use `popup-menu-normalize-position' to normalize
8154 the form for POSITION argument.
8156 * term/x-win.el (x-menu-bar-open):
8157 Use the value returend from (posn-at-point) as position
8158 passed to `popup-menu'.
8160 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
8162 * calc/calccomp.el (math-compose-expr): Add extra argument
8163 indicating that parentheses should be put around products in
8164 denominators. Give multiplication precedence over division during
8167 2012-08-09 Chong Yidong <cyd@gnu.org>
8169 * man.el (Man-switches, Man-sed-command, Man-awk-command)
8170 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
8171 (Man-untabify-command, manual-program): Convert to defcustom
8174 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
8176 * descr-text.el (describe-char): Don't insert extra newlines
8179 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
8180 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
8182 * align.el (align-region): Delete temporary markers (Bug#10047).
8183 Plus some code cleanups.
8185 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
8187 * progmodes/python.el (python-pdbtrack-tracked-buffer)
8188 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
8189 (python-shell-internal-last-output): Use make-local-variable
8190 instead of make-variable-buffer-local.
8192 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
8194 * progmodes/python.el: Enhancements to forward-sexp.
8195 (python-nav-forward-sexp): Rename from
8196 python-nav-forward-sexp-function.
8197 (python-nav--forward-sexp, python-nav--backward-sexp):
8200 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
8202 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
8203 modes and simplification modes.
8205 2012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
8207 * delsel.el (delete-selection-pre-hook): Don't propagate the
8208 file-supersession signals (bug#12161).
8210 2012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
8212 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
8213 (cl-map-extents): Add compatibility aliases (bug#12135).
8215 2012-08-08 Michael Albinus <michael.albinus@gmx.de>
8217 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
8218 tests by `ignore-error'.
8219 (tramp-find-shell): Open also a new shell, when cache is already
8220 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
8222 2012-08-08 Juri Linkov <juri@jurta.org>
8224 * bookmark.el: Add `defaults' property to the bookmark record.
8225 (bookmark-current-buffer): Doc fix.
8226 (bookmark-make-record): Add `defaults' property with default values
8227 to the bookmark record.
8228 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
8229 with `bookmark-insert-current-bookmark'.
8230 (bookmark-set): Get `defaults' property from the bookmark record
8231 and use it in `read-from-minibuffer'.
8232 (bookmark-insert-current-bookmark): Remove function.
8234 * info.el (Info-bookmark-make-record): Add `defaults' property
8235 with values of canonical Info node name, the current Info file
8236 name and the current Info node name. (Bug#12107)
8238 2012-08-08 Juri Linkov <juri@jurta.org>
8240 * files.el (basic-save-buffer): Use `buffer-name' as the default
8241 of `read-file-name' when buffer is not visiting a file (bug#12128).
8243 2012-08-08 Juri Linkov <juri@jurta.org>
8245 * info.el (Info-isearch-search): Doc fix.
8246 (Info-search): Change search-failed message from "initial node" to
8247 "end of node" (bug#12078).
8248 (Info-isearch-search): Change `isearch-string-state' to
8249 `isearch--state-string'.
8251 2012-08-08 Glenn Morris <rgm@gnu.org>
8253 * language/persian.el: Remove file.
8254 * language/misc-lang.el: Move unique part of persian.el here.
8255 * loadup.el: Remove language/persian.
8257 2012-08-08 Óscar Fuentes <ofv@wanadoo.es>
8259 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
8261 2012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
8263 * progmodes/python.el: Fix defsubst warning.
8264 (python-syntax-context) Rename from python-info-ppss-context.
8265 (python-syntax-context-type): Rename from
8266 python-info-ppss-context-type.
8267 (python-syntax-comment-or-string-p): Rename from
8268 python-info-ppss-comment-or-string-p.
8270 2012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
8272 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
8274 2012-08-07 Andreas Schwab <schwab@linux-m68k.org>
8276 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
8277 a defcustom that is quoted with backquote.
8279 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
8280 Fix handling of interactive spec when the body uses return.
8281 (math-do-arg-check, math-define-function-body): Use backquote forms.
8282 * calc/calc-ext.el (math-defcache): Likewise.
8283 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
8284 * allout.el (allout-new-exposure): Likewise.
8285 * calc/calcalg2.el (math-tracing-integral): Likewise.
8286 * info.el (Info-last-menu-item): Likewise.
8287 * emulation/vip.el (vip-loop): Likewise.
8288 * textmodes/artist.el (artist-funcall): Likewise.
8289 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
8290 Construct menu-item directly.
8292 * progmodes/autoconf.el (font-lock-syntactic-keywords):
8295 2012-08-07 Chong Yidong <cyd@gnu.org>
8297 * simple.el (deactivate-mark): Preserve text properties when
8298 saving the primary selection (Bug#8384).
8300 2012-08-07 Kevin Ryde <user42@zip.com.au>
8302 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
8303 (woman-parse-numeric-value): On a bad .IP line, issue a warning
8304 and continue processing (Bug#12110).
8306 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
8308 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
8309 syntax-propertize-function (bug#10095).
8311 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
8313 * help-fns.el (help-fns--key-bindings, help-fns--signature)
8314 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
8315 describe-function-1.
8316 (describe-function-1): Use them. Move compiler macro after sig.
8317 (help-fns--compiler-macro): Use function-get. Assume we're already in
8318 standard-output. Adjust layout to new call order.
8320 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
8321 re-binding a symbol that has a symbol-macro (bug#12119).
8323 2012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
8325 * language/persian.el: New file. (Bug#11812)
8326 * loadup.el: Add language/persian.el.
8328 2012-08-06 Chong Yidong <cyd@gnu.org>
8330 * window.el (window--maybe-raise-frame): New function.
8331 (window--display-buffer): Split off from here.
8332 (display-buffer-reuse-window, display-buffer-pop-up-frame)
8333 (display-buffer-pop-up-window, display-buffer-use-some-window):
8334 Obey an inhibit-switch-frame action alist entry.
8335 (display-buffer): Update doc.
8337 * replace.el (occur-after-change-function): Avoid losing focus by
8338 using the inhibit-switch-frame display parameter (Bug#12139).
8340 2012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
8342 Make internal shell process buffer names start with space.
8343 * progmodes/python.el (python-shell-make-comint): Add optional
8345 (run-python-internal): Use it.
8346 (python-shell-internal-get-or-create-process): Check for new
8347 internal buffer names.
8349 2012-08-06 Glenn Morris <rgm@gnu.org>
8351 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
8352 Do less getting and setting of environment variables.
8354 2012-08-05 Chong Yidong <cyd@gnu.org>
8356 * proced.el (proced): Add substitution string to docstring to
8357 trigger autoloading of the proced library on C-h f (Bug#1768).
8359 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
8360 Don't show defvars which have no second argument (Bug#8638).
8362 * imenu.el (imenu-generic-expression): Move documentation here
8363 from imenu--generic-function.
8364 (imenu--generic-function): Refer to imenu-generic-expression.
8366 2012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
8368 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
8369 indentation declaration.
8370 (viper-loop): Add indentation declaration (Bug#7025).
8372 2012-08-05 Chong Yidong <cyd@gnu.org>
8374 * help-fns.el (describe-variable): Add hyperlink for
8375 directory-local variables files. Improve buffer-local and
8376 permanent-local reporting; suggested by MON KEY (Bug#6644).
8378 * help-mode.el (help-dir-local-var-def): New button type.
8380 * files.el (kill-buffer-hook): Provide a defvar.
8382 2012-08-05 Glenn Morris <rgm@gnu.org>
8384 * eshell/esh-ext.el (eshell/addpath):
8385 Also update eshell-path-env. (Bug#12013)
8387 2012-08-05 Chong Yidong <cyd@gnu.org>
8389 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
8391 * fringe.el (fringe-styles): Add docstring.
8392 (fringe--check-mode): New function.
8393 (set-fringe-mode, set-fringe-style): Use it.
8394 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
8396 * files.el (set-auto-mode): Fix invalid setq call.
8398 2012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
8400 * isearch.el: Misc simplification; use defstruct.
8401 (isearch-mode-map): Dense maps now work like sparse ones.
8402 (isearch--state): New defstruct.
8403 (isearch-string-state, isearch-message-state, isearch-point-state)
8404 (isearch-success-state, isearch-forward-state)
8405 (isearch-other-end-state, isearch-word-state, isearch-error-state)
8406 (isearch-wrapped-state, isearch-barrier-state)
8407 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
8408 replaced by defstruct's accessors.
8409 (isearch--set-state): Rename from isearch-top-state and change
8411 (isearch-push-state): Use new isearch--get-state.
8412 (isearch-toggle-word): Disable regexp when enabling word.
8413 (isearch-message-prefix): Remove unused arg _c-q-hack.
8414 (isearch-message-suffix): Remove unused arg _ellipsis.
8416 2012-08-04 Andreas Schwab <schwab@linux-m68k.org>
8418 * simple.el (list-processes--refresh): For a server use :host or
8419 :local as the address.
8420 (list-processes): Doc fix.
8422 2012-08-04 Michal Nazarewicz <mina86@mina86.com>
8424 * lisp/mpc.el: Support password in host argument.
8425 (mpc--proc-connect): Parse and use new password element.
8426 Set mpc-proc variable instead of returning process.
8427 (mpc-proc): Adjust accordingly.
8429 2012-08-03 Eli Zaretskii <eliz@gnu.org>
8431 * whitespace.el (whitespace-display-mappings): Use Unicode
8432 codepoints, instead of emacs-mule codepoints. See
8433 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
8436 * files.el (file-truename): Don't skip symlink-chasing part on
8437 windows-nt. Incorporate the resolution of 8+3 short aliases on
8438 Windows into the loop that recursively chases symlinks.
8439 Compare directory and its parent case-insensitively on MS-Windows and
8442 2012-08-03 Chong Yidong <cyd@gnu.org>
8444 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
8446 * sort.el (sort-regexp-fields): Doc fix.
8448 2012-08-03 Tassilo Horn <tsdh@gnu.org>
8450 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
8451 labels regex position point at the expected place.
8453 2012-08-03 MON KEY <monkey@sandpframing.com>
8455 * net/imap.el (imap-interactive-login, imap-authenticate)
8456 (imap-mailbox-lsub, imap-mailbox-list)
8457 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
8458 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
8459 (imap-parse-response): Doc fix.
8461 2012-08-03 João Távora <joaotavora@gmail.com>
8463 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
8464 if sexp scanning does not move point (Bug#5734).
8466 2012-08-02 Tassilo Horn <tsdh@gnu.org>
8468 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
8469 Add listings, minted, and ctable packages.
8470 (reftex-label-alist-builtin): Move listings, minted, and ctable
8471 entries before LaTeX.
8472 (reftex-label-alist): Docfix.
8474 2012-08-02 Bastien Guerry <bzg@gnu.org>
8476 * replace.el (occur): Fix docstring (bug#12122).
8478 2012-08-02 Glenn Morris <rgm@gnu.org>
8480 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
8482 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
8484 Obsolete alias inactivate-current-input-method-function (Bug#10150).
8485 * international/mule-cmds.el: Create
8486 inactivate-current-input-method-function as an obsolete alias for
8487 deactivate-current-input-method-function. See Katsumi Yamaoka in
8488 <http://bugs.gnu.org/10150#46>.
8490 2012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
8492 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
8495 2012-08-01 Glenn Morris <rgm@gnu.org>
8497 * progmodes/autoconf.el (autoconf-definition-regexp):
8498 Add AH_TEMPLATE, adjust submatch numbering.
8499 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
8500 (autoconf-current-defun-function): Update for above change.
8501 (autoconf-current-defun-function): First skip to end of current word.
8503 2012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
8505 * calendar/cal-html.el (cal-html-insert-agenda-days):
8506 Fix typo. (Bug#12018)
8508 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
8510 Shell processes: enhancements to startup and CEDET compatibility.
8511 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
8512 (python-shell-make-comint): accept-process-output at startup.
8513 (run-python-internal): Set inferior-python-mode-hook to nil.
8514 (python-shell-internal-get-or-create-process): call sit-for.
8515 (python-preoutput-result): Add obsolete alias.
8516 (python-shell-internal-send-string): Use it.
8517 (python-shell-send-setup-code): Remove call to
8518 accept-process-output.
8520 2012-07-31 Andreas Schwab <schwab@linux-m68k.org>
8522 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
8525 2012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
8527 * calc-mode.el (calc-basic-simplification-mode): Rename from
8528 `calc-limited-simplification-mode'.
8529 (calc-alg-simplification-mode): New function.
8530 (calc-set-simplify-mode): Adjust message.
8532 * calc.el (calc-set-mode-line): Adjust mode line display for
8533 basic simplification mode.
8535 * calc-help.el (calc-m-prefix-help): Update help message.
8537 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
8538 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
8540 2012-07-31 Bastien Guerry <bzg@gnu.org>
8542 * man.el (man): Fix comment. (bug#12101)
8544 2012-07-31 Martin Rudalics <rudalics@gmx.at>
8546 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
8547 Don't return a non-nil value when no suitable buffer was found.
8549 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
8551 * progmodes/python.el (run-python-internal): Disable font lock for
8554 2012-07-30 Stefan Merten <smerten@oekonux.de>
8556 * textmodes/rst.el: Silence `checkdoc-ispell'.
8557 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
8558 (rst-official-version, rst-official-cvs-rev)
8559 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
8560 (rst-mode-map): New key binding.
8562 2012-07-30 Paul Eggert <eggert@cs.ucla.edu>
8564 Update .PHONY listings in makefiles.
8565 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
8566 autoloads, update-subdirs, updates, bzr-update, update-authors,
8567 compile-onefile, compile-calc, backup-compiled-files,
8568 compile-after-backup, compile-one-process, mh-autoloads,
8569 bootstrap-clean, distclean, maintainer-clean.
8571 2012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
8573 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
8574 (calc-set-mode-line): Don't display "AlgSimp ".
8576 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
8577 (calc-lim-simplify-mode): New function.
8578 (calc-set-simplify-mode): Default to 'alg.
8579 (calc-default-simplify-mode): Make algebraic simplifications
8582 * calc/calc-ext.el (calc-init-extensions): Remove binding for
8583 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
8585 * calc/calc-help.el (calc-m-prefix-help): Change messages to
8586 indicate new simplification modes.
8588 * calc/README: Mention new default simplification mode.
8590 * calc/calc.el (math-normalize-error): New variable.
8591 (math-normalize): Set `math-normalize-error' to t
8592 when there's an error.
8594 * calc/calc-alg.el (math-simplify): Don't simplify when
8595 `math-normalize' returns an error.
8597 2012-07-29 Eli Zaretskii <eliz@gnu.org>
8599 * international/mule-cmds.el (set-locale-environment): Revert last
8600 change, since display-graphic-p returns nil when this function is
8601 called during startup. Instead...
8603 * term/w32console.el (terminal-init-w32console): ...setup the
8604 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
8606 2012-07-29 Juri Linkov <juri@jurta.org>
8608 * simple.el (goto-line): Don't display default line number in the
8609 prompt because it should be displayed by `read-number' (bug#9952).
8610 Add the current line number to the defaults of `goto-line' to
8611 allow its easier modification by users with `M-n' (bug#9201).
8613 * subr.el (read-number): Support multiple default values like in
8614 other minibuffer reading functions. Replace `read' with
8615 `string-to-number' for consistency with `number-to-string'.
8617 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
8619 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
8620 * emulation/viper-init.el (viper-deactivate-input-method-action):
8621 Rename from viper-inactivate-input-method-action.
8622 (viper-deactivate-input-method):
8623 Rename from viper-inactivate-input-method.
8624 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
8625 * international/mule-cmds.el (deactivate-input-method):
8626 Rename from inactivate-input-method.
8627 Also run input-method-deactivate-hook.
8628 (deactivate-current-input-method-function):
8629 Rename from inactivate-current-input-method-function.
8630 (input-method-deactivate-hook): New hook.
8631 (input-method-inactivate-hook): Mark obsolete.
8632 (inactivate-input-method): Mark obsolete.
8634 * international/quail.el (quail-activate):
8635 Also run quail-deactivate-hook.
8636 (quail-deactivate): Rename from quail-inactivate.
8637 * international/robin.el (robin-activate):
8638 Also run robin-deactivate-hook.
8639 (robin-deactivate): Rename from robin-inactivate.
8641 2012-07-29 Chong Yidong <cyd@gnu.org>
8643 * simple.el (indicate-copied-region): New function.
8644 (kill-ring-save): Split off from here.
8646 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
8647 (kill-rectangle): Set deactivate-mark to t on read-only error.
8649 * register.el (copy-to-register, copy-rectangle-to-register):
8650 Deactivate the mark, and use indicate-copied-region (Bug#10056).
8651 (append-to-register, prepend-to-register): Call indicate-copied-region.
8653 2012-07-29 Juri Linkov <juri@jurta.org>
8655 * simple.el (async-shell-command-buffer): New defcustom.
8656 (shell-command): Use it. (Bug#4719)
8658 2012-07-28 Eli Zaretskii <eliz@gnu.org>
8660 * international/mule-cmds.el (set-locale-environment): In a
8661 console session on MS-Windows, set up keyboard and terminal
8662 encoding from the OEM codepage, not the ANSI codepage.
8665 2012-07-28 Chong Yidong <cyd@gnu.org>
8667 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
8670 2012-07-28 Leo Liu <sdl.web@gmail.com>
8672 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
8673 the alist (bug#12029).
8675 2012-07-28 Eli Zaretskii <eliz@gnu.org>
8677 * makefile.w32-in (custom-deps, finder-data, updates, compile)
8678 (compile-always, compile-first)
8679 ($(lisp)/calendar/cal-loaddefs.el)
8680 ($(lisp)/calendar/diary-loaddefs.el)
8681 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
8682 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
8683 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
8684 instead of on update-subdirs.
8685 (bootstrap-clean): Delete $(lisp)/subdirs.el.
8687 2012-07-28 Chong Yidong <cyd@gnu.org>
8689 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
8690 directory if vc-deduce-backend returns nil (Bug#7350).
8692 * simple.el (delete-trailing-lines): New option.
8693 (delete-trailing-whitespace): Obey it (Bug#11879).
8695 2012-07-28 David Engster <deng@randomsample.de>
8697 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
8698 Explanation of new 'symbol-qnames feature in doc-strings.
8699 (xml-maybe-do-ns): Return expanded names as plain symbols if
8700 'symbol-qnames was provided in XML-NS argument (Bug#11916).
8701 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
8703 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
8705 Consistent completion in inferior python with emacs -nw.
8706 * progmodes/python.el (inferior-python-mode): replace "<tab>"
8707 binding in inferior-python-mode-map with "\t".
8708 (python-shell-completion-complete-at-point)
8709 (python-completion-complete-at-point): Remove interactive spec.
8711 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
8713 * calc/calccomp.el (math-compose-expr): Undo previous change.
8715 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
8717 * progmodes/python.el (python-mode-map): Add keybinding for
8719 (python-shell-make-comint): Fix pop-to-buffer call.
8720 (run-python): Autoload. New arg SHOW.
8721 (python-shell-get-or-create-process): Do not pop python process
8724 2012-07-27 Michael Albinus <michael.albinus@gmx.de>
8726 * notifications.el (notifications-on-action-signal)
8727 (notifications-on-closed-signal): Use also the bus address for the map.
8728 (notifications-notify, notifications-close-notification)
8729 (notifications-get-capabilities): Add optional argument BUS.
8731 2012-07-27 Tassilo Horn <tsdh@gnu.org>
8733 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
8734 Add support for the lstlisting and minted environments, and for the
8736 * textmodes/reftex.el (reftex-compile-variables): Also recognize
8737 labels written in keyvals syntax.
8739 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
8741 * calc/calccomp.el (math-compose-expr): Use parentheses when
8742 there is a product in the denominator of a fraction.
8744 2012-07-26 Eli Zaretskii <eliz@gnu.org>
8746 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
8747 ($(lisp)/calendar/diary-loaddefs.el)
8748 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
8749 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
8750 Fixes failures in parallel bootstrap because subdirs.el is being
8751 rewritten while the autoload files are built at the same time,
8752 which needs to load subdirs.el.
8754 2012-07-26 Martin Rudalics <rudalics@gmx.at>
8756 * mouse.el (popup-menu): Fix doc-string and re-indent code.
8757 (mouse-drag-line): Don't exit tracking when a switch-frame or
8758 switch-window event occurs (Bug#12006).
8760 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8762 * mouse.el (popup-menu): Fix last change.
8764 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8766 Autoload from Lisp with more care. Follow aliases when looking for
8767 function properties.
8768 * subr.el (autoloadp): New function.
8769 (symbol-file): Use it.
8770 (function-get): New function.
8771 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
8773 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
8774 (lisp-indent-function):
8775 * emacs-lisp/gv.el (gv-get):
8776 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
8777 * emacs-lisp/byte-opt.el (byte-optimize-form):
8778 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
8779 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
8781 * emacs-lisp/cl.el: Don't propagate function properties any more.
8783 * speedbar.el (speedbar-add-localized-speedbar-support):
8784 * emacs-lisp/disass.el (disassemble-internal):
8785 * desktop.el (desktop-load-file):
8786 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
8787 (describe-function-1):
8788 * emacs-lisp/find-func.el (find-function-noselect):
8789 * emacs-lisp/elp.el (elp-instrument-function):
8790 * emacs-lisp/advice.el (ad-has-proper-definition):
8791 * apropos.el (apropos-safe-documentation, apropos-macrop):
8792 * emacs-lisp/debug.el (debug-on-entry):
8793 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
8794 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
8795 * calc/calc.el (name): Use autoloadp & autoload-do-load.
8797 2012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
8799 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
8800 function, not an obsolete variable (Bug#12046).
8802 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
8804 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
8806 2012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
8808 * emacs-lisp/pp.el (pp-display-expression): Select old selected
8809 window only if it is still live (Bug#12034).
8811 2012-07-25 Martin Rudalics <rudalics@gmx.at>
8813 * subr.el (redirect-frame-focus): Add advertised calling
8814 convention (Bug#12030).
8816 2012-07-25 Paul Eggert <eggert@cs.ucla.edu>
8818 Prefer typical American spelling for "acknowledgment".
8819 * vc/add-log.el (change-log-acknowledgment): Rename from
8820 change-log-acknowledgement, with an alias for the old name.
8822 2012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
8824 * calc-alg.el (math-simplify-divide): Don't cross multiply
8825 in an equation when the lhs is a variable.
8827 2012-07-24 Julien Danjou <julien@danjou.info>
8829 * net/netrc.el (netrc-find-service-number, netrc-store-data):
8832 2012-07-23 Eli Zaretskii <eliz@gnu.org>
8834 * startup.el (command-line): Don't display an empty user name in
8835 the error message about non-existent home directory, when
8836 init-file-user was set to an empty string. See
8837 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
8838 for the details and context.
8840 2012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
8842 * ses.el (ses-cell-formula-aset): New macro.
8843 (ses-cell-references-aset): New macro.
8844 (ses-cell-p): New function.
8845 (ses-rename-cell): Do no longer rely on complex operations like
8846 ses-cell-set-formula or ses-set-cell to change the cell and handle
8847 the undo at the same time, but rather use lower level new macros
8848 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
8849 the undo directly. Refresh the mode line.
8851 2012-07-21 Leo Liu <sdl.web@gmail.com>
8853 * progmodes/cc-cmds.el (c-defun-name):
8854 Use match-string-no-properties instead for consistency.
8856 2012-07-20 Leo Liu <sdl.web@gmail.com>
8858 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
8861 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
8863 2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
8865 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
8866 * progmodes/bug-reference.el, misearch.el: Provide themselves
8869 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
8870 of narrowed buffer (bug#11966).
8872 2012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
8874 * ses.el (ses-rename-cell): Set new name also in reference list of
8875 cells of which the renamed cell depends.
8877 2012-07-20 Masatake YAMATO <yamato@redhat.com>
8879 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
8880 to check whether menu-bar is shown or not. If not shown,
8881 show the menu-bar as a popup menu instead of using tmm.
8882 * mouse.el (popup-menu): Accept `point' as `position' argument.
8884 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
8886 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
8887 up inside string symbol literal (bug#11923).
8889 2012-07-20 Eli Zaretskii <eliz@gnu.org>
8891 * startup.el (fancy-startup-text): Read the whole tutorial, not
8892 just its first 256 bytes. Prevents gibberish in display of the
8895 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
8897 Drop idle buffer compaction due to an absence of the
8899 * compact.el: Remove.
8901 2012-07-19 Sam Steingold <sds@gnu.org>
8903 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
8904 vc-bzr-pull & vc-bzr-merge-branch.
8905 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
8906 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
8907 for consistency with compilation-error-regexp-alist.
8908 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
8909 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
8910 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
8911 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
8913 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
8915 * emacs-lisp/chart.el: Use lexical-binding.
8916 (chart-emacs-storage): Don't hardcode the list of entries.
8918 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
8920 Next round of tweaks caused by Fgarbage_collect changes.
8921 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
8923 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
8925 Compact buffers when idle.
8926 * compact.el: New file.
8928 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
8930 * subr.el (eventp): Presume that if it looks vaguely like an event,
8931 it's an event (bug#10190).
8933 2012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
8935 Enhancements to ppss related code (thanks Stefan).
8936 * progmodes/python.el (python-indent-context)
8937 (python-indent-calculate-indentation, python-indent-dedent-line)
8938 (python-indent-electric-colon, python-nav-forward-block)
8939 (python-mode-abbrev-table)
8940 (python-info-assignment-continuation-line-p): Simplify checks
8942 (python-info-continuation-line-p): Cleanup.
8943 (python-info-ppss-context): Do not catch 'quote.
8944 (python-info-ppss-context-type)
8945 (python-info-ppss-comment-or-string-p): Simplify.
8947 2012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
8949 * progmodes/python.el: Enhancements to eldoc support.
8950 (python-info-current-symbol): New function.
8951 (python-eldoc-at-point): Use python-info-current-symbol.
8952 (python-info-current-defun): Fix cornercase on first defun scan.
8953 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
8954 and signal error when no inferior python process is available.
8956 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
8958 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
8959 assume it's always t.
8960 (vc-git-registered): Remove caching, the function is only called
8962 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
8964 2012-07-18 Chong Yidong <cyd@gnu.org>
8966 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
8968 * simple.el (count-words): Report on narrowing (Bug#9959).
8970 * bindings.el: Bind M-= to count-words.
8972 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
8974 2012-07-18 Masatake YAMATO <yamato@redhat.com>
8976 * progmodes/sh-script.el (sh-imenu-generic-expression):
8977 Capture a function with `function' keyword and without parentheses
8978 like "function FOO" (bug#11856).
8980 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
8982 * window.el (split-window-sensibly): Make WINDOW argument
8985 2012-07-18 Chong Yidong <cyd@gnu.org>
8987 * subr.el (keyboard-translate): Doc fix (Bug#7261).
8989 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
8990 and make C-x 8 RET exit isearch (Bug#11439).
8992 * international/iso-transl.el: Move isearch-mode-map key
8993 definitions to isearch.el.
8995 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
8997 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
8998 (eieio-defclass): Use gv-define-setter when possible.
9000 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
9002 Reflect recent changes in Fgarbage_collect.
9003 * emacs-lisp/chart.el (chart-emacs-storage): Change to
9004 reflect new format of data returned by Fgarbage_collect.
9006 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
9008 New utility functions + python-info-ppss-context fix (Bug#11910).
9009 * progmodes/python.el (python-info-beginning-of-block-statement-p)
9010 (python-info-ppss-comment-or-string-p): New functions.
9011 (python-info-ppss-context): Small fix for string check.
9013 2012-07-17 Juri Linkov <juri@jurta.org>
9015 * dired-aux.el (dired-do-async-shell-command): Doc fix.
9016 (dired-do-async-shell-command): Don't add `*' at the end of the
9017 command (Bug#11815).
9018 (dired-do-shell-command): Doc fix.
9019 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
9020 Join the individual commands using either "&" or ";" as the
9021 separator depending on the values of these trailing characters.
9022 At the end re-add the trailing "&". (Bug#10598)
9024 * simple.el (async-shell-command): Sync the interactive spec with
9025 `shell-command'. Doc fix.
9026 (shell-command): Doc fix.
9028 2012-07-17 Juri Linkov <juri@jurta.org>
9030 * descr-text.el (describe-char): Fix format args. (Bug#10129)
9032 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
9034 Final renames and doc fixes for movement commands (bug#11899).
9035 * progmodes/python.el (python-nav-beginning-of-statement):
9036 Rename from python-nav-statement-start.
9037 (python-nav-end-of-statement): Rename from
9038 python-nav-statement-end.
9039 (python-nav-beginning-of-block): Rename from
9040 python-nav-block-start.
9041 (python-nav-end-of-block): Rename from python-nav-block-end.
9043 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
9045 * progmodes/python.el (python-shell-send-string-no-output):
9046 Allow accept-process-output to quit, keeping shell process ready for
9047 future interactions (Bug#11868).
9049 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
9051 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
9053 * emacs-lisp/elint.el (elint-find-args-in-code):
9054 Use help-function-arglist, so as to handle lexical byte-code.
9056 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
9059 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
9061 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
9062 Avoid spuriously marking the buffer as modified because of c-is-sws.
9064 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
9065 as not-a-comment (bug#11946).
9067 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
9068 for uninterned vars.
9070 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
9071 Use read-event since we don't really want to read chars but bytes.
9073 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
9074 $$..$$ but also $..$ using regexps (bug#11953).
9075 Use tex-verbatim for \url and \path.
9076 (tex-font-lock-keywords): Define as defconst like the others.
9077 (tex-common-initialization): Don't use font-lock-syntax-table any more.
9079 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
9081 * international/mule-cmds.el (ucs-insert): Make it an obsolete
9082 alias for insert-char.
9084 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
9086 * progmodes/python.el: Simplified imenu implementation.
9087 (python-nav-jump-to-defun): Remove command.
9088 (python-mode-map): Use `imenu' instead.
9089 (python-nav-list-defun-positions-cache)
9090 (python-imenu-include-defun-type, python-imenu-make-tree)
9091 (python-imenu-subtree-root-label, python-imenu-index-alist):
9093 (python-nav-list-defun-positions, python-nav-read-defun)
9094 (python-imenu-tree-assoc, python-imenu-make-element-tree)
9095 (python-imenu-make-tree, python-imenu-create-index):
9097 (python-mode): Update to interact with imenu by setting
9098 `imenu-extract-index-name-function' only.
9100 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
9102 * progmodes/python.el: Enhancements to navigation commands.
9103 (python-nav-backward-sentence)
9104 (python-nav-forward-sentence): Remove.
9105 (python-nav-backward-statement, python-nav-forward-statement)
9106 (python-nav-statement-start, python-nav-statement-end)
9107 (python-nav-backward-block, python-nav-forward-block)
9108 (python-nav-block-start, python-nav-block-end)
9109 (python-nav-forward-sexp-function)
9110 (python-info-current-line-comment-p)
9111 (python-info-current-line-empty-p): New functions.
9112 (python-indent-context): Use `python-nav-statement-start'.
9114 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
9116 * eshell/em-ls.el (eshell/ls): Use `apply'.
9118 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
9119 multi-hops, instead of Tramp internals.
9121 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
9123 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
9124 when F1 and F2 are located on different hosts.
9126 2012-07-14 Chong Yidong <cyd@gnu.org>
9128 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
9129 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
9130 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
9131 (xterm-mouse--read-event-sequence-1000)
9132 (xterm-mouse--read-event-sequence-1006): New functions. For old
9133 mouse protocol, handle M-mouse-X events correctly.
9134 (xterm-mouse-event): New arg specifying mouse protocol.
9135 (turn-on-xterm-mouse-tracking-on-terminal)
9136 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
9137 sequence to toggle extended coordinates on newer XTerms.
9138 This appears to be harmless on terminals which do not support this.
9140 2012-07-14 Leo Liu <sdl.web@gmail.com>
9142 Add fringe bitmap indicators for flymake. (Bug#11253)
9143 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
9144 (flymake-make-overlay): New arg BITMAP.
9145 (flymake-error-bitmap, flymake-warning-bitmap)
9146 (flymake-fringe-indicator-position): New user variables.
9148 * fringe.el: New bitmap exclamation-mark.
9150 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
9152 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
9155 2012-07-14 Chong Yidong <cyd@gnu.org>
9157 * electric.el (electric-pair-post-self-insert-function): Fix pair
9158 insertion in empty-region case (Bug#11520).
9160 2012-07-14 Chong Yidong <cyd@gnu.org>
9162 * bindings.el: Consolidate ctl-x-r-map bindings.
9163 Bind copy-rectangle-as-kill to C-x r w.
9165 * rect.el, register.el: Move bindings to bindings.el.
9167 2012-07-14 Reuben Thomas <rrt@sc3d.org>
9169 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
9171 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
9173 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
9175 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
9177 * bindings.el (top): Use `mapc' instead of `mapcar'.
9179 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
9181 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
9183 * progmodes/sql.el (sql-comint): Suppress the check for program on
9184 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
9187 2012-07-13 Chong Yidong <cyd@gnu.org>
9189 * bindings.el: Assign a non-nil permanent-local property to
9190 per-buffer variables which lack a default value (Bug#11930).
9192 * help-fns.el (describe-variable): In the "automatically becomes
9193 local" notice, take note of permanent-local variables.
9195 2012-07-13 Chong Yidong <cyd@gnu.org>
9197 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
9198 to allow printing the message when called from Lisp.
9200 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
9201 Remove toggle-read-only.
9203 * bs.el (bs-toggle-readonly):
9204 * buff-menu.el (Buffer-menu-toggle-read-only):
9205 Remove with-no-warnings around toggle-read-only.
9207 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
9208 Remove with-no-warnings around toggle-read-only.
9209 (ffap-read-only, ffap-read-only-other-window)
9210 (ffap-read-only-other-frame): Callers changed.
9212 * help-mode.el: Don't require view package.
9213 (help-mode-finish): Set buffer-read-only instead of calling
9216 * bindings.el (mode-line-toggle-read-only):
9217 * dired.el (dired-toggle-read-only):
9218 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
9219 with non-nil second arg.
9221 * emacs-lisp/eieio-custom.el (eieio-customize-object):
9222 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
9225 2012-07-12 Eli Zaretskii <eliz@gnu.org>
9227 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
9230 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
9232 More CL cleanups and reduction of use of cl.el.
9233 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
9234 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
9235 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
9236 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
9237 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
9238 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
9239 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
9240 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
9241 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
9242 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
9243 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
9244 * eshell/em-cmpl.el, eshell/em-banner.el:
9245 * calendar/parse-time.el: Use cl-lib.
9246 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
9247 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
9248 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
9249 * term/ns-win.el, term.el, shell.el, ps-samp.el:
9250 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
9251 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
9252 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
9253 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
9254 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
9255 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
9256 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
9257 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
9258 `lambda' rather than with `quote'.
9259 (eshell-do-opt): Adjust accordingly.
9260 (eshell-process-option): Simplify.
9261 * eshell/esh-var.el:
9262 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
9263 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
9264 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
9265 to `pcase--dontcare'.
9266 * emacs-lisp/cl.el (labels): Mark obsolete.
9267 (cl--letf, letf): Move to cl-lib.
9268 (cl--letf*, letf*): Remove.
9269 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
9270 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
9271 (cl-progv): Rewrite.
9272 (cl--letf, cl-letf): Move from cl.el.
9273 (cl-letf*): New macro.
9274 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
9276 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
9278 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
9280 2012-07-11 Chong Yidong <cyd@gnu.org>
9282 * vc/log-edit.el (log-edit-vc-backend): New variable.
9283 (log-edit): Doc fix.
9285 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
9286 argument of log-edit to set up all local variables.
9287 (vc-start-logentry): New optional arg specifying VC backend.
9289 * vc/vc.el (vc-checkin): Use it.
9290 (vc-deduce-fileset): Handle Log Edit buffers.
9291 (vc-diff): Make first argument optional too.
9293 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
9295 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
9297 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
9298 command, just in case. The function is not needed anymore.
9299 (eshell-external-command): Do not call `eshell-remote-command'.
9301 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
9303 Reduce use of (require 'cl).
9304 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
9305 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
9306 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
9307 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
9308 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
9309 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
9310 * battery.el, avoid.el, abbrev.el: Use cl-lib.
9311 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
9312 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
9313 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
9314 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
9315 * calculator.el, autorevert.el, apropos.el: Don't require CL.
9316 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
9317 (byte-compile-unfold-bcf, byte-compile-check-variable):
9318 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
9319 (byte-compile-nilconstp):
9320 * emacs-lisp/autoload.el (make-autoload): Use pcase.
9321 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
9323 * emacs-lisp/gv.el (cond): Make it a valid place.
9324 (if): Simplify slightly.
9326 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
9327 (pcase--self-quoting-p): New function.
9328 (pcase--u1): Use it.
9330 2012-07-10 Glenn Morris <rgm@gnu.org>
9332 * emacs-lisp/authors.el (authors-fixed-entries):
9333 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
9335 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
9337 Rename configure.in to configure.ac (Bug#11603).
9338 * emacs-lisp/authors.el (authors-canonical-file-name):
9339 * progmodes/autoconf.el (autoconf-mode):
9340 Prefer configure.ac to configure.in.
9342 2012-07-08 Chong Yidong <cyd@gnu.org>
9344 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
9345 Implement the mouse-1-click-follows-link handling properly.
9347 * info.el (Info-link-keymap): Use follow-link mechanism for
9348 header-line links (Bug#374).
9350 * simple.el (deactivate-mark): Do not set the primary selection
9351 if another program has acquired it (Bug#11772).
9353 2012-07-07 Kevin Ryde <user42@zip.com.au>
9355 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
9356 (woman-decode-region): Replace escaped-escapes without destroying
9357 bold or underline (Bug#11552).
9358 (woman2-process-escapes): Handle nofill regions (Bug#11591).
9360 2012-07-07 Chong Yidong <cyd@gnu.org>
9362 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
9363 (interprogram-cut-function, interprogram-paste-function):
9364 Mention that we typically mean the clipboard.
9366 2012-07-06 Glenn Morris <rgm@gnu.org>
9368 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
9370 * files.el (toggle-read-only): Restrict message to interactive use.
9372 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
9374 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
9376 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
9378 2012-07-06 Glenn Morris <rgm@gnu.org>
9380 * Makefile.in (compile-one-process): Rename from "recompile".
9382 * Makefile.in (bzr-update): "compile" is the same as "recompile
9383 autoloads", but parallelizable, so use that instead.
9385 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
9387 * window.el (quit-window): Always restore window height when
9388 it's saved in quit-restore parameter (Bug#11810).
9390 2012-07-06 Glenn Morris <rgm@gnu.org>
9392 * simple.el (kill-whole-line): Doc tweak.
9394 2012-07-06 Eli Zaretskii <eliz@gnu.org>
9396 * files.el (file-relative-name): Compare file names
9397 case-insensitively if on MS-Windows or MS-DOS, or if
9398 read-file-name-completion-ignore-case is non-nil. Don't use
9399 case-fold-search for this purpose. (Bug#11827)
9401 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
9403 * calendar/cal-dst.el (calendar-current-time-zone):
9404 Return calendar-current-time-zone-cache if non-nil.
9406 2012-07-17 Masatake YAMATO <yamato@redhat.com>
9407 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
9409 * calendar/cal-dst.el (calendar-current-time-zone):
9410 Return calendar-current-time-zone-cache if non-nil.
9412 2012-07-06 Glenn Morris <rgm@gnu.org>
9414 * Makefile.in (cvs-update): Remove old alias.
9416 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
9418 Sync with Tramp 2.2.6-pre.
9420 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
9421 compatible declaration.
9423 * net/tramp-cmds.el (tramp-append-tramp-buffers):
9424 Protect `list-load-path-shadows' call.
9426 * net/tramp-compat.el (top): Require packages, which aren't
9427 autoloaded anymore for XEmacs. Protect call of
9428 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
9429 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
9430 it hurts at least for SXEmacs.
9431 (tramp-compat-temporary-file-directory): In XEmacs, there is no
9432 standard-value for `temporary-file-directory'.
9434 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
9435 Redirect stderr to /dev/null.
9436 (tramp-sh-handle-write-region): uid and gid can be floats.
9437 Reported by Russell Sim <russell.sim@gmail.com>.
9438 (tramp-sh-handle-vc-registered): Hide errors.
9439 (tramp-vc-file-name-handler): Use dummy results for `process-file'
9440 and `start-file-process'.
9441 (tramp-maybe-open-connection): Check also whether `non-essential'
9444 2012-07-04 Chong Yidong <cyd@gnu.org>
9446 * xml.el (xml--parse-buffer): Use xml-syntax-table.
9447 (xml-parse-tag): Likewise, and avoid changing entity tables.
9448 (xml-syntax-table): Define from scratch, making sure not to give
9449 x2000 and other Unicode spaces whitespace syntax, since those are
9451 (xml-parse-fragment): Delete unused function.
9452 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
9453 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
9454 (xml-entity-ref, xml-pe-reference-re)
9455 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
9456 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
9457 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
9458 (xml-entity-value-re): Use syntax references in regexps where
9459 possible; no need to define inside a let-binding.
9460 (xml-parse-dtd): Use xml-pe-reference-re.
9461 (xml-entity-or-char-ref-re): New defconst.
9462 (xml-parse-string, xml-substitute-special): Use it.
9464 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
9466 * files.el (locate-dominating-file): Allow `name' to be a predicate.
9467 (find-file--read-only): New function.
9468 (find-file-read-only, find-file-read-only-other-window)
9469 (find-file-read-only-other-frame): Use it.
9470 (insert-file-contents-literally): Don't `fset'.
9471 (get-free-disk-space): Use locate-dominating-file.
9473 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
9474 function is already compiled.
9476 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
9478 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
9480 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
9481 files on the same host.
9483 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
9485 * help-fns.el (describe-function-1): Only call
9486 help-fns--autoloaded-p when we have a file name. (Bug#11848)
9488 2012-07-03 Chong Yidong <cyd@gnu.org>
9490 * xml.el: Protect parser against XML bombs.
9491 (xml-entity-expansion-limit): New variable.
9492 (xml-parse-string, xml-substitute-special): Use it.
9493 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
9495 2012-07-03 Glenn Morris <rgm@gnu.org>
9497 * progmodes/bug-reference.el (bug-reference-bug-regexp):
9498 Allow linking to specific messages in debbugs reports (eg 123#5).
9500 2012-07-02 Chong Yidong <cyd@gnu.org>
9502 * xml.el: Fix entity and character reference expansion, allowing
9503 them to expand into markup as per XML spec.
9504 (xml-default-ns): New variable.
9505 (xml-entity-alist): Use XML spec definitions for lt and amp.
9506 (xml-parse-region): Make first two arguments optional.
9507 Discard text properties.
9508 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
9509 All callers changed.
9510 (xml-parse-tag): Call xml-parse-tag-1. For backward
9511 compatibility, this function should not modify buffer contents.
9512 (xml-parse-tag-1): Fix opening-tag regexp.
9513 (xml-parse-string): Rewrite, handling entity and character
9514 references properly.
9515 (xml--entity-replacement-text): Signal an error if a parameter
9516 entity is undefined.
9518 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
9520 * comint.el (comint-output-filter): Filter out repeated prompts.
9522 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
9523 and file-name-absolute-p.
9524 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
9527 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
9530 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
9531 Rename from byte-compile--refiy-function. All uses changed.
9533 2012-07-01 Chong Yidong <cyd@gnu.org>
9535 * xml.el (xml--parse-buffer): New function. Move most of
9536 xml-parse-region here.
9537 (xml-parse-region): Copy region into a temporary buffer, since
9538 parameter entity substitution requires changing buffer contents.
9539 Use xml--parse-buffer.
9540 (xml-parse-file): Use xml--parse-buffer.
9541 (xml-parse-dtd): Make parameter entity substitution work right.
9542 Use proper regexps for ELEMENT declarations (Bug#7172).
9544 2012-06-30 Glenn Morris <rgm@gnu.org>
9546 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
9548 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
9549 Remove outdated and unnecessary dbus declarations.
9551 2012-06-30 Eli Zaretskii <eliz@gnu.org>
9553 * emacs-lisp/timer.el (timer-until): Subtract results of
9554 float-time, instead of taking float-time of the result of
9555 time-subtract, since float-time signals an error for negative time
9558 2012-06-30 Chong Yidong <cyd@gnu.org>
9560 * xml.el (xml-*-re): Convert defvars into defconsts, and
9561 eval-and-compile them so eval-and-compile works on derivatives.
9562 (xml--entity-replacement-text): Use eval-and-comple.
9564 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
9566 * vc/vc-git.el (vc-git-registered): Use cache property
9568 (vc-git-mode-line-string): Call `vc-working-revision' instead of
9569 `vc-git-working-revision' in order to benefit from the cache.
9570 (vc-git-root): Use cache property `git-root'. (Bug#11757)
9572 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
9574 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
9575 removed (likely outside Emacs). (Bug#11757)
9577 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
9579 * emacs-lisp/cl-lib.el: Require macroexp.
9581 2012-06-30 Chong Yidong <cyd@gnu.org>
9583 * xml.el: Implement XML parameter entities.
9584 (xml-parameter-entity-alist): New variable.
9585 (xml-parse-region, xml-parse-fragment): Preserve previous values
9586 of xml-entity-alist and xml-parameter-entity-alist, so that
9587 repeated calls on different documents do not change them.
9588 (xml-parse-tag): Fix doctype regexp.
9589 (xml--entity-replacement-text): New function.
9590 (xml-parse-dtd): Use it. Don't handle system entities; doing that
9591 properly requires url retrieval which is unimplemented.
9592 (xml-escape-string): Doc fix.
9594 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
9596 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
9598 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
9600 * fringe.el (fringe-mode): Doc fix.
9602 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
9604 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
9606 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
9607 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
9609 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
9611 * calendar/cal-dst.el (calendar-current-time-zone):
9612 Return calendar-current-time-zone-cache if non-nil.
9614 2012-06-29 Masatake YAMATO <yamato@redhat.com>
9616 * progmodes/which-func.el (which-func-format):
9617 Add mouse-face. (Bug#11698)
9619 2012-06-29 Leo Liu <sdl.web@gmail.com>
9621 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
9623 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
9625 * minibuffer.el (minibuffer-confirm-exit-commands):
9626 Add completion-at-point (bug#11725).
9628 2012-06-29 Glenn Morris <rgm@gnu.org>
9630 * progmodes/f90.el (f90-font-lock-keywords-2):
9631 Add some preprocessor elements. (Bug#10499)
9633 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
9635 * progmodes/cperl-mode.el (cperl-update-syntaxification):
9636 Use syntax-propertize (bug#11739).
9638 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
9640 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
9642 2012-06-28 Julien Danjou <julien@danjou.info>
9644 * term.el (term-handle-colors-array): Use a set of new faces to
9645 color the terminal. Also uses :inverse-video property.
9646 (term-default-fg-color): Set to nil by default, deprecate in favor
9648 (term-default-bg-color): Set to nil by default, deprecate in favor
9650 (term-current-face): Use `term-face' by default.
9651 (term-bold-attribute): Variable deleted.
9653 2012-06-28 Glenn Morris <rgm@gnu.org>
9655 * simple.el (completion-list-mode-finish):
9656 Don't use toggle-read-only. (Since completion-list-mode has
9657 a special mode-class, it wasn't doing anything extra anyway.)
9659 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
9661 Make inlining of other-mode interpreted functions work (bug#11799).
9662 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
9663 (byte-compile): Use it to fix compilation of lexical-binding closures.
9664 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
9665 function, if needed.
9667 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
9669 * help-mode.el (help-make-xrefs): Don't just withstand
9670 cyclic-variable-indirection but any error in documentation-property.
9672 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
9674 * bindings.el (bindings--define-key): New function.
9675 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
9676 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
9677 * bindings.el: Use it to purecopy define-key bindings.
9679 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
9681 * emacs-lisp/cl.el (flet): Mark obsolete.
9682 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
9683 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
9684 * progmodes/js.el (js-c-fill-paragraph):
9685 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
9686 (ebrowse-switch-member-buffer-to-derived-class):
9687 * play/5x5.el (5x5-solver): Use cl-flet.
9689 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
9690 (cl--symbol-function): New macro.
9691 (cl--letf, cl--letf*): Use it.
9693 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
9694 Strip "toggle-" if any.
9696 2012-06-27 Glenn Morris <rgm@gnu.org>
9698 * info.el (Info-default-directory-list): Move here from paths.el.
9699 * paths.el: Remove file, which is now empty.
9700 * loadup.el: No longer load "paths".
9702 * custom.el (custom-initialize-delay): Doc fix.
9704 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
9705 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
9706 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
9707 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
9708 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
9709 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
9710 * eshell/eshell.el (eshell-defgroup): Remove alias.
9712 2012-06-27 Chong Yidong <cyd@gnu.org>
9714 * help.el (help-enable-auto-load): New variable.
9716 * help-fns.el (help-fns--autoloaded-p): New function.
9717 (describe-function-1): Refer to a function as "autoloaded" if it
9718 was autoloaded at any time in the past. Perform autoloading if
9719 help-enable-auto-load is non-nil.
9721 2012-06-26 Eli Zaretskii <eliz@gnu.org>
9723 * makefile.w32-in (compile, compile-always): Depend on
9724 update-subdirs, not on subdirs.el. Otherwise, several different
9725 sub-targets of 'bootstrap' running in parallel could
9726 simultaneously write to subdirs.el, producing a garbled file.
9728 2012-06-26 Sam Steingold <sds@gnu.org>
9730 * files.el (file-name-base): New convenience function.
9731 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
9732 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
9733 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
9734 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
9735 * textmodes/ispell.el, textmodes/reftex-ref.el:
9736 * textmodes/tex-mode.el: Use it.
9737 Did not touch cedet and org because they are maintained elsewhere.
9739 2012-06-26 Martin Rudalics <rudalics@gmx.at>
9741 * calendar/calendar.el (calendar-exit): Don't try to delete or
9742 iconify last frame. See:
9743 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
9745 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
9747 * server.el (server-process-filter): Remember dir in the
9748 process's `server-client-directory' properties.
9750 2012-06-24 Chong Yidong <cyd@gnu.org>
9752 * xml.el (xml-parse-tag): Correctly handle comment embedded in
9755 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
9757 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
9759 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
9761 * help-fns.el (describe-variable): Don't croak when doc is not found.
9762 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
9763 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
9764 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
9765 * emacs-lisp/smie.el (smie-next-sexp): CSE.
9766 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
9768 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
9770 2012-06-23 Chong Yidong <cyd@gnu.org>
9772 * info.el (Info-mouse-follow-link): Accept symbol values of
9773 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
9774 (Info-fontify-node): Use Info-link-keymap for all navigation
9775 buttons, with link-args property to perform the desired action.
9776 (Info-link-keymap): Doc fix.
9777 (Info-next-link-keymap, Info-prev-link-keymap)
9778 (Info-up-link-keymap): Delete now-unused keymaps.
9780 2012-06-23 Chong Yidong <cyd@gnu.org>
9782 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
9784 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
9787 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
9789 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
9791 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
9794 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
9795 the requote function doesn't work properly (bug#11714).
9797 2012-06-23 Glenn Morris <rgm@gnu.org>
9799 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
9801 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
9803 Further GV/CL cleanups.
9804 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
9806 (gv--defun-declaration): New function.
9807 (defun-declarations-alist): Use it.
9808 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
9809 (gv-place): Autoload.
9810 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
9811 original definition of dotimes and dolist.
9812 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
9813 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
9814 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
9815 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
9816 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
9817 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
9818 to the function's definition.
9819 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
9823 * env.el: Don't use CL.
9825 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
9827 Support higher-resolution time stamps (Bug#9000).
9829 * calendar/time-date.el (with-decoded-time-value): New arg
9830 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
9831 (encode-time-value): New optional arg PICO. New type 3.
9832 (time-to-seconds) [!float-time]: Support the new picoseconds
9833 component if it's used.
9834 (seconds-to-time, time-subtract, time-add):
9835 Support ps-resolution time stamps as well.
9837 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
9838 (timerp): Timer vectors now have length 9, not 8.
9839 (timer--time): Support new-style (4-part) time stamps.
9840 (timer-next-integral-multiple-of-time): Time stamps now have
9841 picosecond resolution, so take a bit more care about rounding.
9842 (timer-relative-time, timer-inc-time): New optional arg psecs.
9843 (timer-set-time-with-usecs): Set psecs to 0.
9844 (timer--activate): Check psecs component, too.
9846 * proced.el (proced-time-lessp): Support ps-resolution stamps.
9848 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
9850 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
9851 Move the non-essential binding to the post/pre-command-hook where it is
9852 more obviously correct.
9854 * subr.el (read-passwd): Don't use a history at all.
9855 * savehist.el (savehist-save): Remove password saved accidentally
9856 because of the above bug.
9858 2012-06-22 Bastien Guerry <bzg@gnu.org>
9860 * files.el (toggle-read-only): Display a message telling whether
9861 the buffer is read-only or not (bug#11726).
9863 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
9865 * emacs-lisp/gv.el: New file.
9866 * subr.el (push, pop): Extend to generalized variables.
9867 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
9868 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
9869 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
9870 gv-define-simple-setter, and gv-define-expander.
9871 Remove setf-methods defined in gv. Rename cl-setf -> setf.
9872 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
9873 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
9874 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
9875 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
9877 (cl-defstruct): Don't define setf-method any more.
9878 * emacs-lisp/cl.el (flet): Don't autoload.
9879 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
9880 (define-setf-expander, defsetf, define-modify-macro)
9881 (cl-struct-setf-expander): Move from cl-lib.el.
9882 * emacs-lisp/syntax.el:
9883 * emacs-lisp/ewoc.el:
9884 * emacs-lisp/smie.el:
9885 * emacs-lisp/cconv.el:
9886 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
9887 (timer--time): Use gv-define-simple-setter.
9888 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
9889 to avoid coding-system problems in subr.el. Adjust all users.
9890 (macroexp--maxsize, macroexp-small-p): New functions.
9891 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
9892 * scroll-bar.el (scroll-bar-mode):
9893 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
9894 (normal-erase-is-backspace-mode): Don't use the `eq' place.
9895 * winner.el (winner-configuration, winner-make-point-alist)
9896 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
9897 * files.el (locate-file-completion-table): Avoid list*.
9899 2012-06-22 Chong Yidong <cyd@gnu.org>
9901 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
9902 (dired-create-files): Doc fix (Bug#11329).
9903 (dired-do-copy): Doc fix (Bug#11334).
9904 (dired-mark-read-string): Doc fix (Bug#11553).
9906 * dired.el (dired-recursive-copies, dired-recursive-deletes):
9907 Doc fix (Bug#11326).
9908 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
9909 (dired-dwim-target): Doc fix.
9911 * wdired.el (wdired-mode): Doc fix.
9913 2012-06-22 Glenn Morris <rgm@gnu.org>
9915 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
9916 (pcmpl-rpm-cache-stamp-file): New constant.
9917 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
9918 (pcmpl-rpm-packages): Optionally cache list of packages.
9920 * pcmpl-rpm.el (pcmpl-rpm): New group.
9921 (pcmpl-rpm-query-options): New option.
9922 (pcmpl-rpm-packages): No need to inline it.
9923 Use pcmpl-rpm-query-options.
9925 * calendar/calendar.el (calendar-in-read-only-buffer):
9926 Avoid some needless mode changes.
9928 2012-06-21 Chong Yidong <cyd@gnu.org>
9930 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
9931 (desktop-path): Remove . from the default value (Bug#10977).
9932 (desktop-read): Use user-emacs-directory if desktop-path is nil.
9934 2012-06-20 Chong Yidong <cyd@gnu.org>
9936 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
9938 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
9940 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
9943 2012-06-20 Chong Yidong <cyd@gnu.org>
9945 * term.el (term-window-width): Handle the case of a missing right
9947 (term-check-size): Use window-text-height (Bug#5445).
9948 (term-mode): Use define-derived-mode. Minor cleanups.
9949 Set font-lock-defaults (Bug#7692).
9950 (term-move-columns, term-insert-char, term-emulate-terminal)
9951 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
9953 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
9955 * net/ange-ftp.el (ange-ftp-get-passwd):
9956 Bind `enable-recursive-minibuffers'.
9957 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
9959 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
9961 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
9963 2012-06-19 Glenn Morris <rgm@gnu.org>
9965 * progmodes/python.el (python-mode): Derive from prog-mode.
9967 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
9969 * emulation/edt.el (edt-default-menu-bar-update-buffers)
9970 (edt-user-menu-bar-update-buffers): New functions.
9971 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
9973 2012-06-19 Chong Yidong <cyd@gnu.org>
9975 * subr.el (with-selected-window): Preserve the selected window's
9976 terminal's top-frame (Bug#4702).
9978 * window.el (save-selected-window): Likewise.
9980 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9982 * progmodes/python.el (python-rx-constituents): Move backquote.
9983 (python-skeleton-define, python-define-auxiliary-skeleton):
9986 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
9988 * minibuffer.el (read-file-name-default): Revert the patch from
9991 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9993 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
9994 (pcase--u1, pcase--q1): Don't use apply-partially.
9996 2012-06-18 Glenn Morris <rgm@gnu.org>
9998 * progmodes/python.el (python-proc, python-buffer)
9999 (python-send-receive, python-send-string): Fix obsolete versions.
10001 2012-06-18 Martin Rudalics <rudalics@gmx.at>
10003 * window.el (special-display-p): Completely remove stringp
10004 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
10006 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
10008 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
10010 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
10012 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
10013 * net/tramp-sh.el (tramp-maybe-open-connection):
10014 Throw if `non-essential' is non-nil.
10016 2012-06-17 Martin Rudalics <rudalics@gmx.at>
10018 * window.el (special-display-p): Signal an error if BUFFER-NAME
10019 is not a string (Bug#11713).
10021 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
10023 * progmodes/python.el (python-info-beginning-of-backslash):
10024 Rename from python-info-beginning-of-backlash, as a spelling fix.
10026 2012-06-17 Chong Yidong <cyd@gnu.org>
10028 * term.el (term-emulate-terminal): If term-check-size is called,
10029 move point to the process mark without resetting point (Bug#4635).
10031 2012-06-17 Glenn Morris <rgm@gnu.org>
10033 * international/mule-cmds.el (mule-menu-keymap)
10034 (set-language-environment, set-locale-environment): Doc tweaks.
10036 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
10038 * cus-face.el (custom-face-attributes): Add wave-style underline
10040 * faces.el (set-face-attribute): Update docstring to describe
10041 wave-style underline attribute.
10043 2012-06-16 Chong Yidong <cyd@gnu.org>
10045 * term/xterm.el (terminal-init-xterm): Discard input before
10046 querying background mode (Bug#10959).
10048 2012-06-16 Stefan Merten <smerten@oekonux.de>
10050 * textmodes/rst.el: Added and corrected some comments.
10051 (rst-re-alist-def): Improve symbol syntax.
10052 (rst-mode-syntax-table): Correct syntax entries.
10053 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
10054 (rst-official-version, rst-official-cvs-rev): Update version
10057 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
10059 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
10060 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
10062 2012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
10064 * progmodes/python.el: New python.el merge.
10065 (python-guess-indent): Obsolete var.
10066 (python-indent-guess-indent-offset): New defcustom.
10067 (python-indent): Obsolete var.
10068 (python-indent-offset): New defcustom.
10069 (python-python-command, python-jython-command): Delete var.
10070 (python-shell-interpreter): New defcustom.
10071 (python-pdbtrack-do-tracking-p): Delete var.
10072 (python-pdbtrack-activate): New defcustom.
10073 (python-use-skeletons): Obsolete var.
10074 (python-skeleton-autoinsert): New defcustom.
10075 (inferior-python-filter-regexp, python-continuation-offset)
10076 (python-honour-comment-indentation, python-indent-string-contents)
10077 (python-jython-packages, python-mode-hook)
10078 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
10079 (python-shell-prompt-alist)
10080 (python-source-modes): Delete defcustoms.
10081 (python-check-buffer-name, python-eldoc-setup-code)
10082 (python-eldoc-string-code, python-ffap-setup-code)
10083 (python-ffap-string-code, python-fill-comment-function)
10084 (python-fill-decorator-function, python-fill-paren-function)
10085 (python-fill-string-function, python-imenu-include-defun-type)
10086 (python-imenu-make-tree, python-imenu-subtree-root-label)
10087 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
10088 (python-shell-compilation-regexp-alist)
10089 (python-shell-completion-module-string-code)
10090 (python-shell-completion-pdb-string-code)
10091 (python-shell-completion-setup-code)
10092 (python-shell-completion-string-code)
10093 (python-shell-enable-font-lock, python-shell-exec-path)
10094 (python-shell-extra-pythonpaths)
10095 (python-shell-internal-buffer-name, python-shell-interpreter-args)
10096 (python-shell-process-environment)
10097 (python-shell-prompt-block-regexp)
10098 (python-shell-prompt-output-regexp)
10099 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
10100 (python-shell-send-setup-max-wait, python-shell-setup-codes)
10101 (python-shell-virtualenv-path): New defcustoms.
10102 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
10103 (inferior-python-mode-syntax-table, python--prompt-regexp)
10104 (python-buffer, python-command python-python-command)
10105 (python-default-template, python-imports, python-indent-index)
10106 (python-indent-list, python-indent-list-length)
10107 (python-mode-running, python-pdbtrack-is-tracking-p)
10108 (python-preoutput-continuation, python-preoutput-leftover)
10109 (python-preoutput-result, python-preoutput-skip-next-prompt)
10110 (python-prev-dir/file, python-recursing)
10111 (python-saved-check-command, python-version-checked)
10112 (python-which-func-length-limit)
10113 (view-return-to-alist): Delete vars.
10114 (python-check-custom-command, python-dotty-syntax-table)
10115 (python-imenu-index-alist, python-indent-current-level)
10116 (python-indent-dedenters, python-indent-levels)
10117 (python-nav-beginning-of-defun-regexp)
10118 (python-nav-list-defun-positions-cache)
10119 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
10120 (python-shell-internal-buffer)
10121 (python-skeleton-available): New vars.
10122 (def-python-skeleton): Delete macro.
10123 (python-skeleton-define): New macro.
10124 (python-define-auxiliary-skeleton, python-rx): New macros.
10125 (python-insert-class): Delete command.
10126 (python-skeleton-class): New command.
10127 (python-insert-def): Delete command.
10128 (python-skeleton-def): New command.
10129 (python-insert-for): Delete command.
10130 (python-skeleton-for): New command.
10131 (python-insert-if): Delete command.
10132 (python-skeleton-if): New command.
10133 (python-insert-try/except, python-insert-try/finally): Delete commands.
10134 (python-skeleton-try): New command.
10135 (python-insert-while): Delete command.
10136 (python-skeleton-while): New command.
10137 (python-backspace): Delete command.
10138 (python-indent-dedent-line-backspace): New command.
10139 (python-electric-colon): Delete command.
10140 (python-indent-electric-colon): New command.
10141 (python-guess-indent): Delete command.
10142 (python-indent-guess-indent-offset): New command.
10143 (python-shift-left): Delete command.
10144 (python-indent-shift-left): New command.
10145 (python-shift-right): Delete command.
10146 (python-indent-shift-right): New command.
10147 (python-find-function): Delete command.
10148 (python-nav-jump-to-defun): New command.
10149 (python-next-statement): Delete command.
10150 (python-nav-forward-sentence): New command.
10151 (python-previous-statement): Delete command.
10152 (python-nav-backward-sentence): New command.
10153 (python-fill-paragraph): Delete command.
10154 (python-fill-paragraph-function): New command.
10155 (python-send-buffer): Delete command.
10156 (python-shell-send-buffer): New command.
10157 (python-send-defun): Delete command.
10158 (python-shell-send-defun): New command.
10159 (python-send-region, python-send-region-and-go): Delete commands.
10160 (python-shell-send-region)
10161 (python-shell-switch-to-shell): New commands.
10162 (python-send-string): Delete command.
10163 (python-shell-send-string): New command.
10164 (python-switch-to-python): Delete command.
10165 (python-shell-switch-to-shell): New command.
10166 (python-describe-symbol): Delete command.
10167 (python-eldoc-at-point): New command.
10168 (python--set-prompt-regexp, python-args-to-list)
10169 (python-after-info-look, python-check-version)
10170 (python-check-comint-prompt, python-find-imports)
10171 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
10172 (python-unload-function, python-expand-template)
10173 (python-maybe-jython, python-preoutput-filter)
10174 (python-pdbtrack-get-source-buffer)
10175 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
10176 (python-pdbtrack-toggle-stack-tracking)
10177 (python-pdbtrack-track-stack-file, python-initial-text)
10178 (python-first-word, python-comment-line-p, python-send-command)
10179 (python-setup-brm, python-sentinel, python-set-proc)
10180 (python-skip-out, python-input-filter, python-outdent-p)
10181 (python-outline-level, python-backslash-continuation-line-p)
10182 (python-end-of-block, python-end-of-statement, python-mark-block)
10183 (python-beginning-of-block, python-beginning-of-statement)
10184 (python-blank-line-p, python-beginning-of-string)
10185 (python-open-block-statement-p): Delete functions.
10186 (python-indent-line, python-indent-line-1): Delete functions.
10187 (python-indent-line): New function.
10188 (python-indentation-levels): Delete function.
10189 (python-indent-calculate-levels): New function.
10190 (python-proc): Delete function.
10191 (python-shell-get-process): New function.
10192 (python-send-receive): Delete function.
10193 (python-shell-send-string-no-output): New function.
10194 (python-module-path): Delete function.
10195 (python-ffap-module-path): New function.
10196 (python-completion-at-point)
10197 (python-symbol-completions): Delete functions.
10198 (python-completion-complete-at-point): New function.
10199 (python-load-file): Delete function.
10200 (python-shell-send-file): New function.
10201 (python-calculate-indentation): Delete function.
10202 (python-indent-calculate-indentation): New function.
10203 (python-skip-comments/blanks): Delete function.
10204 (python-util-forward-comment): New function.
10205 (python-continuation-line-p): Delete function.
10206 (python-info-continuation-line-p): New function.
10207 (python-which-func, python-current-defun): Delete function.
10208 (python-info-current-defun): New function.
10209 (python-beginning-of-defun): Delete function.
10210 (python-nav-beginning-of-defun): New function.
10211 (python-close-block-statement-p)
10212 (python-block-end-p): Delete function.
10213 (python-info-closing-block): New function.
10214 (python-comint-output-filter-function)
10215 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
10216 (python-fill-comment, python-fill-decorator, python-fill-paren)
10217 (python-fill-string, python-imenu-make-element-tree)
10218 (python-imenu-make-tree, python-imenu-tree-assoc)
10219 (python-indent-context, python-indent-dedent-line)
10220 (python-indent-line-function)
10221 (python-indent-post-self-insert-function)
10222 (python-indent-toggle-levels)
10223 (python-info-assignment-continuation-line-p)
10224 (python-info-beginning-of-backlash)
10225 (python-info-block-continuation-line-p)
10226 (python-info-closing-block-message)
10227 (python-info-line-ends-backslash-p)
10228 (python-info-looking-at-beginning-of-defun)
10229 (python-info-ppss-context, python-info-ppss-context-type)
10230 (python-nav-list-defun-positions, python-nav-read-defun)
10231 (python-nav-sentence-end, python-nav-sentence-start)
10232 (python-pdbtrack-comint-output-filter-function)
10233 (python-pdbtrack-set-tracked-buffer)
10234 (python-shell-calculate-exec-path)
10235 (python-shell-calculate-process-environment)
10236 (python-shell-completion--do-completion-at-point)
10237 (python-shell-completion--get-completions)
10238 (python-shell-completion-complete-at-point)
10239 (python-shell-completion-complete-or-indent)
10240 (python-shell-get-or-create-process)
10241 (python-shell-get-process-name)
10242 (python-shell-internal-get-or-create-process)
10243 (python-shell-internal-get-process-name)
10244 (python-shell-internal-send-string, python-shell-make-comint)
10245 (python-shell-parse-command, python-shell-send-setup-code)
10246 (python-skeleton-add-menu-items)
10247 (python-util-clone-local-variables, python-util-position)
10248 (run-python-internal, python-indentation-levels)
10249 (python-nav-beginning-of-defun)
10250 (python-completion-complete-at-point): New functions.
10251 (run-python): Change arguments. New API requirements.
10253 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
10255 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
10258 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
10259 (macroexp--expand-all): Use it.
10261 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
10262 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
10263 Use `cl-function' instead.
10265 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
10267 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
10268 Suggested by Stefan Monnier while discussing bug#11657.
10270 2012-06-14 Sam Steingold <sds@gnu.org>
10272 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
10274 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
10276 * play/doctor.el (doctor-doc): Remove parameter and use
10277 doctor-sent instead of sent.
10278 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
10280 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
10282 * files.el: Require cl-lib.
10283 (file-name-non-special): Replace case -> cl-case.
10285 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
10287 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
10288 mapping from #' to function*.
10290 2012-06-13 Chong Yidong <cyd@gnu.org>
10292 * mouse.el (mouse-drag-track): Do not set the mark if the user
10293 releases the mouse without selecting anything (Bug#11588).
10295 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
10297 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
10298 as well (bug#11646).
10300 * loadup.el: Count byte-code functions as well.
10302 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
10303 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
10305 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
10306 (bug#11649). Add cl-defun and cl-defmacro.
10308 2012-06-13 Drew Adams <drew.adams@oracle.com>
10310 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
10313 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
10315 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
10316 Otherwise, it blocks in batch mode.
10318 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
10320 * help-mode.el (bookmark-make-record-default): Declare.
10322 2012-06-13 Chong Yidong <cyd@gnu.org>
10324 * emacs-lisp/package.el (list-packages): Compute a list of
10325 packages that are newly-available since the last list-packages
10327 (package-menu--new-package-list): New var.
10328 (package-menu--generate, package-menu--print-info)
10329 (package-menu--status-predicate, package-menu-mark-install):
10330 Handle new status label "new".
10332 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
10334 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
10335 conversion to backquotes.
10337 2012-06-12 Chong Yidong <cyd@gnu.org>
10339 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
10340 Rename from gud-inhibit-global-bindings.
10342 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
10344 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
10345 hook from nxml-glyph-set-hook.
10347 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
10350 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
10352 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
10353 Convert to defcustom.
10355 2012-06-12 Drew Adams <drew.adams@oracle.com>
10357 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
10359 (help-mode): Use them.
10361 2012-06-11 Glenn Morris <rgm@gnu.org>
10363 * progmodes/fortran.el (fortran-font-lock-keywords-3):
10364 Use preprocessor face for directives.
10365 (fortran-directive-re): Doc fix.
10367 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
10369 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
10370 conversion to backquotes (bug#11652).
10372 Fix compiler-expansion of CL's cXXr functions (bug#11673).
10373 * emacs-lisp/cl-lib.el (cl--defalias): New function.
10374 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
10375 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
10376 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
10377 (cl-ninth, cl-tenth): Mark them as inlinable.
10378 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
10379 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
10380 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
10381 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
10382 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
10383 (cl-list*, cl-adjoin): Don't put an autoload manually.
10384 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
10385 (cl--compiler-macro-list*): Add autoload cookie.
10386 (cl--compiler-macro-cXXr): New function.
10388 * help-fns.el (help-fns--compiler-macro): New function extracted from
10389 describe-function-1; follow aliases and use `compiler-macro' property.
10390 (describe-function-1): Use it.
10392 2012-06-11 Chong Yidong <cyd@gnu.org>
10394 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
10395 is uninstalled, if imagemagick is installed.
10397 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
10399 * emacs-lisp/cl-lib.el: Use lexical-binding.
10400 (cl-map-extents, cl-maclisp-member): Remove.
10401 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
10402 (cl--set-substring, cl--block-wrapper, cl--block-throw)
10403 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
10404 * emacs-lisp/cl-extra.el: Use lexical-binding.
10405 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
10406 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
10407 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
10408 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
10409 * emacs-lisp/cl-seq.el: Use lexical-binding.
10410 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
10411 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
10412 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
10413 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
10414 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
10417 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
10419 Sync with Tramp 2.2.6-pre.
10421 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
10422 `print-length' and `print-level' to nil, in order to avoid
10423 truncation. Reported by Christopher Schmidt
10424 <christopher@ristopher.com>.
10426 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
10428 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
10430 (tramp-compat-copy-directory): Add optional argument
10431 COPY-CONTENTS. It is not handled yet.
10433 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
10434 (tramp-ftp-file-name-p): Simplify.
10436 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
10437 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
10440 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
10441 (tramp-methods): Do not use `tramp-password-end-of-line'.
10442 (tramp-completion-function-alist-putty): Handle UNIX case.
10443 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
10444 (tramp-do-file-attributes-with-stat)
10445 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
10446 gid as real numbers. They could run out of integer range on cygwin.
10447 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
10448 (tramp-sh-handle-expand-file-name): Handle hops.
10449 (tramp-open-connection-setup-interactive-shell):
10450 Use `tramp-cleanup'. Move check for busyboxes ...
10451 (tramp-find-shell): ... here. Simplify implementation.
10452 Set "remote-shell" property also for alternative shells.
10453 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
10454 If failing, a regular file would be written otherwise.
10455 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
10456 (tramp-find-inline-encoding): Cache the coding commands in the
10457 process cache. Apply test command on the remote side, if defined.
10458 (tramp-find-inline-compress): Cache the compress commands in the
10460 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
10461 when requested. Handle hops.
10462 (tramp-current-connection): New defvar.
10463 (tramp-maybe-open-connection): Use `tramp-cleanup'.
10464 Throw `suppress', if there was a failed connection shortly before.
10465 Handle user interrupt. (Bug#10187)
10466 (tramp-get-inline-compress, tramp-get-inline-coding):
10467 Read connection properties from the process cache.
10469 * net/tramp-smb.el (tramp-smb-server-version)
10470 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
10472 (tramp-smb-prompt): Extend for powershell prompt.
10473 (tramp-smb-file-name-handler-alist): Add handlers for
10474 `process-file', `shell-command' and `start-file-process'.
10475 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
10476 (tramp-smb-winexe-shell-command-switch): New defcustoms.
10477 (tramp-smb-file-name-p): Simplify.
10478 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
10479 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
10480 (tramp-smb-shell-quote-argument): New defuns.
10481 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
10482 Implement using "tar". By this, time-stamps are preserved.
10483 (tramp-smb-handle-copy-file): Handle also the case of directories.
10484 (tramp-smb-do-file-attributes-with-stat)
10485 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
10486 Use `tramp-get-connection-buffer').
10487 (tramp-smb-handle-rename-file): Use "rename", when source and
10488 target are on the same share.
10489 (tramp-smb-maybe-open-connection): Handle wrong passwords.
10490 Use `tramp-smb-server-version'.
10491 (tramp-smb-wait-for-output): Remove prompt.
10493 * net/tramp.el (top): Require 'cl.
10494 (tramp-methods, tramp-rsh-end-of-line):
10495 Remove `tramp-password-end-of-line' from docstring.
10496 (tramp-save-ad-hoc-proxies): New defcustom.
10497 (tramp-completion-function-alist): Adapt docstring.
10498 (tramp-default-password-end-of-line): Remove defcustom.
10499 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
10500 (tramp-user-regexp, tramp-file-name-regexp-unified)
10501 (tramp-file-name-regexp-url): Extend regexp by hop separator.
10502 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
10503 (tramp-remote-file-name-spec-regexp): New defconst.
10504 (tramp-file-name-structure): Extend structure for hops.
10505 (tramp-get-method-parameter): Move up.
10506 (tramp-file-name-p, tramp-dissect-file-name)
10507 (with-parsed-tramp-file-name): Handle hops.
10508 (tramp-file-name-hop): New defun.
10509 (tramp-make-tramp-file-name): New optional arg HOP.
10510 (tramp-message-show-progress-reporter-message): New defvar.
10511 (tramp-with-progress-reporter): Use it. We cannot use
10512 `tramp-message-show-message' here, because this suppresses also
10514 (tramp-error-with-buffer): Suppress buffer view, if
10515 `tramp-message-show-message' is nil.
10516 Use `tramp-get-connection-buffer'.
10517 (tramp-cleanup): New defun.
10518 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
10519 (tramp-file-name-handler): If `debug-on-error' is set, propagate
10520 an error unchanged.
10521 (tramp-completion-handle-file-name-all-completions): Handle hops.
10522 Fix an error when called from ido.
10523 (tramp-completion-dissect-file-name): Use better local variable
10524 name. Add hop to the vector.
10525 (tramp-handle-insert-file-contents): Use progress-reporter for the
10527 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
10529 (tramp-check-for-regexp): Simplify search.
10530 (tramp-enter-password): Remove it. Move implementation ...
10531 (tramp-action-password): ... here.
10532 (tramp-mode-string-to-int, tramp-local-host-p)
10533 (tramp-make-tramp-temp-file, tramp-read-passwd)
10534 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
10535 Set tramp-autoload cookie.
10537 * net/trampver.el: Update release number.
10539 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10540 Michael Albinus <michael.albinus@gmx.de>
10542 * net/tramp.el (tramp-set-completion-function): Fix docstring.
10543 (tramp-parse-group, tramp-parse-file)
10544 (tramp-parse-shostkeys-sknownhosts): New defuns.
10545 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
10546 (tramp-parse-shosts-group, tramp-parse-sconfig)
10547 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
10548 (tramp-parse-sknownhosts, tramp-parse-hosts)
10549 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
10551 (tramp-parse-passwd-group, tramp-parse-netrc-group)
10552 (tramp-parse-putty-group): Don't narrow.
10553 (tramp-parse-putty): Make a loop.
10554 (tramp-file-name-handler): Catch the `suppress' signal.
10556 2012-06-11 Chong Yidong <cyd@gnu.org>
10558 * image.el (imagemagick-register-types): Put the ImageMagick entry
10559 at the end of image-type-file-name-regexps.
10561 2012-06-11 Johan Bockgård <bojohan@gnu.org>
10563 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
10564 (pcase, pcase-let*, pcase-dolist): Use them.
10566 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
10568 * emacs-lisp/pcase.el (pcase--let*): New function.
10569 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
10570 (pcase--expand): Use macroexp-let².
10572 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
10574 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
10575 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
10576 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
10577 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
10578 * emacs-lisp/derived.el: Use pcase instead of `cl'.
10579 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
10581 2012-06-10 Glenn Morris <rgm@gnu.org>
10583 * mail/rmail.el (rmail-yank-current-message): Leave point at
10584 correct position. (Bug#11660)
10586 2012-06-10 Chong Yidong <cyd@gnu.org>
10588 * allout-widgets.el: Fix code header.
10590 2012-06-10 Chong Yidong <cyd@gnu.org>
10592 * cus-edit.el (customize-changed-options-previous-release):
10595 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
10597 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
10599 2012-06-09 Chong Yidong <cyd@gnu.org>
10601 * ebuff-menu.el (electric-buffer-list): Preserve header line.
10603 2012-06-09 Martin Rudalics <rudalics@gmx.at>
10605 * window.el (special-display-popup-frame): Don't use
10606 window--display-buffer (Bug#11651).
10608 2012-06-09 Eli Zaretskii <eliz@gnu.org>
10610 Fix parallel builds: make sure loaddefs.el is not being written
10611 while Lisp files are compiled.
10612 (compile): Don't depend on 'mh-autoloads'.
10613 (compile-CMD, compile-SH): Depend on 'autoloads'.
10614 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
10616 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
10618 2012-06-09 Chong Yidong <cyd@gnu.org>
10620 * face-remap.el (face-remap-add-relative, face-remap-set-base)
10621 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
10622 Doc fixes (Bug#11225).
10624 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
10626 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
10627 a function if there's a clear indication that it has a compiler-macro.
10628 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
10629 (macro-declarations-alist): Add arglist to declaration functions.
10630 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
10631 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
10632 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
10633 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
10634 Also add autoload to find the compiler macro.
10635 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
10636 (cl--compiler-macro-member, cl--compiler-macro-assoc)
10637 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
10638 (cl--compiler-macro-get): New functions, replacing calls to
10639 cl-define-compiler-macro.
10640 (cl-typep) [compiler-macro]: Use macroexp-let².
10642 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
10644 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
10645 string properly, fixes Bug#11473.
10647 2012-06-08 Chong Yidong <cyd@gnu.org>
10649 * faces.el (set-face-attribute): Doc fix.
10650 (modify-face): Don't use :bold and :italic.
10651 (error, warning, success): Tweak definitions.
10653 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
10654 (custom-modified, custom-set, custom-changed, custom-themed)
10655 (custom-saved, custom-button, custom-button-mouse)
10656 (custom-button-pressed, custom-state, custom-comment-tag)
10657 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
10658 (custom-group-subtitle): Use new-style face specs.
10659 (custom-invalid-face, custom-rogue-face, custom-modified-face)
10660 (custom-set-face, custom-changed-face, custom-saved-face)
10661 (custom-button-face, custom-button-pressed-face)
10662 (custom-documentation-face, custom-state-face)
10663 (custom-comment-face, custom-comment-tag-face)
10664 (custom-variable-tag-face, custom-variable-button-face)
10665 (custom-face-tag-face, custom-group-tag-face-1)
10666 (custom-group-tag-face): Remove obsolete face alias.
10668 * epa.el (epa-validity-high, epa-validity-medium)
10669 (epa-validity-low, epa-mark, epa-field-name, epa-string)
10670 (epa-field-name, epa-field-body):
10671 * font-lock.el (font-lock-comment-face, font-lock-string-face)
10672 (font-lock-keyword-face, font-lock-builtin-face)
10673 (font-lock-function-name-face, font-lock-variable-name-face)
10674 (font-lock-type-face, font-lock-constant-face):
10675 * ido.el (ido-first-match, ido-only-match, ido-subdir)
10676 (ido-virtual, ido-indicator, ido-incomplete-regexp):
10677 * speedbar.el (speedbar-button-face, speedbar-file-face)
10678 (speedbar-directory-face, speedbar-tag-face)
10679 (speedbar-selected-face, speedbar-highlight-face)
10680 (speedbar-separator-face):
10681 * whitespace.el (whitespace-newline, whitespace-space)
10682 (whitespace-hspace, whitespace-tab, whitespace-trailing)
10683 (whitespace-line, whitespace-space-before-tab)
10684 (whitespace-space-after-tab, whitespace-indentation)
10685 (whitespace-empty):
10686 * emulation/cua-base.el (cua-global-mark):
10687 * eshell/em-prompt.el (eshell-prompt):
10688 * net/newst-plainview.el (newsticker-new-item-face)
10689 (newsticker-old-item-face, newsticker-immortal-item-face)
10690 (newsticker-obsolete-item-face, newsticker-date-face)
10691 (newsticker-statistics-face, newsticker-default-face):
10692 * net/newst-reader.el (newsticker-feed-face)
10693 (newsticker-extra-face, newsticker-enclosure-face):
10694 * net/newst-treeview.el (newsticker-treeview-face)
10695 (newsticker-treeview-new-face, newsticker-treeview-old-face)
10696 (newsticker-treeview-immortal-face)
10697 (newsticker-treeview-obsolete-face)
10698 (newsticker-treeview-selection-face):
10699 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
10700 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
10701 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
10702 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
10703 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
10704 (nxml-outline-active-indicator, nxml-outline-ellipsis):
10705 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
10707 * progmodes/vera-mode.el (vera-font-lock-number)
10708 (vera-font-lock-function, vera-font-lock-interface):
10709 * textmodes/table.el (table-cell): Use new-style face specs, and
10710 don't use the old :bold and :italic attributes.
10712 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
10713 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
10714 (ebrowse-member-class, ebrowse-progress): Likewise.
10715 (ebrowse-tree-mark-face, ebrowse-root-class-face)
10716 (ebrowse-file-name-face, ebrowse-default-face)
10717 (ebrowse-member-attribute-face, ebrowse-member-class-face)
10718 (ebrowse-progress-face): Remove obsolete faces.
10720 * progmodes/flymake.el (flymake-errline, flymake-warnline):
10721 Inherit from error and warning faces respectively.
10723 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
10725 (flyspell-incorrect-face, flyspell-duplicate-face):
10726 Remove obsolete aliases.
10728 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
10730 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
10733 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
10735 * startup.el (argv, argi): Make lexically scoped.
10736 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
10737 * emacs-lisp/cl-macs.el: Use lexical-binding.
10738 Rename cl-bind-* to cl--bind-*.
10739 * files.el: Don't require `cl' since it doesn't use it.
10740 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
10742 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
10744 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
10745 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
10746 instead of calling external sort utility.
10747 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
10749 2012-06-08 Eli Zaretskii <eliz@gnu.org>
10751 * descr-text.el (describe-char): Mention how to insert the
10752 character, if the current input method doesn't support it.
10753 See the discussion in this thread for the details:
10754 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
10756 2012-06-08 Sam Steingold <sds@gnu.org>
10758 * bindings.el (global-map): Bind XF86Forward to next-buffer and
10759 XF86Back to previous-buffer.
10760 (minibuffer-local-map): Bind them to next-history-element and
10761 previous-history-element respectively.
10762 * help-mode.el (help-mode-map): Bind them to help-go-forward and
10763 help-go-back respectively.
10764 * info.el (Info-mode-map): Bind them to Info-history-forward and
10765 Info-history-back respectively.
10766 These are the keys next to Up on the ThinkPad keyboard.
10768 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
10770 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
10771 * emacs-lisp/cl-macs.el: Provide itself.
10772 (cl--labels-convert-cache): New var.
10773 (cl--labels-convert): New function.
10774 (cl-flet, cl-labels): New implementation with new semantics, relying on
10776 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
10777 (cl-closure-vars, cl--function-convert-cache)
10778 (cl--function-convert): Move from cl-macs.el.
10779 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
10780 rename by removing the "cl-" prefix.
10781 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
10783 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
10785 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
10786 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
10787 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
10788 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
10789 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
10790 (cl-hash-table-count): Add old compatibility aliases.
10792 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
10793 Use macroexpand-all-environment instead.
10794 (cl--old-macroexpand): New var.
10795 (cl--sm-macroexpand): New function.
10796 (cl-symbol-macrolet): Use it during macro expansion.
10797 (cl--function-convert-cache): New var.
10798 (cl--function-convert): New function, extracted from
10799 cl-macroexpand-all.
10800 (cl-lexical-let): Use it.
10802 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
10803 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
10804 (cl-member): Remove old alias.
10806 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
10807 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
10808 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
10809 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
10810 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
10811 (cl-macroexpand-cmacs): Remove var.
10812 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
10813 Use macroexpand-all instead.
10815 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
10817 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
10818 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
10819 (macroexp-copyable-p): New functions and macros.
10820 * emacs-lisp/edebug.el (edebug-unwrap):
10821 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
10822 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
10823 (pcase--let*): Remove.
10824 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
10825 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
10826 macroexp-const-p instead.
10827 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
10829 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
10830 instead of "cl-" for internal definitions. Use macroexp-const-p.
10831 (cl-old-bc-file-form): Remove var.
10832 (cl-const-exprs-p): Remove fun.
10833 (cl-labels, cl-macrolet): Use backquote.
10834 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
10835 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
10836 (cl-define-setf-expander): Rename from cl-define-setf-method.
10837 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
10839 * international/mule-cmds.el: Don't require CL.
10840 (view-hello-file): Don't use `letf'.
10842 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
10844 * tmm.el (tmm-prompt): Use string-prefix-p.
10845 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
10846 (tmm-add-prompt): Use minibuffer-completion-help.
10847 (tmm-delete-map): Remove.
10849 * subr.el (kbd): Make it its own function.
10851 2012-06-07 Stefan Merten <smerten@oekonux.de>
10853 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
10854 Silence compiler warnings. Fix versions.
10855 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
10856 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
10857 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
10858 (rst-package-emacs-version-alist): Correct Emacs version to
10859 represent major merge with upstream.
10860 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
10862 2012-06-06 Glenn Morris <rgm@gnu.org>
10864 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
10865 Only print environment variables if set.
10867 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
10869 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
10870 (macroexp--cons): Rename from maybe-cons.
10871 (macroexp--accumulate): Rename from macroexp-accumulate.
10872 (macroexp--all-forms): Rename from macroexpand-all-forms.
10873 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
10874 (macroexp--expand-all): Rename from macroexpand-all-1.
10876 2012-06-06 Sam Steingold <sds@gnu.org>
10878 * calendar/calendar.el (calendar-in-read-only-buffer):
10879 Call `special-mode' to enable the standard read-only keybindings.
10881 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
10883 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
10884 with "loading" messages (bug#11635).
10886 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
10888 * files.el (enable-remote-dir-locals): New option.
10889 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
10891 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
10892 Ensure, that the temp directory is local.
10894 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
10895 `temporary-file-directory'.
10897 * progmodes/python.el (python-send-region): Ensure, that the
10898 temporary file is created also in the remote case.
10900 2012-06-06 Glenn Morris <rgm@gnu.org>
10902 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
10903 (vc-rcs-update-changelog): Use it.
10905 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
10907 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
10908 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
10909 (vc-sccs-diff): Replace use of the external vcdiff script.
10911 2012-06-05 Glenn Morris <rgm@gnu.org>
10913 * ledit.el: Move to obsolete/.
10915 2012-06-05 Sam Steingold <sds@gnu.org>
10917 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
10920 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10922 * emacs-lisp/cust-print.el: Move to obsolete.
10924 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
10925 compiler-macro expansion.
10927 Add native compiler-macro support.
10928 * emacs-lisp/macroexp.el (macroexpand-all-1):
10929 Support compiler-macros directly. Properly follow aliases and apply
10930 the compiler macros more thoroughly.
10931 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
10932 macroexpand now properly follows aliases.
10933 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
10934 (cl-compiler-macroexpand): Use new prop.
10935 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
10937 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
10939 2012-06-05 Martin Rudalics <rudalics@gmx.at>
10941 * window.el (get-lru-window, get-mru-window, get-largest-window):
10942 New argument NOT-SELECTED to avoid picking the selected window.
10943 (window--display-buffer-1, window--display-buffer-2): Replace by
10944 new function window--display-buffer
10945 (display-buffer-same-window, display-buffer-reuse-window)
10946 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
10947 Use window--display-buffer.
10948 (display-buffer-use-some-window): Remove temporary dedication
10949 hack by calling get-lru-window and get-largest-window with
10950 NOT-SELECTED argument non-nil. Call window--display-buffer.
10952 2012-06-05 Glenn Morris <rgm@gnu.org>
10954 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
10955 Replace external vcdiff script.
10957 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
10959 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
10961 2012-06-04 Chong Yidong <cyd@gnu.org>
10963 * image.el (imagemagick-types-inhibit): Revert last change.
10965 (imagemagick-enabled-types): Remove CIN and EPS*.
10967 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
10969 * emacs-lisp/cl-lib.el: Rename from cl.el.
10970 * emacs-lisp/cl.el: New compatibility file.
10971 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
10972 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
10973 to obey the "cl-" prefix.
10974 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
10976 2012-06-03 Glenn Morris <rgm@gnu.org>
10978 * emacs-lisp/authors.el (authors-aliases): Addition.
10980 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
10983 2012-06-03 Stefan Merten <smerten@oekonux.de>
10985 * textmodes/rst.el: Add comments.
10986 (rst-transition, rst-adornment): New faces.
10987 (rst-adornment-faces-alist): Make default safe to reevaluate.
10989 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
10990 Improve customization tags.
10991 (rst-define-level-faces): Clarify meaning.
10993 2012-06-03 Chong Yidong <cyd@gnu.org>
10995 * progmodes/compile.el (compilation-mode-line-fail)
10996 (compilation-mode-line-run, compilation-mode-line-exit):
10998 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
11000 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
11002 * progmodes/which-func.el (which-func-update-ediff-windows):
11003 New function. Use it in ediff-select-hook (Bug#11478).
11005 2012-06-03 Chong Yidong <cyd@gnu.org>
11007 * bindings.el: Remove explicit help text from format-mode-line.
11008 It is now supplied by mode-line-default-help-echo.
11009 (mode-line-front-space, mode-line-end-spaces)
11010 (mode-line-misc-info): New variables.
11011 (mode-line-modes, mode-line-position): Move the default value to
11012 the variable definition.
11013 (mode-line-default-help-echo): New defcustom.
11014 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
11015 (mode-line-modified-help-echo): New functions.
11016 (mode-line-mule-info, mode-line-modified): Use them.
11017 (mode-line-eol-desc, propertized-buffer-identification):
11018 Consistency fixes for help text.
11019 (mode-line-coding-system-map): Allow using mouse-3 to invoke
11020 set-buffer-file-coding-system (Bug#289).
11021 (mode-line-mule-info-help-echo): Update help text.
11023 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
11025 * simple.el (execute-extended-command): Set real-this-command
11028 2012-06-02 Chong Yidong <cyd@gnu.org>
11030 Remove incorrect uses of "modeline" in comments, docstrings, and
11031 function/variable names (Bug#10329).
11033 * cus-edit.el (mode-line):
11034 * dframe.el (dframe-mouse-hscroll):
11035 * emacs-lisp/re-builder.el:
11036 * emacs-lisp/easy-mmode.el (define-minor-mode):
11037 * frame.el (set-frame-name):
11038 * help.el (lookup-minor-mode-from-indicator):
11039 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
11040 * progmodes/cc-cmds.el (c-toggle-auto-newline)
11041 (c-toggle-hungry-state):
11042 * progmodes/antlr-mode.el (antlr-language-alist):
11043 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
11044 * progmodes/vhdl-mode.el (vhdl-mode):
11045 * progmodes/which-func.el (which-func, which-func-cleanup-function):
11046 * term/ns-win.el (ns-face-at-pos):
11047 * term/sup-mouse.el (sup-mouse-report):
11048 * textmodes/flyspell.el (flyspell-mode-line-string):
11049 * textmodes/ispell.el (ispell-highlight-face):
11050 * textmodes/reftex-global.el:
11051 * vc/vc-arch.el (vc-arch-mode-line-string):
11052 * vc/vc-cvs.el (vc-cvs-mode-line-string):
11053 * vc/vc-git.el (vc-git-mode-line-string):
11054 * vc/vc-hooks.el (vc-display-status)
11055 (vc-default-mode-line-string):
11056 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
11058 * ansi-color.el (ansi-color-faces-vector): Change default faces.
11060 * dired.el (dired-sort-set-mode-line): Rename from
11061 dired-sort-set-modeline. All callers changed.
11063 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
11064 eshell-status-in-modeline.
11066 * foldout.el (foldout-mode-line-string): Rename from
11067 foldout-modeline-string. All callers changed.
11068 (foldout-update-mode-line): Rename from foldout-update-modeline.
11070 * subr.el (redraw-modeline): Make into obsolete alias.
11072 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
11073 timeclock-modeline-display. Make old name an alias.
11074 (timeclock-update-mode-line): Likewise. All callers changed.
11075 (timeclock-mode-line-display): No need to check before using
11077 (timeclock-relative, timeclock-day-over-hook)
11078 (timeclock-use-elapsed, timeclock-mode-string)
11079 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
11081 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
11082 crisp-mode-modeline-string.
11084 * play/solitaire.el (solitaire-build-mode-line): Rename from
11085 solitaire-build-modeline. All callers changed.
11087 * play/zone.el (zone-hiding-mode-line): Rename from
11088 zone-hiding-modeline. All callers changed.
11089 (zone): Remove unusued `modeline-hidden-level' property.
11091 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
11092 xscheme-modeline-initialize. All callers changed.
11094 * strokes.el (strokes-lighter): Rename from
11095 strokes-modeline-string.
11097 * textmodes/sgml-mode.el (html-face-tag-alist)
11098 (html-tag-face-alist): Use mode-line face instead of obsolete
11101 2012-06-02 Stefan Merten <smerten@oekonux.de>
11103 * textmodes/rst.el: Always require `cl'.
11104 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
11106 2012-06-02 Chong Yidong <cyd@gnu.org>
11108 * image.el (imagemagick-enabled-types): Rename from
11109 imagemagick-types-enable. Add many more types.
11110 (imagemagick-types-inhibit): Change default to nil.
11111 (imagemagick-filter-types): Caller changed.
11113 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
11115 * emacs-lisp/cl-macs.el: Use backquotes.
11116 (cl-transform-function-property): Use eval-and-compile rather than
11118 (defstruct): Use declare-function instead of with-no-warnings.
11120 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
11121 (byte-compile-output-docform): Re-add the print-circle bindings.
11122 (byte-compile-fix-header): Use #$ just because it's shorter.
11123 (byte-compile-output-file-form): Remove defun/defmacro.
11125 2012-06-01 Martin Rudalics <rudalics@gmx.at>
11127 * simple.el (choose-completion): Remove now obsolete binding for
11130 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
11132 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
11133 in order to avoid "Stack overflow in regexp matcher".
11135 2012-05-31 Glenn Morris <rgm@gnu.org>
11137 * image.el: For clarity, call imagemagick-register-types at
11138 top-level, rather than relying on a custom :initialize.
11139 (imagemagick-types-enable): New option. (Bug#11557)
11140 (imagemagick-filter-types): New function. (Bug#7406)
11141 (imagemagick-register-types): Use imagemagick-filter-types.
11142 If disabling support, remove elements altogether rather
11143 than using an impossible regexp.
11144 (imagemagick-types-inhibit): Give it the default init function.
11146 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
11148 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
11149 Handle arbitrary file name lengths (Bug#11585).
11151 2012-05-31 Martin Rudalics <rudalics@gmx.at>
11153 * desktop.el (desktop-read): Clear previous and next buffers for
11154 all windows and bury *Messages* buffer (bug#11556).
11156 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
11158 Add `declare' for `defun'. Align `defmacro's with it.
11159 * emacs-lisp/easy-mmode.el (define-minor-mode)
11160 (define-globalized-minor-mode): Don't autoload the var definitions.
11161 * emacs-lisp/byte-run.el: Use lexical-binding.
11162 (defun-declarations-alist, macro-declarations-alist): New vars.
11163 (defmacro, defun): Use them.
11164 (make-obsolete, define-obsolete-function-alias)
11165 (make-obsolete-variable, define-obsolete-variable-alias):
11167 (macro-declaration-function): Mark obsolete.
11168 * emacs-lisp/autoload.el: Use lexical-binding.
11169 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
11171 2012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11173 * textmodes/ispell.el (ispell-with-no-warnings):
11175 (ispell-kill-ispell, ispell-change-dictionary):
11176 Use `called-interactively-p' for Emacs instead of obsolete
11179 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
11181 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
11182 (macro-declaration-function): Move var from C code.
11183 (macro-declaration-function): Define function with defalias.
11184 * emacs-lisp/macroexp.el (macroexpand-all-1):
11185 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
11186 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
11187 defun/defmacro any more.
11188 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
11189 Provide fallback for unknown arglist.
11190 (byte-compile-arglist-warn): Change calling convention.
11191 (byte-compile-output-file-form): Move print-vars binding.
11192 (byte-compile-output-docform): Simplify accordingly.
11193 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
11194 (byte-compile-defmacro-declaration): Remove.
11195 (byte-compile-file-form-defmumble): Generalize to defalias.
11196 (byte-compile-output-as-comment): Return byte-positions.
11197 Simplify callers accordingly.
11198 (byte-compile-lambda): Use `assert'.
11199 (byte-compile-defun, byte-compile-defmacro): Remove.
11200 (byte-compile-file-form-defalias):
11201 Use byte-compile-file-form-defmumble.
11202 (byte-compile-defalias-warn): Remove.
11204 2012-05-29 Stefan Merten <smerten@oekonux.de>
11206 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
11207 possible. Fix authors. Improve comments. Improve loading of `cl'.
11209 (rst-mode-abbrev-table): Merge definition.
11210 (rst-mode): Make sure `font-lock-defaults' is buffer local.
11211 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
11213 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
11215 * calendar/icalendar.el
11216 (icalendar-export-region): Export UID properly.
11218 2012-05-29 Leo Liu <sdl.web@gmail.com>
11219 * calendar/icalendar.el (icalendar-import-format):
11220 Add `icalendar-import-format-uid' (Bug#11525).
11221 (icalendar-import-format-uid): New.
11222 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
11225 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
11227 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
11228 different alternative patterns.
11229 (pcase-codegen): Be more careful to preserve identity.
11230 (pcase--u1): Don't forget to mark vars as used.
11232 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
11233 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
11234 (byte-compile-from-buffer): ...rather than here.
11236 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
11237 functions from byte-compile-function-environment.
11239 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
11241 * window.el (window-deletable-p): Avoid deleting the root window
11242 of a frame with an active minibuffer.
11244 2012-05-29 Martin Rudalics <rudalics@gmx.at>
11246 * simple.el (choose-completion): Use quit-window (Bug#11567).
11248 2012-05-29 Chong Yidong <cyd@gnu.org>
11250 * whitespace.el (whitespace-cleanup): Fix usage of
11251 whitespace-empty-at-bob-regexp (Bug#11492).
11253 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
11255 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
11256 revert (Bug#11488).
11258 2012-05-29 Juri Linkov <juri@jurta.org>
11260 * isearch.el (isearch-mode-map): Bind `M-s _' to
11261 `isearch-toggle-symbol'. Bind `M-s c' to
11262 `isearch-toggle-case-fold'.
11263 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
11264 (isearch-forward): Add `M-s _' to the docstring.
11265 (isearch-forward-symbol, isearch-toggle-case-fold)
11266 (isearch-symbol-regexp): New functions. (Bug#11381)
11268 2012-05-29 Juri Linkov <juri@jurta.org>
11270 * isearch.el (isearch-word): Add docstring. (Bug#11381)
11271 (isearch-occur, isearch-search-and-update): If `isearch-word' is
11272 a function, call it to get the regexp.
11273 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
11274 property `isearch-message-prefix' instead of the string "word ".
11275 (isearch-search-fun-default): For the case of `isearch-word',
11276 return a lambda that calls re-search-forward/re-search-backward
11277 with a regexp returned by `word-search-regexp' or by the function
11280 2012-05-29 Juri Linkov <juri@jurta.org>
11282 * isearch.el (isearch-search-fun-default): New function.
11283 (isearch-search-fun): Move default part to the new function
11284 `isearch-search-fun-default'.
11285 (isearch-search-fun-function): Set the default value to
11286 `isearch-search-fun-default'. (Bug#11381)
11288 * comint.el (comint-history-isearch-end):
11289 Use `isearch-search-fun-default'.
11290 (comint-history-isearch-search): Use `isearch-search-fun-default'
11291 and remove spacial case for `isearch-word'.
11292 (comint-history-isearch-wrap): Remove spacial case for
11295 * hexl.el (hexl-isearch-search-function):
11296 Use `isearch-search-fun-default'.
11298 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
11299 Use `word-search-regexp' for `isearch-word'.
11301 * misearch.el (multi-isearch-search-fun):
11302 Use `isearch-search-fun-default'.
11304 * simple.el (minibuffer-history-isearch-search):
11305 Use `isearch-search-fun-default' and remove spacial case for
11307 (minibuffer-history-isearch-wrap): Remove spacial case for
11310 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
11311 Remove spacial case for `isearch-word'.
11312 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
11314 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11316 Decrease XEmacs incompatibilities.
11317 * textmodes/flyspell.el (flyspell-check-pre-word-p):
11318 Use `string-match'.
11319 (flyspell-delete-region-overlays): Use alternative definition for
11321 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
11322 (flyspell-word): Use `process-kill-without-query' if XEmacs.
11323 (flyspell-mode-on): Use `interactive-p' if XEmacs.
11324 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
11325 `define-obsolete-face-alias' under XEmacs, but old method.
11327 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
11328 `with-no-warnings' definition or Emacs alias.
11329 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
11330 (ispell-word): Do not use `region-p' if XEmacs.
11332 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11334 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
11335 Check for `ispell-dictionary-base-alist' instead of full
11336 `ispell-dictionary-alist'.
11337 (ispell-init-process): Show spellchecker when starting new Ispell
11340 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
11342 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
11343 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
11345 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
11347 * version.el (motif-version-string, gtk-version-string)
11348 (ns-version-string): Declare.
11350 2012-05-27 Juri Linkov <juri@jurta.org>
11352 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
11353 after the `eval-defun-1' specialcaseing
11354 like in `edebug-eval-defun' (bug#10181).
11356 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
11357 like in `eval-defun-1'.
11359 2012-05-27 Eli Zaretskii <eliz@gnu.org>
11361 * mail/sendmail.el (mail-yank-region):
11362 Recognize rmail-yank-current-message in addition to insert-buffer.
11363 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
11364 a *mail* buffer created through rmail-start-mail with sendmail as
11367 2012-05-27 Chong Yidong <cyd@gnu.org>
11369 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
11370 Default to 256 (Bug#11267).
11372 * help.el (describe-mode): Doc fix.
11374 2012-05-26 Glenn Morris <rgm@gnu.org>
11376 * w32-fns.el (w32-init-info): Remove.
11377 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
11379 * info.el (info-initialize): For self-contained NS builds, put the
11380 included info/ directory at the front. (Bug#2791)
11382 * paths.el (Info-default-directory-list): Make it a defcustom,
11383 mainly so that we can use custom-initialize-delay.
11385 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
11387 * subr.el (buffer-has-markers-at): Mark obsolete.
11389 * subr.el (lambda): Use declare.
11391 * emacs-lisp/lisp-mode.el (lambda):
11392 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
11394 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
11396 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
11398 2012-05-26 Glenn Morris <rgm@gnu.org>
11400 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
11402 2012-05-25 Glenn Morris <rgm@gnu.org>
11404 * paths.el: Remove no-byte-compile.
11405 * loadup.el: No need to load paths.el uncompiled.
11407 * image.el (imagemagick-types-inhibit): Doc fix.
11409 * version.el: Remove no-byte-compile and associated formatting.
11410 * loadup.el: No need to load version.el uncompiled. AFAICS, this
11411 is ancient code from when there was an "inc-vers.el".
11413 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
11415 * progmodes/gdb-mi.el: Minor style changes.
11416 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
11417 Turn into minor modes.
11418 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
11419 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
11420 (gdb-shell): Remove unneeded let-binding.
11421 (gdb-get-many-fields): Eliminate O(n²) behavior.
11423 2012-05-25 Eli Zaretskii <eliz@gnu.org>
11425 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
11426 platforms that don't link in fontset.c.
11428 2012-05-25 Juri Linkov <juri@jurta.org>
11430 Use the same diff color scheme as in modern VCSes (bug#10181).
11432 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
11433 to avoid confusion with `diff-added' that now uses green colors.
11434 (diff-removed): Use shades of red.
11435 (diff-added): Use shades of green.
11436 (diff-changed): Leave just the yellow color.
11437 (diff-use-changed-face): New variable.
11438 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
11439 how to highlight context diff changes.
11440 (diff-refine-change): Use shades of yellow.
11441 (diff-refine-removed): New face that uses shades of red.
11442 (diff-refine-added): New face that uses shades of green.
11443 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
11444 `diff-refine-removed' in the call to `smerge-refine-subst'
11445 depending on the value of `diff-use-changed-face'.
11447 * vc/smerge-mode.el (smerge-mine): Use shades of red.
11448 (smerge-other): Use shades of green.
11449 (smerge-base): Use shades of yellow.
11450 (smerge-refined-change): Empty face.
11451 (smerge-refined-removed): New face that uses shades of red.
11452 (smerge-refined-added): New face that uses shades of green.
11453 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
11454 args `props-r' and `props-a', and use them. Doc fix.
11455 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
11456 on its value use different faces `smerge-refined-change',
11457 `smerge-refined-removed', `smerge-refined-added' in the call to
11458 `smerge-refine-subst'.
11460 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
11461 Add face condition `min-colors 88' with shades of red.
11462 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
11463 `min-colors 88' with shades of green.
11464 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
11465 `min-colors 88' with shades of yellow.
11467 2012-05-24 Glenn Morris <rgm@gnu.org>
11469 * paths.el (prune-directory-list, remote-shell-program): Move to...
11470 * files.el (prune-directory-list, remote-shell-program): ...here.
11471 For the latter, delay initialization, prefer ssh, just search PATH.
11473 * paths.el (term-file-prefix): Move to faces.el (the only user).
11474 * faces.el (term-file-prefix): Move here, make it a defcustom.
11476 * paths.el (news-directory, news-path, news-inews-program):
11477 Move to gnus/nnspool.el.
11479 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
11481 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
11482 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
11483 Make the latter a defcustom, with a delayed initialization.
11485 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
11486 These were deleted from Gnus itself late 2010.
11488 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
11490 * progmodes/which-func.el (which-func-ff-hook):
11491 Check against user-error, not error.
11493 * emacs-lisp/edebug.el (top): Do not load or set up loading of
11494 cl-specs.el, which no longer exists.
11496 2012-05-22 Glenn Morris <rgm@gnu.org>
11498 * info.el (info-emacs-bug): New command.
11499 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
11500 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
11502 2012-05-21 Glenn Morris <rgm@gnu.org>
11504 * makefile.w32-in (update-subdirs-SH):
11505 * Makefile.in (update-subdirs): Update for moved update-subdirs.
11507 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
11509 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
11511 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11512 Simplify Maven regexp, and make sure the file can't start with a space
11515 2012-05-21 Glenn Morris <rgm@gnu.org>
11517 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
11518 Scrap superfluous subshells.
11520 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
11522 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
11523 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
11525 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
11527 * calc/calc.el (calc-ensure-consistent-units): New variable.
11529 * calc/calc-units.el (math-consistent-units-p)
11530 (math-check-unit-consistency): New functions.
11531 (calc-quick-units, calc-convert-units):
11532 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
11534 (calc-extract-units): Fix typo.
11536 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
11538 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
11540 * textmodes/flyspell.el: Commenting style, plus code simplifications.
11541 (flyspell-default-deplacement-commands): Don't spell check after
11542 repeated window/frame switches (e.g. triggered by mouse-movement).
11543 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
11544 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
11545 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
11546 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
11547 Remove unused vars.
11548 (flyspell-get-casechars, flyspell-get-not-casechars):
11549 Simplify; Don't bother removing a ] just to add it back.
11550 * textmodes/ispell.el (ispell-program-name): Use executable-find.
11552 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11554 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
11556 (math-function-table): Add support for more C functions.
11558 2012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11560 * textmodes/flyspell.el (flyspell-check-pre-word-p)
11561 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
11562 Protect delay handling for otherchars against empty otherchars.
11564 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
11566 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
11567 their respective macro declarations.
11568 * skeleton.el (define-skeleton):
11569 * progmodes/compile.el (define-compilation-mode):
11570 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
11571 (define-ibuffer-filter):
11572 * emacs-lisp/generic.el (define-generic-mode):
11573 * emacs-lisp/easy-mmode.el (define-minor-mode)
11574 (define-globalized-minor-mode):
11575 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
11576 * emacs-lisp/byte-run.el (defsubst):
11577 * custom.el (deftheme): Add doc-string metadata.
11579 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11581 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
11583 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11585 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
11587 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
11588 * emacs-lisp/cl-macs.el: Idem.
11589 * emacs-lisp/cl-specs.el: Remove.
11591 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11593 Minor renaming of internal CL functions and variables.
11594 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
11595 (cl--position): Rename from cl-position.
11596 (cl--delete-duplicates): Rename from cl-delete-duplicates.
11597 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
11598 (cl--random-state): Rename from *random-state*.
11600 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11602 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
11603 parens around the arg list (bug#11499).
11605 2012-05-17 Juri Linkov <juri@jurta.org>
11607 * isearch.el (word-search-regexp, word-search-backward)
11608 (word-search-forward, word-search-backward-lax)
11609 (word-search-forward-lax): Move functions from search.c
11610 (bug#10145, bug#11381).
11612 2012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11614 * textmodes/flyspell.el (flyspell-check-pre-word-p)
11615 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
11616 Delay for otherchars as for normal word components.
11618 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
11620 * minibuffer.el (completion--sifn-requote): Fix last change.
11621 (minibuffer-local-must-match-filename-map):
11622 Move define-obsolete-variable-alias before its var.
11624 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
11626 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
11628 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
11630 (completion--string-equal-p): New function.
11631 (completion--twq-all): Use it to get better assertion failure data.
11633 Only handle ".." and '..' quoting in shell-mode (bug#11466).
11634 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
11635 (shell--requote-argument): New functions.
11636 (shell-completion-vars): Use them.
11637 (shell--parse-pcomplete-arguments): Rename from
11638 shell-parse-pcomplete-arguments.
11639 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
11640 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
11641 Obey comint-file-name-quote-list.
11643 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
11644 (smie-indent-keyword): Use it.
11646 2012-05-14 Stefan Merten <smerten@oekonux.de>
11648 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
11650 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
11652 * net/rlogin.el (rlogin-mode-map): Fix last change.
11654 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
11656 * mail/smtpmail.el (smtpmail-send-command): Send the command and
11657 the following \r\n using a single `process-send-string', since the
11658 Lotus SMTP server refuses to accept any commands if they are sent
11659 with two `process-send-string's (Bug#11444).
11661 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
11663 * shell.el (shell-parse-pcomplete-arguments):
11664 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
11666 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
11668 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
11669 (image-transform-scale, image-transform-right-angle-fudge): New vars.
11670 (image-transform-width, image-transform-fit-width): New functions.
11671 (image-transform-properties): Use them.
11672 (image-transform-check-size): New function.
11673 (image-toggle-display-image): Use it (for testing).
11674 (image-transform-set-rotation): Reduce angle mod 360.
11675 Delete obsolete comment.
11677 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
11679 * image-mode.el: Fix scaling (bug#11399).
11680 (image-transform-resize): Doc fix.
11681 (image-transform-properties): Default scale is 1 and height should
11684 2012-05-13 Johan Bockgård <bojohan@gnu.org>
11686 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
11687 than hard-coding `car', to fix misbehavior when moving forward.
11689 2012-05-13 Chong Yidong <cyd@gnu.org>
11691 * emacs-lisp/tabulated-list.el (tabulated-list-format)
11692 (tabulated-list-entries, tabulated-list-padding)
11693 (tabulated-list-sort-key): Make permanent-local.
11695 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
11696 (electric-buffer-list): Put electric buffer menu
11697 command descriptions in this docstring, instead of the docstring
11698 of electric-buffer-menu-mode. Code cleanups.
11699 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
11700 Electric-buffer-menu-mode.
11701 (electric-buffer-update-highlight): Minor code cleanup.
11703 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
11705 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
11708 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
11710 Move define-obsolete-variable-alias before the var's definition.
11711 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
11712 * tooltip.el (tooltip-hook):
11713 * textmodes/reftex-toc.el (reftex-toc-map):
11714 * textmodes/reftex-sel.el (reftex-select-label-map)
11715 (reftex-select-bib-map):
11716 * textmodes/reftex-index.el (reftex-index-map)
11717 (reftex-index-phrases-map):
11718 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
11719 * progmodes/meta-mode.el (meta-mode-map):
11720 * novice.el (disabled-command-hook):
11721 * loadhist.el (unload-hook-features-list):
11722 * frame.el (blink-cursor):
11723 * files.el (find-file-not-found-hooks, write-file-hooks)
11724 (write-contents-hooks):
11725 * emulation/tpu-edt.el (GOLD-map):
11726 * emacs-lock.el (emacs-lock-from-exiting):
11727 * emacs-lisp/generic.el (generic-font-lock-defaults):
11728 * emacs-lisp/chart.el (chart-map):
11729 * dos-fns.el (register-name-alist):
11730 * dired-x.el (dired-omit-files-p):
11731 * desktop.el (desktop-enable):
11732 * cus-edit.el (custom-mode-hook):
11733 * buff-menu.el (buffer-menu-mode-hook):
11734 * bookmark.el (bookmark-read-annotation-text-func)
11735 (bookmark-exit-hooks):
11736 * allout.el (allout-mode-deactivate-hook)
11737 (allout-exposure-change-hook, allout-structure-added-hook)
11738 (allout-structure-deleted-hook, allout-structure-shifted-hook):
11739 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
11740 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
11741 comes before the corresponding variable's definition.
11743 2012-05-12 Chong Yidong <cyd@gnu.org>
11745 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
11746 (Buffer-menu-mouse-select): Restore function (Bug#11459).
11747 (Buffer-menu-mode-map): Bind it.
11748 (Buffer-menu--pretty-name): Add a mouse-face property.
11750 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
11752 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
11753 (prolog-upper-case-string, prolog-lower-case-string)
11754 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
11755 (prolog-use-smie, prolog-smie-grammar): New vars.
11756 (prolog-smie-forward-token, prolog-smie-backward-token)
11757 (prolog-smie-rules): New funs.
11758 (prolog-comment-indent): Remove.
11759 (prolog-mode-variables): Use default comment indentation instead.
11761 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
11762 (prolog-mode): Don't call them any more.
11763 (prolog-electric-colon, prolog-electric-dash)
11764 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
11766 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
11768 * minibuffer.el (completion--twq-all): Again, allow case differences.
11770 * term.el: Move keymap initialization code to be more idiomatic.
11771 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
11772 (term-terminal-menu): Move initialization into declaration.
11773 (term-escape-char): Let the user set it in her .emacs.
11775 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
11776 Provide SMIE-based indentation (not enabled by default yet).
11777 (sh-mode-map): Don't bind electric keys.
11778 Use electric-pair-mode instead of skeleton-pair.
11779 (sh-assignment-regexp): Fit within 80 columns.
11780 (sh-indent-supported): Specify actual shell name instead of boolean.
11781 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
11782 (sh-maybe-here-document): Use it. Make obsolete.
11783 (sh-electric-here-document-mode) New minor mode.
11784 (sh-mode): Use it. Don't set sh-indent-supported-here here.
11785 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
11786 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
11787 (sh-smie-rc-grammar, sh-use-smie): New vars.
11788 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
11789 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
11790 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
11791 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
11792 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
11793 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
11794 (sh-set-shell): Use smie-setup if requested.
11796 * term.el (term-set-escape-char): Properly set term-escape-char.
11797 See http://stackoverflow.com/questions/10524656.
11799 2012-05-10 Chong Yidong <cyd@gnu.org>
11801 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
11802 Use url-generic-parse-url, and handle host names and Windows
11803 filenames properly.
11804 (ffap-url-unwrap-remote): Use url-generic-parse-url.
11805 (ffap-url-unwrap-remote): Accept list values, specifying a list of
11806 URL schemes to work on.
11807 (ffap--toggle-read-only): New function.
11808 (ffap-read-only, ffap-read-only-other-window)
11809 (ffap-read-only-other-frame): Use it.
11810 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
11811 necessary for ffap-url-unwrap-remote.
11813 2012-05-10 Dave Abrahams <dave@boostpro.com>
11815 * cus-start.el (create-lockfiles): Add it.
11817 2012-05-09 Chong Yidong <cyd@gnu.org>
11819 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
11820 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
11822 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
11824 * shell.el (shell-completion-vars): Fix last change (bug#11348).
11826 2012-05-09 Chong Yidong <cyd@gnu.org>
11828 * ansi-color.el (ansi-color-process-output): Check for validity of
11829 comint-last-output-start before using it. This avoids a bad
11830 interaction with gdb-mi's input/output buffer.
11832 2012-05-09 Glenn Morris <rgm@gnu.org>
11834 * files.el (dir-locals-read-from-file):
11835 Mention dir-locals in any error message.
11837 2012-05-09 Chong Yidong <cyd@gnu.org>
11839 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
11840 package (Bug#11410).
11842 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
11843 variables into description.
11845 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
11847 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
11848 shell-delimiter-argument-list (bug#11348).
11849 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
11851 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
11853 * textmodes/rst.el: Silence byte-compiler warnings.
11854 (rst-re-alist, rst-reset-section-caches): Move around.
11855 (rst-re): Use `characterp', not `char-valid-p'.
11856 (font-lock-beg, font-lock-end): Declare.
11858 * progmodes/idlw-shell.el (specs): Remove reference to deleted
11859 variable `idlwave-shell-activate-alt-keybindings' and simplify.
11861 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
11863 2012-05-08 Glenn Morris <rgm@gnu.org>
11865 * files.el (auto-mode-alist): Treat ".make" like ".mk".
11867 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11869 * vc/log-edit.el: Add GNU coding standards highlighting.
11870 (log-edit-font-lock-gnu-style)
11871 (log-edit-font-lock-gnu-keywords): New vars.
11872 (log-edit-font-lock-keywords): New fun.
11873 (log-edit-mode): Don't fold case in font-lock.
11874 (log-edit-font-lock-keywords): Do not assume case-folding.
11876 * imenu.el: Misc cleanup. Make docstrings out of comments.
11877 Use lexical-binding.
11878 (imenu--index-alist, imenu--last-menubar-index-alist)
11879 (imenu-menubar-modified-tick): Use defvar-local.
11880 (imenu--split-menu): Remove unused var.
11881 (imenu--cleanup-seen): Declare as global.
11882 (imenu--cleanup): Use dolist.
11884 * subr.el (defvar-local): Add debug spec and doc-string position.
11886 2012-05-08 Glenn Morris <rgm@gnu.org>
11888 * language/burmese.el, language/cham.el, language/czech.el:
11889 * language/english.el, language/georgian.el, language/greek.el:
11890 * language/japanese.el, language/khmer.el, language/korean.el:
11891 * language/lao.el, language/misc-lang.el, language/romanian.el:
11892 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
11893 * language/thai.el, language/utf-8-lang.el:
11894 Remove no-byte-compile setting.
11896 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
11898 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
11900 * progmodes/make-mode.el (makefile-browse):
11901 Remove unnecessary interactive. (Bug#11324)
11903 2012-05-07 Glenn Morris <rgm@gnu.org>
11905 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
11907 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
11909 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
11911 * loadup.el: Preload newcomment.el.
11912 * newcomment.el: Move autoload-only code to toplevel.
11914 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
11915 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
11916 Handle new :right-align column property.
11917 (tabulated-list-print-col): Idem, plus use `display' text-property to
11918 try and preserve alignment for variable pitch fonts.
11920 2012-05-07 Chong Yidong <cyd@gnu.org>
11922 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
11923 (tabulated-list-use-header-line): New var.
11924 (tabulated-list-init-header): Use it.
11925 (tabulated-list-print-fake-header): New function.
11926 (tabulated-list-print): Use it.
11927 (tabulated-list-sort-button-map): Add non-header-line commands.
11928 (tabulated-list-init-header): Add column name property to basic
11930 (tabulated-list-col-sort): Handle non-header-line button case.
11931 (tabulated-list--sort-by-column-name): Fix a corner case.
11933 * buff-menu.el (list-buffers--refresh):
11934 Handle Buffer-menu-use-header-line.
11936 2012-05-06 Chong Yidong <cyd@gnu.org>
11938 * buff-menu.el: Convert to Tabulated List mode.
11939 (Buffer-menu-buffer+size-width): Make obsolete.
11940 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
11941 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
11942 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
11943 documentation into docstring of buffer-menu.
11944 (Buffer-menu-toggle-files-only): Add an informative message.
11945 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
11946 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
11947 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
11948 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
11949 (Buffer-menu-execute, Buffer-menu-select)
11950 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
11951 (Buffer-menu-bury): Use Tabulated List machinery.
11952 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
11953 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
11955 (list-buffers--refresh): New function.
11956 (list-buffers-noselect): Use it.
11957 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
11958 (Buffer-menu--pretty-file-name): New helper functions.
11960 * loadup.el: Preload tabulated-list.
11962 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
11963 tabulated-list-sort-column.
11964 (tabulated-list-init-header): Add the initial aligning space even
11965 if tabulated-list-padding is zero.
11967 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
11969 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
11970 whose cdr is not a cons cell correctly (bug#11038).
11972 2012-05-06 Chong Yidong <cyd@gnu.org>
11974 * emacs-lisp/tabulated-list.el (tabulated-list-format):
11975 Accept additional plist in column descriptors.
11976 (tabulated-list-init-header): Obey it.
11977 (tabulated-list-get-entry): New function.
11978 (tabulated-list-put-tag): Use it. Use string-width instead of
11980 (tabulated-list--column-number): New function.
11981 (tabulated-list-print): Use it.
11982 (tabulated-list-print-col): New function.
11983 Set `tabulated-list-column-name' property on each column's text.
11984 (tabulated-list-print-entry): Use it.
11985 (tabulated-list-delete-entry, tabulated-list-set-col):
11987 (tabulated-list-sort-column): New command (Bug#11337).
11989 * buff-menu.el (list-buffers): Move C-x C-b binding from
11990 buff-menu.el to bindings.el.
11992 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
11993 :advertised-binding feature.
11995 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
11997 * progmodes/compile.el (compilation-internal-error-properties):
11998 Calculate start position correctly when end-col is set but
11999 end-line is not (Bug#11382).
12001 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
12003 * man.el (Man-unindent): Use text-property-default-nonsticky to
12004 prevent untabify from inheriting face properties (Bug#11408).
12006 2012-05-05 Stefan Merten <smerten@oekonux.de>
12008 * textmodes/rst.el: Major merge with upstream development up to
12009 Docutils SVN r7399 / rst.el V1.2.1.
12011 Clarify maintainership and authors.
12013 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
12014 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
12015 (rst-official-version, rst-official-cvs-rev, rst-version)
12016 (rst-package-emacs-version-alist): New functions and variables
12017 for version information.
12019 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
12020 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
12021 (rst-mode-syntax-table, rst-mode): New and corrected functions
12022 and variables representing reStructuredText features.
12024 (rst-re): New function for reStructuredText regexes. Use in
12027 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
12028 (rst-mode-map): Rebind keys.
12030 (rst-mode-lazy, rst-font-lock-keywords)
12031 (rst-font-lock-extend-region)
12032 (rst-font-lock-extend-region-internal)
12033 (rst-font-lock-extend-region-extend)
12034 (rst-font-lock-find-unindented-line-limit)
12035 (rst-font-lock-find-unindented-line-match)
12036 (rst-adornment-level, rst-font-lock-adornment-level)
12037 (rst-font-lock-adornment-match)
12038 (rst-font-lock-handle-adornment-pre-match-form)
12039 (rst-font-lock-handle-adornment-matcher): Major revision of
12040 font-locking. Integrate with other code. Use `jit-lock-mode'.
12042 (rst-preferred-adornments, rst-adjust-hook)
12043 (rst-new-adornment-down, rst-preferred-bullets)
12044 (rst-preferred-bullets, rst-indent, rst-indent-width)
12045 (rst-indent-field, rst-indent-literal-normal)
12046 (rst-indent-literal-minimized, rst-indent-comment): Change,
12047 extend and improve customization.
12049 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
12050 (rst-normalize-cursor-position, rst-get-decoration)
12051 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
12052 (rst-rstrip, rst-toc-insert-find-delete-contents)
12053 (rst-shift-fill-region, rst-compute-bullet-tabs)
12054 (rst-debug-print-tabs, rst-debug-mark-found)
12055 (rst-shift-region-guts, rst-shift-region-right)
12056 (rst-shift-region-left, rst-use-char-classes)
12057 (rst-font-lock-keywords-function)
12058 (rst-font-lock-indentation-point)
12059 (rst-font-lock-find-unindented-line-begin)
12060 (rst-font-lock-find-unindented-line-end)
12061 (rst-font-lock-find-unindented-line)
12062 (rst-font-lock-adornment-point, rst-font-lock-level)
12063 (rst-adornment-level-alist): Remove functions and variables.
12065 (rst-compare-adornments, rst-get-adornment-match)
12066 (rst-suggest-new-adornment, rst-get-adornments-around)
12067 (rst-adornment-complete-p, rst-get-next-adornment)
12068 (rst-adjust-adornment, rst-display-adornments-hierarchy)
12069 (rst-straighten-adornments): Standardize function names to
12070 use "adornment" instead of "decoration". Correct callers.
12071 Similar standardizing in many places.
12073 (rst-update-section, rst-adjust, rst-promote-region)
12074 (rst-enumerate-region, rst-bullet-list-region)
12075 (rst-repeat-last-character): Correct use of `interactive'.
12077 (rst-classify-adornment, rst-find-all-adornments)
12078 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
12079 (rst-find-leftmost-column, rst-repeat-last-character):
12080 Refactor functions.
12082 (rst-find-title-line, rst-reset-section-caches)
12083 (rst-get-adornments-around, rst-adjust-adornment-work)
12084 (rst-arabic-to-roman, rst-roman-to-arabic)
12085 (rst-insert-list-pos, rst-insert-list-new-item)
12086 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
12089 (rst-all-sections, rst-section-hierarchy)
12090 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
12093 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
12094 configuration instead of only buffer. Change where necessary.
12096 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
12097 (rst-shift-region, rst-adaptive-fill): New functions for
12098 indentation and filling.
12100 (rst-comment-line-break, rst-comment-indent)
12101 (rst-comment-insert-comment, rst-comment-region)
12102 (rst-uncomment-region): New functions for handling comments.
12104 (rst-compile): Quote shell arguments.
12106 (rst-compile-pdf-preview, rst-compile-slides-preview):
12107 Delete temporary files after use.
12109 2012-05-05 Glenn Morris <rgm@gnu.org>
12111 * calendar/cal-html.el: Optionally include holidays in the output.
12112 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
12113 (cal-html-holidays): New option.
12114 (cal-html-css-default): Add holiday entry.
12115 (holiday-in-range): Autoload it.
12116 (cal-html-htmlify-entry): Add optional class argument.
12117 (cal-html-htmlify-list): Add optional holidays argument.
12118 (cal-html-insert-agenda-days): Include holidays in the output.
12119 (cal-html-one-month): Maybe include holidays.
12121 * calendar/holidays.el (holiday-in-range):
12122 Move here from cal-tex-list-holidays.
12123 * calendar/cal-tex.el (cal-tex-list-holidays):
12124 Make it an obsolete alias for holiday-in-range. Update all callers.
12126 2012-05-05 Chong Yidong <cyd@gnu.org>
12128 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
12131 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
12133 * files.el (file-auto-mode-skip): New var.
12134 (set-auto-mode-1): Use it.
12136 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
12138 * repeat.el: Use lexical-binding.
12139 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
12140 (repeat-undo-count): Remove.
12142 * progmodes/octave-mod.el (octave-abbrev-start):
12143 * progmodes/f90.el (f90-abbrev-start):
12144 * face-remap.el (text-scale-adjust):
12145 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
12147 * emacs-lisp/pcase.el (pcase--let*): New function.
12148 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
12150 (pcase--split-pred): Be more clever about ruling out overlap between
12151 a predicate and some constant pattern.
12152 (pcase--q1): Use `null' instead of (eq foo nil).
12154 * subr.el (setq-local, defvar-local): New macros.
12155 (kbd): Redefine as an alias.
12156 (with-selected-window): Leave unrelated frames alone.
12157 (set-temporary-overlay-map): New function.
12159 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
12161 * subr.el (user-error): New function.
12162 * window.el (switch-to-buffer):
12163 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
12164 (smerge-match-conflict):
12165 * simple.el (previous-matching-history-element)
12166 (next-matching-history-element, goto-history-element, undo-more)
12168 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
12169 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
12170 (next-file, tags-loop-scan, list-tags, complete-tag):
12171 * progmodes/compile.el (compilation-loop):
12172 * mouse.el (mouse-minibuffer-check):
12173 * man.el (Man-bgproc-sentinel, Man-goto-page):
12174 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
12175 (Info-history-forward, Info-follow-reference, Info-menu)
12176 (Info-extract-menu-item, Info-extract-menu-counting)
12177 (Info-forward-node, Info-backward-node, Info-next-menu-item)
12178 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
12179 (Info-next-reference, Info-prev-reference, Info-index)
12180 (Info-index-next, Info-follow-nearest-node)
12181 (Info-copy-current-node-name):
12182 * imenu.el (imenu--make-index-alist)
12183 (imenu-default-create-index-function, imenu-add-to-menubar):
12184 * files.el (basic-save-buffer, recover-file):
12185 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
12186 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
12187 (checkdoc-message-text, checkdoc-defun):
12188 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
12189 * cus-edit.el (customize-changed-options, customize-rogue)
12190 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
12191 (custom-variable-mark-to-reset-standard)
12192 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
12194 * completion.el (check-completion-length):
12195 * comint.el (comint-search-arg)
12196 (comint-previous-matching-input-string-position)
12197 (comint-previous-matching-input)
12198 (comint-replace-by-expanded-history-before-point, comint-send-input)
12199 (comint-copy-old-input, comint-backward-matching-input)
12200 (comint-goto-process-mark, comint-set-process-mark):
12201 * calendar/calendar.el (calendar-cursor-to-date): Use it.
12202 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
12204 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
12206 * dabbrev.el (dabbrev--ignore-case-p): New function.
12207 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
12210 * files.el (automount-dir-prefix): Mark as obsolete.
12212 2012-05-04 Glenn Morris <rgm@gnu.org>
12214 * patcomp.el, play/bruce.el: Move to obsolete/.
12216 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
12218 Fix minor Y10k bugs.
12219 * arc-mode.el (archive-unixdate):
12220 * autoinsert.el (auto-insert-alist):
12221 * calc/calc-forms.el (math-this-year):
12222 * emacs-lisp/copyright.el (copyright-current-year)
12223 (copyright-update-year, copyright):
12224 * tar-mode.el (tar-clip-time-string):
12225 * time.el (display-time-update):
12226 Don't assume years have 4 digits.
12228 2012-05-04 Chong Yidong <cyd@gnu.org>
12230 * dos-w32.el (file-name-buffer-file-type-alist)
12231 (direct-print-region-use-command-dot-com):
12232 * ffap.el (ffap-menu-regexp):
12233 * find-file.el (ff-special-constructs):
12234 * follow.el (follow-debug):
12235 * forms.el (forms--debug):
12236 * iswitchb.el (iswitchb-all-frames):
12237 * ido.el (ido-all-frames):
12238 * emacs-lisp/timer.el (timer-max-repeats):
12239 * mail/feedmail.el (feedmail-mail-send-hook)
12240 (feedmail-mail-send-hook-queued):
12241 * mail/footnote.el (footnote-signature-separator):
12242 * mail/mailabbrev.el (mail-alias-separator-string)
12243 (mail-abbrev-mode-regexp):
12244 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
12245 * progmodes/idlwave.el (idlwave-libinfo-file)
12246 (idlwave-default-completion-case-is-down)
12247 (idlwave-library-routines): Convert defvars to defcustoms.
12249 * mail/rmail.el (rmail-decode-mime-charset):
12250 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
12251 (idlwave-shell-fix-inserted-breaks)
12252 (idlwave-shell-activate-alt-keybindings)
12253 (idlwave-shell-use-breakpoint-glyph):
12254 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
12256 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
12258 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
12260 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
12262 * progmodes/verilog-mode.el (font-lock-keywords):
12263 Fix mis-highligting auto. Reported by Craig Barner.
12264 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
12265 defines from global name space. Reported by Dan Dever.
12266 (verilog-auto-reset, verilog-auto-reset-widths)
12267 (verilog-auto-tieoff): Support using unbased numbers for
12268 AUTORESET and AUTOTIEOFF.
12269 (verilog-submit-bug-report): Update variable list.
12270 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
12271 parenthesis from not matching. Reported by Michael Rytting.
12272 (verilog-auto-template-lint): Fix hash error when linting modules
12273 with no used templates.
12274 (verilog-warn, verilog-warn-error)
12275 (verilog-warn-fatal): When non-interactive report multiple
12276 warnings before exiting. Suggested by Brad Dobbie.
12277 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
12278 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
12279 to report unused template errors. Reported by Brad Dobbie.
12280 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
12281 nets, bug438. Reported by Vns Blore.
12282 (verilog-auto-inout-module, verilog-auto-reg)
12283 (verilog-read-decls, verilog-read-sub-decls-sig)
12284 (verilog-signals-edit-wire-reg, verilog-signals-with):
12285 Fix passing of Verilog data types in ANSI input/output ports
12286 such as "output logic" into the AUTOs. Special case "wire" and
12287 "reg" for backwards compatibility presuming Verilog 2001.
12288 (verilog-auto-ascii-enum): Add "auto enum" as alias.
12289 (verilog-preprocess): Fix replication of preprocess output.
12290 Reported by Brad Dobbie.
12291 (verilog-auto-inst-interfaced-ports):
12292 Create verilog-auto-inst-interfaced-ports, bug429.
12293 Reported by Julian Gorfajn.
12294 (verilog-after-save-font-hook)
12295 (verilog-before-save-font-hook): New variable.
12296 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
12297 (verilog-save-font-mods): Wrap disabling fontification, reported
12299 (verilog-do-indent, verilog-pretty-declarations-auto)
12300 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
12301 Reported by Pierre-David Pfister.
12302 (verilog-set-auto-endcomments): Fix endtask auto comments outside
12303 of class declarations, bug292. Reported by Kevin Heilman.
12304 (verilog-read-decls): Fix 'parameter type' not appearing in
12305 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
12306 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
12307 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
12308 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
12309 Reported by David Kravitz.
12311 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
12313 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
12314 assignment with tests in ifs and for loops.
12315 (verilog-extended-complete-re, verilog-complete-reg): Change so
12316 that DPI inport functions don't look like fuction declarations.
12317 (verilog-pretty-expr): Don't line up assignment
12318 operations to the test and increment in if and for loops
12319 (verilog-extended-complete-re, verilog-complete-reg): Change so
12320 that DPI inport functions don't look like fuction declarations.
12322 2012-05-03 Kenichi Handa <handa@m17n.org>
12324 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
12325 decoding, and show a warning message without signaling an error
12328 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
12330 * emacs-lisp/bytecomp.el
12331 (byte-compile-file-form-custom-declare-variable): Compile all elements,
12332 since cconv.el might have introduced :fun-body, internal-make-closure,
12333 and friends for bytecomp to handle (bug#11391).
12334 * custom.el (defcustom): Avoid ((λ ..) ..).
12336 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
12338 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
12340 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
12342 * notifications.el (dbus-debug):
12343 * term/linux.el (gpm-mouse-enable):
12344 * term/screen.el (xterm-register-default-colors): Declare.
12346 2012-05-02 Chong Yidong <cyd@gnu.org>
12348 * cus-start.el (gc-cons-percentage, exec-suffixes)
12349 (dos-display-scancodes, dos-hyper-key, dos-super-key)
12350 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
12351 (make-cursor-line-fully-visible, void-text-area-pointer)
12352 (font-list-limit): Add customization data.
12354 * allout.el (allout-exposure-change-functions)
12355 (allout-structure-added-functions)
12356 (allout-structure-deleted-functions)
12357 (allout-structure-shifted-functions): Rename abnormal hooks from
12358 *-hook, and convert to defcustoms.
12359 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
12360 Convert to defcustoms.
12361 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
12363 * allout-widgets.el: Hook callers changed.
12365 2012-05-02 Eli Zaretskii <eliz@gnu.org>
12367 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
12368 the yanked message in preference to the default value of
12369 buffer-file-coding-system.
12371 2012-05-02 Martin Rudalics <rudalics@gmx.at>
12373 * window.el (display-buffer--action-function-custom-type):
12376 2012-05-02 Alan Mackenzie <acm@muc.de>
12378 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
12380 2012-05-01 Glenn Morris <rgm@gnu.org>
12382 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
12384 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
12386 * cus-edit.el (custom-variable-documentation): Simplify with format.
12388 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
12389 Stefan Monnier <monnier@iro.umontreal.ca>
12391 * simple.el (suggest-key-bindings, execute-extended-command):
12392 Move from keyboard.c.
12394 2012-05-01 Chong Yidong <cyd@gnu.org>
12396 * follow.el: Eliminate advice.
12397 (set-process-filter, process-filter, sit-for): Advice deleted.
12398 (follow-mode-off-hook): Obsolete hook removed.
12399 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
12401 (follow-auto): Use a :set function.
12402 (follow-mode): Rewritten. Don't advise process filters.
12403 (follow-switch-to-current-buffer-all, follow-scroll-up)
12404 (follow-scroll-down): Assume follow-mode is bound.
12405 (follow-comint-scroll-to-bottom)
12406 (follow-align-compilation-windows): New functions.
12407 (follow--window-sorter): New function.
12408 (follow-all-followers): Use it to explicitly sort windows by their
12409 positions; don't make assumptions about next-window order.
12410 (follow-windows-start-end, follow-delete-other-windows-and-split)
12411 (follow-calc-win-start): Doc fix.
12412 (follow-windows-aligned-p, follow-select-if-visible): Don't call
12413 vertical-motion unnecessarily.
12414 (follow-adjust-window): New function.
12415 (follow-post-command-hook): Use it.
12416 (follow-call-set-process-filter, follow-call-process-filter)
12417 (follow-intercept-process-output, follow-tidy-process-filter-alist)
12418 (follow-stop-intercept-process-output, follow-generic-filter):
12420 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
12421 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
12422 New functions, replacing advice on scroll-bar-* commands.
12423 (follow-mwheel-scroll): New function (Bug#4112).
12425 * comint.el (comint-adjust-point): New function.
12426 (comint-postoutput-scroll-to-bottom): Use it.
12427 Call follow-comint-scroll-to-bottom for Follow mode buffers.
12429 2012-05-01 Glenn Morris <rgm@gnu.org>
12431 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
12432 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
12433 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
12434 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
12435 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
12436 Remove no-byte-compile setting.
12438 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
12440 * minibuffer.el (completion-table-with-quoting): Fix compatibility
12441 all-completions code to not return a number in the last cdr.
12443 2012-04-30 Leo Liu <sdl.web@gmail.com>
12445 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
12448 2012-04-29 Chong Yidong <cyd@gnu.org>
12450 * follow.el (follow-calc-win-end): Rewrite to handle partial
12451 screen lines correctly (Bug#8390).
12452 (follow-avoid-tail-recenter): Minor cleanup.
12454 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
12456 Avoid the obsolete `assoc' package.
12457 * speedbar.el (speedbar-refresh): Avoid adelete.
12458 (speedbar-file-lists): Simplify and avoid aput.
12459 * man.el (Man--sections, Man--refpages): New vars, replacing
12460 Man-sections-alist and Man-refpages-alist.
12461 (Man-build-section-alist, Man-build-references-alist):
12462 Use them; avoid aput.
12463 (Man--last-section, Man--last-refpage): New vars.
12464 (Man-follow-manual-reference): Use them.
12465 Use the `default' arg of completing-read.
12466 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
12468 2012-04-27 Chong Yidong <cyd@gnu.org>
12470 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
12472 * startup.el (x-apply-session-resources): New function.
12474 * term/ns-win.el (ns-initialize-window-system):
12475 * term/w32-win.el (w32-initialize-window-system):
12476 * term/x-win.el (x-initialize-window-system): Use it to properly
12477 set menu-bar-mode and other vars from X resources, even if the
12478 initial frame is not a window-system frame (Bug#2299).
12480 * subr.el (read-key): Avoid running filter function when setting
12481 up temporary tool bar entries (Bug#9922).
12483 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
12485 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
12488 2012-04-27 Chong Yidong <cyd@gnu.org>
12490 * select.el (xselect--encode-string): New function, split from
12491 xselect-convert-to-string.
12492 (xselect-convert-to-string): Use it.
12493 (xselect-convert-to-filename, xselect-convert-to-os)
12494 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
12495 returned strings are properly encoded (Bug#11315).
12497 2012-04-27 Chong Yidong <cyd@gnu.org>
12499 * simple.el (delete-active-region): Move to killing custom group.
12501 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
12503 * progmodes/which-func.el (which-func-current): Quote %
12504 characters for mode-line processing.
12506 2012-04-27 Chong Yidong <cyd@gnu.org>
12508 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
12509 reaching eob (Bug#11286).
12511 2012-04-27 Eli Zaretskii <eliz@gnu.org>
12513 * progmodes/gdb-mi.el (gdb-control-level): New variable.
12514 (gdb): Make it buffer-local and init to zero.
12515 (gdb-control-commands-regexp): New variable.
12516 (gdb-send): Don't wrap in "-interpreter-exec console" if
12517 gdb-control-level is positive. Increment gdb-control-level
12518 whenever the command matches gdb-control-commands-regexp, and
12519 decrement it each time the command is "end". (Bug#11279)
12521 2012-04-27 Martin Rudalics <rudalics@gmx.at>
12523 * window.el (adjust-window-trailing-edge, enlarge-window)
12524 (shrink-window, window-resize):
12525 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
12526 windows (Bug#11276).
12528 2012-04-27 Chong Yidong <cyd@gnu.org>
12530 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
12531 fix "missing prefix" warning. All callers changed.
12533 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
12535 * emacs-lisp/assoc.el: Move to obsolete/.
12537 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
12539 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
12541 * term/ns-win.el (ns-define-service):
12542 * progmodes/pascal.el (pascal-goto-defun):
12543 * progmodes/js.el (js--read-tab):
12544 * progmodes/etags.el (tags-lazy-completion-table):
12545 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
12546 * emacs-lisp/ewoc.el (ewoc--wrap):
12547 * emacs-lisp/assoc.el (aput, adelete, amake):
12548 * doc-view.el (doc-view-convert-current-doc):
12549 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
12551 2012-04-26 Chong Yidong <cyd@gnu.org>
12553 * image.el (image-type-from-buffer): Only return supported image
12556 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
12557 value, for symmetry with diff-end-of-hunk.
12558 (diff-split-hunk, diff-find-source-location)
12559 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
12560 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
12561 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
12562 compute the relevant hunk or file properly (Bug#6005).
12563 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
12565 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
12574 * vc/vc.el: Replace lexical-let by lexical-binding.
12575 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
12576 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
12577 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
12579 2012-04-26 Chong Yidong <cyd@gnu.org>
12581 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
12582 (diff-mode-shared-map): Bind it to / and [remap undo].
12584 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
12585 (ediff-window-setup-function): Use it as the default, to set up
12586 windows based on whether the current frame is graphical (Bug#2138).
12587 (ediff-choose-window-setup-function-automatically): Make obsolete.
12589 * vc/ediff-init.el: Always define ediff-pixel-width/height.
12591 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12593 * ffap.el: Remove old code for obsolete package.
12594 (ffap-complete-as-file-p): Remove.
12596 Use completion-table-with-quoting for comint and pcomplete.
12597 * comint.el (comint--unquote&requote-argument)
12598 (comint--unquote-argument, comint--requote-argument): New functions.
12599 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
12600 (comint-quote-filename): Use regexp-opt-charset.
12601 (comint--common-suffix, comint--common-quoted-suffix)
12602 (comint--table-subvert): Remove.
12603 (comint-unquote-function, comint-requote-function): New vars.
12604 (comint--complete-file-name-data): Use them with
12605 completion-table-with-quoting.
12606 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
12607 * pcomplete.el (pcomplete-arg-quote-list)
12608 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
12609 (pcomplete-unquote-argument-function): Default to non-nil.
12610 (pcomplete-unquote-argument): Simplify.
12611 (pcomplete--common-quoted-suffix): Remove.
12612 (pcomplete-requote-argument-function): New var.
12613 (pcomplete--common-suffix): New function.
12614 (pcomplete-completions-at-point): Use completion-table-with-quoting
12615 and completion-table-subvert.
12617 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
12618 (minibuffer--double-dollars): Preserve properties.
12619 (completion--sifn-requote): New function.
12620 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
12622 * minibuffer.el: Add support for completion of quoted/escaped data.
12623 (completion-table-with-quoting, completion-table-subvert): New funs.
12624 (completion--twq-try, completion--twq-all): New functions.
12625 (completion--nth-completion): New function.
12626 (completion-try-completion, completion-all-completions): Use it.
12628 2012-04-25 Leo Liu <sdl.web@gmail.com>
12630 * progmodes/python.el (python-pdbtrack-get-source-buffer):
12631 Use compilation-message if available to find real filename.
12633 2012-04-25 Chong Yidong <cyd@gnu.org>
12635 * vc/diff-mode.el (diff-setup-whitespace): New function.
12636 (diff-mode): Use it.
12638 * vc/diff.el (diff-sentinel):
12639 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
12640 Whitespace mode variables based on diff style (Bug#8612).
12642 2012-04-25 Leo Liu <sdl.web@gmail.com>
12644 * progmodes/python.el (python-send-region): Add suffix .py to the
12647 * files.el (auto-mode-alist): Use javascript-mode instead.
12649 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
12651 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
12653 * net/soap-client.el (soap-resolve-references-for-sequence-type)
12654 (soap-resolve-references-for-array-type): Hack to prevent self
12655 references, see Bug#9.
12656 (soap-parse-envelope): Report the contents of the 'detail' node
12657 when receiving a fault reply.
12658 (soap-parse-envelope): Report the contents of the entire 'detail' node.
12660 * net/soap-inspect.el (soap-sample-value-for-simple-type)
12661 (soap-inspect-simple-type): New function.
12663 * net/soap-client.el (soap-simple-type): New struct.
12664 (soap-default-xsd-types, soap-default-soapenc-types)
12665 (soap-decode-basic-type, soap-encode-basic-type):
12666 support unsignedInt and double basic types.
12667 (soap-resolve-references-for-simple-type)
12668 (soap-parse-simple-type, soap-encode-simple-type): New function.
12669 (soap-parse-schema): Parse xsd:simpleType declarations.
12671 * net/soap-client.el (soap-default-xsd-types)
12672 (soap-default-soapenc-types): Add integer, byte and anyURI types.
12673 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
12674 the local name of "soapenc:Array".
12675 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
12676 decoding integer, byte and anyURI xsd types.
12678 2012-04-25 Chong Yidong <cyd@gnu.org>
12680 * cus-edit.el (custom-buffer-create-internal): Update header text.
12682 2012-04-25 Eli Zaretskii <eliz@gnu.org>
12684 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
12685 settings on 'system-type', not on 'window-system'. On MS-Windows,
12686 set interactive-mode on in GDB.
12688 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
12690 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
12691 (ruby-syntax-propertize-regexp): Remove.
12692 (ruby-syntax-propertize-function): Split regexp into chunks.
12693 Match following code directly.
12695 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
12697 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
12698 (ruby-syntax-propertize-regexp): New function.
12699 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
12700 by a special keyword.
12702 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
12703 (ruby-syntax-general-delimiters-goto-beg)
12704 (ruby-syntax-propertize-general-delimiters): New functions.
12705 (ruby-syntax-propertize-function): Use them to handle GDL.
12706 (ruby-font-lock-keywords): Move old handling of GDL...
12707 (ruby-font-lock-syntactic-keywords): .. to here.
12708 (ruby-calculate-indent): Adjust indentation for GDL.
12710 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
12712 * notifications.el (top): Remove unneeded declarations.
12713 (notifications-specification-version): Change to "1.2".
12714 (notifications-interface, notifications-notify-method)
12715 (notifications-close-notification-method): Fix docstring.
12716 (notifications-get-capabilities-method): New defconst.
12717 (notifications-notify): Add :action-items, :resident and
12718 :transient hints. Change "image_data" to "image-data" and
12719 "image_path" to "image-path".
12720 (notifications-get-capabilities): New defun.
12722 2012-04-24 Leo Liu <sdl.web@gmail.com>
12724 * progmodes/python.el: Move hideshow setup to the end.
12726 2012-04-24 Martin Rudalics <rudalics@gmx.at>
12728 * window.el (handle-select-window): Clear echo area since this is
12729 no more done by read_char (Bug#11304).
12731 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
12733 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
12734 and `/ M' to filter-derived-mode.
12735 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
12736 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
12737 (ibuffer-mark-by-mode): Use default rather than initial-input.
12738 (ibuffer-filter-by-derived-mode): Autoload and require-match.
12740 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
12742 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
12743 (ibuffer-filter-by-derived-mode): New filter.
12744 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
12746 2012-04-23 Andreas Politz <politza@fh-trier.de>
12748 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
12750 2012-04-23 Chong Yidong <cyd@gnu.org>
12752 * cus-edit.el (customize-apropos, customize-apropos-options):
12753 Disable matching of non-option variables (Bug#11176).
12754 (customize-option, customize-option-other-window)
12755 (customize-changed-options): Doc fix.
12756 (customize-apropos-options, customize-apropos-faces)
12757 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
12759 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
12760 Fix word list splitting (Bug#11132).
12761 (apropos-symbol, apropos-keybinding, apropos-label)
12762 (apropos-property, apropos-function-button)
12763 (apropos-variable-button, apropos-misc-button): New faces.
12764 (apropos-symbol-face, apropos-keybinding-face)
12765 (apropos-label-face, apropos-property-face, apropos-match-face):
12766 Variables removed (Bug#8396).
12767 (apropos-library-button, apropos-format-plist, apropos-print)
12768 (apropos-print-doc, apropos-describe-plist): Callers changed.
12770 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
12772 * net/xesam.el (xesam-mode-map): Use let-bound map in
12773 initialization. (Bug#11292)
12775 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12777 Preserve ispell session localwords when switching back to
12780 * textmodes/ispell.el (ispell-buffer-session-localwords):
12781 New buffer-local variable to hold buffer session localwords.
12782 (ispell-kill-ispell): Add option 'clear to delete session
12784 (ispell-command-loop, ispell-change-dictionary)
12785 (ispell-buffer-local-words): Preserve session localwords when
12788 * textmodes/flyspell.el (flyspell-process-localwords)
12789 (flyspell-do-correct): Preserve session localwords when needed.
12791 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12793 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
12794 using obsolete `translation-table-for-input'.
12795 (ispell-word, ispell-process-line, ispell-complete-word):
12796 Use plain `insert' instead of removed `ispell-insert-word'.
12798 2012-04-22 Chong Yidong <cyd@gnu.org>
12800 * cus-edit.el (custom-variable-menu)
12801 (custom-variable-reset-saved, custom-face-menu)
12802 (custom-face-reset-saved): If there is no saved value, make the
12803 "reset-saved" operation bring back the default (Bug#9509).
12804 (custom-face-state): Properly detect themed faces.
12806 * faces.el (face-spec-set): Stop supporting deprecated form of
12809 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
12811 Move functions from C to Lisp. Make non-blocking method calls
12812 the default. Implement further D-Bus standard interfaces.
12814 * net/dbus.el (dbus-message-internal): Declare function.
12815 Remove unneeded function declarations.
12816 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
12817 (dbus-message-type-method-return, dbus-message-type-error)
12818 (dbus-message-type-signal): Declare variables. Remove local
12820 (dbus-interface-dbus, dbus-interface-peer)
12821 (dbus-interface-introspectable, dbus-interface-properties)
12822 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
12824 (dbus-interface-objectmanager): New defconst.
12825 (dbus-call-method, dbus-call-method-asynchronously)
12826 (dbus-send-signal, dbus-method-return-internal)
12827 (dbus-method-error-internal, dbus-register-service)
12828 (dbus-register-signal, dbus-register-method): New defuns, moved
12830 (dbus-call-method-handler, dbus-setenv)
12831 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
12833 (dbus-call-method-non-blocking): Make it an obsolete function.
12834 (dbus-unregister-object, dbus-unregister-service)
12835 (dbus-handle-event, dbus-register-property)
12836 (dbus-property-handler): Obey the new structure of
12837 `bus-registered-objects'.
12838 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
12839 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
12840 Use `dbus-call-method'.
12842 2012-04-22 Chong Yidong <cyd@gnu.org>
12844 * cus-edit.el (custom-commands, custom-reset-menu)
12845 (Custom-reset-standard): Tweak labels.
12846 (custom-reset-button-menu): Change default to t.
12847 (custom-buffer-create-internal): For the custom-reset-button-menu
12848 case, put the revert button first.
12849 (custom-group-subtitle): New face.
12850 (custom-group-value-create): Align docstring to a specific column.
12852 * wid-edit.el (widget-documentation-link-add): Don't handle
12853 indentation in this function.
12854 (widget-documentation-string-indent-to): New function.
12855 (widget-documentation-string-value-create): Use it.
12857 * autorevert.el (auto-revert):
12858 * epg-config.el (epg):
12859 * ibuffer.el (ibuffer):
12862 * eshell/eshell.el (eshell):
12863 * net/ange-ftp.el (ange-ftp):
12864 * progmodes/ebnf2ps.el (postscript):
12865 * progmodes/flymake.el (flymake):
12866 * progmodes/prolog.el (prolog):
12867 * progmodes/verilog-mode.el (verilog-mode):
12868 * progmodes/which-func.el (which-func):
12869 * term/xterm.el (xterm):
12870 * textmodes/picture.el (picture):
12871 * textmodes/tildify.el (tildify):
12872 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
12873 customization buffers.
12875 2012-04-22 Alan Mackenzie <acm@muc.de>
12877 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
12878 Adding a ) can hide the resulting (..) from searches. Fix it.
12879 Bound the backward search to the position of the existing (.
12881 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
12883 * progmodes/verilog-mode.el (verilog-mode): Check whether
12884 which-func-modes is t before adding verilog-mode.
12885 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
12887 2012-04-21 Leo Liu <sdl.web@gmail.com>
12889 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
12891 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
12893 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
12894 filling of the last column of a table (Bug#5635).
12895 (woman-find-next-control-line): New arg, specifying an additional
12896 regexp component for the control line.
12897 (woman2-roff-buffer): Use it.
12898 (woman-break-table): New function.
12899 (woman2-TS): Use it.
12901 2012-04-21 Chong Yidong <cyd@gnu.org>
12903 * woman.el (woman-set-buffer-display-table, woman-decode-region)
12904 (woman-horizontal-escapes, woman-negative-vertical-space)
12905 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
12906 (WoMan-warn-ignored): Use ?\s instead of ?\ .
12908 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
12910 * minibuffer.el (completion-file-name-table): Complete user names.
12912 2012-04-20 Leo Liu <sdl.web@gmail.com>
12914 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
12917 2012-04-20 Chong Yidong <cyd@gnu.org>
12919 * server.el (server-execute): Respect initial-buffer-choice if it
12920 is a string and there are no files to open (Bug#2825).
12921 (server-create-window-system-frame, server-create-tty-frame):
12922 Don't switch buffers here.
12923 (server-process-filter): Only try to open a window system frame if
12924 compiled with graphical support (Bug#8314).
12926 2012-04-20 Dan Nicolaescu <dann@gnu.org>
12928 * battery.el (battery-echo-area-format): Display remaining time
12929 for sysfs backend too (Bug#11269).
12930 (battery-linux-sysfs): Fix conditional for the charge.
12932 2012-04-20 Chong Yidong <cyd@gnu.org>
12934 * progmodes/gdb-mi.el (gdb): Revert previous change.
12935 (gdb-inferior-io--init-proc): New function.
12936 (gdb-init-1): Use it.
12937 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
12938 responsible for allocating a new pty and hooking it to gdb when
12939 the old pty gets an EIO due to process exit.
12940 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
12941 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
12942 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
12944 2012-04-20 Eli Zaretskii <eliz@gnu.org>
12946 * window.el (window-min-size, window-sizable, window-min-delta)
12947 (window-max-delta, window--resizable, window-resizable)
12948 (window-total-size, window-full-height-p, window-full-width-p)
12949 (window-in-direction, window--resize-mini-window, window-resize)
12950 (window--resize-child-windows-normal)
12951 (window--resize-child-windows, window--resize-siblings)
12952 (window--resize-this-window, adjust-window-trailing-edge)
12953 (enlarge-window, shrink-window): Doc fixes.
12955 2012-04-20 Chong Yidong <cyd@gnu.org>
12957 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
12958 New function to call delete-process on the gdb-inferior buffer's pty.
12959 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
12960 pty process (Bug#11273).
12961 (gdb-update): New arg to suppress talking to the gdb process.
12962 (gdb-done-or-error): Use it.
12963 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
12964 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
12965 sentinel not being called.
12967 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
12969 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
12971 2012-04-20 Glenn Morris <rgm@gnu.org>
12973 * net/network-stream.el (open-network-stream): Doc fix.
12975 2012-04-20 Chong Yidong <cyd@gnu.org>
12977 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
12979 2012-04-20 Alan Mackenzie <acm@muc.de>
12981 Ensure searching for keywords is case sensitive.
12983 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
12984 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
12985 (c-defun-name, c-mark-function, c-cpp-define-name)
12986 (c-comment-indent, c-scan-conditionals, c-indent-defun)
12987 (c-context-line-break): Bind case-fold-search to nil.
12989 * progmodes/cc-mode.el (c-font-lock-fontify-region):
12990 Bind case-fold-search to nil.
12992 2012-04-20 Chong Yidong <cyd@gnu.org>
12994 * mail/sendmail.el (mail-bury): Call return action with the right
12995 Rmail buffer (Bug#11242).
12997 * server.el (server-process-filter): Handle corner case where both
12998 tty and nowait options are present (Bug#11102).
13000 2012-04-20 Eli Zaretskii <eliz@gnu.org>
13002 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
13003 (top level): Put into the executable the ident-style '$Id:' tag on
13004 windows-nt as well.
13006 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
13008 * electric.el (electric-indent-post-self-insert-function): Check that
13009 electric-indent-mode is enabled in current buffer.
13011 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
13013 * imenu.el (imenu-progress-message): Restore; it is "used" in
13014 erc/erc-imenu.el and net/snmp-mode.el.
13016 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
13018 * avoid.el (mouse-avoidance-mode): Mark unused arg.
13019 (mouse-avoidance-nudge-mouse): Remove unused binding.
13021 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
13023 * descr-text.el (describe-char):
13024 * progmodes/python.el (python-describe-symbol):
13025 Don't call `toggle-read-only', set `buffer-read-only'.
13027 * imenu.el (imenu-default-goto-function): Mark unused args.
13028 (imenu-progress-message): Remove obsolete macro; all callers changed.
13030 * subr.el (keymap-canonicalize): Remove unused binding.
13031 (read-passwd): Mark unused arg.
13033 * tutorial.el (tutorial--display-changes): Remove unused binding.
13034 (tutorial--save-tutorial-to): Remove unused variable.
13036 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
13037 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
13038 (package-generate-autoloads, package-menu--generate)
13039 (package-menu--find-upgrades): Remove unused bindings.
13041 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
13042 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
13043 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
13044 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
13045 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
13046 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
13047 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
13048 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
13049 (cua-delete-char-rectangle): Mark unused args.
13050 (cua-align-rectangle): Remove unused binding.
13052 * mail/rmail.el (compilation--message->loc)
13053 (epa--find-coding-system-for-mime-charset): Declare.
13055 * net/dbus.el (dbus-register-service): Declare.
13056 (dbus-name-owner-changed-handler): Remove unused binding.
13058 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
13059 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
13060 (nxml-scan-backward-within): Mark unused arg.
13061 (nxml-dynamic-markup-word): Remove unused binding.
13063 * mouse.el (mouse-menu-major-mode-map):
13064 * emacs-lisp/authors.el (authors-scan-change-log)
13065 (authors-add-to-author-list):
13066 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
13067 * emacs-lisp/smie.el (smie-auto-fill):
13068 * mail/sendmail.el (mail-bury):
13069 * mail/unrmail.el (unrmail):
13070 * net/tls.el (open-tls-stream):
13071 * textmodes/picture.el (picture-mouse-set-point):
13072 Remove unused bindings.
13074 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
13076 * net/tramp.el (tramp-action-password): Let-bind
13077 `enable-recursive-minibuffers' to t.
13079 2012-04-18 Sam Steingold <sds@gnu.org>
13081 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
13082 instead of 'string to accommodate values like [f11].
13083 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
13084 * progmodes/gdb-mi.el: Likewise.
13086 2012-04-18 Leo Liu <sdl.web@gmail.com>
13088 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
13090 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
13093 2012-04-18 Chong Yidong <cyd@gnu.org>
13095 * simple.el (line-move): Use forward-line if in batch mode
13098 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
13100 * files.el (after-find-file): Do not try to add a final newline if
13101 the buffer is read-only (Bug#11156).
13103 2012-04-17 Richard Stallman <rms@gnu.org>
13105 * mail/rmail.el (rmail-start-mail):
13106 Pass (rmail-mail-return...) for the return-action.
13107 Pass (rmail-yank-current-message...) for the yank-action.
13108 (rmail-yank-current-message): New function.
13109 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
13110 (rmail-reply): Likewise.
13111 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
13113 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
13114 buffer, not the last. Reject temp buffers. Use the rmail-mode
13115 buffer, not newbuf.
13117 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
13119 * server.el (server-ensure-safe-dir): Simplify.
13121 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
13123 * emacs-lisp/smie.el: Provide smarter auto-filling.
13124 (smie-auto-fill): New function.
13125 (smie-setup): Use it.
13127 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
13129 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
13131 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
13132 (comment-indent): Use it.
13134 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
13136 * ses.el: The overall change is to add cell renaming, that is
13137 setting fancy names for cell symbols other than name matching
13138 "\\`[A-Z]+[0-9]+\\'" regexp .
13139 (ses-localvars): Add ses--renamed-cell-symb-list.
13140 (ses-create-cell-variable): New defun.
13141 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
13142 (ses-relocate-formula): Relocate formulas only for cells the
13143 symbols of which are not renamed, i.e. symbols whose names do not
13144 match regexp "\\`[A-Z]+[0-9]+\\'".
13145 (ses-relocate-all): Relocate values only for cells the symbols of
13146 which are not renamed.
13147 (ses-load): Create cells variables as the (ses-cell ...) are read,
13148 in order to check row col consistency with cell symbol name only
13149 for cells that are not renamed.
13150 (ses-replace-name-in-formula): New defun.
13151 (ses-rename-cell): New defun.
13153 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
13155 * progmodes/perl-mode.el (perl-indent-parens-as-block):
13156 New option (bug#11118).
13157 (perl-calculate-indent): Respect it.
13159 2012-04-17 Glenn Morris <rgm@gnu.org>
13161 * dired-aux.el (dired-mark-read-string): Doc fix.
13163 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
13165 * dired-aux.el (dired-mark-read-string): Offer optional completion.
13166 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
13168 2012-04-17 Glenn Morris <rgm@gnu.org>
13170 * mouse.el (mouse-drag-track):
13171 * speedbar.el (speedbar-frame-mode):
13172 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
13174 2012-04-16 Leo Liu <sdl.web@gmail.com>
13176 * progmodes/python.el: Trivial cleanup.
13178 2012-04-16 Glenn Morris <rgm@gnu.org>
13180 * vc/vc.el (vc-string-prefix-p):
13181 * vc/pcvs-util.el (cvs-string-prefix-p):
13182 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
13183 * mpc.el (mpc-string-prefix-p):
13184 Make all of these into obsolete aliases for string-prefix-p.
13186 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
13188 * textmodes/two-column.el: Move custom options to the start.
13189 (frame-width): Remove compat definition.
13190 (2C-associate-buffer, 2C-dissociate):
13191 Use with-current-buffer rather than save-excursion.
13192 (2C-dissociate): Force a mode-line update.
13193 (2C-autoscroll): Use ignore-errors.
13195 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
13198 * emacs-lisp/cl-extra.el (*random-state*):
13199 Remove unnecessary declaration.
13201 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
13203 * play/cookie1.el (cookie-snarf):
13204 Give an explicit error if input file cannot be read.
13206 * play/yow.el (yow-file): Use expand-file-name rather than concat.
13208 * progmodes/perl-mode.el (c-macro-expand):
13209 Remove unnecessary autoload (it is in loaddefs.el).
13211 * textmodes/picture.el (picture-desired-column)
13212 (picture-update-desired-column): Convert comments to doc-strings.
13213 (picture-substitute): Remove function.
13214 (picture-mode-map): Initialize in the defvar.
13216 * woman.el: Remove eval-after-load for tar-mode.
13217 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
13218 (woman-tar-extract-file): Autoload it.
13220 * frame.el (automatic-hscrolling): Make this alias obsolete.
13222 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13224 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
13225 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
13226 (ispell-dictionary-base-alist): Revert to original XEmacs
13227 friendly version for default. [:alpha:] will be added in
13228 `ispell-set-spellchecker-params' if needed.
13230 2012-04-16 Chong Yidong <cyd@gnu.org>
13232 * image.el (imagemagick--file-regexp): New variable.
13233 (imagemagick-register-types): Use it.
13234 (imagemagick-types-inhibit): Add :set function. Allow new value
13235 of t to inhibit all types.
13237 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
13238 so we can preload it.
13240 * loadup.el (fboundp): Preload regexp-opt, needed by
13241 imagemagick-register-types.
13243 2012-04-15 Chong Yidong <cyd@gnu.org>
13245 * frame.el (scrolling): Remove nearly unused customization group.
13247 * scroll-all.el (scroll-all-mode): Move to windows group.
13249 2012-04-15 Chong Yidong <cyd@gnu.org>
13251 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
13253 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
13255 Avoid the use of ((lambda ...) ...) in lexical-binding code.
13256 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
13258 2012-04-15 Glenn Morris <rgm@gnu.org>
13260 * simple.el (process-file-side-effects): Doc fix.
13262 2012-04-15 Glenn Morris <rgm@gnu.org>
13264 * international/mule-cmds.el (set-language-environment): Doc fix.
13266 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
13268 * server.el (server-auth-key, server-generate-key): Doc fixes.
13269 (server-get-auth-key): Doc fix. Use `string-match-p'.
13270 (server-start): Reflow docstring.
13272 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
13274 * server.el (server-generate-key): `called-interactively-p'
13275 requires a parameter.
13277 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
13279 * server.el (server-auth-key): New variable.
13280 (server-generate-key, server-get-auth-key): New function.
13281 (server-start): Use the new variable and functions to allow
13282 setting a permanent server key (bug#9423).
13284 2012-04-14 Leo Liu <sdl.web@gmail.com>
13286 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
13288 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
13291 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
13292 Emacs uses American spelling.
13294 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
13296 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
13297 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
13298 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
13299 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
13301 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
13303 * progmodes/which-func.el (which-func-modes): Change default.
13305 2012-04-14 Kim F. Storm <storm@cua.dk>
13307 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
13308 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
13310 2012-04-14 Chong Yidong <cyd@gnu.org>
13312 * custom.el (custom-theme-set-variables): Doc fix.
13314 2012-04-14 Glenn Morris <rgm@gnu.org>
13316 * international/mule.el (set-auto-coding-for-load): Doc fix.
13318 2012-04-14 Alan Mackenzie <acm@muc.de>
13320 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
13321 imenu work again for Objective C Mode. Correct the *-index values,
13322 these having been disturbed by a previous change in 2011-08.
13324 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
13325 Correct two search limits.
13327 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
13329 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
13331 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
13333 * international/characters.el: Fix sorting.
13335 2012-04-14 Eli Zaretskii <eliz@gnu.org>
13337 * international/characters.el: Add more missing Latin case pairs.
13339 2012-04-14 Glenn Morris <rgm@gnu.org>
13341 * files.el (dir-locals-set-class-variables): Doc fix.
13343 2012-04-14 Eli Zaretskii <eliz@gnu.org>
13345 * international/characters.el: Add set-case-syntax-pair call for
13346 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
13347 counterpart. (Bug#11209)
13349 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
13351 2012-04-14 Glenn Morris <rgm@gnu.org>
13353 * calendar/holidays.el (calendar-check-holidays): Doc fix.
13355 2012-04-14 Eli Zaretskii <eliz@gnu.org>
13357 * textmodes/ispell.el (ispell-dictionary-base-alist):
13358 Add data for Hebrew.
13360 2012-04-14 Chong Yidong <cyd@gnu.org>
13362 * net/rcirc.el (rcirc-cmd-quit):
13363 Revert 2012-03-18 change (Bug#11192).
13365 2012-04-14 Glenn Morris <rgm@gnu.org>
13367 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
13369 2012-04-14 Eli Zaretskii <eliz@gnu.org>
13371 * minibuffer.el (completion-in-region-mode-map):
13372 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
13374 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
13376 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
13378 2012-04-13 Masatake YAMATO <yamato@redhat.com>
13380 * minibuffer.el (minibuffer-local-filename-syntax): New variable
13381 to allow `C-M-f' and `C-M-b' to move to the nearest path
13382 separator (bug#9511).
13384 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
13386 * avoid.el: Require cl when compiling. And also move the
13387 `provide' to the end.
13389 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13391 * avoid.el (mouse-avoidance-banish-position): New variable.
13392 (mouse-avoidance-banish-destination): Use it (bug#10165).
13394 2012-04-13 Leo Liu <sdl.web@gmail.com>
13396 * progmodes/which-func.el (which-func-modes): Add objc-mode.
13398 2012-04-13 Ken Brown <kbrown@cornell.edu>
13400 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
13401 this is no longer needed now that cygstart understands file:// URLs.
13402 (browse-url-filename-alist): For the same reason, don't modify
13403 file:// URLs on Cygwin.
13405 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
13407 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
13408 the region on shift if the binding is already shifted (bug#11221).
13410 2012-04-12 Glenn Morris <rgm@gnu.org>
13412 * mail/mailpost.el: Move to obsolete/.
13414 2012-04-12 Drew Adams <drew.adams@oracle.com>
13416 * imenu.el (imenu--generic-function): Ignore invisible definitions
13419 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
13421 * hexl.el (hexl-bits): New variable.
13422 (hexl-options): Mention the variable in the doc string.
13423 (hexl-rulerise, hexl-line-displen): New functions.
13424 (hexl-mode): Mention the new variable.
13425 (hexl-mode, hexl-current-address, hexl-current-address):
13427 (hexl-ascii-start-column): New function.
13428 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
13429 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
13431 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13433 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
13434 '("-i" ENCODING), in 2 separate command-line arguments, to specify
13435 the encoding, as expected by hunspell.
13437 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
13439 * battery.el (battery--linux-sysfs-regexp): New const.
13440 (battery-status-function): Use it. Remove yeeloong special case.
13441 (battery-yeeloong-sysfs): Remove.
13442 (battery-echo-area-format): Remove yeeloong special case.
13444 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
13446 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
13447 Reported by Noah Friedman.
13449 * subr.el (read-passwd): Use read-string.
13451 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
13453 * vcursor.el (vcursor-move): Increase the priority of the overlay
13456 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
13458 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
13459 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
13461 2012-04-11 William Stevenson <yhvh2000@gmail.com>
13463 * textmodes/artist.el (artist-mode): Convert artist-mode to use
13464 define-minor-mode (bug#10760).
13466 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
13468 * progmodes/grep.el (rgrep): Tweak the find command line so
13469 that directories matching `grep-find-ignored-files' won't be
13470 pruned (bug#10351).
13472 2012-04-11 Chong Yidong <cyd@gnu.org>
13474 * startup.el (command-line): Remove support for long-obsolete
13475 variable font-lock-face-attributes.
13477 2012-04-11 Glenn Morris <rgm@gnu.org>
13479 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
13481 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
13483 * window.el (window--state-get-1): Obey window-point-insertion-type.
13485 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
13487 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
13488 to previous function when point is on the first character of a
13489 function. Take care of that in `narrow-to-defun' (bug#6157).
13491 2012-04-11 Glenn Morris <rgm@gnu.org>
13493 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
13494 not just file-errors.
13496 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
13497 (vc-bzr-sha1): Use internal sha1.
13499 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
13501 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
13503 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
13505 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
13506 that start in the middle of the line (bug#10496).
13508 2012-04-10 Dan Nicolaescu <dann@gnu.org>
13510 * battery.el (battery-linux-proc-acpi): Only one battery is
13511 discharged at a time, but that seems to confuse battery.el when
13512 computing `rate-type' for the battery not being discharged
13515 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
13517 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
13519 * international/quail.el: Use dolist and simplify.
13520 (quail-define-package, quail-update-keyboard-layout)
13521 (quail-define-rules): Use dolist.
13522 (quail-insert-kbd-layout, quail-get-translation): CSE.
13524 * tmm.el: Use dolist, remove left over hook.
13525 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
13527 (calendar-load-hook): Don't mess with it.
13529 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
13530 Use derived-mode-p. Run the diff asynchronously.
13532 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
13534 * obsolete/mouse-sel.el: Add an Obsolete-since header.
13536 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
13538 * misc.el: Display absolute path of loaded DLLs (bug#10424).
13539 (list-dynamic-libraries--loaded): New function.
13540 (list-dynamic-libraries--refresh): Use it.
13542 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
13544 * progmodes/python.el (python-fill-paragraph):
13545 Make python-fill-region in a multiline string work when font-lock is
13546 disabled (bug#7018).
13548 2012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
13550 * language/european.el (cp775): Add oem/legacy (en)coding on
13551 DOS/MS Windows for the Baltic languages. There are still plenty
13552 of texts written in this encoding/codepage (bug#6519).
13554 2012-04-10 Glenn Morris <rgm@gnu.org>
13556 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
13557 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
13559 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
13561 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
13562 next-line "n" and previous-line "p" in order to make recentf more
13563 consistent with ibuffer, dired or org-mode (bug#9387).
13565 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
13567 * image.el (put-image): Return the overlay created instead of the
13568 optional input string (bug#7834). Note that this may break code
13569 that is (for some reason or other) depending on `put-image'
13570 returning the string.
13572 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
13574 * simple.el (zap-to-char): Allow zapping using input methods
13577 * textmodes/fill.el (fill-region): Leave point and mark where they
13578 were before filling (bug#5399).
13580 2012-04-09 Glenn Morris <rgm@gnu.org>
13582 * version.el (emacs-bzr-get-version):
13583 Handle lightweight checkouts of local branches.
13585 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
13587 * international/characters.el: Recover lost case pairs. (Bug#11209)
13589 2012-04-09 Chong Yidong <cyd@gnu.org>
13591 * custom.el (custom-variable-p): Return nil for non-symbol
13592 arguments instead of signaling an error.
13593 (user-variable-p): Obsolete alias for custom-variable-p.
13595 * apropos.el (apropos-variable):
13596 * files-x.el (read-file-local-variable):
13597 * simple.el (set-variable):
13598 * woman.el (woman-mini-help):
13599 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
13601 2012-04-09 Glenn Morris <rgm@gnu.org>
13603 * startup.el (normal-top-level): Don't look for leim-list.el
13604 in places where it will not be found. (Bug#910)
13606 * international/mule-cmds.el (set-default-coding-systems):
13607 * files.el (normal-mode):
13608 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
13609 This function was removed with ucs-tables.el in 2008.
13611 2012-04-08 Eli Zaretskii <eliz@gnu.org>
13613 * textmodes/ispell.el (ispell-check-version): For hunspell, set
13614 ispell-encoding8-command to "-i", without a trailing space.
13615 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
13616 separate command-line arguments, to specify the encoding, since
13617 that's how hunspell expects it.
13619 2012-04-08 Glenn Morris <rgm@gnu.org>
13621 * loadup.el: Load bindings before cus-start.
13622 This reduces somewhat the number of "rogue" settings in emacs -Q.
13624 2012-04-07 Glenn Morris <rgm@gnu.org>
13626 * version.el (emacs-bzr-get-version): New function.
13627 (emacs-bzr-version): New variable.
13628 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
13629 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
13631 2012-04-07 Eli Zaretskii <eliz@gnu.org>
13633 * international/uni-bidi.el, international/uni-category.el:
13634 * international/uni-combining.el, international/uni-decimal.el:
13635 * international/uni-decomposition.el, international/uni-digit.el:
13636 * international/uni-lowercase.el, international/uni-mirrored.el:
13637 * international/uni-name.el, international/uni-numeric.el:
13638 * international/uni-titlecase.el, international/uni-uppercase.el:
13639 Update for Unicode 6.1.
13641 2012-04-07 Eli Zaretskii <eliz@gnu.org>
13643 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
13645 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
13647 * window.el (shrink-window): Mention the `window-min-height'
13648 variable in the doc string.
13650 2012-04-05 Bastien Guerry <bzg@altern.org>
13652 * color.el (color-lighten-name): Fix typo.
13654 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
13656 * server.el (server--on-display-p): New function.
13657 (server--on-display-p): Use it.
13659 2012-04-04 Gábor Vida <vidagabor@gmail.com> (tiny change)
13661 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
13664 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
13666 * comint.el (comint--common-quoted-suffix): Check string boundary
13667 before comparing (bug#11158).
13668 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
13670 2012-04-04 Chong Yidong <cyd@gnu.org>
13672 * minibuffer.el (completion-extra-properties): Doc fix.
13674 * subr.el (delayed-warnings-hook): Doc fix.
13676 2012-04-04 Daiki Ueno <ueno@unixuser.org>
13678 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
13679 selection (Bug#11159).
13680 (epa-insert-keys): Inform that the default public key will be
13681 exported if no key is selected.
13683 2012-04-04 Richard Stallman <rms@gnu.org>
13685 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
13687 2012-04-03 Chong Yidong <cyd@gnu.org>
13689 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
13690 mail-insert-file, not its obsolete alias mail-attach-file.
13692 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
13694 * notifications.el (notifications-notify): Fix docstring.
13696 2012-04-02 Glenn Morris <rgm@gnu.org>
13698 * emacs-lisp/authors.el (authors-aliases): Another addition.
13700 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
13702 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
13703 `tramp-compat-call-process' instead of `tramp-local-call-process'.
13704 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
13706 2012-04-01 Chong Yidong <cyd@gnu.org>
13708 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
13709 Handle root directory properly.
13710 (copy-directory): Caller changed.
13712 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
13713 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
13715 2012-03-31 Glenn Morris <rgm@gnu.org>
13717 * term/xterm.el (xterm-extra-capabilities): Doc fix.
13719 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
13721 * calendar/calendar.el (calendar-window-list)
13722 (calendar-hide-window): Restore. (Bug#11140)
13723 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
13725 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
13727 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13729 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
13730 Check if file is a symlink (Bug#10489).
13732 * files.el (copy-directory): Likewise.
13734 2012-03-30 Chong Yidong <cyd@gnu.org>
13736 * image.el (imagemagick-types-inhibit)
13737 (imagemagick-register-types): Doc fix.
13739 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13741 * textmodes/ispell.el (ispell-get-extended-character-mode):
13742 Disable extended-char-mode for hunspell. hunspell does not support it
13743 and treats ~word as ordinary words in pipe mode.
13745 2012-03-30 Glenn Morris <rgm@gnu.org>
13747 * tutorial.el (help-with-tutorial): Ensure local variables don't
13748 happen to make the buffer read-only. (Bug#11127)
13750 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
13752 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
13753 (perl-calculate-indent): Return `noindent' in strings.
13755 2012-03-28 Sam Steingold <sds@gnu.org>
13757 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
13758 instead of the broken adhockery which does not prevent calendar
13759 buffers from being displayed at random after exit.
13760 (calendar-window-list, calendar-hide-window): Remove the broken
13763 2012-03-28 Glenn Morris <rgm@gnu.org>
13765 * replace.el (query-replace-map): Doc fix.
13767 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
13769 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
13770 contents. (Bug#11109)
13772 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
13774 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
13776 (avl-tree--check, avl-tree--check-node): New funs.
13778 2012-03-27 Martin Rudalics <rudalics@gmx.at>
13780 * window.el (switch-to-visible-buffer): New option.
13781 (switch-to-prev-buffer, switch-to-next-buffer):
13782 Observe switch-to-visible-buffer. Make sure that checking for a window
13783 showing a buffer already is done on the same frame.
13785 2012-03-27 Glenn Morris <rgm@gnu.org>
13787 * startup.el (mail-host-address): Doc fix.
13789 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
13791 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
13792 than 197 variables.
13794 2012-03-26 Ami Fischman <ami@fischman.org>
13796 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
13798 2012-03-26 Glenn Morris <rgm@gnu.org>
13800 * files.el (save-buffers-kill-emacs): Doc fix.
13802 * startup.el (normal-top-level, command-line, command-line-1):
13803 Give them doc strings.
13805 2012-03-25 Eli Zaretskii <eliz@gnu.org>
13807 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
13808 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
13810 2012-03-25 Chong Yidong <cyd@gnu.org>
13812 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
13813 theme if it was previously enabled before (Bug#11031).
13815 * cus-theme.el (custom-theme-write-faces): Retrieve current face
13816 spec with custom-face-get-current-spec if its :shown-value is not
13817 determined yet (Bug#9337).
13818 (customize-create-theme, custom-theme-revert): Doc fixes.
13820 * button.el (button-at): Minor addition to docstring.
13822 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
13824 * vc/vc.el (vc-merge): Fix a prompt.
13826 2012-03-24 Chong Yidong <cyd@gnu.org>
13828 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
13831 * button.el (button-at): Minor addition to docstring.
13833 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
13835 * newcomment.el (comment-choose-indent): No space after BOL.
13837 2012-03-22 Sam Steingold <sds@gnu.org>
13839 * window.el (switch-to-prev-buffer): Revert last patch because the
13840 bug turned out to be an advertised feature (Elisp manual 28.14).
13842 2012-03-22 Glenn Morris <rgm@gnu.org>
13844 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
13845 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
13847 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
13849 * net/network-stream.el (network-stream-open-starttls): Make error
13850 message under Windows be less misleading.
13852 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
13854 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
13855 understands (bug#9942).
13857 2012-03-22 Chong Yidong <cyd@gnu.org>
13859 * simple.el (end-of-visible-line): Handle return value of
13860 next-single-property-change properly (Bug#9371).
13862 2012-03-22 Kenichi Handa <handa@m17n.org>
13864 * international/quail.el (quail-insert-kbd-layout): Fix previous
13865 change. To avoid unwanted bidi reordering, use
13866 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
13868 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
13870 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
13871 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
13872 (ruby-beginning-of-indent): Be more careful with the difference
13873 between word-boundary and symbol boundary.
13874 (ruby-mode-syntax-table): Make : a symbol constituent.
13876 2012-03-21 Andreas Politz <politza@fh-trier.de>
13878 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
13880 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
13882 * progmodes/etags.el (tags-completion-at-point-function):
13885 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
13887 2012-03-21 Sam Steingold <sds@gnu.org>
13889 * progmodes/etags.el (tags-completion-at-point-function):
13890 Avoid the error when point is inside the pattern.
13892 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
13894 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
13897 2012-03-21 Drew Adams <drew.adams@oracle.com>
13899 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
13901 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
13903 * ido.el (ido-set-current-directory, ido-read-internal)
13904 (ido-choose-completion-string, ido-completion-help): Handle nil
13905 value of ido-completion-buffer (Bug#11008).
13907 2012-03-21 Sam Steingold <sds@gnu.org>
13909 * window.el (switch-to-prev-buffer): Do not switch to a visible
13910 window previous buffer, just like with the frame previous buffers.
13912 2012-03-21 Chong Yidong <cyd@gnu.org>
13914 * faces.el (make-face, make-empty-face, copy-face):
13915 * face-remap.el (face-remap-add-relative, face-remap-set-base):
13918 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
13920 * wid-edit.el (widget-complete-field): Remove (bug#11051).
13921 (widget-complete): Remove broken use of it.
13923 2012-03-20 Chong Yidong <cyd@gnu.org>
13925 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
13926 Use string-width and truncate-string-width to handle arbitrary
13929 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
13931 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
13932 to draw rectangles, not squares. (Regression introduced by revno
13933 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
13935 2012-03-18 Chong Yidong <cyd@gnu.org>
13937 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
13938 it is not yet defined (for temacs).
13940 2012-03-18 Leo Liu <sdl.web@gmail.com>
13942 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
13945 2012-03-17 Eli Zaretskii <eliz@gnu.org>
13947 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
13948 (ispell-choices-win-default-height, ispell-silently-savep)
13949 (ispell-dictionary-alist, ispell-encoding8-command)
13950 (ispell-check-version, ispell-aspell-find-dictionary)
13951 (ispell-valid-dictionary-list, ispell-words-keyword)
13952 (ispell-get-word, ispell-internal-change-dictionary)
13953 (ispell-region, ispell-skip-region-list)
13954 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
13955 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
13956 (ispell-message-text-end, ispell-message)
13957 (ispell-buffer-local-parsing): Doc fix.
13959 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
13961 * htmlfontify.el: Add support for code block fontification for ODT
13962 export (Bug #9914).
13963 (hfy-optimisations): Define new option
13965 (hfy-fontify-buffer): Honor above setting.
13966 (hfy-begin-span, hfy-end-span): New routines factored out form
13967 `hfy-fontify-buffer'.
13968 (hfy-begin-span-handler, hfy-end-span-handler): New variables
13969 that permit insertion of custom tags.
13970 (hfy-fontify-buffer): Use above handlers.
13971 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
13972 (hfy-face-to-css): Re-defined to be a variable.
13973 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
13974 over multiple runs. This is made possible by having the caller let
13975 bind a special variable `hfy-user-sheet-assoc'.
13976 (htmlfontify-string): New defun.
13977 (hfy-compile-face-map): Make sure that the last char in the
13978 buffer is correctly fontified.
13979 (hfy-face-resolve-face): Whitespace only change.
13981 2012-03-17 Eli Zaretskii <eliz@gnu.org>
13983 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
13984 message more clear.
13986 2012-03-16 Leo Liu <sdl.web@gmail.com>
13988 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
13990 2012-03-16 Alan Mackenzie <acm@muc.de>
13992 Further optimize the handling of large macros.
13994 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
13995 limit to a call of `c-literal-limits'.
13996 (c-determine-+ve-limit): New function.
13997 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
13998 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
13999 In CASE 5B, restrict a search limit to 500.
14000 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
14002 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
14003 Restrict macro bounds to +-500 from after-change's BEG END.
14005 2012-03-16 Leo Liu <sdl.web@gmail.com>
14007 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
14009 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
14011 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
14012 `special-mode' setting of `buffer-read-only'. (Bug#11010)
14014 2012-03-16 Glenn Morris <rgm@gnu.org>
14016 * view.el (view-buffer, view-buffer-other-window)
14017 (view-buffer-other-frame): Doc fixes re special mode-class.
14019 * subr.el (eval-after-load): If named feature is provided not from
14020 a file, run after-load forms. (Bug#10946)
14022 * calendar/calendar.el (calendar-insert-at-column):
14023 Handle non-unit-width characters a bit better. (Bug#10978)
14025 2012-03-15 Chong Yidong <cyd@gnu.org>
14027 * emacs-lisp/ring.el (ring-extend): New function.
14028 (ring-insert+extend): Extend the ring correctly (Bug#11019).
14030 * comint.el (comint-read-input-ring)
14031 (comint-add-to-input-history): Grow comint-input-ring lazily.
14033 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
14035 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
14036 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
14038 * imenu.el: Fix multiple inheritance breakage (bug#9199).
14039 (imenu-add-to-menubar): Don't add a redundant index.
14040 (imenu-update-menubar): Handle a dynamically composed keymap.
14042 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
14044 * mail/sendmail.el (mail-encode-header):
14045 Bind rfc2047-encode-encoded-words to nil.
14047 2012-03-13 Glenn Morris <rgm@gnu.org>
14049 * calendar/calendar.el (calendar-string-spread):
14050 Handle non-unit-width characters a bit better. (Bug#10978)
14052 2012-03-13 Leo Liu <sdl.web@gmail.com>
14054 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
14055 directory and file as argument (Bug#10822).
14057 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
14059 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
14060 For dynamically generated code, follow $PC.
14061 (gdb-disassembly-handler-custom): Handle no function name case.
14063 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
14065 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
14066 * emulation/ws-mode.el (ws-query-replace):
14067 * sort.el (sort-regexp-fields):
14068 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
14070 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14072 * dabbrev.el: Fix cycle completion order (bug#10963).
14073 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
14074 (dabbrev-completion): Don't use an obarray; provide
14075 a cycle-sort-function.
14077 2012-03-12 Leo Liu <sdl.web@gmail.com>
14079 * simple.el (kill-new): Use equal-including-properties for comparison.
14080 (kill-do-not-save-duplicates): Doc fix.
14082 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14084 * dabbrev.el: Fix cycle completion (bug#10963).
14085 Use lexical binding and wrap to 80 columns.
14086 (dabbrev-completion): Delay computing the list of completions.
14088 2012-03-12 Kenichi Handa <handa@m17n.org>
14090 * international/quail.el (quail-insert-kbd-layout): Surround each
14091 row by LRO and PDF instead of inserting many LRMs. Pad the left
14092 and right of each non-spacing marks. Insert invisible space
14093 between lower and upper characters to prevent composition.
14095 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14097 * minibuffer.el (minibuffer-complete): Don't get confused when the
14098 function is run twice via different commands (bug#10958).
14099 (complete-with-action): Fix docstring.
14101 2012-03-12 Chong Yidong <cyd@gnu.org>
14103 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
14104 (nxml-completion-at-point-function): New function.
14105 (nxml-mode): Use it.
14106 (nxml-bind-meta-tab-to-complete-flag): Default to t.
14108 * emacs-lisp/package.el (package-unpack, package-unpack-single):
14109 Load generated autoloads file before byte compiling (Bug#10970).
14110 (package--make-autoloads-and-compile): New helper fun.
14112 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
14114 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
14116 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
14118 * autorevert.el (auto-revert-handler): Ensure, that
14119 file-readable-p is applied only for local files or in
14120 auto-revert-tail-mode.
14122 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
14124 * server.el (server-eval-at): Handle non-tcp connections.
14125 Decode result string.
14127 * server.el (server-msg-size): New constant.
14128 (server-reply-print): New function.
14129 (server-eval-and-print): Use it.
14130 (server-eval-at): Use server-quote-arg and server-unquote-arg.
14131 Handle -print-nonl.
14133 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
14135 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
14138 2012-03-11 Chong Yidong <cyd@gnu.org>
14140 * simple.el (goto-line): Doc fix (Bug#9938).
14142 * subr.el (save-window-excursion): Doc fix (Bug#9979).
14144 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
14145 when finished (Bug#10963).
14147 2012-03-11 Martin Rudalics <rudalics@gmx.at>
14149 * window.el (split-window-below): Fix bug in case where
14150 split-window-keep-point is nil (Bug#10971).
14152 2012-03-11 Juri Linkov <juri@jurta.org>
14154 * replace.el (replace-highlight): Set isearch-word to nil
14155 unconditionally. (Bug#10887)
14157 2012-03-10 Eli Zaretskii <eliz@gnu.org>
14159 * net/mairix.el (mairix-replace-invalid-chars): Rename from
14160 mairix-replace-illegal-chars; all callers changed. Don't remove
14161 ^, ~, and = characters: they are meaningful in mairix search specs.
14162 (mairix-widget-create-query): Add usage information about mairix
14163 search forms: negating words, searching for substrings, etc.
14165 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
14167 * international/fontset.el (font-encoding-alist): Add an entry for
14168 ksx1001 (Bug#5667).
14170 2012-03-10 Richard Stallman <rms@gnu.org>
14172 * mail/sendmail.el (mail-encode-header):
14173 Set rfc2047-encode-encoded-words.
14175 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
14177 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
14178 view buffer means not swapped.
14179 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
14180 (rmail-write-region-annotate): Error if real text has disappeared.
14182 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
14184 2012-03-10 Chong Yidong <cyd@gnu.org>
14186 * emulation/cua-rect.el (cua--init-rectangles):
14187 * emulation/cua-base.el (cua--init-keymaps):
14188 Add delete-forward-char to remappings (Bug#9666).
14190 2012-03-10 Martin Rudalics <rudalics@gmx.at>
14192 * speedbar.el (speedbar-unhighlight-one-tag-line):
14193 Avoid unhighlighting due to frame switching (Bug#10275).
14195 2012-03-10 Chong Yidong <cyd@gnu.org>
14197 * minibuffer.el (completion-in-region, completion-help-at-point):
14198 Give the completion field overlay a high priority (Bug#6830).
14200 * dired.el (dired-goto-file): Recognize absolute file name
14201 listings (Bug#7126).
14202 (dired-goto-file-1): New helper function.
14203 (dired-toggle-read-only): Inhibit warnings.
14205 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
14207 * net/dbus.el (dbus-property-handler): Return empty array if
14208 there are no properties.
14210 2012-03-09 Leo Liu <sdl.web@gmail.com>
14212 * savehist.el (savehist-printable): Stricter check for string
14215 2012-03-09 Eli Zaretskii <eliz@gnu.org>
14217 * mail/smtpmail.el (smtpmail-send-it):
14218 Bind coding-system-for-write to *-unix, so that FCC files are kept in
14221 2012-03-09 Glenn Morris <rgm@gnu.org>
14223 * files.el (dir-locals-find-file):
14224 Don't check result is regular, readable.
14225 (dir-locals-read-from-file): Demote errors.
14227 2012-03-08 Eli Zaretskii <eliz@gnu.org>
14229 * international/quail.el (quail-insert-kbd-layout):
14230 Insert invisible LRM characters before each character in a keyboard
14231 layout cell, to prevent their reordering by bidi display engine.
14232 For details, see the discussion in
14233 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
14235 2012-03-08 Alan Mackenzie <acm@muc.de>
14237 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
14238 the starting position; make it extend the marked region when
14239 invoked repeatedly - all under appropriate circumstances.
14240 Fixes bugs #5525, #10906.
14242 2012-03-08 Glenn Morris <rgm@gnu.org>
14244 * files.el (locate-dominating-file, dir-locals-find-file):
14245 Undo 2012-03-06 change.
14247 2012-03-07 Eli Zaretskii <eliz@gnu.org>
14249 * international/quail.el (quail-help):
14250 Force bidi-paragraph-direction be left-to-right. See discussion in
14251 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
14254 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
14256 Avoid superfluous registering of signals. (Bug#10807)
14258 * notifications.el (notifications-on-action-object)
14259 (notifications-on-close-object): New defvars.
14260 (notifications-on-action-signal, notifications-on-closed-signal):
14261 Unregister the signal if not needed any longer.
14262 (notifications-notify): Register `notifications-action-signal' or
14263 `notifications-closed-signal', if :on-action or :on-close has been
14264 passed as argument.
14266 2012-03-07 Chong Yidong <cyd@gnu.org>
14268 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
14271 2012-03-06 Glenn Morris <rgm@gnu.org>
14273 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
14274 (x-disown-selection-internal, x-get-selection-internal):
14275 Doc fix (add arglist signatures). (Bug#10783)
14277 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
14279 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
14280 Handle breakpoints with no "type".
14282 2012-03-06 Glenn Morris <rgm@gnu.org>
14284 * files.el (locate-dominating-file): Add optional predicate argument.
14285 (dir-locals-find-file): Make use of above change.
14287 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
14289 * info.el (Info-insert-dir): Also try "dir.gz".
14291 2012-03-06 Glenn Morris <rgm@gnu.org>
14293 * files.el (dir-locals-find-file):
14294 Ignore non-readable or non-regular files. (Bug#10928)
14296 * files.el (locate-dominating-file): Doc fix.
14298 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
14300 * calendar/calendar.el (calendar-set-mode-line):
14301 `getenv' returns a string. (Bug#10951)
14303 2012-03-05 Leo Liu <sdl.web@gmail.com>
14305 * simple.el (backward-delete-char-untabify): Constrain point to
14308 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
14310 2012-03-05 Chong Yidong <cyd@gnu.org>
14312 * simple.el (count-words): If called from Lisp, return the word
14313 count, for symmetry with `count-lines'. Arglist changed.
14314 (count-words--message): Args changed. Consolidate counting code
14315 from count-words and count-words-region.
14316 (count-words-region): Caller changed.
14317 (count-lines-region): Make it an obsolete alias.
14319 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
14321 * saveplace.el (save-place-to-alist)
14322 (save-place-ignore-files-regexp): Allow value nil to disable this
14325 2012-03-04 Chong Yidong <cyd@gnu.org>
14327 * faces.el (face-spec-reset-face): For the default face, reset the
14328 attributes to default values (Bug#10748).
14330 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
14332 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
14333 previous patch: Check `message-send-mail-function', and not the
14334 default function (bug#10897).
14336 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
14338 * notifications.el (notifications-on-action-signal)
14339 (notifications-on-closed-signal): Check for unique service name of
14340 incoming event. Fix error in removing entry.
14341 (top): Register for signals with wildcard service name.
14342 (notifications-notify): Use daemon unique service name for map entries.
14344 2012-03-04 Chong Yidong <cyd@gnu.org>
14346 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
14348 2012-03-04 Glenn Morris <rgm@gnu.org>
14350 * abbrev.el (copy-abbrev-table, abbrev-table-p)
14351 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
14352 (expand-abbrev, define-abbrev-table): Doc fixes.
14354 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
14356 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
14357 `message-default-send-mail-function' and not `send-mail-function'
14358 when doing the prompting for `sendmail-query-once' before sending
14359 in Message buffers (bug#10897).
14361 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
14362 This is inconsistent with all the other stream functions, which leave
14363 the setting up to the higher levels (if so wanted) (bug#10931).
14365 2012-03-02 Alan Mackenzie <acm@muc.de>
14367 Depessimize the handling of very large macros.
14369 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
14370 (c-macro-cache-syntactic): New variables to implement a one
14371 element macro cache.
14372 (c-invalidate-macro-cache): New function.
14373 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
14374 Adapt to use the new cache.
14375 (c-state-safe-place): Use better the cache of safe positions.
14376 (c-state-semi-nonlit-pos-cache)
14377 (c-state-semi-nonlit-pos-cache-limit):
14378 New variables for...
14379 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
14380 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
14381 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
14382 Use c-state-semi-safe-place.
14384 * progmodes/cc-langs.el (c-get-state-before-change-functions):
14385 Add c-invalidate-macro-cache to the C, C++, Obj entries.
14387 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
14389 * jka-compr.el (jka-compr-call-process):
14390 Apply `file-accessible-directory-p' only when the default directory is
14393 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
14395 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
14396 access of FILE2, if FILE1 does not exist.
14398 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
14399 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
14401 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
14402 Add "PAGER=" to `process-environment'.
14404 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
14406 * progmodes/sql.el: Bug fix
14407 (sql-get-login-ext): Save login values in globals.
14408 (sql-get-login): Use new version of `sql-get-login-ext'.
14409 (sql-interactive-mode): Set global `sql-connection' to nil.
14410 (sql-connect): Set global values for connection.
14411 (sql-product-interactive): Save global values as buffer local.
14413 2012-02-29 Leo Liu <sdl.web@gmail.com>
14415 * abbrev.el (define-abbrevs): Reset sys to nil.
14417 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14419 * files.el (file-equal-p): Rename from `files-equal-p'.
14420 Return nil when one or both files don't exist.
14421 (file-subdir-of-p): Now only top directory must exists,
14422 return nil if it doesn't.
14423 (copy-directory): No need to test with `file-subdir-of-p' after
14425 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
14428 2012-02-28 Glenn Morris <rgm@gnu.org>
14430 * shell.el (shell-mode):
14431 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
14432 * play/landmark.el (landmark-font-lock-face-O):
14433 * play/handwrite.el (handwrite):
14434 * play/gomoku.el (gomoku-O):
14435 * net/browse-url.el (browse-url-browser-display):
14436 * international/mule.el (define-charset):
14437 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
14438 * filesets.el (filesets-find-file-delay):
14439 * eshell/em-xtra.el (eshell-xtra):
14440 * eshell/em-unix.el (eshell-grep):
14441 * emulation/viper.el (viper-mode):
14442 * emacs-lisp/regexp-opt.el (regexp-opt-group):
14443 * emacs-lisp/easymenu.el (easy-menu-define):
14444 * calendar/timeclock.el (timeclock-use-display-time):
14446 * bookmark.el (bookmark-save-flag):
14447 Doc fix (standardize possessive apostrophe usage).
14449 2012-02-27 Chong Yidong <cyd@gnu.org>
14451 * emulation/viper-cmd.el (viper-intercept-ESC-key):
14452 Fix key-binding lookup for ESC key (Bug#9146).
14454 * font-lock.el (font-lock-specified-p): Rename from
14455 font-lock-spec-present. Callers changed.
14457 2012-02-27 Daniel Hackney <dan@haxney.org>
14459 * emacs-lisp/package.el (package-compute-transaction):
14460 Handle holding a package version to t in package-load-list.
14462 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
14464 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
14465 (tramp-get-inode, tramp-get-device): Use cached values.
14467 2012-02-26 Alan Mackenzie <acm@muc.de>
14469 Check there is a font-lock specification before doing initial
14472 * font-core.el (font-lock-mode): Move the conditional from
14473 :after-hook to font-lock-initial-fontify.
14474 (font-lock-default-function): Move the check for a specification
14475 to font-lock-spec-present.
14477 * font-lock.el (font-lock-initial-fontify): Call ...
14478 (font-lock-spec-present): New function.
14480 2012-02-26 Jim Blandy <jimb@red-bean.com>
14482 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
14483 (gdb-send): Apply it to the operand of the '-interpreter-exec
14484 console' command, so that we can pass arguments with (say) quotes
14485 in them. Store exact string sent in gdb-debug-log (Bug#10765).
14487 2012-02-26 Chong Yidong <cyd@gnu.org>
14489 * help-fns.el (describe-function-1): Clarify description of
14490 remapping (Bug#10844).
14492 * files.el (files-equal-p): Doc fix.
14493 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
14494 and quit the loop once a mismatch is found.
14496 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
14498 * bs.el (bs--show-with-configuration): Don't throw an error
14499 if the window cannot be split; otherwise, subsequent calls to
14500 bs-show fail, restoring a stale window config. (Bug#10882)
14502 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
14504 * term/ns-win.el (global-map): Bind ns-drag-file to
14505 ns-find-file (Bug#5855, Bug#10050).
14507 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
14509 * calendar/parse-time.el (parse-time-string): Allow extractor to
14512 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
14514 * net/tramp.el (tramp-file-name-for-operation):
14515 Add `files-equal-p' and `file-subdir-of-p'.
14517 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
14518 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
14519 Add COPY-CONTENTS argument.
14521 2012-02-25 Chong Yidong <cyd@gnu.org>
14523 Add custom groups for VC backends, for consistency with vc-bzr.
14525 * vc/vc-arch.el (vc-arch):
14526 * vc/vc-cvs.el (vc-cvs):
14527 * vc/vc-git.el (vc-git):
14528 * vc/vc-hg.el (vc-hg):
14529 * vc/vc-mtn.el (vc-mtn):
14530 * vc/vc-rcs.el (vc-rcs):
14531 * vc/vc-sccs.el (vc-sccs):
14532 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
14533 All relevant defcustoms reassigned.
14535 2012-02-25 Chong Yidong <cyd@gnu.org>
14537 * newcomment.el (comment-styles): Add autoload (Bug#10868).
14539 * term/x-win.el (x-initialize-window-system): Reduce default for
14540 x-selection-timeout to 5 seconds (Bug#8869).
14542 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14544 * files.el (files-equal-p, file-subdir-of-p): New functions.
14545 (copy-directory): Error when trying to copy a directory on itself.
14546 Add missing copy-contents arg to tramp handler.
14547 * dired-aux.el (dired-copy-file-recursive): Same.
14548 (dired-create-files): Modify destination when source is equal to
14549 dest when copying files.
14550 Return also when dest is a subdir of source. (Bug#10489)
14552 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
14554 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
14557 2012-02-23 Alan Mackenzie <acm@muc.de>
14559 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
14560 parameter "after-hook:" to allow the expansion to run code after
14561 the execution of the mode hooks.
14563 * font-lock.el (font-lock-initial-fontify): New function extracted
14564 from font-lock-mode-internal.
14566 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
14569 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
14571 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
14572 (completion--cache-all-sorted-completions): New function.
14573 (completion-all-sorted-completions): Use it.
14574 (completion--do-completion, minibuffer-force-complete):
14575 Use it to re-instate the flush hook.
14577 * icomplete.el (icomplete-completions): Replace last fix with a better
14580 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
14582 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
14583 when it might call us back infinitely (bug#10797).
14585 2012-02-23 Glenn Morris <rgm@gnu.org>
14587 * minibuffer.el (completion-category-overrides): Doc fix.
14589 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
14591 * minibuffer.el (completion-table-with-context): Fix inf-loop.
14592 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
14594 2012-02-23 Glenn Morris <rgm@gnu.org>
14596 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
14597 (authors-obsolete-files-regexps, authors-ignored-files)
14598 (authors-ambiguous-files, authors-renamed-files-alist):
14601 2012-02-23 Juri Linkov <juri@jurta.org>
14603 * isearch.el (isearch-occur): Sync interactive spec with occur's
14604 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
14606 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
14608 2012-02-22 Juri Linkov <juri@jurta.org>
14610 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
14611 (ucs-insert): Doc fix. Check for hex digits in the string.
14612 Don't display `nil' in the error message. (Bug#10857)
14614 2012-02-22 Alan Mackenzie <acm@muc.de>
14616 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
14618 2012-02-22 Glenn Morris <rgm@gnu.org>
14620 * ffap.el (ffap-c-path):
14621 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
14623 2012-02-22 Chong Yidong <cyd@gnu.org>
14625 * custom.el (load-theme): Doc fix.
14627 2012-02-22 Glenn Morris <rgm@gnu.org>
14629 * dired-x.el (dired-guess-shell-alist-default):
14630 Remove escape sequences from nroff output. (Bug#172)
14632 2012-02-21 Glenn Morris <rgm@gnu.org>
14634 * vc/emerge.el (emerge-defvar-local):
14635 Set `permanent-local' property rather than unused `preserved'.
14637 * textmodes/picture.el (picture-delete-char): New alias.
14638 (picture-mode-map): Use it. (Bug#10860)
14639 (picture-mode): Doc fix.
14641 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
14643 * newcomment.el (uncomment-region-default): Remove unused binding.
14645 2012-02-21 Glenn Morris <rgm@gnu.org>
14647 * textmodes/picture.el (picture-motion, picture-motion-reverse)
14648 (picture-self-insert, picture-tab-chars): Doc fix.
14649 (picture-mode-map): Fix C-a, C-e.
14651 2012-02-20 Glenn Morris <rgm@gnu.org>
14653 * emacs-lisp/authors.el (authors-aliases): Add another entry.
14655 2012-02-20 Leo Liu <sdl.web@gmail.com>
14657 * icomplete.el (icomplete-completions): Check FROM arg before
14658 passing to substring (Bug#10850).
14660 2012-02-19 Chong Yidong <cyd@gnu.org>
14662 * comint.el: Require ansi-color.
14663 (comint-output-filter-functions): Add ansi-color-process-output.
14665 * ansi-color.el: Don't set comint-output-filter-functions; it is
14666 now in the initial value defined in comint.el.
14667 (ansi-color-apply-face-function): New variable.
14668 (ansi-color-apply-on-region): Use it.
14669 (ansi-color-apply-overlay-face): New function.
14671 * shell.el (shell): No need to require ansi-color.
14672 (shell-mode): Use ansi-color-apply-face-function to highlight
14673 color escapes using font-lock-face property (Bug#10835).
14675 2012-02-19 Chong Yidong <cyd@gnu.org>
14677 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
14678 mode-line formats (Bug#10839).
14680 2012-02-18 Glenn Morris <rgm@gnu.org>
14682 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
14684 * mail/undigest.el (unforward-rmail-message): Doc fix.
14686 * saveplace.el (save-place-ignore-files-regexp): Add :version.
14688 2012-02-18 Eli Zaretskii <eliz@gnu.org>
14690 * international/characters.el (script-list): Sync with the latest
14691 Unicode Character Database.
14693 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
14695 * international/titdic-cnv.el: Remove duplicate coding tag.
14696 * language/cham.el: Likewise.
14697 * language/tai-viet.el: Likewise.
14699 2012-02-18 Glenn Morris <rgm@gnu.org>
14701 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
14702 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
14703 (calendar-bahai-all-holidays-flag, calendar-other-dates):
14704 * calendar/diary-lib.el (diary-abbreviated-year-flag):
14705 * calendar/holidays.el (holiday-bahai-holidays)
14706 (calendar-holidays, list-holidays):
14707 Use utf-8 Bahá'í in doc-strings, menus, etc.
14709 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
14711 * saveplace.el (save-place-ignore-files-regexp): New variable
14712 allowing for excluding files from saving their location of point.
14713 The default value matches the temporary commit message editing
14714 files from Git, SVN, Bazaar, and Mercurial.
14715 (save-place-to-alist): Use it.
14717 2012-02-17 Lawrence Mitchell <wence@gmx.li>
14718 Stefan Monnier <monnier@iro.umontreal.ca>
14720 * newcomment.el (uncomment-region-default): Don't leave extra space
14721 when an arg is provided (bug#8150).
14723 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
14725 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
14727 2012-02-17 Glenn Morris <rgm@gnu.org>
14729 * net/socks.el: Require network-stream. (Bug#10599)
14731 2012-02-17 Kenichi Handa <handa@m17n.org>
14733 * international/charprop.el:
14734 * international/uni-name.el:
14735 * international/uni-old-name.el:
14736 * international/uni-comment.el: Regenerate.
14738 2012-02-16 Glenn Morris <rgm@gnu.org>
14740 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
14741 Interactively in calendar buffer, give an error if not on a date.
14743 2012-02-15 Glenn Morris <rgm@gnu.org>
14745 * shell.el (shell-delimiter-argument-list):
14746 Revert 2011-02-17 change. (Bug#8027)
14748 2012-02-15 Chong Yidong <cyd@gnu.org>
14750 * minibuffer.el (completion-at-point-functions): Doc fix.
14752 * custom.el (defcustom): Doc fix; note use of defvar.
14754 2012-02-15 Glenn Morris <rgm@gnu.org>
14756 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
14759 2012-02-14 Glenn Morris <rgm@gnu.org>
14761 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
14763 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
14765 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
14766 way the ports list is computed.
14767 (smtpmail-query-smtp-server): Prompt the user for a port number if
14768 we can't connect to any of the standard ports (bug#10810).
14770 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
14772 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
14774 2012-02-13 Glenn Morris <rgm@gnu.org>
14776 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
14778 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
14780 * net/gnutls.el (gnutls-trustfiles): New variable.
14781 (gnutls-negotiate): Use it.
14783 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
14785 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
14786 does its stuff if Gnus is running.
14788 2012-02-13 Alan Mackenzie <acm@muc.de>
14790 Fix a loop in c-set-fl-decl-start.
14792 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
14793 c-backward-syntactic-ws actually moves backwards.
14795 2012-02-13 Leo Liu <sdl.web@gmail.com>
14797 * net/rcirc.el (rcirc-markup-attributes): Move point to the
14798 beginning so that all \C-o chars are removed.
14800 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
14802 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
14804 2012-02-12 Alan Mackenzie <acm@muc.de>
14806 Fix infinite loop with long macros.
14807 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
14809 2012-02-12 Chong Yidong <cyd@gnu.org>
14811 * window.el (display-buffer): Doc fix (Bug#10785).
14813 2012-02-12 Glenn Morris <rgm@gnu.org>
14815 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
14816 (x-disown-selection-internal, x-get-selection-internal):
14817 Sync docs with the xselect.c versions.
14819 * allout-widgets.el: Add missing license notice.
14821 2012-02-11 Glenn Morris <rgm@gnu.org>
14823 * select.el (x-get-selection-internal, x-own-selection-internal)
14824 (x-disown-selection-internal):
14825 * x-dnd.el (x-get-selection-internal): Update declarations.
14827 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
14829 * window.el (window-sides-slots):
14830 * tool-bar.el (tool-bar-position):
14831 * term/xterm.el (xterm-extra-capabilities):
14832 * ses.el (ses-self-reference-early-detection):
14833 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
14834 (verilog-auto-wire-type)
14835 (verilog-auto-delete-trailing-whitespace)
14836 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
14837 (verilog-auto-tieoff-declaration):
14838 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
14839 (sql-oracle-statement-starters, sql-oracle-scan-on):
14840 * progmodes/prolog.el (prolog-align-comments-flag)
14841 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
14842 (prolog-left-indent-regexp, prolog-paren-indent-p)
14843 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
14844 (prolog-types, prolog-mode-specificators)
14845 (prolog-determinism-specificators, prolog-directives)
14846 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
14847 (prolog-electric-dot-flag)
14848 (prolog-electric-dot-full-predicate-template)
14849 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
14850 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
14851 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
14852 (prolog-program-switches, prolog-prompt-regexp)
14853 (prolog-debug-on-string, prolog-debug-off-string)
14854 (prolog-trace-on-string, prolog-trace-off-string)
14855 (prolog-zip-on-string, prolog-zip-off-string)
14856 (prolog-use-standard-consult-compile-method-flag)
14857 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
14858 (prolog-imenu-max-lines, prolog-info-predicate-index)
14859 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
14860 (prolog-char-quote-workaround):
14861 * progmodes/cc-vars.el (c-defun-tactic):
14862 * net/tramp.el (tramp-encoding-command-interactive)
14863 (tramp-local-end-of-line):
14864 * net/soap-client.el (soap-client):
14865 * net/netrc.el (netrc-file):
14866 * net/gnutls.el (gnutls):
14867 * minibuffer.el (completion-category-overrides)
14868 (completion-cycle-threshold)
14869 (completion-pcm-complete-word-inserts-delimiters):
14870 * man.el (Man-name-local-regexp):
14871 * mail/feedmail.el (feedmail-display-full-frame):
14872 * international/characters.el (glyphless-char-display-control):
14873 * eshell/em-ls.el (eshell-ls-date-format):
14874 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
14875 (lisp-lambda-list-keyword-parameter-indentation)
14876 (lisp-lambda-list-keyword-parameter-alignment):
14877 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
14878 * dired-x.el (dired-omit-verbose):
14879 * cus-theme.el (custom-theme-allow-multiple-selections):
14880 * calc/calc.el (calc-highlight-selections-with-faces)
14881 (calc-lu-field-reference, calc-lu-power-reference)
14882 (calc-note-threshold):
14883 * battery.el (battery-mode-line-limit):
14884 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
14885 (archive-7z-update):
14886 * allout.el (allout-prefixed-keybindings)
14887 (allout-unprefixed-keybindings)
14888 (allout-inhibit-auto-fill-on-headline)
14889 (allout-flattened-numbering-abbreviation):
14890 * allout-widgets.el (allout-widgets-auto-activation)
14891 (allout-widgets-icons-dark-subdir)
14892 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
14893 (allout-widgets-theme-dark-background)
14894 (allout-widgets-theme-light-background)
14895 (allout-widgets-item-image-properties-emacs)
14896 (allout-widgets-item-image-properties-xemacs)
14897 (allout-widgets-run-unit-tests-on-load)
14898 (allout-widgets-time-decoration-activity)
14899 (allout-widgets-hook-error-post-time)
14900 (allout-widgets-track-decoration):
14901 Add missing :version tags to new defcustoms and defgroups.
14903 * progmodes/sql.el (sql-ansi-statement-starters)
14904 (sql-oracle-statement-starters): Add custom type.
14906 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
14907 (prolog-system-version): Give it a type.
14909 2012-02-11 Eli Zaretskii <eliz@gnu.org>
14911 * term/pc-win.el (x-select-text, x-selection-owner-p)
14912 (x-own-selection-internal, x-disown-selection-internal)
14913 (x-get-selection-internal): Sync doc strings and argument lists
14914 with xselect.c, common-win.el and x-win.el. (Bug#10783)
14916 2012-02-11 Leo Liu <sdl.web@gmail.com>
14918 * progmodes/python.el (python-end-of-statement): Fix infinite
14921 2012-02-10 Glenn Morris <rgm@gnu.org>
14923 * international/mule-cmds.el (unify-8859-on-encoding-mode)
14924 (unify-8859-on-decoding-mode): Properly mark as obsolete.
14926 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
14928 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
14929 about SMTP before checking the From header.
14931 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
14932 into own function for reuse by emacsbug.el.
14934 2012-02-10 Leo Liu <sdl.web@gmail.com>
14936 * subr.el (condition-case-unless-debug): Rename from
14937 condition-case-no-debug. All callers changed.
14938 (with-demoted-errors): Fix caller.
14940 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
14941 * nxml/rng-valid.el (rng-do-some-validation):
14942 * emacs-lisp/package.el (package-refresh-contents)
14943 (package-menu-execute):
14944 * desktop.el (desktop-create-buffer):
14945 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
14947 2012-02-10 Glenn Morris <rgm@gnu.org>
14949 * textmodes/bibtex.el:
14950 Add missing :version tags for new/changed defcustoms.
14952 * files.el (remote-file-name-inhibit-cache): Doc fixes.
14954 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
14956 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
14957 (smtpmail-via-smtp): Use it, or fall back on the From address.
14958 (smtpmail-send-it): Ditto.
14960 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
14962 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
14963 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
14964 (byte-compile-tmp-var): New const.
14965 (byte-compile-defvar): Use it to minimize .elc size.
14966 Just use `defvar' rather than simulate it (bug#10761).
14968 2012-02-09 Glenn Morris <rgm@gnu.org>
14970 * files.el (rename-uniquely): Doc fix. (Bug#3806)
14972 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
14975 * progmodes/compile.el (compilation-error-screen-columns)
14976 (compilation-first-column, compilation-filter-start): Doc fixes.
14978 * vc/log-view.el (log-view-toggle-entry-display):
14979 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
14981 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
14982 (report-emacs-bug-can-use-xdg-email):
14983 (report-emacs-bug-insert-to-mailer): Doc fixes.
14984 (report-emacs-bug): Message fix.
14986 * net/browse-url.el (browse-url-can-use-xdg-open)
14987 (browse-url-xdg-open): Doc fixes.
14989 * electric.el (electric-indent-mode, electric-pair-mode)
14990 (electric-layout-rules, electric-layout-mode): Doc fixes.
14991 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
14993 2012-02-08 Martin Rudalics <rudalics@gmx.at>
14995 * server.el (server-unselect-display): Don't inadvertently kill
14996 the current buffer. (Bug#10729)
14998 2012-02-08 Glenn Morris <rgm@gnu.org>
15000 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
15001 (sql-list-table): Doc fixes.
15003 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
15004 Comment out (does nothing).
15006 * completion.el (dynamic-completion-mode):
15007 * dirtrack.el (dirtrack-debug-mode):
15008 * electric.el (electric-layout-mode):
15009 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
15010 * face-remap.el (text-scale-mode, buffer-face-mode):
15011 * iimage.el (iimage-mode):
15012 * image-mode.el (image-transform-mode):
15013 * minibuffer.el (completion-in-region-mode):
15014 * scroll-lock.el (scroll-lock-mode):
15015 * simple.el (next-error-follow-minor-mode):
15016 * tar-mode.el (tar-subfile-mode):
15017 * tooltip.el (tooltip-mode):
15018 * vcursor.el (vcursor-use-vcursor-map):
15019 * wid-browse.el (widget-minor-mode):
15020 * emulation/tpu-edt.el (tpu-edt-mode):
15021 * emulation/tpu-extras.el (tpu-cursor-free-mode):
15022 * international/iso-ascii.el (iso-ascii-mode):
15023 * language/thai-util.el (thai-word-mode):
15024 * mail/supercite.el (sc-minor-mode):
15025 * net/goto-addr.el (goto-address-mode):
15026 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
15027 * progmodes/cwarn.el (cwarn-mode):
15028 * progmodes/flymake.el (flymake-mode):
15029 * progmodes/glasses.el (glasses-mode):
15030 * progmodes/hideshow.el (hs-minor-mode):
15031 * progmodes/pascal.el (pascal-outline-mode):
15032 * textmodes/enriched.el (enriched-mode):
15033 * vc/smerge-mode.el (smerge-mode):
15034 Doc fixes (minor mode argument).
15036 2012-02-07 Eli Zaretskii <eliz@gnu.org>
15038 * ls-lisp.el (ls-lisp-sanitize): New function.
15039 (ls-lisp-insert-directory): Use it to fix or remove any elements
15040 in file-alist with missing attributes. (Bug#4673)
15042 2012-02-07 Alan Mackenzie <acm@muc.de>
15044 Fix spurious recognition of c-in-knr-argdecl.
15046 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
15047 putative K&R region.
15049 2012-02-07 Alan Mackenzie <acm@muc.de>
15051 * progmodes/cc-engine.el (c-forward-objc-directive):
15052 Prevent looping in "#pragma mark @implementation".
15054 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
15056 * notifications.el (notifications-on-closed-signal): Make `reason'
15057 optional. (Bug#10744)
15059 2012-02-07 Glenn Morris <rgm@gnu.org>
15061 * emacs-lisp/easy-mmode.el (define-minor-mode):
15062 Doc fixes for the macro and the mode it defines.
15064 * image.el (imagemagick-types-inhibit): Doc fix.
15066 * cus-start.el (imagemagick-render-type): Add it.
15068 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
15070 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
15071 Set the default at load time, too, so that `font-lock-fontify-buffer'
15072 can be called without setting up the entire mode first. This fixes
15073 a bug in `mm-inline-text' with C MIME parts.
15075 2012-02-06 Chong Yidong <cyd@gnu.org>
15077 * simple.el (list-processes--refresh): Delete exited processes
15080 * comint.el (comint-next-prompt): next-single-char-property-change
15081 and prev-single-char-property-change never return nil (Bug#8657).
15083 * custom.el (defcustom): Doc fix (Bug#9711).
15085 2012-02-05 Chong Yidong <cyd@gnu.org>
15087 * cus-edit.el (custom-variable-reset-backup): Quote the value
15088 before storing it in the customized-value property (Bug#6712).
15089 (custom-display): Add a customization type tag.
15090 (custom-buffer-create-internal): Improve tooltip message.
15092 * wid-edit.el (widget-field-value-get): New optional arg to
15093 suppress trailing whitespace truncation.
15094 (character): Use it (Bug#2689).
15096 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
15098 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
15099 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
15101 2012-02-05 Chong Yidong <cyd@gnu.org>
15103 * cus-edit.el (custom-variable-value-create): For mismatched
15104 types, show the current value (Bug#7600).
15106 * custom.el (defcustom): Doc fix.
15108 2012-02-05 Glenn Morris <rgm@gnu.org>
15110 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
15112 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
15114 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
15115 (pp-buffer): Use `ignore-errors', `looking-at-p'.
15116 (pp-last-sexp): Use `looking-at-p'.
15118 2012-02-04 Glenn Morris <rgm@gnu.org>
15120 * files.el (revert-buffer):
15121 Doc fix (mention revert-buffer-in-progress-p).
15123 * emacs-lisp/ert-x.el (ert-simulate-command):
15124 Check deferred-action-list (which is obsolete) is bound.
15126 * subr.el (with-wrapper-hook): Doc fixes.
15128 * simple.el (filter-buffer-substring-functions)
15129 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
15131 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
15133 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
15134 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
15136 2012-02-04 Leo Liu <sdl.web@gmail.com>
15138 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
15140 2012-02-04 Glenn Morris <rgm@gnu.org>
15142 * image.el (image-extension-data): Add obsolete alias.
15144 * isearch.el (isearch-update): Doc fix.
15146 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
15148 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
15150 2012-02-03 Glenn Morris <rgm@gnu.org>
15152 * image.el (image-animated-p): Doc fix. Use image-animated-types.
15153 (image-animate-timeout): Doc fix.
15155 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
15157 2012-02-02 Glenn Morris <rgm@gnu.org>
15159 * server.el (server-auth-dir): Doc fix.
15160 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
15162 * subr.el (run-mode-hooks): Doc fix.
15164 2012-02-02 Juri Linkov <juri@jurta.org>
15166 * image-mode.el (image-toggle-display-image): Remove tautological
15167 `major-mode' from the `derived-mode-p' test.
15169 2012-02-02 Kenichi Handa <handa@m17n.org>
15171 * composite.el (compose-region): Cancel previous change.
15173 2012-02-02 Kenichi Handa <handa@m17n.org>
15175 * composite.el (compose-region, compose-string): Signal error for
15176 a null string component (Bug#6988).
15178 2012-02-01 Chong Yidong <cyd@gnu.org>
15180 * view.el (view-buffer-other-window, view-buffer-other-frame):
15181 Handle special modes like view-buffer (Bug#10650).
15182 (view-buffer): Simplify.
15184 * frame.el (set-frame-font): Tweak meaning of third argument.
15186 * dynamic-setting.el (font-setting-change-default-font):
15187 Use set-frame-font (Bug#9982).
15189 2012-02-01 Glenn Morris <rgm@gnu.org>
15191 * progmodes/compile.el (compilation-internal-error-properties):
15192 Respect compilation-first-column in the "*compilation*" buffer.
15194 * emacs-lisp/easy-mmode.el (define-minor-mode):
15195 Relax :variable's test for a named function.
15197 2012-01-31 Alan Mackenzie <acm@muc.de>
15199 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
15202 2012-01-31 Chong Yidong <cyd@gnu.org>
15204 * frame.el (set-frame-font): New arg ALL-FRAMES.
15206 * menu-bar.el (menu-set-font): Use set-frame-font.
15208 * faces.el (face-spec-reset-face): Don't apply unspecified
15209 attribute values to the default face.
15211 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
15213 * progmodes/cwarn.el (cwarn): Remove dead link.
15214 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
15215 Remove * from defcustom docstrings.
15216 (turn-on-cwarn-mode): Make obsolete.
15217 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
15218 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
15220 2012-01-31 Glenn Morris <rgm@gnu.org>
15222 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
15223 Fix :variable handling of mode a symbol not equal to modefun.
15224 Allow named functions to be used as the cdr of :variable.
15226 2012-01-30 Glenn Morris <rgm@gnu.org>
15228 * emacs-lisp/authors.el (authors-fixed-entries):
15229 Remove reference to deleted file rnewspost.el.
15231 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
15233 * window.el (window-with-parameter): Remove unused variable `windows'.
15234 (window--side-check): Remove unused variable `code'.
15235 (window--resize-siblings): Remove unused variable `first'.
15236 (adjust-window-trailing-edge): Remove unused variable `failed'.
15237 (window-deletable-p, window--delete): Remove unused variable `buffer'.
15238 Use `let', not `let*'.
15239 (balance-windows-2): Remove unused variable `found'.
15240 (window--state-put-2): Remove unused variable `splits'.
15241 (window-state-put): Remove unused variable `selected'.
15242 (same-window-p): Use `string-match-p'.
15243 (display-buffer-assq-regexp): Remove unused variable `value'.
15244 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
15245 Mark argument ALIST as ignored.
15246 (pop-to-buffer): Remove unused variable `old-window'.
15248 2012-01-29 Eli Zaretskii <eliz@gnu.org>
15250 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
15251 and .lzma compressed files.
15253 2012-01-29 Chong Yidong <cyd@gnu.org>
15255 * frame.el (window-system-default-frame-alist): Doc fix.
15257 * dynamic-setting.el (font-setting-change-default-font): Don't
15258 change the default face if SET-FONT argument is non-nil (Bug#9982).
15260 2012-01-29 Samuel Bronson <naesten@gmail.com>
15262 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
15264 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
15266 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
15267 breakpoints in files outside current directory (Bug#6098).
15269 2012-01-29 Chong Yidong <cyd@gnu.org>
15271 * progmodes/python.el: Require ansi-color at top-level.
15273 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
15274 Define and use in Emacs Lisp mode (Bug#9360).
15275 (lisp-mode-abbrev-table): Add doc.
15276 (lisp-mode-variables): Don't set local-abbrev-table.
15277 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
15279 2012-01-28 Roland Winkler <winkler@gnu.org>
15281 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
15283 2012-01-28 Roland Winkler <winkler@gnu.org>
15285 * textmodes/bibtex.el (bibtex-entry-alist): New function.
15286 (bibtex-set-dialect): Use it. Either set global values of
15287 dialect-dependent variables or bind these variables buffer-locally
15289 (bibtex-mode): Call bibtex-set-dialect via
15290 hack-local-variables-hook.
15291 (bibtex-dialect): Update docstring.
15292 Add safe-local-variable predicate.
15293 (bibtex-entry-alist, bibtex-field-alist): Initialize via
15294 bibtex-set-dialect.
15295 (bibtex-mode-map): Define menu for each dialect.
15296 (bibtex-entry): Fix docstring.
15298 2012-01-28 Chong Yidong <cyd@gnu.org>
15300 * eshell/esh-arg.el (eshell-quote-argument): New function.
15302 * eshell/esh-ext.el (eshell-invoke-batch-file):
15303 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
15304 first arg to eshell-parse-command (Bug#10523).
15306 2012-01-28 Drew Adams <drew.adams@oracle.com>
15308 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
15309 `default-directory' is non-nil.
15311 2012-01-28 Eli Zaretskii <eliz@gnu.org>
15313 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
15314 line that displays system-configuration-options. (Bug#9924)
15316 2012-01-28 Drew Adams <drew.adams@oracle.com>
15318 * descr-text.el (describe-char): Show information about POS, in
15319 addition to information about the character at POS. Improve and
15320 update the doc string. Change "code point" to "code point in
15321 charset", to avoid confusion with the character's Unicode code
15322 point shown above that. (Bug#10129)
15324 2012-01-28 Eli Zaretskii <eliz@gnu.org>
15326 * descr-text.el (describe-char): Show the raw character, not only
15327 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
15328 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
15331 2012-01-28 Phil Hagelberg <phil@hagelb.org>
15333 * emacs-lisp/package.el (package-install):
15334 Run package-refresh-contents if there is no archive yet (Bug#9798).
15336 2012-01-28 Chong Yidong <cyd@gnu.org>
15338 * emacs-lisp/package.el (package-maybe-load-descriptor):
15339 New function, split from package-maybe-load-descriptor.
15340 (package-maybe-load-descriptor): Use it.
15341 (package-download-transaction): Fully load required packages
15342 inside the loop, so that `require' calls work (Bug#10593).
15343 (package-install): No need to call package-initialize now.
15345 2012-01-28 Chong Yidong <cyd@gnu.org>
15347 * simple.el (deactivate-mark): Doc fix (Bug#8614).
15349 * tooltip.el (tooltip-mode): Doc fix.
15350 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
15352 * frame.el (set-cursor-color): Doc fix (Bug#352).
15354 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
15355 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
15357 * cus-edit.el (custom-buffer-create-internal): Fix search button
15358 action (Bug#10542).
15359 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
15361 2012-01-27 Eduard Wiebe <usenet@pusto.de>
15363 * dired.el (dired-mark-files-regexp):
15364 Include any subdirectory components. (Bug#10445)
15366 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
15368 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
15369 Handle [host]:port syntax. (Bug#10533)
15371 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
15373 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
15375 2012-01-26 Glenn Morris <rgm@gnu.org>
15377 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
15378 * term.el (term-raw-escape-map): Use Control-X-prefix.
15379 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
15381 2012-01-25 Martin Rudalics <rudalics@gmx.at>
15383 * window.el (window-state-get, window--state-get-1): Don't deal
15384 with fixed-sizeness of windows. Simplify code.
15386 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
15388 * window.el (window--state-get-1, window--state-put-2):
15389 Don't save and restore the mark.
15391 2012-01-25 Chong Yidong <cyd@gnu.org>
15393 * custom.el (custom-variable-p): Doc fix.
15395 2012-01-25 Glenn Morris <rgm@gnu.org>
15397 * dired.el (dired-goto-file): Handle some of the more common
15398 characters that `ls -b' escapes. (Bug#10596)
15400 * progmodes/compile.el (compilation-next-error-function):
15401 Respect compilation-first-column in the "*compilation*" buffer.
15402 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
15404 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
15406 2012-01-24 Glenn Morris <rgm@gnu.org>
15408 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
15410 2012-01-24 Julien Danjou <julien@danjou.info>
15412 * color.el (color-rgb-to-hsl): Fix value computing.
15413 (color-hue-to-rgb): New function.
15414 (color-hsl-to-rgb): New function.
15415 (color-clamp, color-saturate-hsl, color-saturate-name)
15416 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
15417 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
15419 2012-01-24 Glenn Morris <rgm@gnu.org>
15421 * vc/vc-rcs.el (vc-rcs-create-tag):
15422 * vc/vc-sccs.el (vc-sccs-create-tag):
15423 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
15425 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
15427 * eshell/esh-util.el (eshell-read-hosts-file):
15428 Skip comment lines. (Bug#10549)
15430 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
15432 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
15434 * subr.el (display-delayed-warnings): Doc fix.
15435 (collapse-delayed-warnings): New function to collapse identical
15437 (delayed-warnings-hook): Add it.
15439 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
15441 * net/tramp.el (tramp-action-login): Set connection property "login-as".
15443 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
15444 (tramp-default-user-alist): Don't add "pscp".
15445 (tramp-do-copy-or-rename-file-out-of-band): Use connection
15446 property "login-as", if set. (Bug#10530)
15448 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
15450 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
15451 "plink1" and "psftp". (Bug#10530)
15453 2012-01-21 Kenichi Handa <handa@m17n.org>
15455 * international/mule-cmds.el (prefer-coding-system): Show a
15456 warning message if the default value of file-name-coding-system
15459 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
15461 * windmove.el (windmove-reference-loc):
15462 Fix windmove-reference-loc miscalculation.
15464 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
15466 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
15469 2012-01-21 Glenn Morris <rgm@gnu.org>
15471 * international/mule.el (auto-coding-alist): Add .tbz.
15473 * files.el (local-enable-local-variables): Doc fix.
15474 (inhibit-local-variables-regexps): Rename from
15475 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
15476 Doc fix. Add some extensions from auto-coding-alist.
15477 (inhibit-local-variables-suffixes):
15478 Rename from inhibit-first-line-modes-suffixes. Doc fix.
15479 (inhibit-local-variables-p):
15480 New function, extracted from set-auto-mode-1.
15481 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
15482 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
15483 (hack-local-variables): Doc fix. Make the mode-only case
15484 respect enable-local-variables and friends.
15485 Respect inhibit-local-variables-regexps for file-locals, but
15486 not for directory-locals.
15487 (set-visited-file-name):
15488 Take account of inhibit-local-variables-regexps.
15489 Whether it applies may change as the file name is changed.
15490 * jka-cmpr-hook.el (jka-compr-install):
15491 * jka-compr.el (jka-compr-uninstall):
15492 Update for inhibit-first-line-modes-suffixes name change.
15494 2012-01-20 Martin Rudalics <rudalics@gmx.at>
15496 * help-macro.el (make-help-screen): Temporarily restore original
15497 binding for minor-mode-map-alist (Bug#10454).
15499 2012-01-19 Julien Danjou <julien@danjou.info>
15501 * color.el (color-name-to-rgb): Use the white color to find the max
15502 color component value and return correctly computed values.
15503 (color-name-to-rgb): Add missing float conversion for max value.
15505 2012-01-19 Martin Rudalics <rudalics@gmx.at>
15507 * window.el (window--state-get-1, window-state-get): Do not use
15508 special state value for window-persistent-parameters.
15509 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
15510 (window--state-put-2): Reset all window parameters to nil before
15511 assigning values of persistent parameters.
15513 2012-01-18 Alan Mackenzie <acm@muc.de>
15515 Eliminate sluggishness and hangs in fontification of "semicolon
15518 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
15519 Change value 10000 -> 3000.
15520 (c-state-safe-place): Reformulate so it doesn't stack up an
15521 infinite number of wrong entries in c-state-nonlit-pos-cache.
15522 (c-determine-limit-get-base, c-determine-limit): New functions to
15523 determine backward search limits disregarding literals.
15524 (c-find-decl-spots): Amend commenting.
15525 (c-cheap-inside-bracelist-p): New function which detects "={".
15527 * progmodes/cc-fonts.el
15528 (c-make-font-lock-BO-decl-search-function): Give a limit to a
15530 (c-font-lock-declarations): Fix an occurrence of point being
15531 undefined. Check additionally for point being in a bracelist or
15532 near a macro invocation without a semicolon so as to avoid a
15533 fruitless time consuming search for a declarator. Give a more
15534 precise search limit for declarators using the new
15537 2012-01-18 Glenn Morris <rgm@gnu.org>
15539 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
15540 (set-auto-mode): Doc fixes.
15542 2012-01-17 Glenn Morris <rgm@gnu.org>
15544 * isearch.el (search-nonincremental-instead): Fix doc typo.
15546 * dired.el (dired-insert-directory): Handle newlines in directory name.
15547 (dired-build-subdir-alist): Unescape newlines in directory name.
15549 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
15551 * net/tramp.el (tramp-local-end-of-line): New defcustom.
15552 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
15553 (tramp-action-terminal): Use it. (Bug#10530)
15555 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
15557 * minibuffer.el (completion--replace): Strip properties (bug#10062).
15559 2012-01-16 Martin Rudalics <rudalics@gmx.at>
15561 * window.el (window-state-ignored-parameters): Remove variable.
15562 (window--state-get-1): Rename argument MARKERS to IGNORE.
15563 Handle persistent window parameters. Make copy of clone-of
15564 parameter only if requested. (Bug#10348)
15565 (window--state-put-2): Install a window parameter only if it has
15566 a non-nil value or an existing parameter shall be overwritten.
15568 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
15570 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
15572 2012-01-14 Eli Zaretskii <eliz@gnu.org>
15574 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
15575 don't pass the (nil) value of `upnode' to string-match.
15577 2012-01-14 Chong Yidong <cyd@gnu.org>
15579 * startup.el (command-line): Fix X resource class for cursorColor.
15580 Fix values recognized by the cursorBlink resource.
15582 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
15584 * epg.el (epg--make-temp-file): Avoid permission race condition
15585 when running on old Emacs versions (bug#10403).
15587 2012-01-14 Glenn Morris <rgm@gnu.org>
15589 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
15591 2012-01-13 Alan Mackenzie <acm@muc.de>
15593 Fix filling for when filladapt mode is enabled.
15595 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
15596 c-mask-paragraph, pass in `fill-paragraph' rather than
15597 `fill-region-as-paragraph'. (This is a reversion of a previous
15599 * progmodes/cc-mode.el (c-basic-common-init):
15600 Make fill-paragraph-handle-comment buffer local and set it to nil.
15602 2012-01-13 Glenn Morris <rgm@gnu.org>
15604 * dired.el (dired-switches-escape-p): New function.
15605 (dired-insert-directory): Use dired-switches-escape-p.
15606 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
15608 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
15610 2012-01-12 Glenn Morris <rgm@gnu.org>
15612 * mail/sendmail.el (mail-mode): Update paragraph-separate for
15613 changes in adaptive-fill-regexp. (Bug#10276)
15615 2012-01-11 Alan Mackenzie <acm@muc.de>
15617 Fix Emacs bug #10463 - put `widen's around the critical spots.
15619 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
15620 widen around each invocation of c-state-pp-to-literal. Remove an
15621 unused let variable.
15623 2012-01-11 Glenn Morris <rgm@gnu.org>
15625 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
15628 2012-01-10 Chong Yidong <cyd@gnu.org>
15630 * net/network-stream.el (network-stream-open-starttls):
15631 Avoid emitting a confusing error message when the server gives a bad
15632 response to the capability command.
15634 2012-01-10 Glenn Morris <rgm@gnu.org>
15636 * mail/unrmail.el (unrmail): Tweak previous change.
15638 2012-01-09 Chong Yidong <cyd@gnu.org>
15640 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
15642 2012-01-08 Alan Mackenzie <acm@muc.de>
15644 Optimize font locking in long enum definitions.
15646 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
15647 arm to a cond form to handle enums.
15648 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
15649 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
15651 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
15653 * files.el (move-file-to-trash): Preserve default file modes on error.
15656 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
15658 * faces.el (set-face-attribute): Clarify the meaning of the nil
15661 * subr.el (with-selected-frame): Mention that the selected frame
15662 is restored (bug#9980).
15664 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
15667 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
15668 (password-read): Don't autoload unused function.
15670 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
15672 * progmodes/which-func.el (which-func-mode): Turn into a
15673 non-interactive function and mark as obsolete (bug#10428).
15675 2012-01-06 Chong Yidong <cyd@gnu.org>
15677 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
15678 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
15679 functions, along with 1 and -1.
15681 2012-01-06 Eli Zaretskii <eliz@gnu.org>
15683 * time.el (display-time-load-average)
15684 (display-time-default-load-average): Doc fixes. See the thread
15686 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
15689 2012-01-06 Glenn Morris <rgm@gnu.org>
15691 * mail/unrmail.el (unrmail): Give an explicit error if the input file
15692 has no messages. (Bug#10377)
15694 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
15695 than Info-edit. (Bug#10385)
15697 * time.el (display-time-load-average, display-time-next-load-average):
15700 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
15701 local setting of buffer-read-only to the input buffer. (Bug#10419)
15703 * calendar/calendar.el (calendar-mode):
15704 Locally set scroll-margin to 0. (Bug#10379)
15706 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
15708 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
15710 2012-01-05 Glenn Morris <rgm@gnu.org>
15712 * eshell/em-unix.el (diff-no-select): Autoload it.
15713 (eshell/diff): Use diff-no-select. (Bug#10420)
15715 2012-01-05 Chong Yidong <cyd@gnu.org>
15717 * shell.el (shell-dynamic-complete-functions): Revert last change.
15718 (shell-command-completion-function): New function.
15719 (shell-completion-vars): Use it to implement
15720 shell-completion-execonly (Bug#10417).
15722 * custom.el (enable-theme): Don't set custom-safe-themes.
15724 * cus-theme.el (custom-theme-merge-theme):
15725 Ignore custom-enabled-themes and custom-safe-themes.
15727 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
15729 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
15730 first prompt in `sql-interacive-mode'.
15731 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
15733 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
15734 (sql-product-interactive): Bug fix: Set `sql-buffer' in
15735 context of original buffer. Invoke `sql-login-hook'.
15737 2012-01-04 Eli Zaretskii <eliz@gnu.org>
15739 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
15740 letters in cite-prefix.
15742 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15744 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
15746 2012-01-03 Chong Yidong <cyd@gnu.org>
15748 * shell.el (shell-dynamic-complete-functions):
15749 Put pcomplete-completions-at-point, so as to try
15750 comint-filename-completion first (Bug#10417).
15752 2012-01-02 Richard Stallman <rms@gnu.org>
15754 * battery.el (battery-status-function):
15755 Detect when to use battery-yeeloong-sysfs.
15756 (battery-echo-area-format): Add string for Yeeloong.
15757 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
15758 (battery-yeeloong-sysfs): New function.
15760 2012-01-02 Chong Yidong <cyd@gnu.org>
15762 * dirtrack.el (dirtrack-list): Eliminate unused third element.
15763 (dirtrack): Merge code for handling relative filenames in prompt
15764 from shell-dir-cookie-watcher.
15765 (dirtrack-debug-message): New arg to avoid excess format calls.
15767 * shell.el (shell-dir-cookie-re): Variable deleted.
15768 (shell-dir-cookie-watcher): Function deleted.
15769 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
15770 with dirtrack-mode.
15772 2012-01-01 Eli Zaretskii <eliz@gnu.org>
15774 * term/w32-win.el (dynamic-library-alist) <gnutls>:
15775 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
15778 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
15780 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
15782 2011-12-31 Eli Zaretskii <eliz@gnu.org>
15784 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
15785 headers of non-MIME messages, when rmail-enable-mime is non-nil.
15787 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
15789 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
15790 also for alternative shells.
15791 (tramp-open-connection-setup-interactive-shell): Check, whether
15792 the shell is a busybox.
15793 (tramp-send-command): Don't suppress multiple prompts for
15794 busyboxes, it hurts.
15796 2011-12-28 Chong Yidong <cyd@gnu.org>
15798 * progmodes/gdb-mi.el (gdb-get-source-file-list)
15799 (gdb-get-source-file): Move mode line update to
15800 gdb-get-source-file (Bug#10087).
15802 2011-12-25 Chong Yidong <cyd@gnu.org>
15804 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
15805 gud-gdb-marker-filter without taking it as an argument.
15806 (gud-gdb-run-command-fetch-lines): Caller changed.
15807 (gud-gdb-completion-function): New variable.
15808 (gud-gdb-completion-at-point): Use it.
15809 (gud-gdb-completions-1): Split from gud-gdb-completions.
15811 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
15812 function as separate arguments.
15813 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
15814 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
15815 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
15816 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
15817 (gdb-stopped, def-gdb-auto-update-trigger)
15818 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
15819 (gdb-get-changed-registers, gdb-get-main-selected-frame):
15821 (gud-gdbmi-completions): New function.
15822 (gdb): Use it for generating the completion table.
15824 2011-12-24 Alan Mackenzie <acm@muc.de>
15826 Introduce a mechanism to widen the region used in context font
15827 locking. Use this to protect declarations from losing their contexts.
15829 * progmodes/cc-langs.el (c-before-font-lock-functions):
15830 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
15831 (c-before-context-fontification-functions): New defvar, a list of
15832 functions to be run just before context (etc.) font locking.
15834 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
15835 New, functionality extracted from
15836 c-neutralize-syntax-in-and-mark-CPP.
15837 (c-in-after-change-fontification): New variable.
15838 (c-after-change): Set c-in-after-change-fontification.
15839 (c-set-fl-decl-start): Rejig its interface, so it can be called
15840 from both after-change and context fontifying.
15841 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
15843 (c-standard-font-lock-fontify-region-function): New variable.
15844 (c-font-lock-fontify-region): New function.
15846 2011-12-24 Juri Linkov <juri@jurta.org>
15848 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
15851 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
15853 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
15854 existence of source file. (Bug#10325)
15856 2011-12-23 Alan Mackenzie <acm@muc.de>
15858 Fix unstable fontification inside templates.
15860 * progmodes/cc-langs.el (c-before-font-lock-functions):
15861 Newly created from the singular version. The (c c++ objc) entry now
15862 additionally has c-set-fl-decl-start. The other languages (apart
15863 from AWK) have that as a single entry.
15865 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
15866 The functionality for "local" declarations has been extracted to
15867 c-set-fl-decl-start.
15869 * progmodes/cc-mode.el (c-common-init, c-after-change):
15870 Changes due to pluralisation of c-before-font-lock-functions.
15871 (c-set-fl-decl-start): New function, extracted from
15872 c-font-lock-enclosing-decls and enhanced.
15874 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
15876 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
15878 2011-12-22 Juri Linkov <juri@jurta.org>
15880 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
15882 2011-12-22 Chong Yidong <cyd@gnu.org>
15884 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
15886 2011-12-21 Drew Adams <drew.adams@oracle.com>
15888 * files.el (file-remote-p): Fix docstring. (Bug#10319)
15890 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
15892 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
15894 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
15896 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
15897 highlighting and support. Fix up comments for capitalization.
15898 (cfengine-mode-debug): New var.
15899 (cfengine3-mode): Change the modeline indicator to "CFE3".
15900 (cfengine3-font-lock-keywords): Improve defun highlighting.
15901 (cfengine2-actions): Rename from `cfengine-actions'.
15902 (cfengine2-font-lock-keywords): Rename from
15903 `cfengine-font-lock-keywords'.
15904 (cfengine2-imenu-expression): Rename from
15905 `cfengine-imenu-expression'.
15906 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
15907 (cfengine2-beginning-of-defun): Rename from
15908 `cfengine-beginning-of-defun'.
15909 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
15910 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
15911 (cfengine2-mode): Rename from `cfengine-mode'. Change the
15912 modeline indicator to "CFE2".
15913 (cfengine-mode): Defalias to `cfengine-auto-mode'.
15914 (cfengine-mode-abbrevs): Mark obsolete.
15916 2011-12-21 Chong Yidong <cyd@gnu.org>
15918 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
15921 2011-12-20 Martin Rudalics <rudalics@gmx.at>
15923 * window.el (window-normalize-buffer-to-display): Remove.
15924 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
15926 2011-12-19 Chong Yidong <cyd@gnu.org>
15928 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
15929 Don't signal an error in a predicate function; return non-nil.
15930 (vc-dir-mark-file): Move the error here.
15931 (vc-dir-mark-unmark): If acting on the region, keep going if one
15932 of the entries cannot be marked/unmarked.
15933 (vc-dir-mark-all-files): If current entry is a directory, mark
15934 only child files, as documented.
15936 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
15938 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
15939 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
15942 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
15944 * term/ns-win.el (ns-get-selection-internal)
15945 (ns-store-selection-internal): Declare.
15946 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
15947 Declare as obsolete.
15948 (ns-get-pasteboard, ns-paste-secondary):
15949 Use ns-get-selection-internal.
15950 (ns-set-pasteboard, ns-copy-including-secondary):
15951 Use ns-store-selection-internal.
15953 2011-12-17 Chong Yidong <cyd@gnu.org>
15955 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
15956 (vc-deduce-fileset): Doc fix.
15958 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
15960 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
15962 2011-12-13 Sam Steingold <sds@gnu.org>
15964 * man.el (Man-getpage-in-background): When running under a
15965 window-system, ignore $MANWIDTH and $COLUMNS.
15967 2011-12-15 Kenichi Handa <handa@m17n.org>
15969 * language/ethio-util.el: Change coding tag to utf-8-emacs.
15970 (setup-ethiopic-environment-internal): Comment out key-binding for
15971 ethio-toggle-punctuation.
15973 2011-12-13 Alan Mackenzie <acm@muc.de>
15975 Add the switch statement to AWK Mode.
15977 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
15978 "default" to the keywords regexp.
15980 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
15981 expression as the rest.
15982 (c-nonlabel-token-key): Allow string literals for AWK.
15983 Refactor for the other modes.
15985 Large brace-block initialisation makes CC Mode slow: Fix.
15986 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
15987 routines. Limit backward searching in c-font-lock-enclosing.decl.
15989 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
15990 pp-state and literal type in addition to the limits.
15991 (c-state-safe-place): New defun, extracted from c-state-literal-at.
15992 (c-state-literal-at): Use the above new defun.
15993 (c-slow-in-literal, c-fast-in-literal): Remove.
15994 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
15996 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
15997 being in a literal. Add a limit for backward searching.
15999 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
16002 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
16004 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
16006 2011-12-13 Martin Rudalics <rudalics@gmx.at>
16008 * window.el (delete-other-windows): Use correct frame in call to
16009 window-with-parameter.
16011 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
16013 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
16014 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
16015 (makefile-gmake-statements, makefile-makepp-statements):
16016 Use it and add new makepp keywords.
16017 (makefile-makepp-font-lock-keywords): Add new patterns.
16018 (makefile-match-function-end): Match new [...] and [[...]].
16020 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
16022 * ses.el (ses-call-printer-return, ses-cell-property-get)
16023 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
16024 (ses-create-cell-variable, ses-reset-header-string)
16025 (ses-cell-set-formula, ses-repair-cell-reference-all)
16026 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
16027 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
16028 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
16029 (ses-aset-with-undo, ses-load, ses-truncate-cell)
16030 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
16031 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
16032 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
16033 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
16034 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
16035 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
16036 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
16037 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
16039 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
16041 * ses.el: The overall change is to add cell renaming, that is
16042 setting fancy names for cell symbols other than name matching
16043 "\\`[A-Z]+[0-9]+\\'" regexp .
16044 (ses-create-cell-variable): New defun.
16045 (ses-relocate-formula): Relocate formulas only for cells the
16046 symbols of which are not renamed, i.e. symbols whose names do not
16047 match regexp "\\`[A-Z]+[0-9]+\\'".
16048 (ses-relocate-all): Relocate values only for cells the symbols of
16049 which are not renamed.
16050 (ses-load): Create cells variables as the (ses-cell ...) are read,
16051 in order to check row col consistency with cell symbol name only
16052 for cells that are not renamed.
16053 (ses-replace-name-in-formula): New defun.
16054 (ses-rename-cell): New defun.
16056 2011-12-11 Chong Yidong <cyd@gnu.org>
16058 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
16059 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
16061 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
16063 * window.el (other-window): Fix docstring.
16065 2011-12-10 Eli Zaretskii <eliz@gnu.org>
16067 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
16068 `from' or `to' address before taking its substring.
16069 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
16070 encoded name is chopped in the middle of the encoded string, and
16071 thus displayed encoded.
16073 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
16075 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
16077 2011-12-10 Eli Zaretskii <eliz@gnu.org>
16079 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
16080 to use texinfo-update-node and commands that call it if the
16081 Texinfo file uses @node lines without next/prev/up pointers.
16082 Correct outdated description about texinfo-master-menu.
16083 (texinfo-all-menus-update, texinfo-master-menu)
16084 (texinfo-update-node, texinfo-every-node-update)
16085 (texinfo-multiple-files-update): Doc fix. Warn against updating
16086 all the @node lines.
16087 (texinfo-master-menu): Only call texinfo-update-node if the prefix
16088 argument is numeric. Explain better in the doc string what the
16089 function really does.
16090 (texinfo-insert-master-menu-list): Improve the error message
16091 displayed if there's no menu in the Top node.
16092 (Bug#2975) See also this thread:
16093 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
16095 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
16097 * speedbar.el (speedbar-supported-extension-expressions):
16098 Add .adb and .ads, commonly used for Ada source code (bug#10256).
16100 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
16102 * printing.el (pr-mode-alist):
16103 * simple.el (filter-buffer-substring-functions)
16104 (completion-list-insert-choice-function):
16105 * window.el (window-with-parameter, window-atom-root)
16106 (window-sides-slots, window-size-fixed, window-min-delta)
16107 (window-max-delta, window--resize-mini-window)
16108 (window--resize-child-windows-normal, window-tree)
16109 (delete-other-windows, quit-window, split-window)
16110 (display-buffer-record-window, special-display-buffer-names)
16111 (special-display-regexps, special-display-popup-frame)
16112 (same-window-p, split-window-sensibly)
16113 (display-buffer-overriding-action, display-buffer-alist)
16114 (display-buffer-base-action, display-buffer, switch-to-buffer)
16115 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
16116 (fit-window-to-buffer, recenter-positions)
16117 (mouse-autoselect-window-state, mouse-autoselect-window-select):
16118 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
16119 and remove unneeded backslashes in docstrings.
16121 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
16123 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
16125 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
16126 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
16128 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
16129 when reading the makefile (bug#10116).
16131 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
16133 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
16136 2011-12-06 Glenn Morris <rgm@gnu.org>
16138 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
16140 2011-12-06 Chong Yidong <cyd@gnu.org>
16142 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
16144 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
16146 * textmodes/table.el (table-shorten-cell): Fix typo.
16148 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
16150 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
16152 2011-12-05 Eli Zaretskii <eliz@gnu.org>
16154 * descr-text.el (describe-char): Fix display of strong
16155 right-to-left characters and directional embeddings and overrides.
16157 * simple.el (what-cursor-position): Fix display of codepoints of
16158 strong right-to-left characters.
16160 2011-12-05 Chong Yidong <cyd@gnu.org>
16162 * faces.el (read-color): Doc fix.
16164 2011-12-05 Glenn Morris <rgm@gnu.org>
16166 * align.el (align--set-marker): Add doc-string.
16167 Don't try to move something that is not a marker. (Bug#10216)
16169 2011-12-04 Glenn Morris <rgm@gnu.org>
16171 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
16172 overly zealous deletion of trailing whitespace.
16174 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
16176 * server.el (server-delete-client): On Windows, do not try to delete
16178 (server-process-filter): On Windows, treat requests for a tty frame as
16179 if they were for a GUI frame if the running server is in GUI mode.
16181 2011-12-03 Glenn Morris <rgm@gnu.org>
16183 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
16185 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
16187 * electric.el: Streamline electric-indent's hook.
16188 (electric-indent-chars): Revert to simple list.
16189 (electric-indent-functions): New var.
16190 (electric-indent-post-self-insert-function): Use it.
16192 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
16193 there's no inferior buffer (bug#10196).
16194 (prolog-consult-compile): Don't use toggle-read-only.
16196 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
16198 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
16199 interrupt. (Bug#10187)
16201 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
16203 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
16206 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
16209 2011-12-02 Juri Linkov <juri@jurta.org>
16211 * info.el (Info-search): Display "end of manual" when Isearch
16212 reaches the end of single-file Info manual. (Bug#9918)
16214 2011-12-02 Eli Zaretskii <eliz@gnu.org>
16216 * isearch.el (isearch-message-prefix): Run the input method part
16217 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
16219 2011-12-02 Juri Linkov <juri@jurta.org>
16221 * isearch.el (isearch-occur): Use `word-search-regexp' for
16223 (isearch-search-and-update): Add condition for `isearch-word' and
16224 call `word-search-regexp'. (Bug#10145)
16226 2011-12-01 Glenn Morris <rgm@gnu.org>
16228 * eshell/em-hist.el (eshell-hist-initialize):
16229 Handle eshell-history-size nil and HISTSIZE set or unset.
16230 (eshell-history-file-name, eshell-history-size): Fix custom type.
16232 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
16234 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
16236 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
16238 * progmodes/verilog-mode.el (verilog-pretty-expr):
16239 Rework verilog-pretty-expr to handle new assignment operators in system
16240 verilog, such as += *= and the like.
16241 (verilog-assignment-operator-re): Regular expression to find the
16242 assigment operator in a verilog assignment.
16243 (verilog-assignment-operation-re): Regular expression to find an
16244 assignment statement for pretty-expr.
16245 (verilog-in-attribute-p): Query returns true if point is in an
16246 attribute context; used to skip these for expression line up from
16248 (verilog-in-parameter-p): Query returns true if point is in an
16249 parameter definition context; used to skip these for expression
16250 line up from pretty-expr.
16251 (verilog-in-parenthesis-p): Query returns true if point is in a
16252 parenthetical expression, specifically ( ) but not [ ] or { };
16253 used by pretty-expr.
16254 (verilog-just-one-space): If there is no space, don't add one.
16255 (verilog-get-lineup-indent-2): Specifically skip just attribute
16256 contexts for expression lineup, rather than skipping all
16257 parenthetical expressions.
16258 (verilog-calculate-indent): Fix comment, and fix indent.
16259 (verilog-do-indent): Indent declarations in lists (suggested by
16261 (verilog-mode-abbrev-table): Populate abbrev mode with the various
16263 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
16266 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
16268 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
16269 parameters with embedded comments. Reported by Ray Stevens.
16270 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
16271 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
16272 Reported by Tim Holt.
16273 (verilog-auto): Fix AUTOing a upper module then AUTOing module
16274 instantiated by upper module causing wrong expansion until AUTOed a
16275 second time. Reported by K C Buckenmaier.
16276 (verilog-diff-auto): Fix showing .* as a difference when
16277 `verilog-auto-star-save' off. Reported by Dan Dever.
16278 (verilog-auto-reset, verilog-read-always-signals)
16279 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
16280 temporary signals in reset list if
16281 verilog-auto-reset-blocking-in-non is nil, and match assignment
16282 style to each signal's assignment type, bug381.
16283 Reported by Thomas Esposito.
16284 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
16285 (verilog-uvm-statement-re): Support UVM indentation and
16286 highlighting, with old OVM keywords only.
16287 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
16288 Support AUTOTIEOFF creating non-wire data types.
16289 Suggested by Jonathan Greenlaw.
16290 (verilog-auto-insert-lisp, verilog-delete-to-paren)
16291 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
16292 (verilog-inject-sense, verilog-read-inst-pins)
16293 (verilog-read-sub-decls, verilog-read-sub-decls-line):
16294 Fix mismatching parenthesis inside commented out code when deleting
16295 AUTOINST, bug383. Reported by Jonathan Greenlaw.
16296 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
16297 non-numeric vector width. Reported by Alex Reed.
16298 (verilog-auto-ascii-enum): Add "onehot" option to work around not
16299 detecting signals with parameter widths. Reported by Alex Reed.
16300 (verilog-auto-delete-trailing-whitespace):
16301 With `verilog-auto-delete-trailing-whitespace' remove trailing
16302 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
16303 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
16304 Fix verilog-scan-cache corruption when running user AUTO expansion
16305 hooks that call indentation routines.
16306 (verilog-simplify-range-expression): Fix typo ignoring lower case
16308 (verilog-delete-auto): Fix delete-autos to also remove user created
16309 automatics, as long as they start with AUTO.
16310 (verilog-batch-diff-auto, verilog-diff-auto)
16311 (verilog-diff-function): Add `verilog-diff-auto' and bind to
16312 "C-c?" to report differences in AUTO expansion, ignoring spaces.
16313 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
16314 (verilog-in-paren-quick, verilog-re-search-backward-quick)
16315 (verilog-re-search-forward-quick, verilog-syntax-ppss):
16316 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
16317 is disabled and its cache will get corrupt, causing AUTOS not to
16318 expand. Instead use only -quick functions.
16319 (verilog-scan-region): Fix scanning over escaped quotes.
16320 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
16321 (verilog-re-search-backward-quick)
16322 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
16323 related functions now ignore strings, to fix misparsing of strings
16324 with magic comments embedded in them.
16325 (verilog-read-auto-template):
16326 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
16327 Reported by Brad Dobbie.
16328 (verilog-read-auto-template):
16329 Fix 'verilog-auto-inst-template-numbers' with comments.
16330 Reported by Brad Dobbie.
16331 (verilog-auto-inst, verilog-auto-inst-param)
16332 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
16333 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
16334 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
16335 debugging templates without merge conflicts, bug357.
16336 Reported by Brad Dobbie.
16337 (verilog-read-auto-template):
16338 Fix verilog-auto-inst-template-numbers with multiple templates.
16339 Reported by Brad Dobbie.
16340 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
16341 abbrevs so user won't be asked to save.
16342 (verilog-read-auto-lisp-present): Fix to start at beginning of
16343 buffer in case called outside of verilog-auto.
16344 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
16345 to "X-2". Reported by Matthew Myers.
16346 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
16347 all inputs from module templates. Reported by Leith Johnson.
16348 (verilog-module-inside-filename-p): Fix locating programs as with
16350 (verilog-auto-inst-port): Fix vl-width expressions when using
16351 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
16352 (verilog-decls-get-regs, verilog-decls-get-signals,
16353 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
16354 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
16355 verilog-read-decls): Combine reg and wire structures into one var
16356 structure to represent SystemVerilog concepts.
16357 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
16358 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
16359 (verilog-auto-wire-type, verilog-insert-definition):
16360 Add verilog-auto-wire-type and AUTOLOGIC to support using
16361 SystemVerilog "logic" keyword instead of "wire"/"reg".
16362 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
16363 to declares outputs that also have assignments (presumably in an
16364 ifdef or generate if so there's not a driver conflict).
16365 Reported by Matthew Myers.
16366 (verilog-auto-declare-nettype, verilog-insert-definition):
16367 Add verilog-auto-declare-nettype to fix declarations using
16368 `default_nettype none. Reported by Julian Gorfajn.
16369 (verilog-read-always-signals-recurse, verilog-read-decls)
16370 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
16371 malformed end statement, bug325. Reported by Joshua Wise and
16373 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
16374 (verilog-inst-comment-re): Fix not deleting Interfaced comment
16375 when expanding .* in interfaces, bug320.
16376 Reported by Pierre-David Pfister.
16377 (verilog-read-module-name): Fix import statements between module
16378 name and open parenthesis, bug317.
16379 Reported by Pierre-David Pfister.
16380 (verilog-simplify-range-expression): Fix simplification of
16381 multiplications inside AUTOWIRE connections, bug303.
16382 (verilog-auto-inst-port): Support parameter expansion in
16383 multidimensional arrays.
16384 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
16385 after "assert property". Reported by Julian Gorfajn.
16386 (verilog-simplify-range-expression): Fix "couldn't merge" errors
16387 with multiplication, bug303.
16388 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
16389 Reported by Jan Frode Lonnum.
16391 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
16393 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
16394 (hfy-shell-file-name, hfy-shell):
16395 * international/fontset.el (x-decompose-font-name): Fix typos.
16397 2011-11-29 Ken Brown <kbrown@cornell.edu>
16399 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
16400 (gdb-version): Remove defvar.
16401 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
16402 (gdb-gud-context-command, gdb-non-stop-handler)
16403 (gdb-current-context-command, gdb-stopped): Use it.
16404 (gdb-init-1): Enable pretty printing here.
16405 (gdb-non-stop-handler): Don't enable pretty-printing here.
16406 Check to see if the target supports non-stop mode; if not, turn off
16407 non-stop mode. Use the following.
16408 (gdb-check-target-async): New defun.
16409 (gud-watch, gdb-stopped): Fix whitespace.
16410 (gdb-get-source-file): Don't try to display the source file if
16411 `gdb-main-file' is nil.
16413 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
16415 * align.el: Try to generate fewer markers (bug#10047).
16416 (align--set-marker): New macro.
16417 (align-region): Use it.
16419 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
16421 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
16423 2011-11-29 Chong Yidong <cyd@gnu.org>
16425 * indent.el (indent-for-tab-command, indent-according-to-mode):
16427 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
16429 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
16431 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
16432 aware of remote file names. (Bug#10124)
16434 2011-11-29 Chong Yidong <cyd@gnu.org>
16436 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
16438 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
16440 * files.el (find-file): Don't use force-same-window (bug#10144).
16441 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
16442 use pop-to-buffer if the selected window can't be used.
16443 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
16445 2011-11-28 Eli Zaretskii <eliz@gnu.org>
16447 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
16450 2011-11-28 Chong Yidong <cyd@gnu.org>
16452 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
16454 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
16456 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
16457 gdb-get-source-file-list on gdb-create-source-file-list.
16459 2011-11-26 Eli Zaretskii <eliz@gnu.org>
16461 * whitespace.el (whitespace-newline): Use a different foreground
16462 color for 16-color light-background displays.
16464 2011-11-24 Chong Yidong <cyd@gnu.org>
16466 * window.el (display-buffer--special-action): Doc fix.
16468 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
16470 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
16471 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
16472 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
16473 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
16474 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
16475 (avl-tree-stack-first):
16476 * emacs-lisp/cconv.el (cconv--analyse-use):
16477 * net/gnutls.el (gnutls-negotiate): Fix typos.
16479 2011-11-24 Glenn Morris <rgm@gnu.org>
16481 * lpr.el (lpr-windows-system, lpr-lp-system):
16482 * mail/binhex.el (binhex-begin-line):
16483 * progmodes/grep.el (grep-history, grep-find-history):
16484 * textmodes/flyspell.el:
16485 * vc/pcvs-defs.el (cvs-global-menu):
16486 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
16487 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
16488 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
16490 * net/tls.el: Fix case of "GnuTLS".
16492 * paths.el (rmail-file-name): Format doc-string for make-docfile.
16494 * version.el (emacs-build-system): Give it a doc-string.
16496 2011-11-24 Juri Linkov <juri@jurta.org>
16498 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
16500 2011-11-24 Glenn Morris <rgm@gnu.org>
16502 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
16503 if called on a non-mime message just toggle the headers. (Bug#8006)
16505 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
16507 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
16508 (allout-lead-with-comment-string, allout-structure-deleted-hook)
16509 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
16510 (allout-rebullet-heading, allout-open-sibtopic)
16511 (allout-toggle-current-subtree-encryption)
16512 (allout-toggle-subtree-encryption, allout-encrypt-string)
16513 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
16514 (allout-distinctive-bullets-string, allout-auto-activation):
16515 * window.el (window-normalize-buffer-to-display):
16516 * progmodes/verilog-mode.el (verilog-batch-indent):
16517 * textmodes/bibtex.el (bibtex-field-braces-opt)
16518 (bibtex-field-strings-opt):
16519 * vc/cvs-status.el (cvs-tree-merge):
16522 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
16524 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
16525 `non-essential' to t, in order to avoid remote connections.
16527 2011-11-23 Eli Zaretskii <eliz@gnu.org>
16529 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
16530 On MS-DOS and MS-Windows, compare with loaddefs.el
16531 case-insensitively.
16533 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
16535 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
16537 2011-11-23 Glenn Morris <rgm@gnu.org>
16539 * paths.el (rmail-file-name): Reformat the doc-string so that it
16542 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
16543 (rmail-auto-file): Ignore case in the "special" field names,
16544 as mail-fetch-field does for all others.
16546 * mail/rmail.el (rmail-forward):
16547 * mail/rmailkwd.el (rmail-set-label):
16548 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
16549 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
16551 * mail/rmail.el (rmail-current-message): Doc fix.
16553 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
16555 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
16557 * server.el (server-eval-and-print): Allow C-g (bug#6585).
16559 2011-11-22 Glenn Morris <rgm@gnu.org>
16561 * mail/rmailmm.el (test-rmail-mime-handler)
16562 (test-rmail-mime-bulk-handler)
16563 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
16565 2011-11-21 Juri Linkov <juri@jurta.org>
16567 * calc/calc.el (calc-read-key-sequence):
16568 Let-bind `input-method-function' to nil. (Bug#10018)
16570 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
16572 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
16573 Tell the caller that the next line needs recomputation, even
16574 though it doesn't start a sexp (bug#10094).
16576 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
16578 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
16580 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
16582 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
16583 Use force-same-window.
16585 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
16587 * descr-text.el (describe-char-unicode-data):
16588 * json.el (json-string-escape):
16589 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
16590 (Footnote-unicode, Footnote-style-p):
16591 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
16593 2011-11-20 Chong Yidong <cyd@gnu.org>
16595 * window.el (replace-buffer-in-windows): Restore interactive spec.
16597 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
16599 * electric.el (electric-indent-mode): Fix last change (too optimistic).
16601 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
16602 (byte-compile-global-not-obsolete-vars): New var.
16603 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
16605 (byte-compile-warn-obsolete): Align text with the one in *Help*.
16607 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
16609 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
16610 * progmodes/pascal.el (electric-pascal-equal):
16611 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
16612 * xml.el (xml-substitute-special): Fix typos.
16614 2011-11-20 Glenn Morris <rgm@gnu.org>
16616 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
16617 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
16619 (rmail-decode-mime-charset): Mark as obsolete.
16621 * mail/rmailsum.el (rmail-message-regexp-p-1):
16622 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
16623 Before using mime functions, check they are set. (Bug#10077)
16625 2011-11-19 Juri Linkov <juri@jurta.org>
16627 * info.el (Info-finder-find-node): Use `package--builtins' instead
16628 of `package-alist'. Use node names formed by the pattern "Keyword "
16629 and the keyword name.
16631 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
16633 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
16635 2011-11-19 Juri Linkov <juri@jurta.org>
16637 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
16638 that calls `revert-buffer' on all Info buffers. (Bug#9915)
16639 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
16640 `old-history', `old-history-forward'. Add let-binding
16641 `window-selected'. Remove calls to `kill-buffer',
16642 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
16643 before calling `Info-find-node', so `Info-find-node-2' will reread
16644 the Info file. Restore window positions only when `window-selected'
16647 2011-11-19 Juri Linkov <juri@jurta.org>
16649 * isearch.el (isearch-lazy-highlight-new-loop):
16650 Remove condition `(not isearch-error)'. (Bug#9918)
16652 * misearch.el (multi-isearch-search-fun): Add condition
16653 `(not bound)' to ignore lazy-highlighting search.
16654 Add the search-failed message "end of multi" when the end of
16655 multi-sequence is reached. Uncapitalize the search-failed
16656 message "Repeat for next buffer".
16658 * info.el (Info-search): Add the search-failed message
16659 "end of the manual" when the end of the manual is reached
16662 2011-11-19 Juri Linkov <juri@jurta.org>
16664 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
16665 Use non-destructive `remove' instead of `delete' because
16666 `Info-history-list' stored to `Info-isearch-initial-history-list' in
16667 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
16669 2011-11-19 Juri Linkov <juri@jurta.org>
16671 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
16672 to nil instead of binding `search-ring' and `regexp-search-ring'.
16675 2011-11-19 Eli Zaretskii <eliz@gnu.org>
16677 * simple.el (line-move): Force movement by logical lines for any
16678 hscrolled window, not only when auto-hscroll-mode is on.
16679 (line-move-visual): Update doc string to that effect. (Bug#10076)
16681 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
16683 * language/european.el (macintosh): Define as alias for mac-roman.
16685 2011-11-19 Eli Zaretskii <eliz@gnu.org>
16687 * mail/rmailmm.el (rmail-mime-display-header)
16688 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
16689 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
16690 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
16691 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
16692 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
16694 (rmail-mime-entity-segment): To get past the tagline, move forward
16695 2 more lines, to account for the 2 empty lines that precede and
16696 follow the line with the buttons.
16697 (rmail-mime-update-tagline): Move one more line, to get past the
16698 empty line that follows the buttons in the tagline. (Bug#9520)
16700 2011-11-19 Martin Rudalics <rudalics@gmx.at>
16702 * window.el (window-max-delta-1, window-min-delta-1)
16703 (window-min-size-1, window-state-get-1, window-state-put-1)
16704 (window-state-put-2): Use "window--" prefix.
16706 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
16708 * emacs-lisp/smie.el: Improve warnings and conflict detection.
16709 (smie-warning-count): New var.
16710 (smie-set-prec2tab): Use it.
16711 (smie-bnf->prec2): Improve warnings. Add docstring.
16712 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
16713 (smie-bnf--set-class): New function.
16714 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
16717 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
16718 (compilation-error-properties, compilation-move-to-column):
16719 Handle compilation-first-column while in the target buffer.
16721 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
16722 Don't hardcode point-min==1.
16724 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
16725 (eshell-rewrite-for-command): Remove workaround.
16726 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
16727 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
16728 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
16730 * files-x.el (modify-file-local-variable): Obey commenting conventions.
16732 2011-11-17 Glenn Morris <rgm@gnu.org>
16734 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
16735 Ignore buffer-local generated-autoload-file if it is the same
16736 as the global value. (Bug#10049)
16738 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
16740 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
16741 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
16742 (reftex-toc-previous-heading, reftex-toc-max-level)
16743 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
16744 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
16745 (reftex-toc-do-promote, reftex-toc-promote-prepare)
16746 (reftex-toc-promote-action, reftex-toc-extract-section-number)
16747 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
16748 (reftex-toc-rename-label, reftex-toc-visit-location)
16749 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
16750 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
16751 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
16752 leaving "*toc*" only for references to the buffer.
16754 2011-11-17 Martin Rudalics <rudalics@gmx.at>
16756 * window.el (window-resize, delete-window, split-window):
16757 Replace window-splits by window-combination-resize.
16758 * cus-start.el (window-splits): Replace by window-combination-resize.
16760 2011-11-17 Glenn Morris <rgm@gnu.org>
16762 * progmodes/sh-script.el (sh-font-lock-keywords-var):
16763 Make bash entry derive from sh entry, not shell entry.
16765 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
16767 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
16770 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
16772 * menu-bar.el (menu-bar-file-menu):
16773 * printing.el (pr-ps-utility):
16774 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
16775 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
16776 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
16777 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
16778 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
16779 (icalendar--convert-cyclic-to-ical)
16780 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
16781 (icalendar--convert-ical-to-diary)
16782 (icalendar--convert-recurring-to-diary)
16783 (icalendar--convert-non-recurring-all-day-to-diary)
16784 (icalendar-import-format-sample):
16785 * progmodes/idlw-shell.el (idlwave-shell-mode):
16786 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
16787 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
16788 (vhdl-ps-print-init): Fix typos.
16790 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
16792 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
16793 FSF and collapse date sequence, obscure author/maintainer email address
16794 better, remove extra version line, track relocation of author's webpage.
16796 * progmodes/python.el (python-pdbtrack-input-prompt)
16797 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
16798 regular python pdb prompts. Adjustments shamelessly taken exactly as
16799 suggested in EmacsWiki page (tiny change):
16800 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
16802 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
16804 * expand.el (expand-pos, expand-index, expand-point):
16805 Remove redundant info from docstring.
16806 (expand-add-abbrevs): Doc fix.
16807 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
16808 (expand-sample-perl-mode-expand-list): Fix typos.
16810 * net/dbus.el (dbus-event-member-name):
16811 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
16812 * term/pc-win.el (msdos-create-frame-with-faces):
16813 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
16815 2011-11-16 Martin Rudalics <rudalics@gmx.at>
16817 * window.el (split-window, window-state-get-1)
16818 (window-state-put-1, window-state-put-2): Rename occurrences of
16819 window-nest to window-combination-limit.
16820 * cus-start.el (window-nest): Rename to window-combination-limit.
16822 2011-11-16 Chong Yidong <cyd@gnu.org>
16824 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
16825 regexp (Bug#10033).
16827 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
16829 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
16830 `completing-read' will remove *Completions* and will preserve
16831 current-buffer for us.
16832 (tmm-add-prompt): Users of *Completions* will always (re)set its
16834 (tmm-old-comp-map): Remove.
16836 2011-11-16 Glenn Morris <rgm@gnu.org>
16838 * mail/rmailedit.el: Require rmailmm when compiling.
16839 (rmail-old-mime-state): New declaration.
16840 (rmail-edit-current-message): If editing a mime message,
16841 edit the "raw" message from the mbox buffer.
16842 (rmail-cease-edit): Handle mime messages. (Bug#9840)
16844 2011-11-15 Glenn Morris <rgm@gnu.org>
16846 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
16847 which wasn't being used. Add optional arg to force given state.
16848 (rmail-mime): Add optional arg to force given state.
16850 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
16852 * allout.el (allout-encryption-plaintext-sanitization-regexps):
16853 * frame.el (display-mm-dimensions-alist):
16854 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
16855 (outline-move-subtree-down):
16856 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
16857 (newsticker--treeview-do-get-node):
16858 * net/quickurl.el (quickurl-list-buffer-name):
16859 * progmodes/dcl-mode.el (dcl-mode):
16860 * progmodes/gdb-mi.el (gdb-mapcar*):
16861 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
16863 2011-11-15 Glenn Morris <rgm@gnu.org>
16865 * mail/rmail.el (rmail-file-coding-system): It's only ever used
16866 in a boolean sense, so just make it a boolean, and fix the doc.
16867 (rmail-show-mime-function, rmail-mime-feature)
16868 (rmail-require-mime-maybe): Doc fixes.
16869 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
16871 * mail/rmailmm.el (rmail-show-mime): Doc fix.
16873 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
16875 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
16876 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
16877 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
16878 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
16880 2011-11-15 Glenn Morris <rgm@gnu.org>
16882 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
16883 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
16884 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
16885 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
16886 (rmail-mime, rmail-show-mime): Doc fixes.
16888 * term/ns-win.el (mode-line-frame-identification):
16889 Leave it alone. (Bug#10051)
16891 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
16893 * mail/rmailout.el (rmail-output-to-rmail-buffer):
16894 Handle empty buffers. (Bug#9978)
16896 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
16898 * international/mule.el (define-charset):
16899 * mail/rmailmm.el (rmail-mime-find-header-encoding):
16900 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
16901 * progmodes/verilog-mode.el (verilog-backward-token):
16902 * textmodes/ispell.el (lookup-words):
16903 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
16905 2011-11-14 Glenn Morris <rgm@gnu.org>
16907 * progmodes/executable.el
16908 (executable-make-buffer-file-executable-if-script-p):
16909 Handle file-modes returning nil.
16911 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
16912 message - not necessary, and causes problems. (Bug#9831)
16914 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
16916 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
16918 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
16919 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
16920 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
16922 2011-11-12 Martin Rudalics <rudalics@gmx.at>
16924 * window.el (window-resize, delete-window): Use window-splits
16925 variable instead of function.
16926 (window-state-get-1, window-state-put-2, window-state-put):
16927 Don't deal with windows' splits status.
16929 2011-11-12 Glenn Morris <rgm@gnu.org>
16931 * apropos.el (apropos-do-all, apropos-library, apropos-value)
16932 (apropos-documentation): Doc fixes.
16934 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
16936 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
16937 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
16939 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
16941 * electric.el (electric-indent-post-self-insert-function): Make it
16942 possible for a char to only indent in some circumstances.
16943 (electric-indent-mode): Simplify.
16945 2011-11-11 Martin Rudalics <rudalics@gmx.at>
16947 * window.el (windows-with-parameter): Remove unused function.
16948 (windows-at-side): Rename to window-at-side-list.
16949 (window-check, window-atom-check, window-atom-check-1)
16950 (window-side-check, window-size-ignore, window-size-fixed-1)
16951 (window-in-direction-2): Prefix with "window--".
16952 (window-tree-1): Rename to window--subtree, fix doc-string.
16954 2011-11-11 Glenn Morris <rgm@gnu.org>
16956 * subr.el (eval-after-load): If FILE is already loaded,
16957 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
16959 2011-11-10 Glenn Morris <rgm@gnu.org>
16961 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
16962 Call svn via vc-svn-command rather than vc-do-command.
16963 (vc-svn-command): Add --non-interactive. (Bug#9993)
16964 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
16966 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
16967 Add toggle-read-only. (Bug#7292)
16968 * files.el (toggle-read-only): Mention that it should only
16969 be used interactively. (Bug#10006)
16971 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
16973 * progmodes/compile.el (compilation-error-regexp-alist-alist):
16974 Adjust regexp for OCaml warnings.
16976 * electric.el (electric-pair-post-self-insert-function): Let user
16977 turn it off buffer-locally (bug#9932).
16979 * progmodes/python.el (python-beginning-of-statement):
16980 Rewrite (bug#2703).
16982 * progmodes/compile.el: Better handle TABs (bug#9749).
16983 (compilation-internal-error-properties)
16984 (compilation-next-error-function): Obey the target buffer's
16985 compilation-error-screen-columns.
16987 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
16989 * progmodes/meta-mode.el: Remove obsolete comments.
16990 (meta-right-comment-regexp, meta-ignore-comment-regexp):
16991 Fix typos in docstrings.
16993 2011-11-09 Martin Rudalics <rudalics@gmx.at>
16995 * window.el (window-size-fixed-p): Rewrite doc-string.
16996 (window-resizable-p): Rename to window--resizable-p. Update callers.
16997 (window--resizable): New function. Make all callers of
16998 window-resizable call window--resizable instead.
16999 (window-resizable): Rewrite in terms of window--resizable.
17001 2011-11-08 Glenn Morris <rgm@gnu.org>
17003 * progmodes/delphi.el (delphi-mode-syntax-table):
17004 Let define-derived-mode define a proper syntax table. (Bug#9994)
17006 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
17008 * window.el: Stay away from defsubst.
17009 (window-list-no-nils): Remove.
17010 (window-state-get-1, window-state-get): Use backquote instead.
17012 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
17014 * emacs-lisp/find-func.el (find-function-read):
17015 Fix incorrect use of default argument in `completing-read'.
17017 2011-11-08 Martin Rudalics <rudalics@gmx.at>
17019 * window.el (display-buffer-function, special-display-function):
17020 Mention display-buffer-record-window but do not mention
17021 help-setup parameter in doc-strings.
17022 (window-min-delta): Fix doc-string typo.
17024 2011-11-08 Chong Yidong <cyd@gnu.org>
17026 * window.el (window-total-height, window-total-width): Doc fix.
17027 (window-body-size): Move from C.
17028 (window-body-height, window-body-width): Move to C.
17030 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
17032 * window.el: Make special-display like display-buffer-alist (bug#9532).
17033 (display-buffer--special-action): New function, morphed
17034 from display-buffer--special.
17035 (display-buffer): Use it to handle special-display-buffers at higher
17036 priority (just after display-buffer-alist).
17037 (display-buffer-fallback-action, display-buffer--other-frame-action)
17038 (pop-to-buffer-same-window): Remove display-buffer--special.
17040 2011-11-07 Glenn Morris <rgm@gnu.org>
17042 * calendar/cal-menu.el (cal-menu-set-date-title):
17043 Do nothing if not in a calendar. (Bug#9976)
17045 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
17047 * files.el (find-file): Always use selected-window.
17049 2011-11-07 Martin Rudalics <rudalics@gmx.at>
17051 * window.el (window-combinations): Make WINDOW argument
17052 mandatory. Rewrite doc-string.
17053 (walk-window-subtree, window-atom-check, window-min-delta)
17054 (window-max-delta, window--resize-this-window)
17055 (window--resize-root-window-vertically, window-tree)
17056 (balance-windows, window-state-put): Rewrite doc-strings as to
17057 not mention the term "subwindow".
17058 (window--resize-subwindows-skip-p): Rename to
17059 window--resize-child-windows-skip-p.
17060 (window--resize-subwindows-normal): Rename to
17061 window--resize-child-windows-normal.
17062 (window--resize-subwindows): Rename to
17063 window--resize-child-windows.
17064 (window-or-subwindow-p): Rename to window--in-subtree-p.
17066 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
17068 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
17069 Ensure that mbox format messages end in two newlines (Bug#9974).
17071 2011-11-06 Chong Yidong <cyd@gnu.org>
17073 * window.el (window-combination-p): Function deleted; its
17074 side-effect is not used in any existing code.
17075 (window-combinations, window-combined-p): Call window-*-child
17078 2011-11-05 Chong Yidong <cyd@gnu.org>
17080 * window.el (window-valid-p): Rename from window-any-p.
17081 (window-size-ignore, window-state-get): Callers changed.
17082 (window-normalize-window): Rename from window-normalize-any-window.
17083 New arg LIVE-ONLY, replacing window-normalize-live-window.
17084 (window-normalize-live-window): Delete.
17085 (window-combination-p, window-combined-p, window-combinations)
17086 (walk-window-subtree, window-atom-root, window-min-size)
17087 (window-sizable, window-sizable-p, window-size-fixed-p)
17088 (window-min-delta, window-max-delta, window-resizable)
17089 (window-resizable-p, window-full-height-p, window-full-width-p)
17090 (window-current-scroll-bars, window-point-1, set-window-point-1)
17091 (window-at-side-p, window-in-direction, window-resize)
17092 (adjust-window-trailing-edge, maximize-window, minimize-window)
17093 (window-deletable-p, delete-window, delete-other-windows)
17094 (record-window-buffer, unrecord-window-buffer)
17095 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
17096 (quit-window, split-window, window-state-put)
17097 (set-window-text-height, fit-window-to-buffer)
17098 (shrink-window-if-larger-than-buffer): Callers changed.
17100 2011-11-04 Eli Zaretskii <eliz@gnu.org>
17102 * mail/rmail.el (rmail-simplified-subject): Decode subject with
17103 rfc2047-decode-string.
17104 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
17107 * window.el (window-body-height, window-body-width): Mention in
17108 the doc string that the return values are in frame's canonical
17111 2011-11-03 Alan Mackenzie <acm@muc.de>
17113 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
17114 change in cc-engine.el.
17116 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
17118 * window.el (switch-to-buffer): Use `force-same-window' interactively.
17120 2011-11-02 Martin Rudalics <rudalics@gmx.at>
17122 * window.el (quit-window): Call unrecord-window-buffer after
17123 showing another buffer in the window. (Bug#9937)
17124 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
17126 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
17128 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
17129 Accept status with more than 9 shelves. (Bug#9935)
17130 Reported by Colin D Bennett <colin@gibibit.com>.
17132 2011-11-01 Martin Rudalics <rudalics@gmx.at>
17134 * help.el (with-help-window): Don't reference
17135 temp-buffer-show-specifiers in doc-string.
17137 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
17139 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
17142 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
17144 * whitespace.el: New version 13.2.2.
17145 (whitespace-newline-mode): Disable properly. Reported by Sarah
17148 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
17150 * net/newst-treeview.el: Remove "Time-stamp".
17151 (newsticker--group-manage-orphan-feeds): Do not call
17152 newsticker--treeview-tree-update.
17153 (newsticker-treeview-update, newsticker-treeview):
17154 Call newsticker--treeview-tree-update if necessary.
17156 2011-10-30 Martin Rudalics <rudalics@gmx.at>
17158 * window.el (window-iso-combination-p, window-iso-combined-p)
17159 (window-iso-combinations): Remove "iso-" infix.
17160 Suggested by Chong Yidong.
17161 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
17162 (window-max-delta-1, window-resize, window--resize-siblings)
17163 (window--resize-this-window, adjust-window-trailing-edge)
17164 (split-window, balance-windows-1)
17165 (shrink-window-if-larger-than-buffer):
17166 * calendar/calendar.el (calendar-generate-window):
17167 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
17169 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
17171 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
17172 in place (bug#9907).
17173 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
17174 (eshell-rewrite-if-command, eshell-rewrite-for-command)
17175 (eshell-structure-basic-command, eshell-rewrite-while-command)
17176 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
17177 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
17178 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
17179 (eshell-do-pipelines-synchronously, eshell-eval-command):
17180 Use backquotes and prefer setq to set.
17181 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
17182 (eshell-macrop): Use functionp.
17183 (eshell-do-eval): Handle multiple expressions in `while' body.
17185 2011-10-30 Chong Yidong <cyd@gnu.org>
17187 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
17188 instead of set-mark (Bug#9810).
17190 2011-10-30 Chong Yidong <cyd@gnu.org>
17192 * window.el (split-window-below, split-window-right): Rename from
17193 split-window-above-each-other and split-window-side-by-side
17194 respectively. All callers changed.
17195 (split-window-sensibly, split-window-sensibly): Use them.
17196 (split-window-keep-point): Doc fix.
17198 * isearch.el: Add isearch-scroll property to split-window-below
17199 and split-window-right.
17201 * follow.el (follow-mode):
17202 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
17203 * progmodes/ada-xref.el (ada-gdb-application):
17204 * emulation/vip.el (vip-buffer-in-two-windows):
17205 * image-dired.el (image-dired-dired-with-window-configuration):
17206 * dired-x.el (dired-do-find-marked-files):
17207 * dired.el (dired-pop-to-buffer):
17208 * bs.el (bs--show-with-configuration):
17209 * vc/emerge.el (emerge-setup-windows):
17210 * textmodes/two-column.el (2C-two-columns):
17211 * textmodes/reftex-toc.el (reftex-toc):
17212 * progmodes/gdb-mi.el (gdb-setup-windows):
17213 * progmodes/fortran.el (fortran-window-create):
17214 * net/newst-treeview.el (newsticker--treeview-window-init):
17215 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
17216 * emulation/tpu-edt.el (tpu-gold-map):
17217 * emulation/crisp.el (crisp-mode-map):
17218 * calendar/calendar.el (calendar-basic-setup): Callers changed.
17220 2011-10-29 Chong Yidong <cyd@gnu.org>
17222 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
17224 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
17226 * textmodes/flyspell.el (flyspell-word): Fix char offset for
17227 forged Ispell output (Bug#7904).
17229 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
17231 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
17233 * doc-view.el: Avoid ugly errors about not finding nil.
17234 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
17235 (doc-view-dvipdf-program, doc-view-unoconv-program)
17236 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
17237 Avoid nil or absolute file name as default value.
17238 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
17240 2011-10-28 Alan Mackenzie <acm@muc.de>
17242 * progmodes/cc-defs.el (c-version): -> 5.32.2.
17244 2011-10-28 Alan Mackenzie <acm@muc.de>
17246 Amend the handling of c-beginning/end-of-defun in nested declaration
17249 * progmodes/cc-vars.el (c-defun-tactic): Move here from
17250 cc-langs.el. Change it to a defcustom.
17252 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
17255 * progmodes/cc-engine.el (c-beginning-of-statement-1):
17256 Prevent "class foo : bar" being spuriously recognized as a label.
17258 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
17259 Add parameter `inclusive' (to include enclosing braces in the region).
17260 (c-widen-to-enclosing-decl-scope): New function.
17261 (c-while-widening-to-decl-block): New macro.
17262 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
17263 outward for defun boundaries, and correspondingly change symbol
17264 `respect-enclosure' to `go-outward'.
17265 (c-declaration-limits): Change algorithm to report only the "innermost"
17266 defun's boundaries.
17268 2011-10-28 Deniz Dogan <deniz@dogan.se>
17270 * net/rcirc.el (rcirc-mode): Use hard newlines.
17272 2011-10-28 Alan Mackenzie <acm@muc.de>
17274 Amend to indent and fontify macros "which include their own semicolon"
17275 correctly, using the "virtual semicolon" mechanism.
17277 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
17279 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
17280 Recode to scan one line at a time rather than having \n and \r
17281 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
17282 (c-forward-label): Amend for virtual semicolons.
17283 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
17285 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
17286 of the new C macros.
17288 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
17289 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
17290 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
17291 (c-opt-cpp-macro-define): Make into a full language variable.
17292 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
17293 AWK Mode (including \n, \r) removed, no longer needed.
17295 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
17296 Invoke c-make-macro-with-semi-re.
17298 * progmodes/cc-vars.el (c-macro-with-semi-re):
17299 (c-macro-names-with-semicolon): New variables.
17300 (c-make-macro-with-semi-re): New function.
17302 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
17304 * vc/log-edit.el: Fill empty field rather than adding new one.
17305 (log-edit-add-field): New function.
17306 (log-edit-insert-changelog): Use it.
17308 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
17310 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
17312 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
17314 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
17315 (gdb--check-interpreter): New function.
17318 2011-10-27 Glenn Morris <rgm@gnu.org>
17320 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
17321 (least-positive-float, least-negative-float)
17322 (least-positive-normalized-float, least-negative-normalized-float)
17323 (float-epsilon, float-negative-epsilon):
17324 Remove unnecessary declarations.
17326 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
17327 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
17328 (least-positive-float, least-negative-float)
17329 (least-positive-normalized-float, least-negative-normalized-float)
17330 (float-epsilon, float-negative-epsilon): Add doc-strings,
17331 based on those in cl.texi.
17333 * files.el (set-visited-file-name): If the major-mode changed,
17334 reload the local variables. (Bug#9796)
17336 2011-10-27 Chong Yidong <cyd@gnu.org>
17338 * subr.el (change-major-mode-after-body-hook): New hook.
17339 (run-mode-hooks): Run it.
17341 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
17342 Use change-major-mode-before-body-hook.
17344 * simple.el (fundamental-mode):
17345 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
17346 change introducing fundamental-mode-hook.
17348 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
17350 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
17352 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
17354 * ido.el (ido-file-name-all-completions-1): Do not require
17355 tramp.el explicitly. (Bug#7583)
17357 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
17359 * progmodes/octave-mod.el:
17360 * progmodes/octave-inf.el: Update maintainer.
17362 2011-10-26 Chong Yidong <cyd@gnu.org>
17364 * subr.el (with-wrapper-hook): Rewrite doc.
17366 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
17368 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
17369 filenames "/method:foo:". (Bug#9793)
17371 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
17373 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
17376 2011-10-24 Glenn Morris <rgm@gnu.org>
17378 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
17380 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
17382 * notifications.el: Add the requirement of a running D-Bus session
17383 bus to the Commentary.
17385 2011-10-24 Juri Linkov <juri@jurta.org>
17387 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
17388 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
17391 2011-10-24 Juri Linkov <juri@jurta.org>
17393 * info.el (Info-following-node-name-re): Add newline to the list
17394 of allowed characters for leading space. (Bug#9824)
17396 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
17398 * progmodes/octave-inf.el (inferior-octave-mode-map):
17399 Fix C-c C-h binding.
17400 * progmodes/octave-mod.el (octave-help): Remove.
17402 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
17404 Sync with Tramp 2.2.3.
17406 * net/tramp-cache.el (top): Pacify byte-compiler using
17407 `init-file-user' and `site-run-file'.
17409 * net/trampver.el: Update release number.
17411 2011-10-23 Chong Yidong <cyd@gnu.org>
17413 * files.el (toggle-read-only): Remove obsolete comment about
17416 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
17417 for toggle-read-only. Note that this hasn't called vc-next-action
17418 since 2008-05-02, though it wasn't documented at the time.
17420 * vc/ediff-init.el (ediff-toggle-read-only-function):
17421 Use toggle-read-only.
17423 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
17425 Fix bug #9560, sporadic wrong indentation; improve instrumentation
17428 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
17429 correct faulty logical expression.
17430 (c-parse-state-state, c-record-parse-state-state):
17431 (c-replay-parse-state-state): New defvar/defuns.
17432 (c-debug-parse-state): Use new functions.
17434 2011-10-22 Martin Rudalics <rudalics@gmx.at>
17436 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
17437 last fix. Use window-in-direction correctly.
17439 2011-10-21 Chong Yidong <cyd@gnu.org>
17441 * progmodes/idlwave.el (idlwave-mode):
17442 * progmodes/vera-mode.el (vera-mode): No need to set
17443 require-final-newline; that's done in prog-mode.
17444 Suggested by Stefan Monnier.
17446 2011-10-21 Martin Rudalics <rudalics@gmx.at>
17448 * mouse.el (mouse-drag-window-above)
17449 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
17450 (mouse-drag-mode-line-1, mouse-drag-header-line)
17451 (mouse-drag-vertical-line-rightward-window): Remove.
17452 (mouse-drag-line): New function.
17453 (mouse-drag-mode-line, mouse-drag-header-line)
17454 (mouse-drag-vertical-line): Call mouse-drag-line.
17455 * window.el (window-at-side-p, windows-at-side): New functions.
17457 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
17459 * tar-mode.el (tar-grind-file-mode):
17460 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
17462 2011-10-21 Chong Yidong <cyd@gnu.org>
17464 * progmodes/idlwave.el (idlwave-mode):
17465 * progmodes/vera-mode.el (vera-mode):
17466 Use mode-require-final-newline.
17468 2011-10-20 Glenn Morris <rgm@gnu.org>
17470 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
17472 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
17474 * emulation/cua-base.el (cua-set-mark): Fix case of string.
17476 2011-10-20 Chong Yidong <cyd@gnu.org>
17478 * emulation/cua-base.el (cua-mode):
17479 * mail/footnote.el (footnote-mode):
17480 * mail/mailabbrev.el (mail-abbrevs-mode):
17481 * net/xesam.el (xesam-minor-mode):
17482 * progmodes/bug-reference.el (bug-reference-mode):
17483 * progmodes/cap-words.el (capitalized-words-mode):
17484 * progmodes/compile.el (compilation-minor-mode)
17485 (compilation-shell-minor-mode):
17486 * progmodes/gud.el (gud-tooltip-mode):
17487 * progmodes/hideif.el (hide-ifdef-mode):
17488 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
17489 * progmodes/subword.el (subword-mode):
17490 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
17491 * progmodes/which-func.el (which-function-mode):
17492 * term/tvi970.el (tvi970-set-keypad-mode):
17493 * term/vt100.el (vt100-wide-mode):
17494 * textmodes/flyspell.el (flyspell-mode):
17495 * textmodes/ispell.el (ispell-minor-mode):
17496 * textmodes/nroff-mode.el (nroff-electric-mode):
17497 * textmodes/paragraphs.el (use-hard-newlines):
17498 * textmodes/refill.el (refill-mode):
17499 * textmodes/reftex.el (reftex-mode):
17500 * textmodes/rst.el (rst-minor-mode):
17501 * textmodes/sgml-mode.el (html-autoview-mode)
17502 (sgml-electric-tag-pair-mode):
17503 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
17504 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
17505 * emulation/crisp.el (crisp-mode):
17506 * emacs-lisp/eldoc.el (eldoc-mode):
17507 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
17508 minor mode behavior.
17510 2011-10-19 Juri Linkov <juri@jurta.org>
17512 * descr-text.el (describe-char): Add #x2010 and #x2011 to
17513 the list of hard-coded chars with escape-glyph face.
17515 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
17517 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
17519 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
17521 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
17524 2011-10-19 Glenn Morris <rgm@gnu.org>
17526 * vc/vc-bzr.el (vc-bzr-after-dir-status):
17527 Ignore ignored files. (Bug#9726)
17529 2011-10-19 Chong Yidong <cyd@gnu.org>
17531 Doc fix for minor modes, stating that an omitted argument enables
17532 the mode unconditionally when called from Lisp.
17534 * abbrev.el (abbrev-mode):
17535 * allout.el (allout-mode):
17536 * autoinsert.el (auto-insert-mode):
17537 * autoarg.el (autoarg-mode, autoarg-kp-mode):
17538 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
17539 (global-auto-revert-mode):
17540 * battery.el (display-battery-mode):
17541 * composite.el (global-auto-composition-mode)
17542 (auto-composition-mode):
17543 * delsel.el (delete-selection-mode):
17544 * desktop.el (desktop-save-mode):
17545 * dired-x.el (dired-omit-mode):
17546 * dirtrack.el (dirtrack-mode):
17547 * doc-view.el (doc-view-minor-mode):
17548 * double.el (double-mode):
17549 * electric.el (electric-indent-mode, electric-pair-mode):
17550 * emacs-lock.el (emacs-lock-mode):
17551 * epa-hook.el (auto-encryption-mode):
17552 * follow.el (follow-mode):
17553 * font-core.el (font-lock-mode):
17554 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
17555 * help.el (temp-buffer-resize-mode):
17556 * hilit-chg.el (highlight-changes-mode)
17557 (highlight-changes-visible-mode):
17558 * hi-lock.el (hi-lock-mode):
17559 * hl-line.el (hl-line-mode, global-hl-line-mode):
17560 * icomplete.el (icomplete-mode):
17561 * ido.el (ido-everywhere):
17562 * image-file.el (auto-image-file-mode):
17563 * image-mode.el (image-minor-mode):
17564 * iswitchb.el (iswitchb-mode):
17565 * jka-cmpr-hook.el (auto-compression-mode):
17566 * linum.el (linum-mode):
17567 * longlines.el (longlines-mode):
17568 * master.el (master-mode):
17569 * mb-depth.el (minibuffer-depth-indicate-mode):
17570 * menu-bar.el (menu-bar-mode):
17571 * minibuf-eldef.el (minibuffer-electric-default-mode):
17572 * mouse-sel.el (mouse-sel-mode):
17573 * msb.el (msb-mode):
17574 * mwheel.el (mouse-wheel-mode):
17575 * outline.el (outline-minor-mode):
17576 * paren.el (show-paren-mode):
17577 * recentf.el (recentf-mode):
17578 * reveal.el (reveal-mode, global-reveal-mode):
17579 * rfn-eshadow.el (file-name-shadow-mode):
17580 * ruler-mode.el (ruler-mode):
17581 * savehist.el (savehist-mode):
17582 * scroll-all.el (scroll-all-mode):
17583 * scroll-bar.el (scroll-bar-mode):
17584 * server.el (server-mode):
17585 * shell.el (shell-dirtrack-mode):
17586 * simple.el (auto-fill-mode, transient-mark-mode)
17587 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
17588 (line-number-mode, column-number-mode, size-indication-mode)
17589 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
17590 * strokes.el (strokes-mode):
17591 * time.el (display-time-mode):
17592 * t-mouse.el (gpm-mouse-mode):
17593 * tool-bar.el (tool-bar-mode):
17594 * tooltip.el (tooltip-mode):
17595 * type-break.el (type-break-mode-line-message-mode)
17596 (type-break-query-mode):
17597 * view.el (view-mode):
17598 * whitespace.el (whitespace-mode, whitespace-newline-mode)
17599 (global-whitespace-mode, global-whitespace-newline-mode):
17600 * xt-mouse.el (xterm-mouse-mode): Doc fix.
17602 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
17603 Fix autogenerated docstring.
17605 2011-10-19 Juri Linkov <juri@jurta.org>
17607 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
17608 by checking environment variables "DESKTOP_SESSION" and
17609 "XDG_CURRENT_DESKTOP". (Bug#9779)
17611 2011-10-19 Juri Linkov <juri@jurta.org>
17613 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
17614 (browse-url-chromium-program, browse-url-chromium-arguments):
17616 (browse-url-default-browser): Check for `browse-url-chromium' and
17617 call `browse-url-chromium-program'.
17618 (browse-url-chromium): New command. (Bug#9779)
17620 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
17622 * facemenu.el (list-colors-duplicates): On Windows, detect more
17623 duplicates by assuming that only colors matching "^System" are
17624 special "system colors". (Bug#9722)
17626 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
17628 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
17629 to distinguish the author from the committer.
17631 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
17633 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
17635 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
17637 * international/mule.el (sgml-html-meta-auto-coding-function):
17638 Add support for detecting encoding in HTML5 specified only as
17639 <meta charset="UTF-8">. Implementation just makes http-equiv and
17640 content-type parts from HTML4 encoding string optional. (Bug#9716)
17642 2011-10-18 Glenn Morris <rgm@gnu.org>
17644 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
17646 2011-10-18 Chong Yidong <cyd@gnu.org>
17648 * faces.el (cursor): Doc fix.
17650 2011-10-17 Chong Yidong <cyd@gnu.org>
17652 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
17654 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
17656 * dirtrack.el (dirtrack): Support shell buffers with path
17657 prefixes, e.g. tramp-based remote shells. (Bug#9647)
17659 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
17661 * json.el: Bump version to 1.3 and note change in History.
17662 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
17664 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
17666 * comint.el (comint-insert-input, comint-send-input)
17667 (comint-get-old-input-default, comint-backward-matching-input)
17668 (comint-next-prompt): Use nil instead of `input' for field property of
17669 past user input (bug#114).
17671 * minibuffer.el (completion--replace): Inherit surrounding properties
17673 (minibuffer-complete-and-exit): Use it.
17675 * comint.el (comint--table-subvert): Quote the all-completions output
17678 2011-10-17 Martin Rudalics <rudalics@gmx.at>
17680 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
17682 * menu-bar.el (menu-bar-file-menu): Add entry for making new
17683 window on right of selected. (Bug#9350) Reword other window
17684 entries and separate them from frame entries.
17686 2011-10-15 Glenn Morris <rgm@gnu.org>
17688 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
17691 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
17693 * net/network-stream.el (network-stream-open-starttls):
17694 Improve detection of failure due to lack of TLS support.
17696 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
17697 putting the input text in front and in bold.
17699 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
17701 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
17703 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
17706 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
17707 unread-command-events rather than pushing yet-another event.
17709 2011-10-14 Eli Zaretskii <eliz@gnu.org>
17711 * mail/sendmail.el (sendmail-query-once): Improve the wording of
17712 the explanation of the possible choices. Make the options passed
17713 to completing-read shorter.
17715 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
17717 * textmodes/flyspell.el (flyspell-large-region): Make sure
17718 extended character mode is used if defined (Bug#1339).
17720 2011-10-13 Eli Zaretskii <eliz@gnu.org>
17722 * simple.el (what-cursor-position): Fix the display of the
17723 character info for LRE, LRO, RLE, and RLO characters by appending
17726 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
17728 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
17729 even in case of error; add debug spec; simplify data flow.
17730 (with-timeout-handler): Remove.
17732 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
17734 Fix Bug#6019, Bug#9315.
17736 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
17737 complete `buffer-file-name', the local file name part could look
17738 remotely (for example on VMS).
17740 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
17741 `tramp-run-real-handler'.
17742 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
17743 already quoted by '"'.
17745 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
17746 Let `file-name-handler-alist' be nil, the local file name part
17747 could look remotely (for example on VMS).
17749 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
17751 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
17753 (flyspell-post-command-hook): ...to here.
17755 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
17757 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
17759 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
17760 using completion. Protect against "slow" callers.
17761 Remove the "message hack".
17763 2011-10-11 Juri Linkov <juri@jurta.org>
17765 * isearch.el (isearch-lazy-highlight-word): New variable.
17766 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
17769 2011-10-11 Glenn Morris <rgm@gnu.org>
17771 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
17772 like f90-previous-statement does.
17774 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
17776 * eshell/eshell.el (eshell-command): History should be saved
17777 only in interactive use, to avoid error.
17779 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
17781 * minibuffer.el (completion-file-name-table): Fix last change,
17782 i.e. ignore normal errors but not the other ones.
17784 2011-10-10 Martin Rudalics <rudalics@gmx.at>
17786 * window.el (special-display-buffer-names)
17787 (special-display-regexps): Remove some remnants of earlier
17788 changes from doc-strings.
17789 (quit-windows-on): New function.
17791 * vc/vc.el (vc-revert, vc-rollback):
17792 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
17793 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
17794 (Bug#6183) (Bug#7074) (Bug#7447)
17796 2011-10-09 Martin Rudalics <rudalics@gmx.at>
17798 * window.el (frame-auto-hide-function): Add version tag.
17801 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
17803 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
17806 2011-10-09 Leo Liu <sdl.web@gmail.com>
17808 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
17811 2011-10-08 Glenn Morris <rgm@gnu.org>
17813 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
17814 before the first code statement zero indent. (Bug#9690)
17816 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
17818 * simple.el (count-words-region): Always count in the region.
17819 Report the number of lines and characters too.
17820 (count-words): New command, which counts in the buffer if the
17821 region is inactive, as count-words-region used to.
17822 (count-words--message): New function. Handle plurals.
17823 (count-lines-region): Make it an alias for count-words-region.
17825 * bindings.el (esc-map): Replace count-lines-region with
17826 count-words-region.
17828 2011-10-08 Martin Rudalics <rudalics@gmx.at>
17830 * window.el (window--delete): Delete dedicated frame
17831 unconditionally when argument KILL is non-nil. (Bug#9699)
17832 (switch-to-buffer): Fix doc-string typo.
17834 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
17836 * eshell/eshell.el (eshell-command): Avoid using hooks.
17838 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
17840 * bindings.el ([M-left],[M-right]): Bind to left-word and
17841 right-word respectively.
17843 2011-10-07 Glenn Morris <rgm@gnu.org>
17845 * cus-start.el (debug-on-quit): Fix custom type.
17847 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
17849 * subr.el (define-key-after): Clarify that the function is not
17850 useful for non-menu keymaps.
17852 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
17854 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
17856 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
17857 in current minibuffer (Fix bug with recursive minibuffers).
17859 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
17861 * progmodes/gdb-mi.el (gdb): Doc fix.
17863 2011-10-05 Martin Rudalics <rudalics@gmx.at>
17865 * window.el (frame-auto-hide-function): New option replacing
17866 frame-auto-delete. Suggested by Stefan Monnier.
17867 (window--delete): Call frame-auto-hide-function instead of
17868 investigating frame-auto-delete.
17869 (window-point-1, set-window-point-1): New functions.
17870 (window-in-direction, record-window-buffer, window-state-get-1)
17871 (display-buffer-record-window): Use window-point-1 instead of
17873 (set-window-buffer-start-and-point): Use set-window-point-1.
17875 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
17877 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
17879 2011-10-05 Glenn Morris <rgm@gnu.org>
17881 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
17882 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
17884 2011-10-05 Leo Liu <sdl.web@gmail.com>
17886 * subr.el (read-char-choice): Fix argument to buffer-live-p which
17887 works with buffer object.
17889 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
17891 * mpc.el (mpc-tool-bar-map): Add labels.
17893 2011-10-04 Glenn Morris <rgm@gnu.org>
17895 * calendar/holidays.el (calendar-check-holidays): Doc fix.
17897 2011-10-04 Martin Rudalics <rudalics@gmx.at>
17899 * window.el (window--delete): New function.
17900 (frame-auto-delete): Resuscitate option.
17901 (bury-buffer, replace-buffer-in-windows)
17902 (quit-window): Rewrite using window--delete.
17903 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
17904 Pass display-buffer-mark-dedicated to window--display-buffer-2
17907 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
17909 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
17910 returns a list (bug#9554). Add remote file name completion.
17911 * comint.el (comint--table-subvert): Curry and get quote&unquote
17912 functions as arguments.
17913 (comint--complete-file-name-data): Adjust call accordingly.
17914 * pcomplete.el (pcomplete--table-subvert): Remove.
17915 (pcomplete-completions-at-point): Use comint--table-subvert instead.
17917 * minibuffer.el (completion-table-case-fold): Use currying.
17918 (completion--styles-type, completion--cycling-threshold-type):
17920 (completion-styles, completion-category-overrides)
17921 (completion-cycle-threshold): Use them.
17922 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
17923 completion-table-case-fold.
17925 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
17927 * minibuffer.el (completion-category-overrides): Fix type of styles
17928 and add more user friendly tags (bug#9660).
17930 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
17932 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
17933 (mule-input-method-string): New widget.
17934 (default-input-method, language-info-custom-alist): Use it.
17936 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
17938 * pcomplete.el: Require comint.
17939 (pcomplete--common-suffix): Remove.
17940 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
17941 (pcomplete--table-subvert): Sync with comint--table-subvert.
17942 (pcomplete--entries): Use comint-completion-file-name-table.
17943 * comint.el (comint-unquote-filename): Simplify.
17944 (comint-completion-file-name-table): New function (bug#9616).
17945 (comint--complete-file-name-data): Use it.
17947 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
17948 (pcmpl-gnu-tar-buffer): Remove.
17949 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
17950 around. Make sure pcomplete-suffix-list is only changed temporarily.
17951 Don't look inside the tar's file if it's too large.
17953 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
17955 * cus-edit.el (custom-mode-map):
17956 * epa.el (epa-key-list-mode-map):
17957 * man.el (Man-mode-map):
17958 * startup.el (splash-screen-keymap):
17959 * simple.el (special-mode-map): Use scroll-up-command and
17960 scroll-down-command.
17962 * progmodes/idlw-help.el (idlwave-help-mode-map):
17963 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
17964 * net/newst-plainview.el (newsticker-mode-map):
17965 * emulation/ws-mode.el (wordstar-mode-map):
17966 * emulation/vi.el (vi-com-map):
17967 * calc/calc-graph.el (calc-graph-show-dumb):
17968 * term/sun.el (terminal-init-sun):
17969 * term/ns-win.el (global-map):
17970 * progmodes/grep.el (grep-mode-map):
17971 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
17972 * mail/rmail.el (rmail-mode-map):
17973 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
17975 * custom.el (custom-safe-themes, load-theme): Treat value of t for
17976 custom-safe-themes as special.
17978 2011-10-01 Julien Danjou <julien@danjou.info>
17980 * notifications.el (notifications-notify): Fix docstring.
17982 2011-10-01 Per Starbäck <per@starback.se>
17984 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
17986 2011-09-30 Martin Rudalics <rudalics@gmx.at>
17988 * startup.el (command-line-1): Fix last fix by inserting
17989 initial-scratch-message into *scratch* before displaying it.
17990 (Bug#9605) and (Bug#9636)
17992 2011-09-29 Eli Zaretskii <eliz@gnu.org>
17994 * simple.el (line-move): If auto-hscroll-mode is disabled and the
17995 window is hscrolled, move by logical lines. (Bug#9607)
17996 (line-move-visual): Update the doc string to the above effect.
17998 2011-09-29 Martin Rudalics <rudalics@gmx.at>
18000 * window.el (display-buffer-record-window): When WINDOW is the
18001 selected window use `point' instead of `window-point'. (Bug#9626)
18003 * startup.el (command-line-1): Use insert-before-markers when
18004 inserting initial-scratch-message. (Bug#9605)
18006 * help.el (help-window): Remove variable.
18008 2011-09-29 Glenn Morris <rgm@gnu.org>
18010 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
18012 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
18014 * descr-text.el (describe-char-categories): Accept category
18015 descriptions more than one line long.
18017 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
18019 * simple.el (delete-trailing-whitespace): Fix last change.
18021 * progmodes/perl-mode.el (perl-syntax-propertize-function):
18022 Don't confuse "y => 3" as the beginning of a `y' operation.
18024 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
18025 object has more than 4 slots (bug#9613).
18027 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
18029 * subr.el (with-output-to-temp-buffer):
18030 * net/quickurl.el (quickurl, quickurl-browse-url):
18031 Fix typos in docstrings.
18033 2011-09-27 Eli Zaretskii <eliz@gnu.org>
18035 * minibuffer.el (completion-styles)
18036 (completion-category-overrides): Cross reference each other in doc
18039 2011-09-27 Glenn Morris <rgm@gnu.org>
18041 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
18042 to split-string. (Bug#9606)
18044 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
18046 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
18049 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
18051 * emacs-lisp/package.el (list-packages): Fix echo area message.
18053 2011-09-27 Leo Liu <sdl.web@gmail.com>
18055 * ido.el (ido-read-internal): Accept cons cell HIST arg.
18057 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
18059 * net/dbus.el (dbus-unregister-object): Don't release services for
18060 registered signals. (Bug#9581)
18062 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
18064 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
18065 function that picks between cfengine 2 and 3 support
18066 automatically. Update docs accordingly.
18068 2011-09-22 Kenichi Handa <handa@m17n.org>
18070 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
18072 (indian-itrans-v5-table-for-tamil): New variable.
18073 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
18075 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
18077 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
18078 that's true if the current command involved collapsing of text.
18079 It's reset to false at the beginning of the next command.
18080 (allout-post-command-business): Move the cursor to the beginning
18081 of entry if the cursor is hidden and collapsing activity just
18084 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
18086 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
18087 tracking (Bug#9541).
18089 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
18091 * net/newst-reader.el (newsticker-html-renderer)
18092 (newsticker-show-news): Automatically load html rendering package
18093 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
18094 because w3m-fill-column is let-bound" and the error "Symbol's value
18095 as variable is void: w3m-fill-column".
18097 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
18099 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
18100 Release services only if they are defined. (Bug#9581)
18102 2011-09-23 Richard Stallman <rms@gnu.org>
18104 * textmodes/paragraphs.el (forward-sentence): For backwards case,
18105 distinguish start of paragraph from start of its text.
18107 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
18109 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
18110 (rmail-generate-viewer-buffer): Put that hook on view buffer.
18111 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
18113 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
18115 * international/mule-diag.el (mule-diag): Insert a newline after
18116 each fontset description.
18118 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
18120 * simple.el (delete-trailing-whitespace):
18121 Document last change; simplify.
18123 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
18125 * simple.el (delete-trailing-whitespace): Also delete
18126 extra newlines at the end of the buffer.
18128 * textmodes/picture.el: Make motion commands obey shift-select-mode.
18129 (picture-newline): Use forward-line so as to ignore fields.
18131 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
18133 * subr.el (with-wrapper-hook): Fix edebug spec.
18135 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
18137 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
18140 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
18142 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
18143 Fix nasty bug using wrong cached values.
18145 2011-09-23 Alan Mackenzie <acm@muc.de>
18147 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
18149 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
18151 * window.el (pop-to-buffer): Ensure right window is selected if we
18152 chose another frame.
18154 2011-09-22 Eli Zaretskii <eliz@gnu.org>
18156 * simple.el (what-cursor-position): Use get-char-property-change
18157 and next-single-char-property-change, to be able to show display
18158 properties that come from overlays as well as text properties.
18160 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
18162 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
18164 * cmuscheme.el (run-scheme, switch-to-scheme):
18165 * cus-edit.el (customize-group, custom-buffer-create)
18166 (customize-browse):
18168 * shell.el (shell):
18169 * mail/sendmail.el (mail):
18170 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
18172 2011-09-22 Richard Stallman <rms@gnu.org>
18174 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
18175 move back only to line beg, don't move back over blank lines.
18177 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
18179 * files.el (copy-directory): Set directory attributes only in case
18180 they could be retrieved from the source directory. (Bug#9565)
18182 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
18184 * progmodes/hideshow.el (hs-looking-at-block-start-p)
18185 (hs-find-block-beginning, hs-hide-level-recursive):
18186 Ignore strings as well as comments. (Bug#9502)
18188 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
18190 * progmodes/sql.el (sql-comint-postgres):
18191 Convert port number to a string. (Bug#9566)
18193 2011-09-22 Martin Rudalics <rudalics@gmx.at>
18195 * window.el (quit-window): Undedicate window when switching to
18196 previous buffer. Reported by Thierry Volpiatto
18197 <thierry.volpiatto@gmail.com>.
18198 (special-display-popup-frame): When popping up a new frame reset
18199 its previous buffers to nil. Simplify code.
18201 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
18203 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
18204 and process filter, as done also in `shell-command'.
18206 2011-09-21 Martin Rudalics <rudalics@gmx.at>
18208 * window.el (set-window-buffer-start-and-point):
18209 Call set-window-start with NOFORCE argument t.
18210 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
18211 (quit-window): Reword doc-string. Handle new format of
18212 quit-restore parameter. Don't delete window if it has a
18213 previous buffer we can show instead of the present one.
18214 (display-buffer-record-window): Rewrite using a new format for
18215 the quit-restore window parameter
18216 (special-display-popup-frame, display-buffer-same-window)
18217 (display-buffer-reuse-window, display-buffer-pop-up-frame)
18218 (display-buffer-pop-up-window, display-buffer-use-some-window):
18219 Adapt symbol passed to display-buffer-record-window.
18220 * help.el (help-window-setup): Handle new format of quit-restore
18223 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
18225 * faces.el (face-list): Fix docstring (bug#9564).
18227 * window.el (display-buffer--action-function-custom-type):
18228 Don't include internal functions in the Custom interface.
18230 2011-09-20 Juri Linkov <juri@jurta.org>
18232 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
18233 (Info-forward-node, Info-backward-node, Info-next-preorder)
18234 (Info-last-preorder): Use it. (Bug#9528)
18236 2011-09-20 Juri Linkov <juri@jurta.org>
18238 * info.el (Info-last-preorder): Visit last menu item only when
18239 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
18241 2011-09-20 Julien Danjou <julien@danjou.info>
18243 * password-cache.el (password-cache-remove): Remove entries even if the
18244 value is nil, so that password with a nil value (negative caching) is
18245 possible to invalidate.
18247 2011-09-20 Lawrence Mitchell <wence@gmx.li>
18249 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
18250 all whitespace around breakpoint. (Bug#9553)
18251 (f90-find-breakpoint): Only break at whitespace inside a comment.
18253 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
18255 * minibuffer.el (completion-file-name-table): Keep track of errors.
18256 (completion-table-with-predicate): Handle the case where pred1 is nil.
18257 * pcomplete.el (pcomplete-completions-at-point): Simplify.
18259 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
18261 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
18262 (debugger-return-value): Signal an error if the debugging context does
18263 not await any return value.
18265 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
18266 * image-mode.el (image-toggle-display-text)
18267 (image-toggle-display-image): Stay away from evil `intangible'.
18269 2011-09-19 Leo Liu <sdl.web@gmail.com>
18271 * replace.el (occur-revert-arguments): Make it permanent-local.
18272 (occur-mode): Don't call font-lock-defontify.
18274 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
18276 * net/ldap.el (ldap-search-internal): Don't push empty search
18279 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
18281 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
18283 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
18285 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
18286 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
18288 2011-09-18 Juri Linkov <juri@jurta.org>
18290 * buff-menu.el (Buffer-menu-mode-map):
18291 * dired.el (dired-mode-map):
18292 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
18293 (lisp-interaction-mode-map):
18294 * emacs-lisp/package.el (package-menu-mode-map):
18295 * epa.el (epa-key-list-mode-map):
18296 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
18297 (menu-bar-options-menu):
18298 * outline.el (outline-mode-menu-bar-map):
18299 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
18300 * vc/vc-dir.el (vc-dir-menu-map):
18301 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
18302 Capitalize non-function content words in menu item strings.
18304 * dired.el (dired-mode-map): Add menu item for
18305 `image-dired-dired-toggle-marked-thumbs'.
18307 2011-09-18 Juri Linkov <juri@jurta.org>
18309 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
18310 to `isearch-case-fold-search' and restore its original value
18311 after the `isearch-mode' call.
18313 2011-09-18 Juri Linkov <juri@jurta.org>
18315 * progmodes/grep.el (grep-process-setup): Don't check code for 1
18316 because `zgrep' returns 1 for successful matches (bug#9226).
18318 2011-09-18 Juri Linkov <juri@jurta.org>
18320 * info.el (Info-extract-menu-node-name): Check the second match
18321 for empty string (second test-case of bug#9528).
18322 (Info-last-preorder): Let-bind `Info-history' to nil to not add
18323 intermediate nodes to the history (first test-case of bug#9528).
18325 2011-09-18 Juri Linkov <juri@jurta.org>
18327 * info.el (Info-mode-syntax-table): New variable.
18328 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
18330 2011-09-18 Juri Linkov <juri@jurta.org>
18332 * info.el (Info-file-supports-index-cookies):
18333 Increment line-beginning-position's arg from 3 to 4 because makeinfo
18334 outputs one more line for long file names (bug#4142).
18336 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
18338 * newcomment.el (comment-normalize-vars): If prompting for
18339 comment-start, set comment-start-skip too (Bug#8424).
18341 2011-09-18 Johan Bockgård <bojohan@gnu.org>
18343 * icomplete.el: Fix previous fix of Bug#5849.
18344 (icomplete-mode): Don't set completion-show-inline-help.
18345 (icomplete-minibuffer-setup): Set completion-show-inline-help
18346 locally during icompletion.
18348 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
18350 * woman.el (woman2-process-escapes): Don't delete unrecognized
18351 escapes (Bug#7843).
18353 * files.el (inhibit-first-line-modes-regexps): Add image files.
18354 (hack-local-variables-prop-line): Return nil for malformed
18355 prop-lines (Bug#9044).
18357 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
18359 * net/tramp.el (top): Don't require 'shell.
18360 (tramp-methods): Fix docstring.
18361 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
18362 Return complete remote file name. Handle "smb" case.
18363 Use `tramp-tmpdir', if defined for the respective method.
18364 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
18366 * net/tramp-compat.el (top): Require 'shell.
18368 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
18369 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
18370 `tramp-current-host'.
18371 (tramp-get-remote-tmpdir): Remove.
18373 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
18374 `tramp-tmpdir' entries.
18375 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
18376 (tramp-smb-handle-file-attributes): Ignore errors.
18377 (tramp-smb-wait-for-output): Check also for process end.
18379 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
18381 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
18382 when sending QUIT (bug#9312).
18384 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
18386 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
18387 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
18388 occur-mode-display-occurrence.
18389 (occur-edit-mode): Add usage message.
18390 (occur-cease-edit): New command.
18391 (occur-after-change-function): Use text properties to find the
18392 position of the prefix text.
18393 (occur-engine): Set stickiness of prefix text properties.
18395 2011-09-17 Glenn Morris <rgm@gnu.org>
18397 * progmodes/etags.el (complete-tag):
18398 Fix call to completion-in-region. (Bug#9526)
18400 2011-09-17 Juri Linkov <juri@jurta.org>
18402 * textmodes/ispell.el (ispell-word): Add to the error message
18403 the word, ispell program name and current dictionary (bug#9121).
18404 (ispell-tex-arg-end): Capitalize "error" in the error message.
18406 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
18408 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
18411 2011-09-17 Juri Linkov <juri@jurta.org>
18413 * window.el (window-safe-min-height, window-safe-min-width):
18414 Fix typos (followup to bug#9522).
18416 2011-09-17 Sven Joachim <svenjoac@gmx.de>
18418 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
18420 2011-09-16 Eli Zaretskii <eliz@gnu.org>
18422 * simple.el (line-move): If goal-column is set, move by logical
18423 lines, not by display lines. (Bug#971)
18424 (next-line, previous-line, goal-column, line-move-visual): Doc fix
18425 to reflect the above change.
18427 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
18429 * image.el (imagemagick-register-types): Use regexp-opt.
18431 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
18433 * window.el (display-buffer-base-action): Rename from
18434 display-buffer-default-action. Make default value empty.
18435 (display-buffer-overriding-action): Convert to defvar.
18436 (display-buffer-fallback-action): New var.
18438 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
18440 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
18442 (package--add-to-archive-contents): If there is a duplicate entry
18443 with an older version, remove it.
18444 (package-menu-mark-delete, package-menu-mark-install)
18445 (package-menu-mark-unmark): Make unused args optional.
18446 (package-menu-mark-obsolete-for-deletion):
18447 Use package-menu-get-status instead of a regexp search.
18448 (package-menu-get-status): Use tabulated-list-entry.
18449 (package-menu-mark-upgrades): New command.
18450 (package-menu-mode-map): Bind it to U. Add it to menu bar.
18451 (package-menu-execute): Do installation before deletion.
18452 (package-menu-refresh, package-menu-execute): Use derived-mode-p
18453 instead of checking major-mode.
18454 (package-menu--find-upgrades): New function.
18456 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
18458 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
18459 passwords in the log buffer.
18460 (smtpmail-process-filter): Update the process marker so that the
18461 "broken by peer" status message is inserted in the right place.
18463 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
18465 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
18466 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
18467 bibtex-completion-at-point-function.
18468 (bibtex-completion-at-point-function): Use them.
18470 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
18472 * mpc.el (mpc-constraints-tag-lookup): New function.
18473 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
18474 also to browser "album|playlist".
18476 2011-09-14 Juri Linkov <juri@jurta.org>
18478 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
18479 (isearch-edit-string): Use length of `isearch-string' when
18480 `isearch-fail-pos' returns nil.
18481 (isearch-message): Remove duplicate code and call
18482 `isearch-fail-pos' with arg `t'.
18484 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
18486 * replace.el (occur-mode-goto-occurrence): Don't force using other
18489 * dired-aux.el (dired-do-chmod): Don't provide initial input.
18491 2011-09-14 Martin Rudalics <rudalics@gmx.at>
18493 * window.el (display-buffer-window): Remove.
18494 (display-buffer-record-window): Use help-setup window parameter
18495 instead of variable display-buffer-window.
18496 (display-buffer-function, special-display-buffer-names)
18497 (special-display-function): Mention help-setup parameter instead
18498 of display-buffer-window in doc-string.
18499 * help.el (help-window-setup): New argument help-window.
18500 Use help-window-setup parameter instead of display-buffer-window.
18501 Reword some messages.
18502 (with-help-window): Pass window used for displaying the buffer
18503 to help-window-setup. Don't set display-buffer-window.
18505 2011-09-13 Glenn Morris <rgm@gnu.org>
18507 * emacs-lisp/debug.el (debugger-make-xrefs):
18508 Preserve point. (Bug#9462)
18510 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
18512 * window.el (window-deletable-p): Use next-frame.
18514 2011-09-13 Martin Rudalics <rudalics@gmx.at>
18516 * window.el (window-auto-delete): Remove.
18517 (window-deletable-p): Remove argument FORCE. Don't deal with
18518 dedication and previous buffers.
18519 (switch-to-prev-buffer): Don't delete window.
18520 (delete-windows-on): Delete a window's frame if and only if the
18521 window is dedicated.
18522 (replace-buffer-in-windows): Delete buffer's window or frame if
18523 and only if window is dedicated.
18524 (quit-window): Handle quit-restore as before last change.
18525 (bury-buffer): Delete window only if window-deletable-p returns t.
18527 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
18529 * window.el (window-deletable-p): Never delete the last frame on a
18532 2011-09-13 Glenn Morris <rgm@gnu.org>
18534 * help.el (describe-key-briefly): Copy previous standard-output change.
18536 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
18538 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
18540 2011-09-13 Glenn Morris <rgm@gnu.org>
18542 * emacs-lisp/lisp-mode.el (lisp-indent-function):
18543 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
18545 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
18547 * dired-aux.el (dired-mark-read-string): Don't return default
18548 value on empty input (Bug#9361).
18549 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
18550 Omit initial minibuffer contents.
18551 (dired-do-chmod): Signal an error on empty input.
18552 (dired-mark-read-string): Don't return default on empty input.
18554 * files.el (file-modes-symbolic-to-number): Doc fix.
18556 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
18558 * international/mule-cmds.el (ucs-completions): Remove.
18559 (read-char-by-name): Use complete-with-action instead; add metadata.
18561 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
18563 * window.el (display-buffer--action-function-custom-type)
18564 (display-buffer--action-custom-type): New vars.
18565 (display-buffer-alist, display-buffer-default-action)
18566 (display-buffer-overriding-action): Add defcustom types.
18568 * frame.el (delete-other-frames): Doc fix (Bug#276).
18570 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
18572 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
18574 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
18576 Change modes that used same-window-* vars to use switch-to-buffer.
18578 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
18579 Use switch-to-buffer.
18581 * cus-edit.el (customize-group, custom-buffer-create)
18582 (customize-browse, custom-buffer-create-other-window):
18583 Use switch-to-buffer or switch-to-buffer-other-window.
18585 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
18586 (Info-prev, Info-up, Info-speedbar-goto-node)
18587 (info-display-manual): Use switch-to-buffer.
18588 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
18590 * mail/sendmail.el (mail): Use switch-to-buffer.
18591 (mail-recover): Use switch-to-buffer-other-window.
18593 * cmuscheme.el (run-scheme, switch-to-scheme):
18595 * shell.el (shell):
18596 * net/rlogin.el (rlogin):
18597 * net/telnet.el (telnet, rsh):
18598 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
18600 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
18602 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
18604 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
18606 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
18607 so don't mention it (bug#9301).
18608 (dired-sort-toggle-or-edit): Clarify string further.
18610 * faces.el (face-spec-set-match-display): Make `(type graphic)'
18611 match `x', `w32' and `ns', like the manual says (bug#9029).
18613 * subr.el (eval-after-load): Doc string clarification (bug#9125).
18614 (process-kill-buffer-query-function): Mention the buffer name in
18617 * image-mode.el (image-next-line): The line parameter is mandatory
18620 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
18621 which can be useful (bug#9301).
18623 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
18625 * subr.el (match-string): Mention that the current buffer should
18626 be the same as the search was done in (bug#9282).
18628 * facemenu.el: Disable the remove-* commands if the mark isn't
18631 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
18633 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
18635 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
18637 * replace.el (occur-mode-goto-occurrence)
18638 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
18639 and display-buffer.
18641 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
18644 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
18645 special-display and same-window variables.
18646 (mail-other-window): Use switch-to-buffer-other-window.
18647 (mail-other-frame): USe switch-to-buffer-other-frame.
18649 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
18650 Use display-buffer-other-frame.
18651 (gdb-display-gdb-buffer): Use pop-to-buffer.
18653 * progmodes/gud.el (gud-goto-info): Use info-other-window.
18655 * progmodes/python.el: Don't set same-window-buffer-names.
18657 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
18659 * window.el (display-buffer-alist): Add *Python*.
18661 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
18663 * window.el (display-buffer-alist): Add entry for buffers
18664 previously handled same-window-*.
18665 (display-buffer-alist, display-buffer-default-action)
18666 (display-buffer-overriding-action): Mark as risky.
18667 (display-buffer-alist): Document action function changes.
18668 (display-buffer--same-window-action)
18669 (display-buffer--other-frame-action): New variables.
18670 (switch-to-buffer, display-buffer-other-frame): Use them.
18671 (display-buffer): Rename reuse-frame entry to reusable-frames.
18672 (display-buffer-reuse-selected-window): Function deleted.
18673 (display-buffer-reuse-window): Handle reusable-frames alist entry.
18674 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
18675 (display-buffer-special): New function.
18676 (display-buffer--maybe-pop-up-frame-or-window): Rename from
18677 display-buffer-reuse-or-pop-window. Split off special-display
18678 part into display-buffer-special.
18679 (display-buffer-use-some-window): Don't perform any special
18680 pop-up-frames handling.
18681 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
18682 (display-buffer--maybe-same-window): Rename from
18683 display-buffer-maybe-same-window.
18685 * info.el: Don't set same-window-regexps.
18686 (info-setup): New function.
18687 (info-other-window, info): Call it.
18689 * cus-edit.el: Don't set same-window-regexps.
18690 (customize-group): New argument.
18691 (customize-group-other-window): Use it.
18692 (customize-face, customize-face-other-window): Likewise.
18693 (custom-buffer-create-other-window): Use pop-to-buffer directly.
18697 * progmodes/gud.el: Don't set same-window-regexps.
18702 * mail/sendmail.el:
18703 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
18705 2011-09-10 Juri Linkov <juri@jurta.org>
18707 * isearch.el (isearch-edit-string): Remove obsolete mention of
18708 `C-w' (`isearch-yank-word-or-char') from docstring.
18709 (isearch-query-replace): Fix typo in docstring (bug#9466).
18711 2011-09-10 Juri Linkov <juri@jurta.org>
18713 * paren.el (show-paren-function): Don't show escaped parens.
18714 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
18716 2011-09-10 Eli Zaretskii <eliz@gnu.org>
18718 * mail/sendmail.el (mml-to-mime, mml-attach-file)
18719 (mm-default-file-encoding): Remove autoload forms, they are
18720 replaced with autoload cookies in mml.el and mm-encode.el.
18721 (mail-add-attachment): New command.
18722 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
18723 (mail-mode): Mention mail-insert-file and mail-add-attachment in
18725 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
18727 2011-09-10 Reuben Thomas <rrt@sc3d.org>
18729 * simple.el (count-words-region): Use buffer if there's no region
18732 2011-09-09 Juri Linkov <juri@jurta.org>
18734 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
18735 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
18736 (wdired-isearch-filter-read-only): New function. (Bug#6362)
18738 2011-09-09 Alan Mackenzie <acm@muc.de>
18740 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
18741 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
18743 2011-09-09 Eli Zaretskii <eliz@gnu.org>
18745 Fix for Savannah bug#9392.
18746 * simple.el (mail-encode-mml): New defvar.
18748 * mail/rmail.el (mail-encode-mml): Add a defvar.
18749 (rmail-enable-mime-composing): Default to t.
18750 (rmail-forward): Use MIME method of forwarding only if both
18751 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
18752 Set mail-encode-mml non-nil if the MIME method was used.
18754 * mail/sendmail.el (mml-to-mime): Add autoload form.
18755 (mail-encode-mml): Add a defvar.
18756 (mail-mode): Make mail-encode-mml buffer-local and initialize it
18758 (mail-send): If mail-encode-mml is non-nil, run the outgoing
18759 message through mml-to-mime, and reset mail-encode-mml to nil.
18761 2011-09-09 Glenn Morris <rgm@gnu.org>
18763 * woman.el (woman-if-body): When processing an .el block,
18764 do not delete the next .el block as well. (Bug#9447)
18765 (woman-special-characters): Add oq, cq, and hy characters.
18767 2011-09-08 Martin Rudalics <rudalics@gmx.at>
18769 * window.el (window-deletable-p): Make sure window is live before
18770 invoking window-prev-buffers.
18772 2011-09-08 Leo Liu <sdl.web@gmail.com>
18774 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
18776 2011-09-08 Juri Linkov <juri@jurta.org>
18778 * progmodes/compile.el (compilation-environment): Make it
18779 a defcustom (bug#8340).
18781 2011-09-08 Martin Rudalics <rudalics@gmx.at>
18783 * window.el (frame-auto-delete): Rename to window-auto-delete.
18784 Make it control auto-deletion of windows and/or frames.
18785 (window-deletable-p): New argument FORCE. Rewrite conditions
18786 for deleting window/frame. (Bug#9419)
18787 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
18788 Rewrite handling of case when window/frame can be deleted.
18789 (delete-windows-on): Call window-deletable-p with new FORCE
18790 argument t. (Bug#9456)
18792 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
18794 * help-mode.el (help-mode): Restore autoload.
18796 2011-09-07 Juri Linkov <juri@jurta.org>
18798 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
18799 `compilation-environment'. Set buffer-local
18800 `compilation-environment' to `thisenv' later after (funcall mode).
18803 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
18804 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
18805 instead of replacing its value. (Bug#8340)
18807 2011-09-07 Juri Linkov <juri@jurta.org>
18809 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
18810 based on text properties put by `grep-filter' instead of matching
18812 (grep-mode): Set buffer-local `compilation-error-screen-columns'
18813 to the value of `grep-error-screen-columns' (bug#9438).
18815 2011-09-07 Juri Linkov <juri@jurta.org>
18817 * simple.el (next-error-highlight, next-error-highlight-no-select):
18818 Doc fix (bug#9432).
18820 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
18822 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
18823 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
18825 2011-09-07 Leo Liu <sdl.web@gmail.com>
18827 * net/rcirc.el (rcirc-mode): Conditionally initialize
18830 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
18832 * emacs-lisp/find-func.el (find-function-C-source): Only set
18833 find-function-C-source-directory after checking that we found a source
18834 file there (bug#9440).
18836 2011-09-06 Alan Mackenzie <acm@muc.de>
18838 * isearch.el (isearch-other-meta-char): Wherever a key list is
18839 unread, "unread" the prefix arg, too. This fixes bug #8901.
18841 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
18843 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
18845 2011-09-05 Juri Linkov <juri@jurta.org>
18847 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
18849 2011-09-05 Juri Linkov <juri@jurta.org>
18851 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
18852 keeping point where processing of grep matches begins, and
18853 continue to delete remaining escape sequences from the same point.
18854 (grep-filter): Make leading zero optional in "0?1;31m" because
18855 git-grep emits "\033[1;31m" escape sequences unlike expected
18856 "\033[01;31m" as GNU Grep does (bug#9408).
18857 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
18859 2011-09-05 Juri Linkov <juri@jurta.org>
18861 * subr.el (y-or-n-p): Capitalize "yes".
18863 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
18865 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
18866 `tramp-cache-unload-hook' where appropriate.
18867 (tramp-methods): Rename `tramp-remote-sh' to
18868 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
18869 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
18871 * net/tramp-sh.el (top): Don't require 'shell.
18872 (tramp-methods): Add `tramp-remote-shell' and
18873 `tramp-remote-shell-args' entries.
18874 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
18875 (tramp-sh-handle-shell-command): Remove.
18876 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
18877 Use `tramp-remote-shell'.
18879 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
18881 * mail/sendmail.el (sendmail-query-once-function): Delete.
18882 (sendmail-query-once): Save directly to send-mail-function.
18883 Update message-send-mail-function too.
18885 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
18887 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
18889 * progmodes/python.el (python-mode-map): Use correct function to
18890 start python interpreter from menu-bar (as reported by Geert
18892 (inferior-python-mode-map): Fix typo.
18893 (python-shell-map): Remove.
18895 2011-09-03 Deniz Dogan <deniz@dogan.se>
18897 * net/rcirc.el (rcirc-print): Simplify code for
18898 rcirc-scroll-show-maximum-output. There is no need to walk
18899 through all windows to find the right one.
18901 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
18903 * help.el (help-return-method): Doc fix.
18905 2011-09-03 Martin Rudalics <rudalics@gmx.at>
18907 * window.el (window-deletable-p): Don't return a non-nil value
18908 when there's a buffer that was shown in the window before.
18910 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
18911 Set window's previous buffers to nil.
18913 2011-09-03 Eli Zaretskii <eliz@gnu.org>
18915 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
18916 newline before and after the tag line, so it doesn't interfere
18917 with determining the paragraph direction of bidirectional text.
18919 2011-09-03 Leo Liu <sdl.web@gmail.com>
18921 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
18923 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
18925 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
18926 (pop-to-buffer): Change interactive spec. Pass second argument
18927 directly to display-buffer.
18928 (display-buffer): Fix interactive spec. Use functionp to
18929 distinguish between a function and a list of functions.
18931 * abbrev.el (edit-abbrevs):
18932 * arc-mode.el (archive-extract):
18933 * autoinsert.el (auto-insert):
18934 * bookmark.el (bookmark-bmenu-list):
18935 * files.el (find-file):
18936 * view.el (view-buffer):
18937 * progmodes/compile.el (compilation-goto-locus):
18938 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
18940 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
18942 * window.el (display-buffer-alist): Doc fix.
18943 (display-buffer): Add docstring. Don't treat
18944 display-buffer-default specially.
18945 (display-buffer-reuse-selected-window)
18946 (display-buffer-same-window, display-buffer-maybe-same-window)
18947 (display-buffer-reuse-window, display-buffer-pop-up-frame)
18948 (display-buffer-pop-up-window)
18949 (display-buffer-reuse-or-pop-window)
18950 (display-buffer-use-some-window): New functions.
18951 (display-buffer-default-action): Use them.
18952 (display-buffer-default): Delete.
18953 (pop-to-buffer-1): Fix choice of actions.
18955 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
18957 * minibuffer.el (completion--insert-strings): Don't get confused by
18958 completion entries that end with an LF char.
18960 2011-09-01 Eli Zaretskii <eliz@gnu.org>
18962 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
18964 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
18966 * window.el (display-buffer): Restore interactive spec.
18967 (display-buffer-same-window, display-buffer-other-window):
18969 (pop-to-buffer-1): New function. Use the above.
18970 (pop-to-buffer, pop-to-buffer-same-window): Use it.
18971 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
18973 * view.el (view-buffer-other-window, view-buffer-other-frame):
18974 Just use pop-to-buffer.
18976 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
18978 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
18980 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
18982 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
18984 2011-08-31 Richard Stallman <rms@gnu.org>
18986 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
18987 of the separation of rmail-view-buffer from rmail-buffer.
18988 If you say no to "replace original", the decrypt is in the
18989 view buffer. If you say yes, the decrypt goes into the
18992 2011-08-31 Martin Rudalics <rudalics@gmx.at>
18994 * window.el (display-buffer-window): Rewrite doc-string.
18995 (display-buffer-record-window): New function.
18996 (display-buffer-macro-specifiers)
18997 (display-buffer-even-window-sizes, display-buffer-set-height)
18998 (display-buffer-set-width, display-buffer-in-window)
18999 (display-buffer-reuse-window, display-buffer-split-specifiers)
19000 (display-buffer-side-specifiers, display-buffer-split-window-1)
19001 (display-buffer-split-window, display-buffer-split-atom-window)
19002 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
19003 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
19004 (display-buffer-other-window-means-other-frame)
19005 (display-buffer-normalize-special)
19006 (display-buffer-normalize-default)
19007 (display-buffer-normalize-argument)
19008 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
19009 (display-buffer-normalize-specifiers, display-buffer-frame)
19010 (display-buffer-same-window, display-buffer-same-frame)
19011 (display-buffer-other-window)
19012 (display-buffer-same-frame-other-window)
19013 (display-buffer-other-frame, pop-to-buffer-same-window)
19014 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
19015 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
19016 (switch-to-buffer-same-frame)
19017 (switch-to-buffer-other-window-same-frame)
19018 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
19019 (display-buffer-alist-set-1, display-buffer-alist-set-2)
19020 (display-buffer-alist-set): Remove.
19021 (display-buffer-function, special-display-buffer-names)
19022 (special-display-regexps, special-display-function):
19023 In doc-string refer to display-buffer-window and quit-restore
19025 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
19026 (special-display-frame-alist, special-display-popup-frame)
19027 (same-window-buffer-names, same-window-regexps, same-window-p)
19028 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
19029 (split-window-preferred-function, split-height-threshold)
19030 (split-width-threshold, window-splittable-p)
19031 (split-window-sensibly, window--try-to-split-window)
19032 (window--frame-usable-p, even-window-heights)
19033 (window--even-window-heights, window--display-buffer-1)
19034 (window--display-buffer-2, display-buffer-other-frame):
19035 Restore old Emacs 23 code, order and doc-strings where applicable.
19036 (display-buffer-default, display-buffer-assq-regexp): New functions.
19037 (display-buffer-alist): Rewrite doc-string.
19038 (display-buffer-default-action)
19039 (display-buffer-overriding-action): New variables.
19040 (display-buffer, switch-to-buffer): Rewrite.
19041 (pop-to-buffer): Restore Emacs 23 behavior but use
19042 window-normalize-buffer-to-display.
19043 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
19044 Restore Emacs 23 behavior but use
19045 window-normalize-buffer-to-switch-to.
19046 (pop-to-buffer-same-window): Rewrite.
19047 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
19048 Rewrite using Emacs 23 options.
19050 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
19052 * net/tramp.el (tramp-root-regexp): Remove.
19053 (tramp-completion-file-name-regexp-unified)
19054 (tramp-completion-file-name-regexp-separate)
19055 (tramp-completion-file-name-regexp-url): Don't use leading volume
19056 letter on w32 systems. (Bug#5303, Bug#9311)
19057 (tramp-drop-volume-letter): Simplify definition.
19058 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
19060 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
19062 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
19065 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
19067 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
19069 2011-08-29 Juri Linkov <juri@jurta.org>
19071 * isearch.el (isearch-done): Don't display message "Mark saved"
19072 when arg `edit' is non-nil to prevent its flicker in the echo area.
19074 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
19076 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
19077 obsolete packages for deletion.
19079 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
19081 * help-mode.el (help-mode-map): Add special-mode-map to parent.
19082 (help-mode): Derive help-mode from special-mode. Don't invoke
19083 view-mode from help-mode.
19084 (help-xref-override-view-map): Remove.
19085 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
19086 view-mode is not used anymore.
19088 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
19090 * server.el (server-port): Doc fix.
19092 * cus-theme.el (custom-theme-choose-mode): Inherit from
19093 special-mode (Bug#9124).
19094 (custom-theme-choose-mode-map): Add special-mode to parent.
19096 2011-08-28 Alan Mackenzie <acm@muc.de>
19098 * progmodes/cc-fonts.el
19099 (c-make-font-lock-BO-decl-search-function): New function.
19100 (c-basic-matchers-after - "Fontify the clauses after various
19101 keywords"): Extract the three keyword lists for the 3 erroneous
19102 constructs from the list of four, and use the new function above
19103 in place of an old one.
19105 2011-08-28 Deniz Dogan <deniz@dogan.se>
19107 * net/rcirc.el (rcirc-insert-prev-input)
19108 (rcirc-insert-next-input): Remove unused argument.
19110 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
19112 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
19114 2011-08-27 Alan Mackenzie <acm@muc.de>
19116 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
19117 handle function pointer parameters properly.
19119 2011-08-27 Martin Rudalics <rudalics@gmx.at>
19121 * window.el (display-buffer-reuse-window): Fix case where
19122 selected window was reused with non-nil OTHER-WINDOW argument.
19125 2011-08-27 Deniz Dogan <deniz@dogan.se>
19127 * net/rcirc.el (rcirc-check-auth-status): Adding support for
19128 oftc's NickServ messages.
19130 2011-08-27 Glenn Morris <rgm@gnu.org>
19132 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
19134 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
19136 * emacs-lisp/package.el (package-install): Call package-initialize
19137 if called interactively.
19139 2011-08-26 Leo Liu <sdl.web@gmail.com>
19141 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
19143 2011-08-25 Juri Linkov <juri@jurta.org>
19145 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
19146 `search-whitespace-regexp' (bug#9364).
19148 2011-08-25 Juri Linkov <juri@jurta.org>
19150 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
19151 `regexp-search-ring' to their global values to protect from
19152 updating by `read-from-minibuffer' (bug#9185).
19154 2011-08-25 Juri Linkov <juri@jurta.org>
19156 * textmodes/ispell.el (ispell-command-loop): Add newline
19157 at the end of the "Use option `i'..." line.
19159 2011-08-25 Juri Linkov <juri@jurta.org>
19161 * battery.el (display-battery-mode): If `battery-status-function'
19162 or `battery-mode-line-format' is nil, display the message and set
19163 `display-battery-mode' to nil (bug#9363).
19165 2011-08-25 Eli Zaretskii <eliz@gnu.org>
19167 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
19168 bidi-string-mark-left-to-right; they are unnecessary now.
19170 2011-08-25 Deniz Dogan <deniz@dogan.se>
19172 * net/quickurl.el: Documentation typo fixes.
19174 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
19176 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
19178 2011-08-25 Glenn Morris <rgm@gnu.org>
19180 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
19182 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
19183 (smtpmail-via-smtp): Handle nil response from smtp.
19185 2011-08-24 Juri Linkov <juri@jurta.org>
19187 * proced.el (proced-marked): Inherit from `error' instead of
19188 `font-lock-warning-face'.
19190 * ibuffer.el (ibuffer-marked-face): Change default face from
19191 `font-lock-warning-face' to `warning'.
19192 (ibuffer-deletion-face): Change default face from
19193 `font-lock-type-face' to `error'.
19195 * battery.el (battery-update): Use the face `error' instead of
19196 `font-lock-warning-face' (bug#6117).
19198 2011-08-24 Juri Linkov <juri@jurta.org>
19200 * faces.el (success): Change face color from "Green3" to
19201 "ForestGreen" on light background (bug#9353).
19203 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
19205 * window.el (quit-window): Rename from quit-restore-window.
19206 Use same arglist as old quit-window.
19207 (frame-auto-delete): Doc fix.
19209 * view.el (view-mode-exit): Use quit-window.
19211 2011-08-24 Juri Linkov <juri@jurta.org>
19213 * isearch.el (isearch-ring-adjust1): Start visiting previous
19214 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
19215 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
19216 for empty search string (when the last search string is reused
19217 automatically) to adjust the isearch ring to the last element and
19218 prepare the correct index for further M-p commands (bug#9185).
19220 2011-08-24 Kenichi Handa <handa@m17n.org>
19222 * international/ucs-normalize.el: If decomposition property of
19223 CHAR is the default one (i.e. a list of CHAR itself), treat it as
19225 (nfd, nfkd): Likewise.
19227 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
19229 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
19230 from process filters aren't reliably transmitted to the surrounding
19231 accept-process-output.
19232 (mpc-proc-check): New function.
19233 (mpc-proc-sync): Use it (bug#8293)
19235 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
19237 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
19238 Add compatibility functions (bug#9313).
19240 2011-08-23 Eli Zaretskii <eliz@gnu.org>
19242 * cus-start.el (all): Add entry for bidi-paragraph-direction.
19244 * international/uni-bidi.el: Regenerate.
19246 2011-08-23 Kenichi Handa <handa@m17n.org>
19248 * international/charprop.el:
19249 * international/uni-bidi.el:
19250 * international/uni-category.el:
19251 * international/uni-combining.el:
19252 * international/uni-comment.el:
19253 * international/uni-decimal.el:
19254 * international/uni-decomposition.el:
19255 * international/uni-digit.el:
19256 * international/uni-lowercase.el:
19257 * international/uni-mirrored.el:
19258 * international/uni-name.el:
19259 * international/uni-numeric.el:
19260 * international/uni-old-name.el:
19261 * international/uni-titlecase.el:
19262 * international/uni-uppercase.el: Regenerate.
19264 2011-08-23 Martin Rudalics <rudalics@gmx.at>
19266 * help.el (help-window-setup): Fix message displayed when other
19267 window is reused. (Bug#9341)
19269 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
19271 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
19272 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
19274 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
19276 * shell.el (shell-parse-pcomplete-arguments): New function.
19277 (shell-completion-vars): Use it instead (bug#9160).
19279 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
19281 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
19282 strings and comments (bug#9333).
19284 * emacs-lisp/debug.el (debug-arglist): New function.
19285 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
19286 (debug-on-entry-1): Handle interpreted closures (bug#9120).
19288 2011-08-22 Juri Linkov <juri@jurta.org>
19290 * progmodes/compile.el (compilation-mode-font-lock-keywords):
19291 Revert regexp that highlights output switches to its old
19292 pre-2010-10-28 value and remove one `?' from it (bug#9319).
19294 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
19295 to check for empty output (bug#9226).
19297 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
19299 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
19300 symbol-constituent as the default, as that stops font-lock from
19301 working properly (Bug#8843).
19303 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
19305 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
19306 `coding-system-for-*' around the process open call to avoid
19307 auth-source side effects.
19308 (smtpmail-try-auth-methods): Expand the secret password.
19309 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
19312 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
19314 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
19316 * emacs-lisp/find-func.el (find-function-noselect): New arg
19319 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
19320 signal an error for built-in functions (Bug#6664).
19322 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
19324 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
19325 (smtpmail-try-auth-methods): Use it.
19327 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
19329 * font-lock.el (font-lock-fontify-region)
19330 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
19331 (font-lock-default-unfontify-buffer)
19332 (font-lock-default-fontify-region)
19333 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
19335 * progmodes/compile.el (compilation-error-properties):
19336 Fix confusion between file struct and message struct (Bug#9319).
19337 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
19340 * net/browse-url.el (browse-url-firefox): Don't call
19341 browse-url-firefox-sentinel unless using -remote (Bug#9328).
19343 2011-08-20 Glenn Morris <rgm@gnu.org>
19345 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
19347 * tutorial.el (tutorial--default-keys): Update some default bindings.
19349 * files.el (hack-local-variables): Fully ignore case for "mode:".
19351 2011-08-20 Alan Mackenzie <acm@muc.de>
19353 Resolve invalid use of a regexp in regexp-opt.
19355 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
19356 detection for a java annotation.
19358 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
19359 detection for a java annotation.
19361 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
19363 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
19365 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
19367 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
19370 2011-08-20 Alan Mackenzie <acm@muc.de>
19372 Fontify CPP expressions correctly when starting in the middle of
19373 such a construct. Mainly for when jit-lock etc. starts a chunk
19376 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
19378 (c-make-font-lock-search-form): New function, extracted from
19379 c-make-font-lock-search-function.
19380 (c-make-font-lock-search-function): Use the above function.
19381 (c-make-font-lock-context-search-function): New function.
19382 (c-cpp-matchers): Enhance the preprocessor expression case with
19384 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
19385 which takes an expression.
19387 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
19389 2011-08-20 Martin Rudalics <rudalics@gmx.at>
19391 * window.el (display-buffer-reuse-window)
19392 (display-buffer-pop-up-window): Don't reuse or split a side
19395 2011-08-19 Glenn Morris <rgm@gnu.org>
19397 * files.el (hack-local-variables-prop-line, hack-local-variables):
19398 Downcase "Mode:". (Bug#9331)
19400 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
19402 * international/characters.el: Add L and R categories.
19404 * subr.el (bidi-string-mark-left-to-right): Rename from
19405 string-mark-left-to-right. Use category search.
19407 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
19409 2011-08-18 Juri Linkov <juri@jurta.org>
19411 * faces.el (error, warning, success): New faces with definitions
19412 copied from old default values of `font-lock-warning-face',
19413 `compilation-warning', `compilation-info' (bug#6117).
19415 * font-lock.el (font-lock-warning-face): Inherit from `error'.
19417 * progmodes/compile.el (compilation-error): Inherit from `error'.
19418 (compilation-warning): Inherit from `warning'.
19419 (compilation-info): Inherit from `success'.
19421 * dired.el (dired-marked): Inherit from `warning'.
19422 (dired-flagged): Inherit from `error'.
19424 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
19426 * mail/smtpmail.el (auth-source): Require to avoid problems with
19427 binding variables (bug#9298). Also clean up some unused
19430 * net/network-stream.el (network-stream-open-starttls):
19431 Support using starttls.el without using gnutls-cli.
19433 2011-08-17 Juri Linkov <juri@jurta.org>
19435 * progmodes/grep.el (rgrep): Handle the case when
19436 `grep-find-command' is a cons cell (bug#9278).
19438 2011-08-17 Martin Rudalics <rudalics@gmx.at>
19440 * window.el (display-buffer-pop-up-frame): Run frame creation
19441 function with BUFFER current (as special-display-popup-frame
19442 does). Reported by Drew Adams.
19444 2011-08-17 Daiki Ueno <ueno@unixuser.org>
19446 * epa-mail.el: Simplify GnuPG group expansion using
19448 (epa-mail-group-alist, epa-mail-group-modtime)
19449 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
19450 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
19451 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
19454 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
19456 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
19458 2011-08-16 Alan Mackenzie <acm@muc.de>
19460 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
19461 Correct, to avoid the inside of macros.
19463 2011-08-16 Richard Stallman <rms@gnu.org>
19465 * epa-mail.el: Handle GnuPG group definitions.
19466 (epa-mail-group-alist, epa-mail-group-modtime)
19467 (epa-mail-gnupg-conf-file): New variables.
19468 (epa-mail-parse-groups, epa-mail-sync-groups)
19469 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
19470 (epa-mail-expand-recipients): New functions.
19471 (epa-mail-encrypt): Call epa-mail-expand-recipients.
19473 * mail/rmail.el (rmail-epa-decrypt): New command.
19475 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
19476 Don't bind buffer-read-only, just inhibit-read-only.
19477 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
19478 (epa-decrypt-armor-in-region): Make error message clearer.
19480 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
19482 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
19483 and "a2b" to "ab" for `prefix'.
19485 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
19487 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
19489 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
19490 Fourquet (Bug#8804).
19492 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
19494 * startup.el (argi): Declare as global variable (bug#9275).
19496 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
19498 * subr.el (string-mark-left-to-right): Search the entire string
19499 for RTL script, not just the terminating character. Doc fix.
19501 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
19503 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
19505 (js--regexp-literal, js-syntax-propertize-function): Remove.
19506 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
19507 (js-mode-map): Don't rebind electric keys.
19508 (js-insert-and-indent): Remove.
19509 (js-mode): Setup electric-layout and electric-indent instead.
19511 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
19513 2011-08-12 Daiki Ueno <ueno@unixuser.org>
19515 * epa.el (epa-progress-callback-function): Fix the logic of
19516 displaying progress.
19517 * epa-file.el (epa-file-insert-file-contents): Make progress
19518 display more user-friendly.
19519 (epa-file-write-region): Ditto.
19521 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
19523 * subr.el (string-mark-left-to-right): New function.
19525 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
19526 Use string-mark-left-to-right.
19527 (list-buffers-noselect): Caller changed.
19529 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
19530 Use string-mark-left-to-right.
19531 (tabulated-list-print): Recenter after moving point.
19533 2011-08-10 Juri Linkov <juri@jurta.org>
19535 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
19536 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
19537 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
19539 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
19541 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
19544 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
19546 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
19547 character. (Bug#6594)
19549 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
19551 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
19552 (image-dired--with-db-file): New macro.
19553 (image-dired-write-tags, image-dired-remove-tag)
19554 (image-dired-create-gallery-lists, image-dired-write-comments)
19555 (image-dired-get-comment, image-dired-mark-tagged-files)
19556 (image-dired-list-tags, image-dired-gallery-generate): Use it.
19557 (image-dired-gallery-generate): Use insert-file-contents.
19559 * time.el (display-time-world-list, display-time-world-display):
19560 * time-stamp.el (time-stamp-string):
19561 * vc/add-log.el (add-change-log-entry): Use setenv instead of
19562 set-time-zone-rule (Bug#7337).
19564 2011-08-08 Daiki Ueno <ueno@unixuser.org>
19566 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
19567 (epg-error-to-string, epg-errors-to-string): New function.
19568 (epg-wait-for-completion): Reverse errors list.
19569 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
19570 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
19571 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
19572 (epg-sign-keys, epg-generate-key-from-file)
19573 (epg-generate-key-from-string): Format errors by using
19574 epg-errors-to-string (bug#9255).
19575 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
19577 2011-08-07 Juri Linkov <juri@jurta.org>
19579 * faces.el (list-faces-display): Remove extra angle bracket
19580 from `help-mode-map'.
19582 * info.el (Info-history-toc-nodes): Doc fix.
19584 * longlines.el (longlines-mode): Doc fix.
19586 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
19588 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
19589 of statements and in a few more cases (bug#9183).
19591 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
19593 (cl-transform-lambda): Use them (bug#9239).
19595 2011-08-05 Martin Rudalics <rudalics@gmx.at>
19597 * window.el (display-buffer-same-window)
19598 (display-buffer-same-frame, display-buffer-other-window)
19599 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
19600 (pop-to-buffer-other-window)
19601 (pop-to-buffer-same-frame-other-window)
19602 (pop-to-buffer-other-frame): Make them defuns.
19603 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
19605 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
19607 * subr.el (make-composed-keymap): Move from C. Change calling
19608 convention, and improve docstring to bring attention to a subtle point.
19609 * minibuffer.el (completing-read-default): Adjust accordingly.
19611 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
19613 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
19614 (tramp-open-shell): Use `tramp-shell-quote-argument'.
19616 * net/trampver.el: Update release number.
19618 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
19620 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
19623 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
19625 * mail/sendmail.el (sendmail-query-once): Restore the current
19626 buffer after querying (bug#9074).
19628 * dired.el (dired-flagged): Use different faces for marked and
19629 flagged files (bug#6117).
19631 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
19634 * ido.el (ido-mode): Switch off the message if called
19637 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
19638 before 587, since it appears that that's more likely to work for
19641 * cus-edit.el (custom-file): When running under emacs -q, always
19642 refuse to save the customizations, even if the .emacs file doesn't
19645 * info.el: Remove the `Info-beginning-of-buffer' function
19648 * net/network-stream.el (network-stream-open-starttls):
19649 Use `starttls-available-p' to see whether starttls.el can be used.
19651 2011-08-01 Martin Rudalics <rudalics@gmx.at>
19653 * window.el (display-buffer-in-window): Don't set dedicated status
19654 of window here (Bug#9215).
19655 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
19656 (display-buffer-pop-up-side-window)
19657 (display-buffer-in-side-window): Set dedicated status of window here.
19659 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
19661 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
19662 before binding generated-autoload-file.
19664 2011-08-01 Deniz Dogan <deniz@dogan.se>
19666 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
19668 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
19670 Sync with Tramp 2.2.2.
19672 * net/trampver.el: Update release number.
19674 2011-07-30 Juri Linkov <juri@jurta.org>
19676 * dired-aux.el (dired-touch-initial): Remove function.
19677 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
19678 current time, and `default' to the last modification time of the
19679 current marked file (bug#6887).
19681 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
19683 * simple.el (goto-line): Use string-to-number to provide a
19684 numeric argument to read-number (bug#9163).
19686 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
19688 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
19689 connection process, it could be nil.
19691 2011-07-27 Leo Liu <sdl.web@gmail.com>
19693 Simplify url handling in rcirc-mode.
19695 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
19696 (rcirc-browse-url-at-mouse): Remove.
19697 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
19699 2011-07-26 Alan Mackenzie <acm@muc.de>
19701 Fontify bitfield declarations properly.
19703 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
19704 (c-symbol-chars): Now exported as a lang variable.
19705 (c-not-primitive-type-keywords): New lang variable.
19707 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
19708 QT keyword "more" to prevent "more slots: ...." being spuriously
19709 parsed as a bitfield declaration.
19711 * progmodes/cc-engine.el (c-beginning-of-statement-1):
19712 Refactor and enhance to handle bitfield declarations.
19713 (c-punctuation-in): New function.
19714 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
19715 declarations properly.
19717 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
19719 * calendar/icalendar.el (icalendar--all-events): Take care of
19720 multiple vcalendars in a single file.
19721 (icalendar--convert-float-to-ical): Checkdoc fixes.
19723 2011-07-25 Deniz Dogan <deniz@dogan.se>
19725 * image.el (insert-image): Clarifying docstring.
19727 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
19729 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
19730 `tramp-send-command-and-check' if there is no error.
19731 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
19733 2011-07-22 Alan Mackenzie <acm@muc.de>
19735 Prevent cc-langs.elc being loaded at run time.
19737 * progmodes/cc-mode.el: Remove two autoload forms which loaded
19740 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
19741 "(require 'cc-langs)". Quote a form so it will evaluate at
19742 (cc-mode's) compilation time.
19744 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
19746 * net/tramp.el (tramp-file-name-handler): Avoid recursive
19747 loading. (Bug#9114)
19749 2011-07-21 Martin Rudalics <rudalics@gmx.at>
19751 * window.el (display-buffer-pop-up-window)
19752 (display-buffer-pop-up-side-window)
19753 (display-buffer-in-side-window): Call display-buffer-set-height
19754 and display-buffer-set-width after setting the new window's
19755 buffer so `fit-window-to-buffer' and friends work on the right buffer.
19757 2011-07-20 Sam Steingold <sds@gnu.org>
19759 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
19760 (etags-tags-included-tables): Call `convert-standard-filename' on
19761 the file names contained in TAGS so that windows Emacs can handle
19762 TAGS files created by cygwin ctags.
19764 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
19766 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
19767 which apparently didn't work.
19769 2011-07-19 Roland Winkler <winkler@gnu.org>
19771 * proced.el (proced-send-signal): For *Marked Processes* buffer
19772 put point at beginning of buffer.
19774 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
19776 * proced.el (proced-format): Make header lines align with the text
19779 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
19781 * view.el (view-buffer): Allow running in `special' modes if we're
19782 visiting a file (bug#8615).
19784 2011-07-19 Martin Rudalics <rudalics@gmx.at>
19786 * window.el (display-buffer-alist-of-strings-p)
19787 (display-buffer-alist-set-1, display-buffer-alist-set-2):
19789 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
19792 2011-07-18 Alan Mackenzie <acm@muc.de>
19794 Fontify declarators properly when, e.g., a jit-lock chunk begins
19795 inside a declaration.
19797 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
19799 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
19801 (c-complex-decl-matchers): Insert reference to
19802 c-font-lock-enclosing-decls.
19804 * progmodes/cc-engine.el (c-backward-single-comment):
19805 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
19806 to nil around calls to (forward-comment -1).
19808 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
19810 * image.el (put-image): Doc typo fix.
19812 * progmodes/etags.el (tags-search): Doc typo fix.
19814 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
19815 password if we get errors 550 to 554.
19817 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
19819 * net/gnutls.el (gnutls-log-level): Remove.
19821 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
19822 indentation character (bug#6380).
19824 * files.el (buffer-offer-save): Made permanently local (bug#6241).
19826 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
19827 to clarify what the problem is (bug#4291).
19829 * simple.el (current-kill): Clarify what
19830 `interprogram-paste-function' does (bug#7500).
19831 (auto-fill-mode): Document `auto-fill-function' in relation to
19832 `auto-fill-mode' (bug#2470).
19834 2011-07-16 Lawrence Mitchell <wence@gmx.li>
19836 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
19837 method if slot is read-only (bug#9035).
19839 2011-07-16 Martin Rudalics <rudalics@gmx.at>
19841 * frame.el (select-frame-set-input-focus): New argument NORECORD.
19842 * window.el (pop-to-buffer): Select window used even if it was
19843 selected before, see discussion of (Bug#8615), (Bug#6954).
19844 Pass argument NORECORD on to select-frame-set-input-focus.
19846 2011-07-15 Glenn Morris <rgm@gnu.org>
19848 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
19851 2011-07-09 Lawrence Mitchell <wence@gmx.li>
19853 * net/gnutls.el (gnutls-min-prime-bits): New variable.
19854 (gnutls-negotiate): Use it.
19856 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
19858 * net/gnutls.el (gnutls-negotiate):
19859 Upcase `gnutls-algorithm-priority'.
19861 2011-07-15 Glenn Morris <rgm@gnu.org>
19863 * jka-compr.el (jka-compr-verbose): Move from here...
19864 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
19865 Add missing :version tag.
19866 * info.el: No need to require jka-compr when compiling.
19868 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
19870 * net/gnutls.el (gnutls-algorithm-priority): New variable.
19871 (gnutls-negotiate): Use it.
19873 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
19875 * info.el (Info-beginning-of-buffer): New command.
19876 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
19877 announcing `b' as the key (bug#8325).
19878 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
19880 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
19882 * international/mule-cmds.el
19883 (describe-specified-language-support): Make the error message
19884 clearer (bug#8905).
19886 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
19888 * isearch.el (isearch-barrier): Add a doc string, since it's
19889 mentioned in a function doc string (bug#8678).
19891 2011-07-15 Martin Rudalics <rudalics@gmx.at>
19893 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
19894 buffer argument (Bug#9083) and self-identifying label argument.
19896 2011-07-15 Glenn Morris <rgm@gnu.org>
19898 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
19900 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
19902 * man.el (Man-fontify-manpage): Fix message when formatting the
19903 man page (bug#7929).
19905 2011-07-14 Eli Zaretskii <eliz@gnu.org>
19907 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
19908 argument LRM; if non-nil, append an invisible LRM character to the
19910 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
19911 last argument non-nil, when formatting buffer names.
19912 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
19913 paragraph direction.
19915 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
19917 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
19918 the man page name (bug#7929).
19920 * image.el (put-image): Mention the `put-image' overlay property
19923 * scroll-bar.el (set-scroll-bar-mode): Mention that
19924 `scroll-bar-mode' lists the values (bug#7772).
19926 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
19927 command (bug#7729).
19929 * rect.el (apply-on-rectangle): Return the point after the last
19931 (string-rectangle): Go to the point after the last operation
19934 * printing.el (pr-toggle-region): Clarify the documentation
19935 slightly (bug#7493).
19937 * time.el (display-time-update):
19938 Allow `display-time-mail-function' to return nil (bug#7158).
19939 Fix suggested by Detlev Zundel.
19941 * vc/diff.el (diff): Clarify the order the file names are read
19944 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
19945 the doc string (bug#7015).
19947 * font-lock.el (font-lock-maximum-decoration): Mention what
19948 numeric levels mean (bug#6935).
19950 * startup.el (initial-buffer-choice): Don't mention the `none'
19951 selection, which is against policy.
19953 2011-07-14 Martin Rudalics <rudalics@gmx.at>
19955 * window.el (display-buffer-normalize-special):
19956 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
19958 2011-07-14 Eli Zaretskii <eliz@gnu.org>
19960 * subr.el (version<, version<=, version=): Mention "-CVS" and
19961 "-12345" alpha version numbers.
19963 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
19965 * bindings.el: Add advertised binding for set-mark-command
19968 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
19970 * bindings.el (mode-line-other-buffer):
19971 * bookmark.el (bookmark-bmenu-2-window):
19972 * bs.el (bs-cycle-next, bs-cycle-previous):
19973 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
19976 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
19979 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
19981 * follow.el (follow-debug-message, follow-redisplay):
19982 * jka-cmpr-hook.el (with-auto-compression-mode):
19983 Fix typos in docstrings.
19985 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
19987 * subr.el (with-silent-modifications): Clarify somewhat what the
19988 macro inhibits (bug#6525).
19990 * simple.el (eval-expression): Note what it does if called
19991 interactively (bug#6495).
19993 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
19995 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
19996 Use pop-to-buffer buffer-or-name if it is nil.
19998 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
19999 Remove switch-to-buffer.
20001 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
20003 * files.el (make-directory): Clarify that an error will be raised
20004 if there's an error (bug#6397).
20006 * startup.el (initial-buffer-choice): Add `none' as a choice
20009 * subr.el (add-hook): Clarify section about buffer-local hooks
20012 * dired.el (dired-flagged): Clarify doc string (bug#6117).
20014 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
20016 * tabify.el (untabify): Preserve the current column so that point
20017 doesn't move (bug#6032).
20019 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
20021 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
20022 Rewrite to avoid awkward possessive "s" (bug#5986).
20024 2011-07-13 Glenn Morris <rgm@gnu.org>
20026 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
20027 (dired-insert-directory): Give a message the first time
20028 if ls is found not to support --dired.
20030 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
20032 * simple.el (toggle-truncate-lines): Clarify what is toggled
20033 (bug#5580). Text by Drew Adams.
20035 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
20037 * simple.el (blink-matching-open): Make the error message from the
20038 last change less verbose.
20040 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
20042 * font-lock.el (font-lock-comment-face): Use the high contrast
20043 "yellow" color for font-lock-comment-face on low color terminals
20044 using a dark background color (bug#4221).
20046 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
20048 * dired.el (dired-insert-set-properties): Make the doc string
20049 reflect what it does now (bug#5325).
20051 * simple.el (blink-matching-open): Say that we were unable to find
20052 the match within the limit, if we're limited (bug#5122).
20054 * international/mule-cmds.el (prefer-coding-system): Add an
20055 example (bug#4869).
20057 * progmodes/etags.el (tags-search): Document `file-list-form'
20060 2011-07-13 Lawrence Mitchell <wence@gmx.li>
20062 * net/browse-url.el (browse-url-default-browser)
20063 (browse-url-browser-function): Make the default browser choice a
20064 bit more logical (bug#4300). Also clean up the doc string.
20066 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
20068 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
20069 binary endings (bug#4440).
20071 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
20073 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
20074 which can be pretty annoying (bug#8971).
20076 * jka-compr.el (jka-compr-verbose): New variable, and use
20077 throughout (bug#8971).
20079 * info.el (Info-find-file): Fall back on the installation
20080 directory if we can't find the info node anywhere else.
20082 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
20084 * vc/vc.el (vc-revert-file):
20085 Don't set file time-stamp in the past. (Bug#5181)
20087 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
20089 * files.el (after-find-file): Give a better error message when
20090 trying to find a symlink that points to a file that doesn't exist
20093 * progmodes/cc-vars.el: Remove (probably) misleading comment
20096 2011-07-12 Johan Bockgård <bojohan@gnu.org>
20098 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
20100 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
20102 * mouse-sel.el: Hack restoring functionality, while keeping
20103 compatibility with 2010-07-03 changes to mouse selection.
20104 (mouse-sel-primary-overlay): New var.
20105 (mouse-sel-selection-alist): Use it.
20106 (mouse-sel-mode): Doc fix; remove points that are default features
20109 2011-07-12 Johan Bockgård <bojohan@gnu.org>
20111 * progmodes/compile.el (compilation-error-regexp-alist-alist):
20112 Fix previous fix (bug#2490).
20114 2011-07-12 Roland Winkler <winkler@gnu.org>
20116 * textmodes/bibtex.el (bibtex-initialize):
20117 Use pop-to-buffer-same-window.
20118 (bibtex-search-entries): Fix interactive call.
20120 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
20122 * progmodes/compile.el (compilation-error-regexp-alist-alist):
20123 Fontise bytecomp Error lines more correctly (bug#2490).
20124 Fix suggested by Johan Bockgård.
20126 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
20128 * dired-x.el (dired-guess-default): Use `delete-dups'.
20130 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
20132 * dired.el (dired-mark-prompt):
20133 * dired-aux.el (dired-read-shell-command): Doc fix.
20135 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
20137 * mail/sendmail.el (sendmail-query-once):
20138 Use `customize-save-variable' unconditionally, now that it works under
20141 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
20143 * cus-edit.el (custom-file): Take an optional no-error variable.
20144 (customize-save-variable): Set the variable, and give a warning if
20145 running under "emacs -q".
20147 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
20149 * loadhist.el (unload-feature-special-hooks):
20150 Add `auto-coding-functions', `fill-nobreak-predicate' and
20151 `find-directory-functions' (bug#5327).
20153 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
20155 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
20157 * cus-edit.el (custom-guess-name-alist): -alist variables should
20158 use the `alist' type (bug#3120). Suggested by Drew Adams.
20160 * printing.el: Add documentation to all the `pr-toggle-' commands.
20162 2011-07-11 Leo Liu <sdl.web@gmail.com>
20164 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
20165 backends where it makes sense (bug#2623).
20167 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
20169 * dired-x.el (dired-guess-default): Remove duplicate shell command
20170 entries (bug#2028).
20171 (dired-guess-default): Fix grammar in doc string (bug#2028).
20172 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
20174 * subr.el (remove-duplicates): New conveniency function.
20176 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
20178 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
20181 2011-07-10 Martin Rudalics <rudalics@gmx.at>
20183 * window.el (display-buffer-normalize-default): Don't invert
20184 meaning of even-window-heights. Reported by Eli Zaretskii
20187 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
20189 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
20191 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
20193 * window.el (display-buffer): Fix arguments to
20194 display-buffer-reuse-window in last change.
20196 * faces.el (link): Use a less saturated blue on light backgrounds.
20198 * startup.el (fancy-startup-text, fancy-about-text)
20199 (fancy-startup-tail): Use font-lock faces, for background safety.
20201 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
20203 * emulation/viper-cmd.el (viper-change-state-to-vi):
20204 Limit triggering of abbrev expansion (Bug#9038).
20206 2011-07-09 Martin Rudalics <rudalics@gmx.at>
20208 * window.el (display-buffer-default-specifiers): Remove.
20209 (display-buffer-macro-specifiers): Remove default specifiers.
20210 (display-buffer-alist): Default to nil.
20211 (display-buffer-reuse-window): New optional argument other-window.
20212 (display-buffer-pop-up-window): Allow splitting internal
20213 windows. Check whether a live window was created.
20214 (display-buffer-other-window-means-other-frame)
20215 (display-buffer-normalize-arguments): Rename to
20216 display-buffer-normalize-argument and rewrite. Set the
20217 other-window specifier.
20218 (display-buffer-normalize-special): New function.
20219 (display-buffer-normalize-options): Rename to
20220 display-buffer-normalize-default and rewrite.
20221 (display-buffer-normalize-options-inhibit): Remove.
20222 (display-buffer-normalize-specifiers): Rewrite.
20223 (display-buffer): Process other-window specifier and call
20224 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
20226 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
20227 (display-buffer-alist-set): Don't handle 'unset default values.
20228 (display-buffer-in-window, display-buffer-alist-set):
20229 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
20230 <tassilo@member.fsf.org>.
20232 2011-07-09 Leo Liu <sdl.web@gmail.com>
20234 * register.el (insert-register): Restore accidental change on
20235 2011-06-26. (Bug#9028)
20237 2011-07-09 Glenn Morris <rgm@gnu.org>
20239 * subr.el (remq): Handle the empty list. (Bug#9024)
20241 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
20243 * mail/sendmail.el (send-mail-function): No longer delay custom
20245 * custom.el (custom-initialize-delay): Doc fix.
20247 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
20249 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
20251 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
20253 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
20254 human-friendly prompt.
20256 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
20258 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
20259 provided by a particular plugin.
20261 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
20263 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
20264 save customizations (with "emacs -Q"), just set the variable
20265 instead of erroring out.
20267 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
20269 2011-07-08 Juri Linkov <juri@jurta.org>
20271 * arc-mode.el (archive-zip-expunge, archive-zip-update)
20272 (archive-zip-update-case): Use 7z if found by `executable-find'.
20273 The order of searching the available programs is the same as in
20274 `archive-zip-extract' (bug#8968).
20276 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
20278 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
20279 (menu-bar-options-menu): Tweak descriptions.
20281 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
20283 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
20284 menu items into verb phrases (bug#1421). Also refill to fit under
20287 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
20289 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
20290 (Info-read-node-name): Doc fix (Bug#1084).
20292 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
20293 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
20294 (end-of-sexp, beginning-of-sexp)
20295 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
20296 (forward-symbol, forward-same-syntax, word-at-point)
20297 (sentence-at-point): Doc fix (Bug#1144).
20299 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
20301 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
20302 should cover it (bug#1281).
20304 * cus-edit.el (custom-show): Mark as obsolete.
20306 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
20307 negotiation fails, then possibly try again with a non-encrypted
20308 connection (bug#9017).
20310 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
20313 2011-07-07 Richard Stallman <rms@gnu.org>
20315 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
20316 property, and handle its changed format.
20317 Look for the correct line number.
20318 Use file's line contents (but not past first =) to find
20319 correct line in message.
20321 2011-07-07 Kenichi Handa <handa@m17n.org>
20323 * international/characters.el (build-unicode-category-table):
20325 (unicode-category-table): Set it by unicode-property-table-internal.
20327 * international/mule-cmds.el (char-code-property-alist): Move to
20329 (get-char-code-property): Call unicode-property-table-internal to
20330 load a file. Call get-unicode-property-internal where necessary.
20331 (put-char-code-property): Call unicode-property-table-internal to
20332 load a file. Call put-unicode-property-internal where necessary.
20333 put-unicode-property-internal where necessary.
20334 (char-code-property-description):
20335 Call unicode-property-table-internal to load a file.
20337 * international/charprop.el:
20338 * international/uni-bidi.el:
20339 * international/uni-category.el:
20340 * international/uni-combining.el:
20341 * international/uni-comment.el:
20342 * international/uni-decimal.el:
20343 * international/uni-decomposition.el:
20344 * international/uni-digit.el:
20345 * international/uni-lowercase.el:
20346 * international/uni-mirrored.el:
20347 * international/uni-name.el:
20348 * international/uni-numeric.el:
20349 * international/uni-old-name.el:
20350 * international/uni-titlecase.el:
20351 * international/uni-uppercase.el: Regenerate.
20353 * loadup.el: Load international/charprop.el before
20354 international/characters.
20356 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
20358 * window.el (next-buffer, previous-buffer): Signal an error if
20359 called from a minibuffer window.
20361 * bindings.el: Revert 2011-07-04 change.
20363 2011-07-06 Richard Stallman <rms@gnu.org>
20365 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
20366 (rmail-mime-insert-bulk, rmail-mime-insert-text):
20367 Treat markers like ints.
20368 (rmail-mime-entity): Doc fix.
20370 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
20372 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
20373 defcustom again for backwards compatibility.
20375 * simple.el (shell-command-on-region): Fill.
20377 * dired-aux.el (dired-kill-line): Add a doc string.
20379 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
20380 to "\\sw\\|\\s_" (bug#358).
20382 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
20383 (dired-unmark-backward): Ditto.
20384 (dired-flag-backup-files): Ditto.
20386 * dired-x.el (dired-mark-sexp): Ditto.
20388 2011-07-06 Richard Stallman <rms@gnu.org>
20390 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
20391 (rmail-mime-entity): New arg TRUNCATED.
20392 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
20394 (rmail-mime-save): Warn if entity is truncated.
20395 (rmail-mime-toggle-hidden): Likewise, for showing.
20396 (rmail-mime-process-multipart): Record when an entity is truncated.
20398 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
20399 if ENTITY is a string.
20401 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
20403 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
20404 of faces when `M-C-x'-ing their definitions (bug#8378).
20405 Also clean up the code slightly.
20407 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
20408 because that makes the colors go away.
20410 * mail/sendmail.el (send-mail-function): Change the default to
20411 `sendmail-query-once'.
20412 (sendmail-query-once): Add an autoload cookie.
20414 * net/network-stream.el (network-stream-open-starttls): Try using
20415 a plain connection even if the server offered STARTTLS, and we
20416 kinda wanted to use it, if Emacs doesn't have any STARTTLS
20417 capability. This should make smtpmail.el work in slightly more
20420 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
20422 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
20424 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
20426 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
20428 * progmodes/sql.el: Version 3.0
20429 (sql-product-alist): Add product :completion-object,
20430 :completion-column, and :statement attributes.
20431 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
20432 (sql-mode-syntax-table): Mark all punctuation.
20433 (sql-font-lock-keywords-builder): Temporarily remove fallback on
20435 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
20436 (sql-mode-oracle-font-lock-keywords): Improve.
20437 (sql-oracle-show-reserved-words): New function for development.
20438 (sql-product-font-lock): Simplify for source code buffers.
20439 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
20441 (sql-highlight-product): Set product specific syntax table.
20442 (sql-mode-map): Add statement movement functions.
20443 (sql-ansi-statement-starters, sql-oracle-statement-starters):
20445 (sql-statement-regexp, sql-beginning-of-statement)
20446 (sql-end-of-statement, sql-signum): New functions.
20447 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
20448 (sql-show-sqli-buffer): Bug fix.
20449 (sql-interactive-mode): Store connection data as buffer local.
20450 (sql-connect): Add NEW-NAME parameter. Redesign interaction
20451 with sql-interactive-mode.
20452 (sql-save-connection): Save buffer local settings.
20453 (sql-connection-menu-filter): Change menu entry name.
20454 (sql-product-interactive): Bug fix.
20455 (sql-preoutput-hold): New variable.
20456 (sql-interactive-remove-continuation-prompt): Bug fixes.
20457 (sql-debug-redirect): New variable.
20458 (sql-str-literal): New function.
20459 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
20461 (sql-oracle-save-settings, sql-oracle-restore-settings)
20462 (sql-oracle-list-all, sql-oracle-list-table): New functions.
20463 (sql-completion-object, sql-completion-column)
20464 (sql-completion-sqlbuf): New variables.
20465 (sql-build-completions-1, sql-build-completions)
20466 (sql-try-completion): New functions.
20467 (sql-read-table-name): Use them.
20468 (sql-contains-names): New buffer local variable.
20469 (sql-list-all, sql-list-table): Use it.
20470 (sql-oracle-completion-types): New variable.
20471 (sql-oracle-completion-object, sql-sqlite-completion-object)
20472 (sql-postgres-completion-object): New functions.
20474 2011-07-06 Glenn Morris <rgm@gnu.org>
20476 * window.el (pop-to-buffer): Doc fix.
20478 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
20480 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
20482 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
20484 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
20486 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
20488 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
20490 * button.el (button): Inherit from link face. Suggested by Dan
20493 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
20495 * progmodes/gdb-mi.el: Fit in 80 columns.
20496 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
20499 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
20500 if imenu is simply not configured (bug#8941).
20502 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
20504 * allout.el (allout-post-undo-hook): New allout outline-change
20505 event hook to signal undo activity.
20506 (allout-post-command-business): Run allout-post-undo-hook if an
20507 undo just occurred.
20508 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
20509 * allout-widgets.el (allout-widgets-after-undo-function):
20510 Ensure the integrity of the current item's decoration after it has been
20511 in the vicinity of an undo.
20512 (allout-widgets-mode): Include allout-widgets-after-undo-function
20513 on the new allout-post-undo-hook.
20515 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
20517 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
20518 Let define-derived-mode define it.
20519 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
20520 cycles of abbrev-table inheritance (bug#8998).
20522 2011-07-05 Roland Winkler <winkler@gnu.org>
20524 * textmodes/bibtex.el: Add support for biblatex.
20525 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
20526 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
20527 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
20528 (bibtex-entry-alist, bibtex-field-alist): New variables.
20529 (bibtex-entry-field-alist): Obsolete alias for
20530 bibtex-BibTeX-entry-alist.
20531 (bibtex-entry-alist, bibtex-field-alist): New widgets.
20532 (bibtex-set-dialect): New command.
20533 (bibtex-entry-type, bibtex-entry-head)
20534 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
20535 Bind via bibtex-set-dialect.
20536 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
20537 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
20538 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
20539 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
20540 Define via bibtex-set-dialect.
20541 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
20542 Obey bibtex-no-opt-remove-re.
20543 (bibtex-vec-push, bibtex-vec-incr): New functions.
20544 (bibtex-format-entry, bibtex-field-list)
20545 (bibtex-print-help-message, bibtex-validate)
20546 (bibtex-search-entries): Use new format of bibtex-entry-alist.
20548 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
20550 * progmodes/compile.el (compilation-goto-locus):
20551 * net/tramp-cmds.el (tramp-append-tramp-buffers):
20552 * bs.el (bs-cycle-next, bs-cycle-previous):
20553 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
20554 * bindings.el (mode-line-other-buffer):
20555 * autoinsert.el (auto-insert):
20556 * arc-mode.el (archive-extract):
20557 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
20559 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
20561 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
20562 Fix check of `emacs-lock-unlockable-modes'.
20563 Coerce true values of `emacs-lock--try-unlocking' to t.
20565 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
20567 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
20568 * emacs-lock.el: New file.
20570 2011-07-05 Julien Danjou <julien@danjou.info>
20572 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
20573 than `boundp' to check if face is set.
20575 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
20577 * register.el (registerv-make):
20578 * window.el (window-min-height): Fix typos in docstrings.
20580 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
20582 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
20585 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
20587 * server.el (server-execute): Catch quit and call
20588 `server-return-error' to pass the error back to emacsclient and
20589 close the connection (bug#8942).
20591 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
20593 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
20594 insecure exception for current topic. Also note that auto-saves
20595 are handled differently.
20597 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
20598 State variables for tracking auto-save inhibition situation.
20600 (allout-write-contents-hook-handler): Rename from
20601 'allout-write-file-hook-handler', and describe how it depends on
20602 write-contents-functions sensitivity to non-nil value to prevent
20605 (allout-auto-save-hook-handler): Remove. auto-save does not check
20606 this in individual buffers, only in the starting buffer, so this
20607 is not the right way for us to inhibit auto-save in a buffer
20608 according to its condition.
20610 (allout-mode): Use new allout-write-contents-hook-handler, and
20611 only with write-contents-functions. Remove auto-save provisions -
20612 they're implemented elsewhere.
20614 (allout-before-change-handler): If undo is in progress, note that
20615 for attention of allout-post-command-business.
20617 (allout-post-command-business): If the command we're following was
20618 an undo, check for change in the status of encrypted items and
20619 adjust auto-save inhibitions accordingly.
20621 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
20622 according to whether there are or aren't any plain-text topics
20623 pending encryption.
20625 (allout-inhibit-auto-save-info-for-decryption):
20626 Adjust buffer-saved-size and some allout state to inhibit auto-saves
20627 if there are plain-text topics pending encryption.
20629 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
20630 buffer-saved-size and some allout state to not inhibit auto-saves
20631 if there are no longer any plain-text topics pending encryption.
20633 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
20634 No longer provide for exemption of the current topic.
20636 2011-07-04 Juri Linkov <juri@jurta.org>
20638 Add 7z operations to delete and save changed members (bug#8968).
20639 * arc-mode.el (archive-7z-expunge, archive-7z-update):
20641 (archive-7z-write-file-member): New function.
20642 (archive-7z-summarize): Fix the number of dashes in the
20645 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
20647 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
20650 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
20652 * bindings.el: Ignore next-buffer and previous-buffer in
20653 minibuffer-local-map.
20655 * font-lock.el (font-lock-builtin-face): Change light background
20656 color to dark slate blue (Bug#6693).
20658 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
20660 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
20662 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
20664 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
20665 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
20666 Add switch-to-buffer.
20668 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
20670 * isearch.el (isearch-search-fun-function): Clarify further the
20671 meaning of the function returned.
20673 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
20675 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
20677 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
20678 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
20680 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
20681 `tramp-default-remote-path' does not exist.
20682 (tramp-send-command-and-read): New optional argument NOERROR.
20683 (tramp-open-connection-setup-interactive-shell)
20684 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
20685 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
20686 (tramp-process-sentinel): Flush also process' connection property.
20687 (tramp-sh-handle-start-file-process): Do not set process
20688 sentinel. It is done now ...
20689 (tramp-maybe-open-connection): ... here. (Bug#8929)
20691 2011-07-04 MON KEY <monkey@sandpframing.com>
20693 * play/animate.el (animate-string): Doc fixes and allow changing
20694 the buffer name (bug#5417).
20696 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
20698 * play/animate.el (animation-buffer-name): Rename from *animate*.
20700 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
20702 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
20703 This is simpler and helps future-proof the code.
20704 (timer-until): Use time-subtract and float-time.
20705 (timer--time-less-p): Use time-less-p.
20707 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
20709 * type-break.el (timep): Use the value of `float-time' to avoid a
20710 byte-compiler warning.
20712 * server.el (server-eval-and-print): Return any result, even nil.
20714 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
20716 * type-break.el: Accept time formats that the builtins accept.
20717 (timep, type-break-time-difference): Accept any format that
20718 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
20719 This is simpler and helps future-proof the code.
20720 (type-break-time-difference): Round rather than ignoring
20721 subseconds components.
20723 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
20725 * info.el (Info-apropos-matches): Make non-interactive, since it
20726 doesn't seem to do anything useful as a command (bug#8829).
20728 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
20730 * frame.el (frame-background-mode, frame-set-background-mode):
20731 Move from faces.el.
20732 (frame-default-terminal-background): New function.
20734 * custom.el (custom-push-theme): Don't record faces in `changed'
20735 theme; this doesn't work correctly for per-frame face settings.
20736 (disable-theme): Use face-set-after-frame-default to reset faces.
20737 (custom--frame-color-default): New function.
20739 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
20741 * dired.el (dired-flagging-regexp): Remove unused variable
20744 2011-03-29 Kevin Ryde <user42@zip.com.au>
20746 * progmodes/compile.el (compilation-error-regexp-alist-alist):
20747 `perl-Test2' extend to match possible "fail #N" rep count
20750 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
20752 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
20753 `smtpmail-via-smtp' now returns the error instead of nil.
20755 * isearch.el (isearch-search-fun-function): Clarify the doc string
20758 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
20760 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
20761 unnecessary spaces (bug#8987).
20763 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
20765 * net/network-stream.el (open-network-stream): Use the
20766 :end-of-capability command thoughout.
20768 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
20770 * net/network-stream.el (open-network-stream): Add the
20771 :end-of-capability command parameter, used by pop3.el.
20773 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
20775 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
20777 * fringe.el (fringe-query-style): Remove redundant text " (type ?
20778 for list)" (bug#6475).
20780 * files.el (file-expand-wildcards): Ignore non-readable
20781 sub-directories while trying to find matches instead of signaling
20782 an error (bug#6297).
20784 * man.el (Man-reference-regexp): Allow matching possible
20785 word-wrapped references (bug#6289).
20787 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
20788 for consistency with the other vc buffers (bug#6197).
20789 (vc-checkin): Ditto.
20791 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
20793 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
20795 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
20797 * custom.el (defcustom): Clarify that :set is only used in the
20798 Customize user interface (bug#6089).
20800 * progmodes/flymake.el (flymake-mode): If the buffer isn't
20801 associated with a file, refuse to run instead of erroring out
20804 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
20805 the doc string, since it appears that using `fill-column' always
20806 controls the width (bug#7845).
20808 * simple.el (shell-command-on-region): Say where the error output
20809 went if `shell-command-default-error-buffer' is set (bug#6857).
20811 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
20813 * allout.el (allout-yank-processing): Adjust cursor position for
20814 backwards-deleted space.
20816 (allout-rebullet-heading): Register changes with
20817 allout-exposure-changed-hook, so the modified topic is properly
20820 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
20822 * minibuffer.el (completion-in-region): Document PREDICATE
20825 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
20826 of keyword/argument pairs (bug#6904).
20828 * replace.el (multi-occur):
20829 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
20831 2011-07-02 Drew Adams <drew.adams@oracle.com>
20833 * dired.el (dired-mark-if): Make the message about whether it's
20834 marking or unmarking clearer (bug#8523).
20836 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
20838 * disp-table.el (display-table-print-array): New function.
20839 (describe-display-table): Use it to print the vectors more pretty
20842 2011-07-02 Martin Rudalics <rudalics@gmx.at>
20844 * window.el (window-state-get-1): Don't assign clone numbers.
20845 Add clone-of item to list of window parameters.
20846 (window-state-put-2): Don't process clone numbers.
20847 (display-buffer-alist): Fix doc-string.
20849 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
20851 * subr.el (remq): Don't allocate if it's not needed.
20852 (keymap--menu-item-binding, keymap--menu-item-with-binding)
20853 (keymap--merge-bindings): New functions.
20854 (keymap-canonicalize): Use them to refine the canonicalization.
20855 * minibuffer.el (minibuffer-local-completion-map)
20856 (minibuffer-local-must-match-map): Move initialization from C.
20857 (minibuffer-local-filename-completion-map): Move initialization from C;
20858 don't inherit from anything here.
20859 (minibuffer-local-filename-must-match-map): Make obsolete.
20860 (completing-read-default): Use make-composed-keymap to combine
20861 minibuffer-local-filename-completion-map with either
20862 minibuffer-local-must-match-map or
20863 minibuffer-local-filename-completion-map.
20865 2011-07-01 Glenn Morris <rgm@gnu.org>
20867 * type-break.el (type-break-time-sum): Use dolist.
20869 * textmodes/flyspell.el (flyspell-word-search-backward):
20870 Replace CL function.
20872 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
20874 * mouse.el (mouse--strip-first-event): New function.
20875 (function-key-map): Use it to map fringe clicks to normal clicks
20878 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
20879 (vc-bzr-revision-completion-table): Add support for annotate and date.
20881 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
20882 inherit from parent.
20884 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
20886 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
20887 (dired-show-file-type): Doc fixup (bug#8818).
20889 * dired.el (dired-mode): Fix up the doc string as suggested by
20890 Drew Adams (bug#8817).
20892 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
20893 cookie, since the manual says that it should be possible to add
20894 this function to `find-file-hook' (bug#8709).
20896 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
20898 * progmodes/cfengine.el: Moved all cfengine3.el functionality
20899 here. Noted Ted Zlatanov as the maintainer.
20900 (cfengine-common-settings, cfengine-common-syntax): New functions
20901 to set up common things between `cfengine-mode' and
20903 (cfengine3-mode): New mode.
20904 (cfengine3-defuns cfengine3-defuns-regex
20905 (cfengine3-class-selector-regex cfengine3-category-regex)
20906 (cfengine3-vartypes cfengine3-font-lock-keywords)
20907 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
20908 (cfengine3-indent-line): Add from cfengine3.el.
20910 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
20912 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
20914 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
20916 2011-07-01 Martin Rudalics <rudalics@gmx.at>
20918 * window.el (same-window-buffer-names, same-window-regexps)
20919 (same-window-p, special-display-frame-alist)
20920 (special-display-popup-frame, special-display-function)
20921 (special-display-buffer-names, special-display-regexps)
20922 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
20923 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
20924 (split-window-preferred-function, split-height-threshold)
20925 (split-width-threshold, even-window-heights)
20926 (display-buffer-mark-dedicated, window-splittable-p)
20927 (split-window-sensibly, window-safely-shrinkable-p):
20929 (display-buffer): Don't spread args with function specifier
20930 because special-display-popup-frame won't like it.
20932 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
20934 Time-stamp simplifications and fixes.
20935 These improve accuracy slightly, and future-proof the code
20936 against some potential changes to current-time format.
20938 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
20939 by using time-since and float-time.
20941 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
20942 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
20943 + NNN microseconds".
20945 * type-break.el (type-break-time-sum): Rewrite using time-add.
20947 * play/hanoi.el (hanoi-current-time-float): Remove.
20948 All uses replaced by float-time.
20950 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
20951 This yields a more-accurate answer.
20952 (rng-time-to-float): Remove; no longer needed.
20954 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
20956 * calendar/timeclock.el (timeclock-seconds-to-time):
20957 Defalias to seconds-to-time, since they're the same thing.
20959 * emacs-lisp/elp.el (elp-elapsed-time):
20960 * emacs-lisp/benchmark.el (benchmark-elapse):
20961 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
20963 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
20965 * window.el (bury-buffer): Don't iconify the only frame.
20966 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
20967 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
20969 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
20971 * eshell/em-smart.el (eshell-smart-display-navigate-list):
20972 Add mouse-yank-primary.
20974 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
20976 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
20978 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
20980 * emacs-lisp/find-func.el (find-library--load-name): New fun.
20981 (find-library-name): Use it to find relative load names when provided
20982 absolute file name (bug#8803).
20984 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
20986 * textmodes/flyspell.el (flyspell-word): Consider words that
20987 differ only in case as potential doublons (bug#5687).
20989 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
20990 Remove two rather uninteresting debugging-like messages to make
20991 debbugs.el more silent.
20993 * comint.el (comint-password-prompt-regexp): Accept "Response" as
20994 a password-like phrase.
20996 2011-06-30 Masatake YAMATO <yamato@redhat.com>
20998 * progmodes/cc-guess.el: New file.
21000 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
21002 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
21003 derived from `c-basic-common-init'.
21005 * progmodes/cc-mode.el (top-level): Require cc-guess.
21006 (c-basic-common-init): Use `cc-choose-style-for-mode'.
21008 2011-06-30 Lawrence Mitchell <wence@gmx.li>
21010 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
21012 2011-06-30 Alan Mackenzie <acm@muc.de>
21014 * progmodes/cc-engine.el (c-guess-continued-construct):
21015 Correct the handling of template-args-cont, particularly for when font
21016 lock is disabled. Name this case as "CASE G".
21018 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
21020 * allout.el (allout-yank-processing): Fix injection of extra space
21021 between bullet and non-whitespace character in first topic when
21022 pasting, ensuring that the actual spacing in the pasted topic
21023 following the bullet char is preserved. This extra space was
21024 causing pasted encrypted topics to get a decrypted status even
21025 when the content was actually still encrypted. Now the decryption
21026 status from before the paste is preserved.
21028 (allout-flag-region): Set all allout overlays so they evaporate
21029 when reduced to zero length (evanescent), to prevent overlay
21032 2011-06-30 Glenn Morris <rgm@gnu.org>
21034 * w32-fns.el (w32-charset-info-alist): Declare.
21036 * find-dired.el (find-grep-options): Simplify.
21038 * term/ns-win.el (ns-set-resource): Declare.
21040 * ses.el (row, col): Declare dynamic variables honestly.
21042 * textmodes/reftex-parse.el (index-tags): Declare.
21044 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
21046 * cus-edit.el (customize-push-and-save): New function.
21048 * files.el (hack-local-variables-confirm): Use it.
21050 * custom.el (load-theme): New arg NO-CONFIRM.
21051 Use customize-push-and-save (Bug#8720).
21052 (custom-enabled-themes): Doc fix.
21054 * cus-theme.el (customize-create-theme)
21055 (custom-theme-merge-theme): Callers to load-theme changed.
21057 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
21059 * thingatpt.el (thing-at-point-short-url-regexp): Require that
21060 short URLs have at least one dot in them (bug #7614).
21062 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
21063 nil, because using a pty is apparently too slow (bug #895).
21065 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
21067 * mail/sendmail.el (sendmail-query-once): New function.
21068 (sendmail-query-once-function): New variable.
21070 2011-06-29 Glenn Morris <rgm@gnu.org>
21072 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
21074 * ses.el (top-level): Require cl when compiling.
21075 (ses-set-localvars): Fix error statement.
21076 Call it at compile time to silence a storm of warnings.
21078 2011-06-29 Martin Rudalics <rudalics@gmx.at>
21080 * window.el (normalize-live-buffer): Rename to
21081 window-normalize-buffer.
21082 (normalize-live-frame): Rename to window-normalize-frame.
21083 (normalize-any-window): Rename to window-normalize-any-window.
21084 (normalize-live-window): Rename to window-normalize-live-window.
21085 (make-window-atom): Rename to window-make-atom.
21086 (window-resize-reset): Rename to window--resize-reset.
21087 (window-resize-reset-1): Rename to window--resize-reset-1.
21088 (resize-mini-window): Rename to window--resize-mini-window.
21089 (resize-subwindows-skip-p): Rename to
21090 window--resize-subwindows-skip-p.
21091 (resize-subwindows-normal): Rename to
21092 window--resize-subwindows-normal.
21093 (resize-subwindows): Rename to window--resize-subwindows.
21094 (resize-other-windows): Rename to window--resize-siblings.
21095 (resize-this-window): Rename to window--resize-this-window.
21096 (resize-root-window): Rename to window--resize-root-window.
21097 (resize-root-window-vertically): Rename to
21098 window--resize-root-window-vertically.
21099 (normalize-buffer-to-display): Rename to
21100 window-normalize-buffer-to-display.
21101 (normalize-buffer-to-switch-to): Rename to
21102 window-normalize-buffer-to-switch-to.
21103 Correspondingly update all callers of the functions listed
21105 (display-buffer-alist, display-buffer-normalize-arguments)
21106 (display-buffer-normalize-options, display-buffer)
21107 (display-buffer-alist-set): Use "function" instead of
21110 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
21112 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
21113 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
21114 debbugs.gnu.org. Mention acknowledgment email.
21116 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
21118 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
21119 buffer multibyteness, since it shouldn't matter.
21121 2011-06-28 Martin Rudalics <rudalics@gmx.at>
21123 * window.el (display-buffer-in-side-window): Handle dedicated
21124 windows as in display-buffer-reuse-window.
21125 (display-buffer-normalize-alist): Use value of override
21127 (display-buffer-normalize-specifiers): Use value of
21128 other-window-means-other-frame specifier.
21129 (display-buffer-alist): Rewrite some texts in widgets.
21130 (display-buffer): Spread arguments when calling function
21131 specified by fun-with-args.
21133 2011-06-28 Deniz Dogan <deniz@dogan.se>
21135 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
21138 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
21139 selectors (Bug#5732).
21140 (css-proprietary-nmstart-re): Use `regexp-opt'.
21142 2011-06-27 Jari Aalto <jari.aalto@cante.net>
21144 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
21145 (eshell-ls-date-format): New defcustom.
21146 (eshell-ls-file): Use it.
21148 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
21150 * help-fns.el (describe-variable): Fix message for terminal-local vars.
21152 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
21154 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
21155 (ange-ftp-make-tmp-name): New arg.
21156 (ange-ftp-file-local-copy): Use it.
21158 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
21160 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
21161 no-conversion (Bug#8870).
21163 2011-06-27 Martin Rudalics <rudalics@gmx.at>
21165 * window.el (window-right, window-left, window-child)
21166 (window-child-count, window-last-child)
21167 (window-iso-combination-p, walk-window-tree-1)
21168 (window-atom-check-1, window-tree-1, delete-window)
21169 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
21170 new naming conventions - window-vchild, window-hchild,
21171 window-next and window-prev are now called window-top-child,
21172 window-left-child, window-next-sibling and window-prev-sibling
21174 (resize-window-reset): Rename to window-resize-reset.
21175 (resize-window-reset-1): Rename to window-resize-reset-1.
21176 (resize-window): Rename to window-resize.
21177 (window-min-height, window-min-width)
21178 (resize-mini-window, resize-this-window, resize-root-window)
21179 (resize-root-window-vertically, adjust-window-trailing-edge)
21180 (enlarge-window, shrink-window, maximize-window)
21181 (minimize-window, delete-window, quit-restore-window)
21182 (split-window, balance-windows, balance-windows-area-adjust)
21183 (balance-windows-area, window-state-put-2)
21184 (display-buffer-even-window-sizes, display-buffer-set-height)
21185 (display-buffer-set-width, set-window-text-height)
21186 (fit-window-to-buffer): Rename all "resize-window" prefixed
21187 calls to use the "window-resize" prefix convention.
21188 (display-buffer-alist): Fix symbol for label specifier.
21189 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
21190 corresponding specifier.
21191 Reported by Juanma Barranquero <lekktu@gmail.com>.
21193 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
21195 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
21197 (ses-call-printer): Does not pass an empty string to formatter when the
21198 cell is empty to keep from barking printer Calc math-format-value.
21200 2011-06-27 Richard Stallman <rms@gnu.org>
21202 * battery.el (battery-mode-line-limit): New variable.
21203 (battery-update): Handle it.
21205 * mail/rmailmm.el (rmail-mime-process-multipart):
21206 Handle truncated messages.
21208 2011-06-27 Glenn Morris <rgm@gnu.org>
21210 * progmodes/flymake.el (flymake-err-line-patterns):
21211 Allow for column numbers in the ant/javac pattern. (Bug#8866)
21213 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
21215 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
21216 (ses--clean-!, ses--clean-_): New functions.
21217 (ses-range): Add configurability of readout order, and conversion
21220 * ses.el (ses-repair-cell-reference-all): New function.
21221 (ses-cell-symbol): Set macro as safe, so that it can be used in
21224 * ses.el: Update cycle detection algorithm.
21225 (ses-localvars): Add ses--Dijkstra-attempt-nb and
21226 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
21227 (ses-set-localvars): New function.
21228 (ses-make-cell): Add property-list as a cell element.
21229 (ses-cell-property-get-fun, ses-cell-property-get)
21230 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
21231 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
21233 (ses-cell-property-set, ses-cell-property-pop)
21234 (ses-cell-property-get-handle): New macro.
21235 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
21236 New aliases, used for code readability.
21237 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
21239 (ses-self-reference-early-detection): New defcustom.
21240 (ses-formula-references): Robustify against self-referring cells.
21241 (ses-mode): Use ses-set-localvars.
21242 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
21243 before lauching the update processing.
21244 (ses-initialize-Dijkstra-attempt): New function.
21245 (ses-recalculate-cell): Update for cycle detection based on
21246 Dijkstra algorithm.
21248 * ses.el: Fix commenting and indenting convention.
21250 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
21252 * bs.el (bs-cycle-next): Complete last change.
21254 2011-06-27 Drew Adams <drew.adams@oracle.com>
21256 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
21258 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
21260 * net/network-stream.el (network-stream-open-starttls):
21261 Don't re-get capabilities unless we've reestablished connection.
21262 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
21264 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
21265 to binary to possibly avoid line encoding issues on Windows (among
21268 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
21270 * net/network-stream.el (open-network-stream): Return an :error
21271 saying what the problem was, if possible.
21273 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
21276 * net/network-stream.el (network-stream-open-starttls): If we
21277 wanted to use STARTTLS, and the server offered it, but we weren't
21278 able to because we had no STARTTLS support, then close the connection.
21279 (open-network-stream): Return an :error element, if present.
21281 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
21283 * hl-line.el (hl-line-sticky-flag): Doc fix.
21284 (global-hl-line-sticky-flag): New option (Bug#8323).
21285 (global-hl-line-highlight): Obey it.
21287 * vc/vc.el (vc-revert-show-diff): Default to t.
21289 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
21291 * allout-widgets.el (allout-widgets-post-command-business):
21292 Stop decorating intermediate isearch matches. They're not being
21293 undecorated when an isearch is continued past, and isearch
21294 automatically collapses them. This leads to "widget leaks", where
21295 decorated items accumulate in collapsed areas. Lines with lots of
21296 hidden widgets can slow down cursor travel, substantially.
21297 Too much complicated machinery would be needed to ensure undecoration,
21298 so we're doing without this nicety.
21300 (allout-widgets-tally-string): Don't try to do a hash-table-count
21301 of allout-widgets-tally when it's nil. This eliminates spurious "Error
21302 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
21303 *Messages* when allout-widgets-maintain-tally is t.
21305 2011-06-26 Martin Rudalics <rudalics@gmx.at>
21307 * window.el (display-buffer-normalize-argument): Rename to
21308 display-buffer-normalize-arguments. Handle special meaning of
21309 LABEL argument. Respect special-display-function when popping up
21310 a new frame. Fix code searching for a window showing the buffer
21312 (display-buffer-normalize-specifiers):
21313 Call display-buffer-normalize-arguments.
21314 (display-buffer-in-window): Don't undedicate the window if its
21315 buffer remains the same.
21316 Reported by Drew Adams <drew.adams@oracle.com>.
21317 (display-buffer-alist): Add choice for same-window macro
21319 (display-buffer): Mention special meaning of LABEL argument in
21320 doc-string. Fix quoting. Don't pop up a new frame even as
21323 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
21325 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
21326 avoid deleting the current window in some cases (bug#8911).
21328 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
21330 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
21333 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
21335 * net/network-stream.el (network-stream-open-starttls):
21336 Use built-in TLS support if `gnutls-available-p' is true.
21337 (network-stream-open-tls): Ditto.
21339 2011-06-26 Leo Liu <sdl.web@gmail.com>
21341 * register.el (registerv): New struct.
21342 (registerv-make): New function.
21343 (jump-to-register, describe-register-1, insert-register):
21344 Support the jump-func, print-func and insert-func slot of a registerv
21347 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
21349 * vc/vc.el (vc-revert-show-diff): New defcustom.
21350 (vc-diff-internal): New arg specifying diff buffer.
21351 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
21352 reuse an existing *vc-diff* buffer (Bug#8927).
21354 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
21356 2011-06-26 Glenn Morris <rgm@gnu.org>
21358 * progmodes/f90.el (f90-critical-indent): New option.
21359 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
21360 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
21361 (f90-mode): Doc fix.
21362 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
21363 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
21364 (f90-beginning-of-block, f90-next-block, f90-indent-region)
21365 (f90-match-end): Handle block, critical.
21367 2011-06-25 Glenn Morris <rgm@gnu.org>
21369 * calendar/diary-lib.el (diary-included-files): Doc fix.
21370 (diary-include-files): New function, extracted from
21371 diary-include-other-diary-files and diary-mark-included-diary-files.
21372 (diary-include-other-diary-files, diary-mark-included-diary-files):
21373 Just call diary-include-files.
21374 (diary-mark-entries): Reset diary-included-files on first call.
21376 * calendar/diary-lib.el (diary-mark-entries)
21377 (diary-mark-included-diary-files):
21378 Visit included diary-files in temp buffers.
21380 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
21381 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
21382 (f90-start-block-re, f90-imenu-generic-expression)
21383 (f90-looking-at-program-block-start, f90-no-block-limit):
21384 Add support for submodules.
21386 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
21387 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
21389 2011-06-25 Eli Zaretskii <eliz@gnu.org>
21391 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
21392 buffer-file-type before setting its value, to avoid disastrous
21393 global effects on decoding files for DOS/Windows systems. (Bug#8780)
21395 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
21397 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
21399 * ses.el (ses-unload-function):
21400 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
21402 * proced.el (proced-unload-function):
21403 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
21405 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
21407 * server.el (server-create-window-system-frame): Add parameters arg.
21408 (server-process-filter): Doc fix. Handle frame-parameters.
21410 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
21412 Fix bug#8730, bug#8781.
21414 * loadhist.el (unload--set-major-mode): New function.
21415 (unload-feature): Use it.
21417 * progmodes/python.el (python-after-info-look): Add autoload cookie.
21418 (python-unload-function): New function.
21420 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
21422 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
21424 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
21426 * net/browse-url.el (browse-url-firefox-program): Add icecat to
21427 the candidates list.
21429 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
21431 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
21433 2011-06-23 Richard Stallman <rms@gnu.org>
21435 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
21436 (rmail-variables): Set next-error-move-function.
21437 (rmail-what-message): Take argument POS.
21438 (rmail-next-error-move): New function.
21440 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
21442 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
21443 messages for adjacent non-terminals.
21445 2011-06-23 Richard Stallman <rms@gnu.org>
21447 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
21448 (rmail-show-message-1): Preserve buffer modified flag.
21449 (rmail-start-mail): Don't specify use of rmail-mail-return;
21450 that's done by mail-bury now.
21451 (rmail-mail-return): Handle arg NEWBUF.
21453 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
21455 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
21458 2011-06-23 Martin Rudalics <rudalics@gmx.at>
21460 * window.el (get-lru-window, get-mru-window)
21461 (get-largest-window): Never return a minibuffer window.
21462 (display-buffer-pop-up-window): Fix a bug that could lead to
21463 reusing the minibuffer window.
21464 (display-buffer): Pass original specifier argument to
21465 display-buffer-function instead of the normalized one.
21466 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
21468 2011-06-22 Leo Liu <sdl.web@gmail.com>
21470 * minibuffer.el (completing-read-function)
21471 (completing-read-default): Move from minibuf.c.
21473 2011-06-22 Richard Stallman <rms@gnu.org>
21475 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
21476 to Rmail even if not started by a special Rmail command.
21478 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
21479 Copy the buffer currently showing just one message.
21481 2011-06-22 Roland Winkler <winkler@gnu.org>
21483 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
21484 (bibtex-clean-entry): First delete the old key so that a
21485 customized algorithm for generating the new key does not get
21486 confused by the old key.
21487 (bibtex-url): Obey regexp of first step.
21488 (bibtex-search-entries): Do not use add-to-list with local
21491 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
21493 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
21494 stored a user name, then query for the password first, instead of
21495 waiting for SMTP to give an error message and the trying again.
21497 2011-06-22 Lawrence Mitchell <wence@gmx.li>
21499 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
21500 BUFFER in call-process.
21502 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
21504 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
21506 (smtpmail-try-auth-methods): Require user name and password from
21509 2011-06-22 Martin Rudalics <rudalics@gmx.at>
21511 * window.el (display-buffer-default-specifiers)
21512 (display-buffer-alist): Remove entries for pop-up-frame-alist.
21513 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
21514 (split-window): Normalize SIDE argument (Bug#8916).
21516 * frame.el (pop-up-frame-alist, pop-up-frame-function)
21517 (special-display-frame-alist, special-display-popup-frame):
21518 Remove duplicate declarations. These are now in window.el.
21520 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
21522 * mail/smtpmail.el (smtpmail-via-smtp):
21523 Set :use-starttls-if-possible so that we always use STARTTLS if the
21524 server supports it. SMTP servers that support STARTTLS commonly
21527 * net/network-stream.el (network-stream-open-starttls): Support
21528 upgrading to STARTTLS always, even if we don't have built-in support.
21529 (open-network-stream): Add the :always-query-capabilities keyword.
21531 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
21532 upgrades with `open-network-stream', and rely solely on
21533 auth-source for all credentials. Big changes throughout the file,
21535 (smtpmail-auth-credentials): Remove.
21536 (smtpmail-starttls-credentials): Remove.
21537 (smtpmail-via-smtp): Check for servers saying they want AUTH after
21540 * net/network-stream.el (network-stream-open-starttls):
21541 Provide support for client certificates both for external and built-in
21543 (auth-source): Require.
21544 (open-network-stream): Document the :client-certificate keyword.
21545 (network-stream-certificate): Change cert-cert to cert and
21548 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
21550 * net/tramp-cache.el (top): Don't load the persistency file when
21551 "emacs -Q" has been called.
21553 2011-06-21 Tim Harper <timcharper@gmail.com>
21555 * term/ns-win.el (ns-initialize-window-system):
21556 Set application-specific `ApplePressAndHoldEnabled' system
21557 resource to NO as it is not yet supported by the NS port.
21559 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
21561 * misc.el (list-dynamic-libraries--refresh): Compute header here...
21562 (list-dynamic-libraries): ...not here.
21564 2011-06-21 Leo Liu <sdl.web@gmail.com>
21566 * subr.el (sha1): Implement sha1 using secure-hash.
21568 2011-06-21 Martin Rudalics <rudalics@gmx.at>
21570 * window.el (display-buffer-alist): In default value do not
21571 enforce searching a window on any but the selected frame.
21572 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
21573 (display-buffer-select-window): Remove function.
21574 (display-buffer-in-window): When a window on another frame gets
21575 reused, do not select it any more but just raise its frame if
21576 necessary (Bug#8851) and (Bug#8856).
21577 (display-buffer-normalize-options): Handle pop-up-frames related
21578 options more faithfully.
21579 (pop-to-buffer): Don't rely on `display-buffer' selecting the
21580 window if it is on another frame.
21581 (display-buffer-alist, display-buffer-default-specifiers):
21582 Don't make new frame unsplittable by default.
21583 (display-buffer-normalize-argument): Fix doc-string typo and use
21584 'same-frame-other-window instead of 'other-window when associating
21585 with display-buffer-macro-specifiers.
21587 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
21589 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
21591 (5x5-mode-map, 5x5-mode-menu): Bind them.
21592 (5x5-draw-grid): Tweak the solver's rendering.
21594 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
21596 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
21597 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
21599 2011-06-21 Drew Adams <drew.adams@oracle.com>
21601 * menu-bar.el: Use function variable instead of switch-to-buffer.
21602 (menu-bar-select-buffer-function): New variable.
21603 (menu-bar-update-buffers): Use it (bug#8876).
21605 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
21607 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
21610 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
21612 * x-dnd.el (x-dnd-version-from-flags)
21613 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
21614 and long as number (Bug#8899).
21615 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
21617 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
21619 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
21620 (completion-try-completion, completion-all-completions): Compute the
21621 metadata argument if it's missing; make it optional (bug#8795).
21623 * wid-edit.el: Use lex-bind and move towards completion-at-point.
21624 (widget-complete): Use new :completion-function property.
21625 (widget-completions-at-point): New function.
21626 (default): Use :completion-function instead of :complete.
21627 (widget-default-completions): Rename from widget-default-complete;
21629 (widget-string-complete, widget-file-complete, widget-color-complete):
21631 (file, symbol, function, variable, coding-system, color):
21632 * international/mule-cmds.el (default-input-method, charset)
21633 (language-info-custom-alist):
21634 * cus-edit.el (face): Use new property :completions.
21636 * progmodes/pascal.el (pascal-completions-at-point): New function.
21637 (pascal-mode): Use it.
21638 (pascal-mode-map): Use completion-at-point.
21639 (pascal-toggle-completions): Make obsolete.
21640 (pascal-complete-word, pascal-show-completions):
21641 * progmodes/octave-mod.el (octave-complete-symbol):
21642 Redefine as obsolete alias.
21643 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
21644 Signal absence of completion info for old Octave,
21645 (inferior-octave-complete): Redefine as obsolete alias.
21646 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
21647 (meta-completions-at-point): Rename from meta-complete-symbol and
21648 adapt it for use on completion-at-point-functions.
21649 (meta-common-mode): Use it.
21650 (meta-looking-at-backward, meta-match-buffer): Remove.
21651 (meta-complete-symbol): Redefine as obsolete alias.
21652 (meta-common-mode-map): Use completion-at-point.
21653 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
21654 (makefile-mode-map): Use completion-at-point.
21655 (makefile-completions-at-point): Rename from makefile-complete and
21656 adapt it for use on completion-at-point-functions.
21657 (makefile-mode): Use it.
21658 (makefile-complete): Redefine as obsolete alias.
21660 2011-06-20 Deniz Dogan <deniz@dogan.se>
21662 * net/rcirc.el: Delete trailing whitespaces once and for all.
21664 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
21666 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
21668 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
21670 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
21672 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
21674 2011-06-19 Martin Rudalics <rudalics@gmx.at>
21676 * window.el (display-buffer-other-window-means-other-frame):
21677 Call display-buffer-normalize-alist.
21678 (display-buffer-normalize-specifiers-1): Rename to
21679 display-buffer-normalize-argument. New argument other-frame.
21681 (display-buffer-normalize-specifiers-2): Rename to
21682 display-buffer-normalize-options.
21683 (display-buffer-normalize-alist-1): New function.
21684 (display-buffer-normalize-specifiers-3): Rename to
21685 display-buffer-normalize-alist.
21686 Call display-buffer-normalize-alist-1.
21687 (display-buffer-normalize-options-inhibit): New variable.
21688 (display-buffer-normalize-specifiers): Rewrite calling
21689 display-buffer-normalize-alist,
21690 display-buffer-normalize-argument, and
21691 display-buffer-normalize-options. Don't call the latter if
21692 display-buffer-normalize-options-inhibit is non-nil.
21693 (frame-auto-delete): New option.
21694 (window-deletable-p): Use frame-auto-delete.
21695 (window-list-no-nils, window-state-ignored-parameters)
21696 (window-state-get-1, window-state-get, window-state-put-list)
21697 (window-state-put-1, window-state-put-2, window-state-put):
21699 (display-buffer-normalize-options): Move special-display-p group
21700 after pop-up-frame group (Bug#8851) and (Bug#8856).
21702 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
21704 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
21706 (rx-submatch-n): New function.
21709 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
21712 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
21714 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
21716 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
21717 anytime existing face settings are present (Bug#8889).
21719 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
21720 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
21721 Remove unused argument.
21723 2011-06-18 Martin Rudalics <rudalics@gmx.at>
21725 * window.el (display-buffer-default-specifiers):
21726 Remove pop-up-frame. Add pop-up-window-min-height,
21727 pop-up-window-min-width, and another reuse-window specifier
21728 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
21729 (display-buffer-normalize-specifiers-2):
21730 Handle split-height-threshold and split-width-threshold also when
21731 pop-up-windows is unset. Add a reuse-window specifier for the
21732 case popping up a new window fails.
21733 (special-display-popup-frame): Remove double quoting.
21734 (display-buffer-normalize-specifiers-1): Fix thinko.
21736 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
21738 * shell.el (shell-completion-vars): Set pcomplete-termination-string
21739 according to comint-completion-addsuffix.
21741 * pcomplete.el: Convert to lexical binding and fix bug#8819.
21742 (pcomplete-suffix-list): Mark as obsolete.
21743 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
21744 pcomplete-seen in the closure.
21745 (pcomplete-comint-setup): Setup completion-at-point as well.
21746 (pcomplete--entries): New function.
21747 (pcomplete--env-regexp): New var.
21748 (pcomplete-entries): Rewrite to work with partial-completion and
21749 without relying on pcomplete-suffix-list.
21750 (pcomplete-pare-list): Remove, unused.
21752 2011-06-17 Martin Rudalics <rudalics@gmx.at>
21754 * window.el (display-buffer-alist): Set pop-up-window-min-height
21755 and pop-up-window-min-width in default value. Reported by
21756 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
21757 other-window-means-other-frame.
21758 (display-buffer-macro-specifiers): Comment out entry for
21759 other-window specifier.
21760 (display-buffer-other-window-means-other-frame): New function.
21761 (display-buffer-normalize-specifiers-1): New arguments
21762 buffer-name and label. Treat other-window case specially.
21763 (display-buffer-normalize-specifiers-2): Treat other-window case
21765 (display-buffer-normalize-specifiers-3): New function.
21766 (display-buffer-normalize-specifiers):
21767 Call display-buffer-normalize-specifiers-3.
21769 2011-06-17 Martin Rudalics <rudalics@gmx.at>
21771 * window.el (same-window-p): Fix two typos introduced when
21772 adding with-no-warnings.
21773 (display-buffer-normalize-specifiers-1): Don't check
21774 pop-up-frames for 'unset initialization.
21775 (display-buffer-normalize-specifiers-2): Major rewrite using
21776 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
21777 (pop-up-frames, display-buffer-reuse-frames)
21778 (display-buffer-mark-dedicated): Don't initialize to 'unset.
21779 Suggested by David Engster <deng@randomsample.de>.
21780 (even-window-heights): Initialize to 'unset.
21781 (display-buffer-alist-set): Handle new 'unset initializations.
21782 (display-buffer-macro-specifiers): Don't pop up a new frame in the
21785 2011-06-16 Martin Rudalics <rudalics@gmx.at>
21787 * window.el (display-buffer-normalize-specifiers-1):
21788 Respect current value of pop-up-frames for most reasonable values of
21789 second argument of display-buffer (Bug#8865).
21790 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
21791 (switch-to-buffer-other-window-same-frame)
21792 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
21794 (display-buffer): Don't check noninteractive when calling
21795 display-buffer-pop-up-frame.
21796 (display-buffer-pop-up-frame): Never pop up a frame in
21797 noninteractive mode (Bug#8857).
21798 (enlarge-window, shrink-window): Don't report an error when the
21799 window can't be resized as requested (Bug#8862).
21801 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
21803 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
21805 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
21807 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
21809 2011-06-15 Alan Mackenzie <acm@muc.de>
21811 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
21812 for declarators, disable knr checking to speed up for normal files.
21813 2: Refactor, replacing a sequence of nested if forms by a cond form.
21815 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
21817 * net/network-stream.el (open-network-stream): Add the keyword
21818 :always-query-capabilities for the case where you want to force a
21819 `plain' network connection, but the protocol still requires the
21820 capabilitiy command (i.e., SMTP and EHLO).
21822 * subr.el (process-live-p): Rename from `process-alive-p' for
21823 consistency with other `-live-p' functions.
21825 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
21827 * window.el (same-window-buffer-names, same-window-regexps)
21828 (special-display-frame-alist, special-display-popup-frame)
21829 (special-display-function, special-display-buffer-names)
21830 (special-display-regexps, pop-up-frame-alist)
21831 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
21832 (pop-up-windows, split-window-preferred-function)
21833 (split-height-threshold, split-width-threshold, even-window-heights)
21834 (display-buffer-mark-dedicated): Don't encourage the use of
21835 display-buffer-alist from Elisp code.
21837 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
21839 * progmodes/python.el (python-mode): Derive from prog-mode.
21840 * progmodes/ps-mode.el (ps-mode):
21841 * progmodes/mixal-mode.el (mixal-mode):
21842 * progmodes/cfengine.el (cfengine-mode):
21843 * progmodes/ld-script.el (ld-script-mode): Likewise.
21845 2011-06-15 Martin Rudalics <rudalics@gmx.at>
21847 * window.el (display-buffer-alist): Trim default value to avoid
21848 popping up a new frame (Bug#8857) or reusing an arbitrary window
21850 (display-buffer): Do not fall back on popping up a new frame in
21851 batch mode (Bug#8857).
21853 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
21855 * cus-theme.el (describe-theme-1): Use custom-theme-p.
21856 (custom-theme-summary): New function.
21857 (customize-themes): Use it.
21859 2011-06-13 Glenn Morris <rgm@gnu.org>
21861 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
21863 2011-06-13 Martin Rudalics <rudalics@gmx.at>
21865 * help.el (help-window): Remove variable.
21866 (help-window-point-marker, temp-buffer-max-height)
21867 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
21868 (help-print-return-message): Don't set help-window.
21869 (resize-temp-buffer-window): Rewrite cod eand doc-string.
21870 (help-window-setup-finish): Remove.
21871 (help-window-display-message, help-window-setup)
21872 (with-help-window): Major rewrite based on new
21873 display-buffer-window variable.
21875 * help-mode.el (help-mode-finish): Remove help-window related
21878 * view.el (view-exits-all-viewing-windows): Remove reference to
21879 view-return-to-alist in doc-string.
21880 (view-return-to-alist): Make obsolete.
21881 (view-buffer): Call pop-to-buffer-same-window and remove
21883 (view-buffer-other-window): Call pop-to-buffer-other-window and
21884 simplify code. Ignore second argument.
21885 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
21886 simplify code. Ignore second argument.
21887 (view-return-to-alist-update): Make obsolete.
21888 (view-mode-enter): Rename second argument to QUIT-RESTORE.
21889 Rewrite using quit-restore window parameters.
21890 (view-mode-exit): Rename second argument to EXIT-ONLY.
21891 Rewrite using quit-restore-window.
21892 (View-exit, View-exit-and-edit, View-leave, View-quit)
21893 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
21894 appropriate arguments.
21895 (view-end-message): Use quit-restore window parameter.
21897 * window.el (display-buffer-function): Rewrite doc-string.
21898 (display-buffer-window, display-buffer-alist): New variables.
21899 (display-buffer-split-specifiers)
21900 (display-buffer-side-specifiers)
21901 (display-buffer-macro-specifiers): New constants.
21902 (display-buffer-even-window-sizes, display-buffer-set-height)
21903 (display-buffer-set-width, display-buffer-select-window)
21904 (display-buffer-in-window, display-buffer-reuse-window)
21905 (display-buffer-split-window-1, display-buffer-split-window)
21906 (display-buffer-split-atom-window, display-buffer-pop-up-window)
21907 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
21908 (display-buffer-in-side-window, normalize-buffer-to-display)
21909 (display-buffer-normalize-specifiers-1)
21910 (display-buffer-normalize-specifiers-2)
21911 (display-buffer-normalize-specifiers, display-buffer-frame):
21913 (display-buffer): Major rewrite.
21914 (display-buffer-other-window, display-buffer-other-frame)
21915 (pop-to-buffer, switch-to-buffer-other-window)
21916 (switch-to-buffer-other-frame): Rewrite.
21917 (display-buffer-same-window, display-buffer-same-frame)
21918 (display-buffer-same-frame-other-window)
21919 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
21920 (pop-to-buffer-other-window)
21921 (pop-to-buffer-same-frame-other-window)
21922 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
21923 (switch-to-buffer-other-window-same-frame): New functions.
21924 (same-window-p, special-display-p): Rewrite disabling warnings.
21926 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
21927 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
21929 (same-window-buffer-names, same-window-regexps)
21930 (special-display-frame-alist, special-display-popup-frame)
21931 (special-display-function, special-display-buffer-names)
21932 (special-display-regexps, pop-up-frame-alist)
21933 (pop-up-frame-function, split-window-preferred-function)
21934 (split-height-threshold, split-width-threshold)
21935 (even-window-heights): Make obsolete.
21937 2011-06-12 Glenn Morris <rgm@gnu.org>
21939 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
21940 Misc simplifications.
21942 2011-06-12 Martin Rudalics <rudalics@gmx.at>
21944 * window.el (window-safely-shrinkable-p): Restore function which
21945 was inadvertently removed in change from 2011-06-11. Declare as
21948 * calendar/calendar.el (calendar-generate-window):
21949 Use window-iso-combined-p instead of combination of one-window-p and
21950 window-safely-shrinkable-p.
21952 2011-06-12 Glenn Morris <rgm@gnu.org>
21954 * progmodes/fortran.el (fortran-mode-syntax-table):
21955 * progmodes/f90.el (f90-mode-syntax-table):
21956 Set % to punctuation. (Bug#8820)
21957 (f90-find-tag-default): Remove, no longer needed.
21959 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
21961 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
21963 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
21965 * image.el (image-animated-p): Return animation delay in seconds.
21966 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
21967 (image-animate-timeout): Remove DELAY argument. Don't assume
21968 every subimage has the same delay; get it from image-animated-p.
21969 (image-animate): Caller changed.
21971 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
21973 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
21974 to ignored backtrace functions.
21976 2011-06-11 Glenn Morris <rgm@gnu.org>
21978 * calendar/appt.el (appt-disp-window-function): Doc fix.
21979 (appt-check): Handle overlapping appointments. (Bug#8337)
21981 2011-06-11 Martin Rudalics <rudalics@gmx.at>
21983 * window.el (window-tree-1, window-tree): New functions, moving
21984 the latter to window.el.
21985 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
21986 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
21987 (bw-refresh-edges): Remove.
21988 (balance-windows-1, balance-windows-2): New functions.
21989 (balance-windows): Rewrite in terms of window tree functions,
21990 balance-windows-1 and balance-windows-2.
21991 (bw-adjust-window): Remove.
21992 (balance-windows-area-adjust): New function with functionality of
21993 bw-adjust-window but using resize-window.
21994 (set-window-text-height): Rewrite doc-string.
21995 Use normalize-live-window and resize-window.
21996 (enlarge-window-horizontally, shrink-window-horizontally):
21997 Rename argument to DELTA.
21998 (window-buffer-height): New function.
21999 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
22000 Rewrite using new window resize routines.
22001 (kill-buffer-and-window, mouse-autoselect-window-select):
22002 Use ignore-errors instead of condition-case.
22003 (quit-window): Call delete-frame instead of delete-windows-on
22004 for the only buffer on frame.
22006 2011-06-10 Martin Rudalics <rudalics@gmx.at>
22008 * loadup.el (top-level): Load window before files for the sake
22009 of replace-buffer-in-windows.
22011 * files.el (read-buffer-to-switch)
22012 (switch-to-buffer-other-window)
22013 (switch-to-buffer-other-frame, display-buffer-other-frame):
22016 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
22017 (previous-buffer): Move to window.el.
22019 * bindings.el (unbury-buffer): Move to window.el.
22021 * window.el (delete-other-windows-vertically): Move after
22022 definition of delete-other-windows.
22023 (other-window, delete-windows-on, replace-buffer-in-windows):
22024 Move here from window.c.
22025 (record-window-buffer, unrecord-window-buffer)
22026 (set-window-buffer-start-and-point, switch-to-prev-buffer)
22027 (switch-to-next-buffer): New functions.
22028 (get-next-valid-buffer, last-buffer, next-buffer): Move here
22029 from simple.el. Call switch-to-next-buffer.
22030 (previous-buffer): Move here from simple.el.
22031 Call switch-to-prev-buffer.
22032 (bury-buffer): Move here from buffer.c. Switch to previous
22033 buffer when window cannot be deleted.
22034 (unbury-buffer): Move here from bindings.el.
22035 (ctl-x-map): Move binding for other-window from window.c to
22037 (read-buffer-to-switch, switch-to-buffer-other-window)
22038 (switch-to-buffer-other-frame): Move here from files.el.
22039 (normalize-buffer-to-switch-to): New functions.
22040 (switch-to-buffer): Move here from buffer.c.
22041 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
22043 2011-06-10 Martin Rudalics <rudalics@gmx.at>
22045 * window.el (window-min-height, window-min-width): Move here
22046 from window.c. Add defcustoms and rewrite doc-strings.
22047 (resize-mini-window, resize-window): New functions.
22048 (adjust-window-trailing-edge, enlarge-window, shrink-window):
22049 Move here from window.c.
22050 (maximize-window, minimize-window): New functions.
22051 (delete-window, delete-other-windows, split-window): Move here
22053 (window-split-min-size): New function.
22054 (split-window-keep-point): Mention split-window-above-each-other
22055 instead of split-window-vertically.
22056 (split-window-above-each-other, split-window-vertically):
22057 Rename split-window-vertically to split-window-above-each-other
22058 and provide defalias for old definition.
22059 (split-window-side-by-side, split-window-horizontally):
22060 Rename split-window-horizontally to split-window-side-by-side
22061 and provide defalias for the old definition.
22062 (ctl-x-map): Move bindings for delete-window,
22063 delete-other-windows and enlarge-window here from window.c.
22064 Replace bindings for split-window-vertically and
22065 split-window-horizontally by bindings for
22066 split-window-above-each-other and split-window-side-by-side.
22068 * cus-start.el (all): Remove entries for window-min-height and
22069 window-min-width. Add entries for window-splits and
22072 2011-06-09 Glenn Morris <rgm@gnu.org>
22074 * calendar/appt.el (appt-mode-line): New function.
22075 (appt-check, appt-disp-window): Use it.
22077 * files.el (hack-one-local-variable-eval-safep):
22078 Allow minor-modes with explicit +/-1 arguments.
22080 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
22082 * term/xterm.el (xterm): Add defgroup.
22083 (xterm-extra-capabilities): Add defcustom to supply known xterm
22084 capabilities, skip querying them, or query them (default).
22085 (terminal-init-xterm): Use it.
22086 (terminal-init-xterm-modify-other-keys): New function to set up
22087 modifyOtherKeys support to simplify `terminal-init-xterm'.
22089 2011-06-09 Martin Rudalics <rudalics@gmx.at>
22091 * window.el (resize-window-reset, resize-window-reset-1)
22092 (resize-subwindows-skip-p, resize-subwindows-normal)
22093 (resize-subwindows, resize-other-windows, resize-this-window)
22094 (resize-root-window, resize-root-window-vertically)
22095 (window-deletable-p, window-or-subwindow-p)
22096 (frame-root-window-p): New functions.
22098 2011-06-09 Glenn Morris <rgm@gnu.org>
22100 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
22101 (ange-ftp-get-files): Use it.
22103 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
22105 * mail/sendmail.el (mail-recover-1, mail-recover):
22106 * files.el (recover-file, recover-session):
22107 Handle dired-listing-switches not being just a single short option.
22109 2011-06-09 Glenn Morris <rgm@gnu.org>
22111 * calendar/appt.el (appt-display-message, appt-disp-window):
22112 Handle lists of appointments.
22114 2011-06-08 Martin Rudalics <rudalics@gmx.at>
22116 * window.el (one-window-p): Move down in code.
22117 Rewrite doc-string.
22118 (window-current-scroll-bars): Rewrite doc-string.
22119 Normalize live window argument.
22120 (walk-windows, get-window-with-predicate, count-windows):
22121 Rewrite doc-string. Use window-list-1.
22122 (window-in-direction-2, window-in-direction, get-mru-window):
22125 2011-06-08 Reuben Thomas <rrt@sc3d.org>
22127 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
22128 Doc fix (Bug#8713).
22130 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
22132 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
22134 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
22136 * loadhist.el (unload-feature-special-hooks):
22137 Add `comint-output-filter-functions'.
22139 2011-06-08 Ivan Kanis <gnu@kanis.fr>
22141 * calendar/appt.el (appt-check): Move some initializations into the let.
22143 2011-06-08 Martin Rudalics <rudalics@gmx.at>
22145 * window.el (window-height): Defalias to window-total-height.
22146 (window-width): Defalias to window-body-width.
22148 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
22150 * image-mode.el (image-toggle-animation): New command.
22151 (image-mode-map): Bind it to RET.
22152 (image-mode): Update message.
22153 (image-toggle-display-image): Avoid a spurious cache flush.
22154 (image-transform-rotation): Doc fix.
22155 (image-transform-properties): Return quickly in the normal case.
22156 (image-animate-loop): Rename from image-animate-max-time.
22158 * image.el (image-animate-max-time): Move to image-mode.el.
22159 (create-animated-image): Remove unnecessary function.
22160 (image-animate): Rename from image-animate-start. New arg.
22161 (image-animate-stop): Remove; just use image-animate-timer.
22162 (image-animate-timer): Use car-safe.
22163 (image-animate-timeout): Rename argument.
22165 2011-06-07 Martin Rudalics <rudalics@gmx.at>
22167 * window.el (get-lru-window, get-largest-window): Move here from
22168 window.c. Rename first argument to ALL-FRAMES.
22169 Rephrase doc-strings.
22170 (get-buffer-window-list): Rewrite using window-list-1.
22171 Rephrase doc-string.
22172 (window-safe-min-height, window-safe-min-width): New constants.
22173 (window-size-ignore, window-min-size, window-min-size-1)
22174 (window-sizable, window-sizable-p, window-size-fixed-1)
22175 (window-size-fixed-p, window-min-delta-1, window-min-delta)
22176 (window-max-delta-1, window-max-delta, window-resizable)
22177 (window-resizable-p, window-total-height, window-total-width)
22178 (window-body-width): New functions.
22179 (window-full-height-p, window-full-width-p): Rewrite using
22181 (window-body-height): Rewrite using window-body-size.
22183 2011-06-06 Martin Rudalics <rudalics@gmx.at>
22185 * window.el (window-right, window-left, window-child)
22186 (window-child-count, window-last-child, window-any-p)
22187 (normalize-live-buffer, normalize-live-frame)
22188 (normalize-any-window, normalize-live-window)
22189 (window-iso-combination-p, window-iso-combined-p)
22190 (window-iso-combinations)
22191 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
22192 (windows-with-parameter, window-with-parameter)
22193 (window-atom-root, make-window-atom, window-atom-check-1)
22194 (window-atom-check, window-side-check, window-check):
22196 (ignore-window-parameters, window-sides, window-sides-vertical)
22197 (window-sides-slots): New variables.
22198 (window-size-fixed): Move down in code. Minor doc-string fix.
22200 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
22202 * comint.el (comint-dynamic-complete-as-filename)
22203 (comint-dynamic-complete-filename): Correctly call
22204 completion-in-region.
22206 2011-06-05 Deniz Dogan <deniz@dogan.se>
22208 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
22211 2011-06-05 Deniz Dogan <deniz@dogan.se>
22213 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
22214 (rcirc): Use it to prompt for encryption.
22216 2011-06-05 Roland Winkler <winkler@gnu.org>
22218 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
22219 (bibtex-search-entries): New command bound to C-c C-a.
22220 (bibtex-display-entries): New function.
22222 2011-06-05 Roland Winkler <winkler@gnu.org>
22224 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
22225 (bibtex-insert-kill): After yanking insert newline if necessary.
22226 (bibtex-initialize): Call bibtex-string-files-init only once.
22227 (bibtex-mode): Do not call easy-menu-add.
22228 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
22229 (bibtex-yank): Set arg properly if nil.
22231 2011-06-05 Roland Winkler <winkler@gnu.org>
22233 * textmodes/bibtex.el (bibtex-search-entry-globally):
22235 (bibtex-search-entry): Use it.
22237 2011-06-05 Roland Winkler <winkler@gnu.org>
22239 * textmodes/bibtex.el (bibtex-entry-format): New option
22241 (bibtex-format-entry, bibtex-reformat): Honor this option.
22242 (bibtex-parse-entry): Return fields in proper order.
22244 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
22246 * doc-view.el (doc-view-remove-if): Move computation of result out
22247 of `dolist' to silence misleading lexical-binding warning.
22249 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
22251 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
22252 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
22254 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
22256 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
22259 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
22261 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
22262 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
22263 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
22264 (tramp-parse-putty):
22265 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
22266 (tramp-completion-function-alist-ssh)
22267 (tramp-completion-function-alist-telnet)
22268 (tramp-completion-function-alist-su)
22269 (tramp-completion-function-alist-putty): Set `tramp-autoload'
22272 * net/tramp-ftp.el:
22274 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
22275 load "tramp.el" `tramp-set-completion-function'.
22277 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
22279 * shell.el: Require and use pcomplete.
22280 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
22281 (shell-completion-vars): Set pcomplete-default-completion-function.
22283 2011-06-04 Deniz Dogan <deniz@dogan.se>
22285 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
22288 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
22290 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
22292 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
22294 * bs.el (bs--mark-unmark, bs--nth-wrapper):
22295 * mpc.el (mpc-select-extend, mpc-songpointer-context):
22296 * vc/log-view.el (log-view-beginning-of-defun):
22297 * vc/smerge-mode.el (smerge-apply-resolution-patch)
22298 (smerge-refine-forward, smerge-refine-chopup-region):
22299 Silence warning for unused `dotimes' counter variables.
22301 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
22303 * net/tramp.el (tramp-with-progress-reporter): Rename from
22304 with-progress-reporter. Use `declare'.
22305 * net/tramp-smb.el:
22307 * net/tramp-gvfs.el: Update all uses.
22309 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
22311 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
22312 buffer isn't killed before making it current.
22314 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
22316 Silence various byte-compiler warnings.
22317 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
22318 `access-type' and new obsolescence format.
22319 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
22321 (byte-compile-check-variable): New `access-type' argument.
22322 Only warn if the access-type is obsolete.
22323 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
22324 (byte-compile-variable-set): Adjust callers.
22325 * help-fns.el (describe-variable): Adjust to new obsolescence format.
22326 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
22327 setting it as obsolete.
22328 * simple.el (minibuffer-completing-symbol):
22329 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
22330 access as obsolete.
22331 * minibuffer.el (minibuffer-completing-file-name): Don't make it
22333 * international/quail.el (quail-mouse-choose-completion): Remove unused
22334 code referring to obsolete var.
22335 (quail-choose-completion-string): Remove.
22336 * server.el (server-clients-with, server-kill-buffer-query-function)
22337 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
22338 * proced.el (proced-send-signal):
22339 * emacs-lisp/lisp.el (lisp-complete-symbol):
22340 Replace completion-annotate-function with completion-extra-properties.
22342 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
22344 * simple.el (goto-line): Use read-number.
22345 (overriding-map-is-bound): Remove.
22346 (saved-overriding-map): Change default.
22347 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
22348 Take the map as argument.
22349 (universal-argument, negative-argument, digit-argument): Use it.
22350 (restore-overriding-map): Adjust.
22351 (do-auto-fill): Use fill-forward-paragraph.
22352 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
22354 * minibuffer.el (minibuffer-inactive-mode-map): New var.
22355 (minibuffer-inactive-mode): New major mode.
22356 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
22357 the *Messages* buffer" hack.
22358 (mouse-popup-menubar): Don't burp if the event is a normal key.
22360 Miscellaneous tweaks.
22361 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
22362 lexical scoping as in subr.el's dolist and dotimes.
22363 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
22364 Silence compiler warning.
22365 * thingatpt.el (forward-whitespace): Trivial coding style fix.
22366 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
22367 * international/ccl.el (ccl-compile): Trivial simplification.
22368 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
22369 * emacs-lisp/testcover.el (testcover-end): Remove spurious
22370 `printflag' argument.
22371 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
22372 Purecopy the whole obsolescence data.
22374 2011-06-01 Leo Liu <sdl.web@gmail.com>
22376 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
22377 improve doc-string as suggested by Marco Pessotto
22378 <melmothx@gmail.com>.
22379 (rcirc-print): Fix last change.
22381 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
22383 * minibuffer.el (complete-with-action): Return nil for the metadata and
22384 boundaries of non-functional tables.
22385 (completion-table-dynamic): Return nil for the metadata.
22386 (completion-table-with-terminator): Add default case, using
22387 complete-with-action.
22388 (completion--metadata): New function.
22389 (completion-all-sorted-completions, minibuffer-completion-help): Use it
22390 to try and avoid pathological performance problems.
22391 (completion--embedded-envvar-table): Return `category' metadata.
22393 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
22395 * subr.el (process-alive-p): New tiny convenience function.
22397 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
22399 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
22400 content but also its previous major mode.
22402 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
22404 * emacs-lisp/debug.el (debug): Restore the previous content of the
22405 *Backtrace* buffer when we exit with C-M-c.
22407 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
22409 * minibuffer.el: Add metadata method to completion tables.
22410 (completion-category-overrides): New defcustom.
22411 (completion-metadata, completion--field-metadata)
22412 (completion-metadata-get, completion--styles)
22413 (completion--cycle-threshold): New functions.
22414 (completion-try-completion, completion-all-completions):
22415 Add `metadata' argument to choose completion-styles.
22416 (completion--do-completion): Use metadata to choose cycling.
22417 (completion-all-sorted-completions): Use metadata for sorting.
22418 Remove :completion-cycle-penalty which is not needed any more.
22419 (completion--try-word-completion): Add `metadata' argument.
22420 (minibuffer-completion-help): Check metadata for annotation function
22422 (completion-file-name-table): Return `category' metadata.
22423 (minibuffer-completing-file-name): Make obsolete.
22424 * simple.el (minibuffer-completing-symbol): Make obsolete.
22425 * icomplete.el (icomplete-completions): Pass new `metadata' param to
22426 completion-try-completion.
22428 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
22430 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
22432 2011-05-30 Leo Liu <sdl.web@gmail.com>
22434 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
22435 (rcirc-print): Decode all incoming messages (bug#8744).
22436 (rcirc-decode-coding-system): Allow value nil for automatic coding
22439 2011-06-01 Glenn Morris <rgm@gnu.org>
22441 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
22443 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
22445 * image.el (image-animate-max-time): Allow nil and t values.
22447 (create-animated-image): Doc fix.
22448 (image-animate-start): Remove second arg; just use
22449 image-animate-max-time.
22450 (image-animate-timeout): Doc fix. Args changed.
22452 * image-mode.el (image-toggle-display-image): Ensure that the
22453 image spec passed to the animate timer is the same object as in
22454 the buffer's display property (Bug#6981).
22455 (image-transform-properties): Doc fix.
22457 * image.el (image-animate-max-time): Default to nil.
22459 2011-05-29 Martin Rudalics <rudalics@gmx.at>
22461 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
22462 entire buffer list (Bug#8184).
22464 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
22466 * image.el (imagemagick-types-inhibit)
22467 (imagemagick-register-types): Doc fix.
22469 2011-05-29 Deniz Dogan <deniz@dogan.se>
22471 * net/rcirc.el (rcirc): Use the user's stored encryption method by
22474 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
22476 * select.el: Don't perform clipboard-manager saving in hooks;
22477 leave the hooks empty.
22479 2011-05-28 Leo Liu <sdl.web@gmail.com>
22481 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
22482 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
22483 (occur-edit-mode): New major mode (Bug#8463).
22484 (occur-after-change-function): New function.
22485 (occur-engine): Give Occur tags a read-only property.
22487 2011-05-28 Kevin Ryde <user42@zip.com.au>
22489 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
22491 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
22493 * bindings.el (help-echo): Make the initial non-indicator dash
22494 empty on graphical terminals (Bug#7295).
22496 * files.el (auto-mode-alist): Move config rule after the
22497 in-stripping one (Bug#8547).
22499 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
22501 * startup.el (normal-splash-screen): Remove gratuitous mode-line
22502 setting (Bug#8740).
22504 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
22506 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
22507 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
22510 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
22512 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
22514 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
22516 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
22517 (hs-hide-block-at-point, hs-find-block-beginning)
22518 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
22521 2011-05-28 Glenn Morris <rgm@gnu.org>
22523 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
22525 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
22527 * help-fns.el (describe-function-1): If the function is a derived
22528 major mode, print the parent mode.
22530 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
22531 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
22533 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
22535 * minibuffer.el (completion--capf-wrapper): Check applicability before
22536 returning non-nil for non-exclusive completion data.
22537 * progmodes/etags.el (tags-completion-at-point-function):
22538 * info-look.el (info-lookup-completions-at-point): Mark as
22540 (info-complete): Adjust accordingly.
22542 * info-look.el: Convert to lexical-binding and completion-at-point.
22543 (info-lookup-completions-at-point): New function.
22544 (info-complete): Use it and completion-in-region.
22546 2011-05-28 Drew Adams <drew.adams@oracle.com>
22548 * isearch.el: Let M-e start with point at the first mismatched char.
22549 (isearch-fail-pos): New function.
22550 (isearch-edit-string): Use it.
22552 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
22554 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
22556 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
22558 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
22559 traversal functions for avl-trees.
22560 (avl-tree--stack): New struct.
22561 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
22562 (avl-tree-enter): Add optional `updatefun' arg.
22563 (avl-tree--do-enter): Add optional `updatefun' arg.
22564 Change return value.
22565 (avl-tree-delete): Add optional `test' and `nilflag' args.
22566 (avl-tree--do-delete): Add `test' and `nilflag' args.
22567 Change return value.
22568 (avl-tree-member): Add optional `nilflag'
22569 (avl-tree-member-p): New function.
22570 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
22571 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
22572 (avl-tree-stack-empty-p): New functions.
22574 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
22575 avl-tree--del-balance1 and make it work both ways.
22576 (avl-tree--del-balance2): Remove.
22577 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
22578 make it work both ways.
22579 (avl-tree--enter-balance2): Remove.
22580 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
22582 (avl-tree--mapc, avl-tree-map): Add direction argument.
22584 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
22586 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
22588 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
22590 * select.el: Support clipboard managers with built-in function
22591 x-clipboard-manager-save, via delete-frame-functions and
22593 (xselect-convert-to-targets): Add MULTIPLE target to list.
22594 (xselect-convert-to-save-targets): New function.
22596 2011-05-27 Kenichi Handa <handa@m17n.org>
22598 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
22599 let-binding rfc2047-encode-encoded-words to nil.
22601 2011-05-27 Glenn Morris <rgm@gnu.org>
22603 * mail/emacsbug.el: Don't require url-util.
22605 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
22607 * files.el (set-auto-mode):
22608 Also respect mode: entries at the end of the file. (Bug#8586)
22610 2011-05-26 Glenn Morris <rgm@gnu.org>
22612 * files.el (hack-local-variables-prop-line, hack-local-variables):
22613 Downcase mode names, as seems to be traditional.
22614 (hack-local-variables, hack-local-variables-apply): Doc fixes.
22616 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
22617 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
22619 2011-05-25 Julien Danjou <julien@danjou.info>
22621 * textmodes/rst.el (rst-define-level-faces): Do not define face
22622 symbol if it is already defined.
22624 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
22626 * play/5x5.el (5x5-new-game, 5x5-randomize):
22627 Reset 5x5-solver-output to nil when a new grid is cast.
22628 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
22629 these debugging traces, as defmacro breaks the compiled code.
22631 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
22633 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
22635 2011-05-24 Leo Liu <sdl.web@gmail.com>
22637 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
22638 (vc-bzr-sha1): Adapt.
22640 * sha1.el: Remove. Function `sha1' is now builtin.
22642 * bindings.el: Provide sha1 feature.
22644 2011-05-24 Kenichi Handa <handa@m17n.org>
22646 * mail/sendmail.el: Require `rfc2047'.
22647 (mail-insert-from-field): Do not perform RFC2047 encoding.
22648 (mail-encode-header): New function.
22649 (sendmail-send-it): Set buffer-file-coding-system of the work
22650 buffer to the return value of select-message-coding-system.
22651 Call mail-encode-header.
22653 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
22655 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
22657 * mail/supercite.el (sc-default-cite-frame):
22658 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
22660 2011-05-24 Glenn Morris <rgm@gnu.org>
22662 * progmodes/python.el (brm-menu): Declare.
22664 * emulation/viper.el (viper-set-hooks): Declare.
22666 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
22667 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
22668 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
22669 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
22670 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
22671 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
22673 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
22675 Add an :exit-function for completion-at-point.
22677 * minibuffer.el (completion--done): New fun.
22678 (completion--do-completion): Use it. New arg `expect-exact'.
22679 (minibuffer-complete, minibuffer-complete-word): Don't output message,
22680 since completion--do-completion does it for us now.
22681 (minibuffer-force-complete): Use completion--done and
22682 completion--replace. Handle sole-completion case with more care.
22683 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
22684 (completion-extra-properties): New var.
22685 (completion-annotate-function): Make obsolete.
22686 (minibuffer-completion-help): Adjust accordingly.
22687 Use completion-list-insert-choice-function.
22688 (completion-at-point, completion-help-at-point):
22689 Bind completion-extra-properties.
22690 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
22691 * simple.el (completion-list-insert-choice-function): New var.
22692 (completion-setup-function): Preserve it.
22693 (choose-completion): Pay attention to it, shuffle the code a bit.
22694 (choose-completion-string): New arg `insert-function'.
22696 * textmodes/bibtex.el: Convert to lexical binding.
22697 (bibtex-mode-map): Use completion-at-point.
22698 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
22699 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
22700 (bibtex-complete): Define as obsolete alias.
22701 (bibtex-complete-internal): Remove.
22702 (bibtex-format-entry): Remove unused sub-group in regexp.
22703 * shell.el (shell--command-completion-data)
22704 (shell-environment-variable-completion):
22705 * pcomplete.el (pcomplete-completions-at-point):
22706 * comint.el (comint--complete-file-name-data): Use :exit-function
22707 instead of completion-table-with-terminator so it also works for
22710 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
22712 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
22714 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
22717 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
22719 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
22721 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
22722 customization variable and implement: If non-nil, auto-fill will
22723 be inhibited while on topic's header line.
22725 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
22727 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
22728 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
22729 always have a solution in grid size = 5 cases.
22730 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
22731 (5x5-solver-output, 5x5-log-buffer): New vars.
22732 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
22733 Make these variables buffer local to achieve 5x5 multi-session-ness.
22734 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
22735 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
22736 (5x5-solve-suggest): New funs.
22737 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
22738 randomize a grid so that we ensure that there is always a solution.
22739 (5x5-make-random-grid): Allow other movement than flipping.
22741 2011-05-23 Kevin Ryde <user42@zip.com.au>
22743 * emacs-lisp/advice.el (ad-read-advised-function):
22744 Use `function-called-at-point' as the default, if it has
22745 advice and passes PREDICATE.
22747 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
22749 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
22750 byte-compile-lambda if it's actually a lambda.
22752 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
22753 Fix function quoting. Use backquote better.
22755 2011-05-22 Yuanle Song <sylecn@gmail.com>
22757 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
22758 matching (Bug#8516).
22760 2011-05-22 Jari Aalto <jari.aalto@cante.net>
22762 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
22763 different face (Bug#8178).
22765 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
22767 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
22768 defface (Bug#8144).
22770 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
22772 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
22773 funcall as well (bug#8712). Warn when performing those conversions.
22774 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
22776 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
22778 2011-05-22 Glenn Morris <rgm@gnu.org>
22780 * files.el (hack-local-variables-prop-line): Small simplifications.
22781 (hack-local-variables, hack-local-variables-prop-line):
22782 If MODE-ONLY, return the mode, rather than just `t'.
22784 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
22786 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
22788 2011-05-21 Glenn Morris <rgm@gnu.org>
22790 * files.el (hack-local-variables-prop-line, hack-local-variables):
22791 If only interested in the mode, don't bother doing the other stuff.
22793 * image-mode.el (image-after-revert-hook):
22794 Redraw all frames on which the image is visible. (Bug#8567)
22796 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
22798 * wid-edit.el (widget-checklist-match-inline):
22799 Fix 2011-04-19 change. (Bug#8649)
22801 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
22803 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
22804 Also allow singlespace after single-letter capitals followed by a dot.
22806 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
22807 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
22809 2011-05-20 Nix <nix@esperi.org.uk>
22811 * files.el (basic-save-buffer-2):
22812 Fix handling of break-hardlink-on-save with non-existent files.
22814 2011-05-19 Deniz Dogan <deniz@dogan.se>
22816 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
22817 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
22819 2011-05-19 Glenn Morris <rgm@gnu.org>
22821 * progmodes/f90.el (f90-type-def-re):
22822 Handle "type, bind(c)". (Bug#8691)
22824 * emacs-lisp/autoload.el (batch-update-autoloads):
22825 Set autoload-excludes by parsing loadup.el rather than Makefiles.
22827 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
22829 * net/tramp.el (tramp-process-actions): Set "first-password-request"
22830 property for the correct connection in case of multihops.
22832 2011-05-18 Glenn Morris <rgm@gnu.org>
22834 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
22835 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
22837 Rationalize calendar handling of day and month abbrev-arrays.
22838 * calendar/calendar.el (calendar-customized-p): New function.
22839 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
22840 (calendar-day-name-array, calendar-month-name-array): Doc fix.
22842 (calendar-abbrev-length, calendar-day-abbrev-array)
22843 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
22844 (calendar-day-abbrev-array, calendar-month-abbrev-array):
22845 Elements may no longer be nil.
22846 (calendar-day-name, calendar-month-name):
22847 Update for changed nature of abbrev arrays.
22848 * calendar/diary-lib.el (diary-name-pattern):
22849 Update for changed nature of abbrev arrays.
22850 (diary-mark-entries-1): Update calendar-make-alist calls.
22851 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
22852 * calendar/cal-html.el (cal-html-day-abbrev-array):
22853 Simply inherit from calendar-day-abbrev-array.
22855 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
22857 * progmodes/grep.el (grep-mode): Disable default
22858 compilation-directory-matcher setting (bug#8684).
22860 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
22862 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
22863 instead of "head" and "tail". There were problems with SunOS 5.9,
22864 and it performs better.
22866 2011-05-17 Glenn Morris <rgm@gnu.org>
22868 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
22870 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
22871 Replace obsolete function.
22873 * shell.el (pcomplete-parse-arguments-function): Declare.
22875 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
22876 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
22877 (appt-check): Doc fixes.
22878 (appt-disp-window-function, appt-delete-window-function):
22879 Remove needless special case in custom :type.
22880 (appt-display-count): Default to 0, not nil.
22881 (appt-check): Reset appt-display-count to 0, not nil.
22883 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
22885 * progmodes/python.el (python-font-lock-keywords):
22886 Add the Python 3.X keyword "nonlocal" (bug#8639).
22888 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
22890 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
22892 2011-05-16 Kevin Ryde <user42@zip.com.au>
22894 * info-look.el (makefile-automake-mode): New setups, looking in
22895 automake manual, then makefile-mode.
22896 (makefile-mode): Remove automake manual, have it just in
22897 makefile-automake-mode since there's various things different or
22898 not relevant to plain make.
22899 (makefile-mode): Remove "other-modes" non-existent automake-mode,
22900 believe a hypothetical automake-mode would go to makefile-mode,
22901 not the other way around.
22903 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
22905 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
22906 hunk-end tags (Bug#8672).
22908 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
22909 vc-annotate-show-diff-revision-at-line (Bug#8671).
22911 2011-05-14 Glenn Morris <rgm@gnu.org>
22913 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
22914 in the middle of an existing one with multiple authors. (Bug#8645)
22915 (change-log-font-lock-keywords): Also handle multiple author lines
22916 with leading tabs. (Bug#8644)
22918 * calendar/appt.el (appt-check): Rename some local variables.
22919 Some simplification/reordering.
22921 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
22922 (feedmail-sendmail-f-doesnt-sell-me-out)
22923 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
22924 (feedmail-debug-sit-for, feedmail-queue-express-hook)
22925 (feedmail-queue-runner-message-sender): Set :version.
22926 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
22927 (bbdb-dwim-net-address, vm-mail): Declare.
22928 (feedmail-binmail-gnulinuxish-template):
22929 Rename from feedmail-binmail-linuxish-template.
22930 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
22931 Use insert-buffer-substring.
22933 2011-05-14 Bill Carpenter <bill@carpenter.org>
22935 * mail/feedmail.el (feedmail-patch-level): Increase.
22936 (feedmail-debug): New custom group.
22937 (feedmail-confirm-outgoing-timeout)
22938 (feedmail-sendmail-f-doesnt-sell-me-out)
22939 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
22940 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
22941 (feedmail-sender-line, feedmail-from-line)
22942 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
22943 (feedmail-spray-this-address)
22944 (feedmail-spray-address-fiddle-plex-list)
22945 (feedmail-queue-use-send-time-for-date)
22946 (feedmail-queue-use-send-time-for-message-id)
22947 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
22948 (feedmail-buffer-eating-function):
22950 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
22951 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
22952 (feedmail-message-action-scroll-down): New functions.
22953 (feedmail-queue-directory, feedmail-queue-draft-directory):
22954 Use expand-file-name.
22955 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
22956 Remove C-v help entry.
22957 (feedmail-queue-buffer-file-name): New variable.
22958 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
22959 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
22960 (feedmail-message-action-send-strong, feedmail-message-action-edit)
22961 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
22962 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
22963 (feedmail-message-action-toggle-spray)
22964 (feedmail-run-the-queue-no-prompts)
22965 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
22966 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
22967 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
22968 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
22969 (feedmail-envelope-deducer, feedmail-fiddle-from)
22970 (feedmail-fiddle-sender, feedmail-default-date-generator)
22971 (feedmail-fiddle-date, feedmail-fiddle-message-id)
22972 (feedmail-fiddle-spray-address)
22973 (feedmail-fiddle-list-of-spray-fiddle-plexes)
22974 (feedmail-fiddle-list-of-fiddle-plexes)
22975 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
22976 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
22977 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
22978 Change default. Doc fix.
22979 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
22980 (feedmail-binmail-linuxish-template): New constant.
22981 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
22982 Respect feedmail-sendmail-f-doesnt-sell-me-out.
22983 (feedmail-send-it): Add debug call.
22984 Use feedmail-queue-buffer-file-name, and
22985 feedmail-send-it-immediately-wrapper.
22986 (feedmail-message-action-send): Add debug call.
22987 Use feedmail-send-it-immediately-wrapper.
22988 (feedmail-queue-express-to-queue): Add debug call.
22989 Run feedmail-queue-express-hook.
22990 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
22991 (feedmail-message-action-help-blat):
22992 Rename from feedmail-queue-send-edit-prompt-help-first.
22993 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
22994 Check line-endings. Handle errors better.
22995 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
22996 Doc fix. Add debug call.
22997 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
22998 Use feedmail-queue-send-edit-prompt-inner.
22999 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
23000 (feedmail-queue-send-edit-prompt-inner): New function, extracted
23001 from feedmail-queue-send-edit-prompt.
23002 (feedmail-queue-send-edit-prompt-help)
23003 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
23004 (feedmail-tidy-up-slug): Add debug call.
23005 Respect feedmail-queue-slug-suspect-regexp.
23006 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
23007 (feedmail-dump-message-to-queue): Add debug call.
23008 Expand queue-directory.
23009 (feedmail-dump-message-to-queue): Change message slightly.
23010 Use feedmail-say-chatter.
23011 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
23012 (feedmail-send-it-immediately-wrapper): New function.
23013 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
23014 Insert empty string rather than newline. Handle full-frame case.
23015 Use catch/throw. Use feedmail-say-chatter.
23016 (feedmail-fiddle-from): Try mail-host-address.
23017 (feedmail-default-message-id-generator): Doc fix.
23018 Bind system-time-locale. Handle missing end.
23019 (feedmail-fiddle-x-mailer): Add debug call.
23020 Handle feedmail-x-mailer-line being nil.
23021 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
23022 Add debug call. Use buffer-substring-no-properties.
23023 (feedmail-say-debug, feedmail-say-chatter): New functions.
23024 (feedmail-find-eoh): Give an explicit error.
23026 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
23028 * net/newst-treeview.el (newsticker-treeview-face): Change default
23029 family from helvetica to sans.
23030 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
23031 etc/images/newsticker.
23033 * net/newst-reader.el (newsticker-feed-face): Change default
23034 family from helvetica to sans.
23036 * net/newst-plainview.el (newsticker-new-item-face)
23037 (newsticker-old-item-face, newsticker-immortal-item-face)
23038 (newsticker-obsolete-item-face, newsticker-date-face)
23039 (newsticker-statistics-face): Change default family from
23041 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
23042 etc/images/newsticker.
23044 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
23045 (newsticker--process-auto-mark-filter-match): Tell user about
23048 2011-05-13 Didier Verna <didier@xemacs.org>
23050 Common Lisp indentation improvements on defmethod and lambda-lists.
23051 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
23053 (lisp-lambda-list-keyword-parameter-indentation)
23054 (lisp-lambda-list-keyword-parameter-alignment)
23055 (lisp-lambda-list-keyword-alignment): New customizable user options.
23056 (lisp-indent-defun-method): Improve docstring.
23057 (extended-loop-p): Fix comment.
23058 (lisp-indent-lambda-list-keywords-regexp): New variable.
23059 (lisp-indent-lambda-list): New function.
23060 (lisp-indent-259): Use it.
23061 (lisp-indent-defmethod): Support for more than one
23062 method qualifier and properly indent methods lambda-lists.
23063 (defgeneric): Provide a missing common-lisp-indent-function property.
23065 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
23067 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
23068 bounds for the empty string (bug#8667).
23070 2011-05-13 Glenn Morris <rgm@gnu.org>
23072 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
23074 * mail/sendmail.el (sendmail-program): Try executable-find first.
23075 (sendmail-send-it): `sendmail-program' cannot be unbound.
23077 * calendar/appt.el (appt-make-list): Simplify.
23078 (appt-time-msg-list): Doc fix.
23079 (appt-check): Change mode-line message at the time of the appointment.
23081 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
23083 * progmodes/ld-script.el (ld-script-keywords)
23084 (ld-script-builtins): Update keywords list.
23086 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
23088 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
23090 * shell.el (shell-completion-vars): New function.
23092 * simple.el (read-shell-command): Use it.
23093 (blink-matching-open): No need for " [...]" in minibuffer-message.
23095 2011-05-12 Glenn Morris <rgm@gnu.org>
23097 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
23098 (appt-check): Simplify.
23100 2011-05-12 Eli Zaretskii <eliz@gnu.org>
23102 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
23103 literal "/dev/null".
23105 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
23107 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
23110 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
23112 * progmodes/which-func.el (which-function):
23113 Use add-log-current-defun instead of add-log-current-defun-function,
23114 which might not be defined (Bug#8260).
23116 2011-05-12 Glenn Morris <rgm@gnu.org>
23118 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
23119 Let byte-compile-initial-macro-environment always take precedence.
23121 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
23123 * net/rcirc.el: Add support for SSL/TLS connections.
23124 (rcirc-server-alist): New field `encryption'.
23125 (rcirc): Check `encryption' settings.
23126 (rcirc-connect): New arg `encryption'. Use open-network-stream.
23127 Merge make-local-variable into `set'.
23128 (rcirc--connection-open-p): New function.
23129 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
23130 the process is not a network process (e.g. running gnutls-cli).
23131 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
23132 Make rcirc-(en|de)code-coding-system local here.
23133 (rcirc-mode): Merge make-local-variable into `set'.
23134 (rcirc-parent-buffer): Make permanent buffer-local.
23135 (rcirc-multiline-minor-mode): Don't do it here.
23136 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
23137 there's no server buffer.
23139 2011-05-11 Glenn Morris <rgm@gnu.org>
23141 * newcomment.el (comment-kill): Prefix "unused" local.
23143 * term/w32console.el (get-screen-color): Declare.
23145 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
23146 Handle symbol elements of byte-compile-initial-macro-environment.
23148 2011-05-10 Leo Liu <sdl.web@gmail.com>
23150 * bookmark.el (bookmark-bmenu-mode-map):
23151 Bind bookmark-bmenu-search to `/'.
23153 * mail/footnote.el: Convert to utf-8 encoding.
23154 (footnote-unicode-string, footnote-unicode-regexp): New variable.
23155 (Footnote-unicode): New function.
23156 (footnote-style-alist): Add unicode style to the list.
23157 (footnote-style): Doc fix.
23159 2011-05-10 Jim Meyering <meyering@redhat.com>
23161 Fix doubled-word typos.
23162 * international/quail.el (quail-insert-kbd-layout): and and -> and
23163 * kermit.el: and and -> and
23164 * net/ldap.el (ldap-search-internal): to to -> to
23165 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
23166 * progmodes/js.el (js-mode): and and -> and
23167 * textmodes/artist.el (artist-move-to-xy): at at -> at
23168 (artist-draw-region-trim-line-endings): if if -> if
23169 And Safetyc -> Safety.
23170 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
23172 2011-05-10 Glenn Morris <rgm@gnu.org>
23173 Stefan Monnier <monnier@iro.umontreal.ca>
23175 * files.el (hack-one-local-variable-eval-safep):
23176 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
23178 2011-05-10 Glenn Morris <rgm@gnu.org>
23180 * calendar/diary-lib.el (diary-list-entries-hook)
23181 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
23182 (diary-nongregorian-marking-hook, diary-list-entries)
23183 (diary-include-other-diary-files, diary-mark-entries)
23184 (diary-mark-included-diary-files): Doc fixes.
23186 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
23188 * misc.el: Require tabulated-list.el during compilation.
23190 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
23192 * progmodes/compile.el (compilation-start):
23193 Run compilation-filter-hook for the async case too.
23194 (compilation-filter-hook): Doc fix.
23196 2011-05-09 Deniz Dogan <deniz@dogan.se>
23198 * wdired.el: Remove outdated installation comment. Fix usage
23201 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
23203 * misc.el: Implement new command `list-dynamic-libraries'.
23204 (list-dynamic-libraries--loaded-only-p): New variable.
23205 (list-dynamic-libraries--refresh): New function.
23206 (list-dynamic-libraries): New command.
23208 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
23210 * progmodes/compile.el (compilation-error-regexp-alist-alist):
23211 Fix the ant regexp to handle end-line and end-column info from jikes.
23212 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
23213 higher priority to avoid clobbering by gnu.
23215 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
23217 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
23218 if the face has existing theme settings (Bug#8454).
23220 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
23222 * progmodes/perl-mode.el (perl-imenu-generic-expression):
23223 Only match variables declared via `my' or `our' (Bug#8261).
23225 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
23226 special file names `.' and `..' (Bug#8259).
23228 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
23230 * progmodes/grep.el (grep-mode-font-lock-keywords):
23231 Remove buffer-changing entries.
23232 (grep-filter): New function.
23233 (grep-mode): Add it to compilation-filter-hook.
23235 * progmodes/compile.el (compilation-filter-hook)
23236 (compilation-filter-start): New defvars.
23237 (compilation-filter): Call compilation-filter-hook prior to
23238 updating the process mark.
23240 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
23242 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
23244 2011-05-07 Eli Zaretskii <eliz@gnu.org>
23246 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
23247 mailclient-send-it even if window-system is nil. (Bug#8595)
23249 * term/w32console.el (terminal-init-w32console):
23250 Call get-screen-color and use its output to set the frame
23251 background-mode. (Bug#8597)
23253 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
23255 Make bytecomp.el understand that defmethod defines funs (bug#8631).
23256 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
23258 (defgeneric, eieio--defmethod): Use them.
23259 (eieio-defgeneric): Remove.
23260 (defmethod): Call defgeneric in a way visible to the byte-compiler.
23262 2011-05-07 Glenn Morris <rgm@gnu.org>
23264 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
23265 Use let rather than let*.
23266 (timeclock-find-discrep): Remove unused local.
23268 * calendar/diary-lib.el (diary-comment-start): Doc fix.
23270 * calendar/appt.el (appt-time-msg-list): Doc fix.
23272 2011-05-06 Noah Friedman <friedman@splode.com>
23274 * apropos.el (apropos-print-doc): Only use
23275 emacs-lisp-docstring-fill-column when it is bound to an integer,
23276 per that variable's documentation.
23278 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
23280 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
23281 and warnings are not silently discarded (e.g. use -d instead of -P).
23283 2011-05-06 Glenn Morris <rgm@gnu.org>
23285 * calendar/appt.el (appt-message-warning-time): Doc fix.
23286 (appt-warning-time-regexp): New option.
23287 (appt-make-list): Respect appt-message-warning-time.
23289 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
23291 (diary-add-to-list): Strip comments from the displayed string.
23292 (diary-mode): Set comment-start and comment-end.
23294 * vc/diff-mode.el (smerge-refine-subst): Declare.
23295 (diff-refine-hunk): Don't require smerge-mode when compiling.
23297 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
23299 * simple.el (list-processes): Return nil as the docstring says.
23301 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
23303 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
23305 (ange-ftp-write-region, ange-ftp-insert-file-contents)
23306 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
23307 determining of binary transfer. (Bug#7383)
23309 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
23311 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
23312 Fix port computation bug. (Bug#8618)
23314 2011-05-05 Glenn Morris <rgm@gnu.org>
23316 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
23318 * simple.el (shell-dynamic-complete-functions)
23319 (comint-dynamic-complete-functions): Declare.
23321 * net/network-stream.el (gnutls-negotiate):
23322 * simple.el (tabulated-list-print): Fix declarations.
23324 * progmodes/gud.el (syntax-symbol, syntax-point):
23325 Remove unnecessary and incorrect declarations.
23327 * emacs-lisp/check-declare.el (check-declare-scan):
23328 Handle byte-compile-initial-macro-environment in bytecomp.el.
23330 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
23332 Fix earlier half-done eieio-defmethod change (bug#8338).
23333 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
23334 Streamline and change calling convention.
23335 (defmethod): Adjust accordingly and simplify.
23336 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
23337 new eieio--defmethod.
23338 (slot-boundp): Minor CSE simplification.
23340 2011-05-05 Milan Zamazal <pdm@zamazal.org>
23342 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
23343 (glasses-make-readable): Use glasses-separate-capital-groups.
23345 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
23347 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
23348 (warning-series): Doc fix.
23349 (display-warning): Don't try to create the buffer if we just found it.
23351 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
23353 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
23354 (autoload-find-generated-file): New function.
23355 (generate-file-autoloads): Bind generated-autoload-file to
23357 (update-file-autoloads, update-directory-autoloads):
23358 Use autoload-find-generated-file. If called interactively, prompt for
23359 output file (Bug#7989).
23360 (batch-update-autoloads): Doc fix.
23362 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
23364 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
23366 2011-05-04 Glenn Morris <rgm@gnu.org>
23368 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
23369 function, so it follows changes in calendar-date-style.
23370 (diary-fancy-date-matcher): New function.
23371 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
23372 (diary-fancy-font-lock-fontify-region-function):
23373 Use diary-fancy-date-pattern as a function.
23375 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
23376 non-numbers for `year' etc pseudo-variables. (Bug#8583)
23378 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
23380 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
23381 instead of positional arguments. Allow :keylist and :crlfiles
23383 (open-gnutls-stream): Call it.
23385 * net/network-stream.el (network-stream-open-starttls): Adjust to
23386 call `gnutls-negotiate' with :process and :hostname arguments.
23388 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
23390 * minibuffer.el (completion--message): New function.
23391 (completion--do-completion, minibuffer-complete)
23392 (minibuffer-force-complete, minibuffer-complete-word): Use it.
23393 (completion--do-completion): Don't ignore completion-auto-help when in
23396 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
23397 internal encoding (e.g. tibetan zero is not whitespace).
23398 (global-whitespace-mode): Prefer save-current-buffer.
23399 (whitespace-trailing-regexp): Remove useless save-match-data.
23400 (whitespace-empty-at-bob-regexp): Minor simplification.
23402 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
23404 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
23406 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
23408 * textmodes/ispell.el (ispell-add-per-file-word-list):
23409 Use `concat' to create string for insertion.
23411 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
23413 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
23414 Avoid open-line which runs post-self-insert-hook.
23415 (bibtex-fill-entry): Remove unused `end' var.
23417 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
23419 * textmodes/ispell.el (ispell-add-per-file-word-list):
23420 Protect against `nil' value of `comment-start' (Bug#8579).
23422 2011-05-03 Leo Liu <sdl.web@gmail.com>
23424 * isearch.el (isearch-yank-pop): New command.
23425 (isearch-mode-map): Bind it to `M-y'.
23426 (isearch-forward): Mention it.
23428 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
23430 * simple.el (minibuffer-complete-shell-command): Remove.
23431 (minibuffer-local-shell-command-map): Use completion-at-point.
23432 (read-shell-command): Setup completion vars here instead.
23433 (read-expression-map): Bind TAB to symbol completion.
23435 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
23436 error directly rather via storing it into `results'.
23438 2011-05-02 Leo Liu <sdl.web@gmail.com>
23440 * vc/diff.el: Fix description.
23442 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
23444 * server.el (server-eval-at): New function.
23446 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
23448 * net/network-stream.el (open-network-stream): Take a :nowait
23449 parameter and pass it on to `make-network-process'.
23450 (network-stream-open-plain): Ditto.
23452 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
23454 * faces.el (face-spec-set-match-display): Don't match toolkit
23455 options on terminal frames.
23457 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
23459 * progmodes/pascal.el: Use lexical binding.
23460 (pascal-mode-map): Remove author preferences.
23462 * pcomplete.el (pcomplete-std-complete): Don't abuse
23463 completion-at-point.
23465 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
23467 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
23468 removing code that has been dead since 1991 or so.
23470 * startup.el (command-line): When warning about "_emacs", use a
23471 delayed warning to allow the user to filter it out.
23473 2011-04-28 Deniz Dogan <deniz@dogan.se>
23475 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
23476 user has not joined.
23478 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
23480 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
23481 aren't any completions at point.
23483 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
23485 * subr.el (display-delayed-warnings): New function.
23486 (delayed-warnings-hook): New variable.
23488 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
23490 * minibuffer.el (completion-at-point, completion-help-at-point):
23491 Don't presume that a given completion-at-point-function will always
23492 use the same calling convention.
23494 * pcomplete.el (pcomplete-completions-at-point):
23495 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
23496 pcomplete-seen is non-nil.
23497 (pcomplete-comint-setup): Also recognize the new comint/shell
23498 completion functions.
23499 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
23500 pcomplete-seen is non-nil.
23502 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
23504 * calendar/icalendar.el (diary-lib): Add require statement.
23505 (icalendar--create-uid): Read out a uid from a text-property on
23506 the first character in the entry. This allows for code to add its
23507 own uid to the entry.
23508 (icalendar--convert-float-to-ical): Add export of
23509 `diary-float'-entries save for those with the optional DAY
23512 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
23514 * subr.el (shell-quote-argument): Use alternate escaping strategy
23515 when we spot a variable reference in a string.
23517 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
23519 * cus-start.el (all): Define customization for debug-on-event.
23521 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
23523 * subr.el (shell-quote-argument): Escape correctly under Windows.
23525 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
23527 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
23529 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
23531 * net/tramp.el (tramp-process-actions): Add POS argument.
23532 Delete region between POS and (pos).
23534 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
23535 Use `nil' position in `tramp-process-actions' call.
23536 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
23538 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
23539 position in `tramp-process-actions' call.
23541 * net/trampver.el: Update release number.
23543 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
23545 * custom.el (defcustom): Obey lexical-binding.
23547 Fix octave-inf completion problems reported by Alexander Klimov.
23548 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
23549 Inherit from octave-mode-syntax-table.
23550 (inferior-octave-mode): Set info-lookup-mode.
23551 (inferior-octave-completion-at-point): New function.
23552 (inferior-octave-complete): Use it and completion-in-region.
23553 (inferior-octave-dynamic-complete-functions): Use it as well, and use
23554 comint-filename-completion.
23555 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
23556 symbol elements which shouldn't be word elements.
23557 (octave-font-lock-keywords, octave-beginning-of-defun)
23558 (octave-function-header-regexp): Adjust regexps accordingly.
23559 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
23561 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
23563 * net/gnutls.el (gnutls-errorp): Declare before first use.
23565 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
23567 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
23568 verify-error, and verify-hostname-error parameters. Check whether
23569 default trustfile exists before going to use it. Add missing
23570 argument to gnutls-message-maybe call. Return value.
23571 Reported by Claudio Bley <claudio.bley@gmail.com>.
23572 (open-gnutls-stream): Add usage example.
23574 * net/network-stream.el (network-stream-open-starttls): Give host
23575 parameter to `gnutls-negotiate'.
23576 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
23577 * subr.el (shell-quote-argument): Escape correctly under Windows.
23579 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
23581 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
23582 Use correct match group (bug#8438).
23584 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
23586 * emacs-lisp/package.el (package-built-in-p): Fix typo.
23587 (package-menu--generate): New arg specifying packages to show.
23588 (package-menu-refresh, package-menu-execute, list-packages):
23590 (package-show-package-list): New function, replacing deleted
23591 package--list-packages (renamed because it is non-internal).
23593 * finder.el (finder-list-matches): Use package-show-package-list
23594 instead of deleted package--list-packages.
23596 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
23597 Based on a previous implementation by Juanma Barranquero (Bug#8366).
23598 (vc-annotate-mode-map): Bind it to RET.
23600 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
23602 * progmodes/etags.el (next-file): Don't use set-buffer to change
23603 buffers (Bug#8478).
23605 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
23607 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
23609 * apropos.el (apropos-label-face): Avoid variable-pitch face.
23610 (apropos-accumulator): Doc fix.
23611 (apropos-function, apropos-macro, apropos-command)
23612 (apropos-variable, apropos-face, apropos-group, apropos-widget)
23613 (apropos-plist): Add face property.
23614 (apropos-symbols-internal): Fix indentation.
23615 (apropos-print): Simplify help, and recognize apropos-multi-type.
23616 (apropos-print-doc): Use button-type-get to extract the button's
23617 face property. Fill docstring (Bug#8352).
23619 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
23621 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
23623 * play/mpuz.el (mpuz-silent): Doc fix.
23624 (mpuz-mode-map): Use mapc.
23625 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
23626 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
23627 Fix typos in docstrings.
23629 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
23630 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
23632 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
23634 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
23636 * minibuffer.el (completion--do-completion): Avoid the "Next char
23637 not unique" prompt if icomplete-mode is enabled (Bug#5849).
23639 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
23640 mouse-2 into unread-command-events, it is interpreted correctly.
23642 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
23643 (image-toggle-display): Doc fix.
23645 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
23647 * textmodes/page.el (what-page): Use line-number-at-pos to
23648 calculate line number (Bug#6825).
23650 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
23652 * eshell/esh-mode.el (find-tag-interactive): Declare function.
23653 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
23654 Pass argument NO-DEFAULT to `find-tag-interactive'.
23656 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
23658 Lexical-binding cleanup.
23660 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
23661 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
23662 * progmodes/ada-prj.el (ada-prj-initialize-values)
23663 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
23664 (ada-prj-show-value):
23665 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
23666 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
23667 (antlr-invalidate-context-cache, antlr-options-menu-filter)
23668 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
23669 * progmodes/bug-reference.el (bug-reference-push-button):
23670 * progmodes/fortran.el (fortran-line-length):
23671 * progmodes/glasses.el (glasses-change):
23672 * progmodes/octave-mod.el (octave-fill-paragraph):
23673 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
23674 (python-pdbtrack-grub-for-buffer, python-sentinel):
23675 * progmodes/sql.el (sql-save-connection):
23676 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
23677 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
23678 Mark unused parameters.
23680 * progmodes/compile.el (compilation--flush-directory-cache)
23681 (compilation--flush-parse, compile-internal): Mark unused parameters.
23682 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
23683 (compilation-next-error-function): Remove unused variable `timestamp'.
23685 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
23686 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
23688 * progmodes/dcl-mode.el (dcl-end-of-command):
23689 Remove unused variable `start'.
23690 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
23691 (dcl-option-value-basic, dcl-option-value-offset)
23692 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
23693 Mark unused parameters.
23694 (dcl-save-local-variable): Remove unused variable `val'.
23697 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
23698 Mark unused parameters.
23699 (delphi-ignore-changes): Move before first use.
23700 (delphi-charset-token-at): Remove unused variable `start'.
23701 (delphi-else-start): Remove unused variable `if-count'.
23702 (delphi-comment-block-start, delphi-comment-block-end):
23703 Remove unused variable `kind'.
23704 (delphi-indent-line): Remove unused variable `new-point'.
23706 * progmodes/ebrowse.el (ebrowse-files-list)
23707 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
23708 Mark unused parameters. Don't quote `lambda'.
23709 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
23710 Don't quote `lambda'.
23711 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
23712 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
23713 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
23714 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
23715 Use `ignore-errors'.
23716 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
23717 (ebrowse-view/find-file-and-search-pattern)
23718 (ebrowse-view/find-member-declaration/definition):
23719 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
23720 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
23721 Rename parameter PREFIX-ARG to PREFIX.
23722 (ebrowse-tags-read-name): Remove unused variables `start' and
23724 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
23727 * progmodes/etags.el (local-find-tag-hook): Declare.
23728 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
23729 Mark unused parameters.
23731 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
23732 (executable-interpret): Mark unused parameter.
23734 * progmodes/flymake.el (flymake-process-sentinel)
23735 (flymake-after-change-function)
23736 (flymake-create-temp-with-folder-structure)
23737 (flymake-get-include-dirs-dot): Mark unused parameters.
23738 (flymake-safe-delete-directory): Remove unused variable `err'.
23740 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
23741 (speedbar-timer-fn, speedbar-line-text)
23742 (speedbar-change-expand-button-char, speedbar-delete-subblock)
23743 (speedbar-center-buffer-smartly): Declare functions.
23744 (gdb-find-watch-expression): Remove unused variable `array'.
23745 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
23746 (gdb-starting): Mark unused parameters.
23747 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
23748 (gdb-table-string): Remove unused variable `res'.
23749 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
23750 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
23751 (gdb-display-buffer): Remove unused variable `cur-size'.
23753 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
23754 allow lexical-binding compilation.
23755 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
23756 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
23757 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
23758 Mark unused parameters.
23759 (gud-gdb-marker-filter): Remove unused variable `match'.
23760 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
23761 lambda expressions and funcall them, instead of using `fset'.
23763 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
23764 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
23766 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
23767 variable `header-beg'; use `let'.
23769 * progmodes/icon.el (indent-icon-exp): Remove unused variables
23770 `restart', `last-sexp' and `at-do'.
23772 * progmodes/js.el (js--debug): Mark unused parameter.
23773 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
23774 (js--splice-into-items): Remove unused variable `item'.
23775 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
23777 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
23778 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
23779 (makefile-complete): Remove unused variable `try'.
23780 (makefile-fill-paragraph, makefile-match-function-end):
23781 Mark unused parameters.
23783 * progmodes/octave-inf.el (inferior-octave-complete):
23784 Remove unused variable `proc'.
23785 (inferior-octave-output-digest): Mark unused parameter.
23787 * progmodes/perl-mode.el (perl-calculate-indent):
23788 Remove unused variable `err'.
23790 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
23791 (prolog-indent-line): Mark unused parameters.
23792 (prolog-indent-line): Remove unused variable `beg'.
23794 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
23795 (reporter-dont-compact-list): Declare.
23797 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
23798 Remove unused variable `char'.
23799 (sh-debug): Mark unused parameter.
23800 (sh-get-indent-info): Remove unused variable `start'.
23801 (sh-calculate-indent): Remove unused variable `var'.
23803 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
23804 (simula-electric-keyword): Remove unused variable `null'.
23805 (simula-search-backward, simula-search-forward): Remove unused
23806 variables `begin' and `end'.
23808 * progmodes/vera-mode.el (vera-guess-basic-syntax):
23809 Remove unused variable `pos'.
23810 (vera-electric-tab, vera-comment-uncomment-region):
23811 Mark unused parameters.
23812 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
23814 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
23816 * emacs-lisp/package.el (package--builtins, package-alist)
23817 (package-load-descriptor, package-built-in-p, package-activate)
23818 (define-package, package-installed-p)
23819 (package-compute-transaction, package-buffer-info)
23820 (package--push): Doc fix. Distinguish more clearly between
23821 version strings and version lists.
23823 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
23825 Lexical-binding cleanup.
23827 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
23828 (5x5-make-mutate-best):
23829 * play/fortune.el (fortune-in-buffer):
23830 * play/gomoku.el (gomoku-init-display):
23831 * play/solitaire.el (solitaire, solitaire-do-check):
23832 * play/tetris.el (tetris-default-update-speed-function):
23833 Mark unused parameters.
23835 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
23836 (bubbles--shift): Remove unused variable `char-org'.
23837 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
23838 (bubbles--show-images): Remove unused variable `char'.
23840 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
23841 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
23842 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
23843 (decipher-analyze-buffer): Use ?\s.
23844 (decipher-make-checkpoint): Remove unused variable `mapping'.
23846 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
23848 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
23849 Remove unused variable `result'; use `let'.
23851 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
23852 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
23853 (gametree-children-shown-p, gametree-compute-reduced-score):
23854 Use `ignore-errors'.
23856 * play/handwrite.el (ps-lpr-switches): Declare.
23857 (handwrite): Remove unused variables `pmin' and `lastp'.
23859 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
23861 * play/landmark.el (landmark-init-display)
23862 (landmark-update-naught-weights): Mark unused parameters.
23863 (landmark-y): Remove unused variable `noise'. Simplify.
23864 (landmark-human-plays): Remove unused variable `score'.
23866 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
23867 (mpuz-try-proposal): Remove unused variable `game'.
23869 * play/zone.el (life-patterns): Declare.
23871 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
23873 * vc/vc.el (ediff-vc-internal): Declare function.
23875 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
23877 * shell.el: Use lexical-binding and std completion UI.
23878 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
23879 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
23880 comint-preoutput-filter-functions rather than on
23881 comint-output-filter-functions.
23882 (shell-command-completion, shell--command-completion-data)
23883 (shell-filename-completion, shell-environment-variable-completion)
23884 (shell-c-a-p-replace-by-expanded-directory): New functions.
23885 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
23886 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
23887 (shell-dynamic-complete-environment-variable): Use them.
23888 (shell-dynamic-complete-as-environment-variable)
23889 (shell-dynamic-complete-as-command): Remove.
23890 (shell-match-partial-variable): Match past point.
23891 * comint.el: Clean up use of completion-at-point-functions.
23892 (comint-completion-at-point): New function.
23893 (comint-mode): Use it completion-at-point-functions.
23894 (comint-dynamic-complete): Make it obsolete.
23895 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
23896 (comint-c-a-p-replace-by-expanded-history): New function.
23897 (comint-dynamic-complete-functions)
23898 (comint-replace-by-expanded-history): Use it.
23899 * minibuffer.el (completion-table-with-terminator): Allow dynamic
23900 termination strings. Try harder to avoid second try-completion.
23901 (completion-in-region-mode-map): Disable bindings that don't work yet.
23903 * comint.el: Use lexical-binding. Require CL.
23904 (comint-dynamic-complete-functions): Use comint-filename-completion.
23905 (comint-completion-addsuffix): Tweak custom type.
23906 (comint-filename-completion, comint--common-suffix)
23907 (comint--common-quoted-suffix, comint--table-subvert)
23908 (comint--complete-file-name-data): New functions.
23909 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
23910 (comint-dynamic-list-filename-completions): Use them.
23911 (comint-dynamic-simple-complete): Make obsolete.
23913 * minibuffer.el (completion-in-region-mode):
23914 Keep completion-in-region-mode--predicate global.
23915 (completion-in-region--postch):
23916 Assume completion-in-region-mode--predicate is not null.
23918 * progmodes/flymake.el (flymake-start-syntax-check-process):
23919 Obey `dir'. Simplify.
23921 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
23922 we're in VC after all.
23924 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
23926 * vc/vc.el (vc-diff-build-argument-list-internal)
23927 (vc-version-ediff, vc-ediff): New commands.
23928 (vc-version-diff): Use vc-diff-build-argument-list-internal.
23930 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
23932 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
23935 * obsolete/erc-hecomplete.el: Make obsolete.
23936 * obsolete/: Standardize obsolescence info in the header.
23938 2011-04-20 Glenn Morris <rgm@gnu.org>
23940 * calendar/solar.el (solar-horizontal-coordinates):
23941 Use the longitude argument rather than `calendar-longitude'.
23942 (solar-date-next-longitude): Remove unused locals.
23944 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
23946 * whitespace.el: New version 13.2.1.
23948 2011-04-20 felix <EmacsWiki> (tiny change)
23950 * whitespace.el (global-whitespace-mode): Keep highlight when
23951 switching between major modes on a file.
23953 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
23955 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
23956 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
23957 multi-line comments as well.
23959 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
23961 Lexical-binding cleanup.
23963 * arc-mode.el (archive-mode-revert):
23964 * cmuscheme.el (scheme-interactively-start-process):
23965 * custom.el (custom-initialize-delay):
23966 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
23967 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
23968 * emacs-lock.el (emacs-lock-clear-sentinel):
23969 * ezimage.el (defezimage):
23970 * follow.el (follow-avoid-tail-recenter):
23971 * fringe.el (set-fringe-mode-1):
23972 * generic-x.el (bat-generic-mode-compile):
23973 * help-mode.el (help-info-variable, help-do-xref)
23974 (help-mode-revert-buffer):
23975 * help.el (view-emacs-todo):
23976 * iswitchb.el (iswitchb-completion-help):
23977 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
23978 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
23979 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
23980 * locate.el (locate-update):
23981 * longlines.el (longlines-encode-region)
23982 (longlines-after-change-function):
23983 * outline.el (outline-isearch-open-invisible):
23984 * ps-def.el (declare-function, charset-dimension, char-width)
23986 * ps-mule.el (ps-mule-plot-string):
23987 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
23988 (recentf-edit-list-select, recentf-edit-list-validate)
23989 (recentf-open-files-action):
23990 * rect.el (delete-whitespace-rectangle-line)
23991 (rectangle-number-line-callback):
23992 * register.el (window-configuration-to-register)
23993 (frame-configuration-to-register):
23994 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
23995 * select.el (xselect-convert-to-string, xselect-convert-to-length)
23996 (xselect-convert-to-targets, xselect-convert-to-delete)
23997 (xselect-convert-to-filename, xselect-convert-to-charpos)
23998 (xselect-convert-to-lineno, xselect-convert-to-colno)
23999 (xselect-convert-to-os, xselect-convert-to-host)
24000 (xselect-convert-to-user, xselect-convert-to-class)
24001 (xselect-convert-to-name, xselect-convert-to-integer)
24002 (xselect-convert-to-atom, xselect-convert-to-identity):
24003 * subr.el (declare, ignore, process-kill-without-query)
24004 (text-clone-maintain):
24005 * terminal.el (te-get-char, te-tic-sentinel):
24006 * tool-bar.el (tool-bar-make-keymap):
24007 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
24008 * type-break.el (type-break-mode, type-break-noninteractive-query):
24009 * view.el (View-back-to-mark):
24010 * wid-browse.el (widget-browse-action, widget-browse-widget)
24011 (widget-browse-widgets, widget-browse-sexp):
24012 * widget.el (define-widget-keywords):
24013 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
24014 Mark unused parameters.
24016 * align.el (align-adjust-col-for-rule): Mark unused parameter.
24017 (align-areas): Remove unused variable `look'.
24018 (align-region): Remove unused variables `real-end' and `pos-list'.
24020 * apropos.el (apropos-score-doc): Remove unused variable `i'.
24022 * bindings.el (mode-line-modified, mode-line-remote):
24023 Mark unused parameters.
24024 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
24026 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
24027 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
24029 * comint.el (comint-history-isearch-pop-state)
24030 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
24031 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
24032 (comint-substitute-in-file-name): Doc fix.
24034 * completion.el (cmpl-statistics-block): Mark unused parameter.
24035 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
24036 (save-completions-to-file, load-completions-from-file):
24037 Remove unused local variable `e'.
24039 * composite.el (compose-chars): Remove unused variable `len'.
24040 (lgstring-insert-glyph): Remove unused variable `g'.
24041 (compose-glyph-string): Remove unused variables `ascent',
24042 `descent', `lbearing' and `rbearing'.
24043 (compose-glyph-string-relative): Remove unused variables
24044 `lbearing', `rbearing' and `wadjust'.
24045 (compose-gstring-for-graphic): Remove unused variables `header',
24046 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
24047 (compose-gstring-for-terminal): Remove unused variables `header'
24048 and `nchars'. Use `let', not `let*'.
24050 * cus-edit.el (Custom-set, Custom-save, custom-reset)
24051 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
24052 (Custom-buffer-done, custom-buffer-create-internal)
24053 (custom-browse-visibility-action, custom-browse-group-tag-action)
24054 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
24055 (widget-magic-mouse-down-action, custom-toggle-parent)
24056 (custom-add-parent-links, custom-toggle-hide-variable)
24057 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
24058 (custom-toggle-hide-face, face, hook, custom-group-link-action)
24059 (custom-face-menu-create, custom-variable-menu-create, get)
24060 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
24061 (custom-reset-standard-save-and-update): Remove unused variable `value'.
24062 (customize-apropos): Remove unused variable `tests'.
24063 (custom-group-value-create): Remove unused variable `hidden-p'.
24064 (sort-fold-case): Declare.
24066 * cus-theme.el (custom-reset-standard-faces-list)
24067 (custom-reset-standard-variables-list): Declare.
24068 (customize-create-theme, custom-theme-revert, custom-theme-write)
24069 (custom-theme-choose-mode, customize-themes, custom-theme-save):
24070 Mark unused parameters.
24072 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
24074 * delim-col.el (delimit-columns-max): Move defvar before first use.
24076 * descr-text.el (describe-char-categories): Don't quote `lambda'.
24077 (describe-char): Don't quote `lambda'. Mark unused parameter.
24079 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
24080 (auto-insert): Declare.
24081 (desktop-restore-file-buffer): Rename desktop-* parameters;
24083 (desktop-create-buffer): Rename desktop-* parameters and bind them.
24084 (desktop-buffer): Rename desktop-* parameters.
24086 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
24087 (dframe-reposition-frame-xemacs, dframe-help-echo)
24088 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
24089 Mark unused parameters.
24091 * dired-aux.el (backup-extract-version-start, overwrite-query)
24092 (overwrite-backup-query, rename-regexp-query)
24093 (rename-non-directory-query): Declare.
24094 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
24095 (dired-add-entry): Remove unused variable `orig-file-name'.
24096 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
24097 Use parameter PRESERVE-TIME instead of accessing dynamic variable
24098 `dired-copy-preserve-time' directly.
24099 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
24100 (dired-insert-subdir-newpos): Rename unused variable `pos'.
24102 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
24103 (dired-virtual-revert, dired-make-relative-symlink):
24104 Mark unused parameters.
24105 (manual-program): Declare.
24106 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
24107 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
24108 wrapped in `with-no-warnings' to avoid replacing one warning by another.
24110 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
24112 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
24114 * echistory.el (electric-history-in-progress, Helper-return-blurb):
24117 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
24119 * electric.el (Electric-command-loop): Rename parameter
24120 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
24122 * expand.el (expand-in-literal): Remove unused variable `here'.
24124 * facemenu.el (facemenu-add-new-color):
24125 Remove unused variable `docstring'.
24127 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
24128 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
24129 (face-attr-construct): Mark unused parameter. Doc fix.
24130 (read-color): Remove unused variable `hex-string'.
24132 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
24133 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
24134 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
24135 (display-buffer-other-frame): Remove unused variable `old-window'.
24136 (kill-buffer-hook): Declare.
24137 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
24138 Mark unused parameters.
24139 (after-find-file): Pass 1 to `auto-save-mode', not t.
24141 * files-x.el (auto-insert): Declare.
24142 (modify-file-local-variable-prop-line): Remove unused variable `val'.
24144 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
24145 variable `buf'. Mark unused parameter.
24146 (find-lisp-insert-directory): Mark unused parameter.
24148 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
24149 (format-encode-region): Remove unused variables `cur-buf' and `result'.
24150 (format-common-tail): Remove, unused.
24151 (format-deannotate-region): Remove unused variable `loc'.
24152 (format-annotate-region): Remove unused variable `p'.
24153 (format-annotate-single-property-change): Remove unused variables
24154 `default' and `tail'.
24156 * forms.el (read-file-filter): Declare.
24157 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
24159 * frame.el (frame-creation-function-alist): Mark unused parameter.
24160 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
24162 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
24163 Remove unused parameters.
24164 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
24165 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
24167 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
24168 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
24169 (hfy-prepare-tag-map): Mark unused parameters.
24170 (htmlfontify-buffer): Use `called-interactively-p'.
24172 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
24173 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
24174 (ibuffer-do-occur): Mark unused parameters.
24175 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
24176 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
24178 * ibuffer.el: Don't quote `lambda'.
24179 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
24180 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
24181 Mark unused parameters.
24183 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
24184 (ido-completing-read): Mark unused parameters.
24185 (ido-copy-current-word): Mark unused parameters;
24186 remove unused variable `name'.
24187 (ido-sort-merged-list): Remove unused parameter `dirs'.
24189 * ielm.el (ielm-input-sender): Mark unused parameter.
24190 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
24191 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
24192 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
24193 `ielm-string' as a dynamic variable accessible from the IELM prompt.
24194 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
24196 * image-dired.el (image-dired-display-thumbs): Remove unused
24197 variables `curr-file' and `count'.
24198 (image-dired-remove-tag): Remove unused variable `start'.
24199 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
24200 variable `curr-file'
24201 (image-dired-rotate-original): Remove unused variable `temp-file'.
24202 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
24203 Remove unused variable `file'.
24204 (image-dired-gallery-generate): Remove unused variable `curr'.
24205 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
24207 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
24209 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
24211 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
24213 * isearch.el (minibuffer-history-symbol): Declare.
24214 (isearch-edit-string): Remove unused variable `err'.
24215 (isearch-message-prefix, isearch-message-suffix):
24216 Mark unused parameters.
24218 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
24220 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
24222 * makesum.el (double-column): Remove unused variable `cnt'.
24224 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
24225 (ido-ignore-item-temp-list): Declare.
24227 * mouse-drag.el (mouse-drag-throw): Remove unused variables
24228 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
24229 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
24230 (mouse-drag-drag): Remove unused variables `mouse-delta' and
24233 * mouse-sel.el (mouse-extend-internal):
24234 Remove unused variable `orig-window-frame'.
24236 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
24237 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
24238 Move declarations before first use.
24239 (pcomplete-opt): Mark unused parameters; doc fix.
24241 * proced.el (proced-revert): Mark unused parameter.
24242 (proced-send-signal): Remove unused variable `err'.
24244 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
24245 Rename parameter PREFIX-ARG to ARG.
24246 (ps-basic-plot-string, ps-basic-plot-whitespace):
24247 Mark unused parameters.
24249 * replace.el (replace-count): Define.
24250 (occur-revert-function): Mark unused parameters.
24251 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
24252 (isearch-case-fold-search, isearch-string): Declare.
24253 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
24254 bind `case-fold-search'. Remove unused variables `beg' and `end',
24256 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
24257 COUNT and bind `replace-count'.
24258 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
24261 * savehist.el (print-readably, print-string-length): Declare.
24263 * shadowfile.el (shadow-expand-cluster-in-file-name):
24264 Remove unused variable `cluster'.
24265 (shadow-copy-file): Remove unused variable `i'.
24266 (shadow-noquery, shadow-clusters, shadow-site-cluster)
24267 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
24268 (shadow-define-literal-group, shadow-define-regexp-group)
24269 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
24271 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
24272 (shell): Use `called-interactively-p'.
24273 (shell-directory-tracker): Remove unused variable `chdir-failure'.
24275 * simple.el (compilation-context-lines, comint-file-name-quote-list)
24276 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
24277 (delete-backward-char): Remove unused variable `ocol'.
24278 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
24279 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
24280 (event-apply-hyper-modifier, event-apply-shift-modifier)
24281 (event-apply-control-modifier, event-apply-meta-modifier):
24282 Mark unused parameters.
24283 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
24284 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
24286 * speedbar.el (speedbar-ignored-directory-expressions)
24287 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
24288 (speedbar-find-file, speedbar-dir-follow)
24289 (speedbar-directory-buttons-follow, speedbar-tag-find)
24290 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
24291 (speedbar-buffers-line-directory, speedbar-buffer-click):
24292 Mark unused parameters.
24293 (speedbar-tag-file): Remove unused variable `mode'.
24294 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
24296 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
24298 * talk.el (talk): Remove unused variable `display'.
24300 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
24301 (tar-write-region-annotate): Mark unused parameter.
24303 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
24304 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
24305 Declare them, wrapped in `with-no-warnings' to avoid replacing one
24306 warning by another.
24308 * time-stamp.el (time-stamp-string-preprocess):
24309 Remove unused variable `require-padding'.
24311 * tree-widget.el (widget-glyph-enable): Declare.
24312 (tree-widget-action): Mark unused parameter.
24314 * w32-fns.el (x-get-selection): Mark unused parameter.
24315 (autoload-make-program, generated-autoload-file): Declare.
24317 * wdired.el (wdired-revert): Mark unused parameters.
24318 (wdired-xcase-word): Remove unused variable `err'.
24320 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
24321 (whitespace-help-scroll): Remove unused variable `data-help'.
24323 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
24324 (widget-image-insert, widget-after-change, default)
24325 (widget-default-format-handler, widget-default-notify)
24326 (widget-default-prompt-value, widget-info-link-action)
24327 (widget-url-link-action, widget-function-link-action)
24328 (widget-variable-link-action, widget-file-link-action)
24329 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
24330 (widget-field-prompt-internal, widget-field-action, widget-field-match)
24331 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
24332 (widget-insert-button-action, widget-delete-button-action, visibility)
24333 (widget-documentation-link-action, widget-documentation-string-action)
24334 (widget-const-prompt-value, widget-regexp-match, symbol)
24335 (widget-coding-system-prompt-value)
24336 (widget-key-sequence-value-to-external, sexp)
24337 (widget-sexp-value-to-internal, character, vector, cons)
24338 (widget-choice-prompt-value, widget-boolean-prompt-value)
24339 (widget-color--choose-action): Mark unused parameters.
24340 (widget-item-match-inline, widget-choice-match-inline)
24341 (widget-checklist-match, widget-checklist-match-inline)
24342 (widget-group-match): Rename parameter VALUES to VALS.
24343 (widget-field-value-set): Remove unused variable `size'.
24344 (widget-color-action): Remove unused variables `value' and `start'.
24346 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
24347 variable `dir'. Doc fix.
24348 (windmove-find-other-window): Don't pass it.
24350 * window.el (count-windows): Mark unused parameter.
24351 (bw-adjust-window): Remove unused variable `err'.
24353 * woman.el (woman-file-name): Remove unused variable `default'.
24354 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
24355 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
24356 (global-font-lock-mode): Declare.
24357 (woman-decode-region): Mark unused parameter.
24358 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
24360 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
24361 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
24362 (x-dnd-handle-moz-url): Remove unused variable `title'.
24363 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
24365 * xml.el (xml-parse-tag, xml-parse-attlist):
24366 Remove unused variable `pos'.
24368 2011-04-19 Glenn Morris <rgm@gnu.org>
24370 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
24371 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
24372 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
24373 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
24374 * calendar/cal-html.el (cal-html-insert-minical):
24375 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
24376 (calendar-mark-date-pattern):
24377 Prefix "unused" locals.
24379 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
24380 optional argument `style'.
24382 * calendar/appt.el (appt-make-list):
24383 * calendar/cal-china.el (calendar-chinese-date-string):
24384 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
24385 (diary-hebrew-yahrzeit):
24386 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
24387 * calendar/calendar.el (calendar-generate-window):
24388 * calendar/time-date.el (time-to-days):
24389 Remove unused local variables.
24391 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
24393 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
24394 glyphless-char-display table.
24395 (tabulated-list-glyphless-char-display): New var.
24397 2011-04-18 Sam Steingold <sds@gnu.org>
24399 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
24400 to acknowledgments.
24402 2011-04-17 Glenn Morris <rgm@gnu.org>
24404 * calendar/diary-lib.el (diary-sexp-entry):
24405 * calendar/holidays.el (holiday-sexp):
24406 Set debug-on-error rather than the removed stack-trace-on-error.
24408 2011-04-16 Glenn Morris <rgm@gnu.org>
24410 * progmodes/f90.el: Use lexical-binding.
24411 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
24413 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
24415 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
24416 (mail-mode): Setup mailalias completion here instead.
24417 * mail/mailalias.el: Use lexical-binding.
24418 (pattern, mailalias-done): Declare dynamic.
24419 (mail-completion-at-point-function): New function, from mail-complete.
24420 (mail-complete): Use it.
24421 (mail-completion-expand): New function.
24422 (mail-get-names): Use it.
24423 (mail-directory, mail-directory-process, mail-directory-stream):
24424 Don't use `pattern' for lexically bound arg.
24426 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
24428 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
24429 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
24430 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
24432 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
24433 (byte-save-window-excursion, byte-temp-output-buffer-setup)
24434 (byte-interactive-p): Define them again, for use when inlining
24437 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
24439 * loadup.el: Use `string-to-number', not `string-to-int'.
24441 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
24443 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
24444 gud-gdb-complete-command.
24445 (gud-gdb-completions): New function, from gud-gdb-complete-command.
24446 (gud-gdb-completion-at-point): New function.
24447 (gud-gdb-completions): Remove.
24449 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
24451 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
24452 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
24453 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
24454 whether `executable-find' is bound.
24456 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
24458 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
24460 * minibuffer.el (completion-in-region-mode-predicate)
24461 (completion-in-region-mode--predicate): New vars.
24462 (completion-in-region, completion-in-region--postch)
24463 (completion-in-region-mode): Use them.
24464 (completion--capf-wrapper): Also return the hook function.
24465 (completion-at-point, completion-help-at-point):
24466 Adjust and provide a predicate.
24468 Preserve arg names for advice of subr and lexical functions (bug#8457).
24469 * help-fns.el (help-function-arglist): Consolidate the subr and
24470 new-byte-code cases. Add argument `preserve-names' to extract names
24471 from the docstring when needed.
24472 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
24473 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
24474 (ad-arglist): Use help-function-arglist's new arg.
24475 (ad-definition-type): Use cond.
24477 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
24479 * autorevert.el (auto-revert-handler):
24480 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
24481 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
24482 Don't quote lambda.
24484 * image-mode.el (image-transform-set-scale):
24485 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
24487 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
24489 * net/network-stream.el (network-stream-open-starttls): Only do
24490 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
24491 Upgrades via gnutls-cli are too slow to be done opportunistically.
24493 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
24495 * dframe.el (dframe-current-frame): Remove spurious quote.
24497 2011-04-12 Glenn Morris <rgm@gnu.org>
24499 * calendar/cal-tex.el (cal-tex-end-document):
24500 Try to automatically use latin1 input if needed.
24502 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
24503 Don't try to cons a mark onto an empty element.
24505 2011-04-11 Leo Liu <sdl.web@gmail.com>
24507 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
24509 (ido-kill-buffer-at-head): Support killing virtual buffers.
24511 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
24513 * minibuffer.el (completion-show-inline-help): New var.
24514 (completion--do-completion, minibuffer-complete)
24515 (minibuffer-force-complete, minibuffer-complete-word):
24516 Inhibit minibuffer messages if completion-show-inline-help is nil.
24518 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
24519 to avoid interference from inline help (Bug#5849).
24521 2011-04-10 Leo Liu <sdl.web@gmail.com>
24523 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
24526 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
24528 * image-mode.el (image-toggle-display-image): Signal an error if
24530 (image-transform-mode, image-transform-resize)
24531 (image-transform-set-rotation): Doc fix.
24532 (image-transform-set-resize): Delete.
24533 (image-transform-set-scale, image-transform-fit-to-height)
24534 (image-transform-fit-to-width): Handle image-toggle-display-image
24535 and image-transform-resize directly.
24537 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
24539 * doc-view.el (doc-view-fit-width-to-window)
24540 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
24541 New functions for fitting the shown image to the Emacs window size.
24542 (doc-view-mode-map): Add bindings for the new functions.
24544 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
24546 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
24547 Fix typo in docstring.
24549 2011-04-08 Eli Zaretskii <eliz@gnu.org>
24551 * files.el (file-size-human-readable): Produce one digit after
24552 decimal, like "ls -lh" does.
24554 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
24555 the file size representation.
24557 * simple.el (list-processes): If async subprocesses are not
24558 available, error out with a clear error message.
24560 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
24562 * help.el (help-form-show): New function, to be called from C.
24563 Put help-form output in a buffer named differently than *Help*.
24565 2011-04-08 Eli Zaretskii <eliz@gnu.org>
24567 * files.el (file-size-human-readable): New function.
24569 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
24570 computing the representation inline. Don't require `cl'.
24572 2011-04-08 Glenn Morris <rgm@gnu.org>
24574 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
24576 * net/browse-url.el (browse-url-firefox):
24577 Test system-type, not system-configuration.
24579 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
24580 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
24581 Use log-edit-empty-buffer-p. (Bug#7598)
24583 * net/rlogin.el (rlogin-process-connection-type): Simplify.
24584 (rlogin-mode-map): Initialize in the defvar.
24585 (rlogin): Use ignore-errors.
24587 * replace.el (occur-mode-map): Some fixes for menu items.
24589 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
24591 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
24593 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
24595 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
24596 issuing unused warnings.
24598 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
24601 * simple.el: Lisp reimplement of list-processes. Based on an
24602 earlier reimplementation by Leo Liu, but using tabulated-list.el.
24603 (process-menu-mode): New major mode.
24604 (list-processes--refresh, list-processes):
24605 (process-menu-visit-buffer): New functions.
24607 * files.el (save-buffers-kill-emacs): Don't assume any return
24608 value of list-processes, which is undocumented anyway.
24610 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
24612 * emacs-lisp/tabulated-list.el: New file.
24614 * emacs-lisp/package.el: Use Tabulated List mode.
24615 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
24616 (package-menu-mode): Derive from tabulated-list-mode. Set up the
24617 table format using Tabulated List mode variables.
24618 (package--push): New macro, replacing package-list-maybe-add.
24619 (package-menu--generate): Use package--push. Renamed from
24620 package--generate-package-list.
24621 (package-menu-refresh, list-packages): Use it.
24622 (package-menu--print-info): Rename from package-print-package.
24623 Return insertion data instead of inserting it directly.
24624 (package-menu-describe-package, package-menu-execute):
24625 Use tabulated-list-get-id.
24626 (package-menu-mark-delete, package-menu-mark-install)
24627 (package-menu-mark-unmark, package-menu-backup-unmark)
24628 (package-menu-mark-obsolete-for-deletion):
24629 Use tabulated-list-put-tag.
24630 (package--list-packages, package-menu-revert)
24631 (package-menu-get-package, package-menu-get-version)
24632 (package-menu-sort-by-column): Functions deleted.
24633 (package-menu-package-list, package-menu-sort-key): Vars deleted.
24634 (package-menu--status-predicate, package-menu--version-predicate)
24635 (package-menu--name-predicate)
24636 (package-menu--description-predicate): Handle arguments in the
24637 Tabulated List format.
24638 (package-list-packages-no-fetch): Call list-packages.
24640 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
24642 * files.el (after-find-file-from-revert-buffer): Remove variable.
24643 (after-find-file): Don't bind it.
24644 (revert-buffer-in-progress-p): New variable.
24645 (revert-buffer): Bind it.
24646 Pass nil for `after-find-file-from-revert-buffer'.
24648 * saveplace.el (save-place-find-file-hook): Use new variable
24649 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
24651 2011-04-06 Glenn Morris <rgm@gnu.org>
24653 * Makefile.in (AUTOGEN_VCS): New variable.
24654 (autoloads): Use $AUTOGEN_VCS.
24656 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
24657 * calendar/calendar.el (calendar-mode-map):
24658 Check for toolkit scroll bars. (Bug#8305)
24660 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
24662 * minibuffer.el (completion-in-region--postch)
24663 (completion-in-region-mode): Remove unnecessary messages.
24665 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
24667 * font-lock.el (font-lock-refresh-defaults):
24668 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
24669 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
24671 * info.el (Info-directory-list, Info-read-node-name-2)
24672 (Info-split-parameter-string): Doc fixes.
24673 (Info-virtual-nodes): Reflow docstring.
24674 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
24675 (Info-apropos-toc-nodes, info-finder, Info-get-token)
24676 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
24677 Fix typos in docstrings.
24678 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
24679 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
24680 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
24681 (Info-restore-desktop-buffer): Mark unused parameters.
24682 (Info-directory-find-file, Info-directory-find-node)
24683 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
24684 (Info-virtual-index-find-node, Info-apropos-find-file)
24685 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
24686 Mark unused parameters; fix typos in docstrings.
24687 (Info-virtual-index): Remove unused local variable `nodename'.
24689 2011-04-05 Deniz Dogan <deniz@dogan.se>
24691 * net/rcirc.el: Update my e-mail address.
24692 (rcirc-mode-map): Remove M-o binding.
24694 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
24696 * startup.el (command-line): Save the cursor's theme-face
24697 directly, instead of using face-override-spec.
24699 * custom.el (load-theme): Minor optimization in assigning faces.
24701 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
24703 * help-fns.el (describe-variable): Complete all variables having
24704 documentation, including keywords.
24705 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
24707 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
24709 Convert to lexical-binding.
24711 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
24712 (bs--get-marked-string, bs--get-modified-string)
24713 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
24714 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
24715 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
24717 * ehelp.el (electric-help-execute-extended)
24718 (electric-help-ctrl-x-prefix):
24719 * hexl.el (hexl-revert-buffer-function):
24720 * linum.el (linum-after-change, linum-after-scroll):
24721 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
24723 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
24725 2011-04-04 Daiki Ueno <ueno@unixuser.org>
24732 * epg.el: Use lexical binding.
24734 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
24736 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
24738 * textmodes/flyspell.el (flyspell-word): Recognize default
24739 dictionary case for flyspell-mark-duplications-exceptions.
24740 Use regexp matching for languages.
24741 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
24742 default dictionary (Bug#7926).
24744 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
24746 * emacs-lisp/package.el (package--with-work-buffer):
24747 Recognize https URLs.
24749 * net/network-stream.el: Move from gnus/proto-stream.el.
24750 Change prefix to network-stream throughout.
24751 (open-protocol-stream): Merge into open-network-stream, leaving
24752 open-protocol-stream as an alias. Handle nil BUFFER args.
24754 * subr.el (open-network-stream): Move to net/network-stream.el.
24756 2011-04-02 Glenn Morris <rgm@gnu.org>
24758 * find-dired.el (find-exec-terminator): New option.
24759 (find-ls-option): Test for -ls support.
24760 (find-ls-subdir-switches): Test for -b in find-ls-option.
24761 (find-dired, find-grep-dired): Doc fixes.
24762 (find-dired): Use find-exec-terminator.
24764 * find-dired.el (find-ls-option, find-ls-subdir-switches)
24765 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
24766 (find-name-arg): Remove purecopy.
24768 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
24769 (grep-compute-defaults): Check for `-exec COMMAND +' support.
24770 Set grep-find-use-xargs, grep-find-command, and grep-find-template
24771 accordingly. Don't add the null-device if not needed.
24773 * files.el (save-some-buffers): Doc fix.
24775 2011-04-02 Eli Zaretskii <eliz@gnu.org>
24777 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
24779 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
24781 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
24782 Use `dolist' rather than `mapcar'.
24784 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
24786 Add lexical binding.
24788 * subr.el (apply-partially): Use new closures rather than CL.
24789 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
24790 (dolist, dotimes): Use slightly different expansion for lexical code.
24791 (functionp): Move to C.
24792 (letrec): New macro.
24793 (with-wrapper-hook): Use it and apply-partially instead of CL.
24794 (eval-after-load): Preserve lexical-binding.
24795 (save-window-excursion, with-output-to-temp-buffer): Turn them
24798 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
24800 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
24802 (help-add-fundoc-usage): Don't add `Not documented'.
24803 (help-function-arglist): Handle closures, subroutines, and new
24804 byte-code-functions.
24805 (help-make-usage): Remove leading underscores.
24806 (describe-function-1): Handle closures.
24807 (describe-variable): Use special-variable-p for completion.
24809 * files.el (lexical-binding): Declare safe.
24811 * emacs-lisp/pcase.el: Don't use destructuring-bind.
24812 (pcase--memoize): Rename from pcase-memoize. Change weakness.
24813 (pcase): Add `let' pattern.
24814 Change memoization so it actually works.
24815 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
24816 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
24819 * emacs-lisp/macroexp.el: Use lexical binding.
24820 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
24821 Don't convert ' to #' without checking that it's indeed quoting
24824 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
24825 Use eval-sexp-add-defvars.
24826 (eval-sexp-add-defvars): New fun.
24828 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
24830 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
24832 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
24833 than the internal `byte-compile-lambda'.
24834 (defmethod): Don't hide code under quotes.
24835 (eieio-defmethod): New `code' argument.
24837 * emacs-lisp/eieio-comp.el: Remove.
24839 * emacs-lisp/edebug.el (edebug-eval-defun)
24840 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
24841 (edebug-toggle): Avoid `eval'.
24843 * emacs-lisp/disass.el (disassemble-internal): Handle new
24845 (disassemble-1): Handle new byte codes.
24847 * emacs-lisp/cl.el (pushnew): Silence warning.
24849 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
24850 (cl-byte-compile-throw): Remove.
24851 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
24853 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
24856 * emacs-lisp/cconv.el: New file.
24858 * emacs-lisp/bytecomp.el: Use lexical binding instead of
24859 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
24860 (byte-compile-initial-macro-environment):
24861 Handle declare-function here.
24862 (byte-compile--lexical-environment): New var.
24863 (byte-stack-ref, byte-stack-set, byte-discardN)
24864 (byte-discardN-preserve-tos): New lap codes.
24865 (byte-interactive-p): Don't use any more.
24866 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
24868 (byte-compile-lapcode): Use them and handle new lap codes.
24869 (byte-compile-obsolete): Remove.
24870 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
24871 (byte-compile-arglist-warn): Check late def of inlinable funs.
24872 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
24873 since they should have been expanded by now.
24874 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
24875 (byte-compile-from-buffer): Remove unused second arg.
24876 (byte-compile-preprocess): New function.
24877 (byte-compile-toplevel-file-form): New function to distinguish
24878 file-form calls from outside from file-form calls from hunk-handlers.
24879 (byte-compile-file-form): Simplify.
24880 (byte-compile-file-form-defsubst): Remove.
24881 (byte-compile-file-form-defmumble): Simplify now that
24882 byte-compile-lambda always returns a byte-code-function.
24883 (byte-compile): Preprocess.
24884 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
24885 Remove, not used any more.
24886 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
24887 (byte-compile-make-args-desc): New funs.
24888 (byte-compile-lambda): Handle lexical functions. Always return
24889 a byte-code-function.
24890 (byte-compile-reserved-constants): New var, to make up room for
24891 closed-over variables.
24892 (byte-compile-constants-vector): Obey it.
24893 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
24894 (byte-compile-macroexpand-declare-function): New function.
24895 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
24896 byte-code-functions.
24897 (byte-compile-form): Check obsolescence here.
24898 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
24899 (byte-compile-variable-ref): Remove.
24900 (byte-compile-dynamic-variable-op): New fun.
24901 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
24902 (byte-compile-variable-set): New funs.
24903 (byte-compile-discard): Add 2 args.
24904 (byte-compile-stack-ref, byte-compile-stack-set)
24905 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
24906 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
24907 macroexpand-all instead.
24908 (byte-compile-quote-form): Remove.
24909 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
24910 (byte-compile-bind, byte-compile-unbind): New funs.
24911 (byte-compile-let): Handle let* and lexical binding.
24912 (byte-compile-let*): Remove.
24913 (byte-compile-catch, byte-compile-unwind-protect)
24914 (byte-compile-track-mouse, byte-compile-condition-case):
24915 Handle a new :fun-body form, used for lexical scoping.
24916 (byte-compile-save-window-excursion)
24917 (byte-compile-with-output-to-temp-buffer): Remove.
24918 (byte-compile-defun): Simplify.
24919 (byte-compile-stack-adjustment): New fun.
24920 (byte-compile-out): Use it.
24921 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
24923 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
24926 * emacs-lisp/byte-opt.el: Use lexical binding.
24927 (byte-inline-lapcode): Remove (to bytecomp).
24928 (byte-compile-inline-expand): Pay attention to inlining to/from
24929 lexically bound code.
24930 (byte-compile-unfold-lambda): Don't handle byte-code-functions
24932 (byte-optimize-form-code-walker): Don't handle save-window-excursion
24933 any more and don't call compiler-macros.
24934 (byte-compile-splice-in-already-compiled-code): Remove.
24935 (byte-code): Don't inline any more.
24936 (disassemble-offset): Receive `bytes' as argument rather than via
24938 (byte-compile-tag-number): Declare before first use.
24939 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
24940 `return' even if make-spliceable.
24941 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
24942 obsolete interactive-p.
24943 (byte-optimize-lapcode): Optimize new lap-codes.
24944 Don't trip up on new form of `byte-constant' lap code.
24946 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
24948 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
24950 * custom.el (custom-initialize-default, custom-declare-variable):
24953 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
24955 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
24956 (COMPILE_FIRST): Add macroexp and cconv.
24957 * makefile.w32-in: Mirror changes in Makefile.in.
24959 * vc/cvs-status.el:
24963 * vc/smerge-mode.el:
24964 * textmodes/bibtex-style.el:
24965 * textmodes/css-mode.el:
24973 * emacs-lisp/smie.el:
24976 * abbrev.el: Use lexical binding.
24978 2011-04-01 Eli Zaretskii <eliz@gnu.org>
24980 * info.el (info-display-manual): New function.
24982 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
24984 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
24986 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
24988 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
24989 an entry for that server in rcirc-authinfo. (Bug#8385)
24991 2011-03-31 Glenn Morris <rgm@gnu.org>
24993 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
24995 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
24997 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
24999 * progmodes/python.el (python-default-interpreter)
25000 (python-python-command-args, python-jython-command-args)
25001 (python-which-shell, python-which-args, python-which-bufname)
25002 (python-file-queue, python-comint-output-filter-function)
25003 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
25004 variables and functions.
25006 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
25008 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
25009 (completion-in-region-mode): New minor mode.
25010 (completion-in-region): Use it.
25011 (completion-in-region--data, completion-in-region-mode-map): New vars.
25012 (completion-in-region--postch): New function.
25013 (completion--capf-misbehave-funs, completion--capf-safe-funs):
25015 (completion--capf-wrapper): New function.
25016 (completion-at-point): Use it to track well-behavedness of
25018 (completion-help-at-point): New command.
25020 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
25022 * vc/add-log.el (add-change-log-entry): Don't use whitespace
25023 syntax class to search for whitespace on a single line
25024 (Message-ID: <4D938140.4030905@redhat.com>).
25026 2011-03-30 Leo Liu <sdl.web@gmail.com>
25028 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
25030 (edit-abbrevs-map): Bind them here.
25031 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
25033 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
25035 * allout.el (allout-hide-by-annotation, allout-flag-region):
25036 Reduce possibility of overlay leakage by making them volatile.
25038 * allout-widgets.el (allout-widgets-tally): Define as nil so the
25039 hash is not shared between buffers. Mode initialization is
25040 responsible for giving it a useful starting value.
25041 (allout-item-span): Reduce possibility of overlay leakage by
25042 making them volatile.
25043 (allout-widgets-count-buttons-in-region): Add diagnostic function
25044 for tracking down button overlay leaks.
25046 2011-03-29 Leo Liu <sdl.web@gmail.com>
25048 * ido.el (ido-read-internal): Use the default history var
25049 minibuffer-history if no HISTORY is specified.
25051 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
25053 * net/imap.el (imap-shell-open, imap-process-connection-type):
25054 Use imap-process-connection-type for 'shell' streams as well as
25055 Kerberos, SSL, other subprocesses.
25057 2011-03-28 Leo Liu <sdl.web@gmail.com>
25059 * abbrev.el (abbrev-table-empty-p): New function.
25060 (prepare-abbrev-list-buffer): Place empty abbrev tables after
25061 nonempty ones. (Bug#5937)
25063 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
25065 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
25067 2011-03-27 Leo Liu <sdl.web@gmail.com>
25069 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
25070 for foreground and background colors.
25071 (ansi-color-make-color-map): Adapt.
25073 2011-03-25 Leo Liu <sdl.web@gmail.com>
25075 * midnight.el (midnight-time-float): Remove. Note it calculates
25076 the microsecond component incorrectly and seconds-to-time does the
25078 Remove redundant (require 'timer).
25080 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
25081 (ido-completions): Remove unused arguments. (Bug#8329)
25083 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
25085 * minibuffer.el (completion--flush-all-sorted-completions):
25086 Remove itself from hook.
25087 (completion-at-point): Let the functions perform the completion
25088 immediately and return nil or t.
25089 * comint.el (comint-dynamic-complete-functions): Now identical to
25090 completion-at-point-functions.
25091 (comint-dynamic-list-input-ring): Remove unused var `index'.
25092 (comint--match-partial-filename, comint--unquote&expand-filename):
25093 New funs, split from comint-match-partial-filename.
25094 (comint-dynamic-complete): Use completion-at-point.
25095 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
25097 2011-03-24 Drew Adams <drew.adams@oracle.com>
25099 * thingatpt.el: Support `defun'.
25101 2011-03-23 Leo Liu <sdl.web@gmail.com>
25103 * abbrevlist.el: Move to obsolete/abbrevlist.el.
25105 * help-mode.el (help-mode-finish): Tweak regexp.
25107 2011-03-23 Glenn Morris <rgm@gnu.org>
25109 * eshell/esh-opt.el (eshell-eval-using-options):
25110 Do not bind unused local variable `eshell-option-stub'.
25112 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
25114 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
25116 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
25117 keymap variable in `with-no-warnings' to avoid a warning when the
25118 keymap has been already `defconst'ed.
25120 2011-03-22 Leo Liu <sdl.web@gmail.com>
25122 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
25123 encode all chars in abbrevs; otherwise use emacs-mule or
25124 utf-8-emacs. (Bug#8308)
25126 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
25128 * simple.el (backward-delete-char-untabify):
25129 Avoid warning about using `delete-backward-char'.
25131 * image.el (image-type-file-name-regexps): Make it variable.
25132 `imagemagick-register-types' modifies it, and the user may want
25133 to add new extensions for known image types.
25134 (imagemagick-register-types): Throw error if not using ImageMagick.
25136 2011-03-22 Leo Liu <sdl.web@gmail.com>
25138 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
25139 located before rcirc-prompt-end-marker.
25140 (rcirc-complete): Error if point is not after rcirc prompt.
25141 Handle the case when table is nil.
25142 (rcirc-user-authenticated): Define to fix compiler warning.
25144 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
25146 * custom.el (custom--inhibit-theme-enable): Make it affect only
25147 custom-theme-set-variables and custom-theme-set-faces.
25148 (provide-theme): Ignore custom--inhibit-theme-enable.
25149 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
25150 (custom-enabling-themes): Delete variable.
25151 (enable-theme): Accept only loaded themes as arguments.
25152 Ignore the special custom-enabled-themes variable.
25153 (custom-enabled-themes): Forbid themes from setting this.
25154 Eliminate use of custom-enabling-themes.
25155 (custom-push-theme): Quote "changed" custom var entry.
25157 2011-03-21 Leo Liu <sdl.web@gmail.com>
25159 * ido.el (ido-read-internal): Add ido-selected to history instead
25162 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
25164 * subr.el (deferred-action-list, deferred-action-function):
25167 2011-03-21 Leo Liu <sdl.web@gmail.com>
25169 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
25170 change on 2011-02-13 (bug#8309).
25172 * minibuffer.el (read-file-name-function): Change default value.
25173 (read-file-name--defaults): Rename from read-file-name-defaults.
25174 (read-file-name-default): Rename from read-file-name.
25175 (read-file-name): Call read-file-name-function.
25177 2011-03-21 Glenn Morris <rgm@gnu.org>
25179 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
25182 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
25184 * cus-theme.el: Add missing provide statement.
25185 (customize-create-theme): Extract theme value correctly.
25186 (custom-theme-visit-theme): Autoload.
25187 (customize-create-theme): Prompt before inserting default faces.
25189 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
25191 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
25192 units and musical notes.
25194 2011-03-20 Leo Liu <sdl.web@gmail.com>
25196 * ido.el (ido-read-internal): Use completing-read-default.
25197 (ido-completing-read): Fix compatibility with completing-read.
25199 2011-03-20 Christian Ohler <ohler@gnu.org>
25201 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
25202 (ert-delete-all-tests): Use `called-interactively-p' rather than
25204 (ert--make-xrefs-region): Respect END.
25206 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
25208 * dired-aux.el (dired-create-directory): Signal an error if the
25209 directory already exists (Bug#8246).
25211 * facemenu.el (list-colors-display): Call list-faces-display
25212 inside with-help-window.
25213 (list-colors-print): Use display property to align the final
25214 column, instead of checking window-width.
25216 2011-03-19 Eli Zaretskii <eliz@gnu.org>
25218 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
25219 windows-nt systems.
25220 (emerge-protect-metachars): Quote correctly for ms-dos and
25221 windows-nt systems.
25223 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
25225 * info.el (info-initialize): Replace all uses of `:' with
25226 path-separator for compatibility with non-Unix systems.
25227 Cache quoting of path-separator. (Bug#8258)
25229 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
25231 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
25232 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
25233 (mouse-avoidance-mode): Fix typos in docstrings.
25235 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
25237 * startup.el (package-subdirectory-regexp): Move from package.el.
25238 Omit \\` and \\', and let callers add them.
25240 * emacs-lisp/package.el (package-strip-version)
25241 (package-load-all-descriptors): Add \\` and \\' to
25242 package-subdirectory-regexp before using it.
25243 (package-untar-buffer): New arg DIR; ensure that file untars only
25244 into this expected directory. Remove superfluous delete-region.
25245 (package-unpack): Caller changed.
25246 (package-tar-file-info): Use package-subdirectory-regexp.
25248 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
25250 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
25251 diff-mode-shared-map (bug#8284).
25252 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
25254 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
25256 * calendar/time-date.el (format-seconds): Use assoc instead of
25257 assoc-string, since assoc-string doesn't exist in XEmacs.
25259 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
25261 * custom.el (custom-known-themes): Reflow docstring.
25262 (custom-theme-load-path): Fix typo in docstring.
25263 (load-theme): Fix typo in error message.
25264 (custom-available-themes, custom-variable-theme-value):
25265 Use `let', not `let*'.
25267 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
25269 * calc/README: Mention inclusion of musical notes.
25271 * calc/calc-units.el (calc-lu-quant): Rename from
25272 `calc-logunits-quantity'.
25273 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
25274 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
25275 (calc-db): Rename from `calc-dblevel'.
25276 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
25277 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
25278 (calc-np): Rename from `calc-nplevel'.
25279 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
25280 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
25281 (calc-lu-plus): Rename from `calc-logunits-add'.
25282 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
25283 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
25284 (calc-lu-minus): Rename from `calc-logunits-sub'.
25285 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
25286 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
25287 (calc-lu-times): Rename from `calc-logunits-mul'.
25288 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
25289 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
25290 (calc-lu-divide): Rename from `calc-logunits-div'.
25291 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
25292 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
25294 * calc/calc-ext.el (calc-init-extensions): Update the names of the
25295 functions being autoloaded.
25297 * calc/calc.el (calc-lu-power-reference): Rename from
25298 `calc-logunits-power-reference'.
25299 (calc-lu-field-reference): Rename from
25300 `calc-logunits-field-reference'.
25302 * calc/calc-help.el (calc-l-prefix-help):
25303 Mention musical note functions.
25305 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
25307 * minibuffer.el (completion-all-sorted-completions):
25308 Use :completion-cycle-penalty text property if present.
25310 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
25312 * allout.el (allout-yank-processing): Adjust for new rebulleting
25313 regime so bullet being yanked is used without prompting the user
25316 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
25318 * startup.el (command-line): Warn the user that _emacs is deprecated.
25320 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
25322 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
25323 (delphi-verbose, delphi-comment-face, delphi-string-face)
25324 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
25325 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
25326 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
25327 (delphi-new-comment-line, delphi-font-lock-defaults)
25328 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
25329 Fix typos in docstrings.
25331 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
25333 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
25334 Invert the roles of character and string values for INSTEAD, so a
25335 string is used for the more common case of a defaulting prompt.
25337 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
25339 * progmodes/ruby-mode.el (ruby-backward-sexp):
25340 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
25341 * play/gamegrid.el (gamegrid-make-face):
25342 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
25343 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
25344 * notifications.el (notifications-notify):
25345 * net/xesam.el (xesam-search-engines):
25346 * net/quickurl.el (quickurl-list-insert):
25347 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
25349 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
25351 * startup.el (command-line): Update package subdirectory regexp.
25353 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
25355 * allout.el (allout-abbreviate-flattened-numbering)
25356 (allout-mode-deactivate-hook): Fix up obsolescence "date".
25358 * subr.el (read-char-choice): Only show the cursor after the prompt,
25359 not after the answer.
25361 2011-03-15 Kevin Ryde <user42@zip.com.au>
25363 * help-fns.el (variable-at-point): Skip leading quotes, if any
25366 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
25368 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
25371 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
25373 * shell.el (shell): When called interactively, offer to change the
25374 shell file name on remote hosts.
25376 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
25378 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
25379 integration for LDAP parameters. The host, base, user or binddn,
25380 and secret tokens can be specified in a netrc file, for instance.
25381 This is optional because an `auth-source' parameter must be
25382 specified in the search attributes.
25384 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
25386 * help.el (describe-mode): Link to the mode's definition (bug#8185).
25388 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
25390 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
25391 into declaration. Remove redundant and harmful binding.
25393 2011-03-12 Eli Zaretskii <eliz@gnu.org>
25395 * files.el (file-ownership-preserved-p): Pass `integer' as an
25396 explicit 2nd argument to `file-attributes'. If the file's owner
25397 is the Administrators group on Windows, and the current user is
25398 Administrator, consider that a match.
25400 * server.el (server-ensure-safe-dir): Consider server directory
25401 safe on MS-Windows if its owner is the Administrators group while
25402 the current Emacs user is Administrator. Use `=' to compare
25403 numerical UIDs, since they could be integers or floats.
25405 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
25407 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
25409 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
25411 Sync with Tramp 2.2.1.
25413 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
25415 * net/trampver.el: Update release number.
25417 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
25419 * progmodes/compile.el (compilation--previous-directory): Fix up
25420 various nil/dead-marker mismatches (bug#8014).
25421 (compilation-directory-properties, compilation-error-properties):
25422 Don't call it at a position past the one we're about to change.
25424 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
25425 Disable obsolescence warnings in the file that declares it.
25427 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
25429 * allout-widgets.el (allout-widgets-tally):
25430 Initialize allout-widgets-tally as a hash table rather than nil to
25431 prevent mode-line redisplay warnings. Also, clarify the module
25432 description and fix a comment typo.
25434 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
25436 * help-fns.el (describe-variable): Don't complete keywords.
25437 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
25439 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
25441 * emacs-lisp/package.el (package-version-join): Impose a standard
25442 string representation for pre/alpha/beta version lists.
25443 (package-unpack-single): Standardize the directory name by passing
25444 it through package-version-join.
25445 (package-strip-rcs-id): Accept any version string that does not
25446 signal an error in version-to-list.
25448 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
25450 * simple.el (delete-trailing-whitespace): Return nil for the
25451 benefit of `write-file-functions'.
25453 2011-03-10 Glenn Morris <rgm@gnu.org>
25455 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
25457 * vc/vc-git.el (vc-git-program): New option.
25458 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
25459 (vc-git--call): Use it.
25461 * eshell/esh-util.el (eshell-condition-case): Doc fix.
25463 * cus-edit.el (Custom-newline): If no button at point, look
25464 for a subgroup button at start-of-line. (Bug#2298)
25466 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
25468 2011-03-10 Julien Danjou <julien@danjou.info>
25470 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
25471 `cursor-type' is nil.
25473 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
25475 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
25477 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
25479 * allout.el: Change so yank of distinctive-bullet items
25480 preserves the existing header prefix, rebulleting it if necessary,
25481 rather than replacing it. This is necessary for proper operation
25482 of cooperative addons like allout-widgets.
25483 (allout-make-topic-prefix, allout-rebullet-heading):
25484 Change SOLICIT arg to INSTEAD, and interpret additionally a string
25485 value as alternate bullet to be used, instead of prompting the user
25486 for a bullet character.
25488 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
25490 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
25491 Do not use `tramp-file-name-port', because this returns also
25492 `tramp-default-port'.
25494 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
25496 * net/rcirc.el (rcirc-handler-001): Remove useless
25497 with-rcirc-process-buffer.
25498 (rcirc-check-auth-status): Swap arguments to string-match.
25500 2011-03-09 Glenn Morris <rgm@gnu.org>
25502 * shell.el (shell-mode):
25503 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
25505 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
25506 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
25508 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
25510 * emacs-lisp/package.el (package-refresh-contents)
25511 (package-menu-execute): Use condition-case-no-debug.
25513 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
25515 * simple.el (shell-command-to-string): Use `process-file'.
25517 * emacs-lisp/package.el (package-tar-file-info): Handle also
25520 * emacs-lisp/package-x.el (package-upload-buffer-internal):
25521 Use `equal' for upload base check.
25523 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
25525 * textmodes/texinfo.el (texinfo-environments):
25526 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
25528 2011-03-08 Glenn Morris <rgm@gnu.org>
25530 * cus-start.el (cursor-in-non-selected-windows):
25531 Fix :set quoting oddness. (Bug#8192)
25533 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
25534 in some setf expressions. (Bug#2159)
25536 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
25538 * custom.el (custom-available-themes): Return themes in
25539 alphabetical order.
25541 See ChangeLog.15 for earlier changes.
25543 ;; Local Variables:
25547 Copyright (C) 2011-2013 Free Software Foundation, Inc.
25549 This file is part of GNU Emacs.
25551 GNU Emacs is free software: you can redistribute it and/or modify
25552 it under the terms of the GNU General Public License as published by
25553 the Free Software Foundation, either version 3 of the License, or
25554 (at your option) any later version.
25556 GNU Emacs is distributed in the hope that it will be useful,
25557 but WITHOUT ANY WARRANTY; without even the implied warranty of
25558 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
25559 GNU General Public License for more details.
25561 You should have received a copy of the GNU General Public License
25562 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.