1 2013-03-16 Leo Liu <sdl.web@gmail.com>
3 * progmodes/scheme.el: Add indentation and font-locking for λ.
6 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
8 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
9 token before point (bug#13942).
11 2013-03-16 Leo Liu <sdl.web@gmail.com>
13 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
15 2013-03-16 Glenn Morris <rgm@gnu.org>
17 * Version 24.3 released.
19 2013-03-16 Eli Zaretskii <eliz@gnu.org>
21 * startup.el (command-line-normalize-file-name): Fix handling of
22 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
23 <xfq.free@gmail.com> in
24 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
26 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
28 Sync with Tramp 2.2.7.
30 * net/trampver.el: Update release number.
32 2013-03-14 Tassilo Horn <tsdh@gnu.org>
34 * doc-view.el Fix bug#13887.
35 (doc-view-insert-image): Don't modify overlay associated to
36 non-live windows, and implement horizontal centering of image in
37 case it's smaller than the window.
38 (doc-view-new-window-function): Force redisplay of new windows on
41 2013-03-13 Karl Fogel <kfogel@red-bean.com>
43 * saveplace.el (save-place-alist-to-file): Don't sort
44 `save-place-alist', just pretty-print it (bug#13882).
46 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
48 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Check,
49 whether `default-file-name-coding-system' is bound. It isn't in
52 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
54 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
55 backquotes for `obsolete' (bug#13929).
57 * international/mule.el (find-auto-coding): Include file name in
58 obsolescence warning (bug#13922).
60 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
62 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
63 for CFEngine 3-specific indentation.
64 (cfengine3-indent-line): Use it. Fix up category regex.
65 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
67 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
69 * type-break.el (type-break-file-name):
70 * textmodes/remember.el (remember-data-file):
71 * strokes.el (strokes-file):
72 * shadowfile.el (shadow-initialize):
73 * saveplace.el (save-place-file):
74 * ps-bdf.el (bdf-cache-file):
75 * progmodes/idlwave.el (idlwave-config-directory):
76 * net/quickurl.el (quickurl-url-file):
77 * international/kkc.el (kkc-init-file-name):
78 * ido.el (ido-save-directory-list-file):
79 * emulation/viper.el (viper-custom-file-name):
80 * emulation/vip.el (vip-startup-file):
81 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
82 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
84 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
86 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
87 * language/thai-word.el: Switch to UTF-8.
89 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
91 * recentf.el (recentf-save-file): Use locate-user-emacs-file (bug#13870).
93 2013-03-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
95 * net/net-utils.el (net-utils-remove-ctrl-m-filter):
96 Use with-current-buffer and don't move point.
97 (net-utils-run-simple): Remove useless code.
98 (net-utils-remove-ctl-m): Remove unused custom.
100 2013-03-11 Per Starbäck <starback@stp.lingfil.uu.se>
102 * international/characters.el (glyphless-set-char-table-range): New fun.
103 (update-glyphless-char-display): Use it (bug#13744).
105 2013-03-11 Teodor Zlatanov <tzz@lifelogs.com>
107 * progmodes/cfengine.el: Update for CFEngine 3.4.2 and higher:
108 namespaces in the syntax, indent closer for hanging brace
109 correctly, allow single-quote delimited 'strings', and make
110 `cfengine3-mode' the default.
112 2013-03-11 Jean-Philippe Gravel <jpgravel@gmail.com>
114 * progmodes/gdb-mi.el: Speed up initialization (bug#10580).
115 Use lexical-binding. Fix up docstring according to conventions.
116 (gdbmi-debug-mode): New var.
117 (gdbmi-start-with, gdbmi-same-start, gdbmi-is-number, gdbmi-bnf-init)
118 (gdbmi-bnf-output, gdbmi-bnf-skip-unrecognized, gdbmi-bnf-gdb-prompt)
119 (gdbmi-bnf-result-record, gdbmi-bnf-out-of-band-record)
120 (gdbmi-bnf-async-record, gdbmi-bnf-stream-record)
121 (gdbmi-bnf-console-stream-output, gdbmi-bnf-target-stream-output)
122 (gdbmi-bnf-log-stream-output, gdbmi-bnf-result-and-async-record-impl)
123 (gdbmi-bnf-incomplete-record-result): New functions.
124 (gdb-car<): Remove function.
125 (gdbmi-record-list): Remove variable.
126 (gdbmi-bnf-state, gdbmi-bnf-offset): New vars.
127 (gdbmi-bnf-result-state-configs): New const.
128 (gud-gdbmi-marker-filter): Rewrite.
129 (gdb-ignored-notification, gdb-thread-created, gdb-thread-exited)
130 (gdb-thread-selected, gdb-running, gdb-starting, gdb-stopped):
131 Add `token' argument.
132 (gdb-done, gdb-error): New functions.
133 (gdb-done-or-error): Add `is-complete' argument. Change arg order.
135 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
137 * term/xterm.el (xterm--report-background-handler): Don't burp
139 (xterm--version-handler): Extract from terminal-init-xterm.
140 (xterm--query): Don't mishandle timeout. Remove debugging messages.
141 Allow multiple handlers.
142 (terminal-init-xterm): Handle OSX's Terminal.app's incorrect answer.
144 * term/xterm.el: Don't discard input (bug#6758). Use lexical-binding.
145 (xterm--report-background-handler, xterm--query): New functions.
146 (terminal-init-xterm): Use them.
148 2013-03-11 Michael R. Mauger <michael@mauger.com>
150 * progmodes/sql.el Version 3.2
151 Please note that my address changed to <michael@mauger.com>;
152 the <mmaug@yahoo.com> address remains active.
153 (sql-connection-alist): Updates documentation to fix bug#13715.
154 (sql-connect): Handle missing `sql-connection-alist' correctly.
155 (sql-mode-oracle-font-lock-keywords): Add missing keywords.
156 (sql-magic-go, sql-magic-semicolon): Mark with `delete-selection'
158 (sql-default-value): New function.
159 (sql-get-login-ext, sql-get-login): Fixes bug where buffer-local
160 values were not used.
161 (sql-rename-buffer): Make sure alternate buffer name has no text
163 (sql-input-sender, sql-execute-feature): Fetch variable with
164 `buffer-local-value' rather than `with-current-buffer'.
165 (sql-*): Use #' function syntax consistently.
166 (sql-*): Use message/error/user-error consistently.
168 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
170 * xt-mouse.el (xterm-mouse-event-read): Remove.
171 (xterm-mouse--read-event-sequence-1000)
172 (xterm-mouse--read-event-sequence-1006): Use read-event instead.
174 2013-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
176 * term/xterm.el (xterm-function-map): Support format used with
177 formatOtherKeys=1 (bug#13839).
179 * emacs-lisp/byte-run.el (dont-compile): Declare obsolete.
180 (with-no-warnings): Use `declare'.
182 * whitespace.el (whitespace-enable-predicate): New variable.
183 (whitespace-enable-predicate): Use it.
185 * comint.el (comint-send-input, comint-snapshot-last-prompt)
186 (comint-output-filter, comint-update-fence):
187 Use with-silent-modifications.
189 2013-03-10 Jambunathan K <kjambunathan@gmail.com>
191 * replace.el (occur-read-regexp-defaults-function): New var.
192 (occur-read-regexp-defaults): New defun.
193 (occur-read-primary-args): Propagate above change (bug#13892).
195 2013-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
197 * mouse.el (mouse-drag-track): Remove left-over debugging code.
199 2013-03-09 Michael Albinus <michael.albinus@gmx.de>
201 Major rewrite due to changed D-Bus interface of GVFS 1.14.
203 * net/tramp-gvfs.el (top): Extend check for gvfs availability.
204 (tramp-gvfs-methods-mounttracker, tramp-gvfs-listmounts)
205 (tramp-gvfs-mountlocation, tramp-gvfs-mountlocation-signature):
207 (tramp-gvfs-file-name-handler-alist) [directory-files]
208 [directory-files-and-attributes, file-exists-p, file-modes]:
209 Use Tramp default handler.
210 [file-acl, file-selinux-context, process-file, set-file-acl]:
211 [set-file-modes, set-file-selinux-context, shell-command]:
212 [start-file-process]: Remove handler.
213 [verify-visited-file-modtime]: New handler.
214 (tramp-gvfs-dbus-string-to-byte-array)
215 (tramp-gvfs-dbus-byte-array-to-string): New defuns. Replace all
216 calls of `dbus-string-to-byte-array' and
217 `tramp-gvfs-dbus-byte-array-to-string'.
218 (tramp-gvfs-handle-copy-file)
219 (tramp-gvfs-handle-delete-directory)
220 (tramp-gvfs-handle-delete-file, tramp-gvfs-handle-file-attributes)
221 (tramp-gvfs-handle-file-directory-p)
222 (tramp-gvfs-handle-file-executable-p)
223 (tramp-gvfs-handle-file-name-all-completions)
224 (tramp-gvfs-handle-file-readable-p)
225 (tramp-gvfs-handle-file-writable-p)
226 (tramp-gvfs-handle-insert-directory)
227 (tramp-gvfs-handle-insert-file-contents)
228 (tramp-gvfs-handle-make-directory, tramp-gvfs-handle-rename-file)
229 (tramp-gvfs-handle-set-visited-file-modtime)
230 (tramp-gvfs-handle-write-region): Rewrite.
231 (tramp-gvfs-handle-file-acl)
232 (tramp-gvfs-handle-file-selinux-context)
233 (tramp-gvfs-handle-process-file, tramp-gvfs-handle-set-file-acl)
234 (tramp-gvfs-handle-set-file-modes)
235 (tramp-gvfs-handle-set-file-selinux-context)
236 (tramp-gvfs-handle-shell-command)
237 (tramp-gvfs-handle-start-file-process)
238 (tramp-gvfs-handle-verify-visited-file-modtime): Remove defuns.
239 (tramp-gvfs-url-file-name): Do not use `file-truename', we work
240 over the symlinks. Fix user handling.
241 (top, tramp-gvfs-handler-mounted-unmounted): Handle different names
242 of the D-Bus signals.
243 (tramp-gvfs-connection-mounted-p): Handle different names of the
245 (tramp-gvfs-mount-spec-entry): New defun.
246 (tramp-gvfs-mount-spec): Use it.
247 (tramp-gvfs-maybe-open-connection): Check, that in case of "smb"
248 there is a share name. Handle different names of the D-Bus
249 signals and methods. Set connection properties needed for
250 `tramp-check-cached-permissions'.
251 (tramp-gvfs-send-command): Apply `tramp-gvfs-maybe-open-connection'.
254 * net/tramp.el (tramp-backtrace): Move up.
255 (tramp-error): Dump a backtrace into the debug buffer when
257 (tramp-file-mode-type-map, tramp-file-mode-from-int)
258 (tramp-file-mode-permissions, tramp-get-local-uid)
259 (tramp-get-local-gid, tramp-check-cached-permissions): Move from
262 * net/tramp-sh.el (tramp-file-mode-type-map)
263 (tramp-check-cached-permissions, tramp-file-mode-from-int)
264 (tramp-file-mode-permissions, tramp-get-local-uid)
265 (tramp-get-local-gid): Move to tramp.el.
267 2013-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
269 Separate mouse-1-click-follows-link from mouse-drag-region.
270 * mouse.el (mouse--down-1-maybe-follows-link): New function.
271 (key-translation-map): Use it to implement mouse-1-click-follows-link.
272 (mouse-drag-line, mouse-drag-track):
273 Remove mouse-1-click-follows-link code.
274 (mouse--remap-link-click-p): Remove.
276 2013-03-08 Jambunathan K <kjambunathan@gmail.com>
278 * hi-lock.el (hi-lock-read-regexp-defaults-function): New var.
279 (hi-lock-read-regexp-defaults): New defun.
280 (hi-lock-line-face-buffer, hi-lock-face-buffer)
281 (hi-lock-face-phrase-buffer): Propagate above change.
282 Update docstring (bug#13892).
284 * subr.el (find-tag-default-as-regexp): New defun.
285 * replace.el (read-regexp): Propagate above change.
287 2013-03-08 Jay Belanger <jay.p.belanger@gmail.com>
289 * calc/calc-units.el (calc-convert-units): Fix the way that default
290 new units are stored.
292 2013-03-07 Matthias Meulien <orontee@gmail.com>
294 * bookmark.el: Define a face to highlight bookmark names in
295 bookmark menu buffers, where the default is a bold face similarly
296 to buffer names in buffer menu buffers.
297 (bookmark-menu-bookmark): New face to highlight bookmark names.
298 (bookmark-insert-location): Remove duplicated text property to
299 conform to buffer list (see `list-buffers').
300 (bookmark-bmenu-list, bookmark-bmenu-hide-filenames): Apply face
301 `bookmark-menu-bookmark' to bookmark names.
303 2013-03-07 Matthias Meulien <orontee@gmail.com>
304 Karl Fogel <kfogel@red-bean.com>
306 * bookmark.el: Display the bookmark list header similarly to the
307 buffer list header (see `list-buffers'), where the default is now
308 an immovable/immutable header line.
309 (bookmark-bmenu-use-header-line): New variable.
310 (bookmark-bmenu-inline-header-height): New name for
311 `bookmark-bmenu-header-height', to avoid confusion with the code
312 for the new immovable header. All references changed.
313 (bookmark-bmenu-set-header): New function.
314 (bookmark-bmenu-list, bookmark-bmenu-toggle-filenames):
315 Conditionalize header construction accordingly.
316 (bookmark-bmenu-ensure-position): Conditionalize the skipping of
317 the inline header height.
318 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
319 Conditionalize the skipping of the inline header height.
321 2013-03-07 Dmitry Gutov <dgutov@yandex.ru>
323 * progmodes/js.el (js--multi-line-declaration-indentation):
324 Merge from js2-mode (https://github.com/mooz/js2-mode/issues/89).
326 2013-03-06 Dmitry Gutov <dgutov@yandex.ru>
328 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
329 Only propertize regexp when not inside a string (Bug#13885).
331 2013-03-06 Alan Mackenzie <acm@muc.de>
333 Correct the position of point in some line-up functions.
334 * progmodes/cc-align.el (c-lineup-whitesmith-in-block)
335 (c-lineup-assignments, c-lineup-gcc-asm-reg ): take position of
336 point at column 0 rather than at a random place in the line.
338 2013-03-05 Michael Albinus <michael.albinus@gmx.de>
340 * net/tramp-compat.el (tramp-compat-delete-directory):
341 Implement TRASH argument.
343 2013-03-05 Dmitry Gutov <dgutov@yandex.ru>
345 Keep pre-existing highlighting in completion candidates (Bug#13250).
346 * minibuffer.el (completions-first-difference): State that the
347 face is "added" in the docstring.
348 (completions-common-part): Same. And don't inherit from default.
349 (completion-hilit-commonality): Prepend 'completions-common-part
350 and 'completion-first-difference faces to the 'face property,
351 instead of replacing the value(s).
352 (completion--insert-strings): Same with 'completions-annotations face.
353 (completion-hilit-commonality): Use 'face instead of
354 'font-lock-face, because it gets priority if the completion
355 strings already have 'face set.
357 2013-03-04 Alan Mackenzie <acm@muc.de>
359 Replace `last-command-event' by `last-command-char' in XEmacs.
360 * progmodes/cc-defs.el (c-last-command-char): New macro.
361 * progmodes/cc-align.el (c-semi&comma-inside-parenlist)
362 (c-semi&comma-no-newlines-before-nonblanks)
363 (c-semi&comma-no-newlines-for-oneline-inliners): Use the new macro
364 in place of `last-command-event'.
365 * progmodes/cc-cmds.el (c-electric-pound, c-electric-brace)
366 (c-electric-slash, c-electric-semi&comma, c-electric-lt-gt)
367 (c-electric-paren, c-electric-continued-statement): Use the new
368 macro in place of `last-command-event'.
370 2013-03-04 Glenn Morris <rgm@gnu.org>
372 * files.el (inhibit-local-variables-regexps):
373 Add .diff and .patch. (Bug#13862)
375 2013-03-03 Michael Albinus <michael.albinus@gmx.de>
377 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Cache,
378 whether the "su" command is available on the device.
380 2013-03-01 Michael Albinus <michael.albinus@gmx.de>
382 * net/tramp-adb.el (tramp-adb-prompt): Extend regexp.
383 (tramp-adb-handle-process-file): Remove superfluous setting.
384 (tramp-adb-command-exit-status): Handle case that COMMAND is nil.
385 (tramp-adb-barf-unless-okay): Use `tramp-adb-command-exit-status'.
386 (tramp-adb-maybe-open-connection): Apply "su" if user is defined.
388 2013-03-01 Stefan Monnier <monnier@iro.umontreal.ca>
390 * textmodes/ispell.el: Fix nitpicks and byte-compiler warnings.
391 (ispell-print-if-debug): Build `format' in. Avoid end-of-buffer.
392 (ispell-parse-hunspell-affix-file): Avoid beginning-of-buffer.
393 Use dict-key rather than dict-name for the error message.
395 2013-03-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
397 * net/net-utils.el (net-utils-run-simple): Don't display-buffer
398 when reverting (bug#13831).
400 2013-03-01 Agustín Martín Domingo <agustin.martin@hispalinux.es>
402 * textmodes/ispell.el (ispell-find-hunspell-dictionaries):
403 Always expand affix-file before storing to protect against changed
405 (ispell-print-if-debug): Make sure message is printed at the end
408 2013-03-01 Michael Albinus <michael.albinus@gmx.de>
410 * net/tramp.el (tramp-obsolete-methods): New defconst.
411 (tramp-warned-obsolete-methods): New defvar.
412 (tramp-find-method): Check for obsolete methods. Map them to a
413 replacement method if appropriate.
415 * net/tramp-sh.el (tramp-methods) [scp1, scp2, ssh1, ssh2, plink1]:
417 (top): Remove completion functions for "scp1", "scp2", "ssh1",
420 2013-02-28 Dale Sedivec <dale@codefu.org>
422 * textmodes/sgml-mode.el (sgml-syntax-propertize-function):
423 Return valid syntax-table property value when converting
424 quotes within text from string syntax to punctuation syntax (bug#13844).
426 2013-02-28 Juri Linkov <juri@jurta.org>
428 * dired-aux.el (dired-diff): If file at point is a backup file,
429 use its original as the default value, and reverse the order
430 of arguments to the `diff' call. Doc fix. (Bug#13772)
432 2013-02-28 Michael Albinus <michael.albinus@gmx.de>
434 * net/tramp-adb.el (tramp-adb-sdk-dir): Remove. Replaced by ...
435 (tramp-adb-program): New defcustom. Remove function. Adapt calls.
437 2013-02-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
439 Initial support for hunspell dictionaries auto-detection (Bug#13639)
441 * textmodes/ispell.el (ispell-find-hunspell-dictionaries):
442 Ask hunspell about available and default dictionaries.
443 (ispell-parse-hunspell-affix-file): Extract relevant info from
445 (ispell-hunspell-fill-dictionary-entry): Fill non-initialized
446 `ispell-dictionary-alist' entry for given dictionary after info
447 provided by `ispell-parse-hunspell-affix-file'.
448 (ispell-hunspell-dict-paths-alist): New defvar to contain an alist
449 of parsed hunspell dicts and associated affix files.
450 (ispell-hunspell-dictionary-alist): New defvar to contain an alist
451 of parsed hunspell dicts and associated parameters.
452 (ispell-set-spellchecker-params):
453 Call `ispell-find-hunspell-dictionaries' if hunspell and not
455 (ispell-start-process):
456 Call `ispell-hunspell-fill-dictionary-entry' for current
457 dictionary if it is not initialized.
459 2013-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
461 * imenu.el: Comment nitpicks.
463 2013-02-28 Sam Steingold <sds@gnu.org>
465 * vc/diff-mode.el (diff-hunk-file-names): Handle filenames with spaces.
466 See <http://stackoverflow.com/questions/14720205>.
468 2013-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
470 * net/net-utils.el (net-utils--revert-function): New fun (bug#13831).
471 (net-utils-mode): Use it.
472 (net-utils--revert-cmd): New var.
473 (net-utils-run-simple): Set it, and remove bogus interactive spec.
474 (traceroute): Use net-utils-run-simple.
476 2013-02-28 Glenn Morris <rgm@gnu.org>
478 * textmodes/paragraphs.el (mark-paragraph): Doc fix.
480 2013-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
482 * doc-view.el: Preserve h&v scroll across C-c C-c C-c C-c.
483 (doc-view-fallback-mode): Remove overlays here.
484 (doc-view-toggle-display): Instead of here. Don't throw away
485 image-mode-winprops-alist.
486 (doc-view-goto-page): Don't mess with hscroll.
488 2013-02-27 Thierry Volpiatto <thierry.volpiatto@gmail.com>
490 * font-lock.el (lisp-font-lock-keywords-2): Fix highlighting of
491 &optional (bug#13819).
493 2013-02-27 Michael Albinus <michael.albinus@gmx.de>
495 * net/tramp-adb.el (tramp-adb-parse-device-names)
496 (tramp-adb-maybe-open-connection): Add timeouts. (Bug#13299)
498 2013-02-26 Michael Albinus <michael.albinus@gmx.de>
500 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
501 Add "2>/dev/null" to the ls command, in case "en_US.utf8" is not
502 defined. POSIX environments fall back to the "C" locale then and
503 emit a warning, which shall be suppressed.
505 2013-02-26 Stefan Monnier <monnier@iro.umontreal.ca>
507 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): Tweak logic.
508 (easy-mmode-set-keymap-parents): Use make-composed-keymap.
510 2013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
512 * emacs-lisp/bytecomp.el (byte-compile-file): Use let.
514 2013-02-25 Juri Linkov <juri@jurta.org>
516 * replace.el (read-regexp): Let-bind `default' to the first
517 element of `defaults' if it's a list, otherwise it should be
518 a string or nil. Let-bind `suggestions' to `defaults' if it's
519 a list, otherwise make a list with the string value. Doc fix.
522 2013-02-25 Eli Zaretskii <eliz@gnu.org>
524 * emacs-lisp/bytecomp.el (byte-recompile-directory): Reject files
525 that match "\`\.#", to avoid compiling lock files, even if they
526 are readable (as they are on MS-Windows).
528 2013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
530 * files.el (basic-save-buffer): Remove redundant directory-creation.
532 2013-02-24 Jay Belanger <jay.p.belanger@gmail.com>
534 * calc/calc-ext.el (math-to-radians-2, math-from-radians-2):
535 Add option to force `pi' to remain symbolic.
536 * calc/calcalg2.el (calcFunc-sin, calcFunc-cos, calcFunc-tan)
537 (calcFunc-cot, calcFunc-csc, calcFunc-sec, calcFunc-arcsin)
538 (calcFunc-arccos, calcFunc-arctan): Use symbolic `pi' in the
539 derivatives, when necessary.
541 2013-02-23 Peter Kleiweg <p.c.j.kleiweg@rug.nl>
543 * progmodes/ps-mode.el (ps-mode-version): Bump to 1.1i.
544 (ps-mode-octal-region): Use string-make-unibyte.
546 2013-02-23 Glenn Morris <rgm@gnu.org>
548 * emulation/viper-cmd.el (viper-submit-report):
549 * progmodes/ps-mode.el (ps-mode-maintainer-address):
550 * progmodes/vera-mode.el (vera-mode-help-address):
551 * textmodes/artist.el (artist-maintainer-address):
552 * textmodes/reftex.el (reftex-report-bug):
553 * vc/ediff-util.el (ediff-submit-report):
554 Add bug-gnu-emacs to bug report address.
556 * progmodes/simula.el (simula-mode-menu, simula-mode-map):
557 Remove bug report entries.
558 (simula-mode-help-address, simula-submit-bug-report): Make obsolete.
560 * emacs-lisp/bytecomp.el (byte-compile-level): New.
561 (byte-compile-file, byte-compile-from-buffer):
562 Use separate input/output buffers for each level of recursive
563 byte-compile-file calls. (Bug#13787)
565 2013-02-23 Michael Albinus <michael.albinus@gmx.de>
567 * net/tramp.el (tramp-methods): Fix docstring.
568 (tramp-ssh-controlmaster-options): Rename it from
569 `tramp-ssh-controlmaster-template'. Return a string.
570 (tramp-default-method): Adapt check for
571 `tramp-ssh-controlmaster-options'.
573 * net/tramp-sh.el (tramp-methods):
574 Replace `tramp-ssh-controlmaster-template' by "%c".
575 (tramp-do-copy-or-rename-file-out-of-band)
576 (tramp-maybe-open-connection): Use it in format spec. Ensure,
577 that it is applied for the first hop only.
579 2013-02-22 Juri Linkov <juri@jurta.org>
581 * isearch.el (isearch-lazy-highlight-new-loop):
582 Set `isearch-lazy-highlight-start' and `isearch-lazy-highlight-end'
583 to `isearch-other-end' if it is not nil. (Bug#13402)
585 * replace.el (replace-highlight): Let-bind `isearch-other-end'
588 * textmodes/ispell.el (ispell-highlight-spelling-error-overlay):
589 Let-bind `isearch-other-end' to `start', `isearch-forward' to t
590 and `isearch-error' to nil.
592 2013-03-16 Fabián Ezequiel Gallina <fgallina@cuca>
594 * progmodes/python.el (python-info-current-defun):
595 Enhance match-data cluttering prevention.
597 2013-02-22 Michael Albinus <michael.albinus@gmx.de>
599 * net/tramp.el (tramp-tramp-file-p): Fix docstring.
601 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
602 Handle multibyte file names.
604 2013-02-22 Glenn Morris <rgm@gnu.org>
606 * textmodes/sgml-mode.el (sgml-xml-mode): Move before use.
607 (sgml-transformation-function): Give it a :set function.
610 * cmuscheme.el (scheme-buffer):
611 * progmodes/inf-lisp.el (inferior-lisp-buffer):
612 * progmodes/tcl.el (inferior-tcl-buffer):
613 * textmodes/tex-mode.el (tex-command): Doc fixes.
615 * image-mode.el (image-mode): Add mouse bindings for mode-line-process.
617 * htmlfontify.el (hfy-default-header): Encode title string. (Bug#7457)
619 2013-02-21 Bastien Guerry <bzg@gnu.org>
621 * cmuscheme.el (scheme-buffer): Fix docstring. (Bug#13778)
623 2013-02-21 Fabián Ezequiel Gallina <fgallina@cuca>
625 * progmodes/python.el (python-info-current-defun):
626 Enhance match-data cluttering prevention.
628 2013-02-21 Glenn Morris <rgm@gnu.org>
630 * net/tramp.el (tramp-get-debug-buffer): Ensure outline.el is not
631 loaded while outline-regexp is let bound. (Bug#9584)
633 2013-02-21 Fabián Ezequiel Gallina <fgallina@cuca>
635 * progmodes/python.el (python-info-current-defun): Fix failed
636 defun name retrieval because of unwanted match-data cluttering.
638 2013-02-21 Michael Albinus <michael.albinus@gmx.de>
640 * net/tramp.el (tramp-ssh-controlmaster-template): Make it a
641 defconst. Apply independent check for ControlPersist.
643 * net/tramp-sh.el (tramp-sh-handle-set-file-times): Set $UTC only
644 temporarily, via "env".
646 2013-02-21 Glenn Morris <rgm@gnu.org>
648 * info.el (Info-enable-edit): Remove.
649 (Info-edit): Disable it rather than using Info-enable.
650 (Info-edit-mode-hook, Info-edit-map, Info-edit-mode, Info-edit)
651 (Info-cease-edit): Make editing of Info files obsolete.
653 * informat.el (Info-tagify):
654 Handle buffers not visiting files. (Bug#13763)
656 2013-02-21 Juanma Barranquero <lekktu@gmail.com>
658 * calc/calc-graph.el (calc-graph-show-dumb): Fix typo.
660 2013-02-21 Glenn Morris <rgm@gnu.org>
662 * files.el (basic-save-buffer): Move check for existing parent
663 directory after hooks. (Bug#13773)
665 2013-02-20 Stefan Monnier <monnier@iro.umontreal.ca>
667 * simple.el (command-execute): Move from C. Add obsolete check.
668 (extended-command-history): Move from C.
670 2013-02-20 Ulrich Müller <ulm@gentoo.org>
672 * jka-cmpr-hook.el (jka-compr-compression-info-list)
673 (jka-compr-mode-alist-additions): Handle .txz suffix for
674 XZ-compressed tar archives (bug#13770).
676 2013-02-20 Bastien Guerry <bzg@gnu.org>
678 * outline.el (outline-regexp, outline-heading-end-regexp):
679 Make variables, not options (bug#13731).
681 2013-02-20 Glenn Morris <rgm@gnu.org>
683 * image.el (image-current-frame): Change from variable to function.
684 (image-show-frame): Rename from image-nth-frame. Update callers.
685 * image-mode.el (image-multi-frame): New variable.
686 (image-mode-map, image-mode, image-goto-frame):
687 Use image-multi-frame rather than image-current-frame.
688 (image-mode, image-goto-frame): Use image-current-frame as
689 function rather than as variable.
691 * emacs-lisp/cl-lib.el (cl-floatp-safe): Make it an alias for floatp.
692 * emacs-lisp/cl-macs.el (cl--make-type-test)
693 (cl--compiler-macro-assoc): Use floatp rather than cl-floatp-safe.
695 2013-02-19 Michael Albinus <michael.albinus@gmx.de>
697 * net/tramp-cache.el (tramp-get-hash-table): New defun.
698 (tramp-get-file-property, tramp-set-file-property)
699 (tramp-get-connection-property, tramp-set-connection-property): Use it.
700 (tramp-flush-file-property, tramp-flush-directory-property):
701 Rename argument to KEY.
702 (tramp-flush-connection-property): Simplify a little bit.
703 (tramp-connection-property-p): New defun.
704 (top): Reapply saved values only if there isn't a corresponding
705 entry in `tramp-connection-properties'.
707 2013-02-19 Fabián Ezequiel Gallina <fgallina@cuca>
709 * progmodes/python.el (python-indent-context):
710 Fix python-info-line-ends-backslash-p call.
711 (python-info-line-ends-backslash-p)
712 (python-info-beginning-of-backslash): Respect line-number argument.
713 (python-info-current-line-comment-p):
714 Fix behavior when not at beginning-of-line.
715 (python-util-position): Remove function.
716 (python-util-goto-line): New function.
718 2013-02-19 Michael Albinus <michael.albinus@gmx.de>
720 * eshell/em-unix.el (eshell/su): Require tramp.
721 (eshell/sudo): Require tramp. Remove now unnecessary check.
723 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Let-bind
724 `tramp-current-connection' in order to avoid an error when several
725 commands are invoked in a short time in eshell and friends.
727 2013-02-19 Stefan Monnier <monnier@iro.umontreal.ca>
729 Cleanup some of EIEIO's namespace.
730 * emacs-lisp/eieio.el (eieio--define-field-accessors): New macro.
731 Use it to define all the class-* and object-* field accessors (renamed
732 to eieio--class-* and eieio--object-*). Update all uses.
733 (eieio--class-num-slots, eieio--object-num-slots): Rename from
734 class-num-slots and object-num-slots.
735 (eieio--check-type): New macro.
736 (eieio-defclass, eieio-oref, eieio-oref-default, same-class-p)
737 (object-of-class-p, child-of-class-p, object-slots, class-slot-initarg)
738 (eieio-oset, eieio-oset-default, object-assoc, object-assoc-list)
739 (object-assoc-list-safe): Use it.
740 (eieio-defclass): Tighten regexp.
741 (eieio--defmethod): Use `memq'. Signal an error for unknown method kind.
742 Remove unreachable code.
743 (object-class-fast): Declare obsolete.
744 (eieio-class-name, eieio-object-name, eieio-object-set-name-string)
745 (eieio-object-class, eieio-object-class-name, eieio-class-parents)
746 (eieio-class-children, eieio-class-precedence-list, eieio-class-parent):
747 Rename from class-name, object-name, object-set-name-string,
748 object-class, object-class-name, class-parents, class-children,
749 class-precedence-list, class-parent; with obsolete alias.
750 (class-of, class-direct-superclasses, class-direct-subclasses):
752 (eieio-defmethod): Use `memq'; remove unreachable code.
753 * emacs-lisp/eieio-base.el (eieio-persistent-read):
754 * emacs-lisp/eieio-opt.el (eieio-class-button, eieio-describe-generic)
755 (eieio-browse-tree, eieio-browse): Use eieio--check-type.
758 2013-02-18 Michael Heerdegen <michael_heerdegen@web.de>
760 * emacs-lisp/eldoc.el (eldoc-highlight-function-argument):
761 Use font-lock-keyword-face for macros and special forms (bug#8345).
763 2013-02-17 Didier Verna <didier@didierverna.net>
765 * net/network-stream.el (network-stream-open-starttls):
766 Check that response to the starttls-command is non-nil. (Bug#13706)
768 2013-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
770 * font-lock.el (lisp-font-lock-keywords-1, lisp-font-lock-keywords-2):
771 Don't assume all identifier chars have syntax word.
772 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
773 Remove bar-not-symbol. Adjust callers.
774 (lisp-mode-variables): Don't set a font-lock-syntax-table.
776 2013-02-17 Leo Liu <sdl.web@gmail.com>
778 * net/rcirc.el (rcirc-keepalive): Fix invalid timer error.
780 2013-02-17 Glenn Morris <rgm@gnu.org>
782 * menu-bar.el (menu-bar-tools-menu): Fix case of EDE entry.
784 * image-mode.el (image-mode-map): Add image-dired menu entry.
786 * image-dired.el (tumme): Make this alias obsolete.
788 2013-02-16 Glenn Morris <rgm@gnu.org>
790 * image.el (image-animated-types): Remove.
791 (image-multi-frame-p): Rename from image-animated-p, and generalize.
792 (image-animated-p): Make obsolete alias.
793 (image-animate, image-nth-frame, image-animate-timeout):
794 Use image-multi-frame-p.
795 (image-animate-timeout): If no delay, use image-default-frame-delay.
796 * image-mode.el (image-mode, image-toggle-animation):
797 Use image-multi-frame-p. (Bug#763, bug#10739)
798 (image-mode): Adjust startup message for a multi-frame image.
800 * image-mode.el (image-mode-map): Give it a menu.
802 2013-02-16 Michael Albinus <michael.albinus@gmx.de>
804 * net/tramp-cache.el (tramp-connection-properties): New customer
806 (tramp-get-connection-property): Use it.
808 * net/tramp-compat.el (top): Require 'trampver.
810 * net/tramp-sh.el (tramp-remote-process-environment):
811 Set tramp-autoload cookie.
813 2013-02-16 Kevin Ryde <user42@zip.com.au>
815 * info-look.el (info-lookup-select-mode): If major-mode has no
816 info-lookup-alist entry then search up derived-mode-parent (bug#8660).
818 2013-02-16 Jambunathan K <kjambunathan@gmail.com>
820 * replace.el (read-regexp): Tighten the regexp that matches tag.
821 When tag is retrieved with `find-tag-default', use regexp that
822 matches tag at point. Also update docstring (Bug#13687).
824 2013-02-16 Eli Zaretskii <eliz@gnu.org>
826 * autorevert.el (auto-revert-notify-add-watch): With 'w32notify',
827 add watch for the file, not its parent directory, since w32notify
828 sets up the watch for the directory internally. (Bug#13725)
830 2013-02-16 Glenn Morris <rgm@gnu.org>
832 * image.el (image-default-frame-delay): New variable.
833 (image-animated-p): Use image-default-frame-delay.
834 (image-minimum-frame-delay): New constant.
835 (image-animate-timeout): Use image-minimum-frame-delay.
837 * image.el (image-nth-frame): New, split from image-animate-timeout.
838 (image-animate-timeout): Use image-nth-frame.
839 * image-mode.el (image-goto-frame, image-next-frame)
840 (image-previous-frame): New commands.
841 (image-mode-map): Add new frame commands.
843 2013-02-16 Jonas Bernoulli <jonas@bernoul.li>
845 * emacs-lisp/tabulated-list.el (tabulated-list-print-col):
846 If col-desc already has help-echo, use it. (Bug#13563)
848 2013-02-16 Glenn Morris <rgm@gnu.org>
850 * image.el (image-current-frame): New variable.
851 (image-animate-timeout): Set image-current-frame.
852 * image-mode.el (image-mode): For animated images,
853 display a frame counter via mode-line-process.
855 * font-lock.el (lisp-font-lock-keywords-1): Add defvar-local.
857 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
859 * simple.el (eval-expression): Let `exp' set the mark (bug#13724).
861 2013-02-15 Alan Mackenzie <acm@muc.de>
863 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): When a
864 global minor mode has been enabled, call the minor mode function
865 for a new buffer once only, after the major mode hook, whilst
866 allowing that hook explicitly to disable the minor mode.
867 (MODE-disable-in-buffer): New (generated) function.
868 (disable-MODE): New (generated) buffer local variable.
870 2013-02-15 Jambunathan K <kjambunathan@gmail.com>
872 * iswitchb.el (iswitchb-read-buffer): Bind `C-.' and `C-,' to
873 `iswitchb-next-match' and `iswitchb-prev-match' resply.
874 * ido.el (ido-init-completion-maps): Bind `C-.' and `C-,' to
875 `ido-next-match' and `ido-prev-match' resply.
876 * icomplete.el (icomplete-minibuffer-map): Unbind `C-s' and `C-r'.
877 Bind `C-.' and `C-,' to `icomplete-forward-completions' and
878 `icomplete-backward-completions' (Bug#13708).
880 2013-02-15 Glenn Morris <rgm@gnu.org>
882 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
884 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
886 * net/goto-addr.el (goto-address-fontify): Add start and end args.
887 (goto-address-fontify-region): Use them instead of narrowing, so
888 syntax-ppss has access to the whole buffer.
890 2013-02-15 Fabián Ezequiel Gallina <fgallina@cuca>
892 * progmodes/python.el: Explain how to restore "cc-mode"-like
893 forward-sexp movement in header documentation (Bug#13642).
894 (python-nav--forward-sexp): Behave like emacs-lisp-mode in
895 comments and strings (GH bug 114).
897 2013-02-15 Fabián Ezequiel Gallina <fgallina@cuca>
899 * progmodes/python.el (python-info-current-defun): Fix current
900 defun detection (Bug#13618).
902 2013-02-15 Chong Yidong <cyd@gnu.org>
904 * xml.el (xml-parse-string): Fix typo in handling of bad character
907 2013-02-15 Glenn Morris <rgm@gnu.org>
909 * play/fortune.el (fortune-compile): Simplify and fix previous change.
911 2013-02-14 Michael Albinus <michael.albinus@gmx.de>
913 * net/tramp.el (tramp-debug-message):
914 Add `tramp-condition-case-unless-debug'.
915 (tramp-debug-on-error): New defvar.
916 (tramp-condition-case-unless-debug): New defun.
917 (tramp-file-name-handler): Use it.
919 2013-02-14 Juri Linkov <juri@jurta.org>
921 * info.el (Info-isearch-filter): Treat non-nil values of
922 `search-invisible' including its default value `open'
923 like the value `t' to match hidden text. (Bug#13402)
925 2013-02-14 Glenn Morris <rgm@gnu.org>
927 * help-fns.el (find-lisp-object-file-name): Give special treatment
928 to all ~/.foo.elc files, not just ~/.emacs. (Bug#9007)
930 2013-02-14 David Biesack <sasdjb@d72933.na.sas.com> (tiny change)
932 * net/quickurl.el (quickurl-save-urls):
933 Ensure quickurl-urls is not truncated on printing. (Bug#9276)
935 2013-02-14 Dmitry Gutov <dgutov@yandex.ru>
937 * progmodes/ruby-mode.el (ruby-parse-partial): Don't increase
938 depth for unfinished percent literal. Not using it in the caller.
939 (ruby-move-to-block): Jump over multiline literals of all types,
940 ignoring code-looking contents inside them.
941 (ruby-add-log-current-method): Improve performance at the expense
942 of accuracy. `ruby-block-contains-point' is relatively slow, so
943 only use it for method and singleton class blocks.
945 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
947 Use ControlMaster where applicable. (Bug#13677)
949 * net/tramp.el (tramp-ssh-controlmaster-template): New defvar,
950 replacing `tramp-detect-ssh-controlmaster'.
951 (tramp-default-method): Use it.
953 * net/tramp-sh.el (tramp-methods) [scp, scp1, scp2, scpx, sftp]:
954 [rsync, ssh, ssh1, ssh2, sshx]: Add ControlPath and ControlMaster
956 [scpc, rsyncc]: Remove methods.
957 (top): Remove completion functions for "scpc", "rsyncc", "ssh1_old"
959 (tramp-do-copy-or-rename-file-out-of-band): Change trace level.
960 (tramp-maybe-open-connection): Reuse tmpfile for ControlPath.
962 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
964 * emacs-lisp/package.el (package--initialized): Move before first use.
966 2013-02-13 Jambunathan K <kjambunathan@gmail.com>
968 * icomplete.el (icomplete-hide-common-prefix): New user option.
969 (icomplete-first-match): New face.
970 (icomplete-completions): Correct handling of "complete but not
973 2013-02-13 YE Qianchuan <stool.ye@gmail.com> (tiny change)
975 * descr-text.el (describe-char): Display the script (bug#13698).
977 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
979 * tmm.el: Use lexical-binding and current-active-maps.
980 (tmm-menubar): Use map-keymap and pcase.
981 (tmm--completion-table): New function.
982 (tmm-prompt): Use it to fix the menu order.
983 (tmm-get-keybind): Use current-active-maps.
985 2013-02-12 Christopher Schmidt <christopher@ch.ristopher.com>
987 Add dired-hide-details-mode. (Bug#6799)
989 * locate.el (locate-mode): Set parent mode property to dired-mode.
991 * find-dired.el (find-dired): Call dired-insert-set-properties on
992 initial information line. Set process mark on end of buffer.
993 (find-dired-sentinel):
994 Call dired-insert-set-properties on summary.
996 * dired.el (dired-hide-details-hide-symlink-targets)
997 (dired-hide-details-hide-information-lines): New options.
998 (dired-insert-directory):
999 Set properties after final treatment of output.
1000 (dired-insert-set-properties):
1001 Set dired-hide-details-* properties.
1002 (dired-mode-map): Bind dired-hide-details-mode.
1003 (dired-mode): Set buffer-invisibility-spec to a list.
1004 (dired-next-line): Skip hidden lines.
1005 (dired-previous-line): Use dired-next-line.
1006 (dired-hide-details-mode): New minor mode.
1007 (dired-hide-details-update-invisibility-spec): New function.
1009 2013-02-13 Glenn Morris <rgm@gnu.org>
1011 * play/yow.el: Move to obsolete/. (Bug#9384)
1013 2013-02-13 Juri Linkov <juri@jurta.org>
1015 * vc/ediff-util.el (ediff-recenter): Use `select-frame-set-input-focus'
1016 to select `ediff-control-frame' and set input focus correctly on Xfce.
1019 2013-02-13 Juri Linkov <juri@jurta.org>
1021 * image-mode.el (image-mode-map):
1022 * doc-view.el (doc-view-mode-map):
1023 * vc/ediff-util.el (ediff-setup-keymap):
1024 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
1026 2013-02-13 Dmitry Gutov <dgutov@yandex.ru>
1028 * progmodes/ruby-mode.el (ruby-move-to-block): Improve
1029 performance. Instead of recalculating indentation fully for each
1030 line, sum up indentation depth based only on visited lines.
1031 (ruby-parse-partial): Increase the depth after "do" even when END
1033 (ruby-parse-partial): When END is in the middle of a percent
1034 literal, increase the depth if the delimiter chars belong to the
1037 2013-02-13 Kirill A. Korinskiy <catap@catap.ru>
1039 * play/fortune.el (fortune-compile): Also make the compiled file
1040 if it does not exist at all, not just if it is old. (Bug#5338)
1042 2013-02-13 Glenn Morris <rgm@gnu.org>
1044 * emacs-lisp/package.el (package-menu-execute): Doc fix.
1046 2013-02-13 Yves Baumes <ybaumes@gmail.com> (tiny change)
1048 * lisp/emacs-lisp/package.el (package-menu-execute):
1049 Add optional noquery argument. (Bug#13625)
1051 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
1053 * net/ange-ftp.el (ange-ftp-make-directory): Don't raise an error,
1054 if DIR exists and PARENTS is non-nil.
1056 2013-02-13 Juanma Barranquero <lekktu@gmail.com>
1058 * progmodes/js.el (js--multi-line-declaration-indentation):
1059 Silence byte-compiler warning.
1061 2013-02-12 Michael Albinus <michael.albinus@gmx.de>
1063 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Rewrite.
1065 * net/tramp-compat.el (top): Declare `remote-file-name-inhibit-cache'
1066 only if it doesn't exist.
1068 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1071 2013-02-12 Tassilo Horn <tsdh@gnu.org>
1073 * doc-view.el (doc-view-odf->pdf-converter-soffice): Use separate
1074 UserInstallation when calling soffice to work around LibreOffice
1077 2013-02-12 Glenn Morris <rgm@gnu.org>
1079 * files.el (basic-save-buffer):
1080 Offer to create a non-existing directory. (Bug#3016)
1082 * calc/calc-graph.el (calc-graph-show-dumb):
1083 * calendar/calendar.el (calendar-mode-map):
1084 * cus-edit.el (custom-mode-map):
1085 * ehelp.el (electric-help-map):
1086 * emulation/vip.el (vip-mode-map):
1087 * epa.el (epa-key-list-mode-map):
1088 * info.el (Info-mode-map):
1089 * mail/rmail.el (rmail-mode-map):
1090 * mail/rmailsum.el (rmail-summary-mode-map):
1091 * man.el (Man-mode-map):
1092 * net/newst-plainview.el (newsticker-mode-map):
1093 * progmodes/cpp.el (cpp-edit-mode-map):
1094 * progmodes/grep.el (grep-mode-map):
1095 * progmodes/idlw-help.el (idlwave-help-mode-map):
1096 * simple.el (special-mode-map):
1097 * startup.el (splash-screen-keymap):
1098 * view.el (view-mode-map):
1099 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
1101 2013-02-11 Elias Pipping <pipping@lavabit.com>
1103 * doc-view.el (doc-view-current-cache-dir): Beware % escapes
1106 2013-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
1108 * cus-start.el (all): Remove inhibit-local-menu-bar-menus.
1110 2013-02-11 Glenn Morris <rgm@gnu.org>
1112 * vc/diff.el (diff-use-labels): New variable.
1113 (diff-no-select): Use --label rather than -L, and first
1114 check that it is supported. (Bug#11067)
1116 * files.el (enable-dir-local-variables): New variable.
1117 (hack-dir-local-variables): Respect enable-dir-local-variables.
1118 * tutorial.el (help-with-tutorial):
1119 Ignore directory-local variables. (Bug#11127)
1121 * vc/vc-svn.el (vc-svn-command): Move --non-interactive from here...
1122 (vc-svn-global-switches): ... to here. (Bug#13513)
1124 2013-02-10 Christopher Schmidt <christopher@ch.ristopher.com>
1126 * minibuf-eldef.el (minibuffer-default--in-prompt-regexps):
1127 Handle "foo (bar, default: xxx): " prompts.
1129 2013-02-10 Chong Yidong <cyd@gnu.org>
1131 * files.el (basic-save-buffer-1): Do not set
1132 buffer-file-coding-system-explicit (Bug#4533).
1134 * mail/emacsbug.el (report-emacs-bug): Change binding of
1135 report-emacs-bug-insert-to-mailer to C-c M-i (Bug#13510).
1137 2013-02-09 Jay Belanger <jay.p.belanger@gmail.com>
1139 * calc/calc.el (calc-allow-units-as-numbers): New variable.
1140 * calc/calc-units.el (calc-convert-units): Use new variable.
1142 2013-02-09 Eli Zaretskii <eliz@gnu.org>
1144 * subr.el (buffer-file-type, default-buffer-file-type): Remove.
1146 * net/ange-ftp.el (ange-ftp-insert-file-contents): Don't reference
1149 * mail/feedmail.el (feedmail-force-binary-write): Doc fix.
1150 (feedmail-run-the-queue, feedmail-dump-message-to-queue)
1151 (feedmail-send-it-immediately): Don't bind buffer-file-type, bind
1152 coding-system-for-write instead.
1154 * jka-compr.el (jka-compr-write-region): Don't bind
1157 * emacs-lisp/bytecomp.el (byte-compile-file): Don't bind
1160 * files.el (file-name-buffer-file-type-alist): Remove defvar.
1161 (insert-file-contents-literally): Remove reference to
1162 file-name-buffer-file-type-alist.
1164 * dos-w32.el (file-name-buffer-file-type-alist): Deprecate and
1166 (find-buffer-file-type-match, find-buffer-file-type): Remove.
1167 (find-buffer-file-type-coding-system): Remove references to
1168 find-buffer-file-type-match, find-buffer-file-type, and
1170 Don't put find-buffer-file-type-coding-system into
1171 file-coding-system-alist.
1172 (find-file-binary, find-file-text): Bind coding-system-for-read
1173 instead of file-name-buffer-file-type-alist.
1175 2013-02-09 Jambunathan K <kjambunathan@gmail.com>
1177 * doc-view.el: Use (and prefer) soffice as default ODF->PDF
1178 converter (Bug#13622).
1179 (doc-view-unoconv-program): Make obsolete alias.
1180 (doc-view-odf->pdf-converter-program): New variable.
1181 (doc-view-odf->pdf-converter-function): New variable.
1182 (doc-view-mode-p): Use it.
1183 (doc-view-odf->pdf-converter-unoconv):
1184 Rename from `doc-view-odf->pdf-converter-unoconv'.
1185 (doc-view-odf->pdf-converter-soffice): New function.
1186 (doc-view-convert-current-doc):
1187 Use `doc-view-odf->pdf-converter-function'.
1189 2013-02-09 Chong Yidong <cyd@gnu.org>
1191 * minibuffer.el (minibuffer-inactive-mode-map): Bind mouse-1 to
1192 view-echo-area-messages (Bug#13340).
1194 * help.el (view-echo-area-messages): Use display-buffer.
1196 * dired-x.el (dired-do-run-mail): Prompt for confirmation
1199 2013-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
1201 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
1202 Eval body right away, now that we do eager macroexpansion (bug#13605).
1204 * simple.el (end-of-buffer): Don't touch unrelated windows (bug#13466).
1205 (fundamental-mode): Use run-mode-hooks.
1207 * eshell/esh-proc.el (eshell/kill): Fix last change.
1208 * eshell/em-ls.el (eshell-ls-dir): Fix use of CL in last change.
1210 2013-02-08 Aidan Gauland <aidalgol@no8wireless.co.nz>
1212 * eshell/esh-proc.el (eshell/kill): Rewrite.
1214 * eshell/em-ls.el (show-almost-all): Declare.
1215 (eshell-do-ls): Add support for -A argument.
1217 2013-02-08 Jambunathan K <kjambunathan@gmail.com>
1219 * icomplete.el (icomplete-forward-completions)
1220 (icomplete-backward-completions): Handle corner case (bug#13602).
1222 2013-02-07 Michael Albinus <michael.albinus@gmx.de>
1224 * vc/vc-hooks.el (vc-find-file-hook): `buffer-file-truename' can
1225 be nil. Handle this. (Bug#13636)
1227 2013-02-07 Richard Stallman <rms@gnu.org>
1229 * mail/rmail.el (rmail-variables): Specify `no-conversion' for
1230 `save-buffer-coding-system'.
1232 2013-02-07 Alan Mackenzie <acm@muc.de>
1234 Fix bug in state cache mechanism. Remove 'BOD "strategy". Refactor.
1235 * progmodes/cc-engine.el (c-get-fallback-scan-pos): Remove.
1236 (c-parse-state-get-strategy): Don't return 'BOD any more.
1237 (c-append-lower-brace-pair-to-state-cache):
1238 Extra parameter HERE instead of narrowing.
1239 Widen to top of buffer before searching backwards for a brace pair.
1240 (c-state-push-any-brace-pair): Add HERE parameter to function call.
1241 (c-append-to-state-cache): Extra parameter HERE in place of narrowing.
1242 Narrow to parameter HERE, in place of being called narrowed.
1243 (c-remove-stale-state-cache): Extra parameter HERE in place of
1244 narrowing. Check there's an open brace in the cache before
1245 searching for its match.
1246 (c-invalidate-state-cache-1): Add HERE parameter to function call.
1247 (c-parse-state-1): Don't narrow here for 'forward strategy,
1248 instead passing extra parameter HERE to several functions.
1249 Remove 'BOD strategy.
1251 2013-02-06 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
1253 * emacs-lisp/package.el (describe-package-1): Tell what archive is
1254 used to install the package.
1256 2013-02-06 Glenn Morris <rgm@gnu.org>
1258 * vc/vc-hooks.el (vc-find-file-hook): Don't ask about following links
1259 if we can't get user input. (Bug#6567)
1261 * startup.el (command-line): If simple.el is missing,
1262 test and warn about for some possible causes.
1264 2013-02-05 Jan Djärv <jan.h.d@swipnet.se>
1266 * cus-start.el (all): Add ns-use-native-fullscreen.
1268 2013-02-05 Glenn Morris <rgm@gnu.org>
1270 * profiler.el (profiler-report-mode-map): Add a restart menu entry.
1272 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
1273 Fix directory creation in fallback case.
1275 2013-02-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1277 * vc/vc.el (vc-next-action): Fix inf-loop (bug#13610).
1278 (vc-update-change-log): Use dolist.
1280 2013-02-04 Chong Yidong <cyd@gnu.org>
1282 * thingatpt.el: Rewrite the URL detection routines, absorbing some
1284 (thing-at-point-beginning-of-url-regexp): New var.
1285 (thing-at-point-uri-schemes): Update list of URI schemes.
1286 (thing-at-point-url-regexp): Variable deleted.
1287 (thing-at-point-markedup-url-regexp): Disallow newlines.
1288 (thing-at-point-newsgroup-regexp)
1289 (thing-at-point-newsgroup-heads)
1290 (thing-at-point-default-mail-uri-scheme): New variables.
1291 (thing-at-point-bounds-of-url-at-point): Rewrite. Use ffap's
1292 method to find the possible bounds of the URI at point.
1293 New optional argument to find ill-formed URIs.
1294 (thing-at-point-url-at-point): Rewrite. New arguments for finding
1295 ill-formed URIs. Use thing-at-point-bounds-of-url-at-point, and
1296 the scheme-adding heuristics from ffap-url-at-point.
1297 (thing-at-point--bounds-of-well-formed-url): New function.
1298 Do parens matching to decide whether to include parens in the URI
1301 * ffap.el: Require thingatpt.
1302 (ffap-url-at-point): Delegate URI detection to thing-at-point.
1303 All URI-valid characters are now recognized (Bug#5673).
1304 (ffap-string-at-point): Use use-region-p.
1305 (ffap-url-regexp): Extra character is handled by thing-at-point.
1306 (ffap-string-at-point-mode-alist): Allow parentheses.
1307 (ffap-newsgroup-regexp, ffap-newsgroup-heads, ffap-newsgroup-p):
1308 Convert to aliases; code moved to thingatpt.el.
1309 (ffap-gnus-hook): Use setq-local.
1311 2013-02-04 Glenn Morris <rgm@gnu.org>
1313 * emacs-lisp/ert.el (ert--explain-format-atom):
1314 Don't try to print non-characters as characters. (Bug#13543)
1316 2013-02-03 Michael Albinus <michael.albinus@gmx.de>
1318 * net/tramp.el (tramp-debug-message): Extend function exclude list.
1319 (tramp-backtrace): New defun.
1320 (tramp-handle-insert-file-contents): Use `visit' when inserting
1323 * net/tramp-sh.el (tramp-sh-handle-set-visited-file-modtime):
1324 Use `remote-file-name-inhibit-cache'.
1326 2013-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
1328 * progmodes/cperl-mode.el (cperl-mode): Avoid byte-compile warning
1331 * subr.el (internal--called-interactively-p--get-frame): Avoid filling
1332 current-load-list (bug#13366).
1334 2013-02-02 Christopher Schmidt <christopher@ch.ristopher.com>
1336 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1337 Identify g++ template instantiation trace. (Bug#12287)
1338 (compilation-mode-hook, compilation-start-hook)
1339 (compilation-window-height): Simplify docstrings. (Bug#13379)
1341 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
1343 * mouse.el (mouse-drag-track): Always deactivate the mark before
1344 running the final event's command since that command is in charge of
1345 activating the mark if needed (bug#13523).
1347 2013-02-02 Juri Linkov <juri@jurta.org>
1349 * replace.el (perform-replace): Move let-bindings of isearch-*
1350 variables deeper to the loop that searches for the next match.
1351 Add bindings for `isearch-nonincremental' and `isearch-adjusted'.
1352 Use `isearch-search-fun-default' instead of `isearch-search-fun'.
1355 * isearch.el (isearch-search-fun-default): Check for null
1356 first element of isearch-cmds as a precaution when it's used
1357 with inactive isearch.
1359 2013-02-02 Andrew W. Nosenko <andrew.w.nosenko@gmail.com> (tiny change)
1361 * net/tramp.el (tramp-check-for-regexp): Avoid "Args out of range"
1362 error when buffer in question is narrowed so position 1 is out of
1365 2013-02-02 Glenn Morris <rgm@gnu.org>
1367 * textmodes/remember.el (remember-clipboard): Doc fix.
1369 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
1371 * progmodes/make-mode.el (makefile-fill-paragraph): Reset syntax-table
1372 properties (bug#13179).
1374 2013-02-02 Juri Linkov <juri@jurta.org>
1376 * progmodes/grep.el (grep-regexp-alist): Use variable grep-match-face
1377 instead of hard-coded default face `match'. (Bug#9438)
1379 2012-02-01 Christopher Schmidt <christopher@ch.ristopher.com>
1381 * vc/vc-arch.el (vc-arch-registered):
1382 * vc/vc-bzr.el (vc-bzr-registered):
1383 * vc/vc-cvs.el (vc-cvs-registered):
1384 * vc/vc-git.el (vc-git-registered):
1385 * vc/vc-hg.el (vc-hg-registered):
1386 * vc/vc-mtn.el (vc-mtn-registered):
1387 * vc/vc-svn.el (vc-svn-registered): Suppress load messages.
1390 * info.el (Info-next-reference, Info-prev-reference): Add numeric
1391 prefix argument. (Bug#11656)
1393 2013-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
1395 * help-fns.el (help-split-fundoc): Don't insert byte-compiled body.
1397 2013-02-01 Glenn Morris <rgm@gnu.org>
1399 * vc/vc-hooks.el (vc-menu-map): Disable vc-rollback menu item
1400 if the backend is known not to support it.
1402 * imenu.el (imenu-default-create-index-function):
1403 Tweak infinite loop test to check for forward motion as well as none.
1405 2013-02-01 Alex Harsanyi <AlexHarsanyi@gmail.com>
1407 * net/soap-client.el (soap-invoke): Encode the string for
1408 `url-request-data' as UTF-8.
1409 Fixes <http://code.google.com/p/emacs-soap-client/issues/detail?id=16>.
1411 2013-02-01 Glenn Morris <rgm@gnu.org>
1413 * calc/calc-help.el (calc-view-news): Use view-emacs-news.
1415 * calc/README, calc/README.prev: Rename/merge to etc/CALC-NEWS.
1417 2013-01-31 Michael Albinus <michael.albinus@gmx.de>
1419 * net/tramp.el (tramp-tramp-file-p): Comment check for
1420 `string-as-unibyte'. The function does not exist on XEmacs, and
1421 likely we need another approach.
1423 * net/tramp-sh.el (tramp-compute-multi-hops): Check, whether
1424 `tramp-gw-*' variables are bound.
1426 2013-01-31 Glenn Morris <rgm@gnu.org>
1428 * files.el (basic-save-buffer-2): Choose coding system for
1429 writing the file before backing it up, to reduce delay between
1430 backing up and writing the new version. (Bug#13522)
1432 2013-01-31 Michal Nazarewicz <mina86@mina86.com>
1434 * simple.el (cycle-spacing): New command.
1435 (just-one-space): Use it.
1437 2013-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
1439 * progmodes/opascal.el: Rename from delphi.el. Use lexical-binding.
1440 (opascal-newline-always-indents): Remove custom.
1441 (opascal-tab, opascal-newline): Remove commands.
1442 (opascal-new-comment-line): Insert "\n" instead of calling newline.
1443 (opascal-mode-map): Keep default bindings for RET and TAB and DEL.
1444 (opascal-save-match-data): Remove, use save-match-data instead.
1445 (opascal-save-state): Use with-silent-modifications.
1447 * progmodes/pascal.el (pascal-mode-syntax-table): Accept //..\n comments
1450 2013-01-30 Juri Linkov <juri@jurta.org>
1452 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
1453 Use fullboth as an alias for fullscreen. Suggested by Jan Djärv in
1454 <http://lists.gnu.org/archive/html/emacs-devel/2013-01/msg00203.html>.
1456 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
1458 * progmodes/make-mode.el (makefile-backslash-region): Don't compute
1459 column if we're just deleting the backslashes.
1460 (makefile-fill-paragraph): Use eolp.
1462 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
1464 * autorevert.el (auto-revert-use-notify): Fix docstring.
1466 2013-01-30 Leo Liu <sdl.web@gmail.com>
1468 * imenu.el (imenu--truncate-items): Fix subalist checking (bug#13576).
1470 2013-01-30 Glenn Morris <rgm@gnu.org>
1472 * mouse.el (mouse-drag-line): Avoid pushing same event onto
1473 unread-command-events twice in some cases. This tries to implement
1474 the 2012-07-26 changes in a different way. (Bug#13560)
1476 2013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
1478 * progmodes/python.el
1479 (python-pdbtrack-comint-output-filter-function): Enhancements on
1480 stacktrace detection. (thanks @gnovak)
1482 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
1484 * jit-lock.el (jit-lock-stealth-chunk-start): Don't widen (bug#13542).
1485 (jit-lock-mode, jit-lock-functions, jit-lock-context-unfontify-pos):
1487 (jit-lock-register): Use setq-local.
1489 2013-01-30 Jay Belanger <jay.p.belanger@gmail.com>
1491 * calc-units.el (math-default-units-table): Remove initial value.
1492 (calc-convert-units): Treat expressions where all the units cancel as
1493 if they didn't have units.
1495 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
1497 * net/tramp.el (tramp-process-connection-type): Fix docstring.
1498 (tramp-completion-reread-directory-timeout): Fix type.
1499 (tramp-connection-min-time-diff): New defcustom.
1501 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
1503 2013-01-30 Glenn Morris <rgm@gnu.org>
1505 * imenu.el (imenu-default-create-index-function):
1506 Put back a version of the infinite loop test removed 2013-01-23.
1508 2013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
1510 * progmodes/python.el (python-shell-parse-command):
1511 Find python-shell-interpreter with modified environment.
1513 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
1515 * emacs-lisp/cl.el (cl-set-getf): Add compatibility alias.
1517 2013-01-29 Alan Mackenzie <acm@muc.de>
1519 Amend to fontify /regexp/s in actions correctly.
1520 * cc-awk.el (c-awk-harmless-char-re, c-awk-harmless-string*-re):
1521 (c-awk-harmless-string*-here-re): Braces, parens and semicolons
1522 are no longer included.
1523 (c-awk-harmless-line-char-re, c-awk-harmless-line-string*-re):
1524 What used to be these variables without "-line" in the name.
1525 (c-awk-neutral-re): { is no longer neutral. Escaped newlines now are.
1526 (c-awk-non-arith-op-bra-re): Now also matches {.
1527 (c-awk-pre-exp-alphanum-kwd-re): New regexp to match "print",
1528 "return", and "case".
1529 (c-awk-kwd-regexp-sign-re): New, to match "print", etc., followed
1531 (c-awk-syntax-tablify-/): Check special cases "print /re/", etc.
1532 (c-awk-set-syntax-table-properties): Extend FSM to handle {,},(,),;.
1534 2013-01-29 Michael Albinus <michael.albinus@gmx.de>
1536 * autorevert.el (auto-revert-use-notify):
1537 Use `custom-initialize-default' for initialization. (Bug#13583)
1539 * net/ange-ftp.el (ange-ftp-skip-msgs): Add another message.
1541 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1542 Catch `suppress'. Otherwise, `tramp-run-real-handler' might be called
1543 in `tramp-file-name-handler'.
1544 (tramp-gw-tunnel-method, tramp-gw-socks-method): Declare for
1546 (tramp-compute-multi-hops): Check, whether
1547 `tramp-gw-tunnel-method' and `tramp-gw-socks-method' are non-nil.
1549 2013-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
1551 * hi-lock.el (hi-lock-unface-buffer): Don't assume `face' is a symbol
1554 2013-01-27 Dmitry Gutov <dgutov@yandex.ru>
1556 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove some
1557 checks made superfluous by the \_< operator.
1558 * progmodes/ruby-mode.el (ruby-move-to-block): Work with (maybe
1559 temporarily) broken indentation.
1560 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1561 Highlight nested constants, too. \_< broke that.
1563 2013-01-27 Nobuyoshi Nakada <nobu@ruby-lang.org>
1565 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Use "\\_<"
1568 2013-01-27 Michael Albinus <michael.albinus@gmx.de>
1570 * autorevert.el (auto-revert-handler): Notifications which result
1571 from a saved file shall not be taken into account. (Bug#13557)
1573 2013-01-26 Andreas Schwab <schwab@linux-m68k.org>
1575 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Add optional
1576 parameter BAR-NOT-SYMBOL to control syntax of | for font-lock.
1577 (lisp-mode): Pass t for it. (Bug#13556)
1579 2013-01-25 Alan Mackenzie <acm@muc.de>
1581 AWK Mode: Fix indentation bug at top level. Bug #12274.
1583 * progmodes/cc-engine.el (c-guess-basic-syntax): Move CASE 5P to
1584 just before CASE 5D.
1586 2013-01-25 Dmitry Antipov <dmantipov@yandex.ru>
1588 * net/socks.el (socks-nslookup-host): Use string-to-number.
1590 2013-01-25 Michael Albinus <michael.albinus@gmx.de>
1592 * autorevert.el (auto-revert-remote-files)
1593 (auto-revert-notify-exclude-dir-regexp): New defcustoms.
1594 (auto-revert-notify-enabled, auto-revert-use-notify)
1595 (auto-revert-notify-watch-descriptor-hash-list)
1596 (auto-revert-notify-modified-p, auto-revert-notify-event-p)
1597 (auto-revert-notify-event-descriptor)
1598 (auto-revert-notify-event-action)
1599 (auto-revert-notify-event-file-name): Doc fix.
1600 (global-auto-revert-mode): Reorder checks.
1601 (auto-revert-notify-rm-watch): Respect changed values of
1602 `auto-revert-notify-watch-descriptor-hash-list'.
1603 (auto-revert-notify-add-watch): Check for
1604 `auto-revert-notify-exclude-dir-regexp'. Adapt filters for
1605 `inotify-add-watch'. Watch `default-directory' instead of
1606 `buffer-file-name'. `auto-revert-notify-watch-descriptor-hash-list'
1607 has a changed meaning now. (Bug#13540)
1608 (auto-revert-notify-handler): Change implementation wrt events
1609 returning from a directory.
1610 (auto-revert-handler): Reorder implementation for checks of remote
1612 (auto-revert-buffers): Fix parentheses error.
1614 2013-01-25 Fabián Ezequiel Gallina <fgallina@cuca>
1616 * progmodes/python.el: Enhancements to header documentation about
1617 skeletons. (Bug#5716)
1619 * imenu.el (imenu-default-create-index-function): Remove useless
1620 infinite loop check. (Bug#13438)
1622 2013-01-25 Alan Mackenzie <acm@muc.de>
1624 Fix a bug in the state cache mechanism. Refactor this a bit.
1626 * progmodes/cc-engine.el (c-parse-state-get-strategy): Remove the
1627 `cache-pos' element from the return value.
1628 (c-append-lower-brace-pair-to-state-cache): "Narrow" to end of
1629 buffer to enable proper searching from beyond HERE. Amend the
1630 test for detecting the sought brace pair. Amend the value written
1631 to the "brace desert cache" when the brace isn't found.
1632 (c-remove-stale-state-cache): Rename `good-pos' to `start-point',
1633 and several other variables analogously.
1634 (c-remove-stale-state-cache-backwards): Change `cache-pos' from a
1635 parameter to a locally calculated variable.
1636 (c-parse-state-1): Change the calling conventions to the two
1637 defuns involving `cache-pos'.
1639 2013-01-25 Chong Yidong <cyd@gnu.org>
1641 * xml.el (xml-entity-or-char-ref-re): Fix regexp.
1643 2013-01-24 Aaron Ecay <aaronecay@gmail.com> (tiny change)
1645 * paren.el (show-paren-function): Make sure to set 'priority and
1646 'face only if the overlay does exist.
1648 2013-01-24 Michael Albinus <michael.albinus@gmx.de>
1650 * net/tramp.el (tramp-tramp-file-p): Check, whether NAME is unibyte.
1652 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Do not suppress
1654 (tramp-sh-handle-set-file-acl): Improve error checking.
1656 2013-01-24 Dmitry Antipov <dmantipov@yandex.ru>
1658 * doc-view.el (doc-view-display): Force mode line update until all
1659 document is converted. Suggested by Stefan Monnier (Bug#13164).
1661 2013-01-23 Bastien Guerry <bzg@gnu.org>
1663 * paren.el (show-paren-function): Make sure an overlay exists
1664 before trying to delete it. Also use `pos' as a position only
1665 when it is an integer.
1667 2013-01-23 Dmitry Antipov <dmantipov@yandex.ru>
1669 * play/gametree.el (gametree-break-line-here): Use point-marker.
1671 2013-01-22 Michael Albinus <michael.albinus@gmx.de>
1673 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
1674 Mark descriptive parts with `display' property.
1676 2013-01-21 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1678 * textmodes/ispell.el (ispell-hunspell-dictionary-equivs-alist):
1679 New variable to map standard dict names to hunspell ones.
1680 (ispell-set-spellchecker-params): Make sure specific dict names
1681 are used for standard dicts with hunspell.
1683 2013-01-21 Tassilo Horn <tsdh@gnu.org>
1685 * textmodes/reftex-cite.el (reftex-format-citation): Add format
1686 chars for note (%N) and url (%U).
1687 * textmodes/reftex-vars.el (reftex-cite-format): Document them.
1689 2013-01-21 Juri Linkov <juri@jurta.org>
1691 * frame.el: Bind `f10' in `esc-map' to `toggle-frame-maximized'
1692 in addition to existing separate binding `meta f10' in `global-map'.
1695 2013-01-21 Michael Albinus <michael.albinus@gmx.de>
1697 Improve XEmacs compatibility.
1699 * net/tramp.el (tramp-replace-environment-variables): Make it a defun.
1701 * net/tramp-adb.el (top): Require `time-date'.
1702 (tramp-adb-ls-output-time-less-p): Use `tramp-time-less-p'.
1703 (tramp-adb-handle-copy-file, tramp-adb-handle-rename-file):
1704 Use `tramp-file-name-handler'.
1705 (tramp-adb-maybe-open-connection):
1706 Use `tramp-compat-set-process-query-on-exit-flag'.
1708 * net/tramp-sh.el (tramp-sh-handle-file-acl):
1709 Use `tramp-compat-funcall'.
1711 * net/tramp-smb.el (tramp-smb-handle-file-acl): Use `looking-at' and
1712 `tramp-compat-funcall'.
1714 2013-01-21 Jürgen Hötzel <juergen@archlinux.org>
1716 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Complete
1717 reimplementation using "adb shell command ..." instead of running
1718 remote shell interactively.
1720 2013-01-20 Glenn Morris <rgm@gnu.org>
1722 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
1723 Add native profiler menu entries.
1725 * profiler.el (profiler-running-p): New function.
1726 (profiler-cpu-profile): Use profiler-running-p.
1727 (profiler-report-mode-map): Add some more menu entries.
1729 2013-01-19 Glenn Morris <rgm@gnu.org>
1731 * mail/unrmail.el (unrmail): Do not mangle the mbox From line;
1732 fixes 2012-12-07 change. (Bug#13499)
1734 2013-01-19 Leo Liu <sdl.web@gmail.com>
1736 * dired.el (dired-get-marked-files): Prune erroneous values due to
1737 last change. (Bug#13152)
1739 2013-01-19 Glenn Morris <rgm@gnu.org>
1741 * progmodes/etags.el (tags-table-check-computed-list):
1742 Preserve point in tags buffer. (Bug#13412)
1744 * emacs-lisp/lisp-mode.el (lisp-indent-function): Doc fix.
1746 2013-01-19 Christian Wittern <cwittern@gmail.com> (tiny change)
1747 Chong Yidong <cyd@gnu.org>
1749 * image-mode.el (image-next-file, image-previous-file):
1750 New commands (Bug#8453).
1751 (image-mode-map): Bind them to n and p.
1752 (image-mode--images-in-directory): New helper function.
1754 2013-01-19 Chong Yidong <cyd@gnu.org>
1756 * image-mode.el (image-mode-fit-frame): Add a frame argument.
1757 Suggested by Drew Adams (Bug#7730). Handle window decorations;
1758 save and restore the old window configuration.
1760 2013-01-18 Leo Liu <sdl.web@gmail.com>
1762 * progmodes/js.el: Tweak autoload cookie for alias.
1764 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
1766 * autorevert.el (auto-revert-notify-watch-descriptor): Make it
1767 buffer local, again. This was lost with the fix on 2013-01-12.
1769 2013-01-17 Jürgen Hötzel <juergen@archlinux.org>
1771 * eshell/esh-util.el (eshell-path-env): Make it buffer local, in
1772 order to support several eshell buffers in parallel.
1774 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
1776 * autorevert.el (auto-revert-use-notify): In the :set function, do
1777 not modify `kill-buffer-hook'.
1778 (auto-revert-notify-rm-watch):
1779 Remove `auto-revert-notify-rm-watch' from `kill-buffer-hook'.
1780 (auto-revert-notify-add-watch): Do not call
1781 `auto-revert-notify-rm-watch', but add it to a buffer local
1784 2013-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
1786 * emacs-lisp/trace.el (trace--read-args): Use a closure and an honest
1787 call to `eval' rather than a backquoted lambda.
1789 2013-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
1791 * emacs-lisp/nadvice.el (advice--tweak): Make it possible for `tweak'
1792 to return an explicit nil.
1793 (advice--remove-function): Change accordingly.
1795 * emacs-lisp/advice.el (ad-preactivate-advice): Adjust the cleanup to
1796 the use of nadvice.el.
1798 * progmodes/which-func.el (which-function): Silence imenu errors
1801 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
1803 * progmodes/sql.el: (sql-imenu-generic-expression):
1804 (sql-mode-font-lock-object-name): Match schema qualified names.
1805 (sql-connect): Use string keys.
1806 (sql-product-interactive): Wait for interpreter prompt.
1807 (sql-comint-oracle): Set process coding based on NLS_LANG.
1809 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
1811 * progmodes/sql.el (sql-output-to-send): Remove, unused.
1812 (sql-interactive-remove-continuation-prompt):
1813 (sql-send-magic-terminator, sql-interactive-mode): Remove references.
1815 2013-01-14 Leo Liu <sdl.web@gmail.com>
1817 * calendar/calendar.el (calendar-redraw): Sync window-point and point.
1820 2013-01-14 Glenn Morris <rgm@gnu.org>
1822 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1823 Fix interpretation of gnu line.col1-col2 format. (Bug#13335)
1825 2013-01-13 Fabián Ezequiel Gallina <fgallina@cuca>
1827 * progmodes/python.el (python-nav-end-of-statement):
1828 Fix cornercase when handling multiline strings.
1830 2013-01-13 Richard Stallman <rms@gnu.org>
1832 * mail/sendmail.el (mail-position-on-field): Add doc string.
1834 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
1835 Get current message boundaries and pass them to
1836 message-forward-make-body-mime. Minor style changes.
1838 2013-01-13 Eli Zaretskii <eliz@gnu.org>
1840 * cus-start.el (all): Avoid warnings about
1841 scroll-bar-adjust-thumb-portion on platforms where it is not defined.
1843 2013-01-11 Jan Djärv <jan.h.d@swipnet.se>
1845 * cus-start.el (all): Add scroll-bar-adjust-thumb-portion.
1847 2013-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
1849 * jit-lock.el (jit-lock-debug-mode): New minor mode.
1850 (jit-lock--debug-fontifying): New var.
1851 (jit-lock--debug-fontify): New function.
1852 * subr.el (condition-case-unless-debug): Don't prevent catching the
1853 error, just let the debbugger run.
1854 * emacs-lisp/timer.el (timer-event-handler): Don't prevent debugging
1855 timer code and don't drop errors silently.
1857 2013-01-12 Michael Albinus <michael.albinus@gmx.de>
1859 * autorevert.el (auto-revert-notify-watch-descriptor): Give it
1860 `permanent-local' property.
1861 (auto-revert-notify-handler): Use `file-equal-p'.
1863 2013-01-12 Eli Zaretskii <eliz@gnu.org>
1865 * autorevert.el (auto-revert-notify-handler): Fix filtering of
1866 file notification by ACTION. For filtering by file name, compare
1867 only the non-directory part of the file name.
1869 2013-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
1871 * autorevert.el: Use cl-lib instead of cl.
1873 * vc/vc-bzr.el (vc-bzr--sanitize-header): New function (bug#13307).
1874 (vc-bzr-checkin): Use it.
1875 * vc/log-edit.el (log-edit-extract-headers): Don't presume FUNCTION
1876 will preserve match-data.
1878 2013-01-11 Felix H. Dahlke <fhd@ubercode.de>
1880 * progmodes/js.el: Fix multiline declarations's indentation (bug#8576).
1881 (js--declaration-keyword-re): New var.
1882 (js--multi-line-declaration-indentation): New function.
1883 (js--proper-indentation): Use it.
1885 2013-01-11 Aaron S. Hawley <Aaron.Hawley@vtinfo.com>
1887 * calc/calc.el (calc-highlight-selections-with-faces)
1889 * comint.el (comint-history-isearch-message):
1890 * emacs-lisp/edebug.el (edebug-read, edebug-eval-defun):
1891 * ffap.el (ffap-string-at-point-region, ffap-next)
1892 (ffap-string-at-point, ffap-string-around)
1893 (ffap-copy-string-as-kill, ffap-highlight-overlay)
1895 * font-lock.el (font-lock-keywords-alist)
1896 (font-lock-removed-keywords-alist):
1897 * help-mode.el (help-xref-symbol-regexp):
1898 * info.el (Info-find-emacs-command-nodes):
1899 * international/mule.el (add-to-coding-system-list):
1900 * isearch.el (isearch-message-function, isearch-fail-pos):
1901 * misearch.el (multi-isearch-next-buffer-function):
1902 * newcomment.el (comment-box):
1903 * printing.el (pr-txt-printer-alist, pr-ps-printer-alist)
1904 (pr-setting-database):
1905 * progmodes/cc-fonts.el (c-font-lock-keywords-3)
1906 (c++-font-lock-keywords-3, objc-font-lock-keywords-3)
1907 (java-font-lock-keywords-3, idl-font-lock-keywords-3)
1908 (pike-font-lock-keywords-3):
1909 * progmodes/compile.el (compile):
1910 * progmodes/etags.el (tags-table-files)
1911 (tags-table-files-function, tags-included-tables-function):
1912 * progmodes/gdb-mi.el (gdb, gdb-setup-windows)
1913 (gdb-restore-windows):
1914 * ps-print.el (ps-even-or-odd-pages, ps-spool-buffer-with-faces)
1915 (ps-n-up-filling-database):
1916 * server.el (server-buffer, server-log):
1917 * simple.el (newline, delete-backward-char, delete-forward-char)
1918 (minibuffer-history-isearch-message, kill-line, track-eol)
1919 (temporary-goal-column):
1920 * textmodes/flyspell.el (flyspell-mark-duplications-flag)
1921 (flyspell-default-deplacement-commands):
1922 * textmodes/ispell.el (ispell-accept-output):
1923 * textmodes/sgml-mode.el (html-tag-help):
1924 * vc/compare-w.el (compare-ignore-whitespace)
1925 (compare-ignore-case, compare-windows-dehighlight):
1926 * vc/diff.el (diff):
1927 * whitespace.el (whitespace-point)
1928 (whitespace-font-lock-refontify, whitespace-bob-marker)
1929 (whitespace-eob-marker): Fix ambiguous doc string cross-reference(s).
1931 2013-01-11 Michael Albinus <michael.albinus@gmx.de>
1933 * autorevert.el (top): Require 'cl in order to pacify byte compiler.
1934 (auto-revert-notify-rm-watch): Ignore errors.
1935 (auto-revert-notify-add-watch): Ignore errors. Use '(modify) for
1936 inotify, and '(size last-write-time) for w32notify.
1937 Set buffer-local `auto-revert-use-notify' to nil when adding a file
1938 watch fails - this is a fallback to the file modification check.
1939 (auto-revert-notify-event-p, auto-revert-notify-event-descriptor)
1940 (auto-revert-notify-event-action)
1941 (auto-revert-notify-event-file-name): New defuns.
1942 (auto-revert-notify-handler): Use them. Implement first
1943 plausibility checks.
1944 (auto-revert-handler): Handle also `auto-revert-tail-mode'.
1946 2013-01-11 Julien Danjou <julien@danjou.info>
1948 * color.el (color-rgb-to-hsv): Fix conversion computing in case min and
1949 max are almost equal. Also return the correct value for V which is
1950 already between 0 and 1.
1952 2013-01-11 Dmitry Antipov <dmantipov@yandex.ru>
1954 * emacs-lisp/ert.el (ert-run-test): Use point-max-marker.
1956 2013-01-11 Eli Zaretskii <eliz@gnu.org>
1958 * autorevert.el (auto-revert-notify-rm-watch)
1959 (auto-revert-notify-add-watch): Fix typos in w32notify function
1962 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
1964 * autorevert.el (auto-revert-notify-enabled): Move up.
1965 (auto-revert-use-notify): New defcustom.
1966 (auto-revert-mode, global-auto-revert-mode)
1967 (auto-revert-notify-add-watch, auto-revert-handler)
1968 (auto-revert-buffers): Use `auto-revert-use-notify' instead of
1969 `auto-revert-notify-enabled'.
1971 2013-01-10 Elias Pipping <pipping@exherbo.org>
1973 * files.el (auto-mode-alist): Use doc-view for djvu files (bug#13164).
1974 * doc-view.el (doc-view-document->bitmap):
1975 Use doc-view-single-page-converter-function instead of
1976 single-page-converter arg; adjust callers.
1978 2013-01-10 Feng Li <fengli@gmail.com> (tiny change)
1980 * progmodes/which-func.el (which-function): Understand Semantic's use
1981 of overlays in imenu--index-alist.
1983 2013-01-10 Wolfgang Jenkner <wjenkner@inode.at>
1985 * man.el: Handle different "man -k" behaviors (bug#13160). Use utf-8.
1986 (Man-man-k-use-anchor): New var.
1987 (Man-parse-man-k): New function.
1988 (Man-completion-table): Use it.
1989 (man): Flush the completion cache between uses.
1991 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
1993 * autorevert.el: Add file watch support.
1994 (auto-revert-notify-enabled): New defconst.
1995 (auto-revert-notify-watch-descriptor-hash-list)
1996 (auto-revert-notify-watch-descriptor)
1997 (auto-revert-notify-modified-p): New defvars.
1998 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
1999 (auto-revert-notify-handler): New defuns.
2000 (auto-revert-mode, global-auto-revert-mode): Remove file watches
2001 when mode is disabled.
2002 (auto-revert-handler): Check for `auto-revert-notify-modified-p'.
2003 (auto-revert-buffers): Add file watches for active buffers.
2005 2013-01-10 Dmitry Antipov <dmantipov@yandex.ru>
2007 * cus-start.el (toplevel): Only allow float values for
2008 scroll-up-aggressively and scroll-down-aggressively.
2009 Allow any number for line-spacing.
2011 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
2013 * doc-view.el (doc-view-pdfdraw-program): Allow "pdfdraw" name.
2014 (doc-view-pdf->png-converter-function): Use mupdf if available.
2015 (doc-view-djvu->png-converter-function)
2016 (doc-view-ps->png-converter-function): Remove.
2017 (doc-view--image-file-pattern): Replace doc-view--image-file-extension.
2018 (doc-view-goto-page, doc-view-convert-current-doc, doc-view-display)
2019 (doc-view-already-converted-p): Adjust accordingly.
2020 (doc-view-mode-p): Simplify.
2021 (doc-view-enlarge): Use setq-local.
2022 (doc-view-pdf->png-converter-ghostscript)
2023 (doc-view-djvu->png-converter-ddjvu)
2024 (doc-view-pdf->png-converter-mupdf): Rework to call
2025 doc-view-start-process directly.
2026 (doc-view-pdf/ps->png): Simplify accordingly.
2027 (doc-view-pdf->png-1, doc-view-djvu->png-1): Remove.
2028 (doc-view-document->bitmap): Rename from doc-view-document->png.
2029 (doc-view-convert-current-doc): Merge pdf and djvu cases.
2030 (doc-view-set-slice-from-bounding-box): Fix completion table.
2031 (doc-view-mode): Use add-hook for after-revert-hook.
2033 2013-01-10 Glenn Morris <rgm@gnu.org>
2035 * emacs-lisp/authors.el (authors-ignored-files)
2036 (authors-valid-file-names, authors-renamed-files-alist):
2037 Add some more entries.
2039 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
2041 * image-mode.el (image-mode-winprops): Don't throw away the fallback
2042 `t' pseudo-window entry.
2044 2013-01-10 Alan Mackenzie <acm@muc.de>
2046 Fix bugs in the c-parse-state mechanism. Reuse some markers
2047 instead of continually generating new ones.
2049 * progmodes/cc-engine.el (c-state-old-cpp-beg-marker)
2050 (c-state-old-cpp-end-marker): New variables.
2051 (c-append-lower-brace-pair-to-state-cache): Start a backward
2052 search for "}" definitively outside CPP constructs.
2053 (c-remove-stale-state-cache): Inform the caller of a need to
2054 search back for a brace pair in certain circumstances.
2055 (c-state-maybe-marker): New macro.
2056 (c-parse-state): Reuse markers when appropriate.
2058 2013-01-10 Glenn Morris <rgm@gnu.org>
2060 * simple.el (execute-extended-command): Doc fix.
2061 Bind prefix-arg around read-extended-command, for prompt. (Bug#13395)
2063 2013-01-10 Chong Yidong <cyd@gnu.org>
2065 * faces.el (read-face-name): Doc fix.
2067 2013-01-10 Roland Winkler <winkler@gnu.org>
2069 * emacs-lisp/crm.el: Allow any regexp for separators.
2070 (crm-default-separator): All spaces around the default comma separator.
2071 (crm--completion-command): New macro.
2072 (crm-completion-help, crm-complete, crm-complete-word): Use it.
2073 (crm-complete-and-exit): Handle non-single-char separators.
2075 2013-01-09 Elias Pipping <pipping@lavabit.com>
2077 * doc-view.el: Add support for DjVu (bug#13164).
2078 (doc-view-djvu->png-converter-function): New config var.
2079 (doc-view-single-page-converter-function, doc-view--image-type)
2080 (doc-view--image-file-extension): New vars.
2081 (doc-view-mode): Initialize them.
2082 (doc-view-goto-page): Use them.
2083 (doc-view-mode-p): Add support for ddjvu.
2084 (doc-view-djvu->png-converter-ddjvu, doc-view-djvu->png-1)
2085 (doc-view-set-up-single-converter): New funs.
2086 (doc-view-pdf/ps->png): Extend for djvu.
2087 (doc-view-document->png): Rename from doc-view-pdf->png.
2088 (doc-view-convert-current-doc): Handle djvu.
2089 (doc-view-insert-image, doc-view-display)
2090 (doc-view-already-converted-p): Don't hardcode png.
2091 (doc-view-set-doc-type): Recognize djvu docs.
2093 2013-01-09 Elias Pipping <pipping@lavabit.com>
2095 * doc-view.el: Add support for mupdf converter (bug#13164).
2096 (doc-view-pdfdraw-program, doc-view-pdf->png-converter-function)
2097 (doc-view-ps->png-converter-function): New config vars.
2098 (doc-view-pdf->png-converter-ghostscript)
2099 (doc-view-ps->png-converter-ghostscript)
2100 (doc-view-pdf->png-converter-mupdf): New functions.
2101 (doc-view-pdf/ps->png, doc-view-pdf->png-1): Use them.
2103 2013-01-09 Jürgen Hötzel <juergen@archlinux.org>
2105 * net/tramp.el (tramp-eshell-directory-change): Check remote-path
2106 first in session cache: When `tramp-own-remote-path' is in
2107 `tramp-remote-path', the remote path is only set in the session
2110 2013-01-09 Glenn Morris <rgm@gnu.org>
2112 * emacs-lisp/trace.el (trace-function-foreground)
2113 (trace-function-background): Doc fix.
2115 2013-01-09 Juri Linkov <juri@jurta.org>
2117 * international/mule-cmds.el (read-char-by-name): Move let-binding
2118 of completion-ignore-case around completing-read to fix regression
2119 exhibited by the test case `C-x 8 RET *acc TAB' and caused by
2120 `string-match-p' using the nil value of `case-fold-search' and
2121 `completion-ignore-case' in `completion-pcm--all-completions'.
2124 2013-01-09 Glenn Morris <rgm@gnu.org>
2126 * progmodes/compile.el (compilation-parse-errors):
2127 Fix typo. (Bug#13369)
2129 2013-01-09 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
2131 * comint.el (comint-send-input): Check size of buffer before
2132 waiting for process output, in case already accepted. (Bug#13290)
2134 2013-01-09 Paul Eggert <eggert@cs.ucla.edu>
2137 * net/tramp-adb.el (tramp-adb-get-toolbox):
2138 Fix misspelling of 'unknown'.
2140 2013-01-08 Juri Linkov <juri@jurta.org>
2142 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
2143 * progmodes/flymake.el (flymake-errline, flymake-warnline):
2144 Use underline style wave on terminals that support it. (Bug#13000)
2146 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
2148 * emacs-lisp/pcase.el (pcase--split-equal): Also take advantage if
2149 the predicate returns nil.
2151 * simple.el: Use lexical-binding.
2152 (primitive-undo): Use pcase.
2153 (minibuffer-history-isearch-push-state): Use a closure.
2155 2013-01-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
2157 * simple.el (primitive-undo): Move from undo.c.
2159 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
2161 * vc/pcvs.el (cvs-cleanup-collection): Extend meaning of `rm-handled'.
2162 (cvs-mode-remove-handled): Use it (bug#13380).
2164 * emacs-lisp/nadvice.el (advice--tweak): New function.
2165 (advice--remove-function, advice--subst-main): Use it.
2167 * emacs-lisp/advice.el: Update commentary.
2169 2013-01-08 Michael Albinus <michael.albinus@gmx.de>
2171 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
2172 Remove spurious entry.
2174 2013-01-08 Glenn Morris <rgm@gnu.org>
2176 * net/tramp.el (tramp-default-host-alist): Add :version.
2178 2013-01-08 Juri Linkov <juri@jurta.org>
2180 * info.el (Info-read-node-name-2): Don't duplicate suffixes for
2181 single completion. (Bug#12456)
2182 (info--manual-names): Expand node completions into an explicit list
2183 before appending it to another list. Filter out internal buffers
2184 with the leading space in the buffer name. (Bug#10771)
2186 2013-01-08 Juri Linkov <juri@jurta.org>
2188 * info.el (Info-read-node-name-1): Allow empty node name in (FILENAME)
2189 that defaults to the Top node.
2190 (Info-goto-node, Info-read-node-name): Doc fix to mention that
2191 the short format (FILENAME) goes to the Top node.
2192 (Info-build-node-completions): Rename arg `file' to `filename'.
2195 2013-01-07 Bastien Guerry <bzg@gnu.org>
2197 * menu-bar.el (menu-bar-search-documentation-menu):
2198 Use `apropos-user-option' and fix the help message.
2200 2013-01-07 Bastien Guerry <bzg@gnu.org>
2202 * apropos.el (apropos-do-all): Update docstring.
2203 (apropos-user-option-button): New face.
2204 (apropos-user-option): Rename from `apropos-variable' and update
2206 (apropos-variable): Rewrite, now show all variables by default.
2207 (apropos-print): Mention "User option" instead of "Variable" when
2208 printing doc for user options. (Bug#13276)
2210 2013-01-07 Jürgen Hötzel <juergen@archlinux.org>
2212 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
2213 Handle filename correctly, when parsing "source -> target" symlink
2215 (tramp-adb-handle-set-file-times): New defun.
2217 2013-01-07 Stefan Monnier <monnier@iro.umontreal.ca>
2219 * emacs-lisp/advice.el (ad-activate-advised-definition): Refresh the
2220 advice list when the interactive-spec of ad-Advice-* changes.
2222 2013-01-07 Katsumi Yamaoka <yamaoka@jpl.org>
2224 * wid-edit.el (widget-default-get): Work for inlined elements.
2227 2013-01-07 Michael Albinus <michael.albinus@gmx.de>
2229 * net/tramp.el (tramp-default-host-alist): New defcustom.
2230 (tramp-find-host): Use it.
2231 (tramp-eshell-directory-change): Move from tramp-sh.el. Add to
2232 `eshell-directory-change-hook'.
2234 * net/tramp-adb.el (top): Add adb specific entry in
2235 `tramp-default-host-alist'.
2236 (tramp-adb-file-name-host): Remove function.
2237 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
2238 Use `tramp-file-name-host' instead of `tramp-adb-file-name-host'.
2240 * net/tramp-sh.el: Move eshell integration code to tramp.el.
2242 2013-01-06 Jürgen Hötzel <juergen@archlinux.org>
2244 * net/tramp-adb.el (tramp-methods): Add `tramp-tmpdir' entry.
2246 2013-01-06 Michael Albinus <michael.albinus@gmx.de>
2248 * net/tramp-adb.el (tramp-adb-ls-toolbox-regexp): The file size can
2249 consist of more than one digit.
2250 (tramp-adb-file-name-handler-alist):
2251 Use `tramp-handle-file-exists-p' consistently.
2252 (tramp-adb-file-name-handler): Don't tweak `tramp-default-host'.
2253 (tramp-adb-handle-file-exists-p): Remove function.
2254 (tramp-adb-file-name-host): New defun.
2255 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
2257 (tramp-adb-maybe-open-connection): Set "remote-path" property.
2259 2013-01-06 Chong Yidong <cyd@gnu.org>
2261 * vc/vc.el (vc-next-action): Detect buffer modifications
2262 conflicting with locking VCS operation (Bug#11490).
2264 * vc/vc-hooks.el (vc-after-save): DTRT for locking VCSes.
2266 2013-01-05 Michael Albinus <michael.albinus@gmx.de>
2268 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
2269 (tramp-adb-handle-directory-files-and-attributes): Fix typos.
2271 2013-01-05 Jürgen Hötzel <juergen@archlinux.org>
2273 * net/tramp-adb.el (tramp-adb-handle-file-attributes): More robust
2274 parsing of ls output using regular expression (handle filenames
2275 with spaces). Use virtual device number.
2276 (tramp-do-parse-file-attributes-with-ls): New defun (Code
2279 2013-01-04 Daiki Ueno <ueno@gnu.org>
2281 * epg.el: Silence byte-compiler warnings.
2282 (epg--start): Use delete-char instead of delete-backward-char.
2283 (epg-wait-for-completion): Pass FRAME arg to redraw-frame.
2285 2013-01-04 Daiki Ueno <ueno@gnu.org>
2287 * epg.el (epg--start): Don't call "tty" program on W32 platforms.
2288 Suggested by Eli Zaretskii <eliz@gnu.org>.
2290 2013-01-04 Michael Albinus <michael.albinus@gmx.de>
2292 * net/tramp-sh.el (tramp-set-file-uid-gid): UID and GID must be
2293 non-negative integers. Otherwise, the default values are used.
2294 (tramp-convert-file-attributes): Convert uid and gid to integers.
2296 2013-01-04 Glenn Morris <rgm@gnu.org>
2298 * term.el (term-handle-colors-array): Ensure face attributes
2299 are fully specified, not nil. (Bug#13337)
2301 * term.el (term-default-fg-color, term-default-bg-color):
2304 * progmodes/etags.el (tags-compression-info-list): Doc fix.
2305 (tag-find-file-of-tag-noselect): Check auto-compression-mode
2306 rather than 'jka-compr being loaded. (Bug#13338)
2308 2013-01-04 Wesley Dawson <whd@lavabit.com> (tiny change)
2310 * icomplete.el (icomplete-completions):
2311 Honor icomplete-prospects-height once more following
2312 2012-11-29 changes. (Bug#13224)
2314 2013-01-04 Stefan Monnier <monnier@iro.umontreal.ca>
2316 * subr.el (internal--called-interactively-p--get-frame): Find aliases
2317 of called-interactively-p as well (bug#13237).
2319 * view.el (view--enable, view--disable): Rename from view-mode-enable
2320 and view-mode-disable and assume it's called from view-mode.
2321 (view-mode-enable, view-mode-disable): Redefine as obsolete
2322 compatibility layer above view-mode.
2323 (view-mode-enter): Call `view-mode'.
2325 * files.el (after-find-file): Call `view-mode'.
2327 * doc-view.el (doc-view-scale-internally): New var.
2328 (doc-view-enlarge, doc-view-insert-image): Obey it.
2330 2013-01-03 Daiki Ueno <ueno@gnu.org>
2332 * epg.el (epg--start): Ignore errors when /dev/fd/0 does not
2335 2013-01-03 Glenn Morris <rgm@gnu.org>
2337 * mail/rmail.el (rmail-set-header-1): Ignore case.
2338 Handle multi-line headers. (Bug#13330)
2340 * progmodes/make-mode.el (makefile-fill-paragraph): Add doc.
2341 Handle paragraph starting at beginning of buffer.
2343 * subr.el (eval-after-load): Don't purecopy the form, so that it
2344 can be nconc'd later on; reverts 2009-11-11 change. (Bug#13331)
2346 * emacs-lisp/byte-run.el (defun): Place cl declarations
2347 after any interactive spec. (Bug#13265)
2349 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
2351 * emacs-lisp/byte-run.el (defmacro): Use same argument parsing as
2352 defun. Don't check for DECL if DOCSTRING isn't a string.
2355 2013-01-02 Glenn Morris <rgm@gnu.org>
2357 * eshell/em-cmpl.el (eshell-pcomplete):
2358 More thoroughly imitate pcomplete. (Bug#13293)
2360 * files.el (parse-colon-path): Doc fix. (Bug#12351)
2361 Return nil for empty path elements. (Bug#13296)
2363 2013-01-02 Fabián Ezequiel Gallina <fgallina@cuca>
2365 * progmodes/python.el (python-nav-end-of-statement): Rewrite in
2366 order to improve efficiency (Based on Daniel Colascione's
2367 <dancol@dancol.org> patch). (Bug#13182)
2369 2013-01-02 Glenn Morris <rgm@gnu.org>
2371 * vc/log-edit.el (log-edit-header-contents-regexp): Add doc string.
2373 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
2375 * emacs-lisp/byte-run.el (defmacro): Don't lose final nil if
2376 neither DOCSTRING nor DECL was given. (Bug#13316)
2378 2013-01-02 Michael Albinus <michael.albinus@gmx.de>
2380 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Add argument to
2382 (tramp-do-copy-or-rename-file): Ignore errors when calling
2383 `set-file-extended-attributes'.
2385 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
2386 Add handler for `file-acl'.
2387 (tramp-smb-handle-file-acl): New defun.
2389 2013-01-02 Jay Belanger <jay.p.belanger@gmail.com>
2391 * calc/README: Mention ISO 8601 week-numbering dates.
2393 2013-01-01 Martin Rudalics <rudalics@gmx.at>
2395 * view.el (view-mode-enable): New argument run-view-mode-hook.
2396 Run view-mode-hook only when it's non-nil (Bug#13315).
2397 (view-mode-enter): Call view-mode-enable with run-view-mode-hook
2400 2012-12-31 Jürgen Hötzel <juergen@archlinux.org>
2402 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Handle errors
2403 (No device connected, invalid device name). (Bug #13299)
2405 2012-12-31 Martin Rudalics <rudalics@gmx.at>
2407 * window.el (window-resizable--p): Rename to window-resizable-p.
2408 (window-resize-no-error): New function.
2410 * mail/rmail.el (rmail-maybe-display-summary): Restore behavior
2411 broken in fix from 2012-12-28.
2413 2012-12-31 Stefan Monnier <monnier@iro.umontreal.ca>
2415 * subr.el (special-form-p): Don't signal errors on undef aliases.
2417 2012-12-31 Jay Belanger <jay.p.belanger@gmail.com>
2419 * calc/calc-forms.el (math-parse-date): Try using
2420 `math-parse-iso-date' when it looks like it might be needed.
2421 Allow times of 24:00.
2422 (math-parse-date-validate, math-parse-iso-date-validate): Allow times
2425 2012-12-30 Glenn Morris <rgm@gnu.org>
2427 * net/mairix.el (rmail, rmail-summary-displayed, rmail-summary):
2428 Remove unnecessary/buggy autoloads (missing interactive). (Bug#13294)
2429 (rmail-summary-displayed, rmail-summary): Declare.
2430 (mairix-rmail-display): Just require rmail.
2432 2012-12-30 Chong Yidong <cyd@gnu.org>
2434 * emacs-lisp/package.el (package-untar-buffer): Improve integrity
2435 check for the tarball contents.
2437 2012-12-30 Matt Fidler <matt.fidler@alcon.com> (tiny change)
2439 * emacs-lisp/package.el (package-untar-buffer): Handle problematic
2440 tarfile content listings (Bug#13136).
2442 2012-12-30 Mark Lillibridge <mark.lillibridge@hp.com>
2444 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
2445 Insert the undecoded text of the message being forwarded. (Bug#9521)
2447 2012-12-30 Michael Albinus <michael.albinus@gmx.de>
2449 * net/tramp-sh.el (tramp-set-file-uid-gid): Convert UID and GID to
2450 integers, if they are real numbers. (Bug#13282)
2452 * net/tramp-sh.el (tramp-sh-handle-set-file-selinux-context):
2453 Return `t' on success.
2455 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
2456 Add handler for `set-file-selinux-context'.
2458 2012-12-29 Michael Albinus <michael.albinus@gmx.de>
2460 * net/tramp-sh.el (tramp-sh-handle-file-acl): Suppress basic attributes.
2461 (tramp-sh-handle-set-file-acl): Return `t' on success.
2463 2012-12-29 Eli Zaretskii <eliz@gnu.org>
2465 * files.el (backup-buffer-copy, basic-save-buffer-2):
2466 If set-file-extended-attributes fails, fall back on set-file-modes
2467 instead of signaling an error. (Bug#13298)
2468 (basic-save-buffer): Likewise.
2470 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
2472 * progmodes/python.el: Support other commands triggering
2473 python-indent-line so indentation cycling continues to work.
2474 (python-indent-trigger-commands): New defcustom.
2475 (python-indent-line): Use it.
2477 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
2479 * progmodes/python.el (python-shell-send-region): Add blank lines
2480 for non sent code so backtraces remain correct.
2482 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
2484 * progmodes/python.el: Remove cl dependency.
2485 (python-syntax-count-quotes): Replace incf call.
2486 (python-fill-string): Replace setf call.
2488 2012-12-29 Damien Cassou <damien.cassou@gmail.com>
2490 * info.el (info-other-window): New arg, for consistency with info.
2492 2012-12-28 Martin Rudalics <rudalics@gmx.at>
2494 * mail/rmail.el (rmail-maybe-display-summary):
2495 Rewrite (Bug#13066).
2497 2012-12-28 Andreas Schwab <schwab@linux-m68k.org>
2499 * epg.el (epg--start): Modify process-environment locally.
2501 2012-12-28 Daiki Ueno <ueno@gnu.org>
2503 * epg.el: Support pinentry-curses.
2504 Suggested by Werner Koch in
2505 <http://lists.gnu.org/archive/html/emacs-devel/2007-02/msg00755.html>.
2506 (epg-agent-file, epg-agent-mtime): New variable.
2507 (epg--start): Record the modified time of gpg-agent socket file,
2508 to restore Emacs frame after pinentry-curses termination.
2509 (epg-wait-for-completion): Restore Emacs frame here.
2511 2012-12-27 Juri Linkov <juri@jurta.org>
2513 * info.el (Info-file-completions): New variable.
2514 (Info-read-node-name-1): Complete node names in the Info file
2515 when a file name is given. Call `Info-build-node-completions'
2517 (Info-build-node-completions): Add new arg `file'. When it is
2518 non-nil, visit it in a temporary buffer and cache its completions in
2519 `Info-current-file-completions'. Move most of the function body to
2520 `Info-build-node-completions-1'.
2521 (Info-build-node-completions-1): New function with the body from
2522 `Info-build-node-completions'. (Bug#12456)
2524 2012-12-27 Juri Linkov <juri@jurta.org>
2526 * frame.el (frame-maximization-style): Remove user option.
2527 (cycle-frame-maximized): Remove function.
2528 (toggle-frame-maximized): Rewrite and bind to M-<f10>.
2529 (toggle-frame-fullscreen): New command bound to <f11> instead of
2530 `toggle-frame-maximized'.
2531 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00703.html
2533 2012-12-27 Michael Albinus <michael.albinus@gmx.de>
2535 * net/tramp.el (tramp-handle-file-accessible-directory-p): New defun.
2537 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
2538 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
2539 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
2540 for `file-accessible-directory-p'. (Bug#13275)
2542 2012-12-27 Sam Steingold <sds@gnu.org>
2544 * progmodes/cperl-mode.el (cperl-calculate-indent): Do not stagger
2545 continuations, see <http://stackoverflow.com/questions/3582436>.
2547 2012-12-27 Dmitry Gutov <dgutov@yandex.ru>
2549 * progmodes/ruby-mode.el (ruby-indent-beg-re): Only allow "class",
2550 "module" and "def" to have indentation before them.
2551 Regression from 2012-09-07T04:15:56Z!dgutov@yandex.ru (see the new test).
2553 * progmodes/ruby-mode.el: Bump the version to 1.2 (Bug#13200).
2555 2012-12-27 Alan Mackenzie <acm@muc.de>
2557 Speed up fontification where there's large brace blocks.
2558 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Add a limit
2559 to a call of c-beginning-of-decl-1.
2561 2012-12-27 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
2563 * comint.el (comint-adjust-window-point): New function.
2564 (comint-postoutput-scroll-to-bottom):
2565 Call comint-adjust-window-point (Bug#13248).
2567 2012-12-26 Dmitry Gutov <dgutov@yandex.ru>
2569 * progmodes/ruby-mode.el (auto-mode-alist): `purecopy' the
2571 (auto-mode-alist): Associate .gemspec files with ruby-mode
2572 (https://bugs.ruby-lang.org/issues/5453).
2574 2012-12-26 Jürgen Hötzel <juergen@archlinux.org>
2576 * net/tramp-adb.el (tramp-adb-get-ls-command): New defun.
2577 Suppress coloring, if possible (required for BusyBox based systems like
2579 (tramp-adb-handle-file-attributes)
2580 (tramp-adb-handle-insert-directory)
2581 (tramp-adb-handle-file-name-all-completions): Use it.
2582 (tramp-adb-get-toolbox): New defun. Check for remote shell
2583 implementation (BusyBox or Toolbox).
2585 2012-12-24 Constantin Kulikov <zxnotdead@gmail.com> (tiny change)
2587 * startup.el (initial-buffer-choice): Allow function as value
2589 (command-line-1): Handle case where initial-buffer-choice
2590 specifies a function.
2591 * server.el (server-execute): Handle case where
2592 initial-buffer-choice specifies a function.
2594 2012-12-24 Lars Ingebrigtsen <larsi@gnus.org>
2596 * mail/smtpmail.el (smtpmail-try-auth-method): Refactored out into
2598 (smtpmail-try-auth-methods): Forget the user name/password if the
2599 login is unsuccessful (bug#12424).
2601 2012-12-22 Michael Albinus <michael.albinus@gmx.de>
2603 * notifications.el (notifications-notify): Protect body with
2604 `with-demoted-errors'.
2606 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
2607 Check properties of remote device. Restart connection, if there is a
2610 2012-12-21 Chong Yidong <cyd@gnu.org>
2612 * sort.el (sort-subr): Doc fix (Bug#13056).
2614 2012-12-21 Bastien Guerry <bzg@gnu.org>
2616 * progmodes/etags.el (tags-search): Fix typo. Bug #13232.
2618 2012-12-21 Michael Albinus <michael.albinus@gmx.de>
2620 * simple.el (process-file): Overwrite stderr file, if exists.
2622 2012-12-21 Daiki Ueno <ueno@gnu.org>
2624 * epg.el (epg--start): Print GPG_AGENT_INFO in the debug buffer.
2625 (epg-error): Set `error-message' property.
2627 2012-12-21 Chong Yidong <cyd@gnu.org>
2629 * international/mule-cmds.el (read-char-by-name): Signal an error
2630 if the user does not supply a valid character (Bug#13177).
2632 * simple.el (transpose-subr-1): Preserve marker positions by
2633 changing the insertion sequence (Bug#13122).
2635 2012-12-21 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
2637 * simple.el (kill-region): Deactivate mark even for empty regions
2640 2012-12-21 Chong Yidong <cyd@gnu.org>
2642 * help-fns.el (describe-variable): Make sure we get the right
2643 buffer name (Bug#13105). Suggested by Kelly Dean.
2645 2012-12-20 Michael R. Mauger <mmaug@yahoo.com>
2647 * comint.el (comint-redirect-previous-input-string): New variable.
2648 (comint-redirect-setup, comint-redirect-cleanup)
2649 (comint-redirect-preoutput-filter): Use it. Fixes redirection bug.
2650 (comint-redirect-preoutput-filter): Fix verbose message.
2652 2012-12-20 Michael Albinus <michael.albinus@gmx.de>
2654 * progmodes/grep.el (rgrep): Escape command line. Sometimes, it
2655 is too long for Tramp. See discussion in
2656 <http://thread.gmane.org/gmane.emacs.tramp/8233/focus=8244>.
2658 * progmodes/compile.el (compilation-start): Remove line escape
2661 2012-12-20 Dmitry Antipov <dmantipov@yandex.ru>
2663 * vc/ediff-ptch.el (ediff-map-patch-buffer): Use `point-min-marker'.
2666 2012-12-19 Jonas Bernoulli <jonas@bernoul.li>
2668 * emacs-lisp/lisp-mnt.el (lm-section-end): Always end before the
2669 following non-comment text (bug#13207).
2670 (lm-header-multiline): Continuation lines need to be indented more than
2672 (lm-homepage): New function.
2673 (lm-with-file): Don't be confused if narrowing is in effect.
2675 2012-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
2677 * vc/diff-mode.el (diff-post-command-hook): Don't ignore changes at the
2678 very beginning of a hunk (e.g. killing the first line).
2680 2012-12-19 Michael Albinus <michael.albinus@gmx.de>
2682 * net/tramp-sh.el (tramp-sh-handle-file-acl): Delete empty lines
2683 and text properties from returned ACL string.
2684 (tramp-sh-handle-set-file-acl): Do not use additional parentheses
2685 for "setfacl" command.
2687 2012-12-18 Michael Albinus <michael.albinus@gmx.de>
2689 * net/tramp.el (tramp-error-with-buffer): Give a hint to use
2690 `tramp-cleanup-this-connection', when the process has died.
2693 2012-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
2695 * icomplete.el (icomplete-completions): Also use … to truncate prefix.
2697 2012-12-17 Kevin Ryde <user42@zip.com.au>
2699 * files.el (auto-save-file-name-p): Use \` and \' (bug#13186).
2701 2012-12-17 Michael Albinus <michael.albinus@gmx.de>
2703 Add support for preserving ACL entries of files.
2705 * net/tramp.el (tramp-file-name-for-operation): Add `file-acl' and
2706 `set-file-acl' handlers.
2708 * net/tramp-adb.el (tramp-adb-handle-copy-file):
2709 Handle PRESERVE-EXTENDED-ATTRIBUTES.
2711 * net/tramp-compat.el (tramp-compat-copy-file):
2712 Handle PRESERVE-EXTENDED-ATTRIBUTES.
2714 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
2715 Add `file-acl' and `set-file-acl' handlers.
2716 (tramp-gvfs-handle-copy-file):
2717 Handle PRESERVE-EXTENDED-ATTRIBUTES.
2718 (tramp-gvfs-handle-file-acl, tramp-gvfs-handle-set-file-acl):
2721 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
2722 Add `file-acl' and `set-file-acl' handlers.
2723 (tramp-remote-acl-p, tramp-sh-handle-file-acl)
2724 (tramp-sh-handle-set-file-acl): New defuns.
2725 (tramp-sh-handle-copy-file, tramp-do-copy-or-rename-file):
2726 Handle PRESERVE-EXTENDED-ATTRIBUTES.
2728 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
2729 Add `file-acl' and `set-file-acl' handlers.
2730 (tramp-smb-handle-copy-file): Handle PRESERVE-EXTENDED-ATTRIBUTES.
2732 2012-12-17 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
2734 * help-macro.el (make-help-screen): Instead of switch-to-buffer
2735 use pop-to-buffer with NORECORD argument t. As buffer name, use
2736 *Metahelp* with a leading space (Bug#13190).
2738 2012-12-16 Romain Francoise <romain@orebokech.com>
2740 * files.el (file-extended-attributes)
2741 (set-file-extended-attributes): New functions.
2742 (backup-buffer): Use them to handle both SELinux context and ACL
2744 (backup-buffer-copy): Work with an alist of extended attributes,
2745 rather than an SELinux context.
2746 (basic-save-buffer-2): Ditto.
2748 2012-12-16 Timo Myyrä <timo.myyra@gmail.com>
2750 * battery.el (battery-bsd-apm): New function.
2752 2012-12-16 Jay Belanger <jay.p.belanger@gmail.com>
2754 * calc/calc.el (calc-standard-date-formats): Adjust one of the
2755 standard date formats.
2757 2012-12-15 Juri Linkov <juri@jurta.org>
2759 * isearch.el (isearch-mode-map): Bind `C-x 8 RET' to
2760 `isearch-insert-char-by-name'.
2761 (with-isearch-suspended): New defmacro with body mostly from
2762 `isearch-edit-string' except the part that sets
2763 `isearch-new-string' and `isearch-new-message'.
2764 (isearch-edit-string): Use new macro `with-isearch-suspended' with
2765 body that sets `isearch-new-string' and `isearch-new-message'.
2766 (isearch-insert-char-by-name): New command.
2767 * international/mule-cmds.el (read-char-by-name): Let-bind
2768 `enable-recursive-minibuffers' to t.
2769 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00234.html
2771 2012-12-15 Juri Linkov <juri@jurta.org>
2773 * isearch.el (isearch-delete-char, isearch-del-char): Doc fix.
2776 2012-12-15 Christopher Schmidt <christopher@ch.ristopher.com>
2778 * dired-x.el (dired-guess-shell-command): Put colon at the end of
2779 the prompt. (Bug#13045)
2781 2012-12-14 Glenn Morris <rgm@gnu.org>
2783 * emacs-lisp/macroexp.el (macroexp--warn-and-return):
2784 Try to include filename in non-bytecomp warning. (Bug#13132)
2786 2012-12-14 Paul Eggert <eggert@cs.ucla.edu>
2788 Fix permissions bugs with setgid directories etc. (Bug#13125)
2789 * files.el (backup-buffer): Don't rely on 9th output of
2790 file-attributes, as it's now a placeholder. Instead, use the new
2791 optional arg of file-ownership-preserved-p.
2792 (file-ownership-preserved-p): New optional arg GROUP.
2793 Fix mishandling of setuid directories that would cause this
2794 function to return t when it should have returned nil.
2795 Document what happens if the file does not exist, and when
2796 it's not known whether the ownership will be preserved.
2797 * net/tramp-sh.el (tramp-sh-handle-file-ownership-preserved-p):
2799 (tramp-get-local-gid): Use group-gid for integer, as that's
2800 faster and more reliable.
2802 2012-12-14 Julien Danjou <julien@danjou.info>
2804 * progmodes/sql.el (sql-mode-postgres-font-lock-keywords):
2805 Update keywords list, data type and PL/pgSQL.
2807 2012-12-14 Dave Abrahams <dave@boostpro.com>
2809 * vc/ediff-util.el (ediff-buffer-type): New function.
2810 (ediff-clone-buffer-for-current-diff-comparison): Compute the buf-type
2811 rather than taking it as as argument.
2812 (ediff-inferior-compare-regions): Adjust calls accordingly (bug#11319).
2814 2012-12-14 Ryan Crum <ryan.crum@eleostech.com>
2816 * json.el: Add pretty-print option (bug#12634).
2817 (json-encoding-separator, json-encoding-default-indentation)
2818 (json--encoding-current-indentation, json-encoding-pretty-print)
2819 (json-encoding-lisp-style-closings): New vars.
2820 (json--with-indentation): New macro.
2821 (json-encode-hash-table, json-encode-alist, json-encode-plist)
2822 (json-encode-array): Use it to obey json-encoding-pretty-print.
2823 (json-pretty-print-buffer, json-pretty-print): New commands.
2825 2012-12-14 Dmitry Gutov <dgutov@yandex.ru>
2827 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2828 Extract `ruby-syntax-propertize-expansions'.
2829 (ruby-syntax-propertize-expansions): Only change syntax on
2830 certain string delimiters, to punctuation. This way the common
2831 functions like forward-word and thing-at-point still work.
2832 (ruby-match-expression-expansion): Improve readability.
2833 (ruby-block-contains-point): New function.
2834 (ruby-add-log-current-method): Handle several edge cases.
2836 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
2838 * emacs-lisp/edebug.el (edebug-unload-function): Make sure that
2839 unload-feature finishes even when aborting an ongoing edebug session.
2840 Also, do not worry about edebug-mode, unload-feature takes care of it.
2842 2012-12-13 Andreas Schwab <schwab@suse.de>
2844 * net/tls.el (tls-program): Update customize type.
2846 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
2848 * emacs-lisp/edebug.el (edebug--require-cl-read): New function.
2849 (edebug-setup-hook, cl-read-load-hooks): Use it.
2850 (edebug-unload-function): New function. (Bug#13163)
2852 2012-12-13 Michael Albinus <michael.albinus@gmx.de>
2854 * net/tramp-adb.el (tramp-adb-file-name-p): Make it a defsubst.
2855 Otherwise, there could be errors in autoloading. (Bug#13151)
2857 2012-12-13 Jürgen Hötzel <juergen@archlinux.org>
2859 * net/tramp-adb.el (tramp-adb-wait-for-output): Remove spurious " ^H"
2862 2012-12-13 Alan Mackenzie <acm@muc.de>
2864 Make CC Mode not hang when _some_ lines end in CRLF. Bug #11841.
2865 * progmodes/cc-engine.el (c-backward-comments): Add code to work
2866 around `forward-comment' not recognizing ^M as whitespace.
2868 2012-12-13 Fabián Ezequiel Gallina <fgallina@cuca>
2870 * progmodes/python.el (python-skeleton-class)
2871 (python-skeleton-def): Do not add space after defun name.
2873 2012-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
2875 * emacs-lisp/cl.el (letf): Make it an alias of cl-letf.
2876 (cl--symbol-function): Remove (now that funbound is like nil).
2878 2012-12-12 Glenn Morris <rgm@gnu.org>
2880 * button.el (button--area-button-p): Fix typo.
2882 2012-12-12 Sam Steingold <sds@gnu.org>
2884 * frame.el (frame-maximization-style): New user option.
2885 (toggle-frame-maximized): Toggle frame maximization according to
2886 `frame-maximization-style', bound to <f11>.
2887 (cycle-frame-maximized): Cycle between all maximization styles and
2888 non-maximized frame, bound to shift-<f11>.
2890 2012-12-12 David Cadé <codename68@gmail.com>
2892 * mpc.el (mpc-format): Use truncate-string-to-width (bug#13143).
2894 2012-12-12 Jonas Bernoulli <jonas@bernoul.li>
2896 * lisp/emacs-lisp/eieio.el: Prettier object pretty-printing (bug#13115).
2897 (eieio-override-prin1): Don't quote kewords and booleans.
2898 (object-write) <eieio-default-superclass>: Don't put closing parens
2899 on new line, avoid needless empty lines, align values that are objects
2900 with the slot keyword (instead of beginning on the same line).
2901 (eieio-list-prin1): Align value with slot keyword; increase
2902 eieio-print-depth before printing members of the list.
2904 2012-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
2906 * mail/emacsbug.el (report-emacs-bug): Move the intangible text to
2907 a display text-property.
2908 (report-emacs-bug-hook): Don't bother deleting it any more.
2910 * hilit-chg.el (highlight-save-buffer-state): Delete.
2911 Use with-silent-modifications instead.
2912 (hilit-chg-set-face-on-change): Only fixup the text that's modified.
2914 * button.el: Handle buttons in display text-properties.
2915 (button--area-button-p, button--area-button-string):
2916 Use (STRING . STRING-POS) representation instead of just STRING.
2918 2012-12-11 Eli Zaretskii <eliz@gnu.org>
2920 * makefile.w32-in (compile4-SH): Fix a typo that caused term
2921 subdirectory be skipped.
2923 2012-12-11 Glenn Morris <rgm@gnu.org>
2925 * net/rcirc.el (rcirc-urls, rcirc-condition-filter): Doc fixes.
2927 * progmodes/f90.el (f90-line-continued, f90-indent-region):
2928 Treat preprocessor lines embedded in continuations like comments.
2929 (f90-indent-line): Special-case preprocessor lines. (Bug#13138)
2931 2012-12-11 Jay Belanger <jay.p.belanger@gmail.com>
2933 * calc/calc.el (calc-standard-date-formats): Add more date
2935 * calc/calc-forms.el (math-parse-iso-date): New function.
2936 (math-parse-date): Use `math-parse-iso-date' when appropriate.
2937 (math-parse-iso-date-validate): Add extra error checking.
2938 (calc-date-notation): Add ability to access new date formats.
2940 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
2942 * hi-lock.el (hi-lock--regexps-at-point): Fix boundary case for
2943 font-lock as well as when there's no text-property.
2945 2012-12-10 Jambunathan K <kjambunathan@gmail.com>
2947 * hi-lock.el: Refine the choice of default face.
2948 (hi-lock-keyword->face): New function. Use it wherever we used
2950 (hi-lock--regexps-at-point): Ignore faces that can't come from hi-lock.
2951 (hi-lock--last-face): Remove var.
2952 (hi-lock--unused-faces): New var to replace it.
2953 (hi-lock-read-face-name): Use/maintain it.
2954 (hi-lock-unface-buffer): Maintain it. Fix error for the C-u case.
2955 (hi-lock-set-pattern): Ignore new rule if it has the same regexp even
2956 if it has another face.
2958 2012-12-10 Eli Zaretskii <eliz@gnu.org>
2960 * subr.el (w32notify-handle-event): New function.
2961 (inotify-handle-event): Doc fix.
2963 2012-12-10 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2965 * subr.el (inotify-event-p, inotify-handle-event): New functions.
2967 2012-12-10 Dani Moncayo <dmoncayo@gmail.com>
2969 * simple.el (just-one-space): Doc fix.
2971 2012-12-10 Eli Zaretskii <eliz@gnu.org>
2973 * textmodes/texinfo.el (texinfo-enable-quote-envs): Add "smallexample".
2975 2012-12-10 Le Wang <l26wang@gmail.com>
2977 * hilit-chg.el (hilit-chg-set-face-on-change): Don't burp in
2978 narrowed buffer (bug#12361).
2980 2012-12-10 Juanma Barranquero <lekktu@gmail.com>
2982 * vc/vc-hooks.el (vc-state): Doc fix.
2984 2012-12-10 Glenn Morris <rgm@gnu.org>
2986 * mail/rmail.el (rmail-maybe-display-summary):
2987 Preserve buffer, in case select-window changes it. (Bug#13066)
2989 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
2991 * emacs-lisp/cl.el, emacs-lisp/cl-lib.el: Move cl-unload-function and
2992 cl-load-hook where they belong.
2994 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
2996 * emacs-lisp/cl-lib.el (cl-declaim): Paren typo.
2998 2012-12-09 Eli Zaretskii <eliz@gnu.org>
3000 Parallelize byte compilation on MS-Windows.
3001 * makefile.w32-in (WINS_BASIC1, WINS_BASIC2, WINS_BASIC3)
3002 (WINS_BASIC4): New variables, subdivide subdirectories into 4 parts.
3003 (WINS_BASIC): Define as concatenation of the above.
3004 (compile): Subdivide into 4 separate and independent jobs that can
3006 (compile0-CMD, compile0-SH): New targets for compiling
3007 COMPILE_FIRST files, which are prerequisites for the rest of the
3009 (compile1-CMD, compile2-CMD, compile3-CMD, compile4-CMD):
3010 New targets for parallel compilation with cmd.exe.
3011 (compile1-SH, compile2-SH, compile3-SH, compile4-SH): Ditto for
3012 compiling under a Unixy shell.
3014 2012-12-09 Chong Yidong <cyd@gnu.org>
3016 * simple.el (set-mark-default-inactive): Delete this
3017 accidentally-introduced option.
3018 (set-mark-command, exchange-point-and-mark): Remove calls.
3020 2012-12-09 Glenn Morris <rgm@gnu.org>
3022 * emacs-lisp/lisp-mode.el (eval-defun-1): Doc fix.
3023 Respect a defcustom's :set function, if appropriate. (Bug#109)
3024 (eval-defun): Doc fix.
3026 2012-12-08 Juri Linkov <juri@jurta.org>
3028 * info.el (Info-copy-current-node-name, Info-breadcrumbs)
3029 (Info-fontify-node, Info-bookmark-make-record): Remove the
3030 file extension from Info-current-file (Bug#13016).
3032 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
3034 * hi-lock.el (hi-lock-unface-buffer): If there's no matching regexp at
3035 point, still provide some default.
3036 (hi-lock--regexps-at-point): Don't enforce a "hi-lock-" prefix on face
3037 names, since we don't use it right now. Actually return the list.
3038 (hi-lock-file-patterns, hi-lock-interactive-patterns): Use defvar-local.
3040 2012-12-07 Chong Yidong <cyd@gnu.org>
3042 * novice.el (disabled-command-function): Remove a spurious help
3043 xref (Bug#13043). Suggested by Kelly Dean.
3045 * subr.el (text-clone-maintain): Fix clone overlay deletion when a
3046 syntax is specified (Bug#13025).
3048 * info.el (Info-set-mode-line): Remove the file extension from
3049 Info-current-file if there is one (Bug#13016).
3051 2012-12-07 Glenn Morris <rgm@gnu.org>
3053 * mail/rmail.el (rmail-mime-decoded): New permanent local.
3054 (rmail-show-message-1): Set rmail-mime-decoded when appropriate.
3055 * mail/rmailedit.el (rmail-cease-edit): Respect rmail-mbox-format
3056 and rmail-mime-decoded. (Bug#9841)
3058 * mail/unrmail.el (unrmail-mbox-format): New option. (Bug#6574)
3059 (batch-unrmail, unrmail): Doc fixes.
3060 (unrmail): Respect unrmail-mbox-format.
3061 * mail/rmail.el (rmail-mbox-format): New option.
3062 (rmail-show-message-1): Respect rmail-mbox-format.
3064 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
3066 * emacs-lisp/cl-macs.el (cl-tagbody): New macro.
3068 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3070 Further cleanup of the "cl-" namespace. Fit CL in 80 columns.
3071 * emacs-lisp/cl-macs.el (cl--pop2, cl--optimize-safety)
3072 (cl--optimize-speed, cl--not-toplevel, cl--parse-loop-clause)
3073 (cl--expand-do-loop, cl--proclaim-history, cl--declare-stack)
3074 (cl--do-proclaim, cl--proclaims-deferred): Rename from the "cl-" prefix.
3075 (cl-progv): Don't rely on dynamic scoping to find the body.
3076 * emacs-lisp/cl-lib.el (cl--optimize-speed, cl--optimize-safety)
3077 (cl--proclaims-deferred): Rename from the "cl-" prefix.
3078 (cl-declaim): Use backquotes.
3079 * emacs-lisp/cl-extra.el (cl-make-random-state, cl-random-state-p):
3080 Use "cl--" prefix for the object's tag.
3082 * ses.el: Use advice-add/remove.
3083 (ses--advice-copy-region-as-kill, ses--advice-yank): New functions.
3084 (copy-region-as-kill, yank): Use advice-add.
3085 (ses-unload-function): Use advice-remove.
3087 2012-12-06 Jonas Bernoulli <jonas@bernoul.li>
3089 * button.el: Make them work in header-lines (bug#12817).
3090 (button-map): Add bindings for header-line and mode-line use.
3091 (button-get, button-put, button-label): `button' may now be a string.
3092 (button-activate): Don't make it a defsubst.
3093 (button--area-button-p, button--area-button-string): New functions.
3094 (make-text-button): Fix the return value when `beg' was a string.
3095 (push-button): Handle the mode-line case.
3097 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3099 * progmodes/sql.el: Use cl-lib and lexical-binding; various cleanup.
3100 (sql-signum): Remove. Use `cl-signum' instead.
3101 (sql-read-passwd): Remove; use read-passwd instread.
3102 (sql-get-login-ext): Use read-string.
3103 (sql-get-login): Use dolist and pcase.
3104 (sql--completion-table): Rename from sql-try-completion.
3105 Use complete-with-action.
3106 (sql-mode): Don't change abbrev-all-caps globally.
3107 (sql-connect): Don't rely on dynamic scoping for `new-name'.
3108 (sql-postgres-completion-object): Initialize vars in their `let'.
3109 (sql-comint-sybase, sql-comint-sqlite, sql-comint-mysql)
3110 (sql-comint-solid, sql-comint-ms, sql-comint-postgres)
3111 (sql-comint-interbase): Use a single append, without setq.
3112 (sql-comint-linter): Same, and unwind-protect the LINTER_MBX var.
3114 * hi-lock.el: Rework the default face and the serialize regexp code.
3115 (hi-lock--auto-select-face-defaults): Remove.
3116 (hi-lock-string-serialize-serial): Remove.
3117 (hi-lock--hashcons-hash): Rename from hi-lock-string-serialize-hash;
3119 (hi-lock--hashcons): Rename from hi-lock-string-serialize, return an
3121 (hi-lock-set-pattern): Adjust accordingly.
3122 (hi-lock--regexps-at-point): Simplify accordingly.
3123 (hi-lock--auto-select-face-defaults): Remove.
3124 (hi-lock--last-face): New var to replace it.
3125 (hi-lock-read-face-name): Rewrite (bug#11095).
3126 (hi-lock-unface-buffer): Arrange for the face to be the next default.
3128 2012-12-06 Michael Albinus <michael.albinus@gmx.de>
3130 * net/tramp.el (tramp-replace-environment-variables):
3131 Hide compiler warning.
3132 (tramp-file-name-for-operation): Remove `executable-find',
3133 `start-process', `call-process' and `call-process-region'.
3135 * net/tramp-compat.el (top): Don't require 'tramp-util and 'tramp-vc.
3137 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Ensure backward
3140 * net/tramp-sh.el (top): Remove `tramp-sh-handle-call-process-region'.
3142 2012-12-06 Chong Yidong <cyd@gnu.org>
3144 * ffap.el (ffap-replace-file-component): Fix typo.
3146 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3148 * progmodes/octave-mod.el (octave-mark-block): Move out of tokens and
3149 fix open-paren-like token test (bug#12785).
3151 2012-12-06 Glenn Morris <rgm@gnu.org>
3153 * mail/rmailsum.el (rmail-new-summary): Tweak for
3154 rmail-maybe-display-summary changing buffer. (Bug#13066)
3156 2012-12-06 Juri Linkov <juri@jurta.org>
3158 * info.el (Info-fontify-node): Don't hide the last newline.
3161 2012-12-06 Katsumi Yamaoka <yamaoka@jpl.org>
3163 * mail/mailabbrev.el (mail-abbrev-expand-wrapper): Work in minibuffer
3164 so as to enable message-read-from-minibuffer to expand mail aliases.
3166 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3168 * minibuf-eldef.el (minibuf-eldef-update-minibuffer): Don't mess with
3169 the `intangible' property.
3170 Suggested by Christopher Schmidt <christopher@ch.ristopher.com>
3172 2012-12-05 Deniz Dogan <deniz@dogan.se>
3174 * net/rcirc.el (rcirc-urls): Update documentation.
3175 (rcirc-condition-filter): New function.
3176 (rcirc-browse-url, rcirc-markup-urls): Use only URLs before point
3177 and exclude consecutive duplicate URLs (Bug#6082).
3179 2012-12-05 Michael Albinus <michael.albinus@gmx.de>
3181 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
3182 Check return code of copy command.
3184 * net/tramp-adb.el (tramp-adb-sdk-dir, tramp-adb-prompt):
3185 Use group `tramp'. Add version.
3187 2012-12-05 Chong Yidong <cyd@gnu.org>
3189 * ffap.el (ffap-url-regexp): Don't require matching at front of
3191 (ffap-url-p): If only a substring matches, return that.
3192 (ffap-url-at-point): Use the return value of ffap-url-p.
3193 (ffap-read-file-or-url, ffap-read-file-or-url-internal)
3194 (find-file-at-point, dired-at-point, dired-at-point-prompter)
3195 (ffap-guess-file-name-at-point): Likewise.
3196 (ffap-replace-file-component): Fix typo.
3198 * info.el (info-display-manual): Add existing Info buffers, whose
3199 files may not be in Info-directory-list, to the completion.
3200 (info--manual-names): New helper function.
3202 2012-12-05 Glenn Morris <rgm@gnu.org>
3204 * vc/vc-hg.el (vc-hg-resolve-when-done, vc-hg-find-file-hook):
3205 New functions, for detecting and resolving conflicts. (Bug#10709)
3207 2012-12-04 Jambunathan K <kjambunathan@gmail.com>
3209 * hi-lock.el (hi-lock-auto-select-face): New user variable.
3210 (hi-lock-auto-select-face-defaults): New buffer local variable.
3211 (hi-lock-read-face-name): Honor `hi-lock-auto-select-face'.
3212 (hi-lock-unface-buffer): Prompt user with useful defaults.
3213 With prefix arg, unhighlight all hi-lock patterns in buffer.
3215 2012-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
3217 * obsolete/terminal.el, obsolete/longlines.el: Add obsolecence info.
3219 2012-12-04 Michael Albinus <michael.albinus@gmx.de>
3221 * Makefile.in (TRAMP_SRC):
3222 * makefile.w32-in (TRAMP_SRC): Add tramp-adb.el.
3224 2012-12-04 Juergen Hoetzel <juergen@archlinux.org>
3226 * net/tramp-adb.el: New package.
3228 2012-12-04 Chong Yidong <cyd@gnu.org>
3230 * terminal.el: Move to obsolete/.
3232 * longlines.el: Move to obsolete/.
3234 * vc/ediff-diff.el (ediff-extract-diffs, ediff-extract-diffs3):
3235 Remove code referring to longlines mode.
3237 2012-12-03 Juri Linkov <juri@jurta.org>
3239 * sort.el (delete-duplicate-lines): New command. (Bug#13032)
3241 2012-12-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3243 * textmodes/ispell.el (ispell-init-process)
3244 (ispell-start-process, ispell-internal-change-dictionary):
3245 Make sure personal dictionary name is expanded after initial
3246 `default-directory' value. Use expanded strings for
3247 keep/restart checks and for value (Bug#13019).
3249 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
3251 * calc/calc-forms.el (math-date-to-iso-dt): Fix weekday number.
3253 2012-12-03 Leo Liu <sdl.web@gmail.com>
3255 * files.el (dir-locals-read-from-file): Check file non-empty
3256 before reading. (Bug#13038)
3258 2012-12-03 Glenn Morris <rgm@gnu.org>
3260 * jka-cmpr-hook.el (jka-compr-get-compression-info):
3261 Remove any version extension before checking filename. (Bug#13006)
3262 (jka-compr-compression-info-list): Belated :version bump.
3264 2012-12-03 Chong Yidong <cyd@gnu.org>
3266 * simple.el (transient-mark-mode): Doc fix (Bug#11523).
3268 * buff-menu.el (Buffer-menu-delete-backwards, Buffer-menu-mode)
3269 (buffer-menu): Doc fix (Bug#12294).
3271 2012-12-03 Roland Winkler <winkler@gnu.org>
3273 * calendar/diary-lib.el (diary-header-line-format): Use keybinding
3274 of diary-show-all-entries in the diary buffer (Bug#12994).
3276 2012-12-03 Michael Albinus <michael.albinus@gmx.de>
3278 * net/tramp-sh.el (tramp-perl-encode): Use "read STDIN" instead of
3279 "<STDIN>". This is binary safe.
3281 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
3283 * calc/calc-forms.el (math-absolute-from-iso-dt)
3284 (math-date-to-iso-dt, math-parse-iso-date-validate)
3285 (math-iso-dt-to-date): New functions.
3286 (math-fd-iso-dt, math-fd-isoyear, math-fd-isoweek)
3287 (math-fd-isoweekday): New variables.
3288 (calc-date-notation, math-parse-standard-date, math-format-date)
3289 (math-format-date-part): Add support for more formatting codes.
3291 2012-12-02 Dmitry Gutov <dgutov@yandex.ru>
3293 * vc/vc.el (vc-delete-file, vc-rename-file): Default to the
3294 current buffer's file name when called interactively (Bug#12488).
3296 2012-12-02 Juri Linkov <juri@jurta.org>
3298 * info.el (info-display-manual): Don't clobber an existing Info
3299 buffer (Bug#10770). Add completion (Bug#10771).
3301 2012-12-01 Yuya Nishihara <yuya@tcha.org> (tiny change)
3303 * vc/vc-hooks.el (vc-find-file-hook): Expand buffer-file-truename
3304 before using it for comparison (Bug#5297).
3306 2012-12-01 Jari Aalto <jari.aalto@cante.net>
3308 * textmodes/css-mode.el (css-current-defun-name): New function.
3311 * textmodes/sgml-mode.el (html-current-defun-name): New function.
3312 (html-mode): Use it.
3314 2012-12-01 Chong Yidong <cyd@gnu.org>
3316 Modularize add-log-current-defun (Bug#2224).
3317 Suggested by Jari Aalto.
3319 * vc/add-log.el (add-log-current-defun-function): Doc fix.
3320 (add-log-current-defun): Move mode-specific code to other files.
3321 (add-log-lisp-like-modes, add-log-c-like-modes)
3322 (add-log-tex-like-modes): Variables deleted.
3324 * emacs-lisp/lisp-mode.el (lisp-current-defun-name): New.
3325 (lisp-mode-variables): Use it.
3327 * progmodes/cc-mode.el (c-common-init):
3328 * progmodes/cperl-mode.el (cperl-mode): Set a value for
3329 add-log-current-defun-function.
3331 * progmodes/m4-mode.el (m4-current-defun-name): New function.
3334 * progmodes/perl-mode.el (perl-current-defun-name): New.
3335 (perl-mode): Use it.
3337 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
3338 Use lisp-current-defun-name.
3340 * textmodes/tex-mode.el (tex-current-defun-name): New.
3341 (tex-common-initialization): Use it.
3343 * textmodes/texinfo.el (texinfo-current-defun-name): New.
3344 (texinfo-mode): Use it.
3346 2012-12-01 Chong Yidong <cyd@gnu.org>
3348 * emacs-lisp/lisp-mode.el (lisp-mode-variables, lisp-mode):
3349 * progmodes/autoconf.el (autoconf-mode):
3350 * progmodes/js.el (js-mode):
3351 * progmodes/make-mode.el (makefile-mode, makefile-makepp-mode)
3352 (makefile-bsdmake-mode, makefile-imake-mode, makefile-browse):
3353 * progmodes/perl-mode.el (perl-mode):
3354 * progmodes/sh-script.el (sh-mode, sh-set-shell):
3355 * textmodes/css-mode.el (css-mode):
3356 * textmodes/sgml-mode.el (html-mode, sgml-mode)
3357 (sgml-tags-invisible, sgml-guess-indent):
3358 * textmodes/tex-mode.el (tex-common-initialization)
3359 (latex-complete-bibtex-keys, tex-shell, tex-main-file)
3360 (doctex-mode, plain-tex-mode, latex-mode):
3361 * textmodes/texinfo.el (texinfo-mode): Use setq-local.
3363 2012-12-01 Kirk Kelsey <kirk.kelsey@0x4b.net>
3365 * vc/vc-hg.el (vc-hg-next-revision):
3366 Ensure use of default "tip" output format. (Bug#6968)
3368 2012-12-01 Kim F. Storm <storm@cua.dk>
3370 * startup.el (fancy-startup-tail): Add a clickable link
3373 2012-12-01 Chong Yidong <cyd@gnu.org>
3375 * startup.el (fancy-startup-tail): Improve the message about
3376 auto-save files (Bug#2176).
3378 * files.el (recover-session): Improve the descriptive message, and
3379 use substitute-command-keys.
3381 2012-12-01 Glenn Morris <rgm@gnu.org>
3383 * ido.el (ido-file-internal):
3384 Handle other-window, other-frame for dired. (Bug#13036)
3386 2012-11-30 Glenn Morris <rgm@gnu.org>
3388 * icomplete.el (icomplete-separator): Fix :version.
3390 2012-11-30 Chong Yidong <cyd@gnu.org>
3392 * shell.el (shell): For C-u M-x shell, use an inactive shell
3393 buffer as the default (Bug#1975).
3394 (shell-apply-ansi-color, shell-reapply-ansi-color): New functions.
3395 (shell-mode): Use them to reapply ansi colorization if Shell mode
3398 2012-11-30 Yuriy Vostrikov <delamonpansie@gmail.com> (tiny change)
3400 * vc/vc-git.el (vc-git-command): Disable the pager (Bug#6137).
3402 2012-11-30 Samuel Bronson <naesten@gmail.com>
3404 * progmodes/grep.el (grep-compute-defaults): Do not pass the -e
3405 flag to xargs, for compatibility with BSD xargs (Bug#11703).
3407 2012-11-30 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
3409 * textmodes/fill.el (fill-region-as-paragraph): Handle overshoot
3410 by move-to-column (Bug#3234).
3412 2012-11-30 Chong Yidong <cyd@gnu.org>
3414 * longlines.el (longlines-wrap-line, longlines-encode-region):
3415 Preserve text properties (Bug#1425).
3417 2012-11-30 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
3419 * vc/vc.el (vc-register): Allow registering a file which is
3420 already registered with a different backend (Bug#10589).
3422 2012-11-29 Jambunathan K <kjambunathan@gmail.com>
3423 Stefan Monnier <monnier@iro.umontreal.ca>
3425 * icomplete.el: Change separator; add ido-style commands.
3426 (icomplete-show-key-bindings): Remove custom var.
3427 (icomplete-get-keys): Remove function.
3428 (icomplete-forward-completions, icomplete-backward-completions):
3430 (icomplete-minibuffer-map): New var.
3431 (icomplete-minibuffer-setup): Use it.
3432 (icomplete-exhibit): Don't delay if the list of completions is known.
3433 (icomplete-separator): New custom.
3434 (icomplete-completions): Use it.
3435 * minibuffer.el (completion-all-sorted-completions): Delete duplicates.
3436 (minibuffer-force-complete-and-exit): New command.
3437 (minibuffer--complete-and-exit): New function extracted from
3438 minibuffer-complete-and-exit.
3439 (minibuffer-complete-and-exit): Use it.
3441 * progmodes/etags.el (visit-tags-table-buffer): Give a more precise
3442 error message when the file doesn't exist (bug#12974).
3444 2012-11-29 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
3446 * simple.el (activate-mark): Run activate-mark-hook (bug#13027).
3448 2012-11-29 Glenn Morris <rgm@gnu.org>
3450 * files.el (hack-dir-local-variables): Warn if try to set
3451 coding via dir-locals, since it doesn't work. (Bug#7169)
3453 Add desktop support for restoring vc-dir buffers. (Bug#10606)
3454 * vc/vc-dir.el (vc-dir-mode): Autoload it (for desktop restore).
3455 Set buffer-local value of desktop-save-buffer.
3456 (vc-dir-desktop-buffer-misc-data, vc-dir-restore-desktop-buffer):
3458 (desktop-buffer-mode-handlers): Add vc-dir-mode entry.
3459 * desktop.el (desktop-save-buffer-p): Treat vc-dir like dired.
3461 * files.el (inhibit-local-variables-ignore-case): New. (Bug#10610)
3462 (inhibit-local-variables-p): Use inhibit-local-variables-ignore-case.
3464 (inhibit-local-variables-regexps, inhibit-local-variables-suffixes):
3467 2012-11-28 Jay Belanger <jay.p.belanger@gmail.com>
3469 * calc/calc-forms.el (calc-date-notation): Fix regexp
3470 used to find time codes. Fix symbol for seconds.
3472 2012-11-27 Glenn Morris <rgm@gnu.org>
3474 * emacs-lisp/derived.el (derived-mode-make-docstring):
3475 Don't mention "abbrev" or "syntax" if nil. (Bug#11277)
3477 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
3479 * textmodes/table.el (table-insert): Don't use `symbol-name' on
3480 lexically scoped variables (bug#13005).
3482 2012-11-27 Glenn Morris <rgm@gnu.org>
3484 * vc/vc-hooks.el (vc-mistrust-permissions):
3485 Default to t, to avoid data-loss. (Bug#11490)
3487 2012-11-27 Fabián Ezequiel Gallina <fgallina@cuca>
3489 * progmodes/python.el (python-indent-guess-indent-offset):
3490 If indentation is guessed make python-indent-offset buffer-local.
3492 Fix Imenu regression.
3493 * progmodes/python.el (python-nav-beginning-of-defun):
3494 Fix forward movement when statement(s) separates point from defun.
3495 (python-imenu-prev-index-position): New function.
3497 2012-11-27 Eli Zaretskii <eliz@gnu.org>
3499 * subr.el (buffer-file-type): Declare with defvar-local. Doc fix.
3501 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
3502 Don't set buffer-file-type. Return nil. (Bug#12989)
3504 2012-11-27 Glenn Morris <rgm@gnu.org>
3506 * hippie-exp.el (hippie-expand-try-functions-list):
3507 Re-autoload it. (Bug#12982)
3509 2012-11-27 Eli Zaretskii <eliz@gnu.org>
3511 * descr-text.el (describe-char-padded-string):
3512 Call internal-char-font only on GUI frames. (Bug#11964)
3514 2012-11-27 Andreas Schwab <schwab@linux-m68k.org>
3516 * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
3517 and obsoletion message.
3519 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
3521 * emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
3522 the constructs to keep outside of the `cl-block' (bug#12977).
3524 2012-11-27 Chong Yidong <cyd@gnu.org>
3526 * mouse.el (mouse-drag-line): Even if the line is not draggable,
3527 keep reading until we get the up-event anyway, in order to process
3528 the up-event for mouse-1-click-follows-link (Bug#12971).
3530 2012-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
3532 * emacs-lisp/advice.el (ad-should-compile): Don't compile advice if the
3533 base function is not yet defined (bug#12965).
3534 (ad-activate-advised-definition): Use ad-compile-function.
3535 (ad-activate): Use cond.
3537 2012-11-25 Leo Liu <sdl.web@gmail.com>
3539 * textmodes/sgml-mode.el (sgml-tag): Fix indentation for closing tag.
3542 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
3544 * textmodes/reftex-parse.el (reftex-parse-from-file): Use variable
3545 reftex-section-info-function in order to be compatible with
3546 Texinfo integration.
3548 * textmodes/reftex.el (reftex-section-pre-regexp)
3549 (reftex-section-post-regexp, reftex-section-info-function):
3551 (reftex-compile-variables): Use variables reftex-section-pre-regexp,
3552 reftex-section-post-regexp, and reftex-section-info-function in order
3553 to be compatible with Texinfo integration.
3555 * textmodes/reftex-toc.el (reftex-toc-promote-action):
3556 use reftex-section-pre-regexp variable in order to be compatible with
3557 Texinfo integration.
3559 2012-11-25 Chong Yidong <cyd@gnu.org>
3561 * faces.el: Make face-spec-set more analogous to setq.
3562 (face-spec-set): Change the third arg to specify whether this
3563 function is being called via defface, customize, or a third party.
3564 Set the appropriate symbol properties. Clear the override spec if
3565 setting via Custom. Initialize face if necessary. (Bug#4988)
3566 (face-spec-recalc): Allow theme faces to completely replace the
3567 defface spec, in the same way as custom faces (Bug#8454).
3569 * cus-face.el (custom-declare-face): Move face initialization to
3571 (custom-theme-set-faces): Don't initialize the face name here, as
3572 that is now done in face-spec-set.
3574 * cus-edit.el (custom-face-set, custom-face-mark-to-save)
3575 (custom-face-reset-saved, custom-face-mark-to-reset-standard):
3576 Simplify by using the new arg to face-spec-set.
3578 * emacs-lisp/lisp-mode.el (eval-defun-1): When evaluating defface,
3579 reset face-override-spec too, and use custom-declare-face.
3581 2012-11-24 Jan Djärv <jan.h.d@swipnet.se>
3583 * term/ns-win.el (ns-initialize-window-system): Move creation of
3584 fontsets here (Bug#11964).
3586 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
3588 * ses.el (ses-rename-cell): Correct bug on mode-line update after
3591 2012-11-24 Chong Yidong <cyd@gnu.org>
3593 * woman.el (woman-default-faces, woman-monochrome-faces): Mark as
3596 * custom.el (custom-theme-set-variables): Use a topological sort
3597 for ordering by custom dependencies (Bug#12952).
3598 (custom--sort-vars, custom--sort-vars-1): New functions.
3600 2012-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
3602 * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
3603 lexical-binding (bug#12938).
3605 2012-11-24 Wolfgang Jenkner <wjenkner@inode.at>
3607 * image-mode.el (image-transform-check-size): Use assertions only
3608 for images of type imagemagick.
3610 Otherwise no error, image-transform-fit-to-{width,height} is
3611 silently ignored, as before. Doc fix.
3613 2012-11-24 Chong Yidong <cyd@gnu.org>
3615 * faces.el (color-defined-p): Doc fix (Bug#12853).
3617 2012-11-24 Juri Linkov <juri@jurta.org>
3619 * dired.el (dired-mark): Add optional arg `interactive'.
3620 Check for `use-region-p' if `interactive' is non-nil.
3621 (dired-unmark, dired-flag-file-deletion): Add optional arg
3622 `interactive'. Call `dired-mark' with the arg `interactive'.
3625 * wdired.el: Revert 2012-10-17 change partly and replace it with
3626 Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
3627 (wdired-finish-edit): Add marks for new file names to
3628 `wdired-old-marks'. Restore marks using `dired-mark-remembered'
3629 after `revert-buffer'.
3630 (wdired-do-renames): Remove calls to `dired-remove-file',
3631 `dired-add-file', `dired-add-entry'. (Bug#11795)
3633 2012-11-24 Alan Mackenzie <acm@muc.de>
3635 * progmodes/cc-defs.el (c-version): Bump to 5.32.4.
3637 Fix bugs in the state cache. Enhance a debugging mechanism.
3638 * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
3639 "brace at column zero" strategy for C++.
3640 (c-append-lower-brace-pair-to-state-cache): Repair algorithm.
3641 (c-parse-state-point): New variable.
3642 (c-record-parse-state-state): Record old parse state with
3643 `copy-tree'. Record previous value of point.
3644 (c-debug-parse-state-double-cons): New debugging function.
3645 (c-debug-parse-state): Call the above new function.
3646 (c-toggle-parse-state-debug): Output a confirmatory message.
3648 * progmodes/cc-mode.el (c-before-change, c-after-change):
3649 Call c-invalidate-state-cache from `c-before-change' instead of
3652 2012-11-23 Chong Yidong <cyd@gnu.org>
3654 * find-cmd.el (find-constituents): Add executable, ipath,
3655 readable, samefile, writable, daystart, regextype (Bug#12856).
3657 2012-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
3659 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: Use cl-lib and lexical-binding.
3661 2012-11-22 Paul Eggert <eggert@cs.ucla.edu>
3663 * calc/calc.el (calc-gregorian-switch): Move to after calc-refresh
3664 definition. This fixes a bootstrap failure.
3665 (calc-gregorian-switch): In menu, put dates before regions.
3666 This is easier to follow, lines up better in the menu, and lets us
3667 coalesce regions that switch at the same time. Give country
3668 names, not "Vatican", as that's better for non-expert users.
3669 Use names that are stable between the date of switch and now, e.g.,
3670 Bohemia and Moravia (which existed then and now) and not
3671 Czechoslovakia (which didn't exist then and doesn't exist now).
3672 What is now the U.S. mostly did not switch at the same time as
3673 Britain, so omit the U.S. Correct spelling of "Britain".
3674 Catholic Switzerland was too much of a mess, so omit it.
3676 2012-11-22 Jay Belanger <jay.p.belanger@gmail.com>
3678 * calc/calc.el (calc-gregorian-switch): Refresh the Calc buffer
3679 after the variable is changed.
3681 2012-11-21 Daniel Colascione <dancol@dancol.org>
3683 * progmodes/sql.el (sql-mode-font-lock-object-name): Support IF NOT EXISTS
3684 in SQL declarations for font-lock.
3685 (sql-imenu-generic-expression): Teach imenu about IF NOT EXISTS.
3687 2012-11-21 Glenn Morris <rgm@gnu.org>
3689 * faces.el (face-underline-p, face-inverse-video-p, face-bold-p)
3690 (face-italic-p): Add optional argument "inherit".
3692 * faces.el (set-face-inverse-video, set-face-bold, set-face-italic):
3693 Remove -p suffix from names, for consistency with other set-face-*.
3694 (set-face-inverse-video): Fix interactive spec.
3695 * play/gamegrid.el (gamegrid-make-mono-tty-face):
3696 * textmodes/table.el (table--update-cell-face):
3697 Use set-face-inverse-video rather than now obsolete alias.
3699 2012-11-21 Eli Zaretskii <eliz@gnu.org>
3701 * simple.el (line-move): Don't call line-move-partial if
3702 scroll-conservatively is in effect. (Bug#12927)
3704 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
3706 * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
3707 Fallback on completion-at-point rather than
3708 pcomplete-expand-and-complete, and only if pcomplete actually failed.
3709 (eshell-cmpl-initialize): Setup completion-at-point.
3711 * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
3713 * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
3715 2012-11-21 Michael Albinus <michael.albinus@gmx.de>
3717 * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
3718 are remote, check out-of-band property for both.
3720 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
3722 * window.el (switch-to-buffer): Re-add the warning that was lost in the
3725 2012-11-21 Paul Eggert <eggert@cs.ucla.edu>
3727 More minor time fixes.
3728 * calendar/time-date.el: Commentary fix.
3729 * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
3730 too much other code depends on (0 0) time stamps.
3731 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
3732 Add a couple of FIXME comments.
3734 Minor cleanup for times as lists of four integers.
3735 * files.el (dir-locals-directory-cache):
3736 * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
3738 * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
3739 * ps-bdf.el (bdf-file-newer-than-time):
3740 Process four-integers time stamps, not two. Doc fixes.
3742 2012-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
3744 * uniquify.el (uniquify-managed): Use defvar-local.
3745 (rename-buffer, create-file-buffer): Advise with advice-add.
3746 (uniquify-unload-function): Unadvise accordingly.
3748 * emacs-lisp/trace.el: Rewrite, use nadvice and lexical-binding.
3749 (trace-buffer): Don't purecopy.
3750 (trace-entry-message, trace-exit-message): Add `context' arg.
3751 (trace--timer): New var.
3752 (trace-make-advice): Adjust for use in nadvice.
3753 Add `context' argument. Delay `display-buffer' via a timer.
3754 (trace-function-internal): Use advice-add.
3755 (trace--read-args): New function.
3756 (trace-function-foreground, trace-function-background): Use it.
3757 (trace-function): Rename to trace-function-foreground and redefine as
3758 an alias to that new name.
3759 (untrace-function, untrace-all): Adjust to the use of nadvice.
3761 * emacs-lisp/bytecomp.el (byte-compile): Fix handling of closures.
3763 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix last change.
3765 * subr.el (called-interactively-p-functions): New var.
3766 (internal--called-interactively-p--get-frame): New macro.
3767 (called-interactively-p, interactive-p): Rewrite in Lisp.
3768 * emacs-lisp/nadvice.el (advice--called-interactively-skip): New fun.
3769 (called-interactively-p-functions): Use it.
3770 * emacs-lisp/edebug.el (edebug--called-interactively-skip): New fun.
3771 (called-interactively-p-functions): Use it.
3772 * allout.el (allout-called-interactively-p): Don't assume
3773 called-interactively-p is a subr.
3775 2012-11-20 Glenn Morris <rgm@gnu.org>
3777 * profiler.el (profiler-report-mode-map): Add a menu.
3778 No need to bind `q' because we derive from special-mode.
3779 (profiler-report-find-entry): Handle calls from the menu-bar.
3781 2012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
3783 * emacs-lisp/byte-run.el (defun-declarations-alist):
3784 Allow a compiler-macro to be a lambda expression.
3786 * progmodes/python.el: Use cl-lib. Move var declarations outside of
3788 (python-syntax-context): Add compiler-macro.
3789 (python-font-lock-keywords): Simplify with De Morgan.
3791 * vc/diff-mode.el (diff-hunk): Don't make useless timers.
3793 * files.el (load-file): Require match in minibuffer selection, as was
3794 the case in Emacs-20 before we changed the spec to allow .elc files
3797 * json.el: Don't require cl since we don't use it.
3798 * color.el: Don't require cl.
3799 (color-complement): `caddr' -> `nth 2'.
3801 * calendar/time-date.el (time-to-seconds): De-obsolete.
3803 2012-11-19 Jay Belanger <jay.p.belanger@gmail.com>
3805 * calc/calc-forms.el (math-leap-year-p): Fix formula for negative
3807 (math-date-to-julian-dt): Adjust the initial approximation for the
3808 year to deal with the new definition of the DATE.
3810 2012-11-19 Daniel Colascione <dancol@dancol.org>
3812 * term/w32-win.el (cygwin-convert-path-from-windows):
3813 Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
3815 2012-11-18 Chong Yidong <cyd@gnu.org>
3817 * filecache.el (file-cache--read-list): New function.
3818 (file-cache-add-directory-list, file-cache-add-file-list)
3819 (file-cache-delete-file-list, file-cache-delete-directory-list):
3820 Use it to read a list of files or directories (Bug#12846).
3821 (file-cache-add-file, file-cache-add-directory)
3822 (file-cache-delete-file-list, file-cache-delete-file-regexp)
3823 (file-cache-delete-directory): Print an message.
3825 2012-11-18 Jay Belanger <jay.p.belanger@gmail.com>
3827 * calc/calc-forms.el (math-date-to-dt): Use integer date when
3828 calling `math-date-to-julian-dt' and 'math-date-to-gregorian-dt'.
3830 2012-11-18 Glenn Morris <rgm@gnu.org>
3832 * image.el (insert-image, insert-sliced-image): Doc fix.
3834 2012-11-18 Chong Yidong <cyd@gnu.org>
3836 * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
3839 2012-11-18 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
3841 * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
3842 response when the target file is in a subdirectory (Bug#12757).
3844 2012-11-18 Chong Yidong <cyd@gnu.org>
3846 * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
3848 2012-11-18 Glenn Morris <rgm@gnu.org>
3850 * emacs-lisp/cl-lib.el (face-underline-p):
3851 Use set-face-underline rather than the alias set-face-underline-p.
3853 * window.el (with-temp-buffer-window): Doc fix.
3854 * subr.el (with-output-to-temp-buffer):
3855 Add doc xref to with-temp-buffer-window.
3857 2012-11-18 Juanma Barranquero <lekktu@gmail.com>
3859 * woman.el (woman-non-underline-faces): Use `set-face-underline'.
3860 * calc/calc.el (math-format-date-cache): Declare.
3862 2012-11-17 Paul Eggert <eggert@cs.ucla.edu>
3864 Calc by default uses the Gregorian calendar for all dates (Bug#12633).
3865 It also uses January 1, 1 AD as its day number 1.
3866 * calc/calc-forms.el (math-julian-date-beginning)
3867 (math-julian-date-beginning-int): Implement this.
3869 2012-11-17 Juanma Barranquero <lekktu@gmail.com>
3871 * descr-text.el (quail-find-key):
3872 * dired.el (desktop-file-name):
3873 * dirtrack.el (shell-prefixed-directory-name, shell-process-cd):
3874 * generic-x.el (comint-mode, comint-exec):
3875 * image-dired.el (widget-forward):
3876 * info.el (speedbar-add-expansion-list, speedbar-center-buffer-smartly)
3877 (speedbar-change-expand-button-char)
3878 (speedbar-change-initial-expansion-list, speedbar-delete-subblock)
3879 (speedbar-make-specialized-keymap, speedbar-make-tag-line):
3880 * printing.el (easy-menu-add-item, easy-menu-remove-item)
3881 (widget-field-action, widget-value-set):
3882 * speedbar.el (imenu--make-index-alist):
3883 * term.el (ring-empty-p, ring-ref, ring-insert-at-beginning)
3884 (ring-length, ring-insert):
3885 * vcursor.el (compare-windows-skip-whitespace):
3886 * woman.el (dired-get-filename):
3889 * term/w32-win.el (cygwin-convert-path-from-windows): Fix declaration.
3891 2012-11-17 Jay Belanger <jay.p.belanger@gmail.com>
3893 * calc/calc.el (calc-gregorian-switch): New variable.
3895 * calc/calc-forms.el (math-day-in-year, math-dt-before-p)
3896 (math-absolute-from-gregorian-dt, math-absolute-from-julian-dt)
3897 (math-date-to-julian-dt, math-date-to-gregorian-dt): New functions.
3898 (math-leap-year-p): Add option to distinguish between Julian
3899 and Gregorian calendars.
3900 (math-day-number): Use `math-day-in-year' to do the computations.
3901 (math-absolute-from-dt): Rename from `math-absolute-from-date'.
3902 Use `math-absolute-from-gregorian' and `math-absolute-from-julian'
3903 to do the computations.
3904 (math-date-to-dt): Use `math-date-to-julian-dt' and
3905 `math-date-to-gregorian-dt' to do the computations.
3906 (calcFunc-weekday, math-format-date-part): Use the new version of
3907 the DATE to determine the weekday.
3908 (calcFunc-newmonth, calcFunc-newyear): Use `calc-gregorian-switch'
3911 2012-11-17 Eli Zaretskii <eliz@gnu.org>
3913 * term/w32-win.el (w32-handle-dropped-file): Use 'file://' only on
3914 Cygwin; otherwise use 'file:'. (Bug#12914)
3915 (cygwin-convert-path-from-windows): Declare, to avoid
3916 byte-compiler warnings.
3918 2012-11-17 Andreas Politz <politza@fh-trier.de>
3920 * ibuffer.el (ibuffer-mark-forward, ibuffer-unmark-forward)
3921 (ibuffer-unmark-backward, ibuffer-mark-interactive): Support plain
3922 prefix and negative numeric prefix args (Bug#12795).
3924 2012-11-17 Stephen Berman <stephen.berman@gmx.net>
3926 * play/gamegrid.el (gamegrid-add-score-with-update-game-score-1):
3927 Don't signal an error with a score that is too low to add to the
3928 list of top scores. (Bug#12779)
3930 2012-11-17 Chong Yidong <cyd@gnu.org>
3932 * help-mode.el (help-xref-interned): End on point-min (Bug#12737).
3934 * filecache.el (file-cache-add-file): Handle relative file name in
3935 the argument (Bug#12694).
3937 2012-11-16 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
3939 * eshell/em-unix.el (eshell/mkdir): Handle "--parents" (bug#12897).
3941 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
3943 * emacs-lisp/advice.el (ad-make-advised-definition): Improve last fix.
3945 * emacs-lisp/cl-lib.el: Set more meaningful version number.
3947 2012-11-16 Martin Rudalics <rudalics@gmx.at>
3949 * window.el (enlarge-window, shrink-window): Don't mention return
3950 value in doc-string (Bug#12896).
3951 (window--display-buffer): Don't resize frames - it won't work
3952 with all window managers and defeat pop-up-frame-alist.
3953 (display-buffer-alist): In doc-string explain that CONDITION can
3954 be a function and which arguments are passed to it (Bug#12854).
3955 (display-buffer-assq-regexp): New argument ACTION. Handle lambda
3956 expressions (Bug#12854).
3957 (display-buffer): Pass ACTION argument to
3958 display-buffer-assq-regexp.
3960 2012-11-16 Glenn Morris <rgm@gnu.org>
3962 * window.el (fit-frame-to-buffer-bottom-margin)
3963 (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
3965 * faces.el (face-underline-p): Use face-attribute-specified-or.
3967 2012-11-16 Juanma Barranquero <lekktu@gmail.com>
3969 * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
3971 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
3973 * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
3975 2012-11-16 Glenn Morris <rgm@gnu.org>
3977 * eshell/em-cmpl.el (eshell-pcomplete): New command. (Bug#12838)
3978 (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
3980 * faces.el (face-underline-p): Doc fix. Handle :underline being
3981 things other than `t' (a string, a list).
3982 (face-inverse-video-p): Doc fix.
3983 (set-face-underline): Rename it back from set-face-underline-p.
3984 Doc fix. Allow interactive input of values other than t.
3985 (read-face-attribute): Apply formatting to :underline,
3986 since like :box and :stipple it can take list values.
3988 * term.el (ansi-term): Don't let C-x escape-char binding
3989 clobber the more standard C-c binding. (Bug#12842)
3991 * subr.el (set-temporary-overlay-map): Doc fix.
3993 2012-11-16 Martin Rudalics <rudalics@gmx.at>
3995 * window.el (record-window-buffer)
3996 (display-buffer-record-window): When copying the markers to
3997 window-point preserve window-point-insertion-type. (Bug#12588)
3999 2012-11-16 Glenn Morris <rgm@gnu.org>
4001 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
4002 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
4003 Use new names for hooks rather than obsolete aliases.
4005 2012-11-15 Daniel Colascione <dancol@dancol.org>
4007 * term/w32-win.el (w32-handle-dropped-file): Use a "file://"
4008 prefix instead of "file:" so that when FILE-NAME begins with "//",
4009 as it does when the target file is on a network share, url-handler
4012 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
4014 * emacs-lisp/advice.el (ad-definition-type): Make sure we don't use
4015 a preactivated advice from an old advice.el; they're not compatible!
4017 2012-11-15 Katsumi Yamaoka <yamaoka@jpl.org>
4019 * emacs-lisp/nadvice.el (advice--make-interactive-form):
4020 Fix string-spec case.
4022 * emacs-lisp/advice.el (ad-make-advised-definition): Fix undefined case.
4024 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
4026 * emacs-lisp/nadvice.el: Add buffer-local support to add-function.
4027 (advice--buffer-local-function-sample): New var.
4028 (advice--set-buffer-local, advice--buffer-local): New functions.
4029 (add-function, remove-function): Use them.
4031 2012-11-15 Drew Adams <drew.adams@oracle.com>
4033 * imenu.el (imenu--split-submenus): Use imenu--subalist-p (bug#12717).
4035 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
4037 * emacs-lisp/cl-macs.el (cl--transform-lambda): Defend against
4038 potential binding of print-gensym to t, and prettify (back)quotes in
4039 case they appear in args's default values (bug#12884).
4041 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4043 * emacs-lisp/nadvice.el: Add around advice for interactive specs.
4044 (advice-eval-interactive-spec): New function.
4045 (advice--make-interactive-form): Support around advice (bug#12844).
4047 2012-11-14 Dmitry Gutov <dgutov@yandex.ru>
4049 * progmodes/ruby-mode.el (ruby-expr-beg): Make heredoc detection
4050 more strict. Add docstring.
4051 (ruby-expression-expansion-re): Extract from
4052 `ruby-match-expression-expansion'.
4053 (ruby-syntax-propertize-function): After everything else, search
4054 for expansions in string literals, mark their insides as
4055 whitespace syntax and save match data for font-lock.
4056 (ruby-font-lock-keywords): Use the 2nd group from expression
4058 (ruby-match-expression-expansion): Use the match data saved to the
4059 text property in ruby-syntax-propertize-function.
4061 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4063 * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
4066 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
4068 * progmodes/ruby-mode.el (ruby-move-to-block): Looks for a block
4069 start/end keyword a bit harder. Works with different values of N.
4071 (ruby-end-of-block): Update accordingly.
4073 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
4075 * woman.el (woman-file-name): Don't mess with unread-command-events
4078 * emacs-lisp/advice.el: Layer on top of nadvice.el.
4079 Remove out of date self-require hack.
4080 (ad-do-advised-functions): Use simple `dolist'.
4081 (ad-advice-name, ad-advice-protected, ad-advice-enabled)
4082 (ad-advice-definition): Redefine as functions.
4083 (ad-advice-classes): Move before first use.
4084 (ad-make-origname, ad-set-orig-definition, ad-clear-orig-definition)
4085 (ad-make-mapped-call, ad-make-advised-docstring,ad-make-plain-docstring)
4086 (ad--defalias-fset): Remove functions.
4087 (ad-make-advicefunname, ad-clear-advicefunname-definition): New funs.
4088 (ad-get-orig-definition): Rewrite.
4089 (ad-make-advised-definition-docstring): Change base docstring.
4090 (ad-real-orig-definition): Rewrite.
4091 (ad-map-arglists): Change name of called function.
4092 (ad--make-advised-docstring): Redirect `function' from ad-Advice-...
4093 (ad-make-advised-definition): Simplify.
4094 (ad-assemble-advised-definition): Tweak for new calling context.
4095 (ad-activate-advised-definition): Setup ad-Advice-* i.s.o ad-Orig-*.
4096 (ad--defalias-fset): Rename from ad-handle-definition. Make it set the
4097 function and call ad-activate if needed.
4098 (ad-activate, ad-deactivate): Don't call ad-handle-definition any more.
4099 (ad-recover): Clear ad-Advice-* instead of ad-Orig-*.
4100 (ad-compile-function): Compile ad-Advice-*.
4101 (ad-activate-on-top-level, ad-with-auto-activation-disabled): Remove.
4102 (ad-start-advice, ad-stop-advice): Remove.
4104 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
4106 * progmodes/ruby-mode.el (ruby-add-log-current-method): Print the
4107 period before class method names, not after. Remove handling of
4108 one impossible case. Add comments.
4110 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
4112 * emacs-lisp/advice.el: Remove support for freezing.
4113 (ad-make-freeze-docstring, ad-make-freeze-definition): Remove functions.
4114 (ad-make-single-advice-docstring, ad-defadvice-flags, defadvice):
4115 Remove support for `freeze'.
4117 * emacs-lisp/cl.el (dolist, dotimes, declare): Use advice-add to
4118 override the default.
4119 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Rewrite without using
4121 * subr.el (dolist, dotimes, declare): Redefine them normally, even when
4124 * emacs-lisp/nadvice.el (advice--normalize): New function, extracted
4126 (advice--strip-macro): New function.
4127 (advice--defalias-fset): Use them to handle macros.
4128 (advice-add): Use them.
4129 (advice-member-p): Correctly handle macros.
4131 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
4133 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
4134 Never font-lock the beginning of singleton class as heredoc.
4136 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
4138 * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
4140 2012-11-13 Wolfgang Jenkner <wjenkner@inode.at>
4142 * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
4143 39 and 49 (bug#12792). Also, treat unimplemented parameters as 0,
4144 thereby restoring the behavior of revisions prior to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
4146 2012-11-13 Fabián Ezequiel Gallina <fgallina@cuca>
4148 Fix end-of-defun misbehavior.
4149 * progmodes/python.el (python-nav-beginning-of-defun): Rename from
4150 python-beginning-of-defun-function. Handle nested defuns
4152 (python-nav-end-of-defun): Rename from
4153 python-end-of-defun-function. Ensure forward movement.
4154 (python-info-current-defun): Reimplement to work as intended
4155 with new fixed python-nav-{end,beginning}-of-defun. Stop scanning
4156 parent defuns as soon as possible.
4158 2012-11-13 Glenn Morris <rgm@gnu.org>
4160 * progmodes/flymake.el (flymake-error-bitmap)
4161 (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
4162 (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
4164 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
4166 * progmodes/ruby-mode.el (ruby-move-to-block): When moving
4167 backward, always stop at indentation. Reverts the change from
4168 2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
4170 2012-11-13 Glenn Morris <rgm@gnu.org>
4172 * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
4173 Add ibuffer-filter-by-derived-mode.
4175 * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
4176 the same name shadowing each other.
4178 * window.el (with-temp-buffer-window): Doc tweak.
4180 * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
4182 * help.el (temp-buffer-max-height):
4183 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
4184 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
4186 2012-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
4188 * emacs-lisp/nadvice.el: New package.
4189 * subr.el (special-form-p): New function.
4190 * emacs-lisp/elp.el: Use lexical-binding and advice-add.
4191 (elp-all-instrumented-list): Remove var.
4192 (elp-not-profilable): Remove elp-wrapper.
4193 (elp-profilable-p): Use autoloadp and special-form-p.
4194 (elp--advice-name): New const.
4195 (elp-instrument-function): Use advice-add.
4196 (elp--instrumented-p): New predicate.
4197 (elp-restore-function): Use advice-remove.
4198 (elp-restore-all, elp-reset-all): Use mapatoms.
4199 (elp-set-master): Use elp--instrumented-p.
4200 (elp--make-wrapper): Rename from elp-wrapper, return a function
4201 suitable for advice-add. Use cl-inf.
4202 (elp-results): Use mapatoms+elp--instrumented-p.
4203 * emacs-lisp/debug.el: Use lexical-binding and advice-add.
4204 (debug-function-list): Remove var.
4205 (debug): Rename arg, and then let-bind it explicitly inside.
4206 (debugger-setup-buffer): Rename arg.
4207 (debugger-setup-buffer): Adjust counts to new debug-on-entry setup.
4208 (debugger-frame-number): Adjust to new debug-on-entry setup.
4209 (debug--implement-debug-on-entry): Rename from
4210 implement-debug-on-entry, add argument.
4211 (debugger-special-form-p): Remove, use special-form-p instead.
4212 (debug-on-entry): Use advice-add.
4213 (debug--function-list): New function.
4214 (cancel-debug-on-entry): Use it, along with advice-remove.
4215 (debug-arglist, debug-convert-byte-code, debug-on-entry-1): Remove.
4216 (debugger-list-functions): Use debug--function-list instead of
4217 debug-function-list.
4218 * emacs-lisp/advice.el (ad-save-real-definition): Remove, unused.
4219 (ad-special-form-p): Remove, use special-form-p instead.
4220 (ad-set-advice-info): Use add-function and remove-function.
4221 (ad--defalias-fset): Adjust accordingly.
4223 2012-11-10 Glenn Morris <rgm@gnu.org>
4225 * mail/emacsbug.el (report-emacs-bug-tracker-url)
4226 (report-emacs-bug-bug-alist, report-emacs-bug-choice-widget)
4227 (report-emacs-bug-create-existing-bugs-buffer)
4228 (report-emacs-bug-parse-query-results)
4229 (report-emacs-bug-query-existing-bugs): Remove. (Bug#7449)
4231 * term.el (term-default-fg-color, term-default-bg-color):
4232 Make obsolete, rather than just saying "deprecated" in the doc.
4234 * term.el (term): Rename from `term-face'.
4235 (term-current-face, ansi-term-color-vector)
4236 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
4239 2012-11-10 Jan Djärv <jan.h.d@swipnet.se>
4241 * server.el (server-create-window-system-frame): Handle Nextstep
4242 specially (Bug#12780).
4244 2012-11-10 Glenn Morris <rgm@gnu.org>
4246 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
4247 Unautoload, and make obsolete. (Bug#7449)
4249 2012-11-10 Chong Yidong <cyd@gnu.org>
4251 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
4252 rename from diff-remove-trailing-whitespace (Bug#12831).
4254 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
4256 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
4257 miscompilation of trace.el.
4259 2012-11-10 Glenn Morris <rgm@gnu.org>
4261 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
4263 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
4265 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
4268 2012-11-10 Chong Yidong <cyd@gnu.org>
4270 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
4271 a defcustom with an appropriate :set function.
4272 (minibuffer-default--in-prompt-regexps): New function.
4274 2012-11-10 Glenn Morris <rgm@gnu.org>
4276 * emacs-lisp/cl.el (define-setf-expander, defsetf)
4277 (define-modify-macro): Doc fixes.
4279 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
4280 (gv-define-simple-setter): Update doc of `fix-return'.
4282 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
4284 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
4285 twice when `fix-return' is set (bug#12813).
4287 * emacs-lisp/cl.el (defsetf): Pass the third arg to
4288 gv-define-simple-setter (bug#12812).
4290 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
4293 2012-11-10 Glenn Morris <rgm@gnu.org>
4295 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
4297 * emacs-lisp/cl-extra.el (cl-prettyexpand):
4298 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
4299 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
4300 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
4302 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
4304 2012-11-10 Leo Liu <sdl.web@gmail.com>
4306 * ido.el (ido-set-matches-1): Improve flex matching performance by
4307 removing backtracking in the regexp (suggested by Stefan). (Bug#12796)
4309 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4311 * emacs-lisp/advice.el (ad-set-advice-info): Set defalias-fset-function.
4312 (ad--defalias-fset): New function.
4313 (ad-safe-fset): Remove.
4314 (ad-make-freeze-definition): Use cl-letf*.
4316 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4318 * subr.el (dolist): Don't bind VAR in RESULT.
4320 * emacs-lisp/advice.el: Miscellaneous cleanup. Use lexical-binding.
4321 (fset, documentation): Don't save real def since we don't advise.
4322 (ad-do-advised-functions): Remove problematic `result-form'.
4323 (ad-safe-fset): `ad-real-fset' => `fset'.
4324 (ad-read-advised-function): Don't assume that ad-do-advised-functions
4325 uses CL's dolist internally.
4326 (ad-arglist): Remove unused arg `name'.
4327 (ad-docstring, ad-make-advised-docstring):
4328 `ad-real-documentation' => `documentation'.
4329 (warning-suppress-types): Declare.
4330 (ad-set-arguments): Simple CSE.
4331 (ad-recover-normality): Sanity check.
4333 * emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Don't turn
4334 (funcall '(lambda ..) ..) into ((lambda ..) ..).
4336 2012-11-09 Vincent Belaïche <vincentb1@users.sourceforge.net>
4338 * ses.el: symbol to coordinate mapping is made by symbol property
4339 `ses-cell'. This means that the same mapping is done for all SES
4340 sheets. That is good enough for cells with standard A1 names, but
4341 not for named cell. So a hash map is added for the latter.
4342 (defconst ses-localvars): Add local variable ses--named-cell-hashmap
4343 (ses-sym-rowcol): Use hashmap for named cell.
4344 (ses-is-cell-sym-p): New defun.
4345 (ses-decode-cell-symbol): New defun.
4346 (ses-create-cell-variable): Add cell to hashmap when name is not
4348 (ses-rename-cell): Check that cell new name is not already in
4349 spreadsheet with the use of ses-is-cell-sym-p
4350 (ses-rename-cell): Use hash map for named cells, but accept also
4351 renaming back to A1-like.
4353 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4355 * emacs-lisp/advice.el: Use new dynamic docstrings.
4356 (ad-make-advised-definition-docstring, ad-advised-definition-p):
4357 Use dynamic-docstring-function instead of ad-advice-info.
4358 (ad--make-advised-docstring): New function extracted from
4359 ad-make-advised-docstring.
4360 (ad-make-advised-docstring): Use it.
4361 * progmodes/sql.el (sql--make-help-docstring): New function, extracted
4363 (sql-help): Use it with dynamic-docstring-function.
4365 * env.el (env--substitute-vars-regexp): Don't use rx (for bootstrap).
4367 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4369 * files.el (hack-one-local-variable--obsolete): New function.
4370 (hack-one-local-variable): Use it for obsolete settings.
4372 * subr.el (locate-user-emacs-file): If both old and new name exist, use
4375 * progmodes/js.el (js--filling-paragraph): New var.
4376 (c-forward-sws, c-backward-sws, c-beginning-of-macro): Advise.
4377 (js-c-fill-paragraph): Prefer advice to cl-letf so the rebinding is
4380 2012-11-08 Julien Danjou <julien@danjou.info>
4382 * progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
4383 `auto-mode-alist' (Bug#12835).
4385 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4387 * progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.
4388 (perl--prettify-symbols-alist): New const.
4389 (perl--font-lock-compose-symbol, perl--font-lock-symbols-keywords):
4391 (perl-font-lock-keywords-2): Use them.
4392 (perl-electric-noindent-p): New function.
4393 (perl-mode): Use it to set up electric-indent-mode.
4394 (perl-electric-terminator, perl-indent-command): Mark obsolete.
4395 (perl-mode-map): Remove bindings for them.
4396 (perl-imenu-generic-expression, perl-outline-level):
4397 Match functions&packages in column>0.
4399 * env.el (env--substitute-vars-regexp): New const.
4400 (substitute-env-vars): Use it. Add `only-defined' arg.
4401 * net/tramp.el (tramp-replace-environment-variables): Use it.
4403 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
4404 Byte-compile *before* eval in eval-and-compile.
4405 (byte-compile-log-warning): Remove redundant inhibit-read-only.
4406 (byte-compile-file-form-autoload): Don't hide actual definition.
4407 (byte-compile-maybe-guarded): Accept `functionp' as well.
4409 * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
4411 2012-11-07 Michael Albinus <michael.albinus@gmx.de>
4413 * notifications.el (notifications-get-server-information-method):
4415 (notifications-get-capabilities): Fix docstring.
4416 (notifications-get-server-information): New defun.
4418 2012-11-06 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4420 * textmodes/ispell.el (ispell-region): Standard re-indent for better
4423 * textmodes/ispell.el: Experimental support for support debugging.
4424 (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
4426 (ispell-print-if-debug): New function to print stuff to
4427 `ispell-debug-buffer' if debugging is enabled.
4428 (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
4429 show some debugging info.
4430 (ispell-buffer-with-debug): New function that creates a debugging
4431 buffer and calls `ispell-buffer' with debugging enabled.
4433 * textmodes/ispell.el (ispell-region): Do not prefix sent string by
4434 comment in autoconf mode. (Bug#12768)
4436 2012-11-06 Dmitry Antipov <dmantipov@yandex.ru>
4438 * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
4439 frame-first-window, frame-root-window, frame-selected-window,
4440 minibuffer-selected-window, minibuffer-window,
4441 window-absolute-pixel-edges, window-at, window-body-height,
4442 window-body-width, window-display-table, window-combination-limit,
4443 window-frame, window-fringes, window-inside-absolute-pixel-edges,
4444 window-inside-edges, window-inside-pixel-edges, window-left-child,
4445 window-left-column, window-margins, window-next-buffers,
4446 window-next-sibling, window-new-normal, window-new-total,
4447 window-normal-size, window-parameter, window-parameters, window-parent,
4448 window-pixel-edges, window-point, window-prev-buffers,
4449 window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
4450 window-start, window-text-height, window-top-child, window-top-line,
4451 window-total-height, window-total-width and window-use-time to the list
4452 of functions without side-effects.
4453 (toplevel): Add window-valid-p to the list of error-free functions
4454 without side-effects.
4456 2012-11-05 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4458 * textmodes/ispell.el (ispell-program-name):
4459 Update spellchecker parameters when customized.
4461 2012-11-04 Glenn Morris <rgm@gnu.org>
4463 * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn. (Bug#7850)
4465 2012-11-04 Chong Yidong <cyd@gnu.org>
4467 * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
4468 same-window-* variables.
4470 2012-11-04 Juri Linkov <juri@jurta.org>
4472 * isearch.el (isearch-help-for-help, isearch-describe-bindings)
4473 (isearch-describe-key, isearch-describe-mode): Use a display
4474 action instead of binding same-window-* variables (Bug#10040).
4476 2012-11-03 Glenn Morris <rgm@gnu.org>
4478 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
4479 Rename handler properties back from cl-- to cl-. (Bug#12788)
4481 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
4483 2012-11-03 Eli Zaretskii <eliz@gnu.org>
4485 * term/pc-win.el: Don't load term/internal from here.
4487 * loadup.el: Load term/internal from here.
4489 2012-11-03 Fabián Ezequiel Gallina <fgallina@cuca>
4491 * progmodes/python.el (inferior-python-mode): Fix hang in
4492 jit-lock (Bug#12645).
4494 2012-11-03 Martin Rudalics <rudalics@gmx.at>
4496 * window.el (switch-to-visible-buffer)
4497 (switch-to-buffer-preserve-window-point): Fix doc-strings.
4499 2012-11-03 Glenn Morris <rgm@gnu.org>
4501 * emacs-lisp/cl-lib.el (cl--random-time):
4502 Rename from cl-random-time. (Bug#12773)
4503 (cl--gensym-counter, cl--random-state): Update callers.
4504 * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
4506 2012-11-03 Chong Yidong <cyd@gnu.org>
4508 * cus-start.el: Make cursor-type customizable (Bug#11633).
4510 2012-11-02 Glenn Morris <rgm@gnu.org>
4512 * filecache.el: No need to load find-lisp when compiling.
4513 (find-lisp-find-files): Autoload it.
4514 (file-cache-add-directory-recursively): Don't require find-lisp.
4516 * image.el (image-type-from-file-name): Trivial simplification.
4518 * emacs-lisp/bytecomp.el (byte-compile-eval):
4519 Decouple "noruntime" and "cl-functions" warnings.
4521 2012-11-01 Stephen Berman <stephen.berman@gmx.net>
4523 * play/gomoku.el (gomoku-display-statistics): Update mode line
4524 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
4526 2012-10-31 Martin Rudalics <rudalics@gmx.at>
4528 * window.el (quit-restore-window): If the window has been
4529 created on an existing frame and ended up as the sole window on
4530 that frame, do not delete it (Bug#12764).
4532 2012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
4534 * progmodes/sh-script.el (sh--inside-noncommand-expression):
4535 Rename from sh--inside-arithmetic-expression, handle more cases
4538 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
4539 (sh-font-lock-open-heredoc): Use it (bug#12770).
4541 2012-10-30 Glenn Morris <rgm@gnu.org>
4543 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
4545 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
4547 2012-10-29 Chong Yidong <cyd@gnu.org>
4549 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
4550 function key is stored in a keyboard macro (Bug#4894).
4552 * thingatpt.el (number-at-point): Apply a thing-at-point property.
4554 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
4556 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
4558 (diff-unified->context, diff-context->unified)
4559 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
4561 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
4563 * files.el (find-alternate-file): Only ask one question (bug#12487).
4565 2012-10-29 Chong Yidong <cyd@gnu.org>
4567 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
4568 Suggested by Dan Nicolaescu (Bug#6326).
4570 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
4572 * startup.el (fancy-about-screen): Don't message (Bug#12680).
4574 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
4576 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
4578 * face-remap.el (face-remap-add-relative): Handle the case where a
4579 face-remapping-alist entry is a cons cell (Bug#12762).
4581 2012-10-29 Kevin Ryde <user42@zip.com.au>
4583 * woman.el (woman-parse-numeric-value): Handle picas correctly
4586 2012-10-29 Glenn Morris <rgm@gnu.org>
4588 * emacs-lisp/cl.el (defsetf): Doc fix.
4590 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
4592 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
4593 syntax to the matching opener, if any (bug#12547).
4594 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
4595 matching open as a "case-(".
4596 (sh-smie-rc-grammar): Add a corresponding rule for it.
4598 2012-10-28 Daniel Hackney <dan@haxney.org>
4600 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
4601 "PKGNAME-autoloads.el" in case we created it.
4603 2012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
4605 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
4606 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
4607 (completion--twq-all): Disable too-strict assertions.
4609 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
4611 2012-10-27 Eli Zaretskii <eliz@gnu.org>
4613 * profiler.el (profiler-report-make-entry-part): Fix help-echo
4614 text to match the real keybindings.
4616 2012-10-27 Juri Linkov <juri@jurta.org>
4618 * wdired.el (wdired-keep-marker-rename): New defcustom.
4619 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
4622 * dired.el (dired-keep-marker-rename): Add reference to
4623 `wdired-keep-marker-rename' in the docstring.
4624 Add default character value ?R to display initially in
4625 Customization UI instead of ?@.
4627 2012-10-27 Martin Rudalics <rudalics@gmx.at>
4629 * window.el (display-buffer): In doc-string describe
4630 window-height and window-width alist entries.
4632 * time.el (display-time-world): Restore fit-window-to-buffer
4635 2012-10-27 Chong Yidong <cyd@gnu.org>
4637 * subr.el (insert-buffer-substring-as-yank): Doc fix.
4639 2012-10-26 Jambunathan K <kjambunathan@gmail.com>
4641 * minibuffer.el (completion-category-overrides): New completion
4642 category `bookmark' (bug#11131).
4644 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
4646 * emacs-lisp/advice.el (ad-assemble-advised-definition):
4647 Silence bogus compiler warnings for ad-do-it.
4649 * bookmark.el (bookmark-completing-read): Set the completion category
4650 to `bookmark' (bug#11131).
4652 2012-10-26 Bastien <bzg@altern.org>
4653 Stefan Monnier <monnier@iro.umontreal.ca>
4655 * face-remap.el: Use lexical-binding.
4656 (text-scale-adjust): Improve docstring. Use itself for the temporary
4657 overlay-map bindings, so as to repeat the "Use..." message each time.
4659 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
4661 * emacs-lisp/macroexp.el (macroexp--expand-all):
4662 Obey byte-compile-warning-enabled-p (bug#12486).
4664 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
4665 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
4667 2012-10-26 Martin Rudalics <rudalics@gmx.at>
4669 * mouse.el (mouse-drag-line): Move last form into preceding when
4672 * help.el (resize-temp-buffer-window): Fix doc-string.
4674 2012-10-25 David Engster <deng@randomsample.de>
4676 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
4677 Remove. This feature is already integrated in imenu.
4679 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
4680 always loaded. Require `speedbar' unconditionally.
4682 2012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
4684 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
4686 * minibuffer.el (minibuffer-force-complete): Fix thinko.
4688 * net/ldap.el (ldap-search-internal): The official ldif format starts
4689 with a "version: 1" header (bug#12724).
4691 * emacs-lisp/package.el (package-installed-p): Warn if not ready
4694 2012-10-25 Glenn Morris <rgm@gnu.org>
4696 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
4698 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
4700 * minibuffer.el (minibuffer-force-complete): Use one more marker
4701 for the temporary-overlay-map command (bug#12619).
4703 2012-10-24 Chong Yidong <cyd@gnu.org>
4705 * time.el (display-time-world-mode): Derive from special-mode.
4706 (display-time-world): Use display-buffer (Bug#12708).
4707 (display-time-world-mode-map): Variable deleted.
4708 (display-time-world-display): Wrap the final delete-char inside
4711 2012-10-24 Chong Yidong <cyd@gnu.org>
4713 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
4716 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
4718 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
4720 * minibuffer.el (completion--all-sorted-completions-location): New var.
4721 (completion--cache-all-sorted-completions)
4722 (completion--flush-all-sorted-completions): Use it.
4723 (completion-in-region, completion-in-region--postch)
4724 (completion-at-point, completion-help-at-point): Use markers in
4725 completion-in-region--data (bug#12619).
4727 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
4729 * progmodes/compile.el (compilation-start): Try to handle common
4730 quoting of `cd' argument (bug#12640).
4732 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
4735 2012-10-23 Glenn Morris <rgm@gnu.org>
4737 * progmodes/gud.el (gud-menu-map):
4738 Check gdb-active-process is bound. (Bug#12358)
4740 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
4742 * repeat.el (repeat): Set real-this-command (bug#12232).
4744 * htmlfontify.el (hfy-post-html-hook):
4745 * filesets.el (filesets-cache-fill-content-hook):
4746 * arc-mode.el (archive-extract-hook):
4747 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
4748 * net/rcirc.el (rcirc-sentinel-functions)
4749 (rcirc-receive-message-functions, rcirc-activity-functions)
4750 (rcirc-print-functions):
4751 * net/dbus.el (dbus-event-error-functions):
4752 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
4753 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
4754 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
4755 * term/sun.el (sun-raw-prefix-hooks):
4756 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
4758 2012-10-23 Michael Albinus <michael.albinus@gmx.de>
4760 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
4761 Set `tramp-chunksize' to 1. This improves the performance.
4762 (tramp-smb-wait-for-output): Add timeout to
4763 `tramp-accept-process-output' calls.
4765 2012-10-23 Chong Yidong <cyd@gnu.org>
4767 * faces.el (font-list-limit): Define as an obsolete variable.
4769 * startup.el (command-line):
4770 * cus-start.el: Don't refer to font-list-limit.
4772 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
4774 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
4776 * subr.el (internal-temp-output-buffer-show): Rename from
4777 temp-output-buffer-show, since previously compiled files expect this name.
4779 2012-10-23 Glenn Morris <rgm@gnu.org>
4781 * image.el (image-type-from-file-name): If multiple types match,
4782 return the first one that is supported. (Bug#9045)
4784 2012-10-22 Glenn Morris <rgm@gnu.org>
4786 * image.el (imagemagick-enabled-types): Doc fix.
4788 2012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
4790 * progmodes/which-func.el (which-func-current): The hash-table may have
4791 an explicit nil (bug#12338).
4793 2012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
4795 * electric.el (electric-pair-delete-selection-self-insert-function):
4796 Rename to electric-pair-will-use-region, return a boolean.
4797 (electric-pair-mode): Adjust accordingly. Don't require delsel.
4799 * delsel.el (delete-selection-helper): Use a function instead of a hook.
4800 (delete-selection-pre-hook): Use use-region-p.
4801 (delete-selection-self-insert-function): Remove.
4802 (self-insert-command): Obey self-insert-uses-region-functions.
4803 (self-insert-iso): Revert to previous setting, since we don't actually
4804 know what that command does.
4805 (delete-selection-self-insert-hooks): Remove.
4807 2012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
4809 * delsel.el (delete-selection-helper): New function, extracted from
4810 delete-selection-pre-hook.
4811 (delete-selection-pre-hook): Use it.
4812 (delete-selection-self-insert-function): New function.
4813 (delete-selection-self-insert-hooks): New hook.
4814 (self-insert-command, self-insert-iso): Use it.
4815 * electric.el (electric-pair-syntax): New function, extracted from
4816 electric-pair-post-self-insert-function.
4817 (electric-pair-post-self-insert-function): Use it.
4818 (electric-pair-delete-selection-self-insert-function): New function.
4819 (electric-pair-mode): Require delsel and setup
4820 delete-selection-self-insert-hooks (bug#11520).
4822 2012-10-20 Chong Yidong <cyd@gnu.org>
4824 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
4825 no changes to show (Bug#12586).
4827 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
4828 list explicitly (Bug#12571).
4830 2012-10-20 Arne Jørgensen <arne@arnested.dk>
4832 * progmodes/flymake.el (flymake-create-temp-inplace):
4835 2012-10-20 Eli Zaretskii <eliz@gnu.org>
4837 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
4839 2012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
4841 * calc/calc-units.el (math-extract-units): Properly extract powers
4844 2012-10-20 Daniel Colascione <dancol@dancol.org>
4846 * frame.el (make-frame): Set x-display-name as we used to in order
4847 to unbreak creating an X11 frame from an Emacs daemon started
4850 2012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
4852 * minibuffer.el (minibuffer-force-complete): Make the next completion use
4853 the same completion-field (bug#12221).
4855 2012-10-19 Martin Rudalics <rudalics@gmx.at>
4857 * emacs-lisp/debug.el (debug): Record height of debugger window
4858 also when debugger will be back (Bug#8789).
4860 2012-10-18 Chong Yidong <cyd@gnu.org>
4862 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
4863 Convert to defcustom.
4864 (gdb-get-source-file): Don't bind pop-up-windows.
4866 * progmodes/gud.el (gud-display-line): Don't specially re-use
4867 other frames for the gdb-mi case (Bug#12648).
4869 2012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
4871 * emacs-lisp/advice.el: Clean up commentary a bit.
4872 (ad-do-advised-functions, ad-with-originals): Use `declare'.
4873 (byte-code-function-p): Never redefine.
4875 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
4877 2012-10-18 Glenn Morris <rgm@gnu.org>
4879 * dired.el (dired-sort-toggle): Some ls implementations only allow
4880 a single option string. (Bug#12666)
4882 * minibuffer.el (completion-cycle-threshold): Doc fix.
4884 2012-10-17 Kenichi Handa <handa@gnu.org>
4886 * international/mule.el (set-keyboard-coding-system):
4887 Recover input meta mode when the new coding system doesn not use 8-bit.
4888 Supply TERMINAL arg to set-input-meta-mode.
4890 2012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
4892 * wdired.el (wdired-old-marks): New variable.
4893 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
4894 (wdired-do-renames): Move point with renamed file and don't lose
4895 mark status (Bug#11795).
4897 2012-10-16 Juri Linkov <juri@jurta.org>
4899 * replace.el (query-replace-help): Mention multi-buffer replacement
4900 keys in the Help message. (Bug#12655)
4902 2012-10-15 Chong Yidong <cyd@gnu.org>
4904 * emacs-lisp/byte-run.el (defsubst): Doc fix.
4906 2012-10-14 Eli Zaretskii <eliz@gnu.org>
4908 * window.el (display-buffer): Doc fix.
4910 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4911 Adjust the msft regexp to the output of Studio 2010, and move msft
4912 before edg-1. See the discussion on emacs-devel,
4913 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
4916 2012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
4918 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
4919 (oset): Move uses of object-class-fast macro after its definition.
4921 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
4923 2012-10-13 Chong Yidong <cyd@gnu.org>
4925 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
4926 enabled, re-enable it (Bug#11963).
4928 2012-10-13 Martin Rudalics <rudalics@gmx.at>
4930 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
4931 non-nil, restore window configuration (Bug#12623).
4933 2012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
4935 * help-fns.el (describe-variable, describe-function-1):
4936 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
4938 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
4940 2012-10-12 Glenn Morris <rgm@gnu.org>
4942 * mail/rmailsum.el (rmail-header-summary):
4943 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
4945 2012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
4947 * progmodes/python.el (python-mode-map):
4948 Replace subtitute-key-definition with proper command remapping.
4949 (python-nav--up-list): Fix behavior for blocks on the same level.
4951 2012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
4953 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
4955 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
4956 changes to the format of load-history.
4958 * international/mule-cmds.el (read-char-by-name): Move let-binding of
4959 completion-ignore-case in case that var is buffer-local (bug#12615).
4961 2012-10-11 Kenichi Handa <handa@gnu.org>
4963 * international/eucjp-ms.el: Re-generated.
4965 2012-10-10 Kenichi Handa <handa@gnu.org>
4967 * select.el (xselect--encode-string): If a coding is specified for
4968 selection, and that is compatible with COMPOUND_TEXT, use it.
4970 2012-10-10 Martin Rudalics <rudalics@gmx.at>
4972 * window.el (switch-to-buffer-preserve-window-point): New option.
4974 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
4976 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
4978 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
4979 Don't document nil as a useful value (bug#12583).
4981 2012-10-09 Michael Albinus <michael.albinus@gmx.de>
4983 * net/tramp.el (tramp-debug-message):
4984 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
4985 (with-tramp-progress-reporter): Rename from
4986 `tramp-with-progress-reporter'.
4987 (with-tramp-file-property, with-tramp-connection-property):
4988 Move from tramp-cache.el, rename from `with-file-property' and
4989 `with-connection-property', respectively.
4991 * net/tramp-cache.el: Remove `with-file-property' and
4992 `with-connection-property'.
4995 * net/tramp-gvfs.el:
4997 * net/tramp-smb.el: Adapt callees.
4999 * net/trampver.el: Update release number.
5001 2012-10-09 Glenn Morris <rgm@gnu.org>
5003 * w32-fns.el (set-message-beep):
5004 * term/w32-win.el (set-message-beep): Update declarations.
5006 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
5008 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
5009 (mode-line-widen, mode-line-input-method-map)
5010 (mode-line-coding-system-map, mode-line-remote)
5011 (mode-line-unbury-buffer, mode-line-bury-buffer)
5012 (mode-line-next-buffer, mode-line-previous-buffer):
5013 Replace save-selected-window+select-window => with-selected-window.
5015 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
5016 * progmodes/cc-vars.el (bq-process): Remove, unused.
5018 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
5020 2012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
5022 Implemented `backward-up-list'-like navigation.
5023 * progmodes/python.el (python-nav-up-list)
5024 (python-nav-backward-up-list): New functions.
5025 (python-mode-map): Define substitute key for backward-up-list to
5026 python-nav-backward-up-list.
5028 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
5030 * progmodes/python.el (python-fill-paragraph): Rename from
5031 python-fill-paragraph-function. Fixed fill-paragraph for
5032 decorators (Bug#12605).
5034 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
5036 * progmodes/python.el (python-shell-output-filter): Handle extra
5037 carriage return in OSX (Bug#12409).
5039 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
5041 Fix shell handling of unbalanced quotes and parens in output.
5042 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
5043 (python-syntax-propertize-function): Use it.
5044 (python-shell-output-syntax-table): New var.
5045 (inferior-python-mode): Prevent unbalanced parens/quotes from
5046 previous output mess with current input context.
5048 2012-10-08 Juanma Barranquero <lekktu@gmail.com>
5050 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
5051 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
5053 2012-10-08 Michael Albinus <michael.albinus@gmx.de>
5055 * ffap.el (ffap-replace-file-component): Support Tramp file name
5056 syntax, not only ange-ftp's one.
5058 2012-10-08 Glenn Morris <rgm@gnu.org>
5060 * cus-start.el (message-log-max): Set :version.
5062 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
5064 2012-10-08 Martin Rudalics <rudalics@gmx.at>
5066 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
5067 the minibuffer window (Bug#10851).
5069 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
5071 Enhancements on forward-sexp movement.
5072 * progmodes/python.el (python-nav-beginning-of-statement)
5073 (python-nav-end-of-statement): Return point-marker.
5074 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
5075 (python-info-current-symbol)
5076 (python-info-statement-starts-block-p): Rename from
5077 python-info-beginning-of-block-p.
5078 (python-info-statement-ends-block-p): Rename from
5079 python-info-end-of-block-p.
5080 (python-info-beginning-of-statement-p)
5081 (python-info-end-of-statement-p)
5082 (python-info-beginning-of-block-p, python-info-end-of-block-p):
5085 2012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
5087 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
5088 frame-selected-windows.
5090 2012-10-08 Daniel Colascione <dancol@dancol.org>
5092 * battery.el (battery-status-function): Check for
5093 w32-battery-status itself, not system-time windows-nt.
5095 * frame.el: Require cl-lib.
5096 (display-format-alist): New variable mapping frame types to
5097 functions that initialize them.
5098 (window-system-for-display): New function: interprets
5099 display-format-alist.
5100 (make-frame-on-display): Remove existing display-selection logic
5101 and just forward to make-frame, which will now DTRT.
5102 (make-frame): Restructure to use window-system-for-display to
5103 figure out how to create a frame on a given display.
5104 (display-mouse-p): Look for frame-type w32, not a particular
5107 * loadup.el: Load w32 lisp code when we have the w32 feature.
5109 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
5110 system-type windows-nt.
5112 * server.el (server-create-window-system-frame): Look for window
5114 (server-proces-filter): Only force a window system when windows-nt
5115 _and_ w32. Explain why.
5117 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
5118 of window systems we configure for the mode.
5120 * startup.el (command-line): Mark window system is initialized
5121 after we've done it.
5123 * common-win.el (x-select-text): Look for w32, not windows-nt.
5125 * ns-win.el: Require cl-lib. Add ourselves to
5126 display-format-alist.
5127 (ns-initialize-window-system): Assert we're not initialized twice.
5129 * w32-win.el: Enable lexical binding; require cl-lib; add
5130 ourselves to display-format-alist.
5131 (w32-handle-dropped-file): Convert incoming dropped files from
5132 Windows paths to Cygwin ones before passing them on to the rest of
5134 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
5135 (w32-initialize-window-system): Assert we're not initialized twice.
5137 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
5138 (x-initialize-window-system): Assert we're not initialized twice.
5140 * w32-common-fns.el: New File.
5141 (w32-version, w32-using-nt, w32-get-clipboard-data)
5142 (w32-set-clipboard-data, x-set-selection, x-get-selection)
5143 (w32-charset-info-alist, x-last-selected, text)
5144 (x-get-selection-value, x-selection-value): Move here.
5146 * w32-fns.el: Require w32-common-fns.
5147 (w32-version, w32-using-nt, w32-get-clipboard-data)
5148 (w32-set-clipboard-data, x-set-selection, x-get-selection)
5149 (w32-charset-info-alist, x-last-selected, text)
5150 (x-get-selection-value, x-selection-value): Move to
5154 (w32-allow-system-shell, w32-system-shells): Define only in
5157 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
5159 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
5160 (read-passwd): Remove a few more potential sources of leaks.
5162 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
5164 * progmodes/python.el (inferior-python-mode)
5165 (python-shell-make-comint): Fix initialization of local
5166 variables copied from parent buffer.
5168 2012-10-07 Jan Djärv <jan.h.d@swipnet.se>
5170 * term/ns-win.el (ns-read-file-name): Update declaration to match
5172 (ns-respond-to-change-font): Change fontsize separatly so we are sure
5173 it is set when font is acted upon.
5175 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
5177 Enhancements to indentation.
5178 * progmodes/python.el (python-indent-context): Give priority to
5179 inside-string context. Make comments indentation markers.
5180 (python-indent-region): Do not mess with strings, unless it's the
5181 enclosing set of quotes.
5183 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
5185 * window.el (internal--before-save-selected-window)
5186 (internal--after-save-selected-window): New functions extracted from
5187 save-selected-window. Make sure we return the `alist' we construct.
5188 (save-selected-window): Use them.
5190 * textmodes/tex-mode.el (tex-recenter-output-buffer):
5191 Use with-selected-window.
5193 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
5194 forms that define macros (bug#12593).
5196 2012-10-07 Kenichi Handa <handa@gnu.org>
5198 * international/mule-conf.el (compound-text-with-extensions):
5199 Add :mime-charset property as x-ctext.
5201 2012-10-07 Stefan Merten <smerten@oekonux.de>
5203 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
5204 (rst-indent-literal-normal, rst-indent-literal-minimized)
5205 (rst-indent-comment): Correct :version tag.
5206 (rst-official-cvs-rev): Correct version string.
5208 2012-10-07 Glenn Morris <rgm@gnu.org>
5210 * mail/rmailmm.el (rmail-mime-process-multipart):
5211 Do not confuse a multipart message with an epilogue
5212 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
5214 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
5216 Fix shell output retrieval and comint-prompt-regexp init.
5217 * progmodes/python.el (inferior-python-mode):
5218 (python-shell-make-comint): Fix initialization of
5219 comint-prompt-regexp from copied file local variables.
5220 (python-shell-fetched-lines): Remove var.
5221 (python-shell-output-filter-in-progress): Rename from
5222 python-shell-fetch-lines-in-progress.
5223 (python-shell-output-filter-buffer): Rename from
5224 python-shell-fetch-lines-string.
5225 (python-shell-fetch-lines-filter): Delete function.
5226 (python-shell-output-filter): New function.
5227 (python-shell-send-string-no-output): Use them.
5229 2012-10-07 Glenn Morris <rgm@gnu.org>
5231 * hi-lock.el (hi-lock-process-phrase):
5232 Try to make it less fragile. (Bug#7161)
5234 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
5236 2012-10-06 Glenn Morris <rgm@gnu.org>
5238 * ehelp.el (electric-help-mode): Use help-mode rather than
5239 non-existent mode `help'.
5240 (electric-help-map): Use button-buffer-map. (Bug#10917)
5242 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
5243 (reftex-create-bibtex-footer): Fix custom types.
5245 * progmodes/sh-script.el (sh-indent-after-continuation):
5246 Add explicit :group.
5248 * textmodes/rst.el (rst-preferred-decorations)
5249 (rst-shift-basic-offset): Clarify obsolescence versions.
5251 * profiler.el (profiler): Add missing group :version tag.
5252 * avoid.el (mouse-avoidance-banish-position):
5253 * proced.el (proced-renice-command):
5254 * calc/calc.el (calc-ensure-consistent-units):
5255 * calendar/icalendar.el (icalendar-import-format-uid):
5256 * net/tramp.el (tramp-save-ad-hoc-proxies):
5257 * progmodes/bug-reference.el (bug-reference-bug-regexp):
5258 * progmodes/flymake.el (flymake-error-bitmap)
5259 (flymake-warning-bitmap, flymake-fringe-indicator-position):
5260 * progmodes/sh-script.el (sh-indent-after-continuation):
5261 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
5262 (verilog-before-save-font-hook, verilog-after-save-font-hook):
5263 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
5264 (vhdl-array-index-record-field-in-sensitivity-list)
5265 (vhdl-indent-comment-like-next-code-line):
5266 * textmodes/reftex-vars.el (reftex-ref-style-alist)
5267 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
5268 (reftex-cite-key-separator, reftex-create-bibtex-header)
5269 (reftex-create-bibtex-footer):
5270 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
5271 (rst-indent-literal-normal, rst-indent-literal-minimized)
5272 (rst-indent-comment): Add missing custom :version tags.
5274 * calendar/timeclock.el (timeclock-modeline-display):
5275 Add missing obsolete alias for renamed user option.
5277 * strokes.el (strokes-modeline-string):
5278 * emulation/crisp.el (crisp-mode-modeline-string):
5279 * eshell/esh-mode.el (eshell-status-in-modeline):
5280 Aliases to defcustoms must come before the defcustom.
5282 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
5283 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
5284 (cal-tex-cursor-week-monday): Doc fixes.
5285 (cal-tex-cursor-week2-summary): Doc fix.
5286 Rename from cal-tex-cursor-week-at-a-glance.
5288 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
5289 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
5291 * calendar/calendar.el (calendar-mode-map):
5292 Add cal-tex-cursor-week2-summary.
5294 2012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
5296 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
5298 * subr.el (read-passwd-map): New var.
5299 (read-passwd): Use `read-string' again.
5300 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
5302 2012-10-06 Jambunathan K <kjambunathan@gmail.com>
5304 * register.el (append-to-register, prepend-to-register):
5305 Deactivate mark, as does `copy-to-register' (bug#12389).
5307 2012-10-06 Chong Yidong <cyd@gnu.org>
5309 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
5311 2012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
5313 * international/characters.el: Fix simple mistake ((car chars) ->
5314 elt), delete duplicated code.
5316 2012-10-06 Glenn Morris <rgm@gnu.org>
5318 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
5320 2012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
5322 * color.el (color-hsl-to-rgb): Fix incorrect results for
5323 small and large hue values. (Bug#12559)
5325 2012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
5327 Enhancements to docstring formatting when filling paragraphs.
5328 * progmodes/python.el (python-fill-docstring-style): Rename from
5329 python-fill-string-style. Added new style.
5330 (python-fill-string): Use new style. Better checks for
5333 2012-10-05 Glenn Morris <rgm@gnu.org>
5335 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
5337 * color.el (color-name-to-rgb, color-rgb-to-hex)
5338 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
5339 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
5340 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
5341 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
5343 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
5345 2012-10-05 Juanma Barranquero <lekktu@gmail.com>
5347 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
5348 to get the correct size across symlinks.
5350 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
5352 2012-10-04 Juri Linkov <juri@jurta.org>
5354 * replace.el (query-replace-interactive): Declare obsolete.
5355 (query-replace-read-from): Add the last incremental search string
5356 to the list of default values accessible via M-n.
5357 (map-query-replace-regexp): Use `read-regexp'.
5358 (query-replace, query-replace-regexp, query-replace-regexp-eval)
5359 (map-query-replace-regexp, replace-string, replace-regexp):
5360 Fix docstrings to replace mentions of `query-replace-interactive'
5361 with alternatives. (Bug#12526)
5363 2012-10-04 Juri Linkov <juri@jurta.org>
5365 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
5366 (dired-pop-to-buffer): Declare obsolete.
5367 (dired-mark-pop-up): Doc fix.
5369 2012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
5371 Allow user to set docstring style for fill-paragraph.
5372 * progmodes/python.el
5373 (python-fill-comment-function, python-fill-string-function)
5374 (python-fill-decorator-function, python-fill-paren-function):
5375 Remove :safe for defcustoms.
5376 (python-fill-string-style): New defcustom
5377 (python-fill-paragraph-function): Enhance context detection.
5378 (python-fill-string): Honor python-fill-string-style settings.
5380 2012-10-04 Martin Rudalics <rudalics@gmx.at>
5382 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
5383 after setting its buffer (Bug#10805).
5385 2012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
5387 Fix cornercase for string syntax.
5388 * progmodes/python.el (python-syntax-propertize-function):
5389 Simplify and enhance the regexp for unescaped quotes. Now it also
5390 matches quotes in weird situations like the single quote in
5392 (python-syntax-stringify): Simplify num-quotes detecting code.
5394 2012-10-03 Glenn Morris <rgm@gnu.org>
5396 * help-macro.el (three-step-help):
5397 Revert 2012-09-29 change. (Bug#12567)
5399 2012-10-03 Martin Rudalics <rudalics@gmx.at>
5401 * menu-bar.el (kill-this-buffer): Don't do anything when
5402 `menu-frame' is not alive or visible (Bug#8184).
5404 * emacs-lisp/debug.el (debug): When quitting the debugger window
5405 restore current buffer (Bug#12502).
5407 2012-10-02 Chong Yidong <cyd@gnu.org>
5409 * progmodes/hideif.el (hif-lookup, hif-defined):
5410 Handle semantic-c-takeover-hideif.
5412 2012-10-02 Paul Eggert <eggert@cs.ucla.edu>
5414 Change sampling interval units from ms to ns.
5415 * profiler.el (profiler-sampling-interval): Change units
5416 from ms to ns, multiplying the default by 1000000 so that
5418 (profiler-report-cpu-line-format): Give enough room for
5419 the maximum counters on 64-bit hosts.
5420 (profiler-report-render-calltree-1): Call them "CPU samples",
5421 not "Time (ms)", since they are not milliseconds now (and
5424 2012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
5426 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
5427 Fix querying BBDB for entries without a last name (Bug#11580).
5429 2012-10-02 Chong Yidong <cyd@gnu.org>
5431 * emacs-lisp/eieio.el: Restore Version header.
5433 2012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
5435 * vc/diff-mode.el (diff--auto-refine-data): New var.
5436 (diff-hunk): Use it to delay refinement.
5437 (diff-mode): Remove overlays when we turn off font-lock.
5439 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
5440 (table-initialize-table-fixed-width-mode)
5441 (table-set-table-fixed-width-mode): Remove functions.
5442 (table-command-list): Move initialization into declaration.
5443 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
5444 (table-with-cache-buffer): Use `declare'.
5445 (table-span-cell): Simplify via CSE.
5446 (table-fixed-width-mode): Use define-minor-mode.
5447 (table-call-interactively, table-funcall, table-apply): Remove.
5448 (table-function): New function, to replace them.
5450 * bookmark.el (bookmark-search-pattern): Remove var.
5451 (bookmark-read-search-input): Remove function.
5452 (bookmark-bmenu-search): Reimplement using a minibuffer.
5454 * faces.el (modeline): Remove obsolete face name.
5456 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
5457 and give a non-nil default value.
5458 (add-change-log-entry): Simplify accordingly.
5460 2012-10-01 Dmitry Gutov <dgutov@yandex.ru>
5462 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
5463 (vc-git-log-edit-toggle-amend): New function.
5464 (vc-git-log-edit-toggle-signoff): New function.
5465 (vc-git-log-edit-mode): New major mode.
5466 (vc-git-log-edit-mode-map): Keymap for it.
5467 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
5469 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
5471 (log-edit-toggle-header): New function.
5472 (log-edit-extract-headers): Accept function values in HEADERS alist.
5474 2012-10-01 David Engster <deng@randomsample.de>
5476 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
5477 from symbol property and change message to be more consistent with
5479 (eieio-describe-generic): Add filename for each implementation.
5480 Fix indices for generic and normal methods.
5481 (eieio-method-def, eieio-class-def): New buttons.
5482 (eieio-help-find-method-definition)
5483 (eieio-help-find-class-definition): New functions.
5484 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
5485 class, constructor and method definitions.
5487 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
5488 information in symbol property.
5489 (scoped-class): Remove.
5490 (eieio-slot-name-index, call-next-method): Check if it is bound.
5492 2012-10-01 Leo P. White <lpw25@cam.ac.uk>
5494 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
5495 (eieio-custom-mode): New major mode.
5496 (eieio-customize-object): Use it.
5498 2012-10-01 Eric Ludlam <zappo@gnu.org>
5500 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
5501 specifying the expected class, and whether subclassing is allowed.
5502 (eieio-persistent-convert-list-to-object):
5503 (eieio-persistent-validate/fix-slot-value)
5504 (eieio-persistent-slot-type-is-class-p): New functions.
5505 (eieio-named::slot-missing): Doc fix.
5507 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
5508 Stop using unused publd variable.
5510 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
5511 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
5512 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
5513 (eieio-speedbar-handle-click): Do not specify a class for the
5514 method. Fixes method invocation order problems with EDE.
5516 2012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
5518 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
5519 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
5521 2012-10-01 Karl Fogel <kfogel@red-bean.com>
5523 * bookmark.el (bookmark-version-control): Give tags in the
5524 :type choices (Bug#12309), and improve doc string.
5525 (bookmark-write-file): Bind `print-circle' to `t' to allow
5526 circular custom bookmark types. (Bug#12503)
5528 2012-10-01 Paul Eggert <eggert@cs.ucla.edu>
5530 Revert the FOLLOW-SYMLINKS change for file-attributes.
5531 * files.el (remote-file-name-inhibit-cache, after-find-file):
5532 * time.el (display-time-file-nonempty-p): Undo last change.
5534 * profiler.el (profiler-sampling-interval): Change default back to 1.
5535 See Stefan Monnier in
5536 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
5538 2012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
5540 Shell output catching a la gud-gdb.
5541 * progmodes/python.el (python-shell-fetch-lines-in-progress)
5542 (python-shell-fetch-lines-string, python-shell-fetched-lines):
5544 (python-shell-fetch-lines-filter): New function.
5545 (python-shell-send-string-no-output): Use them.
5547 2012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
5549 * profiler.el (profiler-sampling-interval): Rename from
5550 profiler-sample-interval.
5551 (profiler-sampling-interval): Default to 10.
5552 (profiler-find-profile): New command (was profiler-find-log).
5553 (profiler-find-profile-other-window): New command.
5554 (profiler-find-profile-other-frame): New command.
5555 (profiler-profile): Introduce API-level data structure.
5557 2012-09-30 Paul Eggert <eggert@cs.ucla.edu>
5559 file-attributes has a new optional arg FOLLOW-SYMLINKS.
5560 * files.el (remote-file-name-inhibit-cache):
5561 * time.el (display-time-file-nonempty-p): Use it.
5562 * files.el (after-find-file): Don't chase links before calling
5563 file-exists-p, as file-exists-p already does the right thing.
5565 2012-09-30 Ralf Angeli <angeli@caeruleus.net>
5567 Merge from standalone RefTeX repository.
5569 The following ChangeLog entries are shortened versions of the
5570 original ones with file paths adapted. A not so strongly edited
5571 version of the original ChangeLog can be found in the commit log.
5573 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
5574 (reftex-arg-cite): Use `reftex-cite-key-separator'.
5575 Correctly handle new value type returned by `reftex-citation'.
5577 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
5578 that entries with whitespace at various places are found.
5579 Doc fix. Include entries that are cross-referenced from cited entries.
5580 Include @String definitions in the resulting bib file. Add header
5581 and footer defined in `reftex-create-bibtex-header' and
5582 `reftex-create-bibtex-footer'.
5583 (reftex-do-citation): Make it possible again to insert
5584 non-existent entries. Save match data when asking for optional
5585 arguments. Return all keys, not just the first one.
5586 (reftex-all-used-citation-keys): Fix regexp to correctly extract
5587 all citations in the same line.
5588 (reftex-parse-bibtex-entry): Accept additional optional argument
5589 `raw' and keep quotes or braces if it is non-nil. Match fields
5590 containing hyphens besides word constituents.
5591 (reftex-get-string-refs): New function.
5592 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
5593 and ask if it should be reread in case it did.
5594 (reftex-pop-to-bibtex-entry)
5595 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
5596 entries with spaces or tabs in front of arguments.
5597 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
5598 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
5599 Match entries containing numbers and symbol constituents.
5600 (reftex-do-citation, reftex-figure-out-cite-format):
5601 Use `reftex-cite-key-separator'.
5603 * textmodes/reftex-dcr.el: Move provide statement to end of file.
5604 (reftex-mouse-view-crossref): Explain why point is set.
5606 * textmodes/reftex-global.el: Whitespace changes.
5608 * textmodes/reftex-index.el: Move provide statement to end of
5610 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
5611 (reftex-index-visit-phrases-buffer): Set marker when visiting
5612 buffer. This allows for returning from the phrases file to the
5613 file one was just editing instead of the file where the last
5614 phrases was added from.
5615 (reftex-index-phrases-syntax-table): New variable. Give ?\"
5616 punctuation syntax as it usually is not used as string quote in
5617 TeX-related modes and may occur unmatched. The change also
5618 prevents fontification of quoted content.
5619 (reftex-index-phrases-mode): Use it.
5621 * textmodes/reftex-parse.el (reftex-parse-from-file):
5622 Move backward one char if a `\' was matched after a section macro.
5623 (reftex-parse-from-file): Use beginning of match instead of end as
5626 * textmodes/reftex-ref.el: Adapt creation of
5627 `reftex-<package>-<macro>' functions to new structure of
5628 `reftex-ref-style-alist'.
5629 (reftex-reference): Use `reftex-ref-style-list' function.
5630 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
5631 reference macro if `reftex-ref-macro-prompt' is non-nil.
5632 (reftex-reference): Pass refstyle to `reftex-format-special'.
5633 Determine reference macro by looking at
5634 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
5635 Use only one special format function.
5636 (reftex-varioref-vref, reftex-fancyref-fref)
5637 (reftex-fancyref-Fref): Remove definitions. The functions are now
5638 generated from `reftex-ref-style-alist'.
5639 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
5641 (reftex-format-special): New function.
5643 * textmodes/reftex-sel.el
5644 (reftex-select-cycle-ref-style-internal): Adapt to new structure
5645 of `reftex-ref-style-alist'. Remove code for testing macro type.
5646 (reftex-select-toggle-varioref)
5647 (reftex-select-toggle-fancyref): Remove.
5648 (reftex-select-cycle-ref-style-internal)
5649 (reftex-select-cycle-ref-style-forward)
5650 (reftex-select-cycle-ref-style-backward): New functions.
5651 (reftex-select-label-map): Use `v' and `V' for general cycling
5652 through reference styles. Add `p' for switching between number
5653 and page reference types.
5655 * textmodes/reftex-toc.el (reftex-re-enlarge):
5656 Call `enlarge-window' only if there is something to do because in Emacs
5657 the horizontal version throws an error even if the parameter is 0.
5659 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
5660 (reftex-plug-into-AUCTeX): Doc fix.
5661 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
5662 string. Adapt to new name.
5663 (reftex-ref-style-alist): Change structure so that it is not
5664 possible to use multiple different package names within a style.
5665 Remove the symbols for symbols for macro type distinction.
5666 Add characters for macro selection.
5667 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
5668 (reftex-create-bibtex-footer): New variables.
5669 (reftex-format-ref-function): Mention third argument of special
5671 (reftex-ref-style-alist, reftex-ref-style-default-list):
5673 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
5674 to new implementation. Mark as obsolete. Add compatibility code
5675 for honoring the variable values in case they are set.
5676 (reftex-cite-format-builtin, reftex-bibliography-commands):
5677 Add support for ConTeXt.
5678 (reftex-format-ref-function, reftex-format-cite-function):
5680 (reftex-cite-key-separator): New variable.
5682 * textmodes/reftex.el (reftex-syntax-table-for-bib)
5683 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
5684 `reftex-syntax-table' because parens have to retain their paren
5685 syntax in order for parsing of BibTeX entries like @book(...) to
5687 (reftex-in-comment): Do not error out if `comment-start-skip' is
5688 not set. Deal correctly with escaped comment characters.
5689 (reftex-tie-multifile-symbols): Add doc string.
5690 Initialize `reftex-ref-style-list'.
5691 (reftex-untie-multifile-symbols): Add doc string.
5692 (reftex-add-index-macros): Doc fix.
5693 (reftex-ref-style-activate, reftex-ref-style-toggle)
5694 (reftex-ref-style-list): New functions.
5695 (reftex-mode-menu): Use them. Adapt to new structure of
5696 `reftex-ref-style-alist'.
5697 (reftex-select-with-char): Kill the RefTeX Select buffer when
5699 (reftex-remove-if): New function.
5700 (reftex-erase-all-selection-and-index-buffers)
5701 (reftex-mode-menu): Reference styles are now computed from
5702 `reftex-ref-style-alist'. Fix typo.
5703 (reftex-report-bug): New function.
5704 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
5705 algorithms with O(n log n). Introduce optional argument SORT (not
5708 2012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
5710 Enhancements for triple-quote string syntax.
5711 * progmodes/python.el (python-syntax-propertize-function):
5712 Match both quote cases in one regexp.
5713 (python-syntax-stringify): Handle matches properly.
5715 2012-09-30 Juri Linkov <juri@jurta.org>
5717 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
5718 to nil around the call to `insert' to prevent
5719 directory time modification by lock_file. (Bug#2295)
5720 * tar-mode.el (tar-summarize-buffer): Idem.
5722 2012-09-30 Juri Linkov <juri@jurta.org>
5724 * facemenu.el (list-colors-sort): Add option "Luminance".
5725 (list-colors-sort-key): Implement it.
5727 * vc/diff-mode.el (diff-refine-removed):
5728 * vc/ediff-init.el (ediff-fine-diff-A):
5729 * vc/smerge-mode.el (smerge-refined-removed):
5730 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
5732 2012-09-30 Jan Djärv <jan.h.d@swipnet.se>
5734 * term/ns-win.el (x-file-dialog): New function.
5736 2012-09-30 Juanma Barranquero <lekktu@gmail.com>
5738 * ido.el (ido-max-directory-size): Default to nil; the current
5739 default is small for POSIX systems, and impractical on Windows 7
5740 now that lstat returns directory sizes for NTFS.
5742 2012-09-30 Martin Rudalics <rudalics@gmx.at>
5744 In buffer display functions handle window-height/window-width
5745 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
5746 * window.el (window--display-buffer): New argument ALIST.
5747 Obey window-height and window-width alist entries.
5748 (window--try-to-split-window): New argument ALIST.
5749 Bind window-combination-limit to t when the window's size shall be
5750 changed and window-combination-limit equals `window-size'.
5751 (display-buffer-in-atom-window)
5752 (display-buffer-in-major-side-window)
5753 (display-buffer-in-side-window, display-buffer-same-window)
5754 (display-buffer-reuse-window, display-buffer-pop-up-frame)
5755 (display-buffer-pop-up-window, display-buffer-below-selected)
5756 (display-buffer-at-bottom, display-buffer-in-previous-window)
5757 (display-buffer-use-some-window): Adjust all callers of
5758 window--display-buffer and window--try-to-split-window.
5759 (fit-frame-to-buffer): New option.
5760 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
5762 (display-buffer-in-major-side-window): Evaluate window-height /
5763 window-width alist entries.
5765 * help.el (temp-buffer-resize-frames)
5766 (temp-buffer-resize-regexps): Remove options.
5767 (temp-buffer-resize-mode): Adjust doc-string.
5768 (resize-temp-buffer-window): Don't consult
5769 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
5770 temp-buffer-resize-frames.
5772 * dired.el (dired-mark-pop-up):
5773 Call display-buffer-below-selected with a fit-window-to-buffer alist
5776 2012-09-30 Chong Yidong <cyd@gnu.org>
5778 * server.el (server-host): Document the security implications.
5779 (server-auth-key): Doc fix.
5781 * startup.el (initial-buffer-choice): Doc fix.
5783 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
5785 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
5788 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
5790 * help-fns.el (help-fns--obsolete): Fix last change.
5792 2012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
5794 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
5795 (minor-mode-map-alist): Remove redundant code.
5797 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
5798 visited in a buffer.
5799 (cvs-insert-visited-file): New function.
5800 (find-file-hook): Use it.
5802 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
5804 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
5806 (log-edit-empty-buffer-p): Don't require a space after a header.
5808 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
5810 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
5812 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
5813 a proper minor-mode.
5815 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
5817 2012-09-29 Glenn Morris <rgm@gnu.org>
5819 * winner.el (winner-mode): Remove variable (let define-minor-mode
5821 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
5823 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
5824 (winner-mode): Use define-minor-mode.
5826 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
5827 the full definition in loaddefs, rather than duplicating it.
5829 * help-macro.el (three-step-help): No need to autoload defcustom.
5831 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
5832 (inferior-lisp-program, inferior-lisp-load-command)
5833 (inferior-lisp-prompt, inferior-lisp-mode-hook):
5834 No need to autoload defcustoms.
5836 * hippie-exp.el (hippie-expand-try-functions-list)
5837 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
5838 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
5839 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
5840 (hippie-expand-only-buffers): No need to autoload defcustoms.
5841 * progmodes/vhdl-mode.el (vhdl-line-expand):
5842 Explicitly load hippie-exp, so it does not get autoloaded
5843 while hippie-expand-try-functions-list is let-bound.
5845 2012-09-28 Glenn Morris <rgm@gnu.org>
5847 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
5849 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
5850 Only "cl.el" counts as cl these days.
5852 2012-09-28 Juri Linkov <juri@jurta.org>
5854 Display archive errors in the echo area instead of inserting
5857 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
5858 to STDERR-TEST that can be a regexp matching a successful output.
5859 Create a temporary file and redirect stderr to it. Search for
5860 STDERR-TEST in the stderr output and display it in the echo area
5861 if no match is found.
5862 (archive-extract-by-file): New function like
5863 `archive-extract-by-stdout' but extracting archives to files
5864 and looking for successful matches in stdout. Function body is
5865 mostly copied from `archive-rar-extract'.
5866 (archive-rar-extract): Use `archive-extract-by-file'.
5867 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
5869 2012-09-28 Leo Liu <sdl.web@gmail.com>
5871 * pcomplete.el (pcomplete-show-completions):
5872 Use minibuffer-message to make pcomplete usable in minibuffer.
5874 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
5876 2012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
5878 * type-break.el: Use lexical-binding.
5879 (type-break-mode): Use define-minor-mode.
5881 * emacs-lisp/pcase.el (pcase--mark-used): New.
5882 (pcase--u1): Use it (bug#12512).
5884 * custom.el (load-theme): Set buffer-file-name so the load is recorded
5885 in load-history with the right file name.
5887 2012-09-28 Tassilo Horn <tsdh@gnu.org>
5889 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
5890 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
5891 (doc-view-get-bounding-box): Make bounding box slicing work for
5892 ODF and DVI documents.
5894 2012-09-28 Glenn Morris <rgm@gnu.org>
5896 * type-break.el (type-break-mode, type-break-interval)
5897 (type-break-good-rest-interval, type-break-keystroke-threshold):
5898 No need to autoload.
5899 (type-break-good-rest-interval, type-break-keystroke-threshold):
5902 2012-09-28 Chong Yidong <cyd@gnu.org>
5904 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
5907 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
5909 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
5911 2012-09-27 Glenn Morris <rgm@gnu.org>
5913 * faces.el (x-display-name): Declare (for without-x builds).
5915 * linum.el (linum-format): Don't autoload it. Improve :type.
5917 * progmodes/tcl.el: Don't require outline when compiling.
5918 (outline-regexp, outline-level): Declare.
5919 * textmodes/sgml-mode.el: Don't require outline when compiling.
5920 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
5922 * term.el (term-ansi-reset):
5923 Try setting term-ansi-face-already-done to nil. (Bug#11785)
5925 * vc/vc.el (vc-next-action): Only gripe about committing read-only
5926 files for RCS and SCCS. (Bug#9781)
5928 2012-09-27 Chong Yidong <cyd@gnu.org>
5930 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
5931 change; value should be t.
5933 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
5935 * image-mode.el: Use lexical-binding.
5936 (image-mode-winprops): Use t to stand for the window of
5937 a buffer that's not displayed.
5938 * doc-view.el (doc-view-new-window-function): Handle the new
5940 (doc-view-enlarge): Make it a real nop if the size is not changed.
5941 (doc-view-display): Handle the case where the buffer is not (yet?)
5942 displayed in any window.
5943 (doc-view-saved-settings): New var.
5944 (doc-view-mode): Use it.
5945 (doc-view-fallback-mode): Set it.
5947 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
5948 Set lexical-binding.
5949 (minibuffer-eldef-shorten-default): New var.
5950 (minibuffer-default-in-prompt-regexps): Use it for new default.
5951 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
5953 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
5955 * international/uni-bidi.el:
5956 * international/uni-category.el:
5957 * international/uni-name.el:
5958 * international/uni-numeric.el: Regenerate.
5960 2012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
5961 Stefan Monnier <monnier@iro.umontreal.ca>
5963 * profiler.el: New file.
5965 2012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
5967 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
5968 (testcover-reinstrument): Simplify with CSE.
5970 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
5972 * window.el (temp-buffer-window-setup): Fix typo in docstring.
5974 2012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
5976 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
5977 (verilog-auto-input, verilog-auto-insert-lisp)
5978 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
5979 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
5980 (verilog-auto-unused, verilog-auto-wire)
5981 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
5982 newline. Reported by Andrew Jones.
5983 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
5984 Reported by Brad Dobbie.
5985 (verilog-batch-delete-trailing-whitespace):
5986 Create verilog-batch-delete-trailing-whitespace.
5987 Reported by Brad Dobbie.
5988 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
5989 parameters from another module. Reported by Dan Katz.
5990 (verilog-auto, verilog-auto-assign-modport)
5991 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
5992 AUTOINOUTMODPORT for UVM interface module shell generation.
5993 Reported by Brad Dobbie.
5994 (verilog-auto-inst-interfaced-ports): Make default nil, as more
5996 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
5997 Reported by Matt Martin.
5999 2012-09-25 Martin Rudalics <rudalics@gmx.at>
6001 * window.el (window--resize-child-windows): When resizing child
6002 windows proportionally, process them in reverse order to
6003 preserve the "when splitting a window the new one gets the odd
6005 (window--resize-root-window-vertically): When resizing the
6006 minibuffer window try to affect only windows at the bottom of the
6009 2012-09-25 Chong Yidong <cyd@gnu.org>
6011 * subr.el (declare): Doc fix.
6013 * help-fns.el (help-fns--obsolete): Handle macros properly.
6015 2012-09-25 Chong Yidong <cyd@gnu.org>
6017 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
6018 this function obsolete.
6020 * calendar/cal-x.el (calendar-two-frame-setup)
6021 (calendar-only-one-frame-setup, calendar-one-frame-setup):
6022 * calendar/calendar.el (american-calendar, european-calendar)
6023 (calendar-for-loop):
6024 * comint.el (comint-dynamic-simple-complete)
6025 (comint-dynamic-complete-as-filename, comint-unquote-filename):
6026 * desktop.el (desktop-load-default):
6027 * dired-x.el (dired-omit-here-always)
6028 (dired-hack-local-variables, dired-default-directory):
6029 * emacs-lisp/derived.el (derived-mode-class):
6030 * emacs-lisp/timer.el (timer-set-time-with-usecs):
6031 * emacs-lock.el (toggle-emacs-lock):
6032 * epa.el (epa-display-verify-result):
6033 * epg.el (epg-sign-keys, epg-start-sign-keys)
6034 (epg-passphrase-callback-function):
6035 * eshell/esh-util.el (eshell-for):
6036 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
6037 (eshell-add-to-window-buffer-names):
6038 * files.el (locate-file-completion):
6039 * imenu.el (imenu-example--create-c-index)
6040 (imenu-example--create-lisp-index)
6041 (imenu-example--lisp-extract-index-name)
6042 (imenu-example--name-and-position):
6043 * international/mule-cmds.el (princ-list):
6044 * international/mule-diag.el (decode-codepage-char):
6045 * international/mule-util.el (detect-coding-with-priority):
6046 * iswitchb.el (iswitchb-read-buffer):
6047 * mail/mailalias.el (mail-complete):
6048 * mail/sendmail.el (mail-sent-via):
6049 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
6050 (mouse-major-mode-menu):
6051 * password-cache.el (password-read-and-add):
6052 * pcomplete.el (pcomplete-parse-comint-arguments):
6053 * progmodes/sh-script.el (sh-maybe-here-document):
6054 * replace.el (query-replace-regexp-eval):
6055 * savehist.el (savehist-load):
6056 * simple.el (choose-completion-delete-max-match):
6057 * term.el (term-dynamic-simple-complete):
6058 * vc/ediff-init.el (ediff-check-version):
6059 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
6060 * vc/vc.el (vc-diff-switches-list):
6061 * view.el (view-return-to-alist-update): Likewise.
6063 * subr.el (eval-next-after-load, makehash, insert-string)
6064 (assoc-ignore-representation, assoc-ignore-case): Use declare to
6066 (mode-line-inverse-video): Variable deleted.
6068 * international/mule-util.el (string-to-sequence): Remove.
6070 * calendar/calendar.el (calendar-version):
6071 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
6072 (icalendar-convert-diary-to-ical):
6073 * cus-edit.el (custom-mode):
6074 * ansi-color.el (ansi-color-unfontify-region):
6075 * international/latin1-disp.el (latin1-char-displayable-p):
6076 * progmodes/cwarn.el (turn-on-cwarn-mode):
6077 * progmodes/which-func.el (which-func-update-1):
6078 Use define-obsolete-function-alias.
6080 * net/newst-backend.el (newsticker-cache-filename):
6081 * net/newst-treeview.el (newsticker-groups-filename):
6082 Fix incorrect obsolescence declaration.
6084 * allout.el (allout-passphrase-hint-string): Likewise.
6085 (allout-init): Use a declare form to mark obsolete.
6087 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
6088 this applies to functions.
6090 * iswitchb.el (iswitchb-read-buffer): Move code of
6091 iswitchb-define-mode-map here, and delete that obsolete function.
6093 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
6094 font-lock-reference-face.
6096 2012-09-25 Glenn Morris <rgm@gnu.org>
6098 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
6101 * eshell/em-term.el (eshell-term-name):
6102 Default to term-term-name. (Bug#12485)
6104 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
6106 * progmodes/python.el (python-shell-send-buffer): Better handling
6107 of "if __name__ == '__main__':" conditionals when sending the buffer.
6109 2012-09-24 Glenn Morris <rgm@gnu.org>
6111 * eshell/esh-cmd.el (eshell-find-alias-function):
6112 Tighten up file-name regexp. (Bug#12499)
6114 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
6116 Enhancements for triple-quote string syntax.
6117 * progmodes/python.el (python-quote-syntax): Remove.
6118 (python-syntax-propertize-function): New value.
6119 (python-syntax-count-quotes, python-syntax-stringify):
6122 2012-09-24 Chong Yidong <cyd@gnu.org>
6124 * mail/supercite.el (sc-version): Remove obsolete function.
6125 (sc-describe): Don't mark as obsolete, since it is bound.
6126 (sc-submit-bug-report): Remove.
6128 * vc/log-edit.el (cvs-changelog-full-paragraphs)
6129 (cvs-commit-buffer-require-final-newline): Remove.
6130 (log-edit-require-final-newline)
6131 (log-edit-changelog-full-paragraphs): Default to t.
6133 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
6134 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
6135 * vc/vc.el (vc-checkout-carefully): Likewise.
6137 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
6138 (emerge-version): Remove.
6140 * progmodes/compile.el (compile-internal): Remove.
6141 (compilation-parse-errors-function): Fix typo.
6143 * international/mule.el (set-char-table-default): Remove.
6144 (set-coding-priority, make-coding-system, generic-char-p)
6145 (charset-list, charset-bytes, charset-id): Use declare to mark
6146 functions as obsolete.
6148 * vc/pcvs-defs.el (cvs-buffer-name-alist)
6149 (cvs-invert-ignore-marks): Remove references to obsolete vars.
6150 * vc/vc-hooks.el (vc-default-registered): Don't use
6151 vc-master-templates.
6153 * font-lock.el (font-lock-reference-face):
6154 Use define-obsolete-variable-alias.
6156 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
6157 * calendar/calendar.el (calendar-font-lock-keywords):
6158 * calendar/diary-lib.el (diary-font-lock-keywords)
6159 (diary-fancy-font-lock-keywords):
6160 * textmodes/reftex-sel.el (reftex-insert-docstruct):
6161 * textmodes/reftex-index.el (reftex-insert-index):
6162 * textmodes/reftex-cite.el (reftex-format-bib-entry):
6163 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6164 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
6165 * progmodes/prolog.el (prolog-font-lock-keywords):
6166 * progmodes/idlwave.el (idlwave-idl-keywords):
6167 * progmodes/ada-mode.el (ada-font-lock-keywords):
6168 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
6170 2012-09-24 Glenn Morris <rgm@gnu.org>
6172 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
6174 2012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
6176 * progmodes/python.el (python-indent-line): More consistent cursor
6179 2012-09-23 Stefan Merten <smerten@oekonux.de>
6181 * textmodes/rst.el: Fix compiler warning.
6183 2012-09-23 Roland Winkler <winkler@gnu.org>
6185 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
6186 Transcribe also LaTeX hyphenation.
6187 (bibtex-reformat): Bug fix. Do not quote twice the elements of
6188 bibtex-reformat-previous-options.
6190 2012-09-23 Roland Winkler <winkler@gnu.org>
6192 * proced.el (proced-renice-command): New variable.
6193 (proced-marked-processes): New function.
6194 (proced-with-processes-buffer): New macro.
6195 (proced-send-signal): Use them.
6196 (proced-renice): New command bound to r.
6198 2012-09-23 Roland Winkler <winkler@gnu.org>
6200 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
6201 ibuffer-saved-filter-groups has one element, shortcut the call of
6202 completing-read. (Bug#12331)
6204 2012-09-23 Chong Yidong <cyd@gnu.org>
6206 * bindings.el (mode-line-toggle-read-only):
6207 * bs.el (bs-toggle-readonly):
6208 * buff-menu.el (Buffer-menu-toggle-read-only):
6209 * dired.el (dired-toggle-read-only):
6210 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
6212 2012-09-23 Chong Yidong <cyd@gnu.org>
6214 * image.el (image-type-available-p): Adapt to init-image-library
6217 2012-09-22 Juri Linkov <juri@jurta.org>
6219 * dired.el (dired-mode-map): Add [remap read-only-mode] for
6220 `dired-toggle-read-only'. (Bug#12462)
6222 2012-09-22 Martin Rudalics <rudalics@gmx.at>
6224 * subr.el (temp-output-buffer-show): New function.
6225 (with-output-to-temp-buffer): Call temp-output-buffer-show
6226 instead of internal-temp-output-buffer-show.
6228 2012-09-22 Chong Yidong <cyd@gnu.org>
6230 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
6233 * repeat.el (repeat): Doc fix (Bug#12348).
6235 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
6238 * simple.el (shell-command-on-region): Doc fix.
6239 (read-only-mode): Doc fix.
6241 2012-09-22 Eli Zaretskii <eliz@gnu.org>
6243 * emacs-lisp/timer.el (run-with-idle-timer)
6244 (timer-activate-when-idle): Warn against reinvoking an idle timer
6245 from within its own timer action. (Bug#12447)
6247 2012-09-22 Martin Rudalics <rudalics@gmx.at>
6249 * cus-start.el (window-combination-limit): Add new optional
6251 * window.el (temp-buffer-window-show)
6252 (window--try-to-split-window): Handle new values of
6253 window-combination-limit (Bug#1806).
6254 (split-window): Test window-combination-limit for t instead of
6256 (display-buffer-at-bottom): New buffer display action function.
6257 * help.el (temp-buffer-resize-regexps): New option.
6258 (temp-buffer-resize-mode): Rewrite doc-string.
6259 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
6260 Don't resize reused window. Suggested by Glenn Morris.
6262 2012-09-22 Stefan Merten <smerten@oekonux.de>
6264 * textmodes/rst.el: Revamp section title faces.
6265 (rst-official-version)
6266 (rst-package-emacs-version-alist): Sync with official version
6268 (rst-faces-defaults, rst-set-level-default)
6269 (rst-level-face-max, rst-level-face-base-color)
6270 (rst-level-face-base-light, rst-level-face-format-light)
6271 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
6272 (rst-adornment-faces-alist): Match new setup.
6273 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
6274 (rst-level-5, rst-level-6): New faces.
6276 2012-09-22 Chong Yidong <cyd@gnu.org>
6278 * simple.el (undo): Handle indirect buffers (Bug#8207).
6280 2012-09-21 Leo Liu <sdl.web@gmail.com>
6282 IDO: Disable match re-ordering for buffer switching.
6283 * ido.el (ido-buffer-disable-smart-matches): New variable.
6284 (ido-set-matches-1): Use it. (Bug#2042)
6286 2012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
6288 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
6289 Fix 2011-05-17 change. (Bug#12418)
6291 2012-09-21 Leo Liu <sdl.web@gmail.com>
6293 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
6295 2012-09-21 Glenn Morris <rgm@gnu.org>
6297 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
6298 Be more robust about locating simple.el.
6300 2012-09-21 Glenn Morris <rgm@gnu.org>
6302 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
6304 2012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
6306 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
6308 2012-09-20 Juri Linkov <juri@jurta.org>
6310 * replace.el (query-replace-read-from): Use `read-regexp' instead
6311 of `read-from-minibuffer' when `regexp-flag' is non-nil.
6312 (occur-read-primary-args): Use `read-regexp' instead of
6314 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
6315 `read-from-minibuffer'.
6316 * isearch.el (isearch-occur): Use `read-regexp' instead of
6318 * dired.el (dired-read-regexp): Use `read-regexp' instead of
6319 `read-from-minibuffer'.
6320 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
6321 of `read-string'. (Bug#7567)
6323 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
6324 and allow accepting a list of strings prepended to a list of
6325 standard default values. Doc fix. (Bug#12321)
6327 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
6329 * replace.el (read-regexp): Don't add ": " when PROMPT already
6330 ends with a colon and space. (Bug#12321)
6332 2012-09-20 Tassilo Horn <tsdh@gnu.org>
6334 * doc-view.el (doc-view-display): Better fix for the cl-assertion
6337 2012-09-20 Stefan Merten <smerten@oekonux.de>
6339 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
6340 Fixes feature request bug#11711.
6341 (rst-mode): Create `imenu-create-index-function'.
6342 (rst-get-stripped-line): Delete after refactoring.
6343 (rst-section-tree, rst-section-tree-rec)
6344 (rst-section-tree-point): Refactor and document properly.
6345 (rst-imenu-find-adornments-for-position)
6346 (rst-imenu-convert-cell, rst-imenu-create-index):
6349 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
6351 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
6352 (macroexp--expand-all): Use it.
6353 (macroexp--funcall-and-return): Remove by folding it into its sole
6354 caller (macroexp--warn-and-return).
6355 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
6356 Use macroexp--obsolete-warning.
6358 * calc/calc.el: Fix last change by removing the whole chunk, since it
6359 was only needed back when Calc was not bundled.
6361 2012-09-20 Martin Rudalics <rudalics@gmx.at>
6363 * emacs-lisp/debug.el (debug): Restore assignment to
6364 debugger-old-buffer removed on 2012-09-08.
6366 2012-09-20 Juri Linkov <juri@jurta.org>
6368 * dired-aux.el (dired-diff): Remove (require 'diff) since
6369 `diff-latest-backup-file' is now autoloaded.
6371 2012-09-20 Chong Yidong <cyd@gnu.org>
6373 * vc/diff.el (diff-latest-backup-file): Autoload.
6375 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
6377 * calc/calc.el: Remove redundant autoload shape check.
6378 (sel-mode): Don't defvar.
6379 (calc-get-stack-element): Add `sel-mode' arg instead.
6380 (calc-top, calc-top-list): Pass it this additional argument.
6381 * calc/calc-store.el (calc-store-map):
6382 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
6383 (calc-map-equation, calc-outer-product, calc-inner-product):
6384 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
6386 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
6388 2012-09-19 Juri Linkov <juri@jurta.org>
6390 * dired-aux.el (dired-diff): Add (require 'diff) because
6391 `diff-latest-backup-file' is not autoloaded.
6392 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
6393 of `dired-get-filename' to t to not report error when there is
6394 no default file on the current line.
6396 2012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
6398 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
6399 macroexp--eval-if-compile.
6400 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
6401 (macroexp--expand-all): Use them (bug#12371).
6403 * doc-view.el (doc-view-guess-paper-size)
6404 (doc-view-scale-bounding-box): Fix unbound `caddr'.
6406 2012-09-19 Tassilo Horn <tsdh@gnu.org>
6408 New feature: set optimal slice from BoundingBox information.
6409 * doc-view.el (doc-view-mode-map): Add keybinding.
6410 (doc-view-menu): Add menu entry.
6411 (doc-view-set-slice): Adapt docstring.
6412 (doc-view-get-bounding-box, doc-view-guess-paper-size)
6413 (doc-view-scale-bounding-box)
6414 (doc-view-set-slice-from-bounding-box): New functions.
6415 (doc-view-paper-sizes): New defvar.
6417 2012-09-19 Glenn Morris <rgm@gnu.org>
6419 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
6420 (byte-compile-log-warning): Autoload. (Bug#12371)
6422 * calendar/calendar.el (calendar-american-month-header)
6423 (calendar-european-month-header, calendar-iso-month-header)
6424 (calendar-month-header): New options.
6425 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
6426 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
6428 2012-09-19 Jan Djärv <jan.h.d@swipnet.se>
6430 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
6432 2012-09-18 Juri Linkov <juri@jurta.org>
6434 * dired-aux.el (dired-diff): Restore original functionality of
6435 getting the default value, but keep new feature of using the
6436 latest existing backup file (`diff-latest-backup-file').
6438 2012-09-18 Juri Linkov <juri@jurta.org>
6440 * dired.el (dired-mark): If the region is active in Transient Mark
6441 mode, mark all files in the active region. Doc fix.
6442 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
6443 Doc fix. (Bug#10624)
6445 2012-09-18 Juri Linkov <juri@jurta.org>
6447 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
6448 attributes for M-n are pulled from the file at point.
6449 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
6450 Suggested by Drew Adams. (Bug#10624)
6452 2012-09-18 Dmitry Gutov <dgutov@yandex.ru>
6454 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
6455 whitespace after "end".
6456 (ruby-do-end-to-brace): Collapse block to one line if it fits
6459 2012-09-18 Martin Rudalics <rudalics@gmx.at>
6461 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
6463 (debug): Don't remove debugger window when debugger is expected
6466 2012-09-18 Chong Yidong <cyd@gnu.org>
6468 * custom.el (defface): Doc fix.
6470 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
6472 2012-09-18 Martin Blais <blais@furius.ca> (tiny change)
6474 * progmodes/compile.el (compilation-start): Use compilation-always-kill
6475 to initialize query-on-exit; then test that instead (bug#12288).
6477 2012-09-17 Stefan Merten <smerten@oekonux.de>
6479 * textmodes/rst.el: Add support for `testcover'.
6480 (rst-defcustom-testcover, rst-testcover-add-compose)
6481 (rst-testcover-add-1value): New functions.
6482 (rst-portable-mark-active-p): Replace by `use-region-p'.
6483 (rst-update-section, rst-classify-adornment)
6484 (rst-find-title-line): Mark `1value' forms.
6485 (rst-classify-adornment): Remove superfluous form.
6486 (rst-update-section, rst-get-adornments-around)
6487 (rst-adornment-complete-p, rst-get-next-adornment)
6488 (rst-adjust, rst-promote-region)
6489 (rst-display-adornments-hierarchy, rst-straighten-adornments)
6490 (rst-find-pfx-in-region, rst-section-tree-rec)
6491 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
6492 (rst-toc-node, rst-toc, rst-forward-section)
6493 (rst-iterate-leftmost-paragraphs)
6494 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
6495 (rst-bullet-list-region)
6496 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
6497 (rst-compile-find-conf, rst-compile)
6498 (rst-repeat-last-character): Fix style.
6500 2012-09-17 Chong Yidong <cyd@gnu.org>
6502 * comint.el (comint--complete-file-name-data): Don't add a space
6503 if the status is `sole'; that adds a gratuitous space in the
6504 completion-cycling case (Bug#12092).
6506 * pcomplete.el (pcomplete-completions-at-point): Likewise.
6508 2012-09-17 Richard Stallman <rms@gnu.org>
6510 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
6511 only in the mime-shown mode, not in raw mode.
6512 (rmail-mime): Toggle off mime by displaying the message without
6513 mime processing. (Bug#12305)
6515 * mail/rmail.el (rmail-retry-failure):
6516 Turn off mime processing first. (Bug#12037)
6518 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
6520 2012-09-17 Chong Yidong <cyd@gnu.org>
6522 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
6523 (shell-dynamic-complete-functions): Convert to defcustom.
6524 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
6526 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
6527 * comint.el (comint-prompt-read-only):
6528 * custom.el (defcustom):
6529 * hi-lock.el (hi-lock-mode):
6530 * ibuffer.el (ibuffer-formats):
6531 * ielm.el (ielm-prompt-read-only):
6532 * novice.el (disable-command):
6533 * saveplace.el (toggle-save-place):
6534 * speedbar.el (speedbar-supported-extension-expressions):
6535 * startup.el (auto-save-list-file-prefix, init-file-user)
6536 (after-init-hook, inhibit-startup-echo-area-message):
6537 * strokes.el (strokes-help):
6538 * time-stamp.el (time-stamp):
6539 * calendar/calendar.el (calendar, diary-file):
6540 * calendar/diary-lib.el (diary-mail-entries, diary)
6541 (diary-list-entries-hook):
6542 * calendar/holidays.el (holidays, calendar-holidays):
6543 * calendar/lunar.el (lunar-phases):
6544 * calendar/solar.el (sunrise-sunset):
6545 * emulation/edt.el (edt-load-keys):
6546 * emulation/viper.el (viper-mode):
6547 * eshell/em-alias.el (eshell-command-aliases-list):
6548 * eshell/esh-util.el (eshell-convert-numeric-arguments):
6549 * international/ogonek.el (ogonek-information):
6550 * net/tramp-cmds.el (tramp-bug):
6551 * net/quickurl.el (quickurl-reread-hook-postfix):
6552 * play/decipher.el (decipher-font-lock-keywords):
6553 * progmodes/cc-styles.el (c-set-style):
6554 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
6555 * progmodes/inf-lisp.el (inferior-lisp-prompt):
6556 * progmodes/octave-mod.el (octave-mode):
6557 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
6558 * progmodes/verilog-mode.el (verilog-read-defines):
6559 * textmodes/two-column.el (2C-mode): Likewise.
6561 2012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
6563 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
6564 that holds many addresses.
6566 2012-09-16 Chong Yidong <cyd@gnu.org>
6568 * align.el (align-areas): Call the indication function with
6569 positions instead of markers for arguments (Bug#12343).
6571 * files.el (parse-colon-path): Use split-string (Bug#12351).
6573 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
6574 (display-buffer-function): Mark as obsolete.
6576 * progmodes/compile.el (compilation-parse-errors): Accept list
6577 values similar to font-lock-keywords (Bug#12136).
6578 Suggested by Oleksandr Manzyuk.
6579 (compilation-error-regexp-alist): Doc fix.
6581 2012-09-15 Glenn Morris <rgm@gnu.org>
6583 * version.el (emacs-bzr-version-bzr): New function.
6584 (emacs-bzr-get-version): Add optional EXTERNAL argument.
6586 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
6587 checkouts, check the parent dirstate matches the branch.
6588 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
6591 * version.el (emacs-bzr-version): Doc fix.
6592 (emacs-bzr-version-dirstate): New function.
6593 (emacs-bzr-get-version): For lightweight checkouts, if the parent
6594 is local try and check that it matches the branch. If not, just
6595 use dirstate information. (Bug#12441)
6597 2012-09-14 Juri Linkov <juri@jurta.org>
6599 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
6602 2012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
6604 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
6606 * emacs-lisp/edebug.el: Miscellaneous cleanup.
6607 Remove obsolete byte-compiler hack that tried to silence some warnings.
6608 (edebug-submit-bug-report): Remove.
6609 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
6610 Remove aliases, use the un-prefixed name instead.
6611 (edebug-pop-to-buffer): Consider other frames.
6612 (edebug-original-read):: Make it more obvious that it's always defined.
6613 (edebug--make-form-data-entry, edebug--form-data-name)
6614 (edebug--form-data-begin, edebug--form-data-end): Rename from the
6615 single-dashed name, and implement with cl-defstruct.
6616 (edebug-set-form-data-entry): Use the standard accessors.
6617 (edebug-make-top-form-data-entry): Use push.
6618 (edebug-no-match): Drop useless `funcall'.
6619 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
6621 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
6622 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
6623 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
6624 (easy-menu-define, with-custom-print): Remove redundant specs.
6625 (edebug-outside-overriding-local-map)
6626 (edebug-outside-overriding-terminal-local-map): Remove, unused.
6627 (edebug--display): Bind unread-command-events directly to nil rather
6628 than binding it to unread-command-events and later setting it to nil.
6629 (edebug--display): Kill edebug-eval-buffer here...
6630 (edebug--recursive-edit): ...rather than here.
6631 Bind standard-output and standard-input.
6632 (edebug-eval): Check cl-macroexpand-all is fboundp.
6633 (edebug-temp-display-freq-count): Fix last change.
6635 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
6636 * subr.el (noreturn, 1value): Add `debug' spec.
6637 * emacs-lisp/advice.el: Require cl-lib.
6638 (ad-copy-tree): Remove, use copy-tree instead.
6639 (ad-dolist): Remove use dolist or cl-dolist instead.
6640 (ad-do-return): Remove, use cl-return instead.
6641 (defadvice): Add `debug' spec.
6643 2012-09-13 Juri Linkov <juri@jurta.org>
6645 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
6648 2012-09-13 Glenn Morris <rgm@gnu.org>
6650 * calc/calc.el (math-compose-expr):
6651 * calc/calc-ext.el (math-compose-expr):
6652 * progmodes/cc-defs.el (cl-macroexpand-all):
6653 * progmodes/cc-langs.el (delete-duplicates, mapcan)
6654 (cl-macroexpand-all): Update declarations.
6656 * vc/vc.el: No need to require ediff.
6657 (ediff-load-version-control): Declare.
6658 (ediff-vc-internal): Fix declaration.
6659 (vc-version-ediff): Require ediff.
6661 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
6663 Use a more backwards-compatible timer format (Bug#12430).
6664 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
6665 being right after USECS, as that better supports old code that
6666 inadvisedly looked directly at the timer vector.
6668 2012-09-13 Kenichi Handa <handa@gnu.org>
6670 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
6671 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
6672 `coding-priority' property of these language environment.
6674 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
6676 Fix glitches caused by addition of psec to timers (Bug#12430).
6677 * image.el (image-animate-timer):
6678 * time.el (display-time-world-timer):
6679 Use timer--function and timer--args rather than raw access to
6682 2012-09-13 Glenn Morris <rgm@gnu.org>
6684 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
6685 If not compiling a file, try using load-file-name.
6687 2012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
6689 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
6691 (edebug-update-eval-list): Use `push'.
6693 * emacs-lisp/edebug.el: Use lexical-binding.
6694 Remove the "edebug-" prefix from non-dynamically-scoped variables.
6695 Mark unused args with underscore.
6696 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
6697 (edebug-form-data): Use defvar-local.
6698 (edebug-make-before-and-after-form, edebug-make-after-form):
6700 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
6701 Not dynamically scoped any more.
6702 (edebug--enter-trace): Add arguments `function' and `args'.
6703 Rename from edebug-enter-trace.
6704 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
6705 (edebug--update-coverage): Add `after-index' and `value' args.
6706 Rename from edebug-update-coverage.
6707 (edebug-slow-after): Call it accordingly.
6708 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
6709 edebug-recursive-edit.
6710 (edebug--display): Call it accordingly. Add args `value',
6711 `offset-index', and `arg-mode'. Rename from edebug-display.
6712 (edebug-debugger, edebug): Call it accordingly.
6713 (edebug-eval-display-list): Use dolist.
6715 2012-09-12 Juri Linkov <juri@jurta.org>
6717 * info.el (Info-search): Don't check for isearch-mode and
6718 isearch-regexp before let-binding search-spaces-regexp to
6719 Info-search-whitespace-regexp.
6720 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
6721 search-whitespace-regexp if isearch-lax-whitespace or
6722 isearch-regexp-lax-whitespace is non-nil.
6723 (Info-mode): Don't set local variable search-whitespace-regexp.
6724 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
6726 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6728 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
6729 (debugger-env-macro): Remove support for unread-command-char.
6731 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
6732 the temporary map re-appearing on emulation-mode-map-alists.
6734 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
6737 * ehelp.el (with-electric-help): Accept functions in
6738 electric-help-form-to-execute.
6739 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
6740 And replace unread-command-char -> unread-command-events.
6742 2012-09-12 Michael Albinus <michael.albinus@gmx.de>
6744 Sync with Tramp 2.2.6.
6746 * net/tramp.el (tramp-accept-process-output): Don't use
6747 JUST-THIS-ONE in the XEmacs case.
6749 * net/trampver.el: Update release number.
6751 2012-09-12 Martin Rudalics <rudalics@gmx.at>
6753 * emacs-lisp/debug.el (debugger-previous-window-height):
6755 (debug): When debugger-jumping-flag is non-nil try to restore
6756 height of debugger window. (Bug#8789)
6758 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6760 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
6761 overriding-local-map and pre/post-command-hook here.
6762 (edebug-recursive-edit): Do it here instead (bug#12345).
6763 (edebug-outside-unread-command-char): Remove all uses of
6764 unread-command-char.
6766 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
6767 inhibit-debugger is bound instead.
6769 2012-09-11 Bastien Guerry <bzg@gnu.org>
6771 * subr.el (set-temporary-overlay-map): Add a docstring.
6774 2012-09-11 Bastien Guerry <bzg@gnu.org>
6776 * minibuffer.el (completion-table-subvert): Fix docstring.
6779 2012-09-11 Bastien Guerry <bzg@gnu.org>
6781 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
6783 2012-09-10 Michael R. Mauger <mmaug@yahoo.com>
6785 * progmodes/sql.el: Version 3.1
6786 (sql-db2-escape-newlines): New variable.
6787 (sql-escape-newlines-filter): Use it.
6789 2012-09-10 Juanma Barranquero <lekktu@gmail.com>
6791 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
6793 2012-09-10 Dan Nicolaescu <dann@gnu.org>
6795 * vc/diff-mode.el (diff-mode-menu):
6796 Bind diff-remove-trailing-whitespace.
6798 2012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
6800 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
6801 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
6802 (emacs-lisp-byte-code-mode): New functions.
6803 (eval-sexp-add-defvars): Don't skip defvars in column >0.
6804 (eval-defun-2): Remove bogus interactive spec.
6805 (lisp-indent-line): Remove redundant whole-exp code, now done in
6806 indent-according-to-mode.
6807 (save-match-data): Remove redundant indent data.
6809 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
6812 2012-09-09 Juri Linkov <juri@jurta.org>
6814 * replace.el (replace-regexp-lax-whitespace): New defcustom.
6815 (replace-lax-whitespace, query-replace-regexp)
6816 (query-replace-regexp-eval, replace-regexp): Doc fix.
6817 (perform-replace, replace-highlight): Let-bind
6818 isearch-lax-whitespace to replace-lax-whitespace and
6819 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
6821 * isearch.el (isearch-query-replace): Let-bind
6822 replace-lax-whitespace to isearch-lax-whitespace and
6823 replace-regexp-lax-whitespace to
6824 isearch-regexp-lax-whitespace. (Bug#10885)
6826 2012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
6828 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
6830 2012-09-09 Alan Mackenzie <acm@muc.de>
6832 * progmodes/cc-engine.el (c-state-cache-init):
6833 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
6834 (c-record-parse-state-state):
6835 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
6837 2012-09-09 Andreas Schwab <schwab@linux-m68k.org>
6839 * register.el (register-separator): Rename from
6840 separator-register. All uses changed. Doc fix.
6841 (register): Fix version.
6843 2012-09-09 Chong Yidong <cyd@gnu.org>
6845 * replace.el (query-replace-map): Bind four new symbols for
6846 requesting window scrolling.
6848 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
6849 query-replace-map (Bug#8948).
6851 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
6853 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
6854 since they are now in query-replace-map.
6856 * window.el (scroll-other-window-down): Make the arg optional.
6858 2012-09-09 Chong Yidong <cyd@gnu.org>
6860 * files.el (hack-local-variables-confirm): Use quit-window to kill
6861 the *Local Variables* buffer.
6863 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
6865 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
6866 not just expect to be at its beginning. Adjust callees.
6867 Succeed when do-end block has no space before the pipe character.
6868 (ruby-brace-to-do-end): When the original block is one-liner,
6869 convert to multiline. Reindent the result.
6871 2012-09-08 Jambunathan K <kjambunathan@gmail.com>
6873 * register.el (register): New group.
6874 (separator-register): New user option.
6875 (increment-register): Route it to `append-to-register', if
6876 register contains text. Implication is that `C-x r +' can now be
6877 used for appending to a text register (bug#12217).
6878 (append-to-register, prepend-to-register): Add separator based on
6879 `separator-register'.
6881 2012-09-08 Alan Mackenzie <acm@muc.de>
6883 AWK Mode: make auto-newline work when there's "==" in the pattern.
6884 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
6886 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
6887 Test more rigorously for "=" token.
6889 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
6891 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
6892 Only fail when reached LIMIT.
6894 2012-09-08 Chong Yidong <cyd@gnu.org>
6896 * dired.el (dired-mode-map): Don't bind M-=.
6898 * dired-aux.el (dired-diff): Use backup file as default.
6900 2012-09-08 Drew Adams <drew.adams@oracle.com>
6902 * subr.el (add-to-history): Fix delete usage (Bug#12314).
6904 2012-09-08 Chong Yidong <cyd@gnu.org>
6906 * subr.el (syntax-after, syntax-class): Doc fix.
6908 2012-09-08 Martin Rudalics <rudalics@gmx.at>
6910 * window.el (display-buffer-in-previous-window): New buffer
6911 display action function.
6913 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
6914 (debugger-previous-window): New variable.
6915 (debug): Rewrite using display-buffer-in-previous-window,
6916 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
6918 2012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
6920 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
6922 2012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
6924 * progmodes/python.el (python-shell-send-string):
6925 When default-directory is remote, create temp file on remote
6927 (python-shell-send-file): When file is remote, pass local view of
6928 file paths to remote Python interpreter. (Bug#12340)
6930 2012-09-07 Chong Yidong <cyd@gnu.org>
6932 * window.el (switch-to-buffer): Doc fix (Bug#12181).
6934 * files.el (after-find-file): Don't fail on a read-only buffer if
6935 require-final-newline is `visit' or `visit-save' (Bug#11156).
6937 * subr.el (read-char-choice): Allow quitting via ESC ESC.
6939 * userlock.el (ask-user-about-supersession-threat):
6940 Use read-char-choice (Bug#12093).
6942 2012-09-07 Chong Yidong <cyd@gnu.org>
6944 * subr.el (buffer-narrowed-p): New function.
6946 * ses.el (ses-widen):
6947 * simple.el (count-words--buffer-message):
6948 * net/browse-url.el (browse-url-of-buffer): Use it.
6950 * simple.el (count-words-region): Don't signal an error if there
6951 is a non-nil prefix arg and the mark is not set.
6953 * help.el (describe-key-briefly): Allow the message to be seen
6954 when invoked from the minibuffer (Bug#7014).
6956 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
6958 * progmodes/ruby-mode.el (ruby-end-of-defun)
6959 (ruby-beginning-of-defun): Simplify, allow indentation before
6960 block beginning and end keywords.
6961 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
6962 (ruby-end-of-defun): Expect that the point is at the beginning of
6965 2012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
6967 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
6969 (cl--make-usage-args): Strip _ from argument names.
6971 2012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6973 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
6974 obsolete alias speedbar-key-map.
6975 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
6976 (vhdl-index-menu-init): Don't use obsolete variable
6977 font-lock-maximum-size.
6979 2012-09-06 Chong Yidong <cyd@gnu.org>
6981 * frame.el (window-system-version): Mark as obsolete.
6983 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
6984 of obsolete variable speedbar-key-map.
6986 2012-09-06 Juri Linkov <juri@jurta.org>
6988 * replace.el (replace-lax-whitespace): New defcustom.
6989 (query-replace, query-replace-regexp, query-replace-regexp-eval)
6990 (replace-string, replace-regexp): Mention it in docstrings.
6991 (perform-replace, replace-highlight): Let-bind
6992 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
6993 to the values of replace-lax-whitespace and regexp-flag.
6994 Don't let-bind search-whitespace-regexp. (Bug#10885)
6996 * isearch.el (isearch-query-replace): Let-bind
6997 replace-lax-whitespace instead of let-binding
6998 replace-search-function and replace-re-search-function.
6999 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
7000 and isearch-regexp-lax-whitespace to lazy-highlight variables.
7001 (isearch-toggle-symbol): Set isearch-regexp to nil
7002 in isearch-word mode (like in isearch-toggle-word).
7004 2012-09-06 Juri Linkov <juri@jurta.org>
7006 * replace.el (replace-search-function)
7007 (replace-re-search-function): Set default values to nil.
7008 (perform-replace): Let-bind isearch-related variables based on
7009 replace-related values, call `isearch-search-fun' and let-bind
7010 the result to `search-function'. Remove code that sets
7011 `search-function' and `search-string' separately for
7013 (replace-highlight): Add new argument `delimited-flag' and
7014 rename other arguments to the names used in `perform-replace'.
7015 Let-bind `isearch-word' to the argument `delimited-flag'.
7016 (Bug#10885, bug#10887)
7018 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
7020 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
7021 ruby-beginning-of-indent, simplify, allow all keywords to have
7022 indentation before them.
7023 (ruby-beginning-of-indent): Adjust for above. Search until the
7024 found point is not inside a string or comment.
7025 (ruby-font-lock-keywords): Allow symbols to start with "@"
7026 character, give them higher priority than variables.
7027 (ruby-syntax-propertize-function)
7028 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
7029 matchers. Expression expansions are not comments when inside a
7030 string, and there comment syntax status is irrelevant.
7031 (ruby-match-expression-expansion): New function. Check that
7032 expression expansion is inside a string, and it's not escaped.
7033 (ruby-font-lock-keywords): Use it.
7035 2012-09-05 Martin Rudalics <rudalics@gmx.at>
7037 * help.el (temp-buffer-max-height): New default value.
7038 (temp-buffer-resize-frames): New option.
7039 (resize-temp-buffer-window): Optionally resize frame.
7041 * window.el (fit-frame-to-buffer-bottom-margin): New option.
7042 (fit-frame-to-buffer): New function.
7044 2012-09-05 Glenn Morris <rgm@gnu.org>
7046 * emulation/cua-rect.el (cua--init-rectangles):
7047 * textmodes/picture.el (picture-mode-map):
7048 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
7049 like forward-char and backward-char. (Bug#12317)
7051 2012-09-05 Leo Liu <sdl.web@gmail.com>
7053 * progmodes/flymake.el (flymake-warning-re): New variable.
7054 (flymake-parse-line): Use it.
7056 2012-09-05 Glenn Morris <rgm@gnu.org>
7058 * calendar/holidays.el (holiday-christian-holidays):
7059 Rename an entry. (Bug#12289)
7061 2012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
7063 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
7066 2012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
7068 * loadup.el: Load macroexp. Remove hack.
7069 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
7070 (macroexp--expand-all): Use it to get better warnings.
7071 (macroexp--backtrace, macroexp--trim-backtrace-frame)
7072 (internal-macroexpand-for-load): New functions.
7073 (macroexp--pending-eager-loads): New var.
7074 (emacs-startup-hook): New hack to replace one in loadup.el.
7075 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
7076 (cl--compiler-macro-cXXr): Move to top, before they can be used.
7077 (cl-psetf): Simplify.
7078 (cl-defstruct): Add indent rule.
7080 2012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
7082 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
7083 over `user-mail-address' for the SMTP MAIL FROM envelope.
7084 (smtpmail-via-smtp): Ditto.
7086 2012-09-04 Dmitry Gutov <dgutov@yandex.ru>
7088 * progmodes/ruby-mode.el: Clean up keybindings.
7089 (ruby-mode-map): Don't bind ruby-electric-brace,
7090 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
7091 backward-kill-word, reindent-then-newline-and-indent.
7092 (ruby-mark-defun): Remove.
7093 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
7094 (ruby-mode): Set local beginning-of-defun-function and
7095 end-of-defun-function values.
7097 2012-09-03 Martin Rudalics <rudalics@gmx.at>
7099 * window.el (temp-buffer-window-setup-hook)
7100 (temp-buffer-window-show-hook): New hooks.
7101 (temp-buffer-window-setup, temp-buffer-window-show)
7102 (with-temp-buffer-window): New functions.
7103 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
7104 (special-display-popup-frame): Make sure the window used shows BUFFER.
7106 * help.el (temp-buffer-resize-mode): Fix doc-string.
7107 (resize-temp-buffer-window): New optional argument WINDOW.
7109 * files.el (recover-file, save-buffers-kill-emacs):
7110 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
7112 2012-09-02 Michael Albinus <michael.albinus@gmx.de>
7114 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
7115 remote definition of `default-directory', ensure we can connect.
7117 2012-09-02 Juri Linkov <juri@jurta.org>
7119 Toggle whitespace matching mode with M-s SPC.
7120 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
7122 * isearch.el (search-whitespace-regexp): Doc fix.
7123 Remove cons cell customization.
7124 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
7125 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
7127 (isearch-forward, isearch-forward-regexp): Doc fix.
7128 (isearch-toggle-lax-whitespace): New command.
7129 (search-forward-lax-whitespace, search-backward-lax-whitespace)
7130 (re-search-forward-lax-whitespace)
7131 (re-search-backward-lax-whitespace): New functions.
7132 (isearch-whitespace-regexp): Remove function.
7133 (isearch-query-replace): Let-bind replace-search-function and
7134 replace-re-search-function.
7135 (isearch-occur): Let-bind search-spaces-regexp according to the
7136 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
7137 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
7138 condition for C-q SPC.
7139 (isearch-search-fun-default): Use new functions mentioned above.
7140 (isearch-search-forward, isearch-search-backward): Remove functions.
7141 (isearch-search): Don't let-bind search-spaces-regexp.
7142 (isearch-lazy-highlight-space-regexp): Remove variable.
7143 (isearch-lazy-highlight-lax-whitespace)
7144 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
7145 (isearch-lazy-highlight-new-loop): Use them.
7146 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
7148 2012-09-02 Chong Yidong <cyd@gnu.org>
7150 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
7152 2012-09-02 Glenn Morris <rgm@gnu.org>
7154 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
7156 2012-09-01 Glenn Morris <rgm@gnu.org>
7158 * term.el: Tidy up menu definitions.
7159 (term-mode-map): Use easymenu for In/Out, Complete menus.
7160 (term-pager-break-map): Initialize in the defvar.
7161 (term-terminal-menu, term-signals-menu): Define with easymenu.
7162 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
7163 (term-pager-menu): New, extracted from term-process-pager.
7164 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
7165 (term-update-mode-line): Propertize line/char and page items.
7166 (term-process-pager): Move keymap initialization elsewhere.
7168 2012-09-01 Martin Rudalics <rudalics@gmx.at>
7170 * window.el (switch-to-prev-buffer): Handle additional values of
7171 BURY-OR-KILL argument. Don't switch in minibuffer window.
7172 (switch-to-next-buffer): Don't switch in minibuffer window.
7173 (quit-restore-window): New function based on quit-window.
7174 Handle additional values of former KILL argument.
7175 (quit-window): Call quit-restore-window with appropriate
7176 interpretation of KILL argument.
7177 (display-buffer-below-selected): New buffer display action
7180 2012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
7182 * minibuffer.el (completion-at-point-functions): Complete docstring
7185 2012-09-01 Paul Eggert <eggert@cs.ucla.edu>
7187 Better seed support for (random).
7188 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
7189 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
7190 * play/mpuz.el, play/tetris.el, play/zone.el:
7191 * calc/calc-comb.el (math-init-random-base):
7192 * play/blackbox.el (bb-init-board):
7193 * play/life.el (life):
7194 * server.el (server-use-tcp):
7195 * type-break.el (type-break):
7196 Remove unnecessary call to (random t).
7197 * net/sasl.el (sasl-unique-id-function):
7198 Change (random t) to (random), now that the latter is more random.
7199 * play/life.el (life-initialized): Remove no-longer-needed var.
7201 2012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
7203 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
7204 Consider frame's buffer predicate when choosing the buffer.
7207 2012-08-30 Richard Stallman <rms@gnu.org>
7209 * simple.el (special-mode-map): Delete binding for `z'.
7211 2012-08-30 Andreas Schwab <schwab@linux-m68k.org>
7213 * progmodes/compile.el (compilation-always-kill): Doc fix.
7215 2012-08-30 Chong Yidong <cyd@gnu.org>
7217 * window.el (display-buffer-reuse-frames): Make the obsolescence
7218 message more informative.
7220 2012-08-30 Glenn Morris <rgm@gnu.org>
7222 * paren.el (show-paren-delay):
7223 Add a :set function. Doc fix. (Bug#12297)
7225 2012-08-29 Martin Blais <blais@furius.ca> (tiny change)
7227 * progmodes/compile.el (compilation-always-kill): New var.
7228 (compilation-start): Use it.
7230 2012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
7232 * simple.el (read-only-mode): Move from files.el for bootstrapping.
7233 * files.el (read-only-mode): Move to simple.el.
7235 * files.el (read-only-mode): New minor mode.
7236 (toggle-read-only): Use it and mark obsolete.
7237 (find-file--read-only):
7238 * vc/vc.el (vc-next-action, vc-checkout):
7239 * vc/vc-cvs.el (vc-cvs-checkout):
7240 * obsolete/vc-mcvs.el (vc-mcvs-update):
7241 * ffap.el (ffap--toggle-read-only): Update callers.
7243 2012-08-29 Michael Albinus <michael.albinus@gmx.de>
7245 * eshell/esh-ext.el (eshell-external-command): Do not examine
7246 remote shell scripts.
7247 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
7249 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
7252 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7254 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
7256 2012-08-28 Leo Liu <sdl.web@gmail.com>
7258 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
7259 completion-at-point. (Bug#12220)
7261 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
7263 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
7265 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7267 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
7268 be buffer-local; add delete-trailing-whitespace (bug#12259).
7270 2012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
7272 * progmodes/hideif.el (hif-compress-define-list):
7273 Fix typo. (Bug#11951)
7275 2012-08-28 Dan Nicolaescu <dann@gnu.org>
7277 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
7278 buffer local setting.
7280 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
7281 rcirc-encode-coding-system.
7283 2012-08-28 Leo Liu <sdl.web@gmail.com>
7285 * net/rcirc.el (rcirc-split-message): New function.
7286 (rcirc-send-message): Use it. (Bug#12051)
7288 2012-08-28 Juri Linkov <juri@jurta.org>
7290 * info.el (Info-fontify-node): Hide empty lines at the end of
7291 the node. (Bug#12272)
7293 2012-08-27 Drew Adams <drew.adams@oracle.com>
7295 * dired.el (dired-pop-to-buffer): Make window start at beginning
7296 of buffer (Bug#12281).
7298 2012-08-26 Chong Yidong <cyd@gnu.org>
7300 * window.el (special-display-regexps, special-display-frame-alist)
7301 (special-display-buffer-names, special-display-function)
7302 (display-buffer-reuse-frames): Mark as obsolete.
7304 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
7306 * help.el (help-print-return-message): Don't treat
7307 display-buffer-reuse-frames specially.
7309 2012-08-26 Chong Yidong <cyd@gnu.org>
7311 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
7312 New variable, replacing gdb-frame-parameters.
7313 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
7314 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
7315 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
7316 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
7317 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
7318 the functions directly with gdb-display-buffer-other-frame-action.
7319 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
7320 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
7321 (gdb-display-stack-buffer, gdb-display-locals-buffer)
7322 (gdb-display-registers-buffer): Define directly.
7323 (def-gdb-display-buffer): Macro deleted.
7324 (gdb-display-buffer): Remove second and third args, callers don't
7325 use them. Defer to the default display-buffer behavior, apart
7326 from making windows dedicated.
7327 (gdb-setup-windows): Don't call display-buffer unnecessarily.
7329 * progmodes/gud.el (gud-display-line): Just use display-buffer.
7331 * window.el (display-buffer-pop-up-frame): Handle a
7332 pop-up-frame-parameters alist entry.
7333 (display-buffer): Document it.
7335 2012-08-26 Chong Yidong <cyd@gnu.org>
7337 * isearch.el (search-whitespace-regexp): Make string and nil
7338 values apply to both ordinary and regexp search. Allow a cons
7339 cell value to distinguish between the two.
7340 (isearch-whitespace-regexp, isearch-search-forward)
7341 (isearch-search-backward): New functions.
7342 (isearch-occur, isearch-search-fun-default, isearch-search)
7343 (isearch-lazy-highlight-new-loop): Use them.
7344 (isearch-forward, isearch-forward-regexp): Doc fix.
7346 2012-08-26 Chong Yidong <cyd@gnu.org>
7348 * faces.el (help-argument-name): Always inherit from italic
7351 2012-08-25 Martin Rudalics <rudalics@gmx.at>
7353 * window.el (window--even-window-heights): Even heights when
7354 WINDOW and the selected window form a vertical combination.
7355 (display-buffer-use-some-window): Provide that window used gets
7356 sized back by quit-window. (Bug#11880) and (Bug#12091)
7358 2012-08-24 Paul Eggert <eggert@cs.ucla.edu>
7360 Fix file time stamp problem with bzr and CVS (Bug#12001).
7361 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
7362 in the file's time stamp, since the version control system loses
7365 2012-08-22 Juri Linkov <juri@jurta.org>
7367 * info.el (Info-fontify-node): Hide the suffix of the
7368 Info file name in the header line. (Bug#12187)
7370 2012-08-22 Glenn Morris <rgm@gnu.org>
7372 * calendar/cal-tex.el (cal-tex-weekly-common):
7373 Restore leading blank page.
7375 2012-08-22 Le Wang <l26wang@gmail.com>
7377 * misc.el (forward-to-word, backward-to-word): Activate or extend
7378 the region under `shift-select-mode'. (Bug#12231)
7380 2012-08-22 Bastien Guerry <bzg@gnu.org>
7382 * progmodes/executable.el (executable-prefix): Set to "#!" instead
7383 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
7384 gives details on why the space is never needed.
7386 2012-08-22 Martin Rudalics <rudalics@gmx.at>
7388 * window.el (walk-window-tree, window-with-parameter):
7389 New optional argument MINIBUF to control whether these functions
7390 should run on the minibuffer window.
7391 (window-at-side-list): Don't operate on minibuffer window.
7392 (window-in-direction): Simplify and rewrite doc-string.
7393 (window--size-ignore): Rename to window--size-ignore-p.
7395 (display-buffer-in-atom-window, window--major-non-side-window)
7396 (window--major-side-window, display-buffer-in-major-side-window)
7397 (delete-side-window, display-buffer-in-side-window):
7399 (window--side-check, window-deletable-p, delete-window)
7400 (delete-other-windows, split-window): Handle side windows and
7401 atomic windows appropriately.
7402 (window--display-buffer): Call display-buffer-record-window also
7403 when the window buffer did not change.
7405 2012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
7407 * help-fns.el (help-fns--key-bindings):
7408 Abbreviate non-symbol remap targets. (Bug#12174)
7410 2012-08-22 Martin Rudalics <rudalics@gmx.at>
7412 * dired.el (dired-mark-remembered): Don't clobber point.
7415 2012-08-22 Glenn Morris <rgm@gnu.org>
7417 * progmodes/bug-reference.el (bug-reference): New custom group.
7418 (bug-reference-bug-regexp): Make it a defcustom.
7420 2012-08-22 Daiki Ueno <ueno@unixuser.org>
7422 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
7423 (js-paren-indent-offset, js-square-indent-offset)
7424 (js-curly-indent-offset): Add :safe (Bug#12257).
7426 2012-08-22 Edward O'Connor <hober0@gmail.com>
7428 * json.el (json-key-format): Add error properties.
7429 (json-encode-key): New function.
7430 (json-encode-hash-table, json-encode-alist, json-encode-plist):
7431 Use json-encode-key.
7433 2012-08-22 Glenn Morris <rgm@gnu.org>
7435 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
7436 (cal-tex-leftday, cal-tex-rightday): Remove functions.
7437 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
7438 Update for above change.
7440 2012-08-21 Andreas Schwab <schwab@linux-m68k.org>
7442 * cus-face.el (custom-face-attributes): Fix customize type for the
7443 :underline attribute. (Bug#11805)
7445 2012-08-21 Martin Rudalics <rudalics@gmx.at>
7447 * window.el (window-point-1, set-window-point-1): Remove.
7448 (window-in-direction, record-window-buffer)
7449 (set-window-buffer-start-and-point, split-window-below)
7450 (window--state-get-1, display-buffer-record-window):
7451 Replace calls to window-point-1 and set-window-point-1 by calls to
7452 window-point and set-window-point respectively.
7454 2012-08-21 Glenn Morris <rgm@gnu.org>
7456 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
7457 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
7460 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
7461 (cal-tex-shortday): New function.
7462 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
7463 (cal-tex-cursor-filofax-daily): Use the above.
7465 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
7467 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
7468 (cal-tex-cursor-filofax-week): Use them.
7470 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
7472 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
7473 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
7475 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
7476 (cal-tex-end-document): Don't rely on buffer name.
7478 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
7480 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
7481 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
7482 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
7485 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
7486 (cal-tex-cursor-week, cal-tex-cursor-week2)
7487 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
7488 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
7489 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
7490 (cal-tex-insert-preamble, cal-tex-b-document)
7491 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
7492 Improve cal-tex-cmd usage.
7494 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
7495 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
7496 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
7497 (cal-tex-weekly-paper): New function.
7498 (cal-tex-cursor-week, cal-tex-cursor-week2)
7499 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
7500 (cal-tex-cursor-day): Use it.
7502 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
7503 (cal-tex-cursor-filofax-week): Remove leading blank page.
7505 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
7506 Add autoload cookie. For now at least, don't use color, since
7507 no other cal-tex function does.
7509 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
7510 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
7511 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
7513 2012-08-21 Juri Linkov <juri@jurta.org>
7515 * info.el (Info-file-attributes): New variable.
7516 (info-insert-file-contents): Add file attributes to
7517 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
7518 `Info-toc-nodes' when previous modtime of the Info file is less
7520 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
7521 of info.el. (Bug#12230)
7523 2012-08-20 Glenn Morris <rgm@gnu.org>
7525 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
7526 * calendar/holidays.el (calendar-holiday-list):
7527 Report errors with display-warning rather than beep'n'sleep.
7529 2012-08-20 Michael Albinus <michael.albinus@gmx.de>
7531 * net/tramp.el (tramp-accept-process-output): Accept only output
7532 from PROC. Otherwise, process filters and sentinels might be
7533 confused. (Bug#12145)
7535 2012-08-20 Chong Yidong <cyd@gnu.org>
7537 * descr-text.el (describe-text-properties-1): Use overlays-in to
7538 report on empty overlays (Bug#3322).
7540 2012-08-20 Glenn Morris <rgm@gnu.org>
7542 * mail/rmailout.el (rmail-output-read-file-name):
7543 Trap and report errors in rmail-output-file-alist elements.
7545 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
7546 since most non-font-lock faces are not also variables).
7548 2012-08-20 Edward Reingold <reingold@iit.edu>
7550 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
7551 New function. (Bug12160)
7553 2012-08-19 Glenn Morris <rgm@gnu.org>
7555 * mail/rmailout.el (rmail-output-read-file-name):
7556 Fix previous change (when the alist is nil or does not match).
7558 2012-08-19 Chong Yidong <cyd@gnu.org>
7560 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
7563 2012-08-18 Chong Yidong <cyd@gnu.org>
7565 * simple.el (yank-handled-properties): New defcustom.
7566 (yank-excluded-properties): Add font-lock-face and category.
7569 * subr.el (remove-yank-excluded-properties):
7570 Obey yank-handled-properties. The special handling of font-lock-face
7571 and category is now done this way, instead of being hard-coded.
7572 (insert-for-yank-1): Remove font-lock-face handling.
7573 (yank-handle-font-lock-face-property)
7574 (yank-handle-category-property): New function.
7576 2012-08-17 Glenn Morris <rgm@gnu.org>
7578 * mail/rmailout.el (rmail-output-read-file-name):
7579 Check rmail-output-file-alist against the full message body
7580 in the correct rmail buffer. (Bug#12214)
7582 2012-08-17 Michael Albinus <michael.albinus@gmx.de>
7584 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
7585 Eliminate superfluous prompt. (Bug#12203)
7587 2012-08-17 Chong Yidong <cyd@gnu.org>
7589 * mouse.el (mouse-appearance-menu): If x-select-font returns a
7590 font spec, set the font directly (Bug#3228).
7592 2012-08-17 Martin Rudalics <rudalics@gmx.at>
7594 * window.el (delete-window): Fix last fix.
7596 2012-08-16 Martin Rudalics <rudalics@gmx.at>
7598 * window.el (window-valid-p): Move to window.c.
7599 (window-child, window-child-count, window-last-child)
7600 (window-normalize-window, window-combined-p)
7601 (window-combinations, window-atom-root, window-min-size)
7602 (window-sizable, window-sizable-p, window-size-fixed-p)
7603 (window-min-delta, window-max-delta, window--resizable)
7604 (window--resizable-p, window-resizable, window-total-size)
7605 (window-full-height-p, window-full-width-p, window-body-size)
7606 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
7607 (minimize-window, window-deletable-p, delete-window)
7608 (delete-other-windows, set-window-buffer-start-and-point)
7609 (next-buffer, previous-buffer, split-window, balance-windows-2)
7610 (set-window-text-height, window-buffer-height)
7611 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
7612 (truncated-partial-width-window-p): Minor code adjustments.
7613 In doc-strings state whether the argument window has to denote a
7614 live, valid or any window.
7616 2012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
7618 * progmodes/subword.el (subword-forward-function)
7619 (subword-backward-function, subword-forward-regexp)
7620 (subword-backward-regexp): New variables.
7621 (subword-forward, subword-forward-internal, subword-backward-internal):
7622 Use new variables, eg so that different "word" definitions
7623 can be easily used. (Bug#11411)
7625 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
7627 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
7628 for composite selectors.
7629 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
7630 operation just because we can't find a previous revision.
7632 2012-08-15 Chong Yidong <cyd@gnu.org>
7634 * frame.el (set-frame-font): Accept font objects.
7636 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
7638 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
7640 2012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
7642 * man.el (Man-overstrike-face, Man-underline-face)
7643 (Man-reverse-face): Remove variables.
7644 (Man-overstrike, Man-underline, Man-reverse): New faces.
7645 (Man-fontify-manpage): Use them instead of the variables.
7646 (Man-cleanup-manpage): Comment change.
7647 (Man-ansi-color-map): New variable.
7648 (Man-fontify-manpage): Use it.
7649 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
7651 Implement ANSI SGR parameters 22-27 (bug#12146).
7652 * ansi-color.el (ansi-colors): Doc fix.
7653 (ansi-color-context, ansi-color-context-region): Doc fix.
7654 (ansi-color--find-face): New function.
7655 (ansi-color-apply, ansi-color-apply-on-region): Use it.
7656 Rename the local variable `face' to `codes' since it is now a list of
7657 ansi codes. Doc fix.
7658 (ansi-color-get-face): Remove.
7659 (ansi-color-parse-sequence): New function, derived from
7660 ansi-color-get-face.
7661 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
7664 2012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
7666 * subr.el (read-passwd): Allow use from a minibuffer.
7668 2012-08-14 Eli Zaretskii <eliz@gnu.org>
7670 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
7671 inside comments and strings as identifiers.
7673 * progmodes/gud.el (gud-tooltip-print-command): Quote the
7674 expression to evaluate. This allows to evaluate expressions with
7675 embedded whitespace.
7676 (gud-tooltip-tips): Add a blank before the newline in the
7677 message-box text, for the benefit of message-box emulation on
7680 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
7681 messages from GDB, pop them up in a tooltip to give feedback to
7683 (gdb-tooltip-print-1): Quote the expression to evaluate.
7684 This allows to evaluate expressions with embedded whitespace.
7685 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
7686 if the TTY name is nil or empty (which happens when communicating
7687 with the inferior via pipes, e.g. on MS-Windows).
7688 (gdb-internals): If GDB sends a "&\n" empty debugging message,
7689 don't send that to the GUD buffer.
7691 2012-08-14 Glenn Morris <rgm@gnu.org>
7693 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
7694 Optimize away setq-default with no args, as for setq. (Bug#12195)
7696 2012-08-14 Chong Yidong <cyd@gnu.org>
7698 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
7700 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
7703 2012-08-14 Glenn Morris <rgm@gnu.org>
7705 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
7707 2012-08-14 Michael Albinus <michael.albinus@gmx.de>
7709 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
7710 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
7711 Use cached shell name.
7713 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
7715 * progmodes/python.el (python-shell-send-string):
7716 (python-shell-send-setup-code): Do not use `format' with `message'.
7718 2012-08-14 Dmitry Gutov <dgutov@yandex.ru>
7720 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
7721 (ruby-percent-literal-beg-re): New constant.
7722 (ruby-syntax-general-delimiters-goto-beg): Rename to
7723 `ruby-syntax-enclosing-percent-literal', improve literal type check.
7724 (ruby-syntax-propertize-general-delimiters): Rename to
7725 `ruby-syntax-propertize-percent-literal', it's a shorter and more
7726 popular term. Adjust comments everywhere.
7727 (ruby-syntax-propertize-percent-literal): Only propertize when not
7728 inside a simple string or comment. When the literal is unclosed,
7729 leave the text after it unpropertized.
7730 (ruby-syntax-methods-before-regexp): New constant.
7731 (ruby-syntax-propertize-function): Use it to recognize regexps.
7732 Don't look at the text after regexp, just use the whitelist.
7734 2012-08-14 Andreas Schwab <schwab@linux-m68k.org>
7736 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
7737 non-nil always load the compiled file if it exists. (Bug#12197)
7739 2012-08-14 Chong Yidong <cyd@gnu.org>
7741 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
7742 (hi-lock-set-pattern): When deciding whether to use font lock or
7743 overlays, look at font-lock-mode instead of font-lock-fontified
7745 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
7746 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
7748 2012-08-14 Daiki Ueno <ueno@unixuser.org>
7750 * subr.el (internal--after-with-selected-window): Fix typo
7753 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
7755 Use `completion-table-dynamic' for completion functions.
7756 * progmodes/python.el
7757 (python-shell-completion--do-completion-at-point)
7758 (python-shell-completion--get-completions):
7760 (python-shell-completion-complete-at-point): New function.
7761 (python-completion-complete-at-point): Use it.
7763 2012-08-13 Jambunathan K <kjambunathan@gmail.com>
7765 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
7766 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
7768 2012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
7770 * subr.el (function-get): Refine `autoload' arg so it can also
7771 autoload functions for gv.el (bug#12191).
7772 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
7775 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
7776 Prefer pcase-let over destructuring-bind.
7777 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
7778 Also, remove whitespace as we go, rather than after accumulating the
7781 * subr.el (internal--before-with-selected-window)
7782 (internal--after-with-selected-window): Fix typo seleted->selected.
7783 (with-selected-window): Adjust callers.
7784 Reported by Dmitry Gutov <dgutov@yandex.ru>.
7786 2012-08-13 Bastien Guerry <bzg@gnu.org>
7788 * window.el (special-display-popup-frame): Minor docstring
7789 enhancement. (Bug#12172)
7791 2012-08-13 Andreas Schwab <schwab@linux-m68k.org>
7793 * tar-mode.el (tar-header-data-end): Only ignore size for files of
7795 (tar-header-block-summarize, tar-get-descriptor): Handle pax
7798 * files.el (hack-local-variables-filter): Remove useless eval.
7800 2012-08-13 Martin Rudalics <rudalics@gmx.at>
7802 * subr.el (with-selected-window): Fix last change.
7804 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
7806 * subr.el (internal--before-with-seleted-window)
7807 (internal--after-with-seleted-window): New functions.
7808 (with-selected-window): Use them, to replace dependency on
7811 2012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
7813 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
7814 binding for `newline'.
7815 (ruby-move-to-block): When moving backward, stop at block opening,
7817 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
7818 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
7819 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
7820 `ruby-toggle-block'.
7822 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
7824 * ibuffer.el (ibuffer-do-toggle-read-only):
7825 * dired.el (dired-toggle-read-only):
7826 * buff-menu.el (Buffer-menu-toggle-read-only):
7827 * bindings.el (mode-line-toggle-read-only):
7828 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
7830 2012-08-12 Andreas Schwab <schwab@linux-m68k.org>
7832 * descr-text.el (describe-char): Put the overlays over the
7833 "displayed as" character.
7835 2012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
7837 * calc/calc-units.el (math-default-units-table): Give an
7839 (math-put-default-units): Add options to put composite units and
7840 unit systems in the default units table.
7841 (calc-convert-units): Send composite units to
7842 `math-put-default-units' when appropriate.
7844 2012-08-11 Glenn Morris <rgm@gnu.org>
7846 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
7848 * tutorial.el (help-with-tutorial):
7849 * emacs-lisp/copyright.el (copyright-update-directory):
7850 * emacs-lisp/autoload.el (autoload-find-generated-file)
7851 (autoload-find-file): Disable local eval: (for insurance).
7853 * files.el (hack-local-variables-filter): If an eval: form is not
7854 known to be safe, and enable-local-variables is :safe, then ignore
7855 the form totally, as is done for non-eval forms. (Bug#12155)
7856 This is CVE-2012-3479.
7858 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
7860 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
7861 (rx-form): Simplify.
7863 2012-08-09 Dmitry Gutov <dgutov@yandex.ru>
7865 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
7866 ?, _, and : are symbol constituents, ! is not (but kinda should be).
7867 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
7868 (ruby-syntax-propertize-function): Adjust for changes in
7869 `ruby-syntax-propertize-heredoc'.
7871 2012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
7873 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
7874 binding (use `M-;' instead).
7875 (ruby-singleton-class-p): New function.
7876 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
7878 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
7880 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
7882 2012-08-10 Chong Yidong <cyd@gnu.org>
7884 * progmodes/python.el (python-shell-get-process-name): Don't mess
7885 with same-window-buffer-names.
7887 * eshell/eshell.el (eshell-add-to-window-buffer-names)
7888 (eshell-remove-from-window-buffer-names): Make obsolete.
7889 (eshell-buffer-name, eshell-unload-hook): Don't use them.
7890 (eshell): Just use pop-to-buffer-same-window instead.
7892 2012-08-10 Chong Yidong <cyd@gnu.org>
7894 * bindings.el: Bind M-= back to count-words-region.
7896 * simple.el (count-words-region): Accept a prefix arg for acting
7897 on the entire buffer.
7898 (count-words--buffer-message): New helper function.
7900 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
7902 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
7903 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
7904 (event-start, event-end): Use posn-at-point to return a more
7906 (posnp): New function.
7907 * mouse.el (popup-menu-normalize-position): Use it.
7909 2012-08-10 Masatake YAMATO <yamato@redhat.com>
7911 * mouse.el (popup-menu-normalize-position): New function.
7912 (popup-menu): Use `popup-menu-normalize-position' to normalize
7913 the form for POSITION argument.
7915 * term/x-win.el (x-menu-bar-open):
7916 Use the value returend from (posn-at-point) as position
7917 passed to `popup-menu'.
7919 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
7921 * calc/calccomp.el (math-compose-expr): Add extra argument
7922 indicating that parentheses should be put around products in
7923 denominators. Give multiplication precedence over division during
7926 2012-08-09 Chong Yidong <cyd@gnu.org>
7928 * man.el (Man-switches, Man-sed-command, Man-awk-command)
7929 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
7930 (Man-untabify-command, manual-program): Convert to defcustom
7933 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
7935 * descr-text.el (describe-char): Don't insert extra newlines
7938 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
7939 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
7941 * align.el (align-region): Delete temporary markers (Bug#10047).
7942 Plus some code cleanups.
7944 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
7946 * progmodes/python.el (python-pdbtrack-tracked-buffer)
7947 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
7948 (python-shell-internal-last-output): Use make-local-variable
7949 instead of make-variable-buffer-local.
7951 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
7953 * progmodes/python.el: Enhancements to forward-sexp.
7954 (python-nav-forward-sexp): Rename from
7955 python-nav-forward-sexp-function.
7956 (python-nav--forward-sexp, python-nav--backward-sexp):
7959 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
7961 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
7962 modes and simplification modes.
7964 2012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
7966 * delsel.el (delete-selection-pre-hook): Don't propagate the
7967 file-supersession signals (bug#12161).
7969 2012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
7971 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
7972 (cl-map-extents): Add compatibility aliases (bug#12135).
7974 2012-08-08 Michael Albinus <michael.albinus@gmx.de>
7976 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
7977 tests by `ignore-error'.
7978 (tramp-find-shell): Open also a new shell, when cache is already
7979 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
7981 2012-08-08 Juri Linkov <juri@jurta.org>
7983 * bookmark.el: Add `defaults' property to the bookmark record.
7984 (bookmark-current-buffer): Doc fix.
7985 (bookmark-make-record): Add `defaults' property with default values
7986 to the bookmark record.
7987 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
7988 with `bookmark-insert-current-bookmark'.
7989 (bookmark-set): Get `defaults' property from the bookmark record
7990 and use it in `read-from-minibuffer'.
7991 (bookmark-insert-current-bookmark): Remove function.
7993 * info.el (Info-bookmark-make-record): Add `defaults' property
7994 with values of canonical Info node name, the current Info file
7995 name and the current Info node name. (Bug#12107)
7997 2012-08-08 Juri Linkov <juri@jurta.org>
7999 * files.el (basic-save-buffer): Use `buffer-name' as the default
8000 of `read-file-name' when buffer is not visiting a file (bug#12128).
8002 2012-08-08 Juri Linkov <juri@jurta.org>
8004 * info.el (Info-isearch-search): Doc fix.
8005 (Info-search): Change search-failed message from "initial node" to
8006 "end of node" (bug#12078).
8007 (Info-isearch-search): Change `isearch-string-state' to
8008 `isearch--state-string'.
8010 2012-08-08 Glenn Morris <rgm@gnu.org>
8012 * language/persian.el: Remove file.
8013 * language/misc-lang.el: Move unique part of persian.el here.
8014 * loadup.el: Remove language/persian.
8016 2012-08-08 Óscar Fuentes <ofv@wanadoo.es>
8018 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
8020 2012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
8022 * progmodes/python.el: Fix defsubst warning.
8023 (python-syntax-context) Rename from python-info-ppss-context.
8024 (python-syntax-context-type): Rename from
8025 python-info-ppss-context-type.
8026 (python-syntax-comment-or-string-p): Rename from
8027 python-info-ppss-comment-or-string-p.
8029 2012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
8031 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
8033 2012-08-07 Andreas Schwab <schwab@linux-m68k.org>
8035 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
8036 a defcustom that is quoted with backquote.
8038 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
8039 Fix handling of interactive spec when the body uses return.
8040 (math-do-arg-check, math-define-function-body): Use backquote forms.
8041 * calc/calc-ext.el (math-defcache): Likewise.
8042 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
8043 * allout.el (allout-new-exposure): Likewise.
8044 * calc/calcalg2.el (math-tracing-integral): Likewise.
8045 * info.el (Info-last-menu-item): Likewise.
8046 * emulation/vip.el (vip-loop): Likewise.
8047 * textmodes/artist.el (artist-funcall): Likewise.
8048 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
8049 Construct menu-item directly.
8051 * progmodes/autoconf.el (font-lock-syntactic-keywords):
8054 2012-08-07 Chong Yidong <cyd@gnu.org>
8056 * simple.el (deactivate-mark): Preserve text properties when
8057 saving the primary selection (Bug#8384).
8059 2012-08-07 Kevin Ryde <user42@zip.com.au>
8061 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
8062 (woman-parse-numeric-value): On a bad .IP line, issue a warning
8063 and continue processing (Bug#12110).
8065 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
8067 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
8068 syntax-propertize-function (bug#10095).
8070 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
8072 * help-fns.el (help-fns--key-bindings, help-fns--signature)
8073 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
8074 describe-function-1.
8075 (describe-function-1): Use them. Move compiler macro after sig.
8076 (help-fns--compiler-macro): Use function-get. Assume we're already in
8077 standard-output. Adjust layout to new call order.
8079 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
8080 re-binding a symbol that has a symbol-macro (bug#12119).
8082 2012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
8084 * language/persian.el: New file. (Bug#11812)
8085 * loadup.el: Add language/persian.el.
8087 2012-08-06 Chong Yidong <cyd@gnu.org>
8089 * window.el (window--maybe-raise-frame): New function.
8090 (window--display-buffer): Split off from here.
8091 (display-buffer-reuse-window, display-buffer-pop-up-frame)
8092 (display-buffer-pop-up-window, display-buffer-use-some-window):
8093 Obey an inhibit-switch-frame action alist entry.
8094 (display-buffer): Update doc.
8096 * replace.el (occur-after-change-function): Avoid losing focus by
8097 using the inhibit-switch-frame display parameter (Bug#12139).
8099 2012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
8101 Make internal shell process buffer names start with space.
8102 * progmodes/python.el (python-shell-make-comint): Add optional
8104 (run-python-internal): Use it.
8105 (python-shell-internal-get-or-create-process): Check for new
8106 internal buffer names.
8108 2012-08-06 Glenn Morris <rgm@gnu.org>
8110 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
8111 Do less getting and setting of environment variables.
8113 2012-08-05 Chong Yidong <cyd@gnu.org>
8115 * proced.el (proced): Add substitution string to docstring to
8116 trigger autoloading of the proced library on C-h f (Bug#1768).
8118 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
8119 Don't show defvars which have no second argument (Bug#8638).
8121 * imenu.el (imenu-generic-expression): Move documentation here
8122 from imenu--generic-function.
8123 (imenu--generic-function): Refer to imenu-generic-expression.
8125 2012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
8127 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
8128 indentation declaration.
8129 (viper-loop): Add indentation declaration (Bug#7025).
8131 2012-08-05 Chong Yidong <cyd@gnu.org>
8133 * help-fns.el (describe-variable): Add hyperlink for
8134 directory-local variables files. Improve buffer-local and
8135 permanent-local reporting; suggested by MON KEY (Bug#6644).
8137 * help-mode.el (help-dir-local-var-def): New button type.
8139 * files.el (kill-buffer-hook): Provide a defvar.
8141 2012-08-05 Glenn Morris <rgm@gnu.org>
8143 * eshell/esh-ext.el (eshell/addpath):
8144 Also update eshell-path-env. (Bug#12013)
8146 2012-08-05 Chong Yidong <cyd@gnu.org>
8148 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
8150 * fringe.el (fringe-styles): Add docstring.
8151 (fringe--check-mode): New function.
8152 (set-fringe-mode, set-fringe-style): Use it.
8153 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
8155 * files.el (set-auto-mode): Fix invalid setq call.
8157 2012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
8159 * isearch.el: Misc simplification; use defstruct.
8160 (isearch-mode-map): Dense maps now work like sparse ones.
8161 (isearch--state): New defstruct.
8162 (isearch-string-state, isearch-message-state, isearch-point-state)
8163 (isearch-success-state, isearch-forward-state)
8164 (isearch-other-end-state, isearch-word-state, isearch-error-state)
8165 (isearch-wrapped-state, isearch-barrier-state)
8166 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
8167 replaced by defstruct's accessors.
8168 (isearch--set-state): Rename from isearch-top-state and change
8170 (isearch-push-state): Use new isearch--get-state.
8171 (isearch-toggle-word): Disable regexp when enabling word.
8172 (isearch-message-prefix): Remove unused arg _c-q-hack.
8173 (isearch-message-suffix): Remove unused arg _ellipsis.
8175 2012-08-04 Andreas Schwab <schwab@linux-m68k.org>
8177 * simple.el (list-processes--refresh): For a server use :host or
8178 :local as the address.
8179 (list-processes): Doc fix.
8181 2012-08-04 Michal Nazarewicz <mina86@mina86.com>
8183 * lisp/mpc.el: Support password in host argument.
8184 (mpc--proc-connect): Parse and use new password element.
8185 Set mpc-proc variable instead of returning process.
8186 (mpc-proc): Adjust accordingly.
8188 2012-08-03 Eli Zaretskii <eliz@gnu.org>
8190 * whitespace.el (whitespace-display-mappings): Use Unicode
8191 codepoints, instead of emacs-mule codepoints. See
8192 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
8195 * files.el (file-truename): Don't skip symlink-chasing part on
8196 windows-nt. Incorporate the resolution of 8+3 short aliases on
8197 Windows into the loop that recursively chases symlinks.
8198 Compare directory and its parent case-insensitively on MS-Windows and
8201 2012-08-03 Chong Yidong <cyd@gnu.org>
8203 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
8205 * sort.el (sort-regexp-fields): Doc fix.
8207 2012-08-03 Tassilo Horn <tsdh@gnu.org>
8209 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
8210 labels regex position point at the expected place.
8212 2012-08-03 MON KEY <monkey@sandpframing.com>
8214 * net/imap.el (imap-interactive-login, imap-authenticate)
8215 (imap-mailbox-lsub, imap-mailbox-list)
8216 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
8217 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
8218 (imap-parse-response): Doc fix.
8220 2012-08-03 João Távora <joaotavora@gmail.com>
8222 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
8223 if sexp scanning does not move point (Bug#5734).
8225 2012-08-02 Tassilo Horn <tsdh@gnu.org>
8227 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
8228 Add listings, minted, and ctable packages.
8229 (reftex-label-alist-builtin): Move listings, minted, and ctable
8230 entries before LaTeX.
8231 (reftex-label-alist): Docfix.
8233 2012-08-02 Bastien Guerry <bzg@gnu.org>
8235 * replace.el (occur): Fix docstring (bug#12122).
8237 2012-08-02 Glenn Morris <rgm@gnu.org>
8239 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
8241 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
8243 Obsolete alias inactivate-current-input-method-function (Bug#10150).
8244 * international/mule-cmds.el: Create
8245 inactivate-current-input-method-function as an obsolete alias for
8246 deactivate-current-input-method-function. See Katsumi Yamaoka in
8247 <http://bugs.gnu.org/10150#46>.
8249 2012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
8251 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
8254 2012-08-01 Glenn Morris <rgm@gnu.org>
8256 * progmodes/autoconf.el (autoconf-definition-regexp):
8257 Add AH_TEMPLATE, adjust submatch numbering.
8258 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
8259 (autoconf-current-defun-function): Update for above change.
8260 (autoconf-current-defun-function): First skip to end of current word.
8262 2012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
8264 * calendar/cal-html.el (cal-html-insert-agenda-days):
8265 Fix typo. (Bug#12018)
8267 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
8269 Shell processes: enhancements to startup and CEDET compatibility.
8270 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
8271 (python-shell-make-comint): accept-process-output at startup.
8272 (run-python-internal): Set inferior-python-mode-hook to nil.
8273 (python-shell-internal-get-or-create-process): call sit-for.
8274 (python-preoutput-result): Add obsolete alias.
8275 (python-shell-internal-send-string): Use it.
8276 (python-shell-send-setup-code): Remove call to
8277 accept-process-output.
8279 2012-07-31 Andreas Schwab <schwab@linux-m68k.org>
8281 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
8284 2012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
8286 * calc-mode.el (calc-basic-simplification-mode): Rename from
8287 `calc-limited-simplification-mode'.
8288 (calc-alg-simplification-mode): New function.
8289 (calc-set-simplify-mode): Adjust message.
8291 * calc.el (calc-set-mode-line): Adjust mode line display for
8292 basic simplification mode.
8294 * calc-help.el (calc-m-prefix-help): Update help message.
8296 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
8297 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
8299 2012-07-31 Bastien Guerry <bzg@gnu.org>
8301 * man.el (man): Fix comment. (bug#12101)
8303 2012-07-31 Martin Rudalics <rudalics@gmx.at>
8305 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
8306 Don't return a non-nil value when no suitable buffer was found.
8308 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
8310 * progmodes/python.el (run-python-internal): Disable font lock for
8313 2012-07-30 Stefan Merten <smerten@oekonux.de>
8315 * textmodes/rst.el: Silence `checkdoc-ispell'.
8316 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
8317 (rst-official-version, rst-official-cvs-rev)
8318 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
8319 (rst-mode-map): New key binding.
8321 2012-07-30 Paul Eggert <eggert@cs.ucla.edu>
8323 Update .PHONY listings in makefiles.
8324 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
8325 autoloads, update-subdirs, updates, bzr-update, update-authors,
8326 compile-onefile, compile-calc, backup-compiled-files,
8327 compile-after-backup, compile-one-process, mh-autoloads,
8328 bootstrap-clean, distclean, maintainer-clean.
8330 2012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
8332 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
8333 (calc-set-mode-line): Don't display "AlgSimp ".
8335 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
8336 (calc-lim-simplify-mode): New function.
8337 (calc-set-simplify-mode): Default to 'alg.
8338 (calc-default-simplify-mode): Make algebraic simplifications
8341 * calc/calc-ext.el (calc-init-extensions): Remove binding for
8342 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
8344 * calc/calc-help.el (calc-m-prefix-help): Change messages to
8345 indicate new simplification modes.
8347 * calc/README: Mention new default simplification mode.
8349 * calc/calc.el (math-normalize-error): New variable.
8350 (math-normalize): Set `math-normalize-error' to t
8351 when there's an error.
8353 * calc/calc-alg.el (math-simplify): Don't simplify when
8354 `math-normalize' returns an error.
8356 2012-07-29 Eli Zaretskii <eliz@gnu.org>
8358 * international/mule-cmds.el (set-locale-environment): Revert last
8359 change, since display-graphic-p returns nil when this function is
8360 called during startup. Instead...
8362 * term/w32console.el (terminal-init-w32console): ...setup the
8363 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
8365 2012-07-29 Juri Linkov <juri@jurta.org>
8367 * simple.el (goto-line): Don't display default line number in the
8368 prompt because it should be displayed by `read-number' (bug#9952).
8369 Add the current line number to the defaults of `goto-line' to
8370 allow its easier modification by users with `M-n' (bug#9201).
8372 * subr.el (read-number): Support multiple default values like in
8373 other minibuffer reading functions. Replace `read' with
8374 `string-to-number' for consistency with `number-to-string'.
8376 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
8378 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
8379 * emulation/viper-init.el (viper-deactivate-input-method-action):
8380 Rename from viper-inactivate-input-method-action.
8381 (viper-deactivate-input-method):
8382 Rename from viper-inactivate-input-method.
8383 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
8384 * international/mule-cmds.el (deactivate-input-method):
8385 Rename from inactivate-input-method.
8386 Also run input-method-deactivate-hook.
8387 (deactivate-current-input-method-function):
8388 Rename from inactivate-current-input-method-function.
8389 (input-method-deactivate-hook): New hook.
8390 (input-method-inactivate-hook): Mark obsolete.
8391 (inactivate-input-method): Mark obsolete.
8393 * international/quail.el (quail-activate):
8394 Also run quail-deactivate-hook.
8395 (quail-deactivate): Rename from quail-inactivate.
8396 * international/robin.el (robin-activate):
8397 Also run robin-deactivate-hook.
8398 (robin-deactivate): Rename from robin-inactivate.
8400 2012-07-29 Chong Yidong <cyd@gnu.org>
8402 * simple.el (indicate-copied-region): New function.
8403 (kill-ring-save): Split off from here.
8405 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
8406 (kill-rectangle): Set deactivate-mark to t on read-only error.
8408 * register.el (copy-to-register, copy-rectangle-to-register):
8409 Deactivate the mark, and use indicate-copied-region (Bug#10056).
8410 (append-to-register, prepend-to-register): Call indicate-copied-region.
8412 2012-07-29 Juri Linkov <juri@jurta.org>
8414 * simple.el (async-shell-command-buffer): New defcustom.
8415 (shell-command): Use it. (Bug#4719)
8417 2012-07-28 Eli Zaretskii <eliz@gnu.org>
8419 * international/mule-cmds.el (set-locale-environment): In a
8420 console session on MS-Windows, set up keyboard and terminal
8421 encoding from the OEM codepage, not the ANSI codepage.
8424 2012-07-28 Chong Yidong <cyd@gnu.org>
8426 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
8429 2012-07-28 Leo Liu <sdl.web@gmail.com>
8431 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
8432 the alist (bug#12029).
8434 2012-07-28 Eli Zaretskii <eliz@gnu.org>
8436 * makefile.w32-in (custom-deps, finder-data, updates, compile)
8437 (compile-always, compile-first)
8438 ($(lisp)/calendar/cal-loaddefs.el)
8439 ($(lisp)/calendar/diary-loaddefs.el)
8440 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
8441 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
8442 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
8443 instead of on update-subdirs.
8444 (bootstrap-clean): Delete $(lisp)/subdirs.el.
8446 2012-07-28 Chong Yidong <cyd@gnu.org>
8448 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
8449 directory if vc-deduce-backend returns nil (Bug#7350).
8451 * simple.el (delete-trailing-lines): New option.
8452 (delete-trailing-whitespace): Obey it (Bug#11879).
8454 2012-07-28 David Engster <deng@randomsample.de>
8456 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
8457 Explanation of new 'symbol-qnames feature in doc-strings.
8458 (xml-maybe-do-ns): Return expanded names as plain symbols if
8459 'symbol-qnames was provided in XML-NS argument (Bug#11916).
8460 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
8462 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
8464 Consistent completion in inferior python with emacs -nw.
8465 * progmodes/python.el (inferior-python-mode): replace "<tab>"
8466 binding in inferior-python-mode-map with "\t".
8467 (python-shell-completion-complete-at-point)
8468 (python-completion-complete-at-point): Remove interactive spec.
8470 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
8472 * calc/calccomp.el (math-compose-expr): Undo previous change.
8474 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
8476 * progmodes/python.el (python-mode-map): Add keybinding for
8478 (python-shell-make-comint): Fix pop-to-buffer call.
8479 (run-python): Autoload. New arg SHOW.
8480 (python-shell-get-or-create-process): Do not pop python process
8483 2012-07-27 Michael Albinus <michael.albinus@gmx.de>
8485 * notifications.el (notifications-on-action-signal)
8486 (notifications-on-closed-signal): Use also the bus address for the map.
8487 (notifications-notify, notifications-close-notification)
8488 (notifications-get-capabilities): Add optional argument BUS.
8490 2012-07-27 Tassilo Horn <tsdh@gnu.org>
8492 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
8493 Add support for the lstlisting and minted environments, and for the
8495 * textmodes/reftex.el (reftex-compile-variables): Also recognize
8496 labels written in keyvals syntax.
8498 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
8500 * calc/calccomp.el (math-compose-expr): Use parentheses when
8501 there is a product in the denominator of a fraction.
8503 2012-07-26 Eli Zaretskii <eliz@gnu.org>
8505 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
8506 ($(lisp)/calendar/diary-loaddefs.el)
8507 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
8508 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
8509 Fixes failures in parallel bootstrap because subdirs.el is being
8510 rewritten while the autoload files are built at the same time,
8511 which needs to load subdirs.el.
8513 2012-07-26 Martin Rudalics <rudalics@gmx.at>
8515 * mouse.el (popup-menu): Fix doc-string and re-indent code.
8516 (mouse-drag-line): Don't exit tracking when a switch-frame or
8517 switch-window event occurs (Bug#12006).
8519 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8521 * mouse.el (popup-menu): Fix last change.
8523 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8525 Autoload from Lisp with more care. Follow aliases when looking for
8526 function properties.
8527 * subr.el (autoloadp): New function.
8528 (symbol-file): Use it.
8529 (function-get): New function.
8530 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
8532 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
8533 (lisp-indent-function):
8534 * emacs-lisp/gv.el (gv-get):
8535 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
8536 * emacs-lisp/byte-opt.el (byte-optimize-form):
8537 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
8538 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
8540 * emacs-lisp/cl.el: Don't propagate function properties any more.
8542 * speedbar.el (speedbar-add-localized-speedbar-support):
8543 * emacs-lisp/disass.el (disassemble-internal):
8544 * desktop.el (desktop-load-file):
8545 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
8546 (describe-function-1):
8547 * emacs-lisp/find-func.el (find-function-noselect):
8548 * emacs-lisp/elp.el (elp-instrument-function):
8549 * emacs-lisp/advice.el (ad-has-proper-definition):
8550 * apropos.el (apropos-safe-documentation, apropos-macrop):
8551 * emacs-lisp/debug.el (debug-on-entry):
8552 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
8553 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
8554 * calc/calc.el (name): Use autoloadp & autoload-do-load.
8556 2012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
8558 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
8559 function, not an obsolete variable (Bug#12046).
8561 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
8563 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
8565 2012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
8567 * emacs-lisp/pp.el (pp-display-expression): Select old selected
8568 window only if it is still live (Bug#12034).
8570 2012-07-25 Martin Rudalics <rudalics@gmx.at>
8572 * subr.el (redirect-frame-focus): Add advertised calling
8573 convention (Bug#12030).
8575 2012-07-25 Paul Eggert <eggert@cs.ucla.edu>
8577 Prefer typical American spelling for "acknowledgment".
8578 * vc/add-log.el (change-log-acknowledgment): Rename from
8579 change-log-acknowledgement, with an alias for the old name.
8581 2012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
8583 * calc-alg.el (math-simplify-divide): Don't cross multiply
8584 in an equation when the lhs is a variable.
8586 2012-07-24 Julien Danjou <julien@danjou.info>
8588 * net/netrc.el (netrc-find-service-number, netrc-store-data):
8591 2012-07-23 Eli Zaretskii <eliz@gnu.org>
8593 * startup.el (command-line): Don't display an empty user name in
8594 the error message about non-existent home directory, when
8595 init-file-user was set to an empty string. See
8596 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
8597 for the details and context.
8599 2012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
8601 * ses.el (ses-cell-formula-aset): New macro.
8602 (ses-cell-references-aset): New macro.
8603 (ses-cell-p): New function.
8604 (ses-rename-cell): Do no longer rely on complex operations like
8605 ses-cell-set-formula or ses-set-cell to change the cell and handle
8606 the undo at the same time, but rather use lower level new macros
8607 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
8608 the undo directly. Refresh the mode line.
8610 2012-07-21 Leo Liu <sdl.web@gmail.com>
8612 * progmodes/cc-cmds.el (c-defun-name):
8613 Use match-string-no-properties instead for consistency.
8615 2012-07-20 Leo Liu <sdl.web@gmail.com>
8617 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
8620 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
8622 2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
8624 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
8625 * progmodes/bug-reference.el, misearch.el: Provide themselves
8628 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
8629 of narrowed buffer (bug#11966).
8631 2012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
8633 * ses.el (ses-rename-cell): Set new name also in reference list of
8634 cells of which the renamed cell depends.
8636 2012-07-20 Masatake YAMATO <yamato@redhat.com>
8638 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
8639 to check whether menu-bar is shown or not. If not shown,
8640 show the menu-bar as a popup menu instead of using tmm.
8641 * mouse.el (popup-menu): Accept `point' as `position' argument.
8643 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
8645 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
8646 up inside string symbol literal (bug#11923).
8648 2012-07-20 Eli Zaretskii <eliz@gnu.org>
8650 * startup.el (fancy-startup-text): Read the whole tutorial, not
8651 just its first 256 bytes. Prevents gibberish in display of the
8654 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
8656 Drop idle buffer compaction due to an absence of the
8658 * compact.el: Remove.
8660 2012-07-19 Sam Steingold <sds@gnu.org>
8662 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
8663 vc-bzr-pull & vc-bzr-merge-branch.
8664 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
8665 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
8666 for consistency with compilation-error-regexp-alist.
8667 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
8668 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
8669 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
8670 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
8672 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
8674 * emacs-lisp/chart.el: Use lexical-binding.
8675 (chart-emacs-storage): Don't hardcode the list of entries.
8677 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
8679 Next round of tweaks caused by Fgarbage_collect changes.
8680 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
8682 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
8684 Compact buffers when idle.
8685 * compact.el: New file.
8687 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
8689 * subr.el (eventp): Presume that if it looks vaguely like an event,
8690 it's an event (bug#10190).
8692 2012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
8694 Enhancements to ppss related code (thanks Stefan).
8695 * progmodes/python.el (python-indent-context)
8696 (python-indent-calculate-indentation, python-indent-dedent-line)
8697 (python-indent-electric-colon, python-nav-forward-block)
8698 (python-mode-abbrev-table)
8699 (python-info-assignment-continuation-line-p): Simplify checks
8701 (python-info-continuation-line-p): Cleanup.
8702 (python-info-ppss-context): Do not catch 'quote.
8703 (python-info-ppss-context-type)
8704 (python-info-ppss-comment-or-string-p): Simplify.
8706 2012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
8708 * progmodes/python.el: Enhancements to eldoc support.
8709 (python-info-current-symbol): New function.
8710 (python-eldoc-at-point): Use python-info-current-symbol.
8711 (python-info-current-defun): Fix cornercase on first defun scan.
8712 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
8713 and signal error when no inferior python process is available.
8715 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
8717 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
8718 assume it's always t.
8719 (vc-git-registered): Remove caching, the function is only called
8721 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
8723 2012-07-18 Chong Yidong <cyd@gnu.org>
8725 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
8727 * simple.el (count-words): Report on narrowing (Bug#9959).
8729 * bindings.el: Bind M-= to count-words.
8731 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
8733 2012-07-18 Masatake YAMATO <yamato@redhat.com>
8735 * progmodes/sh-script.el (sh-imenu-generic-expression):
8736 Capture a function with `function' keyword and without parentheses
8737 like "function FOO" (bug#11856).
8739 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
8741 * window.el (split-window-sensibly): Make WINDOW argument
8744 2012-07-18 Chong Yidong <cyd@gnu.org>
8746 * subr.el (keyboard-translate): Doc fix (Bug#7261).
8748 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
8749 and make C-x 8 RET exit isearch (Bug#11439).
8751 * international/iso-transl.el: Move isearch-mode-map key
8752 definitions to isearch.el.
8754 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
8756 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
8757 (eieio-defclass): Use gv-define-setter when possible.
8759 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
8761 Reflect recent changes in Fgarbage_collect.
8762 * emacs-lisp/chart.el (chart-emacs-storage): Change to
8763 reflect new format of data returned by Fgarbage_collect.
8765 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
8767 New utility functions + python-info-ppss-context fix (Bug#11910).
8768 * progmodes/python.el (python-info-beginning-of-block-statement-p)
8769 (python-info-ppss-comment-or-string-p): New functions.
8770 (python-info-ppss-context): Small fix for string check.
8772 2012-07-17 Juri Linkov <juri@jurta.org>
8774 * dired-aux.el (dired-do-async-shell-command): Doc fix.
8775 (dired-do-async-shell-command): Don't add `*' at the end of the
8776 command (Bug#11815).
8777 (dired-do-shell-command): Doc fix.
8778 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
8779 Join the individual commands using either "&" or ";" as the
8780 separator depending on the values of these trailing characters.
8781 At the end re-add the trailing "&". (Bug#10598)
8783 * simple.el (async-shell-command): Sync the interactive spec with
8784 `shell-command'. Doc fix.
8785 (shell-command): Doc fix.
8787 2012-07-17 Juri Linkov <juri@jurta.org>
8789 * descr-text.el (describe-char): Fix format args. (Bug#10129)
8791 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
8793 Final renames and doc fixes for movement commands (bug#11899).
8794 * progmodes/python.el (python-nav-beginning-of-statement):
8795 Rename from python-nav-statement-start.
8796 (python-nav-end-of-statement): Rename from
8797 python-nav-statement-end.
8798 (python-nav-beginning-of-block): Rename from
8799 python-nav-block-start.
8800 (python-nav-end-of-block): Rename from python-nav-block-end.
8802 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
8804 * progmodes/python.el (python-shell-send-string-no-output):
8805 Allow accept-process-output to quit, keeping shell process ready for
8806 future interactions (Bug#11868).
8808 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
8810 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
8812 * emacs-lisp/elint.el (elint-find-args-in-code):
8813 Use help-function-arglist, so as to handle lexical byte-code.
8815 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
8818 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
8820 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
8821 Avoid spuriously marking the buffer as modified because of c-is-sws.
8823 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
8824 as not-a-comment (bug#11946).
8826 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
8827 for uninterned vars.
8829 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
8830 Use read-event since we don't really want to read chars but bytes.
8832 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
8833 $$..$$ but also $..$ using regexps (bug#11953).
8834 Use tex-verbatim for \url and \path.
8835 (tex-font-lock-keywords): Define as defconst like the others.
8836 (tex-common-initialization): Don't use font-lock-syntax-table any more.
8838 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
8840 * international/mule-cmds.el (ucs-insert): Make it an obsolete
8841 alias for insert-char.
8843 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
8845 * progmodes/python.el: Simplified imenu implementation.
8846 (python-nav-jump-to-defun): Remove command.
8847 (python-mode-map): Use `imenu' instead.
8848 (python-nav-list-defun-positions-cache)
8849 (python-imenu-include-defun-type, python-imenu-make-tree)
8850 (python-imenu-subtree-root-label, python-imenu-index-alist):
8852 (python-nav-list-defun-positions, python-nav-read-defun)
8853 (python-imenu-tree-assoc, python-imenu-make-element-tree)
8854 (python-imenu-make-tree, python-imenu-create-index):
8856 (python-mode): Update to interact with imenu by setting
8857 `imenu-extract-index-name-function' only.
8859 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
8861 * progmodes/python.el: Enhancements to navigation commands.
8862 (python-nav-backward-sentence)
8863 (python-nav-forward-sentence): Remove.
8864 (python-nav-backward-statement, python-nav-forward-statement)
8865 (python-nav-statement-start, python-nav-statement-end)
8866 (python-nav-backward-block, python-nav-forward-block)
8867 (python-nav-block-start, python-nav-block-end)
8868 (python-nav-forward-sexp-function)
8869 (python-info-current-line-comment-p)
8870 (python-info-current-line-empty-p): New functions.
8871 (python-indent-context): Use `python-nav-statement-start'.
8873 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
8875 * eshell/em-ls.el (eshell/ls): Use `apply'.
8877 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
8878 multi-hops, instead of Tramp internals.
8880 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
8882 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
8883 when F1 and F2 are located on different hosts.
8885 2012-07-14 Chong Yidong <cyd@gnu.org>
8887 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
8888 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
8889 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
8890 (xterm-mouse--read-event-sequence-1000)
8891 (xterm-mouse--read-event-sequence-1006): New functions. For old
8892 mouse protocol, handle M-mouse-X events correctly.
8893 (xterm-mouse-event): New arg specifying mouse protocol.
8894 (turn-on-xterm-mouse-tracking-on-terminal)
8895 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
8896 sequence to toggle extended coordinates on newer XTerms.
8897 This appears to be harmless on terminals which do not support this.
8899 2012-07-14 Leo Liu <sdl.web@gmail.com>
8901 Add fringe bitmap indicators for flymake. (Bug#11253)
8902 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
8903 (flymake-make-overlay): New arg BITMAP.
8904 (flymake-error-bitmap, flymake-warning-bitmap)
8905 (flymake-fringe-indicator-position): New user variables.
8907 * fringe.el: New bitmap exclamation-mark.
8909 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
8911 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
8914 2012-07-14 Chong Yidong <cyd@gnu.org>
8916 * electric.el (electric-pair-post-self-insert-function): Fix pair
8917 insertion in empty-region case (Bug#11520).
8919 2012-07-14 Chong Yidong <cyd@gnu.org>
8921 * bindings.el: Consolidate ctl-x-r-map bindings.
8922 Bind copy-rectangle-as-kill to C-x r w.
8924 * rect.el, register.el: Move bindings to bindings.el.
8926 2012-07-14 Reuben Thomas <rrt@sc3d.org>
8928 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
8930 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
8932 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
8934 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
8936 * bindings.el (top): Use `mapc' instead of `mapcar'.
8938 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
8940 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
8942 * progmodes/sql.el (sql-comint): Suppress the check for program on
8943 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
8946 2012-07-13 Chong Yidong <cyd@gnu.org>
8948 * bindings.el: Assign a non-nil permanent-local property to
8949 per-buffer variables which lack a default value (Bug#11930).
8951 * help-fns.el (describe-variable): In the "automatically becomes
8952 local" notice, take note of permanent-local variables.
8954 2012-07-13 Chong Yidong <cyd@gnu.org>
8956 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
8957 to allow printing the message when called from Lisp.
8959 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
8960 Remove toggle-read-only.
8962 * bs.el (bs-toggle-readonly):
8963 * buff-menu.el (Buffer-menu-toggle-read-only):
8964 Remove with-no-warnings around toggle-read-only.
8966 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
8967 Remove with-no-warnings around toggle-read-only.
8968 (ffap-read-only, ffap-read-only-other-window)
8969 (ffap-read-only-other-frame): Callers changed.
8971 * help-mode.el: Don't require view package.
8972 (help-mode-finish): Set buffer-read-only instead of calling
8975 * bindings.el (mode-line-toggle-read-only):
8976 * dired.el (dired-toggle-read-only):
8977 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
8978 with non-nil second arg.
8980 * emacs-lisp/eieio-custom.el (eieio-customize-object):
8981 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
8984 2012-07-12 Eli Zaretskii <eliz@gnu.org>
8986 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
8989 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
8991 More CL cleanups and reduction of use of cl.el.
8992 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
8993 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
8994 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
8995 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
8996 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
8997 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
8998 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
8999 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
9000 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
9001 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
9002 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
9003 * eshell/em-cmpl.el, eshell/em-banner.el:
9004 * calendar/parse-time.el: Use cl-lib.
9005 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
9006 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
9007 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
9008 * term/ns-win.el, term.el, shell.el, ps-samp.el:
9009 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
9010 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
9011 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
9012 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
9013 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
9014 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
9015 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
9016 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
9017 `lambda' rather than with `quote'.
9018 (eshell-do-opt): Adjust accordingly.
9019 (eshell-process-option): Simplify.
9020 * eshell/esh-var.el:
9021 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
9022 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
9023 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
9024 to `pcase--dontcare'.
9025 * emacs-lisp/cl.el (labels): Mark obsolete.
9026 (cl--letf, letf): Move to cl-lib.
9027 (cl--letf*, letf*): Remove.
9028 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
9029 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
9030 (cl-progv): Rewrite.
9031 (cl--letf, cl-letf): Move from cl.el.
9032 (cl-letf*): New macro.
9033 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
9035 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
9037 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
9039 2012-07-11 Chong Yidong <cyd@gnu.org>
9041 * vc/log-edit.el (log-edit-vc-backend): New variable.
9042 (log-edit): Doc fix.
9044 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
9045 argument of log-edit to set up all local variables.
9046 (vc-start-logentry): New optional arg specifying VC backend.
9048 * vc/vc.el (vc-checkin): Use it.
9049 (vc-deduce-fileset): Handle Log Edit buffers.
9050 (vc-diff): Make first argument optional too.
9052 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
9054 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
9056 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
9057 command, just in case. The function is not needed anymore.
9058 (eshell-external-command): Do not call `eshell-remote-command'.
9060 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
9062 Reduce use of (require 'cl).
9063 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
9064 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
9065 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
9066 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
9067 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
9068 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
9069 * battery.el, avoid.el, abbrev.el: Use cl-lib.
9070 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
9071 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
9072 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
9073 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
9074 * calculator.el, autorevert.el, apropos.el: Don't require CL.
9075 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
9076 (byte-compile-unfold-bcf, byte-compile-check-variable):
9077 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
9078 (byte-compile-nilconstp):
9079 * emacs-lisp/autoload.el (make-autoload): Use pcase.
9080 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
9082 * emacs-lisp/gv.el (cond): Make it a valid place.
9083 (if): Simplify slightly.
9085 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
9086 (pcase--self-quoting-p): New function.
9087 (pcase--u1): Use it.
9089 2012-07-10 Glenn Morris <rgm@gnu.org>
9091 * emacs-lisp/authors.el (authors-fixed-entries):
9092 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
9094 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
9096 Rename configure.in to configure.ac (Bug#11603).
9097 * emacs-lisp/authors.el (authors-canonical-file-name):
9098 * progmodes/autoconf.el (autoconf-mode):
9099 Prefer configure.ac to configure.in.
9101 2012-07-08 Chong Yidong <cyd@gnu.org>
9103 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
9104 Implement the mouse-1-click-follows-link handling properly.
9106 * info.el (Info-link-keymap): Use follow-link mechanism for
9107 header-line links (Bug#374).
9109 * simple.el (deactivate-mark): Do not set the primary selection
9110 if another program has acquired it (Bug#11772).
9112 2012-07-07 Kevin Ryde <user42@zip.com.au>
9114 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
9115 (woman-decode-region): Replace escaped-escapes without destroying
9116 bold or underline (Bug#11552).
9117 (woman2-process-escapes): Handle nofill regions (Bug#11591).
9119 2012-07-07 Chong Yidong <cyd@gnu.org>
9121 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
9122 (interprogram-cut-function, interprogram-paste-function):
9123 Mention that we typically mean the clipboard.
9125 2012-07-06 Glenn Morris <rgm@gnu.org>
9127 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
9129 * files.el (toggle-read-only): Restrict message to interactive use.
9131 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
9133 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
9135 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
9137 2012-07-06 Glenn Morris <rgm@gnu.org>
9139 * Makefile.in (compile-one-process): Rename from "recompile".
9141 * Makefile.in (bzr-update): "compile" is the same as "recompile
9142 autoloads", but parallelizable, so use that instead.
9144 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
9146 * window.el (quit-window): Always restore window height when
9147 it's saved in quit-restore parameter (Bug#11810).
9149 2012-07-06 Glenn Morris <rgm@gnu.org>
9151 * simple.el (kill-whole-line): Doc tweak.
9153 2012-07-06 Eli Zaretskii <eliz@gnu.org>
9155 * files.el (file-relative-name): Compare file names
9156 case-insensitively if on MS-Windows or MS-DOS, or if
9157 read-file-name-completion-ignore-case is non-nil. Don't use
9158 case-fold-search for this purpose. (Bug#11827)
9160 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
9162 * calendar/cal-dst.el (calendar-current-time-zone):
9163 Return calendar-current-time-zone-cache if non-nil.
9165 2012-07-17 Masatake YAMATO <yamato@redhat.com>
9166 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
9168 * calendar/cal-dst.el (calendar-current-time-zone):
9169 Return calendar-current-time-zone-cache if non-nil.
9171 2012-07-06 Glenn Morris <rgm@gnu.org>
9173 * Makefile.in (cvs-update): Remove old alias.
9175 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
9177 Sync with Tramp 2.2.6-pre.
9179 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
9180 compatible declaration.
9182 * net/tramp-cmds.el (tramp-append-tramp-buffers):
9183 Protect `list-load-path-shadows' call.
9185 * net/tramp-compat.el (top): Require packages, which aren't
9186 autoloaded anymore for XEmacs. Protect call of
9187 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
9188 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
9189 it hurts at least for SXEmacs.
9190 (tramp-compat-temporary-file-directory): In XEmacs, there is no
9191 standard-value for `temporary-file-directory'.
9193 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
9194 Redirect stderr to /dev/null.
9195 (tramp-sh-handle-write-region): uid and gid can be floats.
9196 Reported by Russell Sim <russell.sim@gmail.com>.
9197 (tramp-sh-handle-vc-registered): Hide errors.
9198 (tramp-vc-file-name-handler): Use dummy results for `process-file'
9199 and `start-file-process'.
9200 (tramp-maybe-open-connection): Check also whether `non-essential'
9203 2012-07-04 Chong Yidong <cyd@gnu.org>
9205 * xml.el (xml--parse-buffer): Use xml-syntax-table.
9206 (xml-parse-tag): Likewise, and avoid changing entity tables.
9207 (xml-syntax-table): Define from scratch, making sure not to give
9208 x2000 and other Unicode spaces whitespace syntax, since those are
9210 (xml-parse-fragment): Delete unused function.
9211 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
9212 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
9213 (xml-entity-ref, xml-pe-reference-re)
9214 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
9215 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
9216 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
9217 (xml-entity-value-re): Use syntax references in regexps where
9218 possible; no need to define inside a let-binding.
9219 (xml-parse-dtd): Use xml-pe-reference-re.
9220 (xml-entity-or-char-ref-re): New defconst.
9221 (xml-parse-string, xml-substitute-special): Use it.
9223 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
9225 * files.el (locate-dominating-file): Allow `name' to be a predicate.
9226 (find-file--read-only): New function.
9227 (find-file-read-only, find-file-read-only-other-window)
9228 (find-file-read-only-other-frame): Use it.
9229 (insert-file-contents-literally): Don't `fset'.
9230 (get-free-disk-space): Use locate-dominating-file.
9232 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
9233 function is already compiled.
9235 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
9237 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
9239 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
9240 files on the same host.
9242 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
9244 * help-fns.el (describe-function-1): Only call
9245 help-fns--autoloaded-p when we have a file name. (Bug#11848)
9247 2012-07-03 Chong Yidong <cyd@gnu.org>
9249 * xml.el: Protect parser against XML bombs.
9250 (xml-entity-expansion-limit): New variable.
9251 (xml-parse-string, xml-substitute-special): Use it.
9252 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
9254 2012-07-03 Glenn Morris <rgm@gnu.org>
9256 * progmodes/bug-reference.el (bug-reference-bug-regexp):
9257 Allow linking to specific messages in debbugs reports (eg 123#5).
9259 2012-07-02 Chong Yidong <cyd@gnu.org>
9261 * xml.el: Fix entity and character reference expansion, allowing
9262 them to expand into markup as per XML spec.
9263 (xml-default-ns): New variable.
9264 (xml-entity-alist): Use XML spec definitions for lt and amp.
9265 (xml-parse-region): Make first two arguments optional.
9266 Discard text properties.
9267 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
9268 All callers changed.
9269 (xml-parse-tag): Call xml-parse-tag-1. For backward
9270 compatibility, this function should not modify buffer contents.
9271 (xml-parse-tag-1): Fix opening-tag regexp.
9272 (xml-parse-string): Rewrite, handling entity and character
9273 references properly.
9274 (xml--entity-replacement-text): Signal an error if a parameter
9275 entity is undefined.
9277 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
9279 * comint.el (comint-output-filter): Filter out repeated prompts.
9281 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
9282 and file-name-absolute-p.
9283 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
9286 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
9289 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
9290 Rename from byte-compile--refiy-function. All uses changed.
9292 2012-07-01 Chong Yidong <cyd@gnu.org>
9294 * xml.el (xml--parse-buffer): New function. Move most of
9295 xml-parse-region here.
9296 (xml-parse-region): Copy region into a temporary buffer, since
9297 parameter entity substitution requires changing buffer contents.
9298 Use xml--parse-buffer.
9299 (xml-parse-file): Use xml--parse-buffer.
9300 (xml-parse-dtd): Make parameter entity substitution work right.
9301 Use proper regexps for ELEMENT declarations (Bug#7172).
9303 2012-06-30 Glenn Morris <rgm@gnu.org>
9305 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
9307 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
9308 Remove outdated and unnecessary dbus declarations.
9310 2012-06-30 Eli Zaretskii <eliz@gnu.org>
9312 * emacs-lisp/timer.el (timer-until): Subtract results of
9313 float-time, instead of taking float-time of the result of
9314 time-subtract, since float-time signals an error for negative time
9317 2012-06-30 Chong Yidong <cyd@gnu.org>
9319 * xml.el (xml-*-re): Convert defvars into defconsts, and
9320 eval-and-compile them so eval-and-compile works on derivatives.
9321 (xml--entity-replacement-text): Use eval-and-comple.
9323 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
9325 * vc/vc-git.el (vc-git-registered): Use cache property
9327 (vc-git-mode-line-string): Call `vc-working-revision' instead of
9328 `vc-git-working-revision' in order to benefit from the cache.
9329 (vc-git-root): Use cache property `git-root'. (Bug#11757)
9331 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
9333 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
9334 removed (likely outside Emacs). (Bug#11757)
9336 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
9338 * emacs-lisp/cl-lib.el: Require macroexp.
9340 2012-06-30 Chong Yidong <cyd@gnu.org>
9342 * xml.el: Implement XML parameter entities.
9343 (xml-parameter-entity-alist): New variable.
9344 (xml-parse-region, xml-parse-fragment): Preserve previous values
9345 of xml-entity-alist and xml-parameter-entity-alist, so that
9346 repeated calls on different documents do not change them.
9347 (xml-parse-tag): Fix doctype regexp.
9348 (xml--entity-replacement-text): New function.
9349 (xml-parse-dtd): Use it. Don't handle system entities; doing that
9350 properly requires url retrieval which is unimplemented.
9351 (xml-escape-string): Doc fix.
9353 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
9355 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
9357 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
9359 * fringe.el (fringe-mode): Doc fix.
9361 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
9363 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
9365 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
9366 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
9368 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
9370 * calendar/cal-dst.el (calendar-current-time-zone):
9371 Return calendar-current-time-zone-cache if non-nil.
9373 2012-06-29 Masatake YAMATO <yamato@redhat.com>
9375 * progmodes/which-func.el (which-func-format):
9376 Add mouse-face. (Bug#11698)
9378 2012-06-29 Leo Liu <sdl.web@gmail.com>
9380 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
9382 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
9384 * minibuffer.el (minibuffer-confirm-exit-commands):
9385 Add completion-at-point (bug#11725).
9387 2012-06-29 Glenn Morris <rgm@gnu.org>
9389 * progmodes/f90.el (f90-font-lock-keywords-2):
9390 Add some preprocessor elements. (Bug#10499)
9392 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
9394 * progmodes/cperl-mode.el (cperl-update-syntaxification):
9395 Use syntax-propertize (bug#11739).
9397 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
9399 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
9401 2012-06-28 Julien Danjou <julien@danjou.info>
9403 * term.el (term-handle-colors-array): Use a set of new faces to
9404 color the terminal. Also uses :inverse-video property.
9405 (term-default-fg-color): Set to nil by default, deprecate in favor
9407 (term-default-bg-color): Set to nil by default, deprecate in favor
9409 (term-current-face): Use `term-face' by default.
9410 (term-bold-attribute): Variable deleted.
9412 2012-06-28 Glenn Morris <rgm@gnu.org>
9414 * simple.el (completion-list-mode-finish):
9415 Don't use toggle-read-only. (Since completion-list-mode has
9416 a special mode-class, it wasn't doing anything extra anyway.)
9418 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
9420 Make inlining of other-mode interpreted functions work (bug#11799).
9421 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
9422 (byte-compile): Use it to fix compilation of lexical-binding closures.
9423 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
9424 function, if needed.
9426 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
9428 * help-mode.el (help-make-xrefs): Don't just withstand
9429 cyclic-variable-indirection but any error in documentation-property.
9431 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
9433 * bindings.el (bindings--define-key): New function.
9434 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
9435 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
9436 * bindings.el: Use it to purecopy define-key bindings.
9438 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
9440 * emacs-lisp/cl.el (flet): Mark obsolete.
9441 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
9442 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
9443 * progmodes/js.el (js-c-fill-paragraph):
9444 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
9445 (ebrowse-switch-member-buffer-to-derived-class):
9446 * play/5x5.el (5x5-solver): Use cl-flet.
9448 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
9449 (cl--symbol-function): New macro.
9450 (cl--letf, cl--letf*): Use it.
9452 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
9453 Strip "toggle-" if any.
9455 2012-06-27 Glenn Morris <rgm@gnu.org>
9457 * info.el (Info-default-directory-list): Move here from paths.el.
9458 * paths.el: Remove file, which is now empty.
9459 * loadup.el: No longer load "paths".
9461 * custom.el (custom-initialize-delay): Doc fix.
9463 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
9464 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
9465 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
9466 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
9467 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
9468 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
9469 * eshell/eshell.el (eshell-defgroup): Remove alias.
9471 2012-06-27 Chong Yidong <cyd@gnu.org>
9473 * help.el (help-enable-auto-load): New variable.
9475 * help-fns.el (help-fns--autoloaded-p): New function.
9476 (describe-function-1): Refer to a function as "autoloaded" if it
9477 was autoloaded at any time in the past. Perform autoloading if
9478 help-enable-auto-load is non-nil.
9480 2012-06-26 Eli Zaretskii <eliz@gnu.org>
9482 * makefile.w32-in (compile, compile-always): Depend on
9483 update-subdirs, not on subdirs.el. Otherwise, several different
9484 sub-targets of 'bootstrap' running in parallel could
9485 simultaneously write to subdirs.el, producing a garbled file.
9487 2012-06-26 Sam Steingold <sds@gnu.org>
9489 * files.el (file-name-base): New convenience function.
9490 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
9491 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
9492 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
9493 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
9494 * textmodes/ispell.el, textmodes/reftex-ref.el:
9495 * textmodes/tex-mode.el: Use it.
9496 Did not touch cedet and org because they are maintained elsewhere.
9498 2012-06-26 Martin Rudalics <rudalics@gmx.at>
9500 * calendar/calendar.el (calendar-exit): Don't try to delete or
9501 iconify last frame. See:
9502 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
9504 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
9506 * server.el (server-process-filter): Remember dir in the
9507 process's `server-client-directory' properties.
9509 2012-06-24 Chong Yidong <cyd@gnu.org>
9511 * xml.el (xml-parse-tag): Correctly handle comment embedded in
9514 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
9516 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
9518 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
9520 * help-fns.el (describe-variable): Don't croak when doc is not found.
9521 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
9522 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
9523 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
9524 * emacs-lisp/smie.el (smie-next-sexp): CSE.
9525 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
9527 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
9529 2012-06-23 Chong Yidong <cyd@gnu.org>
9531 * info.el (Info-mouse-follow-link): Accept symbol values of
9532 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
9533 (Info-fontify-node): Use Info-link-keymap for all navigation
9534 buttons, with link-args property to perform the desired action.
9535 (Info-link-keymap): Doc fix.
9536 (Info-next-link-keymap, Info-prev-link-keymap)
9537 (Info-up-link-keymap): Delete now-unused keymaps.
9539 2012-06-23 Chong Yidong <cyd@gnu.org>
9541 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
9543 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
9546 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
9548 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
9550 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
9553 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
9554 the requote function doesn't work properly (bug#11714).
9556 2012-06-23 Glenn Morris <rgm@gnu.org>
9558 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
9560 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
9562 Further GV/CL cleanups.
9563 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
9565 (gv--defun-declaration): New function.
9566 (defun-declarations-alist): Use it.
9567 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
9568 (gv-place): Autoload.
9569 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
9570 original definition of dotimes and dolist.
9571 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
9572 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
9573 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
9574 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
9575 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
9576 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
9577 to the function's definition.
9578 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
9582 * env.el: Don't use CL.
9584 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
9586 Support higher-resolution time stamps (Bug#9000).
9588 * calendar/time-date.el (with-decoded-time-value): New arg
9589 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
9590 (encode-time-value): New optional arg PICO. New type 3.
9591 (time-to-seconds) [!float-time]: Support the new picoseconds
9592 component if it's used.
9593 (seconds-to-time, time-subtract, time-add):
9594 Support ps-resolution time stamps as well.
9596 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
9597 (timerp): Timer vectors now have length 9, not 8.
9598 (timer--time): Support new-style (4-part) time stamps.
9599 (timer-next-integral-multiple-of-time): Time stamps now have
9600 picosecond resolution, so take a bit more care about rounding.
9601 (timer-relative-time, timer-inc-time): New optional arg psecs.
9602 (timer-set-time-with-usecs): Set psecs to 0.
9603 (timer--activate): Check psecs component, too.
9605 * proced.el (proced-time-lessp): Support ps-resolution stamps.
9607 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
9609 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
9610 Move the non-essential binding to the post/pre-command-hook where it is
9611 more obviously correct.
9613 * subr.el (read-passwd): Don't use a history at all.
9614 * savehist.el (savehist-save): Remove password saved accidentally
9615 because of the above bug.
9617 2012-06-22 Bastien Guerry <bzg@gnu.org>
9619 * files.el (toggle-read-only): Display a message telling whether
9620 the buffer is read-only or not (bug#11726).
9622 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
9624 * emacs-lisp/gv.el: New file.
9625 * subr.el (push, pop): Extend to generalized variables.
9626 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
9627 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
9628 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
9629 gv-define-simple-setter, and gv-define-expander.
9630 Remove setf-methods defined in gv. Rename cl-setf -> setf.
9631 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
9632 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
9633 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
9634 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
9636 (cl-defstruct): Don't define setf-method any more.
9637 * emacs-lisp/cl.el (flet): Don't autoload.
9638 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
9639 (define-setf-expander, defsetf, define-modify-macro)
9640 (cl-struct-setf-expander): Move from cl-lib.el.
9641 * emacs-lisp/syntax.el:
9642 * emacs-lisp/ewoc.el:
9643 * emacs-lisp/smie.el:
9644 * emacs-lisp/cconv.el:
9645 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
9646 (timer--time): Use gv-define-simple-setter.
9647 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
9648 to avoid coding-system problems in subr.el. Adjust all users.
9649 (macroexp--maxsize, macroexp-small-p): New functions.
9650 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
9651 * scroll-bar.el (scroll-bar-mode):
9652 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
9653 (normal-erase-is-backspace-mode): Don't use the `eq' place.
9654 * winner.el (winner-configuration, winner-make-point-alist)
9655 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
9656 * files.el (locate-file-completion-table): Avoid list*.
9658 2012-06-22 Chong Yidong <cyd@gnu.org>
9660 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
9661 (dired-create-files): Doc fix (Bug#11329).
9662 (dired-do-copy): Doc fix (Bug#11334).
9663 (dired-mark-read-string): Doc fix (Bug#11553).
9665 * dired.el (dired-recursive-copies, dired-recursive-deletes):
9666 Doc fix (Bug#11326).
9667 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
9668 (dired-dwim-target): Doc fix.
9670 * wdired.el (wdired-mode): Doc fix.
9672 2012-06-22 Glenn Morris <rgm@gnu.org>
9674 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
9675 (pcmpl-rpm-cache-stamp-file): New constant.
9676 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
9677 (pcmpl-rpm-packages): Optionally cache list of packages.
9679 * pcmpl-rpm.el (pcmpl-rpm): New group.
9680 (pcmpl-rpm-query-options): New option.
9681 (pcmpl-rpm-packages): No need to inline it.
9682 Use pcmpl-rpm-query-options.
9684 * calendar/calendar.el (calendar-in-read-only-buffer):
9685 Avoid some needless mode changes.
9687 2012-06-21 Chong Yidong <cyd@gnu.org>
9689 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
9690 (desktop-path): Remove . from the default value (Bug#10977).
9691 (desktop-read): Use user-emacs-directory if desktop-path is nil.
9693 2012-06-20 Chong Yidong <cyd@gnu.org>
9695 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
9697 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
9699 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
9702 2012-06-20 Chong Yidong <cyd@gnu.org>
9704 * term.el (term-window-width): Handle the case of a missing right
9706 (term-check-size): Use window-text-height (Bug#5445).
9707 (term-mode): Use define-derived-mode. Minor cleanups.
9708 Set font-lock-defaults (Bug#7692).
9709 (term-move-columns, term-insert-char, term-emulate-terminal)
9710 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
9712 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
9714 * net/ange-ftp.el (ange-ftp-get-passwd):
9715 Bind `enable-recursive-minibuffers'.
9716 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
9718 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
9720 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
9722 2012-06-19 Glenn Morris <rgm@gnu.org>
9724 * progmodes/python.el (python-mode): Derive from prog-mode.
9726 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
9728 * emulation/edt.el (edt-default-menu-bar-update-buffers)
9729 (edt-user-menu-bar-update-buffers): New functions.
9730 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
9732 2012-06-19 Chong Yidong <cyd@gnu.org>
9734 * subr.el (with-selected-window): Preserve the selected window's
9735 terminal's top-frame (Bug#4702).
9737 * window.el (save-selected-window): Likewise.
9739 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9741 * progmodes/python.el (python-rx-constituents): Move backquote.
9742 (python-skeleton-define, python-define-auxiliary-skeleton):
9745 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
9747 * minibuffer.el (read-file-name-default): Revert the patch from
9750 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9752 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
9753 (pcase--u1, pcase--q1): Don't use apply-partially.
9755 2012-06-18 Glenn Morris <rgm@gnu.org>
9757 * progmodes/python.el (python-proc, python-buffer)
9758 (python-send-receive, python-send-string): Fix obsolete versions.
9760 2012-06-18 Martin Rudalics <rudalics@gmx.at>
9762 * window.el (special-display-p): Completely remove stringp
9763 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
9765 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
9767 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
9769 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
9771 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
9772 * net/tramp-sh.el (tramp-maybe-open-connection):
9773 Throw if `non-essential' is non-nil.
9775 2012-06-17 Martin Rudalics <rudalics@gmx.at>
9777 * window.el (special-display-p): Signal an error if BUFFER-NAME
9778 is not a string (Bug#11713).
9780 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
9782 * progmodes/python.el (python-info-beginning-of-backslash):
9783 Rename from python-info-beginning-of-backlash, as a spelling fix.
9785 2012-06-17 Chong Yidong <cyd@gnu.org>
9787 * term.el (term-emulate-terminal): If term-check-size is called,
9788 move point to the process mark without resetting point (Bug#4635).
9790 2012-06-17 Glenn Morris <rgm@gnu.org>
9792 * international/mule-cmds.el (mule-menu-keymap)
9793 (set-language-environment, set-locale-environment): Doc tweaks.
9795 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
9797 * cus-face.el (custom-face-attributes): Add wave-style underline
9799 * faces.el (set-face-attribute): Update docstring to describe
9800 wave-style underline attribute.
9802 2012-06-16 Chong Yidong <cyd@gnu.org>
9804 * term/xterm.el (terminal-init-xterm): Discard input before
9805 querying background mode (Bug#10959).
9807 2012-06-16 Stefan Merten <smerten@oekonux.de>
9809 * textmodes/rst.el: Added and corrected some comments.
9810 (rst-re-alist-def): Improve symbol syntax.
9811 (rst-mode-syntax-table): Correct syntax entries.
9812 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
9813 (rst-official-version, rst-official-cvs-rev): Update version
9816 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
9818 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
9819 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
9821 2012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
9823 * progmodes/python.el: New python.el merge.
9824 (python-guess-indent): Obsolete var.
9825 (python-indent-guess-indent-offset): New defcustom.
9826 (python-indent): Obsolete var.
9827 (python-indent-offset): New defcustom.
9828 (python-python-command, python-jython-command): Delete var.
9829 (python-shell-interpreter): New defcustom.
9830 (python-pdbtrack-do-tracking-p): Delete var.
9831 (python-pdbtrack-activate): New defcustom.
9832 (python-use-skeletons): Obsolete var.
9833 (python-skeleton-autoinsert): New defcustom.
9834 (inferior-python-filter-regexp, python-continuation-offset)
9835 (python-honour-comment-indentation, python-indent-string-contents)
9836 (python-jython-packages, python-mode-hook)
9837 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
9838 (python-shell-prompt-alist)
9839 (python-source-modes): Delete defcustoms.
9840 (python-check-buffer-name, python-eldoc-setup-code)
9841 (python-eldoc-string-code, python-ffap-setup-code)
9842 (python-ffap-string-code, python-fill-comment-function)
9843 (python-fill-decorator-function, python-fill-paren-function)
9844 (python-fill-string-function, python-imenu-include-defun-type)
9845 (python-imenu-make-tree, python-imenu-subtree-root-label)
9846 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
9847 (python-shell-compilation-regexp-alist)
9848 (python-shell-completion-module-string-code)
9849 (python-shell-completion-pdb-string-code)
9850 (python-shell-completion-setup-code)
9851 (python-shell-completion-string-code)
9852 (python-shell-enable-font-lock, python-shell-exec-path)
9853 (python-shell-extra-pythonpaths)
9854 (python-shell-internal-buffer-name, python-shell-interpreter-args)
9855 (python-shell-process-environment)
9856 (python-shell-prompt-block-regexp)
9857 (python-shell-prompt-output-regexp)
9858 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
9859 (python-shell-send-setup-max-wait, python-shell-setup-codes)
9860 (python-shell-virtualenv-path): New defcustoms.
9861 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
9862 (inferior-python-mode-syntax-table, python--prompt-regexp)
9863 (python-buffer, python-command python-python-command)
9864 (python-default-template, python-imports, python-indent-index)
9865 (python-indent-list, python-indent-list-length)
9866 (python-mode-running, python-pdbtrack-is-tracking-p)
9867 (python-preoutput-continuation, python-preoutput-leftover)
9868 (python-preoutput-result, python-preoutput-skip-next-prompt)
9869 (python-prev-dir/file, python-recursing)
9870 (python-saved-check-command, python-version-checked)
9871 (python-which-func-length-limit)
9872 (view-return-to-alist): Delete vars.
9873 (python-check-custom-command, python-dotty-syntax-table)
9874 (python-imenu-index-alist, python-indent-current-level)
9875 (python-indent-dedenters, python-indent-levels)
9876 (python-nav-beginning-of-defun-regexp)
9877 (python-nav-list-defun-positions-cache)
9878 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
9879 (python-shell-internal-buffer)
9880 (python-skeleton-available): New vars.
9881 (def-python-skeleton): Delete macro.
9882 (python-skeleton-define): New macro.
9883 (python-define-auxiliary-skeleton, python-rx): New macros.
9884 (python-insert-class): Delete command.
9885 (python-skeleton-class): New command.
9886 (python-insert-def): Delete command.
9887 (python-skeleton-def): New command.
9888 (python-insert-for): Delete command.
9889 (python-skeleton-for): New command.
9890 (python-insert-if): Delete command.
9891 (python-skeleton-if): New command.
9892 (python-insert-try/except, python-insert-try/finally): Delete commands.
9893 (python-skeleton-try): New command.
9894 (python-insert-while): Delete command.
9895 (python-skeleton-while): New command.
9896 (python-backspace): Delete command.
9897 (python-indent-dedent-line-backspace): New command.
9898 (python-electric-colon): Delete command.
9899 (python-indent-electric-colon): New command.
9900 (python-guess-indent): Delete command.
9901 (python-indent-guess-indent-offset): New command.
9902 (python-shift-left): Delete command.
9903 (python-indent-shift-left): New command.
9904 (python-shift-right): Delete command.
9905 (python-indent-shift-right): New command.
9906 (python-find-function): Delete command.
9907 (python-nav-jump-to-defun): New command.
9908 (python-next-statement): Delete command.
9909 (python-nav-forward-sentence): New command.
9910 (python-previous-statement): Delete command.
9911 (python-nav-backward-sentence): New command.
9912 (python-fill-paragraph): Delete command.
9913 (python-fill-paragraph-function): New command.
9914 (python-send-buffer): Delete command.
9915 (python-shell-send-buffer): New command.
9916 (python-send-defun): Delete command.
9917 (python-shell-send-defun): New command.
9918 (python-send-region, python-send-region-and-go): Delete commands.
9919 (python-shell-send-region)
9920 (python-shell-switch-to-shell): New commands.
9921 (python-send-string): Delete command.
9922 (python-shell-send-string): New command.
9923 (python-switch-to-python): Delete command.
9924 (python-shell-switch-to-shell): New command.
9925 (python-describe-symbol): Delete command.
9926 (python-eldoc-at-point): New command.
9927 (python--set-prompt-regexp, python-args-to-list)
9928 (python-after-info-look, python-check-version)
9929 (python-check-comint-prompt, python-find-imports)
9930 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
9931 (python-unload-function, python-expand-template)
9932 (python-maybe-jython, python-preoutput-filter)
9933 (python-pdbtrack-get-source-buffer)
9934 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
9935 (python-pdbtrack-toggle-stack-tracking)
9936 (python-pdbtrack-track-stack-file, python-initial-text)
9937 (python-first-word, python-comment-line-p, python-send-command)
9938 (python-setup-brm, python-sentinel, python-set-proc)
9939 (python-skip-out, python-input-filter, python-outdent-p)
9940 (python-outline-level, python-backslash-continuation-line-p)
9941 (python-end-of-block, python-end-of-statement, python-mark-block)
9942 (python-beginning-of-block, python-beginning-of-statement)
9943 (python-blank-line-p, python-beginning-of-string)
9944 (python-open-block-statement-p): Delete functions.
9945 (python-indent-line, python-indent-line-1): Delete functions.
9946 (python-indent-line): New function.
9947 (python-indentation-levels): Delete function.
9948 (python-indent-calculate-levels): New function.
9949 (python-proc): Delete function.
9950 (python-shell-get-process): New function.
9951 (python-send-receive): Delete function.
9952 (python-shell-send-string-no-output): New function.
9953 (python-module-path): Delete function.
9954 (python-ffap-module-path): New function.
9955 (python-completion-at-point)
9956 (python-symbol-completions): Delete functions.
9957 (python-completion-complete-at-point): New function.
9958 (python-load-file): Delete function.
9959 (python-shell-send-file): New function.
9960 (python-calculate-indentation): Delete function.
9961 (python-indent-calculate-indentation): New function.
9962 (python-skip-comments/blanks): Delete function.
9963 (python-util-forward-comment): New function.
9964 (python-continuation-line-p): Delete function.
9965 (python-info-continuation-line-p): New function.
9966 (python-which-func, python-current-defun): Delete function.
9967 (python-info-current-defun): New function.
9968 (python-beginning-of-defun): Delete function.
9969 (python-nav-beginning-of-defun): New function.
9970 (python-close-block-statement-p)
9971 (python-block-end-p): Delete function.
9972 (python-info-closing-block): New function.
9973 (python-comint-output-filter-function)
9974 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
9975 (python-fill-comment, python-fill-decorator, python-fill-paren)
9976 (python-fill-string, python-imenu-make-element-tree)
9977 (python-imenu-make-tree, python-imenu-tree-assoc)
9978 (python-indent-context, python-indent-dedent-line)
9979 (python-indent-line-function)
9980 (python-indent-post-self-insert-function)
9981 (python-indent-toggle-levels)
9982 (python-info-assignment-continuation-line-p)
9983 (python-info-beginning-of-backlash)
9984 (python-info-block-continuation-line-p)
9985 (python-info-closing-block-message)
9986 (python-info-line-ends-backslash-p)
9987 (python-info-looking-at-beginning-of-defun)
9988 (python-info-ppss-context, python-info-ppss-context-type)
9989 (python-nav-list-defun-positions, python-nav-read-defun)
9990 (python-nav-sentence-end, python-nav-sentence-start)
9991 (python-pdbtrack-comint-output-filter-function)
9992 (python-pdbtrack-set-tracked-buffer)
9993 (python-shell-calculate-exec-path)
9994 (python-shell-calculate-process-environment)
9995 (python-shell-completion--do-completion-at-point)
9996 (python-shell-completion--get-completions)
9997 (python-shell-completion-complete-at-point)
9998 (python-shell-completion-complete-or-indent)
9999 (python-shell-get-or-create-process)
10000 (python-shell-get-process-name)
10001 (python-shell-internal-get-or-create-process)
10002 (python-shell-internal-get-process-name)
10003 (python-shell-internal-send-string, python-shell-make-comint)
10004 (python-shell-parse-command, python-shell-send-setup-code)
10005 (python-skeleton-add-menu-items)
10006 (python-util-clone-local-variables, python-util-position)
10007 (run-python-internal, python-indentation-levels)
10008 (python-nav-beginning-of-defun)
10009 (python-completion-complete-at-point): New functions.
10010 (run-python): Change arguments. New API requirements.
10012 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
10014 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
10017 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
10018 (macroexp--expand-all): Use it.
10020 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
10021 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
10022 Use `cl-function' instead.
10024 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
10026 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
10027 Suggested by Stefan Monnier while discussing bug#11657.
10029 2012-06-14 Sam Steingold <sds@gnu.org>
10031 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
10033 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
10035 * play/doctor.el (doctor-doc): Remove parameter and use
10036 doctor-sent instead of sent.
10037 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
10039 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
10041 * files.el: Require cl-lib.
10042 (file-name-non-special): Replace case -> cl-case.
10044 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
10046 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
10047 mapping from #' to function*.
10049 2012-06-13 Chong Yidong <cyd@gnu.org>
10051 * mouse.el (mouse-drag-track): Do not set the mark if the user
10052 releases the mouse without selecting anything (Bug#11588).
10054 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
10056 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
10057 as well (bug#11646).
10059 * loadup.el: Count byte-code functions as well.
10061 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
10062 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
10064 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
10065 (bug#11649). Add cl-defun and cl-defmacro.
10067 2012-06-13 Drew Adams <drew.adams@oracle.com>
10069 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
10072 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
10074 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
10075 Otherwise, it blocks in batch mode.
10077 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
10079 * help-mode.el (bookmark-make-record-default): Declare.
10081 2012-06-13 Chong Yidong <cyd@gnu.org>
10083 * emacs-lisp/package.el (list-packages): Compute a list of
10084 packages that are newly-available since the last list-packages
10086 (package-menu--new-package-list): New var.
10087 (package-menu--generate, package-menu--print-info)
10088 (package-menu--status-predicate, package-menu-mark-install):
10089 Handle new status label "new".
10091 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
10093 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
10094 conversion to backquotes.
10096 2012-06-12 Chong Yidong <cyd@gnu.org>
10098 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
10099 Rename from gud-inhibit-global-bindings.
10101 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
10103 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
10104 hook from nxml-glyph-set-hook.
10106 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
10109 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
10111 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
10112 Convert to defcustom.
10114 2012-06-12 Drew Adams <drew.adams@oracle.com>
10116 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
10118 (help-mode): Use them.
10120 2012-06-11 Glenn Morris <rgm@gnu.org>
10122 * progmodes/fortran.el (fortran-font-lock-keywords-3):
10123 Use preprocessor face for directives.
10124 (fortran-directive-re): Doc fix.
10126 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
10128 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
10129 conversion to backquotes (bug#11652).
10131 Fix compiler-expansion of CL's cXXr functions (bug#11673).
10132 * emacs-lisp/cl-lib.el (cl--defalias): New function.
10133 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
10134 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
10135 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
10136 (cl-ninth, cl-tenth): Mark them as inlinable.
10137 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
10138 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
10139 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
10140 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
10141 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
10142 (cl-list*, cl-adjoin): Don't put an autoload manually.
10143 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
10144 (cl--compiler-macro-list*): Add autoload cookie.
10145 (cl--compiler-macro-cXXr): New function.
10147 * help-fns.el (help-fns--compiler-macro): New function extracted from
10148 describe-function-1; follow aliases and use `compiler-macro' property.
10149 (describe-function-1): Use it.
10151 2012-06-11 Chong Yidong <cyd@gnu.org>
10153 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
10154 is uninstalled, if imagemagick is installed.
10156 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
10158 * emacs-lisp/cl-lib.el: Use lexical-binding.
10159 (cl-map-extents, cl-maclisp-member): Remove.
10160 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
10161 (cl--set-substring, cl--block-wrapper, cl--block-throw)
10162 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
10163 * emacs-lisp/cl-extra.el: Use lexical-binding.
10164 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
10165 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
10166 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
10167 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
10168 * emacs-lisp/cl-seq.el: Use lexical-binding.
10169 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
10170 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
10171 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
10172 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
10173 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
10176 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
10178 Sync with Tramp 2.2.6-pre.
10180 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
10181 `print-length' and `print-level' to nil, in order to avoid
10182 truncation. Reported by Christopher Schmidt
10183 <christopher@ristopher.com>.
10185 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
10187 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
10189 (tramp-compat-copy-directory): Add optional argument
10190 COPY-CONTENTS. It is not handled yet.
10192 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
10193 (tramp-ftp-file-name-p): Simplify.
10195 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
10196 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
10199 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
10200 (tramp-methods): Do not use `tramp-password-end-of-line'.
10201 (tramp-completion-function-alist-putty): Handle UNIX case.
10202 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
10203 (tramp-do-file-attributes-with-stat)
10204 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
10205 gid as real numbers. They could run out of integer range on cygwin.
10206 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
10207 (tramp-sh-handle-expand-file-name): Handle hops.
10208 (tramp-open-connection-setup-interactive-shell):
10209 Use `tramp-cleanup'. Move check for busyboxes ...
10210 (tramp-find-shell): ... here. Simplify implementation.
10211 Set "remote-shell" property also for alternative shells.
10212 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
10213 If failing, a regular file would be written otherwise.
10214 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
10215 (tramp-find-inline-encoding): Cache the coding commands in the
10216 process cache. Apply test command on the remote side, if defined.
10217 (tramp-find-inline-compress): Cache the compress commands in the
10219 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
10220 when requested. Handle hops.
10221 (tramp-current-connection): New defvar.
10222 (tramp-maybe-open-connection): Use `tramp-cleanup'.
10223 Throw `suppress', if there was a failed connection shortly before.
10224 Handle user interrupt. (Bug#10187)
10225 (tramp-get-inline-compress, tramp-get-inline-coding):
10226 Read connection properties from the process cache.
10228 * net/tramp-smb.el (tramp-smb-server-version)
10229 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
10231 (tramp-smb-prompt): Extend for powershell prompt.
10232 (tramp-smb-file-name-handler-alist): Add handlers for
10233 `process-file', `shell-command' and `start-file-process'.
10234 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
10235 (tramp-smb-winexe-shell-command-switch): New defcustoms.
10236 (tramp-smb-file-name-p): Simplify.
10237 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
10238 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
10239 (tramp-smb-shell-quote-argument): New defuns.
10240 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
10241 Implement using "tar". By this, time-stamps are preserved.
10242 (tramp-smb-handle-copy-file): Handle also the case of directories.
10243 (tramp-smb-do-file-attributes-with-stat)
10244 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
10245 Use `tramp-get-connection-buffer').
10246 (tramp-smb-handle-rename-file): Use "rename", when source and
10247 target are on the same share.
10248 (tramp-smb-maybe-open-connection): Handle wrong passwords.
10249 Use `tramp-smb-server-version'.
10250 (tramp-smb-wait-for-output): Remove prompt.
10252 * net/tramp.el (top): Require 'cl.
10253 (tramp-methods, tramp-rsh-end-of-line):
10254 Remove `tramp-password-end-of-line' from docstring.
10255 (tramp-save-ad-hoc-proxies): New defcustom.
10256 (tramp-completion-function-alist): Adapt docstring.
10257 (tramp-default-password-end-of-line): Remove defcustom.
10258 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
10259 (tramp-user-regexp, tramp-file-name-regexp-unified)
10260 (tramp-file-name-regexp-url): Extend regexp by hop separator.
10261 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
10262 (tramp-remote-file-name-spec-regexp): New defconst.
10263 (tramp-file-name-structure): Extend structure for hops.
10264 (tramp-get-method-parameter): Move up.
10265 (tramp-file-name-p, tramp-dissect-file-name)
10266 (with-parsed-tramp-file-name): Handle hops.
10267 (tramp-file-name-hop): New defun.
10268 (tramp-make-tramp-file-name): New optional arg HOP.
10269 (tramp-message-show-progress-reporter-message): New defvar.
10270 (tramp-with-progress-reporter): Use it. We cannot use
10271 `tramp-message-show-message' here, because this suppresses also
10273 (tramp-error-with-buffer): Suppress buffer view, if
10274 `tramp-message-show-message' is nil.
10275 Use `tramp-get-connection-buffer'.
10276 (tramp-cleanup): New defun.
10277 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
10278 (tramp-file-name-handler): If `debug-on-error' is set, propagate
10279 an error unchanged.
10280 (tramp-completion-handle-file-name-all-completions): Handle hops.
10281 Fix an error when called from ido.
10282 (tramp-completion-dissect-file-name): Use better local variable
10283 name. Add hop to the vector.
10284 (tramp-handle-insert-file-contents): Use progress-reporter for the
10286 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
10288 (tramp-check-for-regexp): Simplify search.
10289 (tramp-enter-password): Remove it. Move implementation ...
10290 (tramp-action-password): ... here.
10291 (tramp-mode-string-to-int, tramp-local-host-p)
10292 (tramp-make-tramp-temp-file, tramp-read-passwd)
10293 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
10294 Set tramp-autoload cookie.
10296 * net/trampver.el: Update release number.
10298 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10299 Michael Albinus <michael.albinus@gmx.de>
10301 * net/tramp.el (tramp-set-completion-function): Fix docstring.
10302 (tramp-parse-group, tramp-parse-file)
10303 (tramp-parse-shostkeys-sknownhosts): New defuns.
10304 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
10305 (tramp-parse-shosts-group, tramp-parse-sconfig)
10306 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
10307 (tramp-parse-sknownhosts, tramp-parse-hosts)
10308 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
10310 (tramp-parse-passwd-group, tramp-parse-netrc-group)
10311 (tramp-parse-putty-group): Don't narrow.
10312 (tramp-parse-putty): Make a loop.
10313 (tramp-file-name-handler): Catch the `suppress' signal.
10315 2012-06-11 Chong Yidong <cyd@gnu.org>
10317 * image.el (imagemagick-register-types): Put the ImageMagick entry
10318 at the end of image-type-file-name-regexps.
10320 2012-06-11 Johan Bockgård <bojohan@gnu.org>
10322 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
10323 (pcase, pcase-let*, pcase-dolist): Use them.
10325 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
10327 * emacs-lisp/pcase.el (pcase--let*): New function.
10328 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
10329 (pcase--expand): Use macroexp-let².
10331 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
10333 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
10334 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
10335 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
10336 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
10337 * emacs-lisp/derived.el: Use pcase instead of `cl'.
10338 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
10340 2012-06-10 Glenn Morris <rgm@gnu.org>
10342 * mail/rmail.el (rmail-yank-current-message): Leave point at
10343 correct position. (Bug#11660)
10345 2012-06-10 Chong Yidong <cyd@gnu.org>
10347 * allout-widgets.el: Fix code header.
10349 2012-06-10 Chong Yidong <cyd@gnu.org>
10351 * cus-edit.el (customize-changed-options-previous-release):
10354 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
10356 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
10358 2012-06-09 Chong Yidong <cyd@gnu.org>
10360 * ebuff-menu.el (electric-buffer-list): Preserve header line.
10362 2012-06-09 Martin Rudalics <rudalics@gmx.at>
10364 * window.el (special-display-popup-frame): Don't use
10365 window--display-buffer (Bug#11651).
10367 2012-06-09 Eli Zaretskii <eliz@gnu.org>
10369 Fix parallel builds: make sure loaddefs.el is not being written
10370 while Lisp files are compiled.
10371 (compile): Don't depend on 'mh-autoloads'.
10372 (compile-CMD, compile-SH): Depend on 'autoloads'.
10373 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
10375 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
10377 2012-06-09 Chong Yidong <cyd@gnu.org>
10379 * face-remap.el (face-remap-add-relative, face-remap-set-base)
10380 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
10381 Doc fixes (Bug#11225).
10383 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
10385 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
10386 a function if there's a clear indication that it has a compiler-macro.
10387 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
10388 (macro-declarations-alist): Add arglist to declaration functions.
10389 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
10390 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
10391 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
10392 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
10393 Also add autoload to find the compiler macro.
10394 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
10395 (cl--compiler-macro-member, cl--compiler-macro-assoc)
10396 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
10397 (cl--compiler-macro-get): New functions, replacing calls to
10398 cl-define-compiler-macro.
10399 (cl-typep) [compiler-macro]: Use macroexp-let².
10401 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
10403 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
10404 string properly, fixes Bug#11473.
10406 2012-06-08 Chong Yidong <cyd@gnu.org>
10408 * faces.el (set-face-attribute): Doc fix.
10409 (modify-face): Don't use :bold and :italic.
10410 (error, warning, success): Tweak definitions.
10412 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
10413 (custom-modified, custom-set, custom-changed, custom-themed)
10414 (custom-saved, custom-button, custom-button-mouse)
10415 (custom-button-pressed, custom-state, custom-comment-tag)
10416 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
10417 (custom-group-subtitle): Use new-style face specs.
10418 (custom-invalid-face, custom-rogue-face, custom-modified-face)
10419 (custom-set-face, custom-changed-face, custom-saved-face)
10420 (custom-button-face, custom-button-pressed-face)
10421 (custom-documentation-face, custom-state-face)
10422 (custom-comment-face, custom-comment-tag-face)
10423 (custom-variable-tag-face, custom-variable-button-face)
10424 (custom-face-tag-face, custom-group-tag-face-1)
10425 (custom-group-tag-face): Remove obsolete face alias.
10427 * epa.el (epa-validity-high, epa-validity-medium)
10428 (epa-validity-low, epa-mark, epa-field-name, epa-string)
10429 (epa-field-name, epa-field-body):
10430 * font-lock.el (font-lock-comment-face, font-lock-string-face)
10431 (font-lock-keyword-face, font-lock-builtin-face)
10432 (font-lock-function-name-face, font-lock-variable-name-face)
10433 (font-lock-type-face, font-lock-constant-face):
10434 * ido.el (ido-first-match, ido-only-match, ido-subdir)
10435 (ido-virtual, ido-indicator, ido-incomplete-regexp):
10436 * speedbar.el (speedbar-button-face, speedbar-file-face)
10437 (speedbar-directory-face, speedbar-tag-face)
10438 (speedbar-selected-face, speedbar-highlight-face)
10439 (speedbar-separator-face):
10440 * whitespace.el (whitespace-newline, whitespace-space)
10441 (whitespace-hspace, whitespace-tab, whitespace-trailing)
10442 (whitespace-line, whitespace-space-before-tab)
10443 (whitespace-space-after-tab, whitespace-indentation)
10444 (whitespace-empty):
10445 * emulation/cua-base.el (cua-global-mark):
10446 * eshell/em-prompt.el (eshell-prompt):
10447 * net/newst-plainview.el (newsticker-new-item-face)
10448 (newsticker-old-item-face, newsticker-immortal-item-face)
10449 (newsticker-obsolete-item-face, newsticker-date-face)
10450 (newsticker-statistics-face, newsticker-default-face):
10451 * net/newst-reader.el (newsticker-feed-face)
10452 (newsticker-extra-face, newsticker-enclosure-face):
10453 * net/newst-treeview.el (newsticker-treeview-face)
10454 (newsticker-treeview-new-face, newsticker-treeview-old-face)
10455 (newsticker-treeview-immortal-face)
10456 (newsticker-treeview-obsolete-face)
10457 (newsticker-treeview-selection-face):
10458 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
10459 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
10460 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
10461 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
10462 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
10463 (nxml-outline-active-indicator, nxml-outline-ellipsis):
10464 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
10466 * progmodes/vera-mode.el (vera-font-lock-number)
10467 (vera-font-lock-function, vera-font-lock-interface):
10468 * textmodes/table.el (table-cell): Use new-style face specs, and
10469 don't use the old :bold and :italic attributes.
10471 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
10472 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
10473 (ebrowse-member-class, ebrowse-progress): Likewise.
10474 (ebrowse-tree-mark-face, ebrowse-root-class-face)
10475 (ebrowse-file-name-face, ebrowse-default-face)
10476 (ebrowse-member-attribute-face, ebrowse-member-class-face)
10477 (ebrowse-progress-face): Remove obsolete faces.
10479 * progmodes/flymake.el (flymake-errline, flymake-warnline):
10480 Inherit from error and warning faces respectively.
10482 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
10484 (flyspell-incorrect-face, flyspell-duplicate-face):
10485 Remove obsolete aliases.
10487 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
10489 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
10492 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
10494 * startup.el (argv, argi): Make lexically scoped.
10495 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
10496 * emacs-lisp/cl-macs.el: Use lexical-binding.
10497 Rename cl-bind-* to cl--bind-*.
10498 * files.el: Don't require `cl' since it doesn't use it.
10499 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
10501 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
10503 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
10504 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
10505 instead of calling external sort utility.
10506 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
10508 2012-06-08 Eli Zaretskii <eliz@gnu.org>
10510 * descr-text.el (describe-char): Mention how to insert the
10511 character, if the current input method doesn't support it.
10512 See the discussion in this thread for the details:
10513 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
10515 2012-06-08 Sam Steingold <sds@gnu.org>
10517 * bindings.el (global-map): Bind XF86Forward to next-buffer and
10518 XF86Back to previous-buffer.
10519 (minibuffer-local-map): Bind them to next-history-element and
10520 previous-history-element respectively.
10521 * help-mode.el (help-mode-map): Bind them to help-go-forward and
10522 help-go-back respectively.
10523 * info.el (Info-mode-map): Bind them to Info-history-forward and
10524 Info-history-back respectively.
10525 These are the keys next to Up on the ThinkPad keyboard.
10527 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
10529 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
10530 * emacs-lisp/cl-macs.el: Provide itself.
10531 (cl--labels-convert-cache): New var.
10532 (cl--labels-convert): New function.
10533 (cl-flet, cl-labels): New implementation with new semantics, relying on
10535 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
10536 (cl-closure-vars, cl--function-convert-cache)
10537 (cl--function-convert): Move from cl-macs.el.
10538 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
10539 rename by removing the "cl-" prefix.
10540 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
10542 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
10544 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
10545 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
10546 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
10547 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
10548 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
10549 (cl-hash-table-count): Add old compatibility aliases.
10551 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
10552 Use macroexpand-all-environment instead.
10553 (cl--old-macroexpand): New var.
10554 (cl--sm-macroexpand): New function.
10555 (cl-symbol-macrolet): Use it during macro expansion.
10556 (cl--function-convert-cache): New var.
10557 (cl--function-convert): New function, extracted from
10558 cl-macroexpand-all.
10559 (cl-lexical-let): Use it.
10561 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
10562 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
10563 (cl-member): Remove old alias.
10565 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
10566 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
10567 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
10568 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
10569 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
10570 (cl-macroexpand-cmacs): Remove var.
10571 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
10572 Use macroexpand-all instead.
10574 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
10576 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
10577 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
10578 (macroexp-copyable-p): New functions and macros.
10579 * emacs-lisp/edebug.el (edebug-unwrap):
10580 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
10581 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
10582 (pcase--let*): Remove.
10583 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
10584 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
10585 macroexp-const-p instead.
10586 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
10588 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
10589 instead of "cl-" for internal definitions. Use macroexp-const-p.
10590 (cl-old-bc-file-form): Remove var.
10591 (cl-const-exprs-p): Remove fun.
10592 (cl-labels, cl-macrolet): Use backquote.
10593 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
10594 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
10595 (cl-define-setf-expander): Rename from cl-define-setf-method.
10596 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
10598 * international/mule-cmds.el: Don't require CL.
10599 (view-hello-file): Don't use `letf'.
10601 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
10603 * tmm.el (tmm-prompt): Use string-prefix-p.
10604 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
10605 (tmm-add-prompt): Use minibuffer-completion-help.
10606 (tmm-delete-map): Remove.
10608 * subr.el (kbd): Make it its own function.
10610 2012-06-07 Stefan Merten <smerten@oekonux.de>
10612 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
10613 Silence compiler warnings. Fix versions.
10614 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
10615 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
10616 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
10617 (rst-package-emacs-version-alist): Correct Emacs version to
10618 represent major merge with upstream.
10619 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
10621 2012-06-06 Glenn Morris <rgm@gnu.org>
10623 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
10624 Only print environment variables if set.
10626 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
10628 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
10629 (macroexp--cons): Rename from maybe-cons.
10630 (macroexp--accumulate): Rename from macroexp-accumulate.
10631 (macroexp--all-forms): Rename from macroexpand-all-forms.
10632 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
10633 (macroexp--expand-all): Rename from macroexpand-all-1.
10635 2012-06-06 Sam Steingold <sds@gnu.org>
10637 * calendar/calendar.el (calendar-in-read-only-buffer):
10638 Call `special-mode' to enable the standard read-only keybindings.
10640 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
10642 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
10643 with "loading" messages (bug#11635).
10645 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
10647 * files.el (enable-remote-dir-locals): New option.
10648 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
10650 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
10651 Ensure, that the temp directory is local.
10653 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
10654 `temporary-file-directory'.
10656 * progmodes/python.el (python-send-region): Ensure, that the
10657 temporary file is created also in the remote case.
10659 2012-06-06 Glenn Morris <rgm@gnu.org>
10661 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
10662 (vc-rcs-update-changelog): Use it.
10664 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
10666 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
10667 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
10668 (vc-sccs-diff): Replace use of the external vcdiff script.
10670 2012-06-05 Glenn Morris <rgm@gnu.org>
10672 * ledit.el: Move to obsolete/.
10674 2012-06-05 Sam Steingold <sds@gnu.org>
10676 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
10679 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10681 * emacs-lisp/cust-print.el: Move to obsolete.
10683 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
10684 compiler-macro expansion.
10686 Add native compiler-macro support.
10687 * emacs-lisp/macroexp.el (macroexpand-all-1):
10688 Support compiler-macros directly. Properly follow aliases and apply
10689 the compiler macros more thoroughly.
10690 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
10691 macroexpand now properly follows aliases.
10692 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
10693 (cl-compiler-macroexpand): Use new prop.
10694 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
10696 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
10698 2012-06-05 Martin Rudalics <rudalics@gmx.at>
10700 * window.el (get-lru-window, get-mru-window, get-largest-window):
10701 New argument NOT-SELECTED to avoid picking the selected window.
10702 (window--display-buffer-1, window--display-buffer-2): Replace by
10703 new function window--display-buffer
10704 (display-buffer-same-window, display-buffer-reuse-window)
10705 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
10706 Use window--display-buffer.
10707 (display-buffer-use-some-window): Remove temporary dedication
10708 hack by calling get-lru-window and get-largest-window with
10709 NOT-SELECTED argument non-nil. Call window--display-buffer.
10711 2012-06-05 Glenn Morris <rgm@gnu.org>
10713 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
10714 Replace external vcdiff script.
10716 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
10718 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
10720 2012-06-04 Chong Yidong <cyd@gnu.org>
10722 * image.el (imagemagick-types-inhibit): Revert last change.
10724 (imagemagick-enabled-types): Remove CIN and EPS*.
10726 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
10728 * emacs-lisp/cl-lib.el: Rename from cl.el.
10729 * emacs-lisp/cl.el: New compatibility file.
10730 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
10731 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
10732 to obey the "cl-" prefix.
10733 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
10735 2012-06-03 Glenn Morris <rgm@gnu.org>
10737 * emacs-lisp/authors.el (authors-aliases): Addition.
10739 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
10742 2012-06-03 Stefan Merten <smerten@oekonux.de>
10744 * textmodes/rst.el: Add comments.
10745 (rst-transition, rst-adornment): New faces.
10746 (rst-adornment-faces-alist): Make default safe to reevaluate.
10748 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
10749 Improve customization tags.
10750 (rst-define-level-faces): Clarify meaning.
10752 2012-06-03 Chong Yidong <cyd@gnu.org>
10754 * progmodes/compile.el (compilation-mode-line-fail)
10755 (compilation-mode-line-run, compilation-mode-line-exit):
10757 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
10759 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
10761 * progmodes/which-func.el (which-func-update-ediff-windows):
10762 New function. Use it in ediff-select-hook (Bug#11478).
10764 2012-06-03 Chong Yidong <cyd@gnu.org>
10766 * bindings.el: Remove explicit help text from format-mode-line.
10767 It is now supplied by mode-line-default-help-echo.
10768 (mode-line-front-space, mode-line-end-spaces)
10769 (mode-line-misc-info): New variables.
10770 (mode-line-modes, mode-line-position): Move the default value to
10771 the variable definition.
10772 (mode-line-default-help-echo): New defcustom.
10773 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
10774 (mode-line-modified-help-echo): New functions.
10775 (mode-line-mule-info, mode-line-modified): Use them.
10776 (mode-line-eol-desc, propertized-buffer-identification):
10777 Consistency fixes for help text.
10778 (mode-line-coding-system-map): Allow using mouse-3 to invoke
10779 set-buffer-file-coding-system (Bug#289).
10780 (mode-line-mule-info-help-echo): Update help text.
10782 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
10784 * simple.el (execute-extended-command): Set real-this-command
10787 2012-06-02 Chong Yidong <cyd@gnu.org>
10789 Remove incorrect uses of "modeline" in comments, docstrings, and
10790 function/variable names (Bug#10329).
10792 * cus-edit.el (mode-line):
10793 * dframe.el (dframe-mouse-hscroll):
10794 * emacs-lisp/re-builder.el:
10795 * emacs-lisp/easy-mmode.el (define-minor-mode):
10796 * frame.el (set-frame-name):
10797 * help.el (lookup-minor-mode-from-indicator):
10798 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
10799 * progmodes/cc-cmds.el (c-toggle-auto-newline)
10800 (c-toggle-hungry-state):
10801 * progmodes/antlr-mode.el (antlr-language-alist):
10802 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
10803 * progmodes/vhdl-mode.el (vhdl-mode):
10804 * progmodes/which-func.el (which-func, which-func-cleanup-function):
10805 * term/ns-win.el (ns-face-at-pos):
10806 * term/sup-mouse.el (sup-mouse-report):
10807 * textmodes/flyspell.el (flyspell-mode-line-string):
10808 * textmodes/ispell.el (ispell-highlight-face):
10809 * textmodes/reftex-global.el:
10810 * vc/vc-arch.el (vc-arch-mode-line-string):
10811 * vc/vc-cvs.el (vc-cvs-mode-line-string):
10812 * vc/vc-git.el (vc-git-mode-line-string):
10813 * vc/vc-hooks.el (vc-display-status)
10814 (vc-default-mode-line-string):
10815 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
10817 * ansi-color.el (ansi-color-faces-vector): Change default faces.
10819 * dired.el (dired-sort-set-mode-line): Rename from
10820 dired-sort-set-modeline. All callers changed.
10822 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
10823 eshell-status-in-modeline.
10825 * foldout.el (foldout-mode-line-string): Rename from
10826 foldout-modeline-string. All callers changed.
10827 (foldout-update-mode-line): Rename from foldout-update-modeline.
10829 * subr.el (redraw-modeline): Make into obsolete alias.
10831 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
10832 timeclock-modeline-display. Make old name an alias.
10833 (timeclock-update-mode-line): Likewise. All callers changed.
10834 (timeclock-mode-line-display): No need to check before using
10836 (timeclock-relative, timeclock-day-over-hook)
10837 (timeclock-use-elapsed, timeclock-mode-string)
10838 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
10840 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
10841 crisp-mode-modeline-string.
10843 * play/solitaire.el (solitaire-build-mode-line): Rename from
10844 solitaire-build-modeline. All callers changed.
10846 * play/zone.el (zone-hiding-mode-line): Rename from
10847 zone-hiding-modeline. All callers changed.
10848 (zone): Remove unusued `modeline-hidden-level' property.
10850 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
10851 xscheme-modeline-initialize. All callers changed.
10853 * strokes.el (strokes-lighter): Rename from
10854 strokes-modeline-string.
10856 * textmodes/sgml-mode.el (html-face-tag-alist)
10857 (html-tag-face-alist): Use mode-line face instead of obsolete
10860 2012-06-02 Stefan Merten <smerten@oekonux.de>
10862 * textmodes/rst.el: Always require `cl'.
10863 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
10865 2012-06-02 Chong Yidong <cyd@gnu.org>
10867 * image.el (imagemagick-enabled-types): Rename from
10868 imagemagick-types-enable. Add many more types.
10869 (imagemagick-types-inhibit): Change default to nil.
10870 (imagemagick-filter-types): Caller changed.
10872 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
10874 * emacs-lisp/cl-macs.el: Use backquotes.
10875 (cl-transform-function-property): Use eval-and-compile rather than
10877 (defstruct): Use declare-function instead of with-no-warnings.
10879 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
10880 (byte-compile-output-docform): Re-add the print-circle bindings.
10881 (byte-compile-fix-header): Use #$ just because it's shorter.
10882 (byte-compile-output-file-form): Remove defun/defmacro.
10884 2012-06-01 Martin Rudalics <rudalics@gmx.at>
10886 * simple.el (choose-completion): Remove now obsolete binding for
10889 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
10891 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
10892 in order to avoid "Stack overflow in regexp matcher".
10894 2012-05-31 Glenn Morris <rgm@gnu.org>
10896 * image.el: For clarity, call imagemagick-register-types at
10897 top-level, rather than relying on a custom :initialize.
10898 (imagemagick-types-enable): New option. (Bug#11557)
10899 (imagemagick-filter-types): New function. (Bug#7406)
10900 (imagemagick-register-types): Use imagemagick-filter-types.
10901 If disabling support, remove elements altogether rather
10902 than using an impossible regexp.
10903 (imagemagick-types-inhibit): Give it the default init function.
10905 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10907 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
10908 Handle arbitrary file name lengths (Bug#11585).
10910 2012-05-31 Martin Rudalics <rudalics@gmx.at>
10912 * desktop.el (desktop-read): Clear previous and next buffers for
10913 all windows and bury *Messages* buffer (bug#11556).
10915 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10917 Add `declare' for `defun'. Align `defmacro's with it.
10918 * emacs-lisp/easy-mmode.el (define-minor-mode)
10919 (define-globalized-minor-mode): Don't autoload the var definitions.
10920 * emacs-lisp/byte-run.el: Use lexical-binding.
10921 (defun-declarations-alist, macro-declarations-alist): New vars.
10922 (defmacro, defun): Use them.
10923 (make-obsolete, define-obsolete-function-alias)
10924 (make-obsolete-variable, define-obsolete-variable-alias):
10926 (macro-declaration-function): Mark obsolete.
10927 * emacs-lisp/autoload.el: Use lexical-binding.
10928 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
10930 2012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10932 * textmodes/ispell.el (ispell-with-no-warnings):
10934 (ispell-kill-ispell, ispell-change-dictionary):
10935 Use `called-interactively-p' for Emacs instead of obsolete
10938 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10940 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
10941 (macro-declaration-function): Move var from C code.
10942 (macro-declaration-function): Define function with defalias.
10943 * emacs-lisp/macroexp.el (macroexpand-all-1):
10944 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
10945 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
10946 defun/defmacro any more.
10947 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
10948 Provide fallback for unknown arglist.
10949 (byte-compile-arglist-warn): Change calling convention.
10950 (byte-compile-output-file-form): Move print-vars binding.
10951 (byte-compile-output-docform): Simplify accordingly.
10952 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
10953 (byte-compile-defmacro-declaration): Remove.
10954 (byte-compile-file-form-defmumble): Generalize to defalias.
10955 (byte-compile-output-as-comment): Return byte-positions.
10956 Simplify callers accordingly.
10957 (byte-compile-lambda): Use `assert'.
10958 (byte-compile-defun, byte-compile-defmacro): Remove.
10959 (byte-compile-file-form-defalias):
10960 Use byte-compile-file-form-defmumble.
10961 (byte-compile-defalias-warn): Remove.
10963 2012-05-29 Stefan Merten <smerten@oekonux.de>
10965 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
10966 possible. Fix authors. Improve comments. Improve loading of `cl'.
10968 (rst-mode-abbrev-table): Merge definition.
10969 (rst-mode): Make sure `font-lock-defaults' is buffer local.
10970 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
10972 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
10974 * calendar/icalendar.el
10975 (icalendar-export-region): Export UID properly.
10977 2012-05-29 Leo Liu <sdl.web@gmail.com>
10978 * calendar/icalendar.el (icalendar-import-format):
10979 Add `icalendar-import-format-uid' (Bug#11525).
10980 (icalendar-import-format-uid): New.
10981 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
10984 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
10986 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
10987 different alternative patterns.
10988 (pcase-codegen): Be more careful to preserve identity.
10989 (pcase--u1): Don't forget to mark vars as used.
10991 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
10992 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
10993 (byte-compile-from-buffer): ...rather than here.
10995 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
10996 functions from byte-compile-function-environment.
10998 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
11000 * window.el (window-deletable-p): Avoid deleting the root window
11001 of a frame with an active minibuffer.
11003 2012-05-29 Martin Rudalics <rudalics@gmx.at>
11005 * simple.el (choose-completion): Use quit-window (Bug#11567).
11007 2012-05-29 Chong Yidong <cyd@gnu.org>
11009 * whitespace.el (whitespace-cleanup): Fix usage of
11010 whitespace-empty-at-bob-regexp (Bug#11492).
11012 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
11014 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
11015 revert (Bug#11488).
11017 2012-05-29 Juri Linkov <juri@jurta.org>
11019 * isearch.el (isearch-mode-map): Bind `M-s _' to
11020 `isearch-toggle-symbol'. Bind `M-s c' to
11021 `isearch-toggle-case-fold'.
11022 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
11023 (isearch-forward): Add `M-s _' to the docstring.
11024 (isearch-forward-symbol, isearch-toggle-case-fold)
11025 (isearch-symbol-regexp): New functions. (Bug#11381)
11027 2012-05-29 Juri Linkov <juri@jurta.org>
11029 * isearch.el (isearch-word): Add docstring. (Bug#11381)
11030 (isearch-occur, isearch-search-and-update): If `isearch-word' is
11031 a function, call it to get the regexp.
11032 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
11033 property `isearch-message-prefix' instead of the string "word ".
11034 (isearch-search-fun-default): For the case of `isearch-word',
11035 return a lambda that calls re-search-forward/re-search-backward
11036 with a regexp returned by `word-search-regexp' or by the function
11039 2012-05-29 Juri Linkov <juri@jurta.org>
11041 * isearch.el (isearch-search-fun-default): New function.
11042 (isearch-search-fun): Move default part to the new function
11043 `isearch-search-fun-default'.
11044 (isearch-search-fun-function): Set the default value to
11045 `isearch-search-fun-default'. (Bug#11381)
11047 * comint.el (comint-history-isearch-end):
11048 Use `isearch-search-fun-default'.
11049 (comint-history-isearch-search): Use `isearch-search-fun-default'
11050 and remove spacial case for `isearch-word'.
11051 (comint-history-isearch-wrap): Remove spacial case for
11054 * hexl.el (hexl-isearch-search-function):
11055 Use `isearch-search-fun-default'.
11057 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
11058 Use `word-search-regexp' for `isearch-word'.
11060 * misearch.el (multi-isearch-search-fun):
11061 Use `isearch-search-fun-default'.
11063 * simple.el (minibuffer-history-isearch-search):
11064 Use `isearch-search-fun-default' and remove spacial case for
11066 (minibuffer-history-isearch-wrap): Remove spacial case for
11069 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
11070 Remove spacial case for `isearch-word'.
11071 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
11073 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11075 Decrease XEmacs incompatibilities.
11076 * textmodes/flyspell.el (flyspell-check-pre-word-p):
11077 Use `string-match'.
11078 (flyspell-delete-region-overlays): Use alternative definition for
11080 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
11081 (flyspell-word): Use `process-kill-without-query' if XEmacs.
11082 (flyspell-mode-on): Use `interactive-p' if XEmacs.
11083 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
11084 `define-obsolete-face-alias' under XEmacs, but old method.
11086 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
11087 `with-no-warnings' definition or Emacs alias.
11088 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
11089 (ispell-word): Do not use `region-p' if XEmacs.
11091 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11093 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
11094 Check for `ispell-dictionary-base-alist' instead of full
11095 `ispell-dictionary-alist'.
11096 (ispell-init-process): Show spellchecker when starting new Ispell
11099 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
11101 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
11102 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
11104 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
11106 * version.el (motif-version-string, gtk-version-string)
11107 (ns-version-string): Declare.
11109 2012-05-27 Juri Linkov <juri@jurta.org>
11111 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
11112 after the `eval-defun-1' specialcaseing
11113 like in `edebug-eval-defun' (bug#10181).
11115 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
11116 like in `eval-defun-1'.
11118 2012-05-27 Eli Zaretskii <eliz@gnu.org>
11120 * mail/sendmail.el (mail-yank-region):
11121 Recognize rmail-yank-current-message in addition to insert-buffer.
11122 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
11123 a *mail* buffer created through rmail-start-mail with sendmail as
11126 2012-05-27 Chong Yidong <cyd@gnu.org>
11128 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
11129 Default to 256 (Bug#11267).
11131 * help.el (describe-mode): Doc fix.
11133 2012-05-26 Glenn Morris <rgm@gnu.org>
11135 * w32-fns.el (w32-init-info): Remove.
11136 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
11138 * info.el (info-initialize): For self-contained NS builds, put the
11139 included info/ directory at the front. (Bug#2791)
11141 * paths.el (Info-default-directory-list): Make it a defcustom,
11142 mainly so that we can use custom-initialize-delay.
11144 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
11146 * subr.el (buffer-has-markers-at): Mark obsolete.
11148 * subr.el (lambda): Use declare.
11150 * emacs-lisp/lisp-mode.el (lambda):
11151 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
11153 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
11155 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
11157 2012-05-26 Glenn Morris <rgm@gnu.org>
11159 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
11161 2012-05-25 Glenn Morris <rgm@gnu.org>
11163 * paths.el: Remove no-byte-compile.
11164 * loadup.el: No need to load paths.el uncompiled.
11166 * image.el (imagemagick-types-inhibit): Doc fix.
11168 * version.el: Remove no-byte-compile and associated formatting.
11169 * loadup.el: No need to load version.el uncompiled. AFAICS, this
11170 is ancient code from when there was an "inc-vers.el".
11172 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
11174 * progmodes/gdb-mi.el: Minor style changes.
11175 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
11176 Turn into minor modes.
11177 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
11178 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
11179 (gdb-shell): Remove unneeded let-binding.
11180 (gdb-get-many-fields): Eliminate O(n²) behavior.
11182 2012-05-25 Eli Zaretskii <eliz@gnu.org>
11184 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
11185 platforms that don't link in fontset.c.
11187 2012-05-25 Juri Linkov <juri@jurta.org>
11189 Use the same diff color scheme as in modern VCSes (bug#10181).
11191 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
11192 to avoid confusion with `diff-added' that now uses green colors.
11193 (diff-removed): Use shades of red.
11194 (diff-added): Use shades of green.
11195 (diff-changed): Leave just the yellow color.
11196 (diff-use-changed-face): New variable.
11197 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
11198 how to highlight context diff changes.
11199 (diff-refine-change): Use shades of yellow.
11200 (diff-refine-removed): New face that uses shades of red.
11201 (diff-refine-added): New face that uses shades of green.
11202 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
11203 `diff-refine-removed' in the call to `smerge-refine-subst'
11204 depending on the value of `diff-use-changed-face'.
11206 * vc/smerge-mode.el (smerge-mine): Use shades of red.
11207 (smerge-other): Use shades of green.
11208 (smerge-base): Use shades of yellow.
11209 (smerge-refined-change): Empty face.
11210 (smerge-refined-removed): New face that uses shades of red.
11211 (smerge-refined-added): New face that uses shades of green.
11212 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
11213 args `props-r' and `props-a', and use them. Doc fix.
11214 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
11215 on its value use different faces `smerge-refined-change',
11216 `smerge-refined-removed', `smerge-refined-added' in the call to
11217 `smerge-refine-subst'.
11219 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
11220 Add face condition `min-colors 88' with shades of red.
11221 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
11222 `min-colors 88' with shades of green.
11223 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
11224 `min-colors 88' with shades of yellow.
11226 2012-05-24 Glenn Morris <rgm@gnu.org>
11228 * paths.el (prune-directory-list, remote-shell-program): Move to...
11229 * files.el (prune-directory-list, remote-shell-program): ...here.
11230 For the latter, delay initialization, prefer ssh, just search PATH.
11232 * paths.el (term-file-prefix): Move to faces.el (the only user).
11233 * faces.el (term-file-prefix): Move here, make it a defcustom.
11235 * paths.el (news-directory, news-path, news-inews-program):
11236 Move to gnus/nnspool.el.
11238 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
11240 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
11241 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
11242 Make the latter a defcustom, with a delayed initialization.
11244 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
11245 These were deleted from Gnus itself late 2010.
11247 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
11249 * progmodes/which-func.el (which-func-ff-hook):
11250 Check against user-error, not error.
11252 * emacs-lisp/edebug.el (top): Do not load or set up loading of
11253 cl-specs.el, which no longer exists.
11255 2012-05-22 Glenn Morris <rgm@gnu.org>
11257 * info.el (info-emacs-bug): New command.
11258 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
11259 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
11261 2012-05-21 Glenn Morris <rgm@gnu.org>
11263 * makefile.w32-in (update-subdirs-SH):
11264 * Makefile.in (update-subdirs): Update for moved update-subdirs.
11266 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
11268 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
11270 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11271 Simplify Maven regexp, and make sure the file can't start with a space
11274 2012-05-21 Glenn Morris <rgm@gnu.org>
11276 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
11277 Scrap superfluous subshells.
11279 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
11281 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
11282 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
11284 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
11286 * calc/calc.el (calc-ensure-consistent-units): New variable.
11288 * calc/calc-units.el (math-consistent-units-p)
11289 (math-check-unit-consistency): New functions.
11290 (calc-quick-units, calc-convert-units):
11291 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
11293 (calc-extract-units): Fix typo.
11295 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
11297 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
11299 * textmodes/flyspell.el: Commenting style, plus code simplifications.
11300 (flyspell-default-deplacement-commands): Don't spell check after
11301 repeated window/frame switches (e.g. triggered by mouse-movement).
11302 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
11303 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
11304 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
11305 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
11306 Remove unused vars.
11307 (flyspell-get-casechars, flyspell-get-not-casechars):
11308 Simplify; Don't bother removing a ] just to add it back.
11309 * textmodes/ispell.el (ispell-program-name): Use executable-find.
11311 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11313 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
11315 (math-function-table): Add support for more C functions.
11317 2012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11319 * textmodes/flyspell.el (flyspell-check-pre-word-p)
11320 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
11321 Protect delay handling for otherchars against empty otherchars.
11323 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
11325 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
11326 their respective macro declarations.
11327 * skeleton.el (define-skeleton):
11328 * progmodes/compile.el (define-compilation-mode):
11329 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
11330 (define-ibuffer-filter):
11331 * emacs-lisp/generic.el (define-generic-mode):
11332 * emacs-lisp/easy-mmode.el (define-minor-mode)
11333 (define-globalized-minor-mode):
11334 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
11335 * emacs-lisp/byte-run.el (defsubst):
11336 * custom.el (deftheme): Add doc-string metadata.
11338 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11340 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
11342 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11344 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
11346 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
11347 * emacs-lisp/cl-macs.el: Idem.
11348 * emacs-lisp/cl-specs.el: Remove.
11350 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11352 Minor renaming of internal CL functions and variables.
11353 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
11354 (cl--position): Rename from cl-position.
11355 (cl--delete-duplicates): Rename from cl-delete-duplicates.
11356 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
11357 (cl--random-state): Rename from *random-state*.
11359 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11361 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
11362 parens around the arg list (bug#11499).
11364 2012-05-17 Juri Linkov <juri@jurta.org>
11366 * isearch.el (word-search-regexp, word-search-backward)
11367 (word-search-forward, word-search-backward-lax)
11368 (word-search-forward-lax): Move functions from search.c
11369 (bug#10145, bug#11381).
11371 2012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11373 * textmodes/flyspell.el (flyspell-check-pre-word-p)
11374 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
11375 Delay for otherchars as for normal word components.
11377 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
11379 * minibuffer.el (completion--sifn-requote): Fix last change.
11380 (minibuffer-local-must-match-filename-map):
11381 Move define-obsolete-variable-alias before its var.
11383 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
11385 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
11387 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
11389 (completion--string-equal-p): New function.
11390 (completion--twq-all): Use it to get better assertion failure data.
11392 Only handle ".." and '..' quoting in shell-mode (bug#11466).
11393 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
11394 (shell--requote-argument): New functions.
11395 (shell-completion-vars): Use them.
11396 (shell--parse-pcomplete-arguments): Rename from
11397 shell-parse-pcomplete-arguments.
11398 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
11399 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
11400 Obey comint-file-name-quote-list.
11402 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
11403 (smie-indent-keyword): Use it.
11405 2012-05-14 Stefan Merten <smerten@oekonux.de>
11407 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
11409 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
11411 * net/rlogin.el (rlogin-mode-map): Fix last change.
11413 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
11415 * mail/smtpmail.el (smtpmail-send-command): Send the command and
11416 the following \r\n using a single `process-send-string', since the
11417 Lotus SMTP server refuses to accept any commands if they are sent
11418 with two `process-send-string's (Bug#11444).
11420 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
11422 * shell.el (shell-parse-pcomplete-arguments):
11423 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
11425 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
11427 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
11428 (image-transform-scale, image-transform-right-angle-fudge): New vars.
11429 (image-transform-width, image-transform-fit-width): New functions.
11430 (image-transform-properties): Use them.
11431 (image-transform-check-size): New function.
11432 (image-toggle-display-image): Use it (for testing).
11433 (image-transform-set-rotation): Reduce angle mod 360.
11434 Delete obsolete comment.
11436 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
11438 * image-mode.el: Fix scaling (bug#11399).
11439 (image-transform-resize): Doc fix.
11440 (image-transform-properties): Default scale is 1 and height should
11443 2012-05-13 Johan Bockgård <bojohan@gnu.org>
11445 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
11446 than hard-coding `car', to fix misbehavior when moving forward.
11448 2012-05-13 Chong Yidong <cyd@gnu.org>
11450 * emacs-lisp/tabulated-list.el (tabulated-list-format)
11451 (tabulated-list-entries, tabulated-list-padding)
11452 (tabulated-list-sort-key): Make permanent-local.
11454 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
11455 (electric-buffer-list): Put electric buffer menu
11456 command descriptions in this docstring, instead of the docstring
11457 of electric-buffer-menu-mode. Code cleanups.
11458 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
11459 Electric-buffer-menu-mode.
11460 (electric-buffer-update-highlight): Minor code cleanup.
11462 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
11464 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
11467 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
11469 Move define-obsolete-variable-alias before the var's definition.
11470 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
11471 * tooltip.el (tooltip-hook):
11472 * textmodes/reftex-toc.el (reftex-toc-map):
11473 * textmodes/reftex-sel.el (reftex-select-label-map)
11474 (reftex-select-bib-map):
11475 * textmodes/reftex-index.el (reftex-index-map)
11476 (reftex-index-phrases-map):
11477 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
11478 * progmodes/meta-mode.el (meta-mode-map):
11479 * novice.el (disabled-command-hook):
11480 * loadhist.el (unload-hook-features-list):
11481 * frame.el (blink-cursor):
11482 * files.el (find-file-not-found-hooks, write-file-hooks)
11483 (write-contents-hooks):
11484 * emulation/tpu-edt.el (GOLD-map):
11485 * emacs-lock.el (emacs-lock-from-exiting):
11486 * emacs-lisp/generic.el (generic-font-lock-defaults):
11487 * emacs-lisp/chart.el (chart-map):
11488 * dos-fns.el (register-name-alist):
11489 * dired-x.el (dired-omit-files-p):
11490 * desktop.el (desktop-enable):
11491 * cus-edit.el (custom-mode-hook):
11492 * buff-menu.el (buffer-menu-mode-hook):
11493 * bookmark.el (bookmark-read-annotation-text-func)
11494 (bookmark-exit-hooks):
11495 * allout.el (allout-mode-deactivate-hook)
11496 (allout-exposure-change-hook, allout-structure-added-hook)
11497 (allout-structure-deleted-hook, allout-structure-shifted-hook):
11498 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
11499 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
11500 comes before the corresponding variable's definition.
11502 2012-05-12 Chong Yidong <cyd@gnu.org>
11504 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
11505 (Buffer-menu-mouse-select): Restore function (Bug#11459).
11506 (Buffer-menu-mode-map): Bind it.
11507 (Buffer-menu--pretty-name): Add a mouse-face property.
11509 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
11511 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
11512 (prolog-upper-case-string, prolog-lower-case-string)
11513 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
11514 (prolog-use-smie, prolog-smie-grammar): New vars.
11515 (prolog-smie-forward-token, prolog-smie-backward-token)
11516 (prolog-smie-rules): New funs.
11517 (prolog-comment-indent): Remove.
11518 (prolog-mode-variables): Use default comment indentation instead.
11520 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
11521 (prolog-mode): Don't call them any more.
11522 (prolog-electric-colon, prolog-electric-dash)
11523 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
11525 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
11527 * minibuffer.el (completion--twq-all): Again, allow case differences.
11529 * term.el: Move keymap initialization code to be more idiomatic.
11530 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
11531 (term-terminal-menu): Move initialization into declaration.
11532 (term-escape-char): Let the user set it in her .emacs.
11534 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
11535 Provide SMIE-based indentation (not enabled by default yet).
11536 (sh-mode-map): Don't bind electric keys.
11537 Use electric-pair-mode instead of skeleton-pair.
11538 (sh-assignment-regexp): Fit within 80 columns.
11539 (sh-indent-supported): Specify actual shell name instead of boolean.
11540 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
11541 (sh-maybe-here-document): Use it. Make obsolete.
11542 (sh-electric-here-document-mode) New minor mode.
11543 (sh-mode): Use it. Don't set sh-indent-supported-here here.
11544 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
11545 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
11546 (sh-smie-rc-grammar, sh-use-smie): New vars.
11547 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
11548 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
11549 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
11550 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
11551 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
11552 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
11553 (sh-set-shell): Use smie-setup if requested.
11555 * term.el (term-set-escape-char): Properly set term-escape-char.
11556 See http://stackoverflow.com/questions/10524656.
11558 2012-05-10 Chong Yidong <cyd@gnu.org>
11560 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
11561 Use url-generic-parse-url, and handle host names and Windows
11562 filenames properly.
11563 (ffap-url-unwrap-remote): Use url-generic-parse-url.
11564 (ffap-url-unwrap-remote): Accept list values, specifying a list of
11565 URL schemes to work on.
11566 (ffap--toggle-read-only): New function.
11567 (ffap-read-only, ffap-read-only-other-window)
11568 (ffap-read-only-other-frame): Use it.
11569 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
11570 necessary for ffap-url-unwrap-remote.
11572 2012-05-10 Dave Abrahams <dave@boostpro.com>
11574 * cus-start.el (create-lockfiles): Add it.
11576 2012-05-09 Chong Yidong <cyd@gnu.org>
11578 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
11579 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
11581 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
11583 * shell.el (shell-completion-vars): Fix last change (bug#11348).
11585 2012-05-09 Chong Yidong <cyd@gnu.org>
11587 * ansi-color.el (ansi-color-process-output): Check for validity of
11588 comint-last-output-start before using it. This avoids a bad
11589 interaction with gdb-mi's input/output buffer.
11591 2012-05-09 Glenn Morris <rgm@gnu.org>
11593 * files.el (dir-locals-read-from-file):
11594 Mention dir-locals in any error message.
11596 2012-05-09 Chong Yidong <cyd@gnu.org>
11598 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
11599 package (Bug#11410).
11601 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
11602 variables into description.
11604 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
11606 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
11607 shell-delimiter-argument-list (bug#11348).
11608 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
11610 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
11612 * textmodes/rst.el: Silence byte-compiler warnings.
11613 (rst-re-alist, rst-reset-section-caches): Move around.
11614 (rst-re): Use `characterp', not `char-valid-p'.
11615 (font-lock-beg, font-lock-end): Declare.
11617 * progmodes/idlw-shell.el (specs): Remove reference to deleted
11618 variable `idlwave-shell-activate-alt-keybindings' and simplify.
11620 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
11622 2012-05-08 Glenn Morris <rgm@gnu.org>
11624 * files.el (auto-mode-alist): Treat ".make" like ".mk".
11626 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11628 * vc/log-edit.el: Add GNU coding standards highlighting.
11629 (log-edit-font-lock-gnu-style)
11630 (log-edit-font-lock-gnu-keywords): New vars.
11631 (log-edit-font-lock-keywords): New fun.
11632 (log-edit-mode): Don't fold case in font-lock.
11633 (log-edit-font-lock-keywords): Do not assume case-folding.
11635 * imenu.el: Misc cleanup. Make docstrings out of comments.
11636 Use lexical-binding.
11637 (imenu--index-alist, imenu--last-menubar-index-alist)
11638 (imenu-menubar-modified-tick): Use defvar-local.
11639 (imenu--split-menu): Remove unused var.
11640 (imenu--cleanup-seen): Declare as global.
11641 (imenu--cleanup): Use dolist.
11643 * subr.el (defvar-local): Add debug spec and doc-string position.
11645 2012-05-08 Glenn Morris <rgm@gnu.org>
11647 * language/burmese.el, language/cham.el, language/czech.el:
11648 * language/english.el, language/georgian.el, language/greek.el:
11649 * language/japanese.el, language/khmer.el, language/korean.el:
11650 * language/lao.el, language/misc-lang.el, language/romanian.el:
11651 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
11652 * language/thai.el, language/utf-8-lang.el:
11653 Remove no-byte-compile setting.
11655 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
11657 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
11659 * progmodes/make-mode.el (makefile-browse):
11660 Remove unnecessary interactive. (Bug#11324)
11662 2012-05-07 Glenn Morris <rgm@gnu.org>
11664 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
11666 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
11668 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
11670 * loadup.el: Preload newcomment.el.
11671 * newcomment.el: Move autoload-only code to toplevel.
11673 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
11674 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
11675 Handle new :right-align column property.
11676 (tabulated-list-print-col): Idem, plus use `display' text-property to
11677 try and preserve alignment for variable pitch fonts.
11679 2012-05-07 Chong Yidong <cyd@gnu.org>
11681 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
11682 (tabulated-list-use-header-line): New var.
11683 (tabulated-list-init-header): Use it.
11684 (tabulated-list-print-fake-header): New function.
11685 (tabulated-list-print): Use it.
11686 (tabulated-list-sort-button-map): Add non-header-line commands.
11687 (tabulated-list-init-header): Add column name property to basic
11689 (tabulated-list-col-sort): Handle non-header-line button case.
11690 (tabulated-list--sort-by-column-name): Fix a corner case.
11692 * buff-menu.el (list-buffers--refresh):
11693 Handle Buffer-menu-use-header-line.
11695 2012-05-06 Chong Yidong <cyd@gnu.org>
11697 * buff-menu.el: Convert to Tabulated List mode.
11698 (Buffer-menu-buffer+size-width): Make obsolete.
11699 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
11700 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
11701 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
11702 documentation into docstring of buffer-menu.
11703 (Buffer-menu-toggle-files-only): Add an informative message.
11704 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
11705 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
11706 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
11707 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
11708 (Buffer-menu-execute, Buffer-menu-select)
11709 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
11710 (Buffer-menu-bury): Use Tabulated List machinery.
11711 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
11712 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
11714 (list-buffers--refresh): New function.
11715 (list-buffers-noselect): Use it.
11716 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
11717 (Buffer-menu--pretty-file-name): New helper functions.
11719 * loadup.el: Preload tabulated-list.
11721 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
11722 tabulated-list-sort-column.
11723 (tabulated-list-init-header): Add the initial aligning space even
11724 if tabulated-list-padding is zero.
11726 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
11728 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
11729 whose cdr is not a cons cell correctly (bug#11038).
11731 2012-05-06 Chong Yidong <cyd@gnu.org>
11733 * emacs-lisp/tabulated-list.el (tabulated-list-format):
11734 Accept additional plist in column descriptors.
11735 (tabulated-list-init-header): Obey it.
11736 (tabulated-list-get-entry): New function.
11737 (tabulated-list-put-tag): Use it. Use string-width instead of
11739 (tabulated-list--column-number): New function.
11740 (tabulated-list-print): Use it.
11741 (tabulated-list-print-col): New function.
11742 Set `tabulated-list-column-name' property on each column's text.
11743 (tabulated-list-print-entry): Use it.
11744 (tabulated-list-delete-entry, tabulated-list-set-col):
11746 (tabulated-list-sort-column): New command (Bug#11337).
11748 * buff-menu.el (list-buffers): Move C-x C-b binding from
11749 buff-menu.el to bindings.el.
11751 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
11752 :advertised-binding feature.
11754 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
11756 * progmodes/compile.el (compilation-internal-error-properties):
11757 Calculate start position correctly when end-col is set but
11758 end-line is not (Bug#11382).
11760 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
11762 * man.el (Man-unindent): Use text-property-default-nonsticky to
11763 prevent untabify from inheriting face properties (Bug#11408).
11765 2012-05-05 Stefan Merten <smerten@oekonux.de>
11767 * textmodes/rst.el: Major merge with upstream development up to
11768 Docutils SVN r7399 / rst.el V1.2.1.
11770 Clarify maintainership and authors.
11772 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
11773 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
11774 (rst-official-version, rst-official-cvs-rev, rst-version)
11775 (rst-package-emacs-version-alist): New functions and variables
11776 for version information.
11778 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
11779 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
11780 (rst-mode-syntax-table, rst-mode): New and corrected functions
11781 and variables representing reStructuredText features.
11783 (rst-re): New function for reStructuredText regexes. Use in
11786 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
11787 (rst-mode-map): Rebind keys.
11789 (rst-mode-lazy, rst-font-lock-keywords)
11790 (rst-font-lock-extend-region)
11791 (rst-font-lock-extend-region-internal)
11792 (rst-font-lock-extend-region-extend)
11793 (rst-font-lock-find-unindented-line-limit)
11794 (rst-font-lock-find-unindented-line-match)
11795 (rst-adornment-level, rst-font-lock-adornment-level)
11796 (rst-font-lock-adornment-match)
11797 (rst-font-lock-handle-adornment-pre-match-form)
11798 (rst-font-lock-handle-adornment-matcher): Major revision of
11799 font-locking. Integrate with other code. Use `jit-lock-mode'.
11801 (rst-preferred-adornments, rst-adjust-hook)
11802 (rst-new-adornment-down, rst-preferred-bullets)
11803 (rst-preferred-bullets, rst-indent, rst-indent-width)
11804 (rst-indent-field, rst-indent-literal-normal)
11805 (rst-indent-literal-minimized, rst-indent-comment): Change,
11806 extend and improve customization.
11808 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
11809 (rst-normalize-cursor-position, rst-get-decoration)
11810 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
11811 (rst-rstrip, rst-toc-insert-find-delete-contents)
11812 (rst-shift-fill-region, rst-compute-bullet-tabs)
11813 (rst-debug-print-tabs, rst-debug-mark-found)
11814 (rst-shift-region-guts, rst-shift-region-right)
11815 (rst-shift-region-left, rst-use-char-classes)
11816 (rst-font-lock-keywords-function)
11817 (rst-font-lock-indentation-point)
11818 (rst-font-lock-find-unindented-line-begin)
11819 (rst-font-lock-find-unindented-line-end)
11820 (rst-font-lock-find-unindented-line)
11821 (rst-font-lock-adornment-point, rst-font-lock-level)
11822 (rst-adornment-level-alist): Remove functions and variables.
11824 (rst-compare-adornments, rst-get-adornment-match)
11825 (rst-suggest-new-adornment, rst-get-adornments-around)
11826 (rst-adornment-complete-p, rst-get-next-adornment)
11827 (rst-adjust-adornment, rst-display-adornments-hierarchy)
11828 (rst-straighten-adornments): Standardize function names to
11829 use "adornment" instead of "decoration". Correct callers.
11830 Similar standardizing in many places.
11832 (rst-update-section, rst-adjust, rst-promote-region)
11833 (rst-enumerate-region, rst-bullet-list-region)
11834 (rst-repeat-last-character): Correct use of `interactive'.
11836 (rst-classify-adornment, rst-find-all-adornments)
11837 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
11838 (rst-find-leftmost-column, rst-repeat-last-character):
11839 Refactor functions.
11841 (rst-find-title-line, rst-reset-section-caches)
11842 (rst-get-adornments-around, rst-adjust-adornment-work)
11843 (rst-arabic-to-roman, rst-roman-to-arabic)
11844 (rst-insert-list-pos, rst-insert-list-new-item)
11845 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
11848 (rst-all-sections, rst-section-hierarchy)
11849 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
11852 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
11853 configuration instead of only buffer. Change where necessary.
11855 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
11856 (rst-shift-region, rst-adaptive-fill): New functions for
11857 indentation and filling.
11859 (rst-comment-line-break, rst-comment-indent)
11860 (rst-comment-insert-comment, rst-comment-region)
11861 (rst-uncomment-region): New functions for handling comments.
11863 (rst-compile): Quote shell arguments.
11865 (rst-compile-pdf-preview, rst-compile-slides-preview):
11866 Delete temporary files after use.
11868 2012-05-05 Glenn Morris <rgm@gnu.org>
11870 * calendar/cal-html.el: Optionally include holidays in the output.
11871 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
11872 (cal-html-holidays): New option.
11873 (cal-html-css-default): Add holiday entry.
11874 (holiday-in-range): Autoload it.
11875 (cal-html-htmlify-entry): Add optional class argument.
11876 (cal-html-htmlify-list): Add optional holidays argument.
11877 (cal-html-insert-agenda-days): Include holidays in the output.
11878 (cal-html-one-month): Maybe include holidays.
11880 * calendar/holidays.el (holiday-in-range):
11881 Move here from cal-tex-list-holidays.
11882 * calendar/cal-tex.el (cal-tex-list-holidays):
11883 Make it an obsolete alias for holiday-in-range. Update all callers.
11885 2012-05-05 Chong Yidong <cyd@gnu.org>
11887 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
11890 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
11892 * files.el (file-auto-mode-skip): New var.
11893 (set-auto-mode-1): Use it.
11895 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
11897 * repeat.el: Use lexical-binding.
11898 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
11899 (repeat-undo-count): Remove.
11901 * progmodes/octave-mod.el (octave-abbrev-start):
11902 * progmodes/f90.el (f90-abbrev-start):
11903 * face-remap.el (text-scale-adjust):
11904 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
11906 * emacs-lisp/pcase.el (pcase--let*): New function.
11907 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
11909 (pcase--split-pred): Be more clever about ruling out overlap between
11910 a predicate and some constant pattern.
11911 (pcase--q1): Use `null' instead of (eq foo nil).
11913 * subr.el (setq-local, defvar-local): New macros.
11914 (kbd): Redefine as an alias.
11915 (with-selected-window): Leave unrelated frames alone.
11916 (set-temporary-overlay-map): New function.
11918 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
11920 * subr.el (user-error): New function.
11921 * window.el (switch-to-buffer):
11922 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
11923 (smerge-match-conflict):
11924 * simple.el (previous-matching-history-element)
11925 (next-matching-history-element, goto-history-element, undo-more)
11927 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
11928 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
11929 (next-file, tags-loop-scan, list-tags, complete-tag):
11930 * progmodes/compile.el (compilation-loop):
11931 * mouse.el (mouse-minibuffer-check):
11932 * man.el (Man-bgproc-sentinel, Man-goto-page):
11933 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
11934 (Info-history-forward, Info-follow-reference, Info-menu)
11935 (Info-extract-menu-item, Info-extract-menu-counting)
11936 (Info-forward-node, Info-backward-node, Info-next-menu-item)
11937 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
11938 (Info-next-reference, Info-prev-reference, Info-index)
11939 (Info-index-next, Info-follow-nearest-node)
11940 (Info-copy-current-node-name):
11941 * imenu.el (imenu--make-index-alist)
11942 (imenu-default-create-index-function, imenu-add-to-menubar):
11943 * files.el (basic-save-buffer, recover-file):
11944 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
11945 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
11946 (checkdoc-message-text, checkdoc-defun):
11947 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
11948 * cus-edit.el (customize-changed-options, customize-rogue)
11949 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
11950 (custom-variable-mark-to-reset-standard)
11951 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
11953 * completion.el (check-completion-length):
11954 * comint.el (comint-search-arg)
11955 (comint-previous-matching-input-string-position)
11956 (comint-previous-matching-input)
11957 (comint-replace-by-expanded-history-before-point, comint-send-input)
11958 (comint-copy-old-input, comint-backward-matching-input)
11959 (comint-goto-process-mark, comint-set-process-mark):
11960 * calendar/calendar.el (calendar-cursor-to-date): Use it.
11961 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
11963 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
11965 * dabbrev.el (dabbrev--ignore-case-p): New function.
11966 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
11969 * files.el (automount-dir-prefix): Mark as obsolete.
11971 2012-05-04 Glenn Morris <rgm@gnu.org>
11973 * patcomp.el, play/bruce.el: Move to obsolete/.
11975 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
11977 Fix minor Y10k bugs.
11978 * arc-mode.el (archive-unixdate):
11979 * autoinsert.el (auto-insert-alist):
11980 * calc/calc-forms.el (math-this-year):
11981 * emacs-lisp/copyright.el (copyright-current-year)
11982 (copyright-update-year, copyright):
11983 * tar-mode.el (tar-clip-time-string):
11984 * time.el (display-time-update):
11985 Don't assume years have 4 digits.
11987 2012-05-04 Chong Yidong <cyd@gnu.org>
11989 * dos-w32.el (file-name-buffer-file-type-alist)
11990 (direct-print-region-use-command-dot-com):
11991 * ffap.el (ffap-menu-regexp):
11992 * find-file.el (ff-special-constructs):
11993 * follow.el (follow-debug):
11994 * forms.el (forms--debug):
11995 * iswitchb.el (iswitchb-all-frames):
11996 * ido.el (ido-all-frames):
11997 * emacs-lisp/timer.el (timer-max-repeats):
11998 * mail/feedmail.el (feedmail-mail-send-hook)
11999 (feedmail-mail-send-hook-queued):
12000 * mail/footnote.el (footnote-signature-separator):
12001 * mail/mailabbrev.el (mail-alias-separator-string)
12002 (mail-abbrev-mode-regexp):
12003 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
12004 * progmodes/idlwave.el (idlwave-libinfo-file)
12005 (idlwave-default-completion-case-is-down)
12006 (idlwave-library-routines): Convert defvars to defcustoms.
12008 * mail/rmail.el (rmail-decode-mime-charset):
12009 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
12010 (idlwave-shell-fix-inserted-breaks)
12011 (idlwave-shell-activate-alt-keybindings)
12012 (idlwave-shell-use-breakpoint-glyph):
12013 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
12015 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
12017 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
12019 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
12021 * progmodes/verilog-mode.el (font-lock-keywords):
12022 Fix mis-highligting auto. Reported by Craig Barner.
12023 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
12024 defines from global name space. Reported by Dan Dever.
12025 (verilog-auto-reset, verilog-auto-reset-widths)
12026 (verilog-auto-tieoff): Support using unbased numbers for
12027 AUTORESET and AUTOTIEOFF.
12028 (verilog-submit-bug-report): Update variable list.
12029 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
12030 parenthesis from not matching. Reported by Michael Rytting.
12031 (verilog-auto-template-lint): Fix hash error when linting modules
12032 with no used templates.
12033 (verilog-warn, verilog-warn-error)
12034 (verilog-warn-fatal): When non-interactive report multiple
12035 warnings before exiting. Suggested by Brad Dobbie.
12036 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
12037 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
12038 to report unused template errors. Reported by Brad Dobbie.
12039 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
12040 nets, bug438. Reported by Vns Blore.
12041 (verilog-auto-inout-module, verilog-auto-reg)
12042 (verilog-read-decls, verilog-read-sub-decls-sig)
12043 (verilog-signals-edit-wire-reg, verilog-signals-with):
12044 Fix passing of Verilog data types in ANSI input/output ports
12045 such as "output logic" into the AUTOs. Special case "wire" and
12046 "reg" for backwards compatibility presuming Verilog 2001.
12047 (verilog-auto-ascii-enum): Add "auto enum" as alias.
12048 (verilog-preprocess): Fix replication of preprocess output.
12049 Reported by Brad Dobbie.
12050 (verilog-auto-inst-interfaced-ports):
12051 Create verilog-auto-inst-interfaced-ports, bug429.
12052 Reported by Julian Gorfajn.
12053 (verilog-after-save-font-hook)
12054 (verilog-before-save-font-hook): New variable.
12055 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
12056 (verilog-save-font-mods): Wrap disabling fontification, reported
12058 (verilog-do-indent, verilog-pretty-declarations-auto)
12059 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
12060 Reported by Pierre-David Pfister.
12061 (verilog-set-auto-endcomments): Fix endtask auto comments outside
12062 of class declarations, bug292. Reported by Kevin Heilman.
12063 (verilog-read-decls): Fix 'parameter type' not appearing in
12064 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
12065 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
12066 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
12067 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
12068 Reported by David Kravitz.
12070 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
12072 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
12073 assignment with tests in ifs and for loops.
12074 (verilog-extended-complete-re, verilog-complete-reg): Change so
12075 that DPI inport functions don't look like fuction declarations.
12076 (verilog-pretty-expr): Don't line up assignment
12077 operations to the test and increment in if and for loops
12078 (verilog-extended-complete-re, verilog-complete-reg): Change so
12079 that DPI inport functions don't look like fuction declarations.
12081 2012-05-03 Kenichi Handa <handa@m17n.org>
12083 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
12084 decoding, and show a warning message without signaling an error
12087 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
12089 * emacs-lisp/bytecomp.el
12090 (byte-compile-file-form-custom-declare-variable): Compile all elements,
12091 since cconv.el might have introduced :fun-body, internal-make-closure,
12092 and friends for bytecomp to handle (bug#11391).
12093 * custom.el (defcustom): Avoid ((λ ..) ..).
12095 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
12097 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
12099 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
12101 * notifications.el (dbus-debug):
12102 * term/linux.el (gpm-mouse-enable):
12103 * term/screen.el (xterm-register-default-colors): Declare.
12105 2012-05-02 Chong Yidong <cyd@gnu.org>
12107 * cus-start.el (gc-cons-percentage, exec-suffixes)
12108 (dos-display-scancodes, dos-hyper-key, dos-super-key)
12109 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
12110 (make-cursor-line-fully-visible, void-text-area-pointer)
12111 (font-list-limit): Add customization data.
12113 * allout.el (allout-exposure-change-functions)
12114 (allout-structure-added-functions)
12115 (allout-structure-deleted-functions)
12116 (allout-structure-shifted-functions): Rename abnormal hooks from
12117 *-hook, and convert to defcustoms.
12118 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
12119 Convert to defcustoms.
12120 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
12122 * allout-widgets.el: Hook callers changed.
12124 2012-05-02 Eli Zaretskii <eliz@gnu.org>
12126 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
12127 the yanked message in preference to the default value of
12128 buffer-file-coding-system.
12130 2012-05-02 Martin Rudalics <rudalics@gmx.at>
12132 * window.el (display-buffer--action-function-custom-type):
12135 2012-05-02 Alan Mackenzie <acm@muc.de>
12137 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
12139 2012-05-01 Glenn Morris <rgm@gnu.org>
12141 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
12143 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
12145 * cus-edit.el (custom-variable-documentation): Simplify with format.
12147 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
12148 Stefan Monnier <monnier@iro.umontreal.ca>
12150 * simple.el (suggest-key-bindings, execute-extended-command):
12151 Move from keyboard.c.
12153 2012-05-01 Chong Yidong <cyd@gnu.org>
12155 * follow.el: Eliminate advice.
12156 (set-process-filter, process-filter, sit-for): Advice deleted.
12157 (follow-mode-off-hook): Obsolete hook removed.
12158 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
12160 (follow-auto): Use a :set function.
12161 (follow-mode): Rewritten. Don't advise process filters.
12162 (follow-switch-to-current-buffer-all, follow-scroll-up)
12163 (follow-scroll-down): Assume follow-mode is bound.
12164 (follow-comint-scroll-to-bottom)
12165 (follow-align-compilation-windows): New functions.
12166 (follow--window-sorter): New function.
12167 (follow-all-followers): Use it to explicitly sort windows by their
12168 positions; don't make assumptions about next-window order.
12169 (follow-windows-start-end, follow-delete-other-windows-and-split)
12170 (follow-calc-win-start): Doc fix.
12171 (follow-windows-aligned-p, follow-select-if-visible): Don't call
12172 vertical-motion unnecessarily.
12173 (follow-adjust-window): New function.
12174 (follow-post-command-hook): Use it.
12175 (follow-call-set-process-filter, follow-call-process-filter)
12176 (follow-intercept-process-output, follow-tidy-process-filter-alist)
12177 (follow-stop-intercept-process-output, follow-generic-filter):
12179 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
12180 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
12181 New functions, replacing advice on scroll-bar-* commands.
12182 (follow-mwheel-scroll): New function (Bug#4112).
12184 * comint.el (comint-adjust-point): New function.
12185 (comint-postoutput-scroll-to-bottom): Use it.
12186 Call follow-comint-scroll-to-bottom for Follow mode buffers.
12188 2012-05-01 Glenn Morris <rgm@gnu.org>
12190 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
12191 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
12192 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
12193 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
12194 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
12195 Remove no-byte-compile setting.
12197 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
12199 * minibuffer.el (completion-table-with-quoting): Fix compatibility
12200 all-completions code to not return a number in the last cdr.
12202 2012-04-30 Leo Liu <sdl.web@gmail.com>
12204 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
12207 2012-04-29 Chong Yidong <cyd@gnu.org>
12209 * follow.el (follow-calc-win-end): Rewrite to handle partial
12210 screen lines correctly (Bug#8390).
12211 (follow-avoid-tail-recenter): Minor cleanup.
12213 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
12215 Avoid the obsolete `assoc' package.
12216 * speedbar.el (speedbar-refresh): Avoid adelete.
12217 (speedbar-file-lists): Simplify and avoid aput.
12218 * man.el (Man--sections, Man--refpages): New vars, replacing
12219 Man-sections-alist and Man-refpages-alist.
12220 (Man-build-section-alist, Man-build-references-alist):
12221 Use them; avoid aput.
12222 (Man--last-section, Man--last-refpage): New vars.
12223 (Man-follow-manual-reference): Use them.
12224 Use the `default' arg of completing-read.
12225 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
12227 2012-04-27 Chong Yidong <cyd@gnu.org>
12229 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
12231 * startup.el (x-apply-session-resources): New function.
12233 * term/ns-win.el (ns-initialize-window-system):
12234 * term/w32-win.el (w32-initialize-window-system):
12235 * term/x-win.el (x-initialize-window-system): Use it to properly
12236 set menu-bar-mode and other vars from X resources, even if the
12237 initial frame is not a window-system frame (Bug#2299).
12239 * subr.el (read-key): Avoid running filter function when setting
12240 up temporary tool bar entries (Bug#9922).
12242 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
12244 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
12247 2012-04-27 Chong Yidong <cyd@gnu.org>
12249 * select.el (xselect--encode-string): New function, split from
12250 xselect-convert-to-string.
12251 (xselect-convert-to-string): Use it.
12252 (xselect-convert-to-filename, xselect-convert-to-os)
12253 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
12254 returned strings are properly encoded (Bug#11315).
12256 2012-04-27 Chong Yidong <cyd@gnu.org>
12258 * simple.el (delete-active-region): Move to killing custom group.
12260 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
12262 * progmodes/which-func.el (which-func-current): Quote %
12263 characters for mode-line processing.
12265 2012-04-27 Chong Yidong <cyd@gnu.org>
12267 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
12268 reaching eob (Bug#11286).
12270 2012-04-27 Eli Zaretskii <eliz@gnu.org>
12272 * progmodes/gdb-mi.el (gdb-control-level): New variable.
12273 (gdb): Make it buffer-local and init to zero.
12274 (gdb-control-commands-regexp): New variable.
12275 (gdb-send): Don't wrap in "-interpreter-exec console" if
12276 gdb-control-level is positive. Increment gdb-control-level
12277 whenever the command matches gdb-control-commands-regexp, and
12278 decrement it each time the command is "end". (Bug#11279)
12280 2012-04-27 Martin Rudalics <rudalics@gmx.at>
12282 * window.el (adjust-window-trailing-edge, enlarge-window)
12283 (shrink-window, window-resize):
12284 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
12285 windows (Bug#11276).
12287 2012-04-27 Chong Yidong <cyd@gnu.org>
12289 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
12290 fix "missing prefix" warning. All callers changed.
12292 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
12294 * emacs-lisp/assoc.el: Move to obsolete/.
12296 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
12298 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
12300 * term/ns-win.el (ns-define-service):
12301 * progmodes/pascal.el (pascal-goto-defun):
12302 * progmodes/js.el (js--read-tab):
12303 * progmodes/etags.el (tags-lazy-completion-table):
12304 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
12305 * emacs-lisp/ewoc.el (ewoc--wrap):
12306 * emacs-lisp/assoc.el (aput, adelete, amake):
12307 * doc-view.el (doc-view-convert-current-doc):
12308 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
12310 2012-04-26 Chong Yidong <cyd@gnu.org>
12312 * image.el (image-type-from-buffer): Only return supported image
12315 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
12316 value, for symmetry with diff-end-of-hunk.
12317 (diff-split-hunk, diff-find-source-location)
12318 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
12319 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
12320 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
12321 compute the relevant hunk or file properly (Bug#6005).
12322 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
12324 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
12333 * vc/vc.el: Replace lexical-let by lexical-binding.
12334 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
12335 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
12336 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
12338 2012-04-26 Chong Yidong <cyd@gnu.org>
12340 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
12341 (diff-mode-shared-map): Bind it to / and [remap undo].
12343 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
12344 (ediff-window-setup-function): Use it as the default, to set up
12345 windows based on whether the current frame is graphical (Bug#2138).
12346 (ediff-choose-window-setup-function-automatically): Make obsolete.
12348 * vc/ediff-init.el: Always define ediff-pixel-width/height.
12350 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12352 * ffap.el: Remove old code for obsolete package.
12353 (ffap-complete-as-file-p): Remove.
12355 Use completion-table-with-quoting for comint and pcomplete.
12356 * comint.el (comint--unquote&requote-argument)
12357 (comint--unquote-argument, comint--requote-argument): New functions.
12358 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
12359 (comint-quote-filename): Use regexp-opt-charset.
12360 (comint--common-suffix, comint--common-quoted-suffix)
12361 (comint--table-subvert): Remove.
12362 (comint-unquote-function, comint-requote-function): New vars.
12363 (comint--complete-file-name-data): Use them with
12364 completion-table-with-quoting.
12365 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
12366 * pcomplete.el (pcomplete-arg-quote-list)
12367 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
12368 (pcomplete-unquote-argument-function): Default to non-nil.
12369 (pcomplete-unquote-argument): Simplify.
12370 (pcomplete--common-quoted-suffix): Remove.
12371 (pcomplete-requote-argument-function): New var.
12372 (pcomplete--common-suffix): New function.
12373 (pcomplete-completions-at-point): Use completion-table-with-quoting
12374 and completion-table-subvert.
12376 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
12377 (minibuffer--double-dollars): Preserve properties.
12378 (completion--sifn-requote): New function.
12379 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
12381 * minibuffer.el: Add support for completion of quoted/escaped data.
12382 (completion-table-with-quoting, completion-table-subvert): New funs.
12383 (completion--twq-try, completion--twq-all): New functions.
12384 (completion--nth-completion): New function.
12385 (completion-try-completion, completion-all-completions): Use it.
12387 2012-04-25 Leo Liu <sdl.web@gmail.com>
12389 * progmodes/python.el (python-pdbtrack-get-source-buffer):
12390 Use compilation-message if available to find real filename.
12392 2012-04-25 Chong Yidong <cyd@gnu.org>
12394 * vc/diff-mode.el (diff-setup-whitespace): New function.
12395 (diff-mode): Use it.
12397 * vc/diff.el (diff-sentinel):
12398 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
12399 Whitespace mode variables based on diff style (Bug#8612).
12401 2012-04-25 Leo Liu <sdl.web@gmail.com>
12403 * progmodes/python.el (python-send-region): Add suffix .py to the
12406 * files.el (auto-mode-alist): Use javascript-mode instead.
12408 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
12410 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
12412 * net/soap-client.el (soap-resolve-references-for-sequence-type)
12413 (soap-resolve-references-for-array-type): Hack to prevent self
12414 references, see Bug#9.
12415 (soap-parse-envelope): Report the contents of the 'detail' node
12416 when receiving a fault reply.
12417 (soap-parse-envelope): Report the contents of the entire 'detail' node.
12419 * net/soap-inspect.el (soap-sample-value-for-simple-type)
12420 (soap-inspect-simple-type): New function.
12422 * net/soap-client.el (soap-simple-type): New struct.
12423 (soap-default-xsd-types, soap-default-soapenc-types)
12424 (soap-decode-basic-type, soap-encode-basic-type):
12425 support unsignedInt and double basic types.
12426 (soap-resolve-references-for-simple-type)
12427 (soap-parse-simple-type, soap-encode-simple-type): New function.
12428 (soap-parse-schema): Parse xsd:simpleType declarations.
12430 * net/soap-client.el (soap-default-xsd-types)
12431 (soap-default-soapenc-types): Add integer, byte and anyURI types.
12432 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
12433 the local name of "soapenc:Array".
12434 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
12435 decoding integer, byte and anyURI xsd types.
12437 2012-04-25 Chong Yidong <cyd@gnu.org>
12439 * cus-edit.el (custom-buffer-create-internal): Update header text.
12441 2012-04-25 Eli Zaretskii <eliz@gnu.org>
12443 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
12444 settings on 'system-type', not on 'window-system'. On MS-Windows,
12445 set interactive-mode on in GDB.
12447 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
12449 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
12450 (ruby-syntax-propertize-regexp): Remove.
12451 (ruby-syntax-propertize-function): Split regexp into chunks.
12452 Match following code directly.
12454 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
12456 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
12457 (ruby-syntax-propertize-regexp): New function.
12458 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
12459 by a special keyword.
12461 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
12462 (ruby-syntax-general-delimiters-goto-beg)
12463 (ruby-syntax-propertize-general-delimiters): New functions.
12464 (ruby-syntax-propertize-function): Use them to handle GDL.
12465 (ruby-font-lock-keywords): Move old handling of GDL...
12466 (ruby-font-lock-syntactic-keywords): .. to here.
12467 (ruby-calculate-indent): Adjust indentation for GDL.
12469 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
12471 * notifications.el (top): Remove unneeded declarations.
12472 (notifications-specification-version): Change to "1.2".
12473 (notifications-interface, notifications-notify-method)
12474 (notifications-close-notification-method): Fix docstring.
12475 (notifications-get-capabilities-method): New defconst.
12476 (notifications-notify): Add :action-items, :resident and
12477 :transient hints. Change "image_data" to "image-data" and
12478 "image_path" to "image-path".
12479 (notifications-get-capabilities): New defun.
12481 2012-04-24 Leo Liu <sdl.web@gmail.com>
12483 * progmodes/python.el: Move hideshow setup to the end.
12485 2012-04-24 Martin Rudalics <rudalics@gmx.at>
12487 * window.el (handle-select-window): Clear echo area since this is
12488 no more done by read_char (Bug#11304).
12490 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
12492 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
12493 and `/ M' to filter-derived-mode.
12494 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
12495 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
12496 (ibuffer-mark-by-mode): Use default rather than initial-input.
12497 (ibuffer-filter-by-derived-mode): Autoload and require-match.
12499 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
12501 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
12502 (ibuffer-filter-by-derived-mode): New filter.
12503 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
12505 2012-04-23 Andreas Politz <politza@fh-trier.de>
12507 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
12509 2012-04-23 Chong Yidong <cyd@gnu.org>
12511 * cus-edit.el (customize-apropos, customize-apropos-options):
12512 Disable matching of non-option variables (Bug#11176).
12513 (customize-option, customize-option-other-window)
12514 (customize-changed-options): Doc fix.
12515 (customize-apropos-options, customize-apropos-faces)
12516 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
12518 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
12519 Fix word list splitting (Bug#11132).
12520 (apropos-symbol, apropos-keybinding, apropos-label)
12521 (apropos-property, apropos-function-button)
12522 (apropos-variable-button, apropos-misc-button): New faces.
12523 (apropos-symbol-face, apropos-keybinding-face)
12524 (apropos-label-face, apropos-property-face, apropos-match-face):
12525 Variables removed (Bug#8396).
12526 (apropos-library-button, apropos-format-plist, apropos-print)
12527 (apropos-print-doc, apropos-describe-plist): Callers changed.
12529 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
12531 * net/xesam.el (xesam-mode-map): Use let-bound map in
12532 initialization. (Bug#11292)
12534 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12536 Preserve ispell session localwords when switching back to
12539 * textmodes/ispell.el (ispell-buffer-session-localwords):
12540 New buffer-local variable to hold buffer session localwords.
12541 (ispell-kill-ispell): Add option 'clear to delete session
12543 (ispell-command-loop, ispell-change-dictionary)
12544 (ispell-buffer-local-words): Preserve session localwords when
12547 * textmodes/flyspell.el (flyspell-process-localwords)
12548 (flyspell-do-correct): Preserve session localwords when needed.
12550 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12552 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
12553 using obsolete `translation-table-for-input'.
12554 (ispell-word, ispell-process-line, ispell-complete-word):
12555 Use plain `insert' instead of removed `ispell-insert-word'.
12557 2012-04-22 Chong Yidong <cyd@gnu.org>
12559 * cus-edit.el (custom-variable-menu)
12560 (custom-variable-reset-saved, custom-face-menu)
12561 (custom-face-reset-saved): If there is no saved value, make the
12562 "reset-saved" operation bring back the default (Bug#9509).
12563 (custom-face-state): Properly detect themed faces.
12565 * faces.el (face-spec-set): Stop supporting deprecated form of
12568 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
12570 Move functions from C to Lisp. Make non-blocking method calls
12571 the default. Implement further D-Bus standard interfaces.
12573 * net/dbus.el (dbus-message-internal): Declare function.
12574 Remove unneeded function declarations.
12575 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
12576 (dbus-message-type-method-return, dbus-message-type-error)
12577 (dbus-message-type-signal): Declare variables. Remove local
12579 (dbus-interface-dbus, dbus-interface-peer)
12580 (dbus-interface-introspectable, dbus-interface-properties)
12581 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
12583 (dbus-interface-objectmanager): New defconst.
12584 (dbus-call-method, dbus-call-method-asynchronously)
12585 (dbus-send-signal, dbus-method-return-internal)
12586 (dbus-method-error-internal, dbus-register-service)
12587 (dbus-register-signal, dbus-register-method): New defuns, moved
12589 (dbus-call-method-handler, dbus-setenv)
12590 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
12592 (dbus-call-method-non-blocking): Make it an obsolete function.
12593 (dbus-unregister-object, dbus-unregister-service)
12594 (dbus-handle-event, dbus-register-property)
12595 (dbus-property-handler): Obey the new structure of
12596 `bus-registered-objects'.
12597 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
12598 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
12599 Use `dbus-call-method'.
12601 2012-04-22 Chong Yidong <cyd@gnu.org>
12603 * cus-edit.el (custom-commands, custom-reset-menu)
12604 (Custom-reset-standard): Tweak labels.
12605 (custom-reset-button-menu): Change default to t.
12606 (custom-buffer-create-internal): For the custom-reset-button-menu
12607 case, put the revert button first.
12608 (custom-group-subtitle): New face.
12609 (custom-group-value-create): Align docstring to a specific column.
12611 * wid-edit.el (widget-documentation-link-add): Don't handle
12612 indentation in this function.
12613 (widget-documentation-string-indent-to): New function.
12614 (widget-documentation-string-value-create): Use it.
12616 * autorevert.el (auto-revert):
12617 * epg-config.el (epg):
12618 * ibuffer.el (ibuffer):
12621 * eshell/eshell.el (eshell):
12622 * net/ange-ftp.el (ange-ftp):
12623 * progmodes/ebnf2ps.el (postscript):
12624 * progmodes/flymake.el (flymake):
12625 * progmodes/prolog.el (prolog):
12626 * progmodes/verilog-mode.el (verilog-mode):
12627 * progmodes/which-func.el (which-func):
12628 * term/xterm.el (xterm):
12629 * textmodes/picture.el (picture):
12630 * textmodes/tildify.el (tildify):
12631 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
12632 customization buffers.
12634 2012-04-22 Alan Mackenzie <acm@muc.de>
12636 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
12637 Adding a ) can hide the resulting (..) from searches. Fix it.
12638 Bound the backward search to the position of the existing (.
12640 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
12642 * progmodes/verilog-mode.el (verilog-mode): Check whether
12643 which-func-modes is t before adding verilog-mode.
12644 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
12646 2012-04-21 Leo Liu <sdl.web@gmail.com>
12648 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
12650 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
12652 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
12653 filling of the last column of a table (Bug#5635).
12654 (woman-find-next-control-line): New arg, specifying an additional
12655 regexp component for the control line.
12656 (woman2-roff-buffer): Use it.
12657 (woman-break-table): New function.
12658 (woman2-TS): Use it.
12660 2012-04-21 Chong Yidong <cyd@gnu.org>
12662 * woman.el (woman-set-buffer-display-table, woman-decode-region)
12663 (woman-horizontal-escapes, woman-negative-vertical-space)
12664 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
12665 (WoMan-warn-ignored): Use ?\s instead of ?\ .
12667 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
12669 * minibuffer.el (completion-file-name-table): Complete user names.
12671 2012-04-20 Leo Liu <sdl.web@gmail.com>
12673 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
12676 2012-04-20 Chong Yidong <cyd@gnu.org>
12678 * server.el (server-execute): Respect initial-buffer-choice if it
12679 is a string and there are no files to open (Bug#2825).
12680 (server-create-window-system-frame, server-create-tty-frame):
12681 Don't switch buffers here.
12682 (server-process-filter): Only try to open a window system frame if
12683 compiled with graphical support (Bug#8314).
12685 2012-04-20 Dan Nicolaescu <dann@gnu.org>
12687 * battery.el (battery-echo-area-format): Display remaining time
12688 for sysfs backend too (Bug#11269).
12689 (battery-linux-sysfs): Fix conditional for the charge.
12691 2012-04-20 Chong Yidong <cyd@gnu.org>
12693 * progmodes/gdb-mi.el (gdb): Revert previous change.
12694 (gdb-inferior-io--init-proc): New function.
12695 (gdb-init-1): Use it.
12696 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
12697 responsible for allocating a new pty and hooking it to gdb when
12698 the old pty gets an EIO due to process exit.
12699 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
12700 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
12701 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
12703 2012-04-20 Eli Zaretskii <eliz@gnu.org>
12705 * window.el (window-min-size, window-sizable, window-min-delta)
12706 (window-max-delta, window--resizable, window-resizable)
12707 (window-total-size, window-full-height-p, window-full-width-p)
12708 (window-in-direction, window--resize-mini-window, window-resize)
12709 (window--resize-child-windows-normal)
12710 (window--resize-child-windows, window--resize-siblings)
12711 (window--resize-this-window, adjust-window-trailing-edge)
12712 (enlarge-window, shrink-window): Doc fixes.
12714 2012-04-20 Chong Yidong <cyd@gnu.org>
12716 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
12717 New function to call delete-process on the gdb-inferior buffer's pty.
12718 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
12719 pty process (Bug#11273).
12720 (gdb-update): New arg to suppress talking to the gdb process.
12721 (gdb-done-or-error): Use it.
12722 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
12723 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
12724 sentinel not being called.
12726 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
12728 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
12730 2012-04-20 Glenn Morris <rgm@gnu.org>
12732 * net/network-stream.el (open-network-stream): Doc fix.
12734 2012-04-20 Chong Yidong <cyd@gnu.org>
12736 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
12738 2012-04-20 Alan Mackenzie <acm@muc.de>
12740 Ensure searching for keywords is case sensitive.
12742 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
12743 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
12744 (c-defun-name, c-mark-function, c-cpp-define-name)
12745 (c-comment-indent, c-scan-conditionals, c-indent-defun)
12746 (c-context-line-break): Bind case-fold-search to nil.
12748 * progmodes/cc-mode.el (c-font-lock-fontify-region):
12749 Bind case-fold-search to nil.
12751 2012-04-20 Chong Yidong <cyd@gnu.org>
12753 * mail/sendmail.el (mail-bury): Call return action with the right
12754 Rmail buffer (Bug#11242).
12756 * server.el (server-process-filter): Handle corner case where both
12757 tty and nowait options are present (Bug#11102).
12759 2012-04-20 Eli Zaretskii <eliz@gnu.org>
12761 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
12762 (top level): Put into the executable the ident-style '$Id:' tag on
12763 windows-nt as well.
12765 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
12767 * electric.el (electric-indent-post-self-insert-function): Check that
12768 electric-indent-mode is enabled in current buffer.
12770 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
12772 * imenu.el (imenu-progress-message): Restore; it is "used" in
12773 erc/erc-imenu.el and net/snmp-mode.el.
12775 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
12777 * avoid.el (mouse-avoidance-mode): Mark unused arg.
12778 (mouse-avoidance-nudge-mouse): Remove unused binding.
12780 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
12782 * descr-text.el (describe-char):
12783 * progmodes/python.el (python-describe-symbol):
12784 Don't call `toggle-read-only', set `buffer-read-only'.
12786 * imenu.el (imenu-default-goto-function): Mark unused args.
12787 (imenu-progress-message): Remove obsolete macro; all callers changed.
12789 * subr.el (keymap-canonicalize): Remove unused binding.
12790 (read-passwd): Mark unused arg.
12792 * tutorial.el (tutorial--display-changes): Remove unused binding.
12793 (tutorial--save-tutorial-to): Remove unused variable.
12795 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
12796 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
12797 (package-generate-autoloads, package-menu--generate)
12798 (package-menu--find-upgrades): Remove unused bindings.
12800 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
12801 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
12802 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
12803 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
12804 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
12805 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
12806 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
12807 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
12808 (cua-delete-char-rectangle): Mark unused args.
12809 (cua-align-rectangle): Remove unused binding.
12811 * mail/rmail.el (compilation--message->loc)
12812 (epa--find-coding-system-for-mime-charset): Declare.
12814 * net/dbus.el (dbus-register-service): Declare.
12815 (dbus-name-owner-changed-handler): Remove unused binding.
12817 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
12818 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
12819 (nxml-scan-backward-within): Mark unused arg.
12820 (nxml-dynamic-markup-word): Remove unused binding.
12822 * mouse.el (mouse-menu-major-mode-map):
12823 * emacs-lisp/authors.el (authors-scan-change-log)
12824 (authors-add-to-author-list):
12825 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
12826 * emacs-lisp/smie.el (smie-auto-fill):
12827 * mail/sendmail.el (mail-bury):
12828 * mail/unrmail.el (unrmail):
12829 * net/tls.el (open-tls-stream):
12830 * textmodes/picture.el (picture-mouse-set-point):
12831 Remove unused bindings.
12833 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
12835 * net/tramp.el (tramp-action-password): Let-bind
12836 `enable-recursive-minibuffers' to t.
12838 2012-04-18 Sam Steingold <sds@gnu.org>
12840 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
12841 instead of 'string to accommodate values like [f11].
12842 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
12843 * progmodes/gdb-mi.el: Likewise.
12845 2012-04-18 Leo Liu <sdl.web@gmail.com>
12847 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
12849 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
12852 2012-04-18 Chong Yidong <cyd@gnu.org>
12854 * simple.el (line-move): Use forward-line if in batch mode
12857 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
12859 * files.el (after-find-file): Do not try to add a final newline if
12860 the buffer is read-only (Bug#11156).
12862 2012-04-17 Richard Stallman <rms@gnu.org>
12864 * mail/rmail.el (rmail-start-mail):
12865 Pass (rmail-mail-return...) for the return-action.
12866 Pass (rmail-yank-current-message...) for the yank-action.
12867 (rmail-yank-current-message): New function.
12868 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
12869 (rmail-reply): Likewise.
12870 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
12872 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
12873 buffer, not the last. Reject temp buffers. Use the rmail-mode
12874 buffer, not newbuf.
12876 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
12878 * server.el (server-ensure-safe-dir): Simplify.
12880 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
12882 * emacs-lisp/smie.el: Provide smarter auto-filling.
12883 (smie-auto-fill): New function.
12884 (smie-setup): Use it.
12886 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
12888 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
12890 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
12891 (comment-indent): Use it.
12893 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
12895 * ses.el: The overall change is to add cell renaming, that is
12896 setting fancy names for cell symbols other than name matching
12897 "\\`[A-Z]+[0-9]+\\'" regexp .
12898 (ses-localvars): Add ses--renamed-cell-symb-list.
12899 (ses-create-cell-variable): New defun.
12900 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
12901 (ses-relocate-formula): Relocate formulas only for cells the
12902 symbols of which are not renamed, i.e. symbols whose names do not
12903 match regexp "\\`[A-Z]+[0-9]+\\'".
12904 (ses-relocate-all): Relocate values only for cells the symbols of
12905 which are not renamed.
12906 (ses-load): Create cells variables as the (ses-cell ...) are read,
12907 in order to check row col consistency with cell symbol name only
12908 for cells that are not renamed.
12909 (ses-replace-name-in-formula): New defun.
12910 (ses-rename-cell): New defun.
12912 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
12914 * progmodes/perl-mode.el (perl-indent-parens-as-block):
12915 New option (bug#11118).
12916 (perl-calculate-indent): Respect it.
12918 2012-04-17 Glenn Morris <rgm@gnu.org>
12920 * dired-aux.el (dired-mark-read-string): Doc fix.
12922 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
12924 * dired-aux.el (dired-mark-read-string): Offer optional completion.
12925 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
12927 2012-04-17 Glenn Morris <rgm@gnu.org>
12929 * mouse.el (mouse-drag-track):
12930 * speedbar.el (speedbar-frame-mode):
12931 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
12933 2012-04-16 Leo Liu <sdl.web@gmail.com>
12935 * progmodes/python.el: Trivial cleanup.
12937 2012-04-16 Glenn Morris <rgm@gnu.org>
12939 * vc/vc.el (vc-string-prefix-p):
12940 * vc/pcvs-util.el (cvs-string-prefix-p):
12941 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
12942 * mpc.el (mpc-string-prefix-p):
12943 Make all of these into obsolete aliases for string-prefix-p.
12945 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
12947 * textmodes/two-column.el: Move custom options to the start.
12948 (frame-width): Remove compat definition.
12949 (2C-associate-buffer, 2C-dissociate):
12950 Use with-current-buffer rather than save-excursion.
12951 (2C-dissociate): Force a mode-line update.
12952 (2C-autoscroll): Use ignore-errors.
12954 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
12957 * emacs-lisp/cl-extra.el (*random-state*):
12958 Remove unnecessary declaration.
12960 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
12962 * play/cookie1.el (cookie-snarf):
12963 Give an explicit error if input file cannot be read.
12965 * play/yow.el (yow-file): Use expand-file-name rather than concat.
12967 * progmodes/perl-mode.el (c-macro-expand):
12968 Remove unnecessary autoload (it is in loaddefs.el).
12970 * textmodes/picture.el (picture-desired-column)
12971 (picture-update-desired-column): Convert comments to doc-strings.
12972 (picture-substitute): Remove function.
12973 (picture-mode-map): Initialize in the defvar.
12975 * woman.el: Remove eval-after-load for tar-mode.
12976 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
12977 (woman-tar-extract-file): Autoload it.
12979 * frame.el (automatic-hscrolling): Make this alias obsolete.
12981 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12983 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
12984 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
12985 (ispell-dictionary-base-alist): Revert to original XEmacs
12986 friendly version for default. [:alpha:] will be added in
12987 `ispell-set-spellchecker-params' if needed.
12989 2012-04-16 Chong Yidong <cyd@gnu.org>
12991 * image.el (imagemagick--file-regexp): New variable.
12992 (imagemagick-register-types): Use it.
12993 (imagemagick-types-inhibit): Add :set function. Allow new value
12994 of t to inhibit all types.
12996 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
12997 so we can preload it.
12999 * loadup.el (fboundp): Preload regexp-opt, needed by
13000 imagemagick-register-types.
13002 2012-04-15 Chong Yidong <cyd@gnu.org>
13004 * frame.el (scrolling): Remove nearly unused customization group.
13006 * scroll-all.el (scroll-all-mode): Move to windows group.
13008 2012-04-15 Chong Yidong <cyd@gnu.org>
13010 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
13012 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
13014 Avoid the use of ((lambda ...) ...) in lexical-binding code.
13015 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
13017 2012-04-15 Glenn Morris <rgm@gnu.org>
13019 * simple.el (process-file-side-effects): Doc fix.
13021 2012-04-15 Glenn Morris <rgm@gnu.org>
13023 * international/mule-cmds.el (set-language-environment): Doc fix.
13025 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
13027 * server.el (server-auth-key, server-generate-key): Doc fixes.
13028 (server-get-auth-key): Doc fix. Use `string-match-p'.
13029 (server-start): Reflow docstring.
13031 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
13033 * server.el (server-generate-key): `called-interactively-p'
13034 requires a parameter.
13036 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
13038 * server.el (server-auth-key): New variable.
13039 (server-generate-key, server-get-auth-key): New function.
13040 (server-start): Use the new variable and functions to allow
13041 setting a permanent server key (bug#9423).
13043 2012-04-14 Leo Liu <sdl.web@gmail.com>
13045 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
13047 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
13050 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
13051 Emacs uses American spelling.
13053 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
13055 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
13056 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
13057 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
13058 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
13060 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
13062 * progmodes/which-func.el (which-func-modes): Change default.
13064 2012-04-14 Kim F. Storm <storm@cua.dk>
13066 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
13067 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
13069 2012-04-14 Chong Yidong <cyd@gnu.org>
13071 * custom.el (custom-theme-set-variables): Doc fix.
13073 2012-04-14 Glenn Morris <rgm@gnu.org>
13075 * international/mule.el (set-auto-coding-for-load): Doc fix.
13077 2012-04-14 Alan Mackenzie <acm@muc.de>
13079 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
13080 imenu work again for Objective C Mode. Correct the *-index values,
13081 these having been disturbed by a previous change in 2011-08.
13083 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
13084 Correct two search limits.
13086 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
13088 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
13090 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
13092 * international/characters.el: Fix sorting.
13094 2012-04-14 Eli Zaretskii <eliz@gnu.org>
13096 * international/characters.el: Add more missing Latin case pairs.
13098 2012-04-14 Glenn Morris <rgm@gnu.org>
13100 * files.el (dir-locals-set-class-variables): Doc fix.
13102 2012-04-14 Eli Zaretskii <eliz@gnu.org>
13104 * international/characters.el: Add set-case-syntax-pair call for
13105 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
13106 counterpart. (Bug#11209)
13108 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
13110 2012-04-14 Glenn Morris <rgm@gnu.org>
13112 * calendar/holidays.el (calendar-check-holidays): Doc fix.
13114 2012-04-14 Eli Zaretskii <eliz@gnu.org>
13116 * textmodes/ispell.el (ispell-dictionary-base-alist):
13117 Add data for Hebrew.
13119 2012-04-14 Chong Yidong <cyd@gnu.org>
13121 * net/rcirc.el (rcirc-cmd-quit):
13122 Revert 2012-03-18 change (Bug#11192).
13124 2012-04-14 Glenn Morris <rgm@gnu.org>
13126 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
13128 2012-04-14 Eli Zaretskii <eliz@gnu.org>
13130 * minibuffer.el (completion-in-region-mode-map):
13131 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
13133 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
13135 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
13137 2012-04-13 Masatake YAMATO <yamato@redhat.com>
13139 * minibuffer.el (minibuffer-local-filename-syntax): New variable
13140 to allow `C-M-f' and `C-M-b' to move to the nearest path
13141 separator (bug#9511).
13143 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
13145 * avoid.el: Require cl when compiling. And also move the
13146 `provide' to the end.
13148 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13150 * avoid.el (mouse-avoidance-banish-position): New variable.
13151 (mouse-avoidance-banish-destination): Use it (bug#10165).
13153 2012-04-13 Leo Liu <sdl.web@gmail.com>
13155 * progmodes/which-func.el (which-func-modes): Add objc-mode.
13157 2012-04-13 Ken Brown <kbrown@cornell.edu>
13159 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
13160 this is no longer needed now that cygstart understands file:// URLs.
13161 (browse-url-filename-alist): For the same reason, don't modify
13162 file:// URLs on Cygwin.
13164 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
13166 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
13167 the region on shift if the binding is already shifted (bug#11221).
13169 2012-04-12 Glenn Morris <rgm@gnu.org>
13171 * mail/mailpost.el: Move to obsolete/.
13173 2012-04-12 Drew Adams <drew.adams@oracle.com>
13175 * imenu.el (imenu--generic-function): Ignore invisible definitions
13178 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
13180 * hexl.el (hexl-bits): New variable.
13181 (hexl-options): Mention the variable in the doc string.
13182 (hexl-rulerise, hexl-line-displen): New functions.
13183 (hexl-mode): Mention the new variable.
13184 (hexl-mode, hexl-current-address, hexl-current-address):
13186 (hexl-ascii-start-column): New function.
13187 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
13188 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
13190 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13192 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
13193 '("-i" ENCODING), in 2 separate command-line arguments, to specify
13194 the encoding, as expected by hunspell.
13196 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
13198 * battery.el (battery--linux-sysfs-regexp): New const.
13199 (battery-status-function): Use it. Remove yeeloong special case.
13200 (battery-yeeloong-sysfs): Remove.
13201 (battery-echo-area-format): Remove yeeloong special case.
13203 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
13205 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
13206 Reported by Noah Friedman.
13208 * subr.el (read-passwd): Use read-string.
13210 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
13212 * vcursor.el (vcursor-move): Increase the priority of the overlay
13215 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
13217 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
13218 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
13220 2012-04-11 William Stevenson <yhvh2000@gmail.com>
13222 * textmodes/artist.el (artist-mode): Convert artist-mode to use
13223 define-minor-mode (bug#10760).
13225 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
13227 * progmodes/grep.el (rgrep): Tweak the find command line so
13228 that directories matching `grep-find-ignored-files' won't be
13229 pruned (bug#10351).
13231 2012-04-11 Chong Yidong <cyd@gnu.org>
13233 * startup.el (command-line): Remove support for long-obsolete
13234 variable font-lock-face-attributes.
13236 2012-04-11 Glenn Morris <rgm@gnu.org>
13238 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
13240 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
13242 * window.el (window--state-get-1): Obey window-point-insertion-type.
13244 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
13246 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
13247 to previous function when point is on the first character of a
13248 function. Take care of that in `narrow-to-defun' (bug#6157).
13250 2012-04-11 Glenn Morris <rgm@gnu.org>
13252 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
13253 not just file-errors.
13255 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
13256 (vc-bzr-sha1): Use internal sha1.
13258 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
13260 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
13262 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
13264 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
13265 that start in the middle of the line (bug#10496).
13267 2012-04-10 Dan Nicolaescu <dann@gnu.org>
13269 * battery.el (battery-linux-proc-acpi): Only one battery is
13270 discharged at a time, but that seems to confuse battery.el when
13271 computing `rate-type' for the battery not being discharged
13274 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
13276 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
13278 * international/quail.el: Use dolist and simplify.
13279 (quail-define-package, quail-update-keyboard-layout)
13280 (quail-define-rules): Use dolist.
13281 (quail-insert-kbd-layout, quail-get-translation): CSE.
13283 * tmm.el: Use dolist, remove left over hook.
13284 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
13286 (calendar-load-hook): Don't mess with it.
13288 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
13289 Use derived-mode-p. Run the diff asynchronously.
13291 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
13293 * obsolete/mouse-sel.el: Add an Obsolete-since header.
13295 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
13297 * misc.el: Display absolute path of loaded DLLs (bug#10424).
13298 (list-dynamic-libraries--loaded): New function.
13299 (list-dynamic-libraries--refresh): Use it.
13301 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
13303 * progmodes/python.el (python-fill-paragraph):
13304 Make python-fill-region in a multiline string work when font-lock is
13305 disabled (bug#7018).
13307 2012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
13309 * language/european.el (cp775): Add oem/legacy (en)coding on
13310 DOS/MS Windows for the Baltic languages. There are still plenty
13311 of texts written in this encoding/codepage (bug#6519).
13313 2012-04-10 Glenn Morris <rgm@gnu.org>
13315 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
13316 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
13318 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
13320 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
13321 next-line "n" and previous-line "p" in order to make recentf more
13322 consistent with ibuffer, dired or org-mode (bug#9387).
13324 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
13326 * image.el (put-image): Return the overlay created instead of the
13327 optional input string (bug#7834). Note that this may break code
13328 that is (for some reason or other) depending on `put-image'
13329 returning the string.
13331 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
13333 * simple.el (zap-to-char): Allow zapping using input methods
13336 * textmodes/fill.el (fill-region): Leave point and mark where they
13337 were before filling (bug#5399).
13339 2012-04-09 Glenn Morris <rgm@gnu.org>
13341 * version.el (emacs-bzr-get-version):
13342 Handle lightweight checkouts of local branches.
13344 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
13346 * international/characters.el: Recover lost case pairs. (Bug#11209)
13348 2012-04-09 Chong Yidong <cyd@gnu.org>
13350 * custom.el (custom-variable-p): Return nil for non-symbol
13351 arguments instead of signaling an error.
13352 (user-variable-p): Obsolete alias for custom-variable-p.
13354 * apropos.el (apropos-variable):
13355 * files-x.el (read-file-local-variable):
13356 * simple.el (set-variable):
13357 * woman.el (woman-mini-help):
13358 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
13360 2012-04-09 Glenn Morris <rgm@gnu.org>
13362 * startup.el (normal-top-level): Don't look for leim-list.el
13363 in places where it will not be found. (Bug#910)
13365 * international/mule-cmds.el (set-default-coding-systems):
13366 * files.el (normal-mode):
13367 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
13368 This function was removed with ucs-tables.el in 2008.
13370 2012-04-08 Eli Zaretskii <eliz@gnu.org>
13372 * textmodes/ispell.el (ispell-check-version): For hunspell, set
13373 ispell-encoding8-command to "-i", without a trailing space.
13374 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
13375 separate command-line arguments, to specify the encoding, since
13376 that's how hunspell expects it.
13378 2012-04-08 Glenn Morris <rgm@gnu.org>
13380 * loadup.el: Load bindings before cus-start.
13381 This reduces somewhat the number of "rogue" settings in emacs -Q.
13383 2012-04-07 Glenn Morris <rgm@gnu.org>
13385 * version.el (emacs-bzr-get-version): New function.
13386 (emacs-bzr-version): New variable.
13387 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
13388 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
13390 2012-04-07 Eli Zaretskii <eliz@gnu.org>
13392 * international/uni-bidi.el, international/uni-category.el:
13393 * international/uni-combining.el, international/uni-decimal.el:
13394 * international/uni-decomposition.el, international/uni-digit.el:
13395 * international/uni-lowercase.el, international/uni-mirrored.el:
13396 * international/uni-name.el, international/uni-numeric.el:
13397 * international/uni-titlecase.el, international/uni-uppercase.el:
13398 Update for Unicode 6.1.
13400 2012-04-07 Eli Zaretskii <eliz@gnu.org>
13402 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
13404 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
13406 * window.el (shrink-window): Mention the `window-min-height'
13407 variable in the doc string.
13409 2012-04-05 Bastien Guerry <bzg@altern.org>
13411 * color.el (color-lighten-name): Fix typo.
13413 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
13415 * server.el (server--on-display-p): New function.
13416 (server--on-display-p): Use it.
13418 2012-04-04 Gábor Vida <vidagabor@gmail.com> (tiny change)
13420 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
13423 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
13425 * comint.el (comint--common-quoted-suffix): Check string boundary
13426 before comparing (bug#11158).
13427 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
13429 2012-04-04 Chong Yidong <cyd@gnu.org>
13431 * minibuffer.el (completion-extra-properties): Doc fix.
13433 * subr.el (delayed-warnings-hook): Doc fix.
13435 2012-04-04 Daiki Ueno <ueno@unixuser.org>
13437 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
13438 selection (Bug#11159).
13439 (epa-insert-keys): Inform that the default public key will be
13440 exported if no key is selected.
13442 2012-04-04 Richard Stallman <rms@gnu.org>
13444 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
13446 2012-04-03 Chong Yidong <cyd@gnu.org>
13448 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
13449 mail-insert-file, not its obsolete alias mail-attach-file.
13451 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
13453 * notifications.el (notifications-notify): Fix docstring.
13455 2012-04-02 Glenn Morris <rgm@gnu.org>
13457 * emacs-lisp/authors.el (authors-aliases): Another addition.
13459 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
13461 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
13462 `tramp-compat-call-process' instead of `tramp-local-call-process'.
13463 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
13465 2012-04-01 Chong Yidong <cyd@gnu.org>
13467 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
13468 Handle root directory properly.
13469 (copy-directory): Caller changed.
13471 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
13472 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
13474 2012-03-31 Glenn Morris <rgm@gnu.org>
13476 * term/xterm.el (xterm-extra-capabilities): Doc fix.
13478 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
13480 * calendar/calendar.el (calendar-window-list)
13481 (calendar-hide-window): Restore. (Bug#11140)
13482 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
13484 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
13486 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13488 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
13489 Check if file is a symlink (Bug#10489).
13491 * files.el (copy-directory): Likewise.
13493 2012-03-30 Chong Yidong <cyd@gnu.org>
13495 * image.el (imagemagick-types-inhibit)
13496 (imagemagick-register-types): Doc fix.
13498 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13500 * textmodes/ispell.el (ispell-get-extended-character-mode):
13501 Disable extended-char-mode for hunspell. hunspell does not support it
13502 and treats ~word as ordinary words in pipe mode.
13504 2012-03-30 Glenn Morris <rgm@gnu.org>
13506 * tutorial.el (help-with-tutorial): Ensure local variables don't
13507 happen to make the buffer read-only. (Bug#11127)
13509 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
13511 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
13512 (perl-calculate-indent): Return `noindent' in strings.
13514 2012-03-28 Sam Steingold <sds@gnu.org>
13516 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
13517 instead of the broken adhockery which does not prevent calendar
13518 buffers from being displayed at random after exit.
13519 (calendar-window-list, calendar-hide-window): Remove the broken
13522 2012-03-28 Glenn Morris <rgm@gnu.org>
13524 * replace.el (query-replace-map): Doc fix.
13526 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
13528 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
13529 contents. (Bug#11109)
13531 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
13533 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
13535 (avl-tree--check, avl-tree--check-node): New funs.
13537 2012-03-27 Martin Rudalics <rudalics@gmx.at>
13539 * window.el (switch-to-visible-buffer): New option.
13540 (switch-to-prev-buffer, switch-to-next-buffer):
13541 Observe switch-to-visible-buffer. Make sure that checking for a window
13542 showing a buffer already is done on the same frame.
13544 2012-03-27 Glenn Morris <rgm@gnu.org>
13546 * startup.el (mail-host-address): Doc fix.
13548 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
13550 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
13551 than 197 variables.
13553 2012-03-26 Ami Fischman <ami@fischman.org>
13555 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
13557 2012-03-26 Glenn Morris <rgm@gnu.org>
13559 * files.el (save-buffers-kill-emacs): Doc fix.
13561 * startup.el (normal-top-level, command-line, command-line-1):
13562 Give them doc strings.
13564 2012-03-25 Eli Zaretskii <eliz@gnu.org>
13566 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
13567 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
13569 2012-03-25 Chong Yidong <cyd@gnu.org>
13571 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
13572 theme if it was previously enabled before (Bug#11031).
13574 * cus-theme.el (custom-theme-write-faces): Retrieve current face
13575 spec with custom-face-get-current-spec if its :shown-value is not
13576 determined yet (Bug#9337).
13577 (customize-create-theme, custom-theme-revert): Doc fixes.
13579 * button.el (button-at): Minor addition to docstring.
13581 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
13583 * vc/vc.el (vc-merge): Fix a prompt.
13585 2012-03-24 Chong Yidong <cyd@gnu.org>
13587 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
13590 * button.el (button-at): Minor addition to docstring.
13592 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
13594 * newcomment.el (comment-choose-indent): No space after BOL.
13596 2012-03-22 Sam Steingold <sds@gnu.org>
13598 * window.el (switch-to-prev-buffer): Revert last patch because the
13599 bug turned out to be an advertised feature (Elisp manual 28.14).
13601 2012-03-22 Glenn Morris <rgm@gnu.org>
13603 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
13604 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
13606 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
13608 * net/network-stream.el (network-stream-open-starttls): Make error
13609 message under Windows be less misleading.
13611 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
13613 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
13614 understands (bug#9942).
13616 2012-03-22 Chong Yidong <cyd@gnu.org>
13618 * simple.el (end-of-visible-line): Handle return value of
13619 next-single-property-change properly (Bug#9371).
13621 2012-03-22 Kenichi Handa <handa@m17n.org>
13623 * international/quail.el (quail-insert-kbd-layout): Fix previous
13624 change. To avoid unwanted bidi reordering, use
13625 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
13627 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
13629 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
13630 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
13631 (ruby-beginning-of-indent): Be more careful with the difference
13632 between word-boundary and symbol boundary.
13633 (ruby-mode-syntax-table): Make : a symbol constituent.
13635 2012-03-21 Andreas Politz <politza@fh-trier.de>
13637 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
13639 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
13641 * progmodes/etags.el (tags-completion-at-point-function):
13644 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
13646 2012-03-21 Sam Steingold <sds@gnu.org>
13648 * progmodes/etags.el (tags-completion-at-point-function):
13649 Avoid the error when point is inside the pattern.
13651 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
13653 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
13656 2012-03-21 Drew Adams <drew.adams@oracle.com>
13658 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
13660 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
13662 * ido.el (ido-set-current-directory, ido-read-internal)
13663 (ido-choose-completion-string, ido-completion-help): Handle nil
13664 value of ido-completion-buffer (Bug#11008).
13666 2012-03-21 Sam Steingold <sds@gnu.org>
13668 * window.el (switch-to-prev-buffer): Do not switch to a visible
13669 window previous buffer, just like with the frame previous buffers.
13671 2012-03-21 Chong Yidong <cyd@gnu.org>
13673 * faces.el (make-face, make-empty-face, copy-face):
13674 * face-remap.el (face-remap-add-relative, face-remap-set-base):
13677 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
13679 * wid-edit.el (widget-complete-field): Remove (bug#11051).
13680 (widget-complete): Remove broken use of it.
13682 2012-03-20 Chong Yidong <cyd@gnu.org>
13684 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
13685 Use string-width and truncate-string-width to handle arbitrary
13688 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
13690 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
13691 to draw rectangles, not squares. (Regression introduced by revno
13692 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
13694 2012-03-18 Chong Yidong <cyd@gnu.org>
13696 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
13697 it is not yet defined (for temacs).
13699 2012-03-18 Leo Liu <sdl.web@gmail.com>
13701 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
13704 2012-03-17 Eli Zaretskii <eliz@gnu.org>
13706 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
13707 (ispell-choices-win-default-height, ispell-silently-savep)
13708 (ispell-dictionary-alist, ispell-encoding8-command)
13709 (ispell-check-version, ispell-aspell-find-dictionary)
13710 (ispell-valid-dictionary-list, ispell-words-keyword)
13711 (ispell-get-word, ispell-internal-change-dictionary)
13712 (ispell-region, ispell-skip-region-list)
13713 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
13714 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
13715 (ispell-message-text-end, ispell-message)
13716 (ispell-buffer-local-parsing): Doc fix.
13718 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
13720 * htmlfontify.el: Add support for code block fontification for ODT
13721 export (Bug #9914).
13722 (hfy-optimisations): Define new option
13724 (hfy-fontify-buffer): Honor above setting.
13725 (hfy-begin-span, hfy-end-span): New routines factored out form
13726 `hfy-fontify-buffer'.
13727 (hfy-begin-span-handler, hfy-end-span-handler): New variables
13728 that permit insertion of custom tags.
13729 (hfy-fontify-buffer): Use above handlers.
13730 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
13731 (hfy-face-to-css): Re-defined to be a variable.
13732 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
13733 over multiple runs. This is made possible by having the caller let
13734 bind a special variable `hfy-user-sheet-assoc'.
13735 (htmlfontify-string): New defun.
13736 (hfy-compile-face-map): Make sure that the last char in the
13737 buffer is correctly fontified.
13738 (hfy-face-resolve-face): Whitespace only change.
13740 2012-03-17 Eli Zaretskii <eliz@gnu.org>
13742 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
13743 message more clear.
13745 2012-03-16 Leo Liu <sdl.web@gmail.com>
13747 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
13749 2012-03-16 Alan Mackenzie <acm@muc.de>
13751 Further optimize the handling of large macros.
13753 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
13754 limit to a call of `c-literal-limits'.
13755 (c-determine-+ve-limit): New function.
13756 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
13757 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
13758 In CASE 5B, restrict a search limit to 500.
13759 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
13761 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
13762 Restrict macro bounds to +-500 from after-change's BEG END.
13764 2012-03-16 Leo Liu <sdl.web@gmail.com>
13766 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
13768 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
13770 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
13771 `special-mode' setting of `buffer-read-only'. (Bug#11010)
13773 2012-03-16 Glenn Morris <rgm@gnu.org>
13775 * view.el (view-buffer, view-buffer-other-window)
13776 (view-buffer-other-frame): Doc fixes re special mode-class.
13778 * subr.el (eval-after-load): If named feature is provided not from
13779 a file, run after-load forms. (Bug#10946)
13781 * calendar/calendar.el (calendar-insert-at-column):
13782 Handle non-unit-width characters a bit better. (Bug#10978)
13784 2012-03-15 Chong Yidong <cyd@gnu.org>
13786 * emacs-lisp/ring.el (ring-extend): New function.
13787 (ring-insert+extend): Extend the ring correctly (Bug#11019).
13789 * comint.el (comint-read-input-ring)
13790 (comint-add-to-input-history): Grow comint-input-ring lazily.
13792 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
13794 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
13795 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
13797 * imenu.el: Fix multiple inheritance breakage (bug#9199).
13798 (imenu-add-to-menubar): Don't add a redundant index.
13799 (imenu-update-menubar): Handle a dynamically composed keymap.
13801 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
13803 * mail/sendmail.el (mail-encode-header):
13804 Bind rfc2047-encode-encoded-words to nil.
13806 2012-03-13 Glenn Morris <rgm@gnu.org>
13808 * calendar/calendar.el (calendar-string-spread):
13809 Handle non-unit-width characters a bit better. (Bug#10978)
13811 2012-03-13 Leo Liu <sdl.web@gmail.com>
13813 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
13814 directory and file as argument (Bug#10822).
13816 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
13818 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
13819 For dynamically generated code, follow $PC.
13820 (gdb-disassembly-handler-custom): Handle no function name case.
13822 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
13824 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
13825 * emulation/ws-mode.el (ws-query-replace):
13826 * sort.el (sort-regexp-fields):
13827 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
13829 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13831 * dabbrev.el: Fix cycle completion order (bug#10963).
13832 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
13833 (dabbrev-completion): Don't use an obarray; provide
13834 a cycle-sort-function.
13836 2012-03-12 Leo Liu <sdl.web@gmail.com>
13838 * simple.el (kill-new): Use equal-including-properties for comparison.
13839 (kill-do-not-save-duplicates): Doc fix.
13841 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13843 * dabbrev.el: Fix cycle completion (bug#10963).
13844 Use lexical binding and wrap to 80 columns.
13845 (dabbrev-completion): Delay computing the list of completions.
13847 2012-03-12 Kenichi Handa <handa@m17n.org>
13849 * international/quail.el (quail-insert-kbd-layout): Surround each
13850 row by LRO and PDF instead of inserting many LRMs. Pad the left
13851 and right of each non-spacing marks. Insert invisible space
13852 between lower and upper characters to prevent composition.
13854 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13856 * minibuffer.el (minibuffer-complete): Don't get confused when the
13857 function is run twice via different commands (bug#10958).
13858 (complete-with-action): Fix docstring.
13860 2012-03-12 Chong Yidong <cyd@gnu.org>
13862 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
13863 (nxml-completion-at-point-function): New function.
13864 (nxml-mode): Use it.
13865 (nxml-bind-meta-tab-to-complete-flag): Default to t.
13867 * emacs-lisp/package.el (package-unpack, package-unpack-single):
13868 Load generated autoloads file before byte compiling (Bug#10970).
13869 (package--make-autoloads-and-compile): New helper fun.
13871 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
13873 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
13875 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
13877 * autorevert.el (auto-revert-handler): Ensure, that
13878 file-readable-p is applied only for local files or in
13879 auto-revert-tail-mode.
13881 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
13883 * server.el (server-eval-at): Handle non-tcp connections.
13884 Decode result string.
13886 * server.el (server-msg-size): New constant.
13887 (server-reply-print): New function.
13888 (server-eval-and-print): Use it.
13889 (server-eval-at): Use server-quote-arg and server-unquote-arg.
13890 Handle -print-nonl.
13892 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
13894 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
13897 2012-03-11 Chong Yidong <cyd@gnu.org>
13899 * simple.el (goto-line): Doc fix (Bug#9938).
13901 * subr.el (save-window-excursion): Doc fix (Bug#9979).
13903 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
13904 when finished (Bug#10963).
13906 2012-03-11 Martin Rudalics <rudalics@gmx.at>
13908 * window.el (split-window-below): Fix bug in case where
13909 split-window-keep-point is nil (Bug#10971).
13911 2012-03-11 Juri Linkov <juri@jurta.org>
13913 * replace.el (replace-highlight): Set isearch-word to nil
13914 unconditionally. (Bug#10887)
13916 2012-03-10 Eli Zaretskii <eliz@gnu.org>
13918 * net/mairix.el (mairix-replace-invalid-chars): Rename from
13919 mairix-replace-illegal-chars; all callers changed. Don't remove
13920 ^, ~, and = characters: they are meaningful in mairix search specs.
13921 (mairix-widget-create-query): Add usage information about mairix
13922 search forms: negating words, searching for substrings, etc.
13924 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
13926 * international/fontset.el (font-encoding-alist): Add an entry for
13927 ksx1001 (Bug#5667).
13929 2012-03-10 Richard Stallman <rms@gnu.org>
13931 * mail/sendmail.el (mail-encode-header):
13932 Set rfc2047-encode-encoded-words.
13934 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
13936 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
13937 view buffer means not swapped.
13938 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
13939 (rmail-write-region-annotate): Error if real text has disappeared.
13941 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
13943 2012-03-10 Chong Yidong <cyd@gnu.org>
13945 * emulation/cua-rect.el (cua--init-rectangles):
13946 * emulation/cua-base.el (cua--init-keymaps):
13947 Add delete-forward-char to remappings (Bug#9666).
13949 2012-03-10 Martin Rudalics <rudalics@gmx.at>
13951 * speedbar.el (speedbar-unhighlight-one-tag-line):
13952 Avoid unhighlighting due to frame switching (Bug#10275).
13954 2012-03-10 Chong Yidong <cyd@gnu.org>
13956 * minibuffer.el (completion-in-region, completion-help-at-point):
13957 Give the completion field overlay a high priority (Bug#6830).
13959 * dired.el (dired-goto-file): Recognize absolute file name
13960 listings (Bug#7126).
13961 (dired-goto-file-1): New helper function.
13962 (dired-toggle-read-only): Inhibit warnings.
13964 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
13966 * net/dbus.el (dbus-property-handler): Return empty array if
13967 there are no properties.
13969 2012-03-09 Leo Liu <sdl.web@gmail.com>
13971 * savehist.el (savehist-printable): Stricter check for string
13974 2012-03-09 Eli Zaretskii <eliz@gnu.org>
13976 * mail/smtpmail.el (smtpmail-send-it):
13977 Bind coding-system-for-write to *-unix, so that FCC files are kept in
13980 2012-03-09 Glenn Morris <rgm@gnu.org>
13982 * files.el (dir-locals-find-file):
13983 Don't check result is regular, readable.
13984 (dir-locals-read-from-file): Demote errors.
13986 2012-03-08 Eli Zaretskii <eliz@gnu.org>
13988 * international/quail.el (quail-insert-kbd-layout):
13989 Insert invisible LRM characters before each character in a keyboard
13990 layout cell, to prevent their reordering by bidi display engine.
13991 For details, see the discussion in
13992 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
13994 2012-03-08 Alan Mackenzie <acm@muc.de>
13996 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
13997 the starting position; make it extend the marked region when
13998 invoked repeatedly - all under appropriate circumstances.
13999 Fixes bugs #5525, #10906.
14001 2012-03-08 Glenn Morris <rgm@gnu.org>
14003 * files.el (locate-dominating-file, dir-locals-find-file):
14004 Undo 2012-03-06 change.
14006 2012-03-07 Eli Zaretskii <eliz@gnu.org>
14008 * international/quail.el (quail-help):
14009 Force bidi-paragraph-direction be left-to-right. See discussion in
14010 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
14013 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
14015 Avoid superfluous registering of signals. (Bug#10807)
14017 * notifications.el (notifications-on-action-object)
14018 (notifications-on-close-object): New defvars.
14019 (notifications-on-action-signal, notifications-on-closed-signal):
14020 Unregister the signal if not needed any longer.
14021 (notifications-notify): Register `notifications-action-signal' or
14022 `notifications-closed-signal', if :on-action or :on-close has been
14023 passed as argument.
14025 2012-03-07 Chong Yidong <cyd@gnu.org>
14027 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
14030 2012-03-06 Glenn Morris <rgm@gnu.org>
14032 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
14033 (x-disown-selection-internal, x-get-selection-internal):
14034 Doc fix (add arglist signatures). (Bug#10783)
14036 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
14038 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
14039 Handle breakpoints with no "type".
14041 2012-03-06 Glenn Morris <rgm@gnu.org>
14043 * files.el (locate-dominating-file): Add optional predicate argument.
14044 (dir-locals-find-file): Make use of above change.
14046 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
14048 * info.el (Info-insert-dir): Also try "dir.gz".
14050 2012-03-06 Glenn Morris <rgm@gnu.org>
14052 * files.el (dir-locals-find-file):
14053 Ignore non-readable or non-regular files. (Bug#10928)
14055 * files.el (locate-dominating-file): Doc fix.
14057 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
14059 * calendar/calendar.el (calendar-set-mode-line):
14060 `getenv' returns a string. (Bug#10951)
14062 2012-03-05 Leo Liu <sdl.web@gmail.com>
14064 * simple.el (backward-delete-char-untabify): Constrain point to
14067 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
14069 2012-03-05 Chong Yidong <cyd@gnu.org>
14071 * simple.el (count-words): If called from Lisp, return the word
14072 count, for symmetry with `count-lines'. Arglist changed.
14073 (count-words--message): Args changed. Consolidate counting code
14074 from count-words and count-words-region.
14075 (count-words-region): Caller changed.
14076 (count-lines-region): Make it an obsolete alias.
14078 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
14080 * saveplace.el (save-place-to-alist)
14081 (save-place-ignore-files-regexp): Allow value nil to disable this
14084 2012-03-04 Chong Yidong <cyd@gnu.org>
14086 * faces.el (face-spec-reset-face): For the default face, reset the
14087 attributes to default values (Bug#10748).
14089 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
14091 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
14092 previous patch: Check `message-send-mail-function', and not the
14093 default function (bug#10897).
14095 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
14097 * notifications.el (notifications-on-action-signal)
14098 (notifications-on-closed-signal): Check for unique service name of
14099 incoming event. Fix error in removing entry.
14100 (top): Register for signals with wildcard service name.
14101 (notifications-notify): Use daemon unique service name for map entries.
14103 2012-03-04 Chong Yidong <cyd@gnu.org>
14105 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
14107 2012-03-04 Glenn Morris <rgm@gnu.org>
14109 * abbrev.el (copy-abbrev-table, abbrev-table-p)
14110 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
14111 (expand-abbrev, define-abbrev-table): Doc fixes.
14113 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
14115 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
14116 `message-default-send-mail-function' and not `send-mail-function'
14117 when doing the prompting for `sendmail-query-once' before sending
14118 in Message buffers (bug#10897).
14120 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
14121 This is inconsistent with all the other stream functions, which leave
14122 the setting up to the higher levels (if so wanted) (bug#10931).
14124 2012-03-02 Alan Mackenzie <acm@muc.de>
14126 Depessimize the handling of very large macros.
14128 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
14129 (c-macro-cache-syntactic): New variables to implement a one
14130 element macro cache.
14131 (c-invalidate-macro-cache): New function.
14132 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
14133 Adapt to use the new cache.
14134 (c-state-safe-place): Use better the cache of safe positions.
14135 (c-state-semi-nonlit-pos-cache)
14136 (c-state-semi-nonlit-pos-cache-limit):
14137 New variables for...
14138 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
14139 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
14140 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
14141 Use c-state-semi-safe-place.
14143 * progmodes/cc-langs.el (c-get-state-before-change-functions):
14144 Add c-invalidate-macro-cache to the C, C++, Obj entries.
14146 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
14148 * jka-compr.el (jka-compr-call-process):
14149 Apply `file-accessible-directory-p' only when the default directory is
14152 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
14154 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
14155 access of FILE2, if FILE1 does not exist.
14157 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
14158 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
14160 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
14161 Add "PAGER=" to `process-environment'.
14163 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
14165 * progmodes/sql.el: Bug fix
14166 (sql-get-login-ext): Save login values in globals.
14167 (sql-get-login): Use new version of `sql-get-login-ext'.
14168 (sql-interactive-mode): Set global `sql-connection' to nil.
14169 (sql-connect): Set global values for connection.
14170 (sql-product-interactive): Save global values as buffer local.
14172 2012-02-29 Leo Liu <sdl.web@gmail.com>
14174 * abbrev.el (define-abbrevs): Reset sys to nil.
14176 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14178 * files.el (file-equal-p): Rename from `files-equal-p'.
14179 Return nil when one or both files don't exist.
14180 (file-subdir-of-p): Now only top directory must exists,
14181 return nil if it doesn't.
14182 (copy-directory): No need to test with `file-subdir-of-p' after
14184 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
14187 2012-02-28 Glenn Morris <rgm@gnu.org>
14189 * shell.el (shell-mode):
14190 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
14191 * play/landmark.el (landmark-font-lock-face-O):
14192 * play/handwrite.el (handwrite):
14193 * play/gomoku.el (gomoku-O):
14194 * net/browse-url.el (browse-url-browser-display):
14195 * international/mule.el (define-charset):
14196 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
14197 * filesets.el (filesets-find-file-delay):
14198 * eshell/em-xtra.el (eshell-xtra):
14199 * eshell/em-unix.el (eshell-grep):
14200 * emulation/viper.el (viper-mode):
14201 * emacs-lisp/regexp-opt.el (regexp-opt-group):
14202 * emacs-lisp/easymenu.el (easy-menu-define):
14203 * calendar/timeclock.el (timeclock-use-display-time):
14205 * bookmark.el (bookmark-save-flag):
14206 Doc fix (standardize possessive apostrophe usage).
14208 2012-02-27 Chong Yidong <cyd@gnu.org>
14210 * emulation/viper-cmd.el (viper-intercept-ESC-key):
14211 Fix key-binding lookup for ESC key (Bug#9146).
14213 * font-lock.el (font-lock-specified-p): Rename from
14214 font-lock-spec-present. Callers changed.
14216 2012-02-27 Daniel Hackney <dan@haxney.org>
14218 * emacs-lisp/package.el (package-compute-transaction):
14219 Handle holding a package version to t in package-load-list.
14221 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
14223 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
14224 (tramp-get-inode, tramp-get-device): Use cached values.
14226 2012-02-26 Alan Mackenzie <acm@muc.de>
14228 Check there is a font-lock specification before doing initial
14231 * font-core.el (font-lock-mode): Move the conditional from
14232 :after-hook to font-lock-initial-fontify.
14233 (font-lock-default-function): Move the check for a specification
14234 to font-lock-spec-present.
14236 * font-lock.el (font-lock-initial-fontify): Call ...
14237 (font-lock-spec-present): New function.
14239 2012-02-26 Jim Blandy <jimb@red-bean.com>
14241 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
14242 (gdb-send): Apply it to the operand of the '-interpreter-exec
14243 console' command, so that we can pass arguments with (say) quotes
14244 in them. Store exact string sent in gdb-debug-log (Bug#10765).
14246 2012-02-26 Chong Yidong <cyd@gnu.org>
14248 * help-fns.el (describe-function-1): Clarify description of
14249 remapping (Bug#10844).
14251 * files.el (files-equal-p): Doc fix.
14252 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
14253 and quit the loop once a mismatch is found.
14255 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
14257 * bs.el (bs--show-with-configuration): Don't throw an error
14258 if the window cannot be split; otherwise, subsequent calls to
14259 bs-show fail, restoring a stale window config. (Bug#10882)
14261 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
14263 * term/ns-win.el (global-map): Bind ns-drag-file to
14264 ns-find-file (Bug#5855, Bug#10050).
14266 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
14268 * calendar/parse-time.el (parse-time-string): Allow extractor to
14271 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
14273 * net/tramp.el (tramp-file-name-for-operation):
14274 Add `files-equal-p' and `file-subdir-of-p'.
14276 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
14277 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
14278 Add COPY-CONTENTS argument.
14280 2012-02-25 Chong Yidong <cyd@gnu.org>
14282 Add custom groups for VC backends, for consistency with vc-bzr.
14284 * vc/vc-arch.el (vc-arch):
14285 * vc/vc-cvs.el (vc-cvs):
14286 * vc/vc-git.el (vc-git):
14287 * vc/vc-hg.el (vc-hg):
14288 * vc/vc-mtn.el (vc-mtn):
14289 * vc/vc-rcs.el (vc-rcs):
14290 * vc/vc-sccs.el (vc-sccs):
14291 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
14292 All relevant defcustoms reassigned.
14294 2012-02-25 Chong Yidong <cyd@gnu.org>
14296 * newcomment.el (comment-styles): Add autoload (Bug#10868).
14298 * term/x-win.el (x-initialize-window-system): Reduce default for
14299 x-selection-timeout to 5 seconds (Bug#8869).
14301 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14303 * files.el (files-equal-p, file-subdir-of-p): New functions.
14304 (copy-directory): Error when trying to copy a directory on itself.
14305 Add missing copy-contents arg to tramp handler.
14306 * dired-aux.el (dired-copy-file-recursive): Same.
14307 (dired-create-files): Modify destination when source is equal to
14308 dest when copying files.
14309 Return also when dest is a subdir of source. (Bug#10489)
14311 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
14313 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
14316 2012-02-23 Alan Mackenzie <acm@muc.de>
14318 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
14319 parameter "after-hook:" to allow the expansion to run code after
14320 the execution of the mode hooks.
14322 * font-lock.el (font-lock-initial-fontify): New function extracted
14323 from font-lock-mode-internal.
14325 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
14328 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
14330 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
14331 (completion--cache-all-sorted-completions): New function.
14332 (completion-all-sorted-completions): Use it.
14333 (completion--do-completion, minibuffer-force-complete):
14334 Use it to re-instate the flush hook.
14336 * icomplete.el (icomplete-completions): Replace last fix with a better
14339 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
14341 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
14342 when it might call us back infinitely (bug#10797).
14344 2012-02-23 Glenn Morris <rgm@gnu.org>
14346 * minibuffer.el (completion-category-overrides): Doc fix.
14348 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
14350 * minibuffer.el (completion-table-with-context): Fix inf-loop.
14351 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
14353 2012-02-23 Glenn Morris <rgm@gnu.org>
14355 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
14356 (authors-obsolete-files-regexps, authors-ignored-files)
14357 (authors-ambiguous-files, authors-renamed-files-alist):
14360 2012-02-23 Juri Linkov <juri@jurta.org>
14362 * isearch.el (isearch-occur): Sync interactive spec with occur's
14363 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
14365 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
14367 2012-02-22 Juri Linkov <juri@jurta.org>
14369 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
14370 (ucs-insert): Doc fix. Check for hex digits in the string.
14371 Don't display `nil' in the error message. (Bug#10857)
14373 2012-02-22 Alan Mackenzie <acm@muc.de>
14375 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
14377 2012-02-22 Glenn Morris <rgm@gnu.org>
14379 * ffap.el (ffap-c-path):
14380 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
14382 2012-02-22 Chong Yidong <cyd@gnu.org>
14384 * custom.el (load-theme): Doc fix.
14386 2012-02-22 Glenn Morris <rgm@gnu.org>
14388 * dired-x.el (dired-guess-shell-alist-default):
14389 Remove escape sequences from nroff output. (Bug#172)
14391 2012-02-21 Glenn Morris <rgm@gnu.org>
14393 * vc/emerge.el (emerge-defvar-local):
14394 Set `permanent-local' property rather than unused `preserved'.
14396 * textmodes/picture.el (picture-delete-char): New alias.
14397 (picture-mode-map): Use it. (Bug#10860)
14398 (picture-mode): Doc fix.
14400 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
14402 * newcomment.el (uncomment-region-default): Remove unused binding.
14404 2012-02-21 Glenn Morris <rgm@gnu.org>
14406 * textmodes/picture.el (picture-motion, picture-motion-reverse)
14407 (picture-self-insert, picture-tab-chars): Doc fix.
14408 (picture-mode-map): Fix C-a, C-e.
14410 2012-02-20 Glenn Morris <rgm@gnu.org>
14412 * emacs-lisp/authors.el (authors-aliases): Add another entry.
14414 2012-02-20 Leo Liu <sdl.web@gmail.com>
14416 * icomplete.el (icomplete-completions): Check FROM arg before
14417 passing to substring (Bug#10850).
14419 2012-02-19 Chong Yidong <cyd@gnu.org>
14421 * comint.el: Require ansi-color.
14422 (comint-output-filter-functions): Add ansi-color-process-output.
14424 * ansi-color.el: Don't set comint-output-filter-functions; it is
14425 now in the initial value defined in comint.el.
14426 (ansi-color-apply-face-function): New variable.
14427 (ansi-color-apply-on-region): Use it.
14428 (ansi-color-apply-overlay-face): New function.
14430 * shell.el (shell): No need to require ansi-color.
14431 (shell-mode): Use ansi-color-apply-face-function to highlight
14432 color escapes using font-lock-face property (Bug#10835).
14434 2012-02-19 Chong Yidong <cyd@gnu.org>
14436 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
14437 mode-line formats (Bug#10839).
14439 2012-02-18 Glenn Morris <rgm@gnu.org>
14441 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
14443 * mail/undigest.el (unforward-rmail-message): Doc fix.
14445 * saveplace.el (save-place-ignore-files-regexp): Add :version.
14447 2012-02-18 Eli Zaretskii <eliz@gnu.org>
14449 * international/characters.el (script-list): Sync with the latest
14450 Unicode Character Database.
14452 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
14454 * international/titdic-cnv.el: Remove duplicate coding tag.
14455 * language/cham.el: Likewise.
14456 * language/tai-viet.el: Likewise.
14458 2012-02-18 Glenn Morris <rgm@gnu.org>
14460 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
14461 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
14462 (calendar-bahai-all-holidays-flag, calendar-other-dates):
14463 * calendar/diary-lib.el (diary-abbreviated-year-flag):
14464 * calendar/holidays.el (holiday-bahai-holidays)
14465 (calendar-holidays, list-holidays):
14466 Use utf-8 Bahá'í in doc-strings, menus, etc.
14468 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
14470 * saveplace.el (save-place-ignore-files-regexp): New variable
14471 allowing for excluding files from saving their location of point.
14472 The default value matches the temporary commit message editing
14473 files from Git, SVN, Bazaar, and Mercurial.
14474 (save-place-to-alist): Use it.
14476 2012-02-17 Lawrence Mitchell <wence@gmx.li>
14477 Stefan Monnier <monnier@iro.umontreal.ca>
14479 * newcomment.el (uncomment-region-default): Don't leave extra space
14480 when an arg is provided (bug#8150).
14482 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
14484 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
14486 2012-02-17 Glenn Morris <rgm@gnu.org>
14488 * net/socks.el: Require network-stream. (Bug#10599)
14490 2012-02-17 Kenichi Handa <handa@m17n.org>
14492 * international/charprop.el:
14493 * international/uni-name.el:
14494 * international/uni-old-name.el:
14495 * international/uni-comment.el: Regenerate.
14497 2012-02-16 Glenn Morris <rgm@gnu.org>
14499 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
14500 Interactively in calendar buffer, give an error if not on a date.
14502 2012-02-15 Glenn Morris <rgm@gnu.org>
14504 * shell.el (shell-delimiter-argument-list):
14505 Revert 2011-02-17 change. (Bug#8027)
14507 2012-02-15 Chong Yidong <cyd@gnu.org>
14509 * minibuffer.el (completion-at-point-functions): Doc fix.
14511 * custom.el (defcustom): Doc fix; note use of defvar.
14513 2012-02-15 Glenn Morris <rgm@gnu.org>
14515 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
14518 2012-02-14 Glenn Morris <rgm@gnu.org>
14520 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
14522 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
14524 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
14525 way the ports list is computed.
14526 (smtpmail-query-smtp-server): Prompt the user for a port number if
14527 we can't connect to any of the standard ports (bug#10810).
14529 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
14531 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
14533 2012-02-13 Glenn Morris <rgm@gnu.org>
14535 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
14537 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
14539 * net/gnutls.el (gnutls-trustfiles): New variable.
14540 (gnutls-negotiate): Use it.
14542 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
14544 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
14545 does its stuff if Gnus is running.
14547 2012-02-13 Alan Mackenzie <acm@muc.de>
14549 Fix a loop in c-set-fl-decl-start.
14551 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
14552 c-backward-syntactic-ws actually moves backwards.
14554 2012-02-13 Leo Liu <sdl.web@gmail.com>
14556 * net/rcirc.el (rcirc-markup-attributes): Move point to the
14557 beginning so that all \C-o chars are removed.
14559 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
14561 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
14563 2012-02-12 Alan Mackenzie <acm@muc.de>
14565 Fix infinite loop with long macros.
14566 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
14568 2012-02-12 Chong Yidong <cyd@gnu.org>
14570 * window.el (display-buffer): Doc fix (Bug#10785).
14572 2012-02-12 Glenn Morris <rgm@gnu.org>
14574 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
14575 (x-disown-selection-internal, x-get-selection-internal):
14576 Sync docs with the xselect.c versions.
14578 * allout-widgets.el: Add missing license notice.
14580 2012-02-11 Glenn Morris <rgm@gnu.org>
14582 * select.el (x-get-selection-internal, x-own-selection-internal)
14583 (x-disown-selection-internal):
14584 * x-dnd.el (x-get-selection-internal): Update declarations.
14586 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
14588 * window.el (window-sides-slots):
14589 * tool-bar.el (tool-bar-position):
14590 * term/xterm.el (xterm-extra-capabilities):
14591 * ses.el (ses-self-reference-early-detection):
14592 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
14593 (verilog-auto-wire-type)
14594 (verilog-auto-delete-trailing-whitespace)
14595 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
14596 (verilog-auto-tieoff-declaration):
14597 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
14598 (sql-oracle-statement-starters, sql-oracle-scan-on):
14599 * progmodes/prolog.el (prolog-align-comments-flag)
14600 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
14601 (prolog-left-indent-regexp, prolog-paren-indent-p)
14602 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
14603 (prolog-types, prolog-mode-specificators)
14604 (prolog-determinism-specificators, prolog-directives)
14605 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
14606 (prolog-electric-dot-flag)
14607 (prolog-electric-dot-full-predicate-template)
14608 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
14609 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
14610 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
14611 (prolog-program-switches, prolog-prompt-regexp)
14612 (prolog-debug-on-string, prolog-debug-off-string)
14613 (prolog-trace-on-string, prolog-trace-off-string)
14614 (prolog-zip-on-string, prolog-zip-off-string)
14615 (prolog-use-standard-consult-compile-method-flag)
14616 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
14617 (prolog-imenu-max-lines, prolog-info-predicate-index)
14618 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
14619 (prolog-char-quote-workaround):
14620 * progmodes/cc-vars.el (c-defun-tactic):
14621 * net/tramp.el (tramp-encoding-command-interactive)
14622 (tramp-local-end-of-line):
14623 * net/soap-client.el (soap-client):
14624 * net/netrc.el (netrc-file):
14625 * net/gnutls.el (gnutls):
14626 * minibuffer.el (completion-category-overrides)
14627 (completion-cycle-threshold)
14628 (completion-pcm-complete-word-inserts-delimiters):
14629 * man.el (Man-name-local-regexp):
14630 * mail/feedmail.el (feedmail-display-full-frame):
14631 * international/characters.el (glyphless-char-display-control):
14632 * eshell/em-ls.el (eshell-ls-date-format):
14633 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
14634 (lisp-lambda-list-keyword-parameter-indentation)
14635 (lisp-lambda-list-keyword-parameter-alignment):
14636 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
14637 * dired-x.el (dired-omit-verbose):
14638 * cus-theme.el (custom-theme-allow-multiple-selections):
14639 * calc/calc.el (calc-highlight-selections-with-faces)
14640 (calc-lu-field-reference, calc-lu-power-reference)
14641 (calc-note-threshold):
14642 * battery.el (battery-mode-line-limit):
14643 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
14644 (archive-7z-update):
14645 * allout.el (allout-prefixed-keybindings)
14646 (allout-unprefixed-keybindings)
14647 (allout-inhibit-auto-fill-on-headline)
14648 (allout-flattened-numbering-abbreviation):
14649 * allout-widgets.el (allout-widgets-auto-activation)
14650 (allout-widgets-icons-dark-subdir)
14651 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
14652 (allout-widgets-theme-dark-background)
14653 (allout-widgets-theme-light-background)
14654 (allout-widgets-item-image-properties-emacs)
14655 (allout-widgets-item-image-properties-xemacs)
14656 (allout-widgets-run-unit-tests-on-load)
14657 (allout-widgets-time-decoration-activity)
14658 (allout-widgets-hook-error-post-time)
14659 (allout-widgets-track-decoration):
14660 Add missing :version tags to new defcustoms and defgroups.
14662 * progmodes/sql.el (sql-ansi-statement-starters)
14663 (sql-oracle-statement-starters): Add custom type.
14665 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
14666 (prolog-system-version): Give it a type.
14668 2012-02-11 Eli Zaretskii <eliz@gnu.org>
14670 * term/pc-win.el (x-select-text, x-selection-owner-p)
14671 (x-own-selection-internal, x-disown-selection-internal)
14672 (x-get-selection-internal): Sync doc strings and argument lists
14673 with xselect.c, common-win.el and x-win.el. (Bug#10783)
14675 2012-02-11 Leo Liu <sdl.web@gmail.com>
14677 * progmodes/python.el (python-end-of-statement): Fix infinite
14680 2012-02-10 Glenn Morris <rgm@gnu.org>
14682 * international/mule-cmds.el (unify-8859-on-encoding-mode)
14683 (unify-8859-on-decoding-mode): Properly mark as obsolete.
14685 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
14687 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
14688 about SMTP before checking the From header.
14690 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
14691 into own function for reuse by emacsbug.el.
14693 2012-02-10 Leo Liu <sdl.web@gmail.com>
14695 * subr.el (condition-case-unless-debug): Rename from
14696 condition-case-no-debug. All callers changed.
14697 (with-demoted-errors): Fix caller.
14699 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
14700 * nxml/rng-valid.el (rng-do-some-validation):
14701 * emacs-lisp/package.el (package-refresh-contents)
14702 (package-menu-execute):
14703 * desktop.el (desktop-create-buffer):
14704 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
14706 2012-02-10 Glenn Morris <rgm@gnu.org>
14708 * textmodes/bibtex.el:
14709 Add missing :version tags for new/changed defcustoms.
14711 * files.el (remote-file-name-inhibit-cache): Doc fixes.
14713 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
14715 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
14716 (smtpmail-via-smtp): Use it, or fall back on the From address.
14717 (smtpmail-send-it): Ditto.
14719 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
14721 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
14722 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
14723 (byte-compile-tmp-var): New const.
14724 (byte-compile-defvar): Use it to minimize .elc size.
14725 Just use `defvar' rather than simulate it (bug#10761).
14727 2012-02-09 Glenn Morris <rgm@gnu.org>
14729 * files.el (rename-uniquely): Doc fix. (Bug#3806)
14731 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
14734 * progmodes/compile.el (compilation-error-screen-columns)
14735 (compilation-first-column, compilation-filter-start): Doc fixes.
14737 * vc/log-view.el (log-view-toggle-entry-display):
14738 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
14740 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
14741 (report-emacs-bug-can-use-xdg-email):
14742 (report-emacs-bug-insert-to-mailer): Doc fixes.
14743 (report-emacs-bug): Message fix.
14745 * net/browse-url.el (browse-url-can-use-xdg-open)
14746 (browse-url-xdg-open): Doc fixes.
14748 * electric.el (electric-indent-mode, electric-pair-mode)
14749 (electric-layout-rules, electric-layout-mode): Doc fixes.
14750 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
14752 2012-02-08 Martin Rudalics <rudalics@gmx.at>
14754 * server.el (server-unselect-display): Don't inadvertently kill
14755 the current buffer. (Bug#10729)
14757 2012-02-08 Glenn Morris <rgm@gnu.org>
14759 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
14760 (sql-list-table): Doc fixes.
14762 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
14763 Comment out (does nothing).
14765 * completion.el (dynamic-completion-mode):
14766 * dirtrack.el (dirtrack-debug-mode):
14767 * electric.el (electric-layout-mode):
14768 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
14769 * face-remap.el (text-scale-mode, buffer-face-mode):
14770 * iimage.el (iimage-mode):
14771 * image-mode.el (image-transform-mode):
14772 * minibuffer.el (completion-in-region-mode):
14773 * scroll-lock.el (scroll-lock-mode):
14774 * simple.el (next-error-follow-minor-mode):
14775 * tar-mode.el (tar-subfile-mode):
14776 * tooltip.el (tooltip-mode):
14777 * vcursor.el (vcursor-use-vcursor-map):
14778 * wid-browse.el (widget-minor-mode):
14779 * emulation/tpu-edt.el (tpu-edt-mode):
14780 * emulation/tpu-extras.el (tpu-cursor-free-mode):
14781 * international/iso-ascii.el (iso-ascii-mode):
14782 * language/thai-util.el (thai-word-mode):
14783 * mail/supercite.el (sc-minor-mode):
14784 * net/goto-addr.el (goto-address-mode):
14785 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
14786 * progmodes/cwarn.el (cwarn-mode):
14787 * progmodes/flymake.el (flymake-mode):
14788 * progmodes/glasses.el (glasses-mode):
14789 * progmodes/hideshow.el (hs-minor-mode):
14790 * progmodes/pascal.el (pascal-outline-mode):
14791 * textmodes/enriched.el (enriched-mode):
14792 * vc/smerge-mode.el (smerge-mode):
14793 Doc fixes (minor mode argument).
14795 2012-02-07 Eli Zaretskii <eliz@gnu.org>
14797 * ls-lisp.el (ls-lisp-sanitize): New function.
14798 (ls-lisp-insert-directory): Use it to fix or remove any elements
14799 in file-alist with missing attributes. (Bug#4673)
14801 2012-02-07 Alan Mackenzie <acm@muc.de>
14803 Fix spurious recognition of c-in-knr-argdecl.
14805 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
14806 putative K&R region.
14808 2012-02-07 Alan Mackenzie <acm@muc.de>
14810 * progmodes/cc-engine.el (c-forward-objc-directive):
14811 Prevent looping in "#pragma mark @implementation".
14813 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
14815 * notifications.el (notifications-on-closed-signal): Make `reason'
14816 optional. (Bug#10744)
14818 2012-02-07 Glenn Morris <rgm@gnu.org>
14820 * emacs-lisp/easy-mmode.el (define-minor-mode):
14821 Doc fixes for the macro and the mode it defines.
14823 * image.el (imagemagick-types-inhibit): Doc fix.
14825 * cus-start.el (imagemagick-render-type): Add it.
14827 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
14829 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
14830 Set the default at load time, too, so that `font-lock-fontify-buffer'
14831 can be called without setting up the entire mode first. This fixes
14832 a bug in `mm-inline-text' with C MIME parts.
14834 2012-02-06 Chong Yidong <cyd@gnu.org>
14836 * simple.el (list-processes--refresh): Delete exited processes
14839 * comint.el (comint-next-prompt): next-single-char-property-change
14840 and prev-single-char-property-change never return nil (Bug#8657).
14842 * custom.el (defcustom): Doc fix (Bug#9711).
14844 2012-02-05 Chong Yidong <cyd@gnu.org>
14846 * cus-edit.el (custom-variable-reset-backup): Quote the value
14847 before storing it in the customized-value property (Bug#6712).
14848 (custom-display): Add a customization type tag.
14849 (custom-buffer-create-internal): Improve tooltip message.
14851 * wid-edit.el (widget-field-value-get): New optional arg to
14852 suppress trailing whitespace truncation.
14853 (character): Use it (Bug#2689).
14855 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
14857 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
14858 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
14860 2012-02-05 Chong Yidong <cyd@gnu.org>
14862 * cus-edit.el (custom-variable-value-create): For mismatched
14863 types, show the current value (Bug#7600).
14865 * custom.el (defcustom): Doc fix.
14867 2012-02-05 Glenn Morris <rgm@gnu.org>
14869 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
14871 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
14873 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
14874 (pp-buffer): Use `ignore-errors', `looking-at-p'.
14875 (pp-last-sexp): Use `looking-at-p'.
14877 2012-02-04 Glenn Morris <rgm@gnu.org>
14879 * files.el (revert-buffer):
14880 Doc fix (mention revert-buffer-in-progress-p).
14882 * emacs-lisp/ert-x.el (ert-simulate-command):
14883 Check deferred-action-list (which is obsolete) is bound.
14885 * subr.el (with-wrapper-hook): Doc fixes.
14887 * simple.el (filter-buffer-substring-functions)
14888 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
14890 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
14892 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
14893 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
14895 2012-02-04 Leo Liu <sdl.web@gmail.com>
14897 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
14899 2012-02-04 Glenn Morris <rgm@gnu.org>
14901 * image.el (image-extension-data): Add obsolete alias.
14903 * isearch.el (isearch-update): Doc fix.
14905 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
14907 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
14909 2012-02-03 Glenn Morris <rgm@gnu.org>
14911 * image.el (image-animated-p): Doc fix. Use image-animated-types.
14912 (image-animate-timeout): Doc fix.
14914 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
14916 2012-02-02 Glenn Morris <rgm@gnu.org>
14918 * server.el (server-auth-dir): Doc fix.
14919 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
14921 * subr.el (run-mode-hooks): Doc fix.
14923 2012-02-02 Juri Linkov <juri@jurta.org>
14925 * image-mode.el (image-toggle-display-image): Remove tautological
14926 `major-mode' from the `derived-mode-p' test.
14928 2012-02-02 Kenichi Handa <handa@m17n.org>
14930 * composite.el (compose-region): Cancel previous change.
14932 2012-02-02 Kenichi Handa <handa@m17n.org>
14934 * composite.el (compose-region, compose-string): Signal error for
14935 a null string component (Bug#6988).
14937 2012-02-01 Chong Yidong <cyd@gnu.org>
14939 * view.el (view-buffer-other-window, view-buffer-other-frame):
14940 Handle special modes like view-buffer (Bug#10650).
14941 (view-buffer): Simplify.
14943 * frame.el (set-frame-font): Tweak meaning of third argument.
14945 * dynamic-setting.el (font-setting-change-default-font):
14946 Use set-frame-font (Bug#9982).
14948 2012-02-01 Glenn Morris <rgm@gnu.org>
14950 * progmodes/compile.el (compilation-internal-error-properties):
14951 Respect compilation-first-column in the "*compilation*" buffer.
14953 * emacs-lisp/easy-mmode.el (define-minor-mode):
14954 Relax :variable's test for a named function.
14956 2012-01-31 Alan Mackenzie <acm@muc.de>
14958 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
14961 2012-01-31 Chong Yidong <cyd@gnu.org>
14963 * frame.el (set-frame-font): New arg ALL-FRAMES.
14965 * menu-bar.el (menu-set-font): Use set-frame-font.
14967 * faces.el (face-spec-reset-face): Don't apply unspecified
14968 attribute values to the default face.
14970 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
14972 * progmodes/cwarn.el (cwarn): Remove dead link.
14973 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
14974 Remove * from defcustom docstrings.
14975 (turn-on-cwarn-mode): Make obsolete.
14976 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
14977 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
14979 2012-01-31 Glenn Morris <rgm@gnu.org>
14981 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
14982 Fix :variable handling of mode a symbol not equal to modefun.
14983 Allow named functions to be used as the cdr of :variable.
14985 2012-01-30 Glenn Morris <rgm@gnu.org>
14987 * emacs-lisp/authors.el (authors-fixed-entries):
14988 Remove reference to deleted file rnewspost.el.
14990 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
14992 * window.el (window-with-parameter): Remove unused variable `windows'.
14993 (window--side-check): Remove unused variable `code'.
14994 (window--resize-siblings): Remove unused variable `first'.
14995 (adjust-window-trailing-edge): Remove unused variable `failed'.
14996 (window-deletable-p, window--delete): Remove unused variable `buffer'.
14997 Use `let', not `let*'.
14998 (balance-windows-2): Remove unused variable `found'.
14999 (window--state-put-2): Remove unused variable `splits'.
15000 (window-state-put): Remove unused variable `selected'.
15001 (same-window-p): Use `string-match-p'.
15002 (display-buffer-assq-regexp): Remove unused variable `value'.
15003 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
15004 Mark argument ALIST as ignored.
15005 (pop-to-buffer): Remove unused variable `old-window'.
15007 2012-01-29 Eli Zaretskii <eliz@gnu.org>
15009 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
15010 and .lzma compressed files.
15012 2012-01-29 Chong Yidong <cyd@gnu.org>
15014 * frame.el (window-system-default-frame-alist): Doc fix.
15016 * dynamic-setting.el (font-setting-change-default-font): Don't
15017 change the default face if SET-FONT argument is non-nil (Bug#9982).
15019 2012-01-29 Samuel Bronson <naesten@gmail.com>
15021 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
15023 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
15025 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
15026 breakpoints in files outside current directory (Bug#6098).
15028 2012-01-29 Chong Yidong <cyd@gnu.org>
15030 * progmodes/python.el: Require ansi-color at top-level.
15032 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
15033 Define and use in Emacs Lisp mode (Bug#9360).
15034 (lisp-mode-abbrev-table): Add doc.
15035 (lisp-mode-variables): Don't set local-abbrev-table.
15036 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
15038 2012-01-28 Roland Winkler <winkler@gnu.org>
15040 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
15042 2012-01-28 Roland Winkler <winkler@gnu.org>
15044 * textmodes/bibtex.el (bibtex-entry-alist): New function.
15045 (bibtex-set-dialect): Use it. Either set global values of
15046 dialect-dependent variables or bind these variables buffer-locally
15048 (bibtex-mode): Call bibtex-set-dialect via
15049 hack-local-variables-hook.
15050 (bibtex-dialect): Update docstring.
15051 Add safe-local-variable predicate.
15052 (bibtex-entry-alist, bibtex-field-alist): Initialize via
15053 bibtex-set-dialect.
15054 (bibtex-mode-map): Define menu for each dialect.
15055 (bibtex-entry): Fix docstring.
15057 2012-01-28 Chong Yidong <cyd@gnu.org>
15059 * eshell/esh-arg.el (eshell-quote-argument): New function.
15061 * eshell/esh-ext.el (eshell-invoke-batch-file):
15062 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
15063 first arg to eshell-parse-command (Bug#10523).
15065 2012-01-28 Drew Adams <drew.adams@oracle.com>
15067 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
15068 `default-directory' is non-nil.
15070 2012-01-28 Eli Zaretskii <eliz@gnu.org>
15072 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
15073 line that displays system-configuration-options. (Bug#9924)
15075 2012-01-28 Drew Adams <drew.adams@oracle.com>
15077 * descr-text.el (describe-char): Show information about POS, in
15078 addition to information about the character at POS. Improve and
15079 update the doc string. Change "code point" to "code point in
15080 charset", to avoid confusion with the character's Unicode code
15081 point shown above that. (Bug#10129)
15083 2012-01-28 Eli Zaretskii <eliz@gnu.org>
15085 * descr-text.el (describe-char): Show the raw character, not only
15086 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
15087 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
15090 2012-01-28 Phil Hagelberg <phil@hagelb.org>
15092 * emacs-lisp/package.el (package-install):
15093 Run package-refresh-contents if there is no archive yet (Bug#9798).
15095 2012-01-28 Chong Yidong <cyd@gnu.org>
15097 * emacs-lisp/package.el (package-maybe-load-descriptor):
15098 New function, split from package-maybe-load-descriptor.
15099 (package-maybe-load-descriptor): Use it.
15100 (package-download-transaction): Fully load required packages
15101 inside the loop, so that `require' calls work (Bug#10593).
15102 (package-install): No need to call package-initialize now.
15104 2012-01-28 Chong Yidong <cyd@gnu.org>
15106 * simple.el (deactivate-mark): Doc fix (Bug#8614).
15108 * tooltip.el (tooltip-mode): Doc fix.
15109 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
15111 * frame.el (set-cursor-color): Doc fix (Bug#352).
15113 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
15114 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
15116 * cus-edit.el (custom-buffer-create-internal): Fix search button
15117 action (Bug#10542).
15118 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
15120 2012-01-27 Eduard Wiebe <usenet@pusto.de>
15122 * dired.el (dired-mark-files-regexp):
15123 Include any subdirectory components. (Bug#10445)
15125 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
15127 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
15128 Handle [host]:port syntax. (Bug#10533)
15130 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
15132 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
15134 2012-01-26 Glenn Morris <rgm@gnu.org>
15136 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
15137 * term.el (term-raw-escape-map): Use Control-X-prefix.
15138 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
15140 2012-01-25 Martin Rudalics <rudalics@gmx.at>
15142 * window.el (window-state-get, window--state-get-1): Don't deal
15143 with fixed-sizeness of windows. Simplify code.
15145 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
15147 * window.el (window--state-get-1, window--state-put-2):
15148 Don't save and restore the mark.
15150 2012-01-25 Chong Yidong <cyd@gnu.org>
15152 * custom.el (custom-variable-p): Doc fix.
15154 2012-01-25 Glenn Morris <rgm@gnu.org>
15156 * dired.el (dired-goto-file): Handle some of the more common
15157 characters that `ls -b' escapes. (Bug#10596)
15159 * progmodes/compile.el (compilation-next-error-function):
15160 Respect compilation-first-column in the "*compilation*" buffer.
15161 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
15163 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
15165 2012-01-24 Glenn Morris <rgm@gnu.org>
15167 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
15169 2012-01-24 Julien Danjou <julien@danjou.info>
15171 * color.el (color-rgb-to-hsl): Fix value computing.
15172 (color-hue-to-rgb): New function.
15173 (color-hsl-to-rgb): New function.
15174 (color-clamp, color-saturate-hsl, color-saturate-name)
15175 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
15176 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
15178 2012-01-24 Glenn Morris <rgm@gnu.org>
15180 * vc/vc-rcs.el (vc-rcs-create-tag):
15181 * vc/vc-sccs.el (vc-sccs-create-tag):
15182 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
15184 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
15186 * eshell/esh-util.el (eshell-read-hosts-file):
15187 Skip comment lines. (Bug#10549)
15189 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
15191 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
15193 * subr.el (display-delayed-warnings): Doc fix.
15194 (collapse-delayed-warnings): New function to collapse identical
15196 (delayed-warnings-hook): Add it.
15198 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
15200 * net/tramp.el (tramp-action-login): Set connection property "login-as".
15202 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
15203 (tramp-default-user-alist): Don't add "pscp".
15204 (tramp-do-copy-or-rename-file-out-of-band): Use connection
15205 property "login-as", if set. (Bug#10530)
15207 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
15209 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
15210 "plink1" and "psftp". (Bug#10530)
15212 2012-01-21 Kenichi Handa <handa@m17n.org>
15214 * international/mule-cmds.el (prefer-coding-system): Show a
15215 warning message if the default value of file-name-coding-system
15218 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
15220 * windmove.el (windmove-reference-loc):
15221 Fix windmove-reference-loc miscalculation.
15223 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
15225 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
15228 2012-01-21 Glenn Morris <rgm@gnu.org>
15230 * international/mule.el (auto-coding-alist): Add .tbz.
15232 * files.el (local-enable-local-variables): Doc fix.
15233 (inhibit-local-variables-regexps): Rename from
15234 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
15235 Doc fix. Add some extensions from auto-coding-alist.
15236 (inhibit-local-variables-suffixes):
15237 Rename from inhibit-first-line-modes-suffixes. Doc fix.
15238 (inhibit-local-variables-p):
15239 New function, extracted from set-auto-mode-1.
15240 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
15241 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
15242 (hack-local-variables): Doc fix. Make the mode-only case
15243 respect enable-local-variables and friends.
15244 Respect inhibit-local-variables-regexps for file-locals, but
15245 not for directory-locals.
15246 (set-visited-file-name):
15247 Take account of inhibit-local-variables-regexps.
15248 Whether it applies may change as the file name is changed.
15249 * jka-cmpr-hook.el (jka-compr-install):
15250 * jka-compr.el (jka-compr-uninstall):
15251 Update for inhibit-first-line-modes-suffixes name change.
15253 2012-01-20 Martin Rudalics <rudalics@gmx.at>
15255 * help-macro.el (make-help-screen): Temporarily restore original
15256 binding for minor-mode-map-alist (Bug#10454).
15258 2012-01-19 Julien Danjou <julien@danjou.info>
15260 * color.el (color-name-to-rgb): Use the white color to find the max
15261 color component value and return correctly computed values.
15262 (color-name-to-rgb): Add missing float conversion for max value.
15264 2012-01-19 Martin Rudalics <rudalics@gmx.at>
15266 * window.el (window--state-get-1, window-state-get): Do not use
15267 special state value for window-persistent-parameters.
15268 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
15269 (window--state-put-2): Reset all window parameters to nil before
15270 assigning values of persistent parameters.
15272 2012-01-18 Alan Mackenzie <acm@muc.de>
15274 Eliminate sluggishness and hangs in fontification of "semicolon
15277 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
15278 Change value 10000 -> 3000.
15279 (c-state-safe-place): Reformulate so it doesn't stack up an
15280 infinite number of wrong entries in c-state-nonlit-pos-cache.
15281 (c-determine-limit-get-base, c-determine-limit): New functions to
15282 determine backward search limits disregarding literals.
15283 (c-find-decl-spots): Amend commenting.
15284 (c-cheap-inside-bracelist-p): New function which detects "={".
15286 * progmodes/cc-fonts.el
15287 (c-make-font-lock-BO-decl-search-function): Give a limit to a
15289 (c-font-lock-declarations): Fix an occurrence of point being
15290 undefined. Check additionally for point being in a bracelist or
15291 near a macro invocation without a semicolon so as to avoid a
15292 fruitless time consuming search for a declarator. Give a more
15293 precise search limit for declarators using the new
15296 2012-01-18 Glenn Morris <rgm@gnu.org>
15298 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
15299 (set-auto-mode): Doc fixes.
15301 2012-01-17 Glenn Morris <rgm@gnu.org>
15303 * isearch.el (search-nonincremental-instead): Fix doc typo.
15305 * dired.el (dired-insert-directory): Handle newlines in directory name.
15306 (dired-build-subdir-alist): Unescape newlines in directory name.
15308 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
15310 * net/tramp.el (tramp-local-end-of-line): New defcustom.
15311 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
15312 (tramp-action-terminal): Use it. (Bug#10530)
15314 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
15316 * minibuffer.el (completion--replace): Strip properties (bug#10062).
15318 2012-01-16 Martin Rudalics <rudalics@gmx.at>
15320 * window.el (window-state-ignored-parameters): Remove variable.
15321 (window--state-get-1): Rename argument MARKERS to IGNORE.
15322 Handle persistent window parameters. Make copy of clone-of
15323 parameter only if requested. (Bug#10348)
15324 (window--state-put-2): Install a window parameter only if it has
15325 a non-nil value or an existing parameter shall be overwritten.
15327 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
15329 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
15331 2012-01-14 Eli Zaretskii <eliz@gnu.org>
15333 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
15334 don't pass the (nil) value of `upnode' to string-match.
15336 2012-01-14 Chong Yidong <cyd@gnu.org>
15338 * startup.el (command-line): Fix X resource class for cursorColor.
15339 Fix values recognized by the cursorBlink resource.
15341 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
15343 * epg.el (epg--make-temp-file): Avoid permission race condition
15344 when running on old Emacs versions (bug#10403).
15346 2012-01-14 Glenn Morris <rgm@gnu.org>
15348 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
15350 2012-01-13 Alan Mackenzie <acm@muc.de>
15352 Fix filling for when filladapt mode is enabled.
15354 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
15355 c-mask-paragraph, pass in `fill-paragraph' rather than
15356 `fill-region-as-paragraph'. (This is a reversion of a previous
15358 * progmodes/cc-mode.el (c-basic-common-init):
15359 Make fill-paragraph-handle-comment buffer local and set it to nil.
15361 2012-01-13 Glenn Morris <rgm@gnu.org>
15363 * dired.el (dired-switches-escape-p): New function.
15364 (dired-insert-directory): Use dired-switches-escape-p.
15365 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
15367 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
15369 2012-01-12 Glenn Morris <rgm@gnu.org>
15371 * mail/sendmail.el (mail-mode): Update paragraph-separate for
15372 changes in adaptive-fill-regexp. (Bug#10276)
15374 2012-01-11 Alan Mackenzie <acm@muc.de>
15376 Fix Emacs bug #10463 - put `widen's around the critical spots.
15378 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
15379 widen around each invocation of c-state-pp-to-literal. Remove an
15380 unused let variable.
15382 2012-01-11 Glenn Morris <rgm@gnu.org>
15384 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
15387 2012-01-10 Chong Yidong <cyd@gnu.org>
15389 * net/network-stream.el (network-stream-open-starttls):
15390 Avoid emitting a confusing error message when the server gives a bad
15391 response to the capability command.
15393 2012-01-10 Glenn Morris <rgm@gnu.org>
15395 * mail/unrmail.el (unrmail): Tweak previous change.
15397 2012-01-09 Chong Yidong <cyd@gnu.org>
15399 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
15401 2012-01-08 Alan Mackenzie <acm@muc.de>
15403 Optimize font locking in long enum definitions.
15405 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
15406 arm to a cond form to handle enums.
15407 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
15408 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
15410 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
15412 * files.el (move-file-to-trash): Preserve default file modes on error.
15415 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
15417 * faces.el (set-face-attribute): Clarify the meaning of the nil
15420 * subr.el (with-selected-frame): Mention that the selected frame
15421 is restored (bug#9980).
15423 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
15426 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
15427 (password-read): Don't autoload unused function.
15429 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
15431 * progmodes/which-func.el (which-func-mode): Turn into a
15432 non-interactive function and mark as obsolete (bug#10428).
15434 2012-01-06 Chong Yidong <cyd@gnu.org>
15436 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
15437 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
15438 functions, along with 1 and -1.
15440 2012-01-06 Eli Zaretskii <eliz@gnu.org>
15442 * time.el (display-time-load-average)
15443 (display-time-default-load-average): Doc fixes. See the thread
15445 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
15448 2012-01-06 Glenn Morris <rgm@gnu.org>
15450 * mail/unrmail.el (unrmail): Give an explicit error if the input file
15451 has no messages. (Bug#10377)
15453 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
15454 than Info-edit. (Bug#10385)
15456 * time.el (display-time-load-average, display-time-next-load-average):
15459 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
15460 local setting of buffer-read-only to the input buffer. (Bug#10419)
15462 * calendar/calendar.el (calendar-mode):
15463 Locally set scroll-margin to 0. (Bug#10379)
15465 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
15467 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
15469 2012-01-05 Glenn Morris <rgm@gnu.org>
15471 * eshell/em-unix.el (diff-no-select): Autoload it.
15472 (eshell/diff): Use diff-no-select. (Bug#10420)
15474 2012-01-05 Chong Yidong <cyd@gnu.org>
15476 * shell.el (shell-dynamic-complete-functions): Revert last change.
15477 (shell-command-completion-function): New function.
15478 (shell-completion-vars): Use it to implement
15479 shell-completion-execonly (Bug#10417).
15481 * custom.el (enable-theme): Don't set custom-safe-themes.
15483 * cus-theme.el (custom-theme-merge-theme):
15484 Ignore custom-enabled-themes and custom-safe-themes.
15486 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
15488 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
15489 first prompt in `sql-interacive-mode'.
15490 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
15492 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
15493 (sql-product-interactive): Bug fix: Set `sql-buffer' in
15494 context of original buffer. Invoke `sql-login-hook'.
15496 2012-01-04 Eli Zaretskii <eliz@gnu.org>
15498 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
15499 letters in cite-prefix.
15501 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15503 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
15505 2012-01-03 Chong Yidong <cyd@gnu.org>
15507 * shell.el (shell-dynamic-complete-functions):
15508 Put pcomplete-completions-at-point, so as to try
15509 comint-filename-completion first (Bug#10417).
15511 2012-01-02 Richard Stallman <rms@gnu.org>
15513 * battery.el (battery-status-function):
15514 Detect when to use battery-yeeloong-sysfs.
15515 (battery-echo-area-format): Add string for Yeeloong.
15516 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
15517 (battery-yeeloong-sysfs): New function.
15519 2012-01-02 Chong Yidong <cyd@gnu.org>
15521 * dirtrack.el (dirtrack-list): Eliminate unused third element.
15522 (dirtrack): Merge code for handling relative filenames in prompt
15523 from shell-dir-cookie-watcher.
15524 (dirtrack-debug-message): New arg to avoid excess format calls.
15526 * shell.el (shell-dir-cookie-re): Variable deleted.
15527 (shell-dir-cookie-watcher): Function deleted.
15528 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
15529 with dirtrack-mode.
15531 2012-01-01 Eli Zaretskii <eliz@gnu.org>
15533 * term/w32-win.el (dynamic-library-alist) <gnutls>:
15534 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
15537 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
15539 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
15541 2011-12-31 Eli Zaretskii <eliz@gnu.org>
15543 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
15544 headers of non-MIME messages, when rmail-enable-mime is non-nil.
15546 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
15548 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
15549 also for alternative shells.
15550 (tramp-open-connection-setup-interactive-shell): Check, whether
15551 the shell is a busybox.
15552 (tramp-send-command): Don't suppress multiple prompts for
15553 busyboxes, it hurts.
15555 2011-12-28 Chong Yidong <cyd@gnu.org>
15557 * progmodes/gdb-mi.el (gdb-get-source-file-list)
15558 (gdb-get-source-file): Move mode line update to
15559 gdb-get-source-file (Bug#10087).
15561 2011-12-25 Chong Yidong <cyd@gnu.org>
15563 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
15564 gud-gdb-marker-filter without taking it as an argument.
15565 (gud-gdb-run-command-fetch-lines): Caller changed.
15566 (gud-gdb-completion-function): New variable.
15567 (gud-gdb-completion-at-point): Use it.
15568 (gud-gdb-completions-1): Split from gud-gdb-completions.
15570 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
15571 function as separate arguments.
15572 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
15573 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
15574 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
15575 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
15576 (gdb-stopped, def-gdb-auto-update-trigger)
15577 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
15578 (gdb-get-changed-registers, gdb-get-main-selected-frame):
15580 (gud-gdbmi-completions): New function.
15581 (gdb): Use it for generating the completion table.
15583 2011-12-24 Alan Mackenzie <acm@muc.de>
15585 Introduce a mechanism to widen the region used in context font
15586 locking. Use this to protect declarations from losing their contexts.
15588 * progmodes/cc-langs.el (c-before-font-lock-functions):
15589 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
15590 (c-before-context-fontification-functions): New defvar, a list of
15591 functions to be run just before context (etc.) font locking.
15593 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
15594 New, functionality extracted from
15595 c-neutralize-syntax-in-and-mark-CPP.
15596 (c-in-after-change-fontification): New variable.
15597 (c-after-change): Set c-in-after-change-fontification.
15598 (c-set-fl-decl-start): Rejig its interface, so it can be called
15599 from both after-change and context fontifying.
15600 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
15602 (c-standard-font-lock-fontify-region-function): New variable.
15603 (c-font-lock-fontify-region): New function.
15605 2011-12-24 Juri Linkov <juri@jurta.org>
15607 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
15610 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
15612 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
15613 existence of source file. (Bug#10325)
15615 2011-12-23 Alan Mackenzie <acm@muc.de>
15617 Fix unstable fontification inside templates.
15619 * progmodes/cc-langs.el (c-before-font-lock-functions):
15620 Newly created from the singular version. The (c c++ objc) entry now
15621 additionally has c-set-fl-decl-start. The other languages (apart
15622 from AWK) have that as a single entry.
15624 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
15625 The functionality for "local" declarations has been extracted to
15626 c-set-fl-decl-start.
15628 * progmodes/cc-mode.el (c-common-init, c-after-change):
15629 Changes due to pluralisation of c-before-font-lock-functions.
15630 (c-set-fl-decl-start): New function, extracted from
15631 c-font-lock-enclosing-decls and enhanced.
15633 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
15635 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
15637 2011-12-22 Juri Linkov <juri@jurta.org>
15639 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
15641 2011-12-22 Chong Yidong <cyd@gnu.org>
15643 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
15645 2011-12-21 Drew Adams <drew.adams@oracle.com>
15647 * files.el (file-remote-p): Fix docstring. (Bug#10319)
15649 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
15651 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
15653 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
15655 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
15656 highlighting and support. Fix up comments for capitalization.
15657 (cfengine-mode-debug): New var.
15658 (cfengine3-mode): Change the modeline indicator to "CFE3".
15659 (cfengine3-font-lock-keywords): Improve defun highlighting.
15660 (cfengine2-actions): Rename from `cfengine-actions'.
15661 (cfengine2-font-lock-keywords): Rename from
15662 `cfengine-font-lock-keywords'.
15663 (cfengine2-imenu-expression): Rename from
15664 `cfengine-imenu-expression'.
15665 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
15666 (cfengine2-beginning-of-defun): Rename from
15667 `cfengine-beginning-of-defun'.
15668 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
15669 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
15670 (cfengine2-mode): Rename from `cfengine-mode'. Change the
15671 modeline indicator to "CFE2".
15672 (cfengine-mode): Defalias to `cfengine-auto-mode'.
15673 (cfengine-mode-abbrevs): Mark obsolete.
15675 2011-12-21 Chong Yidong <cyd@gnu.org>
15677 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
15680 2011-12-20 Martin Rudalics <rudalics@gmx.at>
15682 * window.el (window-normalize-buffer-to-display): Remove.
15683 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
15685 2011-12-19 Chong Yidong <cyd@gnu.org>
15687 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
15688 Don't signal an error in a predicate function; return non-nil.
15689 (vc-dir-mark-file): Move the error here.
15690 (vc-dir-mark-unmark): If acting on the region, keep going if one
15691 of the entries cannot be marked/unmarked.
15692 (vc-dir-mark-all-files): If current entry is a directory, mark
15693 only child files, as documented.
15695 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
15697 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
15698 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
15701 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
15703 * term/ns-win.el (ns-get-selection-internal)
15704 (ns-store-selection-internal): Declare.
15705 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
15706 Declare as obsolete.
15707 (ns-get-pasteboard, ns-paste-secondary):
15708 Use ns-get-selection-internal.
15709 (ns-set-pasteboard, ns-copy-including-secondary):
15710 Use ns-store-selection-internal.
15712 2011-12-17 Chong Yidong <cyd@gnu.org>
15714 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
15715 (vc-deduce-fileset): Doc fix.
15717 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
15719 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
15721 2011-12-13 Sam Steingold <sds@gnu.org>
15723 * man.el (Man-getpage-in-background): When running under a
15724 window-system, ignore $MANWIDTH and $COLUMNS.
15726 2011-12-15 Kenichi Handa <handa@m17n.org>
15728 * language/ethio-util.el: Change coding tag to utf-8-emacs.
15729 (setup-ethiopic-environment-internal): Comment out key-binding for
15730 ethio-toggle-punctuation.
15732 2011-12-13 Alan Mackenzie <acm@muc.de>
15734 Add the switch statement to AWK Mode.
15736 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
15737 "default" to the keywords regexp.
15739 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
15740 expression as the rest.
15741 (c-nonlabel-token-key): Allow string literals for AWK.
15742 Refactor for the other modes.
15744 Large brace-block initialisation makes CC Mode slow: Fix.
15745 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
15746 routines. Limit backward searching in c-font-lock-enclosing.decl.
15748 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
15749 pp-state and literal type in addition to the limits.
15750 (c-state-safe-place): New defun, extracted from c-state-literal-at.
15751 (c-state-literal-at): Use the above new defun.
15752 (c-slow-in-literal, c-fast-in-literal): Remove.
15753 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
15755 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
15756 being in a literal. Add a limit for backward searching.
15758 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
15761 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
15763 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
15765 2011-12-13 Martin Rudalics <rudalics@gmx.at>
15767 * window.el (delete-other-windows): Use correct frame in call to
15768 window-with-parameter.
15770 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
15772 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
15773 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
15774 (makefile-gmake-statements, makefile-makepp-statements):
15775 Use it and add new makepp keywords.
15776 (makefile-makepp-font-lock-keywords): Add new patterns.
15777 (makefile-match-function-end): Match new [...] and [[...]].
15779 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
15781 * ses.el (ses-call-printer-return, ses-cell-property-get)
15782 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
15783 (ses-create-cell-variable, ses-reset-header-string)
15784 (ses-cell-set-formula, ses-repair-cell-reference-all)
15785 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
15786 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
15787 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
15788 (ses-aset-with-undo, ses-load, ses-truncate-cell)
15789 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
15790 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
15791 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
15792 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
15793 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
15794 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
15795 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
15796 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
15798 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
15800 * ses.el: The overall change is to add cell renaming, that is
15801 setting fancy names for cell symbols other than name matching
15802 "\\`[A-Z]+[0-9]+\\'" regexp .
15803 (ses-create-cell-variable): New defun.
15804 (ses-relocate-formula): Relocate formulas only for cells the
15805 symbols of which are not renamed, i.e. symbols whose names do not
15806 match regexp "\\`[A-Z]+[0-9]+\\'".
15807 (ses-relocate-all): Relocate values only for cells the symbols of
15808 which are not renamed.
15809 (ses-load): Create cells variables as the (ses-cell ...) are read,
15810 in order to check row col consistency with cell symbol name only
15811 for cells that are not renamed.
15812 (ses-replace-name-in-formula): New defun.
15813 (ses-rename-cell): New defun.
15815 2011-12-11 Chong Yidong <cyd@gnu.org>
15817 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
15818 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
15820 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
15822 * window.el (other-window): Fix docstring.
15824 2011-12-10 Eli Zaretskii <eliz@gnu.org>
15826 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
15827 `from' or `to' address before taking its substring.
15828 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
15829 encoded name is chopped in the middle of the encoded string, and
15830 thus displayed encoded.
15832 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
15834 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
15836 2011-12-10 Eli Zaretskii <eliz@gnu.org>
15838 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
15839 to use texinfo-update-node and commands that call it if the
15840 Texinfo file uses @node lines without next/prev/up pointers.
15841 Correct outdated description about texinfo-master-menu.
15842 (texinfo-all-menus-update, texinfo-master-menu)
15843 (texinfo-update-node, texinfo-every-node-update)
15844 (texinfo-multiple-files-update): Doc fix. Warn against updating
15845 all the @node lines.
15846 (texinfo-master-menu): Only call texinfo-update-node if the prefix
15847 argument is numeric. Explain better in the doc string what the
15848 function really does.
15849 (texinfo-insert-master-menu-list): Improve the error message
15850 displayed if there's no menu in the Top node.
15851 (Bug#2975) See also this thread:
15852 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
15854 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
15856 * speedbar.el (speedbar-supported-extension-expressions):
15857 Add .adb and .ads, commonly used for Ada source code (bug#10256).
15859 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
15861 * printing.el (pr-mode-alist):
15862 * simple.el (filter-buffer-substring-functions)
15863 (completion-list-insert-choice-function):
15864 * window.el (window-with-parameter, window-atom-root)
15865 (window-sides-slots, window-size-fixed, window-min-delta)
15866 (window-max-delta, window--resize-mini-window)
15867 (window--resize-child-windows-normal, window-tree)
15868 (delete-other-windows, quit-window, split-window)
15869 (display-buffer-record-window, special-display-buffer-names)
15870 (special-display-regexps, special-display-popup-frame)
15871 (same-window-p, split-window-sensibly)
15872 (display-buffer-overriding-action, display-buffer-alist)
15873 (display-buffer-base-action, display-buffer, switch-to-buffer)
15874 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
15875 (fit-window-to-buffer, recenter-positions)
15876 (mouse-autoselect-window-state, mouse-autoselect-window-select):
15877 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
15878 and remove unneeded backslashes in docstrings.
15880 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
15882 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
15884 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
15885 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
15887 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
15888 when reading the makefile (bug#10116).
15890 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
15892 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
15895 2011-12-06 Glenn Morris <rgm@gnu.org>
15897 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
15899 2011-12-06 Chong Yidong <cyd@gnu.org>
15901 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
15903 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
15905 * textmodes/table.el (table-shorten-cell): Fix typo.
15907 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
15909 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
15911 2011-12-05 Eli Zaretskii <eliz@gnu.org>
15913 * descr-text.el (describe-char): Fix display of strong
15914 right-to-left characters and directional embeddings and overrides.
15916 * simple.el (what-cursor-position): Fix display of codepoints of
15917 strong right-to-left characters.
15919 2011-12-05 Chong Yidong <cyd@gnu.org>
15921 * faces.el (read-color): Doc fix.
15923 2011-12-05 Glenn Morris <rgm@gnu.org>
15925 * align.el (align--set-marker): Add doc-string.
15926 Don't try to move something that is not a marker. (Bug#10216)
15928 2011-12-04 Glenn Morris <rgm@gnu.org>
15930 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
15931 overly zealous deletion of trailing whitespace.
15933 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
15935 * server.el (server-delete-client): On Windows, do not try to delete
15937 (server-process-filter): On Windows, treat requests for a tty frame as
15938 if they were for a GUI frame if the running server is in GUI mode.
15940 2011-12-03 Glenn Morris <rgm@gnu.org>
15942 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
15944 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
15946 * electric.el: Streamline electric-indent's hook.
15947 (electric-indent-chars): Revert to simple list.
15948 (electric-indent-functions): New var.
15949 (electric-indent-post-self-insert-function): Use it.
15951 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
15952 there's no inferior buffer (bug#10196).
15953 (prolog-consult-compile): Don't use toggle-read-only.
15955 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
15957 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
15958 interrupt. (Bug#10187)
15960 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
15962 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
15965 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
15968 2011-12-02 Juri Linkov <juri@jurta.org>
15970 * info.el (Info-search): Display "end of manual" when Isearch
15971 reaches the end of single-file Info manual. (Bug#9918)
15973 2011-12-02 Eli Zaretskii <eliz@gnu.org>
15975 * isearch.el (isearch-message-prefix): Run the input method part
15976 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
15978 2011-12-02 Juri Linkov <juri@jurta.org>
15980 * isearch.el (isearch-occur): Use `word-search-regexp' for
15982 (isearch-search-and-update): Add condition for `isearch-word' and
15983 call `word-search-regexp'. (Bug#10145)
15985 2011-12-01 Glenn Morris <rgm@gnu.org>
15987 * eshell/em-hist.el (eshell-hist-initialize):
15988 Handle eshell-history-size nil and HISTSIZE set or unset.
15989 (eshell-history-file-name, eshell-history-size): Fix custom type.
15991 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
15993 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
15995 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
15997 * progmodes/verilog-mode.el (verilog-pretty-expr):
15998 Rework verilog-pretty-expr to handle new assignment operators in system
15999 verilog, such as += *= and the like.
16000 (verilog-assignment-operator-re): Regular expression to find the
16001 assigment operator in a verilog assignment.
16002 (verilog-assignment-operation-re): Regular expression to find an
16003 assignment statement for pretty-expr.
16004 (verilog-in-attribute-p): Query returns true if point is in an
16005 attribute context; used to skip these for expression line up from
16007 (verilog-in-parameter-p): Query returns true if point is in an
16008 parameter definition context; used to skip these for expression
16009 line up from pretty-expr.
16010 (verilog-in-parenthesis-p): Query returns true if point is in a
16011 parenthetical expression, specifically ( ) but not [ ] or { };
16012 used by pretty-expr.
16013 (verilog-just-one-space): If there is no space, don't add one.
16014 (verilog-get-lineup-indent-2): Specifically skip just attribute
16015 contexts for expression lineup, rather than skipping all
16016 parenthetical expressions.
16017 (verilog-calculate-indent): Fix comment, and fix indent.
16018 (verilog-do-indent): Indent declarations in lists (suggested by
16020 (verilog-mode-abbrev-table): Populate abbrev mode with the various
16022 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
16025 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
16027 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
16028 parameters with embedded comments. Reported by Ray Stevens.
16029 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
16030 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
16031 Reported by Tim Holt.
16032 (verilog-auto): Fix AUTOing a upper module then AUTOing module
16033 instantiated by upper module causing wrong expansion until AUTOed a
16034 second time. Reported by K C Buckenmaier.
16035 (verilog-diff-auto): Fix showing .* as a difference when
16036 `verilog-auto-star-save' off. Reported by Dan Dever.
16037 (verilog-auto-reset, verilog-read-always-signals)
16038 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
16039 temporary signals in reset list if
16040 verilog-auto-reset-blocking-in-non is nil, and match assignment
16041 style to each signal's assignment type, bug381.
16042 Reported by Thomas Esposito.
16043 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
16044 (verilog-uvm-statement-re): Support UVM indentation and
16045 highlighting, with old OVM keywords only.
16046 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
16047 Support AUTOTIEOFF creating non-wire data types.
16048 Suggested by Jonathan Greenlaw.
16049 (verilog-auto-insert-lisp, verilog-delete-to-paren)
16050 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
16051 (verilog-inject-sense, verilog-read-inst-pins)
16052 (verilog-read-sub-decls, verilog-read-sub-decls-line):
16053 Fix mismatching parenthesis inside commented out code when deleting
16054 AUTOINST, bug383. Reported by Jonathan Greenlaw.
16055 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
16056 non-numeric vector width. Reported by Alex Reed.
16057 (verilog-auto-ascii-enum): Add "onehot" option to work around not
16058 detecting signals with parameter widths. Reported by Alex Reed.
16059 (verilog-auto-delete-trailing-whitespace):
16060 With `verilog-auto-delete-trailing-whitespace' remove trailing
16061 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
16062 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
16063 Fix verilog-scan-cache corruption when running user AUTO expansion
16064 hooks that call indentation routines.
16065 (verilog-simplify-range-expression): Fix typo ignoring lower case
16067 (verilog-delete-auto): Fix delete-autos to also remove user created
16068 automatics, as long as they start with AUTO.
16069 (verilog-batch-diff-auto, verilog-diff-auto)
16070 (verilog-diff-function): Add `verilog-diff-auto' and bind to
16071 "C-c?" to report differences in AUTO expansion, ignoring spaces.
16072 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
16073 (verilog-in-paren-quick, verilog-re-search-backward-quick)
16074 (verilog-re-search-forward-quick, verilog-syntax-ppss):
16075 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
16076 is disabled and its cache will get corrupt, causing AUTOS not to
16077 expand. Instead use only -quick functions.
16078 (verilog-scan-region): Fix scanning over escaped quotes.
16079 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
16080 (verilog-re-search-backward-quick)
16081 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
16082 related functions now ignore strings, to fix misparsing of strings
16083 with magic comments embedded in them.
16084 (verilog-read-auto-template):
16085 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
16086 Reported by Brad Dobbie.
16087 (verilog-read-auto-template):
16088 Fix 'verilog-auto-inst-template-numbers' with comments.
16089 Reported by Brad Dobbie.
16090 (verilog-auto-inst, verilog-auto-inst-param)
16091 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
16092 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
16093 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
16094 debugging templates without merge conflicts, bug357.
16095 Reported by Brad Dobbie.
16096 (verilog-read-auto-template):
16097 Fix verilog-auto-inst-template-numbers with multiple templates.
16098 Reported by Brad Dobbie.
16099 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
16100 abbrevs so user won't be asked to save.
16101 (verilog-read-auto-lisp-present): Fix to start at beginning of
16102 buffer in case called outside of verilog-auto.
16103 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
16104 to "X-2". Reported by Matthew Myers.
16105 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
16106 all inputs from module templates. Reported by Leith Johnson.
16107 (verilog-module-inside-filename-p): Fix locating programs as with
16109 (verilog-auto-inst-port): Fix vl-width expressions when using
16110 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
16111 (verilog-decls-get-regs, verilog-decls-get-signals,
16112 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
16113 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
16114 verilog-read-decls): Combine reg and wire structures into one var
16115 structure to represent SystemVerilog concepts.
16116 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
16117 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
16118 (verilog-auto-wire-type, verilog-insert-definition):
16119 Add verilog-auto-wire-type and AUTOLOGIC to support using
16120 SystemVerilog "logic" keyword instead of "wire"/"reg".
16121 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
16122 to declares outputs that also have assignments (presumably in an
16123 ifdef or generate if so there's not a driver conflict).
16124 Reported by Matthew Myers.
16125 (verilog-auto-declare-nettype, verilog-insert-definition):
16126 Add verilog-auto-declare-nettype to fix declarations using
16127 `default_nettype none. Reported by Julian Gorfajn.
16128 (verilog-read-always-signals-recurse, verilog-read-decls)
16129 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
16130 malformed end statement, bug325. Reported by Joshua Wise and
16132 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
16133 (verilog-inst-comment-re): Fix not deleting Interfaced comment
16134 when expanding .* in interfaces, bug320.
16135 Reported by Pierre-David Pfister.
16136 (verilog-read-module-name): Fix import statements between module
16137 name and open parenthesis, bug317.
16138 Reported by Pierre-David Pfister.
16139 (verilog-simplify-range-expression): Fix simplification of
16140 multiplications inside AUTOWIRE connections, bug303.
16141 (verilog-auto-inst-port): Support parameter expansion in
16142 multidimensional arrays.
16143 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
16144 after "assert property". Reported by Julian Gorfajn.
16145 (verilog-simplify-range-expression): Fix "couldn't merge" errors
16146 with multiplication, bug303.
16147 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
16148 Reported by Jan Frode Lonnum.
16150 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
16152 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
16153 (hfy-shell-file-name, hfy-shell):
16154 * international/fontset.el (x-decompose-font-name): Fix typos.
16156 2011-11-29 Ken Brown <kbrown@cornell.edu>
16158 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
16159 (gdb-version): Remove defvar.
16160 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
16161 (gdb-gud-context-command, gdb-non-stop-handler)
16162 (gdb-current-context-command, gdb-stopped): Use it.
16163 (gdb-init-1): Enable pretty printing here.
16164 (gdb-non-stop-handler): Don't enable pretty-printing here.
16165 Check to see if the target supports non-stop mode; if not, turn off
16166 non-stop mode. Use the following.
16167 (gdb-check-target-async): New defun.
16168 (gud-watch, gdb-stopped): Fix whitespace.
16169 (gdb-get-source-file): Don't try to display the source file if
16170 `gdb-main-file' is nil.
16172 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
16174 * align.el: Try to generate fewer markers (bug#10047).
16175 (align--set-marker): New macro.
16176 (align-region): Use it.
16178 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
16180 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
16182 2011-11-29 Chong Yidong <cyd@gnu.org>
16184 * indent.el (indent-for-tab-command, indent-according-to-mode):
16186 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
16188 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
16190 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
16191 aware of remote file names. (Bug#10124)
16193 2011-11-29 Chong Yidong <cyd@gnu.org>
16195 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
16197 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
16199 * files.el (find-file): Don't use force-same-window (bug#10144).
16200 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
16201 use pop-to-buffer if the selected window can't be used.
16202 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
16204 2011-11-28 Eli Zaretskii <eliz@gnu.org>
16206 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
16209 2011-11-28 Chong Yidong <cyd@gnu.org>
16211 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
16213 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
16215 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
16216 gdb-get-source-file-list on gdb-create-source-file-list.
16218 2011-11-26 Eli Zaretskii <eliz@gnu.org>
16220 * whitespace.el (whitespace-newline): Use a different foreground
16221 color for 16-color light-background displays.
16223 2011-11-24 Chong Yidong <cyd@gnu.org>
16225 * window.el (display-buffer--special-action): Doc fix.
16227 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
16229 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
16230 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
16231 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
16232 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
16233 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
16234 (avl-tree-stack-first):
16235 * emacs-lisp/cconv.el (cconv--analyse-use):
16236 * net/gnutls.el (gnutls-negotiate): Fix typos.
16238 2011-11-24 Glenn Morris <rgm@gnu.org>
16240 * lpr.el (lpr-windows-system, lpr-lp-system):
16241 * mail/binhex.el (binhex-begin-line):
16242 * progmodes/grep.el (grep-history, grep-find-history):
16243 * textmodes/flyspell.el:
16244 * vc/pcvs-defs.el (cvs-global-menu):
16245 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
16246 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
16247 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
16249 * net/tls.el: Fix case of "GnuTLS".
16251 * paths.el (rmail-file-name): Format doc-string for make-docfile.
16253 * version.el (emacs-build-system): Give it a doc-string.
16255 2011-11-24 Juri Linkov <juri@jurta.org>
16257 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
16259 2011-11-24 Glenn Morris <rgm@gnu.org>
16261 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
16262 if called on a non-mime message just toggle the headers. (Bug#8006)
16264 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
16266 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
16267 (allout-lead-with-comment-string, allout-structure-deleted-hook)
16268 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
16269 (allout-rebullet-heading, allout-open-sibtopic)
16270 (allout-toggle-current-subtree-encryption)
16271 (allout-toggle-subtree-encryption, allout-encrypt-string)
16272 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
16273 (allout-distinctive-bullets-string, allout-auto-activation):
16274 * window.el (window-normalize-buffer-to-display):
16275 * progmodes/verilog-mode.el (verilog-batch-indent):
16276 * textmodes/bibtex.el (bibtex-field-braces-opt)
16277 (bibtex-field-strings-opt):
16278 * vc/cvs-status.el (cvs-tree-merge):
16281 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
16283 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
16284 `non-essential' to t, in order to avoid remote connections.
16286 2011-11-23 Eli Zaretskii <eliz@gnu.org>
16288 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
16289 On MS-DOS and MS-Windows, compare with loaddefs.el
16290 case-insensitively.
16292 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
16294 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
16296 2011-11-23 Glenn Morris <rgm@gnu.org>
16298 * paths.el (rmail-file-name): Reformat the doc-string so that it
16301 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
16302 (rmail-auto-file): Ignore case in the "special" field names,
16303 as mail-fetch-field does for all others.
16305 * mail/rmail.el (rmail-forward):
16306 * mail/rmailkwd.el (rmail-set-label):
16307 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
16308 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
16310 * mail/rmail.el (rmail-current-message): Doc fix.
16312 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
16314 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
16316 * server.el (server-eval-and-print): Allow C-g (bug#6585).
16318 2011-11-22 Glenn Morris <rgm@gnu.org>
16320 * mail/rmailmm.el (test-rmail-mime-handler)
16321 (test-rmail-mime-bulk-handler)
16322 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
16324 2011-11-21 Juri Linkov <juri@jurta.org>
16326 * calc/calc.el (calc-read-key-sequence):
16327 Let-bind `input-method-function' to nil. (Bug#10018)
16329 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
16331 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
16332 Tell the caller that the next line needs recomputation, even
16333 though it doesn't start a sexp (bug#10094).
16335 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
16337 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
16339 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
16341 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
16342 Use force-same-window.
16344 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
16346 * descr-text.el (describe-char-unicode-data):
16347 * json.el (json-string-escape):
16348 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
16349 (Footnote-unicode, Footnote-style-p):
16350 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
16352 2011-11-20 Chong Yidong <cyd@gnu.org>
16354 * window.el (replace-buffer-in-windows): Restore interactive spec.
16356 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
16358 * electric.el (electric-indent-mode): Fix last change (too optimistic).
16360 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
16361 (byte-compile-global-not-obsolete-vars): New var.
16362 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
16364 (byte-compile-warn-obsolete): Align text with the one in *Help*.
16366 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
16368 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
16369 * progmodes/pascal.el (electric-pascal-equal):
16370 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
16371 * xml.el (xml-substitute-special): Fix typos.
16373 2011-11-20 Glenn Morris <rgm@gnu.org>
16375 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
16376 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
16378 (rmail-decode-mime-charset): Mark as obsolete.
16380 * mail/rmailsum.el (rmail-message-regexp-p-1):
16381 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
16382 Before using mime functions, check they are set. (Bug#10077)
16384 2011-11-19 Juri Linkov <juri@jurta.org>
16386 * info.el (Info-finder-find-node): Use `package--builtins' instead
16387 of `package-alist'. Use node names formed by the pattern "Keyword "
16388 and the keyword name.
16390 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
16392 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
16394 2011-11-19 Juri Linkov <juri@jurta.org>
16396 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
16397 that calls `revert-buffer' on all Info buffers. (Bug#9915)
16398 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
16399 `old-history', `old-history-forward'. Add let-binding
16400 `window-selected'. Remove calls to `kill-buffer',
16401 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
16402 before calling `Info-find-node', so `Info-find-node-2' will reread
16403 the Info file. Restore window positions only when `window-selected'
16406 2011-11-19 Juri Linkov <juri@jurta.org>
16408 * isearch.el (isearch-lazy-highlight-new-loop):
16409 Remove condition `(not isearch-error)'. (Bug#9918)
16411 * misearch.el (multi-isearch-search-fun): Add condition
16412 `(not bound)' to ignore lazy-highlighting search.
16413 Add the search-failed message "end of multi" when the end of
16414 multi-sequence is reached. Uncapitalize the search-failed
16415 message "Repeat for next buffer".
16417 * info.el (Info-search): Add the search-failed message
16418 "end of the manual" when the end of the manual is reached
16421 2011-11-19 Juri Linkov <juri@jurta.org>
16423 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
16424 Use non-destructive `remove' instead of `delete' because
16425 `Info-history-list' stored to `Info-isearch-initial-history-list' in
16426 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
16428 2011-11-19 Juri Linkov <juri@jurta.org>
16430 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
16431 to nil instead of binding `search-ring' and `regexp-search-ring'.
16434 2011-11-19 Eli Zaretskii <eliz@gnu.org>
16436 * simple.el (line-move): Force movement by logical lines for any
16437 hscrolled window, not only when auto-hscroll-mode is on.
16438 (line-move-visual): Update doc string to that effect. (Bug#10076)
16440 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
16442 * language/european.el (macintosh): Define as alias for mac-roman.
16444 2011-11-19 Eli Zaretskii <eliz@gnu.org>
16446 * mail/rmailmm.el (rmail-mime-display-header)
16447 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
16448 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
16449 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
16450 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
16451 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
16453 (rmail-mime-entity-segment): To get past the tagline, move forward
16454 2 more lines, to account for the 2 empty lines that precede and
16455 follow the line with the buttons.
16456 (rmail-mime-update-tagline): Move one more line, to get past the
16457 empty line that follows the buttons in the tagline. (Bug#9520)
16459 2011-11-19 Martin Rudalics <rudalics@gmx.at>
16461 * window.el (window-max-delta-1, window-min-delta-1)
16462 (window-min-size-1, window-state-get-1, window-state-put-1)
16463 (window-state-put-2): Use "window--" prefix.
16465 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
16467 * emacs-lisp/smie.el: Improve warnings and conflict detection.
16468 (smie-warning-count): New var.
16469 (smie-set-prec2tab): Use it.
16470 (smie-bnf->prec2): Improve warnings. Add docstring.
16471 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
16472 (smie-bnf--set-class): New function.
16473 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
16476 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
16477 (compilation-error-properties, compilation-move-to-column):
16478 Handle compilation-first-column while in the target buffer.
16480 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
16481 Don't hardcode point-min==1.
16483 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
16484 (eshell-rewrite-for-command): Remove workaround.
16485 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
16486 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
16487 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
16489 * files-x.el (modify-file-local-variable): Obey commenting conventions.
16491 2011-11-17 Glenn Morris <rgm@gnu.org>
16493 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
16494 Ignore buffer-local generated-autoload-file if it is the same
16495 as the global value. (Bug#10049)
16497 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
16499 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
16500 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
16501 (reftex-toc-previous-heading, reftex-toc-max-level)
16502 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
16503 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
16504 (reftex-toc-do-promote, reftex-toc-promote-prepare)
16505 (reftex-toc-promote-action, reftex-toc-extract-section-number)
16506 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
16507 (reftex-toc-rename-label, reftex-toc-visit-location)
16508 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
16509 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
16510 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
16511 leaving "*toc*" only for references to the buffer.
16513 2011-11-17 Martin Rudalics <rudalics@gmx.at>
16515 * window.el (window-resize, delete-window, split-window):
16516 Replace window-splits by window-combination-resize.
16517 * cus-start.el (window-splits): Replace by window-combination-resize.
16519 2011-11-17 Glenn Morris <rgm@gnu.org>
16521 * progmodes/sh-script.el (sh-font-lock-keywords-var):
16522 Make bash entry derive from sh entry, not shell entry.
16524 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
16526 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
16529 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
16531 * menu-bar.el (menu-bar-file-menu):
16532 * printing.el (pr-ps-utility):
16533 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
16534 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
16535 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
16536 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
16537 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
16538 (icalendar--convert-cyclic-to-ical)
16539 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
16540 (icalendar--convert-ical-to-diary)
16541 (icalendar--convert-recurring-to-diary)
16542 (icalendar--convert-non-recurring-all-day-to-diary)
16543 (icalendar-import-format-sample):
16544 * progmodes/idlw-shell.el (idlwave-shell-mode):
16545 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
16546 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
16547 (vhdl-ps-print-init): Fix typos.
16549 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
16551 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
16552 FSF and collapse date sequence, obscure author/maintainer email address
16553 better, remove extra version line, track relocation of author's webpage.
16555 * progmodes/python.el (python-pdbtrack-input-prompt)
16556 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
16557 regular python pdb prompts. Adjustments shamelessly taken exactly as
16558 suggested in EmacsWiki page (tiny change):
16559 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
16561 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
16563 * expand.el (expand-pos, expand-index, expand-point):
16564 Remove redundant info from docstring.
16565 (expand-add-abbrevs): Doc fix.
16566 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
16567 (expand-sample-perl-mode-expand-list): Fix typos.
16569 * net/dbus.el (dbus-event-member-name):
16570 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
16571 * term/pc-win.el (msdos-create-frame-with-faces):
16572 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
16574 2011-11-16 Martin Rudalics <rudalics@gmx.at>
16576 * window.el (split-window, window-state-get-1)
16577 (window-state-put-1, window-state-put-2): Rename occurrences of
16578 window-nest to window-combination-limit.
16579 * cus-start.el (window-nest): Rename to window-combination-limit.
16581 2011-11-16 Chong Yidong <cyd@gnu.org>
16583 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
16584 regexp (Bug#10033).
16586 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
16588 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
16589 `completing-read' will remove *Completions* and will preserve
16590 current-buffer for us.
16591 (tmm-add-prompt): Users of *Completions* will always (re)set its
16593 (tmm-old-comp-map): Remove.
16595 2011-11-16 Glenn Morris <rgm@gnu.org>
16597 * mail/rmailedit.el: Require rmailmm when compiling.
16598 (rmail-old-mime-state): New declaration.
16599 (rmail-edit-current-message): If editing a mime message,
16600 edit the "raw" message from the mbox buffer.
16601 (rmail-cease-edit): Handle mime messages. (Bug#9840)
16603 2011-11-15 Glenn Morris <rgm@gnu.org>
16605 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
16606 which wasn't being used. Add optional arg to force given state.
16607 (rmail-mime): Add optional arg to force given state.
16609 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
16611 * allout.el (allout-encryption-plaintext-sanitization-regexps):
16612 * frame.el (display-mm-dimensions-alist):
16613 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
16614 (outline-move-subtree-down):
16615 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
16616 (newsticker--treeview-do-get-node):
16617 * net/quickurl.el (quickurl-list-buffer-name):
16618 * progmodes/dcl-mode.el (dcl-mode):
16619 * progmodes/gdb-mi.el (gdb-mapcar*):
16620 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
16622 2011-11-15 Glenn Morris <rgm@gnu.org>
16624 * mail/rmail.el (rmail-file-coding-system): It's only ever used
16625 in a boolean sense, so just make it a boolean, and fix the doc.
16626 (rmail-show-mime-function, rmail-mime-feature)
16627 (rmail-require-mime-maybe): Doc fixes.
16628 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
16630 * mail/rmailmm.el (rmail-show-mime): Doc fix.
16632 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
16634 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
16635 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
16636 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
16637 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
16639 2011-11-15 Glenn Morris <rgm@gnu.org>
16641 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
16642 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
16643 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
16644 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
16645 (rmail-mime, rmail-show-mime): Doc fixes.
16647 * term/ns-win.el (mode-line-frame-identification):
16648 Leave it alone. (Bug#10051)
16650 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
16652 * mail/rmailout.el (rmail-output-to-rmail-buffer):
16653 Handle empty buffers. (Bug#9978)
16655 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
16657 * international/mule.el (define-charset):
16658 * mail/rmailmm.el (rmail-mime-find-header-encoding):
16659 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
16660 * progmodes/verilog-mode.el (verilog-backward-token):
16661 * textmodes/ispell.el (lookup-words):
16662 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
16664 2011-11-14 Glenn Morris <rgm@gnu.org>
16666 * progmodes/executable.el
16667 (executable-make-buffer-file-executable-if-script-p):
16668 Handle file-modes returning nil.
16670 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
16671 message - not necessary, and causes problems. (Bug#9831)
16673 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
16675 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
16677 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
16678 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
16679 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
16681 2011-11-12 Martin Rudalics <rudalics@gmx.at>
16683 * window.el (window-resize, delete-window): Use window-splits
16684 variable instead of function.
16685 (window-state-get-1, window-state-put-2, window-state-put):
16686 Don't deal with windows' splits status.
16688 2011-11-12 Glenn Morris <rgm@gnu.org>
16690 * apropos.el (apropos-do-all, apropos-library, apropos-value)
16691 (apropos-documentation): Doc fixes.
16693 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
16695 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
16696 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
16698 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
16700 * electric.el (electric-indent-post-self-insert-function): Make it
16701 possible for a char to only indent in some circumstances.
16702 (electric-indent-mode): Simplify.
16704 2011-11-11 Martin Rudalics <rudalics@gmx.at>
16706 * window.el (windows-with-parameter): Remove unused function.
16707 (windows-at-side): Rename to window-at-side-list.
16708 (window-check, window-atom-check, window-atom-check-1)
16709 (window-side-check, window-size-ignore, window-size-fixed-1)
16710 (window-in-direction-2): Prefix with "window--".
16711 (window-tree-1): Rename to window--subtree, fix doc-string.
16713 2011-11-11 Glenn Morris <rgm@gnu.org>
16715 * subr.el (eval-after-load): If FILE is already loaded,
16716 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
16718 2011-11-10 Glenn Morris <rgm@gnu.org>
16720 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
16721 Call svn via vc-svn-command rather than vc-do-command.
16722 (vc-svn-command): Add --non-interactive. (Bug#9993)
16723 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
16725 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
16726 Add toggle-read-only. (Bug#7292)
16727 * files.el (toggle-read-only): Mention that it should only
16728 be used interactively. (Bug#10006)
16730 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
16732 * progmodes/compile.el (compilation-error-regexp-alist-alist):
16733 Adjust regexp for OCaml warnings.
16735 * electric.el (electric-pair-post-self-insert-function): Let user
16736 turn it off buffer-locally (bug#9932).
16738 * progmodes/python.el (python-beginning-of-statement):
16739 Rewrite (bug#2703).
16741 * progmodes/compile.el: Better handle TABs (bug#9749).
16742 (compilation-internal-error-properties)
16743 (compilation-next-error-function): Obey the target buffer's
16744 compilation-error-screen-columns.
16746 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
16748 * progmodes/meta-mode.el: Remove obsolete comments.
16749 (meta-right-comment-regexp, meta-ignore-comment-regexp):
16750 Fix typos in docstrings.
16752 2011-11-09 Martin Rudalics <rudalics@gmx.at>
16754 * window.el (window-size-fixed-p): Rewrite doc-string.
16755 (window-resizable-p): Rename to window--resizable-p. Update callers.
16756 (window--resizable): New function. Make all callers of
16757 window-resizable call window--resizable instead.
16758 (window-resizable): Rewrite in terms of window--resizable.
16760 2011-11-08 Glenn Morris <rgm@gnu.org>
16762 * progmodes/delphi.el (delphi-mode-syntax-table):
16763 Let define-derived-mode define a proper syntax table. (Bug#9994)
16765 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
16767 * window.el: Stay away from defsubst.
16768 (window-list-no-nils): Remove.
16769 (window-state-get-1, window-state-get): Use backquote instead.
16771 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16773 * emacs-lisp/find-func.el (find-function-read):
16774 Fix incorrect use of default argument in `completing-read'.
16776 2011-11-08 Martin Rudalics <rudalics@gmx.at>
16778 * window.el (display-buffer-function, special-display-function):
16779 Mention display-buffer-record-window but do not mention
16780 help-setup parameter in doc-strings.
16781 (window-min-delta): Fix doc-string typo.
16783 2011-11-08 Chong Yidong <cyd@gnu.org>
16785 * window.el (window-total-height, window-total-width): Doc fix.
16786 (window-body-size): Move from C.
16787 (window-body-height, window-body-width): Move to C.
16789 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
16791 * window.el: Make special-display like display-buffer-alist (bug#9532).
16792 (display-buffer--special-action): New function, morphed
16793 from display-buffer--special.
16794 (display-buffer): Use it to handle special-display-buffers at higher
16795 priority (just after display-buffer-alist).
16796 (display-buffer-fallback-action, display-buffer--other-frame-action)
16797 (pop-to-buffer-same-window): Remove display-buffer--special.
16799 2011-11-07 Glenn Morris <rgm@gnu.org>
16801 * calendar/cal-menu.el (cal-menu-set-date-title):
16802 Do nothing if not in a calendar. (Bug#9976)
16804 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
16806 * files.el (find-file): Always use selected-window.
16808 2011-11-07 Martin Rudalics <rudalics@gmx.at>
16810 * window.el (window-combinations): Make WINDOW argument
16811 mandatory. Rewrite doc-string.
16812 (walk-window-subtree, window-atom-check, window-min-delta)
16813 (window-max-delta, window--resize-this-window)
16814 (window--resize-root-window-vertically, window-tree)
16815 (balance-windows, window-state-put): Rewrite doc-strings as to
16816 not mention the term "subwindow".
16817 (window--resize-subwindows-skip-p): Rename to
16818 window--resize-child-windows-skip-p.
16819 (window--resize-subwindows-normal): Rename to
16820 window--resize-child-windows-normal.
16821 (window--resize-subwindows): Rename to
16822 window--resize-child-windows.
16823 (window-or-subwindow-p): Rename to window--in-subtree-p.
16825 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
16827 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
16828 Ensure that mbox format messages end in two newlines (Bug#9974).
16830 2011-11-06 Chong Yidong <cyd@gnu.org>
16832 * window.el (window-combination-p): Function deleted; its
16833 side-effect is not used in any existing code.
16834 (window-combinations, window-combined-p): Call window-*-child
16837 2011-11-05 Chong Yidong <cyd@gnu.org>
16839 * window.el (window-valid-p): Rename from window-any-p.
16840 (window-size-ignore, window-state-get): Callers changed.
16841 (window-normalize-window): Rename from window-normalize-any-window.
16842 New arg LIVE-ONLY, replacing window-normalize-live-window.
16843 (window-normalize-live-window): Delete.
16844 (window-combination-p, window-combined-p, window-combinations)
16845 (walk-window-subtree, window-atom-root, window-min-size)
16846 (window-sizable, window-sizable-p, window-size-fixed-p)
16847 (window-min-delta, window-max-delta, window-resizable)
16848 (window-resizable-p, window-full-height-p, window-full-width-p)
16849 (window-current-scroll-bars, window-point-1, set-window-point-1)
16850 (window-at-side-p, window-in-direction, window-resize)
16851 (adjust-window-trailing-edge, maximize-window, minimize-window)
16852 (window-deletable-p, delete-window, delete-other-windows)
16853 (record-window-buffer, unrecord-window-buffer)
16854 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
16855 (quit-window, split-window, window-state-put)
16856 (set-window-text-height, fit-window-to-buffer)
16857 (shrink-window-if-larger-than-buffer): Callers changed.
16859 2011-11-04 Eli Zaretskii <eliz@gnu.org>
16861 * mail/rmail.el (rmail-simplified-subject): Decode subject with
16862 rfc2047-decode-string.
16863 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
16866 * window.el (window-body-height, window-body-width): Mention in
16867 the doc string that the return values are in frame's canonical
16870 2011-11-03 Alan Mackenzie <acm@muc.de>
16872 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
16873 change in cc-engine.el.
16875 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
16877 * window.el (switch-to-buffer): Use `force-same-window' interactively.
16879 2011-11-02 Martin Rudalics <rudalics@gmx.at>
16881 * window.el (quit-window): Call unrecord-window-buffer after
16882 showing another buffer in the window. (Bug#9937)
16883 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
16885 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
16887 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
16888 Accept status with more than 9 shelves. (Bug#9935)
16889 Reported by Colin D Bennett <colin@gibibit.com>.
16891 2011-11-01 Martin Rudalics <rudalics@gmx.at>
16893 * help.el (with-help-window): Don't reference
16894 temp-buffer-show-specifiers in doc-string.
16896 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
16898 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
16901 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
16903 * whitespace.el: New version 13.2.2.
16904 (whitespace-newline-mode): Disable properly. Reported by Sarah
16907 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
16909 * net/newst-treeview.el: Remove "Time-stamp".
16910 (newsticker--group-manage-orphan-feeds): Do not call
16911 newsticker--treeview-tree-update.
16912 (newsticker-treeview-update, newsticker-treeview):
16913 Call newsticker--treeview-tree-update if necessary.
16915 2011-10-30 Martin Rudalics <rudalics@gmx.at>
16917 * window.el (window-iso-combination-p, window-iso-combined-p)
16918 (window-iso-combinations): Remove "iso-" infix.
16919 Suggested by Chong Yidong.
16920 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
16921 (window-max-delta-1, window-resize, window--resize-siblings)
16922 (window--resize-this-window, adjust-window-trailing-edge)
16923 (split-window, balance-windows-1)
16924 (shrink-window-if-larger-than-buffer):
16925 * calendar/calendar.el (calendar-generate-window):
16926 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
16928 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
16930 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
16931 in place (bug#9907).
16932 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
16933 (eshell-rewrite-if-command, eshell-rewrite-for-command)
16934 (eshell-structure-basic-command, eshell-rewrite-while-command)
16935 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
16936 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
16937 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
16938 (eshell-do-pipelines-synchronously, eshell-eval-command):
16939 Use backquotes and prefer setq to set.
16940 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
16941 (eshell-macrop): Use functionp.
16942 (eshell-do-eval): Handle multiple expressions in `while' body.
16944 2011-10-30 Chong Yidong <cyd@gnu.org>
16946 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
16947 instead of set-mark (Bug#9810).
16949 2011-10-30 Chong Yidong <cyd@gnu.org>
16951 * window.el (split-window-below, split-window-right): Rename from
16952 split-window-above-each-other and split-window-side-by-side
16953 respectively. All callers changed.
16954 (split-window-sensibly, split-window-sensibly): Use them.
16955 (split-window-keep-point): Doc fix.
16957 * isearch.el: Add isearch-scroll property to split-window-below
16958 and split-window-right.
16960 * follow.el (follow-mode):
16961 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
16962 * progmodes/ada-xref.el (ada-gdb-application):
16963 * emulation/vip.el (vip-buffer-in-two-windows):
16964 * image-dired.el (image-dired-dired-with-window-configuration):
16965 * dired-x.el (dired-do-find-marked-files):
16966 * dired.el (dired-pop-to-buffer):
16967 * bs.el (bs--show-with-configuration):
16968 * vc/emerge.el (emerge-setup-windows):
16969 * textmodes/two-column.el (2C-two-columns):
16970 * textmodes/reftex-toc.el (reftex-toc):
16971 * progmodes/gdb-mi.el (gdb-setup-windows):
16972 * progmodes/fortran.el (fortran-window-create):
16973 * net/newst-treeview.el (newsticker--treeview-window-init):
16974 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
16975 * emulation/tpu-edt.el (tpu-gold-map):
16976 * emulation/crisp.el (crisp-mode-map):
16977 * calendar/calendar.el (calendar-basic-setup): Callers changed.
16979 2011-10-29 Chong Yidong <cyd@gnu.org>
16981 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
16983 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
16985 * textmodes/flyspell.el (flyspell-word): Fix char offset for
16986 forged Ispell output (Bug#7904).
16988 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
16990 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
16992 * doc-view.el: Avoid ugly errors about not finding nil.
16993 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
16994 (doc-view-dvipdf-program, doc-view-unoconv-program)
16995 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
16996 Avoid nil or absolute file name as default value.
16997 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
16999 2011-10-28 Alan Mackenzie <acm@muc.de>
17001 * progmodes/cc-defs.el (c-version): -> 5.32.2.
17003 2011-10-28 Alan Mackenzie <acm@muc.de>
17005 Amend the handling of c-beginning/end-of-defun in nested declaration
17008 * progmodes/cc-vars.el (c-defun-tactic): Move here from
17009 cc-langs.el. Change it to a defcustom.
17011 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
17014 * progmodes/cc-engine.el (c-beginning-of-statement-1):
17015 Prevent "class foo : bar" being spuriously recognized as a label.
17017 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
17018 Add parameter `inclusive' (to include enclosing braces in the region).
17019 (c-widen-to-enclosing-decl-scope): New function.
17020 (c-while-widening-to-decl-block): New macro.
17021 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
17022 outward for defun boundaries, and correspondingly change symbol
17023 `respect-enclosure' to `go-outward'.
17024 (c-declaration-limits): Change algorithm to report only the "innermost"
17025 defun's boundaries.
17027 2011-10-28 Deniz Dogan <deniz@dogan.se>
17029 * net/rcirc.el (rcirc-mode): Use hard newlines.
17031 2011-10-28 Alan Mackenzie <acm@muc.de>
17033 Amend to indent and fontify macros "which include their own semicolon"
17034 correctly, using the "virtual semicolon" mechanism.
17036 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
17038 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
17039 Recode to scan one line at a time rather than having \n and \r
17040 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
17041 (c-forward-label): Amend for virtual semicolons.
17042 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
17044 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
17045 of the new C macros.
17047 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
17048 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
17049 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
17050 (c-opt-cpp-macro-define): Make into a full language variable.
17051 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
17052 AWK Mode (including \n, \r) removed, no longer needed.
17054 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
17055 Invoke c-make-macro-with-semi-re.
17057 * progmodes/cc-vars.el (c-macro-with-semi-re):
17058 (c-macro-names-with-semicolon): New variables.
17059 (c-make-macro-with-semi-re): New function.
17061 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
17063 * vc/log-edit.el: Fill empty field rather than adding new one.
17064 (log-edit-add-field): New function.
17065 (log-edit-insert-changelog): Use it.
17067 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
17069 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
17071 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
17073 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
17074 (gdb--check-interpreter): New function.
17077 2011-10-27 Glenn Morris <rgm@gnu.org>
17079 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
17080 (least-positive-float, least-negative-float)
17081 (least-positive-normalized-float, least-negative-normalized-float)
17082 (float-epsilon, float-negative-epsilon):
17083 Remove unnecessary declarations.
17085 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
17086 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
17087 (least-positive-float, least-negative-float)
17088 (least-positive-normalized-float, least-negative-normalized-float)
17089 (float-epsilon, float-negative-epsilon): Add doc-strings,
17090 based on those in cl.texi.
17092 * files.el (set-visited-file-name): If the major-mode changed,
17093 reload the local variables. (Bug#9796)
17095 2011-10-27 Chong Yidong <cyd@gnu.org>
17097 * subr.el (change-major-mode-after-body-hook): New hook.
17098 (run-mode-hooks): Run it.
17100 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
17101 Use change-major-mode-before-body-hook.
17103 * simple.el (fundamental-mode):
17104 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
17105 change introducing fundamental-mode-hook.
17107 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
17109 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
17111 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
17113 * ido.el (ido-file-name-all-completions-1): Do not require
17114 tramp.el explicitly. (Bug#7583)
17116 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
17118 * progmodes/octave-mod.el:
17119 * progmodes/octave-inf.el: Update maintainer.
17121 2011-10-26 Chong Yidong <cyd@gnu.org>
17123 * subr.el (with-wrapper-hook): Rewrite doc.
17125 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
17127 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
17128 filenames "/method:foo:". (Bug#9793)
17130 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
17132 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
17135 2011-10-24 Glenn Morris <rgm@gnu.org>
17137 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
17139 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
17141 * notifications.el: Add the requirement of a running D-Bus session
17142 bus to the Commentary.
17144 2011-10-24 Juri Linkov <juri@jurta.org>
17146 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
17147 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
17150 2011-10-24 Juri Linkov <juri@jurta.org>
17152 * info.el (Info-following-node-name-re): Add newline to the list
17153 of allowed characters for leading space. (Bug#9824)
17155 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
17157 * progmodes/octave-inf.el (inferior-octave-mode-map):
17158 Fix C-c C-h binding.
17159 * progmodes/octave-mod.el (octave-help): Remove.
17161 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
17163 Sync with Tramp 2.2.3.
17165 * net/tramp-cache.el (top): Pacify byte-compiler using
17166 `init-file-user' and `site-run-file'.
17168 * net/trampver.el: Update release number.
17170 2011-10-23 Chong Yidong <cyd@gnu.org>
17172 * files.el (toggle-read-only): Remove obsolete comment about
17175 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
17176 for toggle-read-only. Note that this hasn't called vc-next-action
17177 since 2008-05-02, though it wasn't documented at the time.
17179 * vc/ediff-init.el (ediff-toggle-read-only-function):
17180 Use toggle-read-only.
17182 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
17184 Fix bug #9560, sporadic wrong indentation; improve instrumentation
17187 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
17188 correct faulty logical expression.
17189 (c-parse-state-state, c-record-parse-state-state):
17190 (c-replay-parse-state-state): New defvar/defuns.
17191 (c-debug-parse-state): Use new functions.
17193 2011-10-22 Martin Rudalics <rudalics@gmx.at>
17195 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
17196 last fix. Use window-in-direction correctly.
17198 2011-10-21 Chong Yidong <cyd@gnu.org>
17200 * progmodes/idlwave.el (idlwave-mode):
17201 * progmodes/vera-mode.el (vera-mode): No need to set
17202 require-final-newline; that's done in prog-mode.
17203 Suggested by Stefan Monnier.
17205 2011-10-21 Martin Rudalics <rudalics@gmx.at>
17207 * mouse.el (mouse-drag-window-above)
17208 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
17209 (mouse-drag-mode-line-1, mouse-drag-header-line)
17210 (mouse-drag-vertical-line-rightward-window): Remove.
17211 (mouse-drag-line): New function.
17212 (mouse-drag-mode-line, mouse-drag-header-line)
17213 (mouse-drag-vertical-line): Call mouse-drag-line.
17214 * window.el (window-at-side-p, windows-at-side): New functions.
17216 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
17218 * tar-mode.el (tar-grind-file-mode):
17219 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
17221 2011-10-21 Chong Yidong <cyd@gnu.org>
17223 * progmodes/idlwave.el (idlwave-mode):
17224 * progmodes/vera-mode.el (vera-mode):
17225 Use mode-require-final-newline.
17227 2011-10-20 Glenn Morris <rgm@gnu.org>
17229 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
17231 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
17233 * emulation/cua-base.el (cua-set-mark): Fix case of string.
17235 2011-10-20 Chong Yidong <cyd@gnu.org>
17237 * emulation/cua-base.el (cua-mode):
17238 * mail/footnote.el (footnote-mode):
17239 * mail/mailabbrev.el (mail-abbrevs-mode):
17240 * net/xesam.el (xesam-minor-mode):
17241 * progmodes/bug-reference.el (bug-reference-mode):
17242 * progmodes/cap-words.el (capitalized-words-mode):
17243 * progmodes/compile.el (compilation-minor-mode)
17244 (compilation-shell-minor-mode):
17245 * progmodes/gud.el (gud-tooltip-mode):
17246 * progmodes/hideif.el (hide-ifdef-mode):
17247 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
17248 * progmodes/subword.el (subword-mode):
17249 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
17250 * progmodes/which-func.el (which-function-mode):
17251 * term/tvi970.el (tvi970-set-keypad-mode):
17252 * term/vt100.el (vt100-wide-mode):
17253 * textmodes/flyspell.el (flyspell-mode):
17254 * textmodes/ispell.el (ispell-minor-mode):
17255 * textmodes/nroff-mode.el (nroff-electric-mode):
17256 * textmodes/paragraphs.el (use-hard-newlines):
17257 * textmodes/refill.el (refill-mode):
17258 * textmodes/reftex.el (reftex-mode):
17259 * textmodes/rst.el (rst-minor-mode):
17260 * textmodes/sgml-mode.el (html-autoview-mode)
17261 (sgml-electric-tag-pair-mode):
17262 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
17263 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
17264 * emulation/crisp.el (crisp-mode):
17265 * emacs-lisp/eldoc.el (eldoc-mode):
17266 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
17267 minor mode behavior.
17269 2011-10-19 Juri Linkov <juri@jurta.org>
17271 * descr-text.el (describe-char): Add #x2010 and #x2011 to
17272 the list of hard-coded chars with escape-glyph face.
17274 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
17276 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
17278 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
17280 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
17283 2011-10-19 Glenn Morris <rgm@gnu.org>
17285 * vc/vc-bzr.el (vc-bzr-after-dir-status):
17286 Ignore ignored files. (Bug#9726)
17288 2011-10-19 Chong Yidong <cyd@gnu.org>
17290 Doc fix for minor modes, stating that an omitted argument enables
17291 the mode unconditionally when called from Lisp.
17293 * abbrev.el (abbrev-mode):
17294 * allout.el (allout-mode):
17295 * autoinsert.el (auto-insert-mode):
17296 * autoarg.el (autoarg-mode, autoarg-kp-mode):
17297 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
17298 (global-auto-revert-mode):
17299 * battery.el (display-battery-mode):
17300 * composite.el (global-auto-composition-mode)
17301 (auto-composition-mode):
17302 * delsel.el (delete-selection-mode):
17303 * desktop.el (desktop-save-mode):
17304 * dired-x.el (dired-omit-mode):
17305 * dirtrack.el (dirtrack-mode):
17306 * doc-view.el (doc-view-minor-mode):
17307 * double.el (double-mode):
17308 * electric.el (electric-indent-mode, electric-pair-mode):
17309 * emacs-lock.el (emacs-lock-mode):
17310 * epa-hook.el (auto-encryption-mode):
17311 * follow.el (follow-mode):
17312 * font-core.el (font-lock-mode):
17313 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
17314 * help.el (temp-buffer-resize-mode):
17315 * hilit-chg.el (highlight-changes-mode)
17316 (highlight-changes-visible-mode):
17317 * hi-lock.el (hi-lock-mode):
17318 * hl-line.el (hl-line-mode, global-hl-line-mode):
17319 * icomplete.el (icomplete-mode):
17320 * ido.el (ido-everywhere):
17321 * image-file.el (auto-image-file-mode):
17322 * image-mode.el (image-minor-mode):
17323 * iswitchb.el (iswitchb-mode):
17324 * jka-cmpr-hook.el (auto-compression-mode):
17325 * linum.el (linum-mode):
17326 * longlines.el (longlines-mode):
17327 * master.el (master-mode):
17328 * mb-depth.el (minibuffer-depth-indicate-mode):
17329 * menu-bar.el (menu-bar-mode):
17330 * minibuf-eldef.el (minibuffer-electric-default-mode):
17331 * mouse-sel.el (mouse-sel-mode):
17332 * msb.el (msb-mode):
17333 * mwheel.el (mouse-wheel-mode):
17334 * outline.el (outline-minor-mode):
17335 * paren.el (show-paren-mode):
17336 * recentf.el (recentf-mode):
17337 * reveal.el (reveal-mode, global-reveal-mode):
17338 * rfn-eshadow.el (file-name-shadow-mode):
17339 * ruler-mode.el (ruler-mode):
17340 * savehist.el (savehist-mode):
17341 * scroll-all.el (scroll-all-mode):
17342 * scroll-bar.el (scroll-bar-mode):
17343 * server.el (server-mode):
17344 * shell.el (shell-dirtrack-mode):
17345 * simple.el (auto-fill-mode, transient-mark-mode)
17346 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
17347 (line-number-mode, column-number-mode, size-indication-mode)
17348 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
17349 * strokes.el (strokes-mode):
17350 * time.el (display-time-mode):
17351 * t-mouse.el (gpm-mouse-mode):
17352 * tool-bar.el (tool-bar-mode):
17353 * tooltip.el (tooltip-mode):
17354 * type-break.el (type-break-mode-line-message-mode)
17355 (type-break-query-mode):
17356 * view.el (view-mode):
17357 * whitespace.el (whitespace-mode, whitespace-newline-mode)
17358 (global-whitespace-mode, global-whitespace-newline-mode):
17359 * xt-mouse.el (xterm-mouse-mode): Doc fix.
17361 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
17362 Fix autogenerated docstring.
17364 2011-10-19 Juri Linkov <juri@jurta.org>
17366 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
17367 by checking environment variables "DESKTOP_SESSION" and
17368 "XDG_CURRENT_DESKTOP". (Bug#9779)
17370 2011-10-19 Juri Linkov <juri@jurta.org>
17372 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
17373 (browse-url-chromium-program, browse-url-chromium-arguments):
17375 (browse-url-default-browser): Check for `browse-url-chromium' and
17376 call `browse-url-chromium-program'.
17377 (browse-url-chromium): New command. (Bug#9779)
17379 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
17381 * facemenu.el (list-colors-duplicates): On Windows, detect more
17382 duplicates by assuming that only colors matching "^System" are
17383 special "system colors". (Bug#9722)
17385 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
17387 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
17388 to distinguish the author from the committer.
17390 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
17392 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
17394 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
17396 * international/mule.el (sgml-html-meta-auto-coding-function):
17397 Add support for detecting encoding in HTML5 specified only as
17398 <meta charset="UTF-8">. Implementation just makes http-equiv and
17399 content-type parts from HTML4 encoding string optional. (Bug#9716)
17401 2011-10-18 Glenn Morris <rgm@gnu.org>
17403 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
17405 2011-10-18 Chong Yidong <cyd@gnu.org>
17407 * faces.el (cursor): Doc fix.
17409 2011-10-17 Chong Yidong <cyd@gnu.org>
17411 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
17413 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
17415 * dirtrack.el (dirtrack): Support shell buffers with path
17416 prefixes, e.g. tramp-based remote shells. (Bug#9647)
17418 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
17420 * json.el: Bump version to 1.3 and note change in History.
17421 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
17423 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
17425 * comint.el (comint-insert-input, comint-send-input)
17426 (comint-get-old-input-default, comint-backward-matching-input)
17427 (comint-next-prompt): Use nil instead of `input' for field property of
17428 past user input (bug#114).
17430 * minibuffer.el (completion--replace): Inherit surrounding properties
17432 (minibuffer-complete-and-exit): Use it.
17434 * comint.el (comint--table-subvert): Quote the all-completions output
17437 2011-10-17 Martin Rudalics <rudalics@gmx.at>
17439 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
17441 * menu-bar.el (menu-bar-file-menu): Add entry for making new
17442 window on right of selected. (Bug#9350) Reword other window
17443 entries and separate them from frame entries.
17445 2011-10-15 Glenn Morris <rgm@gnu.org>
17447 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
17450 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
17452 * net/network-stream.el (network-stream-open-starttls):
17453 Improve detection of failure due to lack of TLS support.
17455 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
17456 putting the input text in front and in bold.
17458 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
17460 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
17462 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
17465 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
17466 unread-command-events rather than pushing yet-another event.
17468 2011-10-14 Eli Zaretskii <eliz@gnu.org>
17470 * mail/sendmail.el (sendmail-query-once): Improve the wording of
17471 the explanation of the possible choices. Make the options passed
17472 to completing-read shorter.
17474 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
17476 * textmodes/flyspell.el (flyspell-large-region): Make sure
17477 extended character mode is used if defined (Bug#1339).
17479 2011-10-13 Eli Zaretskii <eliz@gnu.org>
17481 * simple.el (what-cursor-position): Fix the display of the
17482 character info for LRE, LRO, RLE, and RLO characters by appending
17485 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
17487 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
17488 even in case of error; add debug spec; simplify data flow.
17489 (with-timeout-handler): Remove.
17491 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
17493 Fix Bug#6019, Bug#9315.
17495 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
17496 complete `buffer-file-name', the local file name part could look
17497 remotely (for example on VMS).
17499 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
17500 `tramp-run-real-handler'.
17501 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
17502 already quoted by '"'.
17504 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
17505 Let `file-name-handler-alist' be nil, the local file name part
17506 could look remotely (for example on VMS).
17508 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
17510 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
17512 (flyspell-post-command-hook): ...to here.
17514 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
17516 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
17518 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
17519 using completion. Protect against "slow" callers.
17520 Remove the "message hack".
17522 2011-10-11 Juri Linkov <juri@jurta.org>
17524 * isearch.el (isearch-lazy-highlight-word): New variable.
17525 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
17528 2011-10-11 Glenn Morris <rgm@gnu.org>
17530 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
17531 like f90-previous-statement does.
17533 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
17535 * eshell/eshell.el (eshell-command): History should be saved
17536 only in interactive use, to avoid error.
17538 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
17540 * minibuffer.el (completion-file-name-table): Fix last change,
17541 i.e. ignore normal errors but not the other ones.
17543 2011-10-10 Martin Rudalics <rudalics@gmx.at>
17545 * window.el (special-display-buffer-names)
17546 (special-display-regexps): Remove some remnants of earlier
17547 changes from doc-strings.
17548 (quit-windows-on): New function.
17550 * vc/vc.el (vc-revert, vc-rollback):
17551 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
17552 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
17553 (Bug#6183) (Bug#7074) (Bug#7447)
17555 2011-10-09 Martin Rudalics <rudalics@gmx.at>
17557 * window.el (frame-auto-hide-function): Add version tag.
17560 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
17562 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
17565 2011-10-09 Leo Liu <sdl.web@gmail.com>
17567 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
17570 2011-10-08 Glenn Morris <rgm@gnu.org>
17572 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
17573 before the first code statement zero indent. (Bug#9690)
17575 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
17577 * simple.el (count-words-region): Always count in the region.
17578 Report the number of lines and characters too.
17579 (count-words): New command, which counts in the buffer if the
17580 region is inactive, as count-words-region used to.
17581 (count-words--message): New function. Handle plurals.
17582 (count-lines-region): Make it an alias for count-words-region.
17584 * bindings.el (esc-map): Replace count-lines-region with
17585 count-words-region.
17587 2011-10-08 Martin Rudalics <rudalics@gmx.at>
17589 * window.el (window--delete): Delete dedicated frame
17590 unconditionally when argument KILL is non-nil. (Bug#9699)
17591 (switch-to-buffer): Fix doc-string typo.
17593 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
17595 * eshell/eshell.el (eshell-command): Avoid using hooks.
17597 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
17599 * bindings.el ([M-left],[M-right]): Bind to left-word and
17600 right-word respectively.
17602 2011-10-07 Glenn Morris <rgm@gnu.org>
17604 * cus-start.el (debug-on-quit): Fix custom type.
17606 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
17608 * subr.el (define-key-after): Clarify that the function is not
17609 useful for non-menu keymaps.
17611 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
17613 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
17615 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
17616 in current minibuffer (Fix bug with recursive minibuffers).
17618 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
17620 * progmodes/gdb-mi.el (gdb): Doc fix.
17622 2011-10-05 Martin Rudalics <rudalics@gmx.at>
17624 * window.el (frame-auto-hide-function): New option replacing
17625 frame-auto-delete. Suggested by Stefan Monnier.
17626 (window--delete): Call frame-auto-hide-function instead of
17627 investigating frame-auto-delete.
17628 (window-point-1, set-window-point-1): New functions.
17629 (window-in-direction, record-window-buffer, window-state-get-1)
17630 (display-buffer-record-window): Use window-point-1 instead of
17632 (set-window-buffer-start-and-point): Use set-window-point-1.
17634 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
17636 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
17638 2011-10-05 Glenn Morris <rgm@gnu.org>
17640 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
17641 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
17643 2011-10-05 Leo Liu <sdl.web@gmail.com>
17645 * subr.el (read-char-choice): Fix argument to buffer-live-p which
17646 works with buffer object.
17648 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
17650 * mpc.el (mpc-tool-bar-map): Add labels.
17652 2011-10-04 Glenn Morris <rgm@gnu.org>
17654 * calendar/holidays.el (calendar-check-holidays): Doc fix.
17656 2011-10-04 Martin Rudalics <rudalics@gmx.at>
17658 * window.el (window--delete): New function.
17659 (frame-auto-delete): Resuscitate option.
17660 (bury-buffer, replace-buffer-in-windows)
17661 (quit-window): Rewrite using window--delete.
17662 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
17663 Pass display-buffer-mark-dedicated to window--display-buffer-2
17666 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
17668 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
17669 returns a list (bug#9554). Add remote file name completion.
17670 * comint.el (comint--table-subvert): Curry and get quote&unquote
17671 functions as arguments.
17672 (comint--complete-file-name-data): Adjust call accordingly.
17673 * pcomplete.el (pcomplete--table-subvert): Remove.
17674 (pcomplete-completions-at-point): Use comint--table-subvert instead.
17676 * minibuffer.el (completion-table-case-fold): Use currying.
17677 (completion--styles-type, completion--cycling-threshold-type):
17679 (completion-styles, completion-category-overrides)
17680 (completion-cycle-threshold): Use them.
17681 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
17682 completion-table-case-fold.
17684 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
17686 * minibuffer.el (completion-category-overrides): Fix type of styles
17687 and add more user friendly tags (bug#9660).
17689 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
17691 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
17692 (mule-input-method-string): New widget.
17693 (default-input-method, language-info-custom-alist): Use it.
17695 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
17697 * pcomplete.el: Require comint.
17698 (pcomplete--common-suffix): Remove.
17699 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
17700 (pcomplete--table-subvert): Sync with comint--table-subvert.
17701 (pcomplete--entries): Use comint-completion-file-name-table.
17702 * comint.el (comint-unquote-filename): Simplify.
17703 (comint-completion-file-name-table): New function (bug#9616).
17704 (comint--complete-file-name-data): Use it.
17706 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
17707 (pcmpl-gnu-tar-buffer): Remove.
17708 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
17709 around. Make sure pcomplete-suffix-list is only changed temporarily.
17710 Don't look inside the tar's file if it's too large.
17712 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
17714 * cus-edit.el (custom-mode-map):
17715 * epa.el (epa-key-list-mode-map):
17716 * man.el (Man-mode-map):
17717 * startup.el (splash-screen-keymap):
17718 * simple.el (special-mode-map): Use scroll-up-command and
17719 scroll-down-command.
17721 * progmodes/idlw-help.el (idlwave-help-mode-map):
17722 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
17723 * net/newst-plainview.el (newsticker-mode-map):
17724 * emulation/ws-mode.el (wordstar-mode-map):
17725 * emulation/vi.el (vi-com-map):
17726 * calc/calc-graph.el (calc-graph-show-dumb):
17727 * term/sun.el (terminal-init-sun):
17728 * term/ns-win.el (global-map):
17729 * progmodes/grep.el (grep-mode-map):
17730 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
17731 * mail/rmail.el (rmail-mode-map):
17732 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
17734 * custom.el (custom-safe-themes, load-theme): Treat value of t for
17735 custom-safe-themes as special.
17737 2011-10-01 Julien Danjou <julien@danjou.info>
17739 * notifications.el (notifications-notify): Fix docstring.
17741 2011-10-01 Per Starbäck <per@starback.se>
17743 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
17745 2011-09-30 Martin Rudalics <rudalics@gmx.at>
17747 * startup.el (command-line-1): Fix last fix by inserting
17748 initial-scratch-message into *scratch* before displaying it.
17749 (Bug#9605) and (Bug#9636)
17751 2011-09-29 Eli Zaretskii <eliz@gnu.org>
17753 * simple.el (line-move): If auto-hscroll-mode is disabled and the
17754 window is hscrolled, move by logical lines. (Bug#9607)
17755 (line-move-visual): Update the doc string to the above effect.
17757 2011-09-29 Martin Rudalics <rudalics@gmx.at>
17759 * window.el (display-buffer-record-window): When WINDOW is the
17760 selected window use `point' instead of `window-point'. (Bug#9626)
17762 * startup.el (command-line-1): Use insert-before-markers when
17763 inserting initial-scratch-message. (Bug#9605)
17765 * help.el (help-window): Remove variable.
17767 2011-09-29 Glenn Morris <rgm@gnu.org>
17769 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
17771 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
17773 * descr-text.el (describe-char-categories): Accept category
17774 descriptions more than one line long.
17776 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
17778 * simple.el (delete-trailing-whitespace): Fix last change.
17780 * progmodes/perl-mode.el (perl-syntax-propertize-function):
17781 Don't confuse "y => 3" as the beginning of a `y' operation.
17783 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
17784 object has more than 4 slots (bug#9613).
17786 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
17788 * subr.el (with-output-to-temp-buffer):
17789 * net/quickurl.el (quickurl, quickurl-browse-url):
17790 Fix typos in docstrings.
17792 2011-09-27 Eli Zaretskii <eliz@gnu.org>
17794 * minibuffer.el (completion-styles)
17795 (completion-category-overrides): Cross reference each other in doc
17798 2011-09-27 Glenn Morris <rgm@gnu.org>
17800 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
17801 to split-string. (Bug#9606)
17803 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
17805 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
17808 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
17810 * emacs-lisp/package.el (list-packages): Fix echo area message.
17812 2011-09-27 Leo Liu <sdl.web@gmail.com>
17814 * ido.el (ido-read-internal): Accept cons cell HIST arg.
17816 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
17818 * net/dbus.el (dbus-unregister-object): Don't release services for
17819 registered signals. (Bug#9581)
17821 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
17823 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
17824 function that picks between cfengine 2 and 3 support
17825 automatically. Update docs accordingly.
17827 2011-09-22 Kenichi Handa <handa@m17n.org>
17829 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
17831 (indian-itrans-v5-table-for-tamil): New variable.
17832 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
17834 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
17836 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
17837 that's true if the current command involved collapsing of text.
17838 It's reset to false at the beginning of the next command.
17839 (allout-post-command-business): Move the cursor to the beginning
17840 of entry if the cursor is hidden and collapsing activity just
17843 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
17845 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
17846 tracking (Bug#9541).
17848 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
17850 * net/newst-reader.el (newsticker-html-renderer)
17851 (newsticker-show-news): Automatically load html rendering package
17852 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
17853 because w3m-fill-column is let-bound" and the error "Symbol's value
17854 as variable is void: w3m-fill-column".
17856 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
17858 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
17859 Release services only if they are defined. (Bug#9581)
17861 2011-09-23 Richard Stallman <rms@gnu.org>
17863 * textmodes/paragraphs.el (forward-sentence): For backwards case,
17864 distinguish start of paragraph from start of its text.
17866 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
17868 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
17869 (rmail-generate-viewer-buffer): Put that hook on view buffer.
17870 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
17872 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
17874 * international/mule-diag.el (mule-diag): Insert a newline after
17875 each fontset description.
17877 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
17879 * simple.el (delete-trailing-whitespace):
17880 Document last change; simplify.
17882 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
17884 * simple.el (delete-trailing-whitespace): Also delete
17885 extra newlines at the end of the buffer.
17887 * textmodes/picture.el: Make motion commands obey shift-select-mode.
17888 (picture-newline): Use forward-line so as to ignore fields.
17890 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
17892 * subr.el (with-wrapper-hook): Fix edebug spec.
17894 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
17896 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
17899 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
17901 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
17902 Fix nasty bug using wrong cached values.
17904 2011-09-23 Alan Mackenzie <acm@muc.de>
17906 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
17908 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
17910 * window.el (pop-to-buffer): Ensure right window is selected if we
17911 chose another frame.
17913 2011-09-22 Eli Zaretskii <eliz@gnu.org>
17915 * simple.el (what-cursor-position): Use get-char-property-change
17916 and next-single-char-property-change, to be able to show display
17917 properties that come from overlays as well as text properties.
17919 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
17921 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
17923 * cmuscheme.el (run-scheme, switch-to-scheme):
17924 * cus-edit.el (customize-group, custom-buffer-create)
17925 (customize-browse):
17927 * shell.el (shell):
17928 * mail/sendmail.el (mail):
17929 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
17931 2011-09-22 Richard Stallman <rms@gnu.org>
17933 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
17934 move back only to line beg, don't move back over blank lines.
17936 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
17938 * files.el (copy-directory): Set directory attributes only in case
17939 they could be retrieved from the source directory. (Bug#9565)
17941 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
17943 * progmodes/hideshow.el (hs-looking-at-block-start-p)
17944 (hs-find-block-beginning, hs-hide-level-recursive):
17945 Ignore strings as well as comments. (Bug#9502)
17947 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
17949 * progmodes/sql.el (sql-comint-postgres):
17950 Convert port number to a string. (Bug#9566)
17952 2011-09-22 Martin Rudalics <rudalics@gmx.at>
17954 * window.el (quit-window): Undedicate window when switching to
17955 previous buffer. Reported by Thierry Volpiatto
17956 <thierry.volpiatto@gmail.com>.
17957 (special-display-popup-frame): When popping up a new frame reset
17958 its previous buffers to nil. Simplify code.
17960 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
17962 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
17963 and process filter, as done also in `shell-command'.
17965 2011-09-21 Martin Rudalics <rudalics@gmx.at>
17967 * window.el (set-window-buffer-start-and-point):
17968 Call set-window-start with NOFORCE argument t.
17969 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
17970 (quit-window): Reword doc-string. Handle new format of
17971 quit-restore parameter. Don't delete window if it has a
17972 previous buffer we can show instead of the present one.
17973 (display-buffer-record-window): Rewrite using a new format for
17974 the quit-restore window parameter
17975 (special-display-popup-frame, display-buffer-same-window)
17976 (display-buffer-reuse-window, display-buffer-pop-up-frame)
17977 (display-buffer-pop-up-window, display-buffer-use-some-window):
17978 Adapt symbol passed to display-buffer-record-window.
17979 * help.el (help-window-setup): Handle new format of quit-restore
17982 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
17984 * faces.el (face-list): Fix docstring (bug#9564).
17986 * window.el (display-buffer--action-function-custom-type):
17987 Don't include internal functions in the Custom interface.
17989 2011-09-20 Juri Linkov <juri@jurta.org>
17991 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
17992 (Info-forward-node, Info-backward-node, Info-next-preorder)
17993 (Info-last-preorder): Use it. (Bug#9528)
17995 2011-09-20 Juri Linkov <juri@jurta.org>
17997 * info.el (Info-last-preorder): Visit last menu item only when
17998 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
18000 2011-09-20 Julien Danjou <julien@danjou.info>
18002 * password-cache.el (password-cache-remove): Remove entries even if the
18003 value is nil, so that password with a nil value (negative caching) is
18004 possible to invalidate.
18006 2011-09-20 Lawrence Mitchell <wence@gmx.li>
18008 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
18009 all whitespace around breakpoint. (Bug#9553)
18010 (f90-find-breakpoint): Only break at whitespace inside a comment.
18012 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
18014 * minibuffer.el (completion-file-name-table): Keep track of errors.
18015 (completion-table-with-predicate): Handle the case where pred1 is nil.
18016 * pcomplete.el (pcomplete-completions-at-point): Simplify.
18018 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
18020 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
18021 (debugger-return-value): Signal an error if the debugging context does
18022 not await any return value.
18024 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
18025 * image-mode.el (image-toggle-display-text)
18026 (image-toggle-display-image): Stay away from evil `intangible'.
18028 2011-09-19 Leo Liu <sdl.web@gmail.com>
18030 * replace.el (occur-revert-arguments): Make it permanent-local.
18031 (occur-mode): Don't call font-lock-defontify.
18033 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
18035 * net/ldap.el (ldap-search-internal): Don't push empty search
18038 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
18040 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
18042 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
18044 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
18045 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
18047 2011-09-18 Juri Linkov <juri@jurta.org>
18049 * buff-menu.el (Buffer-menu-mode-map):
18050 * dired.el (dired-mode-map):
18051 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
18052 (lisp-interaction-mode-map):
18053 * emacs-lisp/package.el (package-menu-mode-map):
18054 * epa.el (epa-key-list-mode-map):
18055 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
18056 (menu-bar-options-menu):
18057 * outline.el (outline-mode-menu-bar-map):
18058 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
18059 * vc/vc-dir.el (vc-dir-menu-map):
18060 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
18061 Capitalize non-function content words in menu item strings.
18063 * dired.el (dired-mode-map): Add menu item for
18064 `image-dired-dired-toggle-marked-thumbs'.
18066 2011-09-18 Juri Linkov <juri@jurta.org>
18068 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
18069 to `isearch-case-fold-search' and restore its original value
18070 after the `isearch-mode' call.
18072 2011-09-18 Juri Linkov <juri@jurta.org>
18074 * progmodes/grep.el (grep-process-setup): Don't check code for 1
18075 because `zgrep' returns 1 for successful matches (bug#9226).
18077 2011-09-18 Juri Linkov <juri@jurta.org>
18079 * info.el (Info-extract-menu-node-name): Check the second match
18080 for empty string (second test-case of bug#9528).
18081 (Info-last-preorder): Let-bind `Info-history' to nil to not add
18082 intermediate nodes to the history (first test-case of bug#9528).
18084 2011-09-18 Juri Linkov <juri@jurta.org>
18086 * info.el (Info-mode-syntax-table): New variable.
18087 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
18089 2011-09-18 Juri Linkov <juri@jurta.org>
18091 * info.el (Info-file-supports-index-cookies):
18092 Increment line-beginning-position's arg from 3 to 4 because makeinfo
18093 outputs one more line for long file names (bug#4142).
18095 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
18097 * newcomment.el (comment-normalize-vars): If prompting for
18098 comment-start, set comment-start-skip too (Bug#8424).
18100 2011-09-18 Johan Bockgård <bojohan@gnu.org>
18102 * icomplete.el: Fix previous fix of Bug#5849.
18103 (icomplete-mode): Don't set completion-show-inline-help.
18104 (icomplete-minibuffer-setup): Set completion-show-inline-help
18105 locally during icompletion.
18107 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
18109 * woman.el (woman2-process-escapes): Don't delete unrecognized
18110 escapes (Bug#7843).
18112 * files.el (inhibit-first-line-modes-regexps): Add image files.
18113 (hack-local-variables-prop-line): Return nil for malformed
18114 prop-lines (Bug#9044).
18116 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
18118 * net/tramp.el (top): Don't require 'shell.
18119 (tramp-methods): Fix docstring.
18120 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
18121 Return complete remote file name. Handle "smb" case.
18122 Use `tramp-tmpdir', if defined for the respective method.
18123 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
18125 * net/tramp-compat.el (top): Require 'shell.
18127 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
18128 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
18129 `tramp-current-host'.
18130 (tramp-get-remote-tmpdir): Remove.
18132 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
18133 `tramp-tmpdir' entries.
18134 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
18135 (tramp-smb-handle-file-attributes): Ignore errors.
18136 (tramp-smb-wait-for-output): Check also for process end.
18138 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
18140 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
18141 when sending QUIT (bug#9312).
18143 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
18145 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
18146 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
18147 occur-mode-display-occurrence.
18148 (occur-edit-mode): Add usage message.
18149 (occur-cease-edit): New command.
18150 (occur-after-change-function): Use text properties to find the
18151 position of the prefix text.
18152 (occur-engine): Set stickiness of prefix text properties.
18154 2011-09-17 Glenn Morris <rgm@gnu.org>
18156 * progmodes/etags.el (complete-tag):
18157 Fix call to completion-in-region. (Bug#9526)
18159 2011-09-17 Juri Linkov <juri@jurta.org>
18161 * textmodes/ispell.el (ispell-word): Add to the error message
18162 the word, ispell program name and current dictionary (bug#9121).
18163 (ispell-tex-arg-end): Capitalize "error" in the error message.
18165 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
18167 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
18170 2011-09-17 Juri Linkov <juri@jurta.org>
18172 * window.el (window-safe-min-height, window-safe-min-width):
18173 Fix typos (followup to bug#9522).
18175 2011-09-17 Sven Joachim <svenjoac@gmx.de>
18177 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
18179 2011-09-16 Eli Zaretskii <eliz@gnu.org>
18181 * simple.el (line-move): If goal-column is set, move by logical
18182 lines, not by display lines. (Bug#971)
18183 (next-line, previous-line, goal-column, line-move-visual): Doc fix
18184 to reflect the above change.
18186 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
18188 * image.el (imagemagick-register-types): Use regexp-opt.
18190 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
18192 * window.el (display-buffer-base-action): Rename from
18193 display-buffer-default-action. Make default value empty.
18194 (display-buffer-overriding-action): Convert to defvar.
18195 (display-buffer-fallback-action): New var.
18197 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
18199 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
18201 (package--add-to-archive-contents): If there is a duplicate entry
18202 with an older version, remove it.
18203 (package-menu-mark-delete, package-menu-mark-install)
18204 (package-menu-mark-unmark): Make unused args optional.
18205 (package-menu-mark-obsolete-for-deletion):
18206 Use package-menu-get-status instead of a regexp search.
18207 (package-menu-get-status): Use tabulated-list-entry.
18208 (package-menu-mark-upgrades): New command.
18209 (package-menu-mode-map): Bind it to U. Add it to menu bar.
18210 (package-menu-execute): Do installation before deletion.
18211 (package-menu-refresh, package-menu-execute): Use derived-mode-p
18212 instead of checking major-mode.
18213 (package-menu--find-upgrades): New function.
18215 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
18217 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
18218 passwords in the log buffer.
18219 (smtpmail-process-filter): Update the process marker so that the
18220 "broken by peer" status message is inserted in the right place.
18222 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
18224 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
18225 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
18226 bibtex-completion-at-point-function.
18227 (bibtex-completion-at-point-function): Use them.
18229 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
18231 * mpc.el (mpc-constraints-tag-lookup): New function.
18232 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
18233 also to browser "album|playlist".
18235 2011-09-14 Juri Linkov <juri@jurta.org>
18237 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
18238 (isearch-edit-string): Use length of `isearch-string' when
18239 `isearch-fail-pos' returns nil.
18240 (isearch-message): Remove duplicate code and call
18241 `isearch-fail-pos' with arg `t'.
18243 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
18245 * replace.el (occur-mode-goto-occurrence): Don't force using other
18248 * dired-aux.el (dired-do-chmod): Don't provide initial input.
18250 2011-09-14 Martin Rudalics <rudalics@gmx.at>
18252 * window.el (display-buffer-window): Remove.
18253 (display-buffer-record-window): Use help-setup window parameter
18254 instead of variable display-buffer-window.
18255 (display-buffer-function, special-display-buffer-names)
18256 (special-display-function): Mention help-setup parameter instead
18257 of display-buffer-window in doc-string.
18258 * help.el (help-window-setup): New argument help-window.
18259 Use help-window-setup parameter instead of display-buffer-window.
18260 Reword some messages.
18261 (with-help-window): Pass window used for displaying the buffer
18262 to help-window-setup. Don't set display-buffer-window.
18264 2011-09-13 Glenn Morris <rgm@gnu.org>
18266 * emacs-lisp/debug.el (debugger-make-xrefs):
18267 Preserve point. (Bug#9462)
18269 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
18271 * window.el (window-deletable-p): Use next-frame.
18273 2011-09-13 Martin Rudalics <rudalics@gmx.at>
18275 * window.el (window-auto-delete): Remove.
18276 (window-deletable-p): Remove argument FORCE. Don't deal with
18277 dedication and previous buffers.
18278 (switch-to-prev-buffer): Don't delete window.
18279 (delete-windows-on): Delete a window's frame if and only if the
18280 window is dedicated.
18281 (replace-buffer-in-windows): Delete buffer's window or frame if
18282 and only if window is dedicated.
18283 (quit-window): Handle quit-restore as before last change.
18284 (bury-buffer): Delete window only if window-deletable-p returns t.
18286 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
18288 * window.el (window-deletable-p): Never delete the last frame on a
18291 2011-09-13 Glenn Morris <rgm@gnu.org>
18293 * help.el (describe-key-briefly): Copy previous standard-output change.
18295 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
18297 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
18299 2011-09-13 Glenn Morris <rgm@gnu.org>
18301 * emacs-lisp/lisp-mode.el (lisp-indent-function):
18302 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
18304 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
18306 * dired-aux.el (dired-mark-read-string): Don't return default
18307 value on empty input (Bug#9361).
18308 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
18309 Omit initial minibuffer contents.
18310 (dired-do-chmod): Signal an error on empty input.
18311 (dired-mark-read-string): Don't return default on empty input.
18313 * files.el (file-modes-symbolic-to-number): Doc fix.
18315 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
18317 * international/mule-cmds.el (ucs-completions): Remove.
18318 (read-char-by-name): Use complete-with-action instead; add metadata.
18320 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
18322 * window.el (display-buffer--action-function-custom-type)
18323 (display-buffer--action-custom-type): New vars.
18324 (display-buffer-alist, display-buffer-default-action)
18325 (display-buffer-overriding-action): Add defcustom types.
18327 * frame.el (delete-other-frames): Doc fix (Bug#276).
18329 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
18331 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
18333 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
18335 Change modes that used same-window-* vars to use switch-to-buffer.
18337 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
18338 Use switch-to-buffer.
18340 * cus-edit.el (customize-group, custom-buffer-create)
18341 (customize-browse, custom-buffer-create-other-window):
18342 Use switch-to-buffer or switch-to-buffer-other-window.
18344 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
18345 (Info-prev, Info-up, Info-speedbar-goto-node)
18346 (info-display-manual): Use switch-to-buffer.
18347 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
18349 * mail/sendmail.el (mail): Use switch-to-buffer.
18350 (mail-recover): Use switch-to-buffer-other-window.
18352 * cmuscheme.el (run-scheme, switch-to-scheme):
18354 * shell.el (shell):
18355 * net/rlogin.el (rlogin):
18356 * net/telnet.el (telnet, rsh):
18357 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
18359 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
18361 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
18363 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
18365 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
18366 so don't mention it (bug#9301).
18367 (dired-sort-toggle-or-edit): Clarify string further.
18369 * faces.el (face-spec-set-match-display): Make `(type graphic)'
18370 match `x', `w32' and `ns', like the manual says (bug#9029).
18372 * subr.el (eval-after-load): Doc string clarification (bug#9125).
18373 (process-kill-buffer-query-function): Mention the buffer name in
18376 * image-mode.el (image-next-line): The line parameter is mandatory
18379 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
18380 which can be useful (bug#9301).
18382 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
18384 * subr.el (match-string): Mention that the current buffer should
18385 be the same as the search was done in (bug#9282).
18387 * facemenu.el: Disable the remove-* commands if the mark isn't
18390 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
18392 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
18394 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
18396 * replace.el (occur-mode-goto-occurrence)
18397 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
18398 and display-buffer.
18400 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
18403 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
18404 special-display and same-window variables.
18405 (mail-other-window): Use switch-to-buffer-other-window.
18406 (mail-other-frame): USe switch-to-buffer-other-frame.
18408 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
18409 Use display-buffer-other-frame.
18410 (gdb-display-gdb-buffer): Use pop-to-buffer.
18412 * progmodes/gud.el (gud-goto-info): Use info-other-window.
18414 * progmodes/python.el: Don't set same-window-buffer-names.
18416 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
18418 * window.el (display-buffer-alist): Add *Python*.
18420 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
18422 * window.el (display-buffer-alist): Add entry for buffers
18423 previously handled same-window-*.
18424 (display-buffer-alist, display-buffer-default-action)
18425 (display-buffer-overriding-action): Mark as risky.
18426 (display-buffer-alist): Document action function changes.
18427 (display-buffer--same-window-action)
18428 (display-buffer--other-frame-action): New variables.
18429 (switch-to-buffer, display-buffer-other-frame): Use them.
18430 (display-buffer): Rename reuse-frame entry to reusable-frames.
18431 (display-buffer-reuse-selected-window): Function deleted.
18432 (display-buffer-reuse-window): Handle reusable-frames alist entry.
18433 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
18434 (display-buffer-special): New function.
18435 (display-buffer--maybe-pop-up-frame-or-window): Rename from
18436 display-buffer-reuse-or-pop-window. Split off special-display
18437 part into display-buffer-special.
18438 (display-buffer-use-some-window): Don't perform any special
18439 pop-up-frames handling.
18440 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
18441 (display-buffer--maybe-same-window): Rename from
18442 display-buffer-maybe-same-window.
18444 * info.el: Don't set same-window-regexps.
18445 (info-setup): New function.
18446 (info-other-window, info): Call it.
18448 * cus-edit.el: Don't set same-window-regexps.
18449 (customize-group): New argument.
18450 (customize-group-other-window): Use it.
18451 (customize-face, customize-face-other-window): Likewise.
18452 (custom-buffer-create-other-window): Use pop-to-buffer directly.
18456 * progmodes/gud.el: Don't set same-window-regexps.
18461 * mail/sendmail.el:
18462 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
18464 2011-09-10 Juri Linkov <juri@jurta.org>
18466 * isearch.el (isearch-edit-string): Remove obsolete mention of
18467 `C-w' (`isearch-yank-word-or-char') from docstring.
18468 (isearch-query-replace): Fix typo in docstring (bug#9466).
18470 2011-09-10 Juri Linkov <juri@jurta.org>
18472 * paren.el (show-paren-function): Don't show escaped parens.
18473 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
18475 2011-09-10 Eli Zaretskii <eliz@gnu.org>
18477 * mail/sendmail.el (mml-to-mime, mml-attach-file)
18478 (mm-default-file-encoding): Remove autoload forms, they are
18479 replaced with autoload cookies in mml.el and mm-encode.el.
18480 (mail-add-attachment): New command.
18481 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
18482 (mail-mode): Mention mail-insert-file and mail-add-attachment in
18484 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
18486 2011-09-10 Reuben Thomas <rrt@sc3d.org>
18488 * simple.el (count-words-region): Use buffer if there's no region
18491 2011-09-09 Juri Linkov <juri@jurta.org>
18493 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
18494 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
18495 (wdired-isearch-filter-read-only): New function. (Bug#6362)
18497 2011-09-09 Alan Mackenzie <acm@muc.de>
18499 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
18500 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
18502 2011-09-09 Eli Zaretskii <eliz@gnu.org>
18504 Fix for Savannah bug#9392.
18505 * simple.el (mail-encode-mml): New defvar.
18507 * mail/rmail.el (mail-encode-mml): Add a defvar.
18508 (rmail-enable-mime-composing): Default to t.
18509 (rmail-forward): Use MIME method of forwarding only if both
18510 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
18511 Set mail-encode-mml non-nil if the MIME method was used.
18513 * mail/sendmail.el (mml-to-mime): Add autoload form.
18514 (mail-encode-mml): Add a defvar.
18515 (mail-mode): Make mail-encode-mml buffer-local and initialize it
18517 (mail-send): If mail-encode-mml is non-nil, run the outgoing
18518 message through mml-to-mime, and reset mail-encode-mml to nil.
18520 2011-09-09 Glenn Morris <rgm@gnu.org>
18522 * woman.el (woman-if-body): When processing an .el block,
18523 do not delete the next .el block as well. (Bug#9447)
18524 (woman-special-characters): Add oq, cq, and hy characters.
18526 2011-09-08 Martin Rudalics <rudalics@gmx.at>
18528 * window.el (window-deletable-p): Make sure window is live before
18529 invoking window-prev-buffers.
18531 2011-09-08 Leo Liu <sdl.web@gmail.com>
18533 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
18535 2011-09-08 Juri Linkov <juri@jurta.org>
18537 * progmodes/compile.el (compilation-environment): Make it
18538 a defcustom (bug#8340).
18540 2011-09-08 Martin Rudalics <rudalics@gmx.at>
18542 * window.el (frame-auto-delete): Rename to window-auto-delete.
18543 Make it control auto-deletion of windows and/or frames.
18544 (window-deletable-p): New argument FORCE. Rewrite conditions
18545 for deleting window/frame. (Bug#9419)
18546 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
18547 Rewrite handling of case when window/frame can be deleted.
18548 (delete-windows-on): Call window-deletable-p with new FORCE
18549 argument t. (Bug#9456)
18551 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
18553 * help-mode.el (help-mode): Restore autoload.
18555 2011-09-07 Juri Linkov <juri@jurta.org>
18557 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
18558 `compilation-environment'. Set buffer-local
18559 `compilation-environment' to `thisenv' later after (funcall mode).
18562 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
18563 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
18564 instead of replacing its value. (Bug#8340)
18566 2011-09-07 Juri Linkov <juri@jurta.org>
18568 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
18569 based on text properties put by `grep-filter' instead of matching
18571 (grep-mode): Set buffer-local `compilation-error-screen-columns'
18572 to the value of `grep-error-screen-columns' (bug#9438).
18574 2011-09-07 Juri Linkov <juri@jurta.org>
18576 * simple.el (next-error-highlight, next-error-highlight-no-select):
18577 Doc fix (bug#9432).
18579 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
18581 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
18582 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
18584 2011-09-07 Leo Liu <sdl.web@gmail.com>
18586 * net/rcirc.el (rcirc-mode): Conditionally initialize
18589 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
18591 * emacs-lisp/find-func.el (find-function-C-source): Only set
18592 find-function-C-source-directory after checking that we found a source
18593 file there (bug#9440).
18595 2011-09-06 Alan Mackenzie <acm@muc.de>
18597 * isearch.el (isearch-other-meta-char): Wherever a key list is
18598 unread, "unread" the prefix arg, too. This fixes bug #8901.
18600 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
18602 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
18604 2011-09-05 Juri Linkov <juri@jurta.org>
18606 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
18608 2011-09-05 Juri Linkov <juri@jurta.org>
18610 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
18611 keeping point where processing of grep matches begins, and
18612 continue to delete remaining escape sequences from the same point.
18613 (grep-filter): Make leading zero optional in "0?1;31m" because
18614 git-grep emits "\033[1;31m" escape sequences unlike expected
18615 "\033[01;31m" as GNU Grep does (bug#9408).
18616 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
18618 2011-09-05 Juri Linkov <juri@jurta.org>
18620 * subr.el (y-or-n-p): Capitalize "yes".
18622 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
18624 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
18625 `tramp-cache-unload-hook' where appropriate.
18626 (tramp-methods): Rename `tramp-remote-sh' to
18627 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
18628 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
18630 * net/tramp-sh.el (top): Don't require 'shell.
18631 (tramp-methods): Add `tramp-remote-shell' and
18632 `tramp-remote-shell-args' entries.
18633 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
18634 (tramp-sh-handle-shell-command): Remove.
18635 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
18636 Use `tramp-remote-shell'.
18638 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
18640 * mail/sendmail.el (sendmail-query-once-function): Delete.
18641 (sendmail-query-once): Save directly to send-mail-function.
18642 Update message-send-mail-function too.
18644 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
18646 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
18648 * progmodes/python.el (python-mode-map): Use correct function to
18649 start python interpreter from menu-bar (as reported by Geert
18651 (inferior-python-mode-map): Fix typo.
18652 (python-shell-map): Remove.
18654 2011-09-03 Deniz Dogan <deniz@dogan.se>
18656 * net/rcirc.el (rcirc-print): Simplify code for
18657 rcirc-scroll-show-maximum-output. There is no need to walk
18658 through all windows to find the right one.
18660 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
18662 * help.el (help-return-method): Doc fix.
18664 2011-09-03 Martin Rudalics <rudalics@gmx.at>
18666 * window.el (window-deletable-p): Don't return a non-nil value
18667 when there's a buffer that was shown in the window before.
18669 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
18670 Set window's previous buffers to nil.
18672 2011-09-03 Eli Zaretskii <eliz@gnu.org>
18674 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
18675 newline before and after the tag line, so it doesn't interfere
18676 with determining the paragraph direction of bidirectional text.
18678 2011-09-03 Leo Liu <sdl.web@gmail.com>
18680 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
18682 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
18684 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
18685 (pop-to-buffer): Change interactive spec. Pass second argument
18686 directly to display-buffer.
18687 (display-buffer): Fix interactive spec. Use functionp to
18688 distinguish between a function and a list of functions.
18690 * abbrev.el (edit-abbrevs):
18691 * arc-mode.el (archive-extract):
18692 * autoinsert.el (auto-insert):
18693 * bookmark.el (bookmark-bmenu-list):
18694 * files.el (find-file):
18695 * view.el (view-buffer):
18696 * progmodes/compile.el (compilation-goto-locus):
18697 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
18699 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
18701 * window.el (display-buffer-alist): Doc fix.
18702 (display-buffer): Add docstring. Don't treat
18703 display-buffer-default specially.
18704 (display-buffer-reuse-selected-window)
18705 (display-buffer-same-window, display-buffer-maybe-same-window)
18706 (display-buffer-reuse-window, display-buffer-pop-up-frame)
18707 (display-buffer-pop-up-window)
18708 (display-buffer-reuse-or-pop-window)
18709 (display-buffer-use-some-window): New functions.
18710 (display-buffer-default-action): Use them.
18711 (display-buffer-default): Delete.
18712 (pop-to-buffer-1): Fix choice of actions.
18714 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
18716 * minibuffer.el (completion--insert-strings): Don't get confused by
18717 completion entries that end with an LF char.
18719 2011-09-01 Eli Zaretskii <eliz@gnu.org>
18721 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
18723 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
18725 * window.el (display-buffer): Restore interactive spec.
18726 (display-buffer-same-window, display-buffer-other-window):
18728 (pop-to-buffer-1): New function. Use the above.
18729 (pop-to-buffer, pop-to-buffer-same-window): Use it.
18730 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
18732 * view.el (view-buffer-other-window, view-buffer-other-frame):
18733 Just use pop-to-buffer.
18735 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
18737 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
18739 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
18741 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
18743 2011-08-31 Richard Stallman <rms@gnu.org>
18745 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
18746 of the separation of rmail-view-buffer from rmail-buffer.
18747 If you say no to "replace original", the decrypt is in the
18748 view buffer. If you say yes, the decrypt goes into the
18751 2011-08-31 Martin Rudalics <rudalics@gmx.at>
18753 * window.el (display-buffer-window): Rewrite doc-string.
18754 (display-buffer-record-window): New function.
18755 (display-buffer-macro-specifiers)
18756 (display-buffer-even-window-sizes, display-buffer-set-height)
18757 (display-buffer-set-width, display-buffer-in-window)
18758 (display-buffer-reuse-window, display-buffer-split-specifiers)
18759 (display-buffer-side-specifiers, display-buffer-split-window-1)
18760 (display-buffer-split-window, display-buffer-split-atom-window)
18761 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
18762 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
18763 (display-buffer-other-window-means-other-frame)
18764 (display-buffer-normalize-special)
18765 (display-buffer-normalize-default)
18766 (display-buffer-normalize-argument)
18767 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
18768 (display-buffer-normalize-specifiers, display-buffer-frame)
18769 (display-buffer-same-window, display-buffer-same-frame)
18770 (display-buffer-other-window)
18771 (display-buffer-same-frame-other-window)
18772 (display-buffer-other-frame, pop-to-buffer-same-window)
18773 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
18774 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
18775 (switch-to-buffer-same-frame)
18776 (switch-to-buffer-other-window-same-frame)
18777 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
18778 (display-buffer-alist-set-1, display-buffer-alist-set-2)
18779 (display-buffer-alist-set): Remove.
18780 (display-buffer-function, special-display-buffer-names)
18781 (special-display-regexps, special-display-function):
18782 In doc-string refer to display-buffer-window and quit-restore
18784 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
18785 (special-display-frame-alist, special-display-popup-frame)
18786 (same-window-buffer-names, same-window-regexps, same-window-p)
18787 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
18788 (split-window-preferred-function, split-height-threshold)
18789 (split-width-threshold, window-splittable-p)
18790 (split-window-sensibly, window--try-to-split-window)
18791 (window--frame-usable-p, even-window-heights)
18792 (window--even-window-heights, window--display-buffer-1)
18793 (window--display-buffer-2, display-buffer-other-frame):
18794 Restore old Emacs 23 code, order and doc-strings where applicable.
18795 (display-buffer-default, display-buffer-assq-regexp): New functions.
18796 (display-buffer-alist): Rewrite doc-string.
18797 (display-buffer-default-action)
18798 (display-buffer-overriding-action): New variables.
18799 (display-buffer, switch-to-buffer): Rewrite.
18800 (pop-to-buffer): Restore Emacs 23 behavior but use
18801 window-normalize-buffer-to-display.
18802 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
18803 Restore Emacs 23 behavior but use
18804 window-normalize-buffer-to-switch-to.
18805 (pop-to-buffer-same-window): Rewrite.
18806 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
18807 Rewrite using Emacs 23 options.
18809 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
18811 * net/tramp.el (tramp-root-regexp): Remove.
18812 (tramp-completion-file-name-regexp-unified)
18813 (tramp-completion-file-name-regexp-separate)
18814 (tramp-completion-file-name-regexp-url): Don't use leading volume
18815 letter on w32 systems. (Bug#5303, Bug#9311)
18816 (tramp-drop-volume-letter): Simplify definition.
18817 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
18819 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
18821 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
18824 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
18826 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
18828 2011-08-29 Juri Linkov <juri@jurta.org>
18830 * isearch.el (isearch-done): Don't display message "Mark saved"
18831 when arg `edit' is non-nil to prevent its flicker in the echo area.
18833 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
18835 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
18836 obsolete packages for deletion.
18838 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
18840 * help-mode.el (help-mode-map): Add special-mode-map to parent.
18841 (help-mode): Derive help-mode from special-mode. Don't invoke
18842 view-mode from help-mode.
18843 (help-xref-override-view-map): Remove.
18844 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
18845 view-mode is not used anymore.
18847 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
18849 * server.el (server-port): Doc fix.
18851 * cus-theme.el (custom-theme-choose-mode): Inherit from
18852 special-mode (Bug#9124).
18853 (custom-theme-choose-mode-map): Add special-mode to parent.
18855 2011-08-28 Alan Mackenzie <acm@muc.de>
18857 * progmodes/cc-fonts.el
18858 (c-make-font-lock-BO-decl-search-function): New function.
18859 (c-basic-matchers-after - "Fontify the clauses after various
18860 keywords"): Extract the three keyword lists for the 3 erroneous
18861 constructs from the list of four, and use the new function above
18862 in place of an old one.
18864 2011-08-28 Deniz Dogan <deniz@dogan.se>
18866 * net/rcirc.el (rcirc-insert-prev-input)
18867 (rcirc-insert-next-input): Remove unused argument.
18869 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
18871 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
18873 2011-08-27 Alan Mackenzie <acm@muc.de>
18875 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
18876 handle function pointer parameters properly.
18878 2011-08-27 Martin Rudalics <rudalics@gmx.at>
18880 * window.el (display-buffer-reuse-window): Fix case where
18881 selected window was reused with non-nil OTHER-WINDOW argument.
18884 2011-08-27 Deniz Dogan <deniz@dogan.se>
18886 * net/rcirc.el (rcirc-check-auth-status): Adding support for
18887 oftc's NickServ messages.
18889 2011-08-27 Glenn Morris <rgm@gnu.org>
18891 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
18893 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
18895 * emacs-lisp/package.el (package-install): Call package-initialize
18896 if called interactively.
18898 2011-08-26 Leo Liu <sdl.web@gmail.com>
18900 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
18902 2011-08-25 Juri Linkov <juri@jurta.org>
18904 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
18905 `search-whitespace-regexp' (bug#9364).
18907 2011-08-25 Juri Linkov <juri@jurta.org>
18909 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
18910 `regexp-search-ring' to their global values to protect from
18911 updating by `read-from-minibuffer' (bug#9185).
18913 2011-08-25 Juri Linkov <juri@jurta.org>
18915 * textmodes/ispell.el (ispell-command-loop): Add newline
18916 at the end of the "Use option `i'..." line.
18918 2011-08-25 Juri Linkov <juri@jurta.org>
18920 * battery.el (display-battery-mode): If `battery-status-function'
18921 or `battery-mode-line-format' is nil, display the message and set
18922 `display-battery-mode' to nil (bug#9363).
18924 2011-08-25 Eli Zaretskii <eliz@gnu.org>
18926 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
18927 bidi-string-mark-left-to-right; they are unnecessary now.
18929 2011-08-25 Deniz Dogan <deniz@dogan.se>
18931 * net/quickurl.el: Documentation typo fixes.
18933 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
18935 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
18937 2011-08-25 Glenn Morris <rgm@gnu.org>
18939 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
18941 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
18942 (smtpmail-via-smtp): Handle nil response from smtp.
18944 2011-08-24 Juri Linkov <juri@jurta.org>
18946 * proced.el (proced-marked): Inherit from `error' instead of
18947 `font-lock-warning-face'.
18949 * ibuffer.el (ibuffer-marked-face): Change default face from
18950 `font-lock-warning-face' to `warning'.
18951 (ibuffer-deletion-face): Change default face from
18952 `font-lock-type-face' to `error'.
18954 * battery.el (battery-update): Use the face `error' instead of
18955 `font-lock-warning-face' (bug#6117).
18957 2011-08-24 Juri Linkov <juri@jurta.org>
18959 * faces.el (success): Change face color from "Green3" to
18960 "ForestGreen" on light background (bug#9353).
18962 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
18964 * window.el (quit-window): Rename from quit-restore-window.
18965 Use same arglist as old quit-window.
18966 (frame-auto-delete): Doc fix.
18968 * view.el (view-mode-exit): Use quit-window.
18970 2011-08-24 Juri Linkov <juri@jurta.org>
18972 * isearch.el (isearch-ring-adjust1): Start visiting previous
18973 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
18974 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
18975 for empty search string (when the last search string is reused
18976 automatically) to adjust the isearch ring to the last element and
18977 prepare the correct index for further M-p commands (bug#9185).
18979 2011-08-24 Kenichi Handa <handa@m17n.org>
18981 * international/ucs-normalize.el: If decomposition property of
18982 CHAR is the default one (i.e. a list of CHAR itself), treat it as
18984 (nfd, nfkd): Likewise.
18986 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
18988 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
18989 from process filters aren't reliably transmitted to the surrounding
18990 accept-process-output.
18991 (mpc-proc-check): New function.
18992 (mpc-proc-sync): Use it (bug#8293)
18994 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
18996 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
18997 Add compatibility functions (bug#9313).
18999 2011-08-23 Eli Zaretskii <eliz@gnu.org>
19001 * cus-start.el (all): Add entry for bidi-paragraph-direction.
19003 * international/uni-bidi.el: Regenerate.
19005 2011-08-23 Kenichi Handa <handa@m17n.org>
19007 * international/charprop.el:
19008 * international/uni-bidi.el:
19009 * international/uni-category.el:
19010 * international/uni-combining.el:
19011 * international/uni-comment.el:
19012 * international/uni-decimal.el:
19013 * international/uni-decomposition.el:
19014 * international/uni-digit.el:
19015 * international/uni-lowercase.el:
19016 * international/uni-mirrored.el:
19017 * international/uni-name.el:
19018 * international/uni-numeric.el:
19019 * international/uni-old-name.el:
19020 * international/uni-titlecase.el:
19021 * international/uni-uppercase.el: Regenerate.
19023 2011-08-23 Martin Rudalics <rudalics@gmx.at>
19025 * help.el (help-window-setup): Fix message displayed when other
19026 window is reused. (Bug#9341)
19028 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
19030 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
19031 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
19033 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
19035 * shell.el (shell-parse-pcomplete-arguments): New function.
19036 (shell-completion-vars): Use it instead (bug#9160).
19038 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
19040 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
19041 strings and comments (bug#9333).
19043 * emacs-lisp/debug.el (debug-arglist): New function.
19044 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
19045 (debug-on-entry-1): Handle interpreted closures (bug#9120).
19047 2011-08-22 Juri Linkov <juri@jurta.org>
19049 * progmodes/compile.el (compilation-mode-font-lock-keywords):
19050 Revert regexp that highlights output switches to its old
19051 pre-2010-10-28 value and remove one `?' from it (bug#9319).
19053 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
19054 to check for empty output (bug#9226).
19056 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
19058 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
19059 symbol-constituent as the default, as that stops font-lock from
19060 working properly (Bug#8843).
19062 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
19064 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
19065 `coding-system-for-*' around the process open call to avoid
19066 auth-source side effects.
19067 (smtpmail-try-auth-methods): Expand the secret password.
19068 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
19071 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
19073 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
19075 * emacs-lisp/find-func.el (find-function-noselect): New arg
19078 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
19079 signal an error for built-in functions (Bug#6664).
19081 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
19083 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
19084 (smtpmail-try-auth-methods): Use it.
19086 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
19088 * font-lock.el (font-lock-fontify-region)
19089 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
19090 (font-lock-default-unfontify-buffer)
19091 (font-lock-default-fontify-region)
19092 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
19094 * progmodes/compile.el (compilation-error-properties):
19095 Fix confusion between file struct and message struct (Bug#9319).
19096 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
19099 * net/browse-url.el (browse-url-firefox): Don't call
19100 browse-url-firefox-sentinel unless using -remote (Bug#9328).
19102 2011-08-20 Glenn Morris <rgm@gnu.org>
19104 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
19106 * tutorial.el (tutorial--default-keys): Update some default bindings.
19108 * files.el (hack-local-variables): Fully ignore case for "mode:".
19110 2011-08-20 Alan Mackenzie <acm@muc.de>
19112 Resolve invalid use of a regexp in regexp-opt.
19114 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
19115 detection for a java annotation.
19117 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
19118 detection for a java annotation.
19120 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
19122 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
19124 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
19126 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
19129 2011-08-20 Alan Mackenzie <acm@muc.de>
19131 Fontify CPP expressions correctly when starting in the middle of
19132 such a construct. Mainly for when jit-lock etc. starts a chunk
19135 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
19137 (c-make-font-lock-search-form): New function, extracted from
19138 c-make-font-lock-search-function.
19139 (c-make-font-lock-search-function): Use the above function.
19140 (c-make-font-lock-context-search-function): New function.
19141 (c-cpp-matchers): Enhance the preprocessor expression case with
19143 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
19144 which takes an expression.
19146 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
19148 2011-08-20 Martin Rudalics <rudalics@gmx.at>
19150 * window.el (display-buffer-reuse-window)
19151 (display-buffer-pop-up-window): Don't reuse or split a side
19154 2011-08-19 Glenn Morris <rgm@gnu.org>
19156 * files.el (hack-local-variables-prop-line, hack-local-variables):
19157 Downcase "Mode:". (Bug#9331)
19159 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
19161 * international/characters.el: Add L and R categories.
19163 * subr.el (bidi-string-mark-left-to-right): Rename from
19164 string-mark-left-to-right. Use category search.
19166 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
19168 2011-08-18 Juri Linkov <juri@jurta.org>
19170 * faces.el (error, warning, success): New faces with definitions
19171 copied from old default values of `font-lock-warning-face',
19172 `compilation-warning', `compilation-info' (bug#6117).
19174 * font-lock.el (font-lock-warning-face): Inherit from `error'.
19176 * progmodes/compile.el (compilation-error): Inherit from `error'.
19177 (compilation-warning): Inherit from `warning'.
19178 (compilation-info): Inherit from `success'.
19180 * dired.el (dired-marked): Inherit from `warning'.
19181 (dired-flagged): Inherit from `error'.
19183 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
19185 * mail/smtpmail.el (auth-source): Require to avoid problems with
19186 binding variables (bug#9298). Also clean up some unused
19189 * net/network-stream.el (network-stream-open-starttls):
19190 Support using starttls.el without using gnutls-cli.
19192 2011-08-17 Juri Linkov <juri@jurta.org>
19194 * progmodes/grep.el (rgrep): Handle the case when
19195 `grep-find-command' is a cons cell (bug#9278).
19197 2011-08-17 Martin Rudalics <rudalics@gmx.at>
19199 * window.el (display-buffer-pop-up-frame): Run frame creation
19200 function with BUFFER current (as special-display-popup-frame
19201 does). Reported by Drew Adams.
19203 2011-08-17 Daiki Ueno <ueno@unixuser.org>
19205 * epa-mail.el: Simplify GnuPG group expansion using
19207 (epa-mail-group-alist, epa-mail-group-modtime)
19208 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
19209 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
19210 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
19213 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
19215 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
19217 2011-08-16 Alan Mackenzie <acm@muc.de>
19219 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
19220 Correct, to avoid the inside of macros.
19222 2011-08-16 Richard Stallman <rms@gnu.org>
19224 * epa-mail.el: Handle GnuPG group definitions.
19225 (epa-mail-group-alist, epa-mail-group-modtime)
19226 (epa-mail-gnupg-conf-file): New variables.
19227 (epa-mail-parse-groups, epa-mail-sync-groups)
19228 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
19229 (epa-mail-expand-recipients): New functions.
19230 (epa-mail-encrypt): Call epa-mail-expand-recipients.
19232 * mail/rmail.el (rmail-epa-decrypt): New command.
19234 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
19235 Don't bind buffer-read-only, just inhibit-read-only.
19236 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
19237 (epa-decrypt-armor-in-region): Make error message clearer.
19239 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
19241 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
19242 and "a2b" to "ab" for `prefix'.
19244 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
19246 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
19248 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
19249 Fourquet (Bug#8804).
19251 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
19253 * startup.el (argi): Declare as global variable (bug#9275).
19255 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
19257 * subr.el (string-mark-left-to-right): Search the entire string
19258 for RTL script, not just the terminating character. Doc fix.
19260 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
19262 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
19264 (js--regexp-literal, js-syntax-propertize-function): Remove.
19265 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
19266 (js-mode-map): Don't rebind electric keys.
19267 (js-insert-and-indent): Remove.
19268 (js-mode): Setup electric-layout and electric-indent instead.
19270 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
19272 2011-08-12 Daiki Ueno <ueno@unixuser.org>
19274 * epa.el (epa-progress-callback-function): Fix the logic of
19275 displaying progress.
19276 * epa-file.el (epa-file-insert-file-contents): Make progress
19277 display more user-friendly.
19278 (epa-file-write-region): Ditto.
19280 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
19282 * subr.el (string-mark-left-to-right): New function.
19284 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
19285 Use string-mark-left-to-right.
19286 (list-buffers-noselect): Caller changed.
19288 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
19289 Use string-mark-left-to-right.
19290 (tabulated-list-print): Recenter after moving point.
19292 2011-08-10 Juri Linkov <juri@jurta.org>
19294 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
19295 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
19296 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
19298 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
19300 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
19303 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
19305 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
19306 character. (Bug#6594)
19308 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
19310 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
19311 (image-dired--with-db-file): New macro.
19312 (image-dired-write-tags, image-dired-remove-tag)
19313 (image-dired-create-gallery-lists, image-dired-write-comments)
19314 (image-dired-get-comment, image-dired-mark-tagged-files)
19315 (image-dired-list-tags, image-dired-gallery-generate): Use it.
19316 (image-dired-gallery-generate): Use insert-file-contents.
19318 * time.el (display-time-world-list, display-time-world-display):
19319 * time-stamp.el (time-stamp-string):
19320 * vc/add-log.el (add-change-log-entry): Use setenv instead of
19321 set-time-zone-rule (Bug#7337).
19323 2011-08-08 Daiki Ueno <ueno@unixuser.org>
19325 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
19326 (epg-error-to-string, epg-errors-to-string): New function.
19327 (epg-wait-for-completion): Reverse errors list.
19328 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
19329 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
19330 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
19331 (epg-sign-keys, epg-generate-key-from-file)
19332 (epg-generate-key-from-string): Format errors by using
19333 epg-errors-to-string (bug#9255).
19334 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
19336 2011-08-07 Juri Linkov <juri@jurta.org>
19338 * faces.el (list-faces-display): Remove extra angle bracket
19339 from `help-mode-map'.
19341 * info.el (Info-history-toc-nodes): Doc fix.
19343 * longlines.el (longlines-mode): Doc fix.
19345 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
19347 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
19348 of statements and in a few more cases (bug#9183).
19350 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
19352 (cl-transform-lambda): Use them (bug#9239).
19354 2011-08-05 Martin Rudalics <rudalics@gmx.at>
19356 * window.el (display-buffer-same-window)
19357 (display-buffer-same-frame, display-buffer-other-window)
19358 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
19359 (pop-to-buffer-other-window)
19360 (pop-to-buffer-same-frame-other-window)
19361 (pop-to-buffer-other-frame): Make them defuns.
19362 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
19364 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
19366 * subr.el (make-composed-keymap): Move from C. Change calling
19367 convention, and improve docstring to bring attention to a subtle point.
19368 * minibuffer.el (completing-read-default): Adjust accordingly.
19370 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
19372 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
19373 (tramp-open-shell): Use `tramp-shell-quote-argument'.
19375 * net/trampver.el: Update release number.
19377 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
19379 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
19382 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
19384 * mail/sendmail.el (sendmail-query-once): Restore the current
19385 buffer after querying (bug#9074).
19387 * dired.el (dired-flagged): Use different faces for marked and
19388 flagged files (bug#6117).
19390 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
19393 * ido.el (ido-mode): Switch off the message if called
19396 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
19397 before 587, since it appears that that's more likely to work for
19400 * cus-edit.el (custom-file): When running under emacs -q, always
19401 refuse to save the customizations, even if the .emacs file doesn't
19404 * info.el: Remove the `Info-beginning-of-buffer' function
19407 * net/network-stream.el (network-stream-open-starttls):
19408 Use `starttls-available-p' to see whether starttls.el can be used.
19410 2011-08-01 Martin Rudalics <rudalics@gmx.at>
19412 * window.el (display-buffer-in-window): Don't set dedicated status
19413 of window here (Bug#9215).
19414 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
19415 (display-buffer-pop-up-side-window)
19416 (display-buffer-in-side-window): Set dedicated status of window here.
19418 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
19420 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
19421 before binding generated-autoload-file.
19423 2011-08-01 Deniz Dogan <deniz@dogan.se>
19425 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
19427 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
19429 Sync with Tramp 2.2.2.
19431 * net/trampver.el: Update release number.
19433 2011-07-30 Juri Linkov <juri@jurta.org>
19435 * dired-aux.el (dired-touch-initial): Remove function.
19436 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
19437 current time, and `default' to the last modification time of the
19438 current marked file (bug#6887).
19440 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
19442 * simple.el (goto-line): Use string-to-number to provide a
19443 numeric argument to read-number (bug#9163).
19445 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
19447 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
19448 connection process, it could be nil.
19450 2011-07-27 Leo Liu <sdl.web@gmail.com>
19452 Simplify url handling in rcirc-mode.
19454 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
19455 (rcirc-browse-url-at-mouse): Remove.
19456 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
19458 2011-07-26 Alan Mackenzie <acm@muc.de>
19460 Fontify bitfield declarations properly.
19462 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
19463 (c-symbol-chars): Now exported as a lang variable.
19464 (c-not-primitive-type-keywords): New lang variable.
19466 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
19467 QT keyword "more" to prevent "more slots: ...." being spuriously
19468 parsed as a bitfield declaration.
19470 * progmodes/cc-engine.el (c-beginning-of-statement-1):
19471 Refactor and enhance to handle bitfield declarations.
19472 (c-punctuation-in): New function.
19473 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
19474 declarations properly.
19476 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
19478 * calendar/icalendar.el (icalendar--all-events): Take care of
19479 multiple vcalendars in a single file.
19480 (icalendar--convert-float-to-ical): Checkdoc fixes.
19482 2011-07-25 Deniz Dogan <deniz@dogan.se>
19484 * image.el (insert-image): Clarifying docstring.
19486 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
19488 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
19489 `tramp-send-command-and-check' if there is no error.
19490 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
19492 2011-07-22 Alan Mackenzie <acm@muc.de>
19494 Prevent cc-langs.elc being loaded at run time.
19496 * progmodes/cc-mode.el: Remove two autoload forms which loaded
19499 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
19500 "(require 'cc-langs)". Quote a form so it will evaluate at
19501 (cc-mode's) compilation time.
19503 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
19505 * net/tramp.el (tramp-file-name-handler): Avoid recursive
19506 loading. (Bug#9114)
19508 2011-07-21 Martin Rudalics <rudalics@gmx.at>
19510 * window.el (display-buffer-pop-up-window)
19511 (display-buffer-pop-up-side-window)
19512 (display-buffer-in-side-window): Call display-buffer-set-height
19513 and display-buffer-set-width after setting the new window's
19514 buffer so `fit-window-to-buffer' and friends work on the right buffer.
19516 2011-07-20 Sam Steingold <sds@gnu.org>
19518 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
19519 (etags-tags-included-tables): Call `convert-standard-filename' on
19520 the file names contained in TAGS so that windows Emacs can handle
19521 TAGS files created by cygwin ctags.
19523 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
19525 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
19526 which apparently didn't work.
19528 2011-07-19 Roland Winkler <winkler@gnu.org>
19530 * proced.el (proced-send-signal): For *Marked Processes* buffer
19531 put point at beginning of buffer.
19533 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
19535 * proced.el (proced-format): Make header lines align with the text
19538 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
19540 * view.el (view-buffer): Allow running in `special' modes if we're
19541 visiting a file (bug#8615).
19543 2011-07-19 Martin Rudalics <rudalics@gmx.at>
19545 * window.el (display-buffer-alist-of-strings-p)
19546 (display-buffer-alist-set-1, display-buffer-alist-set-2):
19548 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
19551 2011-07-18 Alan Mackenzie <acm@muc.de>
19553 Fontify declarators properly when, e.g., a jit-lock chunk begins
19554 inside a declaration.
19556 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
19558 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
19560 (c-complex-decl-matchers): Insert reference to
19561 c-font-lock-enclosing-decls.
19563 * progmodes/cc-engine.el (c-backward-single-comment):
19564 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
19565 to nil around calls to (forward-comment -1).
19567 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
19569 * image.el (put-image): Doc typo fix.
19571 * progmodes/etags.el (tags-search): Doc typo fix.
19573 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
19574 password if we get errors 550 to 554.
19576 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
19578 * net/gnutls.el (gnutls-log-level): Remove.
19580 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
19581 indentation character (bug#6380).
19583 * files.el (buffer-offer-save): Made permanently local (bug#6241).
19585 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
19586 to clarify what the problem is (bug#4291).
19588 * simple.el (current-kill): Clarify what
19589 `interprogram-paste-function' does (bug#7500).
19590 (auto-fill-mode): Document `auto-fill-function' in relation to
19591 `auto-fill-mode' (bug#2470).
19593 2011-07-16 Lawrence Mitchell <wence@gmx.li>
19595 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
19596 method if slot is read-only (bug#9035).
19598 2011-07-16 Martin Rudalics <rudalics@gmx.at>
19600 * frame.el (select-frame-set-input-focus): New argument NORECORD.
19601 * window.el (pop-to-buffer): Select window used even if it was
19602 selected before, see discussion of (Bug#8615), (Bug#6954).
19603 Pass argument NORECORD on to select-frame-set-input-focus.
19605 2011-07-15 Glenn Morris <rgm@gnu.org>
19607 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
19610 2011-07-09 Lawrence Mitchell <wence@gmx.li>
19612 * net/gnutls.el (gnutls-min-prime-bits): New variable.
19613 (gnutls-negotiate): Use it.
19615 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
19617 * net/gnutls.el (gnutls-negotiate):
19618 Upcase `gnutls-algorithm-priority'.
19620 2011-07-15 Glenn Morris <rgm@gnu.org>
19622 * jka-compr.el (jka-compr-verbose): Move from here...
19623 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
19624 Add missing :version tag.
19625 * info.el: No need to require jka-compr when compiling.
19627 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
19629 * net/gnutls.el (gnutls-algorithm-priority): New variable.
19630 (gnutls-negotiate): Use it.
19632 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
19634 * info.el (Info-beginning-of-buffer): New command.
19635 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
19636 announcing `b' as the key (bug#8325).
19637 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
19639 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
19641 * international/mule-cmds.el
19642 (describe-specified-language-support): Make the error message
19643 clearer (bug#8905).
19645 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
19647 * isearch.el (isearch-barrier): Add a doc string, since it's
19648 mentioned in a function doc string (bug#8678).
19650 2011-07-15 Martin Rudalics <rudalics@gmx.at>
19652 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
19653 buffer argument (Bug#9083) and self-identifying label argument.
19655 2011-07-15 Glenn Morris <rgm@gnu.org>
19657 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
19659 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
19661 * man.el (Man-fontify-manpage): Fix message when formatting the
19662 man page (bug#7929).
19664 2011-07-14 Eli Zaretskii <eliz@gnu.org>
19666 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
19667 argument LRM; if non-nil, append an invisible LRM character to the
19669 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
19670 last argument non-nil, when formatting buffer names.
19671 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
19672 paragraph direction.
19674 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
19676 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
19677 the man page name (bug#7929).
19679 * image.el (put-image): Mention the `put-image' overlay property
19682 * scroll-bar.el (set-scroll-bar-mode): Mention that
19683 `scroll-bar-mode' lists the values (bug#7772).
19685 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
19686 command (bug#7729).
19688 * rect.el (apply-on-rectangle): Return the point after the last
19690 (string-rectangle): Go to the point after the last operation
19693 * printing.el (pr-toggle-region): Clarify the documentation
19694 slightly (bug#7493).
19696 * time.el (display-time-update):
19697 Allow `display-time-mail-function' to return nil (bug#7158).
19698 Fix suggested by Detlev Zundel.
19700 * vc/diff.el (diff): Clarify the order the file names are read
19703 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
19704 the doc string (bug#7015).
19706 * font-lock.el (font-lock-maximum-decoration): Mention what
19707 numeric levels mean (bug#6935).
19709 * startup.el (initial-buffer-choice): Don't mention the `none'
19710 selection, which is against policy.
19712 2011-07-14 Martin Rudalics <rudalics@gmx.at>
19714 * window.el (display-buffer-normalize-special):
19715 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
19717 2011-07-14 Eli Zaretskii <eliz@gnu.org>
19719 * subr.el (version<, version<=, version=): Mention "-CVS" and
19720 "-12345" alpha version numbers.
19722 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
19724 * bindings.el: Add advertised binding for set-mark-command
19727 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
19729 * bindings.el (mode-line-other-buffer):
19730 * bookmark.el (bookmark-bmenu-2-window):
19731 * bs.el (bs-cycle-next, bs-cycle-previous):
19732 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
19735 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
19738 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
19740 * follow.el (follow-debug-message, follow-redisplay):
19741 * jka-cmpr-hook.el (with-auto-compression-mode):
19742 Fix typos in docstrings.
19744 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
19746 * subr.el (with-silent-modifications): Clarify somewhat what the
19747 macro inhibits (bug#6525).
19749 * simple.el (eval-expression): Note what it does if called
19750 interactively (bug#6495).
19752 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
19754 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
19755 Use pop-to-buffer buffer-or-name if it is nil.
19757 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
19758 Remove switch-to-buffer.
19760 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
19762 * files.el (make-directory): Clarify that an error will be raised
19763 if there's an error (bug#6397).
19765 * startup.el (initial-buffer-choice): Add `none' as a choice
19768 * subr.el (add-hook): Clarify section about buffer-local hooks
19771 * dired.el (dired-flagged): Clarify doc string (bug#6117).
19773 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
19775 * tabify.el (untabify): Preserve the current column so that point
19776 doesn't move (bug#6032).
19778 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
19780 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
19781 Rewrite to avoid awkward possessive "s" (bug#5986).
19783 2011-07-13 Glenn Morris <rgm@gnu.org>
19785 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
19786 (dired-insert-directory): Give a message the first time
19787 if ls is found not to support --dired.
19789 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
19791 * simple.el (toggle-truncate-lines): Clarify what is toggled
19792 (bug#5580). Text by Drew Adams.
19794 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
19796 * simple.el (blink-matching-open): Make the error message from the
19797 last change less verbose.
19799 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
19801 * font-lock.el (font-lock-comment-face): Use the high contrast
19802 "yellow" color for font-lock-comment-face on low color terminals
19803 using a dark background color (bug#4221).
19805 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
19807 * dired.el (dired-insert-set-properties): Make the doc string
19808 reflect what it does now (bug#5325).
19810 * simple.el (blink-matching-open): Say that we were unable to find
19811 the match within the limit, if we're limited (bug#5122).
19813 * international/mule-cmds.el (prefer-coding-system): Add an
19814 example (bug#4869).
19816 * progmodes/etags.el (tags-search): Document `file-list-form'
19819 2011-07-13 Lawrence Mitchell <wence@gmx.li>
19821 * net/browse-url.el (browse-url-default-browser)
19822 (browse-url-browser-function): Make the default browser choice a
19823 bit more logical (bug#4300). Also clean up the doc string.
19825 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
19827 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
19828 binary endings (bug#4440).
19830 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
19832 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
19833 which can be pretty annoying (bug#8971).
19835 * jka-compr.el (jka-compr-verbose): New variable, and use
19836 throughout (bug#8971).
19838 * info.el (Info-find-file): Fall back on the installation
19839 directory if we can't find the info node anywhere else.
19841 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
19843 * vc/vc.el (vc-revert-file):
19844 Don't set file time-stamp in the past. (Bug#5181)
19846 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
19848 * files.el (after-find-file): Give a better error message when
19849 trying to find a symlink that points to a file that doesn't exist
19852 * progmodes/cc-vars.el: Remove (probably) misleading comment
19855 2011-07-12 Johan Bockgård <bojohan@gnu.org>
19857 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
19859 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
19861 * mouse-sel.el: Hack restoring functionality, while keeping
19862 compatibility with 2010-07-03 changes to mouse selection.
19863 (mouse-sel-primary-overlay): New var.
19864 (mouse-sel-selection-alist): Use it.
19865 (mouse-sel-mode): Doc fix; remove points that are default features
19868 2011-07-12 Johan Bockgård <bojohan@gnu.org>
19870 * progmodes/compile.el (compilation-error-regexp-alist-alist):
19871 Fix previous fix (bug#2490).
19873 2011-07-12 Roland Winkler <winkler@gnu.org>
19875 * textmodes/bibtex.el (bibtex-initialize):
19876 Use pop-to-buffer-same-window.
19877 (bibtex-search-entries): Fix interactive call.
19879 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
19881 * progmodes/compile.el (compilation-error-regexp-alist-alist):
19882 Fontise bytecomp Error lines more correctly (bug#2490).
19883 Fix suggested by Johan Bockgård.
19885 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
19887 * dired-x.el (dired-guess-default): Use `delete-dups'.
19889 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
19891 * dired.el (dired-mark-prompt):
19892 * dired-aux.el (dired-read-shell-command): Doc fix.
19894 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
19896 * mail/sendmail.el (sendmail-query-once):
19897 Use `customize-save-variable' unconditionally, now that it works under
19900 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
19902 * cus-edit.el (custom-file): Take an optional no-error variable.
19903 (customize-save-variable): Set the variable, and give a warning if
19904 running under "emacs -q".
19906 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
19908 * loadhist.el (unload-feature-special-hooks):
19909 Add `auto-coding-functions', `fill-nobreak-predicate' and
19910 `find-directory-functions' (bug#5327).
19912 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
19914 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
19916 * cus-edit.el (custom-guess-name-alist): -alist variables should
19917 use the `alist' type (bug#3120). Suggested by Drew Adams.
19919 * printing.el: Add documentation to all the `pr-toggle-' commands.
19921 2011-07-11 Leo Liu <sdl.web@gmail.com>
19923 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
19924 backends where it makes sense (bug#2623).
19926 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
19928 * dired-x.el (dired-guess-default): Remove duplicate shell command
19929 entries (bug#2028).
19930 (dired-guess-default): Fix grammar in doc string (bug#2028).
19931 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
19933 * subr.el (remove-duplicates): New conveniency function.
19935 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
19937 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
19940 2011-07-10 Martin Rudalics <rudalics@gmx.at>
19942 * window.el (display-buffer-normalize-default): Don't invert
19943 meaning of even-window-heights. Reported by Eli Zaretskii
19946 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
19948 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
19950 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
19952 * window.el (display-buffer): Fix arguments to
19953 display-buffer-reuse-window in last change.
19955 * faces.el (link): Use a less saturated blue on light backgrounds.
19957 * startup.el (fancy-startup-text, fancy-about-text)
19958 (fancy-startup-tail): Use font-lock faces, for background safety.
19960 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
19962 * emulation/viper-cmd.el (viper-change-state-to-vi):
19963 Limit triggering of abbrev expansion (Bug#9038).
19965 2011-07-09 Martin Rudalics <rudalics@gmx.at>
19967 * window.el (display-buffer-default-specifiers): Remove.
19968 (display-buffer-macro-specifiers): Remove default specifiers.
19969 (display-buffer-alist): Default to nil.
19970 (display-buffer-reuse-window): New optional argument other-window.
19971 (display-buffer-pop-up-window): Allow splitting internal
19972 windows. Check whether a live window was created.
19973 (display-buffer-other-window-means-other-frame)
19974 (display-buffer-normalize-arguments): Rename to
19975 display-buffer-normalize-argument and rewrite. Set the
19976 other-window specifier.
19977 (display-buffer-normalize-special): New function.
19978 (display-buffer-normalize-options): Rename to
19979 display-buffer-normalize-default and rewrite.
19980 (display-buffer-normalize-options-inhibit): Remove.
19981 (display-buffer-normalize-specifiers): Rewrite.
19982 (display-buffer): Process other-window specifier and call
19983 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
19985 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
19986 (display-buffer-alist-set): Don't handle 'unset default values.
19987 (display-buffer-in-window, display-buffer-alist-set):
19988 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
19989 <tassilo@member.fsf.org>.
19991 2011-07-09 Leo Liu <sdl.web@gmail.com>
19993 * register.el (insert-register): Restore accidental change on
19994 2011-06-26. (Bug#9028)
19996 2011-07-09 Glenn Morris <rgm@gnu.org>
19998 * subr.el (remq): Handle the empty list. (Bug#9024)
20000 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
20002 * mail/sendmail.el (send-mail-function): No longer delay custom
20004 * custom.el (custom-initialize-delay): Doc fix.
20006 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
20008 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
20010 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
20012 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
20013 human-friendly prompt.
20015 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
20017 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
20018 provided by a particular plugin.
20020 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
20022 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
20023 save customizations (with "emacs -Q"), just set the variable
20024 instead of erroring out.
20026 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
20028 2011-07-08 Juri Linkov <juri@jurta.org>
20030 * arc-mode.el (archive-zip-expunge, archive-zip-update)
20031 (archive-zip-update-case): Use 7z if found by `executable-find'.
20032 The order of searching the available programs is the same as in
20033 `archive-zip-extract' (bug#8968).
20035 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
20037 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
20038 (menu-bar-options-menu): Tweak descriptions.
20040 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
20042 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
20043 menu items into verb phrases (bug#1421). Also refill to fit under
20046 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
20048 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
20049 (Info-read-node-name): Doc fix (Bug#1084).
20051 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
20052 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
20053 (end-of-sexp, beginning-of-sexp)
20054 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
20055 (forward-symbol, forward-same-syntax, word-at-point)
20056 (sentence-at-point): Doc fix (Bug#1144).
20058 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
20060 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
20061 should cover it (bug#1281).
20063 * cus-edit.el (custom-show): Mark as obsolete.
20065 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
20066 negotiation fails, then possibly try again with a non-encrypted
20067 connection (bug#9017).
20069 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
20072 2011-07-07 Richard Stallman <rms@gnu.org>
20074 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
20075 property, and handle its changed format.
20076 Look for the correct line number.
20077 Use file's line contents (but not past first =) to find
20078 correct line in message.
20080 2011-07-07 Kenichi Handa <handa@m17n.org>
20082 * international/characters.el (build-unicode-category-table):
20084 (unicode-category-table): Set it by unicode-property-table-internal.
20086 * international/mule-cmds.el (char-code-property-alist): Move to
20088 (get-char-code-property): Call unicode-property-table-internal to
20089 load a file. Call get-unicode-property-internal where necessary.
20090 (put-char-code-property): Call unicode-property-table-internal to
20091 load a file. Call put-unicode-property-internal where necessary.
20092 put-unicode-property-internal where necessary.
20093 (char-code-property-description):
20094 Call unicode-property-table-internal to load a file.
20096 * international/charprop.el:
20097 * international/uni-bidi.el:
20098 * international/uni-category.el:
20099 * international/uni-combining.el:
20100 * international/uni-comment.el:
20101 * international/uni-decimal.el:
20102 * international/uni-decomposition.el:
20103 * international/uni-digit.el:
20104 * international/uni-lowercase.el:
20105 * international/uni-mirrored.el:
20106 * international/uni-name.el:
20107 * international/uni-numeric.el:
20108 * international/uni-old-name.el:
20109 * international/uni-titlecase.el:
20110 * international/uni-uppercase.el: Regenerate.
20112 * loadup.el: Load international/charprop.el before
20113 international/characters.
20115 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
20117 * window.el (next-buffer, previous-buffer): Signal an error if
20118 called from a minibuffer window.
20120 * bindings.el: Revert 2011-07-04 change.
20122 2011-07-06 Richard Stallman <rms@gnu.org>
20124 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
20125 (rmail-mime-insert-bulk, rmail-mime-insert-text):
20126 Treat markers like ints.
20127 (rmail-mime-entity): Doc fix.
20129 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
20131 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
20132 defcustom again for backwards compatibility.
20134 * simple.el (shell-command-on-region): Fill.
20136 * dired-aux.el (dired-kill-line): Add a doc string.
20138 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
20139 to "\\sw\\|\\s_" (bug#358).
20141 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
20142 (dired-unmark-backward): Ditto.
20143 (dired-flag-backup-files): Ditto.
20145 * dired-x.el (dired-mark-sexp): Ditto.
20147 2011-07-06 Richard Stallman <rms@gnu.org>
20149 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
20150 (rmail-mime-entity): New arg TRUNCATED.
20151 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
20153 (rmail-mime-save): Warn if entity is truncated.
20154 (rmail-mime-toggle-hidden): Likewise, for showing.
20155 (rmail-mime-process-multipart): Record when an entity is truncated.
20157 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
20158 if ENTITY is a string.
20160 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
20162 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
20163 of faces when `M-C-x'-ing their definitions (bug#8378).
20164 Also clean up the code slightly.
20166 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
20167 because that makes the colors go away.
20169 * mail/sendmail.el (send-mail-function): Change the default to
20170 `sendmail-query-once'.
20171 (sendmail-query-once): Add an autoload cookie.
20173 * net/network-stream.el (network-stream-open-starttls): Try using
20174 a plain connection even if the server offered STARTTLS, and we
20175 kinda wanted to use it, if Emacs doesn't have any STARTTLS
20176 capability. This should make smtpmail.el work in slightly more
20179 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
20181 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
20183 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
20185 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
20187 * progmodes/sql.el: Version 3.0
20188 (sql-product-alist): Add product :completion-object,
20189 :completion-column, and :statement attributes.
20190 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
20191 (sql-mode-syntax-table): Mark all punctuation.
20192 (sql-font-lock-keywords-builder): Temporarily remove fallback on
20194 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
20195 (sql-mode-oracle-font-lock-keywords): Improve.
20196 (sql-oracle-show-reserved-words): New function for development.
20197 (sql-product-font-lock): Simplify for source code buffers.
20198 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
20200 (sql-highlight-product): Set product specific syntax table.
20201 (sql-mode-map): Add statement movement functions.
20202 (sql-ansi-statement-starters, sql-oracle-statement-starters):
20204 (sql-statement-regexp, sql-beginning-of-statement)
20205 (sql-end-of-statement, sql-signum): New functions.
20206 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
20207 (sql-show-sqli-buffer): Bug fix.
20208 (sql-interactive-mode): Store connection data as buffer local.
20209 (sql-connect): Add NEW-NAME parameter. Redesign interaction
20210 with sql-interactive-mode.
20211 (sql-save-connection): Save buffer local settings.
20212 (sql-connection-menu-filter): Change menu entry name.
20213 (sql-product-interactive): Bug fix.
20214 (sql-preoutput-hold): New variable.
20215 (sql-interactive-remove-continuation-prompt): Bug fixes.
20216 (sql-debug-redirect): New variable.
20217 (sql-str-literal): New function.
20218 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
20220 (sql-oracle-save-settings, sql-oracle-restore-settings)
20221 (sql-oracle-list-all, sql-oracle-list-table): New functions.
20222 (sql-completion-object, sql-completion-column)
20223 (sql-completion-sqlbuf): New variables.
20224 (sql-build-completions-1, sql-build-completions)
20225 (sql-try-completion): New functions.
20226 (sql-read-table-name): Use them.
20227 (sql-contains-names): New buffer local variable.
20228 (sql-list-all, sql-list-table): Use it.
20229 (sql-oracle-completion-types): New variable.
20230 (sql-oracle-completion-object, sql-sqlite-completion-object)
20231 (sql-postgres-completion-object): New functions.
20233 2011-07-06 Glenn Morris <rgm@gnu.org>
20235 * window.el (pop-to-buffer): Doc fix.
20237 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
20239 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
20241 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
20243 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
20245 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
20247 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
20249 * button.el (button): Inherit from link face. Suggested by Dan
20252 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
20254 * progmodes/gdb-mi.el: Fit in 80 columns.
20255 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
20258 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
20259 if imenu is simply not configured (bug#8941).
20261 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
20263 * allout.el (allout-post-undo-hook): New allout outline-change
20264 event hook to signal undo activity.
20265 (allout-post-command-business): Run allout-post-undo-hook if an
20266 undo just occurred.
20267 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
20268 * allout-widgets.el (allout-widgets-after-undo-function):
20269 Ensure the integrity of the current item's decoration after it has been
20270 in the vicinity of an undo.
20271 (allout-widgets-mode): Include allout-widgets-after-undo-function
20272 on the new allout-post-undo-hook.
20274 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
20276 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
20277 Let define-derived-mode define it.
20278 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
20279 cycles of abbrev-table inheritance (bug#8998).
20281 2011-07-05 Roland Winkler <winkler@gnu.org>
20283 * textmodes/bibtex.el: Add support for biblatex.
20284 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
20285 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
20286 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
20287 (bibtex-entry-alist, bibtex-field-alist): New variables.
20288 (bibtex-entry-field-alist): Obsolete alias for
20289 bibtex-BibTeX-entry-alist.
20290 (bibtex-entry-alist, bibtex-field-alist): New widgets.
20291 (bibtex-set-dialect): New command.
20292 (bibtex-entry-type, bibtex-entry-head)
20293 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
20294 Bind via bibtex-set-dialect.
20295 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
20296 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
20297 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
20298 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
20299 Define via bibtex-set-dialect.
20300 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
20301 Obey bibtex-no-opt-remove-re.
20302 (bibtex-vec-push, bibtex-vec-incr): New functions.
20303 (bibtex-format-entry, bibtex-field-list)
20304 (bibtex-print-help-message, bibtex-validate)
20305 (bibtex-search-entries): Use new format of bibtex-entry-alist.
20307 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
20309 * progmodes/compile.el (compilation-goto-locus):
20310 * net/tramp-cmds.el (tramp-append-tramp-buffers):
20311 * bs.el (bs-cycle-next, bs-cycle-previous):
20312 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
20313 * bindings.el (mode-line-other-buffer):
20314 * autoinsert.el (auto-insert):
20315 * arc-mode.el (archive-extract):
20316 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
20318 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
20320 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
20321 Fix check of `emacs-lock-unlockable-modes'.
20322 Coerce true values of `emacs-lock--try-unlocking' to t.
20324 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
20326 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
20327 * emacs-lock.el: New file.
20329 2011-07-05 Julien Danjou <julien@danjou.info>
20331 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
20332 than `boundp' to check if face is set.
20334 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
20336 * register.el (registerv-make):
20337 * window.el (window-min-height): Fix typos in docstrings.
20339 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
20341 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
20344 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
20346 * server.el (server-execute): Catch quit and call
20347 `server-return-error' to pass the error back to emacsclient and
20348 close the connection (bug#8942).
20350 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
20352 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
20353 insecure exception for current topic. Also note that auto-saves
20354 are handled differently.
20356 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
20357 State variables for tracking auto-save inhibition situation.
20359 (allout-write-contents-hook-handler): Rename from
20360 'allout-write-file-hook-handler', and describe how it depends on
20361 write-contents-functions sensitivity to non-nil value to prevent
20364 (allout-auto-save-hook-handler): Remove. auto-save does not check
20365 this in individual buffers, only in the starting buffer, so this
20366 is not the right way for us to inhibit auto-save in a buffer
20367 according to its condition.
20369 (allout-mode): Use new allout-write-contents-hook-handler, and
20370 only with write-contents-functions. Remove auto-save provisions -
20371 they're implemented elsewhere.
20373 (allout-before-change-handler): If undo is in progress, note that
20374 for attention of allout-post-command-business.
20376 (allout-post-command-business): If the command we're following was
20377 an undo, check for change in the status of encrypted items and
20378 adjust auto-save inhibitions accordingly.
20380 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
20381 according to whether there are or aren't any plain-text topics
20382 pending encryption.
20384 (allout-inhibit-auto-save-info-for-decryption):
20385 Adjust buffer-saved-size and some allout state to inhibit auto-saves
20386 if there are plain-text topics pending encryption.
20388 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
20389 buffer-saved-size and some allout state to not inhibit auto-saves
20390 if there are no longer any plain-text topics pending encryption.
20392 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
20393 No longer provide for exemption of the current topic.
20395 2011-07-04 Juri Linkov <juri@jurta.org>
20397 Add 7z operations to delete and save changed members (bug#8968).
20398 * arc-mode.el (archive-7z-expunge, archive-7z-update):
20400 (archive-7z-write-file-member): New function.
20401 (archive-7z-summarize): Fix the number of dashes in the
20404 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
20406 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
20409 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
20411 * bindings.el: Ignore next-buffer and previous-buffer in
20412 minibuffer-local-map.
20414 * font-lock.el (font-lock-builtin-face): Change light background
20415 color to dark slate blue (Bug#6693).
20417 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
20419 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
20421 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
20423 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
20424 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
20425 Add switch-to-buffer.
20427 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
20429 * isearch.el (isearch-search-fun-function): Clarify further the
20430 meaning of the function returned.
20432 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
20434 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
20436 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
20437 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
20439 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
20440 `tramp-default-remote-path' does not exist.
20441 (tramp-send-command-and-read): New optional argument NOERROR.
20442 (tramp-open-connection-setup-interactive-shell)
20443 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
20444 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
20445 (tramp-process-sentinel): Flush also process' connection property.
20446 (tramp-sh-handle-start-file-process): Do not set process
20447 sentinel. It is done now ...
20448 (tramp-maybe-open-connection): ... here. (Bug#8929)
20450 2011-07-04 MON KEY <monkey@sandpframing.com>
20452 * play/animate.el (animate-string): Doc fixes and allow changing
20453 the buffer name (bug#5417).
20455 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
20457 * play/animate.el (animation-buffer-name): Rename from *animate*.
20459 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
20461 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
20462 This is simpler and helps future-proof the code.
20463 (timer-until): Use time-subtract and float-time.
20464 (timer--time-less-p): Use time-less-p.
20466 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
20468 * type-break.el (timep): Use the value of `float-time' to avoid a
20469 byte-compiler warning.
20471 * server.el (server-eval-and-print): Return any result, even nil.
20473 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
20475 * type-break.el: Accept time formats that the builtins accept.
20476 (timep, type-break-time-difference): Accept any format that
20477 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
20478 This is simpler and helps future-proof the code.
20479 (type-break-time-difference): Round rather than ignoring
20480 subseconds components.
20482 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
20484 * info.el (Info-apropos-matches): Make non-interactive, since it
20485 doesn't seem to do anything useful as a command (bug#8829).
20487 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
20489 * frame.el (frame-background-mode, frame-set-background-mode):
20490 Move from faces.el.
20491 (frame-default-terminal-background): New function.
20493 * custom.el (custom-push-theme): Don't record faces in `changed'
20494 theme; this doesn't work correctly for per-frame face settings.
20495 (disable-theme): Use face-set-after-frame-default to reset faces.
20496 (custom--frame-color-default): New function.
20498 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
20500 * dired.el (dired-flagging-regexp): Remove unused variable
20503 2011-03-29 Kevin Ryde <user42@zip.com.au>
20505 * progmodes/compile.el (compilation-error-regexp-alist-alist):
20506 `perl-Test2' extend to match possible "fail #N" rep count
20509 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
20511 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
20512 `smtpmail-via-smtp' now returns the error instead of nil.
20514 * isearch.el (isearch-search-fun-function): Clarify the doc string
20517 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
20519 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
20520 unnecessary spaces (bug#8987).
20522 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
20524 * net/network-stream.el (open-network-stream): Use the
20525 :end-of-capability command thoughout.
20527 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
20529 * net/network-stream.el (open-network-stream): Add the
20530 :end-of-capability command parameter, used by pop3.el.
20532 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
20534 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
20536 * fringe.el (fringe-query-style): Remove redundant text " (type ?
20537 for list)" (bug#6475).
20539 * files.el (file-expand-wildcards): Ignore non-readable
20540 sub-directories while trying to find matches instead of signaling
20541 an error (bug#6297).
20543 * man.el (Man-reference-regexp): Allow matching possible
20544 word-wrapped references (bug#6289).
20546 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
20547 for consistency with the other vc buffers (bug#6197).
20548 (vc-checkin): Ditto.
20550 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
20552 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
20554 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
20556 * custom.el (defcustom): Clarify that :set is only used in the
20557 Customize user interface (bug#6089).
20559 * progmodes/flymake.el (flymake-mode): If the buffer isn't
20560 associated with a file, refuse to run instead of erroring out
20563 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
20564 the doc string, since it appears that using `fill-column' always
20565 controls the width (bug#7845).
20567 * simple.el (shell-command-on-region): Say where the error output
20568 went if `shell-command-default-error-buffer' is set (bug#6857).
20570 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
20572 * allout.el (allout-yank-processing): Adjust cursor position for
20573 backwards-deleted space.
20575 (allout-rebullet-heading): Register changes with
20576 allout-exposure-changed-hook, so the modified topic is properly
20579 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
20581 * minibuffer.el (completion-in-region): Document PREDICATE
20584 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
20585 of keyword/argument pairs (bug#6904).
20587 * replace.el (multi-occur):
20588 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
20590 2011-07-02 Drew Adams <drew.adams@oracle.com>
20592 * dired.el (dired-mark-if): Make the message about whether it's
20593 marking or unmarking clearer (bug#8523).
20595 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
20597 * disp-table.el (display-table-print-array): New function.
20598 (describe-display-table): Use it to print the vectors more pretty
20601 2011-07-02 Martin Rudalics <rudalics@gmx.at>
20603 * window.el (window-state-get-1): Don't assign clone numbers.
20604 Add clone-of item to list of window parameters.
20605 (window-state-put-2): Don't process clone numbers.
20606 (display-buffer-alist): Fix doc-string.
20608 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
20610 * subr.el (remq): Don't allocate if it's not needed.
20611 (keymap--menu-item-binding, keymap--menu-item-with-binding)
20612 (keymap--merge-bindings): New functions.
20613 (keymap-canonicalize): Use them to refine the canonicalization.
20614 * minibuffer.el (minibuffer-local-completion-map)
20615 (minibuffer-local-must-match-map): Move initialization from C.
20616 (minibuffer-local-filename-completion-map): Move initialization from C;
20617 don't inherit from anything here.
20618 (minibuffer-local-filename-must-match-map): Make obsolete.
20619 (completing-read-default): Use make-composed-keymap to combine
20620 minibuffer-local-filename-completion-map with either
20621 minibuffer-local-must-match-map or
20622 minibuffer-local-filename-completion-map.
20624 2011-07-01 Glenn Morris <rgm@gnu.org>
20626 * type-break.el (type-break-time-sum): Use dolist.
20628 * textmodes/flyspell.el (flyspell-word-search-backward):
20629 Replace CL function.
20631 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
20633 * mouse.el (mouse--strip-first-event): New function.
20634 (function-key-map): Use it to map fringe clicks to normal clicks
20637 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
20638 (vc-bzr-revision-completion-table): Add support for annotate and date.
20640 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
20641 inherit from parent.
20643 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
20645 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
20646 (dired-show-file-type): Doc fixup (bug#8818).
20648 * dired.el (dired-mode): Fix up the doc string as suggested by
20649 Drew Adams (bug#8817).
20651 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
20652 cookie, since the manual says that it should be possible to add
20653 this function to `find-file-hook' (bug#8709).
20655 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
20657 * progmodes/cfengine.el: Moved all cfengine3.el functionality
20658 here. Noted Ted Zlatanov as the maintainer.
20659 (cfengine-common-settings, cfengine-common-syntax): New functions
20660 to set up common things between `cfengine-mode' and
20662 (cfengine3-mode): New mode.
20663 (cfengine3-defuns cfengine3-defuns-regex
20664 (cfengine3-class-selector-regex cfengine3-category-regex)
20665 (cfengine3-vartypes cfengine3-font-lock-keywords)
20666 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
20667 (cfengine3-indent-line): Add from cfengine3.el.
20669 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
20671 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
20673 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
20675 2011-07-01 Martin Rudalics <rudalics@gmx.at>
20677 * window.el (same-window-buffer-names, same-window-regexps)
20678 (same-window-p, special-display-frame-alist)
20679 (special-display-popup-frame, special-display-function)
20680 (special-display-buffer-names, special-display-regexps)
20681 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
20682 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
20683 (split-window-preferred-function, split-height-threshold)
20684 (split-width-threshold, even-window-heights)
20685 (display-buffer-mark-dedicated, window-splittable-p)
20686 (split-window-sensibly, window-safely-shrinkable-p):
20688 (display-buffer): Don't spread args with function specifier
20689 because special-display-popup-frame won't like it.
20691 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
20693 Time-stamp simplifications and fixes.
20694 These improve accuracy slightly, and future-proof the code
20695 against some potential changes to current-time format.
20697 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
20698 by using time-since and float-time.
20700 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
20701 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
20702 + NNN microseconds".
20704 * type-break.el (type-break-time-sum): Rewrite using time-add.
20706 * play/hanoi.el (hanoi-current-time-float): Remove.
20707 All uses replaced by float-time.
20709 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
20710 This yields a more-accurate answer.
20711 (rng-time-to-float): Remove; no longer needed.
20713 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
20715 * calendar/timeclock.el (timeclock-seconds-to-time):
20716 Defalias to seconds-to-time, since they're the same thing.
20718 * emacs-lisp/elp.el (elp-elapsed-time):
20719 * emacs-lisp/benchmark.el (benchmark-elapse):
20720 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
20722 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
20724 * window.el (bury-buffer): Don't iconify the only frame.
20725 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
20726 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
20728 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
20730 * eshell/em-smart.el (eshell-smart-display-navigate-list):
20731 Add mouse-yank-primary.
20733 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
20735 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
20737 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
20739 * emacs-lisp/find-func.el (find-library--load-name): New fun.
20740 (find-library-name): Use it to find relative load names when provided
20741 absolute file name (bug#8803).
20743 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
20745 * textmodes/flyspell.el (flyspell-word): Consider words that
20746 differ only in case as potential doublons (bug#5687).
20748 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
20749 Remove two rather uninteresting debugging-like messages to make
20750 debbugs.el more silent.
20752 * comint.el (comint-password-prompt-regexp): Accept "Response" as
20753 a password-like phrase.
20755 2011-06-30 Masatake YAMATO <yamato@redhat.com>
20757 * progmodes/cc-guess.el: New file.
20759 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
20761 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
20762 derived from `c-basic-common-init'.
20764 * progmodes/cc-mode.el (top-level): Require cc-guess.
20765 (c-basic-common-init): Use `cc-choose-style-for-mode'.
20767 2011-06-30 Lawrence Mitchell <wence@gmx.li>
20769 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
20771 2011-06-30 Alan Mackenzie <acm@muc.de>
20773 * progmodes/cc-engine.el (c-guess-continued-construct):
20774 Correct the handling of template-args-cont, particularly for when font
20775 lock is disabled. Name this case as "CASE G".
20777 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
20779 * allout.el (allout-yank-processing): Fix injection of extra space
20780 between bullet and non-whitespace character in first topic when
20781 pasting, ensuring that the actual spacing in the pasted topic
20782 following the bullet char is preserved. This extra space was
20783 causing pasted encrypted topics to get a decrypted status even
20784 when the content was actually still encrypted. Now the decryption
20785 status from before the paste is preserved.
20787 (allout-flag-region): Set all allout overlays so they evaporate
20788 when reduced to zero length (evanescent), to prevent overlay
20791 2011-06-30 Glenn Morris <rgm@gnu.org>
20793 * w32-fns.el (w32-charset-info-alist): Declare.
20795 * find-dired.el (find-grep-options): Simplify.
20797 * term/ns-win.el (ns-set-resource): Declare.
20799 * ses.el (row, col): Declare dynamic variables honestly.
20801 * textmodes/reftex-parse.el (index-tags): Declare.
20803 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
20805 * cus-edit.el (customize-push-and-save): New function.
20807 * files.el (hack-local-variables-confirm): Use it.
20809 * custom.el (load-theme): New arg NO-CONFIRM.
20810 Use customize-push-and-save (Bug#8720).
20811 (custom-enabled-themes): Doc fix.
20813 * cus-theme.el (customize-create-theme)
20814 (custom-theme-merge-theme): Callers to load-theme changed.
20816 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
20818 * thingatpt.el (thing-at-point-short-url-regexp): Require that
20819 short URLs have at least one dot in them (bug #7614).
20821 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
20822 nil, because using a pty is apparently too slow (bug #895).
20824 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
20826 * mail/sendmail.el (sendmail-query-once): New function.
20827 (sendmail-query-once-function): New variable.
20829 2011-06-29 Glenn Morris <rgm@gnu.org>
20831 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
20833 * ses.el (top-level): Require cl when compiling.
20834 (ses-set-localvars): Fix error statement.
20835 Call it at compile time to silence a storm of warnings.
20837 2011-06-29 Martin Rudalics <rudalics@gmx.at>
20839 * window.el (normalize-live-buffer): Rename to
20840 window-normalize-buffer.
20841 (normalize-live-frame): Rename to window-normalize-frame.
20842 (normalize-any-window): Rename to window-normalize-any-window.
20843 (normalize-live-window): Rename to window-normalize-live-window.
20844 (make-window-atom): Rename to window-make-atom.
20845 (window-resize-reset): Rename to window--resize-reset.
20846 (window-resize-reset-1): Rename to window--resize-reset-1.
20847 (resize-mini-window): Rename to window--resize-mini-window.
20848 (resize-subwindows-skip-p): Rename to
20849 window--resize-subwindows-skip-p.
20850 (resize-subwindows-normal): Rename to
20851 window--resize-subwindows-normal.
20852 (resize-subwindows): Rename to window--resize-subwindows.
20853 (resize-other-windows): Rename to window--resize-siblings.
20854 (resize-this-window): Rename to window--resize-this-window.
20855 (resize-root-window): Rename to window--resize-root-window.
20856 (resize-root-window-vertically): Rename to
20857 window--resize-root-window-vertically.
20858 (normalize-buffer-to-display): Rename to
20859 window-normalize-buffer-to-display.
20860 (normalize-buffer-to-switch-to): Rename to
20861 window-normalize-buffer-to-switch-to.
20862 Correspondingly update all callers of the functions listed
20864 (display-buffer-alist, display-buffer-normalize-arguments)
20865 (display-buffer-normalize-options, display-buffer)
20866 (display-buffer-alist-set): Use "function" instead of
20869 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
20871 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
20872 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
20873 debbugs.gnu.org. Mention acknowledgment email.
20875 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
20877 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
20878 buffer multibyteness, since it shouldn't matter.
20880 2011-06-28 Martin Rudalics <rudalics@gmx.at>
20882 * window.el (display-buffer-in-side-window): Handle dedicated
20883 windows as in display-buffer-reuse-window.
20884 (display-buffer-normalize-alist): Use value of override
20886 (display-buffer-normalize-specifiers): Use value of
20887 other-window-means-other-frame specifier.
20888 (display-buffer-alist): Rewrite some texts in widgets.
20889 (display-buffer): Spread arguments when calling function
20890 specified by fun-with-args.
20892 2011-06-28 Deniz Dogan <deniz@dogan.se>
20894 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
20897 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
20898 selectors (Bug#5732).
20899 (css-proprietary-nmstart-re): Use `regexp-opt'.
20901 2011-06-27 Jari Aalto <jari.aalto@cante.net>
20903 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
20904 (eshell-ls-date-format): New defcustom.
20905 (eshell-ls-file): Use it.
20907 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
20909 * help-fns.el (describe-variable): Fix message for terminal-local vars.
20911 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
20913 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
20914 (ange-ftp-make-tmp-name): New arg.
20915 (ange-ftp-file-local-copy): Use it.
20917 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
20919 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
20920 no-conversion (Bug#8870).
20922 2011-06-27 Martin Rudalics <rudalics@gmx.at>
20924 * window.el (window-right, window-left, window-child)
20925 (window-child-count, window-last-child)
20926 (window-iso-combination-p, walk-window-tree-1)
20927 (window-atom-check-1, window-tree-1, delete-window)
20928 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
20929 new naming conventions - window-vchild, window-hchild,
20930 window-next and window-prev are now called window-top-child,
20931 window-left-child, window-next-sibling and window-prev-sibling
20933 (resize-window-reset): Rename to window-resize-reset.
20934 (resize-window-reset-1): Rename to window-resize-reset-1.
20935 (resize-window): Rename to window-resize.
20936 (window-min-height, window-min-width)
20937 (resize-mini-window, resize-this-window, resize-root-window)
20938 (resize-root-window-vertically, adjust-window-trailing-edge)
20939 (enlarge-window, shrink-window, maximize-window)
20940 (minimize-window, delete-window, quit-restore-window)
20941 (split-window, balance-windows, balance-windows-area-adjust)
20942 (balance-windows-area, window-state-put-2)
20943 (display-buffer-even-window-sizes, display-buffer-set-height)
20944 (display-buffer-set-width, set-window-text-height)
20945 (fit-window-to-buffer): Rename all "resize-window" prefixed
20946 calls to use the "window-resize" prefix convention.
20947 (display-buffer-alist): Fix symbol for label specifier.
20948 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
20949 corresponding specifier.
20950 Reported by Juanma Barranquero <lekktu@gmail.com>.
20952 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
20954 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
20956 (ses-call-printer): Does not pass an empty string to formatter when the
20957 cell is empty to keep from barking printer Calc math-format-value.
20959 2011-06-27 Richard Stallman <rms@gnu.org>
20961 * battery.el (battery-mode-line-limit): New variable.
20962 (battery-update): Handle it.
20964 * mail/rmailmm.el (rmail-mime-process-multipart):
20965 Handle truncated messages.
20967 2011-06-27 Glenn Morris <rgm@gnu.org>
20969 * progmodes/flymake.el (flymake-err-line-patterns):
20970 Allow for column numbers in the ant/javac pattern. (Bug#8866)
20972 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
20974 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
20975 (ses--clean-!, ses--clean-_): New functions.
20976 (ses-range): Add configurability of readout order, and conversion
20979 * ses.el (ses-repair-cell-reference-all): New function.
20980 (ses-cell-symbol): Set macro as safe, so that it can be used in
20983 * ses.el: Update cycle detection algorithm.
20984 (ses-localvars): Add ses--Dijkstra-attempt-nb and
20985 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
20986 (ses-set-localvars): New function.
20987 (ses-make-cell): Add property-list as a cell element.
20988 (ses-cell-property-get-fun, ses-cell-property-get)
20989 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
20990 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
20992 (ses-cell-property-set, ses-cell-property-pop)
20993 (ses-cell-property-get-handle): New macro.
20994 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
20995 New aliases, used for code readability.
20996 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
20998 (ses-self-reference-early-detection): New defcustom.
20999 (ses-formula-references): Robustify against self-referring cells.
21000 (ses-mode): Use ses-set-localvars.
21001 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
21002 before lauching the update processing.
21003 (ses-initialize-Dijkstra-attempt): New function.
21004 (ses-recalculate-cell): Update for cycle detection based on
21005 Dijkstra algorithm.
21007 * ses.el: Fix commenting and indenting convention.
21009 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
21011 * bs.el (bs-cycle-next): Complete last change.
21013 2011-06-27 Drew Adams <drew.adams@oracle.com>
21015 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
21017 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
21019 * net/network-stream.el (network-stream-open-starttls):
21020 Don't re-get capabilities unless we've reestablished connection.
21021 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
21023 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
21024 to binary to possibly avoid line encoding issues on Windows (among
21027 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
21029 * net/network-stream.el (open-network-stream): Return an :error
21030 saying what the problem was, if possible.
21032 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
21035 * net/network-stream.el (network-stream-open-starttls): If we
21036 wanted to use STARTTLS, and the server offered it, but we weren't
21037 able to because we had no STARTTLS support, then close the connection.
21038 (open-network-stream): Return an :error element, if present.
21040 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
21042 * hl-line.el (hl-line-sticky-flag): Doc fix.
21043 (global-hl-line-sticky-flag): New option (Bug#8323).
21044 (global-hl-line-highlight): Obey it.
21046 * vc/vc.el (vc-revert-show-diff): Default to t.
21048 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
21050 * allout-widgets.el (allout-widgets-post-command-business):
21051 Stop decorating intermediate isearch matches. They're not being
21052 undecorated when an isearch is continued past, and isearch
21053 automatically collapses them. This leads to "widget leaks", where
21054 decorated items accumulate in collapsed areas. Lines with lots of
21055 hidden widgets can slow down cursor travel, substantially.
21056 Too much complicated machinery would be needed to ensure undecoration,
21057 so we're doing without this nicety.
21059 (allout-widgets-tally-string): Don't try to do a hash-table-count
21060 of allout-widgets-tally when it's nil. This eliminates spurious "Error
21061 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
21062 *Messages* when allout-widgets-maintain-tally is t.
21064 2011-06-26 Martin Rudalics <rudalics@gmx.at>
21066 * window.el (display-buffer-normalize-argument): Rename to
21067 display-buffer-normalize-arguments. Handle special meaning of
21068 LABEL argument. Respect special-display-function when popping up
21069 a new frame. Fix code searching for a window showing the buffer
21071 (display-buffer-normalize-specifiers):
21072 Call display-buffer-normalize-arguments.
21073 (display-buffer-in-window): Don't undedicate the window if its
21074 buffer remains the same.
21075 Reported by Drew Adams <drew.adams@oracle.com>.
21076 (display-buffer-alist): Add choice for same-window macro
21078 (display-buffer): Mention special meaning of LABEL argument in
21079 doc-string. Fix quoting. Don't pop up a new frame even as
21082 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
21084 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
21085 avoid deleting the current window in some cases (bug#8911).
21087 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
21089 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
21092 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
21094 * net/network-stream.el (network-stream-open-starttls):
21095 Use built-in TLS support if `gnutls-available-p' is true.
21096 (network-stream-open-tls): Ditto.
21098 2011-06-26 Leo Liu <sdl.web@gmail.com>
21100 * register.el (registerv): New struct.
21101 (registerv-make): New function.
21102 (jump-to-register, describe-register-1, insert-register):
21103 Support the jump-func, print-func and insert-func slot of a registerv
21106 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
21108 * vc/vc.el (vc-revert-show-diff): New defcustom.
21109 (vc-diff-internal): New arg specifying diff buffer.
21110 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
21111 reuse an existing *vc-diff* buffer (Bug#8927).
21113 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
21115 2011-06-26 Glenn Morris <rgm@gnu.org>
21117 * progmodes/f90.el (f90-critical-indent): New option.
21118 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
21119 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
21120 (f90-mode): Doc fix.
21121 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
21122 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
21123 (f90-beginning-of-block, f90-next-block, f90-indent-region)
21124 (f90-match-end): Handle block, critical.
21126 2011-06-25 Glenn Morris <rgm@gnu.org>
21128 * calendar/diary-lib.el (diary-included-files): Doc fix.
21129 (diary-include-files): New function, extracted from
21130 diary-include-other-diary-files and diary-mark-included-diary-files.
21131 (diary-include-other-diary-files, diary-mark-included-diary-files):
21132 Just call diary-include-files.
21133 (diary-mark-entries): Reset diary-included-files on first call.
21135 * calendar/diary-lib.el (diary-mark-entries)
21136 (diary-mark-included-diary-files):
21137 Visit included diary-files in temp buffers.
21139 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
21140 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
21141 (f90-start-block-re, f90-imenu-generic-expression)
21142 (f90-looking-at-program-block-start, f90-no-block-limit):
21143 Add support for submodules.
21145 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
21146 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
21148 2011-06-25 Eli Zaretskii <eliz@gnu.org>
21150 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
21151 buffer-file-type before setting its value, to avoid disastrous
21152 global effects on decoding files for DOS/Windows systems. (Bug#8780)
21154 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
21156 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
21158 * ses.el (ses-unload-function):
21159 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
21161 * proced.el (proced-unload-function):
21162 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
21164 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
21166 * server.el (server-create-window-system-frame): Add parameters arg.
21167 (server-process-filter): Doc fix. Handle frame-parameters.
21169 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
21171 Fix bug#8730, bug#8781.
21173 * loadhist.el (unload--set-major-mode): New function.
21174 (unload-feature): Use it.
21176 * progmodes/python.el (python-after-info-look): Add autoload cookie.
21177 (python-unload-function): New function.
21179 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
21181 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
21183 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
21185 * net/browse-url.el (browse-url-firefox-program): Add icecat to
21186 the candidates list.
21188 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
21190 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
21192 2011-06-23 Richard Stallman <rms@gnu.org>
21194 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
21195 (rmail-variables): Set next-error-move-function.
21196 (rmail-what-message): Take argument POS.
21197 (rmail-next-error-move): New function.
21199 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
21201 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
21202 messages for adjacent non-terminals.
21204 2011-06-23 Richard Stallman <rms@gnu.org>
21206 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
21207 (rmail-show-message-1): Preserve buffer modified flag.
21208 (rmail-start-mail): Don't specify use of rmail-mail-return;
21209 that's done by mail-bury now.
21210 (rmail-mail-return): Handle arg NEWBUF.
21212 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
21214 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
21217 2011-06-23 Martin Rudalics <rudalics@gmx.at>
21219 * window.el (get-lru-window, get-mru-window)
21220 (get-largest-window): Never return a minibuffer window.
21221 (display-buffer-pop-up-window): Fix a bug that could lead to
21222 reusing the minibuffer window.
21223 (display-buffer): Pass original specifier argument to
21224 display-buffer-function instead of the normalized one.
21225 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
21227 2011-06-22 Leo Liu <sdl.web@gmail.com>
21229 * minibuffer.el (completing-read-function)
21230 (completing-read-default): Move from minibuf.c.
21232 2011-06-22 Richard Stallman <rms@gnu.org>
21234 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
21235 to Rmail even if not started by a special Rmail command.
21237 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
21238 Copy the buffer currently showing just one message.
21240 2011-06-22 Roland Winkler <winkler@gnu.org>
21242 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
21243 (bibtex-clean-entry): First delete the old key so that a
21244 customized algorithm for generating the new key does not get
21245 confused by the old key.
21246 (bibtex-url): Obey regexp of first step.
21247 (bibtex-search-entries): Do not use add-to-list with local
21250 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
21252 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
21253 stored a user name, then query for the password first, instead of
21254 waiting for SMTP to give an error message and the trying again.
21256 2011-06-22 Lawrence Mitchell <wence@gmx.li>
21258 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
21259 BUFFER in call-process.
21261 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
21263 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
21265 (smtpmail-try-auth-methods): Require user name and password from
21268 2011-06-22 Martin Rudalics <rudalics@gmx.at>
21270 * window.el (display-buffer-default-specifiers)
21271 (display-buffer-alist): Remove entries for pop-up-frame-alist.
21272 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
21273 (split-window): Normalize SIDE argument (Bug#8916).
21275 * frame.el (pop-up-frame-alist, pop-up-frame-function)
21276 (special-display-frame-alist, special-display-popup-frame):
21277 Remove duplicate declarations. These are now in window.el.
21279 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
21281 * mail/smtpmail.el (smtpmail-via-smtp):
21282 Set :use-starttls-if-possible so that we always use STARTTLS if the
21283 server supports it. SMTP servers that support STARTTLS commonly
21286 * net/network-stream.el (network-stream-open-starttls): Support
21287 upgrading to STARTTLS always, even if we don't have built-in support.
21288 (open-network-stream): Add the :always-query-capabilities keyword.
21290 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
21291 upgrades with `open-network-stream', and rely solely on
21292 auth-source for all credentials. Big changes throughout the file,
21294 (smtpmail-auth-credentials): Remove.
21295 (smtpmail-starttls-credentials): Remove.
21296 (smtpmail-via-smtp): Check for servers saying they want AUTH after
21299 * net/network-stream.el (network-stream-open-starttls):
21300 Provide support for client certificates both for external and built-in
21302 (auth-source): Require.
21303 (open-network-stream): Document the :client-certificate keyword.
21304 (network-stream-certificate): Change cert-cert to cert and
21307 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
21309 * net/tramp-cache.el (top): Don't load the persistency file when
21310 "emacs -Q" has been called.
21312 2011-06-21 Tim Harper <timcharper@gmail.com>
21314 * term/ns-win.el (ns-initialize-window-system):
21315 Set application-specific `ApplePressAndHoldEnabled' system
21316 resource to NO as it is not yet supported by the NS port.
21318 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
21320 * misc.el (list-dynamic-libraries--refresh): Compute header here...
21321 (list-dynamic-libraries): ...not here.
21323 2011-06-21 Leo Liu <sdl.web@gmail.com>
21325 * subr.el (sha1): Implement sha1 using secure-hash.
21327 2011-06-21 Martin Rudalics <rudalics@gmx.at>
21329 * window.el (display-buffer-alist): In default value do not
21330 enforce searching a window on any but the selected frame.
21331 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
21332 (display-buffer-select-window): Remove function.
21333 (display-buffer-in-window): When a window on another frame gets
21334 reused, do not select it any more but just raise its frame if
21335 necessary (Bug#8851) and (Bug#8856).
21336 (display-buffer-normalize-options): Handle pop-up-frames related
21337 options more faithfully.
21338 (pop-to-buffer): Don't rely on `display-buffer' selecting the
21339 window if it is on another frame.
21340 (display-buffer-alist, display-buffer-default-specifiers):
21341 Don't make new frame unsplittable by default.
21342 (display-buffer-normalize-argument): Fix doc-string typo and use
21343 'same-frame-other-window instead of 'other-window when associating
21344 with display-buffer-macro-specifiers.
21346 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
21348 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
21350 (5x5-mode-map, 5x5-mode-menu): Bind them.
21351 (5x5-draw-grid): Tweak the solver's rendering.
21353 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
21355 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
21356 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
21358 2011-06-21 Drew Adams <drew.adams@oracle.com>
21360 * menu-bar.el: Use function variable instead of switch-to-buffer.
21361 (menu-bar-select-buffer-function): New variable.
21362 (menu-bar-update-buffers): Use it (bug#8876).
21364 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
21366 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
21369 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
21371 * x-dnd.el (x-dnd-version-from-flags)
21372 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
21373 and long as number (Bug#8899).
21374 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
21376 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
21378 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
21379 (completion-try-completion, completion-all-completions): Compute the
21380 metadata argument if it's missing; make it optional (bug#8795).
21382 * wid-edit.el: Use lex-bind and move towards completion-at-point.
21383 (widget-complete): Use new :completion-function property.
21384 (widget-completions-at-point): New function.
21385 (default): Use :completion-function instead of :complete.
21386 (widget-default-completions): Rename from widget-default-complete;
21388 (widget-string-complete, widget-file-complete, widget-color-complete):
21390 (file, symbol, function, variable, coding-system, color):
21391 * international/mule-cmds.el (default-input-method, charset)
21392 (language-info-custom-alist):
21393 * cus-edit.el (face): Use new property :completions.
21395 * progmodes/pascal.el (pascal-completions-at-point): New function.
21396 (pascal-mode): Use it.
21397 (pascal-mode-map): Use completion-at-point.
21398 (pascal-toggle-completions): Make obsolete.
21399 (pascal-complete-word, pascal-show-completions):
21400 * progmodes/octave-mod.el (octave-complete-symbol):
21401 Redefine as obsolete alias.
21402 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
21403 Signal absence of completion info for old Octave,
21404 (inferior-octave-complete): Redefine as obsolete alias.
21405 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
21406 (meta-completions-at-point): Rename from meta-complete-symbol and
21407 adapt it for use on completion-at-point-functions.
21408 (meta-common-mode): Use it.
21409 (meta-looking-at-backward, meta-match-buffer): Remove.
21410 (meta-complete-symbol): Redefine as obsolete alias.
21411 (meta-common-mode-map): Use completion-at-point.
21412 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
21413 (makefile-mode-map): Use completion-at-point.
21414 (makefile-completions-at-point): Rename from makefile-complete and
21415 adapt it for use on completion-at-point-functions.
21416 (makefile-mode): Use it.
21417 (makefile-complete): Redefine as obsolete alias.
21419 2011-06-20 Deniz Dogan <deniz@dogan.se>
21421 * net/rcirc.el: Delete trailing whitespaces once and for all.
21423 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
21425 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
21427 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
21429 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
21431 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
21433 2011-06-19 Martin Rudalics <rudalics@gmx.at>
21435 * window.el (display-buffer-other-window-means-other-frame):
21436 Call display-buffer-normalize-alist.
21437 (display-buffer-normalize-specifiers-1): Rename to
21438 display-buffer-normalize-argument. New argument other-frame.
21440 (display-buffer-normalize-specifiers-2): Rename to
21441 display-buffer-normalize-options.
21442 (display-buffer-normalize-alist-1): New function.
21443 (display-buffer-normalize-specifiers-3): Rename to
21444 display-buffer-normalize-alist.
21445 Call display-buffer-normalize-alist-1.
21446 (display-buffer-normalize-options-inhibit): New variable.
21447 (display-buffer-normalize-specifiers): Rewrite calling
21448 display-buffer-normalize-alist,
21449 display-buffer-normalize-argument, and
21450 display-buffer-normalize-options. Don't call the latter if
21451 display-buffer-normalize-options-inhibit is non-nil.
21452 (frame-auto-delete): New option.
21453 (window-deletable-p): Use frame-auto-delete.
21454 (window-list-no-nils, window-state-ignored-parameters)
21455 (window-state-get-1, window-state-get, window-state-put-list)
21456 (window-state-put-1, window-state-put-2, window-state-put):
21458 (display-buffer-normalize-options): Move special-display-p group
21459 after pop-up-frame group (Bug#8851) and (Bug#8856).
21461 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
21463 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
21465 (rx-submatch-n): New function.
21468 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
21471 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
21473 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
21475 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
21476 anytime existing face settings are present (Bug#8889).
21478 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
21479 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
21480 Remove unused argument.
21482 2011-06-18 Martin Rudalics <rudalics@gmx.at>
21484 * window.el (display-buffer-default-specifiers):
21485 Remove pop-up-frame. Add pop-up-window-min-height,
21486 pop-up-window-min-width, and another reuse-window specifier
21487 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
21488 (display-buffer-normalize-specifiers-2):
21489 Handle split-height-threshold and split-width-threshold also when
21490 pop-up-windows is unset. Add a reuse-window specifier for the
21491 case popping up a new window fails.
21492 (special-display-popup-frame): Remove double quoting.
21493 (display-buffer-normalize-specifiers-1): Fix thinko.
21495 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
21497 * shell.el (shell-completion-vars): Set pcomplete-termination-string
21498 according to comint-completion-addsuffix.
21500 * pcomplete.el: Convert to lexical binding and fix bug#8819.
21501 (pcomplete-suffix-list): Mark as obsolete.
21502 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
21503 pcomplete-seen in the closure.
21504 (pcomplete-comint-setup): Setup completion-at-point as well.
21505 (pcomplete--entries): New function.
21506 (pcomplete--env-regexp): New var.
21507 (pcomplete-entries): Rewrite to work with partial-completion and
21508 without relying on pcomplete-suffix-list.
21509 (pcomplete-pare-list): Remove, unused.
21511 2011-06-17 Martin Rudalics <rudalics@gmx.at>
21513 * window.el (display-buffer-alist): Set pop-up-window-min-height
21514 and pop-up-window-min-width in default value. Reported by
21515 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
21516 other-window-means-other-frame.
21517 (display-buffer-macro-specifiers): Comment out entry for
21518 other-window specifier.
21519 (display-buffer-other-window-means-other-frame): New function.
21520 (display-buffer-normalize-specifiers-1): New arguments
21521 buffer-name and label. Treat other-window case specially.
21522 (display-buffer-normalize-specifiers-2): Treat other-window case
21524 (display-buffer-normalize-specifiers-3): New function.
21525 (display-buffer-normalize-specifiers):
21526 Call display-buffer-normalize-specifiers-3.
21528 2011-06-17 Martin Rudalics <rudalics@gmx.at>
21530 * window.el (same-window-p): Fix two typos introduced when
21531 adding with-no-warnings.
21532 (display-buffer-normalize-specifiers-1): Don't check
21533 pop-up-frames for 'unset initialization.
21534 (display-buffer-normalize-specifiers-2): Major rewrite using
21535 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
21536 (pop-up-frames, display-buffer-reuse-frames)
21537 (display-buffer-mark-dedicated): Don't initialize to 'unset.
21538 Suggested by David Engster <deng@randomsample.de>.
21539 (even-window-heights): Initialize to 'unset.
21540 (display-buffer-alist-set): Handle new 'unset initializations.
21541 (display-buffer-macro-specifiers): Don't pop up a new frame in the
21544 2011-06-16 Martin Rudalics <rudalics@gmx.at>
21546 * window.el (display-buffer-normalize-specifiers-1):
21547 Respect current value of pop-up-frames for most reasonable values of
21548 second argument of display-buffer (Bug#8865).
21549 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
21550 (switch-to-buffer-other-window-same-frame)
21551 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
21553 (display-buffer): Don't check noninteractive when calling
21554 display-buffer-pop-up-frame.
21555 (display-buffer-pop-up-frame): Never pop up a frame in
21556 noninteractive mode (Bug#8857).
21557 (enlarge-window, shrink-window): Don't report an error when the
21558 window can't be resized as requested (Bug#8862).
21560 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
21562 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
21564 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
21566 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
21568 2011-06-15 Alan Mackenzie <acm@muc.de>
21570 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
21571 for declarators, disable knr checking to speed up for normal files.
21572 2: Refactor, replacing a sequence of nested if forms by a cond form.
21574 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
21576 * net/network-stream.el (open-network-stream): Add the keyword
21577 :always-query-capabilities for the case where you want to force a
21578 `plain' network connection, but the protocol still requires the
21579 capabilitiy command (i.e., SMTP and EHLO).
21581 * subr.el (process-live-p): Rename from `process-alive-p' for
21582 consistency with other `-live-p' functions.
21584 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
21586 * window.el (same-window-buffer-names, same-window-regexps)
21587 (special-display-frame-alist, special-display-popup-frame)
21588 (special-display-function, special-display-buffer-names)
21589 (special-display-regexps, pop-up-frame-alist)
21590 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
21591 (pop-up-windows, split-window-preferred-function)
21592 (split-height-threshold, split-width-threshold, even-window-heights)
21593 (display-buffer-mark-dedicated): Don't encourage the use of
21594 display-buffer-alist from Elisp code.
21596 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
21598 * progmodes/python.el (python-mode): Derive from prog-mode.
21599 * progmodes/ps-mode.el (ps-mode):
21600 * progmodes/mixal-mode.el (mixal-mode):
21601 * progmodes/cfengine.el (cfengine-mode):
21602 * progmodes/ld-script.el (ld-script-mode): Likewise.
21604 2011-06-15 Martin Rudalics <rudalics@gmx.at>
21606 * window.el (display-buffer-alist): Trim default value to avoid
21607 popping up a new frame (Bug#8857) or reusing an arbitrary window
21609 (display-buffer): Do not fall back on popping up a new frame in
21610 batch mode (Bug#8857).
21612 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
21614 * cus-theme.el (describe-theme-1): Use custom-theme-p.
21615 (custom-theme-summary): New function.
21616 (customize-themes): Use it.
21618 2011-06-13 Glenn Morris <rgm@gnu.org>
21620 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
21622 2011-06-13 Martin Rudalics <rudalics@gmx.at>
21624 * help.el (help-window): Remove variable.
21625 (help-window-point-marker, temp-buffer-max-height)
21626 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
21627 (help-print-return-message): Don't set help-window.
21628 (resize-temp-buffer-window): Rewrite cod eand doc-string.
21629 (help-window-setup-finish): Remove.
21630 (help-window-display-message, help-window-setup)
21631 (with-help-window): Major rewrite based on new
21632 display-buffer-window variable.
21634 * help-mode.el (help-mode-finish): Remove help-window related
21637 * view.el (view-exits-all-viewing-windows): Remove reference to
21638 view-return-to-alist in doc-string.
21639 (view-return-to-alist): Make obsolete.
21640 (view-buffer): Call pop-to-buffer-same-window and remove
21642 (view-buffer-other-window): Call pop-to-buffer-other-window and
21643 simplify code. Ignore second argument.
21644 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
21645 simplify code. Ignore second argument.
21646 (view-return-to-alist-update): Make obsolete.
21647 (view-mode-enter): Rename second argument to QUIT-RESTORE.
21648 Rewrite using quit-restore window parameters.
21649 (view-mode-exit): Rename second argument to EXIT-ONLY.
21650 Rewrite using quit-restore-window.
21651 (View-exit, View-exit-and-edit, View-leave, View-quit)
21652 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
21653 appropriate arguments.
21654 (view-end-message): Use quit-restore window parameter.
21656 * window.el (display-buffer-function): Rewrite doc-string.
21657 (display-buffer-window, display-buffer-alist): New variables.
21658 (display-buffer-split-specifiers)
21659 (display-buffer-side-specifiers)
21660 (display-buffer-macro-specifiers): New constants.
21661 (display-buffer-even-window-sizes, display-buffer-set-height)
21662 (display-buffer-set-width, display-buffer-select-window)
21663 (display-buffer-in-window, display-buffer-reuse-window)
21664 (display-buffer-split-window-1, display-buffer-split-window)
21665 (display-buffer-split-atom-window, display-buffer-pop-up-window)
21666 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
21667 (display-buffer-in-side-window, normalize-buffer-to-display)
21668 (display-buffer-normalize-specifiers-1)
21669 (display-buffer-normalize-specifiers-2)
21670 (display-buffer-normalize-specifiers, display-buffer-frame):
21672 (display-buffer): Major rewrite.
21673 (display-buffer-other-window, display-buffer-other-frame)
21674 (pop-to-buffer, switch-to-buffer-other-window)
21675 (switch-to-buffer-other-frame): Rewrite.
21676 (display-buffer-same-window, display-buffer-same-frame)
21677 (display-buffer-same-frame-other-window)
21678 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
21679 (pop-to-buffer-other-window)
21680 (pop-to-buffer-same-frame-other-window)
21681 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
21682 (switch-to-buffer-other-window-same-frame): New functions.
21683 (same-window-p, special-display-p): Rewrite disabling warnings.
21685 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
21686 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
21688 (same-window-buffer-names, same-window-regexps)
21689 (special-display-frame-alist, special-display-popup-frame)
21690 (special-display-function, special-display-buffer-names)
21691 (special-display-regexps, pop-up-frame-alist)
21692 (pop-up-frame-function, split-window-preferred-function)
21693 (split-height-threshold, split-width-threshold)
21694 (even-window-heights): Make obsolete.
21696 2011-06-12 Glenn Morris <rgm@gnu.org>
21698 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
21699 Misc simplifications.
21701 2011-06-12 Martin Rudalics <rudalics@gmx.at>
21703 * window.el (window-safely-shrinkable-p): Restore function which
21704 was inadvertently removed in change from 2011-06-11. Declare as
21707 * calendar/calendar.el (calendar-generate-window):
21708 Use window-iso-combined-p instead of combination of one-window-p and
21709 window-safely-shrinkable-p.
21711 2011-06-12 Glenn Morris <rgm@gnu.org>
21713 * progmodes/fortran.el (fortran-mode-syntax-table):
21714 * progmodes/f90.el (f90-mode-syntax-table):
21715 Set % to punctuation. (Bug#8820)
21716 (f90-find-tag-default): Remove, no longer needed.
21718 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
21720 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
21722 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
21724 * image.el (image-animated-p): Return animation delay in seconds.
21725 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
21726 (image-animate-timeout): Remove DELAY argument. Don't assume
21727 every subimage has the same delay; get it from image-animated-p.
21728 (image-animate): Caller changed.
21730 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
21732 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
21733 to ignored backtrace functions.
21735 2011-06-11 Glenn Morris <rgm@gnu.org>
21737 * calendar/appt.el (appt-disp-window-function): Doc fix.
21738 (appt-check): Handle overlapping appointments. (Bug#8337)
21740 2011-06-11 Martin Rudalics <rudalics@gmx.at>
21742 * window.el (window-tree-1, window-tree): New functions, moving
21743 the latter to window.el.
21744 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
21745 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
21746 (bw-refresh-edges): Remove.
21747 (balance-windows-1, balance-windows-2): New functions.
21748 (balance-windows): Rewrite in terms of window tree functions,
21749 balance-windows-1 and balance-windows-2.
21750 (bw-adjust-window): Remove.
21751 (balance-windows-area-adjust): New function with functionality of
21752 bw-adjust-window but using resize-window.
21753 (set-window-text-height): Rewrite doc-string.
21754 Use normalize-live-window and resize-window.
21755 (enlarge-window-horizontally, shrink-window-horizontally):
21756 Rename argument to DELTA.
21757 (window-buffer-height): New function.
21758 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
21759 Rewrite using new window resize routines.
21760 (kill-buffer-and-window, mouse-autoselect-window-select):
21761 Use ignore-errors instead of condition-case.
21762 (quit-window): Call delete-frame instead of delete-windows-on
21763 for the only buffer on frame.
21765 2011-06-10 Martin Rudalics <rudalics@gmx.at>
21767 * loadup.el (top-level): Load window before files for the sake
21768 of replace-buffer-in-windows.
21770 * files.el (read-buffer-to-switch)
21771 (switch-to-buffer-other-window)
21772 (switch-to-buffer-other-frame, display-buffer-other-frame):
21775 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
21776 (previous-buffer): Move to window.el.
21778 * bindings.el (unbury-buffer): Move to window.el.
21780 * window.el (delete-other-windows-vertically): Move after
21781 definition of delete-other-windows.
21782 (other-window, delete-windows-on, replace-buffer-in-windows):
21783 Move here from window.c.
21784 (record-window-buffer, unrecord-window-buffer)
21785 (set-window-buffer-start-and-point, switch-to-prev-buffer)
21786 (switch-to-next-buffer): New functions.
21787 (get-next-valid-buffer, last-buffer, next-buffer): Move here
21788 from simple.el. Call switch-to-next-buffer.
21789 (previous-buffer): Move here from simple.el.
21790 Call switch-to-prev-buffer.
21791 (bury-buffer): Move here from buffer.c. Switch to previous
21792 buffer when window cannot be deleted.
21793 (unbury-buffer): Move here from bindings.el.
21794 (ctl-x-map): Move binding for other-window from window.c to
21796 (read-buffer-to-switch, switch-to-buffer-other-window)
21797 (switch-to-buffer-other-frame): Move here from files.el.
21798 (normalize-buffer-to-switch-to): New functions.
21799 (switch-to-buffer): Move here from buffer.c.
21800 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
21802 2011-06-10 Martin Rudalics <rudalics@gmx.at>
21804 * window.el (window-min-height, window-min-width): Move here
21805 from window.c. Add defcustoms and rewrite doc-strings.
21806 (resize-mini-window, resize-window): New functions.
21807 (adjust-window-trailing-edge, enlarge-window, shrink-window):
21808 Move here from window.c.
21809 (maximize-window, minimize-window): New functions.
21810 (delete-window, delete-other-windows, split-window): Move here
21812 (window-split-min-size): New function.
21813 (split-window-keep-point): Mention split-window-above-each-other
21814 instead of split-window-vertically.
21815 (split-window-above-each-other, split-window-vertically):
21816 Rename split-window-vertically to split-window-above-each-other
21817 and provide defalias for old definition.
21818 (split-window-side-by-side, split-window-horizontally):
21819 Rename split-window-horizontally to split-window-side-by-side
21820 and provide defalias for the old definition.
21821 (ctl-x-map): Move bindings for delete-window,
21822 delete-other-windows and enlarge-window here from window.c.
21823 Replace bindings for split-window-vertically and
21824 split-window-horizontally by bindings for
21825 split-window-above-each-other and split-window-side-by-side.
21827 * cus-start.el (all): Remove entries for window-min-height and
21828 window-min-width. Add entries for window-splits and
21831 2011-06-09 Glenn Morris <rgm@gnu.org>
21833 * calendar/appt.el (appt-mode-line): New function.
21834 (appt-check, appt-disp-window): Use it.
21836 * files.el (hack-one-local-variable-eval-safep):
21837 Allow minor-modes with explicit +/-1 arguments.
21839 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
21841 * term/xterm.el (xterm): Add defgroup.
21842 (xterm-extra-capabilities): Add defcustom to supply known xterm
21843 capabilities, skip querying them, or query them (default).
21844 (terminal-init-xterm): Use it.
21845 (terminal-init-xterm-modify-other-keys): New function to set up
21846 modifyOtherKeys support to simplify `terminal-init-xterm'.
21848 2011-06-09 Martin Rudalics <rudalics@gmx.at>
21850 * window.el (resize-window-reset, resize-window-reset-1)
21851 (resize-subwindows-skip-p, resize-subwindows-normal)
21852 (resize-subwindows, resize-other-windows, resize-this-window)
21853 (resize-root-window, resize-root-window-vertically)
21854 (window-deletable-p, window-or-subwindow-p)
21855 (frame-root-window-p): New functions.
21857 2011-06-09 Glenn Morris <rgm@gnu.org>
21859 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
21860 (ange-ftp-get-files): Use it.
21862 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
21864 * mail/sendmail.el (mail-recover-1, mail-recover):
21865 * files.el (recover-file, recover-session):
21866 Handle dired-listing-switches not being just a single short option.
21868 2011-06-09 Glenn Morris <rgm@gnu.org>
21870 * calendar/appt.el (appt-display-message, appt-disp-window):
21871 Handle lists of appointments.
21873 2011-06-08 Martin Rudalics <rudalics@gmx.at>
21875 * window.el (one-window-p): Move down in code.
21876 Rewrite doc-string.
21877 (window-current-scroll-bars): Rewrite doc-string.
21878 Normalize live window argument.
21879 (walk-windows, get-window-with-predicate, count-windows):
21880 Rewrite doc-string. Use window-list-1.
21881 (window-in-direction-2, window-in-direction, get-mru-window):
21884 2011-06-08 Reuben Thomas <rrt@sc3d.org>
21886 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
21887 Doc fix (Bug#8713).
21889 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
21891 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
21893 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
21895 * loadhist.el (unload-feature-special-hooks):
21896 Add `comint-output-filter-functions'.
21898 2011-06-08 Ivan Kanis <gnu@kanis.fr>
21900 * calendar/appt.el (appt-check): Move some initializations into the let.
21902 2011-06-08 Martin Rudalics <rudalics@gmx.at>
21904 * window.el (window-height): Defalias to window-total-height.
21905 (window-width): Defalias to window-body-width.
21907 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
21909 * image-mode.el (image-toggle-animation): New command.
21910 (image-mode-map): Bind it to RET.
21911 (image-mode): Update message.
21912 (image-toggle-display-image): Avoid a spurious cache flush.
21913 (image-transform-rotation): Doc fix.
21914 (image-transform-properties): Return quickly in the normal case.
21915 (image-animate-loop): Rename from image-animate-max-time.
21917 * image.el (image-animate-max-time): Move to image-mode.el.
21918 (create-animated-image): Remove unnecessary function.
21919 (image-animate): Rename from image-animate-start. New arg.
21920 (image-animate-stop): Remove; just use image-animate-timer.
21921 (image-animate-timer): Use car-safe.
21922 (image-animate-timeout): Rename argument.
21924 2011-06-07 Martin Rudalics <rudalics@gmx.at>
21926 * window.el (get-lru-window, get-largest-window): Move here from
21927 window.c. Rename first argument to ALL-FRAMES.
21928 Rephrase doc-strings.
21929 (get-buffer-window-list): Rewrite using window-list-1.
21930 Rephrase doc-string.
21931 (window-safe-min-height, window-safe-min-width): New constants.
21932 (window-size-ignore, window-min-size, window-min-size-1)
21933 (window-sizable, window-sizable-p, window-size-fixed-1)
21934 (window-size-fixed-p, window-min-delta-1, window-min-delta)
21935 (window-max-delta-1, window-max-delta, window-resizable)
21936 (window-resizable-p, window-total-height, window-total-width)
21937 (window-body-width): New functions.
21938 (window-full-height-p, window-full-width-p): Rewrite using
21940 (window-body-height): Rewrite using window-body-size.
21942 2011-06-06 Martin Rudalics <rudalics@gmx.at>
21944 * window.el (window-right, window-left, window-child)
21945 (window-child-count, window-last-child, window-any-p)
21946 (normalize-live-buffer, normalize-live-frame)
21947 (normalize-any-window, normalize-live-window)
21948 (window-iso-combination-p, window-iso-combined-p)
21949 (window-iso-combinations)
21950 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
21951 (windows-with-parameter, window-with-parameter)
21952 (window-atom-root, make-window-atom, window-atom-check-1)
21953 (window-atom-check, window-side-check, window-check):
21955 (ignore-window-parameters, window-sides, window-sides-vertical)
21956 (window-sides-slots): New variables.
21957 (window-size-fixed): Move down in code. Minor doc-string fix.
21959 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
21961 * comint.el (comint-dynamic-complete-as-filename)
21962 (comint-dynamic-complete-filename): Correctly call
21963 completion-in-region.
21965 2011-06-05 Deniz Dogan <deniz@dogan.se>
21967 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
21970 2011-06-05 Deniz Dogan <deniz@dogan.se>
21972 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
21973 (rcirc): Use it to prompt for encryption.
21975 2011-06-05 Roland Winkler <winkler@gnu.org>
21977 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
21978 (bibtex-search-entries): New command bound to C-c C-a.
21979 (bibtex-display-entries): New function.
21981 2011-06-05 Roland Winkler <winkler@gnu.org>
21983 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
21984 (bibtex-insert-kill): After yanking insert newline if necessary.
21985 (bibtex-initialize): Call bibtex-string-files-init only once.
21986 (bibtex-mode): Do not call easy-menu-add.
21987 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
21988 (bibtex-yank): Set arg properly if nil.
21990 2011-06-05 Roland Winkler <winkler@gnu.org>
21992 * textmodes/bibtex.el (bibtex-search-entry-globally):
21994 (bibtex-search-entry): Use it.
21996 2011-06-05 Roland Winkler <winkler@gnu.org>
21998 * textmodes/bibtex.el (bibtex-entry-format): New option
22000 (bibtex-format-entry, bibtex-reformat): Honor this option.
22001 (bibtex-parse-entry): Return fields in proper order.
22003 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
22005 * doc-view.el (doc-view-remove-if): Move computation of result out
22006 of `dolist' to silence misleading lexical-binding warning.
22008 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
22010 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
22011 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
22013 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
22015 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
22018 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
22020 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
22021 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
22022 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
22023 (tramp-parse-putty):
22024 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
22025 (tramp-completion-function-alist-ssh)
22026 (tramp-completion-function-alist-telnet)
22027 (tramp-completion-function-alist-su)
22028 (tramp-completion-function-alist-putty): Set `tramp-autoload'
22031 * net/tramp-ftp.el:
22033 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
22034 load "tramp.el" `tramp-set-completion-function'.
22036 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
22038 * shell.el: Require and use pcomplete.
22039 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
22040 (shell-completion-vars): Set pcomplete-default-completion-function.
22042 2011-06-04 Deniz Dogan <deniz@dogan.se>
22044 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
22047 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
22049 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
22051 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
22053 * bs.el (bs--mark-unmark, bs--nth-wrapper):
22054 * mpc.el (mpc-select-extend, mpc-songpointer-context):
22055 * vc/log-view.el (log-view-beginning-of-defun):
22056 * vc/smerge-mode.el (smerge-apply-resolution-patch)
22057 (smerge-refine-forward, smerge-refine-chopup-region):
22058 Silence warning for unused `dotimes' counter variables.
22060 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
22062 * net/tramp.el (tramp-with-progress-reporter): Rename from
22063 with-progress-reporter. Use `declare'.
22064 * net/tramp-smb.el:
22066 * net/tramp-gvfs.el: Update all uses.
22068 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
22070 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
22071 buffer isn't killed before making it current.
22073 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
22075 Silence various byte-compiler warnings.
22076 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
22077 `access-type' and new obsolescence format.
22078 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
22080 (byte-compile-check-variable): New `access-type' argument.
22081 Only warn if the access-type is obsolete.
22082 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
22083 (byte-compile-variable-set): Adjust callers.
22084 * help-fns.el (describe-variable): Adjust to new obsolescence format.
22085 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
22086 setting it as obsolete.
22087 * simple.el (minibuffer-completing-symbol):
22088 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
22089 access as obsolete.
22090 * minibuffer.el (minibuffer-completing-file-name): Don't make it
22092 * international/quail.el (quail-mouse-choose-completion): Remove unused
22093 code referring to obsolete var.
22094 (quail-choose-completion-string): Remove.
22095 * server.el (server-clients-with, server-kill-buffer-query-function)
22096 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
22097 * proced.el (proced-send-signal):
22098 * emacs-lisp/lisp.el (lisp-complete-symbol):
22099 Replace completion-annotate-function with completion-extra-properties.
22101 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
22103 * simple.el (goto-line): Use read-number.
22104 (overriding-map-is-bound): Remove.
22105 (saved-overriding-map): Change default.
22106 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
22107 Take the map as argument.
22108 (universal-argument, negative-argument, digit-argument): Use it.
22109 (restore-overriding-map): Adjust.
22110 (do-auto-fill): Use fill-forward-paragraph.
22111 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
22113 * minibuffer.el (minibuffer-inactive-mode-map): New var.
22114 (minibuffer-inactive-mode): New major mode.
22115 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
22116 the *Messages* buffer" hack.
22117 (mouse-popup-menubar): Don't burp if the event is a normal key.
22119 Miscellaneous tweaks.
22120 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
22121 lexical scoping as in subr.el's dolist and dotimes.
22122 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
22123 Silence compiler warning.
22124 * thingatpt.el (forward-whitespace): Trivial coding style fix.
22125 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
22126 * international/ccl.el (ccl-compile): Trivial simplification.
22127 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
22128 * emacs-lisp/testcover.el (testcover-end): Remove spurious
22129 `printflag' argument.
22130 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
22131 Purecopy the whole obsolescence data.
22133 2011-06-01 Leo Liu <sdl.web@gmail.com>
22135 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
22136 improve doc-string as suggested by Marco Pessotto
22137 <melmothx@gmail.com>.
22138 (rcirc-print): Fix last change.
22140 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
22142 * minibuffer.el (complete-with-action): Return nil for the metadata and
22143 boundaries of non-functional tables.
22144 (completion-table-dynamic): Return nil for the metadata.
22145 (completion-table-with-terminator): Add default case, using
22146 complete-with-action.
22147 (completion--metadata): New function.
22148 (completion-all-sorted-completions, minibuffer-completion-help): Use it
22149 to try and avoid pathological performance problems.
22150 (completion--embedded-envvar-table): Return `category' metadata.
22152 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
22154 * subr.el (process-alive-p): New tiny convenience function.
22156 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
22158 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
22159 content but also its previous major mode.
22161 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
22163 * emacs-lisp/debug.el (debug): Restore the previous content of the
22164 *Backtrace* buffer when we exit with C-M-c.
22166 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
22168 * minibuffer.el: Add metadata method to completion tables.
22169 (completion-category-overrides): New defcustom.
22170 (completion-metadata, completion--field-metadata)
22171 (completion-metadata-get, completion--styles)
22172 (completion--cycle-threshold): New functions.
22173 (completion-try-completion, completion-all-completions):
22174 Add `metadata' argument to choose completion-styles.
22175 (completion--do-completion): Use metadata to choose cycling.
22176 (completion-all-sorted-completions): Use metadata for sorting.
22177 Remove :completion-cycle-penalty which is not needed any more.
22178 (completion--try-word-completion): Add `metadata' argument.
22179 (minibuffer-completion-help): Check metadata for annotation function
22181 (completion-file-name-table): Return `category' metadata.
22182 (minibuffer-completing-file-name): Make obsolete.
22183 * simple.el (minibuffer-completing-symbol): Make obsolete.
22184 * icomplete.el (icomplete-completions): Pass new `metadata' param to
22185 completion-try-completion.
22187 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
22189 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
22191 2011-05-30 Leo Liu <sdl.web@gmail.com>
22193 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
22194 (rcirc-print): Decode all incoming messages (bug#8744).
22195 (rcirc-decode-coding-system): Allow value nil for automatic coding
22198 2011-06-01 Glenn Morris <rgm@gnu.org>
22200 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
22202 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
22204 * image.el (image-animate-max-time): Allow nil and t values.
22206 (create-animated-image): Doc fix.
22207 (image-animate-start): Remove second arg; just use
22208 image-animate-max-time.
22209 (image-animate-timeout): Doc fix. Args changed.
22211 * image-mode.el (image-toggle-display-image): Ensure that the
22212 image spec passed to the animate timer is the same object as in
22213 the buffer's display property (Bug#6981).
22214 (image-transform-properties): Doc fix.
22216 * image.el (image-animate-max-time): Default to nil.
22218 2011-05-29 Martin Rudalics <rudalics@gmx.at>
22220 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
22221 entire buffer list (Bug#8184).
22223 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
22225 * image.el (imagemagick-types-inhibit)
22226 (imagemagick-register-types): Doc fix.
22228 2011-05-29 Deniz Dogan <deniz@dogan.se>
22230 * net/rcirc.el (rcirc): Use the user's stored encryption method by
22233 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
22235 * select.el: Don't perform clipboard-manager saving in hooks;
22236 leave the hooks empty.
22238 2011-05-28 Leo Liu <sdl.web@gmail.com>
22240 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
22241 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
22242 (occur-edit-mode): New major mode (Bug#8463).
22243 (occur-after-change-function): New function.
22244 (occur-engine): Give Occur tags a read-only property.
22246 2011-05-28 Kevin Ryde <user42@zip.com.au>
22248 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
22250 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
22252 * bindings.el (help-echo): Make the initial non-indicator dash
22253 empty on graphical terminals (Bug#7295).
22255 * files.el (auto-mode-alist): Move config rule after the
22256 in-stripping one (Bug#8547).
22258 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
22260 * startup.el (normal-splash-screen): Remove gratuitous mode-line
22261 setting (Bug#8740).
22263 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
22265 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
22266 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
22269 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
22271 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
22273 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
22275 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
22276 (hs-hide-block-at-point, hs-find-block-beginning)
22277 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
22280 2011-05-28 Glenn Morris <rgm@gnu.org>
22282 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
22284 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
22286 * help-fns.el (describe-function-1): If the function is a derived
22287 major mode, print the parent mode.
22289 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
22290 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
22292 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
22294 * minibuffer.el (completion--capf-wrapper): Check applicability before
22295 returning non-nil for non-exclusive completion data.
22296 * progmodes/etags.el (tags-completion-at-point-function):
22297 * info-look.el (info-lookup-completions-at-point): Mark as
22299 (info-complete): Adjust accordingly.
22301 * info-look.el: Convert to lexical-binding and completion-at-point.
22302 (info-lookup-completions-at-point): New function.
22303 (info-complete): Use it and completion-in-region.
22305 2011-05-28 Drew Adams <drew.adams@oracle.com>
22307 * isearch.el: Let M-e start with point at the first mismatched char.
22308 (isearch-fail-pos): New function.
22309 (isearch-edit-string): Use it.
22311 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
22313 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
22315 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
22317 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
22318 traversal functions for avl-trees.
22319 (avl-tree--stack): New struct.
22320 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
22321 (avl-tree-enter): Add optional `updatefun' arg.
22322 (avl-tree--do-enter): Add optional `updatefun' arg.
22323 Change return value.
22324 (avl-tree-delete): Add optional `test' and `nilflag' args.
22325 (avl-tree--do-delete): Add `test' and `nilflag' args.
22326 Change return value.
22327 (avl-tree-member): Add optional `nilflag'
22328 (avl-tree-member-p): New function.
22329 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
22330 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
22331 (avl-tree-stack-empty-p): New functions.
22333 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
22334 avl-tree--del-balance1 and make it work both ways.
22335 (avl-tree--del-balance2): Remove.
22336 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
22337 make it work both ways.
22338 (avl-tree--enter-balance2): Remove.
22339 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
22341 (avl-tree--mapc, avl-tree-map): Add direction argument.
22343 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
22345 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
22347 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
22349 * select.el: Support clipboard managers with built-in function
22350 x-clipboard-manager-save, via delete-frame-functions and
22352 (xselect-convert-to-targets): Add MULTIPLE target to list.
22353 (xselect-convert-to-save-targets): New function.
22355 2011-05-27 Kenichi Handa <handa@m17n.org>
22357 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
22358 let-binding rfc2047-encode-encoded-words to nil.
22360 2011-05-27 Glenn Morris <rgm@gnu.org>
22362 * mail/emacsbug.el: Don't require url-util.
22364 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
22366 * files.el (set-auto-mode):
22367 Also respect mode: entries at the end of the file. (Bug#8586)
22369 2011-05-26 Glenn Morris <rgm@gnu.org>
22371 * files.el (hack-local-variables-prop-line, hack-local-variables):
22372 Downcase mode names, as seems to be traditional.
22373 (hack-local-variables, hack-local-variables-apply): Doc fixes.
22375 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
22376 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
22378 2011-05-25 Julien Danjou <julien@danjou.info>
22380 * textmodes/rst.el (rst-define-level-faces): Do not define face
22381 symbol if it is already defined.
22383 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
22385 * play/5x5.el (5x5-new-game, 5x5-randomize):
22386 Reset 5x5-solver-output to nil when a new grid is cast.
22387 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
22388 these debugging traces, as defmacro breaks the compiled code.
22390 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
22392 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
22394 2011-05-24 Leo Liu <sdl.web@gmail.com>
22396 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
22397 (vc-bzr-sha1): Adapt.
22399 * sha1.el: Remove. Function `sha1' is now builtin.
22401 * bindings.el: Provide sha1 feature.
22403 2011-05-24 Kenichi Handa <handa@m17n.org>
22405 * mail/sendmail.el: Require `rfc2047'.
22406 (mail-insert-from-field): Do not perform RFC2047 encoding.
22407 (mail-encode-header): New function.
22408 (sendmail-send-it): Set buffer-file-coding-system of the work
22409 buffer to the return value of select-message-coding-system.
22410 Call mail-encode-header.
22412 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
22414 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
22416 * mail/supercite.el (sc-default-cite-frame):
22417 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
22419 2011-05-24 Glenn Morris <rgm@gnu.org>
22421 * progmodes/python.el (brm-menu): Declare.
22423 * emulation/viper.el (viper-set-hooks): Declare.
22425 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
22426 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
22427 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
22428 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
22429 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
22430 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
22432 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
22434 Add an :exit-function for completion-at-point.
22436 * minibuffer.el (completion--done): New fun.
22437 (completion--do-completion): Use it. New arg `expect-exact'.
22438 (minibuffer-complete, minibuffer-complete-word): Don't output message,
22439 since completion--do-completion does it for us now.
22440 (minibuffer-force-complete): Use completion--done and
22441 completion--replace. Handle sole-completion case with more care.
22442 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
22443 (completion-extra-properties): New var.
22444 (completion-annotate-function): Make obsolete.
22445 (minibuffer-completion-help): Adjust accordingly.
22446 Use completion-list-insert-choice-function.
22447 (completion-at-point, completion-help-at-point):
22448 Bind completion-extra-properties.
22449 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
22450 * simple.el (completion-list-insert-choice-function): New var.
22451 (completion-setup-function): Preserve it.
22452 (choose-completion): Pay attention to it, shuffle the code a bit.
22453 (choose-completion-string): New arg `insert-function'.
22455 * textmodes/bibtex.el: Convert to lexical binding.
22456 (bibtex-mode-map): Use completion-at-point.
22457 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
22458 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
22459 (bibtex-complete): Define as obsolete alias.
22460 (bibtex-complete-internal): Remove.
22461 (bibtex-format-entry): Remove unused sub-group in regexp.
22462 * shell.el (shell--command-completion-data)
22463 (shell-environment-variable-completion):
22464 * pcomplete.el (pcomplete-completions-at-point):
22465 * comint.el (comint--complete-file-name-data): Use :exit-function
22466 instead of completion-table-with-terminator so it also works for
22469 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
22471 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
22473 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
22476 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
22478 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
22480 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
22481 customization variable and implement: If non-nil, auto-fill will
22482 be inhibited while on topic's header line.
22484 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
22486 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
22487 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
22488 always have a solution in grid size = 5 cases.
22489 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
22490 (5x5-solver-output, 5x5-log-buffer): New vars.
22491 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
22492 Make these variables buffer local to achieve 5x5 multi-session-ness.
22493 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
22494 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
22495 (5x5-solve-suggest): New funs.
22496 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
22497 randomize a grid so that we ensure that there is always a solution.
22498 (5x5-make-random-grid): Allow other movement than flipping.
22500 2011-05-23 Kevin Ryde <user42@zip.com.au>
22502 * emacs-lisp/advice.el (ad-read-advised-function):
22503 Use `function-called-at-point' as the default, if it has
22504 advice and passes PREDICATE.
22506 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
22508 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
22509 byte-compile-lambda if it's actually a lambda.
22511 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
22512 Fix function quoting. Use backquote better.
22514 2011-05-22 Yuanle Song <sylecn@gmail.com>
22516 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
22517 matching (Bug#8516).
22519 2011-05-22 Jari Aalto <jari.aalto@cante.net>
22521 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
22522 different face (Bug#8178).
22524 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
22526 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
22527 defface (Bug#8144).
22529 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
22531 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
22532 funcall as well (bug#8712). Warn when performing those conversions.
22533 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
22535 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
22537 2011-05-22 Glenn Morris <rgm@gnu.org>
22539 * files.el (hack-local-variables-prop-line): Small simplifications.
22540 (hack-local-variables, hack-local-variables-prop-line):
22541 If MODE-ONLY, return the mode, rather than just `t'.
22543 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
22545 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
22547 2011-05-21 Glenn Morris <rgm@gnu.org>
22549 * files.el (hack-local-variables-prop-line, hack-local-variables):
22550 If only interested in the mode, don't bother doing the other stuff.
22552 * image-mode.el (image-after-revert-hook):
22553 Redraw all frames on which the image is visible. (Bug#8567)
22555 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
22557 * wid-edit.el (widget-checklist-match-inline):
22558 Fix 2011-04-19 change. (Bug#8649)
22560 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
22562 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
22563 Also allow singlespace after single-letter capitals followed by a dot.
22565 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
22566 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
22568 2011-05-20 Nix <nix@esperi.org.uk>
22570 * files.el (basic-save-buffer-2):
22571 Fix handling of break-hardlink-on-save with non-existent files.
22573 2011-05-19 Deniz Dogan <deniz@dogan.se>
22575 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
22576 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
22578 2011-05-19 Glenn Morris <rgm@gnu.org>
22580 * progmodes/f90.el (f90-type-def-re):
22581 Handle "type, bind(c)". (Bug#8691)
22583 * emacs-lisp/autoload.el (batch-update-autoloads):
22584 Set autoload-excludes by parsing loadup.el rather than Makefiles.
22586 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
22588 * net/tramp.el (tramp-process-actions): Set "first-password-request"
22589 property for the correct connection in case of multihops.
22591 2011-05-18 Glenn Morris <rgm@gnu.org>
22593 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
22594 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
22596 Rationalize calendar handling of day and month abbrev-arrays.
22597 * calendar/calendar.el (calendar-customized-p): New function.
22598 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
22599 (calendar-day-name-array, calendar-month-name-array): Doc fix.
22601 (calendar-abbrev-length, calendar-day-abbrev-array)
22602 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
22603 (calendar-day-abbrev-array, calendar-month-abbrev-array):
22604 Elements may no longer be nil.
22605 (calendar-day-name, calendar-month-name):
22606 Update for changed nature of abbrev arrays.
22607 * calendar/diary-lib.el (diary-name-pattern):
22608 Update for changed nature of abbrev arrays.
22609 (diary-mark-entries-1): Update calendar-make-alist calls.
22610 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
22611 * calendar/cal-html.el (cal-html-day-abbrev-array):
22612 Simply inherit from calendar-day-abbrev-array.
22614 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
22616 * progmodes/grep.el (grep-mode): Disable default
22617 compilation-directory-matcher setting (bug#8684).
22619 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
22621 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
22622 instead of "head" and "tail". There were problems with SunOS 5.9,
22623 and it performs better.
22625 2011-05-17 Glenn Morris <rgm@gnu.org>
22627 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
22629 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
22630 Replace obsolete function.
22632 * shell.el (pcomplete-parse-arguments-function): Declare.
22634 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
22635 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
22636 (appt-check): Doc fixes.
22637 (appt-disp-window-function, appt-delete-window-function):
22638 Remove needless special case in custom :type.
22639 (appt-display-count): Default to 0, not nil.
22640 (appt-check): Reset appt-display-count to 0, not nil.
22642 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
22644 * progmodes/python.el (python-font-lock-keywords):
22645 Add the Python 3.X keyword "nonlocal" (bug#8639).
22647 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
22649 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
22651 2011-05-16 Kevin Ryde <user42@zip.com.au>
22653 * info-look.el (makefile-automake-mode): New setups, looking in
22654 automake manual, then makefile-mode.
22655 (makefile-mode): Remove automake manual, have it just in
22656 makefile-automake-mode since there's various things different or
22657 not relevant to plain make.
22658 (makefile-mode): Remove "other-modes" non-existent automake-mode,
22659 believe a hypothetical automake-mode would go to makefile-mode,
22660 not the other way around.
22662 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
22664 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
22665 hunk-end tags (Bug#8672).
22667 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
22668 vc-annotate-show-diff-revision-at-line (Bug#8671).
22670 2011-05-14 Glenn Morris <rgm@gnu.org>
22672 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
22673 in the middle of an existing one with multiple authors. (Bug#8645)
22674 (change-log-font-lock-keywords): Also handle multiple author lines
22675 with leading tabs. (Bug#8644)
22677 * calendar/appt.el (appt-check): Rename some local variables.
22678 Some simplification/reordering.
22680 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
22681 (feedmail-sendmail-f-doesnt-sell-me-out)
22682 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
22683 (feedmail-debug-sit-for, feedmail-queue-express-hook)
22684 (feedmail-queue-runner-message-sender): Set :version.
22685 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
22686 (bbdb-dwim-net-address, vm-mail): Declare.
22687 (feedmail-binmail-gnulinuxish-template):
22688 Rename from feedmail-binmail-linuxish-template.
22689 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
22690 Use insert-buffer-substring.
22692 2011-05-14 Bill Carpenter <bill@carpenter.org>
22694 * mail/feedmail.el (feedmail-patch-level): Increase.
22695 (feedmail-debug): New custom group.
22696 (feedmail-confirm-outgoing-timeout)
22697 (feedmail-sendmail-f-doesnt-sell-me-out)
22698 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
22699 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
22700 (feedmail-sender-line, feedmail-from-line)
22701 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
22702 (feedmail-spray-this-address)
22703 (feedmail-spray-address-fiddle-plex-list)
22704 (feedmail-queue-use-send-time-for-date)
22705 (feedmail-queue-use-send-time-for-message-id)
22706 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
22707 (feedmail-buffer-eating-function):
22709 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
22710 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
22711 (feedmail-message-action-scroll-down): New functions.
22712 (feedmail-queue-directory, feedmail-queue-draft-directory):
22713 Use expand-file-name.
22714 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
22715 Remove C-v help entry.
22716 (feedmail-queue-buffer-file-name): New variable.
22717 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
22718 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
22719 (feedmail-message-action-send-strong, feedmail-message-action-edit)
22720 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
22721 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
22722 (feedmail-message-action-toggle-spray)
22723 (feedmail-run-the-queue-no-prompts)
22724 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
22725 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
22726 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
22727 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
22728 (feedmail-envelope-deducer, feedmail-fiddle-from)
22729 (feedmail-fiddle-sender, feedmail-default-date-generator)
22730 (feedmail-fiddle-date, feedmail-fiddle-message-id)
22731 (feedmail-fiddle-spray-address)
22732 (feedmail-fiddle-list-of-spray-fiddle-plexes)
22733 (feedmail-fiddle-list-of-fiddle-plexes)
22734 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
22735 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
22736 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
22737 Change default. Doc fix.
22738 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
22739 (feedmail-binmail-linuxish-template): New constant.
22740 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
22741 Respect feedmail-sendmail-f-doesnt-sell-me-out.
22742 (feedmail-send-it): Add debug call.
22743 Use feedmail-queue-buffer-file-name, and
22744 feedmail-send-it-immediately-wrapper.
22745 (feedmail-message-action-send): Add debug call.
22746 Use feedmail-send-it-immediately-wrapper.
22747 (feedmail-queue-express-to-queue): Add debug call.
22748 Run feedmail-queue-express-hook.
22749 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
22750 (feedmail-message-action-help-blat):
22751 Rename from feedmail-queue-send-edit-prompt-help-first.
22752 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
22753 Check line-endings. Handle errors better.
22754 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
22755 Doc fix. Add debug call.
22756 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
22757 Use feedmail-queue-send-edit-prompt-inner.
22758 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
22759 (feedmail-queue-send-edit-prompt-inner): New function, extracted
22760 from feedmail-queue-send-edit-prompt.
22761 (feedmail-queue-send-edit-prompt-help)
22762 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
22763 (feedmail-tidy-up-slug): Add debug call.
22764 Respect feedmail-queue-slug-suspect-regexp.
22765 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
22766 (feedmail-dump-message-to-queue): Add debug call.
22767 Expand queue-directory.
22768 (feedmail-dump-message-to-queue): Change message slightly.
22769 Use feedmail-say-chatter.
22770 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
22771 (feedmail-send-it-immediately-wrapper): New function.
22772 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
22773 Insert empty string rather than newline. Handle full-frame case.
22774 Use catch/throw. Use feedmail-say-chatter.
22775 (feedmail-fiddle-from): Try mail-host-address.
22776 (feedmail-default-message-id-generator): Doc fix.
22777 Bind system-time-locale. Handle missing end.
22778 (feedmail-fiddle-x-mailer): Add debug call.
22779 Handle feedmail-x-mailer-line being nil.
22780 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
22781 Add debug call. Use buffer-substring-no-properties.
22782 (feedmail-say-debug, feedmail-say-chatter): New functions.
22783 (feedmail-find-eoh): Give an explicit error.
22785 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
22787 * net/newst-treeview.el (newsticker-treeview-face): Change default
22788 family from helvetica to sans.
22789 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
22790 etc/images/newsticker.
22792 * net/newst-reader.el (newsticker-feed-face): Change default
22793 family from helvetica to sans.
22795 * net/newst-plainview.el (newsticker-new-item-face)
22796 (newsticker-old-item-face, newsticker-immortal-item-face)
22797 (newsticker-obsolete-item-face, newsticker-date-face)
22798 (newsticker-statistics-face): Change default family from
22800 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
22801 etc/images/newsticker.
22803 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
22804 (newsticker--process-auto-mark-filter-match): Tell user about
22807 2011-05-13 Didier Verna <didier@xemacs.org>
22809 Common Lisp indentation improvements on defmethod and lambda-lists.
22810 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
22812 (lisp-lambda-list-keyword-parameter-indentation)
22813 (lisp-lambda-list-keyword-parameter-alignment)
22814 (lisp-lambda-list-keyword-alignment): New customizable user options.
22815 (lisp-indent-defun-method): Improve docstring.
22816 (extended-loop-p): Fix comment.
22817 (lisp-indent-lambda-list-keywords-regexp): New variable.
22818 (lisp-indent-lambda-list): New function.
22819 (lisp-indent-259): Use it.
22820 (lisp-indent-defmethod): Support for more than one
22821 method qualifier and properly indent methods lambda-lists.
22822 (defgeneric): Provide a missing common-lisp-indent-function property.
22824 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
22826 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
22827 bounds for the empty string (bug#8667).
22829 2011-05-13 Glenn Morris <rgm@gnu.org>
22831 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
22833 * mail/sendmail.el (sendmail-program): Try executable-find first.
22834 (sendmail-send-it): `sendmail-program' cannot be unbound.
22836 * calendar/appt.el (appt-make-list): Simplify.
22837 (appt-time-msg-list): Doc fix.
22838 (appt-check): Change mode-line message at the time of the appointment.
22840 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
22842 * progmodes/ld-script.el (ld-script-keywords)
22843 (ld-script-builtins): Update keywords list.
22845 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
22847 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
22849 * shell.el (shell-completion-vars): New function.
22851 * simple.el (read-shell-command): Use it.
22852 (blink-matching-open): No need for " [...]" in minibuffer-message.
22854 2011-05-12 Glenn Morris <rgm@gnu.org>
22856 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
22857 (appt-check): Simplify.
22859 2011-05-12 Eli Zaretskii <eliz@gnu.org>
22861 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
22862 literal "/dev/null".
22864 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
22866 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
22869 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
22871 * progmodes/which-func.el (which-function):
22872 Use add-log-current-defun instead of add-log-current-defun-function,
22873 which might not be defined (Bug#8260).
22875 2011-05-12 Glenn Morris <rgm@gnu.org>
22877 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
22878 Let byte-compile-initial-macro-environment always take precedence.
22880 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
22882 * net/rcirc.el: Add support for SSL/TLS connections.
22883 (rcirc-server-alist): New field `encryption'.
22884 (rcirc): Check `encryption' settings.
22885 (rcirc-connect): New arg `encryption'. Use open-network-stream.
22886 Merge make-local-variable into `set'.
22887 (rcirc--connection-open-p): New function.
22888 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
22889 the process is not a network process (e.g. running gnutls-cli).
22890 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
22891 Make rcirc-(en|de)code-coding-system local here.
22892 (rcirc-mode): Merge make-local-variable into `set'.
22893 (rcirc-parent-buffer): Make permanent buffer-local.
22894 (rcirc-multiline-minor-mode): Don't do it here.
22895 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
22896 there's no server buffer.
22898 2011-05-11 Glenn Morris <rgm@gnu.org>
22900 * newcomment.el (comment-kill): Prefix "unused" local.
22902 * term/w32console.el (get-screen-color): Declare.
22904 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
22905 Handle symbol elements of byte-compile-initial-macro-environment.
22907 2011-05-10 Leo Liu <sdl.web@gmail.com>
22909 * bookmark.el (bookmark-bmenu-mode-map):
22910 Bind bookmark-bmenu-search to `/'.
22912 * mail/footnote.el: Convert to utf-8 encoding.
22913 (footnote-unicode-string, footnote-unicode-regexp): New variable.
22914 (Footnote-unicode): New function.
22915 (footnote-style-alist): Add unicode style to the list.
22916 (footnote-style): Doc fix.
22918 2011-05-10 Jim Meyering <meyering@redhat.com>
22920 Fix doubled-word typos.
22921 * international/quail.el (quail-insert-kbd-layout): and and -> and
22922 * kermit.el: and and -> and
22923 * net/ldap.el (ldap-search-internal): to to -> to
22924 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
22925 * progmodes/js.el (js-mode): and and -> and
22926 * textmodes/artist.el (artist-move-to-xy): at at -> at
22927 (artist-draw-region-trim-line-endings): if if -> if
22928 And Safetyc -> Safety.
22929 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
22931 2011-05-10 Glenn Morris <rgm@gnu.org>
22932 Stefan Monnier <monnier@iro.umontreal.ca>
22934 * files.el (hack-one-local-variable-eval-safep):
22935 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
22937 2011-05-10 Glenn Morris <rgm@gnu.org>
22939 * calendar/diary-lib.el (diary-list-entries-hook)
22940 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
22941 (diary-nongregorian-marking-hook, diary-list-entries)
22942 (diary-include-other-diary-files, diary-mark-entries)
22943 (diary-mark-included-diary-files): Doc fixes.
22945 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
22947 * misc.el: Require tabulated-list.el during compilation.
22949 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
22951 * progmodes/compile.el (compilation-start):
22952 Run compilation-filter-hook for the async case too.
22953 (compilation-filter-hook): Doc fix.
22955 2011-05-09 Deniz Dogan <deniz@dogan.se>
22957 * wdired.el: Remove outdated installation comment. Fix usage
22960 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
22962 * misc.el: Implement new command `list-dynamic-libraries'.
22963 (list-dynamic-libraries--loaded-only-p): New variable.
22964 (list-dynamic-libraries--refresh): New function.
22965 (list-dynamic-libraries): New command.
22967 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
22969 * progmodes/compile.el (compilation-error-regexp-alist-alist):
22970 Fix the ant regexp to handle end-line and end-column info from jikes.
22971 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
22972 higher priority to avoid clobbering by gnu.
22974 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
22976 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
22977 if the face has existing theme settings (Bug#8454).
22979 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
22981 * progmodes/perl-mode.el (perl-imenu-generic-expression):
22982 Only match variables declared via `my' or `our' (Bug#8261).
22984 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
22985 special file names `.' and `..' (Bug#8259).
22987 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
22989 * progmodes/grep.el (grep-mode-font-lock-keywords):
22990 Remove buffer-changing entries.
22991 (grep-filter): New function.
22992 (grep-mode): Add it to compilation-filter-hook.
22994 * progmodes/compile.el (compilation-filter-hook)
22995 (compilation-filter-start): New defvars.
22996 (compilation-filter): Call compilation-filter-hook prior to
22997 updating the process mark.
22999 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
23001 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
23003 2011-05-07 Eli Zaretskii <eliz@gnu.org>
23005 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
23006 mailclient-send-it even if window-system is nil. (Bug#8595)
23008 * term/w32console.el (terminal-init-w32console):
23009 Call get-screen-color and use its output to set the frame
23010 background-mode. (Bug#8597)
23012 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
23014 Make bytecomp.el understand that defmethod defines funs (bug#8631).
23015 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
23017 (defgeneric, eieio--defmethod): Use them.
23018 (eieio-defgeneric): Remove.
23019 (defmethod): Call defgeneric in a way visible to the byte-compiler.
23021 2011-05-07 Glenn Morris <rgm@gnu.org>
23023 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
23024 Use let rather than let*.
23025 (timeclock-find-discrep): Remove unused local.
23027 * calendar/diary-lib.el (diary-comment-start): Doc fix.
23029 * calendar/appt.el (appt-time-msg-list): Doc fix.
23031 2011-05-06 Noah Friedman <friedman@splode.com>
23033 * apropos.el (apropos-print-doc): Only use
23034 emacs-lisp-docstring-fill-column when it is bound to an integer,
23035 per that variable's documentation.
23037 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
23039 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
23040 and warnings are not silently discarded (e.g. use -d instead of -P).
23042 2011-05-06 Glenn Morris <rgm@gnu.org>
23044 * calendar/appt.el (appt-message-warning-time): Doc fix.
23045 (appt-warning-time-regexp): New option.
23046 (appt-make-list): Respect appt-message-warning-time.
23048 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
23050 (diary-add-to-list): Strip comments from the displayed string.
23051 (diary-mode): Set comment-start and comment-end.
23053 * vc/diff-mode.el (smerge-refine-subst): Declare.
23054 (diff-refine-hunk): Don't require smerge-mode when compiling.
23056 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
23058 * simple.el (list-processes): Return nil as the docstring says.
23060 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
23062 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
23064 (ange-ftp-write-region, ange-ftp-insert-file-contents)
23065 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
23066 determining of binary transfer. (Bug#7383)
23068 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
23070 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
23071 Fix port computation bug. (Bug#8618)
23073 2011-05-05 Glenn Morris <rgm@gnu.org>
23075 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
23077 * simple.el (shell-dynamic-complete-functions)
23078 (comint-dynamic-complete-functions): Declare.
23080 * net/network-stream.el (gnutls-negotiate):
23081 * simple.el (tabulated-list-print): Fix declarations.
23083 * progmodes/gud.el (syntax-symbol, syntax-point):
23084 Remove unnecessary and incorrect declarations.
23086 * emacs-lisp/check-declare.el (check-declare-scan):
23087 Handle byte-compile-initial-macro-environment in bytecomp.el.
23089 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
23091 Fix earlier half-done eieio-defmethod change (bug#8338).
23092 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
23093 Streamline and change calling convention.
23094 (defmethod): Adjust accordingly and simplify.
23095 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
23096 new eieio--defmethod.
23097 (slot-boundp): Minor CSE simplification.
23099 2011-05-05 Milan Zamazal <pdm@zamazal.org>
23101 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
23102 (glasses-make-readable): Use glasses-separate-capital-groups.
23104 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
23106 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
23107 (warning-series): Doc fix.
23108 (display-warning): Don't try to create the buffer if we just found it.
23110 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
23112 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
23113 (autoload-find-generated-file): New function.
23114 (generate-file-autoloads): Bind generated-autoload-file to
23116 (update-file-autoloads, update-directory-autoloads):
23117 Use autoload-find-generated-file. If called interactively, prompt for
23118 output file (Bug#7989).
23119 (batch-update-autoloads): Doc fix.
23121 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
23123 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
23125 2011-05-04 Glenn Morris <rgm@gnu.org>
23127 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
23128 function, so it follows changes in calendar-date-style.
23129 (diary-fancy-date-matcher): New function.
23130 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
23131 (diary-fancy-font-lock-fontify-region-function):
23132 Use diary-fancy-date-pattern as a function.
23134 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
23135 non-numbers for `year' etc pseudo-variables. (Bug#8583)
23137 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
23139 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
23140 instead of positional arguments. Allow :keylist and :crlfiles
23142 (open-gnutls-stream): Call it.
23144 * net/network-stream.el (network-stream-open-starttls): Adjust to
23145 call `gnutls-negotiate' with :process and :hostname arguments.
23147 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
23149 * minibuffer.el (completion--message): New function.
23150 (completion--do-completion, minibuffer-complete)
23151 (minibuffer-force-complete, minibuffer-complete-word): Use it.
23152 (completion--do-completion): Don't ignore completion-auto-help when in
23155 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
23156 internal encoding (e.g. tibetan zero is not whitespace).
23157 (global-whitespace-mode): Prefer save-current-buffer.
23158 (whitespace-trailing-regexp): Remove useless save-match-data.
23159 (whitespace-empty-at-bob-regexp): Minor simplification.
23161 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
23163 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
23165 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
23167 * textmodes/ispell.el (ispell-add-per-file-word-list):
23168 Use `concat' to create string for insertion.
23170 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
23172 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
23173 Avoid open-line which runs post-self-insert-hook.
23174 (bibtex-fill-entry): Remove unused `end' var.
23176 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
23178 * textmodes/ispell.el (ispell-add-per-file-word-list):
23179 Protect against `nil' value of `comment-start' (Bug#8579).
23181 2011-05-03 Leo Liu <sdl.web@gmail.com>
23183 * isearch.el (isearch-yank-pop): New command.
23184 (isearch-mode-map): Bind it to `M-y'.
23185 (isearch-forward): Mention it.
23187 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
23189 * simple.el (minibuffer-complete-shell-command): Remove.
23190 (minibuffer-local-shell-command-map): Use completion-at-point.
23191 (read-shell-command): Setup completion vars here instead.
23192 (read-expression-map): Bind TAB to symbol completion.
23194 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
23195 error directly rather via storing it into `results'.
23197 2011-05-02 Leo Liu <sdl.web@gmail.com>
23199 * vc/diff.el: Fix description.
23201 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
23203 * server.el (server-eval-at): New function.
23205 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
23207 * net/network-stream.el (open-network-stream): Take a :nowait
23208 parameter and pass it on to `make-network-process'.
23209 (network-stream-open-plain): Ditto.
23211 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
23213 * faces.el (face-spec-set-match-display): Don't match toolkit
23214 options on terminal frames.
23216 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
23218 * progmodes/pascal.el: Use lexical binding.
23219 (pascal-mode-map): Remove author preferences.
23221 * pcomplete.el (pcomplete-std-complete): Don't abuse
23222 completion-at-point.
23224 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
23226 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
23227 removing code that has been dead since 1991 or so.
23229 * startup.el (command-line): When warning about "_emacs", use a
23230 delayed warning to allow the user to filter it out.
23232 2011-04-28 Deniz Dogan <deniz@dogan.se>
23234 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
23235 user has not joined.
23237 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
23239 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
23240 aren't any completions at point.
23242 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
23244 * subr.el (display-delayed-warnings): New function.
23245 (delayed-warnings-hook): New variable.
23247 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
23249 * minibuffer.el (completion-at-point, completion-help-at-point):
23250 Don't presume that a given completion-at-point-function will always
23251 use the same calling convention.
23253 * pcomplete.el (pcomplete-completions-at-point):
23254 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
23255 pcomplete-seen is non-nil.
23256 (pcomplete-comint-setup): Also recognize the new comint/shell
23257 completion functions.
23258 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
23259 pcomplete-seen is non-nil.
23261 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
23263 * calendar/icalendar.el (diary-lib): Add require statement.
23264 (icalendar--create-uid): Read out a uid from a text-property on
23265 the first character in the entry. This allows for code to add its
23266 own uid to the entry.
23267 (icalendar--convert-float-to-ical): Add export of
23268 `diary-float'-entries save for those with the optional DAY
23271 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
23273 * subr.el (shell-quote-argument): Use alternate escaping strategy
23274 when we spot a variable reference in a string.
23276 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
23278 * cus-start.el (all): Define customization for debug-on-event.
23280 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
23282 * subr.el (shell-quote-argument): Escape correctly under Windows.
23284 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
23286 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
23288 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
23290 * net/tramp.el (tramp-process-actions): Add POS argument.
23291 Delete region between POS and (pos).
23293 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
23294 Use `nil' position in `tramp-process-actions' call.
23295 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
23297 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
23298 position in `tramp-process-actions' call.
23300 * net/trampver.el: Update release number.
23302 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
23304 * custom.el (defcustom): Obey lexical-binding.
23306 Fix octave-inf completion problems reported by Alexander Klimov.
23307 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
23308 Inherit from octave-mode-syntax-table.
23309 (inferior-octave-mode): Set info-lookup-mode.
23310 (inferior-octave-completion-at-point): New function.
23311 (inferior-octave-complete): Use it and completion-in-region.
23312 (inferior-octave-dynamic-complete-functions): Use it as well, and use
23313 comint-filename-completion.
23314 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
23315 symbol elements which shouldn't be word elements.
23316 (octave-font-lock-keywords, octave-beginning-of-defun)
23317 (octave-function-header-regexp): Adjust regexps accordingly.
23318 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
23320 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
23322 * net/gnutls.el (gnutls-errorp): Declare before first use.
23324 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
23326 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
23327 verify-error, and verify-hostname-error parameters. Check whether
23328 default trustfile exists before going to use it. Add missing
23329 argument to gnutls-message-maybe call. Return value.
23330 Reported by Claudio Bley <claudio.bley@gmail.com>.
23331 (open-gnutls-stream): Add usage example.
23333 * net/network-stream.el (network-stream-open-starttls): Give host
23334 parameter to `gnutls-negotiate'.
23335 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
23336 * subr.el (shell-quote-argument): Escape correctly under Windows.
23338 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
23340 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
23341 Use correct match group (bug#8438).
23343 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
23345 * emacs-lisp/package.el (package-built-in-p): Fix typo.
23346 (package-menu--generate): New arg specifying packages to show.
23347 (package-menu-refresh, package-menu-execute, list-packages):
23349 (package-show-package-list): New function, replacing deleted
23350 package--list-packages (renamed because it is non-internal).
23352 * finder.el (finder-list-matches): Use package-show-package-list
23353 instead of deleted package--list-packages.
23355 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
23356 Based on a previous implementation by Juanma Barranquero (Bug#8366).
23357 (vc-annotate-mode-map): Bind it to RET.
23359 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
23361 * progmodes/etags.el (next-file): Don't use set-buffer to change
23362 buffers (Bug#8478).
23364 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
23366 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
23368 * apropos.el (apropos-label-face): Avoid variable-pitch face.
23369 (apropos-accumulator): Doc fix.
23370 (apropos-function, apropos-macro, apropos-command)
23371 (apropos-variable, apropos-face, apropos-group, apropos-widget)
23372 (apropos-plist): Add face property.
23373 (apropos-symbols-internal): Fix indentation.
23374 (apropos-print): Simplify help, and recognize apropos-multi-type.
23375 (apropos-print-doc): Use button-type-get to extract the button's
23376 face property. Fill docstring (Bug#8352).
23378 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
23380 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
23382 * play/mpuz.el (mpuz-silent): Doc fix.
23383 (mpuz-mode-map): Use mapc.
23384 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
23385 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
23386 Fix typos in docstrings.
23388 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
23389 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
23391 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
23393 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
23395 * minibuffer.el (completion--do-completion): Avoid the "Next char
23396 not unique" prompt if icomplete-mode is enabled (Bug#5849).
23398 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
23399 mouse-2 into unread-command-events, it is interpreted correctly.
23401 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
23402 (image-toggle-display): Doc fix.
23404 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
23406 * textmodes/page.el (what-page): Use line-number-at-pos to
23407 calculate line number (Bug#6825).
23409 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
23411 * eshell/esh-mode.el (find-tag-interactive): Declare function.
23412 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
23413 Pass argument NO-DEFAULT to `find-tag-interactive'.
23415 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
23417 Lexical-binding cleanup.
23419 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
23420 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
23421 * progmodes/ada-prj.el (ada-prj-initialize-values)
23422 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
23423 (ada-prj-show-value):
23424 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
23425 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
23426 (antlr-invalidate-context-cache, antlr-options-menu-filter)
23427 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
23428 * progmodes/bug-reference.el (bug-reference-push-button):
23429 * progmodes/fortran.el (fortran-line-length):
23430 * progmodes/glasses.el (glasses-change):
23431 * progmodes/octave-mod.el (octave-fill-paragraph):
23432 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
23433 (python-pdbtrack-grub-for-buffer, python-sentinel):
23434 * progmodes/sql.el (sql-save-connection):
23435 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
23436 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
23437 Mark unused parameters.
23439 * progmodes/compile.el (compilation--flush-directory-cache)
23440 (compilation--flush-parse, compile-internal): Mark unused parameters.
23441 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
23442 (compilation-next-error-function): Remove unused variable `timestamp'.
23444 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
23445 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
23447 * progmodes/dcl-mode.el (dcl-end-of-command):
23448 Remove unused variable `start'.
23449 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
23450 (dcl-option-value-basic, dcl-option-value-offset)
23451 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
23452 Mark unused parameters.
23453 (dcl-save-local-variable): Remove unused variable `val'.
23456 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
23457 Mark unused parameters.
23458 (delphi-ignore-changes): Move before first use.
23459 (delphi-charset-token-at): Remove unused variable `start'.
23460 (delphi-else-start): Remove unused variable `if-count'.
23461 (delphi-comment-block-start, delphi-comment-block-end):
23462 Remove unused variable `kind'.
23463 (delphi-indent-line): Remove unused variable `new-point'.
23465 * progmodes/ebrowse.el (ebrowse-files-list)
23466 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
23467 Mark unused parameters. Don't quote `lambda'.
23468 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
23469 Don't quote `lambda'.
23470 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
23471 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
23472 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
23473 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
23474 Use `ignore-errors'.
23475 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
23476 (ebrowse-view/find-file-and-search-pattern)
23477 (ebrowse-view/find-member-declaration/definition):
23478 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
23479 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
23480 Rename parameter PREFIX-ARG to PREFIX.
23481 (ebrowse-tags-read-name): Remove unused variables `start' and
23483 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
23486 * progmodes/etags.el (local-find-tag-hook): Declare.
23487 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
23488 Mark unused parameters.
23490 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
23491 (executable-interpret): Mark unused parameter.
23493 * progmodes/flymake.el (flymake-process-sentinel)
23494 (flymake-after-change-function)
23495 (flymake-create-temp-with-folder-structure)
23496 (flymake-get-include-dirs-dot): Mark unused parameters.
23497 (flymake-safe-delete-directory): Remove unused variable `err'.
23499 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
23500 (speedbar-timer-fn, speedbar-line-text)
23501 (speedbar-change-expand-button-char, speedbar-delete-subblock)
23502 (speedbar-center-buffer-smartly): Declare functions.
23503 (gdb-find-watch-expression): Remove unused variable `array'.
23504 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
23505 (gdb-starting): Mark unused parameters.
23506 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
23507 (gdb-table-string): Remove unused variable `res'.
23508 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
23509 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
23510 (gdb-display-buffer): Remove unused variable `cur-size'.
23512 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
23513 allow lexical-binding compilation.
23514 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
23515 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
23516 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
23517 Mark unused parameters.
23518 (gud-gdb-marker-filter): Remove unused variable `match'.
23519 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
23520 lambda expressions and funcall them, instead of using `fset'.
23522 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
23523 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
23525 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
23526 variable `header-beg'; use `let'.
23528 * progmodes/icon.el (indent-icon-exp): Remove unused variables
23529 `restart', `last-sexp' and `at-do'.
23531 * progmodes/js.el (js--debug): Mark unused parameter.
23532 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
23533 (js--splice-into-items): Remove unused variable `item'.
23534 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
23536 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
23537 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
23538 (makefile-complete): Remove unused variable `try'.
23539 (makefile-fill-paragraph, makefile-match-function-end):
23540 Mark unused parameters.
23542 * progmodes/octave-inf.el (inferior-octave-complete):
23543 Remove unused variable `proc'.
23544 (inferior-octave-output-digest): Mark unused parameter.
23546 * progmodes/perl-mode.el (perl-calculate-indent):
23547 Remove unused variable `err'.
23549 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
23550 (prolog-indent-line): Mark unused parameters.
23551 (prolog-indent-line): Remove unused variable `beg'.
23553 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
23554 (reporter-dont-compact-list): Declare.
23556 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
23557 Remove unused variable `char'.
23558 (sh-debug): Mark unused parameter.
23559 (sh-get-indent-info): Remove unused variable `start'.
23560 (sh-calculate-indent): Remove unused variable `var'.
23562 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
23563 (simula-electric-keyword): Remove unused variable `null'.
23564 (simula-search-backward, simula-search-forward): Remove unused
23565 variables `begin' and `end'.
23567 * progmodes/vera-mode.el (vera-guess-basic-syntax):
23568 Remove unused variable `pos'.
23569 (vera-electric-tab, vera-comment-uncomment-region):
23570 Mark unused parameters.
23571 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
23573 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
23575 * emacs-lisp/package.el (package--builtins, package-alist)
23576 (package-load-descriptor, package-built-in-p, package-activate)
23577 (define-package, package-installed-p)
23578 (package-compute-transaction, package-buffer-info)
23579 (package--push): Doc fix. Distinguish more clearly between
23580 version strings and version lists.
23582 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
23584 Lexical-binding cleanup.
23586 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
23587 (5x5-make-mutate-best):
23588 * play/fortune.el (fortune-in-buffer):
23589 * play/gomoku.el (gomoku-init-display):
23590 * play/solitaire.el (solitaire, solitaire-do-check):
23591 * play/tetris.el (tetris-default-update-speed-function):
23592 Mark unused parameters.
23594 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
23595 (bubbles--shift): Remove unused variable `char-org'.
23596 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
23597 (bubbles--show-images): Remove unused variable `char'.
23599 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
23600 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
23601 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
23602 (decipher-analyze-buffer): Use ?\s.
23603 (decipher-make-checkpoint): Remove unused variable `mapping'.
23605 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
23607 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
23608 Remove unused variable `result'; use `let'.
23610 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
23611 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
23612 (gametree-children-shown-p, gametree-compute-reduced-score):
23613 Use `ignore-errors'.
23615 * play/handwrite.el (ps-lpr-switches): Declare.
23616 (handwrite): Remove unused variables `pmin' and `lastp'.
23618 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
23620 * play/landmark.el (landmark-init-display)
23621 (landmark-update-naught-weights): Mark unused parameters.
23622 (landmark-y): Remove unused variable `noise'. Simplify.
23623 (landmark-human-plays): Remove unused variable `score'.
23625 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
23626 (mpuz-try-proposal): Remove unused variable `game'.
23628 * play/zone.el (life-patterns): Declare.
23630 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
23632 * vc/vc.el (ediff-vc-internal): Declare function.
23634 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
23636 * shell.el: Use lexical-binding and std completion UI.
23637 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
23638 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
23639 comint-preoutput-filter-functions rather than on
23640 comint-output-filter-functions.
23641 (shell-command-completion, shell--command-completion-data)
23642 (shell-filename-completion, shell-environment-variable-completion)
23643 (shell-c-a-p-replace-by-expanded-directory): New functions.
23644 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
23645 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
23646 (shell-dynamic-complete-environment-variable): Use them.
23647 (shell-dynamic-complete-as-environment-variable)
23648 (shell-dynamic-complete-as-command): Remove.
23649 (shell-match-partial-variable): Match past point.
23650 * comint.el: Clean up use of completion-at-point-functions.
23651 (comint-completion-at-point): New function.
23652 (comint-mode): Use it completion-at-point-functions.
23653 (comint-dynamic-complete): Make it obsolete.
23654 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
23655 (comint-c-a-p-replace-by-expanded-history): New function.
23656 (comint-dynamic-complete-functions)
23657 (comint-replace-by-expanded-history): Use it.
23658 * minibuffer.el (completion-table-with-terminator): Allow dynamic
23659 termination strings. Try harder to avoid second try-completion.
23660 (completion-in-region-mode-map): Disable bindings that don't work yet.
23662 * comint.el: Use lexical-binding. Require CL.
23663 (comint-dynamic-complete-functions): Use comint-filename-completion.
23664 (comint-completion-addsuffix): Tweak custom type.
23665 (comint-filename-completion, comint--common-suffix)
23666 (comint--common-quoted-suffix, comint--table-subvert)
23667 (comint--complete-file-name-data): New functions.
23668 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
23669 (comint-dynamic-list-filename-completions): Use them.
23670 (comint-dynamic-simple-complete): Make obsolete.
23672 * minibuffer.el (completion-in-region-mode):
23673 Keep completion-in-region-mode--predicate global.
23674 (completion-in-region--postch):
23675 Assume completion-in-region-mode--predicate is not null.
23677 * progmodes/flymake.el (flymake-start-syntax-check-process):
23678 Obey `dir'. Simplify.
23680 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
23681 we're in VC after all.
23683 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
23685 * vc/vc.el (vc-diff-build-argument-list-internal)
23686 (vc-version-ediff, vc-ediff): New commands.
23687 (vc-version-diff): Use vc-diff-build-argument-list-internal.
23689 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
23691 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
23694 * obsolete/erc-hecomplete.el: Make obsolete.
23695 * obsolete/: Standardize obsolescence info in the header.
23697 2011-04-20 Glenn Morris <rgm@gnu.org>
23699 * calendar/solar.el (solar-horizontal-coordinates):
23700 Use the longitude argument rather than `calendar-longitude'.
23701 (solar-date-next-longitude): Remove unused locals.
23703 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
23705 * whitespace.el: New version 13.2.1.
23707 2011-04-20 felix <EmacsWiki> (tiny change)
23709 * whitespace.el (global-whitespace-mode): Keep highlight when
23710 switching between major modes on a file.
23712 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
23714 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
23715 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
23716 multi-line comments as well.
23718 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
23720 Lexical-binding cleanup.
23722 * arc-mode.el (archive-mode-revert):
23723 * cmuscheme.el (scheme-interactively-start-process):
23724 * custom.el (custom-initialize-delay):
23725 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
23726 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
23727 * emacs-lock.el (emacs-lock-clear-sentinel):
23728 * ezimage.el (defezimage):
23729 * follow.el (follow-avoid-tail-recenter):
23730 * fringe.el (set-fringe-mode-1):
23731 * generic-x.el (bat-generic-mode-compile):
23732 * help-mode.el (help-info-variable, help-do-xref)
23733 (help-mode-revert-buffer):
23734 * help.el (view-emacs-todo):
23735 * iswitchb.el (iswitchb-completion-help):
23736 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
23737 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
23738 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
23739 * locate.el (locate-update):
23740 * longlines.el (longlines-encode-region)
23741 (longlines-after-change-function):
23742 * outline.el (outline-isearch-open-invisible):
23743 * ps-def.el (declare-function, charset-dimension, char-width)
23745 * ps-mule.el (ps-mule-plot-string):
23746 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
23747 (recentf-edit-list-select, recentf-edit-list-validate)
23748 (recentf-open-files-action):
23749 * rect.el (delete-whitespace-rectangle-line)
23750 (rectangle-number-line-callback):
23751 * register.el (window-configuration-to-register)
23752 (frame-configuration-to-register):
23753 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
23754 * select.el (xselect-convert-to-string, xselect-convert-to-length)
23755 (xselect-convert-to-targets, xselect-convert-to-delete)
23756 (xselect-convert-to-filename, xselect-convert-to-charpos)
23757 (xselect-convert-to-lineno, xselect-convert-to-colno)
23758 (xselect-convert-to-os, xselect-convert-to-host)
23759 (xselect-convert-to-user, xselect-convert-to-class)
23760 (xselect-convert-to-name, xselect-convert-to-integer)
23761 (xselect-convert-to-atom, xselect-convert-to-identity):
23762 * subr.el (declare, ignore, process-kill-without-query)
23763 (text-clone-maintain):
23764 * terminal.el (te-get-char, te-tic-sentinel):
23765 * tool-bar.el (tool-bar-make-keymap):
23766 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
23767 * type-break.el (type-break-mode, type-break-noninteractive-query):
23768 * view.el (View-back-to-mark):
23769 * wid-browse.el (widget-browse-action, widget-browse-widget)
23770 (widget-browse-widgets, widget-browse-sexp):
23771 * widget.el (define-widget-keywords):
23772 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
23773 Mark unused parameters.
23775 * align.el (align-adjust-col-for-rule): Mark unused parameter.
23776 (align-areas): Remove unused variable `look'.
23777 (align-region): Remove unused variables `real-end' and `pos-list'.
23779 * apropos.el (apropos-score-doc): Remove unused variable `i'.
23781 * bindings.el (mode-line-modified, mode-line-remote):
23782 Mark unused parameters.
23783 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
23785 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
23786 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
23788 * comint.el (comint-history-isearch-pop-state)
23789 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
23790 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
23791 (comint-substitute-in-file-name): Doc fix.
23793 * completion.el (cmpl-statistics-block): Mark unused parameter.
23794 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
23795 (save-completions-to-file, load-completions-from-file):
23796 Remove unused local variable `e'.
23798 * composite.el (compose-chars): Remove unused variable `len'.
23799 (lgstring-insert-glyph): Remove unused variable `g'.
23800 (compose-glyph-string): Remove unused variables `ascent',
23801 `descent', `lbearing' and `rbearing'.
23802 (compose-glyph-string-relative): Remove unused variables
23803 `lbearing', `rbearing' and `wadjust'.
23804 (compose-gstring-for-graphic): Remove unused variables `header',
23805 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
23806 (compose-gstring-for-terminal): Remove unused variables `header'
23807 and `nchars'. Use `let', not `let*'.
23809 * cus-edit.el (Custom-set, Custom-save, custom-reset)
23810 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
23811 (Custom-buffer-done, custom-buffer-create-internal)
23812 (custom-browse-visibility-action, custom-browse-group-tag-action)
23813 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
23814 (widget-magic-mouse-down-action, custom-toggle-parent)
23815 (custom-add-parent-links, custom-toggle-hide-variable)
23816 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
23817 (custom-toggle-hide-face, face, hook, custom-group-link-action)
23818 (custom-face-menu-create, custom-variable-menu-create, get)
23819 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
23820 (custom-reset-standard-save-and-update): Remove unused variable `value'.
23821 (customize-apropos): Remove unused variable `tests'.
23822 (custom-group-value-create): Remove unused variable `hidden-p'.
23823 (sort-fold-case): Declare.
23825 * cus-theme.el (custom-reset-standard-faces-list)
23826 (custom-reset-standard-variables-list): Declare.
23827 (customize-create-theme, custom-theme-revert, custom-theme-write)
23828 (custom-theme-choose-mode, customize-themes, custom-theme-save):
23829 Mark unused parameters.
23831 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
23833 * delim-col.el (delimit-columns-max): Move defvar before first use.
23835 * descr-text.el (describe-char-categories): Don't quote `lambda'.
23836 (describe-char): Don't quote `lambda'. Mark unused parameter.
23838 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
23839 (auto-insert): Declare.
23840 (desktop-restore-file-buffer): Rename desktop-* parameters;
23842 (desktop-create-buffer): Rename desktop-* parameters and bind them.
23843 (desktop-buffer): Rename desktop-* parameters.
23845 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
23846 (dframe-reposition-frame-xemacs, dframe-help-echo)
23847 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
23848 Mark unused parameters.
23850 * dired-aux.el (backup-extract-version-start, overwrite-query)
23851 (overwrite-backup-query, rename-regexp-query)
23852 (rename-non-directory-query): Declare.
23853 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
23854 (dired-add-entry): Remove unused variable `orig-file-name'.
23855 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
23856 Use parameter PRESERVE-TIME instead of accessing dynamic variable
23857 `dired-copy-preserve-time' directly.
23858 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
23859 (dired-insert-subdir-newpos): Rename unused variable `pos'.
23861 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
23862 (dired-virtual-revert, dired-make-relative-symlink):
23863 Mark unused parameters.
23864 (manual-program): Declare.
23865 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
23866 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
23867 wrapped in `with-no-warnings' to avoid replacing one warning by another.
23869 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
23871 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
23873 * echistory.el (electric-history-in-progress, Helper-return-blurb):
23876 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
23878 * electric.el (Electric-command-loop): Rename parameter
23879 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
23881 * expand.el (expand-in-literal): Remove unused variable `here'.
23883 * facemenu.el (facemenu-add-new-color):
23884 Remove unused variable `docstring'.
23886 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
23887 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
23888 (face-attr-construct): Mark unused parameter. Doc fix.
23889 (read-color): Remove unused variable `hex-string'.
23891 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
23892 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
23893 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
23894 (display-buffer-other-frame): Remove unused variable `old-window'.
23895 (kill-buffer-hook): Declare.
23896 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
23897 Mark unused parameters.
23898 (after-find-file): Pass 1 to `auto-save-mode', not t.
23900 * files-x.el (auto-insert): Declare.
23901 (modify-file-local-variable-prop-line): Remove unused variable `val'.
23903 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
23904 variable `buf'. Mark unused parameter.
23905 (find-lisp-insert-directory): Mark unused parameter.
23907 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
23908 (format-encode-region): Remove unused variables `cur-buf' and `result'.
23909 (format-common-tail): Remove, unused.
23910 (format-deannotate-region): Remove unused variable `loc'.
23911 (format-annotate-region): Remove unused variable `p'.
23912 (format-annotate-single-property-change): Remove unused variables
23913 `default' and `tail'.
23915 * forms.el (read-file-filter): Declare.
23916 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
23918 * frame.el (frame-creation-function-alist): Mark unused parameter.
23919 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
23921 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
23922 Remove unused parameters.
23923 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
23924 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
23926 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
23927 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
23928 (hfy-prepare-tag-map): Mark unused parameters.
23929 (htmlfontify-buffer): Use `called-interactively-p'.
23931 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
23932 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
23933 (ibuffer-do-occur): Mark unused parameters.
23934 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
23935 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
23937 * ibuffer.el: Don't quote `lambda'.
23938 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
23939 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
23940 Mark unused parameters.
23942 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
23943 (ido-completing-read): Mark unused parameters.
23944 (ido-copy-current-word): Mark unused parameters;
23945 remove unused variable `name'.
23946 (ido-sort-merged-list): Remove unused parameter `dirs'.
23948 * ielm.el (ielm-input-sender): Mark unused parameter.
23949 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
23950 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
23951 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
23952 `ielm-string' as a dynamic variable accessible from the IELM prompt.
23953 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
23955 * image-dired.el (image-dired-display-thumbs): Remove unused
23956 variables `curr-file' and `count'.
23957 (image-dired-remove-tag): Remove unused variable `start'.
23958 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
23959 variable `curr-file'
23960 (image-dired-rotate-original): Remove unused variable `temp-file'.
23961 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
23962 Remove unused variable `file'.
23963 (image-dired-gallery-generate): Remove unused variable `curr'.
23964 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
23966 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
23968 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
23970 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
23972 * isearch.el (minibuffer-history-symbol): Declare.
23973 (isearch-edit-string): Remove unused variable `err'.
23974 (isearch-message-prefix, isearch-message-suffix):
23975 Mark unused parameters.
23977 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
23979 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
23981 * makesum.el (double-column): Remove unused variable `cnt'.
23983 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
23984 (ido-ignore-item-temp-list): Declare.
23986 * mouse-drag.el (mouse-drag-throw): Remove unused variables
23987 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
23988 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
23989 (mouse-drag-drag): Remove unused variables `mouse-delta' and
23992 * mouse-sel.el (mouse-extend-internal):
23993 Remove unused variable `orig-window-frame'.
23995 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
23996 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
23997 Move declarations before first use.
23998 (pcomplete-opt): Mark unused parameters; doc fix.
24000 * proced.el (proced-revert): Mark unused parameter.
24001 (proced-send-signal): Remove unused variable `err'.
24003 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
24004 Rename parameter PREFIX-ARG to ARG.
24005 (ps-basic-plot-string, ps-basic-plot-whitespace):
24006 Mark unused parameters.
24008 * replace.el (replace-count): Define.
24009 (occur-revert-function): Mark unused parameters.
24010 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
24011 (isearch-case-fold-search, isearch-string): Declare.
24012 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
24013 bind `case-fold-search'. Remove unused variables `beg' and `end',
24015 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
24016 COUNT and bind `replace-count'.
24017 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
24020 * savehist.el (print-readably, print-string-length): Declare.
24022 * shadowfile.el (shadow-expand-cluster-in-file-name):
24023 Remove unused variable `cluster'.
24024 (shadow-copy-file): Remove unused variable `i'.
24025 (shadow-noquery, shadow-clusters, shadow-site-cluster)
24026 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
24027 (shadow-define-literal-group, shadow-define-regexp-group)
24028 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
24030 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
24031 (shell): Use `called-interactively-p'.
24032 (shell-directory-tracker): Remove unused variable `chdir-failure'.
24034 * simple.el (compilation-context-lines, comint-file-name-quote-list)
24035 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
24036 (delete-backward-char): Remove unused variable `ocol'.
24037 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
24038 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
24039 (event-apply-hyper-modifier, event-apply-shift-modifier)
24040 (event-apply-control-modifier, event-apply-meta-modifier):
24041 Mark unused parameters.
24042 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
24043 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
24045 * speedbar.el (speedbar-ignored-directory-expressions)
24046 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
24047 (speedbar-find-file, speedbar-dir-follow)
24048 (speedbar-directory-buttons-follow, speedbar-tag-find)
24049 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
24050 (speedbar-buffers-line-directory, speedbar-buffer-click):
24051 Mark unused parameters.
24052 (speedbar-tag-file): Remove unused variable `mode'.
24053 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
24055 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
24057 * talk.el (talk): Remove unused variable `display'.
24059 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
24060 (tar-write-region-annotate): Mark unused parameter.
24062 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
24063 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
24064 Declare them, wrapped in `with-no-warnings' to avoid replacing one
24065 warning by another.
24067 * time-stamp.el (time-stamp-string-preprocess):
24068 Remove unused variable `require-padding'.
24070 * tree-widget.el (widget-glyph-enable): Declare.
24071 (tree-widget-action): Mark unused parameter.
24073 * w32-fns.el (x-get-selection): Mark unused parameter.
24074 (autoload-make-program, generated-autoload-file): Declare.
24076 * wdired.el (wdired-revert): Mark unused parameters.
24077 (wdired-xcase-word): Remove unused variable `err'.
24079 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
24080 (whitespace-help-scroll): Remove unused variable `data-help'.
24082 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
24083 (widget-image-insert, widget-after-change, default)
24084 (widget-default-format-handler, widget-default-notify)
24085 (widget-default-prompt-value, widget-info-link-action)
24086 (widget-url-link-action, widget-function-link-action)
24087 (widget-variable-link-action, widget-file-link-action)
24088 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
24089 (widget-field-prompt-internal, widget-field-action, widget-field-match)
24090 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
24091 (widget-insert-button-action, widget-delete-button-action, visibility)
24092 (widget-documentation-link-action, widget-documentation-string-action)
24093 (widget-const-prompt-value, widget-regexp-match, symbol)
24094 (widget-coding-system-prompt-value)
24095 (widget-key-sequence-value-to-external, sexp)
24096 (widget-sexp-value-to-internal, character, vector, cons)
24097 (widget-choice-prompt-value, widget-boolean-prompt-value)
24098 (widget-color--choose-action): Mark unused parameters.
24099 (widget-item-match-inline, widget-choice-match-inline)
24100 (widget-checklist-match, widget-checklist-match-inline)
24101 (widget-group-match): Rename parameter VALUES to VALS.
24102 (widget-field-value-set): Remove unused variable `size'.
24103 (widget-color-action): Remove unused variables `value' and `start'.
24105 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
24106 variable `dir'. Doc fix.
24107 (windmove-find-other-window): Don't pass it.
24109 * window.el (count-windows): Mark unused parameter.
24110 (bw-adjust-window): Remove unused variable `err'.
24112 * woman.el (woman-file-name): Remove unused variable `default'.
24113 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
24114 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
24115 (global-font-lock-mode): Declare.
24116 (woman-decode-region): Mark unused parameter.
24117 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
24119 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
24120 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
24121 (x-dnd-handle-moz-url): Remove unused variable `title'.
24122 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
24124 * xml.el (xml-parse-tag, xml-parse-attlist):
24125 Remove unused variable `pos'.
24127 2011-04-19 Glenn Morris <rgm@gnu.org>
24129 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
24130 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
24131 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
24132 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
24133 * calendar/cal-html.el (cal-html-insert-minical):
24134 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
24135 (calendar-mark-date-pattern):
24136 Prefix "unused" locals.
24138 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
24139 optional argument `style'.
24141 * calendar/appt.el (appt-make-list):
24142 * calendar/cal-china.el (calendar-chinese-date-string):
24143 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
24144 (diary-hebrew-yahrzeit):
24145 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
24146 * calendar/calendar.el (calendar-generate-window):
24147 * calendar/time-date.el (time-to-days):
24148 Remove unused local variables.
24150 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
24152 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
24153 glyphless-char-display table.
24154 (tabulated-list-glyphless-char-display): New var.
24156 2011-04-18 Sam Steingold <sds@gnu.org>
24158 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
24159 to acknowledgments.
24161 2011-04-17 Glenn Morris <rgm@gnu.org>
24163 * calendar/diary-lib.el (diary-sexp-entry):
24164 * calendar/holidays.el (holiday-sexp):
24165 Set debug-on-error rather than the removed stack-trace-on-error.
24167 2011-04-16 Glenn Morris <rgm@gnu.org>
24169 * progmodes/f90.el: Use lexical-binding.
24170 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
24172 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
24174 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
24175 (mail-mode): Setup mailalias completion here instead.
24176 * mail/mailalias.el: Use lexical-binding.
24177 (pattern, mailalias-done): Declare dynamic.
24178 (mail-completion-at-point-function): New function, from mail-complete.
24179 (mail-complete): Use it.
24180 (mail-completion-expand): New function.
24181 (mail-get-names): Use it.
24182 (mail-directory, mail-directory-process, mail-directory-stream):
24183 Don't use `pattern' for lexically bound arg.
24185 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
24187 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
24188 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
24189 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
24191 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
24192 (byte-save-window-excursion, byte-temp-output-buffer-setup)
24193 (byte-interactive-p): Define them again, for use when inlining
24196 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
24198 * loadup.el: Use `string-to-number', not `string-to-int'.
24200 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
24202 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
24203 gud-gdb-complete-command.
24204 (gud-gdb-completions): New function, from gud-gdb-complete-command.
24205 (gud-gdb-completion-at-point): New function.
24206 (gud-gdb-completions): Remove.
24208 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
24210 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
24211 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
24212 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
24213 whether `executable-find' is bound.
24215 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
24217 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
24219 * minibuffer.el (completion-in-region-mode-predicate)
24220 (completion-in-region-mode--predicate): New vars.
24221 (completion-in-region, completion-in-region--postch)
24222 (completion-in-region-mode): Use them.
24223 (completion--capf-wrapper): Also return the hook function.
24224 (completion-at-point, completion-help-at-point):
24225 Adjust and provide a predicate.
24227 Preserve arg names for advice of subr and lexical functions (bug#8457).
24228 * help-fns.el (help-function-arglist): Consolidate the subr and
24229 new-byte-code cases. Add argument `preserve-names' to extract names
24230 from the docstring when needed.
24231 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
24232 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
24233 (ad-arglist): Use help-function-arglist's new arg.
24234 (ad-definition-type): Use cond.
24236 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
24238 * autorevert.el (auto-revert-handler):
24239 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
24240 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
24241 Don't quote lambda.
24243 * image-mode.el (image-transform-set-scale):
24244 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
24246 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
24248 * net/network-stream.el (network-stream-open-starttls): Only do
24249 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
24250 Upgrades via gnutls-cli are too slow to be done opportunistically.
24252 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
24254 * dframe.el (dframe-current-frame): Remove spurious quote.
24256 2011-04-12 Glenn Morris <rgm@gnu.org>
24258 * calendar/cal-tex.el (cal-tex-end-document):
24259 Try to automatically use latin1 input if needed.
24261 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
24262 Don't try to cons a mark onto an empty element.
24264 2011-04-11 Leo Liu <sdl.web@gmail.com>
24266 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
24268 (ido-kill-buffer-at-head): Support killing virtual buffers.
24270 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
24272 * minibuffer.el (completion-show-inline-help): New var.
24273 (completion--do-completion, minibuffer-complete)
24274 (minibuffer-force-complete, minibuffer-complete-word):
24275 Inhibit minibuffer messages if completion-show-inline-help is nil.
24277 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
24278 to avoid interference from inline help (Bug#5849).
24280 2011-04-10 Leo Liu <sdl.web@gmail.com>
24282 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
24285 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
24287 * image-mode.el (image-toggle-display-image): Signal an error if
24289 (image-transform-mode, image-transform-resize)
24290 (image-transform-set-rotation): Doc fix.
24291 (image-transform-set-resize): Delete.
24292 (image-transform-set-scale, image-transform-fit-to-height)
24293 (image-transform-fit-to-width): Handle image-toggle-display-image
24294 and image-transform-resize directly.
24296 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
24298 * doc-view.el (doc-view-fit-width-to-window)
24299 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
24300 New functions for fitting the shown image to the Emacs window size.
24301 (doc-view-mode-map): Add bindings for the new functions.
24303 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
24305 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
24306 Fix typo in docstring.
24308 2011-04-08 Eli Zaretskii <eliz@gnu.org>
24310 * files.el (file-size-human-readable): Produce one digit after
24311 decimal, like "ls -lh" does.
24313 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
24314 the file size representation.
24316 * simple.el (list-processes): If async subprocesses are not
24317 available, error out with a clear error message.
24319 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
24321 * help.el (help-form-show): New function, to be called from C.
24322 Put help-form output in a buffer named differently than *Help*.
24324 2011-04-08 Eli Zaretskii <eliz@gnu.org>
24326 * files.el (file-size-human-readable): New function.
24328 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
24329 computing the representation inline. Don't require `cl'.
24331 2011-04-08 Glenn Morris <rgm@gnu.org>
24333 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
24335 * net/browse-url.el (browse-url-firefox):
24336 Test system-type, not system-configuration.
24338 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
24339 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
24340 Use log-edit-empty-buffer-p. (Bug#7598)
24342 * net/rlogin.el (rlogin-process-connection-type): Simplify.
24343 (rlogin-mode-map): Initialize in the defvar.
24344 (rlogin): Use ignore-errors.
24346 * replace.el (occur-mode-map): Some fixes for menu items.
24348 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
24350 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
24352 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
24354 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
24355 issuing unused warnings.
24357 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
24360 * simple.el: Lisp reimplement of list-processes. Based on an
24361 earlier reimplementation by Leo Liu, but using tabulated-list.el.
24362 (process-menu-mode): New major mode.
24363 (list-processes--refresh, list-processes):
24364 (process-menu-visit-buffer): New functions.
24366 * files.el (save-buffers-kill-emacs): Don't assume any return
24367 value of list-processes, which is undocumented anyway.
24369 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
24371 * emacs-lisp/tabulated-list.el: New file.
24373 * emacs-lisp/package.el: Use Tabulated List mode.
24374 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
24375 (package-menu-mode): Derive from tabulated-list-mode. Set up the
24376 table format using Tabulated List mode variables.
24377 (package--push): New macro, replacing package-list-maybe-add.
24378 (package-menu--generate): Use package--push. Renamed from
24379 package--generate-package-list.
24380 (package-menu-refresh, list-packages): Use it.
24381 (package-menu--print-info): Rename from package-print-package.
24382 Return insertion data instead of inserting it directly.
24383 (package-menu-describe-package, package-menu-execute):
24384 Use tabulated-list-get-id.
24385 (package-menu-mark-delete, package-menu-mark-install)
24386 (package-menu-mark-unmark, package-menu-backup-unmark)
24387 (package-menu-mark-obsolete-for-deletion):
24388 Use tabulated-list-put-tag.
24389 (package--list-packages, package-menu-revert)
24390 (package-menu-get-package, package-menu-get-version)
24391 (package-menu-sort-by-column): Functions deleted.
24392 (package-menu-package-list, package-menu-sort-key): Vars deleted.
24393 (package-menu--status-predicate, package-menu--version-predicate)
24394 (package-menu--name-predicate)
24395 (package-menu--description-predicate): Handle arguments in the
24396 Tabulated List format.
24397 (package-list-packages-no-fetch): Call list-packages.
24399 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
24401 * files.el (after-find-file-from-revert-buffer): Remove variable.
24402 (after-find-file): Don't bind it.
24403 (revert-buffer-in-progress-p): New variable.
24404 (revert-buffer): Bind it.
24405 Pass nil for `after-find-file-from-revert-buffer'.
24407 * saveplace.el (save-place-find-file-hook): Use new variable
24408 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
24410 2011-04-06 Glenn Morris <rgm@gnu.org>
24412 * Makefile.in (AUTOGEN_VCS): New variable.
24413 (autoloads): Use $AUTOGEN_VCS.
24415 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
24416 * calendar/calendar.el (calendar-mode-map):
24417 Check for toolkit scroll bars. (Bug#8305)
24419 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
24421 * minibuffer.el (completion-in-region--postch)
24422 (completion-in-region-mode): Remove unnecessary messages.
24424 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
24426 * font-lock.el (font-lock-refresh-defaults):
24427 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
24428 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
24430 * info.el (Info-directory-list, Info-read-node-name-2)
24431 (Info-split-parameter-string): Doc fixes.
24432 (Info-virtual-nodes): Reflow docstring.
24433 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
24434 (Info-apropos-toc-nodes, info-finder, Info-get-token)
24435 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
24436 Fix typos in docstrings.
24437 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
24438 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
24439 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
24440 (Info-restore-desktop-buffer): Mark unused parameters.
24441 (Info-directory-find-file, Info-directory-find-node)
24442 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
24443 (Info-virtual-index-find-node, Info-apropos-find-file)
24444 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
24445 Mark unused parameters; fix typos in docstrings.
24446 (Info-virtual-index): Remove unused local variable `nodename'.
24448 2011-04-05 Deniz Dogan <deniz@dogan.se>
24450 * net/rcirc.el: Update my e-mail address.
24451 (rcirc-mode-map): Remove M-o binding.
24453 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
24455 * startup.el (command-line): Save the cursor's theme-face
24456 directly, instead of using face-override-spec.
24458 * custom.el (load-theme): Minor optimization in assigning faces.
24460 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
24462 * help-fns.el (describe-variable): Complete all variables having
24463 documentation, including keywords.
24464 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
24466 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
24468 Convert to lexical-binding.
24470 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
24471 (bs--get-marked-string, bs--get-modified-string)
24472 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
24473 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
24474 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
24476 * ehelp.el (electric-help-execute-extended)
24477 (electric-help-ctrl-x-prefix):
24478 * hexl.el (hexl-revert-buffer-function):
24479 * linum.el (linum-after-change, linum-after-scroll):
24480 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
24482 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
24484 2011-04-04 Daiki Ueno <ueno@unixuser.org>
24491 * epg.el: Use lexical binding.
24493 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
24495 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
24497 * textmodes/flyspell.el (flyspell-word): Recognize default
24498 dictionary case for flyspell-mark-duplications-exceptions.
24499 Use regexp matching for languages.
24500 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
24501 default dictionary (Bug#7926).
24503 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
24505 * emacs-lisp/package.el (package--with-work-buffer):
24506 Recognize https URLs.
24508 * net/network-stream.el: Move from gnus/proto-stream.el.
24509 Change prefix to network-stream throughout.
24510 (open-protocol-stream): Merge into open-network-stream, leaving
24511 open-protocol-stream as an alias. Handle nil BUFFER args.
24513 * subr.el (open-network-stream): Move to net/network-stream.el.
24515 2011-04-02 Glenn Morris <rgm@gnu.org>
24517 * find-dired.el (find-exec-terminator): New option.
24518 (find-ls-option): Test for -ls support.
24519 (find-ls-subdir-switches): Test for -b in find-ls-option.
24520 (find-dired, find-grep-dired): Doc fixes.
24521 (find-dired): Use find-exec-terminator.
24523 * find-dired.el (find-ls-option, find-ls-subdir-switches)
24524 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
24525 (find-name-arg): Remove purecopy.
24527 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
24528 (grep-compute-defaults): Check for `-exec COMMAND +' support.
24529 Set grep-find-use-xargs, grep-find-command, and grep-find-template
24530 accordingly. Don't add the null-device if not needed.
24532 * files.el (save-some-buffers): Doc fix.
24534 2011-04-02 Eli Zaretskii <eliz@gnu.org>
24536 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
24538 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
24540 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
24541 Use `dolist' rather than `mapcar'.
24543 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
24545 Add lexical binding.
24547 * subr.el (apply-partially): Use new closures rather than CL.
24548 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
24549 (dolist, dotimes): Use slightly different expansion for lexical code.
24550 (functionp): Move to C.
24551 (letrec): New macro.
24552 (with-wrapper-hook): Use it and apply-partially instead of CL.
24553 (eval-after-load): Preserve lexical-binding.
24554 (save-window-excursion, with-output-to-temp-buffer): Turn them
24557 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
24559 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
24561 (help-add-fundoc-usage): Don't add `Not documented'.
24562 (help-function-arglist): Handle closures, subroutines, and new
24563 byte-code-functions.
24564 (help-make-usage): Remove leading underscores.
24565 (describe-function-1): Handle closures.
24566 (describe-variable): Use special-variable-p for completion.
24568 * files.el (lexical-binding): Declare safe.
24570 * emacs-lisp/pcase.el: Don't use destructuring-bind.
24571 (pcase--memoize): Rename from pcase-memoize. Change weakness.
24572 (pcase): Add `let' pattern.
24573 Change memoization so it actually works.
24574 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
24575 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
24578 * emacs-lisp/macroexp.el: Use lexical binding.
24579 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
24580 Don't convert ' to #' without checking that it's indeed quoting
24583 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
24584 Use eval-sexp-add-defvars.
24585 (eval-sexp-add-defvars): New fun.
24587 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
24589 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
24591 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
24592 than the internal `byte-compile-lambda'.
24593 (defmethod): Don't hide code under quotes.
24594 (eieio-defmethod): New `code' argument.
24596 * emacs-lisp/eieio-comp.el: Remove.
24598 * emacs-lisp/edebug.el (edebug-eval-defun)
24599 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
24600 (edebug-toggle): Avoid `eval'.
24602 * emacs-lisp/disass.el (disassemble-internal): Handle new
24604 (disassemble-1): Handle new byte codes.
24606 * emacs-lisp/cl.el (pushnew): Silence warning.
24608 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
24609 (cl-byte-compile-throw): Remove.
24610 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
24612 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
24615 * emacs-lisp/cconv.el: New file.
24617 * emacs-lisp/bytecomp.el: Use lexical binding instead of
24618 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
24619 (byte-compile-initial-macro-environment):
24620 Handle declare-function here.
24621 (byte-compile--lexical-environment): New var.
24622 (byte-stack-ref, byte-stack-set, byte-discardN)
24623 (byte-discardN-preserve-tos): New lap codes.
24624 (byte-interactive-p): Don't use any more.
24625 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
24627 (byte-compile-lapcode): Use them and handle new lap codes.
24628 (byte-compile-obsolete): Remove.
24629 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
24630 (byte-compile-arglist-warn): Check late def of inlinable funs.
24631 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
24632 since they should have been expanded by now.
24633 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
24634 (byte-compile-from-buffer): Remove unused second arg.
24635 (byte-compile-preprocess): New function.
24636 (byte-compile-toplevel-file-form): New function to distinguish
24637 file-form calls from outside from file-form calls from hunk-handlers.
24638 (byte-compile-file-form): Simplify.
24639 (byte-compile-file-form-defsubst): Remove.
24640 (byte-compile-file-form-defmumble): Simplify now that
24641 byte-compile-lambda always returns a byte-code-function.
24642 (byte-compile): Preprocess.
24643 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
24644 Remove, not used any more.
24645 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
24646 (byte-compile-make-args-desc): New funs.
24647 (byte-compile-lambda): Handle lexical functions. Always return
24648 a byte-code-function.
24649 (byte-compile-reserved-constants): New var, to make up room for
24650 closed-over variables.
24651 (byte-compile-constants-vector): Obey it.
24652 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
24653 (byte-compile-macroexpand-declare-function): New function.
24654 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
24655 byte-code-functions.
24656 (byte-compile-form): Check obsolescence here.
24657 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
24658 (byte-compile-variable-ref): Remove.
24659 (byte-compile-dynamic-variable-op): New fun.
24660 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
24661 (byte-compile-variable-set): New funs.
24662 (byte-compile-discard): Add 2 args.
24663 (byte-compile-stack-ref, byte-compile-stack-set)
24664 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
24665 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
24666 macroexpand-all instead.
24667 (byte-compile-quote-form): Remove.
24668 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
24669 (byte-compile-bind, byte-compile-unbind): New funs.
24670 (byte-compile-let): Handle let* and lexical binding.
24671 (byte-compile-let*): Remove.
24672 (byte-compile-catch, byte-compile-unwind-protect)
24673 (byte-compile-track-mouse, byte-compile-condition-case):
24674 Handle a new :fun-body form, used for lexical scoping.
24675 (byte-compile-save-window-excursion)
24676 (byte-compile-with-output-to-temp-buffer): Remove.
24677 (byte-compile-defun): Simplify.
24678 (byte-compile-stack-adjustment): New fun.
24679 (byte-compile-out): Use it.
24680 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
24682 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
24685 * emacs-lisp/byte-opt.el: Use lexical binding.
24686 (byte-inline-lapcode): Remove (to bytecomp).
24687 (byte-compile-inline-expand): Pay attention to inlining to/from
24688 lexically bound code.
24689 (byte-compile-unfold-lambda): Don't handle byte-code-functions
24691 (byte-optimize-form-code-walker): Don't handle save-window-excursion
24692 any more and don't call compiler-macros.
24693 (byte-compile-splice-in-already-compiled-code): Remove.
24694 (byte-code): Don't inline any more.
24695 (disassemble-offset): Receive `bytes' as argument rather than via
24697 (byte-compile-tag-number): Declare before first use.
24698 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
24699 `return' even if make-spliceable.
24700 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
24701 obsolete interactive-p.
24702 (byte-optimize-lapcode): Optimize new lap-codes.
24703 Don't trip up on new form of `byte-constant' lap code.
24705 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
24707 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
24709 * custom.el (custom-initialize-default, custom-declare-variable):
24712 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
24714 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
24715 (COMPILE_FIRST): Add macroexp and cconv.
24716 * makefile.w32-in: Mirror changes in Makefile.in.
24718 * vc/cvs-status.el:
24722 * vc/smerge-mode.el:
24723 * textmodes/bibtex-style.el:
24724 * textmodes/css-mode.el:
24732 * emacs-lisp/smie.el:
24735 * abbrev.el: Use lexical binding.
24737 2011-04-01 Eli Zaretskii <eliz@gnu.org>
24739 * info.el (info-display-manual): New function.
24741 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
24743 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
24745 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
24747 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
24748 an entry for that server in rcirc-authinfo. (Bug#8385)
24750 2011-03-31 Glenn Morris <rgm@gnu.org>
24752 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
24754 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
24756 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
24758 * progmodes/python.el (python-default-interpreter)
24759 (python-python-command-args, python-jython-command-args)
24760 (python-which-shell, python-which-args, python-which-bufname)
24761 (python-file-queue, python-comint-output-filter-function)
24762 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
24763 variables and functions.
24765 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
24767 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
24768 (completion-in-region-mode): New minor mode.
24769 (completion-in-region): Use it.
24770 (completion-in-region--data, completion-in-region-mode-map): New vars.
24771 (completion-in-region--postch): New function.
24772 (completion--capf-misbehave-funs, completion--capf-safe-funs):
24774 (completion--capf-wrapper): New function.
24775 (completion-at-point): Use it to track well-behavedness of
24777 (completion-help-at-point): New command.
24779 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
24781 * vc/add-log.el (add-change-log-entry): Don't use whitespace
24782 syntax class to search for whitespace on a single line
24783 (Message-ID: <4D938140.4030905@redhat.com>).
24785 2011-03-30 Leo Liu <sdl.web@gmail.com>
24787 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
24789 (edit-abbrevs-map): Bind them here.
24790 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
24792 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
24794 * allout.el (allout-hide-by-annotation, allout-flag-region):
24795 Reduce possibility of overlay leakage by making them volatile.
24797 * allout-widgets.el (allout-widgets-tally): Define as nil so the
24798 hash is not shared between buffers. Mode initialization is
24799 responsible for giving it a useful starting value.
24800 (allout-item-span): Reduce possibility of overlay leakage by
24801 making them volatile.
24802 (allout-widgets-count-buttons-in-region): Add diagnostic function
24803 for tracking down button overlay leaks.
24805 2011-03-29 Leo Liu <sdl.web@gmail.com>
24807 * ido.el (ido-read-internal): Use the default history var
24808 minibuffer-history if no HISTORY is specified.
24810 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
24812 * net/imap.el (imap-shell-open, imap-process-connection-type):
24813 Use imap-process-connection-type for 'shell' streams as well as
24814 Kerberos, SSL, other subprocesses.
24816 2011-03-28 Leo Liu <sdl.web@gmail.com>
24818 * abbrev.el (abbrev-table-empty-p): New function.
24819 (prepare-abbrev-list-buffer): Place empty abbrev tables after
24820 nonempty ones. (Bug#5937)
24822 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
24824 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
24826 2011-03-27 Leo Liu <sdl.web@gmail.com>
24828 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
24829 for foreground and background colors.
24830 (ansi-color-make-color-map): Adapt.
24832 2011-03-25 Leo Liu <sdl.web@gmail.com>
24834 * midnight.el (midnight-time-float): Remove. Note it calculates
24835 the microsecond component incorrectly and seconds-to-time does the
24837 Remove redundant (require 'timer).
24839 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
24840 (ido-completions): Remove unused arguments. (Bug#8329)
24842 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
24844 * minibuffer.el (completion--flush-all-sorted-completions):
24845 Remove itself from hook.
24846 (completion-at-point): Let the functions perform the completion
24847 immediately and return nil or t.
24848 * comint.el (comint-dynamic-complete-functions): Now identical to
24849 completion-at-point-functions.
24850 (comint-dynamic-list-input-ring): Remove unused var `index'.
24851 (comint--match-partial-filename, comint--unquote&expand-filename):
24852 New funs, split from comint-match-partial-filename.
24853 (comint-dynamic-complete): Use completion-at-point.
24854 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
24856 2011-03-24 Drew Adams <drew.adams@oracle.com>
24858 * thingatpt.el: Support `defun'.
24860 2011-03-23 Leo Liu <sdl.web@gmail.com>
24862 * abbrevlist.el: Move to obsolete/abbrevlist.el.
24864 * help-mode.el (help-mode-finish): Tweak regexp.
24866 2011-03-23 Glenn Morris <rgm@gnu.org>
24868 * eshell/esh-opt.el (eshell-eval-using-options):
24869 Do not bind unused local variable `eshell-option-stub'.
24871 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
24873 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
24875 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
24876 keymap variable in `with-no-warnings' to avoid a warning when the
24877 keymap has been already `defconst'ed.
24879 2011-03-22 Leo Liu <sdl.web@gmail.com>
24881 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
24882 encode all chars in abbrevs; otherwise use emacs-mule or
24883 utf-8-emacs. (Bug#8308)
24885 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
24887 * simple.el (backward-delete-char-untabify):
24888 Avoid warning about using `delete-backward-char'.
24890 * image.el (image-type-file-name-regexps): Make it variable.
24891 `imagemagick-register-types' modifies it, and the user may want
24892 to add new extensions for known image types.
24893 (imagemagick-register-types): Throw error if not using ImageMagick.
24895 2011-03-22 Leo Liu <sdl.web@gmail.com>
24897 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
24898 located before rcirc-prompt-end-marker.
24899 (rcirc-complete): Error if point is not after rcirc prompt.
24900 Handle the case when table is nil.
24901 (rcirc-user-authenticated): Define to fix compiler warning.
24903 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
24905 * custom.el (custom--inhibit-theme-enable): Make it affect only
24906 custom-theme-set-variables and custom-theme-set-faces.
24907 (provide-theme): Ignore custom--inhibit-theme-enable.
24908 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
24909 (custom-enabling-themes): Delete variable.
24910 (enable-theme): Accept only loaded themes as arguments.
24911 Ignore the special custom-enabled-themes variable.
24912 (custom-enabled-themes): Forbid themes from setting this.
24913 Eliminate use of custom-enabling-themes.
24914 (custom-push-theme): Quote "changed" custom var entry.
24916 2011-03-21 Leo Liu <sdl.web@gmail.com>
24918 * ido.el (ido-read-internal): Add ido-selected to history instead
24921 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
24923 * subr.el (deferred-action-list, deferred-action-function):
24926 2011-03-21 Leo Liu <sdl.web@gmail.com>
24928 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
24929 change on 2011-02-13 (bug#8309).
24931 * minibuffer.el (read-file-name-function): Change default value.
24932 (read-file-name--defaults): Rename from read-file-name-defaults.
24933 (read-file-name-default): Rename from read-file-name.
24934 (read-file-name): Call read-file-name-function.
24936 2011-03-21 Glenn Morris <rgm@gnu.org>
24938 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
24941 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
24943 * cus-theme.el: Add missing provide statement.
24944 (customize-create-theme): Extract theme value correctly.
24945 (custom-theme-visit-theme): Autoload.
24946 (customize-create-theme): Prompt before inserting default faces.
24948 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
24950 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
24951 units and musical notes.
24953 2011-03-20 Leo Liu <sdl.web@gmail.com>
24955 * ido.el (ido-read-internal): Use completing-read-default.
24956 (ido-completing-read): Fix compatibility with completing-read.
24958 2011-03-20 Christian Ohler <ohler@gnu.org>
24960 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
24961 (ert-delete-all-tests): Use `called-interactively-p' rather than
24963 (ert--make-xrefs-region): Respect END.
24965 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
24967 * dired-aux.el (dired-create-directory): Signal an error if the
24968 directory already exists (Bug#8246).
24970 * facemenu.el (list-colors-display): Call list-faces-display
24971 inside with-help-window.
24972 (list-colors-print): Use display property to align the final
24973 column, instead of checking window-width.
24975 2011-03-19 Eli Zaretskii <eliz@gnu.org>
24977 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
24978 windows-nt systems.
24979 (emerge-protect-metachars): Quote correctly for ms-dos and
24980 windows-nt systems.
24982 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
24984 * info.el (info-initialize): Replace all uses of `:' with
24985 path-separator for compatibility with non-Unix systems.
24986 Cache quoting of path-separator. (Bug#8258)
24988 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
24990 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
24991 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
24992 (mouse-avoidance-mode): Fix typos in docstrings.
24994 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
24996 * startup.el (package-subdirectory-regexp): Move from package.el.
24997 Omit \\` and \\', and let callers add them.
24999 * emacs-lisp/package.el (package-strip-version)
25000 (package-load-all-descriptors): Add \\` and \\' to
25001 package-subdirectory-regexp before using it.
25002 (package-untar-buffer): New arg DIR; ensure that file untars only
25003 into this expected directory. Remove superfluous delete-region.
25004 (package-unpack): Caller changed.
25005 (package-tar-file-info): Use package-subdirectory-regexp.
25007 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
25009 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
25010 diff-mode-shared-map (bug#8284).
25011 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
25013 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
25015 * calendar/time-date.el (format-seconds): Use assoc instead of
25016 assoc-string, since assoc-string doesn't exist in XEmacs.
25018 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
25020 * custom.el (custom-known-themes): Reflow docstring.
25021 (custom-theme-load-path): Fix typo in docstring.
25022 (load-theme): Fix typo in error message.
25023 (custom-available-themes, custom-variable-theme-value):
25024 Use `let', not `let*'.
25026 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
25028 * calc/README: Mention inclusion of musical notes.
25030 * calc/calc-units.el (calc-lu-quant): Rename from
25031 `calc-logunits-quantity'.
25032 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
25033 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
25034 (calc-db): Rename from `calc-dblevel'.
25035 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
25036 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
25037 (calc-np): Rename from `calc-nplevel'.
25038 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
25039 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
25040 (calc-lu-plus): Rename from `calc-logunits-add'.
25041 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
25042 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
25043 (calc-lu-minus): Rename from `calc-logunits-sub'.
25044 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
25045 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
25046 (calc-lu-times): Rename from `calc-logunits-mul'.
25047 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
25048 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
25049 (calc-lu-divide): Rename from `calc-logunits-div'.
25050 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
25051 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
25053 * calc/calc-ext.el (calc-init-extensions): Update the names of the
25054 functions being autoloaded.
25056 * calc/calc.el (calc-lu-power-reference): Rename from
25057 `calc-logunits-power-reference'.
25058 (calc-lu-field-reference): Rename from
25059 `calc-logunits-field-reference'.
25061 * calc/calc-help.el (calc-l-prefix-help):
25062 Mention musical note functions.
25064 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
25066 * minibuffer.el (completion-all-sorted-completions):
25067 Use :completion-cycle-penalty text property if present.
25069 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
25071 * allout.el (allout-yank-processing): Adjust for new rebulleting
25072 regime so bullet being yanked is used without prompting the user
25075 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
25077 * startup.el (command-line): Warn the user that _emacs is deprecated.
25079 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
25081 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
25082 (delphi-verbose, delphi-comment-face, delphi-string-face)
25083 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
25084 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
25085 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
25086 (delphi-new-comment-line, delphi-font-lock-defaults)
25087 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
25088 Fix typos in docstrings.
25090 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
25092 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
25093 Invert the roles of character and string values for INSTEAD, so a
25094 string is used for the more common case of a defaulting prompt.
25096 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
25098 * progmodes/ruby-mode.el (ruby-backward-sexp):
25099 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
25100 * play/gamegrid.el (gamegrid-make-face):
25101 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
25102 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
25103 * notifications.el (notifications-notify):
25104 * net/xesam.el (xesam-search-engines):
25105 * net/quickurl.el (quickurl-list-insert):
25106 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
25108 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
25110 * startup.el (command-line): Update package subdirectory regexp.
25112 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
25114 * allout.el (allout-abbreviate-flattened-numbering)
25115 (allout-mode-deactivate-hook): Fix up obsolescence "date".
25117 * subr.el (read-char-choice): Only show the cursor after the prompt,
25118 not after the answer.
25120 2011-03-15 Kevin Ryde <user42@zip.com.au>
25122 * help-fns.el (variable-at-point): Skip leading quotes, if any
25125 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
25127 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
25130 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
25132 * shell.el (shell): When called interactively, offer to change the
25133 shell file name on remote hosts.
25135 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
25137 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
25138 integration for LDAP parameters. The host, base, user or binddn,
25139 and secret tokens can be specified in a netrc file, for instance.
25140 This is optional because an `auth-source' parameter must be
25141 specified in the search attributes.
25143 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
25145 * help.el (describe-mode): Link to the mode's definition (bug#8185).
25147 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
25149 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
25150 into declaration. Remove redundant and harmful binding.
25152 2011-03-12 Eli Zaretskii <eliz@gnu.org>
25154 * files.el (file-ownership-preserved-p): Pass `integer' as an
25155 explicit 2nd argument to `file-attributes'. If the file's owner
25156 is the Administrators group on Windows, and the current user is
25157 Administrator, consider that a match.
25159 * server.el (server-ensure-safe-dir): Consider server directory
25160 safe on MS-Windows if its owner is the Administrators group while
25161 the current Emacs user is Administrator. Use `=' to compare
25162 numerical UIDs, since they could be integers or floats.
25164 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
25166 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
25168 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
25170 Sync with Tramp 2.2.1.
25172 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
25174 * net/trampver.el: Update release number.
25176 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
25178 * progmodes/compile.el (compilation--previous-directory): Fix up
25179 various nil/dead-marker mismatches (bug#8014).
25180 (compilation-directory-properties, compilation-error-properties):
25181 Don't call it at a position past the one we're about to change.
25183 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
25184 Disable obsolescence warnings in the file that declares it.
25186 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
25188 * allout-widgets.el (allout-widgets-tally):
25189 Initialize allout-widgets-tally as a hash table rather than nil to
25190 prevent mode-line redisplay warnings. Also, clarify the module
25191 description and fix a comment typo.
25193 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
25195 * help-fns.el (describe-variable): Don't complete keywords.
25196 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
25198 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
25200 * emacs-lisp/package.el (package-version-join): Impose a standard
25201 string representation for pre/alpha/beta version lists.
25202 (package-unpack-single): Standardize the directory name by passing
25203 it through package-version-join.
25204 (package-strip-rcs-id): Accept any version string that does not
25205 signal an error in version-to-list.
25207 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
25209 * simple.el (delete-trailing-whitespace): Return nil for the
25210 benefit of `write-file-functions'.
25212 2011-03-10 Glenn Morris <rgm@gnu.org>
25214 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
25216 * vc/vc-git.el (vc-git-program): New option.
25217 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
25218 (vc-git--call): Use it.
25220 * eshell/esh-util.el (eshell-condition-case): Doc fix.
25222 * cus-edit.el (Custom-newline): If no button at point, look
25223 for a subgroup button at start-of-line. (Bug#2298)
25225 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
25227 2011-03-10 Julien Danjou <julien@danjou.info>
25229 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
25230 `cursor-type' is nil.
25232 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
25234 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
25236 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
25238 * allout.el: Change so yank of distinctive-bullet items
25239 preserves the existing header prefix, rebulleting it if necessary,
25240 rather than replacing it. This is necessary for proper operation
25241 of cooperative addons like allout-widgets.
25242 (allout-make-topic-prefix, allout-rebullet-heading):
25243 Change SOLICIT arg to INSTEAD, and interpret additionally a string
25244 value as alternate bullet to be used, instead of prompting the user
25245 for a bullet character.
25247 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
25249 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
25250 Do not use `tramp-file-name-port', because this returns also
25251 `tramp-default-port'.
25253 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
25255 * net/rcirc.el (rcirc-handler-001): Remove useless
25256 with-rcirc-process-buffer.
25257 (rcirc-check-auth-status): Swap arguments to string-match.
25259 2011-03-09 Glenn Morris <rgm@gnu.org>
25261 * shell.el (shell-mode):
25262 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
25264 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
25265 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
25267 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
25269 * emacs-lisp/package.el (package-refresh-contents)
25270 (package-menu-execute): Use condition-case-no-debug.
25272 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
25274 * simple.el (shell-command-to-string): Use `process-file'.
25276 * emacs-lisp/package.el (package-tar-file-info): Handle also
25279 * emacs-lisp/package-x.el (package-upload-buffer-internal):
25280 Use `equal' for upload base check.
25282 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
25284 * textmodes/texinfo.el (texinfo-environments):
25285 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
25287 2011-03-08 Glenn Morris <rgm@gnu.org>
25289 * cus-start.el (cursor-in-non-selected-windows):
25290 Fix :set quoting oddness. (Bug#8192)
25292 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
25293 in some setf expressions. (Bug#2159)
25295 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
25297 * custom.el (custom-available-themes): Return themes in
25298 alphabetical order.
25300 See ChangeLog.15 for earlier changes.
25302 ;; Local Variables:
25306 Copyright (C) 2011-2013 Free Software Foundation, Inc.
25308 This file is part of GNU Emacs.
25310 GNU Emacs is free software: you can redistribute it and/or modify
25311 it under the terms of the GNU General Public License as published by
25312 the Free Software Foundation, either version 3 of the License, or
25313 (at your option) any later version.
25315 GNU Emacs is distributed in the hope that it will be useful,
25316 but WITHOUT ANY WARRANTY; without even the implied warranty of
25317 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
25318 GNU General Public License for more details.
25320 You should have received a copy of the GNU General Public License
25321 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.