1 2013-03-14 Tassilo Horn <tsdh@gnu.org>
3 * doc-view.el Fix bug#13887.
4 (doc-view-insert-image): Don't modify overlay associated to
5 non-live windows, and implement horizontal centering of image in
6 case it's smaller than the window.
7 (doc-view-new-window-function): Force redisplay of new windows on
10 2013-03-13 Karl Fogel <kfogel@red-bean.com>
12 * saveplace.el (save-place-alist-to-file): Don't sort
13 `save-place-alist', just pretty-print it (bug#13882).
15 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
17 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Check,
18 whether `default-file-name-coding-system' is bound. It isn't in
21 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
23 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
24 backquotes for `obsolete' (bug#13929).
26 * international/mule.el (find-auto-coding): Include file name in
27 obsolescence warning (bug#13922).
29 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
31 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
32 for CFEngine 3-specific indentation.
33 (cfengine3-indent-line): Use it. Fix up category regex.
34 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
36 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
38 * type-break.el (type-break-file-name):
39 * textmodes/remember.el (remember-data-file):
40 * strokes.el (strokes-file):
41 * shadowfile.el (shadow-initialize):
42 * saveplace.el (save-place-file):
43 * ps-bdf.el (bdf-cache-file):
44 * progmodes/idlwave.el (idlwave-config-directory):
45 * net/quickurl.el (quickurl-url-file):
46 * international/kkc.el (kkc-init-file-name):
47 * ido.el (ido-save-directory-list-file):
48 * emulation/viper.el (viper-custom-file-name):
49 * emulation/vip.el (vip-startup-file):
50 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
51 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
53 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
55 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
56 * language/thai-word.el: Switch to UTF-8.
58 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
60 * recentf.el (recentf-save-file): Use locate-user-emacs-file (bug#13870).
62 2013-03-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
64 * net/net-utils.el (net-utils-remove-ctrl-m-filter):
65 Use with-current-buffer and don't move point.
66 (net-utils-run-simple): Remove useless code.
67 (net-utils-remove-ctl-m): Remove unused custom.
69 2013-03-11 Per Starbäck <starback@stp.lingfil.uu.se>
71 * international/characters.el (glyphless-set-char-table-range): New fun.
72 (update-glyphless-char-display): Use it (bug#13744).
74 2013-03-11 Teodor Zlatanov <tzz@lifelogs.com>
76 * progmodes/cfengine.el: Update for CFEngine 3.4.2 and higher:
77 namespaces in the syntax, indent closer for hanging brace
78 correctly, allow single-quote delimited 'strings', and make
79 `cfengine3-mode' the default.
81 2013-03-11 Jean-Philippe Gravel <jpgravel@gmail.com>
83 * progmodes/gdb-mi.el: Speed up initialization (bug#10580).
84 Use lexical-binding. Fix up docstring according to conventions.
85 (gdbmi-debug-mode): New var.
86 (gdbmi-start-with, gdbmi-same-start, gdbmi-is-number, gdbmi-bnf-init)
87 (gdbmi-bnf-output, gdbmi-bnf-skip-unrecognized, gdbmi-bnf-gdb-prompt)
88 (gdbmi-bnf-result-record, gdbmi-bnf-out-of-band-record)
89 (gdbmi-bnf-async-record, gdbmi-bnf-stream-record)
90 (gdbmi-bnf-console-stream-output, gdbmi-bnf-target-stream-output)
91 (gdbmi-bnf-log-stream-output, gdbmi-bnf-result-and-async-record-impl)
92 (gdbmi-bnf-incomplete-record-result): New functions.
93 (gdb-car<): Remove function.
94 (gdbmi-record-list): Remove variable.
95 (gdbmi-bnf-state, gdbmi-bnf-offset): New vars.
96 (gdbmi-bnf-result-state-configs): New const.
97 (gud-gdbmi-marker-filter): Rewrite.
98 (gdb-ignored-notification, gdb-thread-created, gdb-thread-exited)
99 (gdb-thread-selected, gdb-running, gdb-starting, gdb-stopped):
100 Add `token' argument.
101 (gdb-done, gdb-error): New functions.
102 (gdb-done-or-error): Add `is-complete' argument. Change arg order.
104 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
106 * term/xterm.el (xterm--report-background-handler): Don't burp
108 (xterm--version-handler): Extract from terminal-init-xterm.
109 (xterm--query): Don't mishandle timeout. Remove debugging messages.
110 Allow multiple handlers.
111 (terminal-init-xterm): Handle OSX's Terminal.app's incorrect answer.
113 * term/xterm.el: Don't discard input (bug#6758). Use lexical-binding.
114 (xterm--report-background-handler, xterm--query): New functions.
115 (terminal-init-xterm): Use them.
117 2013-03-11 Michael R. Mauger <michael@mauger.com>
119 * progmodes/sql.el Version 3.2
120 Please note that my address changed to <michael@mauger.com>;
121 the <mmaug@yahoo.com> address remains active.
122 (sql-connection-alist): Updates documentation to fix bug#13715.
123 (sql-connect): Handle missing `sql-connection-alist' correctly.
124 (sql-mode-oracle-font-lock-keywords): Add missing keywords.
125 (sql-magic-go, sql-magic-semicolon): Mark with `delete-selection'
127 (sql-default-value): New function.
128 (sql-get-login-ext, sql-get-login): Fixes bug where buffer-local
129 values were not used.
130 (sql-rename-buffer): Make sure alternate buffer name has no text
132 (sql-input-sender, sql-execute-feature): Fetch variable with
133 `buffer-local-value' rather than `with-current-buffer'.
134 (sql-*): Use #' function syntax consistently.
135 (sql-*): Use message/error/user-error consistently.
137 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
139 * xt-mouse.el (xterm-mouse-event-read): Remove.
140 (xterm-mouse--read-event-sequence-1000)
141 (xterm-mouse--read-event-sequence-1006): Use read-event instead.
143 2013-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
145 * term/xterm.el (xterm-function-map): Support format used with
146 formatOtherKeys=1 (bug#13839).
148 * emacs-lisp/byte-run.el (dont-compile): Declare obsolete.
149 (with-no-warnings): Use `declare'.
151 * whitespace.el (whitespace-enable-predicate): New variable.
152 (whitespace-enable-predicate): Use it.
154 * comint.el (comint-send-input, comint-snapshot-last-prompt)
155 (comint-output-filter, comint-update-fence):
156 Use with-silent-modifications.
158 2013-03-10 Jambunathan K <kjambunathan@gmail.com>
160 * replace.el (occur-read-regexp-defaults-function): New var.
161 (occur-read-regexp-defaults): New defun.
162 (occur-read-primary-args): Propagate above change (bug#13892).
164 2013-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
166 * mouse.el (mouse-drag-track): Remove left-over debugging code.
168 2013-03-09 Michael Albinus <michael.albinus@gmx.de>
170 Major rewrite due to changed D-Bus interface of GVFS 1.14.
172 * net/tramp-gvfs.el (top): Extend check for gvfs availability.
173 (tramp-gvfs-methods-mounttracker, tramp-gvfs-listmounts)
174 (tramp-gvfs-mountlocation, tramp-gvfs-mountlocation-signature):
176 (tramp-gvfs-file-name-handler-alist) [directory-files]
177 [directory-files-and-attributes, file-exists-p, file-modes]:
178 Use Tramp default handler.
179 [file-acl, file-selinux-context, process-file, set-file-acl]:
180 [set-file-modes, set-file-selinux-context, shell-command]:
181 [start-file-process]: Remove handler.
182 [verify-visited-file-modtime]: New handler.
183 (tramp-gvfs-dbus-string-to-byte-array)
184 (tramp-gvfs-dbus-byte-array-to-string): New defuns. Replace all
185 calls of `dbus-string-to-byte-array' and
186 `tramp-gvfs-dbus-byte-array-to-string'.
187 (tramp-gvfs-handle-copy-file)
188 (tramp-gvfs-handle-delete-directory)
189 (tramp-gvfs-handle-delete-file, tramp-gvfs-handle-file-attributes)
190 (tramp-gvfs-handle-file-directory-p)
191 (tramp-gvfs-handle-file-executable-p)
192 (tramp-gvfs-handle-file-name-all-completions)
193 (tramp-gvfs-handle-file-readable-p)
194 (tramp-gvfs-handle-file-writable-p)
195 (tramp-gvfs-handle-insert-directory)
196 (tramp-gvfs-handle-insert-file-contents)
197 (tramp-gvfs-handle-make-directory, tramp-gvfs-handle-rename-file)
198 (tramp-gvfs-handle-set-visited-file-modtime)
199 (tramp-gvfs-handle-write-region): Rewrite.
200 (tramp-gvfs-handle-file-acl)
201 (tramp-gvfs-handle-file-selinux-context)
202 (tramp-gvfs-handle-process-file, tramp-gvfs-handle-set-file-acl)
203 (tramp-gvfs-handle-set-file-modes)
204 (tramp-gvfs-handle-set-file-selinux-context)
205 (tramp-gvfs-handle-shell-command)
206 (tramp-gvfs-handle-start-file-process)
207 (tramp-gvfs-handle-verify-visited-file-modtime): Remove defuns.
208 (tramp-gvfs-url-file-name): Do not use `file-truename', we work
209 over the symlinks. Fix user handling.
210 (top, tramp-gvfs-handler-mounted-unmounted): Handle different names
211 of the D-Bus signals.
212 (tramp-gvfs-connection-mounted-p): Handle different names of the
214 (tramp-gvfs-mount-spec-entry): New defun.
215 (tramp-gvfs-mount-spec): Use it.
216 (tramp-gvfs-maybe-open-connection): Check, that in case of "smb"
217 there is a share name. Handle different names of the D-Bus
218 signals and methods. Set connection properties needed for
219 `tramp-check-cached-permissions'.
220 (tramp-gvfs-send-command): Apply `tramp-gvfs-maybe-open-connection'.
223 * net/tramp.el (tramp-backtrace): Move up.
224 (tramp-error): Dump a backtrace into the debug buffer when
226 (tramp-file-mode-type-map, tramp-file-mode-from-int)
227 (tramp-file-mode-permissions, tramp-get-local-uid)
228 (tramp-get-local-gid, tramp-check-cached-permissions): Move from
231 * net/tramp-sh.el (tramp-file-mode-type-map)
232 (tramp-check-cached-permissions, tramp-file-mode-from-int)
233 (tramp-file-mode-permissions, tramp-get-local-uid)
234 (tramp-get-local-gid): Move to tramp.el.
236 2013-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
238 Separate mouse-1-click-follows-link from mouse-drag-region.
239 * mouse.el (mouse--down-1-maybe-follows-link): New function.
240 (key-translation-map): Use it to implement mouse-1-click-follows-link.
241 (mouse-drag-line, mouse-drag-track):
242 Remove mouse-1-click-follows-link code.
243 (mouse--remap-link-click-p): Remove.
245 2013-03-08 Jambunathan K <kjambunathan@gmail.com>
247 * hi-lock.el (hi-lock-read-regexp-defaults-function): New var.
248 (hi-lock-read-regexp-defaults): New defun.
249 (hi-lock-line-face-buffer, hi-lock-face-buffer)
250 (hi-lock-face-phrase-buffer): Propagate above change.
251 Update docstring (bug#13892).
253 * subr.el (find-tag-default-as-regexp): New defun.
254 * replace.el (read-regexp): Propagate above change.
256 2013-03-08 Jay Belanger <jay.p.belanger@gmail.com>
258 * calc/calc-units.el (calc-convert-units): Fix the way that default
259 new units are stored.
261 2013-03-07 Matthias Meulien <orontee@gmail.com>
263 * bookmark.el: Define a face to highlight bookmark names in
264 bookmark menu buffers, where the default is a bold face similarly
265 to buffer names in buffer menu buffers.
266 (bookmark-menu-bookmark): New face to highlight bookmark names.
267 (bookmark-insert-location): Remove duplicated text property to
268 conform to buffer list (see `list-buffers').
269 (bookmark-bmenu-list, bookmark-bmenu-hide-filenames): Apply face
270 `bookmark-menu-bookmark' to bookmark names.
272 2013-03-07 Matthias Meulien <orontee@gmail.com>
273 Karl Fogel <kfogel@red-bean.com>
275 * bookmark.el: Display the bookmark list header similarly to the
276 buffer list header (see `list-buffers'), where the default is now
277 an immovable/immutable header line.
278 (bookmark-bmenu-use-header-line): New variable.
279 (bookmark-bmenu-inline-header-height): New name for
280 `bookmark-bmenu-header-height', to avoid confusion with the code
281 for the new immovable header. All references changed.
282 (bookmark-bmenu-set-header): New function.
283 (bookmark-bmenu-list, bookmark-bmenu-toggle-filenames):
284 Conditionalize header construction accordingly.
285 (bookmark-bmenu-ensure-position): Conditionalize the skipping of
286 the inline header height.
287 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
288 Conditionalize the skipping of the inline header height.
290 2013-03-07 Dmitry Gutov <dgutov@yandex.ru>
292 * progmodes/js.el (js--multi-line-declaration-indentation):
293 Merge from js2-mode (https://github.com/mooz/js2-mode/issues/89).
295 2013-03-06 Dmitry Gutov <dgutov@yandex.ru>
297 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
298 Only propertize regexp when not inside a string (Bug#13885).
300 2013-03-06 Alan Mackenzie <acm@muc.de>
302 Correct the position of point in some line-up functions.
303 * progmodes/cc-align.el (c-lineup-whitesmith-in-block)
304 (c-lineup-assignments, c-lineup-gcc-asm-reg ): take position of
305 point at column 0 rather than at a random place in the line.
307 2013-03-05 Michael Albinus <michael.albinus@gmx.de>
309 * net/tramp-compat.el (tramp-compat-delete-directory):
310 Implement TRASH argument.
312 2013-03-05 Dmitry Gutov <dgutov@yandex.ru>
314 Keep pre-existing highlighting in completion candidates (Bug#13250).
315 * minibuffer.el (completions-first-difference): State that the
316 face is "added" in the docstring.
317 (completions-common-part): Same. And don't inherit from default.
318 (completion-hilit-commonality): Prepend 'completions-common-part
319 and 'completion-first-difference faces to the 'face property,
320 instead of replacing the value(s).
321 (completion--insert-strings): Same with 'completions-annotations face.
322 (completion-hilit-commonality): Use 'face instead of
323 'font-lock-face, because it gets priority if the completion
324 strings already have 'face set.
326 2013-03-04 Alan Mackenzie <acm@muc.de>
328 Replace `last-command-event' by `last-command-char' in XEmacs.
329 * progmodes/cc-defs.el (c-last-command-char): New macro.
330 * progmodes/cc-align.el (c-semi&comma-inside-parenlist)
331 (c-semi&comma-no-newlines-before-nonblanks)
332 (c-semi&comma-no-newlines-for-oneline-inliners): Use the new macro
333 in place of `last-command-event'.
334 * progmodes/cc-cmds.el (c-electric-pound, c-electric-brace)
335 (c-electric-slash, c-electric-semi&comma, c-electric-lt-gt)
336 (c-electric-paren, c-electric-continued-statement): Use the new
337 macro in place of `last-command-event'.
339 2013-03-04 Glenn Morris <rgm@gnu.org>
341 * files.el (inhibit-local-variables-regexps):
342 Add .diff and .patch. (Bug#13862)
344 2013-03-03 Michael Albinus <michael.albinus@gmx.de>
346 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Cache,
347 whether the "su" command is available on the device.
349 2013-03-01 Michael Albinus <michael.albinus@gmx.de>
351 * net/tramp-adb.el (tramp-adb-prompt): Extend regexp.
352 (tramp-adb-handle-process-file): Remove superfluous setting.
353 (tramp-adb-command-exit-status): Handle case that COMMAND is nil.
354 (tramp-adb-barf-unless-okay): Use `tramp-adb-command-exit-status'.
355 (tramp-adb-maybe-open-connection): Apply "su" if user is defined.
357 2013-03-01 Stefan Monnier <monnier@iro.umontreal.ca>
359 * textmodes/ispell.el: Fix nitpicks and byte-compiler warnings.
360 (ispell-print-if-debug): Build `format' in. Avoid end-of-buffer.
361 (ispell-parse-hunspell-affix-file): Avoid beginning-of-buffer.
362 Use dict-key rather than dict-name for the error message.
364 2013-03-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
366 * net/net-utils.el (net-utils-run-simple): Don't display-buffer
367 when reverting (bug#13831).
369 2013-03-01 Agustín Martín Domingo <agustin.martin@hispalinux.es>
371 * textmodes/ispell.el (ispell-find-hunspell-dictionaries):
372 Always expand affix-file before storing to protect against changed
374 (ispell-print-if-debug): Make sure message is printed at the end
377 2013-03-01 Michael Albinus <michael.albinus@gmx.de>
379 * net/tramp.el (tramp-obsolete-methods): New defconst.
380 (tramp-warned-obsolete-methods): New defvar.
381 (tramp-find-method): Check for obsolete methods. Map them to a
382 replacement method if appropriate.
384 * net/tramp-sh.el (tramp-methods) [scp1, scp2, ssh1, ssh2, plink1]:
386 (top): Remove completion functions for "scp1", "scp2", "ssh1",
389 2013-02-28 Dale Sedivec <dale@codefu.org>
391 * textmodes/sgml-mode.el (sgml-syntax-propertize-function):
392 Return valid syntax-table property value when converting
393 quotes within text from string syntax to punctuation syntax (bug#13844).
395 2013-02-28 Juri Linkov <juri@jurta.org>
397 * dired-aux.el (dired-diff): If file at point is a backup file,
398 use its original as the default value, and reverse the order
399 of arguments to the `diff' call. Doc fix. (Bug#13772)
401 2013-02-28 Michael Albinus <michael.albinus@gmx.de>
403 * net/tramp-adb.el (tramp-adb-sdk-dir): Remove. Replaced by ...
404 (tramp-adb-program): New defcustom. Remove function. Adapt calls.
406 2013-02-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
408 Initial support for hunspell dictionaries auto-detection (Bug#13639)
410 * textmodes/ispell.el (ispell-find-hunspell-dictionaries):
411 Ask hunspell about available and default dictionaries.
412 (ispell-parse-hunspell-affix-file): Extract relevant info from
414 (ispell-hunspell-fill-dictionary-entry): Fill non-initialized
415 `ispell-dictionary-alist' entry for given dictionary after info
416 provided by `ispell-parse-hunspell-affix-file'.
417 (ispell-hunspell-dict-paths-alist): New defvar to contain an alist
418 of parsed hunspell dicts and associated affix files.
419 (ispell-hunspell-dictionary-alist): New defvar to contain an alist
420 of parsed hunspell dicts and associated parameters.
421 (ispell-set-spellchecker-params):
422 Call `ispell-find-hunspell-dictionaries' if hunspell and not
424 (ispell-start-process):
425 Call `ispell-hunspell-fill-dictionary-entry' for current
426 dictionary if it is not initialized.
428 2013-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
430 * imenu.el: Comment nitpicks.
432 2013-02-28 Sam Steingold <sds@gnu.org>
434 * vc/diff-mode.el (diff-hunk-file-names): Handle filenames with spaces.
435 See <http://stackoverflow.com/questions/14720205>.
437 2013-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
439 * net/net-utils.el (net-utils--revert-function): New fun (bug#13831).
440 (net-utils-mode): Use it.
441 (net-utils--revert-cmd): New var.
442 (net-utils-run-simple): Set it, and remove bogus interactive spec.
443 (traceroute): Use net-utils-run-simple.
445 2013-02-28 Glenn Morris <rgm@gnu.org>
447 * textmodes/paragraphs.el (mark-paragraph): Doc fix.
449 2013-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
451 * doc-view.el: Preserve h&v scroll across C-c C-c C-c C-c.
452 (doc-view-fallback-mode): Remove overlays here.
453 (doc-view-toggle-display): Instead of here. Don't throw away
454 image-mode-winprops-alist.
455 (doc-view-goto-page): Don't mess with hscroll.
457 2013-02-27 Thierry Volpiatto <thierry.volpiatto@gmail.com>
459 * font-lock.el (lisp-font-lock-keywords-2): Fix highlighting of
460 &optional (bug#13819).
462 2013-02-27 Michael Albinus <michael.albinus@gmx.de>
464 * net/tramp-adb.el (tramp-adb-parse-device-names)
465 (tramp-adb-maybe-open-connection): Add timeouts. (Bug#13299)
467 2013-02-26 Michael Albinus <michael.albinus@gmx.de>
469 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
470 Add "2>/dev/null" to the ls command, in case "en_US.utf8" is not
471 defined. POSIX environments fall back to the "C" locale then and
472 emit a warning, which shall be suppressed.
474 2013-02-26 Stefan Monnier <monnier@iro.umontreal.ca>
476 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): Tweak logic.
477 (easy-mmode-set-keymap-parents): Use make-composed-keymap.
479 2013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
481 * emacs-lisp/bytecomp.el (byte-compile-file): Use let.
483 2013-02-25 Juri Linkov <juri@jurta.org>
485 * replace.el (read-regexp): Let-bind `default' to the first
486 element of `defaults' if it's a list, otherwise it should be
487 a string or nil. Let-bind `suggestions' to `defaults' if it's
488 a list, otherwise make a list with the string value. Doc fix.
491 2013-02-25 Eli Zaretskii <eliz@gnu.org>
493 * emacs-lisp/bytecomp.el (byte-recompile-directory): Reject files
494 that match "\`\.#", to avoid compiling lock files, even if they
495 are readable (as they are on MS-Windows).
497 2013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
499 * files.el (basic-save-buffer): Remove redundant directory-creation.
501 2013-02-24 Jay Belanger <jay.p.belanger@gmail.com>
503 * calc/calc-ext.el (math-to-radians-2, math-from-radians-2):
504 Add option to force `pi' to remain symbolic.
505 * calc/calcalg2.el (calcFunc-sin, calcFunc-cos, calcFunc-tan)
506 (calcFunc-cot, calcFunc-csc, calcFunc-sec, calcFunc-arcsin)
507 (calcFunc-arccos, calcFunc-arctan): Use symbolic `pi' in the
508 derivatives, when necessary.
510 2013-02-23 Peter Kleiweg <p.c.j.kleiweg@rug.nl>
512 * progmodes/ps-mode.el (ps-mode-version): Bump to 1.1i.
513 (ps-mode-octal-region): Use string-make-unibyte.
515 2013-02-23 Glenn Morris <rgm@gnu.org>
517 * emulation/viper-cmd.el (viper-submit-report):
518 * progmodes/ps-mode.el (ps-mode-maintainer-address):
519 * progmodes/vera-mode.el (vera-mode-help-address):
520 * textmodes/artist.el (artist-maintainer-address):
521 * textmodes/reftex.el (reftex-report-bug):
522 * vc/ediff-util.el (ediff-submit-report):
523 Add bug-gnu-emacs to bug report address.
525 * progmodes/simula.el (simula-mode-menu, simula-mode-map):
526 Remove bug report entries.
527 (simula-mode-help-address, simula-submit-bug-report): Make obsolete.
529 * emacs-lisp/bytecomp.el (byte-compile-level): New.
530 (byte-compile-file, byte-compile-from-buffer):
531 Use separate input/output buffers for each level of recursive
532 byte-compile-file calls. (Bug#13787)
534 2013-02-23 Michael Albinus <michael.albinus@gmx.de>
536 * net/tramp.el (tramp-methods): Fix docstring.
537 (tramp-ssh-controlmaster-options): Rename it from
538 `tramp-ssh-controlmaster-template'. Return a string.
539 (tramp-default-method): Adapt check for
540 `tramp-ssh-controlmaster-options'.
542 * net/tramp-sh.el (tramp-methods):
543 Replace `tramp-ssh-controlmaster-template' by "%c".
544 (tramp-do-copy-or-rename-file-out-of-band)
545 (tramp-maybe-open-connection): Use it in format spec. Ensure,
546 that it is applied for the first hop only.
548 2013-02-22 Juri Linkov <juri@jurta.org>
550 * isearch.el (isearch-lazy-highlight-new-loop):
551 Set `isearch-lazy-highlight-start' and `isearch-lazy-highlight-end'
552 to `isearch-other-end' if it is not nil. (Bug#13402)
554 * replace.el (replace-highlight): Let-bind `isearch-other-end'
557 * textmodes/ispell.el (ispell-highlight-spelling-error-overlay):
558 Let-bind `isearch-other-end' to `start', `isearch-forward' to t
559 and `isearch-error' to nil.
561 2013-02-22 Michael Albinus <michael.albinus@gmx.de>
563 * net/tramp.el (tramp-tramp-file-p): Fix docstring.
565 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
566 Handle multibyte file names.
568 2013-02-22 Glenn Morris <rgm@gnu.org>
570 * textmodes/sgml-mode.el (sgml-xml-mode): Move before use.
571 (sgml-transformation-function): Give it a :set function.
574 * cmuscheme.el (scheme-buffer):
575 * progmodes/inf-lisp.el (inferior-lisp-buffer):
576 * progmodes/tcl.el (inferior-tcl-buffer):
577 * textmodes/tex-mode.el (tex-command): Doc fixes.
579 * image-mode.el (image-mode): Add mouse bindings for mode-line-process.
581 * htmlfontify.el (hfy-default-header): Encode title string. (Bug#7457)
583 2013-02-21 Bastien Guerry <bzg@gnu.org>
585 * cmuscheme.el (scheme-buffer): Fix docstring. (Bug#13778)
587 2013-02-21 Fabián Ezequiel Gallina <fgallina@cuca>
589 * progmodes/python.el (python-info-current-defun):
590 Enhance match-data cluttering prevention.
592 2013-02-21 Glenn Morris <rgm@gnu.org>
594 * net/tramp.el (tramp-get-debug-buffer): Ensure outline.el is not
595 loaded while outline-regexp is let bound. (Bug#9584)
597 2013-02-21 Fabián Ezequiel Gallina <fgallina@cuca>
599 * progmodes/python.el (python-info-current-defun): Fix failed
600 defun name retrieval because of unwanted match-data cluttering.
602 2013-02-21 Michael Albinus <michael.albinus@gmx.de>
604 * net/tramp.el (tramp-ssh-controlmaster-template): Make it a
605 defconst. Apply independent check for ControlPersist.
607 * net/tramp-sh.el (tramp-sh-handle-set-file-times): Set $UTC only
608 temporarily, via "env".
610 2013-02-21 Glenn Morris <rgm@gnu.org>
612 * info.el (Info-enable-edit): Remove.
613 (Info-edit): Disable it rather than using Info-enable.
614 (Info-edit-mode-hook, Info-edit-map, Info-edit-mode, Info-edit)
615 (Info-cease-edit): Make editing of Info files obsolete.
617 * informat.el (Info-tagify):
618 Handle buffers not visiting files. (Bug#13763)
620 2013-02-21 Juanma Barranquero <lekktu@gmail.com>
622 * calc/calc-graph.el (calc-graph-show-dumb): Fix typo.
624 2013-02-21 Glenn Morris <rgm@gnu.org>
626 * files.el (basic-save-buffer): Move check for existing parent
627 directory after hooks. (Bug#13773)
629 2013-02-20 Stefan Monnier <monnier@iro.umontreal.ca>
631 * simple.el (command-execute): Move from C. Add obsolete check.
632 (extended-command-history): Move from C.
634 2013-02-20 Ulrich Müller <ulm@gentoo.org>
636 * jka-cmpr-hook.el (jka-compr-compression-info-list)
637 (jka-compr-mode-alist-additions): Handle .txz suffix for
638 XZ-compressed tar archives (bug#13770).
640 2013-02-20 Bastien Guerry <bzg@gnu.org>
642 * outline.el (outline-regexp, outline-heading-end-regexp):
643 Make variables, not options (bug#13731).
645 2013-02-20 Glenn Morris <rgm@gnu.org>
647 * image.el (image-current-frame): Change from variable to function.
648 (image-show-frame): Rename from image-nth-frame. Update callers.
649 * image-mode.el (image-multi-frame): New variable.
650 (image-mode-map, image-mode, image-goto-frame):
651 Use image-multi-frame rather than image-current-frame.
652 (image-mode, image-goto-frame): Use image-current-frame as
653 function rather than as variable.
655 * emacs-lisp/cl-lib.el (cl-floatp-safe): Make it an alias for floatp.
656 * emacs-lisp/cl-macs.el (cl--make-type-test)
657 (cl--compiler-macro-assoc): Use floatp rather than cl-floatp-safe.
659 2013-02-19 Michael Albinus <michael.albinus@gmx.de>
661 * net/tramp-cache.el (tramp-get-hash-table): New defun.
662 (tramp-get-file-property, tramp-set-file-property)
663 (tramp-get-connection-property, tramp-set-connection-property): Use it.
664 (tramp-flush-file-property, tramp-flush-directory-property):
665 Rename argument to KEY.
666 (tramp-flush-connection-property): Simplify a little bit.
667 (tramp-connection-property-p): New defun.
668 (top): Reapply saved values only if there isn't a corresponding
669 entry in `tramp-connection-properties'.
671 2013-02-19 Fabián Ezequiel Gallina <fgallina@cuca>
673 * progmodes/python.el (python-indent-context):
674 Fix python-info-line-ends-backslash-p call.
675 (python-info-line-ends-backslash-p)
676 (python-info-beginning-of-backslash): Respect line-number argument.
677 (python-info-current-line-comment-p):
678 Fix behavior when not at beginning-of-line.
679 (python-util-position): Remove function.
680 (python-util-goto-line): New function.
682 2013-02-19 Michael Albinus <michael.albinus@gmx.de>
684 * eshell/em-unix.el (eshell/su): Require tramp.
685 (eshell/sudo): Require tramp. Remove now unnecessary check.
687 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Let-bind
688 `tramp-current-connection' in order to avoid an error when several
689 commands are invoked in a short time in eshell and friends.
691 2013-02-19 Stefan Monnier <monnier@iro.umontreal.ca>
693 Cleanup some of EIEIO's namespace.
694 * emacs-lisp/eieio.el (eieio--define-field-accessors): New macro.
695 Use it to define all the class-* and object-* field accessors (renamed
696 to eieio--class-* and eieio--object-*). Update all uses.
697 (eieio--class-num-slots, eieio--object-num-slots): Rename from
698 class-num-slots and object-num-slots.
699 (eieio--check-type): New macro.
700 (eieio-defclass, eieio-oref, eieio-oref-default, same-class-p)
701 (object-of-class-p, child-of-class-p, object-slots, class-slot-initarg)
702 (eieio-oset, eieio-oset-default, object-assoc, object-assoc-list)
703 (object-assoc-list-safe): Use it.
704 (eieio-defclass): Tighten regexp.
705 (eieio--defmethod): Use `memq'. Signal an error for unknown method kind.
706 Remove unreachable code.
707 (object-class-fast): Declare obsolete.
708 (eieio-class-name, eieio-object-name, eieio-object-set-name-string)
709 (eieio-object-class, eieio-object-class-name, eieio-class-parents)
710 (eieio-class-children, eieio-class-precedence-list, eieio-class-parent):
711 Rename from class-name, object-name, object-set-name-string,
712 object-class, object-class-name, class-parents, class-children,
713 class-precedence-list, class-parent; with obsolete alias.
714 (class-of, class-direct-superclasses, class-direct-subclasses):
716 (eieio-defmethod): Use `memq'; remove unreachable code.
717 * emacs-lisp/eieio-base.el (eieio-persistent-read):
718 * emacs-lisp/eieio-opt.el (eieio-class-button, eieio-describe-generic)
719 (eieio-browse-tree, eieio-browse): Use eieio--check-type.
722 2013-02-18 Michael Heerdegen <michael_heerdegen@web.de>
724 * emacs-lisp/eldoc.el (eldoc-highlight-function-argument):
725 Use font-lock-keyword-face for macros and special forms (bug#8345).
727 2013-02-17 Didier Verna <didier@didierverna.net>
729 * net/network-stream.el (network-stream-open-starttls):
730 Check that response to the starttls-command is non-nil. (Bug#13706)
732 2013-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
734 * font-lock.el (lisp-font-lock-keywords-1, lisp-font-lock-keywords-2):
735 Don't assume all identifier chars have syntax word.
736 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
737 Remove bar-not-symbol. Adjust callers.
738 (lisp-mode-variables): Don't set a font-lock-syntax-table.
740 2013-02-17 Leo Liu <sdl.web@gmail.com>
742 * net/rcirc.el (rcirc-keepalive): Fix invalid timer error.
744 2013-02-17 Glenn Morris <rgm@gnu.org>
746 * menu-bar.el (menu-bar-tools-menu): Fix case of EDE entry.
748 * image-mode.el (image-mode-map): Add image-dired menu entry.
750 * image-dired.el (tumme): Make this alias obsolete.
752 2013-02-16 Glenn Morris <rgm@gnu.org>
754 * image.el (image-animated-types): Remove.
755 (image-multi-frame-p): Rename from image-animated-p, and generalize.
756 (image-animated-p): Make obsolete alias.
757 (image-animate, image-nth-frame, image-animate-timeout):
758 Use image-multi-frame-p.
759 (image-animate-timeout): If no delay, use image-default-frame-delay.
760 * image-mode.el (image-mode, image-toggle-animation):
761 Use image-multi-frame-p. (Bug#763, bug#10739)
762 (image-mode): Adjust startup message for a multi-frame image.
764 * image-mode.el (image-mode-map): Give it a menu.
766 2013-02-16 Michael Albinus <michael.albinus@gmx.de>
768 * net/tramp-cache.el (tramp-connection-properties): New customer
770 (tramp-get-connection-property): Use it.
772 * net/tramp-compat.el (top): Require 'trampver.
774 * net/tramp-sh.el (tramp-remote-process-environment):
775 Set tramp-autoload cookie.
777 2013-02-16 Kevin Ryde <user42@zip.com.au>
779 * info-look.el (info-lookup-select-mode): If major-mode has no
780 info-lookup-alist entry then search up derived-mode-parent (bug#8660).
782 2013-02-16 Jambunathan K <kjambunathan@gmail.com>
784 * replace.el (read-regexp): Tighten the regexp that matches tag.
785 When tag is retrieved with `find-tag-default', use regexp that
786 matches tag at point. Also update docstring (Bug#13687).
788 2013-02-16 Eli Zaretskii <eliz@gnu.org>
790 * autorevert.el (auto-revert-notify-add-watch): With 'w32notify',
791 add watch for the file, not its parent directory, since w32notify
792 sets up the watch for the directory internally. (Bug#13725)
794 2013-02-16 Glenn Morris <rgm@gnu.org>
796 * image.el (image-default-frame-delay): New variable.
797 (image-animated-p): Use image-default-frame-delay.
798 (image-minimum-frame-delay): New constant.
799 (image-animate-timeout): Use image-minimum-frame-delay.
801 * image.el (image-nth-frame): New, split from image-animate-timeout.
802 (image-animate-timeout): Use image-nth-frame.
803 * image-mode.el (image-goto-frame, image-next-frame)
804 (image-previous-frame): New commands.
805 (image-mode-map): Add new frame commands.
807 2013-02-16 Jonas Bernoulli <jonas@bernoul.li>
809 * emacs-lisp/tabulated-list.el (tabulated-list-print-col):
810 If col-desc already has help-echo, use it. (Bug#13563)
812 2013-02-16 Glenn Morris <rgm@gnu.org>
814 * image.el (image-current-frame): New variable.
815 (image-animate-timeout): Set image-current-frame.
816 * image-mode.el (image-mode): For animated images,
817 display a frame counter via mode-line-process.
819 * font-lock.el (lisp-font-lock-keywords-1): Add defvar-local.
821 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
823 * simple.el (eval-expression): Let `exp' set the mark (bug#13724).
825 2013-02-15 Alan Mackenzie <acm@muc.de>
827 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): When a
828 global minor mode has been enabled, call the minor mode function
829 for a new buffer once only, after the major mode hook, whilst
830 allowing that hook explicitly to disable the minor mode.
831 (MODE-disable-in-buffer): New (generated) function.
832 (disable-MODE): New (generated) buffer local variable.
834 2013-02-15 Jambunathan K <kjambunathan@gmail.com>
836 * iswitchb.el (iswitchb-read-buffer): Bind `C-.' and `C-,' to
837 `iswitchb-next-match' and `iswitchb-prev-match' resply.
838 * ido.el (ido-init-completion-maps): Bind `C-.' and `C-,' to
839 `ido-next-match' and `ido-prev-match' resply.
840 * icomplete.el (icomplete-minibuffer-map): Unbind `C-s' and `C-r'.
841 Bind `C-.' and `C-,' to `icomplete-forward-completions' and
842 `icomplete-backward-completions' (Bug#13708).
844 2013-02-15 Glenn Morris <rgm@gnu.org>
846 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
848 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
850 * net/goto-addr.el (goto-address-fontify): Add start and end args.
851 (goto-address-fontify-region): Use them instead of narrowing, so
852 syntax-ppss has access to the whole buffer.
854 2013-02-15 Fabián Ezequiel Gallina <fgallina@cuca>
856 * progmodes/python.el: Explain how to restore "cc-mode"-like
857 forward-sexp movement in header documentation (Bug#13642).
858 (python-nav--forward-sexp): Behave like emacs-lisp-mode in
859 comments and strings (GH bug 114).
861 2013-02-15 Fabián Ezequiel Gallina <fgallina@cuca>
863 * progmodes/python.el (python-info-current-defun): Fix current
864 defun detection (Bug#13618).
866 2013-02-15 Chong Yidong <cyd@gnu.org>
868 * xml.el (xml-parse-string): Fix typo in handling of bad character
871 2013-02-15 Glenn Morris <rgm@gnu.org>
873 * play/fortune.el (fortune-compile): Simplify and fix previous change.
875 2013-02-14 Michael Albinus <michael.albinus@gmx.de>
877 * net/tramp.el (tramp-debug-message):
878 Add `tramp-condition-case-unless-debug'.
879 (tramp-debug-on-error): New defvar.
880 (tramp-condition-case-unless-debug): New defun.
881 (tramp-file-name-handler): Use it.
883 2013-02-14 Juri Linkov <juri@jurta.org>
885 * info.el (Info-isearch-filter): Treat non-nil values of
886 `search-invisible' including its default value `open'
887 like the value `t' to match hidden text. (Bug#13402)
889 2013-02-14 Glenn Morris <rgm@gnu.org>
891 * help-fns.el (find-lisp-object-file-name): Give special treatment
892 to all ~/.foo.elc files, not just ~/.emacs. (Bug#9007)
894 2013-02-14 David Biesack <sasdjb@d72933.na.sas.com> (tiny change)
896 * net/quickurl.el (quickurl-save-urls):
897 Ensure quickurl-urls is not truncated on printing. (Bug#9276)
899 2013-02-14 Dmitry Gutov <dgutov@yandex.ru>
901 * progmodes/ruby-mode.el (ruby-parse-partial): Don't increase
902 depth for unfinished percent literal. Not using it in the caller.
903 (ruby-move-to-block): Jump over multiline literals of all types,
904 ignoring code-looking contents inside them.
905 (ruby-add-log-current-method): Improve performance at the expense
906 of accuracy. `ruby-block-contains-point' is relatively slow, so
907 only use it for method and singleton class blocks.
909 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
911 Use ControlMaster where applicable. (Bug#13677)
913 * net/tramp.el (tramp-ssh-controlmaster-template): New defvar,
914 replacing `tramp-detect-ssh-controlmaster'.
915 (tramp-default-method): Use it.
917 * net/tramp-sh.el (tramp-methods) [scp, scp1, scp2, scpx, sftp]:
918 [rsync, ssh, ssh1, ssh2, sshx]: Add ControlPath and ControlMaster
920 [scpc, rsyncc]: Remove methods.
921 (top): Remove completion functions for "scpc", "rsyncc", "ssh1_old"
923 (tramp-do-copy-or-rename-file-out-of-band): Change trace level.
924 (tramp-maybe-open-connection): Reuse tmpfile for ControlPath.
926 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
928 * emacs-lisp/package.el (package--initialized): Move before first use.
930 2013-02-13 Jambunathan K <kjambunathan@gmail.com>
932 * icomplete.el (icomplete-hide-common-prefix): New user option.
933 (icomplete-first-match): New face.
934 (icomplete-completions): Correct handling of "complete but not
937 2013-02-13 YE Qianchuan <stool.ye@gmail.com> (tiny change)
939 * descr-text.el (describe-char): Display the script (bug#13698).
941 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
943 * tmm.el: Use lexical-binding and current-active-maps.
944 (tmm-menubar): Use map-keymap and pcase.
945 (tmm--completion-table): New function.
946 (tmm-prompt): Use it to fix the menu order.
947 (tmm-get-keybind): Use current-active-maps.
949 2013-02-12 Christopher Schmidt <christopher@ch.ristopher.com>
951 Add dired-hide-details-mode. (Bug#6799)
953 * locate.el (locate-mode): Set parent mode property to dired-mode.
955 * find-dired.el (find-dired): Call dired-insert-set-properties on
956 initial information line. Set process mark on end of buffer.
957 (find-dired-sentinel):
958 Call dired-insert-set-properties on summary.
960 * dired.el (dired-hide-details-hide-symlink-targets)
961 (dired-hide-details-hide-information-lines): New options.
962 (dired-insert-directory):
963 Set properties after final treatment of output.
964 (dired-insert-set-properties):
965 Set dired-hide-details-* properties.
966 (dired-mode-map): Bind dired-hide-details-mode.
967 (dired-mode): Set buffer-invisibility-spec to a list.
968 (dired-next-line): Skip hidden lines.
969 (dired-previous-line): Use dired-next-line.
970 (dired-hide-details-mode): New minor mode.
971 (dired-hide-details-update-invisibility-spec): New function.
973 2013-02-13 Glenn Morris <rgm@gnu.org>
975 * play/yow.el: Move to obsolete/. (Bug#9384)
977 2013-02-13 Juri Linkov <juri@jurta.org>
979 * vc/ediff-util.el (ediff-recenter): Use `select-frame-set-input-focus'
980 to select `ediff-control-frame' and set input focus correctly on Xfce.
983 2013-02-13 Juri Linkov <juri@jurta.org>
985 * image-mode.el (image-mode-map):
986 * doc-view.el (doc-view-mode-map):
987 * vc/ediff-util.el (ediff-setup-keymap):
988 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
990 2013-02-13 Dmitry Gutov <dgutov@yandex.ru>
992 * progmodes/ruby-mode.el (ruby-move-to-block): Improve
993 performance. Instead of recalculating indentation fully for each
994 line, sum up indentation depth based only on visited lines.
995 (ruby-parse-partial): Increase the depth after "do" even when END
997 (ruby-parse-partial): When END is in the middle of a percent
998 literal, increase the depth if the delimiter chars belong to the
1001 2013-02-13 Kirill A. Korinskiy <catap@catap.ru>
1003 * play/fortune.el (fortune-compile): Also make the compiled file
1004 if it does not exist at all, not just if it is old. (Bug#5338)
1006 2013-02-13 Glenn Morris <rgm@gnu.org>
1008 * emacs-lisp/package.el (package-menu-execute): Doc fix.
1010 2013-02-13 Yves Baumes <ybaumes@gmail.com> (tiny change)
1012 * lisp/emacs-lisp/package.el (package-menu-execute):
1013 Add optional noquery argument. (Bug#13625)
1015 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
1017 * net/ange-ftp.el (ange-ftp-make-directory): Don't raise an error,
1018 if DIR exists and PARENTS is non-nil.
1020 2013-02-13 Juanma Barranquero <lekktu@gmail.com>
1022 * progmodes/js.el (js--multi-line-declaration-indentation):
1023 Silence byte-compiler warning.
1025 2013-02-12 Michael Albinus <michael.albinus@gmx.de>
1027 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Rewrite.
1029 * net/tramp-compat.el (top): Declare `remote-file-name-inhibit-cache'
1030 only if it doesn't exist.
1032 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1035 2013-02-12 Tassilo Horn <tsdh@gnu.org>
1037 * doc-view.el (doc-view-odf->pdf-converter-soffice): Use separate
1038 UserInstallation when calling soffice to work around LibreOffice
1041 2013-02-12 Glenn Morris <rgm@gnu.org>
1043 * files.el (basic-save-buffer):
1044 Offer to create a non-existing directory. (Bug#3016)
1046 * calc/calc-graph.el (calc-graph-show-dumb):
1047 * calendar/calendar.el (calendar-mode-map):
1048 * cus-edit.el (custom-mode-map):
1049 * ehelp.el (electric-help-map):
1050 * emulation/vip.el (vip-mode-map):
1051 * epa.el (epa-key-list-mode-map):
1052 * info.el (Info-mode-map):
1053 * mail/rmail.el (rmail-mode-map):
1054 * mail/rmailsum.el (rmail-summary-mode-map):
1055 * man.el (Man-mode-map):
1056 * net/newst-plainview.el (newsticker-mode-map):
1057 * progmodes/cpp.el (cpp-edit-mode-map):
1058 * progmodes/grep.el (grep-mode-map):
1059 * progmodes/idlw-help.el (idlwave-help-mode-map):
1060 * simple.el (special-mode-map):
1061 * startup.el (splash-screen-keymap):
1062 * view.el (view-mode-map):
1063 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
1065 2013-02-11 Elias Pipping <pipping@lavabit.com>
1067 * doc-view.el (doc-view-current-cache-dir): Beware % escapes
1070 2013-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
1072 * cus-start.el (all): Remove inhibit-local-menu-bar-menus.
1074 2013-02-11 Glenn Morris <rgm@gnu.org>
1076 * vc/diff.el (diff-use-labels): New variable.
1077 (diff-no-select): Use --label rather than -L, and first
1078 check that it is supported. (Bug#11067)
1080 * files.el (enable-dir-local-variables): New variable.
1081 (hack-dir-local-variables): Respect enable-dir-local-variables.
1082 * tutorial.el (help-with-tutorial):
1083 Ignore directory-local variables. (Bug#11127)
1085 * vc/vc-svn.el (vc-svn-command): Move --non-interactive from here...
1086 (vc-svn-global-switches): ... to here. (Bug#13513)
1088 2013-02-10 Christopher Schmidt <christopher@ch.ristopher.com>
1090 * minibuf-eldef.el (minibuffer-default--in-prompt-regexps):
1091 Handle "foo (bar, default: xxx): " prompts.
1093 2013-02-10 Chong Yidong <cyd@gnu.org>
1095 * files.el (basic-save-buffer-1): Do not set
1096 buffer-file-coding-system-explicit (Bug#4533).
1098 * mail/emacsbug.el (report-emacs-bug): Change binding of
1099 report-emacs-bug-insert-to-mailer to C-c M-i (Bug#13510).
1101 2013-02-09 Jay Belanger <jay.p.belanger@gmail.com>
1103 * calc/calc.el (calc-allow-units-as-numbers): New variable.
1104 * calc/calc-units.el (calc-convert-units): Use new variable.
1106 2013-02-09 Eli Zaretskii <eliz@gnu.org>
1108 * subr.el (buffer-file-type, default-buffer-file-type): Remove.
1110 * net/ange-ftp.el (ange-ftp-insert-file-contents): Don't reference
1113 * mail/feedmail.el (feedmail-force-binary-write): Doc fix.
1114 (feedmail-run-the-queue, feedmail-dump-message-to-queue)
1115 (feedmail-send-it-immediately): Don't bind buffer-file-type, bind
1116 coding-system-for-write instead.
1118 * jka-compr.el (jka-compr-write-region): Don't bind
1121 * emacs-lisp/bytecomp.el (byte-compile-file): Don't bind
1124 * files.el (file-name-buffer-file-type-alist): Remove defvar.
1125 (insert-file-contents-literally): Remove reference to
1126 file-name-buffer-file-type-alist.
1128 * dos-w32.el (file-name-buffer-file-type-alist): Deprecate and
1130 (find-buffer-file-type-match, find-buffer-file-type): Remove.
1131 (find-buffer-file-type-coding-system): Remove references to
1132 find-buffer-file-type-match, find-buffer-file-type, and
1134 Don't put find-buffer-file-type-coding-system into
1135 file-coding-system-alist.
1136 (find-file-binary, find-file-text): Bind coding-system-for-read
1137 instead of file-name-buffer-file-type-alist.
1139 2013-02-09 Jambunathan K <kjambunathan@gmail.com>
1141 * doc-view.el: Use (and prefer) soffice as default ODF->PDF
1142 converter (Bug#13622).
1143 (doc-view-unoconv-program): Make obsolete alias.
1144 (doc-view-odf->pdf-converter-program): New variable.
1145 (doc-view-odf->pdf-converter-function): New variable.
1146 (doc-view-mode-p): Use it.
1147 (doc-view-odf->pdf-converter-unoconv):
1148 Rename from `doc-view-odf->pdf-converter-unoconv'.
1149 (doc-view-odf->pdf-converter-soffice): New function.
1150 (doc-view-convert-current-doc):
1151 Use `doc-view-odf->pdf-converter-function'.
1153 2013-02-09 Chong Yidong <cyd@gnu.org>
1155 * minibuffer.el (minibuffer-inactive-mode-map): Bind mouse-1 to
1156 view-echo-area-messages (Bug#13340).
1158 * help.el (view-echo-area-messages): Use display-buffer.
1160 * dired-x.el (dired-do-run-mail): Prompt for confirmation
1163 2013-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
1165 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
1166 Eval body right away, now that we do eager macroexpansion (bug#13605).
1168 * simple.el (end-of-buffer): Don't touch unrelated windows (bug#13466).
1169 (fundamental-mode): Use run-mode-hooks.
1171 * eshell/esh-proc.el (eshell/kill): Fix last change.
1172 * eshell/em-ls.el (eshell-ls-dir): Fix use of CL in last change.
1174 2013-02-08 Aidan Gauland <aidalgol@no8wireless.co.nz>
1176 * eshell/esh-proc.el (eshell/kill): Rewrite.
1178 * eshell/em-ls.el (show-almost-all): Declare.
1179 (eshell-do-ls): Add support for -A argument.
1181 2013-02-08 Jambunathan K <kjambunathan@gmail.com>
1183 * icomplete.el (icomplete-forward-completions)
1184 (icomplete-backward-completions): Handle corner case (bug#13602).
1186 2013-02-07 Michael Albinus <michael.albinus@gmx.de>
1188 * vc/vc-hooks.el (vc-find-file-hook): `buffer-file-truename' can
1189 be nil. Handle this. (Bug#13636)
1191 2013-02-07 Richard Stallman <rms@gnu.org>
1193 * mail/rmail.el (rmail-variables): Specify `no-conversion' for
1194 `save-buffer-coding-system'.
1196 2013-02-07 Alan Mackenzie <acm@muc.de>
1198 Fix bug in state cache mechanism. Remove 'BOD "strategy". Refactor.
1199 * progmodes/cc-engine.el (c-get-fallback-scan-pos): Remove.
1200 (c-parse-state-get-strategy): Don't return 'BOD any more.
1201 (c-append-lower-brace-pair-to-state-cache):
1202 Extra parameter HERE instead of narrowing.
1203 Widen to top of buffer before searching backwards for a brace pair.
1204 (c-state-push-any-brace-pair): Add HERE parameter to function call.
1205 (c-append-to-state-cache): Extra parameter HERE in place of narrowing.
1206 Narrow to parameter HERE, in place of being called narrowed.
1207 (c-remove-stale-state-cache): Extra parameter HERE in place of
1208 narrowing. Check there's an open brace in the cache before
1209 searching for its match.
1210 (c-invalidate-state-cache-1): Add HERE parameter to function call.
1211 (c-parse-state-1): Don't narrow here for 'forward strategy,
1212 instead passing extra parameter HERE to several functions.
1213 Remove 'BOD strategy.
1215 2013-02-06 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
1217 * emacs-lisp/package.el (describe-package-1): Tell what archive is
1218 used to install the package.
1220 2013-02-06 Glenn Morris <rgm@gnu.org>
1222 * vc/vc-hooks.el (vc-find-file-hook): Don't ask about following links
1223 if we can't get user input. (Bug#6567)
1225 * startup.el (command-line): If simple.el is missing,
1226 test and warn about for some possible causes.
1228 2013-02-05 Jan Djärv <jan.h.d@swipnet.se>
1230 * cus-start.el (all): Add ns-use-native-fullscreen.
1232 2013-02-05 Glenn Morris <rgm@gnu.org>
1234 * profiler.el (profiler-report-mode-map): Add a restart menu entry.
1236 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
1237 Fix directory creation in fallback case.
1239 2013-02-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1241 * vc/vc.el (vc-next-action): Fix inf-loop (bug#13610).
1242 (vc-update-change-log): Use dolist.
1244 2013-02-04 Chong Yidong <cyd@gnu.org>
1246 * thingatpt.el: Rewrite the URL detection routines, absorbing some
1248 (thing-at-point-beginning-of-url-regexp): New var.
1249 (thing-at-point-uri-schemes): Update list of URI schemes.
1250 (thing-at-point-url-regexp): Variable deleted.
1251 (thing-at-point-markedup-url-regexp): Disallow newlines.
1252 (thing-at-point-newsgroup-regexp)
1253 (thing-at-point-newsgroup-heads)
1254 (thing-at-point-default-mail-uri-scheme): New variables.
1255 (thing-at-point-bounds-of-url-at-point): Rewrite. Use ffap's
1256 method to find the possible bounds of the URI at point.
1257 New optional argument to find ill-formed URIs.
1258 (thing-at-point-url-at-point): Rewrite. New arguments for finding
1259 ill-formed URIs. Use thing-at-point-bounds-of-url-at-point, and
1260 the scheme-adding heuristics from ffap-url-at-point.
1261 (thing-at-point--bounds-of-well-formed-url): New function.
1262 Do parens matching to decide whether to include parens in the URI
1265 * ffap.el: Require thingatpt.
1266 (ffap-url-at-point): Delegate URI detection to thing-at-point.
1267 All URI-valid characters are now recognized (Bug#5673).
1268 (ffap-string-at-point): Use use-region-p.
1269 (ffap-url-regexp): Extra character is handled by thing-at-point.
1270 (ffap-string-at-point-mode-alist): Allow parentheses.
1271 (ffap-newsgroup-regexp, ffap-newsgroup-heads, ffap-newsgroup-p):
1272 Convert to aliases; code moved to thingatpt.el.
1273 (ffap-gnus-hook): Use setq-local.
1275 2013-02-04 Glenn Morris <rgm@gnu.org>
1277 * emacs-lisp/ert.el (ert--explain-format-atom):
1278 Don't try to print non-characters as characters. (Bug#13543)
1280 2013-02-03 Michael Albinus <michael.albinus@gmx.de>
1282 * net/tramp.el (tramp-debug-message): Extend function exclude list.
1283 (tramp-backtrace): New defun.
1284 (tramp-handle-insert-file-contents): Use `visit' when inserting
1287 * net/tramp-sh.el (tramp-sh-handle-set-visited-file-modtime):
1288 Use `remote-file-name-inhibit-cache'.
1290 2013-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
1292 * progmodes/cperl-mode.el (cperl-mode): Avoid byte-compile warning
1295 * subr.el (internal--called-interactively-p--get-frame): Avoid filling
1296 current-load-list (bug#13366).
1298 2013-02-02 Christopher Schmidt <christopher@ch.ristopher.com>
1300 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1301 Identify g++ template instantiation trace. (Bug#12287)
1302 (compilation-mode-hook, compilation-start-hook)
1303 (compilation-window-height): Simplify docstrings. (Bug#13379)
1305 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
1307 * mouse.el (mouse-drag-track): Always deactivate the mark before
1308 running the final event's command since that command is in charge of
1309 activating the mark if needed (bug#13523).
1311 2013-02-02 Juri Linkov <juri@jurta.org>
1313 * replace.el (perform-replace): Move let-bindings of isearch-*
1314 variables deeper to the loop that searches for the next match.
1315 Add bindings for `isearch-nonincremental' and `isearch-adjusted'.
1316 Use `isearch-search-fun-default' instead of `isearch-search-fun'.
1319 * isearch.el (isearch-search-fun-default): Check for null
1320 first element of isearch-cmds as a precaution when it's used
1321 with inactive isearch.
1323 2013-02-02 Andrew W. Nosenko <andrew.w.nosenko@gmail.com> (tiny change)
1325 * net/tramp.el (tramp-check-for-regexp): Avoid "Args out of range"
1326 error when buffer in question is narrowed so position 1 is out of
1329 2013-02-02 Glenn Morris <rgm@gnu.org>
1331 * textmodes/remember.el (remember-clipboard): Doc fix.
1333 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
1335 * progmodes/make-mode.el (makefile-fill-paragraph): Reset syntax-table
1336 properties (bug#13179).
1338 2013-02-02 Juri Linkov <juri@jurta.org>
1340 * progmodes/grep.el (grep-regexp-alist): Use variable grep-match-face
1341 instead of hard-coded default face `match'. (Bug#9438)
1343 2012-02-01 Christopher Schmidt <christopher@ch.ristopher.com>
1345 * vc/vc-arch.el (vc-arch-registered):
1346 * vc/vc-bzr.el (vc-bzr-registered):
1347 * vc/vc-cvs.el (vc-cvs-registered):
1348 * vc/vc-git.el (vc-git-registered):
1349 * vc/vc-hg.el (vc-hg-registered):
1350 * vc/vc-mtn.el (vc-mtn-registered):
1351 * vc/vc-svn.el (vc-svn-registered): Suppress load messages.
1354 * info.el (Info-next-reference, Info-prev-reference): Add numeric
1355 prefix argument. (Bug#11656)
1357 2013-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
1359 * help-fns.el (help-split-fundoc): Don't insert byte-compiled body.
1361 2013-02-01 Glenn Morris <rgm@gnu.org>
1363 * vc/vc-hooks.el (vc-menu-map): Disable vc-rollback menu item
1364 if the backend is known not to support it.
1366 * imenu.el (imenu-default-create-index-function):
1367 Tweak infinite loop test to check for forward motion as well as none.
1369 2013-02-01 Alex Harsanyi <AlexHarsanyi@gmail.com>
1371 * net/soap-client.el (soap-invoke): Encode the string for
1372 `url-request-data' as UTF-8.
1373 Fixes <http://code.google.com/p/emacs-soap-client/issues/detail?id=16>.
1375 2013-02-01 Glenn Morris <rgm@gnu.org>
1377 * calc/calc-help.el (calc-view-news): Use view-emacs-news.
1379 * calc/README, calc/README.prev: Rename/merge to etc/CALC-NEWS.
1381 2013-01-31 Michael Albinus <michael.albinus@gmx.de>
1383 * net/tramp.el (tramp-tramp-file-p): Comment check for
1384 `string-as-unibyte'. The function does not exist on XEmacs, and
1385 likely we need another approach.
1387 * net/tramp-sh.el (tramp-compute-multi-hops): Check, whether
1388 `tramp-gw-*' variables are bound.
1390 2013-01-31 Glenn Morris <rgm@gnu.org>
1392 * files.el (basic-save-buffer-2): Choose coding system for
1393 writing the file before backing it up, to reduce delay between
1394 backing up and writing the new version. (Bug#13522)
1396 2013-01-31 Michal Nazarewicz <mina86@mina86.com>
1398 * simple.el (cycle-spacing): New command.
1399 (just-one-space): Use it.
1401 2013-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
1403 * progmodes/opascal.el: Rename from delphi.el. Use lexical-binding.
1404 (opascal-newline-always-indents): Remove custom.
1405 (opascal-tab, opascal-newline): Remove commands.
1406 (opascal-new-comment-line): Insert "\n" instead of calling newline.
1407 (opascal-mode-map): Keep default bindings for RET and TAB and DEL.
1408 (opascal-save-match-data): Remove, use save-match-data instead.
1409 (opascal-save-state): Use with-silent-modifications.
1411 * progmodes/pascal.el (pascal-mode-syntax-table): Accept //..\n comments
1414 2013-01-30 Juri Linkov <juri@jurta.org>
1416 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
1417 Use fullboth as an alias for fullscreen. Suggested by Jan Djärv in
1418 <http://lists.gnu.org/archive/html/emacs-devel/2013-01/msg00203.html>.
1420 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
1422 * progmodes/make-mode.el (makefile-backslash-region): Don't compute
1423 column if we're just deleting the backslashes.
1424 (makefile-fill-paragraph): Use eolp.
1426 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
1428 * autorevert.el (auto-revert-use-notify): Fix docstring.
1430 2013-01-30 Leo Liu <sdl.web@gmail.com>
1432 * imenu.el (imenu--truncate-items): Fix subalist checking (bug#13576).
1434 2013-01-30 Glenn Morris <rgm@gnu.org>
1436 * mouse.el (mouse-drag-line): Avoid pushing same event onto
1437 unread-command-events twice in some cases. This tries to implement
1438 the 2012-07-26 changes in a different way. (Bug#13560)
1440 2013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
1442 * progmodes/python.el
1443 (python-pdbtrack-comint-output-filter-function): Enhancements on
1444 stacktrace detection. (thanks @gnovak)
1446 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
1448 * jit-lock.el (jit-lock-stealth-chunk-start): Don't widen (bug#13542).
1449 (jit-lock-mode, jit-lock-functions, jit-lock-context-unfontify-pos):
1451 (jit-lock-register): Use setq-local.
1453 2013-01-30 Jay Belanger <jay.p.belanger@gmail.com>
1455 * calc-units.el (math-default-units-table): Remove initial value.
1456 (calc-convert-units): Treat expressions where all the units cancel as
1457 if they didn't have units.
1459 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
1461 * net/tramp.el (tramp-process-connection-type): Fix docstring.
1462 (tramp-completion-reread-directory-timeout): Fix type.
1463 (tramp-connection-min-time-diff): New defcustom.
1465 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
1467 2013-01-30 Glenn Morris <rgm@gnu.org>
1469 * imenu.el (imenu-default-create-index-function):
1470 Put back a version of the infinite loop test removed 2013-01-23.
1472 2013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
1474 * progmodes/python.el (python-shell-parse-command):
1475 Find python-shell-interpreter with modified environment.
1477 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
1479 * emacs-lisp/cl.el (cl-set-getf): Add compatibility alias.
1481 2013-01-29 Alan Mackenzie <acm@muc.de>
1483 Amend to fontify /regexp/s in actions correctly.
1484 * cc-awk.el (c-awk-harmless-char-re, c-awk-harmless-string*-re):
1485 (c-awk-harmless-string*-here-re): Braces, parens and semicolons
1486 are no longer included.
1487 (c-awk-harmless-line-char-re, c-awk-harmless-line-string*-re):
1488 What used to be these variables without "-line" in the name.
1489 (c-awk-neutral-re): { is no longer neutral. Escaped newlines now are.
1490 (c-awk-non-arith-op-bra-re): Now also matches {.
1491 (c-awk-pre-exp-alphanum-kwd-re): New regexp to match "print",
1492 "return", and "case".
1493 (c-awk-kwd-regexp-sign-re): New, to match "print", etc., followed
1495 (c-awk-syntax-tablify-/): Check special cases "print /re/", etc.
1496 (c-awk-set-syntax-table-properties): Extend FSM to handle {,},(,),;.
1498 2013-01-29 Michael Albinus <michael.albinus@gmx.de>
1500 * autorevert.el (auto-revert-use-notify):
1501 Use `custom-initialize-default' for initialization. (Bug#13583)
1503 * net/ange-ftp.el (ange-ftp-skip-msgs): Add another message.
1505 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1506 Catch `suppress'. Otherwise, `tramp-run-real-handler' might be called
1507 in `tramp-file-name-handler'.
1508 (tramp-gw-tunnel-method, tramp-gw-socks-method): Declare for
1510 (tramp-compute-multi-hops): Check, whether
1511 `tramp-gw-tunnel-method' and `tramp-gw-socks-method' are non-nil.
1513 2013-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
1515 * hi-lock.el (hi-lock-unface-buffer): Don't assume `face' is a symbol
1518 2013-01-27 Dmitry Gutov <dgutov@yandex.ru>
1520 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove some
1521 checks made superfluous by the \_< operator.
1522 * progmodes/ruby-mode.el (ruby-move-to-block): Work with (maybe
1523 temporarily) broken indentation.
1524 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1525 Highlight nested constants, too. \_< broke that.
1527 2013-01-27 Nobuyoshi Nakada <nobu@ruby-lang.org>
1529 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Use "\\_<"
1532 2013-01-27 Michael Albinus <michael.albinus@gmx.de>
1534 * autorevert.el (auto-revert-handler): Notifications which result
1535 from a saved file shall not be taken into account. (Bug#13557)
1537 2013-01-26 Andreas Schwab <schwab@linux-m68k.org>
1539 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Add optional
1540 parameter BAR-NOT-SYMBOL to control syntax of | for font-lock.
1541 (lisp-mode): Pass t for it. (Bug#13556)
1543 2013-01-25 Alan Mackenzie <acm@muc.de>
1545 AWK Mode: Fix indentation bug at top level. Bug #12274.
1547 * progmodes/cc-engine.el (c-guess-basic-syntax): Move CASE 5P to
1548 just before CASE 5D.
1550 2013-01-25 Dmitry Antipov <dmantipov@yandex.ru>
1552 * net/socks.el (socks-nslookup-host): Use string-to-number.
1554 2013-01-25 Michael Albinus <michael.albinus@gmx.de>
1556 * autorevert.el (auto-revert-remote-files)
1557 (auto-revert-notify-exclude-dir-regexp): New defcustoms.
1558 (auto-revert-notify-enabled, auto-revert-use-notify)
1559 (auto-revert-notify-watch-descriptor-hash-list)
1560 (auto-revert-notify-modified-p, auto-revert-notify-event-p)
1561 (auto-revert-notify-event-descriptor)
1562 (auto-revert-notify-event-action)
1563 (auto-revert-notify-event-file-name): Doc fix.
1564 (global-auto-revert-mode): Reorder checks.
1565 (auto-revert-notify-rm-watch): Respect changed values of
1566 `auto-revert-notify-watch-descriptor-hash-list'.
1567 (auto-revert-notify-add-watch): Check for
1568 `auto-revert-notify-exclude-dir-regexp'. Adapt filters for
1569 `inotify-add-watch'. Watch `default-directory' instead of
1570 `buffer-file-name'. `auto-revert-notify-watch-descriptor-hash-list'
1571 has a changed meaning now. (Bug#13540)
1572 (auto-revert-notify-handler): Change implementation wrt events
1573 returning from a directory.
1574 (auto-revert-handler): Reorder implementation for checks of remote
1576 (auto-revert-buffers): Fix parentheses error.
1578 2013-01-25 Fabián Ezequiel Gallina <fgallina@cuca>
1580 * progmodes/python.el: Enhancements to header documentation about
1581 skeletons. (Bug#5716)
1583 * imenu.el (imenu-default-create-index-function): Remove useless
1584 infinite loop check. (Bug#13438)
1586 2013-01-25 Alan Mackenzie <acm@muc.de>
1588 Fix a bug in the state cache mechanism. Refactor this a bit.
1590 * progmodes/cc-engine.el (c-parse-state-get-strategy): Remove the
1591 `cache-pos' element from the return value.
1592 (c-append-lower-brace-pair-to-state-cache): "Narrow" to end of
1593 buffer to enable proper searching from beyond HERE. Amend the
1594 test for detecting the sought brace pair. Amend the value written
1595 to the "brace desert cache" when the brace isn't found.
1596 (c-remove-stale-state-cache): Rename `good-pos' to `start-point',
1597 and several other variables analogously.
1598 (c-remove-stale-state-cache-backwards): Change `cache-pos' from a
1599 parameter to a locally calculated variable.
1600 (c-parse-state-1): Change the calling conventions to the two
1601 defuns involving `cache-pos'.
1603 2013-01-25 Chong Yidong <cyd@gnu.org>
1605 * xml.el (xml-entity-or-char-ref-re): Fix regexp.
1607 2013-01-24 Aaron Ecay <aaronecay@gmail.com> (tiny change)
1609 * paren.el (show-paren-function): Make sure to set 'priority and
1610 'face only if the overlay does exist.
1612 2013-01-24 Michael Albinus <michael.albinus@gmx.de>
1614 * net/tramp.el (tramp-tramp-file-p): Check, whether NAME is unibyte.
1616 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Do not suppress
1618 (tramp-sh-handle-set-file-acl): Improve error checking.
1620 2013-01-24 Dmitry Antipov <dmantipov@yandex.ru>
1622 * doc-view.el (doc-view-display): Force mode line update until all
1623 document is converted. Suggested by Stefan Monnier (Bug#13164).
1625 2013-01-23 Bastien Guerry <bzg@gnu.org>
1627 * paren.el (show-paren-function): Make sure an overlay exists
1628 before trying to delete it. Also use `pos' as a position only
1629 when it is an integer.
1631 2013-01-23 Dmitry Antipov <dmantipov@yandex.ru>
1633 * play/gametree.el (gametree-break-line-here): Use point-marker.
1635 2013-01-22 Michael Albinus <michael.albinus@gmx.de>
1637 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
1638 Mark descriptive parts with `display' property.
1640 2013-01-21 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1642 * textmodes/ispell.el (ispell-hunspell-dictionary-equivs-alist):
1643 New variable to map standard dict names to hunspell ones.
1644 (ispell-set-spellchecker-params): Make sure specific dict names
1645 are used for standard dicts with hunspell.
1647 2013-01-21 Tassilo Horn <tsdh@gnu.org>
1649 * textmodes/reftex-cite.el (reftex-format-citation): Add format
1650 chars for note (%N) and url (%U).
1651 * textmodes/reftex-vars.el (reftex-cite-format): Document them.
1653 2013-01-21 Juri Linkov <juri@jurta.org>
1655 * frame.el: Bind `f10' in `esc-map' to `toggle-frame-maximized'
1656 in addition to existing separate binding `meta f10' in `global-map'.
1659 2013-01-21 Michael Albinus <michael.albinus@gmx.de>
1661 Improve XEmacs compatibility.
1663 * net/tramp.el (tramp-replace-environment-variables): Make it a defun.
1665 * net/tramp-adb.el (top): Require `time-date'.
1666 (tramp-adb-ls-output-time-less-p): Use `tramp-time-less-p'.
1667 (tramp-adb-handle-copy-file, tramp-adb-handle-rename-file):
1668 Use `tramp-file-name-handler'.
1669 (tramp-adb-maybe-open-connection):
1670 Use `tramp-compat-set-process-query-on-exit-flag'.
1672 * net/tramp-sh.el (tramp-sh-handle-file-acl):
1673 Use `tramp-compat-funcall'.
1675 * net/tramp-smb.el (tramp-smb-handle-file-acl): Use `looking-at' and
1676 `tramp-compat-funcall'.
1678 2013-01-21 Jürgen Hötzel <juergen@archlinux.org>
1680 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Complete
1681 reimplementation using "adb shell command ..." instead of running
1682 remote shell interactively.
1684 2013-01-20 Glenn Morris <rgm@gnu.org>
1686 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
1687 Add native profiler menu entries.
1689 * profiler.el (profiler-running-p): New function.
1690 (profiler-cpu-profile): Use profiler-running-p.
1691 (profiler-report-mode-map): Add some more menu entries.
1693 2013-01-19 Glenn Morris <rgm@gnu.org>
1695 * mail/unrmail.el (unrmail): Do not mangle the mbox From line;
1696 fixes 2012-12-07 change. (Bug#13499)
1698 2013-01-19 Leo Liu <sdl.web@gmail.com>
1700 * dired.el (dired-get-marked-files): Prune erroneous values due to
1701 last change. (Bug#13152)
1703 2013-01-19 Glenn Morris <rgm@gnu.org>
1705 * progmodes/etags.el (tags-table-check-computed-list):
1706 Preserve point in tags buffer. (Bug#13412)
1708 * emacs-lisp/lisp-mode.el (lisp-indent-function): Doc fix.
1710 2013-01-19 Christian Wittern <cwittern@gmail.com> (tiny change)
1711 Chong Yidong <cyd@gnu.org>
1713 * image-mode.el (image-next-file, image-previous-file):
1714 New commands (Bug#8453).
1715 (image-mode-map): Bind them to n and p.
1716 (image-mode--images-in-directory): New helper function.
1718 2013-01-19 Chong Yidong <cyd@gnu.org>
1720 * image-mode.el (image-mode-fit-frame): Add a frame argument.
1721 Suggested by Drew Adams (Bug#7730). Handle window decorations;
1722 save and restore the old window configuration.
1724 2013-01-18 Leo Liu <sdl.web@gmail.com>
1726 * progmodes/js.el: Tweak autoload cookie for alias.
1728 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
1730 * autorevert.el (auto-revert-notify-watch-descriptor): Make it
1731 buffer local, again. This was lost with the fix on 2013-01-12.
1733 2013-01-17 Jürgen Hötzel <juergen@archlinux.org>
1735 * eshell/esh-util.el (eshell-path-env): Make it buffer local, in
1736 order to support several eshell buffers in parallel.
1738 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
1740 * autorevert.el (auto-revert-use-notify): In the :set function, do
1741 not modify `kill-buffer-hook'.
1742 (auto-revert-notify-rm-watch):
1743 Remove `auto-revert-notify-rm-watch' from `kill-buffer-hook'.
1744 (auto-revert-notify-add-watch): Do not call
1745 `auto-revert-notify-rm-watch', but add it to a buffer local
1748 2013-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
1750 * emacs-lisp/trace.el (trace--read-args): Use a closure and an honest
1751 call to `eval' rather than a backquoted lambda.
1753 2013-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
1755 * emacs-lisp/nadvice.el (advice--tweak): Make it possible for `tweak'
1756 to return an explicit nil.
1757 (advice--remove-function): Change accordingly.
1759 * emacs-lisp/advice.el (ad-preactivate-advice): Adjust the cleanup to
1760 the use of nadvice.el.
1762 * progmodes/which-func.el (which-function): Silence imenu errors
1765 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
1767 * progmodes/sql.el: (sql-imenu-generic-expression):
1768 (sql-mode-font-lock-object-name): Match schema qualified names.
1769 (sql-connect): Use string keys.
1770 (sql-product-interactive): Wait for interpreter prompt.
1771 (sql-comint-oracle): Set process coding based on NLS_LANG.
1773 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
1775 * progmodes/sql.el (sql-output-to-send): Remove, unused.
1776 (sql-interactive-remove-continuation-prompt):
1777 (sql-send-magic-terminator, sql-interactive-mode): Remove references.
1779 2013-01-14 Leo Liu <sdl.web@gmail.com>
1781 * calendar/calendar.el (calendar-redraw): Sync window-point and point.
1784 2013-01-14 Glenn Morris <rgm@gnu.org>
1786 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1787 Fix interpretation of gnu line.col1-col2 format. (Bug#13335)
1789 2013-01-13 Fabián Ezequiel Gallina <fgallina@cuca>
1791 * progmodes/python.el (python-nav-end-of-statement):
1792 Fix cornercase when handling multiline strings.
1794 2013-01-13 Richard Stallman <rms@gnu.org>
1796 * mail/sendmail.el (mail-position-on-field): Add doc string.
1798 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
1799 Get current message boundaries and pass them to
1800 message-forward-make-body-mime. Minor style changes.
1802 2013-01-13 Eli Zaretskii <eliz@gnu.org>
1804 * cus-start.el (all): Avoid warnings about
1805 scroll-bar-adjust-thumb-portion on platforms where it is not defined.
1807 2013-01-11 Jan Djärv <jan.h.d@swipnet.se>
1809 * cus-start.el (all): Add scroll-bar-adjust-thumb-portion.
1811 2013-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
1813 * jit-lock.el (jit-lock-debug-mode): New minor mode.
1814 (jit-lock--debug-fontifying): New var.
1815 (jit-lock--debug-fontify): New function.
1816 * subr.el (condition-case-unless-debug): Don't prevent catching the
1817 error, just let the debbugger run.
1818 * emacs-lisp/timer.el (timer-event-handler): Don't prevent debugging
1819 timer code and don't drop errors silently.
1821 2013-01-12 Michael Albinus <michael.albinus@gmx.de>
1823 * autorevert.el (auto-revert-notify-watch-descriptor): Give it
1824 `permanent-local' property.
1825 (auto-revert-notify-handler): Use `file-equal-p'.
1827 2013-01-12 Eli Zaretskii <eliz@gnu.org>
1829 * autorevert.el (auto-revert-notify-handler): Fix filtering of
1830 file notification by ACTION. For filtering by file name, compare
1831 only the non-directory part of the file name.
1833 2013-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
1835 * autorevert.el: Use cl-lib instead of cl.
1837 * vc/vc-bzr.el (vc-bzr--sanitize-header): New function (bug#13307).
1838 (vc-bzr-checkin): Use it.
1839 * vc/log-edit.el (log-edit-extract-headers): Don't presume FUNCTION
1840 will preserve match-data.
1842 2013-01-11 Felix H. Dahlke <fhd@ubercode.de>
1844 * progmodes/js.el: Fix multiline declarations's indentation (bug#8576).
1845 (js--declaration-keyword-re): New var.
1846 (js--multi-line-declaration-indentation): New function.
1847 (js--proper-indentation): Use it.
1849 2013-01-11 Aaron S. Hawley <Aaron.Hawley@vtinfo.com>
1851 * calc/calc.el (calc-highlight-selections-with-faces)
1853 * comint.el (comint-history-isearch-message):
1854 * emacs-lisp/edebug.el (edebug-read, edebug-eval-defun):
1855 * ffap.el (ffap-string-at-point-region, ffap-next)
1856 (ffap-string-at-point, ffap-string-around)
1857 (ffap-copy-string-as-kill, ffap-highlight-overlay)
1859 * font-lock.el (font-lock-keywords-alist)
1860 (font-lock-removed-keywords-alist):
1861 * help-mode.el (help-xref-symbol-regexp):
1862 * info.el (Info-find-emacs-command-nodes):
1863 * international/mule.el (add-to-coding-system-list):
1864 * isearch.el (isearch-message-function, isearch-fail-pos):
1865 * misearch.el (multi-isearch-next-buffer-function):
1866 * newcomment.el (comment-box):
1867 * printing.el (pr-txt-printer-alist, pr-ps-printer-alist)
1868 (pr-setting-database):
1869 * progmodes/cc-fonts.el (c-font-lock-keywords-3)
1870 (c++-font-lock-keywords-3, objc-font-lock-keywords-3)
1871 (java-font-lock-keywords-3, idl-font-lock-keywords-3)
1872 (pike-font-lock-keywords-3):
1873 * progmodes/compile.el (compile):
1874 * progmodes/etags.el (tags-table-files)
1875 (tags-table-files-function, tags-included-tables-function):
1876 * progmodes/gdb-mi.el (gdb, gdb-setup-windows)
1877 (gdb-restore-windows):
1878 * ps-print.el (ps-even-or-odd-pages, ps-spool-buffer-with-faces)
1879 (ps-n-up-filling-database):
1880 * server.el (server-buffer, server-log):
1881 * simple.el (newline, delete-backward-char, delete-forward-char)
1882 (minibuffer-history-isearch-message, kill-line, track-eol)
1883 (temporary-goal-column):
1884 * textmodes/flyspell.el (flyspell-mark-duplications-flag)
1885 (flyspell-default-deplacement-commands):
1886 * textmodes/ispell.el (ispell-accept-output):
1887 * textmodes/sgml-mode.el (html-tag-help):
1888 * vc/compare-w.el (compare-ignore-whitespace)
1889 (compare-ignore-case, compare-windows-dehighlight):
1890 * vc/diff.el (diff):
1891 * whitespace.el (whitespace-point)
1892 (whitespace-font-lock-refontify, whitespace-bob-marker)
1893 (whitespace-eob-marker): Fix ambiguous doc string cross-reference(s).
1895 2013-01-11 Michael Albinus <michael.albinus@gmx.de>
1897 * autorevert.el (top): Require 'cl in order to pacify byte compiler.
1898 (auto-revert-notify-rm-watch): Ignore errors.
1899 (auto-revert-notify-add-watch): Ignore errors. Use '(modify) for
1900 inotify, and '(size last-write-time) for w32notify.
1901 Set buffer-local `auto-revert-use-notify' to nil when adding a file
1902 watch fails - this is a fallback to the file modification check.
1903 (auto-revert-notify-event-p, auto-revert-notify-event-descriptor)
1904 (auto-revert-notify-event-action)
1905 (auto-revert-notify-event-file-name): New defuns.
1906 (auto-revert-notify-handler): Use them. Implement first
1907 plausibility checks.
1908 (auto-revert-handler): Handle also `auto-revert-tail-mode'.
1910 2013-01-11 Julien Danjou <julien@danjou.info>
1912 * color.el (color-rgb-to-hsv): Fix conversion computing in case min and
1913 max are almost equal. Also return the correct value for V which is
1914 already between 0 and 1.
1916 2013-01-11 Dmitry Antipov <dmantipov@yandex.ru>
1918 * emacs-lisp/ert.el (ert-run-test): Use point-max-marker.
1920 2013-01-11 Eli Zaretskii <eliz@gnu.org>
1922 * autorevert.el (auto-revert-notify-rm-watch)
1923 (auto-revert-notify-add-watch): Fix typos in w32notify function
1926 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
1928 * autorevert.el (auto-revert-notify-enabled): Move up.
1929 (auto-revert-use-notify): New defcustom.
1930 (auto-revert-mode, global-auto-revert-mode)
1931 (auto-revert-notify-add-watch, auto-revert-handler)
1932 (auto-revert-buffers): Use `auto-revert-use-notify' instead of
1933 `auto-revert-notify-enabled'.
1935 2013-01-10 Elias Pipping <pipping@exherbo.org>
1937 * files.el (auto-mode-alist): Use doc-view for djvu files (bug#13164).
1938 * doc-view.el (doc-view-document->bitmap):
1939 Use doc-view-single-page-converter-function instead of
1940 single-page-converter arg; adjust callers.
1942 2013-01-10 Feng Li <fengli@gmail.com> (tiny change)
1944 * progmodes/which-func.el (which-function): Understand Semantic's use
1945 of overlays in imenu--index-alist.
1947 2013-01-10 Wolfgang Jenkner <wjenkner@inode.at>
1949 * man.el: Handle different "man -k" behaviors (bug#13160). Use utf-8.
1950 (Man-man-k-use-anchor): New var.
1951 (Man-parse-man-k): New function.
1952 (Man-completion-table): Use it.
1953 (man): Flush the completion cache between uses.
1955 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
1957 * autorevert.el: Add file watch support.
1958 (auto-revert-notify-enabled): New defconst.
1959 (auto-revert-notify-watch-descriptor-hash-list)
1960 (auto-revert-notify-watch-descriptor)
1961 (auto-revert-notify-modified-p): New defvars.
1962 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
1963 (auto-revert-notify-handler): New defuns.
1964 (auto-revert-mode, global-auto-revert-mode): Remove file watches
1965 when mode is disabled.
1966 (auto-revert-handler): Check for `auto-revert-notify-modified-p'.
1967 (auto-revert-buffers): Add file watches for active buffers.
1969 2013-01-10 Dmitry Antipov <dmantipov@yandex.ru>
1971 * cus-start.el (toplevel): Only allow float values for
1972 scroll-up-aggressively and scroll-down-aggressively.
1973 Allow any number for line-spacing.
1975 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
1977 * doc-view.el (doc-view-pdfdraw-program): Allow "pdfdraw" name.
1978 (doc-view-pdf->png-converter-function): Use mupdf if available.
1979 (doc-view-djvu->png-converter-function)
1980 (doc-view-ps->png-converter-function): Remove.
1981 (doc-view--image-file-pattern): Replace doc-view--image-file-extension.
1982 (doc-view-goto-page, doc-view-convert-current-doc, doc-view-display)
1983 (doc-view-already-converted-p): Adjust accordingly.
1984 (doc-view-mode-p): Simplify.
1985 (doc-view-enlarge): Use setq-local.
1986 (doc-view-pdf->png-converter-ghostscript)
1987 (doc-view-djvu->png-converter-ddjvu)
1988 (doc-view-pdf->png-converter-mupdf): Rework to call
1989 doc-view-start-process directly.
1990 (doc-view-pdf/ps->png): Simplify accordingly.
1991 (doc-view-pdf->png-1, doc-view-djvu->png-1): Remove.
1992 (doc-view-document->bitmap): Rename from doc-view-document->png.
1993 (doc-view-convert-current-doc): Merge pdf and djvu cases.
1994 (doc-view-set-slice-from-bounding-box): Fix completion table.
1995 (doc-view-mode): Use add-hook for after-revert-hook.
1997 2013-01-10 Glenn Morris <rgm@gnu.org>
1999 * emacs-lisp/authors.el (authors-ignored-files)
2000 (authors-valid-file-names, authors-renamed-files-alist):
2001 Add some more entries.
2003 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
2005 * image-mode.el (image-mode-winprops): Don't throw away the fallback
2006 `t' pseudo-window entry.
2008 2013-01-10 Alan Mackenzie <acm@muc.de>
2010 Fix bugs in the c-parse-state mechanism. Reuse some markers
2011 instead of continually generating new ones.
2013 * progmodes/cc-engine.el (c-state-old-cpp-beg-marker)
2014 (c-state-old-cpp-end-marker): New variables.
2015 (c-append-lower-brace-pair-to-state-cache): Start a backward
2016 search for "}" definitively outside CPP constructs.
2017 (c-remove-stale-state-cache): Inform the caller of a need to
2018 search back for a brace pair in certain circumstances.
2019 (c-state-maybe-marker): New macro.
2020 (c-parse-state): Reuse markers when appropriate.
2022 2013-01-10 Glenn Morris <rgm@gnu.org>
2024 * simple.el (execute-extended-command): Doc fix.
2025 Bind prefix-arg around read-extended-command, for prompt. (Bug#13395)
2027 2013-01-10 Chong Yidong <cyd@gnu.org>
2029 * faces.el (read-face-name): Doc fix.
2031 2013-01-10 Roland Winkler <winkler@gnu.org>
2033 * emacs-lisp/crm.el: Allow any regexp for separators.
2034 (crm-default-separator): All spaces around the default comma separator.
2035 (crm--completion-command): New macro.
2036 (crm-completion-help, crm-complete, crm-complete-word): Use it.
2037 (crm-complete-and-exit): Handle non-single-char separators.
2039 2013-01-09 Elias Pipping <pipping@lavabit.com>
2041 * doc-view.el: Add support for DjVu (bug#13164).
2042 (doc-view-djvu->png-converter-function): New config var.
2043 (doc-view-single-page-converter-function, doc-view--image-type)
2044 (doc-view--image-file-extension): New vars.
2045 (doc-view-mode): Initialize them.
2046 (doc-view-goto-page): Use them.
2047 (doc-view-mode-p): Add support for ddjvu.
2048 (doc-view-djvu->png-converter-ddjvu, doc-view-djvu->png-1)
2049 (doc-view-set-up-single-converter): New funs.
2050 (doc-view-pdf/ps->png): Extend for djvu.
2051 (doc-view-document->png): Rename from doc-view-pdf->png.
2052 (doc-view-convert-current-doc): Handle djvu.
2053 (doc-view-insert-image, doc-view-display)
2054 (doc-view-already-converted-p): Don't hardcode png.
2055 (doc-view-set-doc-type): Recognize djvu docs.
2057 2013-01-09 Elias Pipping <pipping@lavabit.com>
2059 * doc-view.el: Add support for mupdf converter (bug#13164).
2060 (doc-view-pdfdraw-program, doc-view-pdf->png-converter-function)
2061 (doc-view-ps->png-converter-function): New config vars.
2062 (doc-view-pdf->png-converter-ghostscript)
2063 (doc-view-ps->png-converter-ghostscript)
2064 (doc-view-pdf->png-converter-mupdf): New functions.
2065 (doc-view-pdf/ps->png, doc-view-pdf->png-1): Use them.
2067 2013-01-09 Jürgen Hötzel <juergen@archlinux.org>
2069 * net/tramp.el (tramp-eshell-directory-change): Check remote-path
2070 first in session cache: When `tramp-own-remote-path' is in
2071 `tramp-remote-path', the remote path is only set in the session
2074 2013-01-09 Glenn Morris <rgm@gnu.org>
2076 * emacs-lisp/trace.el (trace-function-foreground)
2077 (trace-function-background): Doc fix.
2079 2013-01-09 Juri Linkov <juri@jurta.org>
2081 * international/mule-cmds.el (read-char-by-name): Move let-binding
2082 of completion-ignore-case around completing-read to fix regression
2083 exhibited by the test case `C-x 8 RET *acc TAB' and caused by
2084 `string-match-p' using the nil value of `case-fold-search' and
2085 `completion-ignore-case' in `completion-pcm--all-completions'.
2088 2013-01-09 Glenn Morris <rgm@gnu.org>
2090 * progmodes/compile.el (compilation-parse-errors):
2091 Fix typo. (Bug#13369)
2093 2013-01-09 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
2095 * comint.el (comint-send-input): Check size of buffer before
2096 waiting for process output, in case already accepted. (Bug#13290)
2098 2013-01-09 Paul Eggert <eggert@cs.ucla.edu>
2101 * net/tramp-adb.el (tramp-adb-get-toolbox):
2102 Fix misspelling of 'unknown'.
2104 2013-01-08 Juri Linkov <juri@jurta.org>
2106 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
2107 * progmodes/flymake.el (flymake-errline, flymake-warnline):
2108 Use underline style wave on terminals that support it. (Bug#13000)
2110 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
2112 * emacs-lisp/pcase.el (pcase--split-equal): Also take advantage if
2113 the predicate returns nil.
2115 * simple.el: Use lexical-binding.
2116 (primitive-undo): Use pcase.
2117 (minibuffer-history-isearch-push-state): Use a closure.
2119 2013-01-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
2121 * simple.el (primitive-undo): Move from undo.c.
2123 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
2125 * vc/pcvs.el (cvs-cleanup-collection): Extend meaning of `rm-handled'.
2126 (cvs-mode-remove-handled): Use it (bug#13380).
2128 * emacs-lisp/nadvice.el (advice--tweak): New function.
2129 (advice--remove-function, advice--subst-main): Use it.
2131 * emacs-lisp/advice.el: Update commentary.
2133 2013-01-08 Michael Albinus <michael.albinus@gmx.de>
2135 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
2136 Remove spurious entry.
2138 2013-01-08 Glenn Morris <rgm@gnu.org>
2140 * net/tramp.el (tramp-default-host-alist): Add :version.
2142 2013-01-08 Juri Linkov <juri@jurta.org>
2144 * info.el (Info-read-node-name-2): Don't duplicate suffixes for
2145 single completion. (Bug#12456)
2146 (info--manual-names): Expand node completions into an explicit list
2147 before appending it to another list. Filter out internal buffers
2148 with the leading space in the buffer name. (Bug#10771)
2150 2013-01-08 Juri Linkov <juri@jurta.org>
2152 * info.el (Info-read-node-name-1): Allow empty node name in (FILENAME)
2153 that defaults to the Top node.
2154 (Info-goto-node, Info-read-node-name): Doc fix to mention that
2155 the short format (FILENAME) goes to the Top node.
2156 (Info-build-node-completions): Rename arg `file' to `filename'.
2159 2013-01-07 Bastien Guerry <bzg@gnu.org>
2161 * menu-bar.el (menu-bar-search-documentation-menu):
2162 Use `apropos-user-option' and fix the help message.
2164 2013-01-07 Bastien Guerry <bzg@gnu.org>
2166 * apropos.el (apropos-do-all): Update docstring.
2167 (apropos-user-option-button): New face.
2168 (apropos-user-option): Rename from `apropos-variable' and update
2170 (apropos-variable): Rewrite, now show all variables by default.
2171 (apropos-print): Mention "User option" instead of "Variable" when
2172 printing doc for user options. (Bug#13276)
2174 2013-01-07 Jürgen Hötzel <juergen@archlinux.org>
2176 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
2177 Handle filename correctly, when parsing "source -> target" symlink
2179 (tramp-adb-handle-set-file-times): New defun.
2181 2013-01-07 Stefan Monnier <monnier@iro.umontreal.ca>
2183 * emacs-lisp/advice.el (ad-activate-advised-definition): Refresh the
2184 advice list when the interactive-spec of ad-Advice-* changes.
2186 2013-01-07 Katsumi Yamaoka <yamaoka@jpl.org>
2188 * wid-edit.el (widget-default-get): Work for inlined elements.
2191 2013-01-07 Michael Albinus <michael.albinus@gmx.de>
2193 * net/tramp.el (tramp-default-host-alist): New defcustom.
2194 (tramp-find-host): Use it.
2195 (tramp-eshell-directory-change): Move from tramp-sh.el. Add to
2196 `eshell-directory-change-hook'.
2198 * net/tramp-adb.el (top): Add adb specific entry in
2199 `tramp-default-host-alist'.
2200 (tramp-adb-file-name-host): Remove function.
2201 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
2202 Use `tramp-file-name-host' instead of `tramp-adb-file-name-host'.
2204 * net/tramp-sh.el: Move eshell integration code to tramp.el.
2206 2013-01-06 Jürgen Hötzel <juergen@archlinux.org>
2208 * net/tramp-adb.el (tramp-methods): Add `tramp-tmpdir' entry.
2210 2013-01-06 Michael Albinus <michael.albinus@gmx.de>
2212 * net/tramp-adb.el (tramp-adb-ls-toolbox-regexp): The file size can
2213 consist of more than one digit.
2214 (tramp-adb-file-name-handler-alist):
2215 Use `tramp-handle-file-exists-p' consistently.
2216 (tramp-adb-file-name-handler): Don't tweak `tramp-default-host'.
2217 (tramp-adb-handle-file-exists-p): Remove function.
2218 (tramp-adb-file-name-host): New defun.
2219 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
2221 (tramp-adb-maybe-open-connection): Set "remote-path" property.
2223 2013-01-06 Chong Yidong <cyd@gnu.org>
2225 * vc/vc.el (vc-next-action): Detect buffer modifications
2226 conflicting with locking VCS operation (Bug#11490).
2228 * vc/vc-hooks.el (vc-after-save): DTRT for locking VCSes.
2230 2013-01-05 Michael Albinus <michael.albinus@gmx.de>
2232 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
2233 (tramp-adb-handle-directory-files-and-attributes): Fix typos.
2235 2013-01-05 Jürgen Hötzel <juergen@archlinux.org>
2237 * net/tramp-adb.el (tramp-adb-handle-file-attributes): More robust
2238 parsing of ls output using regular expression (handle filenames
2239 with spaces). Use virtual device number.
2240 (tramp-do-parse-file-attributes-with-ls): New defun (Code
2243 2013-01-04 Daiki Ueno <ueno@gnu.org>
2245 * epg.el: Silence byte-compiler warnings.
2246 (epg--start): Use delete-char instead of delete-backward-char.
2247 (epg-wait-for-completion): Pass FRAME arg to redraw-frame.
2249 2013-01-04 Daiki Ueno <ueno@gnu.org>
2251 * epg.el (epg--start): Don't call "tty" program on W32 platforms.
2252 Suggested by Eli Zaretskii <eliz@gnu.org>.
2254 2013-01-04 Michael Albinus <michael.albinus@gmx.de>
2256 * net/tramp-sh.el (tramp-set-file-uid-gid): UID and GID must be
2257 non-negative integers. Otherwise, the default values are used.
2258 (tramp-convert-file-attributes): Convert uid and gid to integers.
2260 2013-01-04 Glenn Morris <rgm@gnu.org>
2262 * term.el (term-handle-colors-array): Ensure face attributes
2263 are fully specified, not nil. (Bug#13337)
2265 * term.el (term-default-fg-color, term-default-bg-color):
2268 * progmodes/etags.el (tags-compression-info-list): Doc fix.
2269 (tag-find-file-of-tag-noselect): Check auto-compression-mode
2270 rather than 'jka-compr being loaded. (Bug#13338)
2272 2013-01-04 Wesley Dawson <whd@lavabit.com> (tiny change)
2274 * icomplete.el (icomplete-completions):
2275 Honor icomplete-prospects-height once more following
2276 2012-11-29 changes. (Bug#13224)
2278 2013-01-04 Stefan Monnier <monnier@iro.umontreal.ca>
2280 * subr.el (internal--called-interactively-p--get-frame): Find aliases
2281 of called-interactively-p as well (bug#13237).
2283 * view.el (view--enable, view--disable): Rename from view-mode-enable
2284 and view-mode-disable and assume it's called from view-mode.
2285 (view-mode-enable, view-mode-disable): Redefine as obsolete
2286 compatibility layer above view-mode.
2287 (view-mode-enter): Call `view-mode'.
2289 * files.el (after-find-file): Call `view-mode'.
2291 * doc-view.el (doc-view-scale-internally): New var.
2292 (doc-view-enlarge, doc-view-insert-image): Obey it.
2294 2013-01-03 Daiki Ueno <ueno@gnu.org>
2296 * epg.el (epg--start): Ignore errors when /dev/fd/0 does not
2299 2013-01-03 Glenn Morris <rgm@gnu.org>
2301 * mail/rmail.el (rmail-set-header-1): Ignore case.
2302 Handle multi-line headers. (Bug#13330)
2304 * progmodes/make-mode.el (makefile-fill-paragraph): Add doc.
2305 Handle paragraph starting at beginning of buffer.
2307 * subr.el (eval-after-load): Don't purecopy the form, so that it
2308 can be nconc'd later on; reverts 2009-11-11 change. (Bug#13331)
2310 * emacs-lisp/byte-run.el (defun): Place cl declarations
2311 after any interactive spec. (Bug#13265)
2313 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
2315 * emacs-lisp/byte-run.el (defmacro): Use same argument parsing as
2316 defun. Don't check for DECL if DOCSTRING isn't a string.
2319 2013-01-02 Glenn Morris <rgm@gnu.org>
2321 * eshell/em-cmpl.el (eshell-pcomplete):
2322 More thoroughly imitate pcomplete. (Bug#13293)
2324 * files.el (parse-colon-path): Doc fix. (Bug#12351)
2325 Return nil for empty path elements. (Bug#13296)
2327 2013-01-02 Fabián Ezequiel Gallina <fgallina@cuca>
2329 * progmodes/python.el (python-nav-end-of-statement): Rewrite in
2330 order to improve efficiency (Based on Daniel Colascione's
2331 <dancol@dancol.org> patch). (Bug#13182)
2333 2013-01-02 Glenn Morris <rgm@gnu.org>
2335 * vc/log-edit.el (log-edit-header-contents-regexp): Add doc string.
2337 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
2339 * emacs-lisp/byte-run.el (defmacro): Don't lose final nil if
2340 neither DOCSTRING nor DECL was given. (Bug#13316)
2342 2013-01-02 Michael Albinus <michael.albinus@gmx.de>
2344 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Add argument to
2346 (tramp-do-copy-or-rename-file): Ignore errors when calling
2347 `set-file-extended-attributes'.
2349 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
2350 Add handler for `file-acl'.
2351 (tramp-smb-handle-file-acl): New defun.
2353 2013-01-02 Jay Belanger <jay.p.belanger@gmail.com>
2355 * calc/README: Mention ISO 8601 week-numbering dates.
2357 2013-01-01 Martin Rudalics <rudalics@gmx.at>
2359 * view.el (view-mode-enable): New argument run-view-mode-hook.
2360 Run view-mode-hook only when it's non-nil (Bug#13315).
2361 (view-mode-enter): Call view-mode-enable with run-view-mode-hook
2364 2012-12-31 Jürgen Hötzel <juergen@archlinux.org>
2366 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Handle errors
2367 (No device connected, invalid device name). (Bug #13299)
2369 2012-12-31 Martin Rudalics <rudalics@gmx.at>
2371 * window.el (window-resizable--p): Rename to window-resizable-p.
2372 (window-resize-no-error): New function.
2374 * mail/rmail.el (rmail-maybe-display-summary): Restore behavior
2375 broken in fix from 2012-12-28.
2377 2012-12-31 Stefan Monnier <monnier@iro.umontreal.ca>
2379 * subr.el (special-form-p): Don't signal errors on undef aliases.
2381 2012-12-31 Jay Belanger <jay.p.belanger@gmail.com>
2383 * calc/calc-forms.el (math-parse-date): Try using
2384 `math-parse-iso-date' when it looks like it might be needed.
2385 Allow times of 24:00.
2386 (math-parse-date-validate, math-parse-iso-date-validate): Allow times
2389 2012-12-30 Glenn Morris <rgm@gnu.org>
2391 * net/mairix.el (rmail, rmail-summary-displayed, rmail-summary):
2392 Remove unnecessary/buggy autoloads (missing interactive). (Bug#13294)
2393 (rmail-summary-displayed, rmail-summary): Declare.
2394 (mairix-rmail-display): Just require rmail.
2396 2012-12-30 Chong Yidong <cyd@gnu.org>
2398 * emacs-lisp/package.el (package-untar-buffer): Improve integrity
2399 check for the tarball contents.
2401 2012-12-30 Matt Fidler <matt.fidler@alcon.com> (tiny change)
2403 * emacs-lisp/package.el (package-untar-buffer): Handle problematic
2404 tarfile content listings (Bug#13136).
2406 2012-12-30 Mark Lillibridge <mark.lillibridge@hp.com>
2408 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
2409 Insert the undecoded text of the message being forwarded. (Bug#9521)
2411 2012-12-30 Michael Albinus <michael.albinus@gmx.de>
2413 * net/tramp-sh.el (tramp-set-file-uid-gid): Convert UID and GID to
2414 integers, if they are real numbers. (Bug#13282)
2416 * net/tramp-sh.el (tramp-sh-handle-set-file-selinux-context):
2417 Return `t' on success.
2419 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
2420 Add handler for `set-file-selinux-context'.
2422 2012-12-29 Michael Albinus <michael.albinus@gmx.de>
2424 * net/tramp-sh.el (tramp-sh-handle-file-acl): Suppress basic attributes.
2425 (tramp-sh-handle-set-file-acl): Return `t' on success.
2427 2012-12-29 Eli Zaretskii <eliz@gnu.org>
2429 * files.el (backup-buffer-copy, basic-save-buffer-2):
2430 If set-file-extended-attributes fails, fall back on set-file-modes
2431 instead of signaling an error. (Bug#13298)
2432 (basic-save-buffer): Likewise.
2434 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
2436 * progmodes/python.el: Support other commands triggering
2437 python-indent-line so indentation cycling continues to work.
2438 (python-indent-trigger-commands): New defcustom.
2439 (python-indent-line): Use it.
2441 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
2443 * progmodes/python.el (python-shell-send-region): Add blank lines
2444 for non sent code so backtraces remain correct.
2446 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
2448 * progmodes/python.el: Remove cl dependency.
2449 (python-syntax-count-quotes): Replace incf call.
2450 (python-fill-string): Replace setf call.
2452 2012-12-29 Damien Cassou <damien.cassou@gmail.com>
2454 * info.el (info-other-window): New arg, for consistency with info.
2456 2012-12-28 Martin Rudalics <rudalics@gmx.at>
2458 * mail/rmail.el (rmail-maybe-display-summary):
2459 Rewrite (Bug#13066).
2461 2012-12-28 Andreas Schwab <schwab@linux-m68k.org>
2463 * epg.el (epg--start): Modify process-environment locally.
2465 2012-12-28 Daiki Ueno <ueno@gnu.org>
2467 * epg.el: Support pinentry-curses.
2468 Suggested by Werner Koch in
2469 <http://lists.gnu.org/archive/html/emacs-devel/2007-02/msg00755.html>.
2470 (epg-agent-file, epg-agent-mtime): New variable.
2471 (epg--start): Record the modified time of gpg-agent socket file,
2472 to restore Emacs frame after pinentry-curses termination.
2473 (epg-wait-for-completion): Restore Emacs frame here.
2475 2012-12-27 Juri Linkov <juri@jurta.org>
2477 * info.el (Info-file-completions): New variable.
2478 (Info-read-node-name-1): Complete node names in the Info file
2479 when a file name is given. Call `Info-build-node-completions'
2481 (Info-build-node-completions): Add new arg `file'. When it is
2482 non-nil, visit it in a temporary buffer and cache its completions in
2483 `Info-current-file-completions'. Move most of the function body to
2484 `Info-build-node-completions-1'.
2485 (Info-build-node-completions-1): New function with the body from
2486 `Info-build-node-completions'. (Bug#12456)
2488 2012-12-27 Juri Linkov <juri@jurta.org>
2490 * frame.el (frame-maximization-style): Remove user option.
2491 (cycle-frame-maximized): Remove function.
2492 (toggle-frame-maximized): Rewrite and bind to M-<f10>.
2493 (toggle-frame-fullscreen): New command bound to <f11> instead of
2494 `toggle-frame-maximized'.
2495 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00703.html
2497 2012-12-27 Michael Albinus <michael.albinus@gmx.de>
2499 * net/tramp.el (tramp-handle-file-accessible-directory-p): New defun.
2501 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
2502 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
2503 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
2504 for `file-accessible-directory-p'. (Bug#13275)
2506 2012-12-27 Sam Steingold <sds@gnu.org>
2508 * progmodes/cperl-mode.el (cperl-calculate-indent): Do not stagger
2509 continuations, see <http://stackoverflow.com/questions/3582436>.
2511 2012-12-27 Dmitry Gutov <dgutov@yandex.ru>
2513 * progmodes/ruby-mode.el (ruby-indent-beg-re): Only allow "class",
2514 "module" and "def" to have indentation before them.
2515 Regression from 2012-09-07T04:15:56Z!dgutov@yandex.ru (see the new test).
2517 * progmodes/ruby-mode.el: Bump the version to 1.2 (Bug#13200).
2519 2012-12-27 Alan Mackenzie <acm@muc.de>
2521 Speed up fontification where there's large brace blocks.
2522 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Add a limit
2523 to a call of c-beginning-of-decl-1.
2525 2012-12-27 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
2527 * comint.el (comint-adjust-window-point): New function.
2528 (comint-postoutput-scroll-to-bottom):
2529 Call comint-adjust-window-point (Bug#13248).
2531 2012-12-26 Dmitry Gutov <dgutov@yandex.ru>
2533 * progmodes/ruby-mode.el (auto-mode-alist): `purecopy' the
2535 (auto-mode-alist): Associate .gemspec files with ruby-mode
2536 (https://bugs.ruby-lang.org/issues/5453).
2538 2012-12-26 Jürgen Hötzel <juergen@archlinux.org>
2540 * net/tramp-adb.el (tramp-adb-get-ls-command): New defun.
2541 Suppress coloring, if possible (required for BusyBox based systems like
2543 (tramp-adb-handle-file-attributes)
2544 (tramp-adb-handle-insert-directory)
2545 (tramp-adb-handle-file-name-all-completions): Use it.
2546 (tramp-adb-get-toolbox): New defun. Check for remote shell
2547 implementation (BusyBox or Toolbox).
2549 2012-12-24 Constantin Kulikov <zxnotdead@gmail.com> (tiny change)
2551 * startup.el (initial-buffer-choice): Allow function as value
2553 (command-line-1): Handle case where initial-buffer-choice
2554 specifies a function.
2555 * server.el (server-execute): Handle case where
2556 initial-buffer-choice specifies a function.
2558 2012-12-24 Lars Ingebrigtsen <larsi@gnus.org>
2560 * mail/smtpmail.el (smtpmail-try-auth-method): Refactored out into
2562 (smtpmail-try-auth-methods): Forget the user name/password if the
2563 login is unsuccessful (bug#12424).
2565 2012-12-22 Michael Albinus <michael.albinus@gmx.de>
2567 * notifications.el (notifications-notify): Protect body with
2568 `with-demoted-errors'.
2570 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
2571 Check properties of remote device. Restart connection, if there is a
2574 2012-12-21 Chong Yidong <cyd@gnu.org>
2576 * sort.el (sort-subr): Doc fix (Bug#13056).
2578 2012-12-21 Bastien Guerry <bzg@gnu.org>
2580 * progmodes/etags.el (tags-search): Fix typo. Bug #13232.
2582 2012-12-21 Michael Albinus <michael.albinus@gmx.de>
2584 * simple.el (process-file): Overwrite stderr file, if exists.
2586 2012-12-21 Daiki Ueno <ueno@gnu.org>
2588 * epg.el (epg--start): Print GPG_AGENT_INFO in the debug buffer.
2589 (epg-error): Set `error-message' property.
2591 2012-12-21 Chong Yidong <cyd@gnu.org>
2593 * international/mule-cmds.el (read-char-by-name): Signal an error
2594 if the user does not supply a valid character (Bug#13177).
2596 * simple.el (transpose-subr-1): Preserve marker positions by
2597 changing the insertion sequence (Bug#13122).
2599 2012-12-21 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
2601 * simple.el (kill-region): Deactivate mark even for empty regions
2604 2012-12-21 Chong Yidong <cyd@gnu.org>
2606 * help-fns.el (describe-variable): Make sure we get the right
2607 buffer name (Bug#13105). Suggested by Kelly Dean.
2609 2012-12-20 Michael R. Mauger <mmaug@yahoo.com>
2611 * comint.el (comint-redirect-previous-input-string): New variable.
2612 (comint-redirect-setup, comint-redirect-cleanup)
2613 (comint-redirect-preoutput-filter): Use it. Fixes redirection bug.
2614 (comint-redirect-preoutput-filter): Fix verbose message.
2616 2012-12-20 Michael Albinus <michael.albinus@gmx.de>
2618 * progmodes/grep.el (rgrep): Escape command line. Sometimes, it
2619 is too long for Tramp. See discussion in
2620 <http://thread.gmane.org/gmane.emacs.tramp/8233/focus=8244>.
2622 * progmodes/compile.el (compilation-start): Remove line escape
2625 2012-12-20 Dmitry Antipov <dmantipov@yandex.ru>
2627 * vc/ediff-ptch.el (ediff-map-patch-buffer): Use `point-min-marker'.
2630 2012-12-19 Jonas Bernoulli <jonas@bernoul.li>
2632 * emacs-lisp/lisp-mnt.el (lm-section-end): Always end before the
2633 following non-comment text (bug#13207).
2634 (lm-header-multiline): Continuation lines need to be indented more than
2636 (lm-homepage): New function.
2637 (lm-with-file): Don't be confused if narrowing is in effect.
2639 2012-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
2641 * vc/diff-mode.el (diff-post-command-hook): Don't ignore changes at the
2642 very beginning of a hunk (e.g. killing the first line).
2644 2012-12-19 Michael Albinus <michael.albinus@gmx.de>
2646 * net/tramp-sh.el (tramp-sh-handle-file-acl): Delete empty lines
2647 and text properties from returned ACL string.
2648 (tramp-sh-handle-set-file-acl): Do not use additional parentheses
2649 for "setfacl" command.
2651 2012-12-18 Michael Albinus <michael.albinus@gmx.de>
2653 * net/tramp.el (tramp-error-with-buffer): Give a hint to use
2654 `tramp-cleanup-this-connection', when the process has died.
2657 2012-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
2659 * icomplete.el (icomplete-completions): Also use … to truncate prefix.
2661 2012-12-17 Kevin Ryde <user42@zip.com.au>
2663 * files.el (auto-save-file-name-p): Use \` and \' (bug#13186).
2665 2012-12-17 Michael Albinus <michael.albinus@gmx.de>
2667 Add support for preserving ACL entries of files.
2669 * net/tramp.el (tramp-file-name-for-operation): Add `file-acl' and
2670 `set-file-acl' handlers.
2672 * net/tramp-adb.el (tramp-adb-handle-copy-file):
2673 Handle PRESERVE-EXTENDED-ATTRIBUTES.
2675 * net/tramp-compat.el (tramp-compat-copy-file):
2676 Handle PRESERVE-EXTENDED-ATTRIBUTES.
2678 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
2679 Add `file-acl' and `set-file-acl' handlers.
2680 (tramp-gvfs-handle-copy-file):
2681 Handle PRESERVE-EXTENDED-ATTRIBUTES.
2682 (tramp-gvfs-handle-file-acl, tramp-gvfs-handle-set-file-acl):
2685 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
2686 Add `file-acl' and `set-file-acl' handlers.
2687 (tramp-remote-acl-p, tramp-sh-handle-file-acl)
2688 (tramp-sh-handle-set-file-acl): New defuns.
2689 (tramp-sh-handle-copy-file, tramp-do-copy-or-rename-file):
2690 Handle PRESERVE-EXTENDED-ATTRIBUTES.
2692 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
2693 Add `file-acl' and `set-file-acl' handlers.
2694 (tramp-smb-handle-copy-file): Handle PRESERVE-EXTENDED-ATTRIBUTES.
2696 2012-12-17 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
2698 * help-macro.el (make-help-screen): Instead of switch-to-buffer
2699 use pop-to-buffer with NORECORD argument t. As buffer name, use
2700 *Metahelp* with a leading space (Bug#13190).
2702 2012-12-16 Romain Francoise <romain@orebokech.com>
2704 * files.el (file-extended-attributes)
2705 (set-file-extended-attributes): New functions.
2706 (backup-buffer): Use them to handle both SELinux context and ACL
2708 (backup-buffer-copy): Work with an alist of extended attributes,
2709 rather than an SELinux context.
2710 (basic-save-buffer-2): Ditto.
2712 2012-12-16 Timo Myyrä <timo.myyra@gmail.com>
2714 * battery.el (battery-bsd-apm): New function.
2716 2012-12-16 Jay Belanger <jay.p.belanger@gmail.com>
2718 * calc/calc.el (calc-standard-date-formats): Adjust one of the
2719 standard date formats.
2721 2012-12-15 Juri Linkov <juri@jurta.org>
2723 * isearch.el (isearch-mode-map): Bind `C-x 8 RET' to
2724 `isearch-insert-char-by-name'.
2725 (with-isearch-suspended): New defmacro with body mostly from
2726 `isearch-edit-string' except the part that sets
2727 `isearch-new-string' and `isearch-new-message'.
2728 (isearch-edit-string): Use new macro `with-isearch-suspended' with
2729 body that sets `isearch-new-string' and `isearch-new-message'.
2730 (isearch-insert-char-by-name): New command.
2731 * international/mule-cmds.el (read-char-by-name): Let-bind
2732 `enable-recursive-minibuffers' to t.
2733 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00234.html
2735 2012-12-15 Juri Linkov <juri@jurta.org>
2737 * isearch.el (isearch-delete-char, isearch-del-char): Doc fix.
2740 2012-12-15 Christopher Schmidt <christopher@ch.ristopher.com>
2742 * dired-x.el (dired-guess-shell-command): Put colon at the end of
2743 the prompt. (Bug#13045)
2745 2012-12-14 Glenn Morris <rgm@gnu.org>
2747 * emacs-lisp/macroexp.el (macroexp--warn-and-return):
2748 Try to include filename in non-bytecomp warning. (Bug#13132)
2750 2012-12-14 Paul Eggert <eggert@cs.ucla.edu>
2752 Fix permissions bugs with setgid directories etc. (Bug#13125)
2753 * files.el (backup-buffer): Don't rely on 9th output of
2754 file-attributes, as it's now a placeholder. Instead, use the new
2755 optional arg of file-ownership-preserved-p.
2756 (file-ownership-preserved-p): New optional arg GROUP.
2757 Fix mishandling of setuid directories that would cause this
2758 function to return t when it should have returned nil.
2759 Document what happens if the file does not exist, and when
2760 it's not known whether the ownership will be preserved.
2761 * net/tramp-sh.el (tramp-sh-handle-file-ownership-preserved-p):
2763 (tramp-get-local-gid): Use group-gid for integer, as that's
2764 faster and more reliable.
2766 2012-12-14 Julien Danjou <julien@danjou.info>
2768 * progmodes/sql.el (sql-mode-postgres-font-lock-keywords):
2769 Update keywords list, data type and PL/pgSQL.
2771 2012-12-14 Dave Abrahams <dave@boostpro.com>
2773 * vc/ediff-util.el (ediff-buffer-type): New function.
2774 (ediff-clone-buffer-for-current-diff-comparison): Compute the buf-type
2775 rather than taking it as as argument.
2776 (ediff-inferior-compare-regions): Adjust calls accordingly (bug#11319).
2778 2012-12-14 Ryan Crum <ryan.crum@eleostech.com>
2780 * json.el: Add pretty-print option (bug#12634).
2781 (json-encoding-separator, json-encoding-default-indentation)
2782 (json--encoding-current-indentation, json-encoding-pretty-print)
2783 (json-encoding-lisp-style-closings): New vars.
2784 (json--with-indentation): New macro.
2785 (json-encode-hash-table, json-encode-alist, json-encode-plist)
2786 (json-encode-array): Use it to obey json-encoding-pretty-print.
2787 (json-pretty-print-buffer, json-pretty-print): New commands.
2789 2012-12-14 Dmitry Gutov <dgutov@yandex.ru>
2791 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2792 Extract `ruby-syntax-propertize-expansions'.
2793 (ruby-syntax-propertize-expansions): Only change syntax on
2794 certain string delimiters, to punctuation. This way the common
2795 functions like forward-word and thing-at-point still work.
2796 (ruby-match-expression-expansion): Improve readability.
2797 (ruby-block-contains-point): New function.
2798 (ruby-add-log-current-method): Handle several edge cases.
2800 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
2802 * emacs-lisp/edebug.el (edebug-unload-function): Make sure that
2803 unload-feature finishes even when aborting an ongoing edebug session.
2804 Also, do not worry about edebug-mode, unload-feature takes care of it.
2806 2012-12-13 Andreas Schwab <schwab@suse.de>
2808 * net/tls.el (tls-program): Update customize type.
2810 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
2812 * emacs-lisp/edebug.el (edebug--require-cl-read): New function.
2813 (edebug-setup-hook, cl-read-load-hooks): Use it.
2814 (edebug-unload-function): New function. (Bug#13163)
2816 2012-12-13 Michael Albinus <michael.albinus@gmx.de>
2818 * net/tramp-adb.el (tramp-adb-file-name-p): Make it a defsubst.
2819 Otherwise, there could be errors in autoloading. (Bug#13151)
2821 2012-12-13 Jürgen Hötzel <juergen@archlinux.org>
2823 * net/tramp-adb.el (tramp-adb-wait-for-output): Remove spurious " ^H"
2826 2012-12-13 Alan Mackenzie <acm@muc.de>
2828 Make CC Mode not hang when _some_ lines end in CRLF. Bug #11841.
2829 * progmodes/cc-engine.el (c-backward-comments): Add code to work
2830 around `forward-comment' not recognizing ^M as whitespace.
2832 2012-12-13 Fabián Ezequiel Gallina <fgallina@cuca>
2834 * progmodes/python.el (python-skeleton-class)
2835 (python-skeleton-def): Do not add space after defun name.
2837 2012-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
2839 * emacs-lisp/cl.el (letf): Make it an alias of cl-letf.
2840 (cl--symbol-function): Remove (now that funbound is like nil).
2842 2012-12-12 Glenn Morris <rgm@gnu.org>
2844 * button.el (button--area-button-p): Fix typo.
2846 2012-12-12 Sam Steingold <sds@gnu.org>
2848 * frame.el (frame-maximization-style): New user option.
2849 (toggle-frame-maximized): Toggle frame maximization according to
2850 `frame-maximization-style', bound to <f11>.
2851 (cycle-frame-maximized): Cycle between all maximization styles and
2852 non-maximized frame, bound to shift-<f11>.
2854 2012-12-12 David Cadé <codename68@gmail.com>
2856 * mpc.el (mpc-format): Use truncate-string-to-width (bug#13143).
2858 2012-12-12 Jonas Bernoulli <jonas@bernoul.li>
2860 * lisp/emacs-lisp/eieio.el: Prettier object pretty-printing (bug#13115).
2861 (eieio-override-prin1): Don't quote kewords and booleans.
2862 (object-write) <eieio-default-superclass>: Don't put closing parens
2863 on new line, avoid needless empty lines, align values that are objects
2864 with the slot keyword (instead of beginning on the same line).
2865 (eieio-list-prin1): Align value with slot keyword; increase
2866 eieio-print-depth before printing members of the list.
2868 2012-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
2870 * mail/emacsbug.el (report-emacs-bug): Move the intangible text to
2871 a display text-property.
2872 (report-emacs-bug-hook): Don't bother deleting it any more.
2874 * hilit-chg.el (highlight-save-buffer-state): Delete.
2875 Use with-silent-modifications instead.
2876 (hilit-chg-set-face-on-change): Only fixup the text that's modified.
2878 * button.el: Handle buttons in display text-properties.
2879 (button--area-button-p, button--area-button-string):
2880 Use (STRING . STRING-POS) representation instead of just STRING.
2882 2012-12-11 Eli Zaretskii <eliz@gnu.org>
2884 * makefile.w32-in (compile4-SH): Fix a typo that caused term
2885 subdirectory be skipped.
2887 2012-12-11 Glenn Morris <rgm@gnu.org>
2889 * net/rcirc.el (rcirc-urls, rcirc-condition-filter): Doc fixes.
2891 * progmodes/f90.el (f90-line-continued, f90-indent-region):
2892 Treat preprocessor lines embedded in continuations like comments.
2893 (f90-indent-line): Special-case preprocessor lines. (Bug#13138)
2895 2012-12-11 Jay Belanger <jay.p.belanger@gmail.com>
2897 * calc/calc.el (calc-standard-date-formats): Add more date
2899 * calc/calc-forms.el (math-parse-iso-date): New function.
2900 (math-parse-date): Use `math-parse-iso-date' when appropriate.
2901 (math-parse-iso-date-validate): Add extra error checking.
2902 (calc-date-notation): Add ability to access new date formats.
2904 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
2906 * hi-lock.el (hi-lock--regexps-at-point): Fix boundary case for
2907 font-lock as well as when there's no text-property.
2909 2012-12-10 Jambunathan K <kjambunathan@gmail.com>
2911 * hi-lock.el: Refine the choice of default face.
2912 (hi-lock-keyword->face): New function. Use it wherever we used
2914 (hi-lock--regexps-at-point): Ignore faces that can't come from hi-lock.
2915 (hi-lock--last-face): Remove var.
2916 (hi-lock--unused-faces): New var to replace it.
2917 (hi-lock-read-face-name): Use/maintain it.
2918 (hi-lock-unface-buffer): Maintain it. Fix error for the C-u case.
2919 (hi-lock-set-pattern): Ignore new rule if it has the same regexp even
2920 if it has another face.
2922 2012-12-10 Eli Zaretskii <eliz@gnu.org>
2924 * subr.el (w32notify-handle-event): New function.
2925 (inotify-handle-event): Doc fix.
2927 2012-12-10 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2929 * subr.el (inotify-event-p, inotify-handle-event): New functions.
2931 2012-12-10 Dani Moncayo <dmoncayo@gmail.com>
2933 * simple.el (just-one-space): Doc fix.
2935 2012-12-10 Eli Zaretskii <eliz@gnu.org>
2937 * textmodes/texinfo.el (texinfo-enable-quote-envs): Add "smallexample".
2939 2012-12-10 Le Wang <l26wang@gmail.com>
2941 * hilit-chg.el (hilit-chg-set-face-on-change): Don't burp in
2942 narrowed buffer (bug#12361).
2944 2012-12-10 Juanma Barranquero <lekktu@gmail.com>
2946 * vc/vc-hooks.el (vc-state): Doc fix.
2948 2012-12-10 Glenn Morris <rgm@gnu.org>
2950 * mail/rmail.el (rmail-maybe-display-summary):
2951 Preserve buffer, in case select-window changes it. (Bug#13066)
2953 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
2955 * emacs-lisp/cl.el, emacs-lisp/cl-lib.el: Move cl-unload-function and
2956 cl-load-hook where they belong.
2958 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
2960 * emacs-lisp/cl-lib.el (cl-declaim): Paren typo.
2962 2012-12-09 Eli Zaretskii <eliz@gnu.org>
2964 Parallelize byte compilation on MS-Windows.
2965 * makefile.w32-in (WINS_BASIC1, WINS_BASIC2, WINS_BASIC3)
2966 (WINS_BASIC4): New variables, subdivide subdirectories into 4 parts.
2967 (WINS_BASIC): Define as concatenation of the above.
2968 (compile): Subdivide into 4 separate and independent jobs that can
2970 (compile0-CMD, compile0-SH): New targets for compiling
2971 COMPILE_FIRST files, which are prerequisites for the rest of the
2973 (compile1-CMD, compile2-CMD, compile3-CMD, compile4-CMD):
2974 New targets for parallel compilation with cmd.exe.
2975 (compile1-SH, compile2-SH, compile3-SH, compile4-SH): Ditto for
2976 compiling under a Unixy shell.
2978 2012-12-09 Chong Yidong <cyd@gnu.org>
2980 * simple.el (set-mark-default-inactive): Delete this
2981 accidentally-introduced option.
2982 (set-mark-command, exchange-point-and-mark): Remove calls.
2984 2012-12-09 Glenn Morris <rgm@gnu.org>
2986 * emacs-lisp/lisp-mode.el (eval-defun-1): Doc fix.
2987 Respect a defcustom's :set function, if appropriate. (Bug#109)
2988 (eval-defun): Doc fix.
2990 2012-12-08 Juri Linkov <juri@jurta.org>
2992 * info.el (Info-copy-current-node-name, Info-breadcrumbs)
2993 (Info-fontify-node, Info-bookmark-make-record): Remove the
2994 file extension from Info-current-file (Bug#13016).
2996 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
2998 * hi-lock.el (hi-lock-unface-buffer): If there's no matching regexp at
2999 point, still provide some default.
3000 (hi-lock--regexps-at-point): Don't enforce a "hi-lock-" prefix on face
3001 names, since we don't use it right now. Actually return the list.
3002 (hi-lock-file-patterns, hi-lock-interactive-patterns): Use defvar-local.
3004 2012-12-07 Chong Yidong <cyd@gnu.org>
3006 * novice.el (disabled-command-function): Remove a spurious help
3007 xref (Bug#13043). Suggested by Kelly Dean.
3009 * subr.el (text-clone-maintain): Fix clone overlay deletion when a
3010 syntax is specified (Bug#13025).
3012 * info.el (Info-set-mode-line): Remove the file extension from
3013 Info-current-file if there is one (Bug#13016).
3015 2012-12-07 Glenn Morris <rgm@gnu.org>
3017 * mail/rmail.el (rmail-mime-decoded): New permanent local.
3018 (rmail-show-message-1): Set rmail-mime-decoded when appropriate.
3019 * mail/rmailedit.el (rmail-cease-edit): Respect rmail-mbox-format
3020 and rmail-mime-decoded. (Bug#9841)
3022 * mail/unrmail.el (unrmail-mbox-format): New option. (Bug#6574)
3023 (batch-unrmail, unrmail): Doc fixes.
3024 (unrmail): Respect unrmail-mbox-format.
3025 * mail/rmail.el (rmail-mbox-format): New option.
3026 (rmail-show-message-1): Respect rmail-mbox-format.
3028 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
3030 * emacs-lisp/cl-macs.el (cl-tagbody): New macro.
3032 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3034 Further cleanup of the "cl-" namespace. Fit CL in 80 columns.
3035 * emacs-lisp/cl-macs.el (cl--pop2, cl--optimize-safety)
3036 (cl--optimize-speed, cl--not-toplevel, cl--parse-loop-clause)
3037 (cl--expand-do-loop, cl--proclaim-history, cl--declare-stack)
3038 (cl--do-proclaim, cl--proclaims-deferred): Rename from the "cl-" prefix.
3039 (cl-progv): Don't rely on dynamic scoping to find the body.
3040 * emacs-lisp/cl-lib.el (cl--optimize-speed, cl--optimize-safety)
3041 (cl--proclaims-deferred): Rename from the "cl-" prefix.
3042 (cl-declaim): Use backquotes.
3043 * emacs-lisp/cl-extra.el (cl-make-random-state, cl-random-state-p):
3044 Use "cl--" prefix for the object's tag.
3046 * ses.el: Use advice-add/remove.
3047 (ses--advice-copy-region-as-kill, ses--advice-yank): New functions.
3048 (copy-region-as-kill, yank): Use advice-add.
3049 (ses-unload-function): Use advice-remove.
3051 2012-12-06 Jonas Bernoulli <jonas@bernoul.li>
3053 * button.el: Make them work in header-lines (bug#12817).
3054 (button-map): Add bindings for header-line and mode-line use.
3055 (button-get, button-put, button-label): `button' may now be a string.
3056 (button-activate): Don't make it a defsubst.
3057 (button--area-button-p, button--area-button-string): New functions.
3058 (make-text-button): Fix the return value when `beg' was a string.
3059 (push-button): Handle the mode-line case.
3061 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3063 * progmodes/sql.el: Use cl-lib and lexical-binding; various cleanup.
3064 (sql-signum): Remove. Use `cl-signum' instead.
3065 (sql-read-passwd): Remove; use read-passwd instread.
3066 (sql-get-login-ext): Use read-string.
3067 (sql-get-login): Use dolist and pcase.
3068 (sql--completion-table): Rename from sql-try-completion.
3069 Use complete-with-action.
3070 (sql-mode): Don't change abbrev-all-caps globally.
3071 (sql-connect): Don't rely on dynamic scoping for `new-name'.
3072 (sql-postgres-completion-object): Initialize vars in their `let'.
3073 (sql-comint-sybase, sql-comint-sqlite, sql-comint-mysql)
3074 (sql-comint-solid, sql-comint-ms, sql-comint-postgres)
3075 (sql-comint-interbase): Use a single append, without setq.
3076 (sql-comint-linter): Same, and unwind-protect the LINTER_MBX var.
3078 * hi-lock.el: Rework the default face and the serialize regexp code.
3079 (hi-lock--auto-select-face-defaults): Remove.
3080 (hi-lock-string-serialize-serial): Remove.
3081 (hi-lock--hashcons-hash): Rename from hi-lock-string-serialize-hash;
3083 (hi-lock--hashcons): Rename from hi-lock-string-serialize, return an
3085 (hi-lock-set-pattern): Adjust accordingly.
3086 (hi-lock--regexps-at-point): Simplify accordingly.
3087 (hi-lock--auto-select-face-defaults): Remove.
3088 (hi-lock--last-face): New var to replace it.
3089 (hi-lock-read-face-name): Rewrite (bug#11095).
3090 (hi-lock-unface-buffer): Arrange for the face to be the next default.
3092 2012-12-06 Michael Albinus <michael.albinus@gmx.de>
3094 * net/tramp.el (tramp-replace-environment-variables):
3095 Hide compiler warning.
3096 (tramp-file-name-for-operation): Remove `executable-find',
3097 `start-process', `call-process' and `call-process-region'.
3099 * net/tramp-compat.el (top): Don't require 'tramp-util and 'tramp-vc.
3101 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Ensure backward
3104 * net/tramp-sh.el (top): Remove `tramp-sh-handle-call-process-region'.
3106 2012-12-06 Chong Yidong <cyd@gnu.org>
3108 * ffap.el (ffap-replace-file-component): Fix typo.
3110 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3112 * progmodes/octave-mod.el (octave-mark-block): Move out of tokens and
3113 fix open-paren-like token test (bug#12785).
3115 2012-12-06 Glenn Morris <rgm@gnu.org>
3117 * mail/rmailsum.el (rmail-new-summary): Tweak for
3118 rmail-maybe-display-summary changing buffer. (Bug#13066)
3120 2012-12-06 Juri Linkov <juri@jurta.org>
3122 * info.el (Info-fontify-node): Don't hide the last newline.
3125 2012-12-06 Katsumi Yamaoka <yamaoka@jpl.org>
3127 * mail/mailabbrev.el (mail-abbrev-expand-wrapper): Work in minibuffer
3128 so as to enable message-read-from-minibuffer to expand mail aliases.
3130 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3132 * minibuf-eldef.el (minibuf-eldef-update-minibuffer): Don't mess with
3133 the `intangible' property.
3134 Suggested by Christopher Schmidt <christopher@ch.ristopher.com>
3136 2012-12-05 Deniz Dogan <deniz@dogan.se>
3138 * net/rcirc.el (rcirc-urls): Update documentation.
3139 (rcirc-condition-filter): New function.
3140 (rcirc-browse-url, rcirc-markup-urls): Use only URLs before point
3141 and exclude consecutive duplicate URLs (Bug#6082).
3143 2012-12-05 Michael Albinus <michael.albinus@gmx.de>
3145 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
3146 Check return code of copy command.
3148 * net/tramp-adb.el (tramp-adb-sdk-dir, tramp-adb-prompt):
3149 Use group `tramp'. Add version.
3151 2012-12-05 Chong Yidong <cyd@gnu.org>
3153 * ffap.el (ffap-url-regexp): Don't require matching at front of
3155 (ffap-url-p): If only a substring matches, return that.
3156 (ffap-url-at-point): Use the return value of ffap-url-p.
3157 (ffap-read-file-or-url, ffap-read-file-or-url-internal)
3158 (find-file-at-point, dired-at-point, dired-at-point-prompter)
3159 (ffap-guess-file-name-at-point): Likewise.
3160 (ffap-replace-file-component): Fix typo.
3162 * info.el (info-display-manual): Add existing Info buffers, whose
3163 files may not be in Info-directory-list, to the completion.
3164 (info--manual-names): New helper function.
3166 2012-12-05 Glenn Morris <rgm@gnu.org>
3168 * vc/vc-hg.el (vc-hg-resolve-when-done, vc-hg-find-file-hook):
3169 New functions, for detecting and resolving conflicts. (Bug#10709)
3171 2012-12-04 Jambunathan K <kjambunathan@gmail.com>
3173 * hi-lock.el (hi-lock-auto-select-face): New user variable.
3174 (hi-lock-auto-select-face-defaults): New buffer local variable.
3175 (hi-lock-read-face-name): Honor `hi-lock-auto-select-face'.
3176 (hi-lock-unface-buffer): Prompt user with useful defaults.
3177 With prefix arg, unhighlight all hi-lock patterns in buffer.
3179 2012-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
3181 * obsolete/terminal.el, obsolete/longlines.el: Add obsolecence info.
3183 2012-12-04 Michael Albinus <michael.albinus@gmx.de>
3185 * Makefile.in (TRAMP_SRC):
3186 * makefile.w32-in (TRAMP_SRC): Add tramp-adb.el.
3188 2012-12-04 Juergen Hoetzel <juergen@archlinux.org>
3190 * net/tramp-adb.el: New package.
3192 2012-12-04 Chong Yidong <cyd@gnu.org>
3194 * terminal.el: Move to obsolete/.
3196 * longlines.el: Move to obsolete/.
3198 * vc/ediff-diff.el (ediff-extract-diffs, ediff-extract-diffs3):
3199 Remove code referring to longlines mode.
3201 2012-12-03 Juri Linkov <juri@jurta.org>
3203 * sort.el (delete-duplicate-lines): New command. (Bug#13032)
3205 2012-12-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3207 * textmodes/ispell.el (ispell-init-process)
3208 (ispell-start-process, ispell-internal-change-dictionary):
3209 Make sure personal dictionary name is expanded after initial
3210 `default-directory' value. Use expanded strings for
3211 keep/restart checks and for value (Bug#13019).
3213 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
3215 * calc/calc-forms.el (math-date-to-iso-dt): Fix weekday number.
3217 2012-12-03 Leo Liu <sdl.web@gmail.com>
3219 * files.el (dir-locals-read-from-file): Check file non-empty
3220 before reading. (Bug#13038)
3222 2012-12-03 Glenn Morris <rgm@gnu.org>
3224 * jka-cmpr-hook.el (jka-compr-get-compression-info):
3225 Remove any version extension before checking filename. (Bug#13006)
3226 (jka-compr-compression-info-list): Belated :version bump.
3228 2012-12-03 Chong Yidong <cyd@gnu.org>
3230 * simple.el (transient-mark-mode): Doc fix (Bug#11523).
3232 * buff-menu.el (Buffer-menu-delete-backwards, Buffer-menu-mode)
3233 (buffer-menu): Doc fix (Bug#12294).
3235 2012-12-03 Roland Winkler <winkler@gnu.org>
3237 * calendar/diary-lib.el (diary-header-line-format): Use keybinding
3238 of diary-show-all-entries in the diary buffer (Bug#12994).
3240 2012-12-03 Michael Albinus <michael.albinus@gmx.de>
3242 * net/tramp-sh.el (tramp-perl-encode): Use "read STDIN" instead of
3243 "<STDIN>". This is binary safe.
3245 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
3247 * calc/calc-forms.el (math-absolute-from-iso-dt)
3248 (math-date-to-iso-dt, math-parse-iso-date-validate)
3249 (math-iso-dt-to-date): New functions.
3250 (math-fd-iso-dt, math-fd-isoyear, math-fd-isoweek)
3251 (math-fd-isoweekday): New variables.
3252 (calc-date-notation, math-parse-standard-date, math-format-date)
3253 (math-format-date-part): Add support for more formatting codes.
3255 2012-12-02 Dmitry Gutov <dgutov@yandex.ru>
3257 * vc/vc.el (vc-delete-file, vc-rename-file): Default to the
3258 current buffer's file name when called interactively (Bug#12488).
3260 2012-12-02 Juri Linkov <juri@jurta.org>
3262 * info.el (info-display-manual): Don't clobber an existing Info
3263 buffer (Bug#10770). Add completion (Bug#10771).
3265 2012-12-01 Yuya Nishihara <yuya@tcha.org> (tiny change)
3267 * vc/vc-hooks.el (vc-find-file-hook): Expand buffer-file-truename
3268 before using it for comparison (Bug#5297).
3270 2012-12-01 Jari Aalto <jari.aalto@cante.net>
3272 * textmodes/css-mode.el (css-current-defun-name): New function.
3275 * textmodes/sgml-mode.el (html-current-defun-name): New function.
3276 (html-mode): Use it.
3278 2012-12-01 Chong Yidong <cyd@gnu.org>
3280 Modularize add-log-current-defun (Bug#2224).
3281 Suggested by Jari Aalto.
3283 * vc/add-log.el (add-log-current-defun-function): Doc fix.
3284 (add-log-current-defun): Move mode-specific code to other files.
3285 (add-log-lisp-like-modes, add-log-c-like-modes)
3286 (add-log-tex-like-modes): Variables deleted.
3288 * emacs-lisp/lisp-mode.el (lisp-current-defun-name): New.
3289 (lisp-mode-variables): Use it.
3291 * progmodes/cc-mode.el (c-common-init):
3292 * progmodes/cperl-mode.el (cperl-mode): Set a value for
3293 add-log-current-defun-function.
3295 * progmodes/m4-mode.el (m4-current-defun-name): New function.
3298 * progmodes/perl-mode.el (perl-current-defun-name): New.
3299 (perl-mode): Use it.
3301 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
3302 Use lisp-current-defun-name.
3304 * textmodes/tex-mode.el (tex-current-defun-name): New.
3305 (tex-common-initialization): Use it.
3307 * textmodes/texinfo.el (texinfo-current-defun-name): New.
3308 (texinfo-mode): Use it.
3310 2012-12-01 Chong Yidong <cyd@gnu.org>
3312 * emacs-lisp/lisp-mode.el (lisp-mode-variables, lisp-mode):
3313 * progmodes/autoconf.el (autoconf-mode):
3314 * progmodes/js.el (js-mode):
3315 * progmodes/make-mode.el (makefile-mode, makefile-makepp-mode)
3316 (makefile-bsdmake-mode, makefile-imake-mode, makefile-browse):
3317 * progmodes/perl-mode.el (perl-mode):
3318 * progmodes/sh-script.el (sh-mode, sh-set-shell):
3319 * textmodes/css-mode.el (css-mode):
3320 * textmodes/sgml-mode.el (html-mode, sgml-mode)
3321 (sgml-tags-invisible, sgml-guess-indent):
3322 * textmodes/tex-mode.el (tex-common-initialization)
3323 (latex-complete-bibtex-keys, tex-shell, tex-main-file)
3324 (doctex-mode, plain-tex-mode, latex-mode):
3325 * textmodes/texinfo.el (texinfo-mode): Use setq-local.
3327 2012-12-01 Kirk Kelsey <kirk.kelsey@0x4b.net>
3329 * vc/vc-hg.el (vc-hg-next-revision):
3330 Ensure use of default "tip" output format. (Bug#6968)
3332 2012-12-01 Kim F. Storm <storm@cua.dk>
3334 * startup.el (fancy-startup-tail): Add a clickable link
3337 2012-12-01 Chong Yidong <cyd@gnu.org>
3339 * startup.el (fancy-startup-tail): Improve the message about
3340 auto-save files (Bug#2176).
3342 * files.el (recover-session): Improve the descriptive message, and
3343 use substitute-command-keys.
3345 2012-12-01 Glenn Morris <rgm@gnu.org>
3347 * ido.el (ido-file-internal):
3348 Handle other-window, other-frame for dired. (Bug#13036)
3350 2012-11-30 Glenn Morris <rgm@gnu.org>
3352 * icomplete.el (icomplete-separator): Fix :version.
3354 2012-11-30 Chong Yidong <cyd@gnu.org>
3356 * shell.el (shell): For C-u M-x shell, use an inactive shell
3357 buffer as the default (Bug#1975).
3358 (shell-apply-ansi-color, shell-reapply-ansi-color): New functions.
3359 (shell-mode): Use them to reapply ansi colorization if Shell mode
3362 2012-11-30 Yuriy Vostrikov <delamonpansie@gmail.com> (tiny change)
3364 * vc/vc-git.el (vc-git-command): Disable the pager (Bug#6137).
3366 2012-11-30 Samuel Bronson <naesten@gmail.com>
3368 * progmodes/grep.el (grep-compute-defaults): Do not pass the -e
3369 flag to xargs, for compatibility with BSD xargs (Bug#11703).
3371 2012-11-30 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
3373 * textmodes/fill.el (fill-region-as-paragraph): Handle overshoot
3374 by move-to-column (Bug#3234).
3376 2012-11-30 Chong Yidong <cyd@gnu.org>
3378 * longlines.el (longlines-wrap-line, longlines-encode-region):
3379 Preserve text properties (Bug#1425).
3381 2012-11-30 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
3383 * vc/vc.el (vc-register): Allow registering a file which is
3384 already registered with a different backend (Bug#10589).
3386 2012-11-29 Jambunathan K <kjambunathan@gmail.com>
3387 Stefan Monnier <monnier@iro.umontreal.ca>
3389 * icomplete.el: Change separator; add ido-style commands.
3390 (icomplete-show-key-bindings): Remove custom var.
3391 (icomplete-get-keys): Remove function.
3392 (icomplete-forward-completions, icomplete-backward-completions):
3394 (icomplete-minibuffer-map): New var.
3395 (icomplete-minibuffer-setup): Use it.
3396 (icomplete-exhibit): Don't delay if the list of completions is known.
3397 (icomplete-separator): New custom.
3398 (icomplete-completions): Use it.
3399 * minibuffer.el (completion-all-sorted-completions): Delete duplicates.
3400 (minibuffer-force-complete-and-exit): New command.
3401 (minibuffer--complete-and-exit): New function extracted from
3402 minibuffer-complete-and-exit.
3403 (minibuffer-complete-and-exit): Use it.
3405 * progmodes/etags.el (visit-tags-table-buffer): Give a more precise
3406 error message when the file doesn't exist (bug#12974).
3408 2012-11-29 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
3410 * simple.el (activate-mark): Run activate-mark-hook (bug#13027).
3412 2012-11-29 Glenn Morris <rgm@gnu.org>
3414 * files.el (hack-dir-local-variables): Warn if try to set
3415 coding via dir-locals, since it doesn't work. (Bug#7169)
3417 Add desktop support for restoring vc-dir buffers. (Bug#10606)
3418 * vc/vc-dir.el (vc-dir-mode): Autoload it (for desktop restore).
3419 Set buffer-local value of desktop-save-buffer.
3420 (vc-dir-desktop-buffer-misc-data, vc-dir-restore-desktop-buffer):
3422 (desktop-buffer-mode-handlers): Add vc-dir-mode entry.
3423 * desktop.el (desktop-save-buffer-p): Treat vc-dir like dired.
3425 * files.el (inhibit-local-variables-ignore-case): New. (Bug#10610)
3426 (inhibit-local-variables-p): Use inhibit-local-variables-ignore-case.
3428 (inhibit-local-variables-regexps, inhibit-local-variables-suffixes):
3431 2012-11-28 Jay Belanger <jay.p.belanger@gmail.com>
3433 * calc/calc-forms.el (calc-date-notation): Fix regexp
3434 used to find time codes. Fix symbol for seconds.
3436 2012-11-27 Glenn Morris <rgm@gnu.org>
3438 * emacs-lisp/derived.el (derived-mode-make-docstring):
3439 Don't mention "abbrev" or "syntax" if nil. (Bug#11277)
3441 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
3443 * textmodes/table.el (table-insert): Don't use `symbol-name' on
3444 lexically scoped variables (bug#13005).
3446 2012-11-27 Glenn Morris <rgm@gnu.org>
3448 * vc/vc-hooks.el (vc-mistrust-permissions):
3449 Default to t, to avoid data-loss. (Bug#11490)
3451 2012-11-27 Fabián Ezequiel Gallina <fgallina@cuca>
3453 * progmodes/python.el (python-indent-guess-indent-offset):
3454 If indentation is guessed make python-indent-offset buffer-local.
3456 Fix Imenu regression.
3457 * progmodes/python.el (python-nav-beginning-of-defun):
3458 Fix forward movement when statement(s) separates point from defun.
3459 (python-imenu-prev-index-position): New function.
3461 2012-11-27 Eli Zaretskii <eliz@gnu.org>
3463 * subr.el (buffer-file-type): Declare with defvar-local. Doc fix.
3465 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
3466 Don't set buffer-file-type. Return nil. (Bug#12989)
3468 2012-11-27 Glenn Morris <rgm@gnu.org>
3470 * hippie-exp.el (hippie-expand-try-functions-list):
3471 Re-autoload it. (Bug#12982)
3473 2012-11-27 Eli Zaretskii <eliz@gnu.org>
3475 * descr-text.el (describe-char-padded-string):
3476 Call internal-char-font only on GUI frames. (Bug#11964)
3478 2012-11-27 Andreas Schwab <schwab@linux-m68k.org>
3480 * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
3481 and obsoletion message.
3483 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
3485 * emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
3486 the constructs to keep outside of the `cl-block' (bug#12977).
3488 2012-11-27 Chong Yidong <cyd@gnu.org>
3490 * mouse.el (mouse-drag-line): Even if the line is not draggable,
3491 keep reading until we get the up-event anyway, in order to process
3492 the up-event for mouse-1-click-follows-link (Bug#12971).
3494 2012-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
3496 * emacs-lisp/advice.el (ad-should-compile): Don't compile advice if the
3497 base function is not yet defined (bug#12965).
3498 (ad-activate-advised-definition): Use ad-compile-function.
3499 (ad-activate): Use cond.
3501 2012-11-25 Leo Liu <sdl.web@gmail.com>
3503 * textmodes/sgml-mode.el (sgml-tag): Fix indentation for closing tag.
3506 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
3508 * textmodes/reftex-parse.el (reftex-parse-from-file): Use variable
3509 reftex-section-info-function in order to be compatible with
3510 Texinfo integration.
3512 * textmodes/reftex.el (reftex-section-pre-regexp)
3513 (reftex-section-post-regexp, reftex-section-info-function):
3515 (reftex-compile-variables): Use variables reftex-section-pre-regexp,
3516 reftex-section-post-regexp, and reftex-section-info-function in order
3517 to be compatible with Texinfo integration.
3519 * textmodes/reftex-toc.el (reftex-toc-promote-action):
3520 use reftex-section-pre-regexp variable in order to be compatible with
3521 Texinfo integration.
3523 2012-11-25 Chong Yidong <cyd@gnu.org>
3525 * faces.el: Make face-spec-set more analogous to setq.
3526 (face-spec-set): Change the third arg to specify whether this
3527 function is being called via defface, customize, or a third party.
3528 Set the appropriate symbol properties. Clear the override spec if
3529 setting via Custom. Initialize face if necessary. (Bug#4988)
3530 (face-spec-recalc): Allow theme faces to completely replace the
3531 defface spec, in the same way as custom faces (Bug#8454).
3533 * cus-face.el (custom-declare-face): Move face initialization to
3535 (custom-theme-set-faces): Don't initialize the face name here, as
3536 that is now done in face-spec-set.
3538 * cus-edit.el (custom-face-set, custom-face-mark-to-save)
3539 (custom-face-reset-saved, custom-face-mark-to-reset-standard):
3540 Simplify by using the new arg to face-spec-set.
3542 * emacs-lisp/lisp-mode.el (eval-defun-1): When evaluating defface,
3543 reset face-override-spec too, and use custom-declare-face.
3545 2012-11-24 Jan Djärv <jan.h.d@swipnet.se>
3547 * term/ns-win.el (ns-initialize-window-system): Move creation of
3548 fontsets here (Bug#11964).
3550 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
3552 * ses.el (ses-rename-cell): Correct bug on mode-line update after
3555 2012-11-24 Chong Yidong <cyd@gnu.org>
3557 * woman.el (woman-default-faces, woman-monochrome-faces): Mark as
3560 * custom.el (custom-theme-set-variables): Use a topological sort
3561 for ordering by custom dependencies (Bug#12952).
3562 (custom--sort-vars, custom--sort-vars-1): New functions.
3564 2012-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
3566 * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
3567 lexical-binding (bug#12938).
3569 2012-11-24 Wolfgang Jenkner <wjenkner@inode.at>
3571 * image-mode.el (image-transform-check-size): Use assertions only
3572 for images of type imagemagick.
3574 Otherwise no error, image-transform-fit-to-{width,height} is
3575 silently ignored, as before. Doc fix.
3577 2012-11-24 Chong Yidong <cyd@gnu.org>
3579 * faces.el (color-defined-p): Doc fix (Bug#12853).
3581 2012-11-24 Juri Linkov <juri@jurta.org>
3583 * dired.el (dired-mark): Add optional arg `interactive'.
3584 Check for `use-region-p' if `interactive' is non-nil.
3585 (dired-unmark, dired-flag-file-deletion): Add optional arg
3586 `interactive'. Call `dired-mark' with the arg `interactive'.
3589 * wdired.el: Revert 2012-10-17 change partly and replace it with
3590 Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
3591 (wdired-finish-edit): Add marks for new file names to
3592 `wdired-old-marks'. Restore marks using `dired-mark-remembered'
3593 after `revert-buffer'.
3594 (wdired-do-renames): Remove calls to `dired-remove-file',
3595 `dired-add-file', `dired-add-entry'. (Bug#11795)
3597 2012-11-24 Alan Mackenzie <acm@muc.de>
3599 * progmodes/cc-defs.el (c-version): Bump to 5.32.4.
3601 Fix bugs in the state cache. Enhance a debugging mechanism.
3602 * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
3603 "brace at column zero" strategy for C++.
3604 (c-append-lower-brace-pair-to-state-cache): Repair algorithm.
3605 (c-parse-state-point): New variable.
3606 (c-record-parse-state-state): Record old parse state with
3607 `copy-tree'. Record previous value of point.
3608 (c-debug-parse-state-double-cons): New debugging function.
3609 (c-debug-parse-state): Call the above new function.
3610 (c-toggle-parse-state-debug): Output a confirmatory message.
3612 * progmodes/cc-mode.el (c-before-change, c-after-change):
3613 Call c-invalidate-state-cache from `c-before-change' instead of
3616 2012-11-23 Chong Yidong <cyd@gnu.org>
3618 * find-cmd.el (find-constituents): Add executable, ipath,
3619 readable, samefile, writable, daystart, regextype (Bug#12856).
3621 2012-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
3623 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: Use cl-lib and lexical-binding.
3625 2012-11-22 Paul Eggert <eggert@cs.ucla.edu>
3627 * calc/calc.el (calc-gregorian-switch): Move to after calc-refresh
3628 definition. This fixes a bootstrap failure.
3629 (calc-gregorian-switch): In menu, put dates before regions.
3630 This is easier to follow, lines up better in the menu, and lets us
3631 coalesce regions that switch at the same time. Give country
3632 names, not "Vatican", as that's better for non-expert users.
3633 Use names that are stable between the date of switch and now, e.g.,
3634 Bohemia and Moravia (which existed then and now) and not
3635 Czechoslovakia (which didn't exist then and doesn't exist now).
3636 What is now the U.S. mostly did not switch at the same time as
3637 Britain, so omit the U.S. Correct spelling of "Britain".
3638 Catholic Switzerland was too much of a mess, so omit it.
3640 2012-11-22 Jay Belanger <jay.p.belanger@gmail.com>
3642 * calc/calc.el (calc-gregorian-switch): Refresh the Calc buffer
3643 after the variable is changed.
3645 2012-11-21 Daniel Colascione <dancol@dancol.org>
3647 * progmodes/sql.el (sql-mode-font-lock-object-name): Support IF NOT EXISTS
3648 in SQL declarations for font-lock.
3649 (sql-imenu-generic-expression): Teach imenu about IF NOT EXISTS.
3651 2012-11-21 Glenn Morris <rgm@gnu.org>
3653 * faces.el (face-underline-p, face-inverse-video-p, face-bold-p)
3654 (face-italic-p): Add optional argument "inherit".
3656 * faces.el (set-face-inverse-video, set-face-bold, set-face-italic):
3657 Remove -p suffix from names, for consistency with other set-face-*.
3658 (set-face-inverse-video): Fix interactive spec.
3659 * play/gamegrid.el (gamegrid-make-mono-tty-face):
3660 * textmodes/table.el (table--update-cell-face):
3661 Use set-face-inverse-video rather than now obsolete alias.
3663 2012-11-21 Eli Zaretskii <eliz@gnu.org>
3665 * simple.el (line-move): Don't call line-move-partial if
3666 scroll-conservatively is in effect. (Bug#12927)
3668 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
3670 * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
3671 Fallback on completion-at-point rather than
3672 pcomplete-expand-and-complete, and only if pcomplete actually failed.
3673 (eshell-cmpl-initialize): Setup completion-at-point.
3675 * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
3677 * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
3679 2012-11-21 Michael Albinus <michael.albinus@gmx.de>
3681 * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
3682 are remote, check out-of-band property for both.
3684 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
3686 * window.el (switch-to-buffer): Re-add the warning that was lost in the
3689 2012-11-21 Paul Eggert <eggert@cs.ucla.edu>
3691 More minor time fixes.
3692 * calendar/time-date.el: Commentary fix.
3693 * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
3694 too much other code depends on (0 0) time stamps.
3695 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
3696 Add a couple of FIXME comments.
3698 Minor cleanup for times as lists of four integers.
3699 * files.el (dir-locals-directory-cache):
3700 * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
3702 * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
3703 * ps-bdf.el (bdf-file-newer-than-time):
3704 Process four-integers time stamps, not two. Doc fixes.
3706 2012-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
3708 * uniquify.el (uniquify-managed): Use defvar-local.
3709 (rename-buffer, create-file-buffer): Advise with advice-add.
3710 (uniquify-unload-function): Unadvise accordingly.
3712 * emacs-lisp/trace.el: Rewrite, use nadvice and lexical-binding.
3713 (trace-buffer): Don't purecopy.
3714 (trace-entry-message, trace-exit-message): Add `context' arg.
3715 (trace--timer): New var.
3716 (trace-make-advice): Adjust for use in nadvice.
3717 Add `context' argument. Delay `display-buffer' via a timer.
3718 (trace-function-internal): Use advice-add.
3719 (trace--read-args): New function.
3720 (trace-function-foreground, trace-function-background): Use it.
3721 (trace-function): Rename to trace-function-foreground and redefine as
3722 an alias to that new name.
3723 (untrace-function, untrace-all): Adjust to the use of nadvice.
3725 * emacs-lisp/bytecomp.el (byte-compile): Fix handling of closures.
3727 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix last change.
3729 * subr.el (called-interactively-p-functions): New var.
3730 (internal--called-interactively-p--get-frame): New macro.
3731 (called-interactively-p, interactive-p): Rewrite in Lisp.
3732 * emacs-lisp/nadvice.el (advice--called-interactively-skip): New fun.
3733 (called-interactively-p-functions): Use it.
3734 * emacs-lisp/edebug.el (edebug--called-interactively-skip): New fun.
3735 (called-interactively-p-functions): Use it.
3736 * allout.el (allout-called-interactively-p): Don't assume
3737 called-interactively-p is a subr.
3739 2012-11-20 Glenn Morris <rgm@gnu.org>
3741 * profiler.el (profiler-report-mode-map): Add a menu.
3742 No need to bind `q' because we derive from special-mode.
3743 (profiler-report-find-entry): Handle calls from the menu-bar.
3745 2012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
3747 * emacs-lisp/byte-run.el (defun-declarations-alist):
3748 Allow a compiler-macro to be a lambda expression.
3750 * progmodes/python.el: Use cl-lib. Move var declarations outside of
3752 (python-syntax-context): Add compiler-macro.
3753 (python-font-lock-keywords): Simplify with De Morgan.
3755 * vc/diff-mode.el (diff-hunk): Don't make useless timers.
3757 * files.el (load-file): Require match in minibuffer selection, as was
3758 the case in Emacs-20 before we changed the spec to allow .elc files
3761 * json.el: Don't require cl since we don't use it.
3762 * color.el: Don't require cl.
3763 (color-complement): `caddr' -> `nth 2'.
3765 * calendar/time-date.el (time-to-seconds): De-obsolete.
3767 2012-11-19 Jay Belanger <jay.p.belanger@gmail.com>
3769 * calc/calc-forms.el (math-leap-year-p): Fix formula for negative
3771 (math-date-to-julian-dt): Adjust the initial approximation for the
3772 year to deal with the new definition of the DATE.
3774 2012-11-19 Daniel Colascione <dancol@dancol.org>
3776 * term/w32-win.el (cygwin-convert-path-from-windows):
3777 Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
3779 2012-11-18 Chong Yidong <cyd@gnu.org>
3781 * filecache.el (file-cache--read-list): New function.
3782 (file-cache-add-directory-list, file-cache-add-file-list)
3783 (file-cache-delete-file-list, file-cache-delete-directory-list):
3784 Use it to read a list of files or directories (Bug#12846).
3785 (file-cache-add-file, file-cache-add-directory)
3786 (file-cache-delete-file-list, file-cache-delete-file-regexp)
3787 (file-cache-delete-directory): Print an message.
3789 2012-11-18 Jay Belanger <jay.p.belanger@gmail.com>
3791 * calc/calc-forms.el (math-date-to-dt): Use integer date when
3792 calling `math-date-to-julian-dt' and 'math-date-to-gregorian-dt'.
3794 2012-11-18 Glenn Morris <rgm@gnu.org>
3796 * image.el (insert-image, insert-sliced-image): Doc fix.
3798 2012-11-18 Chong Yidong <cyd@gnu.org>
3800 * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
3803 2012-11-18 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
3805 * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
3806 response when the target file is in a subdirectory (Bug#12757).
3808 2012-11-18 Chong Yidong <cyd@gnu.org>
3810 * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
3812 2012-11-18 Glenn Morris <rgm@gnu.org>
3814 * emacs-lisp/cl-lib.el (face-underline-p):
3815 Use set-face-underline rather than the alias set-face-underline-p.
3817 * window.el (with-temp-buffer-window): Doc fix.
3818 * subr.el (with-output-to-temp-buffer):
3819 Add doc xref to with-temp-buffer-window.
3821 2012-11-18 Juanma Barranquero <lekktu@gmail.com>
3823 * woman.el (woman-non-underline-faces): Use `set-face-underline'.
3824 * calc/calc.el (math-format-date-cache): Declare.
3826 2012-11-17 Paul Eggert <eggert@cs.ucla.edu>
3828 Calc by default uses the Gregorian calendar for all dates (Bug#12633).
3829 It also uses January 1, 1 AD as its day number 1.
3830 * calc/calc-forms.el (math-julian-date-beginning)
3831 (math-julian-date-beginning-int): Implement this.
3833 2012-11-17 Juanma Barranquero <lekktu@gmail.com>
3835 * descr-text.el (quail-find-key):
3836 * dired.el (desktop-file-name):
3837 * dirtrack.el (shell-prefixed-directory-name, shell-process-cd):
3838 * generic-x.el (comint-mode, comint-exec):
3839 * image-dired.el (widget-forward):
3840 * info.el (speedbar-add-expansion-list, speedbar-center-buffer-smartly)
3841 (speedbar-change-expand-button-char)
3842 (speedbar-change-initial-expansion-list, speedbar-delete-subblock)
3843 (speedbar-make-specialized-keymap, speedbar-make-tag-line):
3844 * printing.el (easy-menu-add-item, easy-menu-remove-item)
3845 (widget-field-action, widget-value-set):
3846 * speedbar.el (imenu--make-index-alist):
3847 * term.el (ring-empty-p, ring-ref, ring-insert-at-beginning)
3848 (ring-length, ring-insert):
3849 * vcursor.el (compare-windows-skip-whitespace):
3850 * woman.el (dired-get-filename):
3853 * term/w32-win.el (cygwin-convert-path-from-windows): Fix declaration.
3855 2012-11-17 Jay Belanger <jay.p.belanger@gmail.com>
3857 * calc/calc.el (calc-gregorian-switch): New variable.
3859 * calc/calc-forms.el (math-day-in-year, math-dt-before-p)
3860 (math-absolute-from-gregorian-dt, math-absolute-from-julian-dt)
3861 (math-date-to-julian-dt, math-date-to-gregorian-dt): New functions.
3862 (math-leap-year-p): Add option to distinguish between Julian
3863 and Gregorian calendars.
3864 (math-day-number): Use `math-day-in-year' to do the computations.
3865 (math-absolute-from-dt): Rename from `math-absolute-from-date'.
3866 Use `math-absolute-from-gregorian' and `math-absolute-from-julian'
3867 to do the computations.
3868 (math-date-to-dt): Use `math-date-to-julian-dt' and
3869 `math-date-to-gregorian-dt' to do the computations.
3870 (calcFunc-weekday, math-format-date-part): Use the new version of
3871 the DATE to determine the weekday.
3872 (calcFunc-newmonth, calcFunc-newyear): Use `calc-gregorian-switch'
3875 2012-11-17 Eli Zaretskii <eliz@gnu.org>
3877 * term/w32-win.el (w32-handle-dropped-file): Use 'file://' only on
3878 Cygwin; otherwise use 'file:'. (Bug#12914)
3879 (cygwin-convert-path-from-windows): Declare, to avoid
3880 byte-compiler warnings.
3882 2012-11-17 Andreas Politz <politza@fh-trier.de>
3884 * ibuffer.el (ibuffer-mark-forward, ibuffer-unmark-forward)
3885 (ibuffer-unmark-backward, ibuffer-mark-interactive): Support plain
3886 prefix and negative numeric prefix args (Bug#12795).
3888 2012-11-17 Stephen Berman <stephen.berman@gmx.net>
3890 * play/gamegrid.el (gamegrid-add-score-with-update-game-score-1):
3891 Don't signal an error with a score that is too low to add to the
3892 list of top scores. (Bug#12779)
3894 2012-11-17 Chong Yidong <cyd@gnu.org>
3896 * help-mode.el (help-xref-interned): End on point-min (Bug#12737).
3898 * filecache.el (file-cache-add-file): Handle relative file name in
3899 the argument (Bug#12694).
3901 2012-11-16 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
3903 * eshell/em-unix.el (eshell/mkdir): Handle "--parents" (bug#12897).
3905 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
3907 * emacs-lisp/advice.el (ad-make-advised-definition): Improve last fix.
3909 * emacs-lisp/cl-lib.el: Set more meaningful version number.
3911 2012-11-16 Martin Rudalics <rudalics@gmx.at>
3913 * window.el (enlarge-window, shrink-window): Don't mention return
3914 value in doc-string (Bug#12896).
3915 (window--display-buffer): Don't resize frames - it won't work
3916 with all window managers and defeat pop-up-frame-alist.
3917 (display-buffer-alist): In doc-string explain that CONDITION can
3918 be a function and which arguments are passed to it (Bug#12854).
3919 (display-buffer-assq-regexp): New argument ACTION. Handle lambda
3920 expressions (Bug#12854).
3921 (display-buffer): Pass ACTION argument to
3922 display-buffer-assq-regexp.
3924 2012-11-16 Glenn Morris <rgm@gnu.org>
3926 * window.el (fit-frame-to-buffer-bottom-margin)
3927 (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
3929 * faces.el (face-underline-p): Use face-attribute-specified-or.
3931 2012-11-16 Juanma Barranquero <lekktu@gmail.com>
3933 * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
3935 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
3937 * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
3939 2012-11-16 Glenn Morris <rgm@gnu.org>
3941 * eshell/em-cmpl.el (eshell-pcomplete): New command. (Bug#12838)
3942 (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
3944 * faces.el (face-underline-p): Doc fix. Handle :underline being
3945 things other than `t' (a string, a list).
3946 (face-inverse-video-p): Doc fix.
3947 (set-face-underline): Rename it back from set-face-underline-p.
3948 Doc fix. Allow interactive input of values other than t.
3949 (read-face-attribute): Apply formatting to :underline,
3950 since like :box and :stipple it can take list values.
3952 * term.el (ansi-term): Don't let C-x escape-char binding
3953 clobber the more standard C-c binding. (Bug#12842)
3955 * subr.el (set-temporary-overlay-map): Doc fix.
3957 2012-11-16 Martin Rudalics <rudalics@gmx.at>
3959 * window.el (record-window-buffer)
3960 (display-buffer-record-window): When copying the markers to
3961 window-point preserve window-point-insertion-type. (Bug#12588)
3963 2012-11-16 Glenn Morris <rgm@gnu.org>
3965 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
3966 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
3967 Use new names for hooks rather than obsolete aliases.
3969 2012-11-15 Daniel Colascione <dancol@dancol.org>
3971 * term/w32-win.el (w32-handle-dropped-file): Use a "file://"
3972 prefix instead of "file:" so that when FILE-NAME begins with "//",
3973 as it does when the target file is on a network share, url-handler
3976 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
3978 * emacs-lisp/advice.el (ad-definition-type): Make sure we don't use
3979 a preactivated advice from an old advice.el; they're not compatible!
3981 2012-11-15 Katsumi Yamaoka <yamaoka@jpl.org>
3983 * emacs-lisp/nadvice.el (advice--make-interactive-form):
3984 Fix string-spec case.
3986 * emacs-lisp/advice.el (ad-make-advised-definition): Fix undefined case.
3988 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
3990 * emacs-lisp/nadvice.el: Add buffer-local support to add-function.
3991 (advice--buffer-local-function-sample): New var.
3992 (advice--set-buffer-local, advice--buffer-local): New functions.
3993 (add-function, remove-function): Use them.
3995 2012-11-15 Drew Adams <drew.adams@oracle.com>
3997 * imenu.el (imenu--split-submenus): Use imenu--subalist-p (bug#12717).
3999 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
4001 * emacs-lisp/cl-macs.el (cl--transform-lambda): Defend against
4002 potential binding of print-gensym to t, and prettify (back)quotes in
4003 case they appear in args's default values (bug#12884).
4005 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4007 * emacs-lisp/nadvice.el: Add around advice for interactive specs.
4008 (advice-eval-interactive-spec): New function.
4009 (advice--make-interactive-form): Support around advice (bug#12844).
4011 2012-11-14 Dmitry Gutov <dgutov@yandex.ru>
4013 * progmodes/ruby-mode.el (ruby-expr-beg): Make heredoc detection
4014 more strict. Add docstring.
4015 (ruby-expression-expansion-re): Extract from
4016 `ruby-match-expression-expansion'.
4017 (ruby-syntax-propertize-function): After everything else, search
4018 for expansions in string literals, mark their insides as
4019 whitespace syntax and save match data for font-lock.
4020 (ruby-font-lock-keywords): Use the 2nd group from expression
4022 (ruby-match-expression-expansion): Use the match data saved to the
4023 text property in ruby-syntax-propertize-function.
4025 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4027 * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
4030 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
4032 * progmodes/ruby-mode.el (ruby-move-to-block): Looks for a block
4033 start/end keyword a bit harder. Works with different values of N.
4035 (ruby-end-of-block): Update accordingly.
4037 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
4039 * woman.el (woman-file-name): Don't mess with unread-command-events
4042 * emacs-lisp/advice.el: Layer on top of nadvice.el.
4043 Remove out of date self-require hack.
4044 (ad-do-advised-functions): Use simple `dolist'.
4045 (ad-advice-name, ad-advice-protected, ad-advice-enabled)
4046 (ad-advice-definition): Redefine as functions.
4047 (ad-advice-classes): Move before first use.
4048 (ad-make-origname, ad-set-orig-definition, ad-clear-orig-definition)
4049 (ad-make-mapped-call, ad-make-advised-docstring,ad-make-plain-docstring)
4050 (ad--defalias-fset): Remove functions.
4051 (ad-make-advicefunname, ad-clear-advicefunname-definition): New funs.
4052 (ad-get-orig-definition): Rewrite.
4053 (ad-make-advised-definition-docstring): Change base docstring.
4054 (ad-real-orig-definition): Rewrite.
4055 (ad-map-arglists): Change name of called function.
4056 (ad--make-advised-docstring): Redirect `function' from ad-Advice-...
4057 (ad-make-advised-definition): Simplify.
4058 (ad-assemble-advised-definition): Tweak for new calling context.
4059 (ad-activate-advised-definition): Setup ad-Advice-* i.s.o ad-Orig-*.
4060 (ad--defalias-fset): Rename from ad-handle-definition. Make it set the
4061 function and call ad-activate if needed.
4062 (ad-activate, ad-deactivate): Don't call ad-handle-definition any more.
4063 (ad-recover): Clear ad-Advice-* instead of ad-Orig-*.
4064 (ad-compile-function): Compile ad-Advice-*.
4065 (ad-activate-on-top-level, ad-with-auto-activation-disabled): Remove.
4066 (ad-start-advice, ad-stop-advice): Remove.
4068 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
4070 * progmodes/ruby-mode.el (ruby-add-log-current-method): Print the
4071 period before class method names, not after. Remove handling of
4072 one impossible case. Add comments.
4074 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
4076 * emacs-lisp/advice.el: Remove support for freezing.
4077 (ad-make-freeze-docstring, ad-make-freeze-definition): Remove functions.
4078 (ad-make-single-advice-docstring, ad-defadvice-flags, defadvice):
4079 Remove support for `freeze'.
4081 * emacs-lisp/cl.el (dolist, dotimes, declare): Use advice-add to
4082 override the default.
4083 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Rewrite without using
4085 * subr.el (dolist, dotimes, declare): Redefine them normally, even when
4088 * emacs-lisp/nadvice.el (advice--normalize): New function, extracted
4090 (advice--strip-macro): New function.
4091 (advice--defalias-fset): Use them to handle macros.
4092 (advice-add): Use them.
4093 (advice-member-p): Correctly handle macros.
4095 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
4097 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
4098 Never font-lock the beginning of singleton class as heredoc.
4100 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
4102 * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
4104 2012-11-13 Wolfgang Jenkner <wjenkner@inode.at>
4106 * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
4107 39 and 49 (bug#12792). Also, treat unimplemented parameters as 0,
4108 thereby restoring the behavior of revisions prior to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
4110 2012-11-13 Fabián Ezequiel Gallina <fgallina@cuca>
4112 Fix end-of-defun misbehavior.
4113 * progmodes/python.el (python-nav-beginning-of-defun): Rename from
4114 python-beginning-of-defun-function. Handle nested defuns
4116 (python-nav-end-of-defun): Rename from
4117 python-end-of-defun-function. Ensure forward movement.
4118 (python-info-current-defun): Reimplement to work as intended
4119 with new fixed python-nav-{end,beginning}-of-defun. Stop scanning
4120 parent defuns as soon as possible.
4122 2012-11-13 Glenn Morris <rgm@gnu.org>
4124 * progmodes/flymake.el (flymake-error-bitmap)
4125 (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
4126 (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
4128 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
4130 * progmodes/ruby-mode.el (ruby-move-to-block): When moving
4131 backward, always stop at indentation. Reverts the change from
4132 2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
4134 2012-11-13 Glenn Morris <rgm@gnu.org>
4136 * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
4137 Add ibuffer-filter-by-derived-mode.
4139 * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
4140 the same name shadowing each other.
4142 * window.el (with-temp-buffer-window): Doc tweak.
4144 * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
4146 * help.el (temp-buffer-max-height):
4147 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
4148 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
4150 2012-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
4152 * emacs-lisp/nadvice.el: New package.
4153 * subr.el (special-form-p): New function.
4154 * emacs-lisp/elp.el: Use lexical-binding and advice-add.
4155 (elp-all-instrumented-list): Remove var.
4156 (elp-not-profilable): Remove elp-wrapper.
4157 (elp-profilable-p): Use autoloadp and special-form-p.
4158 (elp--advice-name): New const.
4159 (elp-instrument-function): Use advice-add.
4160 (elp--instrumented-p): New predicate.
4161 (elp-restore-function): Use advice-remove.
4162 (elp-restore-all, elp-reset-all): Use mapatoms.
4163 (elp-set-master): Use elp--instrumented-p.
4164 (elp--make-wrapper): Rename from elp-wrapper, return a function
4165 suitable for advice-add. Use cl-inf.
4166 (elp-results): Use mapatoms+elp--instrumented-p.
4167 * emacs-lisp/debug.el: Use lexical-binding and advice-add.
4168 (debug-function-list): Remove var.
4169 (debug): Rename arg, and then let-bind it explicitly inside.
4170 (debugger-setup-buffer): Rename arg.
4171 (debugger-setup-buffer): Adjust counts to new debug-on-entry setup.
4172 (debugger-frame-number): Adjust to new debug-on-entry setup.
4173 (debug--implement-debug-on-entry): Rename from
4174 implement-debug-on-entry, add argument.
4175 (debugger-special-form-p): Remove, use special-form-p instead.
4176 (debug-on-entry): Use advice-add.
4177 (debug--function-list): New function.
4178 (cancel-debug-on-entry): Use it, along with advice-remove.
4179 (debug-arglist, debug-convert-byte-code, debug-on-entry-1): Remove.
4180 (debugger-list-functions): Use debug--function-list instead of
4181 debug-function-list.
4182 * emacs-lisp/advice.el (ad-save-real-definition): Remove, unused.
4183 (ad-special-form-p): Remove, use special-form-p instead.
4184 (ad-set-advice-info): Use add-function and remove-function.
4185 (ad--defalias-fset): Adjust accordingly.
4187 2012-11-10 Glenn Morris <rgm@gnu.org>
4189 * mail/emacsbug.el (report-emacs-bug-tracker-url)
4190 (report-emacs-bug-bug-alist, report-emacs-bug-choice-widget)
4191 (report-emacs-bug-create-existing-bugs-buffer)
4192 (report-emacs-bug-parse-query-results)
4193 (report-emacs-bug-query-existing-bugs): Remove. (Bug#7449)
4195 * term.el (term-default-fg-color, term-default-bg-color):
4196 Make obsolete, rather than just saying "deprecated" in the doc.
4198 * term.el (term): Rename from `term-face'.
4199 (term-current-face, ansi-term-color-vector)
4200 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
4203 2012-11-10 Jan Djärv <jan.h.d@swipnet.se>
4205 * server.el (server-create-window-system-frame): Handle Nextstep
4206 specially (Bug#12780).
4208 2012-11-10 Glenn Morris <rgm@gnu.org>
4210 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
4211 Unautoload, and make obsolete. (Bug#7449)
4213 2012-11-10 Chong Yidong <cyd@gnu.org>
4215 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
4216 rename from diff-remove-trailing-whitespace (Bug#12831).
4218 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
4220 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
4221 miscompilation of trace.el.
4223 2012-11-10 Glenn Morris <rgm@gnu.org>
4225 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
4227 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
4229 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
4232 2012-11-10 Chong Yidong <cyd@gnu.org>
4234 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
4235 a defcustom with an appropriate :set function.
4236 (minibuffer-default--in-prompt-regexps): New function.
4238 2012-11-10 Glenn Morris <rgm@gnu.org>
4240 * emacs-lisp/cl.el (define-setf-expander, defsetf)
4241 (define-modify-macro): Doc fixes.
4243 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
4244 (gv-define-simple-setter): Update doc of `fix-return'.
4246 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
4248 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
4249 twice when `fix-return' is set (bug#12813).
4251 * emacs-lisp/cl.el (defsetf): Pass the third arg to
4252 gv-define-simple-setter (bug#12812).
4254 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
4257 2012-11-10 Glenn Morris <rgm@gnu.org>
4259 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
4261 * emacs-lisp/cl-extra.el (cl-prettyexpand):
4262 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
4263 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
4264 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
4266 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
4268 2012-11-10 Leo Liu <sdl.web@gmail.com>
4270 * ido.el (ido-set-matches-1): Improve flex matching performance by
4271 removing backtracking in the regexp (suggested by Stefan). (Bug#12796)
4273 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4275 * emacs-lisp/advice.el (ad-set-advice-info): Set defalias-fset-function.
4276 (ad--defalias-fset): New function.
4277 (ad-safe-fset): Remove.
4278 (ad-make-freeze-definition): Use cl-letf*.
4280 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4282 * subr.el (dolist): Don't bind VAR in RESULT.
4284 * emacs-lisp/advice.el: Miscellaneous cleanup. Use lexical-binding.
4285 (fset, documentation): Don't save real def since we don't advise.
4286 (ad-do-advised-functions): Remove problematic `result-form'.
4287 (ad-safe-fset): `ad-real-fset' => `fset'.
4288 (ad-read-advised-function): Don't assume that ad-do-advised-functions
4289 uses CL's dolist internally.
4290 (ad-arglist): Remove unused arg `name'.
4291 (ad-docstring, ad-make-advised-docstring):
4292 `ad-real-documentation' => `documentation'.
4293 (warning-suppress-types): Declare.
4294 (ad-set-arguments): Simple CSE.
4295 (ad-recover-normality): Sanity check.
4297 * emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Don't turn
4298 (funcall '(lambda ..) ..) into ((lambda ..) ..).
4300 2012-11-09 Vincent Belaïche <vincentb1@users.sourceforge.net>
4302 * ses.el: symbol to coordinate mapping is made by symbol property
4303 `ses-cell'. This means that the same mapping is done for all SES
4304 sheets. That is good enough for cells with standard A1 names, but
4305 not for named cell. So a hash map is added for the latter.
4306 (defconst ses-localvars): Add local variable ses--named-cell-hashmap
4307 (ses-sym-rowcol): Use hashmap for named cell.
4308 (ses-is-cell-sym-p): New defun.
4309 (ses-decode-cell-symbol): New defun.
4310 (ses-create-cell-variable): Add cell to hashmap when name is not
4312 (ses-rename-cell): Check that cell new name is not already in
4313 spreadsheet with the use of ses-is-cell-sym-p
4314 (ses-rename-cell): Use hash map for named cells, but accept also
4315 renaming back to A1-like.
4317 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4319 * emacs-lisp/advice.el: Use new dynamic docstrings.
4320 (ad-make-advised-definition-docstring, ad-advised-definition-p):
4321 Use dynamic-docstring-function instead of ad-advice-info.
4322 (ad--make-advised-docstring): New function extracted from
4323 ad-make-advised-docstring.
4324 (ad-make-advised-docstring): Use it.
4325 * progmodes/sql.el (sql--make-help-docstring): New function, extracted
4327 (sql-help): Use it with dynamic-docstring-function.
4329 * env.el (env--substitute-vars-regexp): Don't use rx (for bootstrap).
4331 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4333 * files.el (hack-one-local-variable--obsolete): New function.
4334 (hack-one-local-variable): Use it for obsolete settings.
4336 * subr.el (locate-user-emacs-file): If both old and new name exist, use
4339 * progmodes/js.el (js--filling-paragraph): New var.
4340 (c-forward-sws, c-backward-sws, c-beginning-of-macro): Advise.
4341 (js-c-fill-paragraph): Prefer advice to cl-letf so the rebinding is
4344 2012-11-08 Julien Danjou <julien@danjou.info>
4346 * progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
4347 `auto-mode-alist' (Bug#12835).
4349 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4351 * progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.
4352 (perl--prettify-symbols-alist): New const.
4353 (perl--font-lock-compose-symbol, perl--font-lock-symbols-keywords):
4355 (perl-font-lock-keywords-2): Use them.
4356 (perl-electric-noindent-p): New function.
4357 (perl-mode): Use it to set up electric-indent-mode.
4358 (perl-electric-terminator, perl-indent-command): Mark obsolete.
4359 (perl-mode-map): Remove bindings for them.
4360 (perl-imenu-generic-expression, perl-outline-level):
4361 Match functions&packages in column>0.
4363 * env.el (env--substitute-vars-regexp): New const.
4364 (substitute-env-vars): Use it. Add `only-defined' arg.
4365 * net/tramp.el (tramp-replace-environment-variables): Use it.
4367 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
4368 Byte-compile *before* eval in eval-and-compile.
4369 (byte-compile-log-warning): Remove redundant inhibit-read-only.
4370 (byte-compile-file-form-autoload): Don't hide actual definition.
4371 (byte-compile-maybe-guarded): Accept `functionp' as well.
4373 * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
4375 2012-11-07 Michael Albinus <michael.albinus@gmx.de>
4377 * notifications.el (notifications-get-server-information-method):
4379 (notifications-get-capabilities): Fix docstring.
4380 (notifications-get-server-information): New defun.
4382 2012-11-06 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4384 * textmodes/ispell.el (ispell-region): Standard re-indent for better
4387 * textmodes/ispell.el: Experimental support for support debugging.
4388 (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
4390 (ispell-print-if-debug): New function to print stuff to
4391 `ispell-debug-buffer' if debugging is enabled.
4392 (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
4393 show some debugging info.
4394 (ispell-buffer-with-debug): New function that creates a debugging
4395 buffer and calls `ispell-buffer' with debugging enabled.
4397 * textmodes/ispell.el (ispell-region): Do not prefix sent string by
4398 comment in autoconf mode. (Bug#12768)
4400 2012-11-06 Dmitry Antipov <dmantipov@yandex.ru>
4402 * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
4403 frame-first-window, frame-root-window, frame-selected-window,
4404 minibuffer-selected-window, minibuffer-window,
4405 window-absolute-pixel-edges, window-at, window-body-height,
4406 window-body-width, window-display-table, window-combination-limit,
4407 window-frame, window-fringes, window-inside-absolute-pixel-edges,
4408 window-inside-edges, window-inside-pixel-edges, window-left-child,
4409 window-left-column, window-margins, window-next-buffers,
4410 window-next-sibling, window-new-normal, window-new-total,
4411 window-normal-size, window-parameter, window-parameters, window-parent,
4412 window-pixel-edges, window-point, window-prev-buffers,
4413 window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
4414 window-start, window-text-height, window-top-child, window-top-line,
4415 window-total-height, window-total-width and window-use-time to the list
4416 of functions without side-effects.
4417 (toplevel): Add window-valid-p to the list of error-free functions
4418 without side-effects.
4420 2012-11-05 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4422 * textmodes/ispell.el (ispell-program-name):
4423 Update spellchecker parameters when customized.
4425 2012-11-04 Glenn Morris <rgm@gnu.org>
4427 * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn. (Bug#7850)
4429 2012-11-04 Chong Yidong <cyd@gnu.org>
4431 * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
4432 same-window-* variables.
4434 2012-11-04 Juri Linkov <juri@jurta.org>
4436 * isearch.el (isearch-help-for-help, isearch-describe-bindings)
4437 (isearch-describe-key, isearch-describe-mode): Use a display
4438 action instead of binding same-window-* variables (Bug#10040).
4440 2012-11-03 Glenn Morris <rgm@gnu.org>
4442 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
4443 Rename handler properties back from cl-- to cl-. (Bug#12788)
4445 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
4447 2012-11-03 Eli Zaretskii <eliz@gnu.org>
4449 * term/pc-win.el: Don't load term/internal from here.
4451 * loadup.el: Load term/internal from here.
4453 2012-11-03 Fabián Ezequiel Gallina <fgallina@cuca>
4455 * progmodes/python.el (inferior-python-mode): Fix hang in
4456 jit-lock (Bug#12645).
4458 2012-11-03 Martin Rudalics <rudalics@gmx.at>
4460 * window.el (switch-to-visible-buffer)
4461 (switch-to-buffer-preserve-window-point): Fix doc-strings.
4463 2012-11-03 Glenn Morris <rgm@gnu.org>
4465 * emacs-lisp/cl-lib.el (cl--random-time):
4466 Rename from cl-random-time. (Bug#12773)
4467 (cl--gensym-counter, cl--random-state): Update callers.
4468 * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
4470 2012-11-03 Chong Yidong <cyd@gnu.org>
4472 * cus-start.el: Make cursor-type customizable (Bug#11633).
4474 2012-11-02 Glenn Morris <rgm@gnu.org>
4476 * filecache.el: No need to load find-lisp when compiling.
4477 (find-lisp-find-files): Autoload it.
4478 (file-cache-add-directory-recursively): Don't require find-lisp.
4480 * image.el (image-type-from-file-name): Trivial simplification.
4482 * emacs-lisp/bytecomp.el (byte-compile-eval):
4483 Decouple "noruntime" and "cl-functions" warnings.
4485 2012-11-01 Stephen Berman <stephen.berman@gmx.net>
4487 * play/gomoku.el (gomoku-display-statistics): Update mode line
4488 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
4490 2012-10-31 Martin Rudalics <rudalics@gmx.at>
4492 * window.el (quit-restore-window): If the window has been
4493 created on an existing frame and ended up as the sole window on
4494 that frame, do not delete it (Bug#12764).
4496 2012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
4498 * progmodes/sh-script.el (sh--inside-noncommand-expression):
4499 Rename from sh--inside-arithmetic-expression, handle more cases
4502 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
4503 (sh-font-lock-open-heredoc): Use it (bug#12770).
4505 2012-10-30 Glenn Morris <rgm@gnu.org>
4507 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
4509 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
4511 2012-10-29 Chong Yidong <cyd@gnu.org>
4513 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
4514 function key is stored in a keyboard macro (Bug#4894).
4516 * thingatpt.el (number-at-point): Apply a thing-at-point property.
4518 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
4520 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
4522 (diff-unified->context, diff-context->unified)
4523 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
4525 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
4527 * files.el (find-alternate-file): Only ask one question (bug#12487).
4529 2012-10-29 Chong Yidong <cyd@gnu.org>
4531 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
4532 Suggested by Dan Nicolaescu (Bug#6326).
4534 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
4536 * startup.el (fancy-about-screen): Don't message (Bug#12680).
4538 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
4540 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
4542 * face-remap.el (face-remap-add-relative): Handle the case where a
4543 face-remapping-alist entry is a cons cell (Bug#12762).
4545 2012-10-29 Kevin Ryde <user42@zip.com.au>
4547 * woman.el (woman-parse-numeric-value): Handle picas correctly
4550 2012-10-29 Glenn Morris <rgm@gnu.org>
4552 * emacs-lisp/cl.el (defsetf): Doc fix.
4554 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
4556 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
4557 syntax to the matching opener, if any (bug#12547).
4558 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
4559 matching open as a "case-(".
4560 (sh-smie-rc-grammar): Add a corresponding rule for it.
4562 2012-10-28 Daniel Hackney <dan@haxney.org>
4564 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
4565 "PKGNAME-autoloads.el" in case we created it.
4567 2012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
4569 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
4570 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
4571 (completion--twq-all): Disable too-strict assertions.
4573 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
4575 2012-10-27 Eli Zaretskii <eliz@gnu.org>
4577 * profiler.el (profiler-report-make-entry-part): Fix help-echo
4578 text to match the real keybindings.
4580 2012-10-27 Juri Linkov <juri@jurta.org>
4582 * wdired.el (wdired-keep-marker-rename): New defcustom.
4583 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
4586 * dired.el (dired-keep-marker-rename): Add reference to
4587 `wdired-keep-marker-rename' in the docstring.
4588 Add default character value ?R to display initially in
4589 Customization UI instead of ?@.
4591 2012-10-27 Martin Rudalics <rudalics@gmx.at>
4593 * window.el (display-buffer): In doc-string describe
4594 window-height and window-width alist entries.
4596 * time.el (display-time-world): Restore fit-window-to-buffer
4599 2012-10-27 Chong Yidong <cyd@gnu.org>
4601 * subr.el (insert-buffer-substring-as-yank): Doc fix.
4603 2012-10-26 Jambunathan K <kjambunathan@gmail.com>
4605 * minibuffer.el (completion-category-overrides): New completion
4606 category `bookmark' (bug#11131).
4608 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
4610 * emacs-lisp/advice.el (ad-assemble-advised-definition):
4611 Silence bogus compiler warnings for ad-do-it.
4613 * bookmark.el (bookmark-completing-read): Set the completion category
4614 to `bookmark' (bug#11131).
4616 2012-10-26 Bastien <bzg@altern.org>
4617 Stefan Monnier <monnier@iro.umontreal.ca>
4619 * face-remap.el: Use lexical-binding.
4620 (text-scale-adjust): Improve docstring. Use itself for the temporary
4621 overlay-map bindings, so as to repeat the "Use..." message each time.
4623 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
4625 * emacs-lisp/macroexp.el (macroexp--expand-all):
4626 Obey byte-compile-warning-enabled-p (bug#12486).
4628 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
4629 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
4631 2012-10-26 Martin Rudalics <rudalics@gmx.at>
4633 * mouse.el (mouse-drag-line): Move last form into preceding when
4636 * help.el (resize-temp-buffer-window): Fix doc-string.
4638 2012-10-25 David Engster <deng@randomsample.de>
4640 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
4641 Remove. This feature is already integrated in imenu.
4643 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
4644 always loaded. Require `speedbar' unconditionally.
4646 2012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
4648 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
4650 * minibuffer.el (minibuffer-force-complete): Fix thinko.
4652 * net/ldap.el (ldap-search-internal): The official ldif format starts
4653 with a "version: 1" header (bug#12724).
4655 * emacs-lisp/package.el (package-installed-p): Warn if not ready
4658 2012-10-25 Glenn Morris <rgm@gnu.org>
4660 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
4662 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
4664 * minibuffer.el (minibuffer-force-complete): Use one more marker
4665 for the temporary-overlay-map command (bug#12619).
4667 2012-10-24 Chong Yidong <cyd@gnu.org>
4669 * time.el (display-time-world-mode): Derive from special-mode.
4670 (display-time-world): Use display-buffer (Bug#12708).
4671 (display-time-world-mode-map): Variable deleted.
4672 (display-time-world-display): Wrap the final delete-char inside
4675 2012-10-24 Chong Yidong <cyd@gnu.org>
4677 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
4680 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
4682 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
4684 * minibuffer.el (completion--all-sorted-completions-location): New var.
4685 (completion--cache-all-sorted-completions)
4686 (completion--flush-all-sorted-completions): Use it.
4687 (completion-in-region, completion-in-region--postch)
4688 (completion-at-point, completion-help-at-point): Use markers in
4689 completion-in-region--data (bug#12619).
4691 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
4693 * progmodes/compile.el (compilation-start): Try to handle common
4694 quoting of `cd' argument (bug#12640).
4696 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
4699 2012-10-23 Glenn Morris <rgm@gnu.org>
4701 * progmodes/gud.el (gud-menu-map):
4702 Check gdb-active-process is bound. (Bug#12358)
4704 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
4706 * repeat.el (repeat): Set real-this-command (bug#12232).
4708 * htmlfontify.el (hfy-post-html-hook):
4709 * filesets.el (filesets-cache-fill-content-hook):
4710 * arc-mode.el (archive-extract-hook):
4711 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
4712 * net/rcirc.el (rcirc-sentinel-functions)
4713 (rcirc-receive-message-functions, rcirc-activity-functions)
4714 (rcirc-print-functions):
4715 * net/dbus.el (dbus-event-error-functions):
4716 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
4717 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
4718 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
4719 * term/sun.el (sun-raw-prefix-hooks):
4720 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
4722 2012-10-23 Michael Albinus <michael.albinus@gmx.de>
4724 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
4725 Set `tramp-chunksize' to 1. This improves the performance.
4726 (tramp-smb-wait-for-output): Add timeout to
4727 `tramp-accept-process-output' calls.
4729 2012-10-23 Chong Yidong <cyd@gnu.org>
4731 * faces.el (font-list-limit): Define as an obsolete variable.
4733 * startup.el (command-line):
4734 * cus-start.el: Don't refer to font-list-limit.
4736 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
4738 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
4740 * subr.el (internal-temp-output-buffer-show): Rename from
4741 temp-output-buffer-show, since previously compiled files expect this name.
4743 2012-10-23 Glenn Morris <rgm@gnu.org>
4745 * image.el (image-type-from-file-name): If multiple types match,
4746 return the first one that is supported. (Bug#9045)
4748 2012-10-22 Glenn Morris <rgm@gnu.org>
4750 * image.el (imagemagick-enabled-types): Doc fix.
4752 2012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
4754 * progmodes/which-func.el (which-func-current): The hash-table may have
4755 an explicit nil (bug#12338).
4757 2012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
4759 * electric.el (electric-pair-delete-selection-self-insert-function):
4760 Rename to electric-pair-will-use-region, return a boolean.
4761 (electric-pair-mode): Adjust accordingly. Don't require delsel.
4763 * delsel.el (delete-selection-helper): Use a function instead of a hook.
4764 (delete-selection-pre-hook): Use use-region-p.
4765 (delete-selection-self-insert-function): Remove.
4766 (self-insert-command): Obey self-insert-uses-region-functions.
4767 (self-insert-iso): Revert to previous setting, since we don't actually
4768 know what that command does.
4769 (delete-selection-self-insert-hooks): Remove.
4771 2012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
4773 * delsel.el (delete-selection-helper): New function, extracted from
4774 delete-selection-pre-hook.
4775 (delete-selection-pre-hook): Use it.
4776 (delete-selection-self-insert-function): New function.
4777 (delete-selection-self-insert-hooks): New hook.
4778 (self-insert-command, self-insert-iso): Use it.
4779 * electric.el (electric-pair-syntax): New function, extracted from
4780 electric-pair-post-self-insert-function.
4781 (electric-pair-post-self-insert-function): Use it.
4782 (electric-pair-delete-selection-self-insert-function): New function.
4783 (electric-pair-mode): Require delsel and setup
4784 delete-selection-self-insert-hooks (bug#11520).
4786 2012-10-20 Chong Yidong <cyd@gnu.org>
4788 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
4789 no changes to show (Bug#12586).
4791 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
4792 list explicitly (Bug#12571).
4794 2012-10-20 Arne Jørgensen <arne@arnested.dk>
4796 * progmodes/flymake.el (flymake-create-temp-inplace):
4799 2012-10-20 Eli Zaretskii <eliz@gnu.org>
4801 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
4803 2012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
4805 * calc/calc-units.el (math-extract-units): Properly extract powers
4808 2012-10-20 Daniel Colascione <dancol@dancol.org>
4810 * frame.el (make-frame): Set x-display-name as we used to in order
4811 to unbreak creating an X11 frame from an Emacs daemon started
4814 2012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
4816 * minibuffer.el (minibuffer-force-complete): Make the next completion use
4817 the same completion-field (bug#12221).
4819 2012-10-19 Martin Rudalics <rudalics@gmx.at>
4821 * emacs-lisp/debug.el (debug): Record height of debugger window
4822 also when debugger will be back (Bug#8789).
4824 2012-10-18 Chong Yidong <cyd@gnu.org>
4826 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
4827 Convert to defcustom.
4828 (gdb-get-source-file): Don't bind pop-up-windows.
4830 * progmodes/gud.el (gud-display-line): Don't specially re-use
4831 other frames for the gdb-mi case (Bug#12648).
4833 2012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
4835 * emacs-lisp/advice.el: Clean up commentary a bit.
4836 (ad-do-advised-functions, ad-with-originals): Use `declare'.
4837 (byte-code-function-p): Never redefine.
4839 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
4841 2012-10-18 Glenn Morris <rgm@gnu.org>
4843 * dired.el (dired-sort-toggle): Some ls implementations only allow
4844 a single option string. (Bug#12666)
4846 * minibuffer.el (completion-cycle-threshold): Doc fix.
4848 2012-10-17 Kenichi Handa <handa@gnu.org>
4850 * international/mule.el (set-keyboard-coding-system):
4851 Recover input meta mode when the new coding system doesn not use 8-bit.
4852 Supply TERMINAL arg to set-input-meta-mode.
4854 2012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
4856 * wdired.el (wdired-old-marks): New variable.
4857 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
4858 (wdired-do-renames): Move point with renamed file and don't lose
4859 mark status (Bug#11795).
4861 2012-10-16 Juri Linkov <juri@jurta.org>
4863 * replace.el (query-replace-help): Mention multi-buffer replacement
4864 keys in the Help message. (Bug#12655)
4866 2012-10-15 Chong Yidong <cyd@gnu.org>
4868 * emacs-lisp/byte-run.el (defsubst): Doc fix.
4870 2012-10-14 Eli Zaretskii <eliz@gnu.org>
4872 * window.el (display-buffer): Doc fix.
4874 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4875 Adjust the msft regexp to the output of Studio 2010, and move msft
4876 before edg-1. See the discussion on emacs-devel,
4877 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
4880 2012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
4882 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
4883 (oset): Move uses of object-class-fast macro after its definition.
4885 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
4887 2012-10-13 Chong Yidong <cyd@gnu.org>
4889 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
4890 enabled, re-enable it (Bug#11963).
4892 2012-10-13 Martin Rudalics <rudalics@gmx.at>
4894 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
4895 non-nil, restore window configuration (Bug#12623).
4897 2012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
4899 * help-fns.el (describe-variable, describe-function-1):
4900 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
4902 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
4904 2012-10-12 Glenn Morris <rgm@gnu.org>
4906 * mail/rmailsum.el (rmail-header-summary):
4907 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
4909 2012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
4911 * progmodes/python.el (python-mode-map):
4912 Replace subtitute-key-definition with proper command remapping.
4913 (python-nav--up-list): Fix behavior for blocks on the same level.
4915 2012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
4917 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
4919 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
4920 changes to the format of load-history.
4922 * international/mule-cmds.el (read-char-by-name): Move let-binding of
4923 completion-ignore-case in case that var is buffer-local (bug#12615).
4925 2012-10-11 Kenichi Handa <handa@gnu.org>
4927 * international/eucjp-ms.el: Re-generated.
4929 2012-10-10 Kenichi Handa <handa@gnu.org>
4931 * select.el (xselect--encode-string): If a coding is specified for
4932 selection, and that is compatible with COMPOUND_TEXT, use it.
4934 2012-10-10 Martin Rudalics <rudalics@gmx.at>
4936 * window.el (switch-to-buffer-preserve-window-point): New option.
4938 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
4940 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
4942 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
4943 Don't document nil as a useful value (bug#12583).
4945 2012-10-09 Michael Albinus <michael.albinus@gmx.de>
4947 * net/tramp.el (tramp-debug-message):
4948 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
4949 (with-tramp-progress-reporter): Rename from
4950 `tramp-with-progress-reporter'.
4951 (with-tramp-file-property, with-tramp-connection-property):
4952 Move from tramp-cache.el, rename from `with-file-property' and
4953 `with-connection-property', respectively.
4955 * net/tramp-cache.el: Remove `with-file-property' and
4956 `with-connection-property'.
4959 * net/tramp-gvfs.el:
4961 * net/tramp-smb.el: Adapt callees.
4963 * net/trampver.el: Update release number.
4965 2012-10-09 Glenn Morris <rgm@gnu.org>
4967 * w32-fns.el (set-message-beep):
4968 * term/w32-win.el (set-message-beep): Update declarations.
4970 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
4972 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
4973 (mode-line-widen, mode-line-input-method-map)
4974 (mode-line-coding-system-map, mode-line-remote)
4975 (mode-line-unbury-buffer, mode-line-bury-buffer)
4976 (mode-line-next-buffer, mode-line-previous-buffer):
4977 Replace save-selected-window+select-window => with-selected-window.
4979 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
4980 * progmodes/cc-vars.el (bq-process): Remove, unused.
4982 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
4984 2012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
4986 Implemented `backward-up-list'-like navigation.
4987 * progmodes/python.el (python-nav-up-list)
4988 (python-nav-backward-up-list): New functions.
4989 (python-mode-map): Define substitute key for backward-up-list to
4990 python-nav-backward-up-list.
4992 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
4994 * progmodes/python.el (python-fill-paragraph): Rename from
4995 python-fill-paragraph-function. Fixed fill-paragraph for
4996 decorators (Bug#12605).
4998 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
5000 * progmodes/python.el (python-shell-output-filter): Handle extra
5001 carriage return in OSX (Bug#12409).
5003 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
5005 Fix shell handling of unbalanced quotes and parens in output.
5006 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
5007 (python-syntax-propertize-function): Use it.
5008 (python-shell-output-syntax-table): New var.
5009 (inferior-python-mode): Prevent unbalanced parens/quotes from
5010 previous output mess with current input context.
5012 2012-10-08 Juanma Barranquero <lekktu@gmail.com>
5014 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
5015 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
5017 2012-10-08 Michael Albinus <michael.albinus@gmx.de>
5019 * ffap.el (ffap-replace-file-component): Support Tramp file name
5020 syntax, not only ange-ftp's one.
5022 2012-10-08 Glenn Morris <rgm@gnu.org>
5024 * cus-start.el (message-log-max): Set :version.
5026 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
5028 2012-10-08 Martin Rudalics <rudalics@gmx.at>
5030 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
5031 the minibuffer window (Bug#10851).
5033 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
5035 Enhancements on forward-sexp movement.
5036 * progmodes/python.el (python-nav-beginning-of-statement)
5037 (python-nav-end-of-statement): Return point-marker.
5038 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
5039 (python-info-current-symbol)
5040 (python-info-statement-starts-block-p): Rename from
5041 python-info-beginning-of-block-p.
5042 (python-info-statement-ends-block-p): Rename from
5043 python-info-end-of-block-p.
5044 (python-info-beginning-of-statement-p)
5045 (python-info-end-of-statement-p)
5046 (python-info-beginning-of-block-p, python-info-end-of-block-p):
5049 2012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
5051 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
5052 frame-selected-windows.
5054 2012-10-08 Daniel Colascione <dancol@dancol.org>
5056 * battery.el (battery-status-function): Check for
5057 w32-battery-status itself, not system-time windows-nt.
5059 * frame.el: Require cl-lib.
5060 (display-format-alist): New variable mapping frame types to
5061 functions that initialize them.
5062 (window-system-for-display): New function: interprets
5063 display-format-alist.
5064 (make-frame-on-display): Remove existing display-selection logic
5065 and just forward to make-frame, which will now DTRT.
5066 (make-frame): Restructure to use window-system-for-display to
5067 figure out how to create a frame on a given display.
5068 (display-mouse-p): Look for frame-type w32, not a particular
5071 * loadup.el: Load w32 lisp code when we have the w32 feature.
5073 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
5074 system-type windows-nt.
5076 * server.el (server-create-window-system-frame): Look for window
5078 (server-proces-filter): Only force a window system when windows-nt
5079 _and_ w32. Explain why.
5081 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
5082 of window systems we configure for the mode.
5084 * startup.el (command-line): Mark window system is initialized
5085 after we've done it.
5087 * common-win.el (x-select-text): Look for w32, not windows-nt.
5089 * ns-win.el: Require cl-lib. Add ourselves to
5090 display-format-alist.
5091 (ns-initialize-window-system): Assert we're not initialized twice.
5093 * w32-win.el: Enable lexical binding; require cl-lib; add
5094 ourselves to display-format-alist.
5095 (w32-handle-dropped-file): Convert incoming dropped files from
5096 Windows paths to Cygwin ones before passing them on to the rest of
5098 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
5099 (w32-initialize-window-system): Assert we're not initialized twice.
5101 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
5102 (x-initialize-window-system): Assert we're not initialized twice.
5104 * w32-common-fns.el: New File.
5105 (w32-version, w32-using-nt, w32-get-clipboard-data)
5106 (w32-set-clipboard-data, x-set-selection, x-get-selection)
5107 (w32-charset-info-alist, x-last-selected, text)
5108 (x-get-selection-value, x-selection-value): Move here.
5110 * w32-fns.el: Require w32-common-fns.
5111 (w32-version, w32-using-nt, w32-get-clipboard-data)
5112 (w32-set-clipboard-data, x-set-selection, x-get-selection)
5113 (w32-charset-info-alist, x-last-selected, text)
5114 (x-get-selection-value, x-selection-value): Move to
5118 (w32-allow-system-shell, w32-system-shells): Define only in
5121 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
5123 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
5124 (read-passwd): Remove a few more potential sources of leaks.
5126 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
5128 * progmodes/python.el (inferior-python-mode)
5129 (python-shell-make-comint): Fix initialization of local
5130 variables copied from parent buffer.
5132 2012-10-07 Jan Djärv <jan.h.d@swipnet.se>
5134 * term/ns-win.el (ns-read-file-name): Update declaration to match
5136 (ns-respond-to-change-font): Change fontsize separatly so we are sure
5137 it is set when font is acted upon.
5139 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
5141 Enhancements to indentation.
5142 * progmodes/python.el (python-indent-context): Give priority to
5143 inside-string context. Make comments indentation markers.
5144 (python-indent-region): Do not mess with strings, unless it's the
5145 enclosing set of quotes.
5147 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
5149 * window.el (internal--before-save-selected-window)
5150 (internal--after-save-selected-window): New functions extracted from
5151 save-selected-window. Make sure we return the `alist' we construct.
5152 (save-selected-window): Use them.
5154 * textmodes/tex-mode.el (tex-recenter-output-buffer):
5155 Use with-selected-window.
5157 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
5158 forms that define macros (bug#12593).
5160 2012-10-07 Kenichi Handa <handa@gnu.org>
5162 * international/mule-conf.el (compound-text-with-extensions):
5163 Add :mime-charset property as x-ctext.
5165 2012-10-07 Stefan Merten <smerten@oekonux.de>
5167 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
5168 (rst-indent-literal-normal, rst-indent-literal-minimized)
5169 (rst-indent-comment): Correct :version tag.
5170 (rst-official-cvs-rev): Correct version string.
5172 2012-10-07 Glenn Morris <rgm@gnu.org>
5174 * mail/rmailmm.el (rmail-mime-process-multipart):
5175 Do not confuse a multipart message with an epilogue
5176 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
5178 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
5180 Fix shell output retrieval and comint-prompt-regexp init.
5181 * progmodes/python.el (inferior-python-mode):
5182 (python-shell-make-comint): Fix initialization of
5183 comint-prompt-regexp from copied file local variables.
5184 (python-shell-fetched-lines): Remove var.
5185 (python-shell-output-filter-in-progress): Rename from
5186 python-shell-fetch-lines-in-progress.
5187 (python-shell-output-filter-buffer): Rename from
5188 python-shell-fetch-lines-string.
5189 (python-shell-fetch-lines-filter): Delete function.
5190 (python-shell-output-filter): New function.
5191 (python-shell-send-string-no-output): Use them.
5193 2012-10-07 Glenn Morris <rgm@gnu.org>
5195 * hi-lock.el (hi-lock-process-phrase):
5196 Try to make it less fragile. (Bug#7161)
5198 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
5200 2012-10-06 Glenn Morris <rgm@gnu.org>
5202 * ehelp.el (electric-help-mode): Use help-mode rather than
5203 non-existent mode `help'.
5204 (electric-help-map): Use button-buffer-map. (Bug#10917)
5206 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
5207 (reftex-create-bibtex-footer): Fix custom types.
5209 * progmodes/sh-script.el (sh-indent-after-continuation):
5210 Add explicit :group.
5212 * textmodes/rst.el (rst-preferred-decorations)
5213 (rst-shift-basic-offset): Clarify obsolescence versions.
5215 * profiler.el (profiler): Add missing group :version tag.
5216 * avoid.el (mouse-avoidance-banish-position):
5217 * proced.el (proced-renice-command):
5218 * calc/calc.el (calc-ensure-consistent-units):
5219 * calendar/icalendar.el (icalendar-import-format-uid):
5220 * net/tramp.el (tramp-save-ad-hoc-proxies):
5221 * progmodes/bug-reference.el (bug-reference-bug-regexp):
5222 * progmodes/flymake.el (flymake-error-bitmap)
5223 (flymake-warning-bitmap, flymake-fringe-indicator-position):
5224 * progmodes/sh-script.el (sh-indent-after-continuation):
5225 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
5226 (verilog-before-save-font-hook, verilog-after-save-font-hook):
5227 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
5228 (vhdl-array-index-record-field-in-sensitivity-list)
5229 (vhdl-indent-comment-like-next-code-line):
5230 * textmodes/reftex-vars.el (reftex-ref-style-alist)
5231 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
5232 (reftex-cite-key-separator, reftex-create-bibtex-header)
5233 (reftex-create-bibtex-footer):
5234 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
5235 (rst-indent-literal-normal, rst-indent-literal-minimized)
5236 (rst-indent-comment): Add missing custom :version tags.
5238 * calendar/timeclock.el (timeclock-modeline-display):
5239 Add missing obsolete alias for renamed user option.
5241 * strokes.el (strokes-modeline-string):
5242 * emulation/crisp.el (crisp-mode-modeline-string):
5243 * eshell/esh-mode.el (eshell-status-in-modeline):
5244 Aliases to defcustoms must come before the defcustom.
5246 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
5247 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
5248 (cal-tex-cursor-week-monday): Doc fixes.
5249 (cal-tex-cursor-week2-summary): Doc fix.
5250 Rename from cal-tex-cursor-week-at-a-glance.
5252 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
5253 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
5255 * calendar/calendar.el (calendar-mode-map):
5256 Add cal-tex-cursor-week2-summary.
5258 2012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
5260 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
5262 * subr.el (read-passwd-map): New var.
5263 (read-passwd): Use `read-string' again.
5264 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
5266 2012-10-06 Jambunathan K <kjambunathan@gmail.com>
5268 * register.el (append-to-register, prepend-to-register):
5269 Deactivate mark, as does `copy-to-register' (bug#12389).
5271 2012-10-06 Chong Yidong <cyd@gnu.org>
5273 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
5275 2012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
5277 * international/characters.el: Fix simple mistake ((car chars) ->
5278 elt), delete duplicated code.
5280 2012-10-06 Glenn Morris <rgm@gnu.org>
5282 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
5284 2012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
5286 * color.el (color-hsl-to-rgb): Fix incorrect results for
5287 small and large hue values. (Bug#12559)
5289 2012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
5291 Enhancements to docstring formatting when filling paragraphs.
5292 * progmodes/python.el (python-fill-docstring-style): Rename from
5293 python-fill-string-style. Added new style.
5294 (python-fill-string): Use new style. Better checks for
5297 2012-10-05 Glenn Morris <rgm@gnu.org>
5299 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
5301 * color.el (color-name-to-rgb, color-rgb-to-hex)
5302 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
5303 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
5304 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
5305 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
5307 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
5309 2012-10-05 Juanma Barranquero <lekktu@gmail.com>
5311 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
5312 to get the correct size across symlinks.
5314 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
5316 2012-10-04 Juri Linkov <juri@jurta.org>
5318 * replace.el (query-replace-interactive): Declare obsolete.
5319 (query-replace-read-from): Add the last incremental search string
5320 to the list of default values accessible via M-n.
5321 (map-query-replace-regexp): Use `read-regexp'.
5322 (query-replace, query-replace-regexp, query-replace-regexp-eval)
5323 (map-query-replace-regexp, replace-string, replace-regexp):
5324 Fix docstrings to replace mentions of `query-replace-interactive'
5325 with alternatives. (Bug#12526)
5327 2012-10-04 Juri Linkov <juri@jurta.org>
5329 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
5330 (dired-pop-to-buffer): Declare obsolete.
5331 (dired-mark-pop-up): Doc fix.
5333 2012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
5335 Allow user to set docstring style for fill-paragraph.
5336 * progmodes/python.el
5337 (python-fill-comment-function, python-fill-string-function)
5338 (python-fill-decorator-function, python-fill-paren-function):
5339 Remove :safe for defcustoms.
5340 (python-fill-string-style): New defcustom
5341 (python-fill-paragraph-function): Enhance context detection.
5342 (python-fill-string): Honor python-fill-string-style settings.
5344 2012-10-04 Martin Rudalics <rudalics@gmx.at>
5346 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
5347 after setting its buffer (Bug#10805).
5349 2012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
5351 Fix cornercase for string syntax.
5352 * progmodes/python.el (python-syntax-propertize-function):
5353 Simplify and enhance the regexp for unescaped quotes. Now it also
5354 matches quotes in weird situations like the single quote in
5356 (python-syntax-stringify): Simplify num-quotes detecting code.
5358 2012-10-03 Glenn Morris <rgm@gnu.org>
5360 * help-macro.el (three-step-help):
5361 Revert 2012-09-29 change. (Bug#12567)
5363 2012-10-03 Martin Rudalics <rudalics@gmx.at>
5365 * menu-bar.el (kill-this-buffer): Don't do anything when
5366 `menu-frame' is not alive or visible (Bug#8184).
5368 * emacs-lisp/debug.el (debug): When quitting the debugger window
5369 restore current buffer (Bug#12502).
5371 2012-10-02 Chong Yidong <cyd@gnu.org>
5373 * progmodes/hideif.el (hif-lookup, hif-defined):
5374 Handle semantic-c-takeover-hideif.
5376 2012-10-02 Paul Eggert <eggert@cs.ucla.edu>
5378 Change sampling interval units from ms to ns.
5379 * profiler.el (profiler-sampling-interval): Change units
5380 from ms to ns, multiplying the default by 1000000 so that
5382 (profiler-report-cpu-line-format): Give enough room for
5383 the maximum counters on 64-bit hosts.
5384 (profiler-report-render-calltree-1): Call them "CPU samples",
5385 not "Time (ms)", since they are not milliseconds now (and
5388 2012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
5390 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
5391 Fix querying BBDB for entries without a last name (Bug#11580).
5393 2012-10-02 Chong Yidong <cyd@gnu.org>
5395 * emacs-lisp/eieio.el: Restore Version header.
5397 2012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
5399 * vc/diff-mode.el (diff--auto-refine-data): New var.
5400 (diff-hunk): Use it to delay refinement.
5401 (diff-mode): Remove overlays when we turn off font-lock.
5403 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
5404 (table-initialize-table-fixed-width-mode)
5405 (table-set-table-fixed-width-mode): Remove functions.
5406 (table-command-list): Move initialization into declaration.
5407 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
5408 (table-with-cache-buffer): Use `declare'.
5409 (table-span-cell): Simplify via CSE.
5410 (table-fixed-width-mode): Use define-minor-mode.
5411 (table-call-interactively, table-funcall, table-apply): Remove.
5412 (table-function): New function, to replace them.
5414 * bookmark.el (bookmark-search-pattern): Remove var.
5415 (bookmark-read-search-input): Remove function.
5416 (bookmark-bmenu-search): Reimplement using a minibuffer.
5418 * faces.el (modeline): Remove obsolete face name.
5420 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
5421 and give a non-nil default value.
5422 (add-change-log-entry): Simplify accordingly.
5424 2012-10-01 Dmitry Gutov <dgutov@yandex.ru>
5426 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
5427 (vc-git-log-edit-toggle-amend): New function.
5428 (vc-git-log-edit-toggle-signoff): New function.
5429 (vc-git-log-edit-mode): New major mode.
5430 (vc-git-log-edit-mode-map): Keymap for it.
5431 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
5433 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
5435 (log-edit-toggle-header): New function.
5436 (log-edit-extract-headers): Accept function values in HEADERS alist.
5438 2012-10-01 David Engster <deng@randomsample.de>
5440 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
5441 from symbol property and change message to be more consistent with
5443 (eieio-describe-generic): Add filename for each implementation.
5444 Fix indices for generic and normal methods.
5445 (eieio-method-def, eieio-class-def): New buttons.
5446 (eieio-help-find-method-definition)
5447 (eieio-help-find-class-definition): New functions.
5448 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
5449 class, constructor and method definitions.
5451 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
5452 information in symbol property.
5453 (scoped-class): Remove.
5454 (eieio-slot-name-index, call-next-method): Check if it is bound.
5456 2012-10-01 Leo P. White <lpw25@cam.ac.uk>
5458 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
5459 (eieio-custom-mode): New major mode.
5460 (eieio-customize-object): Use it.
5462 2012-10-01 Eric Ludlam <zappo@gnu.org>
5464 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
5465 specifying the expected class, and whether subclassing is allowed.
5466 (eieio-persistent-convert-list-to-object):
5467 (eieio-persistent-validate/fix-slot-value)
5468 (eieio-persistent-slot-type-is-class-p): New functions.
5469 (eieio-named::slot-missing): Doc fix.
5471 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
5472 Stop using unused publd variable.
5474 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
5475 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
5476 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
5477 (eieio-speedbar-handle-click): Do not specify a class for the
5478 method. Fixes method invocation order problems with EDE.
5480 2012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
5482 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
5483 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
5485 2012-10-01 Karl Fogel <kfogel@red-bean.com>
5487 * bookmark.el (bookmark-version-control): Give tags in the
5488 :type choices (Bug#12309), and improve doc string.
5489 (bookmark-write-file): Bind `print-circle' to `t' to allow
5490 circular custom bookmark types. (Bug#12503)
5492 2012-10-01 Paul Eggert <eggert@cs.ucla.edu>
5494 Revert the FOLLOW-SYMLINKS change for file-attributes.
5495 * files.el (remote-file-name-inhibit-cache, after-find-file):
5496 * time.el (display-time-file-nonempty-p): Undo last change.
5498 * profiler.el (profiler-sampling-interval): Change default back to 1.
5499 See Stefan Monnier in
5500 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
5502 2012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
5504 Shell output catching a la gud-gdb.
5505 * progmodes/python.el (python-shell-fetch-lines-in-progress)
5506 (python-shell-fetch-lines-string, python-shell-fetched-lines):
5508 (python-shell-fetch-lines-filter): New function.
5509 (python-shell-send-string-no-output): Use them.
5511 2012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
5513 * profiler.el (profiler-sampling-interval): Rename from
5514 profiler-sample-interval.
5515 (profiler-sampling-interval): Default to 10.
5516 (profiler-find-profile): New command (was profiler-find-log).
5517 (profiler-find-profile-other-window): New command.
5518 (profiler-find-profile-other-frame): New command.
5519 (profiler-profile): Introduce API-level data structure.
5521 2012-09-30 Paul Eggert <eggert@cs.ucla.edu>
5523 file-attributes has a new optional arg FOLLOW-SYMLINKS.
5524 * files.el (remote-file-name-inhibit-cache):
5525 * time.el (display-time-file-nonempty-p): Use it.
5526 * files.el (after-find-file): Don't chase links before calling
5527 file-exists-p, as file-exists-p already does the right thing.
5529 2012-09-30 Ralf Angeli <angeli@caeruleus.net>
5531 Merge from standalone RefTeX repository.
5533 The following ChangeLog entries are shortened versions of the
5534 original ones with file paths adapted. A not so strongly edited
5535 version of the original ChangeLog can be found in the commit log.
5537 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
5538 (reftex-arg-cite): Use `reftex-cite-key-separator'.
5539 Correctly handle new value type returned by `reftex-citation'.
5541 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
5542 that entries with whitespace at various places are found.
5543 Doc fix. Include entries that are cross-referenced from cited entries.
5544 Include @String definitions in the resulting bib file. Add header
5545 and footer defined in `reftex-create-bibtex-header' and
5546 `reftex-create-bibtex-footer'.
5547 (reftex-do-citation): Make it possible again to insert
5548 non-existent entries. Save match data when asking for optional
5549 arguments. Return all keys, not just the first one.
5550 (reftex-all-used-citation-keys): Fix regexp to correctly extract
5551 all citations in the same line.
5552 (reftex-parse-bibtex-entry): Accept additional optional argument
5553 `raw' and keep quotes or braces if it is non-nil. Match fields
5554 containing hyphens besides word constituents.
5555 (reftex-get-string-refs): New function.
5556 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
5557 and ask if it should be reread in case it did.
5558 (reftex-pop-to-bibtex-entry)
5559 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
5560 entries with spaces or tabs in front of arguments.
5561 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
5562 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
5563 Match entries containing numbers and symbol constituents.
5564 (reftex-do-citation, reftex-figure-out-cite-format):
5565 Use `reftex-cite-key-separator'.
5567 * textmodes/reftex-dcr.el: Move provide statement to end of file.
5568 (reftex-mouse-view-crossref): Explain why point is set.
5570 * textmodes/reftex-global.el: Whitespace changes.
5572 * textmodes/reftex-index.el: Move provide statement to end of
5574 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
5575 (reftex-index-visit-phrases-buffer): Set marker when visiting
5576 buffer. This allows for returning from the phrases file to the
5577 file one was just editing instead of the file where the last
5578 phrases was added from.
5579 (reftex-index-phrases-syntax-table): New variable. Give ?\"
5580 punctuation syntax as it usually is not used as string quote in
5581 TeX-related modes and may occur unmatched. The change also
5582 prevents fontification of quoted content.
5583 (reftex-index-phrases-mode): Use it.
5585 * textmodes/reftex-parse.el (reftex-parse-from-file):
5586 Move backward one char if a `\' was matched after a section macro.
5587 (reftex-parse-from-file): Use beginning of match instead of end as
5590 * textmodes/reftex-ref.el: Adapt creation of
5591 `reftex-<package>-<macro>' functions to new structure of
5592 `reftex-ref-style-alist'.
5593 (reftex-reference): Use `reftex-ref-style-list' function.
5594 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
5595 reference macro if `reftex-ref-macro-prompt' is non-nil.
5596 (reftex-reference): Pass refstyle to `reftex-format-special'.
5597 Determine reference macro by looking at
5598 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
5599 Use only one special format function.
5600 (reftex-varioref-vref, reftex-fancyref-fref)
5601 (reftex-fancyref-Fref): Remove definitions. The functions are now
5602 generated from `reftex-ref-style-alist'.
5603 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
5605 (reftex-format-special): New function.
5607 * textmodes/reftex-sel.el
5608 (reftex-select-cycle-ref-style-internal): Adapt to new structure
5609 of `reftex-ref-style-alist'. Remove code for testing macro type.
5610 (reftex-select-toggle-varioref)
5611 (reftex-select-toggle-fancyref): Remove.
5612 (reftex-select-cycle-ref-style-internal)
5613 (reftex-select-cycle-ref-style-forward)
5614 (reftex-select-cycle-ref-style-backward): New functions.
5615 (reftex-select-label-map): Use `v' and `V' for general cycling
5616 through reference styles. Add `p' for switching between number
5617 and page reference types.
5619 * textmodes/reftex-toc.el (reftex-re-enlarge):
5620 Call `enlarge-window' only if there is something to do because in Emacs
5621 the horizontal version throws an error even if the parameter is 0.
5623 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
5624 (reftex-plug-into-AUCTeX): Doc fix.
5625 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
5626 string. Adapt to new name.
5627 (reftex-ref-style-alist): Change structure so that it is not
5628 possible to use multiple different package names within a style.
5629 Remove the symbols for symbols for macro type distinction.
5630 Add characters for macro selection.
5631 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
5632 (reftex-create-bibtex-footer): New variables.
5633 (reftex-format-ref-function): Mention third argument of special
5635 (reftex-ref-style-alist, reftex-ref-style-default-list):
5637 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
5638 to new implementation. Mark as obsolete. Add compatibility code
5639 for honoring the variable values in case they are set.
5640 (reftex-cite-format-builtin, reftex-bibliography-commands):
5641 Add support for ConTeXt.
5642 (reftex-format-ref-function, reftex-format-cite-function):
5644 (reftex-cite-key-separator): New variable.
5646 * textmodes/reftex.el (reftex-syntax-table-for-bib)
5647 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
5648 `reftex-syntax-table' because parens have to retain their paren
5649 syntax in order for parsing of BibTeX entries like @book(...) to
5651 (reftex-in-comment): Do not error out if `comment-start-skip' is
5652 not set. Deal correctly with escaped comment characters.
5653 (reftex-tie-multifile-symbols): Add doc string.
5654 Initialize `reftex-ref-style-list'.
5655 (reftex-untie-multifile-symbols): Add doc string.
5656 (reftex-add-index-macros): Doc fix.
5657 (reftex-ref-style-activate, reftex-ref-style-toggle)
5658 (reftex-ref-style-list): New functions.
5659 (reftex-mode-menu): Use them. Adapt to new structure of
5660 `reftex-ref-style-alist'.
5661 (reftex-select-with-char): Kill the RefTeX Select buffer when
5663 (reftex-remove-if): New function.
5664 (reftex-erase-all-selection-and-index-buffers)
5665 (reftex-mode-menu): Reference styles are now computed from
5666 `reftex-ref-style-alist'. Fix typo.
5667 (reftex-report-bug): New function.
5668 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
5669 algorithms with O(n log n). Introduce optional argument SORT (not
5672 2012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
5674 Enhancements for triple-quote string syntax.
5675 * progmodes/python.el (python-syntax-propertize-function):
5676 Match both quote cases in one regexp.
5677 (python-syntax-stringify): Handle matches properly.
5679 2012-09-30 Juri Linkov <juri@jurta.org>
5681 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
5682 to nil around the call to `insert' to prevent
5683 directory time modification by lock_file. (Bug#2295)
5684 * tar-mode.el (tar-summarize-buffer): Idem.
5686 2012-09-30 Juri Linkov <juri@jurta.org>
5688 * facemenu.el (list-colors-sort): Add option "Luminance".
5689 (list-colors-sort-key): Implement it.
5691 * vc/diff-mode.el (diff-refine-removed):
5692 * vc/ediff-init.el (ediff-fine-diff-A):
5693 * vc/smerge-mode.el (smerge-refined-removed):
5694 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
5696 2012-09-30 Jan Djärv <jan.h.d@swipnet.se>
5698 * term/ns-win.el (x-file-dialog): New function.
5700 2012-09-30 Juanma Barranquero <lekktu@gmail.com>
5702 * ido.el (ido-max-directory-size): Default to nil; the current
5703 default is small for POSIX systems, and impractical on Windows 7
5704 now that lstat returns directory sizes for NTFS.
5706 2012-09-30 Martin Rudalics <rudalics@gmx.at>
5708 In buffer display functions handle window-height/window-width
5709 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
5710 * window.el (window--display-buffer): New argument ALIST.
5711 Obey window-height and window-width alist entries.
5712 (window--try-to-split-window): New argument ALIST.
5713 Bind window-combination-limit to t when the window's size shall be
5714 changed and window-combination-limit equals `window-size'.
5715 (display-buffer-in-atom-window)
5716 (display-buffer-in-major-side-window)
5717 (display-buffer-in-side-window, display-buffer-same-window)
5718 (display-buffer-reuse-window, display-buffer-pop-up-frame)
5719 (display-buffer-pop-up-window, display-buffer-below-selected)
5720 (display-buffer-at-bottom, display-buffer-in-previous-window)
5721 (display-buffer-use-some-window): Adjust all callers of
5722 window--display-buffer and window--try-to-split-window.
5723 (fit-frame-to-buffer): New option.
5724 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
5726 (display-buffer-in-major-side-window): Evaluate window-height /
5727 window-width alist entries.
5729 * help.el (temp-buffer-resize-frames)
5730 (temp-buffer-resize-regexps): Remove options.
5731 (temp-buffer-resize-mode): Adjust doc-string.
5732 (resize-temp-buffer-window): Don't consult
5733 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
5734 temp-buffer-resize-frames.
5736 * dired.el (dired-mark-pop-up):
5737 Call display-buffer-below-selected with a fit-window-to-buffer alist
5740 2012-09-30 Chong Yidong <cyd@gnu.org>
5742 * server.el (server-host): Document the security implications.
5743 (server-auth-key): Doc fix.
5745 * startup.el (initial-buffer-choice): Doc fix.
5747 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
5749 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
5752 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
5754 * help-fns.el (help-fns--obsolete): Fix last change.
5756 2012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
5758 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
5759 (minor-mode-map-alist): Remove redundant code.
5761 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
5762 visited in a buffer.
5763 (cvs-insert-visited-file): New function.
5764 (find-file-hook): Use it.
5766 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
5768 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
5770 (log-edit-empty-buffer-p): Don't require a space after a header.
5772 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
5774 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
5776 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
5777 a proper minor-mode.
5779 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
5781 2012-09-29 Glenn Morris <rgm@gnu.org>
5783 * winner.el (winner-mode): Remove variable (let define-minor-mode
5785 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
5787 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
5788 (winner-mode): Use define-minor-mode.
5790 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
5791 the full definition in loaddefs, rather than duplicating it.
5793 * help-macro.el (three-step-help): No need to autoload defcustom.
5795 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
5796 (inferior-lisp-program, inferior-lisp-load-command)
5797 (inferior-lisp-prompt, inferior-lisp-mode-hook):
5798 No need to autoload defcustoms.
5800 * hippie-exp.el (hippie-expand-try-functions-list)
5801 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
5802 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
5803 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
5804 (hippie-expand-only-buffers): No need to autoload defcustoms.
5805 * progmodes/vhdl-mode.el (vhdl-line-expand):
5806 Explicitly load hippie-exp, so it does not get autoloaded
5807 while hippie-expand-try-functions-list is let-bound.
5809 2012-09-28 Glenn Morris <rgm@gnu.org>
5811 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
5813 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
5814 Only "cl.el" counts as cl these days.
5816 2012-09-28 Juri Linkov <juri@jurta.org>
5818 Display archive errors in the echo area instead of inserting
5821 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
5822 to STDERR-TEST that can be a regexp matching a successful output.
5823 Create a temporary file and redirect stderr to it. Search for
5824 STDERR-TEST in the stderr output and display it in the echo area
5825 if no match is found.
5826 (archive-extract-by-file): New function like
5827 `archive-extract-by-stdout' but extracting archives to files
5828 and looking for successful matches in stdout. Function body is
5829 mostly copied from `archive-rar-extract'.
5830 (archive-rar-extract): Use `archive-extract-by-file'.
5831 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
5833 2012-09-28 Leo Liu <sdl.web@gmail.com>
5835 * pcomplete.el (pcomplete-show-completions):
5836 Use minibuffer-message to make pcomplete usable in minibuffer.
5838 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
5840 2012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
5842 * type-break.el: Use lexical-binding.
5843 (type-break-mode): Use define-minor-mode.
5845 * emacs-lisp/pcase.el (pcase--mark-used): New.
5846 (pcase--u1): Use it (bug#12512).
5848 * custom.el (load-theme): Set buffer-file-name so the load is recorded
5849 in load-history with the right file name.
5851 2012-09-28 Tassilo Horn <tsdh@gnu.org>
5853 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
5854 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
5855 (doc-view-get-bounding-box): Make bounding box slicing work for
5856 ODF and DVI documents.
5858 2012-09-28 Glenn Morris <rgm@gnu.org>
5860 * type-break.el (type-break-mode, type-break-interval)
5861 (type-break-good-rest-interval, type-break-keystroke-threshold):
5862 No need to autoload.
5863 (type-break-good-rest-interval, type-break-keystroke-threshold):
5866 2012-09-28 Chong Yidong <cyd@gnu.org>
5868 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
5871 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
5873 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
5875 2012-09-27 Glenn Morris <rgm@gnu.org>
5877 * faces.el (x-display-name): Declare (for without-x builds).
5879 * linum.el (linum-format): Don't autoload it. Improve :type.
5881 * progmodes/tcl.el: Don't require outline when compiling.
5882 (outline-regexp, outline-level): Declare.
5883 * textmodes/sgml-mode.el: Don't require outline when compiling.
5884 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
5886 * term.el (term-ansi-reset):
5887 Try setting term-ansi-face-already-done to nil. (Bug#11785)
5889 * vc/vc.el (vc-next-action): Only gripe about committing read-only
5890 files for RCS and SCCS. (Bug#9781)
5892 2012-09-27 Chong Yidong <cyd@gnu.org>
5894 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
5895 change; value should be t.
5897 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
5899 * image-mode.el: Use lexical-binding.
5900 (image-mode-winprops): Use t to stand for the window of
5901 a buffer that's not displayed.
5902 * doc-view.el (doc-view-new-window-function): Handle the new
5904 (doc-view-enlarge): Make it a real nop if the size is not changed.
5905 (doc-view-display): Handle the case where the buffer is not (yet?)
5906 displayed in any window.
5907 (doc-view-saved-settings): New var.
5908 (doc-view-mode): Use it.
5909 (doc-view-fallback-mode): Set it.
5911 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
5912 Set lexical-binding.
5913 (minibuffer-eldef-shorten-default): New var.
5914 (minibuffer-default-in-prompt-regexps): Use it for new default.
5915 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
5917 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
5919 * international/uni-bidi.el:
5920 * international/uni-category.el:
5921 * international/uni-name.el:
5922 * international/uni-numeric.el: Regenerate.
5924 2012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
5925 Stefan Monnier <monnier@iro.umontreal.ca>
5927 * profiler.el: New file.
5929 2012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
5931 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
5932 (testcover-reinstrument): Simplify with CSE.
5934 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
5936 * window.el (temp-buffer-window-setup): Fix typo in docstring.
5938 2012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
5940 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
5941 (verilog-auto-input, verilog-auto-insert-lisp)
5942 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
5943 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
5944 (verilog-auto-unused, verilog-auto-wire)
5945 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
5946 newline. Reported by Andrew Jones.
5947 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
5948 Reported by Brad Dobbie.
5949 (verilog-batch-delete-trailing-whitespace):
5950 Create verilog-batch-delete-trailing-whitespace.
5951 Reported by Brad Dobbie.
5952 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
5953 parameters from another module. Reported by Dan Katz.
5954 (verilog-auto, verilog-auto-assign-modport)
5955 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
5956 AUTOINOUTMODPORT for UVM interface module shell generation.
5957 Reported by Brad Dobbie.
5958 (verilog-auto-inst-interfaced-ports): Make default nil, as more
5960 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
5961 Reported by Matt Martin.
5963 2012-09-25 Martin Rudalics <rudalics@gmx.at>
5965 * window.el (window--resize-child-windows): When resizing child
5966 windows proportionally, process them in reverse order to
5967 preserve the "when splitting a window the new one gets the odd
5969 (window--resize-root-window-vertically): When resizing the
5970 minibuffer window try to affect only windows at the bottom of the
5973 2012-09-25 Chong Yidong <cyd@gnu.org>
5975 * subr.el (declare): Doc fix.
5977 * help-fns.el (help-fns--obsolete): Handle macros properly.
5979 2012-09-25 Chong Yidong <cyd@gnu.org>
5981 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
5982 this function obsolete.
5984 * calendar/cal-x.el (calendar-two-frame-setup)
5985 (calendar-only-one-frame-setup, calendar-one-frame-setup):
5986 * calendar/calendar.el (american-calendar, european-calendar)
5987 (calendar-for-loop):
5988 * comint.el (comint-dynamic-simple-complete)
5989 (comint-dynamic-complete-as-filename, comint-unquote-filename):
5990 * desktop.el (desktop-load-default):
5991 * dired-x.el (dired-omit-here-always)
5992 (dired-hack-local-variables, dired-default-directory):
5993 * emacs-lisp/derived.el (derived-mode-class):
5994 * emacs-lisp/timer.el (timer-set-time-with-usecs):
5995 * emacs-lock.el (toggle-emacs-lock):
5996 * epa.el (epa-display-verify-result):
5997 * epg.el (epg-sign-keys, epg-start-sign-keys)
5998 (epg-passphrase-callback-function):
5999 * eshell/esh-util.el (eshell-for):
6000 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
6001 (eshell-add-to-window-buffer-names):
6002 * files.el (locate-file-completion):
6003 * imenu.el (imenu-example--create-c-index)
6004 (imenu-example--create-lisp-index)
6005 (imenu-example--lisp-extract-index-name)
6006 (imenu-example--name-and-position):
6007 * international/mule-cmds.el (princ-list):
6008 * international/mule-diag.el (decode-codepage-char):
6009 * international/mule-util.el (detect-coding-with-priority):
6010 * iswitchb.el (iswitchb-read-buffer):
6011 * mail/mailalias.el (mail-complete):
6012 * mail/sendmail.el (mail-sent-via):
6013 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
6014 (mouse-major-mode-menu):
6015 * password-cache.el (password-read-and-add):
6016 * pcomplete.el (pcomplete-parse-comint-arguments):
6017 * progmodes/sh-script.el (sh-maybe-here-document):
6018 * replace.el (query-replace-regexp-eval):
6019 * savehist.el (savehist-load):
6020 * simple.el (choose-completion-delete-max-match):
6021 * term.el (term-dynamic-simple-complete):
6022 * vc/ediff-init.el (ediff-check-version):
6023 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
6024 * vc/vc.el (vc-diff-switches-list):
6025 * view.el (view-return-to-alist-update): Likewise.
6027 * subr.el (eval-next-after-load, makehash, insert-string)
6028 (assoc-ignore-representation, assoc-ignore-case): Use declare to
6030 (mode-line-inverse-video): Variable deleted.
6032 * international/mule-util.el (string-to-sequence): Remove.
6034 * calendar/calendar.el (calendar-version):
6035 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
6036 (icalendar-convert-diary-to-ical):
6037 * cus-edit.el (custom-mode):
6038 * ansi-color.el (ansi-color-unfontify-region):
6039 * international/latin1-disp.el (latin1-char-displayable-p):
6040 * progmodes/cwarn.el (turn-on-cwarn-mode):
6041 * progmodes/which-func.el (which-func-update-1):
6042 Use define-obsolete-function-alias.
6044 * net/newst-backend.el (newsticker-cache-filename):
6045 * net/newst-treeview.el (newsticker-groups-filename):
6046 Fix incorrect obsolescence declaration.
6048 * allout.el (allout-passphrase-hint-string): Likewise.
6049 (allout-init): Use a declare form to mark obsolete.
6051 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
6052 this applies to functions.
6054 * iswitchb.el (iswitchb-read-buffer): Move code of
6055 iswitchb-define-mode-map here, and delete that obsolete function.
6057 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
6058 font-lock-reference-face.
6060 2012-09-25 Glenn Morris <rgm@gnu.org>
6062 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
6065 * eshell/em-term.el (eshell-term-name):
6066 Default to term-term-name. (Bug#12485)
6068 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
6070 * progmodes/python.el (python-shell-send-buffer): Better handling
6071 of "if __name__ == '__main__':" conditionals when sending the buffer.
6073 2012-09-24 Glenn Morris <rgm@gnu.org>
6075 * eshell/esh-cmd.el (eshell-find-alias-function):
6076 Tighten up file-name regexp. (Bug#12499)
6078 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
6080 Enhancements for triple-quote string syntax.
6081 * progmodes/python.el (python-quote-syntax): Remove.
6082 (python-syntax-propertize-function): New value.
6083 (python-syntax-count-quotes, python-syntax-stringify):
6086 2012-09-24 Chong Yidong <cyd@gnu.org>
6088 * mail/supercite.el (sc-version): Remove obsolete function.
6089 (sc-describe): Don't mark as obsolete, since it is bound.
6090 (sc-submit-bug-report): Remove.
6092 * vc/log-edit.el (cvs-changelog-full-paragraphs)
6093 (cvs-commit-buffer-require-final-newline): Remove.
6094 (log-edit-require-final-newline)
6095 (log-edit-changelog-full-paragraphs): Default to t.
6097 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
6098 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
6099 * vc/vc.el (vc-checkout-carefully): Likewise.
6101 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
6102 (emerge-version): Remove.
6104 * progmodes/compile.el (compile-internal): Remove.
6105 (compilation-parse-errors-function): Fix typo.
6107 * international/mule.el (set-char-table-default): Remove.
6108 (set-coding-priority, make-coding-system, generic-char-p)
6109 (charset-list, charset-bytes, charset-id): Use declare to mark
6110 functions as obsolete.
6112 * vc/pcvs-defs.el (cvs-buffer-name-alist)
6113 (cvs-invert-ignore-marks): Remove references to obsolete vars.
6114 * vc/vc-hooks.el (vc-default-registered): Don't use
6115 vc-master-templates.
6117 * font-lock.el (font-lock-reference-face):
6118 Use define-obsolete-variable-alias.
6120 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
6121 * calendar/calendar.el (calendar-font-lock-keywords):
6122 * calendar/diary-lib.el (diary-font-lock-keywords)
6123 (diary-fancy-font-lock-keywords):
6124 * textmodes/reftex-sel.el (reftex-insert-docstruct):
6125 * textmodes/reftex-index.el (reftex-insert-index):
6126 * textmodes/reftex-cite.el (reftex-format-bib-entry):
6127 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6128 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
6129 * progmodes/prolog.el (prolog-font-lock-keywords):
6130 * progmodes/idlwave.el (idlwave-idl-keywords):
6131 * progmodes/ada-mode.el (ada-font-lock-keywords):
6132 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
6134 2012-09-24 Glenn Morris <rgm@gnu.org>
6136 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
6138 2012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
6140 * progmodes/python.el (python-indent-line): More consistent cursor
6143 2012-09-23 Stefan Merten <smerten@oekonux.de>
6145 * textmodes/rst.el: Fix compiler warning.
6147 2012-09-23 Roland Winkler <winkler@gnu.org>
6149 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
6150 Transcribe also LaTeX hyphenation.
6151 (bibtex-reformat): Bug fix. Do not quote twice the elements of
6152 bibtex-reformat-previous-options.
6154 2012-09-23 Roland Winkler <winkler@gnu.org>
6156 * proced.el (proced-renice-command): New variable.
6157 (proced-marked-processes): New function.
6158 (proced-with-processes-buffer): New macro.
6159 (proced-send-signal): Use them.
6160 (proced-renice): New command bound to r.
6162 2012-09-23 Roland Winkler <winkler@gnu.org>
6164 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
6165 ibuffer-saved-filter-groups has one element, shortcut the call of
6166 completing-read. (Bug#12331)
6168 2012-09-23 Chong Yidong <cyd@gnu.org>
6170 * bindings.el (mode-line-toggle-read-only):
6171 * bs.el (bs-toggle-readonly):
6172 * buff-menu.el (Buffer-menu-toggle-read-only):
6173 * dired.el (dired-toggle-read-only):
6174 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
6176 2012-09-23 Chong Yidong <cyd@gnu.org>
6178 * image.el (image-type-available-p): Adapt to init-image-library
6181 2012-09-22 Juri Linkov <juri@jurta.org>
6183 * dired.el (dired-mode-map): Add [remap read-only-mode] for
6184 `dired-toggle-read-only'. (Bug#12462)
6186 2012-09-22 Martin Rudalics <rudalics@gmx.at>
6188 * subr.el (temp-output-buffer-show): New function.
6189 (with-output-to-temp-buffer): Call temp-output-buffer-show
6190 instead of internal-temp-output-buffer-show.
6192 2012-09-22 Chong Yidong <cyd@gnu.org>
6194 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
6197 * repeat.el (repeat): Doc fix (Bug#12348).
6199 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
6202 * simple.el (shell-command-on-region): Doc fix.
6203 (read-only-mode): Doc fix.
6205 2012-09-22 Eli Zaretskii <eliz@gnu.org>
6207 * emacs-lisp/timer.el (run-with-idle-timer)
6208 (timer-activate-when-idle): Warn against reinvoking an idle timer
6209 from within its own timer action. (Bug#12447)
6211 2012-09-22 Martin Rudalics <rudalics@gmx.at>
6213 * cus-start.el (window-combination-limit): Add new optional
6215 * window.el (temp-buffer-window-show)
6216 (window--try-to-split-window): Handle new values of
6217 window-combination-limit (Bug#1806).
6218 (split-window): Test window-combination-limit for t instead of
6220 (display-buffer-at-bottom): New buffer display action function.
6221 * help.el (temp-buffer-resize-regexps): New option.
6222 (temp-buffer-resize-mode): Rewrite doc-string.
6223 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
6224 Don't resize reused window. Suggested by Glenn Morris.
6226 2012-09-22 Stefan Merten <smerten@oekonux.de>
6228 * textmodes/rst.el: Revamp section title faces.
6229 (rst-official-version)
6230 (rst-package-emacs-version-alist): Sync with official version
6232 (rst-faces-defaults, rst-set-level-default)
6233 (rst-level-face-max, rst-level-face-base-color)
6234 (rst-level-face-base-light, rst-level-face-format-light)
6235 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
6236 (rst-adornment-faces-alist): Match new setup.
6237 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
6238 (rst-level-5, rst-level-6): New faces.
6240 2012-09-22 Chong Yidong <cyd@gnu.org>
6242 * simple.el (undo): Handle indirect buffers (Bug#8207).
6244 2012-09-21 Leo Liu <sdl.web@gmail.com>
6246 IDO: Disable match re-ordering for buffer switching.
6247 * ido.el (ido-buffer-disable-smart-matches): New variable.
6248 (ido-set-matches-1): Use it. (Bug#2042)
6250 2012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
6252 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
6253 Fix 2011-05-17 change. (Bug#12418)
6255 2012-09-21 Leo Liu <sdl.web@gmail.com>
6257 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
6259 2012-09-21 Glenn Morris <rgm@gnu.org>
6261 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
6262 Be more robust about locating simple.el.
6264 2012-09-21 Glenn Morris <rgm@gnu.org>
6266 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
6268 2012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
6270 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
6272 2012-09-20 Juri Linkov <juri@jurta.org>
6274 * replace.el (query-replace-read-from): Use `read-regexp' instead
6275 of `read-from-minibuffer' when `regexp-flag' is non-nil.
6276 (occur-read-primary-args): Use `read-regexp' instead of
6278 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
6279 `read-from-minibuffer'.
6280 * isearch.el (isearch-occur): Use `read-regexp' instead of
6282 * dired.el (dired-read-regexp): Use `read-regexp' instead of
6283 `read-from-minibuffer'.
6284 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
6285 of `read-string'. (Bug#7567)
6287 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
6288 and allow accepting a list of strings prepended to a list of
6289 standard default values. Doc fix. (Bug#12321)
6291 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
6293 * replace.el (read-regexp): Don't add ": " when PROMPT already
6294 ends with a colon and space. (Bug#12321)
6296 2012-09-20 Tassilo Horn <tsdh@gnu.org>
6298 * doc-view.el (doc-view-display): Better fix for the cl-assertion
6301 2012-09-20 Stefan Merten <smerten@oekonux.de>
6303 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
6304 Fixes feature request bug#11711.
6305 (rst-mode): Create `imenu-create-index-function'.
6306 (rst-get-stripped-line): Delete after refactoring.
6307 (rst-section-tree, rst-section-tree-rec)
6308 (rst-section-tree-point): Refactor and document properly.
6309 (rst-imenu-find-adornments-for-position)
6310 (rst-imenu-convert-cell, rst-imenu-create-index):
6313 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
6315 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
6316 (macroexp--expand-all): Use it.
6317 (macroexp--funcall-and-return): Remove by folding it into its sole
6318 caller (macroexp--warn-and-return).
6319 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
6320 Use macroexp--obsolete-warning.
6322 * calc/calc.el: Fix last change by removing the whole chunk, since it
6323 was only needed back when Calc was not bundled.
6325 2012-09-20 Martin Rudalics <rudalics@gmx.at>
6327 * emacs-lisp/debug.el (debug): Restore assignment to
6328 debugger-old-buffer removed on 2012-09-08.
6330 2012-09-20 Juri Linkov <juri@jurta.org>
6332 * dired-aux.el (dired-diff): Remove (require 'diff) since
6333 `diff-latest-backup-file' is now autoloaded.
6335 2012-09-20 Chong Yidong <cyd@gnu.org>
6337 * vc/diff.el (diff-latest-backup-file): Autoload.
6339 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
6341 * calc/calc.el: Remove redundant autoload shape check.
6342 (sel-mode): Don't defvar.
6343 (calc-get-stack-element): Add `sel-mode' arg instead.
6344 (calc-top, calc-top-list): Pass it this additional argument.
6345 * calc/calc-store.el (calc-store-map):
6346 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
6347 (calc-map-equation, calc-outer-product, calc-inner-product):
6348 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
6350 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
6352 2012-09-19 Juri Linkov <juri@jurta.org>
6354 * dired-aux.el (dired-diff): Add (require 'diff) because
6355 `diff-latest-backup-file' is not autoloaded.
6356 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
6357 of `dired-get-filename' to t to not report error when there is
6358 no default file on the current line.
6360 2012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
6362 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
6363 macroexp--eval-if-compile.
6364 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
6365 (macroexp--expand-all): Use them (bug#12371).
6367 * doc-view.el (doc-view-guess-paper-size)
6368 (doc-view-scale-bounding-box): Fix unbound `caddr'.
6370 2012-09-19 Tassilo Horn <tsdh@gnu.org>
6372 New feature: set optimal slice from BoundingBox information.
6373 * doc-view.el (doc-view-mode-map): Add keybinding.
6374 (doc-view-menu): Add menu entry.
6375 (doc-view-set-slice): Adapt docstring.
6376 (doc-view-get-bounding-box, doc-view-guess-paper-size)
6377 (doc-view-scale-bounding-box)
6378 (doc-view-set-slice-from-bounding-box): New functions.
6379 (doc-view-paper-sizes): New defvar.
6381 2012-09-19 Glenn Morris <rgm@gnu.org>
6383 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
6384 (byte-compile-log-warning): Autoload. (Bug#12371)
6386 * calendar/calendar.el (calendar-american-month-header)
6387 (calendar-european-month-header, calendar-iso-month-header)
6388 (calendar-month-header): New options.
6389 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
6390 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
6392 2012-09-19 Jan Djärv <jan.h.d@swipnet.se>
6394 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
6396 2012-09-18 Juri Linkov <juri@jurta.org>
6398 * dired-aux.el (dired-diff): Restore original functionality of
6399 getting the default value, but keep new feature of using the
6400 latest existing backup file (`diff-latest-backup-file').
6402 2012-09-18 Juri Linkov <juri@jurta.org>
6404 * dired.el (dired-mark): If the region is active in Transient Mark
6405 mode, mark all files in the active region. Doc fix.
6406 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
6407 Doc fix. (Bug#10624)
6409 2012-09-18 Juri Linkov <juri@jurta.org>
6411 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
6412 attributes for M-n are pulled from the file at point.
6413 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
6414 Suggested by Drew Adams. (Bug#10624)
6416 2012-09-18 Dmitry Gutov <dgutov@yandex.ru>
6418 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
6419 whitespace after "end".
6420 (ruby-do-end-to-brace): Collapse block to one line if it fits
6423 2012-09-18 Martin Rudalics <rudalics@gmx.at>
6425 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
6427 (debug): Don't remove debugger window when debugger is expected
6430 2012-09-18 Chong Yidong <cyd@gnu.org>
6432 * custom.el (defface): Doc fix.
6434 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
6436 2012-09-18 Martin Blais <blais@furius.ca> (tiny change)
6438 * progmodes/compile.el (compilation-start): Use compilation-always-kill
6439 to initialize query-on-exit; then test that instead (bug#12288).
6441 2012-09-17 Stefan Merten <smerten@oekonux.de>
6443 * textmodes/rst.el: Add support for `testcover'.
6444 (rst-defcustom-testcover, rst-testcover-add-compose)
6445 (rst-testcover-add-1value): New functions.
6446 (rst-portable-mark-active-p): Replace by `use-region-p'.
6447 (rst-update-section, rst-classify-adornment)
6448 (rst-find-title-line): Mark `1value' forms.
6449 (rst-classify-adornment): Remove superfluous form.
6450 (rst-update-section, rst-get-adornments-around)
6451 (rst-adornment-complete-p, rst-get-next-adornment)
6452 (rst-adjust, rst-promote-region)
6453 (rst-display-adornments-hierarchy, rst-straighten-adornments)
6454 (rst-find-pfx-in-region, rst-section-tree-rec)
6455 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
6456 (rst-toc-node, rst-toc, rst-forward-section)
6457 (rst-iterate-leftmost-paragraphs)
6458 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
6459 (rst-bullet-list-region)
6460 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
6461 (rst-compile-find-conf, rst-compile)
6462 (rst-repeat-last-character): Fix style.
6464 2012-09-17 Chong Yidong <cyd@gnu.org>
6466 * comint.el (comint--complete-file-name-data): Don't add a space
6467 if the status is `sole'; that adds a gratuitous space in the
6468 completion-cycling case (Bug#12092).
6470 * pcomplete.el (pcomplete-completions-at-point): Likewise.
6472 2012-09-17 Richard Stallman <rms@gnu.org>
6474 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
6475 only in the mime-shown mode, not in raw mode.
6476 (rmail-mime): Toggle off mime by displaying the message without
6477 mime processing. (Bug#12305)
6479 * mail/rmail.el (rmail-retry-failure):
6480 Turn off mime processing first. (Bug#12037)
6482 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
6484 2012-09-17 Chong Yidong <cyd@gnu.org>
6486 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
6487 (shell-dynamic-complete-functions): Convert to defcustom.
6488 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
6490 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
6491 * comint.el (comint-prompt-read-only):
6492 * custom.el (defcustom):
6493 * hi-lock.el (hi-lock-mode):
6494 * ibuffer.el (ibuffer-formats):
6495 * ielm.el (ielm-prompt-read-only):
6496 * novice.el (disable-command):
6497 * saveplace.el (toggle-save-place):
6498 * speedbar.el (speedbar-supported-extension-expressions):
6499 * startup.el (auto-save-list-file-prefix, init-file-user)
6500 (after-init-hook, inhibit-startup-echo-area-message):
6501 * strokes.el (strokes-help):
6502 * time-stamp.el (time-stamp):
6503 * calendar/calendar.el (calendar, diary-file):
6504 * calendar/diary-lib.el (diary-mail-entries, diary)
6505 (diary-list-entries-hook):
6506 * calendar/holidays.el (holidays, calendar-holidays):
6507 * calendar/lunar.el (lunar-phases):
6508 * calendar/solar.el (sunrise-sunset):
6509 * emulation/edt.el (edt-load-keys):
6510 * emulation/viper.el (viper-mode):
6511 * eshell/em-alias.el (eshell-command-aliases-list):
6512 * eshell/esh-util.el (eshell-convert-numeric-arguments):
6513 * international/ogonek.el (ogonek-information):
6514 * net/tramp-cmds.el (tramp-bug):
6515 * net/quickurl.el (quickurl-reread-hook-postfix):
6516 * play/decipher.el (decipher-font-lock-keywords):
6517 * progmodes/cc-styles.el (c-set-style):
6518 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
6519 * progmodes/inf-lisp.el (inferior-lisp-prompt):
6520 * progmodes/octave-mod.el (octave-mode):
6521 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
6522 * progmodes/verilog-mode.el (verilog-read-defines):
6523 * textmodes/two-column.el (2C-mode): Likewise.
6525 2012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
6527 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
6528 that holds many addresses.
6530 2012-09-16 Chong Yidong <cyd@gnu.org>
6532 * align.el (align-areas): Call the indication function with
6533 positions instead of markers for arguments (Bug#12343).
6535 * files.el (parse-colon-path): Use split-string (Bug#12351).
6537 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
6538 (display-buffer-function): Mark as obsolete.
6540 * progmodes/compile.el (compilation-parse-errors): Accept list
6541 values similar to font-lock-keywords (Bug#12136).
6542 Suggested by Oleksandr Manzyuk.
6543 (compilation-error-regexp-alist): Doc fix.
6545 2012-09-15 Glenn Morris <rgm@gnu.org>
6547 * version.el (emacs-bzr-version-bzr): New function.
6548 (emacs-bzr-get-version): Add optional EXTERNAL argument.
6550 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
6551 checkouts, check the parent dirstate matches the branch.
6552 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
6555 * version.el (emacs-bzr-version): Doc fix.
6556 (emacs-bzr-version-dirstate): New function.
6557 (emacs-bzr-get-version): For lightweight checkouts, if the parent
6558 is local try and check that it matches the branch. If not, just
6559 use dirstate information. (Bug#12441)
6561 2012-09-14 Juri Linkov <juri@jurta.org>
6563 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
6566 2012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
6568 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
6570 * emacs-lisp/edebug.el: Miscellaneous cleanup.
6571 Remove obsolete byte-compiler hack that tried to silence some warnings.
6572 (edebug-submit-bug-report): Remove.
6573 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
6574 Remove aliases, use the un-prefixed name instead.
6575 (edebug-pop-to-buffer): Consider other frames.
6576 (edebug-original-read):: Make it more obvious that it's always defined.
6577 (edebug--make-form-data-entry, edebug--form-data-name)
6578 (edebug--form-data-begin, edebug--form-data-end): Rename from the
6579 single-dashed name, and implement with cl-defstruct.
6580 (edebug-set-form-data-entry): Use the standard accessors.
6581 (edebug-make-top-form-data-entry): Use push.
6582 (edebug-no-match): Drop useless `funcall'.
6583 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
6585 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
6586 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
6587 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
6588 (easy-menu-define, with-custom-print): Remove redundant specs.
6589 (edebug-outside-overriding-local-map)
6590 (edebug-outside-overriding-terminal-local-map): Remove, unused.
6591 (edebug--display): Bind unread-command-events directly to nil rather
6592 than binding it to unread-command-events and later setting it to nil.
6593 (edebug--display): Kill edebug-eval-buffer here...
6594 (edebug--recursive-edit): ...rather than here.
6595 Bind standard-output and standard-input.
6596 (edebug-eval): Check cl-macroexpand-all is fboundp.
6597 (edebug-temp-display-freq-count): Fix last change.
6599 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
6600 * subr.el (noreturn, 1value): Add `debug' spec.
6601 * emacs-lisp/advice.el: Require cl-lib.
6602 (ad-copy-tree): Remove, use copy-tree instead.
6603 (ad-dolist): Remove use dolist or cl-dolist instead.
6604 (ad-do-return): Remove, use cl-return instead.
6605 (defadvice): Add `debug' spec.
6607 2012-09-13 Juri Linkov <juri@jurta.org>
6609 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
6612 2012-09-13 Glenn Morris <rgm@gnu.org>
6614 * calc/calc.el (math-compose-expr):
6615 * calc/calc-ext.el (math-compose-expr):
6616 * progmodes/cc-defs.el (cl-macroexpand-all):
6617 * progmodes/cc-langs.el (delete-duplicates, mapcan)
6618 (cl-macroexpand-all): Update declarations.
6620 * vc/vc.el: No need to require ediff.
6621 (ediff-load-version-control): Declare.
6622 (ediff-vc-internal): Fix declaration.
6623 (vc-version-ediff): Require ediff.
6625 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
6627 Use a more backwards-compatible timer format (Bug#12430).
6628 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
6629 being right after USECS, as that better supports old code that
6630 inadvisedly looked directly at the timer vector.
6632 2012-09-13 Kenichi Handa <handa@gnu.org>
6634 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
6635 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
6636 `coding-priority' property of these language environment.
6638 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
6640 Fix glitches caused by addition of psec to timers (Bug#12430).
6641 * image.el (image-animate-timer):
6642 * time.el (display-time-world-timer):
6643 Use timer--function and timer--args rather than raw access to
6646 2012-09-13 Glenn Morris <rgm@gnu.org>
6648 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
6649 If not compiling a file, try using load-file-name.
6651 2012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
6653 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
6655 (edebug-update-eval-list): Use `push'.
6657 * emacs-lisp/edebug.el: Use lexical-binding.
6658 Remove the "edebug-" prefix from non-dynamically-scoped variables.
6659 Mark unused args with underscore.
6660 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
6661 (edebug-form-data): Use defvar-local.
6662 (edebug-make-before-and-after-form, edebug-make-after-form):
6664 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
6665 Not dynamically scoped any more.
6666 (edebug--enter-trace): Add arguments `function' and `args'.
6667 Rename from edebug-enter-trace.
6668 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
6669 (edebug--update-coverage): Add `after-index' and `value' args.
6670 Rename from edebug-update-coverage.
6671 (edebug-slow-after): Call it accordingly.
6672 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
6673 edebug-recursive-edit.
6674 (edebug--display): Call it accordingly. Add args `value',
6675 `offset-index', and `arg-mode'. Rename from edebug-display.
6676 (edebug-debugger, edebug): Call it accordingly.
6677 (edebug-eval-display-list): Use dolist.
6679 2012-09-12 Juri Linkov <juri@jurta.org>
6681 * info.el (Info-search): Don't check for isearch-mode and
6682 isearch-regexp before let-binding search-spaces-regexp to
6683 Info-search-whitespace-regexp.
6684 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
6685 search-whitespace-regexp if isearch-lax-whitespace or
6686 isearch-regexp-lax-whitespace is non-nil.
6687 (Info-mode): Don't set local variable search-whitespace-regexp.
6688 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
6690 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6692 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
6693 (debugger-env-macro): Remove support for unread-command-char.
6695 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
6696 the temporary map re-appearing on emulation-mode-map-alists.
6698 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
6701 * ehelp.el (with-electric-help): Accept functions in
6702 electric-help-form-to-execute.
6703 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
6704 And replace unread-command-char -> unread-command-events.
6706 2012-09-12 Michael Albinus <michael.albinus@gmx.de>
6708 Sync with Tramp 2.2.6.
6710 * net/tramp.el (tramp-accept-process-output): Don't use
6711 JUST-THIS-ONE in the XEmacs case.
6713 * net/trampver.el: Update release number.
6715 2012-09-12 Martin Rudalics <rudalics@gmx.at>
6717 * emacs-lisp/debug.el (debugger-previous-window-height):
6719 (debug): When debugger-jumping-flag is non-nil try to restore
6720 height of debugger window. (Bug#8789)
6722 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6724 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
6725 overriding-local-map and pre/post-command-hook here.
6726 (edebug-recursive-edit): Do it here instead (bug#12345).
6727 (edebug-outside-unread-command-char): Remove all uses of
6728 unread-command-char.
6730 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
6731 inhibit-debugger is bound instead.
6733 2012-09-11 Bastien Guerry <bzg@gnu.org>
6735 * subr.el (set-temporary-overlay-map): Add a docstring.
6738 2012-09-11 Bastien Guerry <bzg@gnu.org>
6740 * minibuffer.el (completion-table-subvert): Fix docstring.
6743 2012-09-11 Bastien Guerry <bzg@gnu.org>
6745 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
6747 2012-09-10 Michael R. Mauger <mmaug@yahoo.com>
6749 * progmodes/sql.el: Version 3.1
6750 (sql-db2-escape-newlines): New variable.
6751 (sql-escape-newlines-filter): Use it.
6753 2012-09-10 Juanma Barranquero <lekktu@gmail.com>
6755 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
6757 2012-09-10 Dan Nicolaescu <dann@gnu.org>
6759 * vc/diff-mode.el (diff-mode-menu):
6760 Bind diff-remove-trailing-whitespace.
6762 2012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
6764 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
6765 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
6766 (emacs-lisp-byte-code-mode): New functions.
6767 (eval-sexp-add-defvars): Don't skip defvars in column >0.
6768 (eval-defun-2): Remove bogus interactive spec.
6769 (lisp-indent-line): Remove redundant whole-exp code, now done in
6770 indent-according-to-mode.
6771 (save-match-data): Remove redundant indent data.
6773 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
6776 2012-09-09 Juri Linkov <juri@jurta.org>
6778 * replace.el (replace-regexp-lax-whitespace): New defcustom.
6779 (replace-lax-whitespace, query-replace-regexp)
6780 (query-replace-regexp-eval, replace-regexp): Doc fix.
6781 (perform-replace, replace-highlight): Let-bind
6782 isearch-lax-whitespace to replace-lax-whitespace and
6783 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
6785 * isearch.el (isearch-query-replace): Let-bind
6786 replace-lax-whitespace to isearch-lax-whitespace and
6787 replace-regexp-lax-whitespace to
6788 isearch-regexp-lax-whitespace. (Bug#10885)
6790 2012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
6792 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
6794 2012-09-09 Alan Mackenzie <acm@muc.de>
6796 * progmodes/cc-engine.el (c-state-cache-init):
6797 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
6798 (c-record-parse-state-state):
6799 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
6801 2012-09-09 Andreas Schwab <schwab@linux-m68k.org>
6803 * register.el (register-separator): Rename from
6804 separator-register. All uses changed. Doc fix.
6805 (register): Fix version.
6807 2012-09-09 Chong Yidong <cyd@gnu.org>
6809 * replace.el (query-replace-map): Bind four new symbols for
6810 requesting window scrolling.
6812 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
6813 query-replace-map (Bug#8948).
6815 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
6817 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
6818 since they are now in query-replace-map.
6820 * window.el (scroll-other-window-down): Make the arg optional.
6822 2012-09-09 Chong Yidong <cyd@gnu.org>
6824 * files.el (hack-local-variables-confirm): Use quit-window to kill
6825 the *Local Variables* buffer.
6827 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
6829 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
6830 not just expect to be at its beginning. Adjust callees.
6831 Succeed when do-end block has no space before the pipe character.
6832 (ruby-brace-to-do-end): When the original block is one-liner,
6833 convert to multiline. Reindent the result.
6835 2012-09-08 Jambunathan K <kjambunathan@gmail.com>
6837 * register.el (register): New group.
6838 (separator-register): New user option.
6839 (increment-register): Route it to `append-to-register', if
6840 register contains text. Implication is that `C-x r +' can now be
6841 used for appending to a text register (bug#12217).
6842 (append-to-register, prepend-to-register): Add separator based on
6843 `separator-register'.
6845 2012-09-08 Alan Mackenzie <acm@muc.de>
6847 AWK Mode: make auto-newline work when there's "==" in the pattern.
6848 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
6850 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
6851 Test more rigorously for "=" token.
6853 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
6855 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
6856 Only fail when reached LIMIT.
6858 2012-09-08 Chong Yidong <cyd@gnu.org>
6860 * dired.el (dired-mode-map): Don't bind M-=.
6862 * dired-aux.el (dired-diff): Use backup file as default.
6864 2012-09-08 Drew Adams <drew.adams@oracle.com>
6866 * subr.el (add-to-history): Fix delete usage (Bug#12314).
6868 2012-09-08 Chong Yidong <cyd@gnu.org>
6870 * subr.el (syntax-after, syntax-class): Doc fix.
6872 2012-09-08 Martin Rudalics <rudalics@gmx.at>
6874 * window.el (display-buffer-in-previous-window): New buffer
6875 display action function.
6877 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
6878 (debugger-previous-window): New variable.
6879 (debug): Rewrite using display-buffer-in-previous-window,
6880 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
6882 2012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
6884 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
6886 2012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
6888 * progmodes/python.el (python-shell-send-string):
6889 When default-directory is remote, create temp file on remote
6891 (python-shell-send-file): When file is remote, pass local view of
6892 file paths to remote Python interpreter. (Bug#12340)
6894 2012-09-07 Chong Yidong <cyd@gnu.org>
6896 * window.el (switch-to-buffer): Doc fix (Bug#12181).
6898 * files.el (after-find-file): Don't fail on a read-only buffer if
6899 require-final-newline is `visit' or `visit-save' (Bug#11156).
6901 * subr.el (read-char-choice): Allow quitting via ESC ESC.
6903 * userlock.el (ask-user-about-supersession-threat):
6904 Use read-char-choice (Bug#12093).
6906 2012-09-07 Chong Yidong <cyd@gnu.org>
6908 * subr.el (buffer-narrowed-p): New function.
6910 * ses.el (ses-widen):
6911 * simple.el (count-words--buffer-message):
6912 * net/browse-url.el (browse-url-of-buffer): Use it.
6914 * simple.el (count-words-region): Don't signal an error if there
6915 is a non-nil prefix arg and the mark is not set.
6917 * help.el (describe-key-briefly): Allow the message to be seen
6918 when invoked from the minibuffer (Bug#7014).
6920 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
6922 * progmodes/ruby-mode.el (ruby-end-of-defun)
6923 (ruby-beginning-of-defun): Simplify, allow indentation before
6924 block beginning and end keywords.
6925 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
6926 (ruby-end-of-defun): Expect that the point is at the beginning of
6929 2012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
6931 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
6933 (cl--make-usage-args): Strip _ from argument names.
6935 2012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6937 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
6938 obsolete alias speedbar-key-map.
6939 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
6940 (vhdl-index-menu-init): Don't use obsolete variable
6941 font-lock-maximum-size.
6943 2012-09-06 Chong Yidong <cyd@gnu.org>
6945 * frame.el (window-system-version): Mark as obsolete.
6947 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
6948 of obsolete variable speedbar-key-map.
6950 2012-09-06 Juri Linkov <juri@jurta.org>
6952 * replace.el (replace-lax-whitespace): New defcustom.
6953 (query-replace, query-replace-regexp, query-replace-regexp-eval)
6954 (replace-string, replace-regexp): Mention it in docstrings.
6955 (perform-replace, replace-highlight): Let-bind
6956 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
6957 to the values of replace-lax-whitespace and regexp-flag.
6958 Don't let-bind search-whitespace-regexp. (Bug#10885)
6960 * isearch.el (isearch-query-replace): Let-bind
6961 replace-lax-whitespace instead of let-binding
6962 replace-search-function and replace-re-search-function.
6963 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
6964 and isearch-regexp-lax-whitespace to lazy-highlight variables.
6965 (isearch-toggle-symbol): Set isearch-regexp to nil
6966 in isearch-word mode (like in isearch-toggle-word).
6968 2012-09-06 Juri Linkov <juri@jurta.org>
6970 * replace.el (replace-search-function)
6971 (replace-re-search-function): Set default values to nil.
6972 (perform-replace): Let-bind isearch-related variables based on
6973 replace-related values, call `isearch-search-fun' and let-bind
6974 the result to `search-function'. Remove code that sets
6975 `search-function' and `search-string' separately for
6977 (replace-highlight): Add new argument `delimited-flag' and
6978 rename other arguments to the names used in `perform-replace'.
6979 Let-bind `isearch-word' to the argument `delimited-flag'.
6980 (Bug#10885, bug#10887)
6982 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
6984 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
6985 ruby-beginning-of-indent, simplify, allow all keywords to have
6986 indentation before them.
6987 (ruby-beginning-of-indent): Adjust for above. Search until the
6988 found point is not inside a string or comment.
6989 (ruby-font-lock-keywords): Allow symbols to start with "@"
6990 character, give them higher priority than variables.
6991 (ruby-syntax-propertize-function)
6992 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
6993 matchers. Expression expansions are not comments when inside a
6994 string, and there comment syntax status is irrelevant.
6995 (ruby-match-expression-expansion): New function. Check that
6996 expression expansion is inside a string, and it's not escaped.
6997 (ruby-font-lock-keywords): Use it.
6999 2012-09-05 Martin Rudalics <rudalics@gmx.at>
7001 * help.el (temp-buffer-max-height): New default value.
7002 (temp-buffer-resize-frames): New option.
7003 (resize-temp-buffer-window): Optionally resize frame.
7005 * window.el (fit-frame-to-buffer-bottom-margin): New option.
7006 (fit-frame-to-buffer): New function.
7008 2012-09-05 Glenn Morris <rgm@gnu.org>
7010 * emulation/cua-rect.el (cua--init-rectangles):
7011 * textmodes/picture.el (picture-mode-map):
7012 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
7013 like forward-char and backward-char. (Bug#12317)
7015 2012-09-05 Leo Liu <sdl.web@gmail.com>
7017 * progmodes/flymake.el (flymake-warning-re): New variable.
7018 (flymake-parse-line): Use it.
7020 2012-09-05 Glenn Morris <rgm@gnu.org>
7022 * calendar/holidays.el (holiday-christian-holidays):
7023 Rename an entry. (Bug#12289)
7025 2012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
7027 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
7030 2012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
7032 * loadup.el: Load macroexp. Remove hack.
7033 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
7034 (macroexp--expand-all): Use it to get better warnings.
7035 (macroexp--backtrace, macroexp--trim-backtrace-frame)
7036 (internal-macroexpand-for-load): New functions.
7037 (macroexp--pending-eager-loads): New var.
7038 (emacs-startup-hook): New hack to replace one in loadup.el.
7039 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
7040 (cl--compiler-macro-cXXr): Move to top, before they can be used.
7041 (cl-psetf): Simplify.
7042 (cl-defstruct): Add indent rule.
7044 2012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
7046 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
7047 over `user-mail-address' for the SMTP MAIL FROM envelope.
7048 (smtpmail-via-smtp): Ditto.
7050 2012-09-04 Dmitry Gutov <dgutov@yandex.ru>
7052 * progmodes/ruby-mode.el: Clean up keybindings.
7053 (ruby-mode-map): Don't bind ruby-electric-brace,
7054 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
7055 backward-kill-word, reindent-then-newline-and-indent.
7056 (ruby-mark-defun): Remove.
7057 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
7058 (ruby-mode): Set local beginning-of-defun-function and
7059 end-of-defun-function values.
7061 2012-09-03 Martin Rudalics <rudalics@gmx.at>
7063 * window.el (temp-buffer-window-setup-hook)
7064 (temp-buffer-window-show-hook): New hooks.
7065 (temp-buffer-window-setup, temp-buffer-window-show)
7066 (with-temp-buffer-window): New functions.
7067 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
7068 (special-display-popup-frame): Make sure the window used shows BUFFER.
7070 * help.el (temp-buffer-resize-mode): Fix doc-string.
7071 (resize-temp-buffer-window): New optional argument WINDOW.
7073 * files.el (recover-file, save-buffers-kill-emacs):
7074 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
7076 2012-09-02 Michael Albinus <michael.albinus@gmx.de>
7078 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
7079 remote definition of `default-directory', ensure we can connect.
7081 2012-09-02 Juri Linkov <juri@jurta.org>
7083 Toggle whitespace matching mode with M-s SPC.
7084 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
7086 * isearch.el (search-whitespace-regexp): Doc fix.
7087 Remove cons cell customization.
7088 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
7089 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
7091 (isearch-forward, isearch-forward-regexp): Doc fix.
7092 (isearch-toggle-lax-whitespace): New command.
7093 (search-forward-lax-whitespace, search-backward-lax-whitespace)
7094 (re-search-forward-lax-whitespace)
7095 (re-search-backward-lax-whitespace): New functions.
7096 (isearch-whitespace-regexp): Remove function.
7097 (isearch-query-replace): Let-bind replace-search-function and
7098 replace-re-search-function.
7099 (isearch-occur): Let-bind search-spaces-regexp according to the
7100 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
7101 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
7102 condition for C-q SPC.
7103 (isearch-search-fun-default): Use new functions mentioned above.
7104 (isearch-search-forward, isearch-search-backward): Remove functions.
7105 (isearch-search): Don't let-bind search-spaces-regexp.
7106 (isearch-lazy-highlight-space-regexp): Remove variable.
7107 (isearch-lazy-highlight-lax-whitespace)
7108 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
7109 (isearch-lazy-highlight-new-loop): Use them.
7110 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
7112 2012-09-02 Chong Yidong <cyd@gnu.org>
7114 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
7116 2012-09-02 Glenn Morris <rgm@gnu.org>
7118 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
7120 2012-09-01 Glenn Morris <rgm@gnu.org>
7122 * term.el: Tidy up menu definitions.
7123 (term-mode-map): Use easymenu for In/Out, Complete menus.
7124 (term-pager-break-map): Initialize in the defvar.
7125 (term-terminal-menu, term-signals-menu): Define with easymenu.
7126 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
7127 (term-pager-menu): New, extracted from term-process-pager.
7128 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
7129 (term-update-mode-line): Propertize line/char and page items.
7130 (term-process-pager): Move keymap initialization elsewhere.
7132 2012-09-01 Martin Rudalics <rudalics@gmx.at>
7134 * window.el (switch-to-prev-buffer): Handle additional values of
7135 BURY-OR-KILL argument. Don't switch in minibuffer window.
7136 (switch-to-next-buffer): Don't switch in minibuffer window.
7137 (quit-restore-window): New function based on quit-window.
7138 Handle additional values of former KILL argument.
7139 (quit-window): Call quit-restore-window with appropriate
7140 interpretation of KILL argument.
7141 (display-buffer-below-selected): New buffer display action
7144 2012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
7146 * minibuffer.el (completion-at-point-functions): Complete docstring
7149 2012-09-01 Paul Eggert <eggert@cs.ucla.edu>
7151 Better seed support for (random).
7152 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
7153 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
7154 * play/mpuz.el, play/tetris.el, play/zone.el:
7155 * calc/calc-comb.el (math-init-random-base):
7156 * play/blackbox.el (bb-init-board):
7157 * play/life.el (life):
7158 * server.el (server-use-tcp):
7159 * type-break.el (type-break):
7160 Remove unnecessary call to (random t).
7161 * net/sasl.el (sasl-unique-id-function):
7162 Change (random t) to (random), now that the latter is more random.
7163 * play/life.el (life-initialized): Remove no-longer-needed var.
7165 2012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
7167 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
7168 Consider frame's buffer predicate when choosing the buffer.
7171 2012-08-30 Richard Stallman <rms@gnu.org>
7173 * simple.el (special-mode-map): Delete binding for `z'.
7175 2012-08-30 Andreas Schwab <schwab@linux-m68k.org>
7177 * progmodes/compile.el (compilation-always-kill): Doc fix.
7179 2012-08-30 Chong Yidong <cyd@gnu.org>
7181 * window.el (display-buffer-reuse-frames): Make the obsolescence
7182 message more informative.
7184 2012-08-30 Glenn Morris <rgm@gnu.org>
7186 * paren.el (show-paren-delay):
7187 Add a :set function. Doc fix. (Bug#12297)
7189 2012-08-29 Martin Blais <blais@furius.ca> (tiny change)
7191 * progmodes/compile.el (compilation-always-kill): New var.
7192 (compilation-start): Use it.
7194 2012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
7196 * simple.el (read-only-mode): Move from files.el for bootstrapping.
7197 * files.el (read-only-mode): Move to simple.el.
7199 * files.el (read-only-mode): New minor mode.
7200 (toggle-read-only): Use it and mark obsolete.
7201 (find-file--read-only):
7202 * vc/vc.el (vc-next-action, vc-checkout):
7203 * vc/vc-cvs.el (vc-cvs-checkout):
7204 * obsolete/vc-mcvs.el (vc-mcvs-update):
7205 * ffap.el (ffap--toggle-read-only): Update callers.
7207 2012-08-29 Michael Albinus <michael.albinus@gmx.de>
7209 * eshell/esh-ext.el (eshell-external-command): Do not examine
7210 remote shell scripts.
7211 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
7213 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
7216 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7218 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
7220 2012-08-28 Leo Liu <sdl.web@gmail.com>
7222 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
7223 completion-at-point. (Bug#12220)
7225 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
7227 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
7229 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7231 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
7232 be buffer-local; add delete-trailing-whitespace (bug#12259).
7234 2012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
7236 * progmodes/hideif.el (hif-compress-define-list):
7237 Fix typo. (Bug#11951)
7239 2012-08-28 Dan Nicolaescu <dann@gnu.org>
7241 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
7242 buffer local setting.
7244 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
7245 rcirc-encode-coding-system.
7247 2012-08-28 Leo Liu <sdl.web@gmail.com>
7249 * net/rcirc.el (rcirc-split-message): New function.
7250 (rcirc-send-message): Use it. (Bug#12051)
7252 2012-08-28 Juri Linkov <juri@jurta.org>
7254 * info.el (Info-fontify-node): Hide empty lines at the end of
7255 the node. (Bug#12272)
7257 2012-08-27 Drew Adams <drew.adams@oracle.com>
7259 * dired.el (dired-pop-to-buffer): Make window start at beginning
7260 of buffer (Bug#12281).
7262 2012-08-26 Chong Yidong <cyd@gnu.org>
7264 * window.el (special-display-regexps, special-display-frame-alist)
7265 (special-display-buffer-names, special-display-function)
7266 (display-buffer-reuse-frames): Mark as obsolete.
7268 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
7270 * help.el (help-print-return-message): Don't treat
7271 display-buffer-reuse-frames specially.
7273 2012-08-26 Chong Yidong <cyd@gnu.org>
7275 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
7276 New variable, replacing gdb-frame-parameters.
7277 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
7278 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
7279 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
7280 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
7281 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
7282 the functions directly with gdb-display-buffer-other-frame-action.
7283 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
7284 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
7285 (gdb-display-stack-buffer, gdb-display-locals-buffer)
7286 (gdb-display-registers-buffer): Define directly.
7287 (def-gdb-display-buffer): Macro deleted.
7288 (gdb-display-buffer): Remove second and third args, callers don't
7289 use them. Defer to the default display-buffer behavior, apart
7290 from making windows dedicated.
7291 (gdb-setup-windows): Don't call display-buffer unnecessarily.
7293 * progmodes/gud.el (gud-display-line): Just use display-buffer.
7295 * window.el (display-buffer-pop-up-frame): Handle a
7296 pop-up-frame-parameters alist entry.
7297 (display-buffer): Document it.
7299 2012-08-26 Chong Yidong <cyd@gnu.org>
7301 * isearch.el (search-whitespace-regexp): Make string and nil
7302 values apply to both ordinary and regexp search. Allow a cons
7303 cell value to distinguish between the two.
7304 (isearch-whitespace-regexp, isearch-search-forward)
7305 (isearch-search-backward): New functions.
7306 (isearch-occur, isearch-search-fun-default, isearch-search)
7307 (isearch-lazy-highlight-new-loop): Use them.
7308 (isearch-forward, isearch-forward-regexp): Doc fix.
7310 2012-08-26 Chong Yidong <cyd@gnu.org>
7312 * faces.el (help-argument-name): Always inherit from italic
7315 2012-08-25 Martin Rudalics <rudalics@gmx.at>
7317 * window.el (window--even-window-heights): Even heights when
7318 WINDOW and the selected window form a vertical combination.
7319 (display-buffer-use-some-window): Provide that window used gets
7320 sized back by quit-window. (Bug#11880) and (Bug#12091)
7322 2012-08-24 Paul Eggert <eggert@cs.ucla.edu>
7324 Fix file time stamp problem with bzr and CVS (Bug#12001).
7325 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
7326 in the file's time stamp, since the version control system loses
7329 2012-08-22 Juri Linkov <juri@jurta.org>
7331 * info.el (Info-fontify-node): Hide the suffix of the
7332 Info file name in the header line. (Bug#12187)
7334 2012-08-22 Glenn Morris <rgm@gnu.org>
7336 * calendar/cal-tex.el (cal-tex-weekly-common):
7337 Restore leading blank page.
7339 2012-08-22 Le Wang <l26wang@gmail.com>
7341 * misc.el (forward-to-word, backward-to-word): Activate or extend
7342 the region under `shift-select-mode'. (Bug#12231)
7344 2012-08-22 Bastien Guerry <bzg@gnu.org>
7346 * progmodes/executable.el (executable-prefix): Set to "#!" instead
7347 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
7348 gives details on why the space is never needed.
7350 2012-08-22 Martin Rudalics <rudalics@gmx.at>
7352 * window.el (walk-window-tree, window-with-parameter):
7353 New optional argument MINIBUF to control whether these functions
7354 should run on the minibuffer window.
7355 (window-at-side-list): Don't operate on minibuffer window.
7356 (window-in-direction): Simplify and rewrite doc-string.
7357 (window--size-ignore): Rename to window--size-ignore-p.
7359 (display-buffer-in-atom-window, window--major-non-side-window)
7360 (window--major-side-window, display-buffer-in-major-side-window)
7361 (delete-side-window, display-buffer-in-side-window):
7363 (window--side-check, window-deletable-p, delete-window)
7364 (delete-other-windows, split-window): Handle side windows and
7365 atomic windows appropriately.
7366 (window--display-buffer): Call display-buffer-record-window also
7367 when the window buffer did not change.
7369 2012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
7371 * help-fns.el (help-fns--key-bindings):
7372 Abbreviate non-symbol remap targets. (Bug#12174)
7374 2012-08-22 Martin Rudalics <rudalics@gmx.at>
7376 * dired.el (dired-mark-remembered): Don't clobber point.
7379 2012-08-22 Glenn Morris <rgm@gnu.org>
7381 * progmodes/bug-reference.el (bug-reference): New custom group.
7382 (bug-reference-bug-regexp): Make it a defcustom.
7384 2012-08-22 Daiki Ueno <ueno@unixuser.org>
7386 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
7387 (js-paren-indent-offset, js-square-indent-offset)
7388 (js-curly-indent-offset): Add :safe (Bug#12257).
7390 2012-08-22 Edward O'Connor <hober0@gmail.com>
7392 * json.el (json-key-format): Add error properties.
7393 (json-encode-key): New function.
7394 (json-encode-hash-table, json-encode-alist, json-encode-plist):
7395 Use json-encode-key.
7397 2012-08-22 Glenn Morris <rgm@gnu.org>
7399 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
7400 (cal-tex-leftday, cal-tex-rightday): Remove functions.
7401 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
7402 Update for above change.
7404 2012-08-21 Andreas Schwab <schwab@linux-m68k.org>
7406 * cus-face.el (custom-face-attributes): Fix customize type for the
7407 :underline attribute. (Bug#11805)
7409 2012-08-21 Martin Rudalics <rudalics@gmx.at>
7411 * window.el (window-point-1, set-window-point-1): Remove.
7412 (window-in-direction, record-window-buffer)
7413 (set-window-buffer-start-and-point, split-window-below)
7414 (window--state-get-1, display-buffer-record-window):
7415 Replace calls to window-point-1 and set-window-point-1 by calls to
7416 window-point and set-window-point respectively.
7418 2012-08-21 Glenn Morris <rgm@gnu.org>
7420 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
7421 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
7424 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
7425 (cal-tex-shortday): New function.
7426 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
7427 (cal-tex-cursor-filofax-daily): Use the above.
7429 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
7431 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
7432 (cal-tex-cursor-filofax-week): Use them.
7434 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
7436 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
7437 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
7439 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
7440 (cal-tex-end-document): Don't rely on buffer name.
7442 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
7444 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
7445 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
7446 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
7449 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
7450 (cal-tex-cursor-week, cal-tex-cursor-week2)
7451 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
7452 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
7453 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
7454 (cal-tex-insert-preamble, cal-tex-b-document)
7455 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
7456 Improve cal-tex-cmd usage.
7458 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
7459 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
7460 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
7461 (cal-tex-weekly-paper): New function.
7462 (cal-tex-cursor-week, cal-tex-cursor-week2)
7463 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
7464 (cal-tex-cursor-day): Use it.
7466 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
7467 (cal-tex-cursor-filofax-week): Remove leading blank page.
7469 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
7470 Add autoload cookie. For now at least, don't use color, since
7471 no other cal-tex function does.
7473 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
7474 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
7475 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
7477 2012-08-21 Juri Linkov <juri@jurta.org>
7479 * info.el (Info-file-attributes): New variable.
7480 (info-insert-file-contents): Add file attributes to
7481 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
7482 `Info-toc-nodes' when previous modtime of the Info file is less
7484 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
7485 of info.el. (Bug#12230)
7487 2012-08-20 Glenn Morris <rgm@gnu.org>
7489 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
7490 * calendar/holidays.el (calendar-holiday-list):
7491 Report errors with display-warning rather than beep'n'sleep.
7493 2012-08-20 Michael Albinus <michael.albinus@gmx.de>
7495 * net/tramp.el (tramp-accept-process-output): Accept only output
7496 from PROC. Otherwise, process filters and sentinels might be
7497 confused. (Bug#12145)
7499 2012-08-20 Chong Yidong <cyd@gnu.org>
7501 * descr-text.el (describe-text-properties-1): Use overlays-in to
7502 report on empty overlays (Bug#3322).
7504 2012-08-20 Glenn Morris <rgm@gnu.org>
7506 * mail/rmailout.el (rmail-output-read-file-name):
7507 Trap and report errors in rmail-output-file-alist elements.
7509 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
7510 since most non-font-lock faces are not also variables).
7512 2012-08-20 Edward Reingold <reingold@iit.edu>
7514 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
7515 New function. (Bug12160)
7517 2012-08-19 Glenn Morris <rgm@gnu.org>
7519 * mail/rmailout.el (rmail-output-read-file-name):
7520 Fix previous change (when the alist is nil or does not match).
7522 2012-08-19 Chong Yidong <cyd@gnu.org>
7524 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
7527 2012-08-18 Chong Yidong <cyd@gnu.org>
7529 * simple.el (yank-handled-properties): New defcustom.
7530 (yank-excluded-properties): Add font-lock-face and category.
7533 * subr.el (remove-yank-excluded-properties):
7534 Obey yank-handled-properties. The special handling of font-lock-face
7535 and category is now done this way, instead of being hard-coded.
7536 (insert-for-yank-1): Remove font-lock-face handling.
7537 (yank-handle-font-lock-face-property)
7538 (yank-handle-category-property): New function.
7540 2012-08-17 Glenn Morris <rgm@gnu.org>
7542 * mail/rmailout.el (rmail-output-read-file-name):
7543 Check rmail-output-file-alist against the full message body
7544 in the correct rmail buffer. (Bug#12214)
7546 2012-08-17 Michael Albinus <michael.albinus@gmx.de>
7548 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
7549 Eliminate superfluous prompt. (Bug#12203)
7551 2012-08-17 Chong Yidong <cyd@gnu.org>
7553 * mouse.el (mouse-appearance-menu): If x-select-font returns a
7554 font spec, set the font directly (Bug#3228).
7556 2012-08-17 Martin Rudalics <rudalics@gmx.at>
7558 * window.el (delete-window): Fix last fix.
7560 2012-08-16 Martin Rudalics <rudalics@gmx.at>
7562 * window.el (window-valid-p): Move to window.c.
7563 (window-child, window-child-count, window-last-child)
7564 (window-normalize-window, window-combined-p)
7565 (window-combinations, window-atom-root, window-min-size)
7566 (window-sizable, window-sizable-p, window-size-fixed-p)
7567 (window-min-delta, window-max-delta, window--resizable)
7568 (window--resizable-p, window-resizable, window-total-size)
7569 (window-full-height-p, window-full-width-p, window-body-size)
7570 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
7571 (minimize-window, window-deletable-p, delete-window)
7572 (delete-other-windows, set-window-buffer-start-and-point)
7573 (next-buffer, previous-buffer, split-window, balance-windows-2)
7574 (set-window-text-height, window-buffer-height)
7575 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
7576 (truncated-partial-width-window-p): Minor code adjustments.
7577 In doc-strings state whether the argument window has to denote a
7578 live, valid or any window.
7580 2012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
7582 * progmodes/subword.el (subword-forward-function)
7583 (subword-backward-function, subword-forward-regexp)
7584 (subword-backward-regexp): New variables.
7585 (subword-forward, subword-forward-internal, subword-backward-internal):
7586 Use new variables, eg so that different "word" definitions
7587 can be easily used. (Bug#11411)
7589 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
7591 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
7592 for composite selectors.
7593 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
7594 operation just because we can't find a previous revision.
7596 2012-08-15 Chong Yidong <cyd@gnu.org>
7598 * frame.el (set-frame-font): Accept font objects.
7600 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
7602 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
7604 2012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
7606 * man.el (Man-overstrike-face, Man-underline-face)
7607 (Man-reverse-face): Remove variables.
7608 (Man-overstrike, Man-underline, Man-reverse): New faces.
7609 (Man-fontify-manpage): Use them instead of the variables.
7610 (Man-cleanup-manpage): Comment change.
7611 (Man-ansi-color-map): New variable.
7612 (Man-fontify-manpage): Use it.
7613 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
7615 Implement ANSI SGR parameters 22-27 (bug#12146).
7616 * ansi-color.el (ansi-colors): Doc fix.
7617 (ansi-color-context, ansi-color-context-region): Doc fix.
7618 (ansi-color--find-face): New function.
7619 (ansi-color-apply, ansi-color-apply-on-region): Use it.
7620 Rename the local variable `face' to `codes' since it is now a list of
7621 ansi codes. Doc fix.
7622 (ansi-color-get-face): Remove.
7623 (ansi-color-parse-sequence): New function, derived from
7624 ansi-color-get-face.
7625 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
7628 2012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
7630 * subr.el (read-passwd): Allow use from a minibuffer.
7632 2012-08-14 Eli Zaretskii <eliz@gnu.org>
7634 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
7635 inside comments and strings as identifiers.
7637 * progmodes/gud.el (gud-tooltip-print-command): Quote the
7638 expression to evaluate. This allows to evaluate expressions with
7639 embedded whitespace.
7640 (gud-tooltip-tips): Add a blank before the newline in the
7641 message-box text, for the benefit of message-box emulation on
7644 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
7645 messages from GDB, pop them up in a tooltip to give feedback to
7647 (gdb-tooltip-print-1): Quote the expression to evaluate.
7648 This allows to evaluate expressions with embedded whitespace.
7649 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
7650 if the TTY name is nil or empty (which happens when communicating
7651 with the inferior via pipes, e.g. on MS-Windows).
7652 (gdb-internals): If GDB sends a "&\n" empty debugging message,
7653 don't send that to the GUD buffer.
7655 2012-08-14 Glenn Morris <rgm@gnu.org>
7657 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
7658 Optimize away setq-default with no args, as for setq. (Bug#12195)
7660 2012-08-14 Chong Yidong <cyd@gnu.org>
7662 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
7664 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
7667 2012-08-14 Glenn Morris <rgm@gnu.org>
7669 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
7671 2012-08-14 Michael Albinus <michael.albinus@gmx.de>
7673 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
7674 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
7675 Use cached shell name.
7677 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
7679 * progmodes/python.el (python-shell-send-string):
7680 (python-shell-send-setup-code): Do not use `format' with `message'.
7682 2012-08-14 Dmitry Gutov <dgutov@yandex.ru>
7684 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
7685 (ruby-percent-literal-beg-re): New constant.
7686 (ruby-syntax-general-delimiters-goto-beg): Rename to
7687 `ruby-syntax-enclosing-percent-literal', improve literal type check.
7688 (ruby-syntax-propertize-general-delimiters): Rename to
7689 `ruby-syntax-propertize-percent-literal', it's a shorter and more
7690 popular term. Adjust comments everywhere.
7691 (ruby-syntax-propertize-percent-literal): Only propertize when not
7692 inside a simple string or comment. When the literal is unclosed,
7693 leave the text after it unpropertized.
7694 (ruby-syntax-methods-before-regexp): New constant.
7695 (ruby-syntax-propertize-function): Use it to recognize regexps.
7696 Don't look at the text after regexp, just use the whitelist.
7698 2012-08-14 Andreas Schwab <schwab@linux-m68k.org>
7700 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
7701 non-nil always load the compiled file if it exists. (Bug#12197)
7703 2012-08-14 Chong Yidong <cyd@gnu.org>
7705 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
7706 (hi-lock-set-pattern): When deciding whether to use font lock or
7707 overlays, look at font-lock-mode instead of font-lock-fontified
7709 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
7710 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
7712 2012-08-14 Daiki Ueno <ueno@unixuser.org>
7714 * subr.el (internal--after-with-selected-window): Fix typo
7717 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
7719 Use `completion-table-dynamic' for completion functions.
7720 * progmodes/python.el
7721 (python-shell-completion--do-completion-at-point)
7722 (python-shell-completion--get-completions):
7724 (python-shell-completion-complete-at-point): New function.
7725 (python-completion-complete-at-point): Use it.
7727 2012-08-13 Jambunathan K <kjambunathan@gmail.com>
7729 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
7730 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
7732 2012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
7734 * subr.el (function-get): Refine `autoload' arg so it can also
7735 autoload functions for gv.el (bug#12191).
7736 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
7739 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
7740 Prefer pcase-let over destructuring-bind.
7741 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
7742 Also, remove whitespace as we go, rather than after accumulating the
7745 * subr.el (internal--before-with-selected-window)
7746 (internal--after-with-selected-window): Fix typo seleted->selected.
7747 (with-selected-window): Adjust callers.
7748 Reported by Dmitry Gutov <dgutov@yandex.ru>.
7750 2012-08-13 Bastien Guerry <bzg@gnu.org>
7752 * window.el (special-display-popup-frame): Minor docstring
7753 enhancement. (Bug#12172)
7755 2012-08-13 Andreas Schwab <schwab@linux-m68k.org>
7757 * tar-mode.el (tar-header-data-end): Only ignore size for files of
7759 (tar-header-block-summarize, tar-get-descriptor): Handle pax
7762 * files.el (hack-local-variables-filter): Remove useless eval.
7764 2012-08-13 Martin Rudalics <rudalics@gmx.at>
7766 * subr.el (with-selected-window): Fix last change.
7768 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
7770 * subr.el (internal--before-with-seleted-window)
7771 (internal--after-with-seleted-window): New functions.
7772 (with-selected-window): Use them, to replace dependency on
7775 2012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
7777 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
7778 binding for `newline'.
7779 (ruby-move-to-block): When moving backward, stop at block opening,
7781 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
7782 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
7783 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
7784 `ruby-toggle-block'.
7786 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
7788 * ibuffer.el (ibuffer-do-toggle-read-only):
7789 * dired.el (dired-toggle-read-only):
7790 * buff-menu.el (Buffer-menu-toggle-read-only):
7791 * bindings.el (mode-line-toggle-read-only):
7792 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
7794 2012-08-12 Andreas Schwab <schwab@linux-m68k.org>
7796 * descr-text.el (describe-char): Put the overlays over the
7797 "displayed as" character.
7799 2012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
7801 * calc/calc-units.el (math-default-units-table): Give an
7803 (math-put-default-units): Add options to put composite units and
7804 unit systems in the default units table.
7805 (calc-convert-units): Send composite units to
7806 `math-put-default-units' when appropriate.
7808 2012-08-11 Glenn Morris <rgm@gnu.org>
7810 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
7812 * tutorial.el (help-with-tutorial):
7813 * emacs-lisp/copyright.el (copyright-update-directory):
7814 * emacs-lisp/autoload.el (autoload-find-generated-file)
7815 (autoload-find-file): Disable local eval: (for insurance).
7817 * files.el (hack-local-variables-filter): If an eval: form is not
7818 known to be safe, and enable-local-variables is :safe, then ignore
7819 the form totally, as is done for non-eval forms. (Bug#12155)
7820 This is CVE-2012-3479.
7822 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
7824 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
7825 (rx-form): Simplify.
7827 2012-08-09 Dmitry Gutov <dgutov@yandex.ru>
7829 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
7830 ?, _, and : are symbol constituents, ! is not (but kinda should be).
7831 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
7832 (ruby-syntax-propertize-function): Adjust for changes in
7833 `ruby-syntax-propertize-heredoc'.
7835 2012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
7837 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
7838 binding (use `M-;' instead).
7839 (ruby-singleton-class-p): New function.
7840 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
7842 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
7844 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
7846 2012-08-10 Chong Yidong <cyd@gnu.org>
7848 * progmodes/python.el (python-shell-get-process-name): Don't mess
7849 with same-window-buffer-names.
7851 * eshell/eshell.el (eshell-add-to-window-buffer-names)
7852 (eshell-remove-from-window-buffer-names): Make obsolete.
7853 (eshell-buffer-name, eshell-unload-hook): Don't use them.
7854 (eshell): Just use pop-to-buffer-same-window instead.
7856 2012-08-10 Chong Yidong <cyd@gnu.org>
7858 * bindings.el: Bind M-= back to count-words-region.
7860 * simple.el (count-words-region): Accept a prefix arg for acting
7861 on the entire buffer.
7862 (count-words--buffer-message): New helper function.
7864 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
7866 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
7867 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
7868 (event-start, event-end): Use posn-at-point to return a more
7870 (posnp): New function.
7871 * mouse.el (popup-menu-normalize-position): Use it.
7873 2012-08-10 Masatake YAMATO <yamato@redhat.com>
7875 * mouse.el (popup-menu-normalize-position): New function.
7876 (popup-menu): Use `popup-menu-normalize-position' to normalize
7877 the form for POSITION argument.
7879 * term/x-win.el (x-menu-bar-open):
7880 Use the value returend from (posn-at-point) as position
7881 passed to `popup-menu'.
7883 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
7885 * calc/calccomp.el (math-compose-expr): Add extra argument
7886 indicating that parentheses should be put around products in
7887 denominators. Give multiplication precedence over division during
7890 2012-08-09 Chong Yidong <cyd@gnu.org>
7892 * man.el (Man-switches, Man-sed-command, Man-awk-command)
7893 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
7894 (Man-untabify-command, manual-program): Convert to defcustom
7897 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
7899 * descr-text.el (describe-char): Don't insert extra newlines
7902 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
7903 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
7905 * align.el (align-region): Delete temporary markers (Bug#10047).
7906 Plus some code cleanups.
7908 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
7910 * progmodes/python.el (python-pdbtrack-tracked-buffer)
7911 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
7912 (python-shell-internal-last-output): Use make-local-variable
7913 instead of make-variable-buffer-local.
7915 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
7917 * progmodes/python.el: Enhancements to forward-sexp.
7918 (python-nav-forward-sexp): Rename from
7919 python-nav-forward-sexp-function.
7920 (python-nav--forward-sexp, python-nav--backward-sexp):
7923 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
7925 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
7926 modes and simplification modes.
7928 2012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
7930 * delsel.el (delete-selection-pre-hook): Don't propagate the
7931 file-supersession signals (bug#12161).
7933 2012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
7935 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
7936 (cl-map-extents): Add compatibility aliases (bug#12135).
7938 2012-08-08 Michael Albinus <michael.albinus@gmx.de>
7940 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
7941 tests by `ignore-error'.
7942 (tramp-find-shell): Open also a new shell, when cache is already
7943 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
7945 2012-08-08 Juri Linkov <juri@jurta.org>
7947 * bookmark.el: Add `defaults' property to the bookmark record.
7948 (bookmark-current-buffer): Doc fix.
7949 (bookmark-make-record): Add `defaults' property with default values
7950 to the bookmark record.
7951 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
7952 with `bookmark-insert-current-bookmark'.
7953 (bookmark-set): Get `defaults' property from the bookmark record
7954 and use it in `read-from-minibuffer'.
7955 (bookmark-insert-current-bookmark): Remove function.
7957 * info.el (Info-bookmark-make-record): Add `defaults' property
7958 with values of canonical Info node name, the current Info file
7959 name and the current Info node name. (Bug#12107)
7961 2012-08-08 Juri Linkov <juri@jurta.org>
7963 * files.el (basic-save-buffer): Use `buffer-name' as the default
7964 of `read-file-name' when buffer is not visiting a file (bug#12128).
7966 2012-08-08 Juri Linkov <juri@jurta.org>
7968 * info.el (Info-isearch-search): Doc fix.
7969 (Info-search): Change search-failed message from "initial node" to
7970 "end of node" (bug#12078).
7971 (Info-isearch-search): Change `isearch-string-state' to
7972 `isearch--state-string'.
7974 2012-08-08 Glenn Morris <rgm@gnu.org>
7976 * language/persian.el: Remove file.
7977 * language/misc-lang.el: Move unique part of persian.el here.
7978 * loadup.el: Remove language/persian.
7980 2012-08-08 Óscar Fuentes <ofv@wanadoo.es>
7982 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
7984 2012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
7986 * progmodes/python.el: Fix defsubst warning.
7987 (python-syntax-context) Rename from python-info-ppss-context.
7988 (python-syntax-context-type): Rename from
7989 python-info-ppss-context-type.
7990 (python-syntax-comment-or-string-p): Rename from
7991 python-info-ppss-comment-or-string-p.
7993 2012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
7995 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
7997 2012-08-07 Andreas Schwab <schwab@linux-m68k.org>
7999 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
8000 a defcustom that is quoted with backquote.
8002 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
8003 Fix handling of interactive spec when the body uses return.
8004 (math-do-arg-check, math-define-function-body): Use backquote forms.
8005 * calc/calc-ext.el (math-defcache): Likewise.
8006 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
8007 * allout.el (allout-new-exposure): Likewise.
8008 * calc/calcalg2.el (math-tracing-integral): Likewise.
8009 * info.el (Info-last-menu-item): Likewise.
8010 * emulation/vip.el (vip-loop): Likewise.
8011 * textmodes/artist.el (artist-funcall): Likewise.
8012 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
8013 Construct menu-item directly.
8015 * progmodes/autoconf.el (font-lock-syntactic-keywords):
8018 2012-08-07 Chong Yidong <cyd@gnu.org>
8020 * simple.el (deactivate-mark): Preserve text properties when
8021 saving the primary selection (Bug#8384).
8023 2012-08-07 Kevin Ryde <user42@zip.com.au>
8025 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
8026 (woman-parse-numeric-value): On a bad .IP line, issue a warning
8027 and continue processing (Bug#12110).
8029 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
8031 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
8032 syntax-propertize-function (bug#10095).
8034 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
8036 * help-fns.el (help-fns--key-bindings, help-fns--signature)
8037 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
8038 describe-function-1.
8039 (describe-function-1): Use them. Move compiler macro after sig.
8040 (help-fns--compiler-macro): Use function-get. Assume we're already in
8041 standard-output. Adjust layout to new call order.
8043 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
8044 re-binding a symbol that has a symbol-macro (bug#12119).
8046 2012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
8048 * language/persian.el: New file. (Bug#11812)
8049 * loadup.el: Add language/persian.el.
8051 2012-08-06 Chong Yidong <cyd@gnu.org>
8053 * window.el (window--maybe-raise-frame): New function.
8054 (window--display-buffer): Split off from here.
8055 (display-buffer-reuse-window, display-buffer-pop-up-frame)
8056 (display-buffer-pop-up-window, display-buffer-use-some-window):
8057 Obey an inhibit-switch-frame action alist entry.
8058 (display-buffer): Update doc.
8060 * replace.el (occur-after-change-function): Avoid losing focus by
8061 using the inhibit-switch-frame display parameter (Bug#12139).
8063 2012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
8065 Make internal shell process buffer names start with space.
8066 * progmodes/python.el (python-shell-make-comint): Add optional
8068 (run-python-internal): Use it.
8069 (python-shell-internal-get-or-create-process): Check for new
8070 internal buffer names.
8072 2012-08-06 Glenn Morris <rgm@gnu.org>
8074 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
8075 Do less getting and setting of environment variables.
8077 2012-08-05 Chong Yidong <cyd@gnu.org>
8079 * proced.el (proced): Add substitution string to docstring to
8080 trigger autoloading of the proced library on C-h f (Bug#1768).
8082 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
8083 Don't show defvars which have no second argument (Bug#8638).
8085 * imenu.el (imenu-generic-expression): Move documentation here
8086 from imenu--generic-function.
8087 (imenu--generic-function): Refer to imenu-generic-expression.
8089 2012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
8091 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
8092 indentation declaration.
8093 (viper-loop): Add indentation declaration (Bug#7025).
8095 2012-08-05 Chong Yidong <cyd@gnu.org>
8097 * help-fns.el (describe-variable): Add hyperlink for
8098 directory-local variables files. Improve buffer-local and
8099 permanent-local reporting; suggested by MON KEY (Bug#6644).
8101 * help-mode.el (help-dir-local-var-def): New button type.
8103 * files.el (kill-buffer-hook): Provide a defvar.
8105 2012-08-05 Glenn Morris <rgm@gnu.org>
8107 * eshell/esh-ext.el (eshell/addpath):
8108 Also update eshell-path-env. (Bug#12013)
8110 2012-08-05 Chong Yidong <cyd@gnu.org>
8112 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
8114 * fringe.el (fringe-styles): Add docstring.
8115 (fringe--check-mode): New function.
8116 (set-fringe-mode, set-fringe-style): Use it.
8117 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
8119 * files.el (set-auto-mode): Fix invalid setq call.
8121 2012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
8123 * isearch.el: Misc simplification; use defstruct.
8124 (isearch-mode-map): Dense maps now work like sparse ones.
8125 (isearch--state): New defstruct.
8126 (isearch-string-state, isearch-message-state, isearch-point-state)
8127 (isearch-success-state, isearch-forward-state)
8128 (isearch-other-end-state, isearch-word-state, isearch-error-state)
8129 (isearch-wrapped-state, isearch-barrier-state)
8130 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
8131 replaced by defstruct's accessors.
8132 (isearch--set-state): Rename from isearch-top-state and change
8134 (isearch-push-state): Use new isearch--get-state.
8135 (isearch-toggle-word): Disable regexp when enabling word.
8136 (isearch-message-prefix): Remove unused arg _c-q-hack.
8137 (isearch-message-suffix): Remove unused arg _ellipsis.
8139 2012-08-04 Andreas Schwab <schwab@linux-m68k.org>
8141 * simple.el (list-processes--refresh): For a server use :host or
8142 :local as the address.
8143 (list-processes): Doc fix.
8145 2012-08-04 Michal Nazarewicz <mina86@mina86.com>
8147 * lisp/mpc.el: Support password in host argument.
8148 (mpc--proc-connect): Parse and use new password element.
8149 Set mpc-proc variable instead of returning process.
8150 (mpc-proc): Adjust accordingly.
8152 2012-08-03 Eli Zaretskii <eliz@gnu.org>
8154 * whitespace.el (whitespace-display-mappings): Use Unicode
8155 codepoints, instead of emacs-mule codepoints. See
8156 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
8159 * files.el (file-truename): Don't skip symlink-chasing part on
8160 windows-nt. Incorporate the resolution of 8+3 short aliases on
8161 Windows into the loop that recursively chases symlinks.
8162 Compare directory and its parent case-insensitively on MS-Windows and
8165 2012-08-03 Chong Yidong <cyd@gnu.org>
8167 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
8169 * sort.el (sort-regexp-fields): Doc fix.
8171 2012-08-03 Tassilo Horn <tsdh@gnu.org>
8173 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
8174 labels regex position point at the expected place.
8176 2012-08-03 MON KEY <monkey@sandpframing.com>
8178 * net/imap.el (imap-interactive-login, imap-authenticate)
8179 (imap-mailbox-lsub, imap-mailbox-list)
8180 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
8181 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
8182 (imap-parse-response): Doc fix.
8184 2012-08-03 João Távora <joaotavora@gmail.com>
8186 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
8187 if sexp scanning does not move point (Bug#5734).
8189 2012-08-02 Tassilo Horn <tsdh@gnu.org>
8191 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
8192 Add listings, minted, and ctable packages.
8193 (reftex-label-alist-builtin): Move listings, minted, and ctable
8194 entries before LaTeX.
8195 (reftex-label-alist): Docfix.
8197 2012-08-02 Bastien Guerry <bzg@gnu.org>
8199 * replace.el (occur): Fix docstring (bug#12122).
8201 2012-08-02 Glenn Morris <rgm@gnu.org>
8203 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
8205 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
8207 Obsolete alias inactivate-current-input-method-function (Bug#10150).
8208 * international/mule-cmds.el: Create
8209 inactivate-current-input-method-function as an obsolete alias for
8210 deactivate-current-input-method-function. See Katsumi Yamaoka in
8211 <http://bugs.gnu.org/10150#46>.
8213 2012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
8215 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
8218 2012-08-01 Glenn Morris <rgm@gnu.org>
8220 * progmodes/autoconf.el (autoconf-definition-regexp):
8221 Add AH_TEMPLATE, adjust submatch numbering.
8222 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
8223 (autoconf-current-defun-function): Update for above change.
8224 (autoconf-current-defun-function): First skip to end of current word.
8226 2012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
8228 * calendar/cal-html.el (cal-html-insert-agenda-days):
8229 Fix typo. (Bug#12018)
8231 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
8233 Shell processes: enhancements to startup and CEDET compatibility.
8234 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
8235 (python-shell-make-comint): accept-process-output at startup.
8236 (run-python-internal): Set inferior-python-mode-hook to nil.
8237 (python-shell-internal-get-or-create-process): call sit-for.
8238 (python-preoutput-result): Add obsolete alias.
8239 (python-shell-internal-send-string): Use it.
8240 (python-shell-send-setup-code): Remove call to
8241 accept-process-output.
8243 2012-07-31 Andreas Schwab <schwab@linux-m68k.org>
8245 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
8248 2012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
8250 * calc-mode.el (calc-basic-simplification-mode): Rename from
8251 `calc-limited-simplification-mode'.
8252 (calc-alg-simplification-mode): New function.
8253 (calc-set-simplify-mode): Adjust message.
8255 * calc.el (calc-set-mode-line): Adjust mode line display for
8256 basic simplification mode.
8258 * calc-help.el (calc-m-prefix-help): Update help message.
8260 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
8261 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
8263 2012-07-31 Bastien Guerry <bzg@gnu.org>
8265 * man.el (man): Fix comment. (bug#12101)
8267 2012-07-31 Martin Rudalics <rudalics@gmx.at>
8269 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
8270 Don't return a non-nil value when no suitable buffer was found.
8272 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
8274 * progmodes/python.el (run-python-internal): Disable font lock for
8277 2012-07-30 Stefan Merten <smerten@oekonux.de>
8279 * textmodes/rst.el: Silence `checkdoc-ispell'.
8280 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
8281 (rst-official-version, rst-official-cvs-rev)
8282 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
8283 (rst-mode-map): New key binding.
8285 2012-07-30 Paul Eggert <eggert@cs.ucla.edu>
8287 Update .PHONY listings in makefiles.
8288 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
8289 autoloads, update-subdirs, updates, bzr-update, update-authors,
8290 compile-onefile, compile-calc, backup-compiled-files,
8291 compile-after-backup, compile-one-process, mh-autoloads,
8292 bootstrap-clean, distclean, maintainer-clean.
8294 2012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
8296 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
8297 (calc-set-mode-line): Don't display "AlgSimp ".
8299 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
8300 (calc-lim-simplify-mode): New function.
8301 (calc-set-simplify-mode): Default to 'alg.
8302 (calc-default-simplify-mode): Make algebraic simplifications
8305 * calc/calc-ext.el (calc-init-extensions): Remove binding for
8306 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
8308 * calc/calc-help.el (calc-m-prefix-help): Change messages to
8309 indicate new simplification modes.
8311 * calc/README: Mention new default simplification mode.
8313 * calc/calc.el (math-normalize-error): New variable.
8314 (math-normalize): Set `math-normalize-error' to t
8315 when there's an error.
8317 * calc/calc-alg.el (math-simplify): Don't simplify when
8318 `math-normalize' returns an error.
8320 2012-07-29 Eli Zaretskii <eliz@gnu.org>
8322 * international/mule-cmds.el (set-locale-environment): Revert last
8323 change, since display-graphic-p returns nil when this function is
8324 called during startup. Instead...
8326 * term/w32console.el (terminal-init-w32console): ...setup the
8327 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
8329 2012-07-29 Juri Linkov <juri@jurta.org>
8331 * simple.el (goto-line): Don't display default line number in the
8332 prompt because it should be displayed by `read-number' (bug#9952).
8333 Add the current line number to the defaults of `goto-line' to
8334 allow its easier modification by users with `M-n' (bug#9201).
8336 * subr.el (read-number): Support multiple default values like in
8337 other minibuffer reading functions. Replace `read' with
8338 `string-to-number' for consistency with `number-to-string'.
8340 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
8342 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
8343 * emulation/viper-init.el (viper-deactivate-input-method-action):
8344 Rename from viper-inactivate-input-method-action.
8345 (viper-deactivate-input-method):
8346 Rename from viper-inactivate-input-method.
8347 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
8348 * international/mule-cmds.el (deactivate-input-method):
8349 Rename from inactivate-input-method.
8350 Also run input-method-deactivate-hook.
8351 (deactivate-current-input-method-function):
8352 Rename from inactivate-current-input-method-function.
8353 (input-method-deactivate-hook): New hook.
8354 (input-method-inactivate-hook): Mark obsolete.
8355 (inactivate-input-method): Mark obsolete.
8357 * international/quail.el (quail-activate):
8358 Also run quail-deactivate-hook.
8359 (quail-deactivate): Rename from quail-inactivate.
8360 * international/robin.el (robin-activate):
8361 Also run robin-deactivate-hook.
8362 (robin-deactivate): Rename from robin-inactivate.
8364 2012-07-29 Chong Yidong <cyd@gnu.org>
8366 * simple.el (indicate-copied-region): New function.
8367 (kill-ring-save): Split off from here.
8369 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
8370 (kill-rectangle): Set deactivate-mark to t on read-only error.
8372 * register.el (copy-to-register, copy-rectangle-to-register):
8373 Deactivate the mark, and use indicate-copied-region (Bug#10056).
8374 (append-to-register, prepend-to-register): Call indicate-copied-region.
8376 2012-07-29 Juri Linkov <juri@jurta.org>
8378 * simple.el (async-shell-command-buffer): New defcustom.
8379 (shell-command): Use it. (Bug#4719)
8381 2012-07-28 Eli Zaretskii <eliz@gnu.org>
8383 * international/mule-cmds.el (set-locale-environment): In a
8384 console session on MS-Windows, set up keyboard and terminal
8385 encoding from the OEM codepage, not the ANSI codepage.
8388 2012-07-28 Chong Yidong <cyd@gnu.org>
8390 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
8393 2012-07-28 Leo Liu <sdl.web@gmail.com>
8395 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
8396 the alist (bug#12029).
8398 2012-07-28 Eli Zaretskii <eliz@gnu.org>
8400 * makefile.w32-in (custom-deps, finder-data, updates, compile)
8401 (compile-always, compile-first)
8402 ($(lisp)/calendar/cal-loaddefs.el)
8403 ($(lisp)/calendar/diary-loaddefs.el)
8404 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
8405 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
8406 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
8407 instead of on update-subdirs.
8408 (bootstrap-clean): Delete $(lisp)/subdirs.el.
8410 2012-07-28 Chong Yidong <cyd@gnu.org>
8412 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
8413 directory if vc-deduce-backend returns nil (Bug#7350).
8415 * simple.el (delete-trailing-lines): New option.
8416 (delete-trailing-whitespace): Obey it (Bug#11879).
8418 2012-07-28 David Engster <deng@randomsample.de>
8420 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
8421 Explanation of new 'symbol-qnames feature in doc-strings.
8422 (xml-maybe-do-ns): Return expanded names as plain symbols if
8423 'symbol-qnames was provided in XML-NS argument (Bug#11916).
8424 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
8426 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
8428 Consistent completion in inferior python with emacs -nw.
8429 * progmodes/python.el (inferior-python-mode): replace "<tab>"
8430 binding in inferior-python-mode-map with "\t".
8431 (python-shell-completion-complete-at-point)
8432 (python-completion-complete-at-point): Remove interactive spec.
8434 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
8436 * calc/calccomp.el (math-compose-expr): Undo previous change.
8438 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
8440 * progmodes/python.el (python-mode-map): Add keybinding for
8442 (python-shell-make-comint): Fix pop-to-buffer call.
8443 (run-python): Autoload. New arg SHOW.
8444 (python-shell-get-or-create-process): Do not pop python process
8447 2012-07-27 Michael Albinus <michael.albinus@gmx.de>
8449 * notifications.el (notifications-on-action-signal)
8450 (notifications-on-closed-signal): Use also the bus address for the map.
8451 (notifications-notify, notifications-close-notification)
8452 (notifications-get-capabilities): Add optional argument BUS.
8454 2012-07-27 Tassilo Horn <tsdh@gnu.org>
8456 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
8457 Add support for the lstlisting and minted environments, and for the
8459 * textmodes/reftex.el (reftex-compile-variables): Also recognize
8460 labels written in keyvals syntax.
8462 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
8464 * calc/calccomp.el (math-compose-expr): Use parentheses when
8465 there is a product in the denominator of a fraction.
8467 2012-07-26 Eli Zaretskii <eliz@gnu.org>
8469 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
8470 ($(lisp)/calendar/diary-loaddefs.el)
8471 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
8472 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
8473 Fixes failures in parallel bootstrap because subdirs.el is being
8474 rewritten while the autoload files are built at the same time,
8475 which needs to load subdirs.el.
8477 2012-07-26 Martin Rudalics <rudalics@gmx.at>
8479 * mouse.el (popup-menu): Fix doc-string and re-indent code.
8480 (mouse-drag-line): Don't exit tracking when a switch-frame or
8481 switch-window event occurs (Bug#12006).
8483 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8485 * mouse.el (popup-menu): Fix last change.
8487 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8489 Autoload from Lisp with more care. Follow aliases when looking for
8490 function properties.
8491 * subr.el (autoloadp): New function.
8492 (symbol-file): Use it.
8493 (function-get): New function.
8494 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
8496 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
8497 (lisp-indent-function):
8498 * emacs-lisp/gv.el (gv-get):
8499 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
8500 * emacs-lisp/byte-opt.el (byte-optimize-form):
8501 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
8502 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
8504 * emacs-lisp/cl.el: Don't propagate function properties any more.
8506 * speedbar.el (speedbar-add-localized-speedbar-support):
8507 * emacs-lisp/disass.el (disassemble-internal):
8508 * desktop.el (desktop-load-file):
8509 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
8510 (describe-function-1):
8511 * emacs-lisp/find-func.el (find-function-noselect):
8512 * emacs-lisp/elp.el (elp-instrument-function):
8513 * emacs-lisp/advice.el (ad-has-proper-definition):
8514 * apropos.el (apropos-safe-documentation, apropos-macrop):
8515 * emacs-lisp/debug.el (debug-on-entry):
8516 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
8517 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
8518 * calc/calc.el (name): Use autoloadp & autoload-do-load.
8520 2012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
8522 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
8523 function, not an obsolete variable (Bug#12046).
8525 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
8527 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
8529 2012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
8531 * emacs-lisp/pp.el (pp-display-expression): Select old selected
8532 window only if it is still live (Bug#12034).
8534 2012-07-25 Martin Rudalics <rudalics@gmx.at>
8536 * subr.el (redirect-frame-focus): Add advertised calling
8537 convention (Bug#12030).
8539 2012-07-25 Paul Eggert <eggert@cs.ucla.edu>
8541 Prefer typical American spelling for "acknowledgment".
8542 * vc/add-log.el (change-log-acknowledgment): Rename from
8543 change-log-acknowledgement, with an alias for the old name.
8545 2012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
8547 * calc-alg.el (math-simplify-divide): Don't cross multiply
8548 in an equation when the lhs is a variable.
8550 2012-07-24 Julien Danjou <julien@danjou.info>
8552 * net/netrc.el (netrc-find-service-number, netrc-store-data):
8555 2012-07-23 Eli Zaretskii <eliz@gnu.org>
8557 * startup.el (command-line): Don't display an empty user name in
8558 the error message about non-existent home directory, when
8559 init-file-user was set to an empty string. See
8560 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
8561 for the details and context.
8563 2012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
8565 * ses.el (ses-cell-formula-aset): New macro.
8566 (ses-cell-references-aset): New macro.
8567 (ses-cell-p): New function.
8568 (ses-rename-cell): Do no longer rely on complex operations like
8569 ses-cell-set-formula or ses-set-cell to change the cell and handle
8570 the undo at the same time, but rather use lower level new macros
8571 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
8572 the undo directly. Refresh the mode line.
8574 2012-07-21 Leo Liu <sdl.web@gmail.com>
8576 * progmodes/cc-cmds.el (c-defun-name):
8577 Use match-string-no-properties instead for consistency.
8579 2012-07-20 Leo Liu <sdl.web@gmail.com>
8581 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
8584 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
8586 2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
8588 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
8589 * progmodes/bug-reference.el, misearch.el: Provide themselves
8592 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
8593 of narrowed buffer (bug#11966).
8595 2012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
8597 * ses.el (ses-rename-cell): Set new name also in reference list of
8598 cells of which the renamed cell depends.
8600 2012-07-20 Masatake YAMATO <yamato@redhat.com>
8602 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
8603 to check whether menu-bar is shown or not. If not shown,
8604 show the menu-bar as a popup menu instead of using tmm.
8605 * mouse.el (popup-menu): Accept `point' as `position' argument.
8607 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
8609 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
8610 up inside string symbol literal (bug#11923).
8612 2012-07-20 Eli Zaretskii <eliz@gnu.org>
8614 * startup.el (fancy-startup-text): Read the whole tutorial, not
8615 just its first 256 bytes. Prevents gibberish in display of the
8618 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
8620 Drop idle buffer compaction due to an absence of the
8622 * compact.el: Remove.
8624 2012-07-19 Sam Steingold <sds@gnu.org>
8626 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
8627 vc-bzr-pull & vc-bzr-merge-branch.
8628 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
8629 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
8630 for consistency with compilation-error-regexp-alist.
8631 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
8632 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
8633 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
8634 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
8636 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
8638 * emacs-lisp/chart.el: Use lexical-binding.
8639 (chart-emacs-storage): Don't hardcode the list of entries.
8641 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
8643 Next round of tweaks caused by Fgarbage_collect changes.
8644 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
8646 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
8648 Compact buffers when idle.
8649 * compact.el: New file.
8651 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
8653 * subr.el (eventp): Presume that if it looks vaguely like an event,
8654 it's an event (bug#10190).
8656 2012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
8658 Enhancements to ppss related code (thanks Stefan).
8659 * progmodes/python.el (python-indent-context)
8660 (python-indent-calculate-indentation, python-indent-dedent-line)
8661 (python-indent-electric-colon, python-nav-forward-block)
8662 (python-mode-abbrev-table)
8663 (python-info-assignment-continuation-line-p): Simplify checks
8665 (python-info-continuation-line-p): Cleanup.
8666 (python-info-ppss-context): Do not catch 'quote.
8667 (python-info-ppss-context-type)
8668 (python-info-ppss-comment-or-string-p): Simplify.
8670 2012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
8672 * progmodes/python.el: Enhancements to eldoc support.
8673 (python-info-current-symbol): New function.
8674 (python-eldoc-at-point): Use python-info-current-symbol.
8675 (python-info-current-defun): Fix cornercase on first defun scan.
8676 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
8677 and signal error when no inferior python process is available.
8679 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
8681 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
8682 assume it's always t.
8683 (vc-git-registered): Remove caching, the function is only called
8685 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
8687 2012-07-18 Chong Yidong <cyd@gnu.org>
8689 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
8691 * simple.el (count-words): Report on narrowing (Bug#9959).
8693 * bindings.el: Bind M-= to count-words.
8695 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
8697 2012-07-18 Masatake YAMATO <yamato@redhat.com>
8699 * progmodes/sh-script.el (sh-imenu-generic-expression):
8700 Capture a function with `function' keyword and without parentheses
8701 like "function FOO" (bug#11856).
8703 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
8705 * window.el (split-window-sensibly): Make WINDOW argument
8708 2012-07-18 Chong Yidong <cyd@gnu.org>
8710 * subr.el (keyboard-translate): Doc fix (Bug#7261).
8712 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
8713 and make C-x 8 RET exit isearch (Bug#11439).
8715 * international/iso-transl.el: Move isearch-mode-map key
8716 definitions to isearch.el.
8718 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
8720 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
8721 (eieio-defclass): Use gv-define-setter when possible.
8723 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
8725 Reflect recent changes in Fgarbage_collect.
8726 * emacs-lisp/chart.el (chart-emacs-storage): Change to
8727 reflect new format of data returned by Fgarbage_collect.
8729 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
8731 New utility functions + python-info-ppss-context fix (Bug#11910).
8732 * progmodes/python.el (python-info-beginning-of-block-statement-p)
8733 (python-info-ppss-comment-or-string-p): New functions.
8734 (python-info-ppss-context): Small fix for string check.
8736 2012-07-17 Juri Linkov <juri@jurta.org>
8738 * dired-aux.el (dired-do-async-shell-command): Doc fix.
8739 (dired-do-async-shell-command): Don't add `*' at the end of the
8740 command (Bug#11815).
8741 (dired-do-shell-command): Doc fix.
8742 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
8743 Join the individual commands using either "&" or ";" as the
8744 separator depending on the values of these trailing characters.
8745 At the end re-add the trailing "&". (Bug#10598)
8747 * simple.el (async-shell-command): Sync the interactive spec with
8748 `shell-command'. Doc fix.
8749 (shell-command): Doc fix.
8751 2012-07-17 Juri Linkov <juri@jurta.org>
8753 * descr-text.el (describe-char): Fix format args. (Bug#10129)
8755 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
8757 Final renames and doc fixes for movement commands (bug#11899).
8758 * progmodes/python.el (python-nav-beginning-of-statement):
8759 Rename from python-nav-statement-start.
8760 (python-nav-end-of-statement): Rename from
8761 python-nav-statement-end.
8762 (python-nav-beginning-of-block): Rename from
8763 python-nav-block-start.
8764 (python-nav-end-of-block): Rename from python-nav-block-end.
8766 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
8768 * progmodes/python.el (python-shell-send-string-no-output):
8769 Allow accept-process-output to quit, keeping shell process ready for
8770 future interactions (Bug#11868).
8772 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
8774 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
8776 * emacs-lisp/elint.el (elint-find-args-in-code):
8777 Use help-function-arglist, so as to handle lexical byte-code.
8779 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
8782 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
8784 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
8785 Avoid spuriously marking the buffer as modified because of c-is-sws.
8787 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
8788 as not-a-comment (bug#11946).
8790 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
8791 for uninterned vars.
8793 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
8794 Use read-event since we don't really want to read chars but bytes.
8796 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
8797 $$..$$ but also $..$ using regexps (bug#11953).
8798 Use tex-verbatim for \url and \path.
8799 (tex-font-lock-keywords): Define as defconst like the others.
8800 (tex-common-initialization): Don't use font-lock-syntax-table any more.
8802 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
8804 * international/mule-cmds.el (ucs-insert): Make it an obsolete
8805 alias for insert-char.
8807 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
8809 * progmodes/python.el: Simplified imenu implementation.
8810 (python-nav-jump-to-defun): Remove command.
8811 (python-mode-map): Use `imenu' instead.
8812 (python-nav-list-defun-positions-cache)
8813 (python-imenu-include-defun-type, python-imenu-make-tree)
8814 (python-imenu-subtree-root-label, python-imenu-index-alist):
8816 (python-nav-list-defun-positions, python-nav-read-defun)
8817 (python-imenu-tree-assoc, python-imenu-make-element-tree)
8818 (python-imenu-make-tree, python-imenu-create-index):
8820 (python-mode): Update to interact with imenu by setting
8821 `imenu-extract-index-name-function' only.
8823 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
8825 * progmodes/python.el: Enhancements to navigation commands.
8826 (python-nav-backward-sentence)
8827 (python-nav-forward-sentence): Remove.
8828 (python-nav-backward-statement, python-nav-forward-statement)
8829 (python-nav-statement-start, python-nav-statement-end)
8830 (python-nav-backward-block, python-nav-forward-block)
8831 (python-nav-block-start, python-nav-block-end)
8832 (python-nav-forward-sexp-function)
8833 (python-info-current-line-comment-p)
8834 (python-info-current-line-empty-p): New functions.
8835 (python-indent-context): Use `python-nav-statement-start'.
8837 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
8839 * eshell/em-ls.el (eshell/ls): Use `apply'.
8841 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
8842 multi-hops, instead of Tramp internals.
8844 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
8846 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
8847 when F1 and F2 are located on different hosts.
8849 2012-07-14 Chong Yidong <cyd@gnu.org>
8851 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
8852 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
8853 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
8854 (xterm-mouse--read-event-sequence-1000)
8855 (xterm-mouse--read-event-sequence-1006): New functions. For old
8856 mouse protocol, handle M-mouse-X events correctly.
8857 (xterm-mouse-event): New arg specifying mouse protocol.
8858 (turn-on-xterm-mouse-tracking-on-terminal)
8859 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
8860 sequence to toggle extended coordinates on newer XTerms.
8861 This appears to be harmless on terminals which do not support this.
8863 2012-07-14 Leo Liu <sdl.web@gmail.com>
8865 Add fringe bitmap indicators for flymake. (Bug#11253)
8866 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
8867 (flymake-make-overlay): New arg BITMAP.
8868 (flymake-error-bitmap, flymake-warning-bitmap)
8869 (flymake-fringe-indicator-position): New user variables.
8871 * fringe.el: New bitmap exclamation-mark.
8873 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
8875 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
8878 2012-07-14 Chong Yidong <cyd@gnu.org>
8880 * electric.el (electric-pair-post-self-insert-function): Fix pair
8881 insertion in empty-region case (Bug#11520).
8883 2012-07-14 Chong Yidong <cyd@gnu.org>
8885 * bindings.el: Consolidate ctl-x-r-map bindings.
8886 Bind copy-rectangle-as-kill to C-x r w.
8888 * rect.el, register.el: Move bindings to bindings.el.
8890 2012-07-14 Reuben Thomas <rrt@sc3d.org>
8892 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
8894 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
8896 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
8898 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
8900 * bindings.el (top): Use `mapc' instead of `mapcar'.
8902 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
8904 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
8906 * progmodes/sql.el (sql-comint): Suppress the check for program on
8907 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
8910 2012-07-13 Chong Yidong <cyd@gnu.org>
8912 * bindings.el: Assign a non-nil permanent-local property to
8913 per-buffer variables which lack a default value (Bug#11930).
8915 * help-fns.el (describe-variable): In the "automatically becomes
8916 local" notice, take note of permanent-local variables.
8918 2012-07-13 Chong Yidong <cyd@gnu.org>
8920 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
8921 to allow printing the message when called from Lisp.
8923 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
8924 Remove toggle-read-only.
8926 * bs.el (bs-toggle-readonly):
8927 * buff-menu.el (Buffer-menu-toggle-read-only):
8928 Remove with-no-warnings around toggle-read-only.
8930 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
8931 Remove with-no-warnings around toggle-read-only.
8932 (ffap-read-only, ffap-read-only-other-window)
8933 (ffap-read-only-other-frame): Callers changed.
8935 * help-mode.el: Don't require view package.
8936 (help-mode-finish): Set buffer-read-only instead of calling
8939 * bindings.el (mode-line-toggle-read-only):
8940 * dired.el (dired-toggle-read-only):
8941 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
8942 with non-nil second arg.
8944 * emacs-lisp/eieio-custom.el (eieio-customize-object):
8945 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
8948 2012-07-12 Eli Zaretskii <eliz@gnu.org>
8950 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
8953 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
8955 More CL cleanups and reduction of use of cl.el.
8956 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
8957 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
8958 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
8959 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
8960 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
8961 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
8962 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
8963 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
8964 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
8965 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
8966 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
8967 * eshell/em-cmpl.el, eshell/em-banner.el:
8968 * calendar/parse-time.el: Use cl-lib.
8969 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
8970 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
8971 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
8972 * term/ns-win.el, term.el, shell.el, ps-samp.el:
8973 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
8974 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
8975 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
8976 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
8977 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
8978 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
8979 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
8980 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
8981 `lambda' rather than with `quote'.
8982 (eshell-do-opt): Adjust accordingly.
8983 (eshell-process-option): Simplify.
8984 * eshell/esh-var.el:
8985 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
8986 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
8987 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
8988 to `pcase--dontcare'.
8989 * emacs-lisp/cl.el (labels): Mark obsolete.
8990 (cl--letf, letf): Move to cl-lib.
8991 (cl--letf*, letf*): Remove.
8992 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
8993 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
8994 (cl-progv): Rewrite.
8995 (cl--letf, cl-letf): Move from cl.el.
8996 (cl-letf*): New macro.
8997 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
8999 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
9001 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
9003 2012-07-11 Chong Yidong <cyd@gnu.org>
9005 * vc/log-edit.el (log-edit-vc-backend): New variable.
9006 (log-edit): Doc fix.
9008 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
9009 argument of log-edit to set up all local variables.
9010 (vc-start-logentry): New optional arg specifying VC backend.
9012 * vc/vc.el (vc-checkin): Use it.
9013 (vc-deduce-fileset): Handle Log Edit buffers.
9014 (vc-diff): Make first argument optional too.
9016 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
9018 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
9020 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
9021 command, just in case. The function is not needed anymore.
9022 (eshell-external-command): Do not call `eshell-remote-command'.
9024 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
9026 Reduce use of (require 'cl).
9027 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
9028 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
9029 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
9030 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
9031 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
9032 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
9033 * battery.el, avoid.el, abbrev.el: Use cl-lib.
9034 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
9035 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
9036 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
9037 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
9038 * calculator.el, autorevert.el, apropos.el: Don't require CL.
9039 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
9040 (byte-compile-unfold-bcf, byte-compile-check-variable):
9041 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
9042 (byte-compile-nilconstp):
9043 * emacs-lisp/autoload.el (make-autoload): Use pcase.
9044 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
9046 * emacs-lisp/gv.el (cond): Make it a valid place.
9047 (if): Simplify slightly.
9049 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
9050 (pcase--self-quoting-p): New function.
9051 (pcase--u1): Use it.
9053 2012-07-10 Glenn Morris <rgm@gnu.org>
9055 * emacs-lisp/authors.el (authors-fixed-entries):
9056 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
9058 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
9060 Rename configure.in to configure.ac (Bug#11603).
9061 * emacs-lisp/authors.el (authors-canonical-file-name):
9062 * progmodes/autoconf.el (autoconf-mode):
9063 Prefer configure.ac to configure.in.
9065 2012-07-08 Chong Yidong <cyd@gnu.org>
9067 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
9068 Implement the mouse-1-click-follows-link handling properly.
9070 * info.el (Info-link-keymap): Use follow-link mechanism for
9071 header-line links (Bug#374).
9073 * simple.el (deactivate-mark): Do not set the primary selection
9074 if another program has acquired it (Bug#11772).
9076 2012-07-07 Kevin Ryde <user42@zip.com.au>
9078 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
9079 (woman-decode-region): Replace escaped-escapes without destroying
9080 bold or underline (Bug#11552).
9081 (woman2-process-escapes): Handle nofill regions (Bug#11591).
9083 2012-07-07 Chong Yidong <cyd@gnu.org>
9085 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
9086 (interprogram-cut-function, interprogram-paste-function):
9087 Mention that we typically mean the clipboard.
9089 2012-07-06 Glenn Morris <rgm@gnu.org>
9091 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
9093 * files.el (toggle-read-only): Restrict message to interactive use.
9095 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
9097 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
9099 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
9101 2012-07-06 Glenn Morris <rgm@gnu.org>
9103 * Makefile.in (compile-one-process): Rename from "recompile".
9105 * Makefile.in (bzr-update): "compile" is the same as "recompile
9106 autoloads", but parallelizable, so use that instead.
9108 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
9110 * window.el (quit-window): Always restore window height when
9111 it's saved in quit-restore parameter (Bug#11810).
9113 2012-07-06 Glenn Morris <rgm@gnu.org>
9115 * simple.el (kill-whole-line): Doc tweak.
9117 2012-07-06 Eli Zaretskii <eliz@gnu.org>
9119 * files.el (file-relative-name): Compare file names
9120 case-insensitively if on MS-Windows or MS-DOS, or if
9121 read-file-name-completion-ignore-case is non-nil. Don't use
9122 case-fold-search for this purpose. (Bug#11827)
9124 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
9126 * calendar/cal-dst.el (calendar-current-time-zone):
9127 Return calendar-current-time-zone-cache if non-nil.
9129 2012-07-17 Masatake YAMATO <yamato@redhat.com>
9130 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
9132 * calendar/cal-dst.el (calendar-current-time-zone):
9133 Return calendar-current-time-zone-cache if non-nil.
9135 2012-07-06 Glenn Morris <rgm@gnu.org>
9137 * Makefile.in (cvs-update): Remove old alias.
9139 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
9141 Sync with Tramp 2.2.6-pre.
9143 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
9144 compatible declaration.
9146 * net/tramp-cmds.el (tramp-append-tramp-buffers):
9147 Protect `list-load-path-shadows' call.
9149 * net/tramp-compat.el (top): Require packages, which aren't
9150 autoloaded anymore for XEmacs. Protect call of
9151 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
9152 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
9153 it hurts at least for SXEmacs.
9154 (tramp-compat-temporary-file-directory): In XEmacs, there is no
9155 standard-value for `temporary-file-directory'.
9157 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
9158 Redirect stderr to /dev/null.
9159 (tramp-sh-handle-write-region): uid and gid can be floats.
9160 Reported by Russell Sim <russell.sim@gmail.com>.
9161 (tramp-sh-handle-vc-registered): Hide errors.
9162 (tramp-vc-file-name-handler): Use dummy results for `process-file'
9163 and `start-file-process'.
9164 (tramp-maybe-open-connection): Check also whether `non-essential'
9167 2012-07-04 Chong Yidong <cyd@gnu.org>
9169 * xml.el (xml--parse-buffer): Use xml-syntax-table.
9170 (xml-parse-tag): Likewise, and avoid changing entity tables.
9171 (xml-syntax-table): Define from scratch, making sure not to give
9172 x2000 and other Unicode spaces whitespace syntax, since those are
9174 (xml-parse-fragment): Delete unused function.
9175 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
9176 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
9177 (xml-entity-ref, xml-pe-reference-re)
9178 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
9179 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
9180 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
9181 (xml-entity-value-re): Use syntax references in regexps where
9182 possible; no need to define inside a let-binding.
9183 (xml-parse-dtd): Use xml-pe-reference-re.
9184 (xml-entity-or-char-ref-re): New defconst.
9185 (xml-parse-string, xml-substitute-special): Use it.
9187 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
9189 * files.el (locate-dominating-file): Allow `name' to be a predicate.
9190 (find-file--read-only): New function.
9191 (find-file-read-only, find-file-read-only-other-window)
9192 (find-file-read-only-other-frame): Use it.
9193 (insert-file-contents-literally): Don't `fset'.
9194 (get-free-disk-space): Use locate-dominating-file.
9196 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
9197 function is already compiled.
9199 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
9201 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
9203 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
9204 files on the same host.
9206 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
9208 * help-fns.el (describe-function-1): Only call
9209 help-fns--autoloaded-p when we have a file name. (Bug#11848)
9211 2012-07-03 Chong Yidong <cyd@gnu.org>
9213 * xml.el: Protect parser against XML bombs.
9214 (xml-entity-expansion-limit): New variable.
9215 (xml-parse-string, xml-substitute-special): Use it.
9216 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
9218 2012-07-03 Glenn Morris <rgm@gnu.org>
9220 * progmodes/bug-reference.el (bug-reference-bug-regexp):
9221 Allow linking to specific messages in debbugs reports (eg 123#5).
9223 2012-07-02 Chong Yidong <cyd@gnu.org>
9225 * xml.el: Fix entity and character reference expansion, allowing
9226 them to expand into markup as per XML spec.
9227 (xml-default-ns): New variable.
9228 (xml-entity-alist): Use XML spec definitions for lt and amp.
9229 (xml-parse-region): Make first two arguments optional.
9230 Discard text properties.
9231 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
9232 All callers changed.
9233 (xml-parse-tag): Call xml-parse-tag-1. For backward
9234 compatibility, this function should not modify buffer contents.
9235 (xml-parse-tag-1): Fix opening-tag regexp.
9236 (xml-parse-string): Rewrite, handling entity and character
9237 references properly.
9238 (xml--entity-replacement-text): Signal an error if a parameter
9239 entity is undefined.
9241 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
9243 * comint.el (comint-output-filter): Filter out repeated prompts.
9245 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
9246 and file-name-absolute-p.
9247 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
9250 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
9253 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
9254 Rename from byte-compile--refiy-function. All uses changed.
9256 2012-07-01 Chong Yidong <cyd@gnu.org>
9258 * xml.el (xml--parse-buffer): New function. Move most of
9259 xml-parse-region here.
9260 (xml-parse-region): Copy region into a temporary buffer, since
9261 parameter entity substitution requires changing buffer contents.
9262 Use xml--parse-buffer.
9263 (xml-parse-file): Use xml--parse-buffer.
9264 (xml-parse-dtd): Make parameter entity substitution work right.
9265 Use proper regexps for ELEMENT declarations (Bug#7172).
9267 2012-06-30 Glenn Morris <rgm@gnu.org>
9269 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
9271 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
9272 Remove outdated and unnecessary dbus declarations.
9274 2012-06-30 Eli Zaretskii <eliz@gnu.org>
9276 * emacs-lisp/timer.el (timer-until): Subtract results of
9277 float-time, instead of taking float-time of the result of
9278 time-subtract, since float-time signals an error for negative time
9281 2012-06-30 Chong Yidong <cyd@gnu.org>
9283 * xml.el (xml-*-re): Convert defvars into defconsts, and
9284 eval-and-compile them so eval-and-compile works on derivatives.
9285 (xml--entity-replacement-text): Use eval-and-comple.
9287 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
9289 * vc/vc-git.el (vc-git-registered): Use cache property
9291 (vc-git-mode-line-string): Call `vc-working-revision' instead of
9292 `vc-git-working-revision' in order to benefit from the cache.
9293 (vc-git-root): Use cache property `git-root'. (Bug#11757)
9295 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
9297 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
9298 removed (likely outside Emacs). (Bug#11757)
9300 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
9302 * emacs-lisp/cl-lib.el: Require macroexp.
9304 2012-06-30 Chong Yidong <cyd@gnu.org>
9306 * xml.el: Implement XML parameter entities.
9307 (xml-parameter-entity-alist): New variable.
9308 (xml-parse-region, xml-parse-fragment): Preserve previous values
9309 of xml-entity-alist and xml-parameter-entity-alist, so that
9310 repeated calls on different documents do not change them.
9311 (xml-parse-tag): Fix doctype regexp.
9312 (xml--entity-replacement-text): New function.
9313 (xml-parse-dtd): Use it. Don't handle system entities; doing that
9314 properly requires url retrieval which is unimplemented.
9315 (xml-escape-string): Doc fix.
9317 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
9319 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
9321 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
9323 * fringe.el (fringe-mode): Doc fix.
9325 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
9327 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
9329 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
9330 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
9332 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
9334 * calendar/cal-dst.el (calendar-current-time-zone):
9335 Return calendar-current-time-zone-cache if non-nil.
9337 2012-06-29 Masatake YAMATO <yamato@redhat.com>
9339 * progmodes/which-func.el (which-func-format):
9340 Add mouse-face. (Bug#11698)
9342 2012-06-29 Leo Liu <sdl.web@gmail.com>
9344 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
9346 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
9348 * minibuffer.el (minibuffer-confirm-exit-commands):
9349 Add completion-at-point (bug#11725).
9351 2012-06-29 Glenn Morris <rgm@gnu.org>
9353 * progmodes/f90.el (f90-font-lock-keywords-2):
9354 Add some preprocessor elements. (Bug#10499)
9356 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
9358 * progmodes/cperl-mode.el (cperl-update-syntaxification):
9359 Use syntax-propertize (bug#11739).
9361 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
9363 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
9365 2012-06-28 Julien Danjou <julien@danjou.info>
9367 * term.el (term-handle-colors-array): Use a set of new faces to
9368 color the terminal. Also uses :inverse-video property.
9369 (term-default-fg-color): Set to nil by default, deprecate in favor
9371 (term-default-bg-color): Set to nil by default, deprecate in favor
9373 (term-current-face): Use `term-face' by default.
9374 (term-bold-attribute): Variable deleted.
9376 2012-06-28 Glenn Morris <rgm@gnu.org>
9378 * simple.el (completion-list-mode-finish):
9379 Don't use toggle-read-only. (Since completion-list-mode has
9380 a special mode-class, it wasn't doing anything extra anyway.)
9382 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
9384 Make inlining of other-mode interpreted functions work (bug#11799).
9385 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
9386 (byte-compile): Use it to fix compilation of lexical-binding closures.
9387 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
9388 function, if needed.
9390 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
9392 * help-mode.el (help-make-xrefs): Don't just withstand
9393 cyclic-variable-indirection but any error in documentation-property.
9395 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
9397 * bindings.el (bindings--define-key): New function.
9398 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
9399 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
9400 * bindings.el: Use it to purecopy define-key bindings.
9402 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
9404 * emacs-lisp/cl.el (flet): Mark obsolete.
9405 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
9406 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
9407 * progmodes/js.el (js-c-fill-paragraph):
9408 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
9409 (ebrowse-switch-member-buffer-to-derived-class):
9410 * play/5x5.el (5x5-solver): Use cl-flet.
9412 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
9413 (cl--symbol-function): New macro.
9414 (cl--letf, cl--letf*): Use it.
9416 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
9417 Strip "toggle-" if any.
9419 2012-06-27 Glenn Morris <rgm@gnu.org>
9421 * info.el (Info-default-directory-list): Move here from paths.el.
9422 * paths.el: Remove file, which is now empty.
9423 * loadup.el: No longer load "paths".
9425 * custom.el (custom-initialize-delay): Doc fix.
9427 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
9428 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
9429 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
9430 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
9431 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
9432 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
9433 * eshell/eshell.el (eshell-defgroup): Remove alias.
9435 2012-06-27 Chong Yidong <cyd@gnu.org>
9437 * help.el (help-enable-auto-load): New variable.
9439 * help-fns.el (help-fns--autoloaded-p): New function.
9440 (describe-function-1): Refer to a function as "autoloaded" if it
9441 was autoloaded at any time in the past. Perform autoloading if
9442 help-enable-auto-load is non-nil.
9444 2012-06-26 Eli Zaretskii <eliz@gnu.org>
9446 * makefile.w32-in (compile, compile-always): Depend on
9447 update-subdirs, not on subdirs.el. Otherwise, several different
9448 sub-targets of 'bootstrap' running in parallel could
9449 simultaneously write to subdirs.el, producing a garbled file.
9451 2012-06-26 Sam Steingold <sds@gnu.org>
9453 * files.el (file-name-base): New convenience function.
9454 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
9455 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
9456 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
9457 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
9458 * textmodes/ispell.el, textmodes/reftex-ref.el:
9459 * textmodes/tex-mode.el: Use it.
9460 Did not touch cedet and org because they are maintained elsewhere.
9462 2012-06-26 Martin Rudalics <rudalics@gmx.at>
9464 * calendar/calendar.el (calendar-exit): Don't try to delete or
9465 iconify last frame. See:
9466 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
9468 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
9470 * server.el (server-process-filter): Remember dir in the
9471 process's `server-client-directory' properties.
9473 2012-06-24 Chong Yidong <cyd@gnu.org>
9475 * xml.el (xml-parse-tag): Correctly handle comment embedded in
9478 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
9480 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
9482 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
9484 * help-fns.el (describe-variable): Don't croak when doc is not found.
9485 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
9486 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
9487 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
9488 * emacs-lisp/smie.el (smie-next-sexp): CSE.
9489 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
9491 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
9493 2012-06-23 Chong Yidong <cyd@gnu.org>
9495 * info.el (Info-mouse-follow-link): Accept symbol values of
9496 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
9497 (Info-fontify-node): Use Info-link-keymap for all navigation
9498 buttons, with link-args property to perform the desired action.
9499 (Info-link-keymap): Doc fix.
9500 (Info-next-link-keymap, Info-prev-link-keymap)
9501 (Info-up-link-keymap): Delete now-unused keymaps.
9503 2012-06-23 Chong Yidong <cyd@gnu.org>
9505 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
9507 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
9510 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
9512 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
9514 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
9517 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
9518 the requote function doesn't work properly (bug#11714).
9520 2012-06-23 Glenn Morris <rgm@gnu.org>
9522 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
9524 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
9526 Further GV/CL cleanups.
9527 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
9529 (gv--defun-declaration): New function.
9530 (defun-declarations-alist): Use it.
9531 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
9532 (gv-place): Autoload.
9533 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
9534 original definition of dotimes and dolist.
9535 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
9536 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
9537 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
9538 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
9539 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
9540 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
9541 to the function's definition.
9542 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
9546 * env.el: Don't use CL.
9548 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
9550 Support higher-resolution time stamps (Bug#9000).
9552 * calendar/time-date.el (with-decoded-time-value): New arg
9553 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
9554 (encode-time-value): New optional arg PICO. New type 3.
9555 (time-to-seconds) [!float-time]: Support the new picoseconds
9556 component if it's used.
9557 (seconds-to-time, time-subtract, time-add):
9558 Support ps-resolution time stamps as well.
9560 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
9561 (timerp): Timer vectors now have length 9, not 8.
9562 (timer--time): Support new-style (4-part) time stamps.
9563 (timer-next-integral-multiple-of-time): Time stamps now have
9564 picosecond resolution, so take a bit more care about rounding.
9565 (timer-relative-time, timer-inc-time): New optional arg psecs.
9566 (timer-set-time-with-usecs): Set psecs to 0.
9567 (timer--activate): Check psecs component, too.
9569 * proced.el (proced-time-lessp): Support ps-resolution stamps.
9571 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
9573 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
9574 Move the non-essential binding to the post/pre-command-hook where it is
9575 more obviously correct.
9577 * subr.el (read-passwd): Don't use a history at all.
9578 * savehist.el (savehist-save): Remove password saved accidentally
9579 because of the above bug.
9581 2012-06-22 Bastien Guerry <bzg@gnu.org>
9583 * files.el (toggle-read-only): Display a message telling whether
9584 the buffer is read-only or not (bug#11726).
9586 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
9588 * emacs-lisp/gv.el: New file.
9589 * subr.el (push, pop): Extend to generalized variables.
9590 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
9591 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
9592 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
9593 gv-define-simple-setter, and gv-define-expander.
9594 Remove setf-methods defined in gv. Rename cl-setf -> setf.
9595 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
9596 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
9597 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
9598 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
9600 (cl-defstruct): Don't define setf-method any more.
9601 * emacs-lisp/cl.el (flet): Don't autoload.
9602 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
9603 (define-setf-expander, defsetf, define-modify-macro)
9604 (cl-struct-setf-expander): Move from cl-lib.el.
9605 * emacs-lisp/syntax.el:
9606 * emacs-lisp/ewoc.el:
9607 * emacs-lisp/smie.el:
9608 * emacs-lisp/cconv.el:
9609 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
9610 (timer--time): Use gv-define-simple-setter.
9611 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
9612 to avoid coding-system problems in subr.el. Adjust all users.
9613 (macroexp--maxsize, macroexp-small-p): New functions.
9614 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
9615 * scroll-bar.el (scroll-bar-mode):
9616 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
9617 (normal-erase-is-backspace-mode): Don't use the `eq' place.
9618 * winner.el (winner-configuration, winner-make-point-alist)
9619 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
9620 * files.el (locate-file-completion-table): Avoid list*.
9622 2012-06-22 Chong Yidong <cyd@gnu.org>
9624 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
9625 (dired-create-files): Doc fix (Bug#11329).
9626 (dired-do-copy): Doc fix (Bug#11334).
9627 (dired-mark-read-string): Doc fix (Bug#11553).
9629 * dired.el (dired-recursive-copies, dired-recursive-deletes):
9630 Doc fix (Bug#11326).
9631 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
9632 (dired-dwim-target): Doc fix.
9634 * wdired.el (wdired-mode): Doc fix.
9636 2012-06-22 Glenn Morris <rgm@gnu.org>
9638 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
9639 (pcmpl-rpm-cache-stamp-file): New constant.
9640 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
9641 (pcmpl-rpm-packages): Optionally cache list of packages.
9643 * pcmpl-rpm.el (pcmpl-rpm): New group.
9644 (pcmpl-rpm-query-options): New option.
9645 (pcmpl-rpm-packages): No need to inline it.
9646 Use pcmpl-rpm-query-options.
9648 * calendar/calendar.el (calendar-in-read-only-buffer):
9649 Avoid some needless mode changes.
9651 2012-06-21 Chong Yidong <cyd@gnu.org>
9653 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
9654 (desktop-path): Remove . from the default value (Bug#10977).
9655 (desktop-read): Use user-emacs-directory if desktop-path is nil.
9657 2012-06-20 Chong Yidong <cyd@gnu.org>
9659 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
9661 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
9663 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
9666 2012-06-20 Chong Yidong <cyd@gnu.org>
9668 * term.el (term-window-width): Handle the case of a missing right
9670 (term-check-size): Use window-text-height (Bug#5445).
9671 (term-mode): Use define-derived-mode. Minor cleanups.
9672 Set font-lock-defaults (Bug#7692).
9673 (term-move-columns, term-insert-char, term-emulate-terminal)
9674 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
9676 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
9678 * net/ange-ftp.el (ange-ftp-get-passwd):
9679 Bind `enable-recursive-minibuffers'.
9680 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
9682 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
9684 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
9686 2012-06-19 Glenn Morris <rgm@gnu.org>
9688 * progmodes/python.el (python-mode): Derive from prog-mode.
9690 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
9692 * emulation/edt.el (edt-default-menu-bar-update-buffers)
9693 (edt-user-menu-bar-update-buffers): New functions.
9694 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
9696 2012-06-19 Chong Yidong <cyd@gnu.org>
9698 * subr.el (with-selected-window): Preserve the selected window's
9699 terminal's top-frame (Bug#4702).
9701 * window.el (save-selected-window): Likewise.
9703 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9705 * progmodes/python.el (python-rx-constituents): Move backquote.
9706 (python-skeleton-define, python-define-auxiliary-skeleton):
9709 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
9711 * minibuffer.el (read-file-name-default): Revert the patch from
9714 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9716 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
9717 (pcase--u1, pcase--q1): Don't use apply-partially.
9719 2012-06-18 Glenn Morris <rgm@gnu.org>
9721 * progmodes/python.el (python-proc, python-buffer)
9722 (python-send-receive, python-send-string): Fix obsolete versions.
9724 2012-06-18 Martin Rudalics <rudalics@gmx.at>
9726 * window.el (special-display-p): Completely remove stringp
9727 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
9729 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
9731 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
9733 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
9735 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
9736 * net/tramp-sh.el (tramp-maybe-open-connection):
9737 Throw if `non-essential' is non-nil.
9739 2012-06-17 Martin Rudalics <rudalics@gmx.at>
9741 * window.el (special-display-p): Signal an error if BUFFER-NAME
9742 is not a string (Bug#11713).
9744 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
9746 * progmodes/python.el (python-info-beginning-of-backslash):
9747 Rename from python-info-beginning-of-backlash, as a spelling fix.
9749 2012-06-17 Chong Yidong <cyd@gnu.org>
9751 * term.el (term-emulate-terminal): If term-check-size is called,
9752 move point to the process mark without resetting point (Bug#4635).
9754 2012-06-17 Glenn Morris <rgm@gnu.org>
9756 * international/mule-cmds.el (mule-menu-keymap)
9757 (set-language-environment, set-locale-environment): Doc tweaks.
9759 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
9761 * cus-face.el (custom-face-attributes): Add wave-style underline
9763 * faces.el (set-face-attribute): Update docstring to describe
9764 wave-style underline attribute.
9766 2012-06-16 Chong Yidong <cyd@gnu.org>
9768 * term/xterm.el (terminal-init-xterm): Discard input before
9769 querying background mode (Bug#10959).
9771 2012-06-16 Stefan Merten <smerten@oekonux.de>
9773 * textmodes/rst.el: Added and corrected some comments.
9774 (rst-re-alist-def): Improve symbol syntax.
9775 (rst-mode-syntax-table): Correct syntax entries.
9776 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
9777 (rst-official-version, rst-official-cvs-rev): Update version
9780 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
9782 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
9783 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
9785 2012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
9787 * progmodes/python.el: New python.el merge.
9788 (python-guess-indent): Obsolete var.
9789 (python-indent-guess-indent-offset): New defcustom.
9790 (python-indent): Obsolete var.
9791 (python-indent-offset): New defcustom.
9792 (python-python-command, python-jython-command): Delete var.
9793 (python-shell-interpreter): New defcustom.
9794 (python-pdbtrack-do-tracking-p): Delete var.
9795 (python-pdbtrack-activate): New defcustom.
9796 (python-use-skeletons): Obsolete var.
9797 (python-skeleton-autoinsert): New defcustom.
9798 (inferior-python-filter-regexp, python-continuation-offset)
9799 (python-honour-comment-indentation, python-indent-string-contents)
9800 (python-jython-packages, python-mode-hook)
9801 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
9802 (python-shell-prompt-alist)
9803 (python-source-modes): Delete defcustoms.
9804 (python-check-buffer-name, python-eldoc-setup-code)
9805 (python-eldoc-string-code, python-ffap-setup-code)
9806 (python-ffap-string-code, python-fill-comment-function)
9807 (python-fill-decorator-function, python-fill-paren-function)
9808 (python-fill-string-function, python-imenu-include-defun-type)
9809 (python-imenu-make-tree, python-imenu-subtree-root-label)
9810 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
9811 (python-shell-compilation-regexp-alist)
9812 (python-shell-completion-module-string-code)
9813 (python-shell-completion-pdb-string-code)
9814 (python-shell-completion-setup-code)
9815 (python-shell-completion-string-code)
9816 (python-shell-enable-font-lock, python-shell-exec-path)
9817 (python-shell-extra-pythonpaths)
9818 (python-shell-internal-buffer-name, python-shell-interpreter-args)
9819 (python-shell-process-environment)
9820 (python-shell-prompt-block-regexp)
9821 (python-shell-prompt-output-regexp)
9822 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
9823 (python-shell-send-setup-max-wait, python-shell-setup-codes)
9824 (python-shell-virtualenv-path): New defcustoms.
9825 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
9826 (inferior-python-mode-syntax-table, python--prompt-regexp)
9827 (python-buffer, python-command python-python-command)
9828 (python-default-template, python-imports, python-indent-index)
9829 (python-indent-list, python-indent-list-length)
9830 (python-mode-running, python-pdbtrack-is-tracking-p)
9831 (python-preoutput-continuation, python-preoutput-leftover)
9832 (python-preoutput-result, python-preoutput-skip-next-prompt)
9833 (python-prev-dir/file, python-recursing)
9834 (python-saved-check-command, python-version-checked)
9835 (python-which-func-length-limit)
9836 (view-return-to-alist): Delete vars.
9837 (python-check-custom-command, python-dotty-syntax-table)
9838 (python-imenu-index-alist, python-indent-current-level)
9839 (python-indent-dedenters, python-indent-levels)
9840 (python-nav-beginning-of-defun-regexp)
9841 (python-nav-list-defun-positions-cache)
9842 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
9843 (python-shell-internal-buffer)
9844 (python-skeleton-available): New vars.
9845 (def-python-skeleton): Delete macro.
9846 (python-skeleton-define): New macro.
9847 (python-define-auxiliary-skeleton, python-rx): New macros.
9848 (python-insert-class): Delete command.
9849 (python-skeleton-class): New command.
9850 (python-insert-def): Delete command.
9851 (python-skeleton-def): New command.
9852 (python-insert-for): Delete command.
9853 (python-skeleton-for): New command.
9854 (python-insert-if): Delete command.
9855 (python-skeleton-if): New command.
9856 (python-insert-try/except, python-insert-try/finally): Delete commands.
9857 (python-skeleton-try): New command.
9858 (python-insert-while): Delete command.
9859 (python-skeleton-while): New command.
9860 (python-backspace): Delete command.
9861 (python-indent-dedent-line-backspace): New command.
9862 (python-electric-colon): Delete command.
9863 (python-indent-electric-colon): New command.
9864 (python-guess-indent): Delete command.
9865 (python-indent-guess-indent-offset): New command.
9866 (python-shift-left): Delete command.
9867 (python-indent-shift-left): New command.
9868 (python-shift-right): Delete command.
9869 (python-indent-shift-right): New command.
9870 (python-find-function): Delete command.
9871 (python-nav-jump-to-defun): New command.
9872 (python-next-statement): Delete command.
9873 (python-nav-forward-sentence): New command.
9874 (python-previous-statement): Delete command.
9875 (python-nav-backward-sentence): New command.
9876 (python-fill-paragraph): Delete command.
9877 (python-fill-paragraph-function): New command.
9878 (python-send-buffer): Delete command.
9879 (python-shell-send-buffer): New command.
9880 (python-send-defun): Delete command.
9881 (python-shell-send-defun): New command.
9882 (python-send-region, python-send-region-and-go): Delete commands.
9883 (python-shell-send-region)
9884 (python-shell-switch-to-shell): New commands.
9885 (python-send-string): Delete command.
9886 (python-shell-send-string): New command.
9887 (python-switch-to-python): Delete command.
9888 (python-shell-switch-to-shell): New command.
9889 (python-describe-symbol): Delete command.
9890 (python-eldoc-at-point): New command.
9891 (python--set-prompt-regexp, python-args-to-list)
9892 (python-after-info-look, python-check-version)
9893 (python-check-comint-prompt, python-find-imports)
9894 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
9895 (python-unload-function, python-expand-template)
9896 (python-maybe-jython, python-preoutput-filter)
9897 (python-pdbtrack-get-source-buffer)
9898 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
9899 (python-pdbtrack-toggle-stack-tracking)
9900 (python-pdbtrack-track-stack-file, python-initial-text)
9901 (python-first-word, python-comment-line-p, python-send-command)
9902 (python-setup-brm, python-sentinel, python-set-proc)
9903 (python-skip-out, python-input-filter, python-outdent-p)
9904 (python-outline-level, python-backslash-continuation-line-p)
9905 (python-end-of-block, python-end-of-statement, python-mark-block)
9906 (python-beginning-of-block, python-beginning-of-statement)
9907 (python-blank-line-p, python-beginning-of-string)
9908 (python-open-block-statement-p): Delete functions.
9909 (python-indent-line, python-indent-line-1): Delete functions.
9910 (python-indent-line): New function.
9911 (python-indentation-levels): Delete function.
9912 (python-indent-calculate-levels): New function.
9913 (python-proc): Delete function.
9914 (python-shell-get-process): New function.
9915 (python-send-receive): Delete function.
9916 (python-shell-send-string-no-output): New function.
9917 (python-module-path): Delete function.
9918 (python-ffap-module-path): New function.
9919 (python-completion-at-point)
9920 (python-symbol-completions): Delete functions.
9921 (python-completion-complete-at-point): New function.
9922 (python-load-file): Delete function.
9923 (python-shell-send-file): New function.
9924 (python-calculate-indentation): Delete function.
9925 (python-indent-calculate-indentation): New function.
9926 (python-skip-comments/blanks): Delete function.
9927 (python-util-forward-comment): New function.
9928 (python-continuation-line-p): Delete function.
9929 (python-info-continuation-line-p): New function.
9930 (python-which-func, python-current-defun): Delete function.
9931 (python-info-current-defun): New function.
9932 (python-beginning-of-defun): Delete function.
9933 (python-nav-beginning-of-defun): New function.
9934 (python-close-block-statement-p)
9935 (python-block-end-p): Delete function.
9936 (python-info-closing-block): New function.
9937 (python-comint-output-filter-function)
9938 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
9939 (python-fill-comment, python-fill-decorator, python-fill-paren)
9940 (python-fill-string, python-imenu-make-element-tree)
9941 (python-imenu-make-tree, python-imenu-tree-assoc)
9942 (python-indent-context, python-indent-dedent-line)
9943 (python-indent-line-function)
9944 (python-indent-post-self-insert-function)
9945 (python-indent-toggle-levels)
9946 (python-info-assignment-continuation-line-p)
9947 (python-info-beginning-of-backlash)
9948 (python-info-block-continuation-line-p)
9949 (python-info-closing-block-message)
9950 (python-info-line-ends-backslash-p)
9951 (python-info-looking-at-beginning-of-defun)
9952 (python-info-ppss-context, python-info-ppss-context-type)
9953 (python-nav-list-defun-positions, python-nav-read-defun)
9954 (python-nav-sentence-end, python-nav-sentence-start)
9955 (python-pdbtrack-comint-output-filter-function)
9956 (python-pdbtrack-set-tracked-buffer)
9957 (python-shell-calculate-exec-path)
9958 (python-shell-calculate-process-environment)
9959 (python-shell-completion--do-completion-at-point)
9960 (python-shell-completion--get-completions)
9961 (python-shell-completion-complete-at-point)
9962 (python-shell-completion-complete-or-indent)
9963 (python-shell-get-or-create-process)
9964 (python-shell-get-process-name)
9965 (python-shell-internal-get-or-create-process)
9966 (python-shell-internal-get-process-name)
9967 (python-shell-internal-send-string, python-shell-make-comint)
9968 (python-shell-parse-command, python-shell-send-setup-code)
9969 (python-skeleton-add-menu-items)
9970 (python-util-clone-local-variables, python-util-position)
9971 (run-python-internal, python-indentation-levels)
9972 (python-nav-beginning-of-defun)
9973 (python-completion-complete-at-point): New functions.
9974 (run-python): Change arguments. New API requirements.
9976 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
9978 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
9981 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
9982 (macroexp--expand-all): Use it.
9984 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
9985 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
9986 Use `cl-function' instead.
9988 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
9990 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
9991 Suggested by Stefan Monnier while discussing bug#11657.
9993 2012-06-14 Sam Steingold <sds@gnu.org>
9995 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
9997 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
9999 * play/doctor.el (doctor-doc): Remove parameter and use
10000 doctor-sent instead of sent.
10001 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
10003 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
10005 * files.el: Require cl-lib.
10006 (file-name-non-special): Replace case -> cl-case.
10008 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
10010 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
10011 mapping from #' to function*.
10013 2012-06-13 Chong Yidong <cyd@gnu.org>
10015 * mouse.el (mouse-drag-track): Do not set the mark if the user
10016 releases the mouse without selecting anything (Bug#11588).
10018 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
10020 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
10021 as well (bug#11646).
10023 * loadup.el: Count byte-code functions as well.
10025 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
10026 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
10028 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
10029 (bug#11649). Add cl-defun and cl-defmacro.
10031 2012-06-13 Drew Adams <drew.adams@oracle.com>
10033 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
10036 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
10038 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
10039 Otherwise, it blocks in batch mode.
10041 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
10043 * help-mode.el (bookmark-make-record-default): Declare.
10045 2012-06-13 Chong Yidong <cyd@gnu.org>
10047 * emacs-lisp/package.el (list-packages): Compute a list of
10048 packages that are newly-available since the last list-packages
10050 (package-menu--new-package-list): New var.
10051 (package-menu--generate, package-menu--print-info)
10052 (package-menu--status-predicate, package-menu-mark-install):
10053 Handle new status label "new".
10055 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
10057 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
10058 conversion to backquotes.
10060 2012-06-12 Chong Yidong <cyd@gnu.org>
10062 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
10063 Rename from gud-inhibit-global-bindings.
10065 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
10067 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
10068 hook from nxml-glyph-set-hook.
10070 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
10073 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
10075 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
10076 Convert to defcustom.
10078 2012-06-12 Drew Adams <drew.adams@oracle.com>
10080 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
10082 (help-mode): Use them.
10084 2012-06-11 Glenn Morris <rgm@gnu.org>
10086 * progmodes/fortran.el (fortran-font-lock-keywords-3):
10087 Use preprocessor face for directives.
10088 (fortran-directive-re): Doc fix.
10090 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
10092 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
10093 conversion to backquotes (bug#11652).
10095 Fix compiler-expansion of CL's cXXr functions (bug#11673).
10096 * emacs-lisp/cl-lib.el (cl--defalias): New function.
10097 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
10098 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
10099 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
10100 (cl-ninth, cl-tenth): Mark them as inlinable.
10101 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
10102 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
10103 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
10104 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
10105 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
10106 (cl-list*, cl-adjoin): Don't put an autoload manually.
10107 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
10108 (cl--compiler-macro-list*): Add autoload cookie.
10109 (cl--compiler-macro-cXXr): New function.
10111 * help-fns.el (help-fns--compiler-macro): New function extracted from
10112 describe-function-1; follow aliases and use `compiler-macro' property.
10113 (describe-function-1): Use it.
10115 2012-06-11 Chong Yidong <cyd@gnu.org>
10117 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
10118 is uninstalled, if imagemagick is installed.
10120 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
10122 * emacs-lisp/cl-lib.el: Use lexical-binding.
10123 (cl-map-extents, cl-maclisp-member): Remove.
10124 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
10125 (cl--set-substring, cl--block-wrapper, cl--block-throw)
10126 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
10127 * emacs-lisp/cl-extra.el: Use lexical-binding.
10128 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
10129 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
10130 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
10131 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
10132 * emacs-lisp/cl-seq.el: Use lexical-binding.
10133 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
10134 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
10135 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
10136 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
10137 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
10140 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
10142 Sync with Tramp 2.2.6-pre.
10144 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
10145 `print-length' and `print-level' to nil, in order to avoid
10146 truncation. Reported by Christopher Schmidt
10147 <christopher@ristopher.com>.
10149 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
10151 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
10153 (tramp-compat-copy-directory): Add optional argument
10154 COPY-CONTENTS. It is not handled yet.
10156 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
10157 (tramp-ftp-file-name-p): Simplify.
10159 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
10160 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
10163 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
10164 (tramp-methods): Do not use `tramp-password-end-of-line'.
10165 (tramp-completion-function-alist-putty): Handle UNIX case.
10166 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
10167 (tramp-do-file-attributes-with-stat)
10168 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
10169 gid as real numbers. They could run out of integer range on cygwin.
10170 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
10171 (tramp-sh-handle-expand-file-name): Handle hops.
10172 (tramp-open-connection-setup-interactive-shell):
10173 Use `tramp-cleanup'. Move check for busyboxes ...
10174 (tramp-find-shell): ... here. Simplify implementation.
10175 Set "remote-shell" property also for alternative shells.
10176 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
10177 If failing, a regular file would be written otherwise.
10178 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
10179 (tramp-find-inline-encoding): Cache the coding commands in the
10180 process cache. Apply test command on the remote side, if defined.
10181 (tramp-find-inline-compress): Cache the compress commands in the
10183 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
10184 when requested. Handle hops.
10185 (tramp-current-connection): New defvar.
10186 (tramp-maybe-open-connection): Use `tramp-cleanup'.
10187 Throw `suppress', if there was a failed connection shortly before.
10188 Handle user interrupt. (Bug#10187)
10189 (tramp-get-inline-compress, tramp-get-inline-coding):
10190 Read connection properties from the process cache.
10192 * net/tramp-smb.el (tramp-smb-server-version)
10193 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
10195 (tramp-smb-prompt): Extend for powershell prompt.
10196 (tramp-smb-file-name-handler-alist): Add handlers for
10197 `process-file', `shell-command' and `start-file-process'.
10198 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
10199 (tramp-smb-winexe-shell-command-switch): New defcustoms.
10200 (tramp-smb-file-name-p): Simplify.
10201 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
10202 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
10203 (tramp-smb-shell-quote-argument): New defuns.
10204 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
10205 Implement using "tar". By this, time-stamps are preserved.
10206 (tramp-smb-handle-copy-file): Handle also the case of directories.
10207 (tramp-smb-do-file-attributes-with-stat)
10208 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
10209 Use `tramp-get-connection-buffer').
10210 (tramp-smb-handle-rename-file): Use "rename", when source and
10211 target are on the same share.
10212 (tramp-smb-maybe-open-connection): Handle wrong passwords.
10213 Use `tramp-smb-server-version'.
10214 (tramp-smb-wait-for-output): Remove prompt.
10216 * net/tramp.el (top): Require 'cl.
10217 (tramp-methods, tramp-rsh-end-of-line):
10218 Remove `tramp-password-end-of-line' from docstring.
10219 (tramp-save-ad-hoc-proxies): New defcustom.
10220 (tramp-completion-function-alist): Adapt docstring.
10221 (tramp-default-password-end-of-line): Remove defcustom.
10222 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
10223 (tramp-user-regexp, tramp-file-name-regexp-unified)
10224 (tramp-file-name-regexp-url): Extend regexp by hop separator.
10225 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
10226 (tramp-remote-file-name-spec-regexp): New defconst.
10227 (tramp-file-name-structure): Extend structure for hops.
10228 (tramp-get-method-parameter): Move up.
10229 (tramp-file-name-p, tramp-dissect-file-name)
10230 (with-parsed-tramp-file-name): Handle hops.
10231 (tramp-file-name-hop): New defun.
10232 (tramp-make-tramp-file-name): New optional arg HOP.
10233 (tramp-message-show-progress-reporter-message): New defvar.
10234 (tramp-with-progress-reporter): Use it. We cannot use
10235 `tramp-message-show-message' here, because this suppresses also
10237 (tramp-error-with-buffer): Suppress buffer view, if
10238 `tramp-message-show-message' is nil.
10239 Use `tramp-get-connection-buffer'.
10240 (tramp-cleanup): New defun.
10241 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
10242 (tramp-file-name-handler): If `debug-on-error' is set, propagate
10243 an error unchanged.
10244 (tramp-completion-handle-file-name-all-completions): Handle hops.
10245 Fix an error when called from ido.
10246 (tramp-completion-dissect-file-name): Use better local variable
10247 name. Add hop to the vector.
10248 (tramp-handle-insert-file-contents): Use progress-reporter for the
10250 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
10252 (tramp-check-for-regexp): Simplify search.
10253 (tramp-enter-password): Remove it. Move implementation ...
10254 (tramp-action-password): ... here.
10255 (tramp-mode-string-to-int, tramp-local-host-p)
10256 (tramp-make-tramp-temp-file, tramp-read-passwd)
10257 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
10258 Set tramp-autoload cookie.
10260 * net/trampver.el: Update release number.
10262 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10263 Michael Albinus <michael.albinus@gmx.de>
10265 * net/tramp.el (tramp-set-completion-function): Fix docstring.
10266 (tramp-parse-group, tramp-parse-file)
10267 (tramp-parse-shostkeys-sknownhosts): New defuns.
10268 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
10269 (tramp-parse-shosts-group, tramp-parse-sconfig)
10270 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
10271 (tramp-parse-sknownhosts, tramp-parse-hosts)
10272 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
10274 (tramp-parse-passwd-group, tramp-parse-netrc-group)
10275 (tramp-parse-putty-group): Don't narrow.
10276 (tramp-parse-putty): Make a loop.
10277 (tramp-file-name-handler): Catch the `suppress' signal.
10279 2012-06-11 Chong Yidong <cyd@gnu.org>
10281 * image.el (imagemagick-register-types): Put the ImageMagick entry
10282 at the end of image-type-file-name-regexps.
10284 2012-06-11 Johan Bockgård <bojohan@gnu.org>
10286 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
10287 (pcase, pcase-let*, pcase-dolist): Use them.
10289 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
10291 * emacs-lisp/pcase.el (pcase--let*): New function.
10292 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
10293 (pcase--expand): Use macroexp-let².
10295 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
10297 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
10298 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
10299 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
10300 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
10301 * emacs-lisp/derived.el: Use pcase instead of `cl'.
10302 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
10304 2012-06-10 Glenn Morris <rgm@gnu.org>
10306 * mail/rmail.el (rmail-yank-current-message): Leave point at
10307 correct position. (Bug#11660)
10309 2012-06-10 Chong Yidong <cyd@gnu.org>
10311 * allout-widgets.el: Fix code header.
10313 2012-06-10 Chong Yidong <cyd@gnu.org>
10315 * cus-edit.el (customize-changed-options-previous-release):
10318 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
10320 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
10322 2012-06-09 Chong Yidong <cyd@gnu.org>
10324 * ebuff-menu.el (electric-buffer-list): Preserve header line.
10326 2012-06-09 Martin Rudalics <rudalics@gmx.at>
10328 * window.el (special-display-popup-frame): Don't use
10329 window--display-buffer (Bug#11651).
10331 2012-06-09 Eli Zaretskii <eliz@gnu.org>
10333 Fix parallel builds: make sure loaddefs.el is not being written
10334 while Lisp files are compiled.
10335 (compile): Don't depend on 'mh-autoloads'.
10336 (compile-CMD, compile-SH): Depend on 'autoloads'.
10337 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
10339 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
10341 2012-06-09 Chong Yidong <cyd@gnu.org>
10343 * face-remap.el (face-remap-add-relative, face-remap-set-base)
10344 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
10345 Doc fixes (Bug#11225).
10347 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
10349 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
10350 a function if there's a clear indication that it has a compiler-macro.
10351 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
10352 (macro-declarations-alist): Add arglist to declaration functions.
10353 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
10354 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
10355 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
10356 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
10357 Also add autoload to find the compiler macro.
10358 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
10359 (cl--compiler-macro-member, cl--compiler-macro-assoc)
10360 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
10361 (cl--compiler-macro-get): New functions, replacing calls to
10362 cl-define-compiler-macro.
10363 (cl-typep) [compiler-macro]: Use macroexp-let².
10365 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
10367 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
10368 string properly, fixes Bug#11473.
10370 2012-06-08 Chong Yidong <cyd@gnu.org>
10372 * faces.el (set-face-attribute): Doc fix.
10373 (modify-face): Don't use :bold and :italic.
10374 (error, warning, success): Tweak definitions.
10376 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
10377 (custom-modified, custom-set, custom-changed, custom-themed)
10378 (custom-saved, custom-button, custom-button-mouse)
10379 (custom-button-pressed, custom-state, custom-comment-tag)
10380 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
10381 (custom-group-subtitle): Use new-style face specs.
10382 (custom-invalid-face, custom-rogue-face, custom-modified-face)
10383 (custom-set-face, custom-changed-face, custom-saved-face)
10384 (custom-button-face, custom-button-pressed-face)
10385 (custom-documentation-face, custom-state-face)
10386 (custom-comment-face, custom-comment-tag-face)
10387 (custom-variable-tag-face, custom-variable-button-face)
10388 (custom-face-tag-face, custom-group-tag-face-1)
10389 (custom-group-tag-face): Remove obsolete face alias.
10391 * epa.el (epa-validity-high, epa-validity-medium)
10392 (epa-validity-low, epa-mark, epa-field-name, epa-string)
10393 (epa-field-name, epa-field-body):
10394 * font-lock.el (font-lock-comment-face, font-lock-string-face)
10395 (font-lock-keyword-face, font-lock-builtin-face)
10396 (font-lock-function-name-face, font-lock-variable-name-face)
10397 (font-lock-type-face, font-lock-constant-face):
10398 * ido.el (ido-first-match, ido-only-match, ido-subdir)
10399 (ido-virtual, ido-indicator, ido-incomplete-regexp):
10400 * speedbar.el (speedbar-button-face, speedbar-file-face)
10401 (speedbar-directory-face, speedbar-tag-face)
10402 (speedbar-selected-face, speedbar-highlight-face)
10403 (speedbar-separator-face):
10404 * whitespace.el (whitespace-newline, whitespace-space)
10405 (whitespace-hspace, whitespace-tab, whitespace-trailing)
10406 (whitespace-line, whitespace-space-before-tab)
10407 (whitespace-space-after-tab, whitespace-indentation)
10408 (whitespace-empty):
10409 * emulation/cua-base.el (cua-global-mark):
10410 * eshell/em-prompt.el (eshell-prompt):
10411 * net/newst-plainview.el (newsticker-new-item-face)
10412 (newsticker-old-item-face, newsticker-immortal-item-face)
10413 (newsticker-obsolete-item-face, newsticker-date-face)
10414 (newsticker-statistics-face, newsticker-default-face):
10415 * net/newst-reader.el (newsticker-feed-face)
10416 (newsticker-extra-face, newsticker-enclosure-face):
10417 * net/newst-treeview.el (newsticker-treeview-face)
10418 (newsticker-treeview-new-face, newsticker-treeview-old-face)
10419 (newsticker-treeview-immortal-face)
10420 (newsticker-treeview-obsolete-face)
10421 (newsticker-treeview-selection-face):
10422 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
10423 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
10424 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
10425 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
10426 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
10427 (nxml-outline-active-indicator, nxml-outline-ellipsis):
10428 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
10430 * progmodes/vera-mode.el (vera-font-lock-number)
10431 (vera-font-lock-function, vera-font-lock-interface):
10432 * textmodes/table.el (table-cell): Use new-style face specs, and
10433 don't use the old :bold and :italic attributes.
10435 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
10436 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
10437 (ebrowse-member-class, ebrowse-progress): Likewise.
10438 (ebrowse-tree-mark-face, ebrowse-root-class-face)
10439 (ebrowse-file-name-face, ebrowse-default-face)
10440 (ebrowse-member-attribute-face, ebrowse-member-class-face)
10441 (ebrowse-progress-face): Remove obsolete faces.
10443 * progmodes/flymake.el (flymake-errline, flymake-warnline):
10444 Inherit from error and warning faces respectively.
10446 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
10448 (flyspell-incorrect-face, flyspell-duplicate-face):
10449 Remove obsolete aliases.
10451 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
10453 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
10456 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
10458 * startup.el (argv, argi): Make lexically scoped.
10459 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
10460 * emacs-lisp/cl-macs.el: Use lexical-binding.
10461 Rename cl-bind-* to cl--bind-*.
10462 * files.el: Don't require `cl' since it doesn't use it.
10463 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
10465 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
10467 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
10468 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
10469 instead of calling external sort utility.
10470 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
10472 2012-06-08 Eli Zaretskii <eliz@gnu.org>
10474 * descr-text.el (describe-char): Mention how to insert the
10475 character, if the current input method doesn't support it.
10476 See the discussion in this thread for the details:
10477 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
10479 2012-06-08 Sam Steingold <sds@gnu.org>
10481 * bindings.el (global-map): Bind XF86Forward to next-buffer and
10482 XF86Back to previous-buffer.
10483 (minibuffer-local-map): Bind them to next-history-element and
10484 previous-history-element respectively.
10485 * help-mode.el (help-mode-map): Bind them to help-go-forward and
10486 help-go-back respectively.
10487 * info.el (Info-mode-map): Bind them to Info-history-forward and
10488 Info-history-back respectively.
10489 These are the keys next to Up on the ThinkPad keyboard.
10491 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
10493 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
10494 * emacs-lisp/cl-macs.el: Provide itself.
10495 (cl--labels-convert-cache): New var.
10496 (cl--labels-convert): New function.
10497 (cl-flet, cl-labels): New implementation with new semantics, relying on
10499 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
10500 (cl-closure-vars, cl--function-convert-cache)
10501 (cl--function-convert): Move from cl-macs.el.
10502 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
10503 rename by removing the "cl-" prefix.
10504 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
10506 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
10508 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
10509 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
10510 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
10511 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
10512 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
10513 (cl-hash-table-count): Add old compatibility aliases.
10515 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
10516 Use macroexpand-all-environment instead.
10517 (cl--old-macroexpand): New var.
10518 (cl--sm-macroexpand): New function.
10519 (cl-symbol-macrolet): Use it during macro expansion.
10520 (cl--function-convert-cache): New var.
10521 (cl--function-convert): New function, extracted from
10522 cl-macroexpand-all.
10523 (cl-lexical-let): Use it.
10525 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
10526 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
10527 (cl-member): Remove old alias.
10529 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
10530 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
10531 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
10532 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
10533 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
10534 (cl-macroexpand-cmacs): Remove var.
10535 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
10536 Use macroexpand-all instead.
10538 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
10540 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
10541 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
10542 (macroexp-copyable-p): New functions and macros.
10543 * emacs-lisp/edebug.el (edebug-unwrap):
10544 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
10545 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
10546 (pcase--let*): Remove.
10547 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
10548 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
10549 macroexp-const-p instead.
10550 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
10552 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
10553 instead of "cl-" for internal definitions. Use macroexp-const-p.
10554 (cl-old-bc-file-form): Remove var.
10555 (cl-const-exprs-p): Remove fun.
10556 (cl-labels, cl-macrolet): Use backquote.
10557 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
10558 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
10559 (cl-define-setf-expander): Rename from cl-define-setf-method.
10560 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
10562 * international/mule-cmds.el: Don't require CL.
10563 (view-hello-file): Don't use `letf'.
10565 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
10567 * tmm.el (tmm-prompt): Use string-prefix-p.
10568 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
10569 (tmm-add-prompt): Use minibuffer-completion-help.
10570 (tmm-delete-map): Remove.
10572 * subr.el (kbd): Make it its own function.
10574 2012-06-07 Stefan Merten <smerten@oekonux.de>
10576 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
10577 Silence compiler warnings. Fix versions.
10578 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
10579 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
10580 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
10581 (rst-package-emacs-version-alist): Correct Emacs version to
10582 represent major merge with upstream.
10583 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
10585 2012-06-06 Glenn Morris <rgm@gnu.org>
10587 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
10588 Only print environment variables if set.
10590 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
10592 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
10593 (macroexp--cons): Rename from maybe-cons.
10594 (macroexp--accumulate): Rename from macroexp-accumulate.
10595 (macroexp--all-forms): Rename from macroexpand-all-forms.
10596 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
10597 (macroexp--expand-all): Rename from macroexpand-all-1.
10599 2012-06-06 Sam Steingold <sds@gnu.org>
10601 * calendar/calendar.el (calendar-in-read-only-buffer):
10602 Call `special-mode' to enable the standard read-only keybindings.
10604 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
10606 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
10607 with "loading" messages (bug#11635).
10609 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
10611 * files.el (enable-remote-dir-locals): New option.
10612 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
10614 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
10615 Ensure, that the temp directory is local.
10617 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
10618 `temporary-file-directory'.
10620 * progmodes/python.el (python-send-region): Ensure, that the
10621 temporary file is created also in the remote case.
10623 2012-06-06 Glenn Morris <rgm@gnu.org>
10625 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
10626 (vc-rcs-update-changelog): Use it.
10628 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
10630 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
10631 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
10632 (vc-sccs-diff): Replace use of the external vcdiff script.
10634 2012-06-05 Glenn Morris <rgm@gnu.org>
10636 * ledit.el: Move to obsolete/.
10638 2012-06-05 Sam Steingold <sds@gnu.org>
10640 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
10643 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10645 * emacs-lisp/cust-print.el: Move to obsolete.
10647 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
10648 compiler-macro expansion.
10650 Add native compiler-macro support.
10651 * emacs-lisp/macroexp.el (macroexpand-all-1):
10652 Support compiler-macros directly. Properly follow aliases and apply
10653 the compiler macros more thoroughly.
10654 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
10655 macroexpand now properly follows aliases.
10656 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
10657 (cl-compiler-macroexpand): Use new prop.
10658 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
10660 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
10662 2012-06-05 Martin Rudalics <rudalics@gmx.at>
10664 * window.el (get-lru-window, get-mru-window, get-largest-window):
10665 New argument NOT-SELECTED to avoid picking the selected window.
10666 (window--display-buffer-1, window--display-buffer-2): Replace by
10667 new function window--display-buffer
10668 (display-buffer-same-window, display-buffer-reuse-window)
10669 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
10670 Use window--display-buffer.
10671 (display-buffer-use-some-window): Remove temporary dedication
10672 hack by calling get-lru-window and get-largest-window with
10673 NOT-SELECTED argument non-nil. Call window--display-buffer.
10675 2012-06-05 Glenn Morris <rgm@gnu.org>
10677 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
10678 Replace external vcdiff script.
10680 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
10682 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
10684 2012-06-04 Chong Yidong <cyd@gnu.org>
10686 * image.el (imagemagick-types-inhibit): Revert last change.
10688 (imagemagick-enabled-types): Remove CIN and EPS*.
10690 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
10692 * emacs-lisp/cl-lib.el: Rename from cl.el.
10693 * emacs-lisp/cl.el: New compatibility file.
10694 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
10695 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
10696 to obey the "cl-" prefix.
10697 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
10699 2012-06-03 Glenn Morris <rgm@gnu.org>
10701 * emacs-lisp/authors.el (authors-aliases): Addition.
10703 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
10706 2012-06-03 Stefan Merten <smerten@oekonux.de>
10708 * textmodes/rst.el: Add comments.
10709 (rst-transition, rst-adornment): New faces.
10710 (rst-adornment-faces-alist): Make default safe to reevaluate.
10712 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
10713 Improve customization tags.
10714 (rst-define-level-faces): Clarify meaning.
10716 2012-06-03 Chong Yidong <cyd@gnu.org>
10718 * progmodes/compile.el (compilation-mode-line-fail)
10719 (compilation-mode-line-run, compilation-mode-line-exit):
10721 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
10723 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
10725 * progmodes/which-func.el (which-func-update-ediff-windows):
10726 New function. Use it in ediff-select-hook (Bug#11478).
10728 2012-06-03 Chong Yidong <cyd@gnu.org>
10730 * bindings.el: Remove explicit help text from format-mode-line.
10731 It is now supplied by mode-line-default-help-echo.
10732 (mode-line-front-space, mode-line-end-spaces)
10733 (mode-line-misc-info): New variables.
10734 (mode-line-modes, mode-line-position): Move the default value to
10735 the variable definition.
10736 (mode-line-default-help-echo): New defcustom.
10737 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
10738 (mode-line-modified-help-echo): New functions.
10739 (mode-line-mule-info, mode-line-modified): Use them.
10740 (mode-line-eol-desc, propertized-buffer-identification):
10741 Consistency fixes for help text.
10742 (mode-line-coding-system-map): Allow using mouse-3 to invoke
10743 set-buffer-file-coding-system (Bug#289).
10744 (mode-line-mule-info-help-echo): Update help text.
10746 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
10748 * simple.el (execute-extended-command): Set real-this-command
10751 2012-06-02 Chong Yidong <cyd@gnu.org>
10753 Remove incorrect uses of "modeline" in comments, docstrings, and
10754 function/variable names (Bug#10329).
10756 * cus-edit.el (mode-line):
10757 * dframe.el (dframe-mouse-hscroll):
10758 * emacs-lisp/re-builder.el:
10759 * emacs-lisp/easy-mmode.el (define-minor-mode):
10760 * frame.el (set-frame-name):
10761 * help.el (lookup-minor-mode-from-indicator):
10762 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
10763 * progmodes/cc-cmds.el (c-toggle-auto-newline)
10764 (c-toggle-hungry-state):
10765 * progmodes/antlr-mode.el (antlr-language-alist):
10766 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
10767 * progmodes/vhdl-mode.el (vhdl-mode):
10768 * progmodes/which-func.el (which-func, which-func-cleanup-function):
10769 * term/ns-win.el (ns-face-at-pos):
10770 * term/sup-mouse.el (sup-mouse-report):
10771 * textmodes/flyspell.el (flyspell-mode-line-string):
10772 * textmodes/ispell.el (ispell-highlight-face):
10773 * textmodes/reftex-global.el:
10774 * vc/vc-arch.el (vc-arch-mode-line-string):
10775 * vc/vc-cvs.el (vc-cvs-mode-line-string):
10776 * vc/vc-git.el (vc-git-mode-line-string):
10777 * vc/vc-hooks.el (vc-display-status)
10778 (vc-default-mode-line-string):
10779 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
10781 * ansi-color.el (ansi-color-faces-vector): Change default faces.
10783 * dired.el (dired-sort-set-mode-line): Rename from
10784 dired-sort-set-modeline. All callers changed.
10786 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
10787 eshell-status-in-modeline.
10789 * foldout.el (foldout-mode-line-string): Rename from
10790 foldout-modeline-string. All callers changed.
10791 (foldout-update-mode-line): Rename from foldout-update-modeline.
10793 * subr.el (redraw-modeline): Make into obsolete alias.
10795 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
10796 timeclock-modeline-display. Make old name an alias.
10797 (timeclock-update-mode-line): Likewise. All callers changed.
10798 (timeclock-mode-line-display): No need to check before using
10800 (timeclock-relative, timeclock-day-over-hook)
10801 (timeclock-use-elapsed, timeclock-mode-string)
10802 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
10804 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
10805 crisp-mode-modeline-string.
10807 * play/solitaire.el (solitaire-build-mode-line): Rename from
10808 solitaire-build-modeline. All callers changed.
10810 * play/zone.el (zone-hiding-mode-line): Rename from
10811 zone-hiding-modeline. All callers changed.
10812 (zone): Remove unusued `modeline-hidden-level' property.
10814 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
10815 xscheme-modeline-initialize. All callers changed.
10817 * strokes.el (strokes-lighter): Rename from
10818 strokes-modeline-string.
10820 * textmodes/sgml-mode.el (html-face-tag-alist)
10821 (html-tag-face-alist): Use mode-line face instead of obsolete
10824 2012-06-02 Stefan Merten <smerten@oekonux.de>
10826 * textmodes/rst.el: Always require `cl'.
10827 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
10829 2012-06-02 Chong Yidong <cyd@gnu.org>
10831 * image.el (imagemagick-enabled-types): Rename from
10832 imagemagick-types-enable. Add many more types.
10833 (imagemagick-types-inhibit): Change default to nil.
10834 (imagemagick-filter-types): Caller changed.
10836 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
10838 * emacs-lisp/cl-macs.el: Use backquotes.
10839 (cl-transform-function-property): Use eval-and-compile rather than
10841 (defstruct): Use declare-function instead of with-no-warnings.
10843 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
10844 (byte-compile-output-docform): Re-add the print-circle bindings.
10845 (byte-compile-fix-header): Use #$ just because it's shorter.
10846 (byte-compile-output-file-form): Remove defun/defmacro.
10848 2012-06-01 Martin Rudalics <rudalics@gmx.at>
10850 * simple.el (choose-completion): Remove now obsolete binding for
10853 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
10855 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
10856 in order to avoid "Stack overflow in regexp matcher".
10858 2012-05-31 Glenn Morris <rgm@gnu.org>
10860 * image.el: For clarity, call imagemagick-register-types at
10861 top-level, rather than relying on a custom :initialize.
10862 (imagemagick-types-enable): New option. (Bug#11557)
10863 (imagemagick-filter-types): New function. (Bug#7406)
10864 (imagemagick-register-types): Use imagemagick-filter-types.
10865 If disabling support, remove elements altogether rather
10866 than using an impossible regexp.
10867 (imagemagick-types-inhibit): Give it the default init function.
10869 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10871 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
10872 Handle arbitrary file name lengths (Bug#11585).
10874 2012-05-31 Martin Rudalics <rudalics@gmx.at>
10876 * desktop.el (desktop-read): Clear previous and next buffers for
10877 all windows and bury *Messages* buffer (bug#11556).
10879 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10881 Add `declare' for `defun'. Align `defmacro's with it.
10882 * emacs-lisp/easy-mmode.el (define-minor-mode)
10883 (define-globalized-minor-mode): Don't autoload the var definitions.
10884 * emacs-lisp/byte-run.el: Use lexical-binding.
10885 (defun-declarations-alist, macro-declarations-alist): New vars.
10886 (defmacro, defun): Use them.
10887 (make-obsolete, define-obsolete-function-alias)
10888 (make-obsolete-variable, define-obsolete-variable-alias):
10890 (macro-declaration-function): Mark obsolete.
10891 * emacs-lisp/autoload.el: Use lexical-binding.
10892 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
10894 2012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10896 * textmodes/ispell.el (ispell-with-no-warnings):
10898 (ispell-kill-ispell, ispell-change-dictionary):
10899 Use `called-interactively-p' for Emacs instead of obsolete
10902 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10904 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
10905 (macro-declaration-function): Move var from C code.
10906 (macro-declaration-function): Define function with defalias.
10907 * emacs-lisp/macroexp.el (macroexpand-all-1):
10908 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
10909 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
10910 defun/defmacro any more.
10911 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
10912 Provide fallback for unknown arglist.
10913 (byte-compile-arglist-warn): Change calling convention.
10914 (byte-compile-output-file-form): Move print-vars binding.
10915 (byte-compile-output-docform): Simplify accordingly.
10916 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
10917 (byte-compile-defmacro-declaration): Remove.
10918 (byte-compile-file-form-defmumble): Generalize to defalias.
10919 (byte-compile-output-as-comment): Return byte-positions.
10920 Simplify callers accordingly.
10921 (byte-compile-lambda): Use `assert'.
10922 (byte-compile-defun, byte-compile-defmacro): Remove.
10923 (byte-compile-file-form-defalias):
10924 Use byte-compile-file-form-defmumble.
10925 (byte-compile-defalias-warn): Remove.
10927 2012-05-29 Stefan Merten <smerten@oekonux.de>
10929 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
10930 possible. Fix authors. Improve comments. Improve loading of `cl'.
10932 (rst-mode-abbrev-table): Merge definition.
10933 (rst-mode): Make sure `font-lock-defaults' is buffer local.
10934 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
10936 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
10938 * calendar/icalendar.el
10939 (icalendar-export-region): Export UID properly.
10941 2012-05-29 Leo Liu <sdl.web@gmail.com>
10942 * calendar/icalendar.el (icalendar-import-format):
10943 Add `icalendar-import-format-uid' (Bug#11525).
10944 (icalendar-import-format-uid): New.
10945 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
10948 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
10950 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
10951 different alternative patterns.
10952 (pcase-codegen): Be more careful to preserve identity.
10953 (pcase--u1): Don't forget to mark vars as used.
10955 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
10956 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
10957 (byte-compile-from-buffer): ...rather than here.
10959 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
10960 functions from byte-compile-function-environment.
10962 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
10964 * window.el (window-deletable-p): Avoid deleting the root window
10965 of a frame with an active minibuffer.
10967 2012-05-29 Martin Rudalics <rudalics@gmx.at>
10969 * simple.el (choose-completion): Use quit-window (Bug#11567).
10971 2012-05-29 Chong Yidong <cyd@gnu.org>
10973 * whitespace.el (whitespace-cleanup): Fix usage of
10974 whitespace-empty-at-bob-regexp (Bug#11492).
10976 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
10978 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
10979 revert (Bug#11488).
10981 2012-05-29 Juri Linkov <juri@jurta.org>
10983 * isearch.el (isearch-mode-map): Bind `M-s _' to
10984 `isearch-toggle-symbol'. Bind `M-s c' to
10985 `isearch-toggle-case-fold'.
10986 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
10987 (isearch-forward): Add `M-s _' to the docstring.
10988 (isearch-forward-symbol, isearch-toggle-case-fold)
10989 (isearch-symbol-regexp): New functions. (Bug#11381)
10991 2012-05-29 Juri Linkov <juri@jurta.org>
10993 * isearch.el (isearch-word): Add docstring. (Bug#11381)
10994 (isearch-occur, isearch-search-and-update): If `isearch-word' is
10995 a function, call it to get the regexp.
10996 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
10997 property `isearch-message-prefix' instead of the string "word ".
10998 (isearch-search-fun-default): For the case of `isearch-word',
10999 return a lambda that calls re-search-forward/re-search-backward
11000 with a regexp returned by `word-search-regexp' or by the function
11003 2012-05-29 Juri Linkov <juri@jurta.org>
11005 * isearch.el (isearch-search-fun-default): New function.
11006 (isearch-search-fun): Move default part to the new function
11007 `isearch-search-fun-default'.
11008 (isearch-search-fun-function): Set the default value to
11009 `isearch-search-fun-default'. (Bug#11381)
11011 * comint.el (comint-history-isearch-end):
11012 Use `isearch-search-fun-default'.
11013 (comint-history-isearch-search): Use `isearch-search-fun-default'
11014 and remove spacial case for `isearch-word'.
11015 (comint-history-isearch-wrap): Remove spacial case for
11018 * hexl.el (hexl-isearch-search-function):
11019 Use `isearch-search-fun-default'.
11021 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
11022 Use `word-search-regexp' for `isearch-word'.
11024 * misearch.el (multi-isearch-search-fun):
11025 Use `isearch-search-fun-default'.
11027 * simple.el (minibuffer-history-isearch-search):
11028 Use `isearch-search-fun-default' and remove spacial case for
11030 (minibuffer-history-isearch-wrap): Remove spacial case for
11033 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
11034 Remove spacial case for `isearch-word'.
11035 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
11037 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11039 Decrease XEmacs incompatibilities.
11040 * textmodes/flyspell.el (flyspell-check-pre-word-p):
11041 Use `string-match'.
11042 (flyspell-delete-region-overlays): Use alternative definition for
11044 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
11045 (flyspell-word): Use `process-kill-without-query' if XEmacs.
11046 (flyspell-mode-on): Use `interactive-p' if XEmacs.
11047 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
11048 `define-obsolete-face-alias' under XEmacs, but old method.
11050 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
11051 `with-no-warnings' definition or Emacs alias.
11052 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
11053 (ispell-word): Do not use `region-p' if XEmacs.
11055 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11057 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
11058 Check for `ispell-dictionary-base-alist' instead of full
11059 `ispell-dictionary-alist'.
11060 (ispell-init-process): Show spellchecker when starting new Ispell
11063 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
11065 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
11066 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
11068 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
11070 * version.el (motif-version-string, gtk-version-string)
11071 (ns-version-string): Declare.
11073 2012-05-27 Juri Linkov <juri@jurta.org>
11075 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
11076 after the `eval-defun-1' specialcaseing
11077 like in `edebug-eval-defun' (bug#10181).
11079 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
11080 like in `eval-defun-1'.
11082 2012-05-27 Eli Zaretskii <eliz@gnu.org>
11084 * mail/sendmail.el (mail-yank-region):
11085 Recognize rmail-yank-current-message in addition to insert-buffer.
11086 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
11087 a *mail* buffer created through rmail-start-mail with sendmail as
11090 2012-05-27 Chong Yidong <cyd@gnu.org>
11092 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
11093 Default to 256 (Bug#11267).
11095 * help.el (describe-mode): Doc fix.
11097 2012-05-26 Glenn Morris <rgm@gnu.org>
11099 * w32-fns.el (w32-init-info): Remove.
11100 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
11102 * info.el (info-initialize): For self-contained NS builds, put the
11103 included info/ directory at the front. (Bug#2791)
11105 * paths.el (Info-default-directory-list): Make it a defcustom,
11106 mainly so that we can use custom-initialize-delay.
11108 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
11110 * subr.el (buffer-has-markers-at): Mark obsolete.
11112 * subr.el (lambda): Use declare.
11114 * emacs-lisp/lisp-mode.el (lambda):
11115 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
11117 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
11119 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
11121 2012-05-26 Glenn Morris <rgm@gnu.org>
11123 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
11125 2012-05-25 Glenn Morris <rgm@gnu.org>
11127 * paths.el: Remove no-byte-compile.
11128 * loadup.el: No need to load paths.el uncompiled.
11130 * image.el (imagemagick-types-inhibit): Doc fix.
11132 * version.el: Remove no-byte-compile and associated formatting.
11133 * loadup.el: No need to load version.el uncompiled. AFAICS, this
11134 is ancient code from when there was an "inc-vers.el".
11136 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
11138 * progmodes/gdb-mi.el: Minor style changes.
11139 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
11140 Turn into minor modes.
11141 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
11142 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
11143 (gdb-shell): Remove unneeded let-binding.
11144 (gdb-get-many-fields): Eliminate O(n²) behavior.
11146 2012-05-25 Eli Zaretskii <eliz@gnu.org>
11148 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
11149 platforms that don't link in fontset.c.
11151 2012-05-25 Juri Linkov <juri@jurta.org>
11153 Use the same diff color scheme as in modern VCSes (bug#10181).
11155 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
11156 to avoid confusion with `diff-added' that now uses green colors.
11157 (diff-removed): Use shades of red.
11158 (diff-added): Use shades of green.
11159 (diff-changed): Leave just the yellow color.
11160 (diff-use-changed-face): New variable.
11161 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
11162 how to highlight context diff changes.
11163 (diff-refine-change): Use shades of yellow.
11164 (diff-refine-removed): New face that uses shades of red.
11165 (diff-refine-added): New face that uses shades of green.
11166 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
11167 `diff-refine-removed' in the call to `smerge-refine-subst'
11168 depending on the value of `diff-use-changed-face'.
11170 * vc/smerge-mode.el (smerge-mine): Use shades of red.
11171 (smerge-other): Use shades of green.
11172 (smerge-base): Use shades of yellow.
11173 (smerge-refined-change): Empty face.
11174 (smerge-refined-removed): New face that uses shades of red.
11175 (smerge-refined-added): New face that uses shades of green.
11176 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
11177 args `props-r' and `props-a', and use them. Doc fix.
11178 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
11179 on its value use different faces `smerge-refined-change',
11180 `smerge-refined-removed', `smerge-refined-added' in the call to
11181 `smerge-refine-subst'.
11183 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
11184 Add face condition `min-colors 88' with shades of red.
11185 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
11186 `min-colors 88' with shades of green.
11187 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
11188 `min-colors 88' with shades of yellow.
11190 2012-05-24 Glenn Morris <rgm@gnu.org>
11192 * paths.el (prune-directory-list, remote-shell-program): Move to...
11193 * files.el (prune-directory-list, remote-shell-program): ...here.
11194 For the latter, delay initialization, prefer ssh, just search PATH.
11196 * paths.el (term-file-prefix): Move to faces.el (the only user).
11197 * faces.el (term-file-prefix): Move here, make it a defcustom.
11199 * paths.el (news-directory, news-path, news-inews-program):
11200 Move to gnus/nnspool.el.
11202 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
11204 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
11205 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
11206 Make the latter a defcustom, with a delayed initialization.
11208 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
11209 These were deleted from Gnus itself late 2010.
11211 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
11213 * progmodes/which-func.el (which-func-ff-hook):
11214 Check against user-error, not error.
11216 * emacs-lisp/edebug.el (top): Do not load or set up loading of
11217 cl-specs.el, which no longer exists.
11219 2012-05-22 Glenn Morris <rgm@gnu.org>
11221 * info.el (info-emacs-bug): New command.
11222 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
11223 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
11225 2012-05-21 Glenn Morris <rgm@gnu.org>
11227 * makefile.w32-in (update-subdirs-SH):
11228 * Makefile.in (update-subdirs): Update for moved update-subdirs.
11230 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
11232 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
11234 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11235 Simplify Maven regexp, and make sure the file can't start with a space
11238 2012-05-21 Glenn Morris <rgm@gnu.org>
11240 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
11241 Scrap superfluous subshells.
11243 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
11245 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
11246 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
11248 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
11250 * calc/calc.el (calc-ensure-consistent-units): New variable.
11252 * calc/calc-units.el (math-consistent-units-p)
11253 (math-check-unit-consistency): New functions.
11254 (calc-quick-units, calc-convert-units):
11255 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
11257 (calc-extract-units): Fix typo.
11259 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
11261 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
11263 * textmodes/flyspell.el: Commenting style, plus code simplifications.
11264 (flyspell-default-deplacement-commands): Don't spell check after
11265 repeated window/frame switches (e.g. triggered by mouse-movement).
11266 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
11267 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
11268 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
11269 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
11270 Remove unused vars.
11271 (flyspell-get-casechars, flyspell-get-not-casechars):
11272 Simplify; Don't bother removing a ] just to add it back.
11273 * textmodes/ispell.el (ispell-program-name): Use executable-find.
11275 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11277 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
11279 (math-function-table): Add support for more C functions.
11281 2012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11283 * textmodes/flyspell.el (flyspell-check-pre-word-p)
11284 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
11285 Protect delay handling for otherchars against empty otherchars.
11287 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
11289 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
11290 their respective macro declarations.
11291 * skeleton.el (define-skeleton):
11292 * progmodes/compile.el (define-compilation-mode):
11293 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
11294 (define-ibuffer-filter):
11295 * emacs-lisp/generic.el (define-generic-mode):
11296 * emacs-lisp/easy-mmode.el (define-minor-mode)
11297 (define-globalized-minor-mode):
11298 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
11299 * emacs-lisp/byte-run.el (defsubst):
11300 * custom.el (deftheme): Add doc-string metadata.
11302 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11304 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
11306 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11308 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
11310 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
11311 * emacs-lisp/cl-macs.el: Idem.
11312 * emacs-lisp/cl-specs.el: Remove.
11314 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11316 Minor renaming of internal CL functions and variables.
11317 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
11318 (cl--position): Rename from cl-position.
11319 (cl--delete-duplicates): Rename from cl-delete-duplicates.
11320 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
11321 (cl--random-state): Rename from *random-state*.
11323 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11325 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
11326 parens around the arg list (bug#11499).
11328 2012-05-17 Juri Linkov <juri@jurta.org>
11330 * isearch.el (word-search-regexp, word-search-backward)
11331 (word-search-forward, word-search-backward-lax)
11332 (word-search-forward-lax): Move functions from search.c
11333 (bug#10145, bug#11381).
11335 2012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11337 * textmodes/flyspell.el (flyspell-check-pre-word-p)
11338 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
11339 Delay for otherchars as for normal word components.
11341 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
11343 * minibuffer.el (completion--sifn-requote): Fix last change.
11344 (minibuffer-local-must-match-filename-map):
11345 Move define-obsolete-variable-alias before its var.
11347 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
11349 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
11351 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
11353 (completion--string-equal-p): New function.
11354 (completion--twq-all): Use it to get better assertion failure data.
11356 Only handle ".." and '..' quoting in shell-mode (bug#11466).
11357 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
11358 (shell--requote-argument): New functions.
11359 (shell-completion-vars): Use them.
11360 (shell--parse-pcomplete-arguments): Rename from
11361 shell-parse-pcomplete-arguments.
11362 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
11363 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
11364 Obey comint-file-name-quote-list.
11366 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
11367 (smie-indent-keyword): Use it.
11369 2012-05-14 Stefan Merten <smerten@oekonux.de>
11371 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
11373 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
11375 * net/rlogin.el (rlogin-mode-map): Fix last change.
11377 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
11379 * mail/smtpmail.el (smtpmail-send-command): Send the command and
11380 the following \r\n using a single `process-send-string', since the
11381 Lotus SMTP server refuses to accept any commands if they are sent
11382 with two `process-send-string's (Bug#11444).
11384 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
11386 * shell.el (shell-parse-pcomplete-arguments):
11387 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
11389 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
11391 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
11392 (image-transform-scale, image-transform-right-angle-fudge): New vars.
11393 (image-transform-width, image-transform-fit-width): New functions.
11394 (image-transform-properties): Use them.
11395 (image-transform-check-size): New function.
11396 (image-toggle-display-image): Use it (for testing).
11397 (image-transform-set-rotation): Reduce angle mod 360.
11398 Delete obsolete comment.
11400 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
11402 * image-mode.el: Fix scaling (bug#11399).
11403 (image-transform-resize): Doc fix.
11404 (image-transform-properties): Default scale is 1 and height should
11407 2012-05-13 Johan Bockgård <bojohan@gnu.org>
11409 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
11410 than hard-coding `car', to fix misbehavior when moving forward.
11412 2012-05-13 Chong Yidong <cyd@gnu.org>
11414 * emacs-lisp/tabulated-list.el (tabulated-list-format)
11415 (tabulated-list-entries, tabulated-list-padding)
11416 (tabulated-list-sort-key): Make permanent-local.
11418 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
11419 (electric-buffer-list): Put electric buffer menu
11420 command descriptions in this docstring, instead of the docstring
11421 of electric-buffer-menu-mode. Code cleanups.
11422 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
11423 Electric-buffer-menu-mode.
11424 (electric-buffer-update-highlight): Minor code cleanup.
11426 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
11428 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
11431 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
11433 Move define-obsolete-variable-alias before the var's definition.
11434 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
11435 * tooltip.el (tooltip-hook):
11436 * textmodes/reftex-toc.el (reftex-toc-map):
11437 * textmodes/reftex-sel.el (reftex-select-label-map)
11438 (reftex-select-bib-map):
11439 * textmodes/reftex-index.el (reftex-index-map)
11440 (reftex-index-phrases-map):
11441 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
11442 * progmodes/meta-mode.el (meta-mode-map):
11443 * novice.el (disabled-command-hook):
11444 * loadhist.el (unload-hook-features-list):
11445 * frame.el (blink-cursor):
11446 * files.el (find-file-not-found-hooks, write-file-hooks)
11447 (write-contents-hooks):
11448 * emulation/tpu-edt.el (GOLD-map):
11449 * emacs-lock.el (emacs-lock-from-exiting):
11450 * emacs-lisp/generic.el (generic-font-lock-defaults):
11451 * emacs-lisp/chart.el (chart-map):
11452 * dos-fns.el (register-name-alist):
11453 * dired-x.el (dired-omit-files-p):
11454 * desktop.el (desktop-enable):
11455 * cus-edit.el (custom-mode-hook):
11456 * buff-menu.el (buffer-menu-mode-hook):
11457 * bookmark.el (bookmark-read-annotation-text-func)
11458 (bookmark-exit-hooks):
11459 * allout.el (allout-mode-deactivate-hook)
11460 (allout-exposure-change-hook, allout-structure-added-hook)
11461 (allout-structure-deleted-hook, allout-structure-shifted-hook):
11462 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
11463 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
11464 comes before the corresponding variable's definition.
11466 2012-05-12 Chong Yidong <cyd@gnu.org>
11468 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
11469 (Buffer-menu-mouse-select): Restore function (Bug#11459).
11470 (Buffer-menu-mode-map): Bind it.
11471 (Buffer-menu--pretty-name): Add a mouse-face property.
11473 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
11475 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
11476 (prolog-upper-case-string, prolog-lower-case-string)
11477 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
11478 (prolog-use-smie, prolog-smie-grammar): New vars.
11479 (prolog-smie-forward-token, prolog-smie-backward-token)
11480 (prolog-smie-rules): New funs.
11481 (prolog-comment-indent): Remove.
11482 (prolog-mode-variables): Use default comment indentation instead.
11484 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
11485 (prolog-mode): Don't call them any more.
11486 (prolog-electric-colon, prolog-electric-dash)
11487 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
11489 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
11491 * minibuffer.el (completion--twq-all): Again, allow case differences.
11493 * term.el: Move keymap initialization code to be more idiomatic.
11494 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
11495 (term-terminal-menu): Move initialization into declaration.
11496 (term-escape-char): Let the user set it in her .emacs.
11498 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
11499 Provide SMIE-based indentation (not enabled by default yet).
11500 (sh-mode-map): Don't bind electric keys.
11501 Use electric-pair-mode instead of skeleton-pair.
11502 (sh-assignment-regexp): Fit within 80 columns.
11503 (sh-indent-supported): Specify actual shell name instead of boolean.
11504 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
11505 (sh-maybe-here-document): Use it. Make obsolete.
11506 (sh-electric-here-document-mode) New minor mode.
11507 (sh-mode): Use it. Don't set sh-indent-supported-here here.
11508 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
11509 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
11510 (sh-smie-rc-grammar, sh-use-smie): New vars.
11511 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
11512 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
11513 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
11514 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
11515 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
11516 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
11517 (sh-set-shell): Use smie-setup if requested.
11519 * term.el (term-set-escape-char): Properly set term-escape-char.
11520 See http://stackoverflow.com/questions/10524656.
11522 2012-05-10 Chong Yidong <cyd@gnu.org>
11524 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
11525 Use url-generic-parse-url, and handle host names and Windows
11526 filenames properly.
11527 (ffap-url-unwrap-remote): Use url-generic-parse-url.
11528 (ffap-url-unwrap-remote): Accept list values, specifying a list of
11529 URL schemes to work on.
11530 (ffap--toggle-read-only): New function.
11531 (ffap-read-only, ffap-read-only-other-window)
11532 (ffap-read-only-other-frame): Use it.
11533 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
11534 necessary for ffap-url-unwrap-remote.
11536 2012-05-10 Dave Abrahams <dave@boostpro.com>
11538 * cus-start.el (create-lockfiles): Add it.
11540 2012-05-09 Chong Yidong <cyd@gnu.org>
11542 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
11543 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
11545 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
11547 * shell.el (shell-completion-vars): Fix last change (bug#11348).
11549 2012-05-09 Chong Yidong <cyd@gnu.org>
11551 * ansi-color.el (ansi-color-process-output): Check for validity of
11552 comint-last-output-start before using it. This avoids a bad
11553 interaction with gdb-mi's input/output buffer.
11555 2012-05-09 Glenn Morris <rgm@gnu.org>
11557 * files.el (dir-locals-read-from-file):
11558 Mention dir-locals in any error message.
11560 2012-05-09 Chong Yidong <cyd@gnu.org>
11562 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
11563 package (Bug#11410).
11565 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
11566 variables into description.
11568 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
11570 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
11571 shell-delimiter-argument-list (bug#11348).
11572 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
11574 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
11576 * textmodes/rst.el: Silence byte-compiler warnings.
11577 (rst-re-alist, rst-reset-section-caches): Move around.
11578 (rst-re): Use `characterp', not `char-valid-p'.
11579 (font-lock-beg, font-lock-end): Declare.
11581 * progmodes/idlw-shell.el (specs): Remove reference to deleted
11582 variable `idlwave-shell-activate-alt-keybindings' and simplify.
11584 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
11586 2012-05-08 Glenn Morris <rgm@gnu.org>
11588 * files.el (auto-mode-alist): Treat ".make" like ".mk".
11590 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11592 * vc/log-edit.el: Add GNU coding standards highlighting.
11593 (log-edit-font-lock-gnu-style)
11594 (log-edit-font-lock-gnu-keywords): New vars.
11595 (log-edit-font-lock-keywords): New fun.
11596 (log-edit-mode): Don't fold case in font-lock.
11597 (log-edit-font-lock-keywords): Do not assume case-folding.
11599 * imenu.el: Misc cleanup. Make docstrings out of comments.
11600 Use lexical-binding.
11601 (imenu--index-alist, imenu--last-menubar-index-alist)
11602 (imenu-menubar-modified-tick): Use defvar-local.
11603 (imenu--split-menu): Remove unused var.
11604 (imenu--cleanup-seen): Declare as global.
11605 (imenu--cleanup): Use dolist.
11607 * subr.el (defvar-local): Add debug spec and doc-string position.
11609 2012-05-08 Glenn Morris <rgm@gnu.org>
11611 * language/burmese.el, language/cham.el, language/czech.el:
11612 * language/english.el, language/georgian.el, language/greek.el:
11613 * language/japanese.el, language/khmer.el, language/korean.el:
11614 * language/lao.el, language/misc-lang.el, language/romanian.el:
11615 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
11616 * language/thai.el, language/utf-8-lang.el:
11617 Remove no-byte-compile setting.
11619 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
11621 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
11623 * progmodes/make-mode.el (makefile-browse):
11624 Remove unnecessary interactive. (Bug#11324)
11626 2012-05-07 Glenn Morris <rgm@gnu.org>
11628 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
11630 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
11632 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
11634 * loadup.el: Preload newcomment.el.
11635 * newcomment.el: Move autoload-only code to toplevel.
11637 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
11638 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
11639 Handle new :right-align column property.
11640 (tabulated-list-print-col): Idem, plus use `display' text-property to
11641 try and preserve alignment for variable pitch fonts.
11643 2012-05-07 Chong Yidong <cyd@gnu.org>
11645 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
11646 (tabulated-list-use-header-line): New var.
11647 (tabulated-list-init-header): Use it.
11648 (tabulated-list-print-fake-header): New function.
11649 (tabulated-list-print): Use it.
11650 (tabulated-list-sort-button-map): Add non-header-line commands.
11651 (tabulated-list-init-header): Add column name property to basic
11653 (tabulated-list-col-sort): Handle non-header-line button case.
11654 (tabulated-list--sort-by-column-name): Fix a corner case.
11656 * buff-menu.el (list-buffers--refresh):
11657 Handle Buffer-menu-use-header-line.
11659 2012-05-06 Chong Yidong <cyd@gnu.org>
11661 * buff-menu.el: Convert to Tabulated List mode.
11662 (Buffer-menu-buffer+size-width): Make obsolete.
11663 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
11664 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
11665 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
11666 documentation into docstring of buffer-menu.
11667 (Buffer-menu-toggle-files-only): Add an informative message.
11668 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
11669 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
11670 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
11671 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
11672 (Buffer-menu-execute, Buffer-menu-select)
11673 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
11674 (Buffer-menu-bury): Use Tabulated List machinery.
11675 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
11676 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
11678 (list-buffers--refresh): New function.
11679 (list-buffers-noselect): Use it.
11680 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
11681 (Buffer-menu--pretty-file-name): New helper functions.
11683 * loadup.el: Preload tabulated-list.
11685 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
11686 tabulated-list-sort-column.
11687 (tabulated-list-init-header): Add the initial aligning space even
11688 if tabulated-list-padding is zero.
11690 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
11692 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
11693 whose cdr is not a cons cell correctly (bug#11038).
11695 2012-05-06 Chong Yidong <cyd@gnu.org>
11697 * emacs-lisp/tabulated-list.el (tabulated-list-format):
11698 Accept additional plist in column descriptors.
11699 (tabulated-list-init-header): Obey it.
11700 (tabulated-list-get-entry): New function.
11701 (tabulated-list-put-tag): Use it. Use string-width instead of
11703 (tabulated-list--column-number): New function.
11704 (tabulated-list-print): Use it.
11705 (tabulated-list-print-col): New function.
11706 Set `tabulated-list-column-name' property on each column's text.
11707 (tabulated-list-print-entry): Use it.
11708 (tabulated-list-delete-entry, tabulated-list-set-col):
11710 (tabulated-list-sort-column): New command (Bug#11337).
11712 * buff-menu.el (list-buffers): Move C-x C-b binding from
11713 buff-menu.el to bindings.el.
11715 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
11716 :advertised-binding feature.
11718 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
11720 * progmodes/compile.el (compilation-internal-error-properties):
11721 Calculate start position correctly when end-col is set but
11722 end-line is not (Bug#11382).
11724 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
11726 * man.el (Man-unindent): Use text-property-default-nonsticky to
11727 prevent untabify from inheriting face properties (Bug#11408).
11729 2012-05-05 Stefan Merten <smerten@oekonux.de>
11731 * textmodes/rst.el: Major merge with upstream development up to
11732 Docutils SVN r7399 / rst.el V1.2.1.
11734 Clarify maintainership and authors.
11736 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
11737 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
11738 (rst-official-version, rst-official-cvs-rev, rst-version)
11739 (rst-package-emacs-version-alist): New functions and variables
11740 for version information.
11742 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
11743 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
11744 (rst-mode-syntax-table, rst-mode): New and corrected functions
11745 and variables representing reStructuredText features.
11747 (rst-re): New function for reStructuredText regexes. Use in
11750 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
11751 (rst-mode-map): Rebind keys.
11753 (rst-mode-lazy, rst-font-lock-keywords)
11754 (rst-font-lock-extend-region)
11755 (rst-font-lock-extend-region-internal)
11756 (rst-font-lock-extend-region-extend)
11757 (rst-font-lock-find-unindented-line-limit)
11758 (rst-font-lock-find-unindented-line-match)
11759 (rst-adornment-level, rst-font-lock-adornment-level)
11760 (rst-font-lock-adornment-match)
11761 (rst-font-lock-handle-adornment-pre-match-form)
11762 (rst-font-lock-handle-adornment-matcher): Major revision of
11763 font-locking. Integrate with other code. Use `jit-lock-mode'.
11765 (rst-preferred-adornments, rst-adjust-hook)
11766 (rst-new-adornment-down, rst-preferred-bullets)
11767 (rst-preferred-bullets, rst-indent, rst-indent-width)
11768 (rst-indent-field, rst-indent-literal-normal)
11769 (rst-indent-literal-minimized, rst-indent-comment): Change,
11770 extend and improve customization.
11772 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
11773 (rst-normalize-cursor-position, rst-get-decoration)
11774 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
11775 (rst-rstrip, rst-toc-insert-find-delete-contents)
11776 (rst-shift-fill-region, rst-compute-bullet-tabs)
11777 (rst-debug-print-tabs, rst-debug-mark-found)
11778 (rst-shift-region-guts, rst-shift-region-right)
11779 (rst-shift-region-left, rst-use-char-classes)
11780 (rst-font-lock-keywords-function)
11781 (rst-font-lock-indentation-point)
11782 (rst-font-lock-find-unindented-line-begin)
11783 (rst-font-lock-find-unindented-line-end)
11784 (rst-font-lock-find-unindented-line)
11785 (rst-font-lock-adornment-point, rst-font-lock-level)
11786 (rst-adornment-level-alist): Remove functions and variables.
11788 (rst-compare-adornments, rst-get-adornment-match)
11789 (rst-suggest-new-adornment, rst-get-adornments-around)
11790 (rst-adornment-complete-p, rst-get-next-adornment)
11791 (rst-adjust-adornment, rst-display-adornments-hierarchy)
11792 (rst-straighten-adornments): Standardize function names to
11793 use "adornment" instead of "decoration". Correct callers.
11794 Similar standardizing in many places.
11796 (rst-update-section, rst-adjust, rst-promote-region)
11797 (rst-enumerate-region, rst-bullet-list-region)
11798 (rst-repeat-last-character): Correct use of `interactive'.
11800 (rst-classify-adornment, rst-find-all-adornments)
11801 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
11802 (rst-find-leftmost-column, rst-repeat-last-character):
11803 Refactor functions.
11805 (rst-find-title-line, rst-reset-section-caches)
11806 (rst-get-adornments-around, rst-adjust-adornment-work)
11807 (rst-arabic-to-roman, rst-roman-to-arabic)
11808 (rst-insert-list-pos, rst-insert-list-new-item)
11809 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
11812 (rst-all-sections, rst-section-hierarchy)
11813 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
11816 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
11817 configuration instead of only buffer. Change where necessary.
11819 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
11820 (rst-shift-region, rst-adaptive-fill): New functions for
11821 indentation and filling.
11823 (rst-comment-line-break, rst-comment-indent)
11824 (rst-comment-insert-comment, rst-comment-region)
11825 (rst-uncomment-region): New functions for handling comments.
11827 (rst-compile): Quote shell arguments.
11829 (rst-compile-pdf-preview, rst-compile-slides-preview):
11830 Delete temporary files after use.
11832 2012-05-05 Glenn Morris <rgm@gnu.org>
11834 * calendar/cal-html.el: Optionally include holidays in the output.
11835 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
11836 (cal-html-holidays): New option.
11837 (cal-html-css-default): Add holiday entry.
11838 (holiday-in-range): Autoload it.
11839 (cal-html-htmlify-entry): Add optional class argument.
11840 (cal-html-htmlify-list): Add optional holidays argument.
11841 (cal-html-insert-agenda-days): Include holidays in the output.
11842 (cal-html-one-month): Maybe include holidays.
11844 * calendar/holidays.el (holiday-in-range):
11845 Move here from cal-tex-list-holidays.
11846 * calendar/cal-tex.el (cal-tex-list-holidays):
11847 Make it an obsolete alias for holiday-in-range. Update all callers.
11849 2012-05-05 Chong Yidong <cyd@gnu.org>
11851 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
11854 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
11856 * files.el (file-auto-mode-skip): New var.
11857 (set-auto-mode-1): Use it.
11859 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
11861 * repeat.el: Use lexical-binding.
11862 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
11863 (repeat-undo-count): Remove.
11865 * progmodes/octave-mod.el (octave-abbrev-start):
11866 * progmodes/f90.el (f90-abbrev-start):
11867 * face-remap.el (text-scale-adjust):
11868 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
11870 * emacs-lisp/pcase.el (pcase--let*): New function.
11871 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
11873 (pcase--split-pred): Be more clever about ruling out overlap between
11874 a predicate and some constant pattern.
11875 (pcase--q1): Use `null' instead of (eq foo nil).
11877 * subr.el (setq-local, defvar-local): New macros.
11878 (kbd): Redefine as an alias.
11879 (with-selected-window): Leave unrelated frames alone.
11880 (set-temporary-overlay-map): New function.
11882 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
11884 * subr.el (user-error): New function.
11885 * window.el (switch-to-buffer):
11886 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
11887 (smerge-match-conflict):
11888 * simple.el (previous-matching-history-element)
11889 (next-matching-history-element, goto-history-element, undo-more)
11891 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
11892 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
11893 (next-file, tags-loop-scan, list-tags, complete-tag):
11894 * progmodes/compile.el (compilation-loop):
11895 * mouse.el (mouse-minibuffer-check):
11896 * man.el (Man-bgproc-sentinel, Man-goto-page):
11897 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
11898 (Info-history-forward, Info-follow-reference, Info-menu)
11899 (Info-extract-menu-item, Info-extract-menu-counting)
11900 (Info-forward-node, Info-backward-node, Info-next-menu-item)
11901 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
11902 (Info-next-reference, Info-prev-reference, Info-index)
11903 (Info-index-next, Info-follow-nearest-node)
11904 (Info-copy-current-node-name):
11905 * imenu.el (imenu--make-index-alist)
11906 (imenu-default-create-index-function, imenu-add-to-menubar):
11907 * files.el (basic-save-buffer, recover-file):
11908 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
11909 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
11910 (checkdoc-message-text, checkdoc-defun):
11911 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
11912 * cus-edit.el (customize-changed-options, customize-rogue)
11913 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
11914 (custom-variable-mark-to-reset-standard)
11915 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
11917 * completion.el (check-completion-length):
11918 * comint.el (comint-search-arg)
11919 (comint-previous-matching-input-string-position)
11920 (comint-previous-matching-input)
11921 (comint-replace-by-expanded-history-before-point, comint-send-input)
11922 (comint-copy-old-input, comint-backward-matching-input)
11923 (comint-goto-process-mark, comint-set-process-mark):
11924 * calendar/calendar.el (calendar-cursor-to-date): Use it.
11925 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
11927 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
11929 * dabbrev.el (dabbrev--ignore-case-p): New function.
11930 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
11933 * files.el (automount-dir-prefix): Mark as obsolete.
11935 2012-05-04 Glenn Morris <rgm@gnu.org>
11937 * patcomp.el, play/bruce.el: Move to obsolete/.
11939 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
11941 Fix minor Y10k bugs.
11942 * arc-mode.el (archive-unixdate):
11943 * autoinsert.el (auto-insert-alist):
11944 * calc/calc-forms.el (math-this-year):
11945 * emacs-lisp/copyright.el (copyright-current-year)
11946 (copyright-update-year, copyright):
11947 * tar-mode.el (tar-clip-time-string):
11948 * time.el (display-time-update):
11949 Don't assume years have 4 digits.
11951 2012-05-04 Chong Yidong <cyd@gnu.org>
11953 * dos-w32.el (file-name-buffer-file-type-alist)
11954 (direct-print-region-use-command-dot-com):
11955 * ffap.el (ffap-menu-regexp):
11956 * find-file.el (ff-special-constructs):
11957 * follow.el (follow-debug):
11958 * forms.el (forms--debug):
11959 * iswitchb.el (iswitchb-all-frames):
11960 * ido.el (ido-all-frames):
11961 * emacs-lisp/timer.el (timer-max-repeats):
11962 * mail/feedmail.el (feedmail-mail-send-hook)
11963 (feedmail-mail-send-hook-queued):
11964 * mail/footnote.el (footnote-signature-separator):
11965 * mail/mailabbrev.el (mail-alias-separator-string)
11966 (mail-abbrev-mode-regexp):
11967 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
11968 * progmodes/idlwave.el (idlwave-libinfo-file)
11969 (idlwave-default-completion-case-is-down)
11970 (idlwave-library-routines): Convert defvars to defcustoms.
11972 * mail/rmail.el (rmail-decode-mime-charset):
11973 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
11974 (idlwave-shell-fix-inserted-breaks)
11975 (idlwave-shell-activate-alt-keybindings)
11976 (idlwave-shell-use-breakpoint-glyph):
11977 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
11979 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
11981 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
11983 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
11985 * progmodes/verilog-mode.el (font-lock-keywords):
11986 Fix mis-highligting auto. Reported by Craig Barner.
11987 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
11988 defines from global name space. Reported by Dan Dever.
11989 (verilog-auto-reset, verilog-auto-reset-widths)
11990 (verilog-auto-tieoff): Support using unbased numbers for
11991 AUTORESET and AUTOTIEOFF.
11992 (verilog-submit-bug-report): Update variable list.
11993 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
11994 parenthesis from not matching. Reported by Michael Rytting.
11995 (verilog-auto-template-lint): Fix hash error when linting modules
11996 with no used templates.
11997 (verilog-warn, verilog-warn-error)
11998 (verilog-warn-fatal): When non-interactive report multiple
11999 warnings before exiting. Suggested by Brad Dobbie.
12000 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
12001 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
12002 to report unused template errors. Reported by Brad Dobbie.
12003 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
12004 nets, bug438. Reported by Vns Blore.
12005 (verilog-auto-inout-module, verilog-auto-reg)
12006 (verilog-read-decls, verilog-read-sub-decls-sig)
12007 (verilog-signals-edit-wire-reg, verilog-signals-with):
12008 Fix passing of Verilog data types in ANSI input/output ports
12009 such as "output logic" into the AUTOs. Special case "wire" and
12010 "reg" for backwards compatibility presuming Verilog 2001.
12011 (verilog-auto-ascii-enum): Add "auto enum" as alias.
12012 (verilog-preprocess): Fix replication of preprocess output.
12013 Reported by Brad Dobbie.
12014 (verilog-auto-inst-interfaced-ports):
12015 Create verilog-auto-inst-interfaced-ports, bug429.
12016 Reported by Julian Gorfajn.
12017 (verilog-after-save-font-hook)
12018 (verilog-before-save-font-hook): New variable.
12019 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
12020 (verilog-save-font-mods): Wrap disabling fontification, reported
12022 (verilog-do-indent, verilog-pretty-declarations-auto)
12023 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
12024 Reported by Pierre-David Pfister.
12025 (verilog-set-auto-endcomments): Fix endtask auto comments outside
12026 of class declarations, bug292. Reported by Kevin Heilman.
12027 (verilog-read-decls): Fix 'parameter type' not appearing in
12028 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
12029 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
12030 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
12031 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
12032 Reported by David Kravitz.
12034 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
12036 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
12037 assignment with tests in ifs and for loops.
12038 (verilog-extended-complete-re, verilog-complete-reg): Change so
12039 that DPI inport functions don't look like fuction declarations.
12040 (verilog-pretty-expr): Don't line up assignment
12041 operations to the test and increment in if and for loops
12042 (verilog-extended-complete-re, verilog-complete-reg): Change so
12043 that DPI inport functions don't look like fuction declarations.
12045 2012-05-03 Kenichi Handa <handa@m17n.org>
12047 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
12048 decoding, and show a warning message without signaling an error
12051 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
12053 * emacs-lisp/bytecomp.el
12054 (byte-compile-file-form-custom-declare-variable): Compile all elements,
12055 since cconv.el might have introduced :fun-body, internal-make-closure,
12056 and friends for bytecomp to handle (bug#11391).
12057 * custom.el (defcustom): Avoid ((λ ..) ..).
12059 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
12061 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
12063 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
12065 * notifications.el (dbus-debug):
12066 * term/linux.el (gpm-mouse-enable):
12067 * term/screen.el (xterm-register-default-colors): Declare.
12069 2012-05-02 Chong Yidong <cyd@gnu.org>
12071 * cus-start.el (gc-cons-percentage, exec-suffixes)
12072 (dos-display-scancodes, dos-hyper-key, dos-super-key)
12073 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
12074 (make-cursor-line-fully-visible, void-text-area-pointer)
12075 (font-list-limit): Add customization data.
12077 * allout.el (allout-exposure-change-functions)
12078 (allout-structure-added-functions)
12079 (allout-structure-deleted-functions)
12080 (allout-structure-shifted-functions): Rename abnormal hooks from
12081 *-hook, and convert to defcustoms.
12082 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
12083 Convert to defcustoms.
12084 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
12086 * allout-widgets.el: Hook callers changed.
12088 2012-05-02 Eli Zaretskii <eliz@gnu.org>
12090 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
12091 the yanked message in preference to the default value of
12092 buffer-file-coding-system.
12094 2012-05-02 Martin Rudalics <rudalics@gmx.at>
12096 * window.el (display-buffer--action-function-custom-type):
12099 2012-05-02 Alan Mackenzie <acm@muc.de>
12101 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
12103 2012-05-01 Glenn Morris <rgm@gnu.org>
12105 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
12107 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
12109 * cus-edit.el (custom-variable-documentation): Simplify with format.
12111 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
12112 Stefan Monnier <monnier@iro.umontreal.ca>
12114 * simple.el (suggest-key-bindings, execute-extended-command):
12115 Move from keyboard.c.
12117 2012-05-01 Chong Yidong <cyd@gnu.org>
12119 * follow.el: Eliminate advice.
12120 (set-process-filter, process-filter, sit-for): Advice deleted.
12121 (follow-mode-off-hook): Obsolete hook removed.
12122 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
12124 (follow-auto): Use a :set function.
12125 (follow-mode): Rewritten. Don't advise process filters.
12126 (follow-switch-to-current-buffer-all, follow-scroll-up)
12127 (follow-scroll-down): Assume follow-mode is bound.
12128 (follow-comint-scroll-to-bottom)
12129 (follow-align-compilation-windows): New functions.
12130 (follow--window-sorter): New function.
12131 (follow-all-followers): Use it to explicitly sort windows by their
12132 positions; don't make assumptions about next-window order.
12133 (follow-windows-start-end, follow-delete-other-windows-and-split)
12134 (follow-calc-win-start): Doc fix.
12135 (follow-windows-aligned-p, follow-select-if-visible): Don't call
12136 vertical-motion unnecessarily.
12137 (follow-adjust-window): New function.
12138 (follow-post-command-hook): Use it.
12139 (follow-call-set-process-filter, follow-call-process-filter)
12140 (follow-intercept-process-output, follow-tidy-process-filter-alist)
12141 (follow-stop-intercept-process-output, follow-generic-filter):
12143 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
12144 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
12145 New functions, replacing advice on scroll-bar-* commands.
12146 (follow-mwheel-scroll): New function (Bug#4112).
12148 * comint.el (comint-adjust-point): New function.
12149 (comint-postoutput-scroll-to-bottom): Use it.
12150 Call follow-comint-scroll-to-bottom for Follow mode buffers.
12152 2012-05-01 Glenn Morris <rgm@gnu.org>
12154 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
12155 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
12156 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
12157 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
12158 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
12159 Remove no-byte-compile setting.
12161 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
12163 * minibuffer.el (completion-table-with-quoting): Fix compatibility
12164 all-completions code to not return a number in the last cdr.
12166 2012-04-30 Leo Liu <sdl.web@gmail.com>
12168 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
12171 2012-04-29 Chong Yidong <cyd@gnu.org>
12173 * follow.el (follow-calc-win-end): Rewrite to handle partial
12174 screen lines correctly (Bug#8390).
12175 (follow-avoid-tail-recenter): Minor cleanup.
12177 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
12179 Avoid the obsolete `assoc' package.
12180 * speedbar.el (speedbar-refresh): Avoid adelete.
12181 (speedbar-file-lists): Simplify and avoid aput.
12182 * man.el (Man--sections, Man--refpages): New vars, replacing
12183 Man-sections-alist and Man-refpages-alist.
12184 (Man-build-section-alist, Man-build-references-alist):
12185 Use them; avoid aput.
12186 (Man--last-section, Man--last-refpage): New vars.
12187 (Man-follow-manual-reference): Use them.
12188 Use the `default' arg of completing-read.
12189 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
12191 2012-04-27 Chong Yidong <cyd@gnu.org>
12193 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
12195 * startup.el (x-apply-session-resources): New function.
12197 * term/ns-win.el (ns-initialize-window-system):
12198 * term/w32-win.el (w32-initialize-window-system):
12199 * term/x-win.el (x-initialize-window-system): Use it to properly
12200 set menu-bar-mode and other vars from X resources, even if the
12201 initial frame is not a window-system frame (Bug#2299).
12203 * subr.el (read-key): Avoid running filter function when setting
12204 up temporary tool bar entries (Bug#9922).
12206 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
12208 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
12211 2012-04-27 Chong Yidong <cyd@gnu.org>
12213 * select.el (xselect--encode-string): New function, split from
12214 xselect-convert-to-string.
12215 (xselect-convert-to-string): Use it.
12216 (xselect-convert-to-filename, xselect-convert-to-os)
12217 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
12218 returned strings are properly encoded (Bug#11315).
12220 2012-04-27 Chong Yidong <cyd@gnu.org>
12222 * simple.el (delete-active-region): Move to killing custom group.
12224 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
12226 * progmodes/which-func.el (which-func-current): Quote %
12227 characters for mode-line processing.
12229 2012-04-27 Chong Yidong <cyd@gnu.org>
12231 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
12232 reaching eob (Bug#11286).
12234 2012-04-27 Eli Zaretskii <eliz@gnu.org>
12236 * progmodes/gdb-mi.el (gdb-control-level): New variable.
12237 (gdb): Make it buffer-local and init to zero.
12238 (gdb-control-commands-regexp): New variable.
12239 (gdb-send): Don't wrap in "-interpreter-exec console" if
12240 gdb-control-level is positive. Increment gdb-control-level
12241 whenever the command matches gdb-control-commands-regexp, and
12242 decrement it each time the command is "end". (Bug#11279)
12244 2012-04-27 Martin Rudalics <rudalics@gmx.at>
12246 * window.el (adjust-window-trailing-edge, enlarge-window)
12247 (shrink-window, window-resize):
12248 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
12249 windows (Bug#11276).
12251 2012-04-27 Chong Yidong <cyd@gnu.org>
12253 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
12254 fix "missing prefix" warning. All callers changed.
12256 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
12258 * emacs-lisp/assoc.el: Move to obsolete/.
12260 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
12262 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
12264 * term/ns-win.el (ns-define-service):
12265 * progmodes/pascal.el (pascal-goto-defun):
12266 * progmodes/js.el (js--read-tab):
12267 * progmodes/etags.el (tags-lazy-completion-table):
12268 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
12269 * emacs-lisp/ewoc.el (ewoc--wrap):
12270 * emacs-lisp/assoc.el (aput, adelete, amake):
12271 * doc-view.el (doc-view-convert-current-doc):
12272 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
12274 2012-04-26 Chong Yidong <cyd@gnu.org>
12276 * image.el (image-type-from-buffer): Only return supported image
12279 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
12280 value, for symmetry with diff-end-of-hunk.
12281 (diff-split-hunk, diff-find-source-location)
12282 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
12283 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
12284 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
12285 compute the relevant hunk or file properly (Bug#6005).
12286 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
12288 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
12297 * vc/vc.el: Replace lexical-let by lexical-binding.
12298 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
12299 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
12300 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
12302 2012-04-26 Chong Yidong <cyd@gnu.org>
12304 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
12305 (diff-mode-shared-map): Bind it to / and [remap undo].
12307 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
12308 (ediff-window-setup-function): Use it as the default, to set up
12309 windows based on whether the current frame is graphical (Bug#2138).
12310 (ediff-choose-window-setup-function-automatically): Make obsolete.
12312 * vc/ediff-init.el: Always define ediff-pixel-width/height.
12314 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12316 * ffap.el: Remove old code for obsolete package.
12317 (ffap-complete-as-file-p): Remove.
12319 Use completion-table-with-quoting for comint and pcomplete.
12320 * comint.el (comint--unquote&requote-argument)
12321 (comint--unquote-argument, comint--requote-argument): New functions.
12322 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
12323 (comint-quote-filename): Use regexp-opt-charset.
12324 (comint--common-suffix, comint--common-quoted-suffix)
12325 (comint--table-subvert): Remove.
12326 (comint-unquote-function, comint-requote-function): New vars.
12327 (comint--complete-file-name-data): Use them with
12328 completion-table-with-quoting.
12329 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
12330 * pcomplete.el (pcomplete-arg-quote-list)
12331 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
12332 (pcomplete-unquote-argument-function): Default to non-nil.
12333 (pcomplete-unquote-argument): Simplify.
12334 (pcomplete--common-quoted-suffix): Remove.
12335 (pcomplete-requote-argument-function): New var.
12336 (pcomplete--common-suffix): New function.
12337 (pcomplete-completions-at-point): Use completion-table-with-quoting
12338 and completion-table-subvert.
12340 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
12341 (minibuffer--double-dollars): Preserve properties.
12342 (completion--sifn-requote): New function.
12343 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
12345 * minibuffer.el: Add support for completion of quoted/escaped data.
12346 (completion-table-with-quoting, completion-table-subvert): New funs.
12347 (completion--twq-try, completion--twq-all): New functions.
12348 (completion--nth-completion): New function.
12349 (completion-try-completion, completion-all-completions): Use it.
12351 2012-04-25 Leo Liu <sdl.web@gmail.com>
12353 * progmodes/python.el (python-pdbtrack-get-source-buffer):
12354 Use compilation-message if available to find real filename.
12356 2012-04-25 Chong Yidong <cyd@gnu.org>
12358 * vc/diff-mode.el (diff-setup-whitespace): New function.
12359 (diff-mode): Use it.
12361 * vc/diff.el (diff-sentinel):
12362 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
12363 Whitespace mode variables based on diff style (Bug#8612).
12365 2012-04-25 Leo Liu <sdl.web@gmail.com>
12367 * progmodes/python.el (python-send-region): Add suffix .py to the
12370 * files.el (auto-mode-alist): Use javascript-mode instead.
12372 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
12374 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
12376 * net/soap-client.el (soap-resolve-references-for-sequence-type)
12377 (soap-resolve-references-for-array-type): Hack to prevent self
12378 references, see Bug#9.
12379 (soap-parse-envelope): Report the contents of the 'detail' node
12380 when receiving a fault reply.
12381 (soap-parse-envelope): Report the contents of the entire 'detail' node.
12383 * net/soap-inspect.el (soap-sample-value-for-simple-type)
12384 (soap-inspect-simple-type): New function.
12386 * net/soap-client.el (soap-simple-type): New struct.
12387 (soap-default-xsd-types, soap-default-soapenc-types)
12388 (soap-decode-basic-type, soap-encode-basic-type):
12389 support unsignedInt and double basic types.
12390 (soap-resolve-references-for-simple-type)
12391 (soap-parse-simple-type, soap-encode-simple-type): New function.
12392 (soap-parse-schema): Parse xsd:simpleType declarations.
12394 * net/soap-client.el (soap-default-xsd-types)
12395 (soap-default-soapenc-types): Add integer, byte and anyURI types.
12396 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
12397 the local name of "soapenc:Array".
12398 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
12399 decoding integer, byte and anyURI xsd types.
12401 2012-04-25 Chong Yidong <cyd@gnu.org>
12403 * cus-edit.el (custom-buffer-create-internal): Update header text.
12405 2012-04-25 Eli Zaretskii <eliz@gnu.org>
12407 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
12408 settings on 'system-type', not on 'window-system'. On MS-Windows,
12409 set interactive-mode on in GDB.
12411 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
12413 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
12414 (ruby-syntax-propertize-regexp): Remove.
12415 (ruby-syntax-propertize-function): Split regexp into chunks.
12416 Match following code directly.
12418 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
12420 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
12421 (ruby-syntax-propertize-regexp): New function.
12422 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
12423 by a special keyword.
12425 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
12426 (ruby-syntax-general-delimiters-goto-beg)
12427 (ruby-syntax-propertize-general-delimiters): New functions.
12428 (ruby-syntax-propertize-function): Use them to handle GDL.
12429 (ruby-font-lock-keywords): Move old handling of GDL...
12430 (ruby-font-lock-syntactic-keywords): .. to here.
12431 (ruby-calculate-indent): Adjust indentation for GDL.
12433 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
12435 * notifications.el (top): Remove unneeded declarations.
12436 (notifications-specification-version): Change to "1.2".
12437 (notifications-interface, notifications-notify-method)
12438 (notifications-close-notification-method): Fix docstring.
12439 (notifications-get-capabilities-method): New defconst.
12440 (notifications-notify): Add :action-items, :resident and
12441 :transient hints. Change "image_data" to "image-data" and
12442 "image_path" to "image-path".
12443 (notifications-get-capabilities): New defun.
12445 2012-04-24 Leo Liu <sdl.web@gmail.com>
12447 * progmodes/python.el: Move hideshow setup to the end.
12449 2012-04-24 Martin Rudalics <rudalics@gmx.at>
12451 * window.el (handle-select-window): Clear echo area since this is
12452 no more done by read_char (Bug#11304).
12454 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
12456 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
12457 and `/ M' to filter-derived-mode.
12458 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
12459 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
12460 (ibuffer-mark-by-mode): Use default rather than initial-input.
12461 (ibuffer-filter-by-derived-mode): Autoload and require-match.
12463 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
12465 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
12466 (ibuffer-filter-by-derived-mode): New filter.
12467 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
12469 2012-04-23 Andreas Politz <politza@fh-trier.de>
12471 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
12473 2012-04-23 Chong Yidong <cyd@gnu.org>
12475 * cus-edit.el (customize-apropos, customize-apropos-options):
12476 Disable matching of non-option variables (Bug#11176).
12477 (customize-option, customize-option-other-window)
12478 (customize-changed-options): Doc fix.
12479 (customize-apropos-options, customize-apropos-faces)
12480 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
12482 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
12483 Fix word list splitting (Bug#11132).
12484 (apropos-symbol, apropos-keybinding, apropos-label)
12485 (apropos-property, apropos-function-button)
12486 (apropos-variable-button, apropos-misc-button): New faces.
12487 (apropos-symbol-face, apropos-keybinding-face)
12488 (apropos-label-face, apropos-property-face, apropos-match-face):
12489 Variables removed (Bug#8396).
12490 (apropos-library-button, apropos-format-plist, apropos-print)
12491 (apropos-print-doc, apropos-describe-plist): Callers changed.
12493 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
12495 * net/xesam.el (xesam-mode-map): Use let-bound map in
12496 initialization. (Bug#11292)
12498 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12500 Preserve ispell session localwords when switching back to
12503 * textmodes/ispell.el (ispell-buffer-session-localwords):
12504 New buffer-local variable to hold buffer session localwords.
12505 (ispell-kill-ispell): Add option 'clear to delete session
12507 (ispell-command-loop, ispell-change-dictionary)
12508 (ispell-buffer-local-words): Preserve session localwords when
12511 * textmodes/flyspell.el (flyspell-process-localwords)
12512 (flyspell-do-correct): Preserve session localwords when needed.
12514 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12516 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
12517 using obsolete `translation-table-for-input'.
12518 (ispell-word, ispell-process-line, ispell-complete-word):
12519 Use plain `insert' instead of removed `ispell-insert-word'.
12521 2012-04-22 Chong Yidong <cyd@gnu.org>
12523 * cus-edit.el (custom-variable-menu)
12524 (custom-variable-reset-saved, custom-face-menu)
12525 (custom-face-reset-saved): If there is no saved value, make the
12526 "reset-saved" operation bring back the default (Bug#9509).
12527 (custom-face-state): Properly detect themed faces.
12529 * faces.el (face-spec-set): Stop supporting deprecated form of
12532 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
12534 Move functions from C to Lisp. Make non-blocking method calls
12535 the default. Implement further D-Bus standard interfaces.
12537 * net/dbus.el (dbus-message-internal): Declare function.
12538 Remove unneeded function declarations.
12539 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
12540 (dbus-message-type-method-return, dbus-message-type-error)
12541 (dbus-message-type-signal): Declare variables. Remove local
12543 (dbus-interface-dbus, dbus-interface-peer)
12544 (dbus-interface-introspectable, dbus-interface-properties)
12545 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
12547 (dbus-interface-objectmanager): New defconst.
12548 (dbus-call-method, dbus-call-method-asynchronously)
12549 (dbus-send-signal, dbus-method-return-internal)
12550 (dbus-method-error-internal, dbus-register-service)
12551 (dbus-register-signal, dbus-register-method): New defuns, moved
12553 (dbus-call-method-handler, dbus-setenv)
12554 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
12556 (dbus-call-method-non-blocking): Make it an obsolete function.
12557 (dbus-unregister-object, dbus-unregister-service)
12558 (dbus-handle-event, dbus-register-property)
12559 (dbus-property-handler): Obey the new structure of
12560 `bus-registered-objects'.
12561 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
12562 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
12563 Use `dbus-call-method'.
12565 2012-04-22 Chong Yidong <cyd@gnu.org>
12567 * cus-edit.el (custom-commands, custom-reset-menu)
12568 (Custom-reset-standard): Tweak labels.
12569 (custom-reset-button-menu): Change default to t.
12570 (custom-buffer-create-internal): For the custom-reset-button-menu
12571 case, put the revert button first.
12572 (custom-group-subtitle): New face.
12573 (custom-group-value-create): Align docstring to a specific column.
12575 * wid-edit.el (widget-documentation-link-add): Don't handle
12576 indentation in this function.
12577 (widget-documentation-string-indent-to): New function.
12578 (widget-documentation-string-value-create): Use it.
12580 * autorevert.el (auto-revert):
12581 * epg-config.el (epg):
12582 * ibuffer.el (ibuffer):
12585 * eshell/eshell.el (eshell):
12586 * net/ange-ftp.el (ange-ftp):
12587 * progmodes/ebnf2ps.el (postscript):
12588 * progmodes/flymake.el (flymake):
12589 * progmodes/prolog.el (prolog):
12590 * progmodes/verilog-mode.el (verilog-mode):
12591 * progmodes/which-func.el (which-func):
12592 * term/xterm.el (xterm):
12593 * textmodes/picture.el (picture):
12594 * textmodes/tildify.el (tildify):
12595 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
12596 customization buffers.
12598 2012-04-22 Alan Mackenzie <acm@muc.de>
12600 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
12601 Adding a ) can hide the resulting (..) from searches. Fix it.
12602 Bound the backward search to the position of the existing (.
12604 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
12606 * progmodes/verilog-mode.el (verilog-mode): Check whether
12607 which-func-modes is t before adding verilog-mode.
12608 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
12610 2012-04-21 Leo Liu <sdl.web@gmail.com>
12612 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
12614 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
12616 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
12617 filling of the last column of a table (Bug#5635).
12618 (woman-find-next-control-line): New arg, specifying an additional
12619 regexp component for the control line.
12620 (woman2-roff-buffer): Use it.
12621 (woman-break-table): New function.
12622 (woman2-TS): Use it.
12624 2012-04-21 Chong Yidong <cyd@gnu.org>
12626 * woman.el (woman-set-buffer-display-table, woman-decode-region)
12627 (woman-horizontal-escapes, woman-negative-vertical-space)
12628 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
12629 (WoMan-warn-ignored): Use ?\s instead of ?\ .
12631 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
12633 * minibuffer.el (completion-file-name-table): Complete user names.
12635 2012-04-20 Leo Liu <sdl.web@gmail.com>
12637 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
12640 2012-04-20 Chong Yidong <cyd@gnu.org>
12642 * server.el (server-execute): Respect initial-buffer-choice if it
12643 is a string and there are no files to open (Bug#2825).
12644 (server-create-window-system-frame, server-create-tty-frame):
12645 Don't switch buffers here.
12646 (server-process-filter): Only try to open a window system frame if
12647 compiled with graphical support (Bug#8314).
12649 2012-04-20 Dan Nicolaescu <dann@gnu.org>
12651 * battery.el (battery-echo-area-format): Display remaining time
12652 for sysfs backend too (Bug#11269).
12653 (battery-linux-sysfs): Fix conditional for the charge.
12655 2012-04-20 Chong Yidong <cyd@gnu.org>
12657 * progmodes/gdb-mi.el (gdb): Revert previous change.
12658 (gdb-inferior-io--init-proc): New function.
12659 (gdb-init-1): Use it.
12660 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
12661 responsible for allocating a new pty and hooking it to gdb when
12662 the old pty gets an EIO due to process exit.
12663 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
12664 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
12665 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
12667 2012-04-20 Eli Zaretskii <eliz@gnu.org>
12669 * window.el (window-min-size, window-sizable, window-min-delta)
12670 (window-max-delta, window--resizable, window-resizable)
12671 (window-total-size, window-full-height-p, window-full-width-p)
12672 (window-in-direction, window--resize-mini-window, window-resize)
12673 (window--resize-child-windows-normal)
12674 (window--resize-child-windows, window--resize-siblings)
12675 (window--resize-this-window, adjust-window-trailing-edge)
12676 (enlarge-window, shrink-window): Doc fixes.
12678 2012-04-20 Chong Yidong <cyd@gnu.org>
12680 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
12681 New function to call delete-process on the gdb-inferior buffer's pty.
12682 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
12683 pty process (Bug#11273).
12684 (gdb-update): New arg to suppress talking to the gdb process.
12685 (gdb-done-or-error): Use it.
12686 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
12687 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
12688 sentinel not being called.
12690 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
12692 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
12694 2012-04-20 Glenn Morris <rgm@gnu.org>
12696 * net/network-stream.el (open-network-stream): Doc fix.
12698 2012-04-20 Chong Yidong <cyd@gnu.org>
12700 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
12702 2012-04-20 Alan Mackenzie <acm@muc.de>
12704 Ensure searching for keywords is case sensitive.
12706 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
12707 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
12708 (c-defun-name, c-mark-function, c-cpp-define-name)
12709 (c-comment-indent, c-scan-conditionals, c-indent-defun)
12710 (c-context-line-break): Bind case-fold-search to nil.
12712 * progmodes/cc-mode.el (c-font-lock-fontify-region):
12713 Bind case-fold-search to nil.
12715 2012-04-20 Chong Yidong <cyd@gnu.org>
12717 * mail/sendmail.el (mail-bury): Call return action with the right
12718 Rmail buffer (Bug#11242).
12720 * server.el (server-process-filter): Handle corner case where both
12721 tty and nowait options are present (Bug#11102).
12723 2012-04-20 Eli Zaretskii <eliz@gnu.org>
12725 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
12726 (top level): Put into the executable the ident-style '$Id:' tag on
12727 windows-nt as well.
12729 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
12731 * electric.el (electric-indent-post-self-insert-function): Check that
12732 electric-indent-mode is enabled in current buffer.
12734 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
12736 * imenu.el (imenu-progress-message): Restore; it is "used" in
12737 erc/erc-imenu.el and net/snmp-mode.el.
12739 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
12741 * avoid.el (mouse-avoidance-mode): Mark unused arg.
12742 (mouse-avoidance-nudge-mouse): Remove unused binding.
12744 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
12746 * descr-text.el (describe-char):
12747 * progmodes/python.el (python-describe-symbol):
12748 Don't call `toggle-read-only', set `buffer-read-only'.
12750 * imenu.el (imenu-default-goto-function): Mark unused args.
12751 (imenu-progress-message): Remove obsolete macro; all callers changed.
12753 * subr.el (keymap-canonicalize): Remove unused binding.
12754 (read-passwd): Mark unused arg.
12756 * tutorial.el (tutorial--display-changes): Remove unused binding.
12757 (tutorial--save-tutorial-to): Remove unused variable.
12759 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
12760 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
12761 (package-generate-autoloads, package-menu--generate)
12762 (package-menu--find-upgrades): Remove unused bindings.
12764 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
12765 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
12766 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
12767 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
12768 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
12769 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
12770 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
12771 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
12772 (cua-delete-char-rectangle): Mark unused args.
12773 (cua-align-rectangle): Remove unused binding.
12775 * mail/rmail.el (compilation--message->loc)
12776 (epa--find-coding-system-for-mime-charset): Declare.
12778 * net/dbus.el (dbus-register-service): Declare.
12779 (dbus-name-owner-changed-handler): Remove unused binding.
12781 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
12782 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
12783 (nxml-scan-backward-within): Mark unused arg.
12784 (nxml-dynamic-markup-word): Remove unused binding.
12786 * mouse.el (mouse-menu-major-mode-map):
12787 * emacs-lisp/authors.el (authors-scan-change-log)
12788 (authors-add-to-author-list):
12789 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
12790 * emacs-lisp/smie.el (smie-auto-fill):
12791 * mail/sendmail.el (mail-bury):
12792 * mail/unrmail.el (unrmail):
12793 * net/tls.el (open-tls-stream):
12794 * textmodes/picture.el (picture-mouse-set-point):
12795 Remove unused bindings.
12797 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
12799 * net/tramp.el (tramp-action-password): Let-bind
12800 `enable-recursive-minibuffers' to t.
12802 2012-04-18 Sam Steingold <sds@gnu.org>
12804 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
12805 instead of 'string to accommodate values like [f11].
12806 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
12807 * progmodes/gdb-mi.el: Likewise.
12809 2012-04-18 Leo Liu <sdl.web@gmail.com>
12811 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
12813 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
12816 2012-04-18 Chong Yidong <cyd@gnu.org>
12818 * simple.el (line-move): Use forward-line if in batch mode
12821 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
12823 * files.el (after-find-file): Do not try to add a final newline if
12824 the buffer is read-only (Bug#11156).
12826 2012-04-17 Richard Stallman <rms@gnu.org>
12828 * mail/rmail.el (rmail-start-mail):
12829 Pass (rmail-mail-return...) for the return-action.
12830 Pass (rmail-yank-current-message...) for the yank-action.
12831 (rmail-yank-current-message): New function.
12832 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
12833 (rmail-reply): Likewise.
12834 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
12836 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
12837 buffer, not the last. Reject temp buffers. Use the rmail-mode
12838 buffer, not newbuf.
12840 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
12842 * server.el (server-ensure-safe-dir): Simplify.
12844 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
12846 * emacs-lisp/smie.el: Provide smarter auto-filling.
12847 (smie-auto-fill): New function.
12848 (smie-setup): Use it.
12850 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
12852 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
12854 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
12855 (comment-indent): Use it.
12857 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
12859 * ses.el: The overall change is to add cell renaming, that is
12860 setting fancy names for cell symbols other than name matching
12861 "\\`[A-Z]+[0-9]+\\'" regexp .
12862 (ses-localvars): Add ses--renamed-cell-symb-list.
12863 (ses-create-cell-variable): New defun.
12864 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
12865 (ses-relocate-formula): Relocate formulas only for cells the
12866 symbols of which are not renamed, i.e. symbols whose names do not
12867 match regexp "\\`[A-Z]+[0-9]+\\'".
12868 (ses-relocate-all): Relocate values only for cells the symbols of
12869 which are not renamed.
12870 (ses-load): Create cells variables as the (ses-cell ...) are read,
12871 in order to check row col consistency with cell symbol name only
12872 for cells that are not renamed.
12873 (ses-replace-name-in-formula): New defun.
12874 (ses-rename-cell): New defun.
12876 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
12878 * progmodes/perl-mode.el (perl-indent-parens-as-block):
12879 New option (bug#11118).
12880 (perl-calculate-indent): Respect it.
12882 2012-04-17 Glenn Morris <rgm@gnu.org>
12884 * dired-aux.el (dired-mark-read-string): Doc fix.
12886 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
12888 * dired-aux.el (dired-mark-read-string): Offer optional completion.
12889 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
12891 2012-04-17 Glenn Morris <rgm@gnu.org>
12893 * mouse.el (mouse-drag-track):
12894 * speedbar.el (speedbar-frame-mode):
12895 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
12897 2012-04-16 Leo Liu <sdl.web@gmail.com>
12899 * progmodes/python.el: Trivial cleanup.
12901 2012-04-16 Glenn Morris <rgm@gnu.org>
12903 * vc/vc.el (vc-string-prefix-p):
12904 * vc/pcvs-util.el (cvs-string-prefix-p):
12905 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
12906 * mpc.el (mpc-string-prefix-p):
12907 Make all of these into obsolete aliases for string-prefix-p.
12909 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
12911 * textmodes/two-column.el: Move custom options to the start.
12912 (frame-width): Remove compat definition.
12913 (2C-associate-buffer, 2C-dissociate):
12914 Use with-current-buffer rather than save-excursion.
12915 (2C-dissociate): Force a mode-line update.
12916 (2C-autoscroll): Use ignore-errors.
12918 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
12921 * emacs-lisp/cl-extra.el (*random-state*):
12922 Remove unnecessary declaration.
12924 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
12926 * play/cookie1.el (cookie-snarf):
12927 Give an explicit error if input file cannot be read.
12929 * play/yow.el (yow-file): Use expand-file-name rather than concat.
12931 * progmodes/perl-mode.el (c-macro-expand):
12932 Remove unnecessary autoload (it is in loaddefs.el).
12934 * textmodes/picture.el (picture-desired-column)
12935 (picture-update-desired-column): Convert comments to doc-strings.
12936 (picture-substitute): Remove function.
12937 (picture-mode-map): Initialize in the defvar.
12939 * woman.el: Remove eval-after-load for tar-mode.
12940 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
12941 (woman-tar-extract-file): Autoload it.
12943 * frame.el (automatic-hscrolling): Make this alias obsolete.
12945 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12947 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
12948 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
12949 (ispell-dictionary-base-alist): Revert to original XEmacs
12950 friendly version for default. [:alpha:] will be added in
12951 `ispell-set-spellchecker-params' if needed.
12953 2012-04-16 Chong Yidong <cyd@gnu.org>
12955 * image.el (imagemagick--file-regexp): New variable.
12956 (imagemagick-register-types): Use it.
12957 (imagemagick-types-inhibit): Add :set function. Allow new value
12958 of t to inhibit all types.
12960 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
12961 so we can preload it.
12963 * loadup.el (fboundp): Preload regexp-opt, needed by
12964 imagemagick-register-types.
12966 2012-04-15 Chong Yidong <cyd@gnu.org>
12968 * frame.el (scrolling): Remove nearly unused customization group.
12970 * scroll-all.el (scroll-all-mode): Move to windows group.
12972 2012-04-15 Chong Yidong <cyd@gnu.org>
12974 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
12976 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12978 Avoid the use of ((lambda ...) ...) in lexical-binding code.
12979 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
12981 2012-04-15 Glenn Morris <rgm@gnu.org>
12983 * simple.el (process-file-side-effects): Doc fix.
12985 2012-04-15 Glenn Morris <rgm@gnu.org>
12987 * international/mule-cmds.el (set-language-environment): Doc fix.
12989 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
12991 * server.el (server-auth-key, server-generate-key): Doc fixes.
12992 (server-get-auth-key): Doc fix. Use `string-match-p'.
12993 (server-start): Reflow docstring.
12995 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
12997 * server.el (server-generate-key): `called-interactively-p'
12998 requires a parameter.
13000 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
13002 * server.el (server-auth-key): New variable.
13003 (server-generate-key, server-get-auth-key): New function.
13004 (server-start): Use the new variable and functions to allow
13005 setting a permanent server key (bug#9423).
13007 2012-04-14 Leo Liu <sdl.web@gmail.com>
13009 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
13011 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
13014 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
13015 Emacs uses American spelling.
13017 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
13019 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
13020 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
13021 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
13022 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
13024 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
13026 * progmodes/which-func.el (which-func-modes): Change default.
13028 2012-04-14 Kim F. Storm <storm@cua.dk>
13030 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
13031 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
13033 2012-04-14 Chong Yidong <cyd@gnu.org>
13035 * custom.el (custom-theme-set-variables): Doc fix.
13037 2012-04-14 Glenn Morris <rgm@gnu.org>
13039 * international/mule.el (set-auto-coding-for-load): Doc fix.
13041 2012-04-14 Alan Mackenzie <acm@muc.de>
13043 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
13044 imenu work again for Objective C Mode. Correct the *-index values,
13045 these having been disturbed by a previous change in 2011-08.
13047 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
13048 Correct two search limits.
13050 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
13052 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
13054 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
13056 * international/characters.el: Fix sorting.
13058 2012-04-14 Eli Zaretskii <eliz@gnu.org>
13060 * international/characters.el: Add more missing Latin case pairs.
13062 2012-04-14 Glenn Morris <rgm@gnu.org>
13064 * files.el (dir-locals-set-class-variables): Doc fix.
13066 2012-04-14 Eli Zaretskii <eliz@gnu.org>
13068 * international/characters.el: Add set-case-syntax-pair call for
13069 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
13070 counterpart. (Bug#11209)
13072 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
13074 2012-04-14 Glenn Morris <rgm@gnu.org>
13076 * calendar/holidays.el (calendar-check-holidays): Doc fix.
13078 2012-04-14 Eli Zaretskii <eliz@gnu.org>
13080 * textmodes/ispell.el (ispell-dictionary-base-alist):
13081 Add data for Hebrew.
13083 2012-04-14 Chong Yidong <cyd@gnu.org>
13085 * net/rcirc.el (rcirc-cmd-quit):
13086 Revert 2012-03-18 change (Bug#11192).
13088 2012-04-14 Glenn Morris <rgm@gnu.org>
13090 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
13092 2012-04-14 Eli Zaretskii <eliz@gnu.org>
13094 * minibuffer.el (completion-in-region-mode-map):
13095 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
13097 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
13099 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
13101 2012-04-13 Masatake YAMATO <yamato@redhat.com>
13103 * minibuffer.el (minibuffer-local-filename-syntax): New variable
13104 to allow `C-M-f' and `C-M-b' to move to the nearest path
13105 separator (bug#9511).
13107 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
13109 * avoid.el: Require cl when compiling. And also move the
13110 `provide' to the end.
13112 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13114 * avoid.el (mouse-avoidance-banish-position): New variable.
13115 (mouse-avoidance-banish-destination): Use it (bug#10165).
13117 2012-04-13 Leo Liu <sdl.web@gmail.com>
13119 * progmodes/which-func.el (which-func-modes): Add objc-mode.
13121 2012-04-13 Ken Brown <kbrown@cornell.edu>
13123 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
13124 this is no longer needed now that cygstart understands file:// URLs.
13125 (browse-url-filename-alist): For the same reason, don't modify
13126 file:// URLs on Cygwin.
13128 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
13130 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
13131 the region on shift if the binding is already shifted (bug#11221).
13133 2012-04-12 Glenn Morris <rgm@gnu.org>
13135 * mail/mailpost.el: Move to obsolete/.
13137 2012-04-12 Drew Adams <drew.adams@oracle.com>
13139 * imenu.el (imenu--generic-function): Ignore invisible definitions
13142 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
13144 * hexl.el (hexl-bits): New variable.
13145 (hexl-options): Mention the variable in the doc string.
13146 (hexl-rulerise, hexl-line-displen): New functions.
13147 (hexl-mode): Mention the new variable.
13148 (hexl-mode, hexl-current-address, hexl-current-address):
13150 (hexl-ascii-start-column): New function.
13151 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
13152 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
13154 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13156 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
13157 '("-i" ENCODING), in 2 separate command-line arguments, to specify
13158 the encoding, as expected by hunspell.
13160 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
13162 * battery.el (battery--linux-sysfs-regexp): New const.
13163 (battery-status-function): Use it. Remove yeeloong special case.
13164 (battery-yeeloong-sysfs): Remove.
13165 (battery-echo-area-format): Remove yeeloong special case.
13167 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
13169 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
13170 Reported by Noah Friedman.
13172 * subr.el (read-passwd): Use read-string.
13174 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
13176 * vcursor.el (vcursor-move): Increase the priority of the overlay
13179 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
13181 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
13182 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
13184 2012-04-11 William Stevenson <yhvh2000@gmail.com>
13186 * textmodes/artist.el (artist-mode): Convert artist-mode to use
13187 define-minor-mode (bug#10760).
13189 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
13191 * progmodes/grep.el (rgrep): Tweak the find command line so
13192 that directories matching `grep-find-ignored-files' won't be
13193 pruned (bug#10351).
13195 2012-04-11 Chong Yidong <cyd@gnu.org>
13197 * startup.el (command-line): Remove support for long-obsolete
13198 variable font-lock-face-attributes.
13200 2012-04-11 Glenn Morris <rgm@gnu.org>
13202 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
13204 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
13206 * window.el (window--state-get-1): Obey window-point-insertion-type.
13208 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
13210 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
13211 to previous function when point is on the first character of a
13212 function. Take care of that in `narrow-to-defun' (bug#6157).
13214 2012-04-11 Glenn Morris <rgm@gnu.org>
13216 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
13217 not just file-errors.
13219 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
13220 (vc-bzr-sha1): Use internal sha1.
13222 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
13224 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
13226 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
13228 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
13229 that start in the middle of the line (bug#10496).
13231 2012-04-10 Dan Nicolaescu <dann@gnu.org>
13233 * battery.el (battery-linux-proc-acpi): Only one battery is
13234 discharged at a time, but that seems to confuse battery.el when
13235 computing `rate-type' for the battery not being discharged
13238 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
13240 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
13242 * international/quail.el: Use dolist and simplify.
13243 (quail-define-package, quail-update-keyboard-layout)
13244 (quail-define-rules): Use dolist.
13245 (quail-insert-kbd-layout, quail-get-translation): CSE.
13247 * tmm.el: Use dolist, remove left over hook.
13248 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
13250 (calendar-load-hook): Don't mess with it.
13252 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
13253 Use derived-mode-p. Run the diff asynchronously.
13255 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
13257 * obsolete/mouse-sel.el: Add an Obsolete-since header.
13259 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
13261 * misc.el: Display absolute path of loaded DLLs (bug#10424).
13262 (list-dynamic-libraries--loaded): New function.
13263 (list-dynamic-libraries--refresh): Use it.
13265 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
13267 * progmodes/python.el (python-fill-paragraph):
13268 Make python-fill-region in a multiline string work when font-lock is
13269 disabled (bug#7018).
13271 2012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
13273 * language/european.el (cp775): Add oem/legacy (en)coding on
13274 DOS/MS Windows for the Baltic languages. There are still plenty
13275 of texts written in this encoding/codepage (bug#6519).
13277 2012-04-10 Glenn Morris <rgm@gnu.org>
13279 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
13280 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
13282 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
13284 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
13285 next-line "n" and previous-line "p" in order to make recentf more
13286 consistent with ibuffer, dired or org-mode (bug#9387).
13288 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
13290 * image.el (put-image): Return the overlay created instead of the
13291 optional input string (bug#7834). Note that this may break code
13292 that is (for some reason or other) depending on `put-image'
13293 returning the string.
13295 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
13297 * simple.el (zap-to-char): Allow zapping using input methods
13300 * textmodes/fill.el (fill-region): Leave point and mark where they
13301 were before filling (bug#5399).
13303 2012-04-09 Glenn Morris <rgm@gnu.org>
13305 * version.el (emacs-bzr-get-version):
13306 Handle lightweight checkouts of local branches.
13308 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
13310 * international/characters.el: Recover lost case pairs. (Bug#11209)
13312 2012-04-09 Chong Yidong <cyd@gnu.org>
13314 * custom.el (custom-variable-p): Return nil for non-symbol
13315 arguments instead of signaling an error.
13316 (user-variable-p): Obsolete alias for custom-variable-p.
13318 * apropos.el (apropos-variable):
13319 * files-x.el (read-file-local-variable):
13320 * simple.el (set-variable):
13321 * woman.el (woman-mini-help):
13322 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
13324 2012-04-09 Glenn Morris <rgm@gnu.org>
13326 * startup.el (normal-top-level): Don't look for leim-list.el
13327 in places where it will not be found. (Bug#910)
13329 * international/mule-cmds.el (set-default-coding-systems):
13330 * files.el (normal-mode):
13331 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
13332 This function was removed with ucs-tables.el in 2008.
13334 2012-04-08 Eli Zaretskii <eliz@gnu.org>
13336 * textmodes/ispell.el (ispell-check-version): For hunspell, set
13337 ispell-encoding8-command to "-i", without a trailing space.
13338 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
13339 separate command-line arguments, to specify the encoding, since
13340 that's how hunspell expects it.
13342 2012-04-08 Glenn Morris <rgm@gnu.org>
13344 * loadup.el: Load bindings before cus-start.
13345 This reduces somewhat the number of "rogue" settings in emacs -Q.
13347 2012-04-07 Glenn Morris <rgm@gnu.org>
13349 * version.el (emacs-bzr-get-version): New function.
13350 (emacs-bzr-version): New variable.
13351 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
13352 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
13354 2012-04-07 Eli Zaretskii <eliz@gnu.org>
13356 * international/uni-bidi.el, international/uni-category.el:
13357 * international/uni-combining.el, international/uni-decimal.el:
13358 * international/uni-decomposition.el, international/uni-digit.el:
13359 * international/uni-lowercase.el, international/uni-mirrored.el:
13360 * international/uni-name.el, international/uni-numeric.el:
13361 * international/uni-titlecase.el, international/uni-uppercase.el:
13362 Update for Unicode 6.1.
13364 2012-04-07 Eli Zaretskii <eliz@gnu.org>
13366 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
13368 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
13370 * window.el (shrink-window): Mention the `window-min-height'
13371 variable in the doc string.
13373 2012-04-05 Bastien Guerry <bzg@altern.org>
13375 * color.el (color-lighten-name): Fix typo.
13377 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
13379 * server.el (server--on-display-p): New function.
13380 (server--on-display-p): Use it.
13382 2012-04-04 Gábor Vida <vidagabor@gmail.com> (tiny change)
13384 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
13387 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
13389 * comint.el (comint--common-quoted-suffix): Check string boundary
13390 before comparing (bug#11158).
13391 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
13393 2012-04-04 Chong Yidong <cyd@gnu.org>
13395 * minibuffer.el (completion-extra-properties): Doc fix.
13397 * subr.el (delayed-warnings-hook): Doc fix.
13399 2012-04-04 Daiki Ueno <ueno@unixuser.org>
13401 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
13402 selection (Bug#11159).
13403 (epa-insert-keys): Inform that the default public key will be
13404 exported if no key is selected.
13406 2012-04-04 Richard Stallman <rms@gnu.org>
13408 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
13410 2012-04-03 Chong Yidong <cyd@gnu.org>
13412 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
13413 mail-insert-file, not its obsolete alias mail-attach-file.
13415 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
13417 * notifications.el (notifications-notify): Fix docstring.
13419 2012-04-02 Glenn Morris <rgm@gnu.org>
13421 * emacs-lisp/authors.el (authors-aliases): Another addition.
13423 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
13425 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
13426 `tramp-compat-call-process' instead of `tramp-local-call-process'.
13427 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
13429 2012-04-01 Chong Yidong <cyd@gnu.org>
13431 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
13432 Handle root directory properly.
13433 (copy-directory): Caller changed.
13435 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
13436 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
13438 2012-03-31 Glenn Morris <rgm@gnu.org>
13440 * term/xterm.el (xterm-extra-capabilities): Doc fix.
13442 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
13444 * calendar/calendar.el (calendar-window-list)
13445 (calendar-hide-window): Restore. (Bug#11140)
13446 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
13448 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
13450 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13452 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
13453 Check if file is a symlink (Bug#10489).
13455 * files.el (copy-directory): Likewise.
13457 2012-03-30 Chong Yidong <cyd@gnu.org>
13459 * image.el (imagemagick-types-inhibit)
13460 (imagemagick-register-types): Doc fix.
13462 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13464 * textmodes/ispell.el (ispell-get-extended-character-mode):
13465 Disable extended-char-mode for hunspell. hunspell does not support it
13466 and treats ~word as ordinary words in pipe mode.
13468 2012-03-30 Glenn Morris <rgm@gnu.org>
13470 * tutorial.el (help-with-tutorial): Ensure local variables don't
13471 happen to make the buffer read-only. (Bug#11127)
13473 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
13475 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
13476 (perl-calculate-indent): Return `noindent' in strings.
13478 2012-03-28 Sam Steingold <sds@gnu.org>
13480 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
13481 instead of the broken adhockery which does not prevent calendar
13482 buffers from being displayed at random after exit.
13483 (calendar-window-list, calendar-hide-window): Remove the broken
13486 2012-03-28 Glenn Morris <rgm@gnu.org>
13488 * replace.el (query-replace-map): Doc fix.
13490 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
13492 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
13493 contents. (Bug#11109)
13495 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
13497 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
13499 (avl-tree--check, avl-tree--check-node): New funs.
13501 2012-03-27 Martin Rudalics <rudalics@gmx.at>
13503 * window.el (switch-to-visible-buffer): New option.
13504 (switch-to-prev-buffer, switch-to-next-buffer):
13505 Observe switch-to-visible-buffer. Make sure that checking for a window
13506 showing a buffer already is done on the same frame.
13508 2012-03-27 Glenn Morris <rgm@gnu.org>
13510 * startup.el (mail-host-address): Doc fix.
13512 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
13514 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
13515 than 197 variables.
13517 2012-03-26 Ami Fischman <ami@fischman.org>
13519 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
13521 2012-03-26 Glenn Morris <rgm@gnu.org>
13523 * files.el (save-buffers-kill-emacs): Doc fix.
13525 * startup.el (normal-top-level, command-line, command-line-1):
13526 Give them doc strings.
13528 2012-03-25 Eli Zaretskii <eliz@gnu.org>
13530 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
13531 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
13533 2012-03-25 Chong Yidong <cyd@gnu.org>
13535 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
13536 theme if it was previously enabled before (Bug#11031).
13538 * cus-theme.el (custom-theme-write-faces): Retrieve current face
13539 spec with custom-face-get-current-spec if its :shown-value is not
13540 determined yet (Bug#9337).
13541 (customize-create-theme, custom-theme-revert): Doc fixes.
13543 * button.el (button-at): Minor addition to docstring.
13545 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
13547 * vc/vc.el (vc-merge): Fix a prompt.
13549 2012-03-24 Chong Yidong <cyd@gnu.org>
13551 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
13554 * button.el (button-at): Minor addition to docstring.
13556 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
13558 * newcomment.el (comment-choose-indent): No space after BOL.
13560 2012-03-22 Sam Steingold <sds@gnu.org>
13562 * window.el (switch-to-prev-buffer): Revert last patch because the
13563 bug turned out to be an advertised feature (Elisp manual 28.14).
13565 2012-03-22 Glenn Morris <rgm@gnu.org>
13567 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
13568 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
13570 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
13572 * net/network-stream.el (network-stream-open-starttls): Make error
13573 message under Windows be less misleading.
13575 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
13577 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
13578 understands (bug#9942).
13580 2012-03-22 Chong Yidong <cyd@gnu.org>
13582 * simple.el (end-of-visible-line): Handle return value of
13583 next-single-property-change properly (Bug#9371).
13585 2012-03-22 Kenichi Handa <handa@m17n.org>
13587 * international/quail.el (quail-insert-kbd-layout): Fix previous
13588 change. To avoid unwanted bidi reordering, use
13589 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
13591 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
13593 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
13594 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
13595 (ruby-beginning-of-indent): Be more careful with the difference
13596 between word-boundary and symbol boundary.
13597 (ruby-mode-syntax-table): Make : a symbol constituent.
13599 2012-03-21 Andreas Politz <politza@fh-trier.de>
13601 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
13603 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
13605 * progmodes/etags.el (tags-completion-at-point-function):
13608 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
13610 2012-03-21 Sam Steingold <sds@gnu.org>
13612 * progmodes/etags.el (tags-completion-at-point-function):
13613 Avoid the error when point is inside the pattern.
13615 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
13617 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
13620 2012-03-21 Drew Adams <drew.adams@oracle.com>
13622 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
13624 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
13626 * ido.el (ido-set-current-directory, ido-read-internal)
13627 (ido-choose-completion-string, ido-completion-help): Handle nil
13628 value of ido-completion-buffer (Bug#11008).
13630 2012-03-21 Sam Steingold <sds@gnu.org>
13632 * window.el (switch-to-prev-buffer): Do not switch to a visible
13633 window previous buffer, just like with the frame previous buffers.
13635 2012-03-21 Chong Yidong <cyd@gnu.org>
13637 * faces.el (make-face, make-empty-face, copy-face):
13638 * face-remap.el (face-remap-add-relative, face-remap-set-base):
13641 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
13643 * wid-edit.el (widget-complete-field): Remove (bug#11051).
13644 (widget-complete): Remove broken use of it.
13646 2012-03-20 Chong Yidong <cyd@gnu.org>
13648 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
13649 Use string-width and truncate-string-width to handle arbitrary
13652 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
13654 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
13655 to draw rectangles, not squares. (Regression introduced by revno
13656 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
13658 2012-03-18 Chong Yidong <cyd@gnu.org>
13660 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
13661 it is not yet defined (for temacs).
13663 2012-03-18 Leo Liu <sdl.web@gmail.com>
13665 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
13668 2012-03-17 Eli Zaretskii <eliz@gnu.org>
13670 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
13671 (ispell-choices-win-default-height, ispell-silently-savep)
13672 (ispell-dictionary-alist, ispell-encoding8-command)
13673 (ispell-check-version, ispell-aspell-find-dictionary)
13674 (ispell-valid-dictionary-list, ispell-words-keyword)
13675 (ispell-get-word, ispell-internal-change-dictionary)
13676 (ispell-region, ispell-skip-region-list)
13677 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
13678 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
13679 (ispell-message-text-end, ispell-message)
13680 (ispell-buffer-local-parsing): Doc fix.
13682 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
13684 * htmlfontify.el: Add support for code block fontification for ODT
13685 export (Bug #9914).
13686 (hfy-optimisations): Define new option
13688 (hfy-fontify-buffer): Honor above setting.
13689 (hfy-begin-span, hfy-end-span): New routines factored out form
13690 `hfy-fontify-buffer'.
13691 (hfy-begin-span-handler, hfy-end-span-handler): New variables
13692 that permit insertion of custom tags.
13693 (hfy-fontify-buffer): Use above handlers.
13694 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
13695 (hfy-face-to-css): Re-defined to be a variable.
13696 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
13697 over multiple runs. This is made possible by having the caller let
13698 bind a special variable `hfy-user-sheet-assoc'.
13699 (htmlfontify-string): New defun.
13700 (hfy-compile-face-map): Make sure that the last char in the
13701 buffer is correctly fontified.
13702 (hfy-face-resolve-face): Whitespace only change.
13704 2012-03-17 Eli Zaretskii <eliz@gnu.org>
13706 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
13707 message more clear.
13709 2012-03-16 Leo Liu <sdl.web@gmail.com>
13711 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
13713 2012-03-16 Alan Mackenzie <acm@muc.de>
13715 Further optimize the handling of large macros.
13717 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
13718 limit to a call of `c-literal-limits'.
13719 (c-determine-+ve-limit): New function.
13720 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
13721 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
13722 In CASE 5B, restrict a search limit to 500.
13723 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
13725 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
13726 Restrict macro bounds to +-500 from after-change's BEG END.
13728 2012-03-16 Leo Liu <sdl.web@gmail.com>
13730 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
13732 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
13734 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
13735 `special-mode' setting of `buffer-read-only'. (Bug#11010)
13737 2012-03-16 Glenn Morris <rgm@gnu.org>
13739 * view.el (view-buffer, view-buffer-other-window)
13740 (view-buffer-other-frame): Doc fixes re special mode-class.
13742 * subr.el (eval-after-load): If named feature is provided not from
13743 a file, run after-load forms. (Bug#10946)
13745 * calendar/calendar.el (calendar-insert-at-column):
13746 Handle non-unit-width characters a bit better. (Bug#10978)
13748 2012-03-15 Chong Yidong <cyd@gnu.org>
13750 * emacs-lisp/ring.el (ring-extend): New function.
13751 (ring-insert+extend): Extend the ring correctly (Bug#11019).
13753 * comint.el (comint-read-input-ring)
13754 (comint-add-to-input-history): Grow comint-input-ring lazily.
13756 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
13758 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
13759 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
13761 * imenu.el: Fix multiple inheritance breakage (bug#9199).
13762 (imenu-add-to-menubar): Don't add a redundant index.
13763 (imenu-update-menubar): Handle a dynamically composed keymap.
13765 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
13767 * mail/sendmail.el (mail-encode-header):
13768 Bind rfc2047-encode-encoded-words to nil.
13770 2012-03-13 Glenn Morris <rgm@gnu.org>
13772 * calendar/calendar.el (calendar-string-spread):
13773 Handle non-unit-width characters a bit better. (Bug#10978)
13775 2012-03-13 Leo Liu <sdl.web@gmail.com>
13777 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
13778 directory and file as argument (Bug#10822).
13780 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
13782 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
13783 For dynamically generated code, follow $PC.
13784 (gdb-disassembly-handler-custom): Handle no function name case.
13786 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
13788 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
13789 * emulation/ws-mode.el (ws-query-replace):
13790 * sort.el (sort-regexp-fields):
13791 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
13793 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13795 * dabbrev.el: Fix cycle completion order (bug#10963).
13796 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
13797 (dabbrev-completion): Don't use an obarray; provide
13798 a cycle-sort-function.
13800 2012-03-12 Leo Liu <sdl.web@gmail.com>
13802 * simple.el (kill-new): Use equal-including-properties for comparison.
13803 (kill-do-not-save-duplicates): Doc fix.
13805 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13807 * dabbrev.el: Fix cycle completion (bug#10963).
13808 Use lexical binding and wrap to 80 columns.
13809 (dabbrev-completion): Delay computing the list of completions.
13811 2012-03-12 Kenichi Handa <handa@m17n.org>
13813 * international/quail.el (quail-insert-kbd-layout): Surround each
13814 row by LRO and PDF instead of inserting many LRMs. Pad the left
13815 and right of each non-spacing marks. Insert invisible space
13816 between lower and upper characters to prevent composition.
13818 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13820 * minibuffer.el (minibuffer-complete): Don't get confused when the
13821 function is run twice via different commands (bug#10958).
13822 (complete-with-action): Fix docstring.
13824 2012-03-12 Chong Yidong <cyd@gnu.org>
13826 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
13827 (nxml-completion-at-point-function): New function.
13828 (nxml-mode): Use it.
13829 (nxml-bind-meta-tab-to-complete-flag): Default to t.
13831 * emacs-lisp/package.el (package-unpack, package-unpack-single):
13832 Load generated autoloads file before byte compiling (Bug#10970).
13833 (package--make-autoloads-and-compile): New helper fun.
13835 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
13837 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
13839 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
13841 * autorevert.el (auto-revert-handler): Ensure, that
13842 file-readable-p is applied only for local files or in
13843 auto-revert-tail-mode.
13845 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
13847 * server.el (server-eval-at): Handle non-tcp connections.
13848 Decode result string.
13850 * server.el (server-msg-size): New constant.
13851 (server-reply-print): New function.
13852 (server-eval-and-print): Use it.
13853 (server-eval-at): Use server-quote-arg and server-unquote-arg.
13854 Handle -print-nonl.
13856 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
13858 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
13861 2012-03-11 Chong Yidong <cyd@gnu.org>
13863 * simple.el (goto-line): Doc fix (Bug#9938).
13865 * subr.el (save-window-excursion): Doc fix (Bug#9979).
13867 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
13868 when finished (Bug#10963).
13870 2012-03-11 Martin Rudalics <rudalics@gmx.at>
13872 * window.el (split-window-below): Fix bug in case where
13873 split-window-keep-point is nil (Bug#10971).
13875 2012-03-11 Juri Linkov <juri@jurta.org>
13877 * replace.el (replace-highlight): Set isearch-word to nil
13878 unconditionally. (Bug#10887)
13880 2012-03-10 Eli Zaretskii <eliz@gnu.org>
13882 * net/mairix.el (mairix-replace-invalid-chars): Rename from
13883 mairix-replace-illegal-chars; all callers changed. Don't remove
13884 ^, ~, and = characters: they are meaningful in mairix search specs.
13885 (mairix-widget-create-query): Add usage information about mairix
13886 search forms: negating words, searching for substrings, etc.
13888 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
13890 * international/fontset.el (font-encoding-alist): Add an entry for
13891 ksx1001 (Bug#5667).
13893 2012-03-10 Richard Stallman <rms@gnu.org>
13895 * mail/sendmail.el (mail-encode-header):
13896 Set rfc2047-encode-encoded-words.
13898 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
13900 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
13901 view buffer means not swapped.
13902 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
13903 (rmail-write-region-annotate): Error if real text has disappeared.
13905 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
13907 2012-03-10 Chong Yidong <cyd@gnu.org>
13909 * emulation/cua-rect.el (cua--init-rectangles):
13910 * emulation/cua-base.el (cua--init-keymaps):
13911 Add delete-forward-char to remappings (Bug#9666).
13913 2012-03-10 Martin Rudalics <rudalics@gmx.at>
13915 * speedbar.el (speedbar-unhighlight-one-tag-line):
13916 Avoid unhighlighting due to frame switching (Bug#10275).
13918 2012-03-10 Chong Yidong <cyd@gnu.org>
13920 * minibuffer.el (completion-in-region, completion-help-at-point):
13921 Give the completion field overlay a high priority (Bug#6830).
13923 * dired.el (dired-goto-file): Recognize absolute file name
13924 listings (Bug#7126).
13925 (dired-goto-file-1): New helper function.
13926 (dired-toggle-read-only): Inhibit warnings.
13928 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
13930 * net/dbus.el (dbus-property-handler): Return empty array if
13931 there are no properties.
13933 2012-03-09 Leo Liu <sdl.web@gmail.com>
13935 * savehist.el (savehist-printable): Stricter check for string
13938 2012-03-09 Eli Zaretskii <eliz@gnu.org>
13940 * mail/smtpmail.el (smtpmail-send-it):
13941 Bind coding-system-for-write to *-unix, so that FCC files are kept in
13944 2012-03-09 Glenn Morris <rgm@gnu.org>
13946 * files.el (dir-locals-find-file):
13947 Don't check result is regular, readable.
13948 (dir-locals-read-from-file): Demote errors.
13950 2012-03-08 Eli Zaretskii <eliz@gnu.org>
13952 * international/quail.el (quail-insert-kbd-layout):
13953 Insert invisible LRM characters before each character in a keyboard
13954 layout cell, to prevent their reordering by bidi display engine.
13955 For details, see the discussion in
13956 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
13958 2012-03-08 Alan Mackenzie <acm@muc.de>
13960 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
13961 the starting position; make it extend the marked region when
13962 invoked repeatedly - all under appropriate circumstances.
13963 Fixes bugs #5525, #10906.
13965 2012-03-08 Glenn Morris <rgm@gnu.org>
13967 * files.el (locate-dominating-file, dir-locals-find-file):
13968 Undo 2012-03-06 change.
13970 2012-03-07 Eli Zaretskii <eliz@gnu.org>
13972 * international/quail.el (quail-help):
13973 Force bidi-paragraph-direction be left-to-right. See discussion in
13974 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
13977 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
13979 Avoid superfluous registering of signals. (Bug#10807)
13981 * notifications.el (notifications-on-action-object)
13982 (notifications-on-close-object): New defvars.
13983 (notifications-on-action-signal, notifications-on-closed-signal):
13984 Unregister the signal if not needed any longer.
13985 (notifications-notify): Register `notifications-action-signal' or
13986 `notifications-closed-signal', if :on-action or :on-close has been
13987 passed as argument.
13989 2012-03-07 Chong Yidong <cyd@gnu.org>
13991 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
13994 2012-03-06 Glenn Morris <rgm@gnu.org>
13996 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
13997 (x-disown-selection-internal, x-get-selection-internal):
13998 Doc fix (add arglist signatures). (Bug#10783)
14000 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
14002 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
14003 Handle breakpoints with no "type".
14005 2012-03-06 Glenn Morris <rgm@gnu.org>
14007 * files.el (locate-dominating-file): Add optional predicate argument.
14008 (dir-locals-find-file): Make use of above change.
14010 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
14012 * info.el (Info-insert-dir): Also try "dir.gz".
14014 2012-03-06 Glenn Morris <rgm@gnu.org>
14016 * files.el (dir-locals-find-file):
14017 Ignore non-readable or non-regular files. (Bug#10928)
14019 * files.el (locate-dominating-file): Doc fix.
14021 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
14023 * calendar/calendar.el (calendar-set-mode-line):
14024 `getenv' returns a string. (Bug#10951)
14026 2012-03-05 Leo Liu <sdl.web@gmail.com>
14028 * simple.el (backward-delete-char-untabify): Constrain point to
14031 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
14033 2012-03-05 Chong Yidong <cyd@gnu.org>
14035 * simple.el (count-words): If called from Lisp, return the word
14036 count, for symmetry with `count-lines'. Arglist changed.
14037 (count-words--message): Args changed. Consolidate counting code
14038 from count-words and count-words-region.
14039 (count-words-region): Caller changed.
14040 (count-lines-region): Make it an obsolete alias.
14042 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
14044 * saveplace.el (save-place-to-alist)
14045 (save-place-ignore-files-regexp): Allow value nil to disable this
14048 2012-03-04 Chong Yidong <cyd@gnu.org>
14050 * faces.el (face-spec-reset-face): For the default face, reset the
14051 attributes to default values (Bug#10748).
14053 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
14055 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
14056 previous patch: Check `message-send-mail-function', and not the
14057 default function (bug#10897).
14059 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
14061 * notifications.el (notifications-on-action-signal)
14062 (notifications-on-closed-signal): Check for unique service name of
14063 incoming event. Fix error in removing entry.
14064 (top): Register for signals with wildcard service name.
14065 (notifications-notify): Use daemon unique service name for map entries.
14067 2012-03-04 Chong Yidong <cyd@gnu.org>
14069 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
14071 2012-03-04 Glenn Morris <rgm@gnu.org>
14073 * abbrev.el (copy-abbrev-table, abbrev-table-p)
14074 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
14075 (expand-abbrev, define-abbrev-table): Doc fixes.
14077 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
14079 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
14080 `message-default-send-mail-function' and not `send-mail-function'
14081 when doing the prompting for `sendmail-query-once' before sending
14082 in Message buffers (bug#10897).
14084 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
14085 This is inconsistent with all the other stream functions, which leave
14086 the setting up to the higher levels (if so wanted) (bug#10931).
14088 2012-03-02 Alan Mackenzie <acm@muc.de>
14090 Depessimize the handling of very large macros.
14092 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
14093 (c-macro-cache-syntactic): New variables to implement a one
14094 element macro cache.
14095 (c-invalidate-macro-cache): New function.
14096 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
14097 Adapt to use the new cache.
14098 (c-state-safe-place): Use better the cache of safe positions.
14099 (c-state-semi-nonlit-pos-cache)
14100 (c-state-semi-nonlit-pos-cache-limit):
14101 New variables for...
14102 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
14103 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
14104 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
14105 Use c-state-semi-safe-place.
14107 * progmodes/cc-langs.el (c-get-state-before-change-functions):
14108 Add c-invalidate-macro-cache to the C, C++, Obj entries.
14110 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
14112 * jka-compr.el (jka-compr-call-process):
14113 Apply `file-accessible-directory-p' only when the default directory is
14116 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
14118 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
14119 access of FILE2, if FILE1 does not exist.
14121 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
14122 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
14124 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
14125 Add "PAGER=" to `process-environment'.
14127 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
14129 * progmodes/sql.el: Bug fix
14130 (sql-get-login-ext): Save login values in globals.
14131 (sql-get-login): Use new version of `sql-get-login-ext'.
14132 (sql-interactive-mode): Set global `sql-connection' to nil.
14133 (sql-connect): Set global values for connection.
14134 (sql-product-interactive): Save global values as buffer local.
14136 2012-02-29 Leo Liu <sdl.web@gmail.com>
14138 * abbrev.el (define-abbrevs): Reset sys to nil.
14140 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14142 * files.el (file-equal-p): Rename from `files-equal-p'.
14143 Return nil when one or both files don't exist.
14144 (file-subdir-of-p): Now only top directory must exists,
14145 return nil if it doesn't.
14146 (copy-directory): No need to test with `file-subdir-of-p' after
14148 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
14151 2012-02-28 Glenn Morris <rgm@gnu.org>
14153 * shell.el (shell-mode):
14154 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
14155 * play/landmark.el (landmark-font-lock-face-O):
14156 * play/handwrite.el (handwrite):
14157 * play/gomoku.el (gomoku-O):
14158 * net/browse-url.el (browse-url-browser-display):
14159 * international/mule.el (define-charset):
14160 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
14161 * filesets.el (filesets-find-file-delay):
14162 * eshell/em-xtra.el (eshell-xtra):
14163 * eshell/em-unix.el (eshell-grep):
14164 * emulation/viper.el (viper-mode):
14165 * emacs-lisp/regexp-opt.el (regexp-opt-group):
14166 * emacs-lisp/easymenu.el (easy-menu-define):
14167 * calendar/timeclock.el (timeclock-use-display-time):
14169 * bookmark.el (bookmark-save-flag):
14170 Doc fix (standardize possessive apostrophe usage).
14172 2012-02-27 Chong Yidong <cyd@gnu.org>
14174 * emulation/viper-cmd.el (viper-intercept-ESC-key):
14175 Fix key-binding lookup for ESC key (Bug#9146).
14177 * font-lock.el (font-lock-specified-p): Rename from
14178 font-lock-spec-present. Callers changed.
14180 2012-02-27 Daniel Hackney <dan@haxney.org>
14182 * emacs-lisp/package.el (package-compute-transaction):
14183 Handle holding a package version to t in package-load-list.
14185 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
14187 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
14188 (tramp-get-inode, tramp-get-device): Use cached values.
14190 2012-02-26 Alan Mackenzie <acm@muc.de>
14192 Check there is a font-lock specification before doing initial
14195 * font-core.el (font-lock-mode): Move the conditional from
14196 :after-hook to font-lock-initial-fontify.
14197 (font-lock-default-function): Move the check for a specification
14198 to font-lock-spec-present.
14200 * font-lock.el (font-lock-initial-fontify): Call ...
14201 (font-lock-spec-present): New function.
14203 2012-02-26 Jim Blandy <jimb@red-bean.com>
14205 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
14206 (gdb-send): Apply it to the operand of the '-interpreter-exec
14207 console' command, so that we can pass arguments with (say) quotes
14208 in them. Store exact string sent in gdb-debug-log (Bug#10765).
14210 2012-02-26 Chong Yidong <cyd@gnu.org>
14212 * help-fns.el (describe-function-1): Clarify description of
14213 remapping (Bug#10844).
14215 * files.el (files-equal-p): Doc fix.
14216 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
14217 and quit the loop once a mismatch is found.
14219 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
14221 * bs.el (bs--show-with-configuration): Don't throw an error
14222 if the window cannot be split; otherwise, subsequent calls to
14223 bs-show fail, restoring a stale window config. (Bug#10882)
14225 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
14227 * term/ns-win.el (global-map): Bind ns-drag-file to
14228 ns-find-file (Bug#5855, Bug#10050).
14230 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
14232 * calendar/parse-time.el (parse-time-string): Allow extractor to
14235 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
14237 * net/tramp.el (tramp-file-name-for-operation):
14238 Add `files-equal-p' and `file-subdir-of-p'.
14240 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
14241 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
14242 Add COPY-CONTENTS argument.
14244 2012-02-25 Chong Yidong <cyd@gnu.org>
14246 Add custom groups for VC backends, for consistency with vc-bzr.
14248 * vc/vc-arch.el (vc-arch):
14249 * vc/vc-cvs.el (vc-cvs):
14250 * vc/vc-git.el (vc-git):
14251 * vc/vc-hg.el (vc-hg):
14252 * vc/vc-mtn.el (vc-mtn):
14253 * vc/vc-rcs.el (vc-rcs):
14254 * vc/vc-sccs.el (vc-sccs):
14255 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
14256 All relevant defcustoms reassigned.
14258 2012-02-25 Chong Yidong <cyd@gnu.org>
14260 * newcomment.el (comment-styles): Add autoload (Bug#10868).
14262 * term/x-win.el (x-initialize-window-system): Reduce default for
14263 x-selection-timeout to 5 seconds (Bug#8869).
14265 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14267 * files.el (files-equal-p, file-subdir-of-p): New functions.
14268 (copy-directory): Error when trying to copy a directory on itself.
14269 Add missing copy-contents arg to tramp handler.
14270 * dired-aux.el (dired-copy-file-recursive): Same.
14271 (dired-create-files): Modify destination when source is equal to
14272 dest when copying files.
14273 Return also when dest is a subdir of source. (Bug#10489)
14275 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
14277 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
14280 2012-02-23 Alan Mackenzie <acm@muc.de>
14282 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
14283 parameter "after-hook:" to allow the expansion to run code after
14284 the execution of the mode hooks.
14286 * font-lock.el (font-lock-initial-fontify): New function extracted
14287 from font-lock-mode-internal.
14289 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
14292 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
14294 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
14295 (completion--cache-all-sorted-completions): New function.
14296 (completion-all-sorted-completions): Use it.
14297 (completion--do-completion, minibuffer-force-complete):
14298 Use it to re-instate the flush hook.
14300 * icomplete.el (icomplete-completions): Replace last fix with a better
14303 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
14305 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
14306 when it might call us back infinitely (bug#10797).
14308 2012-02-23 Glenn Morris <rgm@gnu.org>
14310 * minibuffer.el (completion-category-overrides): Doc fix.
14312 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
14314 * minibuffer.el (completion-table-with-context): Fix inf-loop.
14315 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
14317 2012-02-23 Glenn Morris <rgm@gnu.org>
14319 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
14320 (authors-obsolete-files-regexps, authors-ignored-files)
14321 (authors-ambiguous-files, authors-renamed-files-alist):
14324 2012-02-23 Juri Linkov <juri@jurta.org>
14326 * isearch.el (isearch-occur): Sync interactive spec with occur's
14327 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
14329 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
14331 2012-02-22 Juri Linkov <juri@jurta.org>
14333 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
14334 (ucs-insert): Doc fix. Check for hex digits in the string.
14335 Don't display `nil' in the error message. (Bug#10857)
14337 2012-02-22 Alan Mackenzie <acm@muc.de>
14339 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
14341 2012-02-22 Glenn Morris <rgm@gnu.org>
14343 * ffap.el (ffap-c-path):
14344 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
14346 2012-02-22 Chong Yidong <cyd@gnu.org>
14348 * custom.el (load-theme): Doc fix.
14350 2012-02-22 Glenn Morris <rgm@gnu.org>
14352 * dired-x.el (dired-guess-shell-alist-default):
14353 Remove escape sequences from nroff output. (Bug#172)
14355 2012-02-21 Glenn Morris <rgm@gnu.org>
14357 * vc/emerge.el (emerge-defvar-local):
14358 Set `permanent-local' property rather than unused `preserved'.
14360 * textmodes/picture.el (picture-delete-char): New alias.
14361 (picture-mode-map): Use it. (Bug#10860)
14362 (picture-mode): Doc fix.
14364 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
14366 * newcomment.el (uncomment-region-default): Remove unused binding.
14368 2012-02-21 Glenn Morris <rgm@gnu.org>
14370 * textmodes/picture.el (picture-motion, picture-motion-reverse)
14371 (picture-self-insert, picture-tab-chars): Doc fix.
14372 (picture-mode-map): Fix C-a, C-e.
14374 2012-02-20 Glenn Morris <rgm@gnu.org>
14376 * emacs-lisp/authors.el (authors-aliases): Add another entry.
14378 2012-02-20 Leo Liu <sdl.web@gmail.com>
14380 * icomplete.el (icomplete-completions): Check FROM arg before
14381 passing to substring (Bug#10850).
14383 2012-02-19 Chong Yidong <cyd@gnu.org>
14385 * comint.el: Require ansi-color.
14386 (comint-output-filter-functions): Add ansi-color-process-output.
14388 * ansi-color.el: Don't set comint-output-filter-functions; it is
14389 now in the initial value defined in comint.el.
14390 (ansi-color-apply-face-function): New variable.
14391 (ansi-color-apply-on-region): Use it.
14392 (ansi-color-apply-overlay-face): New function.
14394 * shell.el (shell): No need to require ansi-color.
14395 (shell-mode): Use ansi-color-apply-face-function to highlight
14396 color escapes using font-lock-face property (Bug#10835).
14398 2012-02-19 Chong Yidong <cyd@gnu.org>
14400 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
14401 mode-line formats (Bug#10839).
14403 2012-02-18 Glenn Morris <rgm@gnu.org>
14405 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
14407 * mail/undigest.el (unforward-rmail-message): Doc fix.
14409 * saveplace.el (save-place-ignore-files-regexp): Add :version.
14411 2012-02-18 Eli Zaretskii <eliz@gnu.org>
14413 * international/characters.el (script-list): Sync with the latest
14414 Unicode Character Database.
14416 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
14418 * international/titdic-cnv.el: Remove duplicate coding tag.
14419 * language/cham.el: Likewise.
14420 * language/tai-viet.el: Likewise.
14422 2012-02-18 Glenn Morris <rgm@gnu.org>
14424 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
14425 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
14426 (calendar-bahai-all-holidays-flag, calendar-other-dates):
14427 * calendar/diary-lib.el (diary-abbreviated-year-flag):
14428 * calendar/holidays.el (holiday-bahai-holidays)
14429 (calendar-holidays, list-holidays):
14430 Use utf-8 Bahá'í in doc-strings, menus, etc.
14432 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
14434 * saveplace.el (save-place-ignore-files-regexp): New variable
14435 allowing for excluding files from saving their location of point.
14436 The default value matches the temporary commit message editing
14437 files from Git, SVN, Bazaar, and Mercurial.
14438 (save-place-to-alist): Use it.
14440 2012-02-17 Lawrence Mitchell <wence@gmx.li>
14441 Stefan Monnier <monnier@iro.umontreal.ca>
14443 * newcomment.el (uncomment-region-default): Don't leave extra space
14444 when an arg is provided (bug#8150).
14446 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
14448 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
14450 2012-02-17 Glenn Morris <rgm@gnu.org>
14452 * net/socks.el: Require network-stream. (Bug#10599)
14454 2012-02-17 Kenichi Handa <handa@m17n.org>
14456 * international/charprop.el:
14457 * international/uni-name.el:
14458 * international/uni-old-name.el:
14459 * international/uni-comment.el: Regenerate.
14461 2012-02-16 Glenn Morris <rgm@gnu.org>
14463 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
14464 Interactively in calendar buffer, give an error if not on a date.
14466 2012-02-15 Glenn Morris <rgm@gnu.org>
14468 * shell.el (shell-delimiter-argument-list):
14469 Revert 2011-02-17 change. (Bug#8027)
14471 2012-02-15 Chong Yidong <cyd@gnu.org>
14473 * minibuffer.el (completion-at-point-functions): Doc fix.
14475 * custom.el (defcustom): Doc fix; note use of defvar.
14477 2012-02-15 Glenn Morris <rgm@gnu.org>
14479 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
14482 2012-02-14 Glenn Morris <rgm@gnu.org>
14484 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
14486 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
14488 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
14489 way the ports list is computed.
14490 (smtpmail-query-smtp-server): Prompt the user for a port number if
14491 we can't connect to any of the standard ports (bug#10810).
14493 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
14495 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
14497 2012-02-13 Glenn Morris <rgm@gnu.org>
14499 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
14501 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
14503 * net/gnutls.el (gnutls-trustfiles): New variable.
14504 (gnutls-negotiate): Use it.
14506 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
14508 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
14509 does its stuff if Gnus is running.
14511 2012-02-13 Alan Mackenzie <acm@muc.de>
14513 Fix a loop in c-set-fl-decl-start.
14515 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
14516 c-backward-syntactic-ws actually moves backwards.
14518 2012-02-13 Leo Liu <sdl.web@gmail.com>
14520 * net/rcirc.el (rcirc-markup-attributes): Move point to the
14521 beginning so that all \C-o chars are removed.
14523 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
14525 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
14527 2012-02-12 Alan Mackenzie <acm@muc.de>
14529 Fix infinite loop with long macros.
14530 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
14532 2012-02-12 Chong Yidong <cyd@gnu.org>
14534 * window.el (display-buffer): Doc fix (Bug#10785).
14536 2012-02-12 Glenn Morris <rgm@gnu.org>
14538 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
14539 (x-disown-selection-internal, x-get-selection-internal):
14540 Sync docs with the xselect.c versions.
14542 * allout-widgets.el: Add missing license notice.
14544 2012-02-11 Glenn Morris <rgm@gnu.org>
14546 * select.el (x-get-selection-internal, x-own-selection-internal)
14547 (x-disown-selection-internal):
14548 * x-dnd.el (x-get-selection-internal): Update declarations.
14550 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
14552 * window.el (window-sides-slots):
14553 * tool-bar.el (tool-bar-position):
14554 * term/xterm.el (xterm-extra-capabilities):
14555 * ses.el (ses-self-reference-early-detection):
14556 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
14557 (verilog-auto-wire-type)
14558 (verilog-auto-delete-trailing-whitespace)
14559 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
14560 (verilog-auto-tieoff-declaration):
14561 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
14562 (sql-oracle-statement-starters, sql-oracle-scan-on):
14563 * progmodes/prolog.el (prolog-align-comments-flag)
14564 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
14565 (prolog-left-indent-regexp, prolog-paren-indent-p)
14566 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
14567 (prolog-types, prolog-mode-specificators)
14568 (prolog-determinism-specificators, prolog-directives)
14569 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
14570 (prolog-electric-dot-flag)
14571 (prolog-electric-dot-full-predicate-template)
14572 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
14573 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
14574 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
14575 (prolog-program-switches, prolog-prompt-regexp)
14576 (prolog-debug-on-string, prolog-debug-off-string)
14577 (prolog-trace-on-string, prolog-trace-off-string)
14578 (prolog-zip-on-string, prolog-zip-off-string)
14579 (prolog-use-standard-consult-compile-method-flag)
14580 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
14581 (prolog-imenu-max-lines, prolog-info-predicate-index)
14582 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
14583 (prolog-char-quote-workaround):
14584 * progmodes/cc-vars.el (c-defun-tactic):
14585 * net/tramp.el (tramp-encoding-command-interactive)
14586 (tramp-local-end-of-line):
14587 * net/soap-client.el (soap-client):
14588 * net/netrc.el (netrc-file):
14589 * net/gnutls.el (gnutls):
14590 * minibuffer.el (completion-category-overrides)
14591 (completion-cycle-threshold)
14592 (completion-pcm-complete-word-inserts-delimiters):
14593 * man.el (Man-name-local-regexp):
14594 * mail/feedmail.el (feedmail-display-full-frame):
14595 * international/characters.el (glyphless-char-display-control):
14596 * eshell/em-ls.el (eshell-ls-date-format):
14597 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
14598 (lisp-lambda-list-keyword-parameter-indentation)
14599 (lisp-lambda-list-keyword-parameter-alignment):
14600 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
14601 * dired-x.el (dired-omit-verbose):
14602 * cus-theme.el (custom-theme-allow-multiple-selections):
14603 * calc/calc.el (calc-highlight-selections-with-faces)
14604 (calc-lu-field-reference, calc-lu-power-reference)
14605 (calc-note-threshold):
14606 * battery.el (battery-mode-line-limit):
14607 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
14608 (archive-7z-update):
14609 * allout.el (allout-prefixed-keybindings)
14610 (allout-unprefixed-keybindings)
14611 (allout-inhibit-auto-fill-on-headline)
14612 (allout-flattened-numbering-abbreviation):
14613 * allout-widgets.el (allout-widgets-auto-activation)
14614 (allout-widgets-icons-dark-subdir)
14615 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
14616 (allout-widgets-theme-dark-background)
14617 (allout-widgets-theme-light-background)
14618 (allout-widgets-item-image-properties-emacs)
14619 (allout-widgets-item-image-properties-xemacs)
14620 (allout-widgets-run-unit-tests-on-load)
14621 (allout-widgets-time-decoration-activity)
14622 (allout-widgets-hook-error-post-time)
14623 (allout-widgets-track-decoration):
14624 Add missing :version tags to new defcustoms and defgroups.
14626 * progmodes/sql.el (sql-ansi-statement-starters)
14627 (sql-oracle-statement-starters): Add custom type.
14629 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
14630 (prolog-system-version): Give it a type.
14632 2012-02-11 Eli Zaretskii <eliz@gnu.org>
14634 * term/pc-win.el (x-select-text, x-selection-owner-p)
14635 (x-own-selection-internal, x-disown-selection-internal)
14636 (x-get-selection-internal): Sync doc strings and argument lists
14637 with xselect.c, common-win.el and x-win.el. (Bug#10783)
14639 2012-02-11 Leo Liu <sdl.web@gmail.com>
14641 * progmodes/python.el (python-end-of-statement): Fix infinite
14644 2012-02-10 Glenn Morris <rgm@gnu.org>
14646 * international/mule-cmds.el (unify-8859-on-encoding-mode)
14647 (unify-8859-on-decoding-mode): Properly mark as obsolete.
14649 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
14651 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
14652 about SMTP before checking the From header.
14654 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
14655 into own function for reuse by emacsbug.el.
14657 2012-02-10 Leo Liu <sdl.web@gmail.com>
14659 * subr.el (condition-case-unless-debug): Rename from
14660 condition-case-no-debug. All callers changed.
14661 (with-demoted-errors): Fix caller.
14663 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
14664 * nxml/rng-valid.el (rng-do-some-validation):
14665 * emacs-lisp/package.el (package-refresh-contents)
14666 (package-menu-execute):
14667 * desktop.el (desktop-create-buffer):
14668 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
14670 2012-02-10 Glenn Morris <rgm@gnu.org>
14672 * textmodes/bibtex.el:
14673 Add missing :version tags for new/changed defcustoms.
14675 * files.el (remote-file-name-inhibit-cache): Doc fixes.
14677 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
14679 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
14680 (smtpmail-via-smtp): Use it, or fall back on the From address.
14681 (smtpmail-send-it): Ditto.
14683 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
14685 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
14686 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
14687 (byte-compile-tmp-var): New const.
14688 (byte-compile-defvar): Use it to minimize .elc size.
14689 Just use `defvar' rather than simulate it (bug#10761).
14691 2012-02-09 Glenn Morris <rgm@gnu.org>
14693 * files.el (rename-uniquely): Doc fix. (Bug#3806)
14695 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
14698 * progmodes/compile.el (compilation-error-screen-columns)
14699 (compilation-first-column, compilation-filter-start): Doc fixes.
14701 * vc/log-view.el (log-view-toggle-entry-display):
14702 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
14704 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
14705 (report-emacs-bug-can-use-xdg-email):
14706 (report-emacs-bug-insert-to-mailer): Doc fixes.
14707 (report-emacs-bug): Message fix.
14709 * net/browse-url.el (browse-url-can-use-xdg-open)
14710 (browse-url-xdg-open): Doc fixes.
14712 * electric.el (electric-indent-mode, electric-pair-mode)
14713 (electric-layout-rules, electric-layout-mode): Doc fixes.
14714 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
14716 2012-02-08 Martin Rudalics <rudalics@gmx.at>
14718 * server.el (server-unselect-display): Don't inadvertently kill
14719 the current buffer. (Bug#10729)
14721 2012-02-08 Glenn Morris <rgm@gnu.org>
14723 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
14724 (sql-list-table): Doc fixes.
14726 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
14727 Comment out (does nothing).
14729 * completion.el (dynamic-completion-mode):
14730 * dirtrack.el (dirtrack-debug-mode):
14731 * electric.el (electric-layout-mode):
14732 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
14733 * face-remap.el (text-scale-mode, buffer-face-mode):
14734 * iimage.el (iimage-mode):
14735 * image-mode.el (image-transform-mode):
14736 * minibuffer.el (completion-in-region-mode):
14737 * scroll-lock.el (scroll-lock-mode):
14738 * simple.el (next-error-follow-minor-mode):
14739 * tar-mode.el (tar-subfile-mode):
14740 * tooltip.el (tooltip-mode):
14741 * vcursor.el (vcursor-use-vcursor-map):
14742 * wid-browse.el (widget-minor-mode):
14743 * emulation/tpu-edt.el (tpu-edt-mode):
14744 * emulation/tpu-extras.el (tpu-cursor-free-mode):
14745 * international/iso-ascii.el (iso-ascii-mode):
14746 * language/thai-util.el (thai-word-mode):
14747 * mail/supercite.el (sc-minor-mode):
14748 * net/goto-addr.el (goto-address-mode):
14749 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
14750 * progmodes/cwarn.el (cwarn-mode):
14751 * progmodes/flymake.el (flymake-mode):
14752 * progmodes/glasses.el (glasses-mode):
14753 * progmodes/hideshow.el (hs-minor-mode):
14754 * progmodes/pascal.el (pascal-outline-mode):
14755 * textmodes/enriched.el (enriched-mode):
14756 * vc/smerge-mode.el (smerge-mode):
14757 Doc fixes (minor mode argument).
14759 2012-02-07 Eli Zaretskii <eliz@gnu.org>
14761 * ls-lisp.el (ls-lisp-sanitize): New function.
14762 (ls-lisp-insert-directory): Use it to fix or remove any elements
14763 in file-alist with missing attributes. (Bug#4673)
14765 2012-02-07 Alan Mackenzie <acm@muc.de>
14767 Fix spurious recognition of c-in-knr-argdecl.
14769 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
14770 putative K&R region.
14772 2012-02-07 Alan Mackenzie <acm@muc.de>
14774 * progmodes/cc-engine.el (c-forward-objc-directive):
14775 Prevent looping in "#pragma mark @implementation".
14777 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
14779 * notifications.el (notifications-on-closed-signal): Make `reason'
14780 optional. (Bug#10744)
14782 2012-02-07 Glenn Morris <rgm@gnu.org>
14784 * emacs-lisp/easy-mmode.el (define-minor-mode):
14785 Doc fixes for the macro and the mode it defines.
14787 * image.el (imagemagick-types-inhibit): Doc fix.
14789 * cus-start.el (imagemagick-render-type): Add it.
14791 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
14793 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
14794 Set the default at load time, too, so that `font-lock-fontify-buffer'
14795 can be called without setting up the entire mode first. This fixes
14796 a bug in `mm-inline-text' with C MIME parts.
14798 2012-02-06 Chong Yidong <cyd@gnu.org>
14800 * simple.el (list-processes--refresh): Delete exited processes
14803 * comint.el (comint-next-prompt): next-single-char-property-change
14804 and prev-single-char-property-change never return nil (Bug#8657).
14806 * custom.el (defcustom): Doc fix (Bug#9711).
14808 2012-02-05 Chong Yidong <cyd@gnu.org>
14810 * cus-edit.el (custom-variable-reset-backup): Quote the value
14811 before storing it in the customized-value property (Bug#6712).
14812 (custom-display): Add a customization type tag.
14813 (custom-buffer-create-internal): Improve tooltip message.
14815 * wid-edit.el (widget-field-value-get): New optional arg to
14816 suppress trailing whitespace truncation.
14817 (character): Use it (Bug#2689).
14819 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
14821 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
14822 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
14824 2012-02-05 Chong Yidong <cyd@gnu.org>
14826 * cus-edit.el (custom-variable-value-create): For mismatched
14827 types, show the current value (Bug#7600).
14829 * custom.el (defcustom): Doc fix.
14831 2012-02-05 Glenn Morris <rgm@gnu.org>
14833 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
14835 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
14837 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
14838 (pp-buffer): Use `ignore-errors', `looking-at-p'.
14839 (pp-last-sexp): Use `looking-at-p'.
14841 2012-02-04 Glenn Morris <rgm@gnu.org>
14843 * files.el (revert-buffer):
14844 Doc fix (mention revert-buffer-in-progress-p).
14846 * emacs-lisp/ert-x.el (ert-simulate-command):
14847 Check deferred-action-list (which is obsolete) is bound.
14849 * subr.el (with-wrapper-hook): Doc fixes.
14851 * simple.el (filter-buffer-substring-functions)
14852 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
14854 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
14856 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
14857 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
14859 2012-02-04 Leo Liu <sdl.web@gmail.com>
14861 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
14863 2012-02-04 Glenn Morris <rgm@gnu.org>
14865 * image.el (image-extension-data): Add obsolete alias.
14867 * isearch.el (isearch-update): Doc fix.
14869 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
14871 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
14873 2012-02-03 Glenn Morris <rgm@gnu.org>
14875 * image.el (image-animated-p): Doc fix. Use image-animated-types.
14876 (image-animate-timeout): Doc fix.
14878 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
14880 2012-02-02 Glenn Morris <rgm@gnu.org>
14882 * server.el (server-auth-dir): Doc fix.
14883 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
14885 * subr.el (run-mode-hooks): Doc fix.
14887 2012-02-02 Juri Linkov <juri@jurta.org>
14889 * image-mode.el (image-toggle-display-image): Remove tautological
14890 `major-mode' from the `derived-mode-p' test.
14892 2012-02-02 Kenichi Handa <handa@m17n.org>
14894 * composite.el (compose-region): Cancel previous change.
14896 2012-02-02 Kenichi Handa <handa@m17n.org>
14898 * composite.el (compose-region, compose-string): Signal error for
14899 a null string component (Bug#6988).
14901 2012-02-01 Chong Yidong <cyd@gnu.org>
14903 * view.el (view-buffer-other-window, view-buffer-other-frame):
14904 Handle special modes like view-buffer (Bug#10650).
14905 (view-buffer): Simplify.
14907 * frame.el (set-frame-font): Tweak meaning of third argument.
14909 * dynamic-setting.el (font-setting-change-default-font):
14910 Use set-frame-font (Bug#9982).
14912 2012-02-01 Glenn Morris <rgm@gnu.org>
14914 * progmodes/compile.el (compilation-internal-error-properties):
14915 Respect compilation-first-column in the "*compilation*" buffer.
14917 * emacs-lisp/easy-mmode.el (define-minor-mode):
14918 Relax :variable's test for a named function.
14920 2012-01-31 Alan Mackenzie <acm@muc.de>
14922 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
14925 2012-01-31 Chong Yidong <cyd@gnu.org>
14927 * frame.el (set-frame-font): New arg ALL-FRAMES.
14929 * menu-bar.el (menu-set-font): Use set-frame-font.
14931 * faces.el (face-spec-reset-face): Don't apply unspecified
14932 attribute values to the default face.
14934 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
14936 * progmodes/cwarn.el (cwarn): Remove dead link.
14937 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
14938 Remove * from defcustom docstrings.
14939 (turn-on-cwarn-mode): Make obsolete.
14940 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
14941 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
14943 2012-01-31 Glenn Morris <rgm@gnu.org>
14945 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
14946 Fix :variable handling of mode a symbol not equal to modefun.
14947 Allow named functions to be used as the cdr of :variable.
14949 2012-01-30 Glenn Morris <rgm@gnu.org>
14951 * emacs-lisp/authors.el (authors-fixed-entries):
14952 Remove reference to deleted file rnewspost.el.
14954 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
14956 * window.el (window-with-parameter): Remove unused variable `windows'.
14957 (window--side-check): Remove unused variable `code'.
14958 (window--resize-siblings): Remove unused variable `first'.
14959 (adjust-window-trailing-edge): Remove unused variable `failed'.
14960 (window-deletable-p, window--delete): Remove unused variable `buffer'.
14961 Use `let', not `let*'.
14962 (balance-windows-2): Remove unused variable `found'.
14963 (window--state-put-2): Remove unused variable `splits'.
14964 (window-state-put): Remove unused variable `selected'.
14965 (same-window-p): Use `string-match-p'.
14966 (display-buffer-assq-regexp): Remove unused variable `value'.
14967 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
14968 Mark argument ALIST as ignored.
14969 (pop-to-buffer): Remove unused variable `old-window'.
14971 2012-01-29 Eli Zaretskii <eliz@gnu.org>
14973 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
14974 and .lzma compressed files.
14976 2012-01-29 Chong Yidong <cyd@gnu.org>
14978 * frame.el (window-system-default-frame-alist): Doc fix.
14980 * dynamic-setting.el (font-setting-change-default-font): Don't
14981 change the default face if SET-FONT argument is non-nil (Bug#9982).
14983 2012-01-29 Samuel Bronson <naesten@gmail.com>
14985 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
14987 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
14989 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
14990 breakpoints in files outside current directory (Bug#6098).
14992 2012-01-29 Chong Yidong <cyd@gnu.org>
14994 * progmodes/python.el: Require ansi-color at top-level.
14996 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
14997 Define and use in Emacs Lisp mode (Bug#9360).
14998 (lisp-mode-abbrev-table): Add doc.
14999 (lisp-mode-variables): Don't set local-abbrev-table.
15000 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
15002 2012-01-28 Roland Winkler <winkler@gnu.org>
15004 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
15006 2012-01-28 Roland Winkler <winkler@gnu.org>
15008 * textmodes/bibtex.el (bibtex-entry-alist): New function.
15009 (bibtex-set-dialect): Use it. Either set global values of
15010 dialect-dependent variables or bind these variables buffer-locally
15012 (bibtex-mode): Call bibtex-set-dialect via
15013 hack-local-variables-hook.
15014 (bibtex-dialect): Update docstring.
15015 Add safe-local-variable predicate.
15016 (bibtex-entry-alist, bibtex-field-alist): Initialize via
15017 bibtex-set-dialect.
15018 (bibtex-mode-map): Define menu for each dialect.
15019 (bibtex-entry): Fix docstring.
15021 2012-01-28 Chong Yidong <cyd@gnu.org>
15023 * eshell/esh-arg.el (eshell-quote-argument): New function.
15025 * eshell/esh-ext.el (eshell-invoke-batch-file):
15026 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
15027 first arg to eshell-parse-command (Bug#10523).
15029 2012-01-28 Drew Adams <drew.adams@oracle.com>
15031 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
15032 `default-directory' is non-nil.
15034 2012-01-28 Eli Zaretskii <eliz@gnu.org>
15036 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
15037 line that displays system-configuration-options. (Bug#9924)
15039 2012-01-28 Drew Adams <drew.adams@oracle.com>
15041 * descr-text.el (describe-char): Show information about POS, in
15042 addition to information about the character at POS. Improve and
15043 update the doc string. Change "code point" to "code point in
15044 charset", to avoid confusion with the character's Unicode code
15045 point shown above that. (Bug#10129)
15047 2012-01-28 Eli Zaretskii <eliz@gnu.org>
15049 * descr-text.el (describe-char): Show the raw character, not only
15050 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
15051 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
15054 2012-01-28 Phil Hagelberg <phil@hagelb.org>
15056 * emacs-lisp/package.el (package-install):
15057 Run package-refresh-contents if there is no archive yet (Bug#9798).
15059 2012-01-28 Chong Yidong <cyd@gnu.org>
15061 * emacs-lisp/package.el (package-maybe-load-descriptor):
15062 New function, split from package-maybe-load-descriptor.
15063 (package-maybe-load-descriptor): Use it.
15064 (package-download-transaction): Fully load required packages
15065 inside the loop, so that `require' calls work (Bug#10593).
15066 (package-install): No need to call package-initialize now.
15068 2012-01-28 Chong Yidong <cyd@gnu.org>
15070 * simple.el (deactivate-mark): Doc fix (Bug#8614).
15072 * tooltip.el (tooltip-mode): Doc fix.
15073 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
15075 * frame.el (set-cursor-color): Doc fix (Bug#352).
15077 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
15078 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
15080 * cus-edit.el (custom-buffer-create-internal): Fix search button
15081 action (Bug#10542).
15082 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
15084 2012-01-27 Eduard Wiebe <usenet@pusto.de>
15086 * dired.el (dired-mark-files-regexp):
15087 Include any subdirectory components. (Bug#10445)
15089 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
15091 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
15092 Handle [host]:port syntax. (Bug#10533)
15094 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
15096 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
15098 2012-01-26 Glenn Morris <rgm@gnu.org>
15100 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
15101 * term.el (term-raw-escape-map): Use Control-X-prefix.
15102 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
15104 2012-01-25 Martin Rudalics <rudalics@gmx.at>
15106 * window.el (window-state-get, window--state-get-1): Don't deal
15107 with fixed-sizeness of windows. Simplify code.
15109 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
15111 * window.el (window--state-get-1, window--state-put-2):
15112 Don't save and restore the mark.
15114 2012-01-25 Chong Yidong <cyd@gnu.org>
15116 * custom.el (custom-variable-p): Doc fix.
15118 2012-01-25 Glenn Morris <rgm@gnu.org>
15120 * dired.el (dired-goto-file): Handle some of the more common
15121 characters that `ls -b' escapes. (Bug#10596)
15123 * progmodes/compile.el (compilation-next-error-function):
15124 Respect compilation-first-column in the "*compilation*" buffer.
15125 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
15127 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
15129 2012-01-24 Glenn Morris <rgm@gnu.org>
15131 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
15133 2012-01-24 Julien Danjou <julien@danjou.info>
15135 * color.el (color-rgb-to-hsl): Fix value computing.
15136 (color-hue-to-rgb): New function.
15137 (color-hsl-to-rgb): New function.
15138 (color-clamp, color-saturate-hsl, color-saturate-name)
15139 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
15140 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
15142 2012-01-24 Glenn Morris <rgm@gnu.org>
15144 * vc/vc-rcs.el (vc-rcs-create-tag):
15145 * vc/vc-sccs.el (vc-sccs-create-tag):
15146 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
15148 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
15150 * eshell/esh-util.el (eshell-read-hosts-file):
15151 Skip comment lines. (Bug#10549)
15153 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
15155 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
15157 * subr.el (display-delayed-warnings): Doc fix.
15158 (collapse-delayed-warnings): New function to collapse identical
15160 (delayed-warnings-hook): Add it.
15162 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
15164 * net/tramp.el (tramp-action-login): Set connection property "login-as".
15166 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
15167 (tramp-default-user-alist): Don't add "pscp".
15168 (tramp-do-copy-or-rename-file-out-of-band): Use connection
15169 property "login-as", if set. (Bug#10530)
15171 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
15173 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
15174 "plink1" and "psftp". (Bug#10530)
15176 2012-01-21 Kenichi Handa <handa@m17n.org>
15178 * international/mule-cmds.el (prefer-coding-system): Show a
15179 warning message if the default value of file-name-coding-system
15182 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
15184 * windmove.el (windmove-reference-loc):
15185 Fix windmove-reference-loc miscalculation.
15187 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
15189 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
15192 2012-01-21 Glenn Morris <rgm@gnu.org>
15194 * international/mule.el (auto-coding-alist): Add .tbz.
15196 * files.el (local-enable-local-variables): Doc fix.
15197 (inhibit-local-variables-regexps): Rename from
15198 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
15199 Doc fix. Add some extensions from auto-coding-alist.
15200 (inhibit-local-variables-suffixes):
15201 Rename from inhibit-first-line-modes-suffixes. Doc fix.
15202 (inhibit-local-variables-p):
15203 New function, extracted from set-auto-mode-1.
15204 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
15205 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
15206 (hack-local-variables): Doc fix. Make the mode-only case
15207 respect enable-local-variables and friends.
15208 Respect inhibit-local-variables-regexps for file-locals, but
15209 not for directory-locals.
15210 (set-visited-file-name):
15211 Take account of inhibit-local-variables-regexps.
15212 Whether it applies may change as the file name is changed.
15213 * jka-cmpr-hook.el (jka-compr-install):
15214 * jka-compr.el (jka-compr-uninstall):
15215 Update for inhibit-first-line-modes-suffixes name change.
15217 2012-01-20 Martin Rudalics <rudalics@gmx.at>
15219 * help-macro.el (make-help-screen): Temporarily restore original
15220 binding for minor-mode-map-alist (Bug#10454).
15222 2012-01-19 Julien Danjou <julien@danjou.info>
15224 * color.el (color-name-to-rgb): Use the white color to find the max
15225 color component value and return correctly computed values.
15226 (color-name-to-rgb): Add missing float conversion for max value.
15228 2012-01-19 Martin Rudalics <rudalics@gmx.at>
15230 * window.el (window--state-get-1, window-state-get): Do not use
15231 special state value for window-persistent-parameters.
15232 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
15233 (window--state-put-2): Reset all window parameters to nil before
15234 assigning values of persistent parameters.
15236 2012-01-18 Alan Mackenzie <acm@muc.de>
15238 Eliminate sluggishness and hangs in fontification of "semicolon
15241 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
15242 Change value 10000 -> 3000.
15243 (c-state-safe-place): Reformulate so it doesn't stack up an
15244 infinite number of wrong entries in c-state-nonlit-pos-cache.
15245 (c-determine-limit-get-base, c-determine-limit): New functions to
15246 determine backward search limits disregarding literals.
15247 (c-find-decl-spots): Amend commenting.
15248 (c-cheap-inside-bracelist-p): New function which detects "={".
15250 * progmodes/cc-fonts.el
15251 (c-make-font-lock-BO-decl-search-function): Give a limit to a
15253 (c-font-lock-declarations): Fix an occurrence of point being
15254 undefined. Check additionally for point being in a bracelist or
15255 near a macro invocation without a semicolon so as to avoid a
15256 fruitless time consuming search for a declarator. Give a more
15257 precise search limit for declarators using the new
15260 2012-01-18 Glenn Morris <rgm@gnu.org>
15262 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
15263 (set-auto-mode): Doc fixes.
15265 2012-01-17 Glenn Morris <rgm@gnu.org>
15267 * isearch.el (search-nonincremental-instead): Fix doc typo.
15269 * dired.el (dired-insert-directory): Handle newlines in directory name.
15270 (dired-build-subdir-alist): Unescape newlines in directory name.
15272 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
15274 * net/tramp.el (tramp-local-end-of-line): New defcustom.
15275 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
15276 (tramp-action-terminal): Use it. (Bug#10530)
15278 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
15280 * minibuffer.el (completion--replace): Strip properties (bug#10062).
15282 2012-01-16 Martin Rudalics <rudalics@gmx.at>
15284 * window.el (window-state-ignored-parameters): Remove variable.
15285 (window--state-get-1): Rename argument MARKERS to IGNORE.
15286 Handle persistent window parameters. Make copy of clone-of
15287 parameter only if requested. (Bug#10348)
15288 (window--state-put-2): Install a window parameter only if it has
15289 a non-nil value or an existing parameter shall be overwritten.
15291 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
15293 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
15295 2012-01-14 Eli Zaretskii <eliz@gnu.org>
15297 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
15298 don't pass the (nil) value of `upnode' to string-match.
15300 2012-01-14 Chong Yidong <cyd@gnu.org>
15302 * startup.el (command-line): Fix X resource class for cursorColor.
15303 Fix values recognized by the cursorBlink resource.
15305 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
15307 * epg.el (epg--make-temp-file): Avoid permission race condition
15308 when running on old Emacs versions (bug#10403).
15310 2012-01-14 Glenn Morris <rgm@gnu.org>
15312 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
15314 2012-01-13 Alan Mackenzie <acm@muc.de>
15316 Fix filling for when filladapt mode is enabled.
15318 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
15319 c-mask-paragraph, pass in `fill-paragraph' rather than
15320 `fill-region-as-paragraph'. (This is a reversion of a previous
15322 * progmodes/cc-mode.el (c-basic-common-init):
15323 Make fill-paragraph-handle-comment buffer local and set it to nil.
15325 2012-01-13 Glenn Morris <rgm@gnu.org>
15327 * dired.el (dired-switches-escape-p): New function.
15328 (dired-insert-directory): Use dired-switches-escape-p.
15329 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
15331 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
15333 2012-01-12 Glenn Morris <rgm@gnu.org>
15335 * mail/sendmail.el (mail-mode): Update paragraph-separate for
15336 changes in adaptive-fill-regexp. (Bug#10276)
15338 2012-01-11 Alan Mackenzie <acm@muc.de>
15340 Fix Emacs bug #10463 - put `widen's around the critical spots.
15342 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
15343 widen around each invocation of c-state-pp-to-literal. Remove an
15344 unused let variable.
15346 2012-01-11 Glenn Morris <rgm@gnu.org>
15348 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
15351 2012-01-10 Chong Yidong <cyd@gnu.org>
15353 * net/network-stream.el (network-stream-open-starttls):
15354 Avoid emitting a confusing error message when the server gives a bad
15355 response to the capability command.
15357 2012-01-10 Glenn Morris <rgm@gnu.org>
15359 * mail/unrmail.el (unrmail): Tweak previous change.
15361 2012-01-09 Chong Yidong <cyd@gnu.org>
15363 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
15365 2012-01-08 Alan Mackenzie <acm@muc.de>
15367 Optimize font locking in long enum definitions.
15369 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
15370 arm to a cond form to handle enums.
15371 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
15372 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
15374 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
15376 * files.el (move-file-to-trash): Preserve default file modes on error.
15379 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
15381 * faces.el (set-face-attribute): Clarify the meaning of the nil
15384 * subr.el (with-selected-frame): Mention that the selected frame
15385 is restored (bug#9980).
15387 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
15390 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
15391 (password-read): Don't autoload unused function.
15393 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
15395 * progmodes/which-func.el (which-func-mode): Turn into a
15396 non-interactive function and mark as obsolete (bug#10428).
15398 2012-01-06 Chong Yidong <cyd@gnu.org>
15400 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
15401 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
15402 functions, along with 1 and -1.
15404 2012-01-06 Eli Zaretskii <eliz@gnu.org>
15406 * time.el (display-time-load-average)
15407 (display-time-default-load-average): Doc fixes. See the thread
15409 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
15412 2012-01-06 Glenn Morris <rgm@gnu.org>
15414 * mail/unrmail.el (unrmail): Give an explicit error if the input file
15415 has no messages. (Bug#10377)
15417 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
15418 than Info-edit. (Bug#10385)
15420 * time.el (display-time-load-average, display-time-next-load-average):
15423 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
15424 local setting of buffer-read-only to the input buffer. (Bug#10419)
15426 * calendar/calendar.el (calendar-mode):
15427 Locally set scroll-margin to 0. (Bug#10379)
15429 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
15431 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
15433 2012-01-05 Glenn Morris <rgm@gnu.org>
15435 * eshell/em-unix.el (diff-no-select): Autoload it.
15436 (eshell/diff): Use diff-no-select. (Bug#10420)
15438 2012-01-05 Chong Yidong <cyd@gnu.org>
15440 * shell.el (shell-dynamic-complete-functions): Revert last change.
15441 (shell-command-completion-function): New function.
15442 (shell-completion-vars): Use it to implement
15443 shell-completion-execonly (Bug#10417).
15445 * custom.el (enable-theme): Don't set custom-safe-themes.
15447 * cus-theme.el (custom-theme-merge-theme):
15448 Ignore custom-enabled-themes and custom-safe-themes.
15450 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
15452 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
15453 first prompt in `sql-interacive-mode'.
15454 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
15456 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
15457 (sql-product-interactive): Bug fix: Set `sql-buffer' in
15458 context of original buffer. Invoke `sql-login-hook'.
15460 2012-01-04 Eli Zaretskii <eliz@gnu.org>
15462 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
15463 letters in cite-prefix.
15465 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15467 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
15469 2012-01-03 Chong Yidong <cyd@gnu.org>
15471 * shell.el (shell-dynamic-complete-functions):
15472 Put pcomplete-completions-at-point, so as to try
15473 comint-filename-completion first (Bug#10417).
15475 2012-01-02 Richard Stallman <rms@gnu.org>
15477 * battery.el (battery-status-function):
15478 Detect when to use battery-yeeloong-sysfs.
15479 (battery-echo-area-format): Add string for Yeeloong.
15480 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
15481 (battery-yeeloong-sysfs): New function.
15483 2012-01-02 Chong Yidong <cyd@gnu.org>
15485 * dirtrack.el (dirtrack-list): Eliminate unused third element.
15486 (dirtrack): Merge code for handling relative filenames in prompt
15487 from shell-dir-cookie-watcher.
15488 (dirtrack-debug-message): New arg to avoid excess format calls.
15490 * shell.el (shell-dir-cookie-re): Variable deleted.
15491 (shell-dir-cookie-watcher): Function deleted.
15492 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
15493 with dirtrack-mode.
15495 2012-01-01 Eli Zaretskii <eliz@gnu.org>
15497 * term/w32-win.el (dynamic-library-alist) <gnutls>:
15498 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
15501 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
15503 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
15505 2011-12-31 Eli Zaretskii <eliz@gnu.org>
15507 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
15508 headers of non-MIME messages, when rmail-enable-mime is non-nil.
15510 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
15512 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
15513 also for alternative shells.
15514 (tramp-open-connection-setup-interactive-shell): Check, whether
15515 the shell is a busybox.
15516 (tramp-send-command): Don't suppress multiple prompts for
15517 busyboxes, it hurts.
15519 2011-12-28 Chong Yidong <cyd@gnu.org>
15521 * progmodes/gdb-mi.el (gdb-get-source-file-list)
15522 (gdb-get-source-file): Move mode line update to
15523 gdb-get-source-file (Bug#10087).
15525 2011-12-25 Chong Yidong <cyd@gnu.org>
15527 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
15528 gud-gdb-marker-filter without taking it as an argument.
15529 (gud-gdb-run-command-fetch-lines): Caller changed.
15530 (gud-gdb-completion-function): New variable.
15531 (gud-gdb-completion-at-point): Use it.
15532 (gud-gdb-completions-1): Split from gud-gdb-completions.
15534 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
15535 function as separate arguments.
15536 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
15537 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
15538 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
15539 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
15540 (gdb-stopped, def-gdb-auto-update-trigger)
15541 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
15542 (gdb-get-changed-registers, gdb-get-main-selected-frame):
15544 (gud-gdbmi-completions): New function.
15545 (gdb): Use it for generating the completion table.
15547 2011-12-24 Alan Mackenzie <acm@muc.de>
15549 Introduce a mechanism to widen the region used in context font
15550 locking. Use this to protect declarations from losing their contexts.
15552 * progmodes/cc-langs.el (c-before-font-lock-functions):
15553 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
15554 (c-before-context-fontification-functions): New defvar, a list of
15555 functions to be run just before context (etc.) font locking.
15557 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
15558 New, functionality extracted from
15559 c-neutralize-syntax-in-and-mark-CPP.
15560 (c-in-after-change-fontification): New variable.
15561 (c-after-change): Set c-in-after-change-fontification.
15562 (c-set-fl-decl-start): Rejig its interface, so it can be called
15563 from both after-change and context fontifying.
15564 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
15566 (c-standard-font-lock-fontify-region-function): New variable.
15567 (c-font-lock-fontify-region): New function.
15569 2011-12-24 Juri Linkov <juri@jurta.org>
15571 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
15574 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
15576 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
15577 existence of source file. (Bug#10325)
15579 2011-12-23 Alan Mackenzie <acm@muc.de>
15581 Fix unstable fontification inside templates.
15583 * progmodes/cc-langs.el (c-before-font-lock-functions):
15584 Newly created from the singular version. The (c c++ objc) entry now
15585 additionally has c-set-fl-decl-start. The other languages (apart
15586 from AWK) have that as a single entry.
15588 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
15589 The functionality for "local" declarations has been extracted to
15590 c-set-fl-decl-start.
15592 * progmodes/cc-mode.el (c-common-init, c-after-change):
15593 Changes due to pluralisation of c-before-font-lock-functions.
15594 (c-set-fl-decl-start): New function, extracted from
15595 c-font-lock-enclosing-decls and enhanced.
15597 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
15599 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
15601 2011-12-22 Juri Linkov <juri@jurta.org>
15603 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
15605 2011-12-22 Chong Yidong <cyd@gnu.org>
15607 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
15609 2011-12-21 Drew Adams <drew.adams@oracle.com>
15611 * files.el (file-remote-p): Fix docstring. (Bug#10319)
15613 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
15615 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
15617 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
15619 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
15620 highlighting and support. Fix up comments for capitalization.
15621 (cfengine-mode-debug): New var.
15622 (cfengine3-mode): Change the modeline indicator to "CFE3".
15623 (cfengine3-font-lock-keywords): Improve defun highlighting.
15624 (cfengine2-actions): Rename from `cfengine-actions'.
15625 (cfengine2-font-lock-keywords): Rename from
15626 `cfengine-font-lock-keywords'.
15627 (cfengine2-imenu-expression): Rename from
15628 `cfengine-imenu-expression'.
15629 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
15630 (cfengine2-beginning-of-defun): Rename from
15631 `cfengine-beginning-of-defun'.
15632 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
15633 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
15634 (cfengine2-mode): Rename from `cfengine-mode'. Change the
15635 modeline indicator to "CFE2".
15636 (cfengine-mode): Defalias to `cfengine-auto-mode'.
15637 (cfengine-mode-abbrevs): Mark obsolete.
15639 2011-12-21 Chong Yidong <cyd@gnu.org>
15641 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
15644 2011-12-20 Martin Rudalics <rudalics@gmx.at>
15646 * window.el (window-normalize-buffer-to-display): Remove.
15647 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
15649 2011-12-19 Chong Yidong <cyd@gnu.org>
15651 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
15652 Don't signal an error in a predicate function; return non-nil.
15653 (vc-dir-mark-file): Move the error here.
15654 (vc-dir-mark-unmark): If acting on the region, keep going if one
15655 of the entries cannot be marked/unmarked.
15656 (vc-dir-mark-all-files): If current entry is a directory, mark
15657 only child files, as documented.
15659 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
15661 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
15662 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
15665 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
15667 * term/ns-win.el (ns-get-selection-internal)
15668 (ns-store-selection-internal): Declare.
15669 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
15670 Declare as obsolete.
15671 (ns-get-pasteboard, ns-paste-secondary):
15672 Use ns-get-selection-internal.
15673 (ns-set-pasteboard, ns-copy-including-secondary):
15674 Use ns-store-selection-internal.
15676 2011-12-17 Chong Yidong <cyd@gnu.org>
15678 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
15679 (vc-deduce-fileset): Doc fix.
15681 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
15683 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
15685 2011-12-13 Sam Steingold <sds@gnu.org>
15687 * man.el (Man-getpage-in-background): When running under a
15688 window-system, ignore $MANWIDTH and $COLUMNS.
15690 2011-12-15 Kenichi Handa <handa@m17n.org>
15692 * language/ethio-util.el: Change coding tag to utf-8-emacs.
15693 (setup-ethiopic-environment-internal): Comment out key-binding for
15694 ethio-toggle-punctuation.
15696 2011-12-13 Alan Mackenzie <acm@muc.de>
15698 Add the switch statement to AWK Mode.
15700 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
15701 "default" to the keywords regexp.
15703 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
15704 expression as the rest.
15705 (c-nonlabel-token-key): Allow string literals for AWK.
15706 Refactor for the other modes.
15708 Large brace-block initialisation makes CC Mode slow: Fix.
15709 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
15710 routines. Limit backward searching in c-font-lock-enclosing.decl.
15712 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
15713 pp-state and literal type in addition to the limits.
15714 (c-state-safe-place): New defun, extracted from c-state-literal-at.
15715 (c-state-literal-at): Use the above new defun.
15716 (c-slow-in-literal, c-fast-in-literal): Remove.
15717 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
15719 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
15720 being in a literal. Add a limit for backward searching.
15722 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
15725 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
15727 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
15729 2011-12-13 Martin Rudalics <rudalics@gmx.at>
15731 * window.el (delete-other-windows): Use correct frame in call to
15732 window-with-parameter.
15734 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
15736 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
15737 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
15738 (makefile-gmake-statements, makefile-makepp-statements):
15739 Use it and add new makepp keywords.
15740 (makefile-makepp-font-lock-keywords): Add new patterns.
15741 (makefile-match-function-end): Match new [...] and [[...]].
15743 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
15745 * ses.el (ses-call-printer-return, ses-cell-property-get)
15746 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
15747 (ses-create-cell-variable, ses-reset-header-string)
15748 (ses-cell-set-formula, ses-repair-cell-reference-all)
15749 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
15750 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
15751 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
15752 (ses-aset-with-undo, ses-load, ses-truncate-cell)
15753 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
15754 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
15755 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
15756 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
15757 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
15758 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
15759 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
15760 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
15762 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
15764 * ses.el: The overall change is to add cell renaming, that is
15765 setting fancy names for cell symbols other than name matching
15766 "\\`[A-Z]+[0-9]+\\'" regexp .
15767 (ses-create-cell-variable): New defun.
15768 (ses-relocate-formula): Relocate formulas only for cells the
15769 symbols of which are not renamed, i.e. symbols whose names do not
15770 match regexp "\\`[A-Z]+[0-9]+\\'".
15771 (ses-relocate-all): Relocate values only for cells the symbols of
15772 which are not renamed.
15773 (ses-load): Create cells variables as the (ses-cell ...) are read,
15774 in order to check row col consistency with cell symbol name only
15775 for cells that are not renamed.
15776 (ses-replace-name-in-formula): New defun.
15777 (ses-rename-cell): New defun.
15779 2011-12-11 Chong Yidong <cyd@gnu.org>
15781 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
15782 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
15784 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
15786 * window.el (other-window): Fix docstring.
15788 2011-12-10 Eli Zaretskii <eliz@gnu.org>
15790 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
15791 `from' or `to' address before taking its substring.
15792 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
15793 encoded name is chopped in the middle of the encoded string, and
15794 thus displayed encoded.
15796 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
15798 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
15800 2011-12-10 Eli Zaretskii <eliz@gnu.org>
15802 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
15803 to use texinfo-update-node and commands that call it if the
15804 Texinfo file uses @node lines without next/prev/up pointers.
15805 Correct outdated description about texinfo-master-menu.
15806 (texinfo-all-menus-update, texinfo-master-menu)
15807 (texinfo-update-node, texinfo-every-node-update)
15808 (texinfo-multiple-files-update): Doc fix. Warn against updating
15809 all the @node lines.
15810 (texinfo-master-menu): Only call texinfo-update-node if the prefix
15811 argument is numeric. Explain better in the doc string what the
15812 function really does.
15813 (texinfo-insert-master-menu-list): Improve the error message
15814 displayed if there's no menu in the Top node.
15815 (Bug#2975) See also this thread:
15816 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
15818 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
15820 * speedbar.el (speedbar-supported-extension-expressions):
15821 Add .adb and .ads, commonly used for Ada source code (bug#10256).
15823 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
15825 * printing.el (pr-mode-alist):
15826 * simple.el (filter-buffer-substring-functions)
15827 (completion-list-insert-choice-function):
15828 * window.el (window-with-parameter, window-atom-root)
15829 (window-sides-slots, window-size-fixed, window-min-delta)
15830 (window-max-delta, window--resize-mini-window)
15831 (window--resize-child-windows-normal, window-tree)
15832 (delete-other-windows, quit-window, split-window)
15833 (display-buffer-record-window, special-display-buffer-names)
15834 (special-display-regexps, special-display-popup-frame)
15835 (same-window-p, split-window-sensibly)
15836 (display-buffer-overriding-action, display-buffer-alist)
15837 (display-buffer-base-action, display-buffer, switch-to-buffer)
15838 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
15839 (fit-window-to-buffer, recenter-positions)
15840 (mouse-autoselect-window-state, mouse-autoselect-window-select):
15841 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
15842 and remove unneeded backslashes in docstrings.
15844 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
15846 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
15848 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
15849 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
15851 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
15852 when reading the makefile (bug#10116).
15854 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
15856 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
15859 2011-12-06 Glenn Morris <rgm@gnu.org>
15861 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
15863 2011-12-06 Chong Yidong <cyd@gnu.org>
15865 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
15867 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
15869 * textmodes/table.el (table-shorten-cell): Fix typo.
15871 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
15873 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
15875 2011-12-05 Eli Zaretskii <eliz@gnu.org>
15877 * descr-text.el (describe-char): Fix display of strong
15878 right-to-left characters and directional embeddings and overrides.
15880 * simple.el (what-cursor-position): Fix display of codepoints of
15881 strong right-to-left characters.
15883 2011-12-05 Chong Yidong <cyd@gnu.org>
15885 * faces.el (read-color): Doc fix.
15887 2011-12-05 Glenn Morris <rgm@gnu.org>
15889 * align.el (align--set-marker): Add doc-string.
15890 Don't try to move something that is not a marker. (Bug#10216)
15892 2011-12-04 Glenn Morris <rgm@gnu.org>
15894 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
15895 overly zealous deletion of trailing whitespace.
15897 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
15899 * server.el (server-delete-client): On Windows, do not try to delete
15901 (server-process-filter): On Windows, treat requests for a tty frame as
15902 if they were for a GUI frame if the running server is in GUI mode.
15904 2011-12-03 Glenn Morris <rgm@gnu.org>
15906 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
15908 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
15910 * electric.el: Streamline electric-indent's hook.
15911 (electric-indent-chars): Revert to simple list.
15912 (electric-indent-functions): New var.
15913 (electric-indent-post-self-insert-function): Use it.
15915 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
15916 there's no inferior buffer (bug#10196).
15917 (prolog-consult-compile): Don't use toggle-read-only.
15919 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
15921 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
15922 interrupt. (Bug#10187)
15924 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
15926 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
15929 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
15932 2011-12-02 Juri Linkov <juri@jurta.org>
15934 * info.el (Info-search): Display "end of manual" when Isearch
15935 reaches the end of single-file Info manual. (Bug#9918)
15937 2011-12-02 Eli Zaretskii <eliz@gnu.org>
15939 * isearch.el (isearch-message-prefix): Run the input method part
15940 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
15942 2011-12-02 Juri Linkov <juri@jurta.org>
15944 * isearch.el (isearch-occur): Use `word-search-regexp' for
15946 (isearch-search-and-update): Add condition for `isearch-word' and
15947 call `word-search-regexp'. (Bug#10145)
15949 2011-12-01 Glenn Morris <rgm@gnu.org>
15951 * eshell/em-hist.el (eshell-hist-initialize):
15952 Handle eshell-history-size nil and HISTSIZE set or unset.
15953 (eshell-history-file-name, eshell-history-size): Fix custom type.
15955 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
15957 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
15959 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
15961 * progmodes/verilog-mode.el (verilog-pretty-expr):
15962 Rework verilog-pretty-expr to handle new assignment operators in system
15963 verilog, such as += *= and the like.
15964 (verilog-assignment-operator-re): Regular expression to find the
15965 assigment operator in a verilog assignment.
15966 (verilog-assignment-operation-re): Regular expression to find an
15967 assignment statement for pretty-expr.
15968 (verilog-in-attribute-p): Query returns true if point is in an
15969 attribute context; used to skip these for expression line up from
15971 (verilog-in-parameter-p): Query returns true if point is in an
15972 parameter definition context; used to skip these for expression
15973 line up from pretty-expr.
15974 (verilog-in-parenthesis-p): Query returns true if point is in a
15975 parenthetical expression, specifically ( ) but not [ ] or { };
15976 used by pretty-expr.
15977 (verilog-just-one-space): If there is no space, don't add one.
15978 (verilog-get-lineup-indent-2): Specifically skip just attribute
15979 contexts for expression lineup, rather than skipping all
15980 parenthetical expressions.
15981 (verilog-calculate-indent): Fix comment, and fix indent.
15982 (verilog-do-indent): Indent declarations in lists (suggested by
15984 (verilog-mode-abbrev-table): Populate abbrev mode with the various
15986 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
15989 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
15991 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
15992 parameters with embedded comments. Reported by Ray Stevens.
15993 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
15994 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
15995 Reported by Tim Holt.
15996 (verilog-auto): Fix AUTOing a upper module then AUTOing module
15997 instantiated by upper module causing wrong expansion until AUTOed a
15998 second time. Reported by K C Buckenmaier.
15999 (verilog-diff-auto): Fix showing .* as a difference when
16000 `verilog-auto-star-save' off. Reported by Dan Dever.
16001 (verilog-auto-reset, verilog-read-always-signals)
16002 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
16003 temporary signals in reset list if
16004 verilog-auto-reset-blocking-in-non is nil, and match assignment
16005 style to each signal's assignment type, bug381.
16006 Reported by Thomas Esposito.
16007 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
16008 (verilog-uvm-statement-re): Support UVM indentation and
16009 highlighting, with old OVM keywords only.
16010 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
16011 Support AUTOTIEOFF creating non-wire data types.
16012 Suggested by Jonathan Greenlaw.
16013 (verilog-auto-insert-lisp, verilog-delete-to-paren)
16014 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
16015 (verilog-inject-sense, verilog-read-inst-pins)
16016 (verilog-read-sub-decls, verilog-read-sub-decls-line):
16017 Fix mismatching parenthesis inside commented out code when deleting
16018 AUTOINST, bug383. Reported by Jonathan Greenlaw.
16019 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
16020 non-numeric vector width. Reported by Alex Reed.
16021 (verilog-auto-ascii-enum): Add "onehot" option to work around not
16022 detecting signals with parameter widths. Reported by Alex Reed.
16023 (verilog-auto-delete-trailing-whitespace):
16024 With `verilog-auto-delete-trailing-whitespace' remove trailing
16025 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
16026 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
16027 Fix verilog-scan-cache corruption when running user AUTO expansion
16028 hooks that call indentation routines.
16029 (verilog-simplify-range-expression): Fix typo ignoring lower case
16031 (verilog-delete-auto): Fix delete-autos to also remove user created
16032 automatics, as long as they start with AUTO.
16033 (verilog-batch-diff-auto, verilog-diff-auto)
16034 (verilog-diff-function): Add `verilog-diff-auto' and bind to
16035 "C-c?" to report differences in AUTO expansion, ignoring spaces.
16036 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
16037 (verilog-in-paren-quick, verilog-re-search-backward-quick)
16038 (verilog-re-search-forward-quick, verilog-syntax-ppss):
16039 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
16040 is disabled and its cache will get corrupt, causing AUTOS not to
16041 expand. Instead use only -quick functions.
16042 (verilog-scan-region): Fix scanning over escaped quotes.
16043 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
16044 (verilog-re-search-backward-quick)
16045 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
16046 related functions now ignore strings, to fix misparsing of strings
16047 with magic comments embedded in them.
16048 (verilog-read-auto-template):
16049 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
16050 Reported by Brad Dobbie.
16051 (verilog-read-auto-template):
16052 Fix 'verilog-auto-inst-template-numbers' with comments.
16053 Reported by Brad Dobbie.
16054 (verilog-auto-inst, verilog-auto-inst-param)
16055 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
16056 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
16057 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
16058 debugging templates without merge conflicts, bug357.
16059 Reported by Brad Dobbie.
16060 (verilog-read-auto-template):
16061 Fix verilog-auto-inst-template-numbers with multiple templates.
16062 Reported by Brad Dobbie.
16063 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
16064 abbrevs so user won't be asked to save.
16065 (verilog-read-auto-lisp-present): Fix to start at beginning of
16066 buffer in case called outside of verilog-auto.
16067 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
16068 to "X-2". Reported by Matthew Myers.
16069 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
16070 all inputs from module templates. Reported by Leith Johnson.
16071 (verilog-module-inside-filename-p): Fix locating programs as with
16073 (verilog-auto-inst-port): Fix vl-width expressions when using
16074 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
16075 (verilog-decls-get-regs, verilog-decls-get-signals,
16076 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
16077 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
16078 verilog-read-decls): Combine reg and wire structures into one var
16079 structure to represent SystemVerilog concepts.
16080 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
16081 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
16082 (verilog-auto-wire-type, verilog-insert-definition):
16083 Add verilog-auto-wire-type and AUTOLOGIC to support using
16084 SystemVerilog "logic" keyword instead of "wire"/"reg".
16085 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
16086 to declares outputs that also have assignments (presumably in an
16087 ifdef or generate if so there's not a driver conflict).
16088 Reported by Matthew Myers.
16089 (verilog-auto-declare-nettype, verilog-insert-definition):
16090 Add verilog-auto-declare-nettype to fix declarations using
16091 `default_nettype none. Reported by Julian Gorfajn.
16092 (verilog-read-always-signals-recurse, verilog-read-decls)
16093 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
16094 malformed end statement, bug325. Reported by Joshua Wise and
16096 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
16097 (verilog-inst-comment-re): Fix not deleting Interfaced comment
16098 when expanding .* in interfaces, bug320.
16099 Reported by Pierre-David Pfister.
16100 (verilog-read-module-name): Fix import statements between module
16101 name and open parenthesis, bug317.
16102 Reported by Pierre-David Pfister.
16103 (verilog-simplify-range-expression): Fix simplification of
16104 multiplications inside AUTOWIRE connections, bug303.
16105 (verilog-auto-inst-port): Support parameter expansion in
16106 multidimensional arrays.
16107 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
16108 after "assert property". Reported by Julian Gorfajn.
16109 (verilog-simplify-range-expression): Fix "couldn't merge" errors
16110 with multiplication, bug303.
16111 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
16112 Reported by Jan Frode Lonnum.
16114 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
16116 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
16117 (hfy-shell-file-name, hfy-shell):
16118 * international/fontset.el (x-decompose-font-name): Fix typos.
16120 2011-11-29 Ken Brown <kbrown@cornell.edu>
16122 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
16123 (gdb-version): Remove defvar.
16124 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
16125 (gdb-gud-context-command, gdb-non-stop-handler)
16126 (gdb-current-context-command, gdb-stopped): Use it.
16127 (gdb-init-1): Enable pretty printing here.
16128 (gdb-non-stop-handler): Don't enable pretty-printing here.
16129 Check to see if the target supports non-stop mode; if not, turn off
16130 non-stop mode. Use the following.
16131 (gdb-check-target-async): New defun.
16132 (gud-watch, gdb-stopped): Fix whitespace.
16133 (gdb-get-source-file): Don't try to display the source file if
16134 `gdb-main-file' is nil.
16136 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
16138 * align.el: Try to generate fewer markers (bug#10047).
16139 (align--set-marker): New macro.
16140 (align-region): Use it.
16142 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
16144 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
16146 2011-11-29 Chong Yidong <cyd@gnu.org>
16148 * indent.el (indent-for-tab-command, indent-according-to-mode):
16150 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
16152 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
16154 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
16155 aware of remote file names. (Bug#10124)
16157 2011-11-29 Chong Yidong <cyd@gnu.org>
16159 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
16161 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
16163 * files.el (find-file): Don't use force-same-window (bug#10144).
16164 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
16165 use pop-to-buffer if the selected window can't be used.
16166 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
16168 2011-11-28 Eli Zaretskii <eliz@gnu.org>
16170 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
16173 2011-11-28 Chong Yidong <cyd@gnu.org>
16175 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
16177 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
16179 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
16180 gdb-get-source-file-list on gdb-create-source-file-list.
16182 2011-11-26 Eli Zaretskii <eliz@gnu.org>
16184 * whitespace.el (whitespace-newline): Use a different foreground
16185 color for 16-color light-background displays.
16187 2011-11-24 Chong Yidong <cyd@gnu.org>
16189 * window.el (display-buffer--special-action): Doc fix.
16191 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
16193 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
16194 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
16195 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
16196 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
16197 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
16198 (avl-tree-stack-first):
16199 * emacs-lisp/cconv.el (cconv--analyse-use):
16200 * net/gnutls.el (gnutls-negotiate): Fix typos.
16202 2011-11-24 Glenn Morris <rgm@gnu.org>
16204 * lpr.el (lpr-windows-system, lpr-lp-system):
16205 * mail/binhex.el (binhex-begin-line):
16206 * progmodes/grep.el (grep-history, grep-find-history):
16207 * textmodes/flyspell.el:
16208 * vc/pcvs-defs.el (cvs-global-menu):
16209 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
16210 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
16211 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
16213 * net/tls.el: Fix case of "GnuTLS".
16215 * paths.el (rmail-file-name): Format doc-string for make-docfile.
16217 * version.el (emacs-build-system): Give it a doc-string.
16219 2011-11-24 Juri Linkov <juri@jurta.org>
16221 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
16223 2011-11-24 Glenn Morris <rgm@gnu.org>
16225 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
16226 if called on a non-mime message just toggle the headers. (Bug#8006)
16228 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
16230 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
16231 (allout-lead-with-comment-string, allout-structure-deleted-hook)
16232 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
16233 (allout-rebullet-heading, allout-open-sibtopic)
16234 (allout-toggle-current-subtree-encryption)
16235 (allout-toggle-subtree-encryption, allout-encrypt-string)
16236 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
16237 (allout-distinctive-bullets-string, allout-auto-activation):
16238 * window.el (window-normalize-buffer-to-display):
16239 * progmodes/verilog-mode.el (verilog-batch-indent):
16240 * textmodes/bibtex.el (bibtex-field-braces-opt)
16241 (bibtex-field-strings-opt):
16242 * vc/cvs-status.el (cvs-tree-merge):
16245 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
16247 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
16248 `non-essential' to t, in order to avoid remote connections.
16250 2011-11-23 Eli Zaretskii <eliz@gnu.org>
16252 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
16253 On MS-DOS and MS-Windows, compare with loaddefs.el
16254 case-insensitively.
16256 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
16258 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
16260 2011-11-23 Glenn Morris <rgm@gnu.org>
16262 * paths.el (rmail-file-name): Reformat the doc-string so that it
16265 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
16266 (rmail-auto-file): Ignore case in the "special" field names,
16267 as mail-fetch-field does for all others.
16269 * mail/rmail.el (rmail-forward):
16270 * mail/rmailkwd.el (rmail-set-label):
16271 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
16272 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
16274 * mail/rmail.el (rmail-current-message): Doc fix.
16276 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
16278 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
16280 * server.el (server-eval-and-print): Allow C-g (bug#6585).
16282 2011-11-22 Glenn Morris <rgm@gnu.org>
16284 * mail/rmailmm.el (test-rmail-mime-handler)
16285 (test-rmail-mime-bulk-handler)
16286 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
16288 2011-11-21 Juri Linkov <juri@jurta.org>
16290 * calc/calc.el (calc-read-key-sequence):
16291 Let-bind `input-method-function' to nil. (Bug#10018)
16293 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
16295 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
16296 Tell the caller that the next line needs recomputation, even
16297 though it doesn't start a sexp (bug#10094).
16299 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
16301 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
16303 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
16305 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
16306 Use force-same-window.
16308 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
16310 * descr-text.el (describe-char-unicode-data):
16311 * json.el (json-string-escape):
16312 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
16313 (Footnote-unicode, Footnote-style-p):
16314 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
16316 2011-11-20 Chong Yidong <cyd@gnu.org>
16318 * window.el (replace-buffer-in-windows): Restore interactive spec.
16320 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
16322 * electric.el (electric-indent-mode): Fix last change (too optimistic).
16324 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
16325 (byte-compile-global-not-obsolete-vars): New var.
16326 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
16328 (byte-compile-warn-obsolete): Align text with the one in *Help*.
16330 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
16332 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
16333 * progmodes/pascal.el (electric-pascal-equal):
16334 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
16335 * xml.el (xml-substitute-special): Fix typos.
16337 2011-11-20 Glenn Morris <rgm@gnu.org>
16339 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
16340 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
16342 (rmail-decode-mime-charset): Mark as obsolete.
16344 * mail/rmailsum.el (rmail-message-regexp-p-1):
16345 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
16346 Before using mime functions, check they are set. (Bug#10077)
16348 2011-11-19 Juri Linkov <juri@jurta.org>
16350 * info.el (Info-finder-find-node): Use `package--builtins' instead
16351 of `package-alist'. Use node names formed by the pattern "Keyword "
16352 and the keyword name.
16354 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
16356 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
16358 2011-11-19 Juri Linkov <juri@jurta.org>
16360 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
16361 that calls `revert-buffer' on all Info buffers. (Bug#9915)
16362 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
16363 `old-history', `old-history-forward'. Add let-binding
16364 `window-selected'. Remove calls to `kill-buffer',
16365 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
16366 before calling `Info-find-node', so `Info-find-node-2' will reread
16367 the Info file. Restore window positions only when `window-selected'
16370 2011-11-19 Juri Linkov <juri@jurta.org>
16372 * isearch.el (isearch-lazy-highlight-new-loop):
16373 Remove condition `(not isearch-error)'. (Bug#9918)
16375 * misearch.el (multi-isearch-search-fun): Add condition
16376 `(not bound)' to ignore lazy-highlighting search.
16377 Add the search-failed message "end of multi" when the end of
16378 multi-sequence is reached. Uncapitalize the search-failed
16379 message "Repeat for next buffer".
16381 * info.el (Info-search): Add the search-failed message
16382 "end of the manual" when the end of the manual is reached
16385 2011-11-19 Juri Linkov <juri@jurta.org>
16387 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
16388 Use non-destructive `remove' instead of `delete' because
16389 `Info-history-list' stored to `Info-isearch-initial-history-list' in
16390 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
16392 2011-11-19 Juri Linkov <juri@jurta.org>
16394 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
16395 to nil instead of binding `search-ring' and `regexp-search-ring'.
16398 2011-11-19 Eli Zaretskii <eliz@gnu.org>
16400 * simple.el (line-move): Force movement by logical lines for any
16401 hscrolled window, not only when auto-hscroll-mode is on.
16402 (line-move-visual): Update doc string to that effect. (Bug#10076)
16404 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
16406 * language/european.el (macintosh): Define as alias for mac-roman.
16408 2011-11-19 Eli Zaretskii <eliz@gnu.org>
16410 * mail/rmailmm.el (rmail-mime-display-header)
16411 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
16412 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
16413 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
16414 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
16415 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
16417 (rmail-mime-entity-segment): To get past the tagline, move forward
16418 2 more lines, to account for the 2 empty lines that precede and
16419 follow the line with the buttons.
16420 (rmail-mime-update-tagline): Move one more line, to get past the
16421 empty line that follows the buttons in the tagline. (Bug#9520)
16423 2011-11-19 Martin Rudalics <rudalics@gmx.at>
16425 * window.el (window-max-delta-1, window-min-delta-1)
16426 (window-min-size-1, window-state-get-1, window-state-put-1)
16427 (window-state-put-2): Use "window--" prefix.
16429 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
16431 * emacs-lisp/smie.el: Improve warnings and conflict detection.
16432 (smie-warning-count): New var.
16433 (smie-set-prec2tab): Use it.
16434 (smie-bnf->prec2): Improve warnings. Add docstring.
16435 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
16436 (smie-bnf--set-class): New function.
16437 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
16440 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
16441 (compilation-error-properties, compilation-move-to-column):
16442 Handle compilation-first-column while in the target buffer.
16444 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
16445 Don't hardcode point-min==1.
16447 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
16448 (eshell-rewrite-for-command): Remove workaround.
16449 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
16450 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
16451 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
16453 * files-x.el (modify-file-local-variable): Obey commenting conventions.
16455 2011-11-17 Glenn Morris <rgm@gnu.org>
16457 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
16458 Ignore buffer-local generated-autoload-file if it is the same
16459 as the global value. (Bug#10049)
16461 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
16463 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
16464 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
16465 (reftex-toc-previous-heading, reftex-toc-max-level)
16466 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
16467 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
16468 (reftex-toc-do-promote, reftex-toc-promote-prepare)
16469 (reftex-toc-promote-action, reftex-toc-extract-section-number)
16470 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
16471 (reftex-toc-rename-label, reftex-toc-visit-location)
16472 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
16473 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
16474 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
16475 leaving "*toc*" only for references to the buffer.
16477 2011-11-17 Martin Rudalics <rudalics@gmx.at>
16479 * window.el (window-resize, delete-window, split-window):
16480 Replace window-splits by window-combination-resize.
16481 * cus-start.el (window-splits): Replace by window-combination-resize.
16483 2011-11-17 Glenn Morris <rgm@gnu.org>
16485 * progmodes/sh-script.el (sh-font-lock-keywords-var):
16486 Make bash entry derive from sh entry, not shell entry.
16488 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
16490 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
16493 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
16495 * menu-bar.el (menu-bar-file-menu):
16496 * printing.el (pr-ps-utility):
16497 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
16498 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
16499 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
16500 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
16501 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
16502 (icalendar--convert-cyclic-to-ical)
16503 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
16504 (icalendar--convert-ical-to-diary)
16505 (icalendar--convert-recurring-to-diary)
16506 (icalendar--convert-non-recurring-all-day-to-diary)
16507 (icalendar-import-format-sample):
16508 * progmodes/idlw-shell.el (idlwave-shell-mode):
16509 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
16510 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
16511 (vhdl-ps-print-init): Fix typos.
16513 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
16515 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
16516 FSF and collapse date sequence, obscure author/maintainer email address
16517 better, remove extra version line, track relocation of author's webpage.
16519 * progmodes/python.el (python-pdbtrack-input-prompt)
16520 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
16521 regular python pdb prompts. Adjustments shamelessly taken exactly as
16522 suggested in EmacsWiki page (tiny change):
16523 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
16525 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
16527 * expand.el (expand-pos, expand-index, expand-point):
16528 Remove redundant info from docstring.
16529 (expand-add-abbrevs): Doc fix.
16530 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
16531 (expand-sample-perl-mode-expand-list): Fix typos.
16533 * net/dbus.el (dbus-event-member-name):
16534 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
16535 * term/pc-win.el (msdos-create-frame-with-faces):
16536 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
16538 2011-11-16 Martin Rudalics <rudalics@gmx.at>
16540 * window.el (split-window, window-state-get-1)
16541 (window-state-put-1, window-state-put-2): Rename occurrences of
16542 window-nest to window-combination-limit.
16543 * cus-start.el (window-nest): Rename to window-combination-limit.
16545 2011-11-16 Chong Yidong <cyd@gnu.org>
16547 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
16548 regexp (Bug#10033).
16550 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
16552 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
16553 `completing-read' will remove *Completions* and will preserve
16554 current-buffer for us.
16555 (tmm-add-prompt): Users of *Completions* will always (re)set its
16557 (tmm-old-comp-map): Remove.
16559 2011-11-16 Glenn Morris <rgm@gnu.org>
16561 * mail/rmailedit.el: Require rmailmm when compiling.
16562 (rmail-old-mime-state): New declaration.
16563 (rmail-edit-current-message): If editing a mime message,
16564 edit the "raw" message from the mbox buffer.
16565 (rmail-cease-edit): Handle mime messages. (Bug#9840)
16567 2011-11-15 Glenn Morris <rgm@gnu.org>
16569 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
16570 which wasn't being used. Add optional arg to force given state.
16571 (rmail-mime): Add optional arg to force given state.
16573 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
16575 * allout.el (allout-encryption-plaintext-sanitization-regexps):
16576 * frame.el (display-mm-dimensions-alist):
16577 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
16578 (outline-move-subtree-down):
16579 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
16580 (newsticker--treeview-do-get-node):
16581 * net/quickurl.el (quickurl-list-buffer-name):
16582 * progmodes/dcl-mode.el (dcl-mode):
16583 * progmodes/gdb-mi.el (gdb-mapcar*):
16584 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
16586 2011-11-15 Glenn Morris <rgm@gnu.org>
16588 * mail/rmail.el (rmail-file-coding-system): It's only ever used
16589 in a boolean sense, so just make it a boolean, and fix the doc.
16590 (rmail-show-mime-function, rmail-mime-feature)
16591 (rmail-require-mime-maybe): Doc fixes.
16592 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
16594 * mail/rmailmm.el (rmail-show-mime): Doc fix.
16596 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
16598 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
16599 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
16600 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
16601 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
16603 2011-11-15 Glenn Morris <rgm@gnu.org>
16605 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
16606 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
16607 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
16608 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
16609 (rmail-mime, rmail-show-mime): Doc fixes.
16611 * term/ns-win.el (mode-line-frame-identification):
16612 Leave it alone. (Bug#10051)
16614 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
16616 * mail/rmailout.el (rmail-output-to-rmail-buffer):
16617 Handle empty buffers. (Bug#9978)
16619 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
16621 * international/mule.el (define-charset):
16622 * mail/rmailmm.el (rmail-mime-find-header-encoding):
16623 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
16624 * progmodes/verilog-mode.el (verilog-backward-token):
16625 * textmodes/ispell.el (lookup-words):
16626 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
16628 2011-11-14 Glenn Morris <rgm@gnu.org>
16630 * progmodes/executable.el
16631 (executable-make-buffer-file-executable-if-script-p):
16632 Handle file-modes returning nil.
16634 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
16635 message - not necessary, and causes problems. (Bug#9831)
16637 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
16639 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
16641 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
16642 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
16643 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
16645 2011-11-12 Martin Rudalics <rudalics@gmx.at>
16647 * window.el (window-resize, delete-window): Use window-splits
16648 variable instead of function.
16649 (window-state-get-1, window-state-put-2, window-state-put):
16650 Don't deal with windows' splits status.
16652 2011-11-12 Glenn Morris <rgm@gnu.org>
16654 * apropos.el (apropos-do-all, apropos-library, apropos-value)
16655 (apropos-documentation): Doc fixes.
16657 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
16659 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
16660 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
16662 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
16664 * electric.el (electric-indent-post-self-insert-function): Make it
16665 possible for a char to only indent in some circumstances.
16666 (electric-indent-mode): Simplify.
16668 2011-11-11 Martin Rudalics <rudalics@gmx.at>
16670 * window.el (windows-with-parameter): Remove unused function.
16671 (windows-at-side): Rename to window-at-side-list.
16672 (window-check, window-atom-check, window-atom-check-1)
16673 (window-side-check, window-size-ignore, window-size-fixed-1)
16674 (window-in-direction-2): Prefix with "window--".
16675 (window-tree-1): Rename to window--subtree, fix doc-string.
16677 2011-11-11 Glenn Morris <rgm@gnu.org>
16679 * subr.el (eval-after-load): If FILE is already loaded,
16680 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
16682 2011-11-10 Glenn Morris <rgm@gnu.org>
16684 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
16685 Call svn via vc-svn-command rather than vc-do-command.
16686 (vc-svn-command): Add --non-interactive. (Bug#9993)
16687 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
16689 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
16690 Add toggle-read-only. (Bug#7292)
16691 * files.el (toggle-read-only): Mention that it should only
16692 be used interactively. (Bug#10006)
16694 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
16696 * progmodes/compile.el (compilation-error-regexp-alist-alist):
16697 Adjust regexp for OCaml warnings.
16699 * electric.el (electric-pair-post-self-insert-function): Let user
16700 turn it off buffer-locally (bug#9932).
16702 * progmodes/python.el (python-beginning-of-statement):
16703 Rewrite (bug#2703).
16705 * progmodes/compile.el: Better handle TABs (bug#9749).
16706 (compilation-internal-error-properties)
16707 (compilation-next-error-function): Obey the target buffer's
16708 compilation-error-screen-columns.
16710 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
16712 * progmodes/meta-mode.el: Remove obsolete comments.
16713 (meta-right-comment-regexp, meta-ignore-comment-regexp):
16714 Fix typos in docstrings.
16716 2011-11-09 Martin Rudalics <rudalics@gmx.at>
16718 * window.el (window-size-fixed-p): Rewrite doc-string.
16719 (window-resizable-p): Rename to window--resizable-p. Update callers.
16720 (window--resizable): New function. Make all callers of
16721 window-resizable call window--resizable instead.
16722 (window-resizable): Rewrite in terms of window--resizable.
16724 2011-11-08 Glenn Morris <rgm@gnu.org>
16726 * progmodes/delphi.el (delphi-mode-syntax-table):
16727 Let define-derived-mode define a proper syntax table. (Bug#9994)
16729 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
16731 * window.el: Stay away from defsubst.
16732 (window-list-no-nils): Remove.
16733 (window-state-get-1, window-state-get): Use backquote instead.
16735 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16737 * emacs-lisp/find-func.el (find-function-read):
16738 Fix incorrect use of default argument in `completing-read'.
16740 2011-11-08 Martin Rudalics <rudalics@gmx.at>
16742 * window.el (display-buffer-function, special-display-function):
16743 Mention display-buffer-record-window but do not mention
16744 help-setup parameter in doc-strings.
16745 (window-min-delta): Fix doc-string typo.
16747 2011-11-08 Chong Yidong <cyd@gnu.org>
16749 * window.el (window-total-height, window-total-width): Doc fix.
16750 (window-body-size): Move from C.
16751 (window-body-height, window-body-width): Move to C.
16753 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
16755 * window.el: Make special-display like display-buffer-alist (bug#9532).
16756 (display-buffer--special-action): New function, morphed
16757 from display-buffer--special.
16758 (display-buffer): Use it to handle special-display-buffers at higher
16759 priority (just after display-buffer-alist).
16760 (display-buffer-fallback-action, display-buffer--other-frame-action)
16761 (pop-to-buffer-same-window): Remove display-buffer--special.
16763 2011-11-07 Glenn Morris <rgm@gnu.org>
16765 * calendar/cal-menu.el (cal-menu-set-date-title):
16766 Do nothing if not in a calendar. (Bug#9976)
16768 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
16770 * files.el (find-file): Always use selected-window.
16772 2011-11-07 Martin Rudalics <rudalics@gmx.at>
16774 * window.el (window-combinations): Make WINDOW argument
16775 mandatory. Rewrite doc-string.
16776 (walk-window-subtree, window-atom-check, window-min-delta)
16777 (window-max-delta, window--resize-this-window)
16778 (window--resize-root-window-vertically, window-tree)
16779 (balance-windows, window-state-put): Rewrite doc-strings as to
16780 not mention the term "subwindow".
16781 (window--resize-subwindows-skip-p): Rename to
16782 window--resize-child-windows-skip-p.
16783 (window--resize-subwindows-normal): Rename to
16784 window--resize-child-windows-normal.
16785 (window--resize-subwindows): Rename to
16786 window--resize-child-windows.
16787 (window-or-subwindow-p): Rename to window--in-subtree-p.
16789 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
16791 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
16792 Ensure that mbox format messages end in two newlines (Bug#9974).
16794 2011-11-06 Chong Yidong <cyd@gnu.org>
16796 * window.el (window-combination-p): Function deleted; its
16797 side-effect is not used in any existing code.
16798 (window-combinations, window-combined-p): Call window-*-child
16801 2011-11-05 Chong Yidong <cyd@gnu.org>
16803 * window.el (window-valid-p): Rename from window-any-p.
16804 (window-size-ignore, window-state-get): Callers changed.
16805 (window-normalize-window): Rename from window-normalize-any-window.
16806 New arg LIVE-ONLY, replacing window-normalize-live-window.
16807 (window-normalize-live-window): Delete.
16808 (window-combination-p, window-combined-p, window-combinations)
16809 (walk-window-subtree, window-atom-root, window-min-size)
16810 (window-sizable, window-sizable-p, window-size-fixed-p)
16811 (window-min-delta, window-max-delta, window-resizable)
16812 (window-resizable-p, window-full-height-p, window-full-width-p)
16813 (window-current-scroll-bars, window-point-1, set-window-point-1)
16814 (window-at-side-p, window-in-direction, window-resize)
16815 (adjust-window-trailing-edge, maximize-window, minimize-window)
16816 (window-deletable-p, delete-window, delete-other-windows)
16817 (record-window-buffer, unrecord-window-buffer)
16818 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
16819 (quit-window, split-window, window-state-put)
16820 (set-window-text-height, fit-window-to-buffer)
16821 (shrink-window-if-larger-than-buffer): Callers changed.
16823 2011-11-04 Eli Zaretskii <eliz@gnu.org>
16825 * mail/rmail.el (rmail-simplified-subject): Decode subject with
16826 rfc2047-decode-string.
16827 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
16830 * window.el (window-body-height, window-body-width): Mention in
16831 the doc string that the return values are in frame's canonical
16834 2011-11-03 Alan Mackenzie <acm@muc.de>
16836 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
16837 change in cc-engine.el.
16839 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
16841 * window.el (switch-to-buffer): Use `force-same-window' interactively.
16843 2011-11-02 Martin Rudalics <rudalics@gmx.at>
16845 * window.el (quit-window): Call unrecord-window-buffer after
16846 showing another buffer in the window. (Bug#9937)
16847 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
16849 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
16851 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
16852 Accept status with more than 9 shelves. (Bug#9935)
16853 Reported by Colin D Bennett <colin@gibibit.com>.
16855 2011-11-01 Martin Rudalics <rudalics@gmx.at>
16857 * help.el (with-help-window): Don't reference
16858 temp-buffer-show-specifiers in doc-string.
16860 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
16862 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
16865 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
16867 * whitespace.el: New version 13.2.2.
16868 (whitespace-newline-mode): Disable properly. Reported by Sarah
16871 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
16873 * net/newst-treeview.el: Remove "Time-stamp".
16874 (newsticker--group-manage-orphan-feeds): Do not call
16875 newsticker--treeview-tree-update.
16876 (newsticker-treeview-update, newsticker-treeview):
16877 Call newsticker--treeview-tree-update if necessary.
16879 2011-10-30 Martin Rudalics <rudalics@gmx.at>
16881 * window.el (window-iso-combination-p, window-iso-combined-p)
16882 (window-iso-combinations): Remove "iso-" infix.
16883 Suggested by Chong Yidong.
16884 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
16885 (window-max-delta-1, window-resize, window--resize-siblings)
16886 (window--resize-this-window, adjust-window-trailing-edge)
16887 (split-window, balance-windows-1)
16888 (shrink-window-if-larger-than-buffer):
16889 * calendar/calendar.el (calendar-generate-window):
16890 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
16892 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
16894 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
16895 in place (bug#9907).
16896 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
16897 (eshell-rewrite-if-command, eshell-rewrite-for-command)
16898 (eshell-structure-basic-command, eshell-rewrite-while-command)
16899 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
16900 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
16901 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
16902 (eshell-do-pipelines-synchronously, eshell-eval-command):
16903 Use backquotes and prefer setq to set.
16904 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
16905 (eshell-macrop): Use functionp.
16906 (eshell-do-eval): Handle multiple expressions in `while' body.
16908 2011-10-30 Chong Yidong <cyd@gnu.org>
16910 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
16911 instead of set-mark (Bug#9810).
16913 2011-10-30 Chong Yidong <cyd@gnu.org>
16915 * window.el (split-window-below, split-window-right): Rename from
16916 split-window-above-each-other and split-window-side-by-side
16917 respectively. All callers changed.
16918 (split-window-sensibly, split-window-sensibly): Use them.
16919 (split-window-keep-point): Doc fix.
16921 * isearch.el: Add isearch-scroll property to split-window-below
16922 and split-window-right.
16924 * follow.el (follow-mode):
16925 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
16926 * progmodes/ada-xref.el (ada-gdb-application):
16927 * emulation/vip.el (vip-buffer-in-two-windows):
16928 * image-dired.el (image-dired-dired-with-window-configuration):
16929 * dired-x.el (dired-do-find-marked-files):
16930 * dired.el (dired-pop-to-buffer):
16931 * bs.el (bs--show-with-configuration):
16932 * vc/emerge.el (emerge-setup-windows):
16933 * textmodes/two-column.el (2C-two-columns):
16934 * textmodes/reftex-toc.el (reftex-toc):
16935 * progmodes/gdb-mi.el (gdb-setup-windows):
16936 * progmodes/fortran.el (fortran-window-create):
16937 * net/newst-treeview.el (newsticker--treeview-window-init):
16938 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
16939 * emulation/tpu-edt.el (tpu-gold-map):
16940 * emulation/crisp.el (crisp-mode-map):
16941 * calendar/calendar.el (calendar-basic-setup): Callers changed.
16943 2011-10-29 Chong Yidong <cyd@gnu.org>
16945 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
16947 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
16949 * textmodes/flyspell.el (flyspell-word): Fix char offset for
16950 forged Ispell output (Bug#7904).
16952 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
16954 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
16956 * doc-view.el: Avoid ugly errors about not finding nil.
16957 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
16958 (doc-view-dvipdf-program, doc-view-unoconv-program)
16959 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
16960 Avoid nil or absolute file name as default value.
16961 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
16963 2011-10-28 Alan Mackenzie <acm@muc.de>
16965 * progmodes/cc-defs.el (c-version): -> 5.32.2.
16967 2011-10-28 Alan Mackenzie <acm@muc.de>
16969 Amend the handling of c-beginning/end-of-defun in nested declaration
16972 * progmodes/cc-vars.el (c-defun-tactic): Move here from
16973 cc-langs.el. Change it to a defcustom.
16975 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
16978 * progmodes/cc-engine.el (c-beginning-of-statement-1):
16979 Prevent "class foo : bar" being spuriously recognized as a label.
16981 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
16982 Add parameter `inclusive' (to include enclosing braces in the region).
16983 (c-widen-to-enclosing-decl-scope): New function.
16984 (c-while-widening-to-decl-block): New macro.
16985 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
16986 outward for defun boundaries, and correspondingly change symbol
16987 `respect-enclosure' to `go-outward'.
16988 (c-declaration-limits): Change algorithm to report only the "innermost"
16989 defun's boundaries.
16991 2011-10-28 Deniz Dogan <deniz@dogan.se>
16993 * net/rcirc.el (rcirc-mode): Use hard newlines.
16995 2011-10-28 Alan Mackenzie <acm@muc.de>
16997 Amend to indent and fontify macros "which include their own semicolon"
16998 correctly, using the "virtual semicolon" mechanism.
17000 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
17002 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
17003 Recode to scan one line at a time rather than having \n and \r
17004 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
17005 (c-forward-label): Amend for virtual semicolons.
17006 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
17008 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
17009 of the new C macros.
17011 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
17012 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
17013 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
17014 (c-opt-cpp-macro-define): Make into a full language variable.
17015 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
17016 AWK Mode (including \n, \r) removed, no longer needed.
17018 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
17019 Invoke c-make-macro-with-semi-re.
17021 * progmodes/cc-vars.el (c-macro-with-semi-re):
17022 (c-macro-names-with-semicolon): New variables.
17023 (c-make-macro-with-semi-re): New function.
17025 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
17027 * vc/log-edit.el: Fill empty field rather than adding new one.
17028 (log-edit-add-field): New function.
17029 (log-edit-insert-changelog): Use it.
17031 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
17033 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
17035 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
17037 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
17038 (gdb--check-interpreter): New function.
17041 2011-10-27 Glenn Morris <rgm@gnu.org>
17043 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
17044 (least-positive-float, least-negative-float)
17045 (least-positive-normalized-float, least-negative-normalized-float)
17046 (float-epsilon, float-negative-epsilon):
17047 Remove unnecessary declarations.
17049 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
17050 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
17051 (least-positive-float, least-negative-float)
17052 (least-positive-normalized-float, least-negative-normalized-float)
17053 (float-epsilon, float-negative-epsilon): Add doc-strings,
17054 based on those in cl.texi.
17056 * files.el (set-visited-file-name): If the major-mode changed,
17057 reload the local variables. (Bug#9796)
17059 2011-10-27 Chong Yidong <cyd@gnu.org>
17061 * subr.el (change-major-mode-after-body-hook): New hook.
17062 (run-mode-hooks): Run it.
17064 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
17065 Use change-major-mode-before-body-hook.
17067 * simple.el (fundamental-mode):
17068 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
17069 change introducing fundamental-mode-hook.
17071 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
17073 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
17075 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
17077 * ido.el (ido-file-name-all-completions-1): Do not require
17078 tramp.el explicitly. (Bug#7583)
17080 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
17082 * progmodes/octave-mod.el:
17083 * progmodes/octave-inf.el: Update maintainer.
17085 2011-10-26 Chong Yidong <cyd@gnu.org>
17087 * subr.el (with-wrapper-hook): Rewrite doc.
17089 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
17091 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
17092 filenames "/method:foo:". (Bug#9793)
17094 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
17096 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
17099 2011-10-24 Glenn Morris <rgm@gnu.org>
17101 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
17103 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
17105 * notifications.el: Add the requirement of a running D-Bus session
17106 bus to the Commentary.
17108 2011-10-24 Juri Linkov <juri@jurta.org>
17110 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
17111 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
17114 2011-10-24 Juri Linkov <juri@jurta.org>
17116 * info.el (Info-following-node-name-re): Add newline to the list
17117 of allowed characters for leading space. (Bug#9824)
17119 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
17121 * progmodes/octave-inf.el (inferior-octave-mode-map):
17122 Fix C-c C-h binding.
17123 * progmodes/octave-mod.el (octave-help): Remove.
17125 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
17127 Sync with Tramp 2.2.3.
17129 * net/tramp-cache.el (top): Pacify byte-compiler using
17130 `init-file-user' and `site-run-file'.
17132 * net/trampver.el: Update release number.
17134 2011-10-23 Chong Yidong <cyd@gnu.org>
17136 * files.el (toggle-read-only): Remove obsolete comment about
17139 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
17140 for toggle-read-only. Note that this hasn't called vc-next-action
17141 since 2008-05-02, though it wasn't documented at the time.
17143 * vc/ediff-init.el (ediff-toggle-read-only-function):
17144 Use toggle-read-only.
17146 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
17148 Fix bug #9560, sporadic wrong indentation; improve instrumentation
17151 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
17152 correct faulty logical expression.
17153 (c-parse-state-state, c-record-parse-state-state):
17154 (c-replay-parse-state-state): New defvar/defuns.
17155 (c-debug-parse-state): Use new functions.
17157 2011-10-22 Martin Rudalics <rudalics@gmx.at>
17159 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
17160 last fix. Use window-in-direction correctly.
17162 2011-10-21 Chong Yidong <cyd@gnu.org>
17164 * progmodes/idlwave.el (idlwave-mode):
17165 * progmodes/vera-mode.el (vera-mode): No need to set
17166 require-final-newline; that's done in prog-mode.
17167 Suggested by Stefan Monnier.
17169 2011-10-21 Martin Rudalics <rudalics@gmx.at>
17171 * mouse.el (mouse-drag-window-above)
17172 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
17173 (mouse-drag-mode-line-1, mouse-drag-header-line)
17174 (mouse-drag-vertical-line-rightward-window): Remove.
17175 (mouse-drag-line): New function.
17176 (mouse-drag-mode-line, mouse-drag-header-line)
17177 (mouse-drag-vertical-line): Call mouse-drag-line.
17178 * window.el (window-at-side-p, windows-at-side): New functions.
17180 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
17182 * tar-mode.el (tar-grind-file-mode):
17183 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
17185 2011-10-21 Chong Yidong <cyd@gnu.org>
17187 * progmodes/idlwave.el (idlwave-mode):
17188 * progmodes/vera-mode.el (vera-mode):
17189 Use mode-require-final-newline.
17191 2011-10-20 Glenn Morris <rgm@gnu.org>
17193 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
17195 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
17197 * emulation/cua-base.el (cua-set-mark): Fix case of string.
17199 2011-10-20 Chong Yidong <cyd@gnu.org>
17201 * emulation/cua-base.el (cua-mode):
17202 * mail/footnote.el (footnote-mode):
17203 * mail/mailabbrev.el (mail-abbrevs-mode):
17204 * net/xesam.el (xesam-minor-mode):
17205 * progmodes/bug-reference.el (bug-reference-mode):
17206 * progmodes/cap-words.el (capitalized-words-mode):
17207 * progmodes/compile.el (compilation-minor-mode)
17208 (compilation-shell-minor-mode):
17209 * progmodes/gud.el (gud-tooltip-mode):
17210 * progmodes/hideif.el (hide-ifdef-mode):
17211 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
17212 * progmodes/subword.el (subword-mode):
17213 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
17214 * progmodes/which-func.el (which-function-mode):
17215 * term/tvi970.el (tvi970-set-keypad-mode):
17216 * term/vt100.el (vt100-wide-mode):
17217 * textmodes/flyspell.el (flyspell-mode):
17218 * textmodes/ispell.el (ispell-minor-mode):
17219 * textmodes/nroff-mode.el (nroff-electric-mode):
17220 * textmodes/paragraphs.el (use-hard-newlines):
17221 * textmodes/refill.el (refill-mode):
17222 * textmodes/reftex.el (reftex-mode):
17223 * textmodes/rst.el (rst-minor-mode):
17224 * textmodes/sgml-mode.el (html-autoview-mode)
17225 (sgml-electric-tag-pair-mode):
17226 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
17227 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
17228 * emulation/crisp.el (crisp-mode):
17229 * emacs-lisp/eldoc.el (eldoc-mode):
17230 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
17231 minor mode behavior.
17233 2011-10-19 Juri Linkov <juri@jurta.org>
17235 * descr-text.el (describe-char): Add #x2010 and #x2011 to
17236 the list of hard-coded chars with escape-glyph face.
17238 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
17240 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
17242 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
17244 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
17247 2011-10-19 Glenn Morris <rgm@gnu.org>
17249 * vc/vc-bzr.el (vc-bzr-after-dir-status):
17250 Ignore ignored files. (Bug#9726)
17252 2011-10-19 Chong Yidong <cyd@gnu.org>
17254 Doc fix for minor modes, stating that an omitted argument enables
17255 the mode unconditionally when called from Lisp.
17257 * abbrev.el (abbrev-mode):
17258 * allout.el (allout-mode):
17259 * autoinsert.el (auto-insert-mode):
17260 * autoarg.el (autoarg-mode, autoarg-kp-mode):
17261 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
17262 (global-auto-revert-mode):
17263 * battery.el (display-battery-mode):
17264 * composite.el (global-auto-composition-mode)
17265 (auto-composition-mode):
17266 * delsel.el (delete-selection-mode):
17267 * desktop.el (desktop-save-mode):
17268 * dired-x.el (dired-omit-mode):
17269 * dirtrack.el (dirtrack-mode):
17270 * doc-view.el (doc-view-minor-mode):
17271 * double.el (double-mode):
17272 * electric.el (electric-indent-mode, electric-pair-mode):
17273 * emacs-lock.el (emacs-lock-mode):
17274 * epa-hook.el (auto-encryption-mode):
17275 * follow.el (follow-mode):
17276 * font-core.el (font-lock-mode):
17277 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
17278 * help.el (temp-buffer-resize-mode):
17279 * hilit-chg.el (highlight-changes-mode)
17280 (highlight-changes-visible-mode):
17281 * hi-lock.el (hi-lock-mode):
17282 * hl-line.el (hl-line-mode, global-hl-line-mode):
17283 * icomplete.el (icomplete-mode):
17284 * ido.el (ido-everywhere):
17285 * image-file.el (auto-image-file-mode):
17286 * image-mode.el (image-minor-mode):
17287 * iswitchb.el (iswitchb-mode):
17288 * jka-cmpr-hook.el (auto-compression-mode):
17289 * linum.el (linum-mode):
17290 * longlines.el (longlines-mode):
17291 * master.el (master-mode):
17292 * mb-depth.el (minibuffer-depth-indicate-mode):
17293 * menu-bar.el (menu-bar-mode):
17294 * minibuf-eldef.el (minibuffer-electric-default-mode):
17295 * mouse-sel.el (mouse-sel-mode):
17296 * msb.el (msb-mode):
17297 * mwheel.el (mouse-wheel-mode):
17298 * outline.el (outline-minor-mode):
17299 * paren.el (show-paren-mode):
17300 * recentf.el (recentf-mode):
17301 * reveal.el (reveal-mode, global-reveal-mode):
17302 * rfn-eshadow.el (file-name-shadow-mode):
17303 * ruler-mode.el (ruler-mode):
17304 * savehist.el (savehist-mode):
17305 * scroll-all.el (scroll-all-mode):
17306 * scroll-bar.el (scroll-bar-mode):
17307 * server.el (server-mode):
17308 * shell.el (shell-dirtrack-mode):
17309 * simple.el (auto-fill-mode, transient-mark-mode)
17310 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
17311 (line-number-mode, column-number-mode, size-indication-mode)
17312 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
17313 * strokes.el (strokes-mode):
17314 * time.el (display-time-mode):
17315 * t-mouse.el (gpm-mouse-mode):
17316 * tool-bar.el (tool-bar-mode):
17317 * tooltip.el (tooltip-mode):
17318 * type-break.el (type-break-mode-line-message-mode)
17319 (type-break-query-mode):
17320 * view.el (view-mode):
17321 * whitespace.el (whitespace-mode, whitespace-newline-mode)
17322 (global-whitespace-mode, global-whitespace-newline-mode):
17323 * xt-mouse.el (xterm-mouse-mode): Doc fix.
17325 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
17326 Fix autogenerated docstring.
17328 2011-10-19 Juri Linkov <juri@jurta.org>
17330 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
17331 by checking environment variables "DESKTOP_SESSION" and
17332 "XDG_CURRENT_DESKTOP". (Bug#9779)
17334 2011-10-19 Juri Linkov <juri@jurta.org>
17336 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
17337 (browse-url-chromium-program, browse-url-chromium-arguments):
17339 (browse-url-default-browser): Check for `browse-url-chromium' and
17340 call `browse-url-chromium-program'.
17341 (browse-url-chromium): New command. (Bug#9779)
17343 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
17345 * facemenu.el (list-colors-duplicates): On Windows, detect more
17346 duplicates by assuming that only colors matching "^System" are
17347 special "system colors". (Bug#9722)
17349 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
17351 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
17352 to distinguish the author from the committer.
17354 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
17356 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
17358 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
17360 * international/mule.el (sgml-html-meta-auto-coding-function):
17361 Add support for detecting encoding in HTML5 specified only as
17362 <meta charset="UTF-8">. Implementation just makes http-equiv and
17363 content-type parts from HTML4 encoding string optional. (Bug#9716)
17365 2011-10-18 Glenn Morris <rgm@gnu.org>
17367 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
17369 2011-10-18 Chong Yidong <cyd@gnu.org>
17371 * faces.el (cursor): Doc fix.
17373 2011-10-17 Chong Yidong <cyd@gnu.org>
17375 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
17377 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
17379 * dirtrack.el (dirtrack): Support shell buffers with path
17380 prefixes, e.g. tramp-based remote shells. (Bug#9647)
17382 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
17384 * json.el: Bump version to 1.3 and note change in History.
17385 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
17387 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
17389 * comint.el (comint-insert-input, comint-send-input)
17390 (comint-get-old-input-default, comint-backward-matching-input)
17391 (comint-next-prompt): Use nil instead of `input' for field property of
17392 past user input (bug#114).
17394 * minibuffer.el (completion--replace): Inherit surrounding properties
17396 (minibuffer-complete-and-exit): Use it.
17398 * comint.el (comint--table-subvert): Quote the all-completions output
17401 2011-10-17 Martin Rudalics <rudalics@gmx.at>
17403 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
17405 * menu-bar.el (menu-bar-file-menu): Add entry for making new
17406 window on right of selected. (Bug#9350) Reword other window
17407 entries and separate them from frame entries.
17409 2011-10-15 Glenn Morris <rgm@gnu.org>
17411 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
17414 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
17416 * net/network-stream.el (network-stream-open-starttls):
17417 Improve detection of failure due to lack of TLS support.
17419 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
17420 putting the input text in front and in bold.
17422 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
17424 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
17426 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
17429 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
17430 unread-command-events rather than pushing yet-another event.
17432 2011-10-14 Eli Zaretskii <eliz@gnu.org>
17434 * mail/sendmail.el (sendmail-query-once): Improve the wording of
17435 the explanation of the possible choices. Make the options passed
17436 to completing-read shorter.
17438 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
17440 * textmodes/flyspell.el (flyspell-large-region): Make sure
17441 extended character mode is used if defined (Bug#1339).
17443 2011-10-13 Eli Zaretskii <eliz@gnu.org>
17445 * simple.el (what-cursor-position): Fix the display of the
17446 character info for LRE, LRO, RLE, and RLO characters by appending
17449 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
17451 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
17452 even in case of error; add debug spec; simplify data flow.
17453 (with-timeout-handler): Remove.
17455 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
17457 Fix Bug#6019, Bug#9315.
17459 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
17460 complete `buffer-file-name', the local file name part could look
17461 remotely (for example on VMS).
17463 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
17464 `tramp-run-real-handler'.
17465 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
17466 already quoted by '"'.
17468 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
17469 Let `file-name-handler-alist' be nil, the local file name part
17470 could look remotely (for example on VMS).
17472 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
17474 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
17476 (flyspell-post-command-hook): ...to here.
17478 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
17480 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
17482 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
17483 using completion. Protect against "slow" callers.
17484 Remove the "message hack".
17486 2011-10-11 Juri Linkov <juri@jurta.org>
17488 * isearch.el (isearch-lazy-highlight-word): New variable.
17489 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
17492 2011-10-11 Glenn Morris <rgm@gnu.org>
17494 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
17495 like f90-previous-statement does.
17497 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
17499 * eshell/eshell.el (eshell-command): History should be saved
17500 only in interactive use, to avoid error.
17502 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
17504 * minibuffer.el (completion-file-name-table): Fix last change,
17505 i.e. ignore normal errors but not the other ones.
17507 2011-10-10 Martin Rudalics <rudalics@gmx.at>
17509 * window.el (special-display-buffer-names)
17510 (special-display-regexps): Remove some remnants of earlier
17511 changes from doc-strings.
17512 (quit-windows-on): New function.
17514 * vc/vc.el (vc-revert, vc-rollback):
17515 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
17516 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
17517 (Bug#6183) (Bug#7074) (Bug#7447)
17519 2011-10-09 Martin Rudalics <rudalics@gmx.at>
17521 * window.el (frame-auto-hide-function): Add version tag.
17524 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
17526 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
17529 2011-10-09 Leo Liu <sdl.web@gmail.com>
17531 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
17534 2011-10-08 Glenn Morris <rgm@gnu.org>
17536 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
17537 before the first code statement zero indent. (Bug#9690)
17539 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
17541 * simple.el (count-words-region): Always count in the region.
17542 Report the number of lines and characters too.
17543 (count-words): New command, which counts in the buffer if the
17544 region is inactive, as count-words-region used to.
17545 (count-words--message): New function. Handle plurals.
17546 (count-lines-region): Make it an alias for count-words-region.
17548 * bindings.el (esc-map): Replace count-lines-region with
17549 count-words-region.
17551 2011-10-08 Martin Rudalics <rudalics@gmx.at>
17553 * window.el (window--delete): Delete dedicated frame
17554 unconditionally when argument KILL is non-nil. (Bug#9699)
17555 (switch-to-buffer): Fix doc-string typo.
17557 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
17559 * eshell/eshell.el (eshell-command): Avoid using hooks.
17561 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
17563 * bindings.el ([M-left],[M-right]): Bind to left-word and
17564 right-word respectively.
17566 2011-10-07 Glenn Morris <rgm@gnu.org>
17568 * cus-start.el (debug-on-quit): Fix custom type.
17570 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
17572 * subr.el (define-key-after): Clarify that the function is not
17573 useful for non-menu keymaps.
17575 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
17577 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
17579 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
17580 in current minibuffer (Fix bug with recursive minibuffers).
17582 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
17584 * progmodes/gdb-mi.el (gdb): Doc fix.
17586 2011-10-05 Martin Rudalics <rudalics@gmx.at>
17588 * window.el (frame-auto-hide-function): New option replacing
17589 frame-auto-delete. Suggested by Stefan Monnier.
17590 (window--delete): Call frame-auto-hide-function instead of
17591 investigating frame-auto-delete.
17592 (window-point-1, set-window-point-1): New functions.
17593 (window-in-direction, record-window-buffer, window-state-get-1)
17594 (display-buffer-record-window): Use window-point-1 instead of
17596 (set-window-buffer-start-and-point): Use set-window-point-1.
17598 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
17600 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
17602 2011-10-05 Glenn Morris <rgm@gnu.org>
17604 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
17605 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
17607 2011-10-05 Leo Liu <sdl.web@gmail.com>
17609 * subr.el (read-char-choice): Fix argument to buffer-live-p which
17610 works with buffer object.
17612 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
17614 * mpc.el (mpc-tool-bar-map): Add labels.
17616 2011-10-04 Glenn Morris <rgm@gnu.org>
17618 * calendar/holidays.el (calendar-check-holidays): Doc fix.
17620 2011-10-04 Martin Rudalics <rudalics@gmx.at>
17622 * window.el (window--delete): New function.
17623 (frame-auto-delete): Resuscitate option.
17624 (bury-buffer, replace-buffer-in-windows)
17625 (quit-window): Rewrite using window--delete.
17626 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
17627 Pass display-buffer-mark-dedicated to window--display-buffer-2
17630 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
17632 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
17633 returns a list (bug#9554). Add remote file name completion.
17634 * comint.el (comint--table-subvert): Curry and get quote&unquote
17635 functions as arguments.
17636 (comint--complete-file-name-data): Adjust call accordingly.
17637 * pcomplete.el (pcomplete--table-subvert): Remove.
17638 (pcomplete-completions-at-point): Use comint--table-subvert instead.
17640 * minibuffer.el (completion-table-case-fold): Use currying.
17641 (completion--styles-type, completion--cycling-threshold-type):
17643 (completion-styles, completion-category-overrides)
17644 (completion-cycle-threshold): Use them.
17645 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
17646 completion-table-case-fold.
17648 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
17650 * minibuffer.el (completion-category-overrides): Fix type of styles
17651 and add more user friendly tags (bug#9660).
17653 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
17655 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
17656 (mule-input-method-string): New widget.
17657 (default-input-method, language-info-custom-alist): Use it.
17659 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
17661 * pcomplete.el: Require comint.
17662 (pcomplete--common-suffix): Remove.
17663 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
17664 (pcomplete--table-subvert): Sync with comint--table-subvert.
17665 (pcomplete--entries): Use comint-completion-file-name-table.
17666 * comint.el (comint-unquote-filename): Simplify.
17667 (comint-completion-file-name-table): New function (bug#9616).
17668 (comint--complete-file-name-data): Use it.
17670 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
17671 (pcmpl-gnu-tar-buffer): Remove.
17672 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
17673 around. Make sure pcomplete-suffix-list is only changed temporarily.
17674 Don't look inside the tar's file if it's too large.
17676 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
17678 * cus-edit.el (custom-mode-map):
17679 * epa.el (epa-key-list-mode-map):
17680 * man.el (Man-mode-map):
17681 * startup.el (splash-screen-keymap):
17682 * simple.el (special-mode-map): Use scroll-up-command and
17683 scroll-down-command.
17685 * progmodes/idlw-help.el (idlwave-help-mode-map):
17686 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
17687 * net/newst-plainview.el (newsticker-mode-map):
17688 * emulation/ws-mode.el (wordstar-mode-map):
17689 * emulation/vi.el (vi-com-map):
17690 * calc/calc-graph.el (calc-graph-show-dumb):
17691 * term/sun.el (terminal-init-sun):
17692 * term/ns-win.el (global-map):
17693 * progmodes/grep.el (grep-mode-map):
17694 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
17695 * mail/rmail.el (rmail-mode-map):
17696 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
17698 * custom.el (custom-safe-themes, load-theme): Treat value of t for
17699 custom-safe-themes as special.
17701 2011-10-01 Julien Danjou <julien@danjou.info>
17703 * notifications.el (notifications-notify): Fix docstring.
17705 2011-10-01 Per Starbäck <per@starback.se>
17707 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
17709 2011-09-30 Martin Rudalics <rudalics@gmx.at>
17711 * startup.el (command-line-1): Fix last fix by inserting
17712 initial-scratch-message into *scratch* before displaying it.
17713 (Bug#9605) and (Bug#9636)
17715 2011-09-29 Eli Zaretskii <eliz@gnu.org>
17717 * simple.el (line-move): If auto-hscroll-mode is disabled and the
17718 window is hscrolled, move by logical lines. (Bug#9607)
17719 (line-move-visual): Update the doc string to the above effect.
17721 2011-09-29 Martin Rudalics <rudalics@gmx.at>
17723 * window.el (display-buffer-record-window): When WINDOW is the
17724 selected window use `point' instead of `window-point'. (Bug#9626)
17726 * startup.el (command-line-1): Use insert-before-markers when
17727 inserting initial-scratch-message. (Bug#9605)
17729 * help.el (help-window): Remove variable.
17731 2011-09-29 Glenn Morris <rgm@gnu.org>
17733 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
17735 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
17737 * descr-text.el (describe-char-categories): Accept category
17738 descriptions more than one line long.
17740 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
17742 * simple.el (delete-trailing-whitespace): Fix last change.
17744 * progmodes/perl-mode.el (perl-syntax-propertize-function):
17745 Don't confuse "y => 3" as the beginning of a `y' operation.
17747 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
17748 object has more than 4 slots (bug#9613).
17750 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
17752 * subr.el (with-output-to-temp-buffer):
17753 * net/quickurl.el (quickurl, quickurl-browse-url):
17754 Fix typos in docstrings.
17756 2011-09-27 Eli Zaretskii <eliz@gnu.org>
17758 * minibuffer.el (completion-styles)
17759 (completion-category-overrides): Cross reference each other in doc
17762 2011-09-27 Glenn Morris <rgm@gnu.org>
17764 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
17765 to split-string. (Bug#9606)
17767 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
17769 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
17772 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
17774 * emacs-lisp/package.el (list-packages): Fix echo area message.
17776 2011-09-27 Leo Liu <sdl.web@gmail.com>
17778 * ido.el (ido-read-internal): Accept cons cell HIST arg.
17780 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
17782 * net/dbus.el (dbus-unregister-object): Don't release services for
17783 registered signals. (Bug#9581)
17785 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
17787 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
17788 function that picks between cfengine 2 and 3 support
17789 automatically. Update docs accordingly.
17791 2011-09-22 Kenichi Handa <handa@m17n.org>
17793 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
17795 (indian-itrans-v5-table-for-tamil): New variable.
17796 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
17798 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
17800 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
17801 that's true if the current command involved collapsing of text.
17802 It's reset to false at the beginning of the next command.
17803 (allout-post-command-business): Move the cursor to the beginning
17804 of entry if the cursor is hidden and collapsing activity just
17807 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
17809 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
17810 tracking (Bug#9541).
17812 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
17814 * net/newst-reader.el (newsticker-html-renderer)
17815 (newsticker-show-news): Automatically load html rendering package
17816 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
17817 because w3m-fill-column is let-bound" and the error "Symbol's value
17818 as variable is void: w3m-fill-column".
17820 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
17822 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
17823 Release services only if they are defined. (Bug#9581)
17825 2011-09-23 Richard Stallman <rms@gnu.org>
17827 * textmodes/paragraphs.el (forward-sentence): For backwards case,
17828 distinguish start of paragraph from start of its text.
17830 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
17832 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
17833 (rmail-generate-viewer-buffer): Put that hook on view buffer.
17834 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
17836 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
17838 * international/mule-diag.el (mule-diag): Insert a newline after
17839 each fontset description.
17841 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
17843 * simple.el (delete-trailing-whitespace):
17844 Document last change; simplify.
17846 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
17848 * simple.el (delete-trailing-whitespace): Also delete
17849 extra newlines at the end of the buffer.
17851 * textmodes/picture.el: Make motion commands obey shift-select-mode.
17852 (picture-newline): Use forward-line so as to ignore fields.
17854 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
17856 * subr.el (with-wrapper-hook): Fix edebug spec.
17858 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
17860 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
17863 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
17865 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
17866 Fix nasty bug using wrong cached values.
17868 2011-09-23 Alan Mackenzie <acm@muc.de>
17870 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
17872 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
17874 * window.el (pop-to-buffer): Ensure right window is selected if we
17875 chose another frame.
17877 2011-09-22 Eli Zaretskii <eliz@gnu.org>
17879 * simple.el (what-cursor-position): Use get-char-property-change
17880 and next-single-char-property-change, to be able to show display
17881 properties that come from overlays as well as text properties.
17883 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
17885 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
17887 * cmuscheme.el (run-scheme, switch-to-scheme):
17888 * cus-edit.el (customize-group, custom-buffer-create)
17889 (customize-browse):
17891 * shell.el (shell):
17892 * mail/sendmail.el (mail):
17893 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
17895 2011-09-22 Richard Stallman <rms@gnu.org>
17897 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
17898 move back only to line beg, don't move back over blank lines.
17900 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
17902 * files.el (copy-directory): Set directory attributes only in case
17903 they could be retrieved from the source directory. (Bug#9565)
17905 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
17907 * progmodes/hideshow.el (hs-looking-at-block-start-p)
17908 (hs-find-block-beginning, hs-hide-level-recursive):
17909 Ignore strings as well as comments. (Bug#9502)
17911 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
17913 * progmodes/sql.el (sql-comint-postgres):
17914 Convert port number to a string. (Bug#9566)
17916 2011-09-22 Martin Rudalics <rudalics@gmx.at>
17918 * window.el (quit-window): Undedicate window when switching to
17919 previous buffer. Reported by Thierry Volpiatto
17920 <thierry.volpiatto@gmail.com>.
17921 (special-display-popup-frame): When popping up a new frame reset
17922 its previous buffers to nil. Simplify code.
17924 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
17926 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
17927 and process filter, as done also in `shell-command'.
17929 2011-09-21 Martin Rudalics <rudalics@gmx.at>
17931 * window.el (set-window-buffer-start-and-point):
17932 Call set-window-start with NOFORCE argument t.
17933 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
17934 (quit-window): Reword doc-string. Handle new format of
17935 quit-restore parameter. Don't delete window if it has a
17936 previous buffer we can show instead of the present one.
17937 (display-buffer-record-window): Rewrite using a new format for
17938 the quit-restore window parameter
17939 (special-display-popup-frame, display-buffer-same-window)
17940 (display-buffer-reuse-window, display-buffer-pop-up-frame)
17941 (display-buffer-pop-up-window, display-buffer-use-some-window):
17942 Adapt symbol passed to display-buffer-record-window.
17943 * help.el (help-window-setup): Handle new format of quit-restore
17946 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
17948 * faces.el (face-list): Fix docstring (bug#9564).
17950 * window.el (display-buffer--action-function-custom-type):
17951 Don't include internal functions in the Custom interface.
17953 2011-09-20 Juri Linkov <juri@jurta.org>
17955 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
17956 (Info-forward-node, Info-backward-node, Info-next-preorder)
17957 (Info-last-preorder): Use it. (Bug#9528)
17959 2011-09-20 Juri Linkov <juri@jurta.org>
17961 * info.el (Info-last-preorder): Visit last menu item only when
17962 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
17964 2011-09-20 Julien Danjou <julien@danjou.info>
17966 * password-cache.el (password-cache-remove): Remove entries even if the
17967 value is nil, so that password with a nil value (negative caching) is
17968 possible to invalidate.
17970 2011-09-20 Lawrence Mitchell <wence@gmx.li>
17972 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
17973 all whitespace around breakpoint. (Bug#9553)
17974 (f90-find-breakpoint): Only break at whitespace inside a comment.
17976 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
17978 * minibuffer.el (completion-file-name-table): Keep track of errors.
17979 (completion-table-with-predicate): Handle the case where pred1 is nil.
17980 * pcomplete.el (pcomplete-completions-at-point): Simplify.
17982 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
17984 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
17985 (debugger-return-value): Signal an error if the debugging context does
17986 not await any return value.
17988 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
17989 * image-mode.el (image-toggle-display-text)
17990 (image-toggle-display-image): Stay away from evil `intangible'.
17992 2011-09-19 Leo Liu <sdl.web@gmail.com>
17994 * replace.el (occur-revert-arguments): Make it permanent-local.
17995 (occur-mode): Don't call font-lock-defontify.
17997 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
17999 * net/ldap.el (ldap-search-internal): Don't push empty search
18002 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
18004 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
18006 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
18008 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
18009 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
18011 2011-09-18 Juri Linkov <juri@jurta.org>
18013 * buff-menu.el (Buffer-menu-mode-map):
18014 * dired.el (dired-mode-map):
18015 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
18016 (lisp-interaction-mode-map):
18017 * emacs-lisp/package.el (package-menu-mode-map):
18018 * epa.el (epa-key-list-mode-map):
18019 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
18020 (menu-bar-options-menu):
18021 * outline.el (outline-mode-menu-bar-map):
18022 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
18023 * vc/vc-dir.el (vc-dir-menu-map):
18024 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
18025 Capitalize non-function content words in menu item strings.
18027 * dired.el (dired-mode-map): Add menu item for
18028 `image-dired-dired-toggle-marked-thumbs'.
18030 2011-09-18 Juri Linkov <juri@jurta.org>
18032 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
18033 to `isearch-case-fold-search' and restore its original value
18034 after the `isearch-mode' call.
18036 2011-09-18 Juri Linkov <juri@jurta.org>
18038 * progmodes/grep.el (grep-process-setup): Don't check code for 1
18039 because `zgrep' returns 1 for successful matches (bug#9226).
18041 2011-09-18 Juri Linkov <juri@jurta.org>
18043 * info.el (Info-extract-menu-node-name): Check the second match
18044 for empty string (second test-case of bug#9528).
18045 (Info-last-preorder): Let-bind `Info-history' to nil to not add
18046 intermediate nodes to the history (first test-case of bug#9528).
18048 2011-09-18 Juri Linkov <juri@jurta.org>
18050 * info.el (Info-mode-syntax-table): New variable.
18051 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
18053 2011-09-18 Juri Linkov <juri@jurta.org>
18055 * info.el (Info-file-supports-index-cookies):
18056 Increment line-beginning-position's arg from 3 to 4 because makeinfo
18057 outputs one more line for long file names (bug#4142).
18059 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
18061 * newcomment.el (comment-normalize-vars): If prompting for
18062 comment-start, set comment-start-skip too (Bug#8424).
18064 2011-09-18 Johan Bockgård <bojohan@gnu.org>
18066 * icomplete.el: Fix previous fix of Bug#5849.
18067 (icomplete-mode): Don't set completion-show-inline-help.
18068 (icomplete-minibuffer-setup): Set completion-show-inline-help
18069 locally during icompletion.
18071 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
18073 * woman.el (woman2-process-escapes): Don't delete unrecognized
18074 escapes (Bug#7843).
18076 * files.el (inhibit-first-line-modes-regexps): Add image files.
18077 (hack-local-variables-prop-line): Return nil for malformed
18078 prop-lines (Bug#9044).
18080 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
18082 * net/tramp.el (top): Don't require 'shell.
18083 (tramp-methods): Fix docstring.
18084 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
18085 Return complete remote file name. Handle "smb" case.
18086 Use `tramp-tmpdir', if defined for the respective method.
18087 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
18089 * net/tramp-compat.el (top): Require 'shell.
18091 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
18092 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
18093 `tramp-current-host'.
18094 (tramp-get-remote-tmpdir): Remove.
18096 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
18097 `tramp-tmpdir' entries.
18098 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
18099 (tramp-smb-handle-file-attributes): Ignore errors.
18100 (tramp-smb-wait-for-output): Check also for process end.
18102 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
18104 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
18105 when sending QUIT (bug#9312).
18107 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
18109 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
18110 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
18111 occur-mode-display-occurrence.
18112 (occur-edit-mode): Add usage message.
18113 (occur-cease-edit): New command.
18114 (occur-after-change-function): Use text properties to find the
18115 position of the prefix text.
18116 (occur-engine): Set stickiness of prefix text properties.
18118 2011-09-17 Glenn Morris <rgm@gnu.org>
18120 * progmodes/etags.el (complete-tag):
18121 Fix call to completion-in-region. (Bug#9526)
18123 2011-09-17 Juri Linkov <juri@jurta.org>
18125 * textmodes/ispell.el (ispell-word): Add to the error message
18126 the word, ispell program name and current dictionary (bug#9121).
18127 (ispell-tex-arg-end): Capitalize "error" in the error message.
18129 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
18131 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
18134 2011-09-17 Juri Linkov <juri@jurta.org>
18136 * window.el (window-safe-min-height, window-safe-min-width):
18137 Fix typos (followup to bug#9522).
18139 2011-09-17 Sven Joachim <svenjoac@gmx.de>
18141 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
18143 2011-09-16 Eli Zaretskii <eliz@gnu.org>
18145 * simple.el (line-move): If goal-column is set, move by logical
18146 lines, not by display lines. (Bug#971)
18147 (next-line, previous-line, goal-column, line-move-visual): Doc fix
18148 to reflect the above change.
18150 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
18152 * image.el (imagemagick-register-types): Use regexp-opt.
18154 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
18156 * window.el (display-buffer-base-action): Rename from
18157 display-buffer-default-action. Make default value empty.
18158 (display-buffer-overriding-action): Convert to defvar.
18159 (display-buffer-fallback-action): New var.
18161 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
18163 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
18165 (package--add-to-archive-contents): If there is a duplicate entry
18166 with an older version, remove it.
18167 (package-menu-mark-delete, package-menu-mark-install)
18168 (package-menu-mark-unmark): Make unused args optional.
18169 (package-menu-mark-obsolete-for-deletion):
18170 Use package-menu-get-status instead of a regexp search.
18171 (package-menu-get-status): Use tabulated-list-entry.
18172 (package-menu-mark-upgrades): New command.
18173 (package-menu-mode-map): Bind it to U. Add it to menu bar.
18174 (package-menu-execute): Do installation before deletion.
18175 (package-menu-refresh, package-menu-execute): Use derived-mode-p
18176 instead of checking major-mode.
18177 (package-menu--find-upgrades): New function.
18179 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
18181 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
18182 passwords in the log buffer.
18183 (smtpmail-process-filter): Update the process marker so that the
18184 "broken by peer" status message is inserted in the right place.
18186 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
18188 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
18189 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
18190 bibtex-completion-at-point-function.
18191 (bibtex-completion-at-point-function): Use them.
18193 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
18195 * mpc.el (mpc-constraints-tag-lookup): New function.
18196 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
18197 also to browser "album|playlist".
18199 2011-09-14 Juri Linkov <juri@jurta.org>
18201 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
18202 (isearch-edit-string): Use length of `isearch-string' when
18203 `isearch-fail-pos' returns nil.
18204 (isearch-message): Remove duplicate code and call
18205 `isearch-fail-pos' with arg `t'.
18207 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
18209 * replace.el (occur-mode-goto-occurrence): Don't force using other
18212 * dired-aux.el (dired-do-chmod): Don't provide initial input.
18214 2011-09-14 Martin Rudalics <rudalics@gmx.at>
18216 * window.el (display-buffer-window): Remove.
18217 (display-buffer-record-window): Use help-setup window parameter
18218 instead of variable display-buffer-window.
18219 (display-buffer-function, special-display-buffer-names)
18220 (special-display-function): Mention help-setup parameter instead
18221 of display-buffer-window in doc-string.
18222 * help.el (help-window-setup): New argument help-window.
18223 Use help-window-setup parameter instead of display-buffer-window.
18224 Reword some messages.
18225 (with-help-window): Pass window used for displaying the buffer
18226 to help-window-setup. Don't set display-buffer-window.
18228 2011-09-13 Glenn Morris <rgm@gnu.org>
18230 * emacs-lisp/debug.el (debugger-make-xrefs):
18231 Preserve point. (Bug#9462)
18233 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
18235 * window.el (window-deletable-p): Use next-frame.
18237 2011-09-13 Martin Rudalics <rudalics@gmx.at>
18239 * window.el (window-auto-delete): Remove.
18240 (window-deletable-p): Remove argument FORCE. Don't deal with
18241 dedication and previous buffers.
18242 (switch-to-prev-buffer): Don't delete window.
18243 (delete-windows-on): Delete a window's frame if and only if the
18244 window is dedicated.
18245 (replace-buffer-in-windows): Delete buffer's window or frame if
18246 and only if window is dedicated.
18247 (quit-window): Handle quit-restore as before last change.
18248 (bury-buffer): Delete window only if window-deletable-p returns t.
18250 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
18252 * window.el (window-deletable-p): Never delete the last frame on a
18255 2011-09-13 Glenn Morris <rgm@gnu.org>
18257 * help.el (describe-key-briefly): Copy previous standard-output change.
18259 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
18261 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
18263 2011-09-13 Glenn Morris <rgm@gnu.org>
18265 * emacs-lisp/lisp-mode.el (lisp-indent-function):
18266 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
18268 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
18270 * dired-aux.el (dired-mark-read-string): Don't return default
18271 value on empty input (Bug#9361).
18272 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
18273 Omit initial minibuffer contents.
18274 (dired-do-chmod): Signal an error on empty input.
18275 (dired-mark-read-string): Don't return default on empty input.
18277 * files.el (file-modes-symbolic-to-number): Doc fix.
18279 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
18281 * international/mule-cmds.el (ucs-completions): Remove.
18282 (read-char-by-name): Use complete-with-action instead; add metadata.
18284 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
18286 * window.el (display-buffer--action-function-custom-type)
18287 (display-buffer--action-custom-type): New vars.
18288 (display-buffer-alist, display-buffer-default-action)
18289 (display-buffer-overriding-action): Add defcustom types.
18291 * frame.el (delete-other-frames): Doc fix (Bug#276).
18293 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
18295 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
18297 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
18299 Change modes that used same-window-* vars to use switch-to-buffer.
18301 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
18302 Use switch-to-buffer.
18304 * cus-edit.el (customize-group, custom-buffer-create)
18305 (customize-browse, custom-buffer-create-other-window):
18306 Use switch-to-buffer or switch-to-buffer-other-window.
18308 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
18309 (Info-prev, Info-up, Info-speedbar-goto-node)
18310 (info-display-manual): Use switch-to-buffer.
18311 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
18313 * mail/sendmail.el (mail): Use switch-to-buffer.
18314 (mail-recover): Use switch-to-buffer-other-window.
18316 * cmuscheme.el (run-scheme, switch-to-scheme):
18318 * shell.el (shell):
18319 * net/rlogin.el (rlogin):
18320 * net/telnet.el (telnet, rsh):
18321 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
18323 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
18325 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
18327 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
18329 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
18330 so don't mention it (bug#9301).
18331 (dired-sort-toggle-or-edit): Clarify string further.
18333 * faces.el (face-spec-set-match-display): Make `(type graphic)'
18334 match `x', `w32' and `ns', like the manual says (bug#9029).
18336 * subr.el (eval-after-load): Doc string clarification (bug#9125).
18337 (process-kill-buffer-query-function): Mention the buffer name in
18340 * image-mode.el (image-next-line): The line parameter is mandatory
18343 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
18344 which can be useful (bug#9301).
18346 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
18348 * subr.el (match-string): Mention that the current buffer should
18349 be the same as the search was done in (bug#9282).
18351 * facemenu.el: Disable the remove-* commands if the mark isn't
18354 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
18356 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
18358 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
18360 * replace.el (occur-mode-goto-occurrence)
18361 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
18362 and display-buffer.
18364 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
18367 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
18368 special-display and same-window variables.
18369 (mail-other-window): Use switch-to-buffer-other-window.
18370 (mail-other-frame): USe switch-to-buffer-other-frame.
18372 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
18373 Use display-buffer-other-frame.
18374 (gdb-display-gdb-buffer): Use pop-to-buffer.
18376 * progmodes/gud.el (gud-goto-info): Use info-other-window.
18378 * progmodes/python.el: Don't set same-window-buffer-names.
18380 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
18382 * window.el (display-buffer-alist): Add *Python*.
18384 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
18386 * window.el (display-buffer-alist): Add entry for buffers
18387 previously handled same-window-*.
18388 (display-buffer-alist, display-buffer-default-action)
18389 (display-buffer-overriding-action): Mark as risky.
18390 (display-buffer-alist): Document action function changes.
18391 (display-buffer--same-window-action)
18392 (display-buffer--other-frame-action): New variables.
18393 (switch-to-buffer, display-buffer-other-frame): Use them.
18394 (display-buffer): Rename reuse-frame entry to reusable-frames.
18395 (display-buffer-reuse-selected-window): Function deleted.
18396 (display-buffer-reuse-window): Handle reusable-frames alist entry.
18397 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
18398 (display-buffer-special): New function.
18399 (display-buffer--maybe-pop-up-frame-or-window): Rename from
18400 display-buffer-reuse-or-pop-window. Split off special-display
18401 part into display-buffer-special.
18402 (display-buffer-use-some-window): Don't perform any special
18403 pop-up-frames handling.
18404 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
18405 (display-buffer--maybe-same-window): Rename from
18406 display-buffer-maybe-same-window.
18408 * info.el: Don't set same-window-regexps.
18409 (info-setup): New function.
18410 (info-other-window, info): Call it.
18412 * cus-edit.el: Don't set same-window-regexps.
18413 (customize-group): New argument.
18414 (customize-group-other-window): Use it.
18415 (customize-face, customize-face-other-window): Likewise.
18416 (custom-buffer-create-other-window): Use pop-to-buffer directly.
18420 * progmodes/gud.el: Don't set same-window-regexps.
18425 * mail/sendmail.el:
18426 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
18428 2011-09-10 Juri Linkov <juri@jurta.org>
18430 * isearch.el (isearch-edit-string): Remove obsolete mention of
18431 `C-w' (`isearch-yank-word-or-char') from docstring.
18432 (isearch-query-replace): Fix typo in docstring (bug#9466).
18434 2011-09-10 Juri Linkov <juri@jurta.org>
18436 * paren.el (show-paren-function): Don't show escaped parens.
18437 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
18439 2011-09-10 Eli Zaretskii <eliz@gnu.org>
18441 * mail/sendmail.el (mml-to-mime, mml-attach-file)
18442 (mm-default-file-encoding): Remove autoload forms, they are
18443 replaced with autoload cookies in mml.el and mm-encode.el.
18444 (mail-add-attachment): New command.
18445 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
18446 (mail-mode): Mention mail-insert-file and mail-add-attachment in
18448 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
18450 2011-09-10 Reuben Thomas <rrt@sc3d.org>
18452 * simple.el (count-words-region): Use buffer if there's no region
18455 2011-09-09 Juri Linkov <juri@jurta.org>
18457 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
18458 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
18459 (wdired-isearch-filter-read-only): New function. (Bug#6362)
18461 2011-09-09 Alan Mackenzie <acm@muc.de>
18463 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
18464 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
18466 2011-09-09 Eli Zaretskii <eliz@gnu.org>
18468 Fix for Savannah bug#9392.
18469 * simple.el (mail-encode-mml): New defvar.
18471 * mail/rmail.el (mail-encode-mml): Add a defvar.
18472 (rmail-enable-mime-composing): Default to t.
18473 (rmail-forward): Use MIME method of forwarding only if both
18474 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
18475 Set mail-encode-mml non-nil if the MIME method was used.
18477 * mail/sendmail.el (mml-to-mime): Add autoload form.
18478 (mail-encode-mml): Add a defvar.
18479 (mail-mode): Make mail-encode-mml buffer-local and initialize it
18481 (mail-send): If mail-encode-mml is non-nil, run the outgoing
18482 message through mml-to-mime, and reset mail-encode-mml to nil.
18484 2011-09-09 Glenn Morris <rgm@gnu.org>
18486 * woman.el (woman-if-body): When processing an .el block,
18487 do not delete the next .el block as well. (Bug#9447)
18488 (woman-special-characters): Add oq, cq, and hy characters.
18490 2011-09-08 Martin Rudalics <rudalics@gmx.at>
18492 * window.el (window-deletable-p): Make sure window is live before
18493 invoking window-prev-buffers.
18495 2011-09-08 Leo Liu <sdl.web@gmail.com>
18497 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
18499 2011-09-08 Juri Linkov <juri@jurta.org>
18501 * progmodes/compile.el (compilation-environment): Make it
18502 a defcustom (bug#8340).
18504 2011-09-08 Martin Rudalics <rudalics@gmx.at>
18506 * window.el (frame-auto-delete): Rename to window-auto-delete.
18507 Make it control auto-deletion of windows and/or frames.
18508 (window-deletable-p): New argument FORCE. Rewrite conditions
18509 for deleting window/frame. (Bug#9419)
18510 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
18511 Rewrite handling of case when window/frame can be deleted.
18512 (delete-windows-on): Call window-deletable-p with new FORCE
18513 argument t. (Bug#9456)
18515 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
18517 * help-mode.el (help-mode): Restore autoload.
18519 2011-09-07 Juri Linkov <juri@jurta.org>
18521 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
18522 `compilation-environment'. Set buffer-local
18523 `compilation-environment' to `thisenv' later after (funcall mode).
18526 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
18527 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
18528 instead of replacing its value. (Bug#8340)
18530 2011-09-07 Juri Linkov <juri@jurta.org>
18532 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
18533 based on text properties put by `grep-filter' instead of matching
18535 (grep-mode): Set buffer-local `compilation-error-screen-columns'
18536 to the value of `grep-error-screen-columns' (bug#9438).
18538 2011-09-07 Juri Linkov <juri@jurta.org>
18540 * simple.el (next-error-highlight, next-error-highlight-no-select):
18541 Doc fix (bug#9432).
18543 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
18545 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
18546 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
18548 2011-09-07 Leo Liu <sdl.web@gmail.com>
18550 * net/rcirc.el (rcirc-mode): Conditionally initialize
18553 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
18555 * emacs-lisp/find-func.el (find-function-C-source): Only set
18556 find-function-C-source-directory after checking that we found a source
18557 file there (bug#9440).
18559 2011-09-06 Alan Mackenzie <acm@muc.de>
18561 * isearch.el (isearch-other-meta-char): Wherever a key list is
18562 unread, "unread" the prefix arg, too. This fixes bug #8901.
18564 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
18566 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
18568 2011-09-05 Juri Linkov <juri@jurta.org>
18570 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
18572 2011-09-05 Juri Linkov <juri@jurta.org>
18574 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
18575 keeping point where processing of grep matches begins, and
18576 continue to delete remaining escape sequences from the same point.
18577 (grep-filter): Make leading zero optional in "0?1;31m" because
18578 git-grep emits "\033[1;31m" escape sequences unlike expected
18579 "\033[01;31m" as GNU Grep does (bug#9408).
18580 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
18582 2011-09-05 Juri Linkov <juri@jurta.org>
18584 * subr.el (y-or-n-p): Capitalize "yes".
18586 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
18588 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
18589 `tramp-cache-unload-hook' where appropriate.
18590 (tramp-methods): Rename `tramp-remote-sh' to
18591 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
18592 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
18594 * net/tramp-sh.el (top): Don't require 'shell.
18595 (tramp-methods): Add `tramp-remote-shell' and
18596 `tramp-remote-shell-args' entries.
18597 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
18598 (tramp-sh-handle-shell-command): Remove.
18599 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
18600 Use `tramp-remote-shell'.
18602 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
18604 * mail/sendmail.el (sendmail-query-once-function): Delete.
18605 (sendmail-query-once): Save directly to send-mail-function.
18606 Update message-send-mail-function too.
18608 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
18610 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
18612 * progmodes/python.el (python-mode-map): Use correct function to
18613 start python interpreter from menu-bar (as reported by Geert
18615 (inferior-python-mode-map): Fix typo.
18616 (python-shell-map): Remove.
18618 2011-09-03 Deniz Dogan <deniz@dogan.se>
18620 * net/rcirc.el (rcirc-print): Simplify code for
18621 rcirc-scroll-show-maximum-output. There is no need to walk
18622 through all windows to find the right one.
18624 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
18626 * help.el (help-return-method): Doc fix.
18628 2011-09-03 Martin Rudalics <rudalics@gmx.at>
18630 * window.el (window-deletable-p): Don't return a non-nil value
18631 when there's a buffer that was shown in the window before.
18633 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
18634 Set window's previous buffers to nil.
18636 2011-09-03 Eli Zaretskii <eliz@gnu.org>
18638 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
18639 newline before and after the tag line, so it doesn't interfere
18640 with determining the paragraph direction of bidirectional text.
18642 2011-09-03 Leo Liu <sdl.web@gmail.com>
18644 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
18646 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
18648 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
18649 (pop-to-buffer): Change interactive spec. Pass second argument
18650 directly to display-buffer.
18651 (display-buffer): Fix interactive spec. Use functionp to
18652 distinguish between a function and a list of functions.
18654 * abbrev.el (edit-abbrevs):
18655 * arc-mode.el (archive-extract):
18656 * autoinsert.el (auto-insert):
18657 * bookmark.el (bookmark-bmenu-list):
18658 * files.el (find-file):
18659 * view.el (view-buffer):
18660 * progmodes/compile.el (compilation-goto-locus):
18661 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
18663 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
18665 * window.el (display-buffer-alist): Doc fix.
18666 (display-buffer): Add docstring. Don't treat
18667 display-buffer-default specially.
18668 (display-buffer-reuse-selected-window)
18669 (display-buffer-same-window, display-buffer-maybe-same-window)
18670 (display-buffer-reuse-window, display-buffer-pop-up-frame)
18671 (display-buffer-pop-up-window)
18672 (display-buffer-reuse-or-pop-window)
18673 (display-buffer-use-some-window): New functions.
18674 (display-buffer-default-action): Use them.
18675 (display-buffer-default): Delete.
18676 (pop-to-buffer-1): Fix choice of actions.
18678 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
18680 * minibuffer.el (completion--insert-strings): Don't get confused by
18681 completion entries that end with an LF char.
18683 2011-09-01 Eli Zaretskii <eliz@gnu.org>
18685 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
18687 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
18689 * window.el (display-buffer): Restore interactive spec.
18690 (display-buffer-same-window, display-buffer-other-window):
18692 (pop-to-buffer-1): New function. Use the above.
18693 (pop-to-buffer, pop-to-buffer-same-window): Use it.
18694 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
18696 * view.el (view-buffer-other-window, view-buffer-other-frame):
18697 Just use pop-to-buffer.
18699 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
18701 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
18703 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
18705 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
18707 2011-08-31 Richard Stallman <rms@gnu.org>
18709 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
18710 of the separation of rmail-view-buffer from rmail-buffer.
18711 If you say no to "replace original", the decrypt is in the
18712 view buffer. If you say yes, the decrypt goes into the
18715 2011-08-31 Martin Rudalics <rudalics@gmx.at>
18717 * window.el (display-buffer-window): Rewrite doc-string.
18718 (display-buffer-record-window): New function.
18719 (display-buffer-macro-specifiers)
18720 (display-buffer-even-window-sizes, display-buffer-set-height)
18721 (display-buffer-set-width, display-buffer-in-window)
18722 (display-buffer-reuse-window, display-buffer-split-specifiers)
18723 (display-buffer-side-specifiers, display-buffer-split-window-1)
18724 (display-buffer-split-window, display-buffer-split-atom-window)
18725 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
18726 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
18727 (display-buffer-other-window-means-other-frame)
18728 (display-buffer-normalize-special)
18729 (display-buffer-normalize-default)
18730 (display-buffer-normalize-argument)
18731 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
18732 (display-buffer-normalize-specifiers, display-buffer-frame)
18733 (display-buffer-same-window, display-buffer-same-frame)
18734 (display-buffer-other-window)
18735 (display-buffer-same-frame-other-window)
18736 (display-buffer-other-frame, pop-to-buffer-same-window)
18737 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
18738 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
18739 (switch-to-buffer-same-frame)
18740 (switch-to-buffer-other-window-same-frame)
18741 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
18742 (display-buffer-alist-set-1, display-buffer-alist-set-2)
18743 (display-buffer-alist-set): Remove.
18744 (display-buffer-function, special-display-buffer-names)
18745 (special-display-regexps, special-display-function):
18746 In doc-string refer to display-buffer-window and quit-restore
18748 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
18749 (special-display-frame-alist, special-display-popup-frame)
18750 (same-window-buffer-names, same-window-regexps, same-window-p)
18751 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
18752 (split-window-preferred-function, split-height-threshold)
18753 (split-width-threshold, window-splittable-p)
18754 (split-window-sensibly, window--try-to-split-window)
18755 (window--frame-usable-p, even-window-heights)
18756 (window--even-window-heights, window--display-buffer-1)
18757 (window--display-buffer-2, display-buffer-other-frame):
18758 Restore old Emacs 23 code, order and doc-strings where applicable.
18759 (display-buffer-default, display-buffer-assq-regexp): New functions.
18760 (display-buffer-alist): Rewrite doc-string.
18761 (display-buffer-default-action)
18762 (display-buffer-overriding-action): New variables.
18763 (display-buffer, switch-to-buffer): Rewrite.
18764 (pop-to-buffer): Restore Emacs 23 behavior but use
18765 window-normalize-buffer-to-display.
18766 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
18767 Restore Emacs 23 behavior but use
18768 window-normalize-buffer-to-switch-to.
18769 (pop-to-buffer-same-window): Rewrite.
18770 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
18771 Rewrite using Emacs 23 options.
18773 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
18775 * net/tramp.el (tramp-root-regexp): Remove.
18776 (tramp-completion-file-name-regexp-unified)
18777 (tramp-completion-file-name-regexp-separate)
18778 (tramp-completion-file-name-regexp-url): Don't use leading volume
18779 letter on w32 systems. (Bug#5303, Bug#9311)
18780 (tramp-drop-volume-letter): Simplify definition.
18781 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
18783 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
18785 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
18788 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
18790 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
18792 2011-08-29 Juri Linkov <juri@jurta.org>
18794 * isearch.el (isearch-done): Don't display message "Mark saved"
18795 when arg `edit' is non-nil to prevent its flicker in the echo area.
18797 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
18799 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
18800 obsolete packages for deletion.
18802 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
18804 * help-mode.el (help-mode-map): Add special-mode-map to parent.
18805 (help-mode): Derive help-mode from special-mode. Don't invoke
18806 view-mode from help-mode.
18807 (help-xref-override-view-map): Remove.
18808 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
18809 view-mode is not used anymore.
18811 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
18813 * server.el (server-port): Doc fix.
18815 * cus-theme.el (custom-theme-choose-mode): Inherit from
18816 special-mode (Bug#9124).
18817 (custom-theme-choose-mode-map): Add special-mode to parent.
18819 2011-08-28 Alan Mackenzie <acm@muc.de>
18821 * progmodes/cc-fonts.el
18822 (c-make-font-lock-BO-decl-search-function): New function.
18823 (c-basic-matchers-after - "Fontify the clauses after various
18824 keywords"): Extract the three keyword lists for the 3 erroneous
18825 constructs from the list of four, and use the new function above
18826 in place of an old one.
18828 2011-08-28 Deniz Dogan <deniz@dogan.se>
18830 * net/rcirc.el (rcirc-insert-prev-input)
18831 (rcirc-insert-next-input): Remove unused argument.
18833 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
18835 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
18837 2011-08-27 Alan Mackenzie <acm@muc.de>
18839 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
18840 handle function pointer parameters properly.
18842 2011-08-27 Martin Rudalics <rudalics@gmx.at>
18844 * window.el (display-buffer-reuse-window): Fix case where
18845 selected window was reused with non-nil OTHER-WINDOW argument.
18848 2011-08-27 Deniz Dogan <deniz@dogan.se>
18850 * net/rcirc.el (rcirc-check-auth-status): Adding support for
18851 oftc's NickServ messages.
18853 2011-08-27 Glenn Morris <rgm@gnu.org>
18855 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
18857 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
18859 * emacs-lisp/package.el (package-install): Call package-initialize
18860 if called interactively.
18862 2011-08-26 Leo Liu <sdl.web@gmail.com>
18864 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
18866 2011-08-25 Juri Linkov <juri@jurta.org>
18868 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
18869 `search-whitespace-regexp' (bug#9364).
18871 2011-08-25 Juri Linkov <juri@jurta.org>
18873 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
18874 `regexp-search-ring' to their global values to protect from
18875 updating by `read-from-minibuffer' (bug#9185).
18877 2011-08-25 Juri Linkov <juri@jurta.org>
18879 * textmodes/ispell.el (ispell-command-loop): Add newline
18880 at the end of the "Use option `i'..." line.
18882 2011-08-25 Juri Linkov <juri@jurta.org>
18884 * battery.el (display-battery-mode): If `battery-status-function'
18885 or `battery-mode-line-format' is nil, display the message and set
18886 `display-battery-mode' to nil (bug#9363).
18888 2011-08-25 Eli Zaretskii <eliz@gnu.org>
18890 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
18891 bidi-string-mark-left-to-right; they are unnecessary now.
18893 2011-08-25 Deniz Dogan <deniz@dogan.se>
18895 * net/quickurl.el: Documentation typo fixes.
18897 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
18899 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
18901 2011-08-25 Glenn Morris <rgm@gnu.org>
18903 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
18905 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
18906 (smtpmail-via-smtp): Handle nil response from smtp.
18908 2011-08-24 Juri Linkov <juri@jurta.org>
18910 * proced.el (proced-marked): Inherit from `error' instead of
18911 `font-lock-warning-face'.
18913 * ibuffer.el (ibuffer-marked-face): Change default face from
18914 `font-lock-warning-face' to `warning'.
18915 (ibuffer-deletion-face): Change default face from
18916 `font-lock-type-face' to `error'.
18918 * battery.el (battery-update): Use the face `error' instead of
18919 `font-lock-warning-face' (bug#6117).
18921 2011-08-24 Juri Linkov <juri@jurta.org>
18923 * faces.el (success): Change face color from "Green3" to
18924 "ForestGreen" on light background (bug#9353).
18926 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
18928 * window.el (quit-window): Rename from quit-restore-window.
18929 Use same arglist as old quit-window.
18930 (frame-auto-delete): Doc fix.
18932 * view.el (view-mode-exit): Use quit-window.
18934 2011-08-24 Juri Linkov <juri@jurta.org>
18936 * isearch.el (isearch-ring-adjust1): Start visiting previous
18937 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
18938 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
18939 for empty search string (when the last search string is reused
18940 automatically) to adjust the isearch ring to the last element and
18941 prepare the correct index for further M-p commands (bug#9185).
18943 2011-08-24 Kenichi Handa <handa@m17n.org>
18945 * international/ucs-normalize.el: If decomposition property of
18946 CHAR is the default one (i.e. a list of CHAR itself), treat it as
18948 (nfd, nfkd): Likewise.
18950 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
18952 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
18953 from process filters aren't reliably transmitted to the surrounding
18954 accept-process-output.
18955 (mpc-proc-check): New function.
18956 (mpc-proc-sync): Use it (bug#8293)
18958 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
18960 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
18961 Add compatibility functions (bug#9313).
18963 2011-08-23 Eli Zaretskii <eliz@gnu.org>
18965 * cus-start.el (all): Add entry for bidi-paragraph-direction.
18967 * international/uni-bidi.el: Regenerate.
18969 2011-08-23 Kenichi Handa <handa@m17n.org>
18971 * international/charprop.el:
18972 * international/uni-bidi.el:
18973 * international/uni-category.el:
18974 * international/uni-combining.el:
18975 * international/uni-comment.el:
18976 * international/uni-decimal.el:
18977 * international/uni-decomposition.el:
18978 * international/uni-digit.el:
18979 * international/uni-lowercase.el:
18980 * international/uni-mirrored.el:
18981 * international/uni-name.el:
18982 * international/uni-numeric.el:
18983 * international/uni-old-name.el:
18984 * international/uni-titlecase.el:
18985 * international/uni-uppercase.el: Regenerate.
18987 2011-08-23 Martin Rudalics <rudalics@gmx.at>
18989 * help.el (help-window-setup): Fix message displayed when other
18990 window is reused. (Bug#9341)
18992 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
18994 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
18995 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
18997 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
18999 * shell.el (shell-parse-pcomplete-arguments): New function.
19000 (shell-completion-vars): Use it instead (bug#9160).
19002 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
19004 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
19005 strings and comments (bug#9333).
19007 * emacs-lisp/debug.el (debug-arglist): New function.
19008 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
19009 (debug-on-entry-1): Handle interpreted closures (bug#9120).
19011 2011-08-22 Juri Linkov <juri@jurta.org>
19013 * progmodes/compile.el (compilation-mode-font-lock-keywords):
19014 Revert regexp that highlights output switches to its old
19015 pre-2010-10-28 value and remove one `?' from it (bug#9319).
19017 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
19018 to check for empty output (bug#9226).
19020 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
19022 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
19023 symbol-constituent as the default, as that stops font-lock from
19024 working properly (Bug#8843).
19026 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
19028 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
19029 `coding-system-for-*' around the process open call to avoid
19030 auth-source side effects.
19031 (smtpmail-try-auth-methods): Expand the secret password.
19032 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
19035 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
19037 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
19039 * emacs-lisp/find-func.el (find-function-noselect): New arg
19042 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
19043 signal an error for built-in functions (Bug#6664).
19045 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
19047 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
19048 (smtpmail-try-auth-methods): Use it.
19050 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
19052 * font-lock.el (font-lock-fontify-region)
19053 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
19054 (font-lock-default-unfontify-buffer)
19055 (font-lock-default-fontify-region)
19056 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
19058 * progmodes/compile.el (compilation-error-properties):
19059 Fix confusion between file struct and message struct (Bug#9319).
19060 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
19063 * net/browse-url.el (browse-url-firefox): Don't call
19064 browse-url-firefox-sentinel unless using -remote (Bug#9328).
19066 2011-08-20 Glenn Morris <rgm@gnu.org>
19068 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
19070 * tutorial.el (tutorial--default-keys): Update some default bindings.
19072 * files.el (hack-local-variables): Fully ignore case for "mode:".
19074 2011-08-20 Alan Mackenzie <acm@muc.de>
19076 Resolve invalid use of a regexp in regexp-opt.
19078 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
19079 detection for a java annotation.
19081 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
19082 detection for a java annotation.
19084 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
19086 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
19088 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
19090 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
19093 2011-08-20 Alan Mackenzie <acm@muc.de>
19095 Fontify CPP expressions correctly when starting in the middle of
19096 such a construct. Mainly for when jit-lock etc. starts a chunk
19099 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
19101 (c-make-font-lock-search-form): New function, extracted from
19102 c-make-font-lock-search-function.
19103 (c-make-font-lock-search-function): Use the above function.
19104 (c-make-font-lock-context-search-function): New function.
19105 (c-cpp-matchers): Enhance the preprocessor expression case with
19107 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
19108 which takes an expression.
19110 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
19112 2011-08-20 Martin Rudalics <rudalics@gmx.at>
19114 * window.el (display-buffer-reuse-window)
19115 (display-buffer-pop-up-window): Don't reuse or split a side
19118 2011-08-19 Glenn Morris <rgm@gnu.org>
19120 * files.el (hack-local-variables-prop-line, hack-local-variables):
19121 Downcase "Mode:". (Bug#9331)
19123 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
19125 * international/characters.el: Add L and R categories.
19127 * subr.el (bidi-string-mark-left-to-right): Rename from
19128 string-mark-left-to-right. Use category search.
19130 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
19132 2011-08-18 Juri Linkov <juri@jurta.org>
19134 * faces.el (error, warning, success): New faces with definitions
19135 copied from old default values of `font-lock-warning-face',
19136 `compilation-warning', `compilation-info' (bug#6117).
19138 * font-lock.el (font-lock-warning-face): Inherit from `error'.
19140 * progmodes/compile.el (compilation-error): Inherit from `error'.
19141 (compilation-warning): Inherit from `warning'.
19142 (compilation-info): Inherit from `success'.
19144 * dired.el (dired-marked): Inherit from `warning'.
19145 (dired-flagged): Inherit from `error'.
19147 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
19149 * mail/smtpmail.el (auth-source): Require to avoid problems with
19150 binding variables (bug#9298). Also clean up some unused
19153 * net/network-stream.el (network-stream-open-starttls):
19154 Support using starttls.el without using gnutls-cli.
19156 2011-08-17 Juri Linkov <juri@jurta.org>
19158 * progmodes/grep.el (rgrep): Handle the case when
19159 `grep-find-command' is a cons cell (bug#9278).
19161 2011-08-17 Martin Rudalics <rudalics@gmx.at>
19163 * window.el (display-buffer-pop-up-frame): Run frame creation
19164 function with BUFFER current (as special-display-popup-frame
19165 does). Reported by Drew Adams.
19167 2011-08-17 Daiki Ueno <ueno@unixuser.org>
19169 * epa-mail.el: Simplify GnuPG group expansion using
19171 (epa-mail-group-alist, epa-mail-group-modtime)
19172 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
19173 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
19174 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
19177 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
19179 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
19181 2011-08-16 Alan Mackenzie <acm@muc.de>
19183 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
19184 Correct, to avoid the inside of macros.
19186 2011-08-16 Richard Stallman <rms@gnu.org>
19188 * epa-mail.el: Handle GnuPG group definitions.
19189 (epa-mail-group-alist, epa-mail-group-modtime)
19190 (epa-mail-gnupg-conf-file): New variables.
19191 (epa-mail-parse-groups, epa-mail-sync-groups)
19192 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
19193 (epa-mail-expand-recipients): New functions.
19194 (epa-mail-encrypt): Call epa-mail-expand-recipients.
19196 * mail/rmail.el (rmail-epa-decrypt): New command.
19198 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
19199 Don't bind buffer-read-only, just inhibit-read-only.
19200 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
19201 (epa-decrypt-armor-in-region): Make error message clearer.
19203 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
19205 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
19206 and "a2b" to "ab" for `prefix'.
19208 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
19210 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
19212 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
19213 Fourquet (Bug#8804).
19215 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
19217 * startup.el (argi): Declare as global variable (bug#9275).
19219 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
19221 * subr.el (string-mark-left-to-right): Search the entire string
19222 for RTL script, not just the terminating character. Doc fix.
19224 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
19226 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
19228 (js--regexp-literal, js-syntax-propertize-function): Remove.
19229 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
19230 (js-mode-map): Don't rebind electric keys.
19231 (js-insert-and-indent): Remove.
19232 (js-mode): Setup electric-layout and electric-indent instead.
19234 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
19236 2011-08-12 Daiki Ueno <ueno@unixuser.org>
19238 * epa.el (epa-progress-callback-function): Fix the logic of
19239 displaying progress.
19240 * epa-file.el (epa-file-insert-file-contents): Make progress
19241 display more user-friendly.
19242 (epa-file-write-region): Ditto.
19244 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
19246 * subr.el (string-mark-left-to-right): New function.
19248 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
19249 Use string-mark-left-to-right.
19250 (list-buffers-noselect): Caller changed.
19252 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
19253 Use string-mark-left-to-right.
19254 (tabulated-list-print): Recenter after moving point.
19256 2011-08-10 Juri Linkov <juri@jurta.org>
19258 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
19259 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
19260 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
19262 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
19264 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
19267 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
19269 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
19270 character. (Bug#6594)
19272 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
19274 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
19275 (image-dired--with-db-file): New macro.
19276 (image-dired-write-tags, image-dired-remove-tag)
19277 (image-dired-create-gallery-lists, image-dired-write-comments)
19278 (image-dired-get-comment, image-dired-mark-tagged-files)
19279 (image-dired-list-tags, image-dired-gallery-generate): Use it.
19280 (image-dired-gallery-generate): Use insert-file-contents.
19282 * time.el (display-time-world-list, display-time-world-display):
19283 * time-stamp.el (time-stamp-string):
19284 * vc/add-log.el (add-change-log-entry): Use setenv instead of
19285 set-time-zone-rule (Bug#7337).
19287 2011-08-08 Daiki Ueno <ueno@unixuser.org>
19289 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
19290 (epg-error-to-string, epg-errors-to-string): New function.
19291 (epg-wait-for-completion): Reverse errors list.
19292 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
19293 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
19294 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
19295 (epg-sign-keys, epg-generate-key-from-file)
19296 (epg-generate-key-from-string): Format errors by using
19297 epg-errors-to-string (bug#9255).
19298 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
19300 2011-08-07 Juri Linkov <juri@jurta.org>
19302 * faces.el (list-faces-display): Remove extra angle bracket
19303 from `help-mode-map'.
19305 * info.el (Info-history-toc-nodes): Doc fix.
19307 * longlines.el (longlines-mode): Doc fix.
19309 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
19311 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
19312 of statements and in a few more cases (bug#9183).
19314 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
19316 (cl-transform-lambda): Use them (bug#9239).
19318 2011-08-05 Martin Rudalics <rudalics@gmx.at>
19320 * window.el (display-buffer-same-window)
19321 (display-buffer-same-frame, display-buffer-other-window)
19322 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
19323 (pop-to-buffer-other-window)
19324 (pop-to-buffer-same-frame-other-window)
19325 (pop-to-buffer-other-frame): Make them defuns.
19326 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
19328 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
19330 * subr.el (make-composed-keymap): Move from C. Change calling
19331 convention, and improve docstring to bring attention to a subtle point.
19332 * minibuffer.el (completing-read-default): Adjust accordingly.
19334 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
19336 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
19337 (tramp-open-shell): Use `tramp-shell-quote-argument'.
19339 * net/trampver.el: Update release number.
19341 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
19343 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
19346 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
19348 * mail/sendmail.el (sendmail-query-once): Restore the current
19349 buffer after querying (bug#9074).
19351 * dired.el (dired-flagged): Use different faces for marked and
19352 flagged files (bug#6117).
19354 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
19357 * ido.el (ido-mode): Switch off the message if called
19360 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
19361 before 587, since it appears that that's more likely to work for
19364 * cus-edit.el (custom-file): When running under emacs -q, always
19365 refuse to save the customizations, even if the .emacs file doesn't
19368 * info.el: Remove the `Info-beginning-of-buffer' function
19371 * net/network-stream.el (network-stream-open-starttls):
19372 Use `starttls-available-p' to see whether starttls.el can be used.
19374 2011-08-01 Martin Rudalics <rudalics@gmx.at>
19376 * window.el (display-buffer-in-window): Don't set dedicated status
19377 of window here (Bug#9215).
19378 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
19379 (display-buffer-pop-up-side-window)
19380 (display-buffer-in-side-window): Set dedicated status of window here.
19382 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
19384 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
19385 before binding generated-autoload-file.
19387 2011-08-01 Deniz Dogan <deniz@dogan.se>
19389 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
19391 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
19393 Sync with Tramp 2.2.2.
19395 * net/trampver.el: Update release number.
19397 2011-07-30 Juri Linkov <juri@jurta.org>
19399 * dired-aux.el (dired-touch-initial): Remove function.
19400 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
19401 current time, and `default' to the last modification time of the
19402 current marked file (bug#6887).
19404 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
19406 * simple.el (goto-line): Use string-to-number to provide a
19407 numeric argument to read-number (bug#9163).
19409 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
19411 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
19412 connection process, it could be nil.
19414 2011-07-27 Leo Liu <sdl.web@gmail.com>
19416 Simplify url handling in rcirc-mode.
19418 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
19419 (rcirc-browse-url-at-mouse): Remove.
19420 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
19422 2011-07-26 Alan Mackenzie <acm@muc.de>
19424 Fontify bitfield declarations properly.
19426 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
19427 (c-symbol-chars): Now exported as a lang variable.
19428 (c-not-primitive-type-keywords): New lang variable.
19430 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
19431 QT keyword "more" to prevent "more slots: ...." being spuriously
19432 parsed as a bitfield declaration.
19434 * progmodes/cc-engine.el (c-beginning-of-statement-1):
19435 Refactor and enhance to handle bitfield declarations.
19436 (c-punctuation-in): New function.
19437 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
19438 declarations properly.
19440 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
19442 * calendar/icalendar.el (icalendar--all-events): Take care of
19443 multiple vcalendars in a single file.
19444 (icalendar--convert-float-to-ical): Checkdoc fixes.
19446 2011-07-25 Deniz Dogan <deniz@dogan.se>
19448 * image.el (insert-image): Clarifying docstring.
19450 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
19452 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
19453 `tramp-send-command-and-check' if there is no error.
19454 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
19456 2011-07-22 Alan Mackenzie <acm@muc.de>
19458 Prevent cc-langs.elc being loaded at run time.
19460 * progmodes/cc-mode.el: Remove two autoload forms which loaded
19463 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
19464 "(require 'cc-langs)". Quote a form so it will evaluate at
19465 (cc-mode's) compilation time.
19467 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
19469 * net/tramp.el (tramp-file-name-handler): Avoid recursive
19470 loading. (Bug#9114)
19472 2011-07-21 Martin Rudalics <rudalics@gmx.at>
19474 * window.el (display-buffer-pop-up-window)
19475 (display-buffer-pop-up-side-window)
19476 (display-buffer-in-side-window): Call display-buffer-set-height
19477 and display-buffer-set-width after setting the new window's
19478 buffer so `fit-window-to-buffer' and friends work on the right buffer.
19480 2011-07-20 Sam Steingold <sds@gnu.org>
19482 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
19483 (etags-tags-included-tables): Call `convert-standard-filename' on
19484 the file names contained in TAGS so that windows Emacs can handle
19485 TAGS files created by cygwin ctags.
19487 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
19489 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
19490 which apparently didn't work.
19492 2011-07-19 Roland Winkler <winkler@gnu.org>
19494 * proced.el (proced-send-signal): For *Marked Processes* buffer
19495 put point at beginning of buffer.
19497 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
19499 * proced.el (proced-format): Make header lines align with the text
19502 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
19504 * view.el (view-buffer): Allow running in `special' modes if we're
19505 visiting a file (bug#8615).
19507 2011-07-19 Martin Rudalics <rudalics@gmx.at>
19509 * window.el (display-buffer-alist-of-strings-p)
19510 (display-buffer-alist-set-1, display-buffer-alist-set-2):
19512 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
19515 2011-07-18 Alan Mackenzie <acm@muc.de>
19517 Fontify declarators properly when, e.g., a jit-lock chunk begins
19518 inside a declaration.
19520 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
19522 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
19524 (c-complex-decl-matchers): Insert reference to
19525 c-font-lock-enclosing-decls.
19527 * progmodes/cc-engine.el (c-backward-single-comment):
19528 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
19529 to nil around calls to (forward-comment -1).
19531 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
19533 * image.el (put-image): Doc typo fix.
19535 * progmodes/etags.el (tags-search): Doc typo fix.
19537 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
19538 password if we get errors 550 to 554.
19540 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
19542 * net/gnutls.el (gnutls-log-level): Remove.
19544 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
19545 indentation character (bug#6380).
19547 * files.el (buffer-offer-save): Made permanently local (bug#6241).
19549 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
19550 to clarify what the problem is (bug#4291).
19552 * simple.el (current-kill): Clarify what
19553 `interprogram-paste-function' does (bug#7500).
19554 (auto-fill-mode): Document `auto-fill-function' in relation to
19555 `auto-fill-mode' (bug#2470).
19557 2011-07-16 Lawrence Mitchell <wence@gmx.li>
19559 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
19560 method if slot is read-only (bug#9035).
19562 2011-07-16 Martin Rudalics <rudalics@gmx.at>
19564 * frame.el (select-frame-set-input-focus): New argument NORECORD.
19565 * window.el (pop-to-buffer): Select window used even if it was
19566 selected before, see discussion of (Bug#8615), (Bug#6954).
19567 Pass argument NORECORD on to select-frame-set-input-focus.
19569 2011-07-15 Glenn Morris <rgm@gnu.org>
19571 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
19574 2011-07-09 Lawrence Mitchell <wence@gmx.li>
19576 * net/gnutls.el (gnutls-min-prime-bits): New variable.
19577 (gnutls-negotiate): Use it.
19579 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
19581 * net/gnutls.el (gnutls-negotiate):
19582 Upcase `gnutls-algorithm-priority'.
19584 2011-07-15 Glenn Morris <rgm@gnu.org>
19586 * jka-compr.el (jka-compr-verbose): Move from here...
19587 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
19588 Add missing :version tag.
19589 * info.el: No need to require jka-compr when compiling.
19591 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
19593 * net/gnutls.el (gnutls-algorithm-priority): New variable.
19594 (gnutls-negotiate): Use it.
19596 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
19598 * info.el (Info-beginning-of-buffer): New command.
19599 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
19600 announcing `b' as the key (bug#8325).
19601 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
19603 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
19605 * international/mule-cmds.el
19606 (describe-specified-language-support): Make the error message
19607 clearer (bug#8905).
19609 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
19611 * isearch.el (isearch-barrier): Add a doc string, since it's
19612 mentioned in a function doc string (bug#8678).
19614 2011-07-15 Martin Rudalics <rudalics@gmx.at>
19616 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
19617 buffer argument (Bug#9083) and self-identifying label argument.
19619 2011-07-15 Glenn Morris <rgm@gnu.org>
19621 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
19623 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
19625 * man.el (Man-fontify-manpage): Fix message when formatting the
19626 man page (bug#7929).
19628 2011-07-14 Eli Zaretskii <eliz@gnu.org>
19630 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
19631 argument LRM; if non-nil, append an invisible LRM character to the
19633 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
19634 last argument non-nil, when formatting buffer names.
19635 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
19636 paragraph direction.
19638 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
19640 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
19641 the man page name (bug#7929).
19643 * image.el (put-image): Mention the `put-image' overlay property
19646 * scroll-bar.el (set-scroll-bar-mode): Mention that
19647 `scroll-bar-mode' lists the values (bug#7772).
19649 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
19650 command (bug#7729).
19652 * rect.el (apply-on-rectangle): Return the point after the last
19654 (string-rectangle): Go to the point after the last operation
19657 * printing.el (pr-toggle-region): Clarify the documentation
19658 slightly (bug#7493).
19660 * time.el (display-time-update):
19661 Allow `display-time-mail-function' to return nil (bug#7158).
19662 Fix suggested by Detlev Zundel.
19664 * vc/diff.el (diff): Clarify the order the file names are read
19667 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
19668 the doc string (bug#7015).
19670 * font-lock.el (font-lock-maximum-decoration): Mention what
19671 numeric levels mean (bug#6935).
19673 * startup.el (initial-buffer-choice): Don't mention the `none'
19674 selection, which is against policy.
19676 2011-07-14 Martin Rudalics <rudalics@gmx.at>
19678 * window.el (display-buffer-normalize-special):
19679 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
19681 2011-07-14 Eli Zaretskii <eliz@gnu.org>
19683 * subr.el (version<, version<=, version=): Mention "-CVS" and
19684 "-12345" alpha version numbers.
19686 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
19688 * bindings.el: Add advertised binding for set-mark-command
19691 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
19693 * bindings.el (mode-line-other-buffer):
19694 * bookmark.el (bookmark-bmenu-2-window):
19695 * bs.el (bs-cycle-next, bs-cycle-previous):
19696 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
19699 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
19702 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
19704 * follow.el (follow-debug-message, follow-redisplay):
19705 * jka-cmpr-hook.el (with-auto-compression-mode):
19706 Fix typos in docstrings.
19708 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
19710 * subr.el (with-silent-modifications): Clarify somewhat what the
19711 macro inhibits (bug#6525).
19713 * simple.el (eval-expression): Note what it does if called
19714 interactively (bug#6495).
19716 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
19718 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
19719 Use pop-to-buffer buffer-or-name if it is nil.
19721 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
19722 Remove switch-to-buffer.
19724 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
19726 * files.el (make-directory): Clarify that an error will be raised
19727 if there's an error (bug#6397).
19729 * startup.el (initial-buffer-choice): Add `none' as a choice
19732 * subr.el (add-hook): Clarify section about buffer-local hooks
19735 * dired.el (dired-flagged): Clarify doc string (bug#6117).
19737 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
19739 * tabify.el (untabify): Preserve the current column so that point
19740 doesn't move (bug#6032).
19742 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
19744 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
19745 Rewrite to avoid awkward possessive "s" (bug#5986).
19747 2011-07-13 Glenn Morris <rgm@gnu.org>
19749 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
19750 (dired-insert-directory): Give a message the first time
19751 if ls is found not to support --dired.
19753 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
19755 * simple.el (toggle-truncate-lines): Clarify what is toggled
19756 (bug#5580). Text by Drew Adams.
19758 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
19760 * simple.el (blink-matching-open): Make the error message from the
19761 last change less verbose.
19763 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
19765 * font-lock.el (font-lock-comment-face): Use the high contrast
19766 "yellow" color for font-lock-comment-face on low color terminals
19767 using a dark background color (bug#4221).
19769 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
19771 * dired.el (dired-insert-set-properties): Make the doc string
19772 reflect what it does now (bug#5325).
19774 * simple.el (blink-matching-open): Say that we were unable to find
19775 the match within the limit, if we're limited (bug#5122).
19777 * international/mule-cmds.el (prefer-coding-system): Add an
19778 example (bug#4869).
19780 * progmodes/etags.el (tags-search): Document `file-list-form'
19783 2011-07-13 Lawrence Mitchell <wence@gmx.li>
19785 * net/browse-url.el (browse-url-default-browser)
19786 (browse-url-browser-function): Make the default browser choice a
19787 bit more logical (bug#4300). Also clean up the doc string.
19789 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
19791 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
19792 binary endings (bug#4440).
19794 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
19796 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
19797 which can be pretty annoying (bug#8971).
19799 * jka-compr.el (jka-compr-verbose): New variable, and use
19800 throughout (bug#8971).
19802 * info.el (Info-find-file): Fall back on the installation
19803 directory if we can't find the info node anywhere else.
19805 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
19807 * vc/vc.el (vc-revert-file):
19808 Don't set file time-stamp in the past. (Bug#5181)
19810 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
19812 * files.el (after-find-file): Give a better error message when
19813 trying to find a symlink that points to a file that doesn't exist
19816 * progmodes/cc-vars.el: Remove (probably) misleading comment
19819 2011-07-12 Johan Bockgård <bojohan@gnu.org>
19821 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
19823 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
19825 * mouse-sel.el: Hack restoring functionality, while keeping
19826 compatibility with 2010-07-03 changes to mouse selection.
19827 (mouse-sel-primary-overlay): New var.
19828 (mouse-sel-selection-alist): Use it.
19829 (mouse-sel-mode): Doc fix; remove points that are default features
19832 2011-07-12 Johan Bockgård <bojohan@gnu.org>
19834 * progmodes/compile.el (compilation-error-regexp-alist-alist):
19835 Fix previous fix (bug#2490).
19837 2011-07-12 Roland Winkler <winkler@gnu.org>
19839 * textmodes/bibtex.el (bibtex-initialize):
19840 Use pop-to-buffer-same-window.
19841 (bibtex-search-entries): Fix interactive call.
19843 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
19845 * progmodes/compile.el (compilation-error-regexp-alist-alist):
19846 Fontise bytecomp Error lines more correctly (bug#2490).
19847 Fix suggested by Johan Bockgård.
19849 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
19851 * dired-x.el (dired-guess-default): Use `delete-dups'.
19853 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
19855 * dired.el (dired-mark-prompt):
19856 * dired-aux.el (dired-read-shell-command): Doc fix.
19858 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
19860 * mail/sendmail.el (sendmail-query-once):
19861 Use `customize-save-variable' unconditionally, now that it works under
19864 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
19866 * cus-edit.el (custom-file): Take an optional no-error variable.
19867 (customize-save-variable): Set the variable, and give a warning if
19868 running under "emacs -q".
19870 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
19872 * loadhist.el (unload-feature-special-hooks):
19873 Add `auto-coding-functions', `fill-nobreak-predicate' and
19874 `find-directory-functions' (bug#5327).
19876 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
19878 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
19880 * cus-edit.el (custom-guess-name-alist): -alist variables should
19881 use the `alist' type (bug#3120). Suggested by Drew Adams.
19883 * printing.el: Add documentation to all the `pr-toggle-' commands.
19885 2011-07-11 Leo Liu <sdl.web@gmail.com>
19887 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
19888 backends where it makes sense (bug#2623).
19890 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
19892 * dired-x.el (dired-guess-default): Remove duplicate shell command
19893 entries (bug#2028).
19894 (dired-guess-default): Fix grammar in doc string (bug#2028).
19895 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
19897 * subr.el (remove-duplicates): New conveniency function.
19899 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
19901 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
19904 2011-07-10 Martin Rudalics <rudalics@gmx.at>
19906 * window.el (display-buffer-normalize-default): Don't invert
19907 meaning of even-window-heights. Reported by Eli Zaretskii
19910 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
19912 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
19914 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
19916 * window.el (display-buffer): Fix arguments to
19917 display-buffer-reuse-window in last change.
19919 * faces.el (link): Use a less saturated blue on light backgrounds.
19921 * startup.el (fancy-startup-text, fancy-about-text)
19922 (fancy-startup-tail): Use font-lock faces, for background safety.
19924 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
19926 * emulation/viper-cmd.el (viper-change-state-to-vi):
19927 Limit triggering of abbrev expansion (Bug#9038).
19929 2011-07-09 Martin Rudalics <rudalics@gmx.at>
19931 * window.el (display-buffer-default-specifiers): Remove.
19932 (display-buffer-macro-specifiers): Remove default specifiers.
19933 (display-buffer-alist): Default to nil.
19934 (display-buffer-reuse-window): New optional argument other-window.
19935 (display-buffer-pop-up-window): Allow splitting internal
19936 windows. Check whether a live window was created.
19937 (display-buffer-other-window-means-other-frame)
19938 (display-buffer-normalize-arguments): Rename to
19939 display-buffer-normalize-argument and rewrite. Set the
19940 other-window specifier.
19941 (display-buffer-normalize-special): New function.
19942 (display-buffer-normalize-options): Rename to
19943 display-buffer-normalize-default and rewrite.
19944 (display-buffer-normalize-options-inhibit): Remove.
19945 (display-buffer-normalize-specifiers): Rewrite.
19946 (display-buffer): Process other-window specifier and call
19947 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
19949 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
19950 (display-buffer-alist-set): Don't handle 'unset default values.
19951 (display-buffer-in-window, display-buffer-alist-set):
19952 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
19953 <tassilo@member.fsf.org>.
19955 2011-07-09 Leo Liu <sdl.web@gmail.com>
19957 * register.el (insert-register): Restore accidental change on
19958 2011-06-26. (Bug#9028)
19960 2011-07-09 Glenn Morris <rgm@gnu.org>
19962 * subr.el (remq): Handle the empty list. (Bug#9024)
19964 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
19966 * mail/sendmail.el (send-mail-function): No longer delay custom
19968 * custom.el (custom-initialize-delay): Doc fix.
19970 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
19972 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
19974 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
19976 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
19977 human-friendly prompt.
19979 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
19981 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
19982 provided by a particular plugin.
19984 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
19986 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
19987 save customizations (with "emacs -Q"), just set the variable
19988 instead of erroring out.
19990 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
19992 2011-07-08 Juri Linkov <juri@jurta.org>
19994 * arc-mode.el (archive-zip-expunge, archive-zip-update)
19995 (archive-zip-update-case): Use 7z if found by `executable-find'.
19996 The order of searching the available programs is the same as in
19997 `archive-zip-extract' (bug#8968).
19999 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
20001 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
20002 (menu-bar-options-menu): Tweak descriptions.
20004 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
20006 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
20007 menu items into verb phrases (bug#1421). Also refill to fit under
20010 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
20012 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
20013 (Info-read-node-name): Doc fix (Bug#1084).
20015 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
20016 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
20017 (end-of-sexp, beginning-of-sexp)
20018 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
20019 (forward-symbol, forward-same-syntax, word-at-point)
20020 (sentence-at-point): Doc fix (Bug#1144).
20022 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
20024 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
20025 should cover it (bug#1281).
20027 * cus-edit.el (custom-show): Mark as obsolete.
20029 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
20030 negotiation fails, then possibly try again with a non-encrypted
20031 connection (bug#9017).
20033 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
20036 2011-07-07 Richard Stallman <rms@gnu.org>
20038 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
20039 property, and handle its changed format.
20040 Look for the correct line number.
20041 Use file's line contents (but not past first =) to find
20042 correct line in message.
20044 2011-07-07 Kenichi Handa <handa@m17n.org>
20046 * international/characters.el (build-unicode-category-table):
20048 (unicode-category-table): Set it by unicode-property-table-internal.
20050 * international/mule-cmds.el (char-code-property-alist): Move to
20052 (get-char-code-property): Call unicode-property-table-internal to
20053 load a file. Call get-unicode-property-internal where necessary.
20054 (put-char-code-property): Call unicode-property-table-internal to
20055 load a file. Call put-unicode-property-internal where necessary.
20056 put-unicode-property-internal where necessary.
20057 (char-code-property-description):
20058 Call unicode-property-table-internal to load a file.
20060 * international/charprop.el:
20061 * international/uni-bidi.el:
20062 * international/uni-category.el:
20063 * international/uni-combining.el:
20064 * international/uni-comment.el:
20065 * international/uni-decimal.el:
20066 * international/uni-decomposition.el:
20067 * international/uni-digit.el:
20068 * international/uni-lowercase.el:
20069 * international/uni-mirrored.el:
20070 * international/uni-name.el:
20071 * international/uni-numeric.el:
20072 * international/uni-old-name.el:
20073 * international/uni-titlecase.el:
20074 * international/uni-uppercase.el: Regenerate.
20076 * loadup.el: Load international/charprop.el before
20077 international/characters.
20079 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
20081 * window.el (next-buffer, previous-buffer): Signal an error if
20082 called from a minibuffer window.
20084 * bindings.el: Revert 2011-07-04 change.
20086 2011-07-06 Richard Stallman <rms@gnu.org>
20088 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
20089 (rmail-mime-insert-bulk, rmail-mime-insert-text):
20090 Treat markers like ints.
20091 (rmail-mime-entity): Doc fix.
20093 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
20095 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
20096 defcustom again for backwards compatibility.
20098 * simple.el (shell-command-on-region): Fill.
20100 * dired-aux.el (dired-kill-line): Add a doc string.
20102 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
20103 to "\\sw\\|\\s_" (bug#358).
20105 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
20106 (dired-unmark-backward): Ditto.
20107 (dired-flag-backup-files): Ditto.
20109 * dired-x.el (dired-mark-sexp): Ditto.
20111 2011-07-06 Richard Stallman <rms@gnu.org>
20113 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
20114 (rmail-mime-entity): New arg TRUNCATED.
20115 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
20117 (rmail-mime-save): Warn if entity is truncated.
20118 (rmail-mime-toggle-hidden): Likewise, for showing.
20119 (rmail-mime-process-multipart): Record when an entity is truncated.
20121 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
20122 if ENTITY is a string.
20124 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
20126 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
20127 of faces when `M-C-x'-ing their definitions (bug#8378).
20128 Also clean up the code slightly.
20130 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
20131 because that makes the colors go away.
20133 * mail/sendmail.el (send-mail-function): Change the default to
20134 `sendmail-query-once'.
20135 (sendmail-query-once): Add an autoload cookie.
20137 * net/network-stream.el (network-stream-open-starttls): Try using
20138 a plain connection even if the server offered STARTTLS, and we
20139 kinda wanted to use it, if Emacs doesn't have any STARTTLS
20140 capability. This should make smtpmail.el work in slightly more
20143 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
20145 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
20147 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
20149 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
20151 * progmodes/sql.el: Version 3.0
20152 (sql-product-alist): Add product :completion-object,
20153 :completion-column, and :statement attributes.
20154 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
20155 (sql-mode-syntax-table): Mark all punctuation.
20156 (sql-font-lock-keywords-builder): Temporarily remove fallback on
20158 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
20159 (sql-mode-oracle-font-lock-keywords): Improve.
20160 (sql-oracle-show-reserved-words): New function for development.
20161 (sql-product-font-lock): Simplify for source code buffers.
20162 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
20164 (sql-highlight-product): Set product specific syntax table.
20165 (sql-mode-map): Add statement movement functions.
20166 (sql-ansi-statement-starters, sql-oracle-statement-starters):
20168 (sql-statement-regexp, sql-beginning-of-statement)
20169 (sql-end-of-statement, sql-signum): New functions.
20170 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
20171 (sql-show-sqli-buffer): Bug fix.
20172 (sql-interactive-mode): Store connection data as buffer local.
20173 (sql-connect): Add NEW-NAME parameter. Redesign interaction
20174 with sql-interactive-mode.
20175 (sql-save-connection): Save buffer local settings.
20176 (sql-connection-menu-filter): Change menu entry name.
20177 (sql-product-interactive): Bug fix.
20178 (sql-preoutput-hold): New variable.
20179 (sql-interactive-remove-continuation-prompt): Bug fixes.
20180 (sql-debug-redirect): New variable.
20181 (sql-str-literal): New function.
20182 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
20184 (sql-oracle-save-settings, sql-oracle-restore-settings)
20185 (sql-oracle-list-all, sql-oracle-list-table): New functions.
20186 (sql-completion-object, sql-completion-column)
20187 (sql-completion-sqlbuf): New variables.
20188 (sql-build-completions-1, sql-build-completions)
20189 (sql-try-completion): New functions.
20190 (sql-read-table-name): Use them.
20191 (sql-contains-names): New buffer local variable.
20192 (sql-list-all, sql-list-table): Use it.
20193 (sql-oracle-completion-types): New variable.
20194 (sql-oracle-completion-object, sql-sqlite-completion-object)
20195 (sql-postgres-completion-object): New functions.
20197 2011-07-06 Glenn Morris <rgm@gnu.org>
20199 * window.el (pop-to-buffer): Doc fix.
20201 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
20203 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
20205 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
20207 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
20209 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
20211 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
20213 * button.el (button): Inherit from link face. Suggested by Dan
20216 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
20218 * progmodes/gdb-mi.el: Fit in 80 columns.
20219 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
20222 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
20223 if imenu is simply not configured (bug#8941).
20225 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
20227 * allout.el (allout-post-undo-hook): New allout outline-change
20228 event hook to signal undo activity.
20229 (allout-post-command-business): Run allout-post-undo-hook if an
20230 undo just occurred.
20231 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
20232 * allout-widgets.el (allout-widgets-after-undo-function):
20233 Ensure the integrity of the current item's decoration after it has been
20234 in the vicinity of an undo.
20235 (allout-widgets-mode): Include allout-widgets-after-undo-function
20236 on the new allout-post-undo-hook.
20238 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
20240 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
20241 Let define-derived-mode define it.
20242 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
20243 cycles of abbrev-table inheritance (bug#8998).
20245 2011-07-05 Roland Winkler <winkler@gnu.org>
20247 * textmodes/bibtex.el: Add support for biblatex.
20248 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
20249 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
20250 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
20251 (bibtex-entry-alist, bibtex-field-alist): New variables.
20252 (bibtex-entry-field-alist): Obsolete alias for
20253 bibtex-BibTeX-entry-alist.
20254 (bibtex-entry-alist, bibtex-field-alist): New widgets.
20255 (bibtex-set-dialect): New command.
20256 (bibtex-entry-type, bibtex-entry-head)
20257 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
20258 Bind via bibtex-set-dialect.
20259 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
20260 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
20261 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
20262 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
20263 Define via bibtex-set-dialect.
20264 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
20265 Obey bibtex-no-opt-remove-re.
20266 (bibtex-vec-push, bibtex-vec-incr): New functions.
20267 (bibtex-format-entry, bibtex-field-list)
20268 (bibtex-print-help-message, bibtex-validate)
20269 (bibtex-search-entries): Use new format of bibtex-entry-alist.
20271 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
20273 * progmodes/compile.el (compilation-goto-locus):
20274 * net/tramp-cmds.el (tramp-append-tramp-buffers):
20275 * bs.el (bs-cycle-next, bs-cycle-previous):
20276 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
20277 * bindings.el (mode-line-other-buffer):
20278 * autoinsert.el (auto-insert):
20279 * arc-mode.el (archive-extract):
20280 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
20282 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
20284 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
20285 Fix check of `emacs-lock-unlockable-modes'.
20286 Coerce true values of `emacs-lock--try-unlocking' to t.
20288 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
20290 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
20291 * emacs-lock.el: New file.
20293 2011-07-05 Julien Danjou <julien@danjou.info>
20295 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
20296 than `boundp' to check if face is set.
20298 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
20300 * register.el (registerv-make):
20301 * window.el (window-min-height): Fix typos in docstrings.
20303 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
20305 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
20308 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
20310 * server.el (server-execute): Catch quit and call
20311 `server-return-error' to pass the error back to emacsclient and
20312 close the connection (bug#8942).
20314 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
20316 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
20317 insecure exception for current topic. Also note that auto-saves
20318 are handled differently.
20320 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
20321 State variables for tracking auto-save inhibition situation.
20323 (allout-write-contents-hook-handler): Rename from
20324 'allout-write-file-hook-handler', and describe how it depends on
20325 write-contents-functions sensitivity to non-nil value to prevent
20328 (allout-auto-save-hook-handler): Remove. auto-save does not check
20329 this in individual buffers, only in the starting buffer, so this
20330 is not the right way for us to inhibit auto-save in a buffer
20331 according to its condition.
20333 (allout-mode): Use new allout-write-contents-hook-handler, and
20334 only with write-contents-functions. Remove auto-save provisions -
20335 they're implemented elsewhere.
20337 (allout-before-change-handler): If undo is in progress, note that
20338 for attention of allout-post-command-business.
20340 (allout-post-command-business): If the command we're following was
20341 an undo, check for change in the status of encrypted items and
20342 adjust auto-save inhibitions accordingly.
20344 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
20345 according to whether there are or aren't any plain-text topics
20346 pending encryption.
20348 (allout-inhibit-auto-save-info-for-decryption):
20349 Adjust buffer-saved-size and some allout state to inhibit auto-saves
20350 if there are plain-text topics pending encryption.
20352 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
20353 buffer-saved-size and some allout state to not inhibit auto-saves
20354 if there are no longer any plain-text topics pending encryption.
20356 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
20357 No longer provide for exemption of the current topic.
20359 2011-07-04 Juri Linkov <juri@jurta.org>
20361 Add 7z operations to delete and save changed members (bug#8968).
20362 * arc-mode.el (archive-7z-expunge, archive-7z-update):
20364 (archive-7z-write-file-member): New function.
20365 (archive-7z-summarize): Fix the number of dashes in the
20368 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
20370 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
20373 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
20375 * bindings.el: Ignore next-buffer and previous-buffer in
20376 minibuffer-local-map.
20378 * font-lock.el (font-lock-builtin-face): Change light background
20379 color to dark slate blue (Bug#6693).
20381 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
20383 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
20385 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
20387 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
20388 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
20389 Add switch-to-buffer.
20391 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
20393 * isearch.el (isearch-search-fun-function): Clarify further the
20394 meaning of the function returned.
20396 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
20398 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
20400 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
20401 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
20403 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
20404 `tramp-default-remote-path' does not exist.
20405 (tramp-send-command-and-read): New optional argument NOERROR.
20406 (tramp-open-connection-setup-interactive-shell)
20407 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
20408 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
20409 (tramp-process-sentinel): Flush also process' connection property.
20410 (tramp-sh-handle-start-file-process): Do not set process
20411 sentinel. It is done now ...
20412 (tramp-maybe-open-connection): ... here. (Bug#8929)
20414 2011-07-04 MON KEY <monkey@sandpframing.com>
20416 * play/animate.el (animate-string): Doc fixes and allow changing
20417 the buffer name (bug#5417).
20419 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
20421 * play/animate.el (animation-buffer-name): Rename from *animate*.
20423 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
20425 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
20426 This is simpler and helps future-proof the code.
20427 (timer-until): Use time-subtract and float-time.
20428 (timer--time-less-p): Use time-less-p.
20430 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
20432 * type-break.el (timep): Use the value of `float-time' to avoid a
20433 byte-compiler warning.
20435 * server.el (server-eval-and-print): Return any result, even nil.
20437 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
20439 * type-break.el: Accept time formats that the builtins accept.
20440 (timep, type-break-time-difference): Accept any format that
20441 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
20442 This is simpler and helps future-proof the code.
20443 (type-break-time-difference): Round rather than ignoring
20444 subseconds components.
20446 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
20448 * info.el (Info-apropos-matches): Make non-interactive, since it
20449 doesn't seem to do anything useful as a command (bug#8829).
20451 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
20453 * frame.el (frame-background-mode, frame-set-background-mode):
20454 Move from faces.el.
20455 (frame-default-terminal-background): New function.
20457 * custom.el (custom-push-theme): Don't record faces in `changed'
20458 theme; this doesn't work correctly for per-frame face settings.
20459 (disable-theme): Use face-set-after-frame-default to reset faces.
20460 (custom--frame-color-default): New function.
20462 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
20464 * dired.el (dired-flagging-regexp): Remove unused variable
20467 2011-03-29 Kevin Ryde <user42@zip.com.au>
20469 * progmodes/compile.el (compilation-error-regexp-alist-alist):
20470 `perl-Test2' extend to match possible "fail #N" rep count
20473 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
20475 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
20476 `smtpmail-via-smtp' now returns the error instead of nil.
20478 * isearch.el (isearch-search-fun-function): Clarify the doc string
20481 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
20483 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
20484 unnecessary spaces (bug#8987).
20486 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
20488 * net/network-stream.el (open-network-stream): Use the
20489 :end-of-capability command thoughout.
20491 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
20493 * net/network-stream.el (open-network-stream): Add the
20494 :end-of-capability command parameter, used by pop3.el.
20496 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
20498 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
20500 * fringe.el (fringe-query-style): Remove redundant text " (type ?
20501 for list)" (bug#6475).
20503 * files.el (file-expand-wildcards): Ignore non-readable
20504 sub-directories while trying to find matches instead of signaling
20505 an error (bug#6297).
20507 * man.el (Man-reference-regexp): Allow matching possible
20508 word-wrapped references (bug#6289).
20510 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
20511 for consistency with the other vc buffers (bug#6197).
20512 (vc-checkin): Ditto.
20514 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
20516 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
20518 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
20520 * custom.el (defcustom): Clarify that :set is only used in the
20521 Customize user interface (bug#6089).
20523 * progmodes/flymake.el (flymake-mode): If the buffer isn't
20524 associated with a file, refuse to run instead of erroring out
20527 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
20528 the doc string, since it appears that using `fill-column' always
20529 controls the width (bug#7845).
20531 * simple.el (shell-command-on-region): Say where the error output
20532 went if `shell-command-default-error-buffer' is set (bug#6857).
20534 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
20536 * allout.el (allout-yank-processing): Adjust cursor position for
20537 backwards-deleted space.
20539 (allout-rebullet-heading): Register changes with
20540 allout-exposure-changed-hook, so the modified topic is properly
20543 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
20545 * minibuffer.el (completion-in-region): Document PREDICATE
20548 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
20549 of keyword/argument pairs (bug#6904).
20551 * replace.el (multi-occur):
20552 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
20554 2011-07-02 Drew Adams <drew.adams@oracle.com>
20556 * dired.el (dired-mark-if): Make the message about whether it's
20557 marking or unmarking clearer (bug#8523).
20559 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
20561 * disp-table.el (display-table-print-array): New function.
20562 (describe-display-table): Use it to print the vectors more pretty
20565 2011-07-02 Martin Rudalics <rudalics@gmx.at>
20567 * window.el (window-state-get-1): Don't assign clone numbers.
20568 Add clone-of item to list of window parameters.
20569 (window-state-put-2): Don't process clone numbers.
20570 (display-buffer-alist): Fix doc-string.
20572 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
20574 * subr.el (remq): Don't allocate if it's not needed.
20575 (keymap--menu-item-binding, keymap--menu-item-with-binding)
20576 (keymap--merge-bindings): New functions.
20577 (keymap-canonicalize): Use them to refine the canonicalization.
20578 * minibuffer.el (minibuffer-local-completion-map)
20579 (minibuffer-local-must-match-map): Move initialization from C.
20580 (minibuffer-local-filename-completion-map): Move initialization from C;
20581 don't inherit from anything here.
20582 (minibuffer-local-filename-must-match-map): Make obsolete.
20583 (completing-read-default): Use make-composed-keymap to combine
20584 minibuffer-local-filename-completion-map with either
20585 minibuffer-local-must-match-map or
20586 minibuffer-local-filename-completion-map.
20588 2011-07-01 Glenn Morris <rgm@gnu.org>
20590 * type-break.el (type-break-time-sum): Use dolist.
20592 * textmodes/flyspell.el (flyspell-word-search-backward):
20593 Replace CL function.
20595 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
20597 * mouse.el (mouse--strip-first-event): New function.
20598 (function-key-map): Use it to map fringe clicks to normal clicks
20601 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
20602 (vc-bzr-revision-completion-table): Add support for annotate and date.
20604 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
20605 inherit from parent.
20607 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
20609 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
20610 (dired-show-file-type): Doc fixup (bug#8818).
20612 * dired.el (dired-mode): Fix up the doc string as suggested by
20613 Drew Adams (bug#8817).
20615 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
20616 cookie, since the manual says that it should be possible to add
20617 this function to `find-file-hook' (bug#8709).
20619 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
20621 * progmodes/cfengine.el: Moved all cfengine3.el functionality
20622 here. Noted Ted Zlatanov as the maintainer.
20623 (cfengine-common-settings, cfengine-common-syntax): New functions
20624 to set up common things between `cfengine-mode' and
20626 (cfengine3-mode): New mode.
20627 (cfengine3-defuns cfengine3-defuns-regex
20628 (cfengine3-class-selector-regex cfengine3-category-regex)
20629 (cfengine3-vartypes cfengine3-font-lock-keywords)
20630 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
20631 (cfengine3-indent-line): Add from cfengine3.el.
20633 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
20635 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
20637 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
20639 2011-07-01 Martin Rudalics <rudalics@gmx.at>
20641 * window.el (same-window-buffer-names, same-window-regexps)
20642 (same-window-p, special-display-frame-alist)
20643 (special-display-popup-frame, special-display-function)
20644 (special-display-buffer-names, special-display-regexps)
20645 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
20646 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
20647 (split-window-preferred-function, split-height-threshold)
20648 (split-width-threshold, even-window-heights)
20649 (display-buffer-mark-dedicated, window-splittable-p)
20650 (split-window-sensibly, window-safely-shrinkable-p):
20652 (display-buffer): Don't spread args with function specifier
20653 because special-display-popup-frame won't like it.
20655 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
20657 Time-stamp simplifications and fixes.
20658 These improve accuracy slightly, and future-proof the code
20659 against some potential changes to current-time format.
20661 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
20662 by using time-since and float-time.
20664 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
20665 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
20666 + NNN microseconds".
20668 * type-break.el (type-break-time-sum): Rewrite using time-add.
20670 * play/hanoi.el (hanoi-current-time-float): Remove.
20671 All uses replaced by float-time.
20673 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
20674 This yields a more-accurate answer.
20675 (rng-time-to-float): Remove; no longer needed.
20677 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
20679 * calendar/timeclock.el (timeclock-seconds-to-time):
20680 Defalias to seconds-to-time, since they're the same thing.
20682 * emacs-lisp/elp.el (elp-elapsed-time):
20683 * emacs-lisp/benchmark.el (benchmark-elapse):
20684 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
20686 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
20688 * window.el (bury-buffer): Don't iconify the only frame.
20689 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
20690 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
20692 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
20694 * eshell/em-smart.el (eshell-smart-display-navigate-list):
20695 Add mouse-yank-primary.
20697 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
20699 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
20701 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
20703 * emacs-lisp/find-func.el (find-library--load-name): New fun.
20704 (find-library-name): Use it to find relative load names when provided
20705 absolute file name (bug#8803).
20707 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
20709 * textmodes/flyspell.el (flyspell-word): Consider words that
20710 differ only in case as potential doublons (bug#5687).
20712 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
20713 Remove two rather uninteresting debugging-like messages to make
20714 debbugs.el more silent.
20716 * comint.el (comint-password-prompt-regexp): Accept "Response" as
20717 a password-like phrase.
20719 2011-06-30 Masatake YAMATO <yamato@redhat.com>
20721 * progmodes/cc-guess.el: New file.
20723 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
20725 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
20726 derived from `c-basic-common-init'.
20728 * progmodes/cc-mode.el (top-level): Require cc-guess.
20729 (c-basic-common-init): Use `cc-choose-style-for-mode'.
20731 2011-06-30 Lawrence Mitchell <wence@gmx.li>
20733 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
20735 2011-06-30 Alan Mackenzie <acm@muc.de>
20737 * progmodes/cc-engine.el (c-guess-continued-construct):
20738 Correct the handling of template-args-cont, particularly for when font
20739 lock is disabled. Name this case as "CASE G".
20741 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
20743 * allout.el (allout-yank-processing): Fix injection of extra space
20744 between bullet and non-whitespace character in first topic when
20745 pasting, ensuring that the actual spacing in the pasted topic
20746 following the bullet char is preserved. This extra space was
20747 causing pasted encrypted topics to get a decrypted status even
20748 when the content was actually still encrypted. Now the decryption
20749 status from before the paste is preserved.
20751 (allout-flag-region): Set all allout overlays so they evaporate
20752 when reduced to zero length (evanescent), to prevent overlay
20755 2011-06-30 Glenn Morris <rgm@gnu.org>
20757 * w32-fns.el (w32-charset-info-alist): Declare.
20759 * find-dired.el (find-grep-options): Simplify.
20761 * term/ns-win.el (ns-set-resource): Declare.
20763 * ses.el (row, col): Declare dynamic variables honestly.
20765 * textmodes/reftex-parse.el (index-tags): Declare.
20767 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
20769 * cus-edit.el (customize-push-and-save): New function.
20771 * files.el (hack-local-variables-confirm): Use it.
20773 * custom.el (load-theme): New arg NO-CONFIRM.
20774 Use customize-push-and-save (Bug#8720).
20775 (custom-enabled-themes): Doc fix.
20777 * cus-theme.el (customize-create-theme)
20778 (custom-theme-merge-theme): Callers to load-theme changed.
20780 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
20782 * thingatpt.el (thing-at-point-short-url-regexp): Require that
20783 short URLs have at least one dot in them (bug #7614).
20785 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
20786 nil, because using a pty is apparently too slow (bug #895).
20788 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
20790 * mail/sendmail.el (sendmail-query-once): New function.
20791 (sendmail-query-once-function): New variable.
20793 2011-06-29 Glenn Morris <rgm@gnu.org>
20795 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
20797 * ses.el (top-level): Require cl when compiling.
20798 (ses-set-localvars): Fix error statement.
20799 Call it at compile time to silence a storm of warnings.
20801 2011-06-29 Martin Rudalics <rudalics@gmx.at>
20803 * window.el (normalize-live-buffer): Rename to
20804 window-normalize-buffer.
20805 (normalize-live-frame): Rename to window-normalize-frame.
20806 (normalize-any-window): Rename to window-normalize-any-window.
20807 (normalize-live-window): Rename to window-normalize-live-window.
20808 (make-window-atom): Rename to window-make-atom.
20809 (window-resize-reset): Rename to window--resize-reset.
20810 (window-resize-reset-1): Rename to window--resize-reset-1.
20811 (resize-mini-window): Rename to window--resize-mini-window.
20812 (resize-subwindows-skip-p): Rename to
20813 window--resize-subwindows-skip-p.
20814 (resize-subwindows-normal): Rename to
20815 window--resize-subwindows-normal.
20816 (resize-subwindows): Rename to window--resize-subwindows.
20817 (resize-other-windows): Rename to window--resize-siblings.
20818 (resize-this-window): Rename to window--resize-this-window.
20819 (resize-root-window): Rename to window--resize-root-window.
20820 (resize-root-window-vertically): Rename to
20821 window--resize-root-window-vertically.
20822 (normalize-buffer-to-display): Rename to
20823 window-normalize-buffer-to-display.
20824 (normalize-buffer-to-switch-to): Rename to
20825 window-normalize-buffer-to-switch-to.
20826 Correspondingly update all callers of the functions listed
20828 (display-buffer-alist, display-buffer-normalize-arguments)
20829 (display-buffer-normalize-options, display-buffer)
20830 (display-buffer-alist-set): Use "function" instead of
20833 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
20835 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
20836 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
20837 debbugs.gnu.org. Mention acknowledgment email.
20839 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
20841 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
20842 buffer multibyteness, since it shouldn't matter.
20844 2011-06-28 Martin Rudalics <rudalics@gmx.at>
20846 * window.el (display-buffer-in-side-window): Handle dedicated
20847 windows as in display-buffer-reuse-window.
20848 (display-buffer-normalize-alist): Use value of override
20850 (display-buffer-normalize-specifiers): Use value of
20851 other-window-means-other-frame specifier.
20852 (display-buffer-alist): Rewrite some texts in widgets.
20853 (display-buffer): Spread arguments when calling function
20854 specified by fun-with-args.
20856 2011-06-28 Deniz Dogan <deniz@dogan.se>
20858 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
20861 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
20862 selectors (Bug#5732).
20863 (css-proprietary-nmstart-re): Use `regexp-opt'.
20865 2011-06-27 Jari Aalto <jari.aalto@cante.net>
20867 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
20868 (eshell-ls-date-format): New defcustom.
20869 (eshell-ls-file): Use it.
20871 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
20873 * help-fns.el (describe-variable): Fix message for terminal-local vars.
20875 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
20877 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
20878 (ange-ftp-make-tmp-name): New arg.
20879 (ange-ftp-file-local-copy): Use it.
20881 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
20883 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
20884 no-conversion (Bug#8870).
20886 2011-06-27 Martin Rudalics <rudalics@gmx.at>
20888 * window.el (window-right, window-left, window-child)
20889 (window-child-count, window-last-child)
20890 (window-iso-combination-p, walk-window-tree-1)
20891 (window-atom-check-1, window-tree-1, delete-window)
20892 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
20893 new naming conventions - window-vchild, window-hchild,
20894 window-next and window-prev are now called window-top-child,
20895 window-left-child, window-next-sibling and window-prev-sibling
20897 (resize-window-reset): Rename to window-resize-reset.
20898 (resize-window-reset-1): Rename to window-resize-reset-1.
20899 (resize-window): Rename to window-resize.
20900 (window-min-height, window-min-width)
20901 (resize-mini-window, resize-this-window, resize-root-window)
20902 (resize-root-window-vertically, adjust-window-trailing-edge)
20903 (enlarge-window, shrink-window, maximize-window)
20904 (minimize-window, delete-window, quit-restore-window)
20905 (split-window, balance-windows, balance-windows-area-adjust)
20906 (balance-windows-area, window-state-put-2)
20907 (display-buffer-even-window-sizes, display-buffer-set-height)
20908 (display-buffer-set-width, set-window-text-height)
20909 (fit-window-to-buffer): Rename all "resize-window" prefixed
20910 calls to use the "window-resize" prefix convention.
20911 (display-buffer-alist): Fix symbol for label specifier.
20912 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
20913 corresponding specifier.
20914 Reported by Juanma Barranquero <lekktu@gmail.com>.
20916 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
20918 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
20920 (ses-call-printer): Does not pass an empty string to formatter when the
20921 cell is empty to keep from barking printer Calc math-format-value.
20923 2011-06-27 Richard Stallman <rms@gnu.org>
20925 * battery.el (battery-mode-line-limit): New variable.
20926 (battery-update): Handle it.
20928 * mail/rmailmm.el (rmail-mime-process-multipart):
20929 Handle truncated messages.
20931 2011-06-27 Glenn Morris <rgm@gnu.org>
20933 * progmodes/flymake.el (flymake-err-line-patterns):
20934 Allow for column numbers in the ant/javac pattern. (Bug#8866)
20936 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
20938 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
20939 (ses--clean-!, ses--clean-_): New functions.
20940 (ses-range): Add configurability of readout order, and conversion
20943 * ses.el (ses-repair-cell-reference-all): New function.
20944 (ses-cell-symbol): Set macro as safe, so that it can be used in
20947 * ses.el: Update cycle detection algorithm.
20948 (ses-localvars): Add ses--Dijkstra-attempt-nb and
20949 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
20950 (ses-set-localvars): New function.
20951 (ses-make-cell): Add property-list as a cell element.
20952 (ses-cell-property-get-fun, ses-cell-property-get)
20953 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
20954 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
20956 (ses-cell-property-set, ses-cell-property-pop)
20957 (ses-cell-property-get-handle): New macro.
20958 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
20959 New aliases, used for code readability.
20960 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
20962 (ses-self-reference-early-detection): New defcustom.
20963 (ses-formula-references): Robustify against self-referring cells.
20964 (ses-mode): Use ses-set-localvars.
20965 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
20966 before lauching the update processing.
20967 (ses-initialize-Dijkstra-attempt): New function.
20968 (ses-recalculate-cell): Update for cycle detection based on
20969 Dijkstra algorithm.
20971 * ses.el: Fix commenting and indenting convention.
20973 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
20975 * bs.el (bs-cycle-next): Complete last change.
20977 2011-06-27 Drew Adams <drew.adams@oracle.com>
20979 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
20981 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
20983 * net/network-stream.el (network-stream-open-starttls):
20984 Don't re-get capabilities unless we've reestablished connection.
20985 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
20987 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
20988 to binary to possibly avoid line encoding issues on Windows (among
20991 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
20993 * net/network-stream.el (open-network-stream): Return an :error
20994 saying what the problem was, if possible.
20996 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
20999 * net/network-stream.el (network-stream-open-starttls): If we
21000 wanted to use STARTTLS, and the server offered it, but we weren't
21001 able to because we had no STARTTLS support, then close the connection.
21002 (open-network-stream): Return an :error element, if present.
21004 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
21006 * hl-line.el (hl-line-sticky-flag): Doc fix.
21007 (global-hl-line-sticky-flag): New option (Bug#8323).
21008 (global-hl-line-highlight): Obey it.
21010 * vc/vc.el (vc-revert-show-diff): Default to t.
21012 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
21014 * allout-widgets.el (allout-widgets-post-command-business):
21015 Stop decorating intermediate isearch matches. They're not being
21016 undecorated when an isearch is continued past, and isearch
21017 automatically collapses them. This leads to "widget leaks", where
21018 decorated items accumulate in collapsed areas. Lines with lots of
21019 hidden widgets can slow down cursor travel, substantially.
21020 Too much complicated machinery would be needed to ensure undecoration,
21021 so we're doing without this nicety.
21023 (allout-widgets-tally-string): Don't try to do a hash-table-count
21024 of allout-widgets-tally when it's nil. This eliminates spurious "Error
21025 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
21026 *Messages* when allout-widgets-maintain-tally is t.
21028 2011-06-26 Martin Rudalics <rudalics@gmx.at>
21030 * window.el (display-buffer-normalize-argument): Rename to
21031 display-buffer-normalize-arguments. Handle special meaning of
21032 LABEL argument. Respect special-display-function when popping up
21033 a new frame. Fix code searching for a window showing the buffer
21035 (display-buffer-normalize-specifiers):
21036 Call display-buffer-normalize-arguments.
21037 (display-buffer-in-window): Don't undedicate the window if its
21038 buffer remains the same.
21039 Reported by Drew Adams <drew.adams@oracle.com>.
21040 (display-buffer-alist): Add choice for same-window macro
21042 (display-buffer): Mention special meaning of LABEL argument in
21043 doc-string. Fix quoting. Don't pop up a new frame even as
21046 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
21048 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
21049 avoid deleting the current window in some cases (bug#8911).
21051 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
21053 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
21056 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
21058 * net/network-stream.el (network-stream-open-starttls):
21059 Use built-in TLS support if `gnutls-available-p' is true.
21060 (network-stream-open-tls): Ditto.
21062 2011-06-26 Leo Liu <sdl.web@gmail.com>
21064 * register.el (registerv): New struct.
21065 (registerv-make): New function.
21066 (jump-to-register, describe-register-1, insert-register):
21067 Support the jump-func, print-func and insert-func slot of a registerv
21070 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
21072 * vc/vc.el (vc-revert-show-diff): New defcustom.
21073 (vc-diff-internal): New arg specifying diff buffer.
21074 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
21075 reuse an existing *vc-diff* buffer (Bug#8927).
21077 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
21079 2011-06-26 Glenn Morris <rgm@gnu.org>
21081 * progmodes/f90.el (f90-critical-indent): New option.
21082 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
21083 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
21084 (f90-mode): Doc fix.
21085 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
21086 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
21087 (f90-beginning-of-block, f90-next-block, f90-indent-region)
21088 (f90-match-end): Handle block, critical.
21090 2011-06-25 Glenn Morris <rgm@gnu.org>
21092 * calendar/diary-lib.el (diary-included-files): Doc fix.
21093 (diary-include-files): New function, extracted from
21094 diary-include-other-diary-files and diary-mark-included-diary-files.
21095 (diary-include-other-diary-files, diary-mark-included-diary-files):
21096 Just call diary-include-files.
21097 (diary-mark-entries): Reset diary-included-files on first call.
21099 * calendar/diary-lib.el (diary-mark-entries)
21100 (diary-mark-included-diary-files):
21101 Visit included diary-files in temp buffers.
21103 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
21104 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
21105 (f90-start-block-re, f90-imenu-generic-expression)
21106 (f90-looking-at-program-block-start, f90-no-block-limit):
21107 Add support for submodules.
21109 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
21110 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
21112 2011-06-25 Eli Zaretskii <eliz@gnu.org>
21114 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
21115 buffer-file-type before setting its value, to avoid disastrous
21116 global effects on decoding files for DOS/Windows systems. (Bug#8780)
21118 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
21120 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
21122 * ses.el (ses-unload-function):
21123 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
21125 * proced.el (proced-unload-function):
21126 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
21128 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
21130 * server.el (server-create-window-system-frame): Add parameters arg.
21131 (server-process-filter): Doc fix. Handle frame-parameters.
21133 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
21135 Fix bug#8730, bug#8781.
21137 * loadhist.el (unload--set-major-mode): New function.
21138 (unload-feature): Use it.
21140 * progmodes/python.el (python-after-info-look): Add autoload cookie.
21141 (python-unload-function): New function.
21143 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
21145 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
21147 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
21149 * net/browse-url.el (browse-url-firefox-program): Add icecat to
21150 the candidates list.
21152 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
21154 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
21156 2011-06-23 Richard Stallman <rms@gnu.org>
21158 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
21159 (rmail-variables): Set next-error-move-function.
21160 (rmail-what-message): Take argument POS.
21161 (rmail-next-error-move): New function.
21163 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
21165 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
21166 messages for adjacent non-terminals.
21168 2011-06-23 Richard Stallman <rms@gnu.org>
21170 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
21171 (rmail-show-message-1): Preserve buffer modified flag.
21172 (rmail-start-mail): Don't specify use of rmail-mail-return;
21173 that's done by mail-bury now.
21174 (rmail-mail-return): Handle arg NEWBUF.
21176 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
21178 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
21181 2011-06-23 Martin Rudalics <rudalics@gmx.at>
21183 * window.el (get-lru-window, get-mru-window)
21184 (get-largest-window): Never return a minibuffer window.
21185 (display-buffer-pop-up-window): Fix a bug that could lead to
21186 reusing the minibuffer window.
21187 (display-buffer): Pass original specifier argument to
21188 display-buffer-function instead of the normalized one.
21189 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
21191 2011-06-22 Leo Liu <sdl.web@gmail.com>
21193 * minibuffer.el (completing-read-function)
21194 (completing-read-default): Move from minibuf.c.
21196 2011-06-22 Richard Stallman <rms@gnu.org>
21198 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
21199 to Rmail even if not started by a special Rmail command.
21201 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
21202 Copy the buffer currently showing just one message.
21204 2011-06-22 Roland Winkler <winkler@gnu.org>
21206 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
21207 (bibtex-clean-entry): First delete the old key so that a
21208 customized algorithm for generating the new key does not get
21209 confused by the old key.
21210 (bibtex-url): Obey regexp of first step.
21211 (bibtex-search-entries): Do not use add-to-list with local
21214 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
21216 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
21217 stored a user name, then query for the password first, instead of
21218 waiting for SMTP to give an error message and the trying again.
21220 2011-06-22 Lawrence Mitchell <wence@gmx.li>
21222 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
21223 BUFFER in call-process.
21225 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
21227 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
21229 (smtpmail-try-auth-methods): Require user name and password from
21232 2011-06-22 Martin Rudalics <rudalics@gmx.at>
21234 * window.el (display-buffer-default-specifiers)
21235 (display-buffer-alist): Remove entries for pop-up-frame-alist.
21236 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
21237 (split-window): Normalize SIDE argument (Bug#8916).
21239 * frame.el (pop-up-frame-alist, pop-up-frame-function)
21240 (special-display-frame-alist, special-display-popup-frame):
21241 Remove duplicate declarations. These are now in window.el.
21243 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
21245 * mail/smtpmail.el (smtpmail-via-smtp):
21246 Set :use-starttls-if-possible so that we always use STARTTLS if the
21247 server supports it. SMTP servers that support STARTTLS commonly
21250 * net/network-stream.el (network-stream-open-starttls): Support
21251 upgrading to STARTTLS always, even if we don't have built-in support.
21252 (open-network-stream): Add the :always-query-capabilities keyword.
21254 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
21255 upgrades with `open-network-stream', and rely solely on
21256 auth-source for all credentials. Big changes throughout the file,
21258 (smtpmail-auth-credentials): Remove.
21259 (smtpmail-starttls-credentials): Remove.
21260 (smtpmail-via-smtp): Check for servers saying they want AUTH after
21263 * net/network-stream.el (network-stream-open-starttls):
21264 Provide support for client certificates both for external and built-in
21266 (auth-source): Require.
21267 (open-network-stream): Document the :client-certificate keyword.
21268 (network-stream-certificate): Change cert-cert to cert and
21271 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
21273 * net/tramp-cache.el (top): Don't load the persistency file when
21274 "emacs -Q" has been called.
21276 2011-06-21 Tim Harper <timcharper@gmail.com>
21278 * term/ns-win.el (ns-initialize-window-system):
21279 Set application-specific `ApplePressAndHoldEnabled' system
21280 resource to NO as it is not yet supported by the NS port.
21282 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
21284 * misc.el (list-dynamic-libraries--refresh): Compute header here...
21285 (list-dynamic-libraries): ...not here.
21287 2011-06-21 Leo Liu <sdl.web@gmail.com>
21289 * subr.el (sha1): Implement sha1 using secure-hash.
21291 2011-06-21 Martin Rudalics <rudalics@gmx.at>
21293 * window.el (display-buffer-alist): In default value do not
21294 enforce searching a window on any but the selected frame.
21295 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
21296 (display-buffer-select-window): Remove function.
21297 (display-buffer-in-window): When a window on another frame gets
21298 reused, do not select it any more but just raise its frame if
21299 necessary (Bug#8851) and (Bug#8856).
21300 (display-buffer-normalize-options): Handle pop-up-frames related
21301 options more faithfully.
21302 (pop-to-buffer): Don't rely on `display-buffer' selecting the
21303 window if it is on another frame.
21304 (display-buffer-alist, display-buffer-default-specifiers):
21305 Don't make new frame unsplittable by default.
21306 (display-buffer-normalize-argument): Fix doc-string typo and use
21307 'same-frame-other-window instead of 'other-window when associating
21308 with display-buffer-macro-specifiers.
21310 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
21312 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
21314 (5x5-mode-map, 5x5-mode-menu): Bind them.
21315 (5x5-draw-grid): Tweak the solver's rendering.
21317 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
21319 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
21320 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
21322 2011-06-21 Drew Adams <drew.adams@oracle.com>
21324 * menu-bar.el: Use function variable instead of switch-to-buffer.
21325 (menu-bar-select-buffer-function): New variable.
21326 (menu-bar-update-buffers): Use it (bug#8876).
21328 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
21330 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
21333 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
21335 * x-dnd.el (x-dnd-version-from-flags)
21336 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
21337 and long as number (Bug#8899).
21338 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
21340 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
21342 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
21343 (completion-try-completion, completion-all-completions): Compute the
21344 metadata argument if it's missing; make it optional (bug#8795).
21346 * wid-edit.el: Use lex-bind and move towards completion-at-point.
21347 (widget-complete): Use new :completion-function property.
21348 (widget-completions-at-point): New function.
21349 (default): Use :completion-function instead of :complete.
21350 (widget-default-completions): Rename from widget-default-complete;
21352 (widget-string-complete, widget-file-complete, widget-color-complete):
21354 (file, symbol, function, variable, coding-system, color):
21355 * international/mule-cmds.el (default-input-method, charset)
21356 (language-info-custom-alist):
21357 * cus-edit.el (face): Use new property :completions.
21359 * progmodes/pascal.el (pascal-completions-at-point): New function.
21360 (pascal-mode): Use it.
21361 (pascal-mode-map): Use completion-at-point.
21362 (pascal-toggle-completions): Make obsolete.
21363 (pascal-complete-word, pascal-show-completions):
21364 * progmodes/octave-mod.el (octave-complete-symbol):
21365 Redefine as obsolete alias.
21366 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
21367 Signal absence of completion info for old Octave,
21368 (inferior-octave-complete): Redefine as obsolete alias.
21369 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
21370 (meta-completions-at-point): Rename from meta-complete-symbol and
21371 adapt it for use on completion-at-point-functions.
21372 (meta-common-mode): Use it.
21373 (meta-looking-at-backward, meta-match-buffer): Remove.
21374 (meta-complete-symbol): Redefine as obsolete alias.
21375 (meta-common-mode-map): Use completion-at-point.
21376 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
21377 (makefile-mode-map): Use completion-at-point.
21378 (makefile-completions-at-point): Rename from makefile-complete and
21379 adapt it for use on completion-at-point-functions.
21380 (makefile-mode): Use it.
21381 (makefile-complete): Redefine as obsolete alias.
21383 2011-06-20 Deniz Dogan <deniz@dogan.se>
21385 * net/rcirc.el: Delete trailing whitespaces once and for all.
21387 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
21389 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
21391 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
21393 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
21395 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
21397 2011-06-19 Martin Rudalics <rudalics@gmx.at>
21399 * window.el (display-buffer-other-window-means-other-frame):
21400 Call display-buffer-normalize-alist.
21401 (display-buffer-normalize-specifiers-1): Rename to
21402 display-buffer-normalize-argument. New argument other-frame.
21404 (display-buffer-normalize-specifiers-2): Rename to
21405 display-buffer-normalize-options.
21406 (display-buffer-normalize-alist-1): New function.
21407 (display-buffer-normalize-specifiers-3): Rename to
21408 display-buffer-normalize-alist.
21409 Call display-buffer-normalize-alist-1.
21410 (display-buffer-normalize-options-inhibit): New variable.
21411 (display-buffer-normalize-specifiers): Rewrite calling
21412 display-buffer-normalize-alist,
21413 display-buffer-normalize-argument, and
21414 display-buffer-normalize-options. Don't call the latter if
21415 display-buffer-normalize-options-inhibit is non-nil.
21416 (frame-auto-delete): New option.
21417 (window-deletable-p): Use frame-auto-delete.
21418 (window-list-no-nils, window-state-ignored-parameters)
21419 (window-state-get-1, window-state-get, window-state-put-list)
21420 (window-state-put-1, window-state-put-2, window-state-put):
21422 (display-buffer-normalize-options): Move special-display-p group
21423 after pop-up-frame group (Bug#8851) and (Bug#8856).
21425 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
21427 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
21429 (rx-submatch-n): New function.
21432 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
21435 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
21437 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
21439 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
21440 anytime existing face settings are present (Bug#8889).
21442 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
21443 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
21444 Remove unused argument.
21446 2011-06-18 Martin Rudalics <rudalics@gmx.at>
21448 * window.el (display-buffer-default-specifiers):
21449 Remove pop-up-frame. Add pop-up-window-min-height,
21450 pop-up-window-min-width, and another reuse-window specifier
21451 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
21452 (display-buffer-normalize-specifiers-2):
21453 Handle split-height-threshold and split-width-threshold also when
21454 pop-up-windows is unset. Add a reuse-window specifier for the
21455 case popping up a new window fails.
21456 (special-display-popup-frame): Remove double quoting.
21457 (display-buffer-normalize-specifiers-1): Fix thinko.
21459 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
21461 * shell.el (shell-completion-vars): Set pcomplete-termination-string
21462 according to comint-completion-addsuffix.
21464 * pcomplete.el: Convert to lexical binding and fix bug#8819.
21465 (pcomplete-suffix-list): Mark as obsolete.
21466 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
21467 pcomplete-seen in the closure.
21468 (pcomplete-comint-setup): Setup completion-at-point as well.
21469 (pcomplete--entries): New function.
21470 (pcomplete--env-regexp): New var.
21471 (pcomplete-entries): Rewrite to work with partial-completion and
21472 without relying on pcomplete-suffix-list.
21473 (pcomplete-pare-list): Remove, unused.
21475 2011-06-17 Martin Rudalics <rudalics@gmx.at>
21477 * window.el (display-buffer-alist): Set pop-up-window-min-height
21478 and pop-up-window-min-width in default value. Reported by
21479 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
21480 other-window-means-other-frame.
21481 (display-buffer-macro-specifiers): Comment out entry for
21482 other-window specifier.
21483 (display-buffer-other-window-means-other-frame): New function.
21484 (display-buffer-normalize-specifiers-1): New arguments
21485 buffer-name and label. Treat other-window case specially.
21486 (display-buffer-normalize-specifiers-2): Treat other-window case
21488 (display-buffer-normalize-specifiers-3): New function.
21489 (display-buffer-normalize-specifiers):
21490 Call display-buffer-normalize-specifiers-3.
21492 2011-06-17 Martin Rudalics <rudalics@gmx.at>
21494 * window.el (same-window-p): Fix two typos introduced when
21495 adding with-no-warnings.
21496 (display-buffer-normalize-specifiers-1): Don't check
21497 pop-up-frames for 'unset initialization.
21498 (display-buffer-normalize-specifiers-2): Major rewrite using
21499 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
21500 (pop-up-frames, display-buffer-reuse-frames)
21501 (display-buffer-mark-dedicated): Don't initialize to 'unset.
21502 Suggested by David Engster <deng@randomsample.de>.
21503 (even-window-heights): Initialize to 'unset.
21504 (display-buffer-alist-set): Handle new 'unset initializations.
21505 (display-buffer-macro-specifiers): Don't pop up a new frame in the
21508 2011-06-16 Martin Rudalics <rudalics@gmx.at>
21510 * window.el (display-buffer-normalize-specifiers-1):
21511 Respect current value of pop-up-frames for most reasonable values of
21512 second argument of display-buffer (Bug#8865).
21513 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
21514 (switch-to-buffer-other-window-same-frame)
21515 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
21517 (display-buffer): Don't check noninteractive when calling
21518 display-buffer-pop-up-frame.
21519 (display-buffer-pop-up-frame): Never pop up a frame in
21520 noninteractive mode (Bug#8857).
21521 (enlarge-window, shrink-window): Don't report an error when the
21522 window can't be resized as requested (Bug#8862).
21524 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
21526 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
21528 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
21530 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
21532 2011-06-15 Alan Mackenzie <acm@muc.de>
21534 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
21535 for declarators, disable knr checking to speed up for normal files.
21536 2: Refactor, replacing a sequence of nested if forms by a cond form.
21538 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
21540 * net/network-stream.el (open-network-stream): Add the keyword
21541 :always-query-capabilities for the case where you want to force a
21542 `plain' network connection, but the protocol still requires the
21543 capabilitiy command (i.e., SMTP and EHLO).
21545 * subr.el (process-live-p): Rename from `process-alive-p' for
21546 consistency with other `-live-p' functions.
21548 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
21550 * window.el (same-window-buffer-names, same-window-regexps)
21551 (special-display-frame-alist, special-display-popup-frame)
21552 (special-display-function, special-display-buffer-names)
21553 (special-display-regexps, pop-up-frame-alist)
21554 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
21555 (pop-up-windows, split-window-preferred-function)
21556 (split-height-threshold, split-width-threshold, even-window-heights)
21557 (display-buffer-mark-dedicated): Don't encourage the use of
21558 display-buffer-alist from Elisp code.
21560 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
21562 * progmodes/python.el (python-mode): Derive from prog-mode.
21563 * progmodes/ps-mode.el (ps-mode):
21564 * progmodes/mixal-mode.el (mixal-mode):
21565 * progmodes/cfengine.el (cfengine-mode):
21566 * progmodes/ld-script.el (ld-script-mode): Likewise.
21568 2011-06-15 Martin Rudalics <rudalics@gmx.at>
21570 * window.el (display-buffer-alist): Trim default value to avoid
21571 popping up a new frame (Bug#8857) or reusing an arbitrary window
21573 (display-buffer): Do not fall back on popping up a new frame in
21574 batch mode (Bug#8857).
21576 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
21578 * cus-theme.el (describe-theme-1): Use custom-theme-p.
21579 (custom-theme-summary): New function.
21580 (customize-themes): Use it.
21582 2011-06-13 Glenn Morris <rgm@gnu.org>
21584 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
21586 2011-06-13 Martin Rudalics <rudalics@gmx.at>
21588 * help.el (help-window): Remove variable.
21589 (help-window-point-marker, temp-buffer-max-height)
21590 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
21591 (help-print-return-message): Don't set help-window.
21592 (resize-temp-buffer-window): Rewrite cod eand doc-string.
21593 (help-window-setup-finish): Remove.
21594 (help-window-display-message, help-window-setup)
21595 (with-help-window): Major rewrite based on new
21596 display-buffer-window variable.
21598 * help-mode.el (help-mode-finish): Remove help-window related
21601 * view.el (view-exits-all-viewing-windows): Remove reference to
21602 view-return-to-alist in doc-string.
21603 (view-return-to-alist): Make obsolete.
21604 (view-buffer): Call pop-to-buffer-same-window and remove
21606 (view-buffer-other-window): Call pop-to-buffer-other-window and
21607 simplify code. Ignore second argument.
21608 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
21609 simplify code. Ignore second argument.
21610 (view-return-to-alist-update): Make obsolete.
21611 (view-mode-enter): Rename second argument to QUIT-RESTORE.
21612 Rewrite using quit-restore window parameters.
21613 (view-mode-exit): Rename second argument to EXIT-ONLY.
21614 Rewrite using quit-restore-window.
21615 (View-exit, View-exit-and-edit, View-leave, View-quit)
21616 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
21617 appropriate arguments.
21618 (view-end-message): Use quit-restore window parameter.
21620 * window.el (display-buffer-function): Rewrite doc-string.
21621 (display-buffer-window, display-buffer-alist): New variables.
21622 (display-buffer-split-specifiers)
21623 (display-buffer-side-specifiers)
21624 (display-buffer-macro-specifiers): New constants.
21625 (display-buffer-even-window-sizes, display-buffer-set-height)
21626 (display-buffer-set-width, display-buffer-select-window)
21627 (display-buffer-in-window, display-buffer-reuse-window)
21628 (display-buffer-split-window-1, display-buffer-split-window)
21629 (display-buffer-split-atom-window, display-buffer-pop-up-window)
21630 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
21631 (display-buffer-in-side-window, normalize-buffer-to-display)
21632 (display-buffer-normalize-specifiers-1)
21633 (display-buffer-normalize-specifiers-2)
21634 (display-buffer-normalize-specifiers, display-buffer-frame):
21636 (display-buffer): Major rewrite.
21637 (display-buffer-other-window, display-buffer-other-frame)
21638 (pop-to-buffer, switch-to-buffer-other-window)
21639 (switch-to-buffer-other-frame): Rewrite.
21640 (display-buffer-same-window, display-buffer-same-frame)
21641 (display-buffer-same-frame-other-window)
21642 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
21643 (pop-to-buffer-other-window)
21644 (pop-to-buffer-same-frame-other-window)
21645 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
21646 (switch-to-buffer-other-window-same-frame): New functions.
21647 (same-window-p, special-display-p): Rewrite disabling warnings.
21649 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
21650 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
21652 (same-window-buffer-names, same-window-regexps)
21653 (special-display-frame-alist, special-display-popup-frame)
21654 (special-display-function, special-display-buffer-names)
21655 (special-display-regexps, pop-up-frame-alist)
21656 (pop-up-frame-function, split-window-preferred-function)
21657 (split-height-threshold, split-width-threshold)
21658 (even-window-heights): Make obsolete.
21660 2011-06-12 Glenn Morris <rgm@gnu.org>
21662 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
21663 Misc simplifications.
21665 2011-06-12 Martin Rudalics <rudalics@gmx.at>
21667 * window.el (window-safely-shrinkable-p): Restore function which
21668 was inadvertently removed in change from 2011-06-11. Declare as
21671 * calendar/calendar.el (calendar-generate-window):
21672 Use window-iso-combined-p instead of combination of one-window-p and
21673 window-safely-shrinkable-p.
21675 2011-06-12 Glenn Morris <rgm@gnu.org>
21677 * progmodes/fortran.el (fortran-mode-syntax-table):
21678 * progmodes/f90.el (f90-mode-syntax-table):
21679 Set % to punctuation. (Bug#8820)
21680 (f90-find-tag-default): Remove, no longer needed.
21682 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
21684 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
21686 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
21688 * image.el (image-animated-p): Return animation delay in seconds.
21689 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
21690 (image-animate-timeout): Remove DELAY argument. Don't assume
21691 every subimage has the same delay; get it from image-animated-p.
21692 (image-animate): Caller changed.
21694 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
21696 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
21697 to ignored backtrace functions.
21699 2011-06-11 Glenn Morris <rgm@gnu.org>
21701 * calendar/appt.el (appt-disp-window-function): Doc fix.
21702 (appt-check): Handle overlapping appointments. (Bug#8337)
21704 2011-06-11 Martin Rudalics <rudalics@gmx.at>
21706 * window.el (window-tree-1, window-tree): New functions, moving
21707 the latter to window.el.
21708 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
21709 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
21710 (bw-refresh-edges): Remove.
21711 (balance-windows-1, balance-windows-2): New functions.
21712 (balance-windows): Rewrite in terms of window tree functions,
21713 balance-windows-1 and balance-windows-2.
21714 (bw-adjust-window): Remove.
21715 (balance-windows-area-adjust): New function with functionality of
21716 bw-adjust-window but using resize-window.
21717 (set-window-text-height): Rewrite doc-string.
21718 Use normalize-live-window and resize-window.
21719 (enlarge-window-horizontally, shrink-window-horizontally):
21720 Rename argument to DELTA.
21721 (window-buffer-height): New function.
21722 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
21723 Rewrite using new window resize routines.
21724 (kill-buffer-and-window, mouse-autoselect-window-select):
21725 Use ignore-errors instead of condition-case.
21726 (quit-window): Call delete-frame instead of delete-windows-on
21727 for the only buffer on frame.
21729 2011-06-10 Martin Rudalics <rudalics@gmx.at>
21731 * loadup.el (top-level): Load window before files for the sake
21732 of replace-buffer-in-windows.
21734 * files.el (read-buffer-to-switch)
21735 (switch-to-buffer-other-window)
21736 (switch-to-buffer-other-frame, display-buffer-other-frame):
21739 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
21740 (previous-buffer): Move to window.el.
21742 * bindings.el (unbury-buffer): Move to window.el.
21744 * window.el (delete-other-windows-vertically): Move after
21745 definition of delete-other-windows.
21746 (other-window, delete-windows-on, replace-buffer-in-windows):
21747 Move here from window.c.
21748 (record-window-buffer, unrecord-window-buffer)
21749 (set-window-buffer-start-and-point, switch-to-prev-buffer)
21750 (switch-to-next-buffer): New functions.
21751 (get-next-valid-buffer, last-buffer, next-buffer): Move here
21752 from simple.el. Call switch-to-next-buffer.
21753 (previous-buffer): Move here from simple.el.
21754 Call switch-to-prev-buffer.
21755 (bury-buffer): Move here from buffer.c. Switch to previous
21756 buffer when window cannot be deleted.
21757 (unbury-buffer): Move here from bindings.el.
21758 (ctl-x-map): Move binding for other-window from window.c to
21760 (read-buffer-to-switch, switch-to-buffer-other-window)
21761 (switch-to-buffer-other-frame): Move here from files.el.
21762 (normalize-buffer-to-switch-to): New functions.
21763 (switch-to-buffer): Move here from buffer.c.
21764 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
21766 2011-06-10 Martin Rudalics <rudalics@gmx.at>
21768 * window.el (window-min-height, window-min-width): Move here
21769 from window.c. Add defcustoms and rewrite doc-strings.
21770 (resize-mini-window, resize-window): New functions.
21771 (adjust-window-trailing-edge, enlarge-window, shrink-window):
21772 Move here from window.c.
21773 (maximize-window, minimize-window): New functions.
21774 (delete-window, delete-other-windows, split-window): Move here
21776 (window-split-min-size): New function.
21777 (split-window-keep-point): Mention split-window-above-each-other
21778 instead of split-window-vertically.
21779 (split-window-above-each-other, split-window-vertically):
21780 Rename split-window-vertically to split-window-above-each-other
21781 and provide defalias for old definition.
21782 (split-window-side-by-side, split-window-horizontally):
21783 Rename split-window-horizontally to split-window-side-by-side
21784 and provide defalias for the old definition.
21785 (ctl-x-map): Move bindings for delete-window,
21786 delete-other-windows and enlarge-window here from window.c.
21787 Replace bindings for split-window-vertically and
21788 split-window-horizontally by bindings for
21789 split-window-above-each-other and split-window-side-by-side.
21791 * cus-start.el (all): Remove entries for window-min-height and
21792 window-min-width. Add entries for window-splits and
21795 2011-06-09 Glenn Morris <rgm@gnu.org>
21797 * calendar/appt.el (appt-mode-line): New function.
21798 (appt-check, appt-disp-window): Use it.
21800 * files.el (hack-one-local-variable-eval-safep):
21801 Allow minor-modes with explicit +/-1 arguments.
21803 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
21805 * term/xterm.el (xterm): Add defgroup.
21806 (xterm-extra-capabilities): Add defcustom to supply known xterm
21807 capabilities, skip querying them, or query them (default).
21808 (terminal-init-xterm): Use it.
21809 (terminal-init-xterm-modify-other-keys): New function to set up
21810 modifyOtherKeys support to simplify `terminal-init-xterm'.
21812 2011-06-09 Martin Rudalics <rudalics@gmx.at>
21814 * window.el (resize-window-reset, resize-window-reset-1)
21815 (resize-subwindows-skip-p, resize-subwindows-normal)
21816 (resize-subwindows, resize-other-windows, resize-this-window)
21817 (resize-root-window, resize-root-window-vertically)
21818 (window-deletable-p, window-or-subwindow-p)
21819 (frame-root-window-p): New functions.
21821 2011-06-09 Glenn Morris <rgm@gnu.org>
21823 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
21824 (ange-ftp-get-files): Use it.
21826 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
21828 * mail/sendmail.el (mail-recover-1, mail-recover):
21829 * files.el (recover-file, recover-session):
21830 Handle dired-listing-switches not being just a single short option.
21832 2011-06-09 Glenn Morris <rgm@gnu.org>
21834 * calendar/appt.el (appt-display-message, appt-disp-window):
21835 Handle lists of appointments.
21837 2011-06-08 Martin Rudalics <rudalics@gmx.at>
21839 * window.el (one-window-p): Move down in code.
21840 Rewrite doc-string.
21841 (window-current-scroll-bars): Rewrite doc-string.
21842 Normalize live window argument.
21843 (walk-windows, get-window-with-predicate, count-windows):
21844 Rewrite doc-string. Use window-list-1.
21845 (window-in-direction-2, window-in-direction, get-mru-window):
21848 2011-06-08 Reuben Thomas <rrt@sc3d.org>
21850 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
21851 Doc fix (Bug#8713).
21853 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
21855 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
21857 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
21859 * loadhist.el (unload-feature-special-hooks):
21860 Add `comint-output-filter-functions'.
21862 2011-06-08 Ivan Kanis <gnu@kanis.fr>
21864 * calendar/appt.el (appt-check): Move some initializations into the let.
21866 2011-06-08 Martin Rudalics <rudalics@gmx.at>
21868 * window.el (window-height): Defalias to window-total-height.
21869 (window-width): Defalias to window-body-width.
21871 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
21873 * image-mode.el (image-toggle-animation): New command.
21874 (image-mode-map): Bind it to RET.
21875 (image-mode): Update message.
21876 (image-toggle-display-image): Avoid a spurious cache flush.
21877 (image-transform-rotation): Doc fix.
21878 (image-transform-properties): Return quickly in the normal case.
21879 (image-animate-loop): Rename from image-animate-max-time.
21881 * image.el (image-animate-max-time): Move to image-mode.el.
21882 (create-animated-image): Remove unnecessary function.
21883 (image-animate): Rename from image-animate-start. New arg.
21884 (image-animate-stop): Remove; just use image-animate-timer.
21885 (image-animate-timer): Use car-safe.
21886 (image-animate-timeout): Rename argument.
21888 2011-06-07 Martin Rudalics <rudalics@gmx.at>
21890 * window.el (get-lru-window, get-largest-window): Move here from
21891 window.c. Rename first argument to ALL-FRAMES.
21892 Rephrase doc-strings.
21893 (get-buffer-window-list): Rewrite using window-list-1.
21894 Rephrase doc-string.
21895 (window-safe-min-height, window-safe-min-width): New constants.
21896 (window-size-ignore, window-min-size, window-min-size-1)
21897 (window-sizable, window-sizable-p, window-size-fixed-1)
21898 (window-size-fixed-p, window-min-delta-1, window-min-delta)
21899 (window-max-delta-1, window-max-delta, window-resizable)
21900 (window-resizable-p, window-total-height, window-total-width)
21901 (window-body-width): New functions.
21902 (window-full-height-p, window-full-width-p): Rewrite using
21904 (window-body-height): Rewrite using window-body-size.
21906 2011-06-06 Martin Rudalics <rudalics@gmx.at>
21908 * window.el (window-right, window-left, window-child)
21909 (window-child-count, window-last-child, window-any-p)
21910 (normalize-live-buffer, normalize-live-frame)
21911 (normalize-any-window, normalize-live-window)
21912 (window-iso-combination-p, window-iso-combined-p)
21913 (window-iso-combinations)
21914 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
21915 (windows-with-parameter, window-with-parameter)
21916 (window-atom-root, make-window-atom, window-atom-check-1)
21917 (window-atom-check, window-side-check, window-check):
21919 (ignore-window-parameters, window-sides, window-sides-vertical)
21920 (window-sides-slots): New variables.
21921 (window-size-fixed): Move down in code. Minor doc-string fix.
21923 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
21925 * comint.el (comint-dynamic-complete-as-filename)
21926 (comint-dynamic-complete-filename): Correctly call
21927 completion-in-region.
21929 2011-06-05 Deniz Dogan <deniz@dogan.se>
21931 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
21934 2011-06-05 Deniz Dogan <deniz@dogan.se>
21936 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
21937 (rcirc): Use it to prompt for encryption.
21939 2011-06-05 Roland Winkler <winkler@gnu.org>
21941 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
21942 (bibtex-search-entries): New command bound to C-c C-a.
21943 (bibtex-display-entries): New function.
21945 2011-06-05 Roland Winkler <winkler@gnu.org>
21947 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
21948 (bibtex-insert-kill): After yanking insert newline if necessary.
21949 (bibtex-initialize): Call bibtex-string-files-init only once.
21950 (bibtex-mode): Do not call easy-menu-add.
21951 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
21952 (bibtex-yank): Set arg properly if nil.
21954 2011-06-05 Roland Winkler <winkler@gnu.org>
21956 * textmodes/bibtex.el (bibtex-search-entry-globally):
21958 (bibtex-search-entry): Use it.
21960 2011-06-05 Roland Winkler <winkler@gnu.org>
21962 * textmodes/bibtex.el (bibtex-entry-format): New option
21964 (bibtex-format-entry, bibtex-reformat): Honor this option.
21965 (bibtex-parse-entry): Return fields in proper order.
21967 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
21969 * doc-view.el (doc-view-remove-if): Move computation of result out
21970 of `dolist' to silence misleading lexical-binding warning.
21972 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
21974 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
21975 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
21977 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
21979 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
21982 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
21984 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
21985 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
21986 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
21987 (tramp-parse-putty):
21988 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
21989 (tramp-completion-function-alist-ssh)
21990 (tramp-completion-function-alist-telnet)
21991 (tramp-completion-function-alist-su)
21992 (tramp-completion-function-alist-putty): Set `tramp-autoload'
21995 * net/tramp-ftp.el:
21997 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
21998 load "tramp.el" `tramp-set-completion-function'.
22000 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
22002 * shell.el: Require and use pcomplete.
22003 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
22004 (shell-completion-vars): Set pcomplete-default-completion-function.
22006 2011-06-04 Deniz Dogan <deniz@dogan.se>
22008 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
22011 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
22013 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
22015 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
22017 * bs.el (bs--mark-unmark, bs--nth-wrapper):
22018 * mpc.el (mpc-select-extend, mpc-songpointer-context):
22019 * vc/log-view.el (log-view-beginning-of-defun):
22020 * vc/smerge-mode.el (smerge-apply-resolution-patch)
22021 (smerge-refine-forward, smerge-refine-chopup-region):
22022 Silence warning for unused `dotimes' counter variables.
22024 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
22026 * net/tramp.el (tramp-with-progress-reporter): Rename from
22027 with-progress-reporter. Use `declare'.
22028 * net/tramp-smb.el:
22030 * net/tramp-gvfs.el: Update all uses.
22032 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
22034 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
22035 buffer isn't killed before making it current.
22037 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
22039 Silence various byte-compiler warnings.
22040 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
22041 `access-type' and new obsolescence format.
22042 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
22044 (byte-compile-check-variable): New `access-type' argument.
22045 Only warn if the access-type is obsolete.
22046 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
22047 (byte-compile-variable-set): Adjust callers.
22048 * help-fns.el (describe-variable): Adjust to new obsolescence format.
22049 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
22050 setting it as obsolete.
22051 * simple.el (minibuffer-completing-symbol):
22052 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
22053 access as obsolete.
22054 * minibuffer.el (minibuffer-completing-file-name): Don't make it
22056 * international/quail.el (quail-mouse-choose-completion): Remove unused
22057 code referring to obsolete var.
22058 (quail-choose-completion-string): Remove.
22059 * server.el (server-clients-with, server-kill-buffer-query-function)
22060 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
22061 * proced.el (proced-send-signal):
22062 * emacs-lisp/lisp.el (lisp-complete-symbol):
22063 Replace completion-annotate-function with completion-extra-properties.
22065 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
22067 * simple.el (goto-line): Use read-number.
22068 (overriding-map-is-bound): Remove.
22069 (saved-overriding-map): Change default.
22070 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
22071 Take the map as argument.
22072 (universal-argument, negative-argument, digit-argument): Use it.
22073 (restore-overriding-map): Adjust.
22074 (do-auto-fill): Use fill-forward-paragraph.
22075 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
22077 * minibuffer.el (minibuffer-inactive-mode-map): New var.
22078 (minibuffer-inactive-mode): New major mode.
22079 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
22080 the *Messages* buffer" hack.
22081 (mouse-popup-menubar): Don't burp if the event is a normal key.
22083 Miscellaneous tweaks.
22084 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
22085 lexical scoping as in subr.el's dolist and dotimes.
22086 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
22087 Silence compiler warning.
22088 * thingatpt.el (forward-whitespace): Trivial coding style fix.
22089 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
22090 * international/ccl.el (ccl-compile): Trivial simplification.
22091 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
22092 * emacs-lisp/testcover.el (testcover-end): Remove spurious
22093 `printflag' argument.
22094 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
22095 Purecopy the whole obsolescence data.
22097 2011-06-01 Leo Liu <sdl.web@gmail.com>
22099 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
22100 improve doc-string as suggested by Marco Pessotto
22101 <melmothx@gmail.com>.
22102 (rcirc-print): Fix last change.
22104 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
22106 * minibuffer.el (complete-with-action): Return nil for the metadata and
22107 boundaries of non-functional tables.
22108 (completion-table-dynamic): Return nil for the metadata.
22109 (completion-table-with-terminator): Add default case, using
22110 complete-with-action.
22111 (completion--metadata): New function.
22112 (completion-all-sorted-completions, minibuffer-completion-help): Use it
22113 to try and avoid pathological performance problems.
22114 (completion--embedded-envvar-table): Return `category' metadata.
22116 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
22118 * subr.el (process-alive-p): New tiny convenience function.
22120 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
22122 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
22123 content but also its previous major mode.
22125 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
22127 * emacs-lisp/debug.el (debug): Restore the previous content of the
22128 *Backtrace* buffer when we exit with C-M-c.
22130 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
22132 * minibuffer.el: Add metadata method to completion tables.
22133 (completion-category-overrides): New defcustom.
22134 (completion-metadata, completion--field-metadata)
22135 (completion-metadata-get, completion--styles)
22136 (completion--cycle-threshold): New functions.
22137 (completion-try-completion, completion-all-completions):
22138 Add `metadata' argument to choose completion-styles.
22139 (completion--do-completion): Use metadata to choose cycling.
22140 (completion-all-sorted-completions): Use metadata for sorting.
22141 Remove :completion-cycle-penalty which is not needed any more.
22142 (completion--try-word-completion): Add `metadata' argument.
22143 (minibuffer-completion-help): Check metadata for annotation function
22145 (completion-file-name-table): Return `category' metadata.
22146 (minibuffer-completing-file-name): Make obsolete.
22147 * simple.el (minibuffer-completing-symbol): Make obsolete.
22148 * icomplete.el (icomplete-completions): Pass new `metadata' param to
22149 completion-try-completion.
22151 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
22153 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
22155 2011-05-30 Leo Liu <sdl.web@gmail.com>
22157 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
22158 (rcirc-print): Decode all incoming messages (bug#8744).
22159 (rcirc-decode-coding-system): Allow value nil for automatic coding
22162 2011-06-01 Glenn Morris <rgm@gnu.org>
22164 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
22166 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
22168 * image.el (image-animate-max-time): Allow nil and t values.
22170 (create-animated-image): Doc fix.
22171 (image-animate-start): Remove second arg; just use
22172 image-animate-max-time.
22173 (image-animate-timeout): Doc fix. Args changed.
22175 * image-mode.el (image-toggle-display-image): Ensure that the
22176 image spec passed to the animate timer is the same object as in
22177 the buffer's display property (Bug#6981).
22178 (image-transform-properties): Doc fix.
22180 * image.el (image-animate-max-time): Default to nil.
22182 2011-05-29 Martin Rudalics <rudalics@gmx.at>
22184 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
22185 entire buffer list (Bug#8184).
22187 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
22189 * image.el (imagemagick-types-inhibit)
22190 (imagemagick-register-types): Doc fix.
22192 2011-05-29 Deniz Dogan <deniz@dogan.se>
22194 * net/rcirc.el (rcirc): Use the user's stored encryption method by
22197 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
22199 * select.el: Don't perform clipboard-manager saving in hooks;
22200 leave the hooks empty.
22202 2011-05-28 Leo Liu <sdl.web@gmail.com>
22204 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
22205 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
22206 (occur-edit-mode): New major mode (Bug#8463).
22207 (occur-after-change-function): New function.
22208 (occur-engine): Give Occur tags a read-only property.
22210 2011-05-28 Kevin Ryde <user42@zip.com.au>
22212 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
22214 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
22216 * bindings.el (help-echo): Make the initial non-indicator dash
22217 empty on graphical terminals (Bug#7295).
22219 * files.el (auto-mode-alist): Move config rule after the
22220 in-stripping one (Bug#8547).
22222 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
22224 * startup.el (normal-splash-screen): Remove gratuitous mode-line
22225 setting (Bug#8740).
22227 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
22229 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
22230 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
22233 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
22235 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
22237 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
22239 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
22240 (hs-hide-block-at-point, hs-find-block-beginning)
22241 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
22244 2011-05-28 Glenn Morris <rgm@gnu.org>
22246 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
22248 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
22250 * help-fns.el (describe-function-1): If the function is a derived
22251 major mode, print the parent mode.
22253 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
22254 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
22256 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
22258 * minibuffer.el (completion--capf-wrapper): Check applicability before
22259 returning non-nil for non-exclusive completion data.
22260 * progmodes/etags.el (tags-completion-at-point-function):
22261 * info-look.el (info-lookup-completions-at-point): Mark as
22263 (info-complete): Adjust accordingly.
22265 * info-look.el: Convert to lexical-binding and completion-at-point.
22266 (info-lookup-completions-at-point): New function.
22267 (info-complete): Use it and completion-in-region.
22269 2011-05-28 Drew Adams <drew.adams@oracle.com>
22271 * isearch.el: Let M-e start with point at the first mismatched char.
22272 (isearch-fail-pos): New function.
22273 (isearch-edit-string): Use it.
22275 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
22277 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
22279 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
22281 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
22282 traversal functions for avl-trees.
22283 (avl-tree--stack): New struct.
22284 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
22285 (avl-tree-enter): Add optional `updatefun' arg.
22286 (avl-tree--do-enter): Add optional `updatefun' arg.
22287 Change return value.
22288 (avl-tree-delete): Add optional `test' and `nilflag' args.
22289 (avl-tree--do-delete): Add `test' and `nilflag' args.
22290 Change return value.
22291 (avl-tree-member): Add optional `nilflag'
22292 (avl-tree-member-p): New function.
22293 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
22294 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
22295 (avl-tree-stack-empty-p): New functions.
22297 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
22298 avl-tree--del-balance1 and make it work both ways.
22299 (avl-tree--del-balance2): Remove.
22300 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
22301 make it work both ways.
22302 (avl-tree--enter-balance2): Remove.
22303 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
22305 (avl-tree--mapc, avl-tree-map): Add direction argument.
22307 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
22309 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
22311 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
22313 * select.el: Support clipboard managers with built-in function
22314 x-clipboard-manager-save, via delete-frame-functions and
22316 (xselect-convert-to-targets): Add MULTIPLE target to list.
22317 (xselect-convert-to-save-targets): New function.
22319 2011-05-27 Kenichi Handa <handa@m17n.org>
22321 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
22322 let-binding rfc2047-encode-encoded-words to nil.
22324 2011-05-27 Glenn Morris <rgm@gnu.org>
22326 * mail/emacsbug.el: Don't require url-util.
22328 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
22330 * files.el (set-auto-mode):
22331 Also respect mode: entries at the end of the file. (Bug#8586)
22333 2011-05-26 Glenn Morris <rgm@gnu.org>
22335 * files.el (hack-local-variables-prop-line, hack-local-variables):
22336 Downcase mode names, as seems to be traditional.
22337 (hack-local-variables, hack-local-variables-apply): Doc fixes.
22339 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
22340 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
22342 2011-05-25 Julien Danjou <julien@danjou.info>
22344 * textmodes/rst.el (rst-define-level-faces): Do not define face
22345 symbol if it is already defined.
22347 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
22349 * play/5x5.el (5x5-new-game, 5x5-randomize):
22350 Reset 5x5-solver-output to nil when a new grid is cast.
22351 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
22352 these debugging traces, as defmacro breaks the compiled code.
22354 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
22356 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
22358 2011-05-24 Leo Liu <sdl.web@gmail.com>
22360 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
22361 (vc-bzr-sha1): Adapt.
22363 * sha1.el: Remove. Function `sha1' is now builtin.
22365 * bindings.el: Provide sha1 feature.
22367 2011-05-24 Kenichi Handa <handa@m17n.org>
22369 * mail/sendmail.el: Require `rfc2047'.
22370 (mail-insert-from-field): Do not perform RFC2047 encoding.
22371 (mail-encode-header): New function.
22372 (sendmail-send-it): Set buffer-file-coding-system of the work
22373 buffer to the return value of select-message-coding-system.
22374 Call mail-encode-header.
22376 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
22378 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
22380 * mail/supercite.el (sc-default-cite-frame):
22381 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
22383 2011-05-24 Glenn Morris <rgm@gnu.org>
22385 * progmodes/python.el (brm-menu): Declare.
22387 * emulation/viper.el (viper-set-hooks): Declare.
22389 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
22390 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
22391 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
22392 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
22393 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
22394 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
22396 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
22398 Add an :exit-function for completion-at-point.
22400 * minibuffer.el (completion--done): New fun.
22401 (completion--do-completion): Use it. New arg `expect-exact'.
22402 (minibuffer-complete, minibuffer-complete-word): Don't output message,
22403 since completion--do-completion does it for us now.
22404 (minibuffer-force-complete): Use completion--done and
22405 completion--replace. Handle sole-completion case with more care.
22406 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
22407 (completion-extra-properties): New var.
22408 (completion-annotate-function): Make obsolete.
22409 (minibuffer-completion-help): Adjust accordingly.
22410 Use completion-list-insert-choice-function.
22411 (completion-at-point, completion-help-at-point):
22412 Bind completion-extra-properties.
22413 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
22414 * simple.el (completion-list-insert-choice-function): New var.
22415 (completion-setup-function): Preserve it.
22416 (choose-completion): Pay attention to it, shuffle the code a bit.
22417 (choose-completion-string): New arg `insert-function'.
22419 * textmodes/bibtex.el: Convert to lexical binding.
22420 (bibtex-mode-map): Use completion-at-point.
22421 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
22422 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
22423 (bibtex-complete): Define as obsolete alias.
22424 (bibtex-complete-internal): Remove.
22425 (bibtex-format-entry): Remove unused sub-group in regexp.
22426 * shell.el (shell--command-completion-data)
22427 (shell-environment-variable-completion):
22428 * pcomplete.el (pcomplete-completions-at-point):
22429 * comint.el (comint--complete-file-name-data): Use :exit-function
22430 instead of completion-table-with-terminator so it also works for
22433 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
22435 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
22437 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
22440 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
22442 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
22444 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
22445 customization variable and implement: If non-nil, auto-fill will
22446 be inhibited while on topic's header line.
22448 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
22450 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
22451 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
22452 always have a solution in grid size = 5 cases.
22453 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
22454 (5x5-solver-output, 5x5-log-buffer): New vars.
22455 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
22456 Make these variables buffer local to achieve 5x5 multi-session-ness.
22457 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
22458 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
22459 (5x5-solve-suggest): New funs.
22460 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
22461 randomize a grid so that we ensure that there is always a solution.
22462 (5x5-make-random-grid): Allow other movement than flipping.
22464 2011-05-23 Kevin Ryde <user42@zip.com.au>
22466 * emacs-lisp/advice.el (ad-read-advised-function):
22467 Use `function-called-at-point' as the default, if it has
22468 advice and passes PREDICATE.
22470 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
22472 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
22473 byte-compile-lambda if it's actually a lambda.
22475 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
22476 Fix function quoting. Use backquote better.
22478 2011-05-22 Yuanle Song <sylecn@gmail.com>
22480 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
22481 matching (Bug#8516).
22483 2011-05-22 Jari Aalto <jari.aalto@cante.net>
22485 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
22486 different face (Bug#8178).
22488 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
22490 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
22491 defface (Bug#8144).
22493 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
22495 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
22496 funcall as well (bug#8712). Warn when performing those conversions.
22497 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
22499 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
22501 2011-05-22 Glenn Morris <rgm@gnu.org>
22503 * files.el (hack-local-variables-prop-line): Small simplifications.
22504 (hack-local-variables, hack-local-variables-prop-line):
22505 If MODE-ONLY, return the mode, rather than just `t'.
22507 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
22509 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
22511 2011-05-21 Glenn Morris <rgm@gnu.org>
22513 * files.el (hack-local-variables-prop-line, hack-local-variables):
22514 If only interested in the mode, don't bother doing the other stuff.
22516 * image-mode.el (image-after-revert-hook):
22517 Redraw all frames on which the image is visible. (Bug#8567)
22519 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
22521 * wid-edit.el (widget-checklist-match-inline):
22522 Fix 2011-04-19 change. (Bug#8649)
22524 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
22526 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
22527 Also allow singlespace after single-letter capitals followed by a dot.
22529 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
22530 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
22532 2011-05-20 Nix <nix@esperi.org.uk>
22534 * files.el (basic-save-buffer-2):
22535 Fix handling of break-hardlink-on-save with non-existent files.
22537 2011-05-19 Deniz Dogan <deniz@dogan.se>
22539 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
22540 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
22542 2011-05-19 Glenn Morris <rgm@gnu.org>
22544 * progmodes/f90.el (f90-type-def-re):
22545 Handle "type, bind(c)". (Bug#8691)
22547 * emacs-lisp/autoload.el (batch-update-autoloads):
22548 Set autoload-excludes by parsing loadup.el rather than Makefiles.
22550 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
22552 * net/tramp.el (tramp-process-actions): Set "first-password-request"
22553 property for the correct connection in case of multihops.
22555 2011-05-18 Glenn Morris <rgm@gnu.org>
22557 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
22558 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
22560 Rationalize calendar handling of day and month abbrev-arrays.
22561 * calendar/calendar.el (calendar-customized-p): New function.
22562 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
22563 (calendar-day-name-array, calendar-month-name-array): Doc fix.
22565 (calendar-abbrev-length, calendar-day-abbrev-array)
22566 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
22567 (calendar-day-abbrev-array, calendar-month-abbrev-array):
22568 Elements may no longer be nil.
22569 (calendar-day-name, calendar-month-name):
22570 Update for changed nature of abbrev arrays.
22571 * calendar/diary-lib.el (diary-name-pattern):
22572 Update for changed nature of abbrev arrays.
22573 (diary-mark-entries-1): Update calendar-make-alist calls.
22574 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
22575 * calendar/cal-html.el (cal-html-day-abbrev-array):
22576 Simply inherit from calendar-day-abbrev-array.
22578 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
22580 * progmodes/grep.el (grep-mode): Disable default
22581 compilation-directory-matcher setting (bug#8684).
22583 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
22585 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
22586 instead of "head" and "tail". There were problems with SunOS 5.9,
22587 and it performs better.
22589 2011-05-17 Glenn Morris <rgm@gnu.org>
22591 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
22593 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
22594 Replace obsolete function.
22596 * shell.el (pcomplete-parse-arguments-function): Declare.
22598 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
22599 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
22600 (appt-check): Doc fixes.
22601 (appt-disp-window-function, appt-delete-window-function):
22602 Remove needless special case in custom :type.
22603 (appt-display-count): Default to 0, not nil.
22604 (appt-check): Reset appt-display-count to 0, not nil.
22606 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
22608 * progmodes/python.el (python-font-lock-keywords):
22609 Add the Python 3.X keyword "nonlocal" (bug#8639).
22611 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
22613 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
22615 2011-05-16 Kevin Ryde <user42@zip.com.au>
22617 * info-look.el (makefile-automake-mode): New setups, looking in
22618 automake manual, then makefile-mode.
22619 (makefile-mode): Remove automake manual, have it just in
22620 makefile-automake-mode since there's various things different or
22621 not relevant to plain make.
22622 (makefile-mode): Remove "other-modes" non-existent automake-mode,
22623 believe a hypothetical automake-mode would go to makefile-mode,
22624 not the other way around.
22626 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
22628 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
22629 hunk-end tags (Bug#8672).
22631 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
22632 vc-annotate-show-diff-revision-at-line (Bug#8671).
22634 2011-05-14 Glenn Morris <rgm@gnu.org>
22636 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
22637 in the middle of an existing one with multiple authors. (Bug#8645)
22638 (change-log-font-lock-keywords): Also handle multiple author lines
22639 with leading tabs. (Bug#8644)
22641 * calendar/appt.el (appt-check): Rename some local variables.
22642 Some simplification/reordering.
22644 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
22645 (feedmail-sendmail-f-doesnt-sell-me-out)
22646 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
22647 (feedmail-debug-sit-for, feedmail-queue-express-hook)
22648 (feedmail-queue-runner-message-sender): Set :version.
22649 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
22650 (bbdb-dwim-net-address, vm-mail): Declare.
22651 (feedmail-binmail-gnulinuxish-template):
22652 Rename from feedmail-binmail-linuxish-template.
22653 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
22654 Use insert-buffer-substring.
22656 2011-05-14 Bill Carpenter <bill@carpenter.org>
22658 * mail/feedmail.el (feedmail-patch-level): Increase.
22659 (feedmail-debug): New custom group.
22660 (feedmail-confirm-outgoing-timeout)
22661 (feedmail-sendmail-f-doesnt-sell-me-out)
22662 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
22663 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
22664 (feedmail-sender-line, feedmail-from-line)
22665 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
22666 (feedmail-spray-this-address)
22667 (feedmail-spray-address-fiddle-plex-list)
22668 (feedmail-queue-use-send-time-for-date)
22669 (feedmail-queue-use-send-time-for-message-id)
22670 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
22671 (feedmail-buffer-eating-function):
22673 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
22674 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
22675 (feedmail-message-action-scroll-down): New functions.
22676 (feedmail-queue-directory, feedmail-queue-draft-directory):
22677 Use expand-file-name.
22678 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
22679 Remove C-v help entry.
22680 (feedmail-queue-buffer-file-name): New variable.
22681 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
22682 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
22683 (feedmail-message-action-send-strong, feedmail-message-action-edit)
22684 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
22685 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
22686 (feedmail-message-action-toggle-spray)
22687 (feedmail-run-the-queue-no-prompts)
22688 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
22689 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
22690 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
22691 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
22692 (feedmail-envelope-deducer, feedmail-fiddle-from)
22693 (feedmail-fiddle-sender, feedmail-default-date-generator)
22694 (feedmail-fiddle-date, feedmail-fiddle-message-id)
22695 (feedmail-fiddle-spray-address)
22696 (feedmail-fiddle-list-of-spray-fiddle-plexes)
22697 (feedmail-fiddle-list-of-fiddle-plexes)
22698 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
22699 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
22700 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
22701 Change default. Doc fix.
22702 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
22703 (feedmail-binmail-linuxish-template): New constant.
22704 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
22705 Respect feedmail-sendmail-f-doesnt-sell-me-out.
22706 (feedmail-send-it): Add debug call.
22707 Use feedmail-queue-buffer-file-name, and
22708 feedmail-send-it-immediately-wrapper.
22709 (feedmail-message-action-send): Add debug call.
22710 Use feedmail-send-it-immediately-wrapper.
22711 (feedmail-queue-express-to-queue): Add debug call.
22712 Run feedmail-queue-express-hook.
22713 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
22714 (feedmail-message-action-help-blat):
22715 Rename from feedmail-queue-send-edit-prompt-help-first.
22716 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
22717 Check line-endings. Handle errors better.
22718 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
22719 Doc fix. Add debug call.
22720 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
22721 Use feedmail-queue-send-edit-prompt-inner.
22722 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
22723 (feedmail-queue-send-edit-prompt-inner): New function, extracted
22724 from feedmail-queue-send-edit-prompt.
22725 (feedmail-queue-send-edit-prompt-help)
22726 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
22727 (feedmail-tidy-up-slug): Add debug call.
22728 Respect feedmail-queue-slug-suspect-regexp.
22729 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
22730 (feedmail-dump-message-to-queue): Add debug call.
22731 Expand queue-directory.
22732 (feedmail-dump-message-to-queue): Change message slightly.
22733 Use feedmail-say-chatter.
22734 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
22735 (feedmail-send-it-immediately-wrapper): New function.
22736 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
22737 Insert empty string rather than newline. Handle full-frame case.
22738 Use catch/throw. Use feedmail-say-chatter.
22739 (feedmail-fiddle-from): Try mail-host-address.
22740 (feedmail-default-message-id-generator): Doc fix.
22741 Bind system-time-locale. Handle missing end.
22742 (feedmail-fiddle-x-mailer): Add debug call.
22743 Handle feedmail-x-mailer-line being nil.
22744 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
22745 Add debug call. Use buffer-substring-no-properties.
22746 (feedmail-say-debug, feedmail-say-chatter): New functions.
22747 (feedmail-find-eoh): Give an explicit error.
22749 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
22751 * net/newst-treeview.el (newsticker-treeview-face): Change default
22752 family from helvetica to sans.
22753 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
22754 etc/images/newsticker.
22756 * net/newst-reader.el (newsticker-feed-face): Change default
22757 family from helvetica to sans.
22759 * net/newst-plainview.el (newsticker-new-item-face)
22760 (newsticker-old-item-face, newsticker-immortal-item-face)
22761 (newsticker-obsolete-item-face, newsticker-date-face)
22762 (newsticker-statistics-face): Change default family from
22764 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
22765 etc/images/newsticker.
22767 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
22768 (newsticker--process-auto-mark-filter-match): Tell user about
22771 2011-05-13 Didier Verna <didier@xemacs.org>
22773 Common Lisp indentation improvements on defmethod and lambda-lists.
22774 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
22776 (lisp-lambda-list-keyword-parameter-indentation)
22777 (lisp-lambda-list-keyword-parameter-alignment)
22778 (lisp-lambda-list-keyword-alignment): New customizable user options.
22779 (lisp-indent-defun-method): Improve docstring.
22780 (extended-loop-p): Fix comment.
22781 (lisp-indent-lambda-list-keywords-regexp): New variable.
22782 (lisp-indent-lambda-list): New function.
22783 (lisp-indent-259): Use it.
22784 (lisp-indent-defmethod): Support for more than one
22785 method qualifier and properly indent methods lambda-lists.
22786 (defgeneric): Provide a missing common-lisp-indent-function property.
22788 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
22790 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
22791 bounds for the empty string (bug#8667).
22793 2011-05-13 Glenn Morris <rgm@gnu.org>
22795 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
22797 * mail/sendmail.el (sendmail-program): Try executable-find first.
22798 (sendmail-send-it): `sendmail-program' cannot be unbound.
22800 * calendar/appt.el (appt-make-list): Simplify.
22801 (appt-time-msg-list): Doc fix.
22802 (appt-check): Change mode-line message at the time of the appointment.
22804 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
22806 * progmodes/ld-script.el (ld-script-keywords)
22807 (ld-script-builtins): Update keywords list.
22809 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
22811 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
22813 * shell.el (shell-completion-vars): New function.
22815 * simple.el (read-shell-command): Use it.
22816 (blink-matching-open): No need for " [...]" in minibuffer-message.
22818 2011-05-12 Glenn Morris <rgm@gnu.org>
22820 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
22821 (appt-check): Simplify.
22823 2011-05-12 Eli Zaretskii <eliz@gnu.org>
22825 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
22826 literal "/dev/null".
22828 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
22830 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
22833 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
22835 * progmodes/which-func.el (which-function):
22836 Use add-log-current-defun instead of add-log-current-defun-function,
22837 which might not be defined (Bug#8260).
22839 2011-05-12 Glenn Morris <rgm@gnu.org>
22841 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
22842 Let byte-compile-initial-macro-environment always take precedence.
22844 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
22846 * net/rcirc.el: Add support for SSL/TLS connections.
22847 (rcirc-server-alist): New field `encryption'.
22848 (rcirc): Check `encryption' settings.
22849 (rcirc-connect): New arg `encryption'. Use open-network-stream.
22850 Merge make-local-variable into `set'.
22851 (rcirc--connection-open-p): New function.
22852 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
22853 the process is not a network process (e.g. running gnutls-cli).
22854 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
22855 Make rcirc-(en|de)code-coding-system local here.
22856 (rcirc-mode): Merge make-local-variable into `set'.
22857 (rcirc-parent-buffer): Make permanent buffer-local.
22858 (rcirc-multiline-minor-mode): Don't do it here.
22859 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
22860 there's no server buffer.
22862 2011-05-11 Glenn Morris <rgm@gnu.org>
22864 * newcomment.el (comment-kill): Prefix "unused" local.
22866 * term/w32console.el (get-screen-color): Declare.
22868 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
22869 Handle symbol elements of byte-compile-initial-macro-environment.
22871 2011-05-10 Leo Liu <sdl.web@gmail.com>
22873 * bookmark.el (bookmark-bmenu-mode-map):
22874 Bind bookmark-bmenu-search to `/'.
22876 * mail/footnote.el: Convert to utf-8 encoding.
22877 (footnote-unicode-string, footnote-unicode-regexp): New variable.
22878 (Footnote-unicode): New function.
22879 (footnote-style-alist): Add unicode style to the list.
22880 (footnote-style): Doc fix.
22882 2011-05-10 Jim Meyering <meyering@redhat.com>
22884 Fix doubled-word typos.
22885 * international/quail.el (quail-insert-kbd-layout): and and -> and
22886 * kermit.el: and and -> and
22887 * net/ldap.el (ldap-search-internal): to to -> to
22888 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
22889 * progmodes/js.el (js-mode): and and -> and
22890 * textmodes/artist.el (artist-move-to-xy): at at -> at
22891 (artist-draw-region-trim-line-endings): if if -> if
22892 And Safetyc -> Safety.
22893 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
22895 2011-05-10 Glenn Morris <rgm@gnu.org>
22896 Stefan Monnier <monnier@iro.umontreal.ca>
22898 * files.el (hack-one-local-variable-eval-safep):
22899 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
22901 2011-05-10 Glenn Morris <rgm@gnu.org>
22903 * calendar/diary-lib.el (diary-list-entries-hook)
22904 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
22905 (diary-nongregorian-marking-hook, diary-list-entries)
22906 (diary-include-other-diary-files, diary-mark-entries)
22907 (diary-mark-included-diary-files): Doc fixes.
22909 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
22911 * misc.el: Require tabulated-list.el during compilation.
22913 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
22915 * progmodes/compile.el (compilation-start):
22916 Run compilation-filter-hook for the async case too.
22917 (compilation-filter-hook): Doc fix.
22919 2011-05-09 Deniz Dogan <deniz@dogan.se>
22921 * wdired.el: Remove outdated installation comment. Fix usage
22924 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
22926 * misc.el: Implement new command `list-dynamic-libraries'.
22927 (list-dynamic-libraries--loaded-only-p): New variable.
22928 (list-dynamic-libraries--refresh): New function.
22929 (list-dynamic-libraries): New command.
22931 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
22933 * progmodes/compile.el (compilation-error-regexp-alist-alist):
22934 Fix the ant regexp to handle end-line and end-column info from jikes.
22935 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
22936 higher priority to avoid clobbering by gnu.
22938 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
22940 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
22941 if the face has existing theme settings (Bug#8454).
22943 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
22945 * progmodes/perl-mode.el (perl-imenu-generic-expression):
22946 Only match variables declared via `my' or `our' (Bug#8261).
22948 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
22949 special file names `.' and `..' (Bug#8259).
22951 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
22953 * progmodes/grep.el (grep-mode-font-lock-keywords):
22954 Remove buffer-changing entries.
22955 (grep-filter): New function.
22956 (grep-mode): Add it to compilation-filter-hook.
22958 * progmodes/compile.el (compilation-filter-hook)
22959 (compilation-filter-start): New defvars.
22960 (compilation-filter): Call compilation-filter-hook prior to
22961 updating the process mark.
22963 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
22965 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
22967 2011-05-07 Eli Zaretskii <eliz@gnu.org>
22969 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
22970 mailclient-send-it even if window-system is nil. (Bug#8595)
22972 * term/w32console.el (terminal-init-w32console):
22973 Call get-screen-color and use its output to set the frame
22974 background-mode. (Bug#8597)
22976 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
22978 Make bytecomp.el understand that defmethod defines funs (bug#8631).
22979 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
22981 (defgeneric, eieio--defmethod): Use them.
22982 (eieio-defgeneric): Remove.
22983 (defmethod): Call defgeneric in a way visible to the byte-compiler.
22985 2011-05-07 Glenn Morris <rgm@gnu.org>
22987 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
22988 Use let rather than let*.
22989 (timeclock-find-discrep): Remove unused local.
22991 * calendar/diary-lib.el (diary-comment-start): Doc fix.
22993 * calendar/appt.el (appt-time-msg-list): Doc fix.
22995 2011-05-06 Noah Friedman <friedman@splode.com>
22997 * apropos.el (apropos-print-doc): Only use
22998 emacs-lisp-docstring-fill-column when it is bound to an integer,
22999 per that variable's documentation.
23001 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
23003 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
23004 and warnings are not silently discarded (e.g. use -d instead of -P).
23006 2011-05-06 Glenn Morris <rgm@gnu.org>
23008 * calendar/appt.el (appt-message-warning-time): Doc fix.
23009 (appt-warning-time-regexp): New option.
23010 (appt-make-list): Respect appt-message-warning-time.
23012 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
23014 (diary-add-to-list): Strip comments from the displayed string.
23015 (diary-mode): Set comment-start and comment-end.
23017 * vc/diff-mode.el (smerge-refine-subst): Declare.
23018 (diff-refine-hunk): Don't require smerge-mode when compiling.
23020 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
23022 * simple.el (list-processes): Return nil as the docstring says.
23024 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
23026 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
23028 (ange-ftp-write-region, ange-ftp-insert-file-contents)
23029 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
23030 determining of binary transfer. (Bug#7383)
23032 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
23034 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
23035 Fix port computation bug. (Bug#8618)
23037 2011-05-05 Glenn Morris <rgm@gnu.org>
23039 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
23041 * simple.el (shell-dynamic-complete-functions)
23042 (comint-dynamic-complete-functions): Declare.
23044 * net/network-stream.el (gnutls-negotiate):
23045 * simple.el (tabulated-list-print): Fix declarations.
23047 * progmodes/gud.el (syntax-symbol, syntax-point):
23048 Remove unnecessary and incorrect declarations.
23050 * emacs-lisp/check-declare.el (check-declare-scan):
23051 Handle byte-compile-initial-macro-environment in bytecomp.el.
23053 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
23055 Fix earlier half-done eieio-defmethod change (bug#8338).
23056 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
23057 Streamline and change calling convention.
23058 (defmethod): Adjust accordingly and simplify.
23059 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
23060 new eieio--defmethod.
23061 (slot-boundp): Minor CSE simplification.
23063 2011-05-05 Milan Zamazal <pdm@zamazal.org>
23065 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
23066 (glasses-make-readable): Use glasses-separate-capital-groups.
23068 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
23070 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
23071 (warning-series): Doc fix.
23072 (display-warning): Don't try to create the buffer if we just found it.
23074 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
23076 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
23077 (autoload-find-generated-file): New function.
23078 (generate-file-autoloads): Bind generated-autoload-file to
23080 (update-file-autoloads, update-directory-autoloads):
23081 Use autoload-find-generated-file. If called interactively, prompt for
23082 output file (Bug#7989).
23083 (batch-update-autoloads): Doc fix.
23085 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
23087 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
23089 2011-05-04 Glenn Morris <rgm@gnu.org>
23091 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
23092 function, so it follows changes in calendar-date-style.
23093 (diary-fancy-date-matcher): New function.
23094 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
23095 (diary-fancy-font-lock-fontify-region-function):
23096 Use diary-fancy-date-pattern as a function.
23098 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
23099 non-numbers for `year' etc pseudo-variables. (Bug#8583)
23101 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
23103 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
23104 instead of positional arguments. Allow :keylist and :crlfiles
23106 (open-gnutls-stream): Call it.
23108 * net/network-stream.el (network-stream-open-starttls): Adjust to
23109 call `gnutls-negotiate' with :process and :hostname arguments.
23111 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
23113 * minibuffer.el (completion--message): New function.
23114 (completion--do-completion, minibuffer-complete)
23115 (minibuffer-force-complete, minibuffer-complete-word): Use it.
23116 (completion--do-completion): Don't ignore completion-auto-help when in
23119 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
23120 internal encoding (e.g. tibetan zero is not whitespace).
23121 (global-whitespace-mode): Prefer save-current-buffer.
23122 (whitespace-trailing-regexp): Remove useless save-match-data.
23123 (whitespace-empty-at-bob-regexp): Minor simplification.
23125 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
23127 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
23129 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
23131 * textmodes/ispell.el (ispell-add-per-file-word-list):
23132 Use `concat' to create string for insertion.
23134 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
23136 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
23137 Avoid open-line which runs post-self-insert-hook.
23138 (bibtex-fill-entry): Remove unused `end' var.
23140 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
23142 * textmodes/ispell.el (ispell-add-per-file-word-list):
23143 Protect against `nil' value of `comment-start' (Bug#8579).
23145 2011-05-03 Leo Liu <sdl.web@gmail.com>
23147 * isearch.el (isearch-yank-pop): New command.
23148 (isearch-mode-map): Bind it to `M-y'.
23149 (isearch-forward): Mention it.
23151 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
23153 * simple.el (minibuffer-complete-shell-command): Remove.
23154 (minibuffer-local-shell-command-map): Use completion-at-point.
23155 (read-shell-command): Setup completion vars here instead.
23156 (read-expression-map): Bind TAB to symbol completion.
23158 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
23159 error directly rather via storing it into `results'.
23161 2011-05-02 Leo Liu <sdl.web@gmail.com>
23163 * vc/diff.el: Fix description.
23165 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
23167 * server.el (server-eval-at): New function.
23169 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
23171 * net/network-stream.el (open-network-stream): Take a :nowait
23172 parameter and pass it on to `make-network-process'.
23173 (network-stream-open-plain): Ditto.
23175 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
23177 * faces.el (face-spec-set-match-display): Don't match toolkit
23178 options on terminal frames.
23180 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
23182 * progmodes/pascal.el: Use lexical binding.
23183 (pascal-mode-map): Remove author preferences.
23185 * pcomplete.el (pcomplete-std-complete): Don't abuse
23186 completion-at-point.
23188 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
23190 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
23191 removing code that has been dead since 1991 or so.
23193 * startup.el (command-line): When warning about "_emacs", use a
23194 delayed warning to allow the user to filter it out.
23196 2011-04-28 Deniz Dogan <deniz@dogan.se>
23198 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
23199 user has not joined.
23201 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
23203 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
23204 aren't any completions at point.
23206 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
23208 * subr.el (display-delayed-warnings): New function.
23209 (delayed-warnings-hook): New variable.
23211 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
23213 * minibuffer.el (completion-at-point, completion-help-at-point):
23214 Don't presume that a given completion-at-point-function will always
23215 use the same calling convention.
23217 * pcomplete.el (pcomplete-completions-at-point):
23218 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
23219 pcomplete-seen is non-nil.
23220 (pcomplete-comint-setup): Also recognize the new comint/shell
23221 completion functions.
23222 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
23223 pcomplete-seen is non-nil.
23225 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
23227 * calendar/icalendar.el (diary-lib): Add require statement.
23228 (icalendar--create-uid): Read out a uid from a text-property on
23229 the first character in the entry. This allows for code to add its
23230 own uid to the entry.
23231 (icalendar--convert-float-to-ical): Add export of
23232 `diary-float'-entries save for those with the optional DAY
23235 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
23237 * subr.el (shell-quote-argument): Use alternate escaping strategy
23238 when we spot a variable reference in a string.
23240 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
23242 * cus-start.el (all): Define customization for debug-on-event.
23244 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
23246 * subr.el (shell-quote-argument): Escape correctly under Windows.
23248 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
23250 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
23252 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
23254 * net/tramp.el (tramp-process-actions): Add POS argument.
23255 Delete region between POS and (pos).
23257 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
23258 Use `nil' position in `tramp-process-actions' call.
23259 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
23261 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
23262 position in `tramp-process-actions' call.
23264 * net/trampver.el: Update release number.
23266 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
23268 * custom.el (defcustom): Obey lexical-binding.
23270 Fix octave-inf completion problems reported by Alexander Klimov.
23271 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
23272 Inherit from octave-mode-syntax-table.
23273 (inferior-octave-mode): Set info-lookup-mode.
23274 (inferior-octave-completion-at-point): New function.
23275 (inferior-octave-complete): Use it and completion-in-region.
23276 (inferior-octave-dynamic-complete-functions): Use it as well, and use
23277 comint-filename-completion.
23278 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
23279 symbol elements which shouldn't be word elements.
23280 (octave-font-lock-keywords, octave-beginning-of-defun)
23281 (octave-function-header-regexp): Adjust regexps accordingly.
23282 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
23284 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
23286 * net/gnutls.el (gnutls-errorp): Declare before first use.
23288 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
23290 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
23291 verify-error, and verify-hostname-error parameters. Check whether
23292 default trustfile exists before going to use it. Add missing
23293 argument to gnutls-message-maybe call. Return value.
23294 Reported by Claudio Bley <claudio.bley@gmail.com>.
23295 (open-gnutls-stream): Add usage example.
23297 * net/network-stream.el (network-stream-open-starttls): Give host
23298 parameter to `gnutls-negotiate'.
23299 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
23300 * subr.el (shell-quote-argument): Escape correctly under Windows.
23302 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
23304 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
23305 Use correct match group (bug#8438).
23307 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
23309 * emacs-lisp/package.el (package-built-in-p): Fix typo.
23310 (package-menu--generate): New arg specifying packages to show.
23311 (package-menu-refresh, package-menu-execute, list-packages):
23313 (package-show-package-list): New function, replacing deleted
23314 package--list-packages (renamed because it is non-internal).
23316 * finder.el (finder-list-matches): Use package-show-package-list
23317 instead of deleted package--list-packages.
23319 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
23320 Based on a previous implementation by Juanma Barranquero (Bug#8366).
23321 (vc-annotate-mode-map): Bind it to RET.
23323 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
23325 * progmodes/etags.el (next-file): Don't use set-buffer to change
23326 buffers (Bug#8478).
23328 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
23330 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
23332 * apropos.el (apropos-label-face): Avoid variable-pitch face.
23333 (apropos-accumulator): Doc fix.
23334 (apropos-function, apropos-macro, apropos-command)
23335 (apropos-variable, apropos-face, apropos-group, apropos-widget)
23336 (apropos-plist): Add face property.
23337 (apropos-symbols-internal): Fix indentation.
23338 (apropos-print): Simplify help, and recognize apropos-multi-type.
23339 (apropos-print-doc): Use button-type-get to extract the button's
23340 face property. Fill docstring (Bug#8352).
23342 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
23344 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
23346 * play/mpuz.el (mpuz-silent): Doc fix.
23347 (mpuz-mode-map): Use mapc.
23348 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
23349 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
23350 Fix typos in docstrings.
23352 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
23353 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
23355 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
23357 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
23359 * minibuffer.el (completion--do-completion): Avoid the "Next char
23360 not unique" prompt if icomplete-mode is enabled (Bug#5849).
23362 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
23363 mouse-2 into unread-command-events, it is interpreted correctly.
23365 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
23366 (image-toggle-display): Doc fix.
23368 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
23370 * textmodes/page.el (what-page): Use line-number-at-pos to
23371 calculate line number (Bug#6825).
23373 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
23375 * eshell/esh-mode.el (find-tag-interactive): Declare function.
23376 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
23377 Pass argument NO-DEFAULT to `find-tag-interactive'.
23379 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
23381 Lexical-binding cleanup.
23383 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
23384 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
23385 * progmodes/ada-prj.el (ada-prj-initialize-values)
23386 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
23387 (ada-prj-show-value):
23388 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
23389 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
23390 (antlr-invalidate-context-cache, antlr-options-menu-filter)
23391 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
23392 * progmodes/bug-reference.el (bug-reference-push-button):
23393 * progmodes/fortran.el (fortran-line-length):
23394 * progmodes/glasses.el (glasses-change):
23395 * progmodes/octave-mod.el (octave-fill-paragraph):
23396 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
23397 (python-pdbtrack-grub-for-buffer, python-sentinel):
23398 * progmodes/sql.el (sql-save-connection):
23399 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
23400 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
23401 Mark unused parameters.
23403 * progmodes/compile.el (compilation--flush-directory-cache)
23404 (compilation--flush-parse, compile-internal): Mark unused parameters.
23405 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
23406 (compilation-next-error-function): Remove unused variable `timestamp'.
23408 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
23409 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
23411 * progmodes/dcl-mode.el (dcl-end-of-command):
23412 Remove unused variable `start'.
23413 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
23414 (dcl-option-value-basic, dcl-option-value-offset)
23415 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
23416 Mark unused parameters.
23417 (dcl-save-local-variable): Remove unused variable `val'.
23420 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
23421 Mark unused parameters.
23422 (delphi-ignore-changes): Move before first use.
23423 (delphi-charset-token-at): Remove unused variable `start'.
23424 (delphi-else-start): Remove unused variable `if-count'.
23425 (delphi-comment-block-start, delphi-comment-block-end):
23426 Remove unused variable `kind'.
23427 (delphi-indent-line): Remove unused variable `new-point'.
23429 * progmodes/ebrowse.el (ebrowse-files-list)
23430 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
23431 Mark unused parameters. Don't quote `lambda'.
23432 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
23433 Don't quote `lambda'.
23434 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
23435 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
23436 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
23437 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
23438 Use `ignore-errors'.
23439 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
23440 (ebrowse-view/find-file-and-search-pattern)
23441 (ebrowse-view/find-member-declaration/definition):
23442 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
23443 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
23444 Rename parameter PREFIX-ARG to PREFIX.
23445 (ebrowse-tags-read-name): Remove unused variables `start' and
23447 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
23450 * progmodes/etags.el (local-find-tag-hook): Declare.
23451 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
23452 Mark unused parameters.
23454 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
23455 (executable-interpret): Mark unused parameter.
23457 * progmodes/flymake.el (flymake-process-sentinel)
23458 (flymake-after-change-function)
23459 (flymake-create-temp-with-folder-structure)
23460 (flymake-get-include-dirs-dot): Mark unused parameters.
23461 (flymake-safe-delete-directory): Remove unused variable `err'.
23463 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
23464 (speedbar-timer-fn, speedbar-line-text)
23465 (speedbar-change-expand-button-char, speedbar-delete-subblock)
23466 (speedbar-center-buffer-smartly): Declare functions.
23467 (gdb-find-watch-expression): Remove unused variable `array'.
23468 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
23469 (gdb-starting): Mark unused parameters.
23470 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
23471 (gdb-table-string): Remove unused variable `res'.
23472 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
23473 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
23474 (gdb-display-buffer): Remove unused variable `cur-size'.
23476 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
23477 allow lexical-binding compilation.
23478 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
23479 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
23480 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
23481 Mark unused parameters.
23482 (gud-gdb-marker-filter): Remove unused variable `match'.
23483 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
23484 lambda expressions and funcall them, instead of using `fset'.
23486 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
23487 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
23489 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
23490 variable `header-beg'; use `let'.
23492 * progmodes/icon.el (indent-icon-exp): Remove unused variables
23493 `restart', `last-sexp' and `at-do'.
23495 * progmodes/js.el (js--debug): Mark unused parameter.
23496 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
23497 (js--splice-into-items): Remove unused variable `item'.
23498 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
23500 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
23501 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
23502 (makefile-complete): Remove unused variable `try'.
23503 (makefile-fill-paragraph, makefile-match-function-end):
23504 Mark unused parameters.
23506 * progmodes/octave-inf.el (inferior-octave-complete):
23507 Remove unused variable `proc'.
23508 (inferior-octave-output-digest): Mark unused parameter.
23510 * progmodes/perl-mode.el (perl-calculate-indent):
23511 Remove unused variable `err'.
23513 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
23514 (prolog-indent-line): Mark unused parameters.
23515 (prolog-indent-line): Remove unused variable `beg'.
23517 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
23518 (reporter-dont-compact-list): Declare.
23520 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
23521 Remove unused variable `char'.
23522 (sh-debug): Mark unused parameter.
23523 (sh-get-indent-info): Remove unused variable `start'.
23524 (sh-calculate-indent): Remove unused variable `var'.
23526 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
23527 (simula-electric-keyword): Remove unused variable `null'.
23528 (simula-search-backward, simula-search-forward): Remove unused
23529 variables `begin' and `end'.
23531 * progmodes/vera-mode.el (vera-guess-basic-syntax):
23532 Remove unused variable `pos'.
23533 (vera-electric-tab, vera-comment-uncomment-region):
23534 Mark unused parameters.
23535 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
23537 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
23539 * emacs-lisp/package.el (package--builtins, package-alist)
23540 (package-load-descriptor, package-built-in-p, package-activate)
23541 (define-package, package-installed-p)
23542 (package-compute-transaction, package-buffer-info)
23543 (package--push): Doc fix. Distinguish more clearly between
23544 version strings and version lists.
23546 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
23548 Lexical-binding cleanup.
23550 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
23551 (5x5-make-mutate-best):
23552 * play/fortune.el (fortune-in-buffer):
23553 * play/gomoku.el (gomoku-init-display):
23554 * play/solitaire.el (solitaire, solitaire-do-check):
23555 * play/tetris.el (tetris-default-update-speed-function):
23556 Mark unused parameters.
23558 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
23559 (bubbles--shift): Remove unused variable `char-org'.
23560 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
23561 (bubbles--show-images): Remove unused variable `char'.
23563 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
23564 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
23565 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
23566 (decipher-analyze-buffer): Use ?\s.
23567 (decipher-make-checkpoint): Remove unused variable `mapping'.
23569 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
23571 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
23572 Remove unused variable `result'; use `let'.
23574 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
23575 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
23576 (gametree-children-shown-p, gametree-compute-reduced-score):
23577 Use `ignore-errors'.
23579 * play/handwrite.el (ps-lpr-switches): Declare.
23580 (handwrite): Remove unused variables `pmin' and `lastp'.
23582 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
23584 * play/landmark.el (landmark-init-display)
23585 (landmark-update-naught-weights): Mark unused parameters.
23586 (landmark-y): Remove unused variable `noise'. Simplify.
23587 (landmark-human-plays): Remove unused variable `score'.
23589 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
23590 (mpuz-try-proposal): Remove unused variable `game'.
23592 * play/zone.el (life-patterns): Declare.
23594 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
23596 * vc/vc.el (ediff-vc-internal): Declare function.
23598 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
23600 * shell.el: Use lexical-binding and std completion UI.
23601 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
23602 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
23603 comint-preoutput-filter-functions rather than on
23604 comint-output-filter-functions.
23605 (shell-command-completion, shell--command-completion-data)
23606 (shell-filename-completion, shell-environment-variable-completion)
23607 (shell-c-a-p-replace-by-expanded-directory): New functions.
23608 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
23609 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
23610 (shell-dynamic-complete-environment-variable): Use them.
23611 (shell-dynamic-complete-as-environment-variable)
23612 (shell-dynamic-complete-as-command): Remove.
23613 (shell-match-partial-variable): Match past point.
23614 * comint.el: Clean up use of completion-at-point-functions.
23615 (comint-completion-at-point): New function.
23616 (comint-mode): Use it completion-at-point-functions.
23617 (comint-dynamic-complete): Make it obsolete.
23618 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
23619 (comint-c-a-p-replace-by-expanded-history): New function.
23620 (comint-dynamic-complete-functions)
23621 (comint-replace-by-expanded-history): Use it.
23622 * minibuffer.el (completion-table-with-terminator): Allow dynamic
23623 termination strings. Try harder to avoid second try-completion.
23624 (completion-in-region-mode-map): Disable bindings that don't work yet.
23626 * comint.el: Use lexical-binding. Require CL.
23627 (comint-dynamic-complete-functions): Use comint-filename-completion.
23628 (comint-completion-addsuffix): Tweak custom type.
23629 (comint-filename-completion, comint--common-suffix)
23630 (comint--common-quoted-suffix, comint--table-subvert)
23631 (comint--complete-file-name-data): New functions.
23632 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
23633 (comint-dynamic-list-filename-completions): Use them.
23634 (comint-dynamic-simple-complete): Make obsolete.
23636 * minibuffer.el (completion-in-region-mode):
23637 Keep completion-in-region-mode--predicate global.
23638 (completion-in-region--postch):
23639 Assume completion-in-region-mode--predicate is not null.
23641 * progmodes/flymake.el (flymake-start-syntax-check-process):
23642 Obey `dir'. Simplify.
23644 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
23645 we're in VC after all.
23647 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
23649 * vc/vc.el (vc-diff-build-argument-list-internal)
23650 (vc-version-ediff, vc-ediff): New commands.
23651 (vc-version-diff): Use vc-diff-build-argument-list-internal.
23653 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
23655 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
23658 * obsolete/erc-hecomplete.el: Make obsolete.
23659 * obsolete/: Standardize obsolescence info in the header.
23661 2011-04-20 Glenn Morris <rgm@gnu.org>
23663 * calendar/solar.el (solar-horizontal-coordinates):
23664 Use the longitude argument rather than `calendar-longitude'.
23665 (solar-date-next-longitude): Remove unused locals.
23667 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
23669 * whitespace.el: New version 13.2.1.
23671 2011-04-20 felix <EmacsWiki> (tiny change)
23673 * whitespace.el (global-whitespace-mode): Keep highlight when
23674 switching between major modes on a file.
23676 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
23678 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
23679 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
23680 multi-line comments as well.
23682 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
23684 Lexical-binding cleanup.
23686 * arc-mode.el (archive-mode-revert):
23687 * cmuscheme.el (scheme-interactively-start-process):
23688 * custom.el (custom-initialize-delay):
23689 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
23690 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
23691 * emacs-lock.el (emacs-lock-clear-sentinel):
23692 * ezimage.el (defezimage):
23693 * follow.el (follow-avoid-tail-recenter):
23694 * fringe.el (set-fringe-mode-1):
23695 * generic-x.el (bat-generic-mode-compile):
23696 * help-mode.el (help-info-variable, help-do-xref)
23697 (help-mode-revert-buffer):
23698 * help.el (view-emacs-todo):
23699 * iswitchb.el (iswitchb-completion-help):
23700 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
23701 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
23702 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
23703 * locate.el (locate-update):
23704 * longlines.el (longlines-encode-region)
23705 (longlines-after-change-function):
23706 * outline.el (outline-isearch-open-invisible):
23707 * ps-def.el (declare-function, charset-dimension, char-width)
23709 * ps-mule.el (ps-mule-plot-string):
23710 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
23711 (recentf-edit-list-select, recentf-edit-list-validate)
23712 (recentf-open-files-action):
23713 * rect.el (delete-whitespace-rectangle-line)
23714 (rectangle-number-line-callback):
23715 * register.el (window-configuration-to-register)
23716 (frame-configuration-to-register):
23717 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
23718 * select.el (xselect-convert-to-string, xselect-convert-to-length)
23719 (xselect-convert-to-targets, xselect-convert-to-delete)
23720 (xselect-convert-to-filename, xselect-convert-to-charpos)
23721 (xselect-convert-to-lineno, xselect-convert-to-colno)
23722 (xselect-convert-to-os, xselect-convert-to-host)
23723 (xselect-convert-to-user, xselect-convert-to-class)
23724 (xselect-convert-to-name, xselect-convert-to-integer)
23725 (xselect-convert-to-atom, xselect-convert-to-identity):
23726 * subr.el (declare, ignore, process-kill-without-query)
23727 (text-clone-maintain):
23728 * terminal.el (te-get-char, te-tic-sentinel):
23729 * tool-bar.el (tool-bar-make-keymap):
23730 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
23731 * type-break.el (type-break-mode, type-break-noninteractive-query):
23732 * view.el (View-back-to-mark):
23733 * wid-browse.el (widget-browse-action, widget-browse-widget)
23734 (widget-browse-widgets, widget-browse-sexp):
23735 * widget.el (define-widget-keywords):
23736 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
23737 Mark unused parameters.
23739 * align.el (align-adjust-col-for-rule): Mark unused parameter.
23740 (align-areas): Remove unused variable `look'.
23741 (align-region): Remove unused variables `real-end' and `pos-list'.
23743 * apropos.el (apropos-score-doc): Remove unused variable `i'.
23745 * bindings.el (mode-line-modified, mode-line-remote):
23746 Mark unused parameters.
23747 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
23749 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
23750 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
23752 * comint.el (comint-history-isearch-pop-state)
23753 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
23754 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
23755 (comint-substitute-in-file-name): Doc fix.
23757 * completion.el (cmpl-statistics-block): Mark unused parameter.
23758 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
23759 (save-completions-to-file, load-completions-from-file):
23760 Remove unused local variable `e'.
23762 * composite.el (compose-chars): Remove unused variable `len'.
23763 (lgstring-insert-glyph): Remove unused variable `g'.
23764 (compose-glyph-string): Remove unused variables `ascent',
23765 `descent', `lbearing' and `rbearing'.
23766 (compose-glyph-string-relative): Remove unused variables
23767 `lbearing', `rbearing' and `wadjust'.
23768 (compose-gstring-for-graphic): Remove unused variables `header',
23769 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
23770 (compose-gstring-for-terminal): Remove unused variables `header'
23771 and `nchars'. Use `let', not `let*'.
23773 * cus-edit.el (Custom-set, Custom-save, custom-reset)
23774 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
23775 (Custom-buffer-done, custom-buffer-create-internal)
23776 (custom-browse-visibility-action, custom-browse-group-tag-action)
23777 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
23778 (widget-magic-mouse-down-action, custom-toggle-parent)
23779 (custom-add-parent-links, custom-toggle-hide-variable)
23780 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
23781 (custom-toggle-hide-face, face, hook, custom-group-link-action)
23782 (custom-face-menu-create, custom-variable-menu-create, get)
23783 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
23784 (custom-reset-standard-save-and-update): Remove unused variable `value'.
23785 (customize-apropos): Remove unused variable `tests'.
23786 (custom-group-value-create): Remove unused variable `hidden-p'.
23787 (sort-fold-case): Declare.
23789 * cus-theme.el (custom-reset-standard-faces-list)
23790 (custom-reset-standard-variables-list): Declare.
23791 (customize-create-theme, custom-theme-revert, custom-theme-write)
23792 (custom-theme-choose-mode, customize-themes, custom-theme-save):
23793 Mark unused parameters.
23795 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
23797 * delim-col.el (delimit-columns-max): Move defvar before first use.
23799 * descr-text.el (describe-char-categories): Don't quote `lambda'.
23800 (describe-char): Don't quote `lambda'. Mark unused parameter.
23802 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
23803 (auto-insert): Declare.
23804 (desktop-restore-file-buffer): Rename desktop-* parameters;
23806 (desktop-create-buffer): Rename desktop-* parameters and bind them.
23807 (desktop-buffer): Rename desktop-* parameters.
23809 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
23810 (dframe-reposition-frame-xemacs, dframe-help-echo)
23811 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
23812 Mark unused parameters.
23814 * dired-aux.el (backup-extract-version-start, overwrite-query)
23815 (overwrite-backup-query, rename-regexp-query)
23816 (rename-non-directory-query): Declare.
23817 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
23818 (dired-add-entry): Remove unused variable `orig-file-name'.
23819 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
23820 Use parameter PRESERVE-TIME instead of accessing dynamic variable
23821 `dired-copy-preserve-time' directly.
23822 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
23823 (dired-insert-subdir-newpos): Rename unused variable `pos'.
23825 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
23826 (dired-virtual-revert, dired-make-relative-symlink):
23827 Mark unused parameters.
23828 (manual-program): Declare.
23829 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
23830 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
23831 wrapped in `with-no-warnings' to avoid replacing one warning by another.
23833 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
23835 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
23837 * echistory.el (electric-history-in-progress, Helper-return-blurb):
23840 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
23842 * electric.el (Electric-command-loop): Rename parameter
23843 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
23845 * expand.el (expand-in-literal): Remove unused variable `here'.
23847 * facemenu.el (facemenu-add-new-color):
23848 Remove unused variable `docstring'.
23850 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
23851 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
23852 (face-attr-construct): Mark unused parameter. Doc fix.
23853 (read-color): Remove unused variable `hex-string'.
23855 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
23856 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
23857 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
23858 (display-buffer-other-frame): Remove unused variable `old-window'.
23859 (kill-buffer-hook): Declare.
23860 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
23861 Mark unused parameters.
23862 (after-find-file): Pass 1 to `auto-save-mode', not t.
23864 * files-x.el (auto-insert): Declare.
23865 (modify-file-local-variable-prop-line): Remove unused variable `val'.
23867 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
23868 variable `buf'. Mark unused parameter.
23869 (find-lisp-insert-directory): Mark unused parameter.
23871 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
23872 (format-encode-region): Remove unused variables `cur-buf' and `result'.
23873 (format-common-tail): Remove, unused.
23874 (format-deannotate-region): Remove unused variable `loc'.
23875 (format-annotate-region): Remove unused variable `p'.
23876 (format-annotate-single-property-change): Remove unused variables
23877 `default' and `tail'.
23879 * forms.el (read-file-filter): Declare.
23880 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
23882 * frame.el (frame-creation-function-alist): Mark unused parameter.
23883 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
23885 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
23886 Remove unused parameters.
23887 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
23888 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
23890 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
23891 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
23892 (hfy-prepare-tag-map): Mark unused parameters.
23893 (htmlfontify-buffer): Use `called-interactively-p'.
23895 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
23896 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
23897 (ibuffer-do-occur): Mark unused parameters.
23898 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
23899 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
23901 * ibuffer.el: Don't quote `lambda'.
23902 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
23903 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
23904 Mark unused parameters.
23906 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
23907 (ido-completing-read): Mark unused parameters.
23908 (ido-copy-current-word): Mark unused parameters;
23909 remove unused variable `name'.
23910 (ido-sort-merged-list): Remove unused parameter `dirs'.
23912 * ielm.el (ielm-input-sender): Mark unused parameter.
23913 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
23914 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
23915 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
23916 `ielm-string' as a dynamic variable accessible from the IELM prompt.
23917 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
23919 * image-dired.el (image-dired-display-thumbs): Remove unused
23920 variables `curr-file' and `count'.
23921 (image-dired-remove-tag): Remove unused variable `start'.
23922 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
23923 variable `curr-file'
23924 (image-dired-rotate-original): Remove unused variable `temp-file'.
23925 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
23926 Remove unused variable `file'.
23927 (image-dired-gallery-generate): Remove unused variable `curr'.
23928 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
23930 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
23932 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
23934 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
23936 * isearch.el (minibuffer-history-symbol): Declare.
23937 (isearch-edit-string): Remove unused variable `err'.
23938 (isearch-message-prefix, isearch-message-suffix):
23939 Mark unused parameters.
23941 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
23943 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
23945 * makesum.el (double-column): Remove unused variable `cnt'.
23947 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
23948 (ido-ignore-item-temp-list): Declare.
23950 * mouse-drag.el (mouse-drag-throw): Remove unused variables
23951 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
23952 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
23953 (mouse-drag-drag): Remove unused variables `mouse-delta' and
23956 * mouse-sel.el (mouse-extend-internal):
23957 Remove unused variable `orig-window-frame'.
23959 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
23960 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
23961 Move declarations before first use.
23962 (pcomplete-opt): Mark unused parameters; doc fix.
23964 * proced.el (proced-revert): Mark unused parameter.
23965 (proced-send-signal): Remove unused variable `err'.
23967 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
23968 Rename parameter PREFIX-ARG to ARG.
23969 (ps-basic-plot-string, ps-basic-plot-whitespace):
23970 Mark unused parameters.
23972 * replace.el (replace-count): Define.
23973 (occur-revert-function): Mark unused parameters.
23974 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
23975 (isearch-case-fold-search, isearch-string): Declare.
23976 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
23977 bind `case-fold-search'. Remove unused variables `beg' and `end',
23979 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
23980 COUNT and bind `replace-count'.
23981 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
23984 * savehist.el (print-readably, print-string-length): Declare.
23986 * shadowfile.el (shadow-expand-cluster-in-file-name):
23987 Remove unused variable `cluster'.
23988 (shadow-copy-file): Remove unused variable `i'.
23989 (shadow-noquery, shadow-clusters, shadow-site-cluster)
23990 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
23991 (shadow-define-literal-group, shadow-define-regexp-group)
23992 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
23994 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
23995 (shell): Use `called-interactively-p'.
23996 (shell-directory-tracker): Remove unused variable `chdir-failure'.
23998 * simple.el (compilation-context-lines, comint-file-name-quote-list)
23999 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
24000 (delete-backward-char): Remove unused variable `ocol'.
24001 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
24002 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
24003 (event-apply-hyper-modifier, event-apply-shift-modifier)
24004 (event-apply-control-modifier, event-apply-meta-modifier):
24005 Mark unused parameters.
24006 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
24007 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
24009 * speedbar.el (speedbar-ignored-directory-expressions)
24010 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
24011 (speedbar-find-file, speedbar-dir-follow)
24012 (speedbar-directory-buttons-follow, speedbar-tag-find)
24013 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
24014 (speedbar-buffers-line-directory, speedbar-buffer-click):
24015 Mark unused parameters.
24016 (speedbar-tag-file): Remove unused variable `mode'.
24017 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
24019 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
24021 * talk.el (talk): Remove unused variable `display'.
24023 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
24024 (tar-write-region-annotate): Mark unused parameter.
24026 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
24027 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
24028 Declare them, wrapped in `with-no-warnings' to avoid replacing one
24029 warning by another.
24031 * time-stamp.el (time-stamp-string-preprocess):
24032 Remove unused variable `require-padding'.
24034 * tree-widget.el (widget-glyph-enable): Declare.
24035 (tree-widget-action): Mark unused parameter.
24037 * w32-fns.el (x-get-selection): Mark unused parameter.
24038 (autoload-make-program, generated-autoload-file): Declare.
24040 * wdired.el (wdired-revert): Mark unused parameters.
24041 (wdired-xcase-word): Remove unused variable `err'.
24043 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
24044 (whitespace-help-scroll): Remove unused variable `data-help'.
24046 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
24047 (widget-image-insert, widget-after-change, default)
24048 (widget-default-format-handler, widget-default-notify)
24049 (widget-default-prompt-value, widget-info-link-action)
24050 (widget-url-link-action, widget-function-link-action)
24051 (widget-variable-link-action, widget-file-link-action)
24052 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
24053 (widget-field-prompt-internal, widget-field-action, widget-field-match)
24054 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
24055 (widget-insert-button-action, widget-delete-button-action, visibility)
24056 (widget-documentation-link-action, widget-documentation-string-action)
24057 (widget-const-prompt-value, widget-regexp-match, symbol)
24058 (widget-coding-system-prompt-value)
24059 (widget-key-sequence-value-to-external, sexp)
24060 (widget-sexp-value-to-internal, character, vector, cons)
24061 (widget-choice-prompt-value, widget-boolean-prompt-value)
24062 (widget-color--choose-action): Mark unused parameters.
24063 (widget-item-match-inline, widget-choice-match-inline)
24064 (widget-checklist-match, widget-checklist-match-inline)
24065 (widget-group-match): Rename parameter VALUES to VALS.
24066 (widget-field-value-set): Remove unused variable `size'.
24067 (widget-color-action): Remove unused variables `value' and `start'.
24069 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
24070 variable `dir'. Doc fix.
24071 (windmove-find-other-window): Don't pass it.
24073 * window.el (count-windows): Mark unused parameter.
24074 (bw-adjust-window): Remove unused variable `err'.
24076 * woman.el (woman-file-name): Remove unused variable `default'.
24077 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
24078 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
24079 (global-font-lock-mode): Declare.
24080 (woman-decode-region): Mark unused parameter.
24081 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
24083 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
24084 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
24085 (x-dnd-handle-moz-url): Remove unused variable `title'.
24086 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
24088 * xml.el (xml-parse-tag, xml-parse-attlist):
24089 Remove unused variable `pos'.
24091 2011-04-19 Glenn Morris <rgm@gnu.org>
24093 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
24094 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
24095 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
24096 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
24097 * calendar/cal-html.el (cal-html-insert-minical):
24098 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
24099 (calendar-mark-date-pattern):
24100 Prefix "unused" locals.
24102 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
24103 optional argument `style'.
24105 * calendar/appt.el (appt-make-list):
24106 * calendar/cal-china.el (calendar-chinese-date-string):
24107 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
24108 (diary-hebrew-yahrzeit):
24109 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
24110 * calendar/calendar.el (calendar-generate-window):
24111 * calendar/time-date.el (time-to-days):
24112 Remove unused local variables.
24114 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
24116 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
24117 glyphless-char-display table.
24118 (tabulated-list-glyphless-char-display): New var.
24120 2011-04-18 Sam Steingold <sds@gnu.org>
24122 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
24123 to acknowledgments.
24125 2011-04-17 Glenn Morris <rgm@gnu.org>
24127 * calendar/diary-lib.el (diary-sexp-entry):
24128 * calendar/holidays.el (holiday-sexp):
24129 Set debug-on-error rather than the removed stack-trace-on-error.
24131 2011-04-16 Glenn Morris <rgm@gnu.org>
24133 * progmodes/f90.el: Use lexical-binding.
24134 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
24136 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
24138 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
24139 (mail-mode): Setup mailalias completion here instead.
24140 * mail/mailalias.el: Use lexical-binding.
24141 (pattern, mailalias-done): Declare dynamic.
24142 (mail-completion-at-point-function): New function, from mail-complete.
24143 (mail-complete): Use it.
24144 (mail-completion-expand): New function.
24145 (mail-get-names): Use it.
24146 (mail-directory, mail-directory-process, mail-directory-stream):
24147 Don't use `pattern' for lexically bound arg.
24149 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
24151 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
24152 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
24153 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
24155 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
24156 (byte-save-window-excursion, byte-temp-output-buffer-setup)
24157 (byte-interactive-p): Define them again, for use when inlining
24160 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
24162 * loadup.el: Use `string-to-number', not `string-to-int'.
24164 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
24166 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
24167 gud-gdb-complete-command.
24168 (gud-gdb-completions): New function, from gud-gdb-complete-command.
24169 (gud-gdb-completion-at-point): New function.
24170 (gud-gdb-completions): Remove.
24172 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
24174 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
24175 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
24176 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
24177 whether `executable-find' is bound.
24179 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
24181 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
24183 * minibuffer.el (completion-in-region-mode-predicate)
24184 (completion-in-region-mode--predicate): New vars.
24185 (completion-in-region, completion-in-region--postch)
24186 (completion-in-region-mode): Use them.
24187 (completion--capf-wrapper): Also return the hook function.
24188 (completion-at-point, completion-help-at-point):
24189 Adjust and provide a predicate.
24191 Preserve arg names for advice of subr and lexical functions (bug#8457).
24192 * help-fns.el (help-function-arglist): Consolidate the subr and
24193 new-byte-code cases. Add argument `preserve-names' to extract names
24194 from the docstring when needed.
24195 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
24196 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
24197 (ad-arglist): Use help-function-arglist's new arg.
24198 (ad-definition-type): Use cond.
24200 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
24202 * autorevert.el (auto-revert-handler):
24203 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
24204 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
24205 Don't quote lambda.
24207 * image-mode.el (image-transform-set-scale):
24208 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
24210 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
24212 * net/network-stream.el (network-stream-open-starttls): Only do
24213 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
24214 Upgrades via gnutls-cli are too slow to be done opportunistically.
24216 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
24218 * dframe.el (dframe-current-frame): Remove spurious quote.
24220 2011-04-12 Glenn Morris <rgm@gnu.org>
24222 * calendar/cal-tex.el (cal-tex-end-document):
24223 Try to automatically use latin1 input if needed.
24225 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
24226 Don't try to cons a mark onto an empty element.
24228 2011-04-11 Leo Liu <sdl.web@gmail.com>
24230 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
24232 (ido-kill-buffer-at-head): Support killing virtual buffers.
24234 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
24236 * minibuffer.el (completion-show-inline-help): New var.
24237 (completion--do-completion, minibuffer-complete)
24238 (minibuffer-force-complete, minibuffer-complete-word):
24239 Inhibit minibuffer messages if completion-show-inline-help is nil.
24241 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
24242 to avoid interference from inline help (Bug#5849).
24244 2011-04-10 Leo Liu <sdl.web@gmail.com>
24246 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
24249 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
24251 * image-mode.el (image-toggle-display-image): Signal an error if
24253 (image-transform-mode, image-transform-resize)
24254 (image-transform-set-rotation): Doc fix.
24255 (image-transform-set-resize): Delete.
24256 (image-transform-set-scale, image-transform-fit-to-height)
24257 (image-transform-fit-to-width): Handle image-toggle-display-image
24258 and image-transform-resize directly.
24260 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
24262 * doc-view.el (doc-view-fit-width-to-window)
24263 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
24264 New functions for fitting the shown image to the Emacs window size.
24265 (doc-view-mode-map): Add bindings for the new functions.
24267 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
24269 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
24270 Fix typo in docstring.
24272 2011-04-08 Eli Zaretskii <eliz@gnu.org>
24274 * files.el (file-size-human-readable): Produce one digit after
24275 decimal, like "ls -lh" does.
24277 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
24278 the file size representation.
24280 * simple.el (list-processes): If async subprocesses are not
24281 available, error out with a clear error message.
24283 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
24285 * help.el (help-form-show): New function, to be called from C.
24286 Put help-form output in a buffer named differently than *Help*.
24288 2011-04-08 Eli Zaretskii <eliz@gnu.org>
24290 * files.el (file-size-human-readable): New function.
24292 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
24293 computing the representation inline. Don't require `cl'.
24295 2011-04-08 Glenn Morris <rgm@gnu.org>
24297 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
24299 * net/browse-url.el (browse-url-firefox):
24300 Test system-type, not system-configuration.
24302 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
24303 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
24304 Use log-edit-empty-buffer-p. (Bug#7598)
24306 * net/rlogin.el (rlogin-process-connection-type): Simplify.
24307 (rlogin-mode-map): Initialize in the defvar.
24308 (rlogin): Use ignore-errors.
24310 * replace.el (occur-mode-map): Some fixes for menu items.
24312 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
24314 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
24316 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
24318 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
24319 issuing unused warnings.
24321 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
24324 * simple.el: Lisp reimplement of list-processes. Based on an
24325 earlier reimplementation by Leo Liu, but using tabulated-list.el.
24326 (process-menu-mode): New major mode.
24327 (list-processes--refresh, list-processes):
24328 (process-menu-visit-buffer): New functions.
24330 * files.el (save-buffers-kill-emacs): Don't assume any return
24331 value of list-processes, which is undocumented anyway.
24333 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
24335 * emacs-lisp/tabulated-list.el: New file.
24337 * emacs-lisp/package.el: Use Tabulated List mode.
24338 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
24339 (package-menu-mode): Derive from tabulated-list-mode. Set up the
24340 table format using Tabulated List mode variables.
24341 (package--push): New macro, replacing package-list-maybe-add.
24342 (package-menu--generate): Use package--push. Renamed from
24343 package--generate-package-list.
24344 (package-menu-refresh, list-packages): Use it.
24345 (package-menu--print-info): Rename from package-print-package.
24346 Return insertion data instead of inserting it directly.
24347 (package-menu-describe-package, package-menu-execute):
24348 Use tabulated-list-get-id.
24349 (package-menu-mark-delete, package-menu-mark-install)
24350 (package-menu-mark-unmark, package-menu-backup-unmark)
24351 (package-menu-mark-obsolete-for-deletion):
24352 Use tabulated-list-put-tag.
24353 (package--list-packages, package-menu-revert)
24354 (package-menu-get-package, package-menu-get-version)
24355 (package-menu-sort-by-column): Functions deleted.
24356 (package-menu-package-list, package-menu-sort-key): Vars deleted.
24357 (package-menu--status-predicate, package-menu--version-predicate)
24358 (package-menu--name-predicate)
24359 (package-menu--description-predicate): Handle arguments in the
24360 Tabulated List format.
24361 (package-list-packages-no-fetch): Call list-packages.
24363 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
24365 * files.el (after-find-file-from-revert-buffer): Remove variable.
24366 (after-find-file): Don't bind it.
24367 (revert-buffer-in-progress-p): New variable.
24368 (revert-buffer): Bind it.
24369 Pass nil for `after-find-file-from-revert-buffer'.
24371 * saveplace.el (save-place-find-file-hook): Use new variable
24372 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
24374 2011-04-06 Glenn Morris <rgm@gnu.org>
24376 * Makefile.in (AUTOGEN_VCS): New variable.
24377 (autoloads): Use $AUTOGEN_VCS.
24379 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
24380 * calendar/calendar.el (calendar-mode-map):
24381 Check for toolkit scroll bars. (Bug#8305)
24383 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
24385 * minibuffer.el (completion-in-region--postch)
24386 (completion-in-region-mode): Remove unnecessary messages.
24388 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
24390 * font-lock.el (font-lock-refresh-defaults):
24391 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
24392 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
24394 * info.el (Info-directory-list, Info-read-node-name-2)
24395 (Info-split-parameter-string): Doc fixes.
24396 (Info-virtual-nodes): Reflow docstring.
24397 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
24398 (Info-apropos-toc-nodes, info-finder, Info-get-token)
24399 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
24400 Fix typos in docstrings.
24401 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
24402 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
24403 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
24404 (Info-restore-desktop-buffer): Mark unused parameters.
24405 (Info-directory-find-file, Info-directory-find-node)
24406 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
24407 (Info-virtual-index-find-node, Info-apropos-find-file)
24408 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
24409 Mark unused parameters; fix typos in docstrings.
24410 (Info-virtual-index): Remove unused local variable `nodename'.
24412 2011-04-05 Deniz Dogan <deniz@dogan.se>
24414 * net/rcirc.el: Update my e-mail address.
24415 (rcirc-mode-map): Remove M-o binding.
24417 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
24419 * startup.el (command-line): Save the cursor's theme-face
24420 directly, instead of using face-override-spec.
24422 * custom.el (load-theme): Minor optimization in assigning faces.
24424 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
24426 * help-fns.el (describe-variable): Complete all variables having
24427 documentation, including keywords.
24428 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
24430 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
24432 Convert to lexical-binding.
24434 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
24435 (bs--get-marked-string, bs--get-modified-string)
24436 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
24437 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
24438 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
24440 * ehelp.el (electric-help-execute-extended)
24441 (electric-help-ctrl-x-prefix):
24442 * hexl.el (hexl-revert-buffer-function):
24443 * linum.el (linum-after-change, linum-after-scroll):
24444 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
24446 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
24448 2011-04-04 Daiki Ueno <ueno@unixuser.org>
24455 * epg.el: Use lexical binding.
24457 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
24459 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
24461 * textmodes/flyspell.el (flyspell-word): Recognize default
24462 dictionary case for flyspell-mark-duplications-exceptions.
24463 Use regexp matching for languages.
24464 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
24465 default dictionary (Bug#7926).
24467 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
24469 * emacs-lisp/package.el (package--with-work-buffer):
24470 Recognize https URLs.
24472 * net/network-stream.el: Move from gnus/proto-stream.el.
24473 Change prefix to network-stream throughout.
24474 (open-protocol-stream): Merge into open-network-stream, leaving
24475 open-protocol-stream as an alias. Handle nil BUFFER args.
24477 * subr.el (open-network-stream): Move to net/network-stream.el.
24479 2011-04-02 Glenn Morris <rgm@gnu.org>
24481 * find-dired.el (find-exec-terminator): New option.
24482 (find-ls-option): Test for -ls support.
24483 (find-ls-subdir-switches): Test for -b in find-ls-option.
24484 (find-dired, find-grep-dired): Doc fixes.
24485 (find-dired): Use find-exec-terminator.
24487 * find-dired.el (find-ls-option, find-ls-subdir-switches)
24488 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
24489 (find-name-arg): Remove purecopy.
24491 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
24492 (grep-compute-defaults): Check for `-exec COMMAND +' support.
24493 Set grep-find-use-xargs, grep-find-command, and grep-find-template
24494 accordingly. Don't add the null-device if not needed.
24496 * files.el (save-some-buffers): Doc fix.
24498 2011-04-02 Eli Zaretskii <eliz@gnu.org>
24500 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
24502 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
24504 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
24505 Use `dolist' rather than `mapcar'.
24507 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
24509 Add lexical binding.
24511 * subr.el (apply-partially): Use new closures rather than CL.
24512 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
24513 (dolist, dotimes): Use slightly different expansion for lexical code.
24514 (functionp): Move to C.
24515 (letrec): New macro.
24516 (with-wrapper-hook): Use it and apply-partially instead of CL.
24517 (eval-after-load): Preserve lexical-binding.
24518 (save-window-excursion, with-output-to-temp-buffer): Turn them
24521 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
24523 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
24525 (help-add-fundoc-usage): Don't add `Not documented'.
24526 (help-function-arglist): Handle closures, subroutines, and new
24527 byte-code-functions.
24528 (help-make-usage): Remove leading underscores.
24529 (describe-function-1): Handle closures.
24530 (describe-variable): Use special-variable-p for completion.
24532 * files.el (lexical-binding): Declare safe.
24534 * emacs-lisp/pcase.el: Don't use destructuring-bind.
24535 (pcase--memoize): Rename from pcase-memoize. Change weakness.
24536 (pcase): Add `let' pattern.
24537 Change memoization so it actually works.
24538 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
24539 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
24542 * emacs-lisp/macroexp.el: Use lexical binding.
24543 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
24544 Don't convert ' to #' without checking that it's indeed quoting
24547 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
24548 Use eval-sexp-add-defvars.
24549 (eval-sexp-add-defvars): New fun.
24551 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
24553 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
24555 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
24556 than the internal `byte-compile-lambda'.
24557 (defmethod): Don't hide code under quotes.
24558 (eieio-defmethod): New `code' argument.
24560 * emacs-lisp/eieio-comp.el: Remove.
24562 * emacs-lisp/edebug.el (edebug-eval-defun)
24563 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
24564 (edebug-toggle): Avoid `eval'.
24566 * emacs-lisp/disass.el (disassemble-internal): Handle new
24568 (disassemble-1): Handle new byte codes.
24570 * emacs-lisp/cl.el (pushnew): Silence warning.
24572 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
24573 (cl-byte-compile-throw): Remove.
24574 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
24576 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
24579 * emacs-lisp/cconv.el: New file.
24581 * emacs-lisp/bytecomp.el: Use lexical binding instead of
24582 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
24583 (byte-compile-initial-macro-environment):
24584 Handle declare-function here.
24585 (byte-compile--lexical-environment): New var.
24586 (byte-stack-ref, byte-stack-set, byte-discardN)
24587 (byte-discardN-preserve-tos): New lap codes.
24588 (byte-interactive-p): Don't use any more.
24589 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
24591 (byte-compile-lapcode): Use them and handle new lap codes.
24592 (byte-compile-obsolete): Remove.
24593 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
24594 (byte-compile-arglist-warn): Check late def of inlinable funs.
24595 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
24596 since they should have been expanded by now.
24597 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
24598 (byte-compile-from-buffer): Remove unused second arg.
24599 (byte-compile-preprocess): New function.
24600 (byte-compile-toplevel-file-form): New function to distinguish
24601 file-form calls from outside from file-form calls from hunk-handlers.
24602 (byte-compile-file-form): Simplify.
24603 (byte-compile-file-form-defsubst): Remove.
24604 (byte-compile-file-form-defmumble): Simplify now that
24605 byte-compile-lambda always returns a byte-code-function.
24606 (byte-compile): Preprocess.
24607 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
24608 Remove, not used any more.
24609 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
24610 (byte-compile-make-args-desc): New funs.
24611 (byte-compile-lambda): Handle lexical functions. Always return
24612 a byte-code-function.
24613 (byte-compile-reserved-constants): New var, to make up room for
24614 closed-over variables.
24615 (byte-compile-constants-vector): Obey it.
24616 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
24617 (byte-compile-macroexpand-declare-function): New function.
24618 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
24619 byte-code-functions.
24620 (byte-compile-form): Check obsolescence here.
24621 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
24622 (byte-compile-variable-ref): Remove.
24623 (byte-compile-dynamic-variable-op): New fun.
24624 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
24625 (byte-compile-variable-set): New funs.
24626 (byte-compile-discard): Add 2 args.
24627 (byte-compile-stack-ref, byte-compile-stack-set)
24628 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
24629 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
24630 macroexpand-all instead.
24631 (byte-compile-quote-form): Remove.
24632 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
24633 (byte-compile-bind, byte-compile-unbind): New funs.
24634 (byte-compile-let): Handle let* and lexical binding.
24635 (byte-compile-let*): Remove.
24636 (byte-compile-catch, byte-compile-unwind-protect)
24637 (byte-compile-track-mouse, byte-compile-condition-case):
24638 Handle a new :fun-body form, used for lexical scoping.
24639 (byte-compile-save-window-excursion)
24640 (byte-compile-with-output-to-temp-buffer): Remove.
24641 (byte-compile-defun): Simplify.
24642 (byte-compile-stack-adjustment): New fun.
24643 (byte-compile-out): Use it.
24644 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
24646 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
24649 * emacs-lisp/byte-opt.el: Use lexical binding.
24650 (byte-inline-lapcode): Remove (to bytecomp).
24651 (byte-compile-inline-expand): Pay attention to inlining to/from
24652 lexically bound code.
24653 (byte-compile-unfold-lambda): Don't handle byte-code-functions
24655 (byte-optimize-form-code-walker): Don't handle save-window-excursion
24656 any more and don't call compiler-macros.
24657 (byte-compile-splice-in-already-compiled-code): Remove.
24658 (byte-code): Don't inline any more.
24659 (disassemble-offset): Receive `bytes' as argument rather than via
24661 (byte-compile-tag-number): Declare before first use.
24662 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
24663 `return' even if make-spliceable.
24664 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
24665 obsolete interactive-p.
24666 (byte-optimize-lapcode): Optimize new lap-codes.
24667 Don't trip up on new form of `byte-constant' lap code.
24669 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
24671 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
24673 * custom.el (custom-initialize-default, custom-declare-variable):
24676 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
24678 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
24679 (COMPILE_FIRST): Add macroexp and cconv.
24680 * makefile.w32-in: Mirror changes in Makefile.in.
24682 * vc/cvs-status.el:
24686 * vc/smerge-mode.el:
24687 * textmodes/bibtex-style.el:
24688 * textmodes/css-mode.el:
24696 * emacs-lisp/smie.el:
24699 * abbrev.el: Use lexical binding.
24701 2011-04-01 Eli Zaretskii <eliz@gnu.org>
24703 * info.el (info-display-manual): New function.
24705 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
24707 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
24709 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
24711 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
24712 an entry for that server in rcirc-authinfo. (Bug#8385)
24714 2011-03-31 Glenn Morris <rgm@gnu.org>
24716 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
24718 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
24720 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
24722 * progmodes/python.el (python-default-interpreter)
24723 (python-python-command-args, python-jython-command-args)
24724 (python-which-shell, python-which-args, python-which-bufname)
24725 (python-file-queue, python-comint-output-filter-function)
24726 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
24727 variables and functions.
24729 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
24731 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
24732 (completion-in-region-mode): New minor mode.
24733 (completion-in-region): Use it.
24734 (completion-in-region--data, completion-in-region-mode-map): New vars.
24735 (completion-in-region--postch): New function.
24736 (completion--capf-misbehave-funs, completion--capf-safe-funs):
24738 (completion--capf-wrapper): New function.
24739 (completion-at-point): Use it to track well-behavedness of
24741 (completion-help-at-point): New command.
24743 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
24745 * vc/add-log.el (add-change-log-entry): Don't use whitespace
24746 syntax class to search for whitespace on a single line
24747 (Message-ID: <4D938140.4030905@redhat.com>).
24749 2011-03-30 Leo Liu <sdl.web@gmail.com>
24751 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
24753 (edit-abbrevs-map): Bind them here.
24754 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
24756 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
24758 * allout.el (allout-hide-by-annotation, allout-flag-region):
24759 Reduce possibility of overlay leakage by making them volatile.
24761 * allout-widgets.el (allout-widgets-tally): Define as nil so the
24762 hash is not shared between buffers. Mode initialization is
24763 responsible for giving it a useful starting value.
24764 (allout-item-span): Reduce possibility of overlay leakage by
24765 making them volatile.
24766 (allout-widgets-count-buttons-in-region): Add diagnostic function
24767 for tracking down button overlay leaks.
24769 2011-03-29 Leo Liu <sdl.web@gmail.com>
24771 * ido.el (ido-read-internal): Use the default history var
24772 minibuffer-history if no HISTORY is specified.
24774 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
24776 * net/imap.el (imap-shell-open, imap-process-connection-type):
24777 Use imap-process-connection-type for 'shell' streams as well as
24778 Kerberos, SSL, other subprocesses.
24780 2011-03-28 Leo Liu <sdl.web@gmail.com>
24782 * abbrev.el (abbrev-table-empty-p): New function.
24783 (prepare-abbrev-list-buffer): Place empty abbrev tables after
24784 nonempty ones. (Bug#5937)
24786 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
24788 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
24790 2011-03-27 Leo Liu <sdl.web@gmail.com>
24792 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
24793 for foreground and background colors.
24794 (ansi-color-make-color-map): Adapt.
24796 2011-03-25 Leo Liu <sdl.web@gmail.com>
24798 * midnight.el (midnight-time-float): Remove. Note it calculates
24799 the microsecond component incorrectly and seconds-to-time does the
24801 Remove redundant (require 'timer).
24803 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
24804 (ido-completions): Remove unused arguments. (Bug#8329)
24806 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
24808 * minibuffer.el (completion--flush-all-sorted-completions):
24809 Remove itself from hook.
24810 (completion-at-point): Let the functions perform the completion
24811 immediately and return nil or t.
24812 * comint.el (comint-dynamic-complete-functions): Now identical to
24813 completion-at-point-functions.
24814 (comint-dynamic-list-input-ring): Remove unused var `index'.
24815 (comint--match-partial-filename, comint--unquote&expand-filename):
24816 New funs, split from comint-match-partial-filename.
24817 (comint-dynamic-complete): Use completion-at-point.
24818 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
24820 2011-03-24 Drew Adams <drew.adams@oracle.com>
24822 * thingatpt.el: Support `defun'.
24824 2011-03-23 Leo Liu <sdl.web@gmail.com>
24826 * abbrevlist.el: Move to obsolete/abbrevlist.el.
24828 * help-mode.el (help-mode-finish): Tweak regexp.
24830 2011-03-23 Glenn Morris <rgm@gnu.org>
24832 * eshell/esh-opt.el (eshell-eval-using-options):
24833 Do not bind unused local variable `eshell-option-stub'.
24835 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
24837 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
24839 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
24840 keymap variable in `with-no-warnings' to avoid a warning when the
24841 keymap has been already `defconst'ed.
24843 2011-03-22 Leo Liu <sdl.web@gmail.com>
24845 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
24846 encode all chars in abbrevs; otherwise use emacs-mule or
24847 utf-8-emacs. (Bug#8308)
24849 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
24851 * simple.el (backward-delete-char-untabify):
24852 Avoid warning about using `delete-backward-char'.
24854 * image.el (image-type-file-name-regexps): Make it variable.
24855 `imagemagick-register-types' modifies it, and the user may want
24856 to add new extensions for known image types.
24857 (imagemagick-register-types): Throw error if not using ImageMagick.
24859 2011-03-22 Leo Liu <sdl.web@gmail.com>
24861 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
24862 located before rcirc-prompt-end-marker.
24863 (rcirc-complete): Error if point is not after rcirc prompt.
24864 Handle the case when table is nil.
24865 (rcirc-user-authenticated): Define to fix compiler warning.
24867 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
24869 * custom.el (custom--inhibit-theme-enable): Make it affect only
24870 custom-theme-set-variables and custom-theme-set-faces.
24871 (provide-theme): Ignore custom--inhibit-theme-enable.
24872 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
24873 (custom-enabling-themes): Delete variable.
24874 (enable-theme): Accept only loaded themes as arguments.
24875 Ignore the special custom-enabled-themes variable.
24876 (custom-enabled-themes): Forbid themes from setting this.
24877 Eliminate use of custom-enabling-themes.
24878 (custom-push-theme): Quote "changed" custom var entry.
24880 2011-03-21 Leo Liu <sdl.web@gmail.com>
24882 * ido.el (ido-read-internal): Add ido-selected to history instead
24885 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
24887 * subr.el (deferred-action-list, deferred-action-function):
24890 2011-03-21 Leo Liu <sdl.web@gmail.com>
24892 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
24893 change on 2011-02-13 (bug#8309).
24895 * minibuffer.el (read-file-name-function): Change default value.
24896 (read-file-name--defaults): Rename from read-file-name-defaults.
24897 (read-file-name-default): Rename from read-file-name.
24898 (read-file-name): Call read-file-name-function.
24900 2011-03-21 Glenn Morris <rgm@gnu.org>
24902 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
24905 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
24907 * cus-theme.el: Add missing provide statement.
24908 (customize-create-theme): Extract theme value correctly.
24909 (custom-theme-visit-theme): Autoload.
24910 (customize-create-theme): Prompt before inserting default faces.
24912 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
24914 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
24915 units and musical notes.
24917 2011-03-20 Leo Liu <sdl.web@gmail.com>
24919 * ido.el (ido-read-internal): Use completing-read-default.
24920 (ido-completing-read): Fix compatibility with completing-read.
24922 2011-03-20 Christian Ohler <ohler@gnu.org>
24924 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
24925 (ert-delete-all-tests): Use `called-interactively-p' rather than
24927 (ert--make-xrefs-region): Respect END.
24929 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
24931 * dired-aux.el (dired-create-directory): Signal an error if the
24932 directory already exists (Bug#8246).
24934 * facemenu.el (list-colors-display): Call list-faces-display
24935 inside with-help-window.
24936 (list-colors-print): Use display property to align the final
24937 column, instead of checking window-width.
24939 2011-03-19 Eli Zaretskii <eliz@gnu.org>
24941 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
24942 windows-nt systems.
24943 (emerge-protect-metachars): Quote correctly for ms-dos and
24944 windows-nt systems.
24946 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
24948 * info.el (info-initialize): Replace all uses of `:' with
24949 path-separator for compatibility with non-Unix systems.
24950 Cache quoting of path-separator. (Bug#8258)
24952 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
24954 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
24955 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
24956 (mouse-avoidance-mode): Fix typos in docstrings.
24958 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
24960 * startup.el (package-subdirectory-regexp): Move from package.el.
24961 Omit \\` and \\', and let callers add them.
24963 * emacs-lisp/package.el (package-strip-version)
24964 (package-load-all-descriptors): Add \\` and \\' to
24965 package-subdirectory-regexp before using it.
24966 (package-untar-buffer): New arg DIR; ensure that file untars only
24967 into this expected directory. Remove superfluous delete-region.
24968 (package-unpack): Caller changed.
24969 (package-tar-file-info): Use package-subdirectory-regexp.
24971 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
24973 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
24974 diff-mode-shared-map (bug#8284).
24975 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
24977 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
24979 * calendar/time-date.el (format-seconds): Use assoc instead of
24980 assoc-string, since assoc-string doesn't exist in XEmacs.
24982 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
24984 * custom.el (custom-known-themes): Reflow docstring.
24985 (custom-theme-load-path): Fix typo in docstring.
24986 (load-theme): Fix typo in error message.
24987 (custom-available-themes, custom-variable-theme-value):
24988 Use `let', not `let*'.
24990 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
24992 * calc/README: Mention inclusion of musical notes.
24994 * calc/calc-units.el (calc-lu-quant): Rename from
24995 `calc-logunits-quantity'.
24996 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
24997 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
24998 (calc-db): Rename from `calc-dblevel'.
24999 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
25000 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
25001 (calc-np): Rename from `calc-nplevel'.
25002 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
25003 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
25004 (calc-lu-plus): Rename from `calc-logunits-add'.
25005 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
25006 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
25007 (calc-lu-minus): Rename from `calc-logunits-sub'.
25008 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
25009 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
25010 (calc-lu-times): Rename from `calc-logunits-mul'.
25011 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
25012 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
25013 (calc-lu-divide): Rename from `calc-logunits-div'.
25014 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
25015 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
25017 * calc/calc-ext.el (calc-init-extensions): Update the names of the
25018 functions being autoloaded.
25020 * calc/calc.el (calc-lu-power-reference): Rename from
25021 `calc-logunits-power-reference'.
25022 (calc-lu-field-reference): Rename from
25023 `calc-logunits-field-reference'.
25025 * calc/calc-help.el (calc-l-prefix-help):
25026 Mention musical note functions.
25028 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
25030 * minibuffer.el (completion-all-sorted-completions):
25031 Use :completion-cycle-penalty text property if present.
25033 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
25035 * allout.el (allout-yank-processing): Adjust for new rebulleting
25036 regime so bullet being yanked is used without prompting the user
25039 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
25041 * startup.el (command-line): Warn the user that _emacs is deprecated.
25043 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
25045 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
25046 (delphi-verbose, delphi-comment-face, delphi-string-face)
25047 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
25048 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
25049 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
25050 (delphi-new-comment-line, delphi-font-lock-defaults)
25051 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
25052 Fix typos in docstrings.
25054 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
25056 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
25057 Invert the roles of character and string values for INSTEAD, so a
25058 string is used for the more common case of a defaulting prompt.
25060 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
25062 * progmodes/ruby-mode.el (ruby-backward-sexp):
25063 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
25064 * play/gamegrid.el (gamegrid-make-face):
25065 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
25066 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
25067 * notifications.el (notifications-notify):
25068 * net/xesam.el (xesam-search-engines):
25069 * net/quickurl.el (quickurl-list-insert):
25070 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
25072 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
25074 * startup.el (command-line): Update package subdirectory regexp.
25076 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
25078 * allout.el (allout-abbreviate-flattened-numbering)
25079 (allout-mode-deactivate-hook): Fix up obsolescence "date".
25081 * subr.el (read-char-choice): Only show the cursor after the prompt,
25082 not after the answer.
25084 2011-03-15 Kevin Ryde <user42@zip.com.au>
25086 * help-fns.el (variable-at-point): Skip leading quotes, if any
25089 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
25091 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
25094 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
25096 * shell.el (shell): When called interactively, offer to change the
25097 shell file name on remote hosts.
25099 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
25101 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
25102 integration for LDAP parameters. The host, base, user or binddn,
25103 and secret tokens can be specified in a netrc file, for instance.
25104 This is optional because an `auth-source' parameter must be
25105 specified in the search attributes.
25107 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
25109 * help.el (describe-mode): Link to the mode's definition (bug#8185).
25111 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
25113 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
25114 into declaration. Remove redundant and harmful binding.
25116 2011-03-12 Eli Zaretskii <eliz@gnu.org>
25118 * files.el (file-ownership-preserved-p): Pass `integer' as an
25119 explicit 2nd argument to `file-attributes'. If the file's owner
25120 is the Administrators group on Windows, and the current user is
25121 Administrator, consider that a match.
25123 * server.el (server-ensure-safe-dir): Consider server directory
25124 safe on MS-Windows if its owner is the Administrators group while
25125 the current Emacs user is Administrator. Use `=' to compare
25126 numerical UIDs, since they could be integers or floats.
25128 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
25130 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
25132 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
25134 Sync with Tramp 2.2.1.
25136 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
25138 * net/trampver.el: Update release number.
25140 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
25142 * progmodes/compile.el (compilation--previous-directory): Fix up
25143 various nil/dead-marker mismatches (bug#8014).
25144 (compilation-directory-properties, compilation-error-properties):
25145 Don't call it at a position past the one we're about to change.
25147 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
25148 Disable obsolescence warnings in the file that declares it.
25150 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
25152 * allout-widgets.el (allout-widgets-tally):
25153 Initialize allout-widgets-tally as a hash table rather than nil to
25154 prevent mode-line redisplay warnings. Also, clarify the module
25155 description and fix a comment typo.
25157 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
25159 * help-fns.el (describe-variable): Don't complete keywords.
25160 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
25162 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
25164 * emacs-lisp/package.el (package-version-join): Impose a standard
25165 string representation for pre/alpha/beta version lists.
25166 (package-unpack-single): Standardize the directory name by passing
25167 it through package-version-join.
25168 (package-strip-rcs-id): Accept any version string that does not
25169 signal an error in version-to-list.
25171 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
25173 * simple.el (delete-trailing-whitespace): Return nil for the
25174 benefit of `write-file-functions'.
25176 2011-03-10 Glenn Morris <rgm@gnu.org>
25178 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
25180 * vc/vc-git.el (vc-git-program): New option.
25181 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
25182 (vc-git--call): Use it.
25184 * eshell/esh-util.el (eshell-condition-case): Doc fix.
25186 * cus-edit.el (Custom-newline): If no button at point, look
25187 for a subgroup button at start-of-line. (Bug#2298)
25189 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
25191 2011-03-10 Julien Danjou <julien@danjou.info>
25193 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
25194 `cursor-type' is nil.
25196 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
25198 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
25200 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
25202 * allout.el: Change so yank of distinctive-bullet items
25203 preserves the existing header prefix, rebulleting it if necessary,
25204 rather than replacing it. This is necessary for proper operation
25205 of cooperative addons like allout-widgets.
25206 (allout-make-topic-prefix, allout-rebullet-heading):
25207 Change SOLICIT arg to INSTEAD, and interpret additionally a string
25208 value as alternate bullet to be used, instead of prompting the user
25209 for a bullet character.
25211 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
25213 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
25214 Do not use `tramp-file-name-port', because this returns also
25215 `tramp-default-port'.
25217 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
25219 * net/rcirc.el (rcirc-handler-001): Remove useless
25220 with-rcirc-process-buffer.
25221 (rcirc-check-auth-status): Swap arguments to string-match.
25223 2011-03-09 Glenn Morris <rgm@gnu.org>
25225 * shell.el (shell-mode):
25226 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
25228 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
25229 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
25231 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
25233 * emacs-lisp/package.el (package-refresh-contents)
25234 (package-menu-execute): Use condition-case-no-debug.
25236 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
25238 * simple.el (shell-command-to-string): Use `process-file'.
25240 * emacs-lisp/package.el (package-tar-file-info): Handle also
25243 * emacs-lisp/package-x.el (package-upload-buffer-internal):
25244 Use `equal' for upload base check.
25246 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
25248 * textmodes/texinfo.el (texinfo-environments):
25249 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
25251 2011-03-08 Glenn Morris <rgm@gnu.org>
25253 * cus-start.el (cursor-in-non-selected-windows):
25254 Fix :set quoting oddness. (Bug#8192)
25256 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
25257 in some setf expressions. (Bug#2159)
25259 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
25261 * custom.el (custom-available-themes): Return themes in
25262 alphabetical order.
25264 See ChangeLog.15 for earlier changes.
25266 ;; Local Variables:
25270 Copyright (C) 2011-2013 Free Software Foundation, Inc.
25272 This file is part of GNU Emacs.
25274 GNU Emacs is free software: you can redistribute it and/or modify
25275 it under the terms of the GNU General Public License as published by
25276 the Free Software Foundation, either version 3 of the License, or
25277 (at your option) any later version.
25279 GNU Emacs is distributed in the hope that it will be useful,
25280 but WITHOUT ANY WARRANTY; without even the implied warranty of
25281 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
25282 GNU General Public License for more details.
25284 You should have received a copy of the GNU General Public License
25285 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.