1 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
3 Automate the build of ja-dic.el (Bug#13984).
4 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
5 from the input, rather than assume that it's been done for us by the
6 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
7 the current date into a ja-dic.el comment, as that complicates
10 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
12 * whitespace.el: Fix double evaluation.
13 (whitespace-space, whitespace-hspace, whitespace-tab)
14 (whitespace-newline, whitespace-trailing, whitespace-line)
15 (whitespace-space-before-tab, whitespace-indentation)
16 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
18 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
19 (whitespace-color-on): Use a single font-lock-add-keywords call.
20 Fix double-evaluation of face variables.
22 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
24 * net/tramp-adb.el (tramp-adb-parse-device-names):
25 Use `start-process' instead of `call-process'. Otherwise, the
26 function might be blocked under MS Windows. (Bug#13299)
28 2013-03-17 Leo Liu <sdl.web@gmail.com>
30 Extend eldoc to display info in the mode-line. (Bug#13978)
31 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
32 (eldoc-mode-line-string): New variable.
33 (eldoc-minibuffer-message): New function.
34 (eldoc-message-function): New variable.
35 (eldoc-message): Use it.
36 (eldoc-display-message-p)
37 (eldoc-display-message-no-interference-p):
38 Support eldoc-post-insert-mode.
40 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
41 (eval-expression): Run it.
43 2013-03-17 Roland Winkler <winkler@gnu.org>
45 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
46 strings in the list of return values.
48 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
50 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
51 radix before checking for HMS forms.
53 2013-03-16 Leo Liu <sdl.web@gmail.com>
55 * progmodes/scheme.el: Add indentation and font-locking for λ.
58 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
60 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
61 token before point (bug#13942).
63 2013-03-16 Leo Liu <sdl.web@gmail.com>
65 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
67 2013-03-16 Glenn Morris <rgm@gnu.org>
69 * Version 24.3 released.
71 2013-03-16 Eli Zaretskii <eliz@gnu.org>
73 * startup.el (command-line-normalize-file-name): Fix handling of
74 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
75 <xfq.free@gmail.com> in
76 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
78 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
80 Sync with Tramp 2.2.7.
82 * net/trampver.el: Update release number.
84 2013-03-14 Tassilo Horn <tsdh@gnu.org>
86 * doc-view.el Fix bug#13887.
87 (doc-view-insert-image): Don't modify overlay associated to
88 non-live windows, and implement horizontal centering of image in
89 case it's smaller than the window.
90 (doc-view-new-window-function): Force redisplay of new windows on
93 2013-03-13 Karl Fogel <kfogel@red-bean.com>
95 * saveplace.el (save-place-alist-to-file): Don't sort
96 `save-place-alist', just pretty-print it (bug#13882).
98 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
100 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Check,
101 whether `default-file-name-coding-system' is bound. It isn't in
104 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
106 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
107 backquotes for `obsolete' (bug#13929).
109 * international/mule.el (find-auto-coding): Include file name in
110 obsolescence warning (bug#13922).
112 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
114 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
115 for CFEngine 3-specific indentation.
116 (cfengine3-indent-line): Use it. Fix up category regex.
117 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
119 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
121 * type-break.el (type-break-file-name):
122 * textmodes/remember.el (remember-data-file):
123 * strokes.el (strokes-file):
124 * shadowfile.el (shadow-initialize):
125 * saveplace.el (save-place-file):
126 * ps-bdf.el (bdf-cache-file):
127 * progmodes/idlwave.el (idlwave-config-directory):
128 * net/quickurl.el (quickurl-url-file):
129 * international/kkc.el (kkc-init-file-name):
130 * ido.el (ido-save-directory-list-file):
131 * emulation/viper.el (viper-custom-file-name):
132 * emulation/vip.el (vip-startup-file):
133 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
134 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
136 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
138 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
139 * language/thai-word.el: Switch to UTF-8.
141 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
143 * recentf.el (recentf-save-file): Use locate-user-emacs-file (bug#13870).
145 2013-03-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
147 * net/net-utils.el (net-utils-remove-ctrl-m-filter):
148 Use with-current-buffer and don't move point.
149 (net-utils-run-simple): Remove useless code.
150 (net-utils-remove-ctl-m): Remove unused custom.
152 2013-03-11 Per Starbäck <starback@stp.lingfil.uu.se>
154 * international/characters.el (glyphless-set-char-table-range): New fun.
155 (update-glyphless-char-display): Use it (bug#13744).
157 2013-03-11 Teodor Zlatanov <tzz@lifelogs.com>
159 * progmodes/cfengine.el: Update for CFEngine 3.4.2 and higher:
160 namespaces in the syntax, indent closer for hanging brace
161 correctly, allow single-quote delimited 'strings', and make
162 `cfengine3-mode' the default.
164 2013-03-11 Jean-Philippe Gravel <jpgravel@gmail.com>
166 * progmodes/gdb-mi.el: Speed up initialization (bug#10580).
167 Use lexical-binding. Fix up docstring according to conventions.
168 (gdbmi-debug-mode): New var.
169 (gdbmi-start-with, gdbmi-same-start, gdbmi-is-number, gdbmi-bnf-init)
170 (gdbmi-bnf-output, gdbmi-bnf-skip-unrecognized, gdbmi-bnf-gdb-prompt)
171 (gdbmi-bnf-result-record, gdbmi-bnf-out-of-band-record)
172 (gdbmi-bnf-async-record, gdbmi-bnf-stream-record)
173 (gdbmi-bnf-console-stream-output, gdbmi-bnf-target-stream-output)
174 (gdbmi-bnf-log-stream-output, gdbmi-bnf-result-and-async-record-impl)
175 (gdbmi-bnf-incomplete-record-result): New functions.
176 (gdb-car<): Remove function.
177 (gdbmi-record-list): Remove variable.
178 (gdbmi-bnf-state, gdbmi-bnf-offset): New vars.
179 (gdbmi-bnf-result-state-configs): New const.
180 (gud-gdbmi-marker-filter): Rewrite.
181 (gdb-ignored-notification, gdb-thread-created, gdb-thread-exited)
182 (gdb-thread-selected, gdb-running, gdb-starting, gdb-stopped):
183 Add `token' argument.
184 (gdb-done, gdb-error): New functions.
185 (gdb-done-or-error): Add `is-complete' argument. Change arg order.
187 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
189 * term/xterm.el (xterm--report-background-handler): Don't burp
191 (xterm--version-handler): Extract from terminal-init-xterm.
192 (xterm--query): Don't mishandle timeout. Remove debugging messages.
193 Allow multiple handlers.
194 (terminal-init-xterm): Handle OSX's Terminal.app's incorrect answer.
196 * term/xterm.el: Don't discard input (bug#6758). Use lexical-binding.
197 (xterm--report-background-handler, xterm--query): New functions.
198 (terminal-init-xterm): Use them.
200 2013-03-11 Michael R. Mauger <michael@mauger.com>
202 * progmodes/sql.el Version 3.2
203 Please note that my address changed to <michael@mauger.com>;
204 the <mmaug@yahoo.com> address remains active.
205 (sql-connection-alist): Updates documentation to fix bug#13715.
206 (sql-connect): Handle missing `sql-connection-alist' correctly.
207 (sql-mode-oracle-font-lock-keywords): Add missing keywords.
208 (sql-magic-go, sql-magic-semicolon): Mark with `delete-selection'
210 (sql-default-value): New function.
211 (sql-get-login-ext, sql-get-login): Fixes bug where buffer-local
212 values were not used.
213 (sql-rename-buffer): Make sure alternate buffer name has no text
215 (sql-input-sender, sql-execute-feature): Fetch variable with
216 `buffer-local-value' rather than `with-current-buffer'.
217 (sql-*): Use #' function syntax consistently.
218 (sql-*): Use message/error/user-error consistently.
220 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
222 * xt-mouse.el (xterm-mouse-event-read): Remove.
223 (xterm-mouse--read-event-sequence-1000)
224 (xterm-mouse--read-event-sequence-1006): Use read-event instead.
226 2013-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
228 * term/xterm.el (xterm-function-map): Support format used with
229 formatOtherKeys=1 (bug#13839).
231 * emacs-lisp/byte-run.el (dont-compile): Declare obsolete.
232 (with-no-warnings): Use `declare'.
234 * whitespace.el (whitespace-enable-predicate): New variable.
235 (whitespace-enable-predicate): Use it.
237 * comint.el (comint-send-input, comint-snapshot-last-prompt)
238 (comint-output-filter, comint-update-fence):
239 Use with-silent-modifications.
241 2013-03-10 Jambunathan K <kjambunathan@gmail.com>
243 * replace.el (occur-read-regexp-defaults-function): New var.
244 (occur-read-regexp-defaults): New defun.
245 (occur-read-primary-args): Propagate above change (bug#13892).
247 2013-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
249 * mouse.el (mouse-drag-track): Remove left-over debugging code.
251 2013-03-09 Michael Albinus <michael.albinus@gmx.de>
253 Major rewrite due to changed D-Bus interface of GVFS 1.14.
255 * net/tramp-gvfs.el (top): Extend check for gvfs availability.
256 (tramp-gvfs-methods-mounttracker, tramp-gvfs-listmounts)
257 (tramp-gvfs-mountlocation, tramp-gvfs-mountlocation-signature):
259 (tramp-gvfs-file-name-handler-alist) [directory-files]
260 [directory-files-and-attributes, file-exists-p, file-modes]:
261 Use Tramp default handler.
262 [file-acl, file-selinux-context, process-file, set-file-acl]:
263 [set-file-modes, set-file-selinux-context, shell-command]:
264 [start-file-process]: Remove handler.
265 [verify-visited-file-modtime]: New handler.
266 (tramp-gvfs-dbus-string-to-byte-array)
267 (tramp-gvfs-dbus-byte-array-to-string): New defuns. Replace all
268 calls of `dbus-string-to-byte-array' and
269 `tramp-gvfs-dbus-byte-array-to-string'.
270 (tramp-gvfs-handle-copy-file)
271 (tramp-gvfs-handle-delete-directory)
272 (tramp-gvfs-handle-delete-file, tramp-gvfs-handle-file-attributes)
273 (tramp-gvfs-handle-file-directory-p)
274 (tramp-gvfs-handle-file-executable-p)
275 (tramp-gvfs-handle-file-name-all-completions)
276 (tramp-gvfs-handle-file-readable-p)
277 (tramp-gvfs-handle-file-writable-p)
278 (tramp-gvfs-handle-insert-directory)
279 (tramp-gvfs-handle-insert-file-contents)
280 (tramp-gvfs-handle-make-directory, tramp-gvfs-handle-rename-file)
281 (tramp-gvfs-handle-set-visited-file-modtime)
282 (tramp-gvfs-handle-write-region): Rewrite.
283 (tramp-gvfs-handle-file-acl)
284 (tramp-gvfs-handle-file-selinux-context)
285 (tramp-gvfs-handle-process-file, tramp-gvfs-handle-set-file-acl)
286 (tramp-gvfs-handle-set-file-modes)
287 (tramp-gvfs-handle-set-file-selinux-context)
288 (tramp-gvfs-handle-shell-command)
289 (tramp-gvfs-handle-start-file-process)
290 (tramp-gvfs-handle-verify-visited-file-modtime): Remove defuns.
291 (tramp-gvfs-url-file-name): Do not use `file-truename', we work
292 over the symlinks. Fix user handling.
293 (top, tramp-gvfs-handler-mounted-unmounted): Handle different names
294 of the D-Bus signals.
295 (tramp-gvfs-connection-mounted-p): Handle different names of the
297 (tramp-gvfs-mount-spec-entry): New defun.
298 (tramp-gvfs-mount-spec): Use it.
299 (tramp-gvfs-maybe-open-connection): Check, that in case of "smb"
300 there is a share name. Handle different names of the D-Bus
301 signals and methods. Set connection properties needed for
302 `tramp-check-cached-permissions'.
303 (tramp-gvfs-send-command): Apply `tramp-gvfs-maybe-open-connection'.
306 * net/tramp.el (tramp-backtrace): Move up.
307 (tramp-error): Dump a backtrace into the debug buffer when
309 (tramp-file-mode-type-map, tramp-file-mode-from-int)
310 (tramp-file-mode-permissions, tramp-get-local-uid)
311 (tramp-get-local-gid, tramp-check-cached-permissions): Move from
314 * net/tramp-sh.el (tramp-file-mode-type-map)
315 (tramp-check-cached-permissions, tramp-file-mode-from-int)
316 (tramp-file-mode-permissions, tramp-get-local-uid)
317 (tramp-get-local-gid): Move to tramp.el.
319 2013-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
321 Separate mouse-1-click-follows-link from mouse-drag-region.
322 * mouse.el (mouse--down-1-maybe-follows-link): New function.
323 (key-translation-map): Use it to implement mouse-1-click-follows-link.
324 (mouse-drag-line, mouse-drag-track):
325 Remove mouse-1-click-follows-link code.
326 (mouse--remap-link-click-p): Remove.
328 2013-03-08 Jambunathan K <kjambunathan@gmail.com>
330 * hi-lock.el (hi-lock-read-regexp-defaults-function): New var.
331 (hi-lock-read-regexp-defaults): New defun.
332 (hi-lock-line-face-buffer, hi-lock-face-buffer)
333 (hi-lock-face-phrase-buffer): Propagate above change.
334 Update docstring (bug#13892).
336 * subr.el (find-tag-default-as-regexp): New defun.
337 * replace.el (read-regexp): Propagate above change.
339 2013-03-08 Jay Belanger <jay.p.belanger@gmail.com>
341 * calc/calc-units.el (calc-convert-units): Fix the way that default
342 new units are stored.
344 2013-03-07 Matthias Meulien <orontee@gmail.com>
346 * bookmark.el: Define a face to highlight bookmark names in
347 bookmark menu buffers, where the default is a bold face similarly
348 to buffer names in buffer menu buffers.
349 (bookmark-menu-bookmark): New face to highlight bookmark names.
350 (bookmark-insert-location): Remove duplicated text property to
351 conform to buffer list (see `list-buffers').
352 (bookmark-bmenu-list, bookmark-bmenu-hide-filenames): Apply face
353 `bookmark-menu-bookmark' to bookmark names.
355 2013-03-07 Matthias Meulien <orontee@gmail.com>
356 Karl Fogel <kfogel@red-bean.com>
358 * bookmark.el: Display the bookmark list header similarly to the
359 buffer list header (see `list-buffers'), where the default is now
360 an immovable/immutable header line.
361 (bookmark-bmenu-use-header-line): New variable.
362 (bookmark-bmenu-inline-header-height): New name for
363 `bookmark-bmenu-header-height', to avoid confusion with the code
364 for the new immovable header. All references changed.
365 (bookmark-bmenu-set-header): New function.
366 (bookmark-bmenu-list, bookmark-bmenu-toggle-filenames):
367 Conditionalize header construction accordingly.
368 (bookmark-bmenu-ensure-position): Conditionalize the skipping of
369 the inline header height.
370 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
371 Conditionalize the skipping of the inline header height.
373 2013-03-07 Dmitry Gutov <dgutov@yandex.ru>
375 * progmodes/js.el (js--multi-line-declaration-indentation):
376 Merge from js2-mode (https://github.com/mooz/js2-mode/issues/89).
378 2013-03-06 Dmitry Gutov <dgutov@yandex.ru>
380 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
381 Only propertize regexp when not inside a string (Bug#13885).
383 2013-03-06 Alan Mackenzie <acm@muc.de>
385 Correct the position of point in some line-up functions.
386 * progmodes/cc-align.el (c-lineup-whitesmith-in-block)
387 (c-lineup-assignments, c-lineup-gcc-asm-reg ): take position of
388 point at column 0 rather than at a random place in the line.
390 2013-03-05 Michael Albinus <michael.albinus@gmx.de>
392 * net/tramp-compat.el (tramp-compat-delete-directory):
393 Implement TRASH argument.
395 2013-03-05 Dmitry Gutov <dgutov@yandex.ru>
397 Keep pre-existing highlighting in completion candidates (Bug#13250).
398 * minibuffer.el (completions-first-difference): State that the
399 face is "added" in the docstring.
400 (completions-common-part): Same. And don't inherit from default.
401 (completion-hilit-commonality): Prepend 'completions-common-part
402 and 'completion-first-difference faces to the 'face property,
403 instead of replacing the value(s).
404 (completion--insert-strings): Same with 'completions-annotations face.
405 (completion-hilit-commonality): Use 'face instead of
406 'font-lock-face, because it gets priority if the completion
407 strings already have 'face set.
409 2013-03-04 Alan Mackenzie <acm@muc.de>
411 Replace `last-command-event' by `last-command-char' in XEmacs.
412 * progmodes/cc-defs.el (c-last-command-char): New macro.
413 * progmodes/cc-align.el (c-semi&comma-inside-parenlist)
414 (c-semi&comma-no-newlines-before-nonblanks)
415 (c-semi&comma-no-newlines-for-oneline-inliners): Use the new macro
416 in place of `last-command-event'.
417 * progmodes/cc-cmds.el (c-electric-pound, c-electric-brace)
418 (c-electric-slash, c-electric-semi&comma, c-electric-lt-gt)
419 (c-electric-paren, c-electric-continued-statement): Use the new
420 macro in place of `last-command-event'.
422 2013-03-04 Glenn Morris <rgm@gnu.org>
424 * files.el (inhibit-local-variables-regexps):
425 Add .diff and .patch. (Bug#13862)
427 2013-03-03 Michael Albinus <michael.albinus@gmx.de>
429 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Cache,
430 whether the "su" command is available on the device.
432 2013-03-01 Michael Albinus <michael.albinus@gmx.de>
434 * net/tramp-adb.el (tramp-adb-prompt): Extend regexp.
435 (tramp-adb-handle-process-file): Remove superfluous setting.
436 (tramp-adb-command-exit-status): Handle case that COMMAND is nil.
437 (tramp-adb-barf-unless-okay): Use `tramp-adb-command-exit-status'.
438 (tramp-adb-maybe-open-connection): Apply "su" if user is defined.
440 2013-03-01 Stefan Monnier <monnier@iro.umontreal.ca>
442 * textmodes/ispell.el: Fix nitpicks and byte-compiler warnings.
443 (ispell-print-if-debug): Build `format' in. Avoid end-of-buffer.
444 (ispell-parse-hunspell-affix-file): Avoid beginning-of-buffer.
445 Use dict-key rather than dict-name for the error message.
447 2013-03-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
449 * net/net-utils.el (net-utils-run-simple): Don't display-buffer
450 when reverting (bug#13831).
452 2013-03-01 Agustín Martín Domingo <agustin.martin@hispalinux.es>
454 * textmodes/ispell.el (ispell-find-hunspell-dictionaries):
455 Always expand affix-file before storing to protect against changed
457 (ispell-print-if-debug): Make sure message is printed at the end
460 2013-03-01 Michael Albinus <michael.albinus@gmx.de>
462 * net/tramp.el (tramp-obsolete-methods): New defconst.
463 (tramp-warned-obsolete-methods): New defvar.
464 (tramp-find-method): Check for obsolete methods. Map them to a
465 replacement method if appropriate.
467 * net/tramp-sh.el (tramp-methods) [scp1, scp2, ssh1, ssh2, plink1]:
469 (top): Remove completion functions for "scp1", "scp2", "ssh1",
472 2013-02-28 Dale Sedivec <dale@codefu.org>
474 * textmodes/sgml-mode.el (sgml-syntax-propertize-function):
475 Return valid syntax-table property value when converting
476 quotes within text from string syntax to punctuation syntax (bug#13844).
478 2013-02-28 Juri Linkov <juri@jurta.org>
480 * dired-aux.el (dired-diff): If file at point is a backup file,
481 use its original as the default value, and reverse the order
482 of arguments to the `diff' call. Doc fix. (Bug#13772)
484 2013-02-28 Michael Albinus <michael.albinus@gmx.de>
486 * net/tramp-adb.el (tramp-adb-sdk-dir): Remove. Replaced by ...
487 (tramp-adb-program): New defcustom. Remove function. Adapt calls.
489 2013-02-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
491 Initial support for hunspell dictionaries auto-detection (Bug#13639)
493 * textmodes/ispell.el (ispell-find-hunspell-dictionaries):
494 Ask hunspell about available and default dictionaries.
495 (ispell-parse-hunspell-affix-file): Extract relevant info from
497 (ispell-hunspell-fill-dictionary-entry): Fill non-initialized
498 `ispell-dictionary-alist' entry for given dictionary after info
499 provided by `ispell-parse-hunspell-affix-file'.
500 (ispell-hunspell-dict-paths-alist): New defvar to contain an alist
501 of parsed hunspell dicts and associated affix files.
502 (ispell-hunspell-dictionary-alist): New defvar to contain an alist
503 of parsed hunspell dicts and associated parameters.
504 (ispell-set-spellchecker-params):
505 Call `ispell-find-hunspell-dictionaries' if hunspell and not
507 (ispell-start-process):
508 Call `ispell-hunspell-fill-dictionary-entry' for current
509 dictionary if it is not initialized.
511 2013-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
513 * imenu.el: Comment nitpicks.
515 2013-02-28 Sam Steingold <sds@gnu.org>
517 * vc/diff-mode.el (diff-hunk-file-names): Handle filenames with spaces.
518 See <http://stackoverflow.com/questions/14720205>.
520 2013-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
522 * net/net-utils.el (net-utils--revert-function): New fun (bug#13831).
523 (net-utils-mode): Use it.
524 (net-utils--revert-cmd): New var.
525 (net-utils-run-simple): Set it, and remove bogus interactive spec.
526 (traceroute): Use net-utils-run-simple.
528 2013-02-28 Glenn Morris <rgm@gnu.org>
530 * textmodes/paragraphs.el (mark-paragraph): Doc fix.
532 2013-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
534 * doc-view.el: Preserve h&v scroll across C-c C-c C-c C-c.
535 (doc-view-fallback-mode): Remove overlays here.
536 (doc-view-toggle-display): Instead of here. Don't throw away
537 image-mode-winprops-alist.
538 (doc-view-goto-page): Don't mess with hscroll.
540 2013-02-27 Thierry Volpiatto <thierry.volpiatto@gmail.com>
542 * font-lock.el (lisp-font-lock-keywords-2): Fix highlighting of
543 &optional (bug#13819).
545 2013-02-27 Michael Albinus <michael.albinus@gmx.de>
547 * net/tramp-adb.el (tramp-adb-parse-device-names)
548 (tramp-adb-maybe-open-connection): Add timeouts. (Bug#13299)
550 2013-02-26 Michael Albinus <michael.albinus@gmx.de>
552 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
553 Add "2>/dev/null" to the ls command, in case "en_US.utf8" is not
554 defined. POSIX environments fall back to the "C" locale then and
555 emit a warning, which shall be suppressed.
557 2013-02-26 Stefan Monnier <monnier@iro.umontreal.ca>
559 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): Tweak logic.
560 (easy-mmode-set-keymap-parents): Use make-composed-keymap.
562 2013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
564 * emacs-lisp/bytecomp.el (byte-compile-file): Use let.
566 2013-02-25 Juri Linkov <juri@jurta.org>
568 * replace.el (read-regexp): Let-bind `default' to the first
569 element of `defaults' if it's a list, otherwise it should be
570 a string or nil. Let-bind `suggestions' to `defaults' if it's
571 a list, otherwise make a list with the string value. Doc fix.
574 2013-02-25 Eli Zaretskii <eliz@gnu.org>
576 * emacs-lisp/bytecomp.el (byte-recompile-directory): Reject files
577 that match "\`\.#", to avoid compiling lock files, even if they
578 are readable (as they are on MS-Windows).
580 2013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
582 * files.el (basic-save-buffer): Remove redundant directory-creation.
584 2013-02-24 Jay Belanger <jay.p.belanger@gmail.com>
586 * calc/calc-ext.el (math-to-radians-2, math-from-radians-2):
587 Add option to force `pi' to remain symbolic.
588 * calc/calcalg2.el (calcFunc-sin, calcFunc-cos, calcFunc-tan)
589 (calcFunc-cot, calcFunc-csc, calcFunc-sec, calcFunc-arcsin)
590 (calcFunc-arccos, calcFunc-arctan): Use symbolic `pi' in the
591 derivatives, when necessary.
593 2013-02-23 Peter Kleiweg <p.c.j.kleiweg@rug.nl>
595 * progmodes/ps-mode.el (ps-mode-version): Bump to 1.1i.
596 (ps-mode-octal-region): Use string-make-unibyte.
598 2013-02-23 Glenn Morris <rgm@gnu.org>
600 * emulation/viper-cmd.el (viper-submit-report):
601 * progmodes/ps-mode.el (ps-mode-maintainer-address):
602 * progmodes/vera-mode.el (vera-mode-help-address):
603 * textmodes/artist.el (artist-maintainer-address):
604 * textmodes/reftex.el (reftex-report-bug):
605 * vc/ediff-util.el (ediff-submit-report):
606 Add bug-gnu-emacs to bug report address.
608 * progmodes/simula.el (simula-mode-menu, simula-mode-map):
609 Remove bug report entries.
610 (simula-mode-help-address, simula-submit-bug-report): Make obsolete.
612 * emacs-lisp/bytecomp.el (byte-compile-level): New.
613 (byte-compile-file, byte-compile-from-buffer):
614 Use separate input/output buffers for each level of recursive
615 byte-compile-file calls. (Bug#13787)
617 2013-02-23 Michael Albinus <michael.albinus@gmx.de>
619 * net/tramp.el (tramp-methods): Fix docstring.
620 (tramp-ssh-controlmaster-options): Rename it from
621 `tramp-ssh-controlmaster-template'. Return a string.
622 (tramp-default-method): Adapt check for
623 `tramp-ssh-controlmaster-options'.
625 * net/tramp-sh.el (tramp-methods):
626 Replace `tramp-ssh-controlmaster-template' by "%c".
627 (tramp-do-copy-or-rename-file-out-of-band)
628 (tramp-maybe-open-connection): Use it in format spec. Ensure,
629 that it is applied for the first hop only.
631 2013-02-22 Juri Linkov <juri@jurta.org>
633 * isearch.el (isearch-lazy-highlight-new-loop):
634 Set `isearch-lazy-highlight-start' and `isearch-lazy-highlight-end'
635 to `isearch-other-end' if it is not nil. (Bug#13402)
637 * replace.el (replace-highlight): Let-bind `isearch-other-end'
640 * textmodes/ispell.el (ispell-highlight-spelling-error-overlay):
641 Let-bind `isearch-other-end' to `start', `isearch-forward' to t
642 and `isearch-error' to nil.
644 2013-03-16 Fabián Ezequiel Gallina <fgallina@cuca>
646 * progmodes/python.el (python-info-current-defun):
647 Enhance match-data cluttering prevention.
649 2013-02-22 Michael Albinus <michael.albinus@gmx.de>
651 * net/tramp.el (tramp-tramp-file-p): Fix docstring.
653 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
654 Handle multibyte file names.
656 2013-02-22 Glenn Morris <rgm@gnu.org>
658 * textmodes/sgml-mode.el (sgml-xml-mode): Move before use.
659 (sgml-transformation-function): Give it a :set function.
662 * cmuscheme.el (scheme-buffer):
663 * progmodes/inf-lisp.el (inferior-lisp-buffer):
664 * progmodes/tcl.el (inferior-tcl-buffer):
665 * textmodes/tex-mode.el (tex-command): Doc fixes.
667 * image-mode.el (image-mode): Add mouse bindings for mode-line-process.
669 * htmlfontify.el (hfy-default-header): Encode title string. (Bug#7457)
671 2013-02-21 Bastien Guerry <bzg@gnu.org>
673 * cmuscheme.el (scheme-buffer): Fix docstring. (Bug#13778)
675 2013-02-21 Fabián Ezequiel Gallina <fgallina@cuca>
677 * progmodes/python.el (python-info-current-defun):
678 Enhance match-data cluttering prevention.
680 2013-02-21 Glenn Morris <rgm@gnu.org>
682 * net/tramp.el (tramp-get-debug-buffer): Ensure outline.el is not
683 loaded while outline-regexp is let bound. (Bug#9584)
685 2013-02-21 Fabián Ezequiel Gallina <fgallina@cuca>
687 * progmodes/python.el (python-info-current-defun): Fix failed
688 defun name retrieval because of unwanted match-data cluttering.
690 2013-02-21 Michael Albinus <michael.albinus@gmx.de>
692 * net/tramp.el (tramp-ssh-controlmaster-template): Make it a
693 defconst. Apply independent check for ControlPersist.
695 * net/tramp-sh.el (tramp-sh-handle-set-file-times): Set $UTC only
696 temporarily, via "env".
698 2013-02-21 Glenn Morris <rgm@gnu.org>
700 * info.el (Info-enable-edit): Remove.
701 (Info-edit): Disable it rather than using Info-enable.
702 (Info-edit-mode-hook, Info-edit-map, Info-edit-mode, Info-edit)
703 (Info-cease-edit): Make editing of Info files obsolete.
705 * informat.el (Info-tagify):
706 Handle buffers not visiting files. (Bug#13763)
708 2013-02-21 Juanma Barranquero <lekktu@gmail.com>
710 * calc/calc-graph.el (calc-graph-show-dumb): Fix typo.
712 2013-02-21 Glenn Morris <rgm@gnu.org>
714 * files.el (basic-save-buffer): Move check for existing parent
715 directory after hooks. (Bug#13773)
717 2013-02-20 Stefan Monnier <monnier@iro.umontreal.ca>
719 * simple.el (command-execute): Move from C. Add obsolete check.
720 (extended-command-history): Move from C.
722 2013-02-20 Ulrich Müller <ulm@gentoo.org>
724 * jka-cmpr-hook.el (jka-compr-compression-info-list)
725 (jka-compr-mode-alist-additions): Handle .txz suffix for
726 XZ-compressed tar archives (bug#13770).
728 2013-02-20 Bastien Guerry <bzg@gnu.org>
730 * outline.el (outline-regexp, outline-heading-end-regexp):
731 Make variables, not options (bug#13731).
733 2013-02-20 Glenn Morris <rgm@gnu.org>
735 * image.el (image-current-frame): Change from variable to function.
736 (image-show-frame): Rename from image-nth-frame. Update callers.
737 * image-mode.el (image-multi-frame): New variable.
738 (image-mode-map, image-mode, image-goto-frame):
739 Use image-multi-frame rather than image-current-frame.
740 (image-mode, image-goto-frame): Use image-current-frame as
741 function rather than as variable.
743 * emacs-lisp/cl-lib.el (cl-floatp-safe): Make it an alias for floatp.
744 * emacs-lisp/cl-macs.el (cl--make-type-test)
745 (cl--compiler-macro-assoc): Use floatp rather than cl-floatp-safe.
747 2013-02-19 Michael Albinus <michael.albinus@gmx.de>
749 * net/tramp-cache.el (tramp-get-hash-table): New defun.
750 (tramp-get-file-property, tramp-set-file-property)
751 (tramp-get-connection-property, tramp-set-connection-property): Use it.
752 (tramp-flush-file-property, tramp-flush-directory-property):
753 Rename argument to KEY.
754 (tramp-flush-connection-property): Simplify a little bit.
755 (tramp-connection-property-p): New defun.
756 (top): Reapply saved values only if there isn't a corresponding
757 entry in `tramp-connection-properties'.
759 2013-02-19 Fabián Ezequiel Gallina <fgallina@cuca>
761 * progmodes/python.el (python-indent-context):
762 Fix python-info-line-ends-backslash-p call.
763 (python-info-line-ends-backslash-p)
764 (python-info-beginning-of-backslash): Respect line-number argument.
765 (python-info-current-line-comment-p):
766 Fix behavior when not at beginning-of-line.
767 (python-util-position): Remove function.
768 (python-util-goto-line): New function.
770 2013-02-19 Michael Albinus <michael.albinus@gmx.de>
772 * eshell/em-unix.el (eshell/su): Require tramp.
773 (eshell/sudo): Require tramp. Remove now unnecessary check.
775 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Let-bind
776 `tramp-current-connection' in order to avoid an error when several
777 commands are invoked in a short time in eshell and friends.
779 2013-02-19 Stefan Monnier <monnier@iro.umontreal.ca>
781 Cleanup some of EIEIO's namespace.
782 * emacs-lisp/eieio.el (eieio--define-field-accessors): New macro.
783 Use it to define all the class-* and object-* field accessors (renamed
784 to eieio--class-* and eieio--object-*). Update all uses.
785 (eieio--class-num-slots, eieio--object-num-slots): Rename from
786 class-num-slots and object-num-slots.
787 (eieio--check-type): New macro.
788 (eieio-defclass, eieio-oref, eieio-oref-default, same-class-p)
789 (object-of-class-p, child-of-class-p, object-slots, class-slot-initarg)
790 (eieio-oset, eieio-oset-default, object-assoc, object-assoc-list)
791 (object-assoc-list-safe): Use it.
792 (eieio-defclass): Tighten regexp.
793 (eieio--defmethod): Use `memq'. Signal an error for unknown method kind.
794 Remove unreachable code.
795 (object-class-fast): Declare obsolete.
796 (eieio-class-name, eieio-object-name, eieio-object-set-name-string)
797 (eieio-object-class, eieio-object-class-name, eieio-class-parents)
798 (eieio-class-children, eieio-class-precedence-list, eieio-class-parent):
799 Rename from class-name, object-name, object-set-name-string,
800 object-class, object-class-name, class-parents, class-children,
801 class-precedence-list, class-parent; with obsolete alias.
802 (class-of, class-direct-superclasses, class-direct-subclasses):
804 (eieio-defmethod): Use `memq'; remove unreachable code.
805 * emacs-lisp/eieio-base.el (eieio-persistent-read):
806 * emacs-lisp/eieio-opt.el (eieio-class-button, eieio-describe-generic)
807 (eieio-browse-tree, eieio-browse): Use eieio--check-type.
810 2013-02-18 Michael Heerdegen <michael_heerdegen@web.de>
812 * emacs-lisp/eldoc.el (eldoc-highlight-function-argument):
813 Use font-lock-keyword-face for macros and special forms (bug#8345).
815 2013-02-17 Didier Verna <didier@didierverna.net>
817 * net/network-stream.el (network-stream-open-starttls):
818 Check that response to the starttls-command is non-nil. (Bug#13706)
820 2013-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
822 * font-lock.el (lisp-font-lock-keywords-1, lisp-font-lock-keywords-2):
823 Don't assume all identifier chars have syntax word.
824 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
825 Remove bar-not-symbol. Adjust callers.
826 (lisp-mode-variables): Don't set a font-lock-syntax-table.
828 2013-02-17 Leo Liu <sdl.web@gmail.com>
830 * net/rcirc.el (rcirc-keepalive): Fix invalid timer error.
832 2013-02-17 Glenn Morris <rgm@gnu.org>
834 * menu-bar.el (menu-bar-tools-menu): Fix case of EDE entry.
836 * image-mode.el (image-mode-map): Add image-dired menu entry.
838 * image-dired.el (tumme): Make this alias obsolete.
840 2013-02-16 Glenn Morris <rgm@gnu.org>
842 * image.el (image-animated-types): Remove.
843 (image-multi-frame-p): Rename from image-animated-p, and generalize.
844 (image-animated-p): Make obsolete alias.
845 (image-animate, image-nth-frame, image-animate-timeout):
846 Use image-multi-frame-p.
847 (image-animate-timeout): If no delay, use image-default-frame-delay.
848 * image-mode.el (image-mode, image-toggle-animation):
849 Use image-multi-frame-p. (Bug#763, bug#10739)
850 (image-mode): Adjust startup message for a multi-frame image.
852 * image-mode.el (image-mode-map): Give it a menu.
854 2013-02-16 Michael Albinus <michael.albinus@gmx.de>
856 * net/tramp-cache.el (tramp-connection-properties): New customer
858 (tramp-get-connection-property): Use it.
860 * net/tramp-compat.el (top): Require 'trampver.
862 * net/tramp-sh.el (tramp-remote-process-environment):
863 Set tramp-autoload cookie.
865 2013-02-16 Kevin Ryde <user42@zip.com.au>
867 * info-look.el (info-lookup-select-mode): If major-mode has no
868 info-lookup-alist entry then search up derived-mode-parent (bug#8660).
870 2013-02-16 Jambunathan K <kjambunathan@gmail.com>
872 * replace.el (read-regexp): Tighten the regexp that matches tag.
873 When tag is retrieved with `find-tag-default', use regexp that
874 matches tag at point. Also update docstring (Bug#13687).
876 2013-02-16 Eli Zaretskii <eliz@gnu.org>
878 * autorevert.el (auto-revert-notify-add-watch): With 'w32notify',
879 add watch for the file, not its parent directory, since w32notify
880 sets up the watch for the directory internally. (Bug#13725)
882 2013-02-16 Glenn Morris <rgm@gnu.org>
884 * image.el (image-default-frame-delay): New variable.
885 (image-animated-p): Use image-default-frame-delay.
886 (image-minimum-frame-delay): New constant.
887 (image-animate-timeout): Use image-minimum-frame-delay.
889 * image.el (image-nth-frame): New, split from image-animate-timeout.
890 (image-animate-timeout): Use image-nth-frame.
891 * image-mode.el (image-goto-frame, image-next-frame)
892 (image-previous-frame): New commands.
893 (image-mode-map): Add new frame commands.
895 2013-02-16 Jonas Bernoulli <jonas@bernoul.li>
897 * emacs-lisp/tabulated-list.el (tabulated-list-print-col):
898 If col-desc already has help-echo, use it. (Bug#13563)
900 2013-02-16 Glenn Morris <rgm@gnu.org>
902 * image.el (image-current-frame): New variable.
903 (image-animate-timeout): Set image-current-frame.
904 * image-mode.el (image-mode): For animated images,
905 display a frame counter via mode-line-process.
907 * font-lock.el (lisp-font-lock-keywords-1): Add defvar-local.
909 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
911 * simple.el (eval-expression): Let `exp' set the mark (bug#13724).
913 2013-02-15 Alan Mackenzie <acm@muc.de>
915 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): When a
916 global minor mode has been enabled, call the minor mode function
917 for a new buffer once only, after the major mode hook, whilst
918 allowing that hook explicitly to disable the minor mode.
919 (MODE-disable-in-buffer): New (generated) function.
920 (disable-MODE): New (generated) buffer local variable.
922 2013-02-15 Jambunathan K <kjambunathan@gmail.com>
924 * iswitchb.el (iswitchb-read-buffer): Bind `C-.' and `C-,' to
925 `iswitchb-next-match' and `iswitchb-prev-match' resply.
926 * ido.el (ido-init-completion-maps): Bind `C-.' and `C-,' to
927 `ido-next-match' and `ido-prev-match' resply.
928 * icomplete.el (icomplete-minibuffer-map): Unbind `C-s' and `C-r'.
929 Bind `C-.' and `C-,' to `icomplete-forward-completions' and
930 `icomplete-backward-completions' (Bug#13708).
932 2013-02-15 Glenn Morris <rgm@gnu.org>
934 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
936 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
938 * net/goto-addr.el (goto-address-fontify): Add start and end args.
939 (goto-address-fontify-region): Use them instead of narrowing, so
940 syntax-ppss has access to the whole buffer.
942 2013-02-15 Fabián Ezequiel Gallina <fgallina@cuca>
944 * progmodes/python.el: Explain how to restore "cc-mode"-like
945 forward-sexp movement in header documentation (Bug#13642).
946 (python-nav--forward-sexp): Behave like emacs-lisp-mode in
947 comments and strings (GH bug 114).
949 2013-02-15 Fabián Ezequiel Gallina <fgallina@cuca>
951 * progmodes/python.el (python-info-current-defun): Fix current
952 defun detection (Bug#13618).
954 2013-02-15 Chong Yidong <cyd@gnu.org>
956 * xml.el (xml-parse-string): Fix typo in handling of bad character
959 2013-02-15 Glenn Morris <rgm@gnu.org>
961 * play/fortune.el (fortune-compile): Simplify and fix previous change.
963 2013-02-14 Michael Albinus <michael.albinus@gmx.de>
965 * net/tramp.el (tramp-debug-message):
966 Add `tramp-condition-case-unless-debug'.
967 (tramp-debug-on-error): New defvar.
968 (tramp-condition-case-unless-debug): New defun.
969 (tramp-file-name-handler): Use it.
971 2013-02-14 Juri Linkov <juri@jurta.org>
973 * info.el (Info-isearch-filter): Treat non-nil values of
974 `search-invisible' including its default value `open'
975 like the value `t' to match hidden text. (Bug#13402)
977 2013-02-14 Glenn Morris <rgm@gnu.org>
979 * help-fns.el (find-lisp-object-file-name): Give special treatment
980 to all ~/.foo.elc files, not just ~/.emacs. (Bug#9007)
982 2013-02-14 David Biesack <sasdjb@d72933.na.sas.com> (tiny change)
984 * net/quickurl.el (quickurl-save-urls):
985 Ensure quickurl-urls is not truncated on printing. (Bug#9276)
987 2013-02-14 Dmitry Gutov <dgutov@yandex.ru>
989 * progmodes/ruby-mode.el (ruby-parse-partial): Don't increase
990 depth for unfinished percent literal. Not using it in the caller.
991 (ruby-move-to-block): Jump over multiline literals of all types,
992 ignoring code-looking contents inside them.
993 (ruby-add-log-current-method): Improve performance at the expense
994 of accuracy. `ruby-block-contains-point' is relatively slow, so
995 only use it for method and singleton class blocks.
997 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
999 Use ControlMaster where applicable. (Bug#13677)
1001 * net/tramp.el (tramp-ssh-controlmaster-template): New defvar,
1002 replacing `tramp-detect-ssh-controlmaster'.
1003 (tramp-default-method): Use it.
1005 * net/tramp-sh.el (tramp-methods) [scp, scp1, scp2, scpx, sftp]:
1006 [rsync, ssh, ssh1, ssh2, sshx]: Add ControlPath and ControlMaster
1008 [scpc, rsyncc]: Remove methods.
1009 (top): Remove completion functions for "scpc", "rsyncc", "ssh1_old"
1011 (tramp-do-copy-or-rename-file-out-of-band): Change trace level.
1012 (tramp-maybe-open-connection): Reuse tmpfile for ControlPath.
1014 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
1016 * emacs-lisp/package.el (package--initialized): Move before first use.
1018 2013-02-13 Jambunathan K <kjambunathan@gmail.com>
1020 * icomplete.el (icomplete-hide-common-prefix): New user option.
1021 (icomplete-first-match): New face.
1022 (icomplete-completions): Correct handling of "complete but not
1023 unique" (Bug#12638).
1025 2013-02-13 YE Qianchuan <stool.ye@gmail.com> (tiny change)
1027 * descr-text.el (describe-char): Display the script (bug#13698).
1029 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
1031 * tmm.el: Use lexical-binding and current-active-maps.
1032 (tmm-menubar): Use map-keymap and pcase.
1033 (tmm--completion-table): New function.
1034 (tmm-prompt): Use it to fix the menu order.
1035 (tmm-get-keybind): Use current-active-maps.
1037 2013-02-12 Christopher Schmidt <christopher@ch.ristopher.com>
1039 Add dired-hide-details-mode. (Bug#6799)
1041 * locate.el (locate-mode): Set parent mode property to dired-mode.
1043 * find-dired.el (find-dired): Call dired-insert-set-properties on
1044 initial information line. Set process mark on end of buffer.
1045 (find-dired-sentinel):
1046 Call dired-insert-set-properties on summary.
1048 * dired.el (dired-hide-details-hide-symlink-targets)
1049 (dired-hide-details-hide-information-lines): New options.
1050 (dired-insert-directory):
1051 Set properties after final treatment of output.
1052 (dired-insert-set-properties):
1053 Set dired-hide-details-* properties.
1054 (dired-mode-map): Bind dired-hide-details-mode.
1055 (dired-mode): Set buffer-invisibility-spec to a list.
1056 (dired-next-line): Skip hidden lines.
1057 (dired-previous-line): Use dired-next-line.
1058 (dired-hide-details-mode): New minor mode.
1059 (dired-hide-details-update-invisibility-spec): New function.
1061 2013-02-13 Glenn Morris <rgm@gnu.org>
1063 * play/yow.el: Move to obsolete/. (Bug#9384)
1065 2013-02-13 Juri Linkov <juri@jurta.org>
1067 * vc/ediff-util.el (ediff-recenter): Use `select-frame-set-input-focus'
1068 to select `ediff-control-frame' and set input focus correctly on Xfce.
1071 2013-02-13 Juri Linkov <juri@jurta.org>
1073 * image-mode.el (image-mode-map):
1074 * doc-view.el (doc-view-mode-map):
1075 * vc/ediff-util.el (ediff-setup-keymap):
1076 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
1078 2013-02-13 Dmitry Gutov <dgutov@yandex.ru>
1080 * progmodes/ruby-mode.el (ruby-move-to-block): Improve
1081 performance. Instead of recalculating indentation fully for each
1082 line, sum up indentation depth based only on visited lines.
1083 (ruby-parse-partial): Increase the depth after "do" even when END
1085 (ruby-parse-partial): When END is in the middle of a percent
1086 literal, increase the depth if the delimiter chars belong to the
1089 2013-02-13 Kirill A. Korinskiy <catap@catap.ru>
1091 * play/fortune.el (fortune-compile): Also make the compiled file
1092 if it does not exist at all, not just if it is old. (Bug#5338)
1094 2013-02-13 Glenn Morris <rgm@gnu.org>
1096 * emacs-lisp/package.el (package-menu-execute): Doc fix.
1098 2013-02-13 Yves Baumes <ybaumes@gmail.com> (tiny change)
1100 * lisp/emacs-lisp/package.el (package-menu-execute):
1101 Add optional noquery argument. (Bug#13625)
1103 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
1105 * net/ange-ftp.el (ange-ftp-make-directory): Don't raise an error,
1106 if DIR exists and PARENTS is non-nil.
1108 2013-02-13 Juanma Barranquero <lekktu@gmail.com>
1110 * progmodes/js.el (js--multi-line-declaration-indentation):
1111 Silence byte-compiler warning.
1113 2013-02-12 Michael Albinus <michael.albinus@gmx.de>
1115 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Rewrite.
1117 * net/tramp-compat.el (top): Declare `remote-file-name-inhibit-cache'
1118 only if it doesn't exist.
1120 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1123 2013-02-12 Tassilo Horn <tsdh@gnu.org>
1125 * doc-view.el (doc-view-odf->pdf-converter-soffice): Use separate
1126 UserInstallation when calling soffice to work around LibreOffice
1129 2013-02-12 Glenn Morris <rgm@gnu.org>
1131 * files.el (basic-save-buffer):
1132 Offer to create a non-existing directory. (Bug#3016)
1134 * calc/calc-graph.el (calc-graph-show-dumb):
1135 * calendar/calendar.el (calendar-mode-map):
1136 * cus-edit.el (custom-mode-map):
1137 * ehelp.el (electric-help-map):
1138 * emulation/vip.el (vip-mode-map):
1139 * epa.el (epa-key-list-mode-map):
1140 * info.el (Info-mode-map):
1141 * mail/rmail.el (rmail-mode-map):
1142 * mail/rmailsum.el (rmail-summary-mode-map):
1143 * man.el (Man-mode-map):
1144 * net/newst-plainview.el (newsticker-mode-map):
1145 * progmodes/cpp.el (cpp-edit-mode-map):
1146 * progmodes/grep.el (grep-mode-map):
1147 * progmodes/idlw-help.el (idlwave-help-mode-map):
1148 * simple.el (special-mode-map):
1149 * startup.el (splash-screen-keymap):
1150 * view.el (view-mode-map):
1151 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
1153 2013-02-11 Elias Pipping <pipping@lavabit.com>
1155 * doc-view.el (doc-view-current-cache-dir): Beware % escapes
1158 2013-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
1160 * cus-start.el (all): Remove inhibit-local-menu-bar-menus.
1162 2013-02-11 Glenn Morris <rgm@gnu.org>
1164 * vc/diff.el (diff-use-labels): New variable.
1165 (diff-no-select): Use --label rather than -L, and first
1166 check that it is supported. (Bug#11067)
1168 * files.el (enable-dir-local-variables): New variable.
1169 (hack-dir-local-variables): Respect enable-dir-local-variables.
1170 * tutorial.el (help-with-tutorial):
1171 Ignore directory-local variables. (Bug#11127)
1173 * vc/vc-svn.el (vc-svn-command): Move --non-interactive from here...
1174 (vc-svn-global-switches): ... to here. (Bug#13513)
1176 2013-02-10 Christopher Schmidt <christopher@ch.ristopher.com>
1178 * minibuf-eldef.el (minibuffer-default--in-prompt-regexps):
1179 Handle "foo (bar, default: xxx): " prompts.
1181 2013-02-10 Chong Yidong <cyd@gnu.org>
1183 * files.el (basic-save-buffer-1): Do not set
1184 buffer-file-coding-system-explicit (Bug#4533).
1186 * mail/emacsbug.el (report-emacs-bug): Change binding of
1187 report-emacs-bug-insert-to-mailer to C-c M-i (Bug#13510).
1189 2013-02-09 Jay Belanger <jay.p.belanger@gmail.com>
1191 * calc/calc.el (calc-allow-units-as-numbers): New variable.
1192 * calc/calc-units.el (calc-convert-units): Use new variable.
1194 2013-02-09 Eli Zaretskii <eliz@gnu.org>
1196 * subr.el (buffer-file-type, default-buffer-file-type): Remove.
1198 * net/ange-ftp.el (ange-ftp-insert-file-contents): Don't reference
1201 * mail/feedmail.el (feedmail-force-binary-write): Doc fix.
1202 (feedmail-run-the-queue, feedmail-dump-message-to-queue)
1203 (feedmail-send-it-immediately): Don't bind buffer-file-type, bind
1204 coding-system-for-write instead.
1206 * jka-compr.el (jka-compr-write-region): Don't bind
1209 * emacs-lisp/bytecomp.el (byte-compile-file): Don't bind
1212 * files.el (file-name-buffer-file-type-alist): Remove defvar.
1213 (insert-file-contents-literally): Remove reference to
1214 file-name-buffer-file-type-alist.
1216 * dos-w32.el (file-name-buffer-file-type-alist): Deprecate and
1218 (find-buffer-file-type-match, find-buffer-file-type): Remove.
1219 (find-buffer-file-type-coding-system): Remove references to
1220 find-buffer-file-type-match, find-buffer-file-type, and
1222 Don't put find-buffer-file-type-coding-system into
1223 file-coding-system-alist.
1224 (find-file-binary, find-file-text): Bind coding-system-for-read
1225 instead of file-name-buffer-file-type-alist.
1227 2013-02-09 Jambunathan K <kjambunathan@gmail.com>
1229 * doc-view.el: Use (and prefer) soffice as default ODF->PDF
1230 converter (Bug#13622).
1231 (doc-view-unoconv-program): Make obsolete alias.
1232 (doc-view-odf->pdf-converter-program): New variable.
1233 (doc-view-odf->pdf-converter-function): New variable.
1234 (doc-view-mode-p): Use it.
1235 (doc-view-odf->pdf-converter-unoconv):
1236 Rename from `doc-view-odf->pdf-converter-unoconv'.
1237 (doc-view-odf->pdf-converter-soffice): New function.
1238 (doc-view-convert-current-doc):
1239 Use `doc-view-odf->pdf-converter-function'.
1241 2013-02-09 Chong Yidong <cyd@gnu.org>
1243 * minibuffer.el (minibuffer-inactive-mode-map): Bind mouse-1 to
1244 view-echo-area-messages (Bug#13340).
1246 * help.el (view-echo-area-messages): Use display-buffer.
1248 * dired-x.el (dired-do-run-mail): Prompt for confirmation
1251 2013-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
1253 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
1254 Eval body right away, now that we do eager macroexpansion (bug#13605).
1256 * simple.el (end-of-buffer): Don't touch unrelated windows (bug#13466).
1257 (fundamental-mode): Use run-mode-hooks.
1259 * eshell/esh-proc.el (eshell/kill): Fix last change.
1260 * eshell/em-ls.el (eshell-ls-dir): Fix use of CL in last change.
1262 2013-02-08 Aidan Gauland <aidalgol@no8wireless.co.nz>
1264 * eshell/esh-proc.el (eshell/kill): Rewrite.
1266 * eshell/em-ls.el (show-almost-all): Declare.
1267 (eshell-do-ls): Add support for -A argument.
1269 2013-02-08 Jambunathan K <kjambunathan@gmail.com>
1271 * icomplete.el (icomplete-forward-completions)
1272 (icomplete-backward-completions): Handle corner case (bug#13602).
1274 2013-02-07 Michael Albinus <michael.albinus@gmx.de>
1276 * vc/vc-hooks.el (vc-find-file-hook): `buffer-file-truename' can
1277 be nil. Handle this. (Bug#13636)
1279 2013-02-07 Richard Stallman <rms@gnu.org>
1281 * mail/rmail.el (rmail-variables): Specify `no-conversion' for
1282 `save-buffer-coding-system'.
1284 2013-02-07 Alan Mackenzie <acm@muc.de>
1286 Fix bug in state cache mechanism. Remove 'BOD "strategy". Refactor.
1287 * progmodes/cc-engine.el (c-get-fallback-scan-pos): Remove.
1288 (c-parse-state-get-strategy): Don't return 'BOD any more.
1289 (c-append-lower-brace-pair-to-state-cache):
1290 Extra parameter HERE instead of narrowing.
1291 Widen to top of buffer before searching backwards for a brace pair.
1292 (c-state-push-any-brace-pair): Add HERE parameter to function call.
1293 (c-append-to-state-cache): Extra parameter HERE in place of narrowing.
1294 Narrow to parameter HERE, in place of being called narrowed.
1295 (c-remove-stale-state-cache): Extra parameter HERE in place of
1296 narrowing. Check there's an open brace in the cache before
1297 searching for its match.
1298 (c-invalidate-state-cache-1): Add HERE parameter to function call.
1299 (c-parse-state-1): Don't narrow here for 'forward strategy,
1300 instead passing extra parameter HERE to several functions.
1301 Remove 'BOD strategy.
1303 2013-02-06 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
1305 * emacs-lisp/package.el (describe-package-1): Tell what archive is
1306 used to install the package.
1308 2013-02-06 Glenn Morris <rgm@gnu.org>
1310 * vc/vc-hooks.el (vc-find-file-hook): Don't ask about following links
1311 if we can't get user input. (Bug#6567)
1313 * startup.el (command-line): If simple.el is missing,
1314 test and warn about for some possible causes.
1316 2013-02-05 Jan Djärv <jan.h.d@swipnet.se>
1318 * cus-start.el (all): Add ns-use-native-fullscreen.
1320 2013-02-05 Glenn Morris <rgm@gnu.org>
1322 * profiler.el (profiler-report-mode-map): Add a restart menu entry.
1324 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
1325 Fix directory creation in fallback case.
1327 2013-02-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1329 * vc/vc.el (vc-next-action): Fix inf-loop (bug#13610).
1330 (vc-update-change-log): Use dolist.
1332 2013-02-04 Chong Yidong <cyd@gnu.org>
1334 * thingatpt.el: Rewrite the URL detection routines, absorbing some
1336 (thing-at-point-beginning-of-url-regexp): New var.
1337 (thing-at-point-uri-schemes): Update list of URI schemes.
1338 (thing-at-point-url-regexp): Variable deleted.
1339 (thing-at-point-markedup-url-regexp): Disallow newlines.
1340 (thing-at-point-newsgroup-regexp)
1341 (thing-at-point-newsgroup-heads)
1342 (thing-at-point-default-mail-uri-scheme): New variables.
1343 (thing-at-point-bounds-of-url-at-point): Rewrite. Use ffap's
1344 method to find the possible bounds of the URI at point.
1345 New optional argument to find ill-formed URIs.
1346 (thing-at-point-url-at-point): Rewrite. New arguments for finding
1347 ill-formed URIs. Use thing-at-point-bounds-of-url-at-point, and
1348 the scheme-adding heuristics from ffap-url-at-point.
1349 (thing-at-point--bounds-of-well-formed-url): New function.
1350 Do parens matching to decide whether to include parens in the URI
1353 * ffap.el: Require thingatpt.
1354 (ffap-url-at-point): Delegate URI detection to thing-at-point.
1355 All URI-valid characters are now recognized (Bug#5673).
1356 (ffap-string-at-point): Use use-region-p.
1357 (ffap-url-regexp): Extra character is handled by thing-at-point.
1358 (ffap-string-at-point-mode-alist): Allow parentheses.
1359 (ffap-newsgroup-regexp, ffap-newsgroup-heads, ffap-newsgroup-p):
1360 Convert to aliases; code moved to thingatpt.el.
1361 (ffap-gnus-hook): Use setq-local.
1363 2013-02-04 Glenn Morris <rgm@gnu.org>
1365 * emacs-lisp/ert.el (ert--explain-format-atom):
1366 Don't try to print non-characters as characters. (Bug#13543)
1368 2013-02-03 Michael Albinus <michael.albinus@gmx.de>
1370 * net/tramp.el (tramp-debug-message): Extend function exclude list.
1371 (tramp-backtrace): New defun.
1372 (tramp-handle-insert-file-contents): Use `visit' when inserting
1375 * net/tramp-sh.el (tramp-sh-handle-set-visited-file-modtime):
1376 Use `remote-file-name-inhibit-cache'.
1378 2013-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
1380 * progmodes/cperl-mode.el (cperl-mode): Avoid byte-compile warning
1383 * subr.el (internal--called-interactively-p--get-frame): Avoid filling
1384 current-load-list (bug#13366).
1386 2013-02-02 Christopher Schmidt <christopher@ch.ristopher.com>
1388 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1389 Identify g++ template instantiation trace. (Bug#12287)
1390 (compilation-mode-hook, compilation-start-hook)
1391 (compilation-window-height): Simplify docstrings. (Bug#13379)
1393 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
1395 * mouse.el (mouse-drag-track): Always deactivate the mark before
1396 running the final event's command since that command is in charge of
1397 activating the mark if needed (bug#13523).
1399 2013-02-02 Juri Linkov <juri@jurta.org>
1401 * replace.el (perform-replace): Move let-bindings of isearch-*
1402 variables deeper to the loop that searches for the next match.
1403 Add bindings for `isearch-nonincremental' and `isearch-adjusted'.
1404 Use `isearch-search-fun-default' instead of `isearch-search-fun'.
1407 * isearch.el (isearch-search-fun-default): Check for null
1408 first element of isearch-cmds as a precaution when it's used
1409 with inactive isearch.
1411 2013-02-02 Andrew W. Nosenko <andrew.w.nosenko@gmail.com> (tiny change)
1413 * net/tramp.el (tramp-check-for-regexp): Avoid "Args out of range"
1414 error when buffer in question is narrowed so position 1 is out of
1417 2013-02-02 Glenn Morris <rgm@gnu.org>
1419 * textmodes/remember.el (remember-clipboard): Doc fix.
1421 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
1423 * progmodes/make-mode.el (makefile-fill-paragraph): Reset syntax-table
1424 properties (bug#13179).
1426 2013-02-02 Juri Linkov <juri@jurta.org>
1428 * progmodes/grep.el (grep-regexp-alist): Use variable grep-match-face
1429 instead of hard-coded default face `match'. (Bug#9438)
1431 2012-02-01 Christopher Schmidt <christopher@ch.ristopher.com>
1433 * vc/vc-arch.el (vc-arch-registered):
1434 * vc/vc-bzr.el (vc-bzr-registered):
1435 * vc/vc-cvs.el (vc-cvs-registered):
1436 * vc/vc-git.el (vc-git-registered):
1437 * vc/vc-hg.el (vc-hg-registered):
1438 * vc/vc-mtn.el (vc-mtn-registered):
1439 * vc/vc-svn.el (vc-svn-registered): Suppress load messages.
1442 * info.el (Info-next-reference, Info-prev-reference): Add numeric
1443 prefix argument. (Bug#11656)
1445 2013-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
1447 * help-fns.el (help-split-fundoc): Don't insert byte-compiled body.
1449 2013-02-01 Glenn Morris <rgm@gnu.org>
1451 * vc/vc-hooks.el (vc-menu-map): Disable vc-rollback menu item
1452 if the backend is known not to support it.
1454 * imenu.el (imenu-default-create-index-function):
1455 Tweak infinite loop test to check for forward motion as well as none.
1457 2013-02-01 Alex Harsanyi <AlexHarsanyi@gmail.com>
1459 * net/soap-client.el (soap-invoke): Encode the string for
1460 `url-request-data' as UTF-8.
1461 Fixes <http://code.google.com/p/emacs-soap-client/issues/detail?id=16>.
1463 2013-02-01 Glenn Morris <rgm@gnu.org>
1465 * calc/calc-help.el (calc-view-news): Use view-emacs-news.
1467 * calc/README, calc/README.prev: Rename/merge to etc/CALC-NEWS.
1469 2013-01-31 Michael Albinus <michael.albinus@gmx.de>
1471 * net/tramp.el (tramp-tramp-file-p): Comment check for
1472 `string-as-unibyte'. The function does not exist on XEmacs, and
1473 likely we need another approach.
1475 * net/tramp-sh.el (tramp-compute-multi-hops): Check, whether
1476 `tramp-gw-*' variables are bound.
1478 2013-01-31 Glenn Morris <rgm@gnu.org>
1480 * files.el (basic-save-buffer-2): Choose coding system for
1481 writing the file before backing it up, to reduce delay between
1482 backing up and writing the new version. (Bug#13522)
1484 2013-01-31 Michal Nazarewicz <mina86@mina86.com>
1486 * simple.el (cycle-spacing): New command.
1487 (just-one-space): Use it.
1489 2013-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
1491 * progmodes/opascal.el: Rename from delphi.el. Use lexical-binding.
1492 (opascal-newline-always-indents): Remove custom.
1493 (opascal-tab, opascal-newline): Remove commands.
1494 (opascal-new-comment-line): Insert "\n" instead of calling newline.
1495 (opascal-mode-map): Keep default bindings for RET and TAB and DEL.
1496 (opascal-save-match-data): Remove, use save-match-data instead.
1497 (opascal-save-state): Use with-silent-modifications.
1499 * progmodes/pascal.el (pascal-mode-syntax-table): Accept //..\n comments
1502 2013-01-30 Juri Linkov <juri@jurta.org>
1504 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
1505 Use fullboth as an alias for fullscreen. Suggested by Jan Djärv in
1506 <http://lists.gnu.org/archive/html/emacs-devel/2013-01/msg00203.html>.
1508 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
1510 * progmodes/make-mode.el (makefile-backslash-region): Don't compute
1511 column if we're just deleting the backslashes.
1512 (makefile-fill-paragraph): Use eolp.
1514 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
1516 * autorevert.el (auto-revert-use-notify): Fix docstring.
1518 2013-01-30 Leo Liu <sdl.web@gmail.com>
1520 * imenu.el (imenu--truncate-items): Fix subalist checking (bug#13576).
1522 2013-01-30 Glenn Morris <rgm@gnu.org>
1524 * mouse.el (mouse-drag-line): Avoid pushing same event onto
1525 unread-command-events twice in some cases. This tries to implement
1526 the 2012-07-26 changes in a different way. (Bug#13560)
1528 2013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
1530 * progmodes/python.el
1531 (python-pdbtrack-comint-output-filter-function): Enhancements on
1532 stacktrace detection. (thanks @gnovak)
1534 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
1536 * jit-lock.el (jit-lock-stealth-chunk-start): Don't widen (bug#13542).
1537 (jit-lock-mode, jit-lock-functions, jit-lock-context-unfontify-pos):
1539 (jit-lock-register): Use setq-local.
1541 2013-01-30 Jay Belanger <jay.p.belanger@gmail.com>
1543 * calc-units.el (math-default-units-table): Remove initial value.
1544 (calc-convert-units): Treat expressions where all the units cancel as
1545 if they didn't have units.
1547 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
1549 * net/tramp.el (tramp-process-connection-type): Fix docstring.
1550 (tramp-completion-reread-directory-timeout): Fix type.
1551 (tramp-connection-min-time-diff): New defcustom.
1553 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
1555 2013-01-30 Glenn Morris <rgm@gnu.org>
1557 * imenu.el (imenu-default-create-index-function):
1558 Put back a version of the infinite loop test removed 2013-01-23.
1560 2013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
1562 * progmodes/python.el (python-shell-parse-command):
1563 Find python-shell-interpreter with modified environment.
1565 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
1567 * emacs-lisp/cl.el (cl-set-getf): Add compatibility alias.
1569 2013-01-29 Alan Mackenzie <acm@muc.de>
1571 Amend to fontify /regexp/s in actions correctly.
1572 * cc-awk.el (c-awk-harmless-char-re, c-awk-harmless-string*-re):
1573 (c-awk-harmless-string*-here-re): Braces, parens and semicolons
1574 are no longer included.
1575 (c-awk-harmless-line-char-re, c-awk-harmless-line-string*-re):
1576 What used to be these variables without "-line" in the name.
1577 (c-awk-neutral-re): { is no longer neutral. Escaped newlines now are.
1578 (c-awk-non-arith-op-bra-re): Now also matches {.
1579 (c-awk-pre-exp-alphanum-kwd-re): New regexp to match "print",
1580 "return", and "case".
1581 (c-awk-kwd-regexp-sign-re): New, to match "print", etc., followed
1583 (c-awk-syntax-tablify-/): Check special cases "print /re/", etc.
1584 (c-awk-set-syntax-table-properties): Extend FSM to handle {,},(,),;.
1586 2013-01-29 Michael Albinus <michael.albinus@gmx.de>
1588 * autorevert.el (auto-revert-use-notify):
1589 Use `custom-initialize-default' for initialization. (Bug#13583)
1591 * net/ange-ftp.el (ange-ftp-skip-msgs): Add another message.
1593 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1594 Catch `suppress'. Otherwise, `tramp-run-real-handler' might be called
1595 in `tramp-file-name-handler'.
1596 (tramp-gw-tunnel-method, tramp-gw-socks-method): Declare for
1598 (tramp-compute-multi-hops): Check, whether
1599 `tramp-gw-tunnel-method' and `tramp-gw-socks-method' are non-nil.
1601 2013-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
1603 * hi-lock.el (hi-lock-unface-buffer): Don't assume `face' is a symbol
1606 2013-01-27 Dmitry Gutov <dgutov@yandex.ru>
1608 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove some
1609 checks made superfluous by the \_< operator.
1610 * progmodes/ruby-mode.el (ruby-move-to-block): Work with (maybe
1611 temporarily) broken indentation.
1612 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1613 Highlight nested constants, too. \_< broke that.
1615 2013-01-27 Nobuyoshi Nakada <nobu@ruby-lang.org>
1617 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Use "\\_<"
1620 2013-01-27 Michael Albinus <michael.albinus@gmx.de>
1622 * autorevert.el (auto-revert-handler): Notifications which result
1623 from a saved file shall not be taken into account. (Bug#13557)
1625 2013-01-26 Andreas Schwab <schwab@linux-m68k.org>
1627 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Add optional
1628 parameter BAR-NOT-SYMBOL to control syntax of | for font-lock.
1629 (lisp-mode): Pass t for it. (Bug#13556)
1631 2013-01-25 Alan Mackenzie <acm@muc.de>
1633 AWK Mode: Fix indentation bug at top level. Bug #12274.
1635 * progmodes/cc-engine.el (c-guess-basic-syntax): Move CASE 5P to
1636 just before CASE 5D.
1638 2013-01-25 Dmitry Antipov <dmantipov@yandex.ru>
1640 * net/socks.el (socks-nslookup-host): Use string-to-number.
1642 2013-01-25 Michael Albinus <michael.albinus@gmx.de>
1644 * autorevert.el (auto-revert-remote-files)
1645 (auto-revert-notify-exclude-dir-regexp): New defcustoms.
1646 (auto-revert-notify-enabled, auto-revert-use-notify)
1647 (auto-revert-notify-watch-descriptor-hash-list)
1648 (auto-revert-notify-modified-p, auto-revert-notify-event-p)
1649 (auto-revert-notify-event-descriptor)
1650 (auto-revert-notify-event-action)
1651 (auto-revert-notify-event-file-name): Doc fix.
1652 (global-auto-revert-mode): Reorder checks.
1653 (auto-revert-notify-rm-watch): Respect changed values of
1654 `auto-revert-notify-watch-descriptor-hash-list'.
1655 (auto-revert-notify-add-watch): Check for
1656 `auto-revert-notify-exclude-dir-regexp'. Adapt filters for
1657 `inotify-add-watch'. Watch `default-directory' instead of
1658 `buffer-file-name'. `auto-revert-notify-watch-descriptor-hash-list'
1659 has a changed meaning now. (Bug#13540)
1660 (auto-revert-notify-handler): Change implementation wrt events
1661 returning from a directory.
1662 (auto-revert-handler): Reorder implementation for checks of remote
1664 (auto-revert-buffers): Fix parentheses error.
1666 2013-01-25 Fabián Ezequiel Gallina <fgallina@cuca>
1668 * progmodes/python.el: Enhancements to header documentation about
1669 skeletons. (Bug#5716)
1671 * imenu.el (imenu-default-create-index-function): Remove useless
1672 infinite loop check. (Bug#13438)
1674 2013-01-25 Alan Mackenzie <acm@muc.de>
1676 Fix a bug in the state cache mechanism. Refactor this a bit.
1678 * progmodes/cc-engine.el (c-parse-state-get-strategy): Remove the
1679 `cache-pos' element from the return value.
1680 (c-append-lower-brace-pair-to-state-cache): "Narrow" to end of
1681 buffer to enable proper searching from beyond HERE. Amend the
1682 test for detecting the sought brace pair. Amend the value written
1683 to the "brace desert cache" when the brace isn't found.
1684 (c-remove-stale-state-cache): Rename `good-pos' to `start-point',
1685 and several other variables analogously.
1686 (c-remove-stale-state-cache-backwards): Change `cache-pos' from a
1687 parameter to a locally calculated variable.
1688 (c-parse-state-1): Change the calling conventions to the two
1689 defuns involving `cache-pos'.
1691 2013-01-25 Chong Yidong <cyd@gnu.org>
1693 * xml.el (xml-entity-or-char-ref-re): Fix regexp.
1695 2013-01-24 Aaron Ecay <aaronecay@gmail.com> (tiny change)
1697 * paren.el (show-paren-function): Make sure to set 'priority and
1698 'face only if the overlay does exist.
1700 2013-01-24 Michael Albinus <michael.albinus@gmx.de>
1702 * net/tramp.el (tramp-tramp-file-p): Check, whether NAME is unibyte.
1704 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Do not suppress
1706 (tramp-sh-handle-set-file-acl): Improve error checking.
1708 2013-01-24 Dmitry Antipov <dmantipov@yandex.ru>
1710 * doc-view.el (doc-view-display): Force mode line update until all
1711 document is converted. Suggested by Stefan Monnier (Bug#13164).
1713 2013-01-23 Bastien Guerry <bzg@gnu.org>
1715 * paren.el (show-paren-function): Make sure an overlay exists
1716 before trying to delete it. Also use `pos' as a position only
1717 when it is an integer.
1719 2013-01-23 Dmitry Antipov <dmantipov@yandex.ru>
1721 * play/gametree.el (gametree-break-line-here): Use point-marker.
1723 2013-01-22 Michael Albinus <michael.albinus@gmx.de>
1725 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
1726 Mark descriptive parts with `display' property.
1728 2013-01-21 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1730 * textmodes/ispell.el (ispell-hunspell-dictionary-equivs-alist):
1731 New variable to map standard dict names to hunspell ones.
1732 (ispell-set-spellchecker-params): Make sure specific dict names
1733 are used for standard dicts with hunspell.
1735 2013-01-21 Tassilo Horn <tsdh@gnu.org>
1737 * textmodes/reftex-cite.el (reftex-format-citation): Add format
1738 chars for note (%N) and url (%U).
1739 * textmodes/reftex-vars.el (reftex-cite-format): Document them.
1741 2013-01-21 Juri Linkov <juri@jurta.org>
1743 * frame.el: Bind `f10' in `esc-map' to `toggle-frame-maximized'
1744 in addition to existing separate binding `meta f10' in `global-map'.
1747 2013-01-21 Michael Albinus <michael.albinus@gmx.de>
1749 Improve XEmacs compatibility.
1751 * net/tramp.el (tramp-replace-environment-variables): Make it a defun.
1753 * net/tramp-adb.el (top): Require `time-date'.
1754 (tramp-adb-ls-output-time-less-p): Use `tramp-time-less-p'.
1755 (tramp-adb-handle-copy-file, tramp-adb-handle-rename-file):
1756 Use `tramp-file-name-handler'.
1757 (tramp-adb-maybe-open-connection):
1758 Use `tramp-compat-set-process-query-on-exit-flag'.
1760 * net/tramp-sh.el (tramp-sh-handle-file-acl):
1761 Use `tramp-compat-funcall'.
1763 * net/tramp-smb.el (tramp-smb-handle-file-acl): Use `looking-at' and
1764 `tramp-compat-funcall'.
1766 2013-01-21 Jürgen Hötzel <juergen@archlinux.org>
1768 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Complete
1769 reimplementation using "adb shell command ..." instead of running
1770 remote shell interactively.
1772 2013-01-20 Glenn Morris <rgm@gnu.org>
1774 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
1775 Add native profiler menu entries.
1777 * profiler.el (profiler-running-p): New function.
1778 (profiler-cpu-profile): Use profiler-running-p.
1779 (profiler-report-mode-map): Add some more menu entries.
1781 2013-01-19 Glenn Morris <rgm@gnu.org>
1783 * mail/unrmail.el (unrmail): Do not mangle the mbox From line;
1784 fixes 2012-12-07 change. (Bug#13499)
1786 2013-01-19 Leo Liu <sdl.web@gmail.com>
1788 * dired.el (dired-get-marked-files): Prune erroneous values due to
1789 last change. (Bug#13152)
1791 2013-01-19 Glenn Morris <rgm@gnu.org>
1793 * progmodes/etags.el (tags-table-check-computed-list):
1794 Preserve point in tags buffer. (Bug#13412)
1796 * emacs-lisp/lisp-mode.el (lisp-indent-function): Doc fix.
1798 2013-01-19 Christian Wittern <cwittern@gmail.com> (tiny change)
1799 Chong Yidong <cyd@gnu.org>
1801 * image-mode.el (image-next-file, image-previous-file):
1802 New commands (Bug#8453).
1803 (image-mode-map): Bind them to n and p.
1804 (image-mode--images-in-directory): New helper function.
1806 2013-01-19 Chong Yidong <cyd@gnu.org>
1808 * image-mode.el (image-mode-fit-frame): Add a frame argument.
1809 Suggested by Drew Adams (Bug#7730). Handle window decorations;
1810 save and restore the old window configuration.
1812 2013-01-18 Leo Liu <sdl.web@gmail.com>
1814 * progmodes/js.el: Tweak autoload cookie for alias.
1816 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
1818 * autorevert.el (auto-revert-notify-watch-descriptor): Make it
1819 buffer local, again. This was lost with the fix on 2013-01-12.
1821 2013-01-17 Jürgen Hötzel <juergen@archlinux.org>
1823 * eshell/esh-util.el (eshell-path-env): Make it buffer local, in
1824 order to support several eshell buffers in parallel.
1826 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
1828 * autorevert.el (auto-revert-use-notify): In the :set function, do
1829 not modify `kill-buffer-hook'.
1830 (auto-revert-notify-rm-watch):
1831 Remove `auto-revert-notify-rm-watch' from `kill-buffer-hook'.
1832 (auto-revert-notify-add-watch): Do not call
1833 `auto-revert-notify-rm-watch', but add it to a buffer local
1836 2013-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
1838 * emacs-lisp/trace.el (trace--read-args): Use a closure and an honest
1839 call to `eval' rather than a backquoted lambda.
1841 2013-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
1843 * emacs-lisp/nadvice.el (advice--tweak): Make it possible for `tweak'
1844 to return an explicit nil.
1845 (advice--remove-function): Change accordingly.
1847 * emacs-lisp/advice.el (ad-preactivate-advice): Adjust the cleanup to
1848 the use of nadvice.el.
1850 * progmodes/which-func.el (which-function): Silence imenu errors
1853 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
1855 * progmodes/sql.el: (sql-imenu-generic-expression):
1856 (sql-mode-font-lock-object-name): Match schema qualified names.
1857 (sql-connect): Use string keys.
1858 (sql-product-interactive): Wait for interpreter prompt.
1859 (sql-comint-oracle): Set process coding based on NLS_LANG.
1861 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
1863 * progmodes/sql.el (sql-output-to-send): Remove, unused.
1864 (sql-interactive-remove-continuation-prompt):
1865 (sql-send-magic-terminator, sql-interactive-mode): Remove references.
1867 2013-01-14 Leo Liu <sdl.web@gmail.com>
1869 * calendar/calendar.el (calendar-redraw): Sync window-point and point.
1872 2013-01-14 Glenn Morris <rgm@gnu.org>
1874 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1875 Fix interpretation of gnu line.col1-col2 format. (Bug#13335)
1877 2013-01-13 Fabián Ezequiel Gallina <fgallina@cuca>
1879 * progmodes/python.el (python-nav-end-of-statement):
1880 Fix cornercase when handling multiline strings.
1882 2013-01-13 Richard Stallman <rms@gnu.org>
1884 * mail/sendmail.el (mail-position-on-field): Add doc string.
1886 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
1887 Get current message boundaries and pass them to
1888 message-forward-make-body-mime. Minor style changes.
1890 2013-01-13 Eli Zaretskii <eliz@gnu.org>
1892 * cus-start.el (all): Avoid warnings about
1893 scroll-bar-adjust-thumb-portion on platforms where it is not defined.
1895 2013-01-11 Jan Djärv <jan.h.d@swipnet.se>
1897 * cus-start.el (all): Add scroll-bar-adjust-thumb-portion.
1899 2013-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
1901 * jit-lock.el (jit-lock-debug-mode): New minor mode.
1902 (jit-lock--debug-fontifying): New var.
1903 (jit-lock--debug-fontify): New function.
1904 * subr.el (condition-case-unless-debug): Don't prevent catching the
1905 error, just let the debbugger run.
1906 * emacs-lisp/timer.el (timer-event-handler): Don't prevent debugging
1907 timer code and don't drop errors silently.
1909 2013-01-12 Michael Albinus <michael.albinus@gmx.de>
1911 * autorevert.el (auto-revert-notify-watch-descriptor): Give it
1912 `permanent-local' property.
1913 (auto-revert-notify-handler): Use `file-equal-p'.
1915 2013-01-12 Eli Zaretskii <eliz@gnu.org>
1917 * autorevert.el (auto-revert-notify-handler): Fix filtering of
1918 file notification by ACTION. For filtering by file name, compare
1919 only the non-directory part of the file name.
1921 2013-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
1923 * autorevert.el: Use cl-lib instead of cl.
1925 * vc/vc-bzr.el (vc-bzr--sanitize-header): New function (bug#13307).
1926 (vc-bzr-checkin): Use it.
1927 * vc/log-edit.el (log-edit-extract-headers): Don't presume FUNCTION
1928 will preserve match-data.
1930 2013-01-11 Felix H. Dahlke <fhd@ubercode.de>
1932 * progmodes/js.el: Fix multiline declarations's indentation (bug#8576).
1933 (js--declaration-keyword-re): New var.
1934 (js--multi-line-declaration-indentation): New function.
1935 (js--proper-indentation): Use it.
1937 2013-01-11 Aaron S. Hawley <Aaron.Hawley@vtinfo.com>
1939 * calc/calc.el (calc-highlight-selections-with-faces)
1941 * comint.el (comint-history-isearch-message):
1942 * emacs-lisp/edebug.el (edebug-read, edebug-eval-defun):
1943 * ffap.el (ffap-string-at-point-region, ffap-next)
1944 (ffap-string-at-point, ffap-string-around)
1945 (ffap-copy-string-as-kill, ffap-highlight-overlay)
1947 * font-lock.el (font-lock-keywords-alist)
1948 (font-lock-removed-keywords-alist):
1949 * help-mode.el (help-xref-symbol-regexp):
1950 * info.el (Info-find-emacs-command-nodes):
1951 * international/mule.el (add-to-coding-system-list):
1952 * isearch.el (isearch-message-function, isearch-fail-pos):
1953 * misearch.el (multi-isearch-next-buffer-function):
1954 * newcomment.el (comment-box):
1955 * printing.el (pr-txt-printer-alist, pr-ps-printer-alist)
1956 (pr-setting-database):
1957 * progmodes/cc-fonts.el (c-font-lock-keywords-3)
1958 (c++-font-lock-keywords-3, objc-font-lock-keywords-3)
1959 (java-font-lock-keywords-3, idl-font-lock-keywords-3)
1960 (pike-font-lock-keywords-3):
1961 * progmodes/compile.el (compile):
1962 * progmodes/etags.el (tags-table-files)
1963 (tags-table-files-function, tags-included-tables-function):
1964 * progmodes/gdb-mi.el (gdb, gdb-setup-windows)
1965 (gdb-restore-windows):
1966 * ps-print.el (ps-even-or-odd-pages, ps-spool-buffer-with-faces)
1967 (ps-n-up-filling-database):
1968 * server.el (server-buffer, server-log):
1969 * simple.el (newline, delete-backward-char, delete-forward-char)
1970 (minibuffer-history-isearch-message, kill-line, track-eol)
1971 (temporary-goal-column):
1972 * textmodes/flyspell.el (flyspell-mark-duplications-flag)
1973 (flyspell-default-deplacement-commands):
1974 * textmodes/ispell.el (ispell-accept-output):
1975 * textmodes/sgml-mode.el (html-tag-help):
1976 * vc/compare-w.el (compare-ignore-whitespace)
1977 (compare-ignore-case, compare-windows-dehighlight):
1978 * vc/diff.el (diff):
1979 * whitespace.el (whitespace-point)
1980 (whitespace-font-lock-refontify, whitespace-bob-marker)
1981 (whitespace-eob-marker): Fix ambiguous doc string cross-reference(s).
1983 2013-01-11 Michael Albinus <michael.albinus@gmx.de>
1985 * autorevert.el (top): Require 'cl in order to pacify byte compiler.
1986 (auto-revert-notify-rm-watch): Ignore errors.
1987 (auto-revert-notify-add-watch): Ignore errors. Use '(modify) for
1988 inotify, and '(size last-write-time) for w32notify.
1989 Set buffer-local `auto-revert-use-notify' to nil when adding a file
1990 watch fails - this is a fallback to the file modification check.
1991 (auto-revert-notify-event-p, auto-revert-notify-event-descriptor)
1992 (auto-revert-notify-event-action)
1993 (auto-revert-notify-event-file-name): New defuns.
1994 (auto-revert-notify-handler): Use them. Implement first
1995 plausibility checks.
1996 (auto-revert-handler): Handle also `auto-revert-tail-mode'.
1998 2013-01-11 Julien Danjou <julien@danjou.info>
2000 * color.el (color-rgb-to-hsv): Fix conversion computing in case min and
2001 max are almost equal. Also return the correct value for V which is
2002 already between 0 and 1.
2004 2013-01-11 Dmitry Antipov <dmantipov@yandex.ru>
2006 * emacs-lisp/ert.el (ert-run-test): Use point-max-marker.
2008 2013-01-11 Eli Zaretskii <eliz@gnu.org>
2010 * autorevert.el (auto-revert-notify-rm-watch)
2011 (auto-revert-notify-add-watch): Fix typos in w32notify function
2014 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
2016 * autorevert.el (auto-revert-notify-enabled): Move up.
2017 (auto-revert-use-notify): New defcustom.
2018 (auto-revert-mode, global-auto-revert-mode)
2019 (auto-revert-notify-add-watch, auto-revert-handler)
2020 (auto-revert-buffers): Use `auto-revert-use-notify' instead of
2021 `auto-revert-notify-enabled'.
2023 2013-01-10 Elias Pipping <pipping@exherbo.org>
2025 * files.el (auto-mode-alist): Use doc-view for djvu files (bug#13164).
2026 * doc-view.el (doc-view-document->bitmap):
2027 Use doc-view-single-page-converter-function instead of
2028 single-page-converter arg; adjust callers.
2030 2013-01-10 Feng Li <fengli@gmail.com> (tiny change)
2032 * progmodes/which-func.el (which-function): Understand Semantic's use
2033 of overlays in imenu--index-alist.
2035 2013-01-10 Wolfgang Jenkner <wjenkner@inode.at>
2037 * man.el: Handle different "man -k" behaviors (bug#13160). Use utf-8.
2038 (Man-man-k-use-anchor): New var.
2039 (Man-parse-man-k): New function.
2040 (Man-completion-table): Use it.
2041 (man): Flush the completion cache between uses.
2043 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
2045 * autorevert.el: Add file watch support.
2046 (auto-revert-notify-enabled): New defconst.
2047 (auto-revert-notify-watch-descriptor-hash-list)
2048 (auto-revert-notify-watch-descriptor)
2049 (auto-revert-notify-modified-p): New defvars.
2050 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
2051 (auto-revert-notify-handler): New defuns.
2052 (auto-revert-mode, global-auto-revert-mode): Remove file watches
2053 when mode is disabled.
2054 (auto-revert-handler): Check for `auto-revert-notify-modified-p'.
2055 (auto-revert-buffers): Add file watches for active buffers.
2057 2013-01-10 Dmitry Antipov <dmantipov@yandex.ru>
2059 * cus-start.el (toplevel): Only allow float values for
2060 scroll-up-aggressively and scroll-down-aggressively.
2061 Allow any number for line-spacing.
2063 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
2065 * doc-view.el (doc-view-pdfdraw-program): Allow "pdfdraw" name.
2066 (doc-view-pdf->png-converter-function): Use mupdf if available.
2067 (doc-view-djvu->png-converter-function)
2068 (doc-view-ps->png-converter-function): Remove.
2069 (doc-view--image-file-pattern): Replace doc-view--image-file-extension.
2070 (doc-view-goto-page, doc-view-convert-current-doc, doc-view-display)
2071 (doc-view-already-converted-p): Adjust accordingly.
2072 (doc-view-mode-p): Simplify.
2073 (doc-view-enlarge): Use setq-local.
2074 (doc-view-pdf->png-converter-ghostscript)
2075 (doc-view-djvu->png-converter-ddjvu)
2076 (doc-view-pdf->png-converter-mupdf): Rework to call
2077 doc-view-start-process directly.
2078 (doc-view-pdf/ps->png): Simplify accordingly.
2079 (doc-view-pdf->png-1, doc-view-djvu->png-1): Remove.
2080 (doc-view-document->bitmap): Rename from doc-view-document->png.
2081 (doc-view-convert-current-doc): Merge pdf and djvu cases.
2082 (doc-view-set-slice-from-bounding-box): Fix completion table.
2083 (doc-view-mode): Use add-hook for after-revert-hook.
2085 2013-01-10 Glenn Morris <rgm@gnu.org>
2087 * emacs-lisp/authors.el (authors-ignored-files)
2088 (authors-valid-file-names, authors-renamed-files-alist):
2089 Add some more entries.
2091 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
2093 * image-mode.el (image-mode-winprops): Don't throw away the fallback
2094 `t' pseudo-window entry.
2096 2013-01-10 Alan Mackenzie <acm@muc.de>
2098 Fix bugs in the c-parse-state mechanism. Reuse some markers
2099 instead of continually generating new ones.
2101 * progmodes/cc-engine.el (c-state-old-cpp-beg-marker)
2102 (c-state-old-cpp-end-marker): New variables.
2103 (c-append-lower-brace-pair-to-state-cache): Start a backward
2104 search for "}" definitively outside CPP constructs.
2105 (c-remove-stale-state-cache): Inform the caller of a need to
2106 search back for a brace pair in certain circumstances.
2107 (c-state-maybe-marker): New macro.
2108 (c-parse-state): Reuse markers when appropriate.
2110 2013-01-10 Glenn Morris <rgm@gnu.org>
2112 * simple.el (execute-extended-command): Doc fix.
2113 Bind prefix-arg around read-extended-command, for prompt. (Bug#13395)
2115 2013-01-10 Chong Yidong <cyd@gnu.org>
2117 * faces.el (read-face-name): Doc fix.
2119 2013-01-10 Roland Winkler <winkler@gnu.org>
2121 * emacs-lisp/crm.el: Allow any regexp for separators.
2122 (crm-default-separator): All spaces around the default comma separator.
2123 (crm--completion-command): New macro.
2124 (crm-completion-help, crm-complete, crm-complete-word): Use it.
2125 (crm-complete-and-exit): Handle non-single-char separators.
2127 2013-01-09 Elias Pipping <pipping@lavabit.com>
2129 * doc-view.el: Add support for DjVu (bug#13164).
2130 (doc-view-djvu->png-converter-function): New config var.
2131 (doc-view-single-page-converter-function, doc-view--image-type)
2132 (doc-view--image-file-extension): New vars.
2133 (doc-view-mode): Initialize them.
2134 (doc-view-goto-page): Use them.
2135 (doc-view-mode-p): Add support for ddjvu.
2136 (doc-view-djvu->png-converter-ddjvu, doc-view-djvu->png-1)
2137 (doc-view-set-up-single-converter): New funs.
2138 (doc-view-pdf/ps->png): Extend for djvu.
2139 (doc-view-document->png): Rename from doc-view-pdf->png.
2140 (doc-view-convert-current-doc): Handle djvu.
2141 (doc-view-insert-image, doc-view-display)
2142 (doc-view-already-converted-p): Don't hardcode png.
2143 (doc-view-set-doc-type): Recognize djvu docs.
2145 2013-01-09 Elias Pipping <pipping@lavabit.com>
2147 * doc-view.el: Add support for mupdf converter (bug#13164).
2148 (doc-view-pdfdraw-program, doc-view-pdf->png-converter-function)
2149 (doc-view-ps->png-converter-function): New config vars.
2150 (doc-view-pdf->png-converter-ghostscript)
2151 (doc-view-ps->png-converter-ghostscript)
2152 (doc-view-pdf->png-converter-mupdf): New functions.
2153 (doc-view-pdf/ps->png, doc-view-pdf->png-1): Use them.
2155 2013-01-09 Jürgen Hötzel <juergen@archlinux.org>
2157 * net/tramp.el (tramp-eshell-directory-change): Check remote-path
2158 first in session cache: When `tramp-own-remote-path' is in
2159 `tramp-remote-path', the remote path is only set in the session
2162 2013-01-09 Glenn Morris <rgm@gnu.org>
2164 * emacs-lisp/trace.el (trace-function-foreground)
2165 (trace-function-background): Doc fix.
2167 2013-01-09 Juri Linkov <juri@jurta.org>
2169 * international/mule-cmds.el (read-char-by-name): Move let-binding
2170 of completion-ignore-case around completing-read to fix regression
2171 exhibited by the test case `C-x 8 RET *acc TAB' and caused by
2172 `string-match-p' using the nil value of `case-fold-search' and
2173 `completion-ignore-case' in `completion-pcm--all-completions'.
2176 2013-01-09 Glenn Morris <rgm@gnu.org>
2178 * progmodes/compile.el (compilation-parse-errors):
2179 Fix typo. (Bug#13369)
2181 2013-01-09 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
2183 * comint.el (comint-send-input): Check size of buffer before
2184 waiting for process output, in case already accepted. (Bug#13290)
2186 2013-01-09 Paul Eggert <eggert@cs.ucla.edu>
2189 * net/tramp-adb.el (tramp-adb-get-toolbox):
2190 Fix misspelling of 'unknown'.
2192 2013-01-08 Juri Linkov <juri@jurta.org>
2194 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
2195 * progmodes/flymake.el (flymake-errline, flymake-warnline):
2196 Use underline style wave on terminals that support it. (Bug#13000)
2198 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
2200 * emacs-lisp/pcase.el (pcase--split-equal): Also take advantage if
2201 the predicate returns nil.
2203 * simple.el: Use lexical-binding.
2204 (primitive-undo): Use pcase.
2205 (minibuffer-history-isearch-push-state): Use a closure.
2207 2013-01-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
2209 * simple.el (primitive-undo): Move from undo.c.
2211 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
2213 * vc/pcvs.el (cvs-cleanup-collection): Extend meaning of `rm-handled'.
2214 (cvs-mode-remove-handled): Use it (bug#13380).
2216 * emacs-lisp/nadvice.el (advice--tweak): New function.
2217 (advice--remove-function, advice--subst-main): Use it.
2219 * emacs-lisp/advice.el: Update commentary.
2221 2013-01-08 Michael Albinus <michael.albinus@gmx.de>
2223 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
2224 Remove spurious entry.
2226 2013-01-08 Glenn Morris <rgm@gnu.org>
2228 * net/tramp.el (tramp-default-host-alist): Add :version.
2230 2013-01-08 Juri Linkov <juri@jurta.org>
2232 * info.el (Info-read-node-name-2): Don't duplicate suffixes for
2233 single completion. (Bug#12456)
2234 (info--manual-names): Expand node completions into an explicit list
2235 before appending it to another list. Filter out internal buffers
2236 with the leading space in the buffer name. (Bug#10771)
2238 2013-01-08 Juri Linkov <juri@jurta.org>
2240 * info.el (Info-read-node-name-1): Allow empty node name in (FILENAME)
2241 that defaults to the Top node.
2242 (Info-goto-node, Info-read-node-name): Doc fix to mention that
2243 the short format (FILENAME) goes to the Top node.
2244 (Info-build-node-completions): Rename arg `file' to `filename'.
2247 2013-01-07 Bastien Guerry <bzg@gnu.org>
2249 * menu-bar.el (menu-bar-search-documentation-menu):
2250 Use `apropos-user-option' and fix the help message.
2252 2013-01-07 Bastien Guerry <bzg@gnu.org>
2254 * apropos.el (apropos-do-all): Update docstring.
2255 (apropos-user-option-button): New face.
2256 (apropos-user-option): Rename from `apropos-variable' and update
2258 (apropos-variable): Rewrite, now show all variables by default.
2259 (apropos-print): Mention "User option" instead of "Variable" when
2260 printing doc for user options. (Bug#13276)
2262 2013-01-07 Jürgen Hötzel <juergen@archlinux.org>
2264 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
2265 Handle filename correctly, when parsing "source -> target" symlink
2267 (tramp-adb-handle-set-file-times): New defun.
2269 2013-01-07 Stefan Monnier <monnier@iro.umontreal.ca>
2271 * emacs-lisp/advice.el (ad-activate-advised-definition): Refresh the
2272 advice list when the interactive-spec of ad-Advice-* changes.
2274 2013-01-07 Katsumi Yamaoka <yamaoka@jpl.org>
2276 * wid-edit.el (widget-default-get): Work for inlined elements.
2279 2013-01-07 Michael Albinus <michael.albinus@gmx.de>
2281 * net/tramp.el (tramp-default-host-alist): New defcustom.
2282 (tramp-find-host): Use it.
2283 (tramp-eshell-directory-change): Move from tramp-sh.el. Add to
2284 `eshell-directory-change-hook'.
2286 * net/tramp-adb.el (top): Add adb specific entry in
2287 `tramp-default-host-alist'.
2288 (tramp-adb-file-name-host): Remove function.
2289 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
2290 Use `tramp-file-name-host' instead of `tramp-adb-file-name-host'.
2292 * net/tramp-sh.el: Move eshell integration code to tramp.el.
2294 2013-01-06 Jürgen Hötzel <juergen@archlinux.org>
2296 * net/tramp-adb.el (tramp-methods): Add `tramp-tmpdir' entry.
2298 2013-01-06 Michael Albinus <michael.albinus@gmx.de>
2300 * net/tramp-adb.el (tramp-adb-ls-toolbox-regexp): The file size can
2301 consist of more than one digit.
2302 (tramp-adb-file-name-handler-alist):
2303 Use `tramp-handle-file-exists-p' consistently.
2304 (tramp-adb-file-name-handler): Don't tweak `tramp-default-host'.
2305 (tramp-adb-handle-file-exists-p): Remove function.
2306 (tramp-adb-file-name-host): New defun.
2307 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
2309 (tramp-adb-maybe-open-connection): Set "remote-path" property.
2311 2013-01-06 Chong Yidong <cyd@gnu.org>
2313 * vc/vc.el (vc-next-action): Detect buffer modifications
2314 conflicting with locking VCS operation (Bug#11490).
2316 * vc/vc-hooks.el (vc-after-save): DTRT for locking VCSes.
2318 2013-01-05 Michael Albinus <michael.albinus@gmx.de>
2320 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
2321 (tramp-adb-handle-directory-files-and-attributes): Fix typos.
2323 2013-01-05 Jürgen Hötzel <juergen@archlinux.org>
2325 * net/tramp-adb.el (tramp-adb-handle-file-attributes): More robust
2326 parsing of ls output using regular expression (handle filenames
2327 with spaces). Use virtual device number.
2328 (tramp-do-parse-file-attributes-with-ls): New defun (Code
2331 2013-01-04 Daiki Ueno <ueno@gnu.org>
2333 * epg.el: Silence byte-compiler warnings.
2334 (epg--start): Use delete-char instead of delete-backward-char.
2335 (epg-wait-for-completion): Pass FRAME arg to redraw-frame.
2337 2013-01-04 Daiki Ueno <ueno@gnu.org>
2339 * epg.el (epg--start): Don't call "tty" program on W32 platforms.
2340 Suggested by Eli Zaretskii <eliz@gnu.org>.
2342 2013-01-04 Michael Albinus <michael.albinus@gmx.de>
2344 * net/tramp-sh.el (tramp-set-file-uid-gid): UID and GID must be
2345 non-negative integers. Otherwise, the default values are used.
2346 (tramp-convert-file-attributes): Convert uid and gid to integers.
2348 2013-01-04 Glenn Morris <rgm@gnu.org>
2350 * term.el (term-handle-colors-array): Ensure face attributes
2351 are fully specified, not nil. (Bug#13337)
2353 * term.el (term-default-fg-color, term-default-bg-color):
2356 * progmodes/etags.el (tags-compression-info-list): Doc fix.
2357 (tag-find-file-of-tag-noselect): Check auto-compression-mode
2358 rather than 'jka-compr being loaded. (Bug#13338)
2360 2013-01-04 Wesley Dawson <whd@lavabit.com> (tiny change)
2362 * icomplete.el (icomplete-completions):
2363 Honor icomplete-prospects-height once more following
2364 2012-11-29 changes. (Bug#13224)
2366 2013-01-04 Stefan Monnier <monnier@iro.umontreal.ca>
2368 * subr.el (internal--called-interactively-p--get-frame): Find aliases
2369 of called-interactively-p as well (bug#13237).
2371 * view.el (view--enable, view--disable): Rename from view-mode-enable
2372 and view-mode-disable and assume it's called from view-mode.
2373 (view-mode-enable, view-mode-disable): Redefine as obsolete
2374 compatibility layer above view-mode.
2375 (view-mode-enter): Call `view-mode'.
2377 * files.el (after-find-file): Call `view-mode'.
2379 * doc-view.el (doc-view-scale-internally): New var.
2380 (doc-view-enlarge, doc-view-insert-image): Obey it.
2382 2013-01-03 Daiki Ueno <ueno@gnu.org>
2384 * epg.el (epg--start): Ignore errors when /dev/fd/0 does not
2387 2013-01-03 Glenn Morris <rgm@gnu.org>
2389 * mail/rmail.el (rmail-set-header-1): Ignore case.
2390 Handle multi-line headers. (Bug#13330)
2392 * progmodes/make-mode.el (makefile-fill-paragraph): Add doc.
2393 Handle paragraph starting at beginning of buffer.
2395 * subr.el (eval-after-load): Don't purecopy the form, so that it
2396 can be nconc'd later on; reverts 2009-11-11 change. (Bug#13331)
2398 * emacs-lisp/byte-run.el (defun): Place cl declarations
2399 after any interactive spec. (Bug#13265)
2401 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
2403 * emacs-lisp/byte-run.el (defmacro): Use same argument parsing as
2404 defun. Don't check for DECL if DOCSTRING isn't a string.
2407 2013-01-02 Glenn Morris <rgm@gnu.org>
2409 * eshell/em-cmpl.el (eshell-pcomplete):
2410 More thoroughly imitate pcomplete. (Bug#13293)
2412 * files.el (parse-colon-path): Doc fix. (Bug#12351)
2413 Return nil for empty path elements. (Bug#13296)
2415 2013-01-02 Fabián Ezequiel Gallina <fgallina@cuca>
2417 * progmodes/python.el (python-nav-end-of-statement): Rewrite in
2418 order to improve efficiency (Based on Daniel Colascione's
2419 <dancol@dancol.org> patch). (Bug#13182)
2421 2013-01-02 Glenn Morris <rgm@gnu.org>
2423 * vc/log-edit.el (log-edit-header-contents-regexp): Add doc string.
2425 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
2427 * emacs-lisp/byte-run.el (defmacro): Don't lose final nil if
2428 neither DOCSTRING nor DECL was given. (Bug#13316)
2430 2013-01-02 Michael Albinus <michael.albinus@gmx.de>
2432 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Add argument to
2434 (tramp-do-copy-or-rename-file): Ignore errors when calling
2435 `set-file-extended-attributes'.
2437 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
2438 Add handler for `file-acl'.
2439 (tramp-smb-handle-file-acl): New defun.
2441 2013-01-02 Jay Belanger <jay.p.belanger@gmail.com>
2443 * calc/README: Mention ISO 8601 week-numbering dates.
2445 2013-01-01 Martin Rudalics <rudalics@gmx.at>
2447 * view.el (view-mode-enable): New argument run-view-mode-hook.
2448 Run view-mode-hook only when it's non-nil (Bug#13315).
2449 (view-mode-enter): Call view-mode-enable with run-view-mode-hook
2452 2012-12-31 Jürgen Hötzel <juergen@archlinux.org>
2454 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Handle errors
2455 (No device connected, invalid device name). (Bug #13299)
2457 2012-12-31 Martin Rudalics <rudalics@gmx.at>
2459 * window.el (window-resizable--p): Rename to window-resizable-p.
2460 (window-resize-no-error): New function.
2462 * mail/rmail.el (rmail-maybe-display-summary): Restore behavior
2463 broken in fix from 2012-12-28.
2465 2012-12-31 Stefan Monnier <monnier@iro.umontreal.ca>
2467 * subr.el (special-form-p): Don't signal errors on undef aliases.
2469 2012-12-31 Jay Belanger <jay.p.belanger@gmail.com>
2471 * calc/calc-forms.el (math-parse-date): Try using
2472 `math-parse-iso-date' when it looks like it might be needed.
2473 Allow times of 24:00.
2474 (math-parse-date-validate, math-parse-iso-date-validate): Allow times
2477 2012-12-30 Glenn Morris <rgm@gnu.org>
2479 * net/mairix.el (rmail, rmail-summary-displayed, rmail-summary):
2480 Remove unnecessary/buggy autoloads (missing interactive). (Bug#13294)
2481 (rmail-summary-displayed, rmail-summary): Declare.
2482 (mairix-rmail-display): Just require rmail.
2484 2012-12-30 Chong Yidong <cyd@gnu.org>
2486 * emacs-lisp/package.el (package-untar-buffer): Improve integrity
2487 check for the tarball contents.
2489 2012-12-30 Matt Fidler <matt.fidler@alcon.com> (tiny change)
2491 * emacs-lisp/package.el (package-untar-buffer): Handle problematic
2492 tarfile content listings (Bug#13136).
2494 2012-12-30 Mark Lillibridge <mark.lillibridge@hp.com>
2496 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
2497 Insert the undecoded text of the message being forwarded. (Bug#9521)
2499 2012-12-30 Michael Albinus <michael.albinus@gmx.de>
2501 * net/tramp-sh.el (tramp-set-file-uid-gid): Convert UID and GID to
2502 integers, if they are real numbers. (Bug#13282)
2504 * net/tramp-sh.el (tramp-sh-handle-set-file-selinux-context):
2505 Return `t' on success.
2507 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
2508 Add handler for `set-file-selinux-context'.
2510 2012-12-29 Michael Albinus <michael.albinus@gmx.de>
2512 * net/tramp-sh.el (tramp-sh-handle-file-acl): Suppress basic attributes.
2513 (tramp-sh-handle-set-file-acl): Return `t' on success.
2515 2012-12-29 Eli Zaretskii <eliz@gnu.org>
2517 * files.el (backup-buffer-copy, basic-save-buffer-2):
2518 If set-file-extended-attributes fails, fall back on set-file-modes
2519 instead of signaling an error. (Bug#13298)
2520 (basic-save-buffer): Likewise.
2522 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
2524 * progmodes/python.el: Support other commands triggering
2525 python-indent-line so indentation cycling continues to work.
2526 (python-indent-trigger-commands): New defcustom.
2527 (python-indent-line): Use it.
2529 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
2531 * progmodes/python.el (python-shell-send-region): Add blank lines
2532 for non sent code so backtraces remain correct.
2534 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
2536 * progmodes/python.el: Remove cl dependency.
2537 (python-syntax-count-quotes): Replace incf call.
2538 (python-fill-string): Replace setf call.
2540 2012-12-29 Damien Cassou <damien.cassou@gmail.com>
2542 * info.el (info-other-window): New arg, for consistency with info.
2544 2012-12-28 Martin Rudalics <rudalics@gmx.at>
2546 * mail/rmail.el (rmail-maybe-display-summary):
2547 Rewrite (Bug#13066).
2549 2012-12-28 Andreas Schwab <schwab@linux-m68k.org>
2551 * epg.el (epg--start): Modify process-environment locally.
2553 2012-12-28 Daiki Ueno <ueno@gnu.org>
2555 * epg.el: Support pinentry-curses.
2556 Suggested by Werner Koch in
2557 <http://lists.gnu.org/archive/html/emacs-devel/2007-02/msg00755.html>.
2558 (epg-agent-file, epg-agent-mtime): New variable.
2559 (epg--start): Record the modified time of gpg-agent socket file,
2560 to restore Emacs frame after pinentry-curses termination.
2561 (epg-wait-for-completion): Restore Emacs frame here.
2563 2012-12-27 Juri Linkov <juri@jurta.org>
2565 * info.el (Info-file-completions): New variable.
2566 (Info-read-node-name-1): Complete node names in the Info file
2567 when a file name is given. Call `Info-build-node-completions'
2569 (Info-build-node-completions): Add new arg `file'. When it is
2570 non-nil, visit it in a temporary buffer and cache its completions in
2571 `Info-current-file-completions'. Move most of the function body to
2572 `Info-build-node-completions-1'.
2573 (Info-build-node-completions-1): New function with the body from
2574 `Info-build-node-completions'. (Bug#12456)
2576 2012-12-27 Juri Linkov <juri@jurta.org>
2578 * frame.el (frame-maximization-style): Remove user option.
2579 (cycle-frame-maximized): Remove function.
2580 (toggle-frame-maximized): Rewrite and bind to M-<f10>.
2581 (toggle-frame-fullscreen): New command bound to <f11> instead of
2582 `toggle-frame-maximized'.
2583 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00703.html
2585 2012-12-27 Michael Albinus <michael.albinus@gmx.de>
2587 * net/tramp.el (tramp-handle-file-accessible-directory-p): New defun.
2589 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
2590 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
2591 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
2592 for `file-accessible-directory-p'. (Bug#13275)
2594 2012-12-27 Sam Steingold <sds@gnu.org>
2596 * progmodes/cperl-mode.el (cperl-calculate-indent): Do not stagger
2597 continuations, see <http://stackoverflow.com/questions/3582436>.
2599 2012-12-27 Dmitry Gutov <dgutov@yandex.ru>
2601 * progmodes/ruby-mode.el (ruby-indent-beg-re): Only allow "class",
2602 "module" and "def" to have indentation before them.
2603 Regression from 2012-09-07T04:15:56Z!dgutov@yandex.ru (see the new test).
2605 * progmodes/ruby-mode.el: Bump the version to 1.2 (Bug#13200).
2607 2012-12-27 Alan Mackenzie <acm@muc.de>
2609 Speed up fontification where there's large brace blocks.
2610 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Add a limit
2611 to a call of c-beginning-of-decl-1.
2613 2012-12-27 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
2615 * comint.el (comint-adjust-window-point): New function.
2616 (comint-postoutput-scroll-to-bottom):
2617 Call comint-adjust-window-point (Bug#13248).
2619 2012-12-26 Dmitry Gutov <dgutov@yandex.ru>
2621 * progmodes/ruby-mode.el (auto-mode-alist): `purecopy' the
2623 (auto-mode-alist): Associate .gemspec files with ruby-mode
2624 (https://bugs.ruby-lang.org/issues/5453).
2626 2012-12-26 Jürgen Hötzel <juergen@archlinux.org>
2628 * net/tramp-adb.el (tramp-adb-get-ls-command): New defun.
2629 Suppress coloring, if possible (required for BusyBox based systems like
2631 (tramp-adb-handle-file-attributes)
2632 (tramp-adb-handle-insert-directory)
2633 (tramp-adb-handle-file-name-all-completions): Use it.
2634 (tramp-adb-get-toolbox): New defun. Check for remote shell
2635 implementation (BusyBox or Toolbox).
2637 2012-12-24 Constantin Kulikov <zxnotdead@gmail.com> (tiny change)
2639 * startup.el (initial-buffer-choice): Allow function as value
2641 (command-line-1): Handle case where initial-buffer-choice
2642 specifies a function.
2643 * server.el (server-execute): Handle case where
2644 initial-buffer-choice specifies a function.
2646 2012-12-24 Lars Ingebrigtsen <larsi@gnus.org>
2648 * mail/smtpmail.el (smtpmail-try-auth-method): Refactored out into
2650 (smtpmail-try-auth-methods): Forget the user name/password if the
2651 login is unsuccessful (bug#12424).
2653 2012-12-22 Michael Albinus <michael.albinus@gmx.de>
2655 * notifications.el (notifications-notify): Protect body with
2656 `with-demoted-errors'.
2658 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
2659 Check properties of remote device. Restart connection, if there is a
2662 2012-12-21 Chong Yidong <cyd@gnu.org>
2664 * sort.el (sort-subr): Doc fix (Bug#13056).
2666 2012-12-21 Bastien Guerry <bzg@gnu.org>
2668 * progmodes/etags.el (tags-search): Fix typo. Bug #13232.
2670 2012-12-21 Michael Albinus <michael.albinus@gmx.de>
2672 * simple.el (process-file): Overwrite stderr file, if exists.
2674 2012-12-21 Daiki Ueno <ueno@gnu.org>
2676 * epg.el (epg--start): Print GPG_AGENT_INFO in the debug buffer.
2677 (epg-error): Set `error-message' property.
2679 2012-12-21 Chong Yidong <cyd@gnu.org>
2681 * international/mule-cmds.el (read-char-by-name): Signal an error
2682 if the user does not supply a valid character (Bug#13177).
2684 * simple.el (transpose-subr-1): Preserve marker positions by
2685 changing the insertion sequence (Bug#13122).
2687 2012-12-21 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
2689 * simple.el (kill-region): Deactivate mark even for empty regions
2692 2012-12-21 Chong Yidong <cyd@gnu.org>
2694 * help-fns.el (describe-variable): Make sure we get the right
2695 buffer name (Bug#13105). Suggested by Kelly Dean.
2697 2012-12-20 Michael R. Mauger <mmaug@yahoo.com>
2699 * comint.el (comint-redirect-previous-input-string): New variable.
2700 (comint-redirect-setup, comint-redirect-cleanup)
2701 (comint-redirect-preoutput-filter): Use it. Fixes redirection bug.
2702 (comint-redirect-preoutput-filter): Fix verbose message.
2704 2012-12-20 Michael Albinus <michael.albinus@gmx.de>
2706 * progmodes/grep.el (rgrep): Escape command line. Sometimes, it
2707 is too long for Tramp. See discussion in
2708 <http://thread.gmane.org/gmane.emacs.tramp/8233/focus=8244>.
2710 * progmodes/compile.el (compilation-start): Remove line escape
2713 2012-12-20 Dmitry Antipov <dmantipov@yandex.ru>
2715 * vc/ediff-ptch.el (ediff-map-patch-buffer): Use `point-min-marker'.
2718 2012-12-19 Jonas Bernoulli <jonas@bernoul.li>
2720 * emacs-lisp/lisp-mnt.el (lm-section-end): Always end before the
2721 following non-comment text (bug#13207).
2722 (lm-header-multiline): Continuation lines need to be indented more than
2724 (lm-homepage): New function.
2725 (lm-with-file): Don't be confused if narrowing is in effect.
2727 2012-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
2729 * vc/diff-mode.el (diff-post-command-hook): Don't ignore changes at the
2730 very beginning of a hunk (e.g. killing the first line).
2732 2012-12-19 Michael Albinus <michael.albinus@gmx.de>
2734 * net/tramp-sh.el (tramp-sh-handle-file-acl): Delete empty lines
2735 and text properties from returned ACL string.
2736 (tramp-sh-handle-set-file-acl): Do not use additional parentheses
2737 for "setfacl" command.
2739 2012-12-18 Michael Albinus <michael.albinus@gmx.de>
2741 * net/tramp.el (tramp-error-with-buffer): Give a hint to use
2742 `tramp-cleanup-this-connection', when the process has died.
2745 2012-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
2747 * icomplete.el (icomplete-completions): Also use … to truncate prefix.
2749 2012-12-17 Kevin Ryde <user42@zip.com.au>
2751 * files.el (auto-save-file-name-p): Use \` and \' (bug#13186).
2753 2012-12-17 Michael Albinus <michael.albinus@gmx.de>
2755 Add support for preserving ACL entries of files.
2757 * net/tramp.el (tramp-file-name-for-operation): Add `file-acl' and
2758 `set-file-acl' handlers.
2760 * net/tramp-adb.el (tramp-adb-handle-copy-file):
2761 Handle PRESERVE-EXTENDED-ATTRIBUTES.
2763 * net/tramp-compat.el (tramp-compat-copy-file):
2764 Handle PRESERVE-EXTENDED-ATTRIBUTES.
2766 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
2767 Add `file-acl' and `set-file-acl' handlers.
2768 (tramp-gvfs-handle-copy-file):
2769 Handle PRESERVE-EXTENDED-ATTRIBUTES.
2770 (tramp-gvfs-handle-file-acl, tramp-gvfs-handle-set-file-acl):
2773 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
2774 Add `file-acl' and `set-file-acl' handlers.
2775 (tramp-remote-acl-p, tramp-sh-handle-file-acl)
2776 (tramp-sh-handle-set-file-acl): New defuns.
2777 (tramp-sh-handle-copy-file, tramp-do-copy-or-rename-file):
2778 Handle PRESERVE-EXTENDED-ATTRIBUTES.
2780 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
2781 Add `file-acl' and `set-file-acl' handlers.
2782 (tramp-smb-handle-copy-file): Handle PRESERVE-EXTENDED-ATTRIBUTES.
2784 2012-12-17 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
2786 * help-macro.el (make-help-screen): Instead of switch-to-buffer
2787 use pop-to-buffer with NORECORD argument t. As buffer name, use
2788 *Metahelp* with a leading space (Bug#13190).
2790 2012-12-16 Romain Francoise <romain@orebokech.com>
2792 * files.el (file-extended-attributes)
2793 (set-file-extended-attributes): New functions.
2794 (backup-buffer): Use them to handle both SELinux context and ACL
2796 (backup-buffer-copy): Work with an alist of extended attributes,
2797 rather than an SELinux context.
2798 (basic-save-buffer-2): Ditto.
2800 2012-12-16 Timo Myyrä <timo.myyra@gmail.com>
2802 * battery.el (battery-bsd-apm): New function.
2804 2012-12-16 Jay Belanger <jay.p.belanger@gmail.com>
2806 * calc/calc.el (calc-standard-date-formats): Adjust one of the
2807 standard date formats.
2809 2012-12-15 Juri Linkov <juri@jurta.org>
2811 * isearch.el (isearch-mode-map): Bind `C-x 8 RET' to
2812 `isearch-insert-char-by-name'.
2813 (with-isearch-suspended): New defmacro with body mostly from
2814 `isearch-edit-string' except the part that sets
2815 `isearch-new-string' and `isearch-new-message'.
2816 (isearch-edit-string): Use new macro `with-isearch-suspended' with
2817 body that sets `isearch-new-string' and `isearch-new-message'.
2818 (isearch-insert-char-by-name): New command.
2819 * international/mule-cmds.el (read-char-by-name): Let-bind
2820 `enable-recursive-minibuffers' to t.
2821 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00234.html
2823 2012-12-15 Juri Linkov <juri@jurta.org>
2825 * isearch.el (isearch-delete-char, isearch-del-char): Doc fix.
2828 2012-12-15 Christopher Schmidt <christopher@ch.ristopher.com>
2830 * dired-x.el (dired-guess-shell-command): Put colon at the end of
2831 the prompt. (Bug#13045)
2833 2012-12-14 Glenn Morris <rgm@gnu.org>
2835 * emacs-lisp/macroexp.el (macroexp--warn-and-return):
2836 Try to include filename in non-bytecomp warning. (Bug#13132)
2838 2012-12-14 Paul Eggert <eggert@cs.ucla.edu>
2840 Fix permissions bugs with setgid directories etc. (Bug#13125)
2841 * files.el (backup-buffer): Don't rely on 9th output of
2842 file-attributes, as it's now a placeholder. Instead, use the new
2843 optional arg of file-ownership-preserved-p.
2844 (file-ownership-preserved-p): New optional arg GROUP.
2845 Fix mishandling of setuid directories that would cause this
2846 function to return t when it should have returned nil.
2847 Document what happens if the file does not exist, and when
2848 it's not known whether the ownership will be preserved.
2849 * net/tramp-sh.el (tramp-sh-handle-file-ownership-preserved-p):
2851 (tramp-get-local-gid): Use group-gid for integer, as that's
2852 faster and more reliable.
2854 2012-12-14 Julien Danjou <julien@danjou.info>
2856 * progmodes/sql.el (sql-mode-postgres-font-lock-keywords):
2857 Update keywords list, data type and PL/pgSQL.
2859 2012-12-14 Dave Abrahams <dave@boostpro.com>
2861 * vc/ediff-util.el (ediff-buffer-type): New function.
2862 (ediff-clone-buffer-for-current-diff-comparison): Compute the buf-type
2863 rather than taking it as as argument.
2864 (ediff-inferior-compare-regions): Adjust calls accordingly (bug#11319).
2866 2012-12-14 Ryan Crum <ryan.crum@eleostech.com>
2868 * json.el: Add pretty-print option (bug#12634).
2869 (json-encoding-separator, json-encoding-default-indentation)
2870 (json--encoding-current-indentation, json-encoding-pretty-print)
2871 (json-encoding-lisp-style-closings): New vars.
2872 (json--with-indentation): New macro.
2873 (json-encode-hash-table, json-encode-alist, json-encode-plist)
2874 (json-encode-array): Use it to obey json-encoding-pretty-print.
2875 (json-pretty-print-buffer, json-pretty-print): New commands.
2877 2012-12-14 Dmitry Gutov <dgutov@yandex.ru>
2879 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2880 Extract `ruby-syntax-propertize-expansions'.
2881 (ruby-syntax-propertize-expansions): Only change syntax on
2882 certain string delimiters, to punctuation. This way the common
2883 functions like forward-word and thing-at-point still work.
2884 (ruby-match-expression-expansion): Improve readability.
2885 (ruby-block-contains-point): New function.
2886 (ruby-add-log-current-method): Handle several edge cases.
2888 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
2890 * emacs-lisp/edebug.el (edebug-unload-function): Make sure that
2891 unload-feature finishes even when aborting an ongoing edebug session.
2892 Also, do not worry about edebug-mode, unload-feature takes care of it.
2894 2012-12-13 Andreas Schwab <schwab@suse.de>
2896 * net/tls.el (tls-program): Update customize type.
2898 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
2900 * emacs-lisp/edebug.el (edebug--require-cl-read): New function.
2901 (edebug-setup-hook, cl-read-load-hooks): Use it.
2902 (edebug-unload-function): New function. (Bug#13163)
2904 2012-12-13 Michael Albinus <michael.albinus@gmx.de>
2906 * net/tramp-adb.el (tramp-adb-file-name-p): Make it a defsubst.
2907 Otherwise, there could be errors in autoloading. (Bug#13151)
2909 2012-12-13 Jürgen Hötzel <juergen@archlinux.org>
2911 * net/tramp-adb.el (tramp-adb-wait-for-output): Remove spurious " ^H"
2914 2012-12-13 Alan Mackenzie <acm@muc.de>
2916 Make CC Mode not hang when _some_ lines end in CRLF. Bug #11841.
2917 * progmodes/cc-engine.el (c-backward-comments): Add code to work
2918 around `forward-comment' not recognizing ^M as whitespace.
2920 2012-12-13 Fabián Ezequiel Gallina <fgallina@cuca>
2922 * progmodes/python.el (python-skeleton-class)
2923 (python-skeleton-def): Do not add space after defun name.
2925 2012-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
2927 * emacs-lisp/cl.el (letf): Make it an alias of cl-letf.
2928 (cl--symbol-function): Remove (now that funbound is like nil).
2930 2012-12-12 Glenn Morris <rgm@gnu.org>
2932 * button.el (button--area-button-p): Fix typo.
2934 2012-12-12 Sam Steingold <sds@gnu.org>
2936 * frame.el (frame-maximization-style): New user option.
2937 (toggle-frame-maximized): Toggle frame maximization according to
2938 `frame-maximization-style', bound to <f11>.
2939 (cycle-frame-maximized): Cycle between all maximization styles and
2940 non-maximized frame, bound to shift-<f11>.
2942 2012-12-12 David Cadé <codename68@gmail.com>
2944 * mpc.el (mpc-format): Use truncate-string-to-width (bug#13143).
2946 2012-12-12 Jonas Bernoulli <jonas@bernoul.li>
2948 * lisp/emacs-lisp/eieio.el: Prettier object pretty-printing (bug#13115).
2949 (eieio-override-prin1): Don't quote kewords and booleans.
2950 (object-write) <eieio-default-superclass>: Don't put closing parens
2951 on new line, avoid needless empty lines, align values that are objects
2952 with the slot keyword (instead of beginning on the same line).
2953 (eieio-list-prin1): Align value with slot keyword; increase
2954 eieio-print-depth before printing members of the list.
2956 2012-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
2958 * mail/emacsbug.el (report-emacs-bug): Move the intangible text to
2959 a display text-property.
2960 (report-emacs-bug-hook): Don't bother deleting it any more.
2962 * hilit-chg.el (highlight-save-buffer-state): Delete.
2963 Use with-silent-modifications instead.
2964 (hilit-chg-set-face-on-change): Only fixup the text that's modified.
2966 * button.el: Handle buttons in display text-properties.
2967 (button--area-button-p, button--area-button-string):
2968 Use (STRING . STRING-POS) representation instead of just STRING.
2970 2012-12-11 Eli Zaretskii <eliz@gnu.org>
2972 * makefile.w32-in (compile4-SH): Fix a typo that caused term
2973 subdirectory be skipped.
2975 2012-12-11 Glenn Morris <rgm@gnu.org>
2977 * net/rcirc.el (rcirc-urls, rcirc-condition-filter): Doc fixes.
2979 * progmodes/f90.el (f90-line-continued, f90-indent-region):
2980 Treat preprocessor lines embedded in continuations like comments.
2981 (f90-indent-line): Special-case preprocessor lines. (Bug#13138)
2983 2012-12-11 Jay Belanger <jay.p.belanger@gmail.com>
2985 * calc/calc.el (calc-standard-date-formats): Add more date
2987 * calc/calc-forms.el (math-parse-iso-date): New function.
2988 (math-parse-date): Use `math-parse-iso-date' when appropriate.
2989 (math-parse-iso-date-validate): Add extra error checking.
2990 (calc-date-notation): Add ability to access new date formats.
2992 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
2994 * hi-lock.el (hi-lock--regexps-at-point): Fix boundary case for
2995 font-lock as well as when there's no text-property.
2997 2012-12-10 Jambunathan K <kjambunathan@gmail.com>
2999 * hi-lock.el: Refine the choice of default face.
3000 (hi-lock-keyword->face): New function. Use it wherever we used
3002 (hi-lock--regexps-at-point): Ignore faces that can't come from hi-lock.
3003 (hi-lock--last-face): Remove var.
3004 (hi-lock--unused-faces): New var to replace it.
3005 (hi-lock-read-face-name): Use/maintain it.
3006 (hi-lock-unface-buffer): Maintain it. Fix error for the C-u case.
3007 (hi-lock-set-pattern): Ignore new rule if it has the same regexp even
3008 if it has another face.
3010 2012-12-10 Eli Zaretskii <eliz@gnu.org>
3012 * subr.el (w32notify-handle-event): New function.
3013 (inotify-handle-event): Doc fix.
3015 2012-12-10 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3017 * subr.el (inotify-event-p, inotify-handle-event): New functions.
3019 2012-12-10 Dani Moncayo <dmoncayo@gmail.com>
3021 * simple.el (just-one-space): Doc fix.
3023 2012-12-10 Eli Zaretskii <eliz@gnu.org>
3025 * textmodes/texinfo.el (texinfo-enable-quote-envs): Add "smallexample".
3027 2012-12-10 Le Wang <l26wang@gmail.com>
3029 * hilit-chg.el (hilit-chg-set-face-on-change): Don't burp in
3030 narrowed buffer (bug#12361).
3032 2012-12-10 Juanma Barranquero <lekktu@gmail.com>
3034 * vc/vc-hooks.el (vc-state): Doc fix.
3036 2012-12-10 Glenn Morris <rgm@gnu.org>
3038 * mail/rmail.el (rmail-maybe-display-summary):
3039 Preserve buffer, in case select-window changes it. (Bug#13066)
3041 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
3043 * emacs-lisp/cl.el, emacs-lisp/cl-lib.el: Move cl-unload-function and
3044 cl-load-hook where they belong.
3046 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
3048 * emacs-lisp/cl-lib.el (cl-declaim): Paren typo.
3050 2012-12-09 Eli Zaretskii <eliz@gnu.org>
3052 Parallelize byte compilation on MS-Windows.
3053 * makefile.w32-in (WINS_BASIC1, WINS_BASIC2, WINS_BASIC3)
3054 (WINS_BASIC4): New variables, subdivide subdirectories into 4 parts.
3055 (WINS_BASIC): Define as concatenation of the above.
3056 (compile): Subdivide into 4 separate and independent jobs that can
3058 (compile0-CMD, compile0-SH): New targets for compiling
3059 COMPILE_FIRST files, which are prerequisites for the rest of the
3061 (compile1-CMD, compile2-CMD, compile3-CMD, compile4-CMD):
3062 New targets for parallel compilation with cmd.exe.
3063 (compile1-SH, compile2-SH, compile3-SH, compile4-SH): Ditto for
3064 compiling under a Unixy shell.
3066 2012-12-09 Chong Yidong <cyd@gnu.org>
3068 * simple.el (set-mark-default-inactive): Delete this
3069 accidentally-introduced option.
3070 (set-mark-command, exchange-point-and-mark): Remove calls.
3072 2012-12-09 Glenn Morris <rgm@gnu.org>
3074 * emacs-lisp/lisp-mode.el (eval-defun-1): Doc fix.
3075 Respect a defcustom's :set function, if appropriate. (Bug#109)
3076 (eval-defun): Doc fix.
3078 2012-12-08 Juri Linkov <juri@jurta.org>
3080 * info.el (Info-copy-current-node-name, Info-breadcrumbs)
3081 (Info-fontify-node, Info-bookmark-make-record): Remove the
3082 file extension from Info-current-file (Bug#13016).
3084 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
3086 * hi-lock.el (hi-lock-unface-buffer): If there's no matching regexp at
3087 point, still provide some default.
3088 (hi-lock--regexps-at-point): Don't enforce a "hi-lock-" prefix on face
3089 names, since we don't use it right now. Actually return the list.
3090 (hi-lock-file-patterns, hi-lock-interactive-patterns): Use defvar-local.
3092 2012-12-07 Chong Yidong <cyd@gnu.org>
3094 * novice.el (disabled-command-function): Remove a spurious help
3095 xref (Bug#13043). Suggested by Kelly Dean.
3097 * subr.el (text-clone-maintain): Fix clone overlay deletion when a
3098 syntax is specified (Bug#13025).
3100 * info.el (Info-set-mode-line): Remove the file extension from
3101 Info-current-file if there is one (Bug#13016).
3103 2012-12-07 Glenn Morris <rgm@gnu.org>
3105 * mail/rmail.el (rmail-mime-decoded): New permanent local.
3106 (rmail-show-message-1): Set rmail-mime-decoded when appropriate.
3107 * mail/rmailedit.el (rmail-cease-edit): Respect rmail-mbox-format
3108 and rmail-mime-decoded. (Bug#9841)
3110 * mail/unrmail.el (unrmail-mbox-format): New option. (Bug#6574)
3111 (batch-unrmail, unrmail): Doc fixes.
3112 (unrmail): Respect unrmail-mbox-format.
3113 * mail/rmail.el (rmail-mbox-format): New option.
3114 (rmail-show-message-1): Respect rmail-mbox-format.
3116 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
3118 * emacs-lisp/cl-macs.el (cl-tagbody): New macro.
3120 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3122 Further cleanup of the "cl-" namespace. Fit CL in 80 columns.
3123 * emacs-lisp/cl-macs.el (cl--pop2, cl--optimize-safety)
3124 (cl--optimize-speed, cl--not-toplevel, cl--parse-loop-clause)
3125 (cl--expand-do-loop, cl--proclaim-history, cl--declare-stack)
3126 (cl--do-proclaim, cl--proclaims-deferred): Rename from the "cl-" prefix.
3127 (cl-progv): Don't rely on dynamic scoping to find the body.
3128 * emacs-lisp/cl-lib.el (cl--optimize-speed, cl--optimize-safety)
3129 (cl--proclaims-deferred): Rename from the "cl-" prefix.
3130 (cl-declaim): Use backquotes.
3131 * emacs-lisp/cl-extra.el (cl-make-random-state, cl-random-state-p):
3132 Use "cl--" prefix for the object's tag.
3134 * ses.el: Use advice-add/remove.
3135 (ses--advice-copy-region-as-kill, ses--advice-yank): New functions.
3136 (copy-region-as-kill, yank): Use advice-add.
3137 (ses-unload-function): Use advice-remove.
3139 2012-12-06 Jonas Bernoulli <jonas@bernoul.li>
3141 * button.el: Make them work in header-lines (bug#12817).
3142 (button-map): Add bindings for header-line and mode-line use.
3143 (button-get, button-put, button-label): `button' may now be a string.
3144 (button-activate): Don't make it a defsubst.
3145 (button--area-button-p, button--area-button-string): New functions.
3146 (make-text-button): Fix the return value when `beg' was a string.
3147 (push-button): Handle the mode-line case.
3149 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3151 * progmodes/sql.el: Use cl-lib and lexical-binding; various cleanup.
3152 (sql-signum): Remove. Use `cl-signum' instead.
3153 (sql-read-passwd): Remove; use read-passwd instread.
3154 (sql-get-login-ext): Use read-string.
3155 (sql-get-login): Use dolist and pcase.
3156 (sql--completion-table): Rename from sql-try-completion.
3157 Use complete-with-action.
3158 (sql-mode): Don't change abbrev-all-caps globally.
3159 (sql-connect): Don't rely on dynamic scoping for `new-name'.
3160 (sql-postgres-completion-object): Initialize vars in their `let'.
3161 (sql-comint-sybase, sql-comint-sqlite, sql-comint-mysql)
3162 (sql-comint-solid, sql-comint-ms, sql-comint-postgres)
3163 (sql-comint-interbase): Use a single append, without setq.
3164 (sql-comint-linter): Same, and unwind-protect the LINTER_MBX var.
3166 * hi-lock.el: Rework the default face and the serialize regexp code.
3167 (hi-lock--auto-select-face-defaults): Remove.
3168 (hi-lock-string-serialize-serial): Remove.
3169 (hi-lock--hashcons-hash): Rename from hi-lock-string-serialize-hash;
3171 (hi-lock--hashcons): Rename from hi-lock-string-serialize, return an
3173 (hi-lock-set-pattern): Adjust accordingly.
3174 (hi-lock--regexps-at-point): Simplify accordingly.
3175 (hi-lock--auto-select-face-defaults): Remove.
3176 (hi-lock--last-face): New var to replace it.
3177 (hi-lock-read-face-name): Rewrite (bug#11095).
3178 (hi-lock-unface-buffer): Arrange for the face to be the next default.
3180 2012-12-06 Michael Albinus <michael.albinus@gmx.de>
3182 * net/tramp.el (tramp-replace-environment-variables):
3183 Hide compiler warning.
3184 (tramp-file-name-for-operation): Remove `executable-find',
3185 `start-process', `call-process' and `call-process-region'.
3187 * net/tramp-compat.el (top): Don't require 'tramp-util and 'tramp-vc.
3189 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Ensure backward
3192 * net/tramp-sh.el (top): Remove `tramp-sh-handle-call-process-region'.
3194 2012-12-06 Chong Yidong <cyd@gnu.org>
3196 * ffap.el (ffap-replace-file-component): Fix typo.
3198 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3200 * progmodes/octave-mod.el (octave-mark-block): Move out of tokens and
3201 fix open-paren-like token test (bug#12785).
3203 2012-12-06 Glenn Morris <rgm@gnu.org>
3205 * mail/rmailsum.el (rmail-new-summary): Tweak for
3206 rmail-maybe-display-summary changing buffer. (Bug#13066)
3208 2012-12-06 Juri Linkov <juri@jurta.org>
3210 * info.el (Info-fontify-node): Don't hide the last newline.
3213 2012-12-06 Katsumi Yamaoka <yamaoka@jpl.org>
3215 * mail/mailabbrev.el (mail-abbrev-expand-wrapper): Work in minibuffer
3216 so as to enable message-read-from-minibuffer to expand mail aliases.
3218 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3220 * minibuf-eldef.el (minibuf-eldef-update-minibuffer): Don't mess with
3221 the `intangible' property.
3222 Suggested by Christopher Schmidt <christopher@ch.ristopher.com>
3224 2012-12-05 Deniz Dogan <deniz@dogan.se>
3226 * net/rcirc.el (rcirc-urls): Update documentation.
3227 (rcirc-condition-filter): New function.
3228 (rcirc-browse-url, rcirc-markup-urls): Use only URLs before point
3229 and exclude consecutive duplicate URLs (Bug#6082).
3231 2012-12-05 Michael Albinus <michael.albinus@gmx.de>
3233 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
3234 Check return code of copy command.
3236 * net/tramp-adb.el (tramp-adb-sdk-dir, tramp-adb-prompt):
3237 Use group `tramp'. Add version.
3239 2012-12-05 Chong Yidong <cyd@gnu.org>
3241 * ffap.el (ffap-url-regexp): Don't require matching at front of
3243 (ffap-url-p): If only a substring matches, return that.
3244 (ffap-url-at-point): Use the return value of ffap-url-p.
3245 (ffap-read-file-or-url, ffap-read-file-or-url-internal)
3246 (find-file-at-point, dired-at-point, dired-at-point-prompter)
3247 (ffap-guess-file-name-at-point): Likewise.
3248 (ffap-replace-file-component): Fix typo.
3250 * info.el (info-display-manual): Add existing Info buffers, whose
3251 files may not be in Info-directory-list, to the completion.
3252 (info--manual-names): New helper function.
3254 2012-12-05 Glenn Morris <rgm@gnu.org>
3256 * vc/vc-hg.el (vc-hg-resolve-when-done, vc-hg-find-file-hook):
3257 New functions, for detecting and resolving conflicts. (Bug#10709)
3259 2012-12-04 Jambunathan K <kjambunathan@gmail.com>
3261 * hi-lock.el (hi-lock-auto-select-face): New user variable.
3262 (hi-lock-auto-select-face-defaults): New buffer local variable.
3263 (hi-lock-read-face-name): Honor `hi-lock-auto-select-face'.
3264 (hi-lock-unface-buffer): Prompt user with useful defaults.
3265 With prefix arg, unhighlight all hi-lock patterns in buffer.
3267 2012-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
3269 * obsolete/terminal.el, obsolete/longlines.el: Add obsolecence info.
3271 2012-12-04 Michael Albinus <michael.albinus@gmx.de>
3273 * Makefile.in (TRAMP_SRC):
3274 * makefile.w32-in (TRAMP_SRC): Add tramp-adb.el.
3276 2012-12-04 Juergen Hoetzel <juergen@archlinux.org>
3278 * net/tramp-adb.el: New package.
3280 2012-12-04 Chong Yidong <cyd@gnu.org>
3282 * terminal.el: Move to obsolete/.
3284 * longlines.el: Move to obsolete/.
3286 * vc/ediff-diff.el (ediff-extract-diffs, ediff-extract-diffs3):
3287 Remove code referring to longlines mode.
3289 2012-12-03 Juri Linkov <juri@jurta.org>
3291 * sort.el (delete-duplicate-lines): New command. (Bug#13032)
3293 2012-12-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3295 * textmodes/ispell.el (ispell-init-process)
3296 (ispell-start-process, ispell-internal-change-dictionary):
3297 Make sure personal dictionary name is expanded after initial
3298 `default-directory' value. Use expanded strings for
3299 keep/restart checks and for value (Bug#13019).
3301 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
3303 * calc/calc-forms.el (math-date-to-iso-dt): Fix weekday number.
3305 2012-12-03 Leo Liu <sdl.web@gmail.com>
3307 * files.el (dir-locals-read-from-file): Check file non-empty
3308 before reading. (Bug#13038)
3310 2012-12-03 Glenn Morris <rgm@gnu.org>
3312 * jka-cmpr-hook.el (jka-compr-get-compression-info):
3313 Remove any version extension before checking filename. (Bug#13006)
3314 (jka-compr-compression-info-list): Belated :version bump.
3316 2012-12-03 Chong Yidong <cyd@gnu.org>
3318 * simple.el (transient-mark-mode): Doc fix (Bug#11523).
3320 * buff-menu.el (Buffer-menu-delete-backwards, Buffer-menu-mode)
3321 (buffer-menu): Doc fix (Bug#12294).
3323 2012-12-03 Roland Winkler <winkler@gnu.org>
3325 * calendar/diary-lib.el (diary-header-line-format): Use keybinding
3326 of diary-show-all-entries in the diary buffer (Bug#12994).
3328 2012-12-03 Michael Albinus <michael.albinus@gmx.de>
3330 * net/tramp-sh.el (tramp-perl-encode): Use "read STDIN" instead of
3331 "<STDIN>". This is binary safe.
3333 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
3335 * calc/calc-forms.el (math-absolute-from-iso-dt)
3336 (math-date-to-iso-dt, math-parse-iso-date-validate)
3337 (math-iso-dt-to-date): New functions.
3338 (math-fd-iso-dt, math-fd-isoyear, math-fd-isoweek)
3339 (math-fd-isoweekday): New variables.
3340 (calc-date-notation, math-parse-standard-date, math-format-date)
3341 (math-format-date-part): Add support for more formatting codes.
3343 2012-12-02 Dmitry Gutov <dgutov@yandex.ru>
3345 * vc/vc.el (vc-delete-file, vc-rename-file): Default to the
3346 current buffer's file name when called interactively (Bug#12488).
3348 2012-12-02 Juri Linkov <juri@jurta.org>
3350 * info.el (info-display-manual): Don't clobber an existing Info
3351 buffer (Bug#10770). Add completion (Bug#10771).
3353 2012-12-01 Yuya Nishihara <yuya@tcha.org> (tiny change)
3355 * vc/vc-hooks.el (vc-find-file-hook): Expand buffer-file-truename
3356 before using it for comparison (Bug#5297).
3358 2012-12-01 Jari Aalto <jari.aalto@cante.net>
3360 * textmodes/css-mode.el (css-current-defun-name): New function.
3363 * textmodes/sgml-mode.el (html-current-defun-name): New function.
3364 (html-mode): Use it.
3366 2012-12-01 Chong Yidong <cyd@gnu.org>
3368 Modularize add-log-current-defun (Bug#2224).
3369 Suggested by Jari Aalto.
3371 * vc/add-log.el (add-log-current-defun-function): Doc fix.
3372 (add-log-current-defun): Move mode-specific code to other files.
3373 (add-log-lisp-like-modes, add-log-c-like-modes)
3374 (add-log-tex-like-modes): Variables deleted.
3376 * emacs-lisp/lisp-mode.el (lisp-current-defun-name): New.
3377 (lisp-mode-variables): Use it.
3379 * progmodes/cc-mode.el (c-common-init):
3380 * progmodes/cperl-mode.el (cperl-mode): Set a value for
3381 add-log-current-defun-function.
3383 * progmodes/m4-mode.el (m4-current-defun-name): New function.
3386 * progmodes/perl-mode.el (perl-current-defun-name): New.
3387 (perl-mode): Use it.
3389 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
3390 Use lisp-current-defun-name.
3392 * textmodes/tex-mode.el (tex-current-defun-name): New.
3393 (tex-common-initialization): Use it.
3395 * textmodes/texinfo.el (texinfo-current-defun-name): New.
3396 (texinfo-mode): Use it.
3398 2012-12-01 Chong Yidong <cyd@gnu.org>
3400 * emacs-lisp/lisp-mode.el (lisp-mode-variables, lisp-mode):
3401 * progmodes/autoconf.el (autoconf-mode):
3402 * progmodes/js.el (js-mode):
3403 * progmodes/make-mode.el (makefile-mode, makefile-makepp-mode)
3404 (makefile-bsdmake-mode, makefile-imake-mode, makefile-browse):
3405 * progmodes/perl-mode.el (perl-mode):
3406 * progmodes/sh-script.el (sh-mode, sh-set-shell):
3407 * textmodes/css-mode.el (css-mode):
3408 * textmodes/sgml-mode.el (html-mode, sgml-mode)
3409 (sgml-tags-invisible, sgml-guess-indent):
3410 * textmodes/tex-mode.el (tex-common-initialization)
3411 (latex-complete-bibtex-keys, tex-shell, tex-main-file)
3412 (doctex-mode, plain-tex-mode, latex-mode):
3413 * textmodes/texinfo.el (texinfo-mode): Use setq-local.
3415 2012-12-01 Kirk Kelsey <kirk.kelsey@0x4b.net>
3417 * vc/vc-hg.el (vc-hg-next-revision):
3418 Ensure use of default "tip" output format. (Bug#6968)
3420 2012-12-01 Kim F. Storm <storm@cua.dk>
3422 * startup.el (fancy-startup-tail): Add a clickable link
3425 2012-12-01 Chong Yidong <cyd@gnu.org>
3427 * startup.el (fancy-startup-tail): Improve the message about
3428 auto-save files (Bug#2176).
3430 * files.el (recover-session): Improve the descriptive message, and
3431 use substitute-command-keys.
3433 2012-12-01 Glenn Morris <rgm@gnu.org>
3435 * ido.el (ido-file-internal):
3436 Handle other-window, other-frame for dired. (Bug#13036)
3438 2012-11-30 Glenn Morris <rgm@gnu.org>
3440 * icomplete.el (icomplete-separator): Fix :version.
3442 2012-11-30 Chong Yidong <cyd@gnu.org>
3444 * shell.el (shell): For C-u M-x shell, use an inactive shell
3445 buffer as the default (Bug#1975).
3446 (shell-apply-ansi-color, shell-reapply-ansi-color): New functions.
3447 (shell-mode): Use them to reapply ansi colorization if Shell mode
3450 2012-11-30 Yuriy Vostrikov <delamonpansie@gmail.com> (tiny change)
3452 * vc/vc-git.el (vc-git-command): Disable the pager (Bug#6137).
3454 2012-11-30 Samuel Bronson <naesten@gmail.com>
3456 * progmodes/grep.el (grep-compute-defaults): Do not pass the -e
3457 flag to xargs, for compatibility with BSD xargs (Bug#11703).
3459 2012-11-30 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
3461 * textmodes/fill.el (fill-region-as-paragraph): Handle overshoot
3462 by move-to-column (Bug#3234).
3464 2012-11-30 Chong Yidong <cyd@gnu.org>
3466 * longlines.el (longlines-wrap-line, longlines-encode-region):
3467 Preserve text properties (Bug#1425).
3469 2012-11-30 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
3471 * vc/vc.el (vc-register): Allow registering a file which is
3472 already registered with a different backend (Bug#10589).
3474 2012-11-29 Jambunathan K <kjambunathan@gmail.com>
3475 Stefan Monnier <monnier@iro.umontreal.ca>
3477 * icomplete.el: Change separator; add ido-style commands.
3478 (icomplete-show-key-bindings): Remove custom var.
3479 (icomplete-get-keys): Remove function.
3480 (icomplete-forward-completions, icomplete-backward-completions):
3482 (icomplete-minibuffer-map): New var.
3483 (icomplete-minibuffer-setup): Use it.
3484 (icomplete-exhibit): Don't delay if the list of completions is known.
3485 (icomplete-separator): New custom.
3486 (icomplete-completions): Use it.
3487 * minibuffer.el (completion-all-sorted-completions): Delete duplicates.
3488 (minibuffer-force-complete-and-exit): New command.
3489 (minibuffer--complete-and-exit): New function extracted from
3490 minibuffer-complete-and-exit.
3491 (minibuffer-complete-and-exit): Use it.
3493 * progmodes/etags.el (visit-tags-table-buffer): Give a more precise
3494 error message when the file doesn't exist (bug#12974).
3496 2012-11-29 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
3498 * simple.el (activate-mark): Run activate-mark-hook (bug#13027).
3500 2012-11-29 Glenn Morris <rgm@gnu.org>
3502 * files.el (hack-dir-local-variables): Warn if try to set
3503 coding via dir-locals, since it doesn't work. (Bug#7169)
3505 Add desktop support for restoring vc-dir buffers. (Bug#10606)
3506 * vc/vc-dir.el (vc-dir-mode): Autoload it (for desktop restore).
3507 Set buffer-local value of desktop-save-buffer.
3508 (vc-dir-desktop-buffer-misc-data, vc-dir-restore-desktop-buffer):
3510 (desktop-buffer-mode-handlers): Add vc-dir-mode entry.
3511 * desktop.el (desktop-save-buffer-p): Treat vc-dir like dired.
3513 * files.el (inhibit-local-variables-ignore-case): New. (Bug#10610)
3514 (inhibit-local-variables-p): Use inhibit-local-variables-ignore-case.
3516 (inhibit-local-variables-regexps, inhibit-local-variables-suffixes):
3519 2012-11-28 Jay Belanger <jay.p.belanger@gmail.com>
3521 * calc/calc-forms.el (calc-date-notation): Fix regexp
3522 used to find time codes. Fix symbol for seconds.
3524 2012-11-27 Glenn Morris <rgm@gnu.org>
3526 * emacs-lisp/derived.el (derived-mode-make-docstring):
3527 Don't mention "abbrev" or "syntax" if nil. (Bug#11277)
3529 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
3531 * textmodes/table.el (table-insert): Don't use `symbol-name' on
3532 lexically scoped variables (bug#13005).
3534 2012-11-27 Glenn Morris <rgm@gnu.org>
3536 * vc/vc-hooks.el (vc-mistrust-permissions):
3537 Default to t, to avoid data-loss. (Bug#11490)
3539 2012-11-27 Fabián Ezequiel Gallina <fgallina@cuca>
3541 * progmodes/python.el (python-indent-guess-indent-offset):
3542 If indentation is guessed make python-indent-offset buffer-local.
3544 Fix Imenu regression.
3545 * progmodes/python.el (python-nav-beginning-of-defun):
3546 Fix forward movement when statement(s) separates point from defun.
3547 (python-imenu-prev-index-position): New function.
3549 2012-11-27 Eli Zaretskii <eliz@gnu.org>
3551 * subr.el (buffer-file-type): Declare with defvar-local. Doc fix.
3553 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
3554 Don't set buffer-file-type. Return nil. (Bug#12989)
3556 2012-11-27 Glenn Morris <rgm@gnu.org>
3558 * hippie-exp.el (hippie-expand-try-functions-list):
3559 Re-autoload it. (Bug#12982)
3561 2012-11-27 Eli Zaretskii <eliz@gnu.org>
3563 * descr-text.el (describe-char-padded-string):
3564 Call internal-char-font only on GUI frames. (Bug#11964)
3566 2012-11-27 Andreas Schwab <schwab@linux-m68k.org>
3568 * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
3569 and obsoletion message.
3571 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
3573 * emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
3574 the constructs to keep outside of the `cl-block' (bug#12977).
3576 2012-11-27 Chong Yidong <cyd@gnu.org>
3578 * mouse.el (mouse-drag-line): Even if the line is not draggable,
3579 keep reading until we get the up-event anyway, in order to process
3580 the up-event for mouse-1-click-follows-link (Bug#12971).
3582 2012-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
3584 * emacs-lisp/advice.el (ad-should-compile): Don't compile advice if the
3585 base function is not yet defined (bug#12965).
3586 (ad-activate-advised-definition): Use ad-compile-function.
3587 (ad-activate): Use cond.
3589 2012-11-25 Leo Liu <sdl.web@gmail.com>
3591 * textmodes/sgml-mode.el (sgml-tag): Fix indentation for closing tag.
3594 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
3596 * textmodes/reftex-parse.el (reftex-parse-from-file): Use variable
3597 reftex-section-info-function in order to be compatible with
3598 Texinfo integration.
3600 * textmodes/reftex.el (reftex-section-pre-regexp)
3601 (reftex-section-post-regexp, reftex-section-info-function):
3603 (reftex-compile-variables): Use variables reftex-section-pre-regexp,
3604 reftex-section-post-regexp, and reftex-section-info-function in order
3605 to be compatible with Texinfo integration.
3607 * textmodes/reftex-toc.el (reftex-toc-promote-action):
3608 use reftex-section-pre-regexp variable in order to be compatible with
3609 Texinfo integration.
3611 2012-11-25 Chong Yidong <cyd@gnu.org>
3613 * faces.el: Make face-spec-set more analogous to setq.
3614 (face-spec-set): Change the third arg to specify whether this
3615 function is being called via defface, customize, or a third party.
3616 Set the appropriate symbol properties. Clear the override spec if
3617 setting via Custom. Initialize face if necessary. (Bug#4988)
3618 (face-spec-recalc): Allow theme faces to completely replace the
3619 defface spec, in the same way as custom faces (Bug#8454).
3621 * cus-face.el (custom-declare-face): Move face initialization to
3623 (custom-theme-set-faces): Don't initialize the face name here, as
3624 that is now done in face-spec-set.
3626 * cus-edit.el (custom-face-set, custom-face-mark-to-save)
3627 (custom-face-reset-saved, custom-face-mark-to-reset-standard):
3628 Simplify by using the new arg to face-spec-set.
3630 * emacs-lisp/lisp-mode.el (eval-defun-1): When evaluating defface,
3631 reset face-override-spec too, and use custom-declare-face.
3633 2012-11-24 Jan Djärv <jan.h.d@swipnet.se>
3635 * term/ns-win.el (ns-initialize-window-system): Move creation of
3636 fontsets here (Bug#11964).
3638 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
3640 * ses.el (ses-rename-cell): Correct bug on mode-line update after
3643 2012-11-24 Chong Yidong <cyd@gnu.org>
3645 * woman.el (woman-default-faces, woman-monochrome-faces): Mark as
3648 * custom.el (custom-theme-set-variables): Use a topological sort
3649 for ordering by custom dependencies (Bug#12952).
3650 (custom--sort-vars, custom--sort-vars-1): New functions.
3652 2012-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
3654 * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
3655 lexical-binding (bug#12938).
3657 2012-11-24 Wolfgang Jenkner <wjenkner@inode.at>
3659 * image-mode.el (image-transform-check-size): Use assertions only
3660 for images of type imagemagick.
3662 Otherwise no error, image-transform-fit-to-{width,height} is
3663 silently ignored, as before. Doc fix.
3665 2012-11-24 Chong Yidong <cyd@gnu.org>
3667 * faces.el (color-defined-p): Doc fix (Bug#12853).
3669 2012-11-24 Juri Linkov <juri@jurta.org>
3671 * dired.el (dired-mark): Add optional arg `interactive'.
3672 Check for `use-region-p' if `interactive' is non-nil.
3673 (dired-unmark, dired-flag-file-deletion): Add optional arg
3674 `interactive'. Call `dired-mark' with the arg `interactive'.
3677 * wdired.el: Revert 2012-10-17 change partly and replace it with
3678 Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
3679 (wdired-finish-edit): Add marks for new file names to
3680 `wdired-old-marks'. Restore marks using `dired-mark-remembered'
3681 after `revert-buffer'.
3682 (wdired-do-renames): Remove calls to `dired-remove-file',
3683 `dired-add-file', `dired-add-entry'. (Bug#11795)
3685 2012-11-24 Alan Mackenzie <acm@muc.de>
3687 * progmodes/cc-defs.el (c-version): Bump to 5.32.4.
3689 Fix bugs in the state cache. Enhance a debugging mechanism.
3690 * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
3691 "brace at column zero" strategy for C++.
3692 (c-append-lower-brace-pair-to-state-cache): Repair algorithm.
3693 (c-parse-state-point): New variable.
3694 (c-record-parse-state-state): Record old parse state with
3695 `copy-tree'. Record previous value of point.
3696 (c-debug-parse-state-double-cons): New debugging function.
3697 (c-debug-parse-state): Call the above new function.
3698 (c-toggle-parse-state-debug): Output a confirmatory message.
3700 * progmodes/cc-mode.el (c-before-change, c-after-change):
3701 Call c-invalidate-state-cache from `c-before-change' instead of
3704 2012-11-23 Chong Yidong <cyd@gnu.org>
3706 * find-cmd.el (find-constituents): Add executable, ipath,
3707 readable, samefile, writable, daystart, regextype (Bug#12856).
3709 2012-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
3711 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: Use cl-lib and lexical-binding.
3713 2012-11-22 Paul Eggert <eggert@cs.ucla.edu>
3715 * calc/calc.el (calc-gregorian-switch): Move to after calc-refresh
3716 definition. This fixes a bootstrap failure.
3717 (calc-gregorian-switch): In menu, put dates before regions.
3718 This is easier to follow, lines up better in the menu, and lets us
3719 coalesce regions that switch at the same time. Give country
3720 names, not "Vatican", as that's better for non-expert users.
3721 Use names that are stable between the date of switch and now, e.g.,
3722 Bohemia and Moravia (which existed then and now) and not
3723 Czechoslovakia (which didn't exist then and doesn't exist now).
3724 What is now the U.S. mostly did not switch at the same time as
3725 Britain, so omit the U.S. Correct spelling of "Britain".
3726 Catholic Switzerland was too much of a mess, so omit it.
3728 2012-11-22 Jay Belanger <jay.p.belanger@gmail.com>
3730 * calc/calc.el (calc-gregorian-switch): Refresh the Calc buffer
3731 after the variable is changed.
3733 2012-11-21 Daniel Colascione <dancol@dancol.org>
3735 * progmodes/sql.el (sql-mode-font-lock-object-name): Support IF NOT EXISTS
3736 in SQL declarations for font-lock.
3737 (sql-imenu-generic-expression): Teach imenu about IF NOT EXISTS.
3739 2012-11-21 Glenn Morris <rgm@gnu.org>
3741 * faces.el (face-underline-p, face-inverse-video-p, face-bold-p)
3742 (face-italic-p): Add optional argument "inherit".
3744 * faces.el (set-face-inverse-video, set-face-bold, set-face-italic):
3745 Remove -p suffix from names, for consistency with other set-face-*.
3746 (set-face-inverse-video): Fix interactive spec.
3747 * play/gamegrid.el (gamegrid-make-mono-tty-face):
3748 * textmodes/table.el (table--update-cell-face):
3749 Use set-face-inverse-video rather than now obsolete alias.
3751 2012-11-21 Eli Zaretskii <eliz@gnu.org>
3753 * simple.el (line-move): Don't call line-move-partial if
3754 scroll-conservatively is in effect. (Bug#12927)
3756 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
3758 * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
3759 Fallback on completion-at-point rather than
3760 pcomplete-expand-and-complete, and only if pcomplete actually failed.
3761 (eshell-cmpl-initialize): Setup completion-at-point.
3763 * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
3765 * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
3767 2012-11-21 Michael Albinus <michael.albinus@gmx.de>
3769 * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
3770 are remote, check out-of-band property for both.
3772 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
3774 * window.el (switch-to-buffer): Re-add the warning that was lost in the
3777 2012-11-21 Paul Eggert <eggert@cs.ucla.edu>
3779 More minor time fixes.
3780 * calendar/time-date.el: Commentary fix.
3781 * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
3782 too much other code depends on (0 0) time stamps.
3783 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
3784 Add a couple of FIXME comments.
3786 Minor cleanup for times as lists of four integers.
3787 * files.el (dir-locals-directory-cache):
3788 * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
3790 * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
3791 * ps-bdf.el (bdf-file-newer-than-time):
3792 Process four-integers time stamps, not two. Doc fixes.
3794 2012-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
3796 * uniquify.el (uniquify-managed): Use defvar-local.
3797 (rename-buffer, create-file-buffer): Advise with advice-add.
3798 (uniquify-unload-function): Unadvise accordingly.
3800 * emacs-lisp/trace.el: Rewrite, use nadvice and lexical-binding.
3801 (trace-buffer): Don't purecopy.
3802 (trace-entry-message, trace-exit-message): Add `context' arg.
3803 (trace--timer): New var.
3804 (trace-make-advice): Adjust for use in nadvice.
3805 Add `context' argument. Delay `display-buffer' via a timer.
3806 (trace-function-internal): Use advice-add.
3807 (trace--read-args): New function.
3808 (trace-function-foreground, trace-function-background): Use it.
3809 (trace-function): Rename to trace-function-foreground and redefine as
3810 an alias to that new name.
3811 (untrace-function, untrace-all): Adjust to the use of nadvice.
3813 * emacs-lisp/bytecomp.el (byte-compile): Fix handling of closures.
3815 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix last change.
3817 * subr.el (called-interactively-p-functions): New var.
3818 (internal--called-interactively-p--get-frame): New macro.
3819 (called-interactively-p, interactive-p): Rewrite in Lisp.
3820 * emacs-lisp/nadvice.el (advice--called-interactively-skip): New fun.
3821 (called-interactively-p-functions): Use it.
3822 * emacs-lisp/edebug.el (edebug--called-interactively-skip): New fun.
3823 (called-interactively-p-functions): Use it.
3824 * allout.el (allout-called-interactively-p): Don't assume
3825 called-interactively-p is a subr.
3827 2012-11-20 Glenn Morris <rgm@gnu.org>
3829 * profiler.el (profiler-report-mode-map): Add a menu.
3830 No need to bind `q' because we derive from special-mode.
3831 (profiler-report-find-entry): Handle calls from the menu-bar.
3833 2012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
3835 * emacs-lisp/byte-run.el (defun-declarations-alist):
3836 Allow a compiler-macro to be a lambda expression.
3838 * progmodes/python.el: Use cl-lib. Move var declarations outside of
3840 (python-syntax-context): Add compiler-macro.
3841 (python-font-lock-keywords): Simplify with De Morgan.
3843 * vc/diff-mode.el (diff-hunk): Don't make useless timers.
3845 * files.el (load-file): Require match in minibuffer selection, as was
3846 the case in Emacs-20 before we changed the spec to allow .elc files
3849 * json.el: Don't require cl since we don't use it.
3850 * color.el: Don't require cl.
3851 (color-complement): `caddr' -> `nth 2'.
3853 * calendar/time-date.el (time-to-seconds): De-obsolete.
3855 2012-11-19 Jay Belanger <jay.p.belanger@gmail.com>
3857 * calc/calc-forms.el (math-leap-year-p): Fix formula for negative
3859 (math-date-to-julian-dt): Adjust the initial approximation for the
3860 year to deal with the new definition of the DATE.
3862 2012-11-19 Daniel Colascione <dancol@dancol.org>
3864 * term/w32-win.el (cygwin-convert-path-from-windows):
3865 Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
3867 2012-11-18 Chong Yidong <cyd@gnu.org>
3869 * filecache.el (file-cache--read-list): New function.
3870 (file-cache-add-directory-list, file-cache-add-file-list)
3871 (file-cache-delete-file-list, file-cache-delete-directory-list):
3872 Use it to read a list of files or directories (Bug#12846).
3873 (file-cache-add-file, file-cache-add-directory)
3874 (file-cache-delete-file-list, file-cache-delete-file-regexp)
3875 (file-cache-delete-directory): Print an message.
3877 2012-11-18 Jay Belanger <jay.p.belanger@gmail.com>
3879 * calc/calc-forms.el (math-date-to-dt): Use integer date when
3880 calling `math-date-to-julian-dt' and 'math-date-to-gregorian-dt'.
3882 2012-11-18 Glenn Morris <rgm@gnu.org>
3884 * image.el (insert-image, insert-sliced-image): Doc fix.
3886 2012-11-18 Chong Yidong <cyd@gnu.org>
3888 * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
3891 2012-11-18 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
3893 * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
3894 response when the target file is in a subdirectory (Bug#12757).
3896 2012-11-18 Chong Yidong <cyd@gnu.org>
3898 * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
3900 2012-11-18 Glenn Morris <rgm@gnu.org>
3902 * emacs-lisp/cl-lib.el (face-underline-p):
3903 Use set-face-underline rather than the alias set-face-underline-p.
3905 * window.el (with-temp-buffer-window): Doc fix.
3906 * subr.el (with-output-to-temp-buffer):
3907 Add doc xref to with-temp-buffer-window.
3909 2012-11-18 Juanma Barranquero <lekktu@gmail.com>
3911 * woman.el (woman-non-underline-faces): Use `set-face-underline'.
3912 * calc/calc.el (math-format-date-cache): Declare.
3914 2012-11-17 Paul Eggert <eggert@cs.ucla.edu>
3916 Calc by default uses the Gregorian calendar for all dates (Bug#12633).
3917 It also uses January 1, 1 AD as its day number 1.
3918 * calc/calc-forms.el (math-julian-date-beginning)
3919 (math-julian-date-beginning-int): Implement this.
3921 2012-11-17 Juanma Barranquero <lekktu@gmail.com>
3923 * descr-text.el (quail-find-key):
3924 * dired.el (desktop-file-name):
3925 * dirtrack.el (shell-prefixed-directory-name, shell-process-cd):
3926 * generic-x.el (comint-mode, comint-exec):
3927 * image-dired.el (widget-forward):
3928 * info.el (speedbar-add-expansion-list, speedbar-center-buffer-smartly)
3929 (speedbar-change-expand-button-char)
3930 (speedbar-change-initial-expansion-list, speedbar-delete-subblock)
3931 (speedbar-make-specialized-keymap, speedbar-make-tag-line):
3932 * printing.el (easy-menu-add-item, easy-menu-remove-item)
3933 (widget-field-action, widget-value-set):
3934 * speedbar.el (imenu--make-index-alist):
3935 * term.el (ring-empty-p, ring-ref, ring-insert-at-beginning)
3936 (ring-length, ring-insert):
3937 * vcursor.el (compare-windows-skip-whitespace):
3938 * woman.el (dired-get-filename):
3941 * term/w32-win.el (cygwin-convert-path-from-windows): Fix declaration.
3943 2012-11-17 Jay Belanger <jay.p.belanger@gmail.com>
3945 * calc/calc.el (calc-gregorian-switch): New variable.
3947 * calc/calc-forms.el (math-day-in-year, math-dt-before-p)
3948 (math-absolute-from-gregorian-dt, math-absolute-from-julian-dt)
3949 (math-date-to-julian-dt, math-date-to-gregorian-dt): New functions.
3950 (math-leap-year-p): Add option to distinguish between Julian
3951 and Gregorian calendars.
3952 (math-day-number): Use `math-day-in-year' to do the computations.
3953 (math-absolute-from-dt): Rename from `math-absolute-from-date'.
3954 Use `math-absolute-from-gregorian' and `math-absolute-from-julian'
3955 to do the computations.
3956 (math-date-to-dt): Use `math-date-to-julian-dt' and
3957 `math-date-to-gregorian-dt' to do the computations.
3958 (calcFunc-weekday, math-format-date-part): Use the new version of
3959 the DATE to determine the weekday.
3960 (calcFunc-newmonth, calcFunc-newyear): Use `calc-gregorian-switch'
3963 2012-11-17 Eli Zaretskii <eliz@gnu.org>
3965 * term/w32-win.el (w32-handle-dropped-file): Use 'file://' only on
3966 Cygwin; otherwise use 'file:'. (Bug#12914)
3967 (cygwin-convert-path-from-windows): Declare, to avoid
3968 byte-compiler warnings.
3970 2012-11-17 Andreas Politz <politza@fh-trier.de>
3972 * ibuffer.el (ibuffer-mark-forward, ibuffer-unmark-forward)
3973 (ibuffer-unmark-backward, ibuffer-mark-interactive): Support plain
3974 prefix and negative numeric prefix args (Bug#12795).
3976 2012-11-17 Stephen Berman <stephen.berman@gmx.net>
3978 * play/gamegrid.el (gamegrid-add-score-with-update-game-score-1):
3979 Don't signal an error with a score that is too low to add to the
3980 list of top scores. (Bug#12779)
3982 2012-11-17 Chong Yidong <cyd@gnu.org>
3984 * help-mode.el (help-xref-interned): End on point-min (Bug#12737).
3986 * filecache.el (file-cache-add-file): Handle relative file name in
3987 the argument (Bug#12694).
3989 2012-11-16 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
3991 * eshell/em-unix.el (eshell/mkdir): Handle "--parents" (bug#12897).
3993 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
3995 * emacs-lisp/advice.el (ad-make-advised-definition): Improve last fix.
3997 * emacs-lisp/cl-lib.el: Set more meaningful version number.
3999 2012-11-16 Martin Rudalics <rudalics@gmx.at>
4001 * window.el (enlarge-window, shrink-window): Don't mention return
4002 value in doc-string (Bug#12896).
4003 (window--display-buffer): Don't resize frames - it won't work
4004 with all window managers and defeat pop-up-frame-alist.
4005 (display-buffer-alist): In doc-string explain that CONDITION can
4006 be a function and which arguments are passed to it (Bug#12854).
4007 (display-buffer-assq-regexp): New argument ACTION. Handle lambda
4008 expressions (Bug#12854).
4009 (display-buffer): Pass ACTION argument to
4010 display-buffer-assq-regexp.
4012 2012-11-16 Glenn Morris <rgm@gnu.org>
4014 * window.el (fit-frame-to-buffer-bottom-margin)
4015 (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
4017 * faces.el (face-underline-p): Use face-attribute-specified-or.
4019 2012-11-16 Juanma Barranquero <lekktu@gmail.com>
4021 * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
4023 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
4025 * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
4027 2012-11-16 Glenn Morris <rgm@gnu.org>
4029 * eshell/em-cmpl.el (eshell-pcomplete): New command. (Bug#12838)
4030 (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
4032 * faces.el (face-underline-p): Doc fix. Handle :underline being
4033 things other than `t' (a string, a list).
4034 (face-inverse-video-p): Doc fix.
4035 (set-face-underline): Rename it back from set-face-underline-p.
4036 Doc fix. Allow interactive input of values other than t.
4037 (read-face-attribute): Apply formatting to :underline,
4038 since like :box and :stipple it can take list values.
4040 * term.el (ansi-term): Don't let C-x escape-char binding
4041 clobber the more standard C-c binding. (Bug#12842)
4043 * subr.el (set-temporary-overlay-map): Doc fix.
4045 2012-11-16 Martin Rudalics <rudalics@gmx.at>
4047 * window.el (record-window-buffer)
4048 (display-buffer-record-window): When copying the markers to
4049 window-point preserve window-point-insertion-type. (Bug#12588)
4051 2012-11-16 Glenn Morris <rgm@gnu.org>
4053 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
4054 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
4055 Use new names for hooks rather than obsolete aliases.
4057 2012-11-15 Daniel Colascione <dancol@dancol.org>
4059 * term/w32-win.el (w32-handle-dropped-file): Use a "file://"
4060 prefix instead of "file:" so that when FILE-NAME begins with "//",
4061 as it does when the target file is on a network share, url-handler
4064 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
4066 * emacs-lisp/advice.el (ad-definition-type): Make sure we don't use
4067 a preactivated advice from an old advice.el; they're not compatible!
4069 2012-11-15 Katsumi Yamaoka <yamaoka@jpl.org>
4071 * emacs-lisp/nadvice.el (advice--make-interactive-form):
4072 Fix string-spec case.
4074 * emacs-lisp/advice.el (ad-make-advised-definition): Fix undefined case.
4076 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
4078 * emacs-lisp/nadvice.el: Add buffer-local support to add-function.
4079 (advice--buffer-local-function-sample): New var.
4080 (advice--set-buffer-local, advice--buffer-local): New functions.
4081 (add-function, remove-function): Use them.
4083 2012-11-15 Drew Adams <drew.adams@oracle.com>
4085 * imenu.el (imenu--split-submenus): Use imenu--subalist-p (bug#12717).
4087 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
4089 * emacs-lisp/cl-macs.el (cl--transform-lambda): Defend against
4090 potential binding of print-gensym to t, and prettify (back)quotes in
4091 case they appear in args's default values (bug#12884).
4093 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4095 * emacs-lisp/nadvice.el: Add around advice for interactive specs.
4096 (advice-eval-interactive-spec): New function.
4097 (advice--make-interactive-form): Support around advice (bug#12844).
4099 2012-11-14 Dmitry Gutov <dgutov@yandex.ru>
4101 * progmodes/ruby-mode.el (ruby-expr-beg): Make heredoc detection
4102 more strict. Add docstring.
4103 (ruby-expression-expansion-re): Extract from
4104 `ruby-match-expression-expansion'.
4105 (ruby-syntax-propertize-function): After everything else, search
4106 for expansions in string literals, mark their insides as
4107 whitespace syntax and save match data for font-lock.
4108 (ruby-font-lock-keywords): Use the 2nd group from expression
4110 (ruby-match-expression-expansion): Use the match data saved to the
4111 text property in ruby-syntax-propertize-function.
4113 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4115 * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
4118 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
4120 * progmodes/ruby-mode.el (ruby-move-to-block): Looks for a block
4121 start/end keyword a bit harder. Works with different values of N.
4123 (ruby-end-of-block): Update accordingly.
4125 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
4127 * woman.el (woman-file-name): Don't mess with unread-command-events
4130 * emacs-lisp/advice.el: Layer on top of nadvice.el.
4131 Remove out of date self-require hack.
4132 (ad-do-advised-functions): Use simple `dolist'.
4133 (ad-advice-name, ad-advice-protected, ad-advice-enabled)
4134 (ad-advice-definition): Redefine as functions.
4135 (ad-advice-classes): Move before first use.
4136 (ad-make-origname, ad-set-orig-definition, ad-clear-orig-definition)
4137 (ad-make-mapped-call, ad-make-advised-docstring,ad-make-plain-docstring)
4138 (ad--defalias-fset): Remove functions.
4139 (ad-make-advicefunname, ad-clear-advicefunname-definition): New funs.
4140 (ad-get-orig-definition): Rewrite.
4141 (ad-make-advised-definition-docstring): Change base docstring.
4142 (ad-real-orig-definition): Rewrite.
4143 (ad-map-arglists): Change name of called function.
4144 (ad--make-advised-docstring): Redirect `function' from ad-Advice-...
4145 (ad-make-advised-definition): Simplify.
4146 (ad-assemble-advised-definition): Tweak for new calling context.
4147 (ad-activate-advised-definition): Setup ad-Advice-* i.s.o ad-Orig-*.
4148 (ad--defalias-fset): Rename from ad-handle-definition. Make it set the
4149 function and call ad-activate if needed.
4150 (ad-activate, ad-deactivate): Don't call ad-handle-definition any more.
4151 (ad-recover): Clear ad-Advice-* instead of ad-Orig-*.
4152 (ad-compile-function): Compile ad-Advice-*.
4153 (ad-activate-on-top-level, ad-with-auto-activation-disabled): Remove.
4154 (ad-start-advice, ad-stop-advice): Remove.
4156 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
4158 * progmodes/ruby-mode.el (ruby-add-log-current-method): Print the
4159 period before class method names, not after. Remove handling of
4160 one impossible case. Add comments.
4162 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
4164 * emacs-lisp/advice.el: Remove support for freezing.
4165 (ad-make-freeze-docstring, ad-make-freeze-definition): Remove functions.
4166 (ad-make-single-advice-docstring, ad-defadvice-flags, defadvice):
4167 Remove support for `freeze'.
4169 * emacs-lisp/cl.el (dolist, dotimes, declare): Use advice-add to
4170 override the default.
4171 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Rewrite without using
4173 * subr.el (dolist, dotimes, declare): Redefine them normally, even when
4176 * emacs-lisp/nadvice.el (advice--normalize): New function, extracted
4178 (advice--strip-macro): New function.
4179 (advice--defalias-fset): Use them to handle macros.
4180 (advice-add): Use them.
4181 (advice-member-p): Correctly handle macros.
4183 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
4185 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
4186 Never font-lock the beginning of singleton class as heredoc.
4188 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
4190 * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
4192 2012-11-13 Wolfgang Jenkner <wjenkner@inode.at>
4194 * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
4195 39 and 49 (bug#12792). Also, treat unimplemented parameters as 0,
4196 thereby restoring the behavior of revisions prior to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
4198 2012-11-13 Fabián Ezequiel Gallina <fgallina@cuca>
4200 Fix end-of-defun misbehavior.
4201 * progmodes/python.el (python-nav-beginning-of-defun): Rename from
4202 python-beginning-of-defun-function. Handle nested defuns
4204 (python-nav-end-of-defun): Rename from
4205 python-end-of-defun-function. Ensure forward movement.
4206 (python-info-current-defun): Reimplement to work as intended
4207 with new fixed python-nav-{end,beginning}-of-defun. Stop scanning
4208 parent defuns as soon as possible.
4210 2012-11-13 Glenn Morris <rgm@gnu.org>
4212 * progmodes/flymake.el (flymake-error-bitmap)
4213 (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
4214 (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
4216 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
4218 * progmodes/ruby-mode.el (ruby-move-to-block): When moving
4219 backward, always stop at indentation. Reverts the change from
4220 2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
4222 2012-11-13 Glenn Morris <rgm@gnu.org>
4224 * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
4225 Add ibuffer-filter-by-derived-mode.
4227 * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
4228 the same name shadowing each other.
4230 * window.el (with-temp-buffer-window): Doc tweak.
4232 * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
4234 * help.el (temp-buffer-max-height):
4235 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
4236 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
4238 2012-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
4240 * emacs-lisp/nadvice.el: New package.
4241 * subr.el (special-form-p): New function.
4242 * emacs-lisp/elp.el: Use lexical-binding and advice-add.
4243 (elp-all-instrumented-list): Remove var.
4244 (elp-not-profilable): Remove elp-wrapper.
4245 (elp-profilable-p): Use autoloadp and special-form-p.
4246 (elp--advice-name): New const.
4247 (elp-instrument-function): Use advice-add.
4248 (elp--instrumented-p): New predicate.
4249 (elp-restore-function): Use advice-remove.
4250 (elp-restore-all, elp-reset-all): Use mapatoms.
4251 (elp-set-master): Use elp--instrumented-p.
4252 (elp--make-wrapper): Rename from elp-wrapper, return a function
4253 suitable for advice-add. Use cl-inf.
4254 (elp-results): Use mapatoms+elp--instrumented-p.
4255 * emacs-lisp/debug.el: Use lexical-binding and advice-add.
4256 (debug-function-list): Remove var.
4257 (debug): Rename arg, and then let-bind it explicitly inside.
4258 (debugger-setup-buffer): Rename arg.
4259 (debugger-setup-buffer): Adjust counts to new debug-on-entry setup.
4260 (debugger-frame-number): Adjust to new debug-on-entry setup.
4261 (debug--implement-debug-on-entry): Rename from
4262 implement-debug-on-entry, add argument.
4263 (debugger-special-form-p): Remove, use special-form-p instead.
4264 (debug-on-entry): Use advice-add.
4265 (debug--function-list): New function.
4266 (cancel-debug-on-entry): Use it, along with advice-remove.
4267 (debug-arglist, debug-convert-byte-code, debug-on-entry-1): Remove.
4268 (debugger-list-functions): Use debug--function-list instead of
4269 debug-function-list.
4270 * emacs-lisp/advice.el (ad-save-real-definition): Remove, unused.
4271 (ad-special-form-p): Remove, use special-form-p instead.
4272 (ad-set-advice-info): Use add-function and remove-function.
4273 (ad--defalias-fset): Adjust accordingly.
4275 2012-11-10 Glenn Morris <rgm@gnu.org>
4277 * mail/emacsbug.el (report-emacs-bug-tracker-url)
4278 (report-emacs-bug-bug-alist, report-emacs-bug-choice-widget)
4279 (report-emacs-bug-create-existing-bugs-buffer)
4280 (report-emacs-bug-parse-query-results)
4281 (report-emacs-bug-query-existing-bugs): Remove. (Bug#7449)
4283 * term.el (term-default-fg-color, term-default-bg-color):
4284 Make obsolete, rather than just saying "deprecated" in the doc.
4286 * term.el (term): Rename from `term-face'.
4287 (term-current-face, ansi-term-color-vector)
4288 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
4291 2012-11-10 Jan Djärv <jan.h.d@swipnet.se>
4293 * server.el (server-create-window-system-frame): Handle Nextstep
4294 specially (Bug#12780).
4296 2012-11-10 Glenn Morris <rgm@gnu.org>
4298 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
4299 Unautoload, and make obsolete. (Bug#7449)
4301 2012-11-10 Chong Yidong <cyd@gnu.org>
4303 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
4304 rename from diff-remove-trailing-whitespace (Bug#12831).
4306 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
4308 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
4309 miscompilation of trace.el.
4311 2012-11-10 Glenn Morris <rgm@gnu.org>
4313 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
4315 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
4317 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
4320 2012-11-10 Chong Yidong <cyd@gnu.org>
4322 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
4323 a defcustom with an appropriate :set function.
4324 (minibuffer-default--in-prompt-regexps): New function.
4326 2012-11-10 Glenn Morris <rgm@gnu.org>
4328 * emacs-lisp/cl.el (define-setf-expander, defsetf)
4329 (define-modify-macro): Doc fixes.
4331 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
4332 (gv-define-simple-setter): Update doc of `fix-return'.
4334 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
4336 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
4337 twice when `fix-return' is set (bug#12813).
4339 * emacs-lisp/cl.el (defsetf): Pass the third arg to
4340 gv-define-simple-setter (bug#12812).
4342 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
4345 2012-11-10 Glenn Morris <rgm@gnu.org>
4347 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
4349 * emacs-lisp/cl-extra.el (cl-prettyexpand):
4350 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
4351 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
4352 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
4354 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
4356 2012-11-10 Leo Liu <sdl.web@gmail.com>
4358 * ido.el (ido-set-matches-1): Improve flex matching performance by
4359 removing backtracking in the regexp (suggested by Stefan). (Bug#12796)
4361 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4363 * emacs-lisp/advice.el (ad-set-advice-info): Set defalias-fset-function.
4364 (ad--defalias-fset): New function.
4365 (ad-safe-fset): Remove.
4366 (ad-make-freeze-definition): Use cl-letf*.
4368 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4370 * subr.el (dolist): Don't bind VAR in RESULT.
4372 * emacs-lisp/advice.el: Miscellaneous cleanup. Use lexical-binding.
4373 (fset, documentation): Don't save real def since we don't advise.
4374 (ad-do-advised-functions): Remove problematic `result-form'.
4375 (ad-safe-fset): `ad-real-fset' => `fset'.
4376 (ad-read-advised-function): Don't assume that ad-do-advised-functions
4377 uses CL's dolist internally.
4378 (ad-arglist): Remove unused arg `name'.
4379 (ad-docstring, ad-make-advised-docstring):
4380 `ad-real-documentation' => `documentation'.
4381 (warning-suppress-types): Declare.
4382 (ad-set-arguments): Simple CSE.
4383 (ad-recover-normality): Sanity check.
4385 * emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Don't turn
4386 (funcall '(lambda ..) ..) into ((lambda ..) ..).
4388 2012-11-09 Vincent Belaïche <vincentb1@users.sourceforge.net>
4390 * ses.el: symbol to coordinate mapping is made by symbol property
4391 `ses-cell'. This means that the same mapping is done for all SES
4392 sheets. That is good enough for cells with standard A1 names, but
4393 not for named cell. So a hash map is added for the latter.
4394 (defconst ses-localvars): Add local variable ses--named-cell-hashmap
4395 (ses-sym-rowcol): Use hashmap for named cell.
4396 (ses-is-cell-sym-p): New defun.
4397 (ses-decode-cell-symbol): New defun.
4398 (ses-create-cell-variable): Add cell to hashmap when name is not
4400 (ses-rename-cell): Check that cell new name is not already in
4401 spreadsheet with the use of ses-is-cell-sym-p
4402 (ses-rename-cell): Use hash map for named cells, but accept also
4403 renaming back to A1-like.
4405 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4407 * emacs-lisp/advice.el: Use new dynamic docstrings.
4408 (ad-make-advised-definition-docstring, ad-advised-definition-p):
4409 Use dynamic-docstring-function instead of ad-advice-info.
4410 (ad--make-advised-docstring): New function extracted from
4411 ad-make-advised-docstring.
4412 (ad-make-advised-docstring): Use it.
4413 * progmodes/sql.el (sql--make-help-docstring): New function, extracted
4415 (sql-help): Use it with dynamic-docstring-function.
4417 * env.el (env--substitute-vars-regexp): Don't use rx (for bootstrap).
4419 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4421 * files.el (hack-one-local-variable--obsolete): New function.
4422 (hack-one-local-variable): Use it for obsolete settings.
4424 * subr.el (locate-user-emacs-file): If both old and new name exist, use
4427 * progmodes/js.el (js--filling-paragraph): New var.
4428 (c-forward-sws, c-backward-sws, c-beginning-of-macro): Advise.
4429 (js-c-fill-paragraph): Prefer advice to cl-letf so the rebinding is
4432 2012-11-08 Julien Danjou <julien@danjou.info>
4434 * progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
4435 `auto-mode-alist' (Bug#12835).
4437 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4439 * progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.
4440 (perl--prettify-symbols-alist): New const.
4441 (perl--font-lock-compose-symbol, perl--font-lock-symbols-keywords):
4443 (perl-font-lock-keywords-2): Use them.
4444 (perl-electric-noindent-p): New function.
4445 (perl-mode): Use it to set up electric-indent-mode.
4446 (perl-electric-terminator, perl-indent-command): Mark obsolete.
4447 (perl-mode-map): Remove bindings for them.
4448 (perl-imenu-generic-expression, perl-outline-level):
4449 Match functions&packages in column>0.
4451 * env.el (env--substitute-vars-regexp): New const.
4452 (substitute-env-vars): Use it. Add `only-defined' arg.
4453 * net/tramp.el (tramp-replace-environment-variables): Use it.
4455 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
4456 Byte-compile *before* eval in eval-and-compile.
4457 (byte-compile-log-warning): Remove redundant inhibit-read-only.
4458 (byte-compile-file-form-autoload): Don't hide actual definition.
4459 (byte-compile-maybe-guarded): Accept `functionp' as well.
4461 * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
4463 2012-11-07 Michael Albinus <michael.albinus@gmx.de>
4465 * notifications.el (notifications-get-server-information-method):
4467 (notifications-get-capabilities): Fix docstring.
4468 (notifications-get-server-information): New defun.
4470 2012-11-06 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4472 * textmodes/ispell.el (ispell-region): Standard re-indent for better
4475 * textmodes/ispell.el: Experimental support for support debugging.
4476 (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
4478 (ispell-print-if-debug): New function to print stuff to
4479 `ispell-debug-buffer' if debugging is enabled.
4480 (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
4481 show some debugging info.
4482 (ispell-buffer-with-debug): New function that creates a debugging
4483 buffer and calls `ispell-buffer' with debugging enabled.
4485 * textmodes/ispell.el (ispell-region): Do not prefix sent string by
4486 comment in autoconf mode. (Bug#12768)
4488 2012-11-06 Dmitry Antipov <dmantipov@yandex.ru>
4490 * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
4491 frame-first-window, frame-root-window, frame-selected-window,
4492 minibuffer-selected-window, minibuffer-window,
4493 window-absolute-pixel-edges, window-at, window-body-height,
4494 window-body-width, window-display-table, window-combination-limit,
4495 window-frame, window-fringes, window-inside-absolute-pixel-edges,
4496 window-inside-edges, window-inside-pixel-edges, window-left-child,
4497 window-left-column, window-margins, window-next-buffers,
4498 window-next-sibling, window-new-normal, window-new-total,
4499 window-normal-size, window-parameter, window-parameters, window-parent,
4500 window-pixel-edges, window-point, window-prev-buffers,
4501 window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
4502 window-start, window-text-height, window-top-child, window-top-line,
4503 window-total-height, window-total-width and window-use-time to the list
4504 of functions without side-effects.
4505 (toplevel): Add window-valid-p to the list of error-free functions
4506 without side-effects.
4508 2012-11-05 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4510 * textmodes/ispell.el (ispell-program-name):
4511 Update spellchecker parameters when customized.
4513 2012-11-04 Glenn Morris <rgm@gnu.org>
4515 * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn. (Bug#7850)
4517 2012-11-04 Chong Yidong <cyd@gnu.org>
4519 * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
4520 same-window-* variables.
4522 2012-11-04 Juri Linkov <juri@jurta.org>
4524 * isearch.el (isearch-help-for-help, isearch-describe-bindings)
4525 (isearch-describe-key, isearch-describe-mode): Use a display
4526 action instead of binding same-window-* variables (Bug#10040).
4528 2012-11-03 Glenn Morris <rgm@gnu.org>
4530 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
4531 Rename handler properties back from cl-- to cl-. (Bug#12788)
4533 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
4535 2012-11-03 Eli Zaretskii <eliz@gnu.org>
4537 * term/pc-win.el: Don't load term/internal from here.
4539 * loadup.el: Load term/internal from here.
4541 2012-11-03 Fabián Ezequiel Gallina <fgallina@cuca>
4543 * progmodes/python.el (inferior-python-mode): Fix hang in
4544 jit-lock (Bug#12645).
4546 2012-11-03 Martin Rudalics <rudalics@gmx.at>
4548 * window.el (switch-to-visible-buffer)
4549 (switch-to-buffer-preserve-window-point): Fix doc-strings.
4551 2012-11-03 Glenn Morris <rgm@gnu.org>
4553 * emacs-lisp/cl-lib.el (cl--random-time):
4554 Rename from cl-random-time. (Bug#12773)
4555 (cl--gensym-counter, cl--random-state): Update callers.
4556 * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
4558 2012-11-03 Chong Yidong <cyd@gnu.org>
4560 * cus-start.el: Make cursor-type customizable (Bug#11633).
4562 2012-11-02 Glenn Morris <rgm@gnu.org>
4564 * filecache.el: No need to load find-lisp when compiling.
4565 (find-lisp-find-files): Autoload it.
4566 (file-cache-add-directory-recursively): Don't require find-lisp.
4568 * image.el (image-type-from-file-name): Trivial simplification.
4570 * emacs-lisp/bytecomp.el (byte-compile-eval):
4571 Decouple "noruntime" and "cl-functions" warnings.
4573 2012-11-01 Stephen Berman <stephen.berman@gmx.net>
4575 * play/gomoku.el (gomoku-display-statistics): Update mode line
4576 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
4578 2012-10-31 Martin Rudalics <rudalics@gmx.at>
4580 * window.el (quit-restore-window): If the window has been
4581 created on an existing frame and ended up as the sole window on
4582 that frame, do not delete it (Bug#12764).
4584 2012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
4586 * progmodes/sh-script.el (sh--inside-noncommand-expression):
4587 Rename from sh--inside-arithmetic-expression, handle more cases
4590 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
4591 (sh-font-lock-open-heredoc): Use it (bug#12770).
4593 2012-10-30 Glenn Morris <rgm@gnu.org>
4595 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
4597 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
4599 2012-10-29 Chong Yidong <cyd@gnu.org>
4601 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
4602 function key is stored in a keyboard macro (Bug#4894).
4604 * thingatpt.el (number-at-point): Apply a thing-at-point property.
4606 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
4608 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
4610 (diff-unified->context, diff-context->unified)
4611 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
4613 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
4615 * files.el (find-alternate-file): Only ask one question (bug#12487).
4617 2012-10-29 Chong Yidong <cyd@gnu.org>
4619 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
4620 Suggested by Dan Nicolaescu (Bug#6326).
4622 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
4624 * startup.el (fancy-about-screen): Don't message (Bug#12680).
4626 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
4628 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
4630 * face-remap.el (face-remap-add-relative): Handle the case where a
4631 face-remapping-alist entry is a cons cell (Bug#12762).
4633 2012-10-29 Kevin Ryde <user42@zip.com.au>
4635 * woman.el (woman-parse-numeric-value): Handle picas correctly
4638 2012-10-29 Glenn Morris <rgm@gnu.org>
4640 * emacs-lisp/cl.el (defsetf): Doc fix.
4642 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
4644 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
4645 syntax to the matching opener, if any (bug#12547).
4646 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
4647 matching open as a "case-(".
4648 (sh-smie-rc-grammar): Add a corresponding rule for it.
4650 2012-10-28 Daniel Hackney <dan@haxney.org>
4652 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
4653 "PKGNAME-autoloads.el" in case we created it.
4655 2012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
4657 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
4658 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
4659 (completion--twq-all): Disable too-strict assertions.
4661 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
4663 2012-10-27 Eli Zaretskii <eliz@gnu.org>
4665 * profiler.el (profiler-report-make-entry-part): Fix help-echo
4666 text to match the real keybindings.
4668 2012-10-27 Juri Linkov <juri@jurta.org>
4670 * wdired.el (wdired-keep-marker-rename): New defcustom.
4671 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
4674 * dired.el (dired-keep-marker-rename): Add reference to
4675 `wdired-keep-marker-rename' in the docstring.
4676 Add default character value ?R to display initially in
4677 Customization UI instead of ?@.
4679 2012-10-27 Martin Rudalics <rudalics@gmx.at>
4681 * window.el (display-buffer): In doc-string describe
4682 window-height and window-width alist entries.
4684 * time.el (display-time-world): Restore fit-window-to-buffer
4687 2012-10-27 Chong Yidong <cyd@gnu.org>
4689 * subr.el (insert-buffer-substring-as-yank): Doc fix.
4691 2012-10-26 Jambunathan K <kjambunathan@gmail.com>
4693 * minibuffer.el (completion-category-overrides): New completion
4694 category `bookmark' (bug#11131).
4696 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
4698 * emacs-lisp/advice.el (ad-assemble-advised-definition):
4699 Silence bogus compiler warnings for ad-do-it.
4701 * bookmark.el (bookmark-completing-read): Set the completion category
4702 to `bookmark' (bug#11131).
4704 2012-10-26 Bastien <bzg@altern.org>
4705 Stefan Monnier <monnier@iro.umontreal.ca>
4707 * face-remap.el: Use lexical-binding.
4708 (text-scale-adjust): Improve docstring. Use itself for the temporary
4709 overlay-map bindings, so as to repeat the "Use..." message each time.
4711 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
4713 * emacs-lisp/macroexp.el (macroexp--expand-all):
4714 Obey byte-compile-warning-enabled-p (bug#12486).
4716 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
4717 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
4719 2012-10-26 Martin Rudalics <rudalics@gmx.at>
4721 * mouse.el (mouse-drag-line): Move last form into preceding when
4724 * help.el (resize-temp-buffer-window): Fix doc-string.
4726 2012-10-25 David Engster <deng@randomsample.de>
4728 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
4729 Remove. This feature is already integrated in imenu.
4731 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
4732 always loaded. Require `speedbar' unconditionally.
4734 2012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
4736 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
4738 * minibuffer.el (minibuffer-force-complete): Fix thinko.
4740 * net/ldap.el (ldap-search-internal): The official ldif format starts
4741 with a "version: 1" header (bug#12724).
4743 * emacs-lisp/package.el (package-installed-p): Warn if not ready
4746 2012-10-25 Glenn Morris <rgm@gnu.org>
4748 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
4750 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
4752 * minibuffer.el (minibuffer-force-complete): Use one more marker
4753 for the temporary-overlay-map command (bug#12619).
4755 2012-10-24 Chong Yidong <cyd@gnu.org>
4757 * time.el (display-time-world-mode): Derive from special-mode.
4758 (display-time-world): Use display-buffer (Bug#12708).
4759 (display-time-world-mode-map): Variable deleted.
4760 (display-time-world-display): Wrap the final delete-char inside
4763 2012-10-24 Chong Yidong <cyd@gnu.org>
4765 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
4768 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
4770 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
4772 * minibuffer.el (completion--all-sorted-completions-location): New var.
4773 (completion--cache-all-sorted-completions)
4774 (completion--flush-all-sorted-completions): Use it.
4775 (completion-in-region, completion-in-region--postch)
4776 (completion-at-point, completion-help-at-point): Use markers in
4777 completion-in-region--data (bug#12619).
4779 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
4781 * progmodes/compile.el (compilation-start): Try to handle common
4782 quoting of `cd' argument (bug#12640).
4784 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
4787 2012-10-23 Glenn Morris <rgm@gnu.org>
4789 * progmodes/gud.el (gud-menu-map):
4790 Check gdb-active-process is bound. (Bug#12358)
4792 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
4794 * repeat.el (repeat): Set real-this-command (bug#12232).
4796 * htmlfontify.el (hfy-post-html-hook):
4797 * filesets.el (filesets-cache-fill-content-hook):
4798 * arc-mode.el (archive-extract-hook):
4799 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
4800 * net/rcirc.el (rcirc-sentinel-functions)
4801 (rcirc-receive-message-functions, rcirc-activity-functions)
4802 (rcirc-print-functions):
4803 * net/dbus.el (dbus-event-error-functions):
4804 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
4805 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
4806 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
4807 * term/sun.el (sun-raw-prefix-hooks):
4808 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
4810 2012-10-23 Michael Albinus <michael.albinus@gmx.de>
4812 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
4813 Set `tramp-chunksize' to 1. This improves the performance.
4814 (tramp-smb-wait-for-output): Add timeout to
4815 `tramp-accept-process-output' calls.
4817 2012-10-23 Chong Yidong <cyd@gnu.org>
4819 * faces.el (font-list-limit): Define as an obsolete variable.
4821 * startup.el (command-line):
4822 * cus-start.el: Don't refer to font-list-limit.
4824 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
4826 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
4828 * subr.el (internal-temp-output-buffer-show): Rename from
4829 temp-output-buffer-show, since previously compiled files expect this name.
4831 2012-10-23 Glenn Morris <rgm@gnu.org>
4833 * image.el (image-type-from-file-name): If multiple types match,
4834 return the first one that is supported. (Bug#9045)
4836 2012-10-22 Glenn Morris <rgm@gnu.org>
4838 * image.el (imagemagick-enabled-types): Doc fix.
4840 2012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
4842 * progmodes/which-func.el (which-func-current): The hash-table may have
4843 an explicit nil (bug#12338).
4845 2012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
4847 * electric.el (electric-pair-delete-selection-self-insert-function):
4848 Rename to electric-pair-will-use-region, return a boolean.
4849 (electric-pair-mode): Adjust accordingly. Don't require delsel.
4851 * delsel.el (delete-selection-helper): Use a function instead of a hook.
4852 (delete-selection-pre-hook): Use use-region-p.
4853 (delete-selection-self-insert-function): Remove.
4854 (self-insert-command): Obey self-insert-uses-region-functions.
4855 (self-insert-iso): Revert to previous setting, since we don't actually
4856 know what that command does.
4857 (delete-selection-self-insert-hooks): Remove.
4859 2012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
4861 * delsel.el (delete-selection-helper): New function, extracted from
4862 delete-selection-pre-hook.
4863 (delete-selection-pre-hook): Use it.
4864 (delete-selection-self-insert-function): New function.
4865 (delete-selection-self-insert-hooks): New hook.
4866 (self-insert-command, self-insert-iso): Use it.
4867 * electric.el (electric-pair-syntax): New function, extracted from
4868 electric-pair-post-self-insert-function.
4869 (electric-pair-post-self-insert-function): Use it.
4870 (electric-pair-delete-selection-self-insert-function): New function.
4871 (electric-pair-mode): Require delsel and setup
4872 delete-selection-self-insert-hooks (bug#11520).
4874 2012-10-20 Chong Yidong <cyd@gnu.org>
4876 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
4877 no changes to show (Bug#12586).
4879 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
4880 list explicitly (Bug#12571).
4882 2012-10-20 Arne Jørgensen <arne@arnested.dk>
4884 * progmodes/flymake.el (flymake-create-temp-inplace):
4887 2012-10-20 Eli Zaretskii <eliz@gnu.org>
4889 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
4891 2012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
4893 * calc/calc-units.el (math-extract-units): Properly extract powers
4896 2012-10-20 Daniel Colascione <dancol@dancol.org>
4898 * frame.el (make-frame): Set x-display-name as we used to in order
4899 to unbreak creating an X11 frame from an Emacs daemon started
4902 2012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
4904 * minibuffer.el (minibuffer-force-complete): Make the next completion use
4905 the same completion-field (bug#12221).
4907 2012-10-19 Martin Rudalics <rudalics@gmx.at>
4909 * emacs-lisp/debug.el (debug): Record height of debugger window
4910 also when debugger will be back (Bug#8789).
4912 2012-10-18 Chong Yidong <cyd@gnu.org>
4914 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
4915 Convert to defcustom.
4916 (gdb-get-source-file): Don't bind pop-up-windows.
4918 * progmodes/gud.el (gud-display-line): Don't specially re-use
4919 other frames for the gdb-mi case (Bug#12648).
4921 2012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
4923 * emacs-lisp/advice.el: Clean up commentary a bit.
4924 (ad-do-advised-functions, ad-with-originals): Use `declare'.
4925 (byte-code-function-p): Never redefine.
4927 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
4929 2012-10-18 Glenn Morris <rgm@gnu.org>
4931 * dired.el (dired-sort-toggle): Some ls implementations only allow
4932 a single option string. (Bug#12666)
4934 * minibuffer.el (completion-cycle-threshold): Doc fix.
4936 2012-10-17 Kenichi Handa <handa@gnu.org>
4938 * international/mule.el (set-keyboard-coding-system):
4939 Recover input meta mode when the new coding system doesn not use 8-bit.
4940 Supply TERMINAL arg to set-input-meta-mode.
4942 2012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
4944 * wdired.el (wdired-old-marks): New variable.
4945 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
4946 (wdired-do-renames): Move point with renamed file and don't lose
4947 mark status (Bug#11795).
4949 2012-10-16 Juri Linkov <juri@jurta.org>
4951 * replace.el (query-replace-help): Mention multi-buffer replacement
4952 keys in the Help message. (Bug#12655)
4954 2012-10-15 Chong Yidong <cyd@gnu.org>
4956 * emacs-lisp/byte-run.el (defsubst): Doc fix.
4958 2012-10-14 Eli Zaretskii <eliz@gnu.org>
4960 * window.el (display-buffer): Doc fix.
4962 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4963 Adjust the msft regexp to the output of Studio 2010, and move msft
4964 before edg-1. See the discussion on emacs-devel,
4965 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
4968 2012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
4970 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
4971 (oset): Move uses of object-class-fast macro after its definition.
4973 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
4975 2012-10-13 Chong Yidong <cyd@gnu.org>
4977 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
4978 enabled, re-enable it (Bug#11963).
4980 2012-10-13 Martin Rudalics <rudalics@gmx.at>
4982 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
4983 non-nil, restore window configuration (Bug#12623).
4985 2012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
4987 * help-fns.el (describe-variable, describe-function-1):
4988 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
4990 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
4992 2012-10-12 Glenn Morris <rgm@gnu.org>
4994 * mail/rmailsum.el (rmail-header-summary):
4995 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
4997 2012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
4999 * progmodes/python.el (python-mode-map):
5000 Replace subtitute-key-definition with proper command remapping.
5001 (python-nav--up-list): Fix behavior for blocks on the same level.
5003 2012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
5005 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
5007 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
5008 changes to the format of load-history.
5010 * international/mule-cmds.el (read-char-by-name): Move let-binding of
5011 completion-ignore-case in case that var is buffer-local (bug#12615).
5013 2012-10-11 Kenichi Handa <handa@gnu.org>
5015 * international/eucjp-ms.el: Re-generated.
5017 2012-10-10 Kenichi Handa <handa@gnu.org>
5019 * select.el (xselect--encode-string): If a coding is specified for
5020 selection, and that is compatible with COMPOUND_TEXT, use it.
5022 2012-10-10 Martin Rudalics <rudalics@gmx.at>
5024 * window.el (switch-to-buffer-preserve-window-point): New option.
5026 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
5028 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
5030 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
5031 Don't document nil as a useful value (bug#12583).
5033 2012-10-09 Michael Albinus <michael.albinus@gmx.de>
5035 * net/tramp.el (tramp-debug-message):
5036 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
5037 (with-tramp-progress-reporter): Rename from
5038 `tramp-with-progress-reporter'.
5039 (with-tramp-file-property, with-tramp-connection-property):
5040 Move from tramp-cache.el, rename from `with-file-property' and
5041 `with-connection-property', respectively.
5043 * net/tramp-cache.el: Remove `with-file-property' and
5044 `with-connection-property'.
5047 * net/tramp-gvfs.el:
5049 * net/tramp-smb.el: Adapt callees.
5051 * net/trampver.el: Update release number.
5053 2012-10-09 Glenn Morris <rgm@gnu.org>
5055 * w32-fns.el (set-message-beep):
5056 * term/w32-win.el (set-message-beep): Update declarations.
5058 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
5060 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
5061 (mode-line-widen, mode-line-input-method-map)
5062 (mode-line-coding-system-map, mode-line-remote)
5063 (mode-line-unbury-buffer, mode-line-bury-buffer)
5064 (mode-line-next-buffer, mode-line-previous-buffer):
5065 Replace save-selected-window+select-window => with-selected-window.
5067 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
5068 * progmodes/cc-vars.el (bq-process): Remove, unused.
5070 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
5072 2012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
5074 Implemented `backward-up-list'-like navigation.
5075 * progmodes/python.el (python-nav-up-list)
5076 (python-nav-backward-up-list): New functions.
5077 (python-mode-map): Define substitute key for backward-up-list to
5078 python-nav-backward-up-list.
5080 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
5082 * progmodes/python.el (python-fill-paragraph): Rename from
5083 python-fill-paragraph-function. Fixed fill-paragraph for
5084 decorators (Bug#12605).
5086 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
5088 * progmodes/python.el (python-shell-output-filter): Handle extra
5089 carriage return in OSX (Bug#12409).
5091 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
5093 Fix shell handling of unbalanced quotes and parens in output.
5094 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
5095 (python-syntax-propertize-function): Use it.
5096 (python-shell-output-syntax-table): New var.
5097 (inferior-python-mode): Prevent unbalanced parens/quotes from
5098 previous output mess with current input context.
5100 2012-10-08 Juanma Barranquero <lekktu@gmail.com>
5102 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
5103 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
5105 2012-10-08 Michael Albinus <michael.albinus@gmx.de>
5107 * ffap.el (ffap-replace-file-component): Support Tramp file name
5108 syntax, not only ange-ftp's one.
5110 2012-10-08 Glenn Morris <rgm@gnu.org>
5112 * cus-start.el (message-log-max): Set :version.
5114 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
5116 2012-10-08 Martin Rudalics <rudalics@gmx.at>
5118 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
5119 the minibuffer window (Bug#10851).
5121 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
5123 Enhancements on forward-sexp movement.
5124 * progmodes/python.el (python-nav-beginning-of-statement)
5125 (python-nav-end-of-statement): Return point-marker.
5126 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
5127 (python-info-current-symbol)
5128 (python-info-statement-starts-block-p): Rename from
5129 python-info-beginning-of-block-p.
5130 (python-info-statement-ends-block-p): Rename from
5131 python-info-end-of-block-p.
5132 (python-info-beginning-of-statement-p)
5133 (python-info-end-of-statement-p)
5134 (python-info-beginning-of-block-p, python-info-end-of-block-p):
5137 2012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
5139 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
5140 frame-selected-windows.
5142 2012-10-08 Daniel Colascione <dancol@dancol.org>
5144 * battery.el (battery-status-function): Check for
5145 w32-battery-status itself, not system-time windows-nt.
5147 * frame.el: Require cl-lib.
5148 (display-format-alist): New variable mapping frame types to
5149 functions that initialize them.
5150 (window-system-for-display): New function: interprets
5151 display-format-alist.
5152 (make-frame-on-display): Remove existing display-selection logic
5153 and just forward to make-frame, which will now DTRT.
5154 (make-frame): Restructure to use window-system-for-display to
5155 figure out how to create a frame on a given display.
5156 (display-mouse-p): Look for frame-type w32, not a particular
5159 * loadup.el: Load w32 lisp code when we have the w32 feature.
5161 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
5162 system-type windows-nt.
5164 * server.el (server-create-window-system-frame): Look for window
5166 (server-proces-filter): Only force a window system when windows-nt
5167 _and_ w32. Explain why.
5169 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
5170 of window systems we configure for the mode.
5172 * startup.el (command-line): Mark window system is initialized
5173 after we've done it.
5175 * common-win.el (x-select-text): Look for w32, not windows-nt.
5177 * ns-win.el: Require cl-lib. Add ourselves to
5178 display-format-alist.
5179 (ns-initialize-window-system): Assert we're not initialized twice.
5181 * w32-win.el: Enable lexical binding; require cl-lib; add
5182 ourselves to display-format-alist.
5183 (w32-handle-dropped-file): Convert incoming dropped files from
5184 Windows paths to Cygwin ones before passing them on to the rest of
5186 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
5187 (w32-initialize-window-system): Assert we're not initialized twice.
5189 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
5190 (x-initialize-window-system): Assert we're not initialized twice.
5192 * w32-common-fns.el: New File.
5193 (w32-version, w32-using-nt, w32-get-clipboard-data)
5194 (w32-set-clipboard-data, x-set-selection, x-get-selection)
5195 (w32-charset-info-alist, x-last-selected, text)
5196 (x-get-selection-value, x-selection-value): Move here.
5198 * w32-fns.el: Require w32-common-fns.
5199 (w32-version, w32-using-nt, w32-get-clipboard-data)
5200 (w32-set-clipboard-data, x-set-selection, x-get-selection)
5201 (w32-charset-info-alist, x-last-selected, text)
5202 (x-get-selection-value, x-selection-value): Move to
5206 (w32-allow-system-shell, w32-system-shells): Define only in
5209 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
5211 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
5212 (read-passwd): Remove a few more potential sources of leaks.
5214 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
5216 * progmodes/python.el (inferior-python-mode)
5217 (python-shell-make-comint): Fix initialization of local
5218 variables copied from parent buffer.
5220 2012-10-07 Jan Djärv <jan.h.d@swipnet.se>
5222 * term/ns-win.el (ns-read-file-name): Update declaration to match
5224 (ns-respond-to-change-font): Change fontsize separatly so we are sure
5225 it is set when font is acted upon.
5227 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
5229 Enhancements to indentation.
5230 * progmodes/python.el (python-indent-context): Give priority to
5231 inside-string context. Make comments indentation markers.
5232 (python-indent-region): Do not mess with strings, unless it's the
5233 enclosing set of quotes.
5235 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
5237 * window.el (internal--before-save-selected-window)
5238 (internal--after-save-selected-window): New functions extracted from
5239 save-selected-window. Make sure we return the `alist' we construct.
5240 (save-selected-window): Use them.
5242 * textmodes/tex-mode.el (tex-recenter-output-buffer):
5243 Use with-selected-window.
5245 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
5246 forms that define macros (bug#12593).
5248 2012-10-07 Kenichi Handa <handa@gnu.org>
5250 * international/mule-conf.el (compound-text-with-extensions):
5251 Add :mime-charset property as x-ctext.
5253 2012-10-07 Stefan Merten <smerten@oekonux.de>
5255 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
5256 (rst-indent-literal-normal, rst-indent-literal-minimized)
5257 (rst-indent-comment): Correct :version tag.
5258 (rst-official-cvs-rev): Correct version string.
5260 2012-10-07 Glenn Morris <rgm@gnu.org>
5262 * mail/rmailmm.el (rmail-mime-process-multipart):
5263 Do not confuse a multipart message with an epilogue
5264 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
5266 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
5268 Fix shell output retrieval and comint-prompt-regexp init.
5269 * progmodes/python.el (inferior-python-mode):
5270 (python-shell-make-comint): Fix initialization of
5271 comint-prompt-regexp from copied file local variables.
5272 (python-shell-fetched-lines): Remove var.
5273 (python-shell-output-filter-in-progress): Rename from
5274 python-shell-fetch-lines-in-progress.
5275 (python-shell-output-filter-buffer): Rename from
5276 python-shell-fetch-lines-string.
5277 (python-shell-fetch-lines-filter): Delete function.
5278 (python-shell-output-filter): New function.
5279 (python-shell-send-string-no-output): Use them.
5281 2012-10-07 Glenn Morris <rgm@gnu.org>
5283 * hi-lock.el (hi-lock-process-phrase):
5284 Try to make it less fragile. (Bug#7161)
5286 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
5288 2012-10-06 Glenn Morris <rgm@gnu.org>
5290 * ehelp.el (electric-help-mode): Use help-mode rather than
5291 non-existent mode `help'.
5292 (electric-help-map): Use button-buffer-map. (Bug#10917)
5294 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
5295 (reftex-create-bibtex-footer): Fix custom types.
5297 * progmodes/sh-script.el (sh-indent-after-continuation):
5298 Add explicit :group.
5300 * textmodes/rst.el (rst-preferred-decorations)
5301 (rst-shift-basic-offset): Clarify obsolescence versions.
5303 * profiler.el (profiler): Add missing group :version tag.
5304 * avoid.el (mouse-avoidance-banish-position):
5305 * proced.el (proced-renice-command):
5306 * calc/calc.el (calc-ensure-consistent-units):
5307 * calendar/icalendar.el (icalendar-import-format-uid):
5308 * net/tramp.el (tramp-save-ad-hoc-proxies):
5309 * progmodes/bug-reference.el (bug-reference-bug-regexp):
5310 * progmodes/flymake.el (flymake-error-bitmap)
5311 (flymake-warning-bitmap, flymake-fringe-indicator-position):
5312 * progmodes/sh-script.el (sh-indent-after-continuation):
5313 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
5314 (verilog-before-save-font-hook, verilog-after-save-font-hook):
5315 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
5316 (vhdl-array-index-record-field-in-sensitivity-list)
5317 (vhdl-indent-comment-like-next-code-line):
5318 * textmodes/reftex-vars.el (reftex-ref-style-alist)
5319 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
5320 (reftex-cite-key-separator, reftex-create-bibtex-header)
5321 (reftex-create-bibtex-footer):
5322 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
5323 (rst-indent-literal-normal, rst-indent-literal-minimized)
5324 (rst-indent-comment): Add missing custom :version tags.
5326 * calendar/timeclock.el (timeclock-modeline-display):
5327 Add missing obsolete alias for renamed user option.
5329 * strokes.el (strokes-modeline-string):
5330 * emulation/crisp.el (crisp-mode-modeline-string):
5331 * eshell/esh-mode.el (eshell-status-in-modeline):
5332 Aliases to defcustoms must come before the defcustom.
5334 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
5335 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
5336 (cal-tex-cursor-week-monday): Doc fixes.
5337 (cal-tex-cursor-week2-summary): Doc fix.
5338 Rename from cal-tex-cursor-week-at-a-glance.
5340 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
5341 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
5343 * calendar/calendar.el (calendar-mode-map):
5344 Add cal-tex-cursor-week2-summary.
5346 2012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
5348 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
5350 * subr.el (read-passwd-map): New var.
5351 (read-passwd): Use `read-string' again.
5352 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
5354 2012-10-06 Jambunathan K <kjambunathan@gmail.com>
5356 * register.el (append-to-register, prepend-to-register):
5357 Deactivate mark, as does `copy-to-register' (bug#12389).
5359 2012-10-06 Chong Yidong <cyd@gnu.org>
5361 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
5363 2012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
5365 * international/characters.el: Fix simple mistake ((car chars) ->
5366 elt), delete duplicated code.
5368 2012-10-06 Glenn Morris <rgm@gnu.org>
5370 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
5372 2012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
5374 * color.el (color-hsl-to-rgb): Fix incorrect results for
5375 small and large hue values. (Bug#12559)
5377 2012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
5379 Enhancements to docstring formatting when filling paragraphs.
5380 * progmodes/python.el (python-fill-docstring-style): Rename from
5381 python-fill-string-style. Added new style.
5382 (python-fill-string): Use new style. Better checks for
5385 2012-10-05 Glenn Morris <rgm@gnu.org>
5387 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
5389 * color.el (color-name-to-rgb, color-rgb-to-hex)
5390 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
5391 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
5392 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
5393 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
5395 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
5397 2012-10-05 Juanma Barranquero <lekktu@gmail.com>
5399 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
5400 to get the correct size across symlinks.
5402 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
5404 2012-10-04 Juri Linkov <juri@jurta.org>
5406 * replace.el (query-replace-interactive): Declare obsolete.
5407 (query-replace-read-from): Add the last incremental search string
5408 to the list of default values accessible via M-n.
5409 (map-query-replace-regexp): Use `read-regexp'.
5410 (query-replace, query-replace-regexp, query-replace-regexp-eval)
5411 (map-query-replace-regexp, replace-string, replace-regexp):
5412 Fix docstrings to replace mentions of `query-replace-interactive'
5413 with alternatives. (Bug#12526)
5415 2012-10-04 Juri Linkov <juri@jurta.org>
5417 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
5418 (dired-pop-to-buffer): Declare obsolete.
5419 (dired-mark-pop-up): Doc fix.
5421 2012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
5423 Allow user to set docstring style for fill-paragraph.
5424 * progmodes/python.el
5425 (python-fill-comment-function, python-fill-string-function)
5426 (python-fill-decorator-function, python-fill-paren-function):
5427 Remove :safe for defcustoms.
5428 (python-fill-string-style): New defcustom
5429 (python-fill-paragraph-function): Enhance context detection.
5430 (python-fill-string): Honor python-fill-string-style settings.
5432 2012-10-04 Martin Rudalics <rudalics@gmx.at>
5434 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
5435 after setting its buffer (Bug#10805).
5437 2012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
5439 Fix cornercase for string syntax.
5440 * progmodes/python.el (python-syntax-propertize-function):
5441 Simplify and enhance the regexp for unescaped quotes. Now it also
5442 matches quotes in weird situations like the single quote in
5444 (python-syntax-stringify): Simplify num-quotes detecting code.
5446 2012-10-03 Glenn Morris <rgm@gnu.org>
5448 * help-macro.el (three-step-help):
5449 Revert 2012-09-29 change. (Bug#12567)
5451 2012-10-03 Martin Rudalics <rudalics@gmx.at>
5453 * menu-bar.el (kill-this-buffer): Don't do anything when
5454 `menu-frame' is not alive or visible (Bug#8184).
5456 * emacs-lisp/debug.el (debug): When quitting the debugger window
5457 restore current buffer (Bug#12502).
5459 2012-10-02 Chong Yidong <cyd@gnu.org>
5461 * progmodes/hideif.el (hif-lookup, hif-defined):
5462 Handle semantic-c-takeover-hideif.
5464 2012-10-02 Paul Eggert <eggert@cs.ucla.edu>
5466 Change sampling interval units from ms to ns.
5467 * profiler.el (profiler-sampling-interval): Change units
5468 from ms to ns, multiplying the default by 1000000 so that
5470 (profiler-report-cpu-line-format): Give enough room for
5471 the maximum counters on 64-bit hosts.
5472 (profiler-report-render-calltree-1): Call them "CPU samples",
5473 not "Time (ms)", since they are not milliseconds now (and
5476 2012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
5478 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
5479 Fix querying BBDB for entries without a last name (Bug#11580).
5481 2012-10-02 Chong Yidong <cyd@gnu.org>
5483 * emacs-lisp/eieio.el: Restore Version header.
5485 2012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
5487 * vc/diff-mode.el (diff--auto-refine-data): New var.
5488 (diff-hunk): Use it to delay refinement.
5489 (diff-mode): Remove overlays when we turn off font-lock.
5491 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
5492 (table-initialize-table-fixed-width-mode)
5493 (table-set-table-fixed-width-mode): Remove functions.
5494 (table-command-list): Move initialization into declaration.
5495 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
5496 (table-with-cache-buffer): Use `declare'.
5497 (table-span-cell): Simplify via CSE.
5498 (table-fixed-width-mode): Use define-minor-mode.
5499 (table-call-interactively, table-funcall, table-apply): Remove.
5500 (table-function): New function, to replace them.
5502 * bookmark.el (bookmark-search-pattern): Remove var.
5503 (bookmark-read-search-input): Remove function.
5504 (bookmark-bmenu-search): Reimplement using a minibuffer.
5506 * faces.el (modeline): Remove obsolete face name.
5508 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
5509 and give a non-nil default value.
5510 (add-change-log-entry): Simplify accordingly.
5512 2012-10-01 Dmitry Gutov <dgutov@yandex.ru>
5514 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
5515 (vc-git-log-edit-toggle-amend): New function.
5516 (vc-git-log-edit-toggle-signoff): New function.
5517 (vc-git-log-edit-mode): New major mode.
5518 (vc-git-log-edit-mode-map): Keymap for it.
5519 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
5521 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
5523 (log-edit-toggle-header): New function.
5524 (log-edit-extract-headers): Accept function values in HEADERS alist.
5526 2012-10-01 David Engster <deng@randomsample.de>
5528 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
5529 from symbol property and change message to be more consistent with
5531 (eieio-describe-generic): Add filename for each implementation.
5532 Fix indices for generic and normal methods.
5533 (eieio-method-def, eieio-class-def): New buttons.
5534 (eieio-help-find-method-definition)
5535 (eieio-help-find-class-definition): New functions.
5536 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
5537 class, constructor and method definitions.
5539 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
5540 information in symbol property.
5541 (scoped-class): Remove.
5542 (eieio-slot-name-index, call-next-method): Check if it is bound.
5544 2012-10-01 Leo P. White <lpw25@cam.ac.uk>
5546 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
5547 (eieio-custom-mode): New major mode.
5548 (eieio-customize-object): Use it.
5550 2012-10-01 Eric Ludlam <zappo@gnu.org>
5552 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
5553 specifying the expected class, and whether subclassing is allowed.
5554 (eieio-persistent-convert-list-to-object):
5555 (eieio-persistent-validate/fix-slot-value)
5556 (eieio-persistent-slot-type-is-class-p): New functions.
5557 (eieio-named::slot-missing): Doc fix.
5559 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
5560 Stop using unused publd variable.
5562 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
5563 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
5564 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
5565 (eieio-speedbar-handle-click): Do not specify a class for the
5566 method. Fixes method invocation order problems with EDE.
5568 2012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
5570 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
5571 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
5573 2012-10-01 Karl Fogel <kfogel@red-bean.com>
5575 * bookmark.el (bookmark-version-control): Give tags in the
5576 :type choices (Bug#12309), and improve doc string.
5577 (bookmark-write-file): Bind `print-circle' to `t' to allow
5578 circular custom bookmark types. (Bug#12503)
5580 2012-10-01 Paul Eggert <eggert@cs.ucla.edu>
5582 Revert the FOLLOW-SYMLINKS change for file-attributes.
5583 * files.el (remote-file-name-inhibit-cache, after-find-file):
5584 * time.el (display-time-file-nonempty-p): Undo last change.
5586 * profiler.el (profiler-sampling-interval): Change default back to 1.
5587 See Stefan Monnier in
5588 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
5590 2012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
5592 Shell output catching a la gud-gdb.
5593 * progmodes/python.el (python-shell-fetch-lines-in-progress)
5594 (python-shell-fetch-lines-string, python-shell-fetched-lines):
5596 (python-shell-fetch-lines-filter): New function.
5597 (python-shell-send-string-no-output): Use them.
5599 2012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
5601 * profiler.el (profiler-sampling-interval): Rename from
5602 profiler-sample-interval.
5603 (profiler-sampling-interval): Default to 10.
5604 (profiler-find-profile): New command (was profiler-find-log).
5605 (profiler-find-profile-other-window): New command.
5606 (profiler-find-profile-other-frame): New command.
5607 (profiler-profile): Introduce API-level data structure.
5609 2012-09-30 Paul Eggert <eggert@cs.ucla.edu>
5611 file-attributes has a new optional arg FOLLOW-SYMLINKS.
5612 * files.el (remote-file-name-inhibit-cache):
5613 * time.el (display-time-file-nonempty-p): Use it.
5614 * files.el (after-find-file): Don't chase links before calling
5615 file-exists-p, as file-exists-p already does the right thing.
5617 2012-09-30 Ralf Angeli <angeli@caeruleus.net>
5619 Merge from standalone RefTeX repository.
5621 The following ChangeLog entries are shortened versions of the
5622 original ones with file paths adapted. A not so strongly edited
5623 version of the original ChangeLog can be found in the commit log.
5625 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
5626 (reftex-arg-cite): Use `reftex-cite-key-separator'.
5627 Correctly handle new value type returned by `reftex-citation'.
5629 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
5630 that entries with whitespace at various places are found.
5631 Doc fix. Include entries that are cross-referenced from cited entries.
5632 Include @String definitions in the resulting bib file. Add header
5633 and footer defined in `reftex-create-bibtex-header' and
5634 `reftex-create-bibtex-footer'.
5635 (reftex-do-citation): Make it possible again to insert
5636 non-existent entries. Save match data when asking for optional
5637 arguments. Return all keys, not just the first one.
5638 (reftex-all-used-citation-keys): Fix regexp to correctly extract
5639 all citations in the same line.
5640 (reftex-parse-bibtex-entry): Accept additional optional argument
5641 `raw' and keep quotes or braces if it is non-nil. Match fields
5642 containing hyphens besides word constituents.
5643 (reftex-get-string-refs): New function.
5644 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
5645 and ask if it should be reread in case it did.
5646 (reftex-pop-to-bibtex-entry)
5647 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
5648 entries with spaces or tabs in front of arguments.
5649 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
5650 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
5651 Match entries containing numbers and symbol constituents.
5652 (reftex-do-citation, reftex-figure-out-cite-format):
5653 Use `reftex-cite-key-separator'.
5655 * textmodes/reftex-dcr.el: Move provide statement to end of file.
5656 (reftex-mouse-view-crossref): Explain why point is set.
5658 * textmodes/reftex-global.el: Whitespace changes.
5660 * textmodes/reftex-index.el: Move provide statement to end of
5662 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
5663 (reftex-index-visit-phrases-buffer): Set marker when visiting
5664 buffer. This allows for returning from the phrases file to the
5665 file one was just editing instead of the file where the last
5666 phrases was added from.
5667 (reftex-index-phrases-syntax-table): New variable. Give ?\"
5668 punctuation syntax as it usually is not used as string quote in
5669 TeX-related modes and may occur unmatched. The change also
5670 prevents fontification of quoted content.
5671 (reftex-index-phrases-mode): Use it.
5673 * textmodes/reftex-parse.el (reftex-parse-from-file):
5674 Move backward one char if a `\' was matched after a section macro.
5675 (reftex-parse-from-file): Use beginning of match instead of end as
5678 * textmodes/reftex-ref.el: Adapt creation of
5679 `reftex-<package>-<macro>' functions to new structure of
5680 `reftex-ref-style-alist'.
5681 (reftex-reference): Use `reftex-ref-style-list' function.
5682 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
5683 reference macro if `reftex-ref-macro-prompt' is non-nil.
5684 (reftex-reference): Pass refstyle to `reftex-format-special'.
5685 Determine reference macro by looking at
5686 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
5687 Use only one special format function.
5688 (reftex-varioref-vref, reftex-fancyref-fref)
5689 (reftex-fancyref-Fref): Remove definitions. The functions are now
5690 generated from `reftex-ref-style-alist'.
5691 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
5693 (reftex-format-special): New function.
5695 * textmodes/reftex-sel.el
5696 (reftex-select-cycle-ref-style-internal): Adapt to new structure
5697 of `reftex-ref-style-alist'. Remove code for testing macro type.
5698 (reftex-select-toggle-varioref)
5699 (reftex-select-toggle-fancyref): Remove.
5700 (reftex-select-cycle-ref-style-internal)
5701 (reftex-select-cycle-ref-style-forward)
5702 (reftex-select-cycle-ref-style-backward): New functions.
5703 (reftex-select-label-map): Use `v' and `V' for general cycling
5704 through reference styles. Add `p' for switching between number
5705 and page reference types.
5707 * textmodes/reftex-toc.el (reftex-re-enlarge):
5708 Call `enlarge-window' only if there is something to do because in Emacs
5709 the horizontal version throws an error even if the parameter is 0.
5711 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
5712 (reftex-plug-into-AUCTeX): Doc fix.
5713 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
5714 string. Adapt to new name.
5715 (reftex-ref-style-alist): Change structure so that it is not
5716 possible to use multiple different package names within a style.
5717 Remove the symbols for symbols for macro type distinction.
5718 Add characters for macro selection.
5719 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
5720 (reftex-create-bibtex-footer): New variables.
5721 (reftex-format-ref-function): Mention third argument of special
5723 (reftex-ref-style-alist, reftex-ref-style-default-list):
5725 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
5726 to new implementation. Mark as obsolete. Add compatibility code
5727 for honoring the variable values in case they are set.
5728 (reftex-cite-format-builtin, reftex-bibliography-commands):
5729 Add support for ConTeXt.
5730 (reftex-format-ref-function, reftex-format-cite-function):
5732 (reftex-cite-key-separator): New variable.
5734 * textmodes/reftex.el (reftex-syntax-table-for-bib)
5735 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
5736 `reftex-syntax-table' because parens have to retain their paren
5737 syntax in order for parsing of BibTeX entries like @book(...) to
5739 (reftex-in-comment): Do not error out if `comment-start-skip' is
5740 not set. Deal correctly with escaped comment characters.
5741 (reftex-tie-multifile-symbols): Add doc string.
5742 Initialize `reftex-ref-style-list'.
5743 (reftex-untie-multifile-symbols): Add doc string.
5744 (reftex-add-index-macros): Doc fix.
5745 (reftex-ref-style-activate, reftex-ref-style-toggle)
5746 (reftex-ref-style-list): New functions.
5747 (reftex-mode-menu): Use them. Adapt to new structure of
5748 `reftex-ref-style-alist'.
5749 (reftex-select-with-char): Kill the RefTeX Select buffer when
5751 (reftex-remove-if): New function.
5752 (reftex-erase-all-selection-and-index-buffers)
5753 (reftex-mode-menu): Reference styles are now computed from
5754 `reftex-ref-style-alist'. Fix typo.
5755 (reftex-report-bug): New function.
5756 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
5757 algorithms with O(n log n). Introduce optional argument SORT (not
5760 2012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
5762 Enhancements for triple-quote string syntax.
5763 * progmodes/python.el (python-syntax-propertize-function):
5764 Match both quote cases in one regexp.
5765 (python-syntax-stringify): Handle matches properly.
5767 2012-09-30 Juri Linkov <juri@jurta.org>
5769 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
5770 to nil around the call to `insert' to prevent
5771 directory time modification by lock_file. (Bug#2295)
5772 * tar-mode.el (tar-summarize-buffer): Idem.
5774 2012-09-30 Juri Linkov <juri@jurta.org>
5776 * facemenu.el (list-colors-sort): Add option "Luminance".
5777 (list-colors-sort-key): Implement it.
5779 * vc/diff-mode.el (diff-refine-removed):
5780 * vc/ediff-init.el (ediff-fine-diff-A):
5781 * vc/smerge-mode.el (smerge-refined-removed):
5782 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
5784 2012-09-30 Jan Djärv <jan.h.d@swipnet.se>
5786 * term/ns-win.el (x-file-dialog): New function.
5788 2012-09-30 Juanma Barranquero <lekktu@gmail.com>
5790 * ido.el (ido-max-directory-size): Default to nil; the current
5791 default is small for POSIX systems, and impractical on Windows 7
5792 now that lstat returns directory sizes for NTFS.
5794 2012-09-30 Martin Rudalics <rudalics@gmx.at>
5796 In buffer display functions handle window-height/window-width
5797 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
5798 * window.el (window--display-buffer): New argument ALIST.
5799 Obey window-height and window-width alist entries.
5800 (window--try-to-split-window): New argument ALIST.
5801 Bind window-combination-limit to t when the window's size shall be
5802 changed and window-combination-limit equals `window-size'.
5803 (display-buffer-in-atom-window)
5804 (display-buffer-in-major-side-window)
5805 (display-buffer-in-side-window, display-buffer-same-window)
5806 (display-buffer-reuse-window, display-buffer-pop-up-frame)
5807 (display-buffer-pop-up-window, display-buffer-below-selected)
5808 (display-buffer-at-bottom, display-buffer-in-previous-window)
5809 (display-buffer-use-some-window): Adjust all callers of
5810 window--display-buffer and window--try-to-split-window.
5811 (fit-frame-to-buffer): New option.
5812 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
5814 (display-buffer-in-major-side-window): Evaluate window-height /
5815 window-width alist entries.
5817 * help.el (temp-buffer-resize-frames)
5818 (temp-buffer-resize-regexps): Remove options.
5819 (temp-buffer-resize-mode): Adjust doc-string.
5820 (resize-temp-buffer-window): Don't consult
5821 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
5822 temp-buffer-resize-frames.
5824 * dired.el (dired-mark-pop-up):
5825 Call display-buffer-below-selected with a fit-window-to-buffer alist
5828 2012-09-30 Chong Yidong <cyd@gnu.org>
5830 * server.el (server-host): Document the security implications.
5831 (server-auth-key): Doc fix.
5833 * startup.el (initial-buffer-choice): Doc fix.
5835 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
5837 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
5840 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
5842 * help-fns.el (help-fns--obsolete): Fix last change.
5844 2012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
5846 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
5847 (minor-mode-map-alist): Remove redundant code.
5849 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
5850 visited in a buffer.
5851 (cvs-insert-visited-file): New function.
5852 (find-file-hook): Use it.
5854 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
5856 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
5858 (log-edit-empty-buffer-p): Don't require a space after a header.
5860 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
5862 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
5864 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
5865 a proper minor-mode.
5867 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
5869 2012-09-29 Glenn Morris <rgm@gnu.org>
5871 * winner.el (winner-mode): Remove variable (let define-minor-mode
5873 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
5875 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
5876 (winner-mode): Use define-minor-mode.
5878 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
5879 the full definition in loaddefs, rather than duplicating it.
5881 * help-macro.el (three-step-help): No need to autoload defcustom.
5883 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
5884 (inferior-lisp-program, inferior-lisp-load-command)
5885 (inferior-lisp-prompt, inferior-lisp-mode-hook):
5886 No need to autoload defcustoms.
5888 * hippie-exp.el (hippie-expand-try-functions-list)
5889 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
5890 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
5891 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
5892 (hippie-expand-only-buffers): No need to autoload defcustoms.
5893 * progmodes/vhdl-mode.el (vhdl-line-expand):
5894 Explicitly load hippie-exp, so it does not get autoloaded
5895 while hippie-expand-try-functions-list is let-bound.
5897 2012-09-28 Glenn Morris <rgm@gnu.org>
5899 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
5901 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
5902 Only "cl.el" counts as cl these days.
5904 2012-09-28 Juri Linkov <juri@jurta.org>
5906 Display archive errors in the echo area instead of inserting
5909 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
5910 to STDERR-TEST that can be a regexp matching a successful output.
5911 Create a temporary file and redirect stderr to it. Search for
5912 STDERR-TEST in the stderr output and display it in the echo area
5913 if no match is found.
5914 (archive-extract-by-file): New function like
5915 `archive-extract-by-stdout' but extracting archives to files
5916 and looking for successful matches in stdout. Function body is
5917 mostly copied from `archive-rar-extract'.
5918 (archive-rar-extract): Use `archive-extract-by-file'.
5919 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
5921 2012-09-28 Leo Liu <sdl.web@gmail.com>
5923 * pcomplete.el (pcomplete-show-completions):
5924 Use minibuffer-message to make pcomplete usable in minibuffer.
5926 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
5928 2012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
5930 * type-break.el: Use lexical-binding.
5931 (type-break-mode): Use define-minor-mode.
5933 * emacs-lisp/pcase.el (pcase--mark-used): New.
5934 (pcase--u1): Use it (bug#12512).
5936 * custom.el (load-theme): Set buffer-file-name so the load is recorded
5937 in load-history with the right file name.
5939 2012-09-28 Tassilo Horn <tsdh@gnu.org>
5941 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
5942 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
5943 (doc-view-get-bounding-box): Make bounding box slicing work for
5944 ODF and DVI documents.
5946 2012-09-28 Glenn Morris <rgm@gnu.org>
5948 * type-break.el (type-break-mode, type-break-interval)
5949 (type-break-good-rest-interval, type-break-keystroke-threshold):
5950 No need to autoload.
5951 (type-break-good-rest-interval, type-break-keystroke-threshold):
5954 2012-09-28 Chong Yidong <cyd@gnu.org>
5956 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
5959 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
5961 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
5963 2012-09-27 Glenn Morris <rgm@gnu.org>
5965 * faces.el (x-display-name): Declare (for without-x builds).
5967 * linum.el (linum-format): Don't autoload it. Improve :type.
5969 * progmodes/tcl.el: Don't require outline when compiling.
5970 (outline-regexp, outline-level): Declare.
5971 * textmodes/sgml-mode.el: Don't require outline when compiling.
5972 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
5974 * term.el (term-ansi-reset):
5975 Try setting term-ansi-face-already-done to nil. (Bug#11785)
5977 * vc/vc.el (vc-next-action): Only gripe about committing read-only
5978 files for RCS and SCCS. (Bug#9781)
5980 2012-09-27 Chong Yidong <cyd@gnu.org>
5982 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
5983 change; value should be t.
5985 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
5987 * image-mode.el: Use lexical-binding.
5988 (image-mode-winprops): Use t to stand for the window of
5989 a buffer that's not displayed.
5990 * doc-view.el (doc-view-new-window-function): Handle the new
5992 (doc-view-enlarge): Make it a real nop if the size is not changed.
5993 (doc-view-display): Handle the case where the buffer is not (yet?)
5994 displayed in any window.
5995 (doc-view-saved-settings): New var.
5996 (doc-view-mode): Use it.
5997 (doc-view-fallback-mode): Set it.
5999 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
6000 Set lexical-binding.
6001 (minibuffer-eldef-shorten-default): New var.
6002 (minibuffer-default-in-prompt-regexps): Use it for new default.
6003 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
6005 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
6007 * international/uni-bidi.el:
6008 * international/uni-category.el:
6009 * international/uni-name.el:
6010 * international/uni-numeric.el: Regenerate.
6012 2012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
6013 Stefan Monnier <monnier@iro.umontreal.ca>
6015 * profiler.el: New file.
6017 2012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
6019 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
6020 (testcover-reinstrument): Simplify with CSE.
6022 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
6024 * window.el (temp-buffer-window-setup): Fix typo in docstring.
6026 2012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
6028 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
6029 (verilog-auto-input, verilog-auto-insert-lisp)
6030 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
6031 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
6032 (verilog-auto-unused, verilog-auto-wire)
6033 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
6034 newline. Reported by Andrew Jones.
6035 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
6036 Reported by Brad Dobbie.
6037 (verilog-batch-delete-trailing-whitespace):
6038 Create verilog-batch-delete-trailing-whitespace.
6039 Reported by Brad Dobbie.
6040 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
6041 parameters from another module. Reported by Dan Katz.
6042 (verilog-auto, verilog-auto-assign-modport)
6043 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
6044 AUTOINOUTMODPORT for UVM interface module shell generation.
6045 Reported by Brad Dobbie.
6046 (verilog-auto-inst-interfaced-ports): Make default nil, as more
6048 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
6049 Reported by Matt Martin.
6051 2012-09-25 Martin Rudalics <rudalics@gmx.at>
6053 * window.el (window--resize-child-windows): When resizing child
6054 windows proportionally, process them in reverse order to
6055 preserve the "when splitting a window the new one gets the odd
6057 (window--resize-root-window-vertically): When resizing the
6058 minibuffer window try to affect only windows at the bottom of the
6061 2012-09-25 Chong Yidong <cyd@gnu.org>
6063 * subr.el (declare): Doc fix.
6065 * help-fns.el (help-fns--obsolete): Handle macros properly.
6067 2012-09-25 Chong Yidong <cyd@gnu.org>
6069 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
6070 this function obsolete.
6072 * calendar/cal-x.el (calendar-two-frame-setup)
6073 (calendar-only-one-frame-setup, calendar-one-frame-setup):
6074 * calendar/calendar.el (american-calendar, european-calendar)
6075 (calendar-for-loop):
6076 * comint.el (comint-dynamic-simple-complete)
6077 (comint-dynamic-complete-as-filename, comint-unquote-filename):
6078 * desktop.el (desktop-load-default):
6079 * dired-x.el (dired-omit-here-always)
6080 (dired-hack-local-variables, dired-default-directory):
6081 * emacs-lisp/derived.el (derived-mode-class):
6082 * emacs-lisp/timer.el (timer-set-time-with-usecs):
6083 * emacs-lock.el (toggle-emacs-lock):
6084 * epa.el (epa-display-verify-result):
6085 * epg.el (epg-sign-keys, epg-start-sign-keys)
6086 (epg-passphrase-callback-function):
6087 * eshell/esh-util.el (eshell-for):
6088 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
6089 (eshell-add-to-window-buffer-names):
6090 * files.el (locate-file-completion):
6091 * imenu.el (imenu-example--create-c-index)
6092 (imenu-example--create-lisp-index)
6093 (imenu-example--lisp-extract-index-name)
6094 (imenu-example--name-and-position):
6095 * international/mule-cmds.el (princ-list):
6096 * international/mule-diag.el (decode-codepage-char):
6097 * international/mule-util.el (detect-coding-with-priority):
6098 * iswitchb.el (iswitchb-read-buffer):
6099 * mail/mailalias.el (mail-complete):
6100 * mail/sendmail.el (mail-sent-via):
6101 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
6102 (mouse-major-mode-menu):
6103 * password-cache.el (password-read-and-add):
6104 * pcomplete.el (pcomplete-parse-comint-arguments):
6105 * progmodes/sh-script.el (sh-maybe-here-document):
6106 * replace.el (query-replace-regexp-eval):
6107 * savehist.el (savehist-load):
6108 * simple.el (choose-completion-delete-max-match):
6109 * term.el (term-dynamic-simple-complete):
6110 * vc/ediff-init.el (ediff-check-version):
6111 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
6112 * vc/vc.el (vc-diff-switches-list):
6113 * view.el (view-return-to-alist-update): Likewise.
6115 * subr.el (eval-next-after-load, makehash, insert-string)
6116 (assoc-ignore-representation, assoc-ignore-case): Use declare to
6118 (mode-line-inverse-video): Variable deleted.
6120 * international/mule-util.el (string-to-sequence): Remove.
6122 * calendar/calendar.el (calendar-version):
6123 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
6124 (icalendar-convert-diary-to-ical):
6125 * cus-edit.el (custom-mode):
6126 * ansi-color.el (ansi-color-unfontify-region):
6127 * international/latin1-disp.el (latin1-char-displayable-p):
6128 * progmodes/cwarn.el (turn-on-cwarn-mode):
6129 * progmodes/which-func.el (which-func-update-1):
6130 Use define-obsolete-function-alias.
6132 * net/newst-backend.el (newsticker-cache-filename):
6133 * net/newst-treeview.el (newsticker-groups-filename):
6134 Fix incorrect obsolescence declaration.
6136 * allout.el (allout-passphrase-hint-string): Likewise.
6137 (allout-init): Use a declare form to mark obsolete.
6139 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
6140 this applies to functions.
6142 * iswitchb.el (iswitchb-read-buffer): Move code of
6143 iswitchb-define-mode-map here, and delete that obsolete function.
6145 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
6146 font-lock-reference-face.
6148 2012-09-25 Glenn Morris <rgm@gnu.org>
6150 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
6153 * eshell/em-term.el (eshell-term-name):
6154 Default to term-term-name. (Bug#12485)
6156 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
6158 * progmodes/python.el (python-shell-send-buffer): Better handling
6159 of "if __name__ == '__main__':" conditionals when sending the buffer.
6161 2012-09-24 Glenn Morris <rgm@gnu.org>
6163 * eshell/esh-cmd.el (eshell-find-alias-function):
6164 Tighten up file-name regexp. (Bug#12499)
6166 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
6168 Enhancements for triple-quote string syntax.
6169 * progmodes/python.el (python-quote-syntax): Remove.
6170 (python-syntax-propertize-function): New value.
6171 (python-syntax-count-quotes, python-syntax-stringify):
6174 2012-09-24 Chong Yidong <cyd@gnu.org>
6176 * mail/supercite.el (sc-version): Remove obsolete function.
6177 (sc-describe): Don't mark as obsolete, since it is bound.
6178 (sc-submit-bug-report): Remove.
6180 * vc/log-edit.el (cvs-changelog-full-paragraphs)
6181 (cvs-commit-buffer-require-final-newline): Remove.
6182 (log-edit-require-final-newline)
6183 (log-edit-changelog-full-paragraphs): Default to t.
6185 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
6186 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
6187 * vc/vc.el (vc-checkout-carefully): Likewise.
6189 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
6190 (emerge-version): Remove.
6192 * progmodes/compile.el (compile-internal): Remove.
6193 (compilation-parse-errors-function): Fix typo.
6195 * international/mule.el (set-char-table-default): Remove.
6196 (set-coding-priority, make-coding-system, generic-char-p)
6197 (charset-list, charset-bytes, charset-id): Use declare to mark
6198 functions as obsolete.
6200 * vc/pcvs-defs.el (cvs-buffer-name-alist)
6201 (cvs-invert-ignore-marks): Remove references to obsolete vars.
6202 * vc/vc-hooks.el (vc-default-registered): Don't use
6203 vc-master-templates.
6205 * font-lock.el (font-lock-reference-face):
6206 Use define-obsolete-variable-alias.
6208 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
6209 * calendar/calendar.el (calendar-font-lock-keywords):
6210 * calendar/diary-lib.el (diary-font-lock-keywords)
6211 (diary-fancy-font-lock-keywords):
6212 * textmodes/reftex-sel.el (reftex-insert-docstruct):
6213 * textmodes/reftex-index.el (reftex-insert-index):
6214 * textmodes/reftex-cite.el (reftex-format-bib-entry):
6215 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6216 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
6217 * progmodes/prolog.el (prolog-font-lock-keywords):
6218 * progmodes/idlwave.el (idlwave-idl-keywords):
6219 * progmodes/ada-mode.el (ada-font-lock-keywords):
6220 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
6222 2012-09-24 Glenn Morris <rgm@gnu.org>
6224 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
6226 2012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
6228 * progmodes/python.el (python-indent-line): More consistent cursor
6231 2012-09-23 Stefan Merten <smerten@oekonux.de>
6233 * textmodes/rst.el: Fix compiler warning.
6235 2012-09-23 Roland Winkler <winkler@gnu.org>
6237 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
6238 Transcribe also LaTeX hyphenation.
6239 (bibtex-reformat): Bug fix. Do not quote twice the elements of
6240 bibtex-reformat-previous-options.
6242 2012-09-23 Roland Winkler <winkler@gnu.org>
6244 * proced.el (proced-renice-command): New variable.
6245 (proced-marked-processes): New function.
6246 (proced-with-processes-buffer): New macro.
6247 (proced-send-signal): Use them.
6248 (proced-renice): New command bound to r.
6250 2012-09-23 Roland Winkler <winkler@gnu.org>
6252 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
6253 ibuffer-saved-filter-groups has one element, shortcut the call of
6254 completing-read. (Bug#12331)
6256 2012-09-23 Chong Yidong <cyd@gnu.org>
6258 * bindings.el (mode-line-toggle-read-only):
6259 * bs.el (bs-toggle-readonly):
6260 * buff-menu.el (Buffer-menu-toggle-read-only):
6261 * dired.el (dired-toggle-read-only):
6262 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
6264 2012-09-23 Chong Yidong <cyd@gnu.org>
6266 * image.el (image-type-available-p): Adapt to init-image-library
6269 2012-09-22 Juri Linkov <juri@jurta.org>
6271 * dired.el (dired-mode-map): Add [remap read-only-mode] for
6272 `dired-toggle-read-only'. (Bug#12462)
6274 2012-09-22 Martin Rudalics <rudalics@gmx.at>
6276 * subr.el (temp-output-buffer-show): New function.
6277 (with-output-to-temp-buffer): Call temp-output-buffer-show
6278 instead of internal-temp-output-buffer-show.
6280 2012-09-22 Chong Yidong <cyd@gnu.org>
6282 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
6285 * repeat.el (repeat): Doc fix (Bug#12348).
6287 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
6290 * simple.el (shell-command-on-region): Doc fix.
6291 (read-only-mode): Doc fix.
6293 2012-09-22 Eli Zaretskii <eliz@gnu.org>
6295 * emacs-lisp/timer.el (run-with-idle-timer)
6296 (timer-activate-when-idle): Warn against reinvoking an idle timer
6297 from within its own timer action. (Bug#12447)
6299 2012-09-22 Martin Rudalics <rudalics@gmx.at>
6301 * cus-start.el (window-combination-limit): Add new optional
6303 * window.el (temp-buffer-window-show)
6304 (window--try-to-split-window): Handle new values of
6305 window-combination-limit (Bug#1806).
6306 (split-window): Test window-combination-limit for t instead of
6308 (display-buffer-at-bottom): New buffer display action function.
6309 * help.el (temp-buffer-resize-regexps): New option.
6310 (temp-buffer-resize-mode): Rewrite doc-string.
6311 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
6312 Don't resize reused window. Suggested by Glenn Morris.
6314 2012-09-22 Stefan Merten <smerten@oekonux.de>
6316 * textmodes/rst.el: Revamp section title faces.
6317 (rst-official-version)
6318 (rst-package-emacs-version-alist): Sync with official version
6320 (rst-faces-defaults, rst-set-level-default)
6321 (rst-level-face-max, rst-level-face-base-color)
6322 (rst-level-face-base-light, rst-level-face-format-light)
6323 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
6324 (rst-adornment-faces-alist): Match new setup.
6325 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
6326 (rst-level-5, rst-level-6): New faces.
6328 2012-09-22 Chong Yidong <cyd@gnu.org>
6330 * simple.el (undo): Handle indirect buffers (Bug#8207).
6332 2012-09-21 Leo Liu <sdl.web@gmail.com>
6334 IDO: Disable match re-ordering for buffer switching.
6335 * ido.el (ido-buffer-disable-smart-matches): New variable.
6336 (ido-set-matches-1): Use it. (Bug#2042)
6338 2012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
6340 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
6341 Fix 2011-05-17 change. (Bug#12418)
6343 2012-09-21 Leo Liu <sdl.web@gmail.com>
6345 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
6347 2012-09-21 Glenn Morris <rgm@gnu.org>
6349 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
6350 Be more robust about locating simple.el.
6352 2012-09-21 Glenn Morris <rgm@gnu.org>
6354 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
6356 2012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
6358 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
6360 2012-09-20 Juri Linkov <juri@jurta.org>
6362 * replace.el (query-replace-read-from): Use `read-regexp' instead
6363 of `read-from-minibuffer' when `regexp-flag' is non-nil.
6364 (occur-read-primary-args): Use `read-regexp' instead of
6366 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
6367 `read-from-minibuffer'.
6368 * isearch.el (isearch-occur): Use `read-regexp' instead of
6370 * dired.el (dired-read-regexp): Use `read-regexp' instead of
6371 `read-from-minibuffer'.
6372 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
6373 of `read-string'. (Bug#7567)
6375 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
6376 and allow accepting a list of strings prepended to a list of
6377 standard default values. Doc fix. (Bug#12321)
6379 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
6381 * replace.el (read-regexp): Don't add ": " when PROMPT already
6382 ends with a colon and space. (Bug#12321)
6384 2012-09-20 Tassilo Horn <tsdh@gnu.org>
6386 * doc-view.el (doc-view-display): Better fix for the cl-assertion
6389 2012-09-20 Stefan Merten <smerten@oekonux.de>
6391 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
6392 Fixes feature request bug#11711.
6393 (rst-mode): Create `imenu-create-index-function'.
6394 (rst-get-stripped-line): Delete after refactoring.
6395 (rst-section-tree, rst-section-tree-rec)
6396 (rst-section-tree-point): Refactor and document properly.
6397 (rst-imenu-find-adornments-for-position)
6398 (rst-imenu-convert-cell, rst-imenu-create-index):
6401 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
6403 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
6404 (macroexp--expand-all): Use it.
6405 (macroexp--funcall-and-return): Remove by folding it into its sole
6406 caller (macroexp--warn-and-return).
6407 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
6408 Use macroexp--obsolete-warning.
6410 * calc/calc.el: Fix last change by removing the whole chunk, since it
6411 was only needed back when Calc was not bundled.
6413 2012-09-20 Martin Rudalics <rudalics@gmx.at>
6415 * emacs-lisp/debug.el (debug): Restore assignment to
6416 debugger-old-buffer removed on 2012-09-08.
6418 2012-09-20 Juri Linkov <juri@jurta.org>
6420 * dired-aux.el (dired-diff): Remove (require 'diff) since
6421 `diff-latest-backup-file' is now autoloaded.
6423 2012-09-20 Chong Yidong <cyd@gnu.org>
6425 * vc/diff.el (diff-latest-backup-file): Autoload.
6427 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
6429 * calc/calc.el: Remove redundant autoload shape check.
6430 (sel-mode): Don't defvar.
6431 (calc-get-stack-element): Add `sel-mode' arg instead.
6432 (calc-top, calc-top-list): Pass it this additional argument.
6433 * calc/calc-store.el (calc-store-map):
6434 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
6435 (calc-map-equation, calc-outer-product, calc-inner-product):
6436 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
6438 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
6440 2012-09-19 Juri Linkov <juri@jurta.org>
6442 * dired-aux.el (dired-diff): Add (require 'diff) because
6443 `diff-latest-backup-file' is not autoloaded.
6444 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
6445 of `dired-get-filename' to t to not report error when there is
6446 no default file on the current line.
6448 2012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
6450 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
6451 macroexp--eval-if-compile.
6452 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
6453 (macroexp--expand-all): Use them (bug#12371).
6455 * doc-view.el (doc-view-guess-paper-size)
6456 (doc-view-scale-bounding-box): Fix unbound `caddr'.
6458 2012-09-19 Tassilo Horn <tsdh@gnu.org>
6460 New feature: set optimal slice from BoundingBox information.
6461 * doc-view.el (doc-view-mode-map): Add keybinding.
6462 (doc-view-menu): Add menu entry.
6463 (doc-view-set-slice): Adapt docstring.
6464 (doc-view-get-bounding-box, doc-view-guess-paper-size)
6465 (doc-view-scale-bounding-box)
6466 (doc-view-set-slice-from-bounding-box): New functions.
6467 (doc-view-paper-sizes): New defvar.
6469 2012-09-19 Glenn Morris <rgm@gnu.org>
6471 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
6472 (byte-compile-log-warning): Autoload. (Bug#12371)
6474 * calendar/calendar.el (calendar-american-month-header)
6475 (calendar-european-month-header, calendar-iso-month-header)
6476 (calendar-month-header): New options.
6477 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
6478 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
6480 2012-09-19 Jan Djärv <jan.h.d@swipnet.se>
6482 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
6484 2012-09-18 Juri Linkov <juri@jurta.org>
6486 * dired-aux.el (dired-diff): Restore original functionality of
6487 getting the default value, but keep new feature of using the
6488 latest existing backup file (`diff-latest-backup-file').
6490 2012-09-18 Juri Linkov <juri@jurta.org>
6492 * dired.el (dired-mark): If the region is active in Transient Mark
6493 mode, mark all files in the active region. Doc fix.
6494 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
6495 Doc fix. (Bug#10624)
6497 2012-09-18 Juri Linkov <juri@jurta.org>
6499 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
6500 attributes for M-n are pulled from the file at point.
6501 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
6502 Suggested by Drew Adams. (Bug#10624)
6504 2012-09-18 Dmitry Gutov <dgutov@yandex.ru>
6506 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
6507 whitespace after "end".
6508 (ruby-do-end-to-brace): Collapse block to one line if it fits
6511 2012-09-18 Martin Rudalics <rudalics@gmx.at>
6513 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
6515 (debug): Don't remove debugger window when debugger is expected
6518 2012-09-18 Chong Yidong <cyd@gnu.org>
6520 * custom.el (defface): Doc fix.
6522 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
6524 2012-09-18 Martin Blais <blais@furius.ca> (tiny change)
6526 * progmodes/compile.el (compilation-start): Use compilation-always-kill
6527 to initialize query-on-exit; then test that instead (bug#12288).
6529 2012-09-17 Stefan Merten <smerten@oekonux.de>
6531 * textmodes/rst.el: Add support for `testcover'.
6532 (rst-defcustom-testcover, rst-testcover-add-compose)
6533 (rst-testcover-add-1value): New functions.
6534 (rst-portable-mark-active-p): Replace by `use-region-p'.
6535 (rst-update-section, rst-classify-adornment)
6536 (rst-find-title-line): Mark `1value' forms.
6537 (rst-classify-adornment): Remove superfluous form.
6538 (rst-update-section, rst-get-adornments-around)
6539 (rst-adornment-complete-p, rst-get-next-adornment)
6540 (rst-adjust, rst-promote-region)
6541 (rst-display-adornments-hierarchy, rst-straighten-adornments)
6542 (rst-find-pfx-in-region, rst-section-tree-rec)
6543 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
6544 (rst-toc-node, rst-toc, rst-forward-section)
6545 (rst-iterate-leftmost-paragraphs)
6546 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
6547 (rst-bullet-list-region)
6548 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
6549 (rst-compile-find-conf, rst-compile)
6550 (rst-repeat-last-character): Fix style.
6552 2012-09-17 Chong Yidong <cyd@gnu.org>
6554 * comint.el (comint--complete-file-name-data): Don't add a space
6555 if the status is `sole'; that adds a gratuitous space in the
6556 completion-cycling case (Bug#12092).
6558 * pcomplete.el (pcomplete-completions-at-point): Likewise.
6560 2012-09-17 Richard Stallman <rms@gnu.org>
6562 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
6563 only in the mime-shown mode, not in raw mode.
6564 (rmail-mime): Toggle off mime by displaying the message without
6565 mime processing. (Bug#12305)
6567 * mail/rmail.el (rmail-retry-failure):
6568 Turn off mime processing first. (Bug#12037)
6570 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
6572 2012-09-17 Chong Yidong <cyd@gnu.org>
6574 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
6575 (shell-dynamic-complete-functions): Convert to defcustom.
6576 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
6578 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
6579 * comint.el (comint-prompt-read-only):
6580 * custom.el (defcustom):
6581 * hi-lock.el (hi-lock-mode):
6582 * ibuffer.el (ibuffer-formats):
6583 * ielm.el (ielm-prompt-read-only):
6584 * novice.el (disable-command):
6585 * saveplace.el (toggle-save-place):
6586 * speedbar.el (speedbar-supported-extension-expressions):
6587 * startup.el (auto-save-list-file-prefix, init-file-user)
6588 (after-init-hook, inhibit-startup-echo-area-message):
6589 * strokes.el (strokes-help):
6590 * time-stamp.el (time-stamp):
6591 * calendar/calendar.el (calendar, diary-file):
6592 * calendar/diary-lib.el (diary-mail-entries, diary)
6593 (diary-list-entries-hook):
6594 * calendar/holidays.el (holidays, calendar-holidays):
6595 * calendar/lunar.el (lunar-phases):
6596 * calendar/solar.el (sunrise-sunset):
6597 * emulation/edt.el (edt-load-keys):
6598 * emulation/viper.el (viper-mode):
6599 * eshell/em-alias.el (eshell-command-aliases-list):
6600 * eshell/esh-util.el (eshell-convert-numeric-arguments):
6601 * international/ogonek.el (ogonek-information):
6602 * net/tramp-cmds.el (tramp-bug):
6603 * net/quickurl.el (quickurl-reread-hook-postfix):
6604 * play/decipher.el (decipher-font-lock-keywords):
6605 * progmodes/cc-styles.el (c-set-style):
6606 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
6607 * progmodes/inf-lisp.el (inferior-lisp-prompt):
6608 * progmodes/octave-mod.el (octave-mode):
6609 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
6610 * progmodes/verilog-mode.el (verilog-read-defines):
6611 * textmodes/two-column.el (2C-mode): Likewise.
6613 2012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
6615 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
6616 that holds many addresses.
6618 2012-09-16 Chong Yidong <cyd@gnu.org>
6620 * align.el (align-areas): Call the indication function with
6621 positions instead of markers for arguments (Bug#12343).
6623 * files.el (parse-colon-path): Use split-string (Bug#12351).
6625 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
6626 (display-buffer-function): Mark as obsolete.
6628 * progmodes/compile.el (compilation-parse-errors): Accept list
6629 values similar to font-lock-keywords (Bug#12136).
6630 Suggested by Oleksandr Manzyuk.
6631 (compilation-error-regexp-alist): Doc fix.
6633 2012-09-15 Glenn Morris <rgm@gnu.org>
6635 * version.el (emacs-bzr-version-bzr): New function.
6636 (emacs-bzr-get-version): Add optional EXTERNAL argument.
6638 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
6639 checkouts, check the parent dirstate matches the branch.
6640 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
6643 * version.el (emacs-bzr-version): Doc fix.
6644 (emacs-bzr-version-dirstate): New function.
6645 (emacs-bzr-get-version): For lightweight checkouts, if the parent
6646 is local try and check that it matches the branch. If not, just
6647 use dirstate information. (Bug#12441)
6649 2012-09-14 Juri Linkov <juri@jurta.org>
6651 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
6654 2012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
6656 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
6658 * emacs-lisp/edebug.el: Miscellaneous cleanup.
6659 Remove obsolete byte-compiler hack that tried to silence some warnings.
6660 (edebug-submit-bug-report): Remove.
6661 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
6662 Remove aliases, use the un-prefixed name instead.
6663 (edebug-pop-to-buffer): Consider other frames.
6664 (edebug-original-read):: Make it more obvious that it's always defined.
6665 (edebug--make-form-data-entry, edebug--form-data-name)
6666 (edebug--form-data-begin, edebug--form-data-end): Rename from the
6667 single-dashed name, and implement with cl-defstruct.
6668 (edebug-set-form-data-entry): Use the standard accessors.
6669 (edebug-make-top-form-data-entry): Use push.
6670 (edebug-no-match): Drop useless `funcall'.
6671 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
6673 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
6674 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
6675 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
6676 (easy-menu-define, with-custom-print): Remove redundant specs.
6677 (edebug-outside-overriding-local-map)
6678 (edebug-outside-overriding-terminal-local-map): Remove, unused.
6679 (edebug--display): Bind unread-command-events directly to nil rather
6680 than binding it to unread-command-events and later setting it to nil.
6681 (edebug--display): Kill edebug-eval-buffer here...
6682 (edebug--recursive-edit): ...rather than here.
6683 Bind standard-output and standard-input.
6684 (edebug-eval): Check cl-macroexpand-all is fboundp.
6685 (edebug-temp-display-freq-count): Fix last change.
6687 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
6688 * subr.el (noreturn, 1value): Add `debug' spec.
6689 * emacs-lisp/advice.el: Require cl-lib.
6690 (ad-copy-tree): Remove, use copy-tree instead.
6691 (ad-dolist): Remove use dolist or cl-dolist instead.
6692 (ad-do-return): Remove, use cl-return instead.
6693 (defadvice): Add `debug' spec.
6695 2012-09-13 Juri Linkov <juri@jurta.org>
6697 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
6700 2012-09-13 Glenn Morris <rgm@gnu.org>
6702 * calc/calc.el (math-compose-expr):
6703 * calc/calc-ext.el (math-compose-expr):
6704 * progmodes/cc-defs.el (cl-macroexpand-all):
6705 * progmodes/cc-langs.el (delete-duplicates, mapcan)
6706 (cl-macroexpand-all): Update declarations.
6708 * vc/vc.el: No need to require ediff.
6709 (ediff-load-version-control): Declare.
6710 (ediff-vc-internal): Fix declaration.
6711 (vc-version-ediff): Require ediff.
6713 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
6715 Use a more backwards-compatible timer format (Bug#12430).
6716 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
6717 being right after USECS, as that better supports old code that
6718 inadvisedly looked directly at the timer vector.
6720 2012-09-13 Kenichi Handa <handa@gnu.org>
6722 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
6723 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
6724 `coding-priority' property of these language environment.
6726 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
6728 Fix glitches caused by addition of psec to timers (Bug#12430).
6729 * image.el (image-animate-timer):
6730 * time.el (display-time-world-timer):
6731 Use timer--function and timer--args rather than raw access to
6734 2012-09-13 Glenn Morris <rgm@gnu.org>
6736 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
6737 If not compiling a file, try using load-file-name.
6739 2012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
6741 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
6743 (edebug-update-eval-list): Use `push'.
6745 * emacs-lisp/edebug.el: Use lexical-binding.
6746 Remove the "edebug-" prefix from non-dynamically-scoped variables.
6747 Mark unused args with underscore.
6748 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
6749 (edebug-form-data): Use defvar-local.
6750 (edebug-make-before-and-after-form, edebug-make-after-form):
6752 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
6753 Not dynamically scoped any more.
6754 (edebug--enter-trace): Add arguments `function' and `args'.
6755 Rename from edebug-enter-trace.
6756 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
6757 (edebug--update-coverage): Add `after-index' and `value' args.
6758 Rename from edebug-update-coverage.
6759 (edebug-slow-after): Call it accordingly.
6760 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
6761 edebug-recursive-edit.
6762 (edebug--display): Call it accordingly. Add args `value',
6763 `offset-index', and `arg-mode'. Rename from edebug-display.
6764 (edebug-debugger, edebug): Call it accordingly.
6765 (edebug-eval-display-list): Use dolist.
6767 2012-09-12 Juri Linkov <juri@jurta.org>
6769 * info.el (Info-search): Don't check for isearch-mode and
6770 isearch-regexp before let-binding search-spaces-regexp to
6771 Info-search-whitespace-regexp.
6772 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
6773 search-whitespace-regexp if isearch-lax-whitespace or
6774 isearch-regexp-lax-whitespace is non-nil.
6775 (Info-mode): Don't set local variable search-whitespace-regexp.
6776 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
6778 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6780 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
6781 (debugger-env-macro): Remove support for unread-command-char.
6783 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
6784 the temporary map re-appearing on emulation-mode-map-alists.
6786 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
6789 * ehelp.el (with-electric-help): Accept functions in
6790 electric-help-form-to-execute.
6791 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
6792 And replace unread-command-char -> unread-command-events.
6794 2012-09-12 Michael Albinus <michael.albinus@gmx.de>
6796 Sync with Tramp 2.2.6.
6798 * net/tramp.el (tramp-accept-process-output): Don't use
6799 JUST-THIS-ONE in the XEmacs case.
6801 * net/trampver.el: Update release number.
6803 2012-09-12 Martin Rudalics <rudalics@gmx.at>
6805 * emacs-lisp/debug.el (debugger-previous-window-height):
6807 (debug): When debugger-jumping-flag is non-nil try to restore
6808 height of debugger window. (Bug#8789)
6810 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6812 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
6813 overriding-local-map and pre/post-command-hook here.
6814 (edebug-recursive-edit): Do it here instead (bug#12345).
6815 (edebug-outside-unread-command-char): Remove all uses of
6816 unread-command-char.
6818 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
6819 inhibit-debugger is bound instead.
6821 2012-09-11 Bastien Guerry <bzg@gnu.org>
6823 * subr.el (set-temporary-overlay-map): Add a docstring.
6826 2012-09-11 Bastien Guerry <bzg@gnu.org>
6828 * minibuffer.el (completion-table-subvert): Fix docstring.
6831 2012-09-11 Bastien Guerry <bzg@gnu.org>
6833 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
6835 2012-09-10 Michael R. Mauger <mmaug@yahoo.com>
6837 * progmodes/sql.el: Version 3.1
6838 (sql-db2-escape-newlines): New variable.
6839 (sql-escape-newlines-filter): Use it.
6841 2012-09-10 Juanma Barranquero <lekktu@gmail.com>
6843 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
6845 2012-09-10 Dan Nicolaescu <dann@gnu.org>
6847 * vc/diff-mode.el (diff-mode-menu):
6848 Bind diff-remove-trailing-whitespace.
6850 2012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
6852 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
6853 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
6854 (emacs-lisp-byte-code-mode): New functions.
6855 (eval-sexp-add-defvars): Don't skip defvars in column >0.
6856 (eval-defun-2): Remove bogus interactive spec.
6857 (lisp-indent-line): Remove redundant whole-exp code, now done in
6858 indent-according-to-mode.
6859 (save-match-data): Remove redundant indent data.
6861 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
6864 2012-09-09 Juri Linkov <juri@jurta.org>
6866 * replace.el (replace-regexp-lax-whitespace): New defcustom.
6867 (replace-lax-whitespace, query-replace-regexp)
6868 (query-replace-regexp-eval, replace-regexp): Doc fix.
6869 (perform-replace, replace-highlight): Let-bind
6870 isearch-lax-whitespace to replace-lax-whitespace and
6871 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
6873 * isearch.el (isearch-query-replace): Let-bind
6874 replace-lax-whitespace to isearch-lax-whitespace and
6875 replace-regexp-lax-whitespace to
6876 isearch-regexp-lax-whitespace. (Bug#10885)
6878 2012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
6880 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
6882 2012-09-09 Alan Mackenzie <acm@muc.de>
6884 * progmodes/cc-engine.el (c-state-cache-init):
6885 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
6886 (c-record-parse-state-state):
6887 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
6889 2012-09-09 Andreas Schwab <schwab@linux-m68k.org>
6891 * register.el (register-separator): Rename from
6892 separator-register. All uses changed. Doc fix.
6893 (register): Fix version.
6895 2012-09-09 Chong Yidong <cyd@gnu.org>
6897 * replace.el (query-replace-map): Bind four new symbols for
6898 requesting window scrolling.
6900 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
6901 query-replace-map (Bug#8948).
6903 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
6905 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
6906 since they are now in query-replace-map.
6908 * window.el (scroll-other-window-down): Make the arg optional.
6910 2012-09-09 Chong Yidong <cyd@gnu.org>
6912 * files.el (hack-local-variables-confirm): Use quit-window to kill
6913 the *Local Variables* buffer.
6915 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
6917 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
6918 not just expect to be at its beginning. Adjust callees.
6919 Succeed when do-end block has no space before the pipe character.
6920 (ruby-brace-to-do-end): When the original block is one-liner,
6921 convert to multiline. Reindent the result.
6923 2012-09-08 Jambunathan K <kjambunathan@gmail.com>
6925 * register.el (register): New group.
6926 (separator-register): New user option.
6927 (increment-register): Route it to `append-to-register', if
6928 register contains text. Implication is that `C-x r +' can now be
6929 used for appending to a text register (bug#12217).
6930 (append-to-register, prepend-to-register): Add separator based on
6931 `separator-register'.
6933 2012-09-08 Alan Mackenzie <acm@muc.de>
6935 AWK Mode: make auto-newline work when there's "==" in the pattern.
6936 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
6938 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
6939 Test more rigorously for "=" token.
6941 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
6943 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
6944 Only fail when reached LIMIT.
6946 2012-09-08 Chong Yidong <cyd@gnu.org>
6948 * dired.el (dired-mode-map): Don't bind M-=.
6950 * dired-aux.el (dired-diff): Use backup file as default.
6952 2012-09-08 Drew Adams <drew.adams@oracle.com>
6954 * subr.el (add-to-history): Fix delete usage (Bug#12314).
6956 2012-09-08 Chong Yidong <cyd@gnu.org>
6958 * subr.el (syntax-after, syntax-class): Doc fix.
6960 2012-09-08 Martin Rudalics <rudalics@gmx.at>
6962 * window.el (display-buffer-in-previous-window): New buffer
6963 display action function.
6965 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
6966 (debugger-previous-window): New variable.
6967 (debug): Rewrite using display-buffer-in-previous-window,
6968 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
6970 2012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
6972 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
6974 2012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
6976 * progmodes/python.el (python-shell-send-string):
6977 When default-directory is remote, create temp file on remote
6979 (python-shell-send-file): When file is remote, pass local view of
6980 file paths to remote Python interpreter. (Bug#12340)
6982 2012-09-07 Chong Yidong <cyd@gnu.org>
6984 * window.el (switch-to-buffer): Doc fix (Bug#12181).
6986 * files.el (after-find-file): Don't fail on a read-only buffer if
6987 require-final-newline is `visit' or `visit-save' (Bug#11156).
6989 * subr.el (read-char-choice): Allow quitting via ESC ESC.
6991 * userlock.el (ask-user-about-supersession-threat):
6992 Use read-char-choice (Bug#12093).
6994 2012-09-07 Chong Yidong <cyd@gnu.org>
6996 * subr.el (buffer-narrowed-p): New function.
6998 * ses.el (ses-widen):
6999 * simple.el (count-words--buffer-message):
7000 * net/browse-url.el (browse-url-of-buffer): Use it.
7002 * simple.el (count-words-region): Don't signal an error if there
7003 is a non-nil prefix arg and the mark is not set.
7005 * help.el (describe-key-briefly): Allow the message to be seen
7006 when invoked from the minibuffer (Bug#7014).
7008 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
7010 * progmodes/ruby-mode.el (ruby-end-of-defun)
7011 (ruby-beginning-of-defun): Simplify, allow indentation before
7012 block beginning and end keywords.
7013 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
7014 (ruby-end-of-defun): Expect that the point is at the beginning of
7017 2012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
7019 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
7021 (cl--make-usage-args): Strip _ from argument names.
7023 2012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7025 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
7026 obsolete alias speedbar-key-map.
7027 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
7028 (vhdl-index-menu-init): Don't use obsolete variable
7029 font-lock-maximum-size.
7031 2012-09-06 Chong Yidong <cyd@gnu.org>
7033 * frame.el (window-system-version): Mark as obsolete.
7035 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
7036 of obsolete variable speedbar-key-map.
7038 2012-09-06 Juri Linkov <juri@jurta.org>
7040 * replace.el (replace-lax-whitespace): New defcustom.
7041 (query-replace, query-replace-regexp, query-replace-regexp-eval)
7042 (replace-string, replace-regexp): Mention it in docstrings.
7043 (perform-replace, replace-highlight): Let-bind
7044 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
7045 to the values of replace-lax-whitespace and regexp-flag.
7046 Don't let-bind search-whitespace-regexp. (Bug#10885)
7048 * isearch.el (isearch-query-replace): Let-bind
7049 replace-lax-whitespace instead of let-binding
7050 replace-search-function and replace-re-search-function.
7051 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
7052 and isearch-regexp-lax-whitespace to lazy-highlight variables.
7053 (isearch-toggle-symbol): Set isearch-regexp to nil
7054 in isearch-word mode (like in isearch-toggle-word).
7056 2012-09-06 Juri Linkov <juri@jurta.org>
7058 * replace.el (replace-search-function)
7059 (replace-re-search-function): Set default values to nil.
7060 (perform-replace): Let-bind isearch-related variables based on
7061 replace-related values, call `isearch-search-fun' and let-bind
7062 the result to `search-function'. Remove code that sets
7063 `search-function' and `search-string' separately for
7065 (replace-highlight): Add new argument `delimited-flag' and
7066 rename other arguments to the names used in `perform-replace'.
7067 Let-bind `isearch-word' to the argument `delimited-flag'.
7068 (Bug#10885, bug#10887)
7070 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
7072 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
7073 ruby-beginning-of-indent, simplify, allow all keywords to have
7074 indentation before them.
7075 (ruby-beginning-of-indent): Adjust for above. Search until the
7076 found point is not inside a string or comment.
7077 (ruby-font-lock-keywords): Allow symbols to start with "@"
7078 character, give them higher priority than variables.
7079 (ruby-syntax-propertize-function)
7080 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
7081 matchers. Expression expansions are not comments when inside a
7082 string, and there comment syntax status is irrelevant.
7083 (ruby-match-expression-expansion): New function. Check that
7084 expression expansion is inside a string, and it's not escaped.
7085 (ruby-font-lock-keywords): Use it.
7087 2012-09-05 Martin Rudalics <rudalics@gmx.at>
7089 * help.el (temp-buffer-max-height): New default value.
7090 (temp-buffer-resize-frames): New option.
7091 (resize-temp-buffer-window): Optionally resize frame.
7093 * window.el (fit-frame-to-buffer-bottom-margin): New option.
7094 (fit-frame-to-buffer): New function.
7096 2012-09-05 Glenn Morris <rgm@gnu.org>
7098 * emulation/cua-rect.el (cua--init-rectangles):
7099 * textmodes/picture.el (picture-mode-map):
7100 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
7101 like forward-char and backward-char. (Bug#12317)
7103 2012-09-05 Leo Liu <sdl.web@gmail.com>
7105 * progmodes/flymake.el (flymake-warning-re): New variable.
7106 (flymake-parse-line): Use it.
7108 2012-09-05 Glenn Morris <rgm@gnu.org>
7110 * calendar/holidays.el (holiday-christian-holidays):
7111 Rename an entry. (Bug#12289)
7113 2012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
7115 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
7118 2012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
7120 * loadup.el: Load macroexp. Remove hack.
7121 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
7122 (macroexp--expand-all): Use it to get better warnings.
7123 (macroexp--backtrace, macroexp--trim-backtrace-frame)
7124 (internal-macroexpand-for-load): New functions.
7125 (macroexp--pending-eager-loads): New var.
7126 (emacs-startup-hook): New hack to replace one in loadup.el.
7127 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
7128 (cl--compiler-macro-cXXr): Move to top, before they can be used.
7129 (cl-psetf): Simplify.
7130 (cl-defstruct): Add indent rule.
7132 2012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
7134 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
7135 over `user-mail-address' for the SMTP MAIL FROM envelope.
7136 (smtpmail-via-smtp): Ditto.
7138 2012-09-04 Dmitry Gutov <dgutov@yandex.ru>
7140 * progmodes/ruby-mode.el: Clean up keybindings.
7141 (ruby-mode-map): Don't bind ruby-electric-brace,
7142 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
7143 backward-kill-word, reindent-then-newline-and-indent.
7144 (ruby-mark-defun): Remove.
7145 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
7146 (ruby-mode): Set local beginning-of-defun-function and
7147 end-of-defun-function values.
7149 2012-09-03 Martin Rudalics <rudalics@gmx.at>
7151 * window.el (temp-buffer-window-setup-hook)
7152 (temp-buffer-window-show-hook): New hooks.
7153 (temp-buffer-window-setup, temp-buffer-window-show)
7154 (with-temp-buffer-window): New functions.
7155 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
7156 (special-display-popup-frame): Make sure the window used shows BUFFER.
7158 * help.el (temp-buffer-resize-mode): Fix doc-string.
7159 (resize-temp-buffer-window): New optional argument WINDOW.
7161 * files.el (recover-file, save-buffers-kill-emacs):
7162 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
7164 2012-09-02 Michael Albinus <michael.albinus@gmx.de>
7166 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
7167 remote definition of `default-directory', ensure we can connect.
7169 2012-09-02 Juri Linkov <juri@jurta.org>
7171 Toggle whitespace matching mode with M-s SPC.
7172 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
7174 * isearch.el (search-whitespace-regexp): Doc fix.
7175 Remove cons cell customization.
7176 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
7177 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
7179 (isearch-forward, isearch-forward-regexp): Doc fix.
7180 (isearch-toggle-lax-whitespace): New command.
7181 (search-forward-lax-whitespace, search-backward-lax-whitespace)
7182 (re-search-forward-lax-whitespace)
7183 (re-search-backward-lax-whitespace): New functions.
7184 (isearch-whitespace-regexp): Remove function.
7185 (isearch-query-replace): Let-bind replace-search-function and
7186 replace-re-search-function.
7187 (isearch-occur): Let-bind search-spaces-regexp according to the
7188 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
7189 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
7190 condition for C-q SPC.
7191 (isearch-search-fun-default): Use new functions mentioned above.
7192 (isearch-search-forward, isearch-search-backward): Remove functions.
7193 (isearch-search): Don't let-bind search-spaces-regexp.
7194 (isearch-lazy-highlight-space-regexp): Remove variable.
7195 (isearch-lazy-highlight-lax-whitespace)
7196 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
7197 (isearch-lazy-highlight-new-loop): Use them.
7198 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
7200 2012-09-02 Chong Yidong <cyd@gnu.org>
7202 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
7204 2012-09-02 Glenn Morris <rgm@gnu.org>
7206 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
7208 2012-09-01 Glenn Morris <rgm@gnu.org>
7210 * term.el: Tidy up menu definitions.
7211 (term-mode-map): Use easymenu for In/Out, Complete menus.
7212 (term-pager-break-map): Initialize in the defvar.
7213 (term-terminal-menu, term-signals-menu): Define with easymenu.
7214 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
7215 (term-pager-menu): New, extracted from term-process-pager.
7216 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
7217 (term-update-mode-line): Propertize line/char and page items.
7218 (term-process-pager): Move keymap initialization elsewhere.
7220 2012-09-01 Martin Rudalics <rudalics@gmx.at>
7222 * window.el (switch-to-prev-buffer): Handle additional values of
7223 BURY-OR-KILL argument. Don't switch in minibuffer window.
7224 (switch-to-next-buffer): Don't switch in minibuffer window.
7225 (quit-restore-window): New function based on quit-window.
7226 Handle additional values of former KILL argument.
7227 (quit-window): Call quit-restore-window with appropriate
7228 interpretation of KILL argument.
7229 (display-buffer-below-selected): New buffer display action
7232 2012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
7234 * minibuffer.el (completion-at-point-functions): Complete docstring
7237 2012-09-01 Paul Eggert <eggert@cs.ucla.edu>
7239 Better seed support for (random).
7240 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
7241 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
7242 * play/mpuz.el, play/tetris.el, play/zone.el:
7243 * calc/calc-comb.el (math-init-random-base):
7244 * play/blackbox.el (bb-init-board):
7245 * play/life.el (life):
7246 * server.el (server-use-tcp):
7247 * type-break.el (type-break):
7248 Remove unnecessary call to (random t).
7249 * net/sasl.el (sasl-unique-id-function):
7250 Change (random t) to (random), now that the latter is more random.
7251 * play/life.el (life-initialized): Remove no-longer-needed var.
7253 2012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
7255 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
7256 Consider frame's buffer predicate when choosing the buffer.
7259 2012-08-30 Richard Stallman <rms@gnu.org>
7261 * simple.el (special-mode-map): Delete binding for `z'.
7263 2012-08-30 Andreas Schwab <schwab@linux-m68k.org>
7265 * progmodes/compile.el (compilation-always-kill): Doc fix.
7267 2012-08-30 Chong Yidong <cyd@gnu.org>
7269 * window.el (display-buffer-reuse-frames): Make the obsolescence
7270 message more informative.
7272 2012-08-30 Glenn Morris <rgm@gnu.org>
7274 * paren.el (show-paren-delay):
7275 Add a :set function. Doc fix. (Bug#12297)
7277 2012-08-29 Martin Blais <blais@furius.ca> (tiny change)
7279 * progmodes/compile.el (compilation-always-kill): New var.
7280 (compilation-start): Use it.
7282 2012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
7284 * simple.el (read-only-mode): Move from files.el for bootstrapping.
7285 * files.el (read-only-mode): Move to simple.el.
7287 * files.el (read-only-mode): New minor mode.
7288 (toggle-read-only): Use it and mark obsolete.
7289 (find-file--read-only):
7290 * vc/vc.el (vc-next-action, vc-checkout):
7291 * vc/vc-cvs.el (vc-cvs-checkout):
7292 * obsolete/vc-mcvs.el (vc-mcvs-update):
7293 * ffap.el (ffap--toggle-read-only): Update callers.
7295 2012-08-29 Michael Albinus <michael.albinus@gmx.de>
7297 * eshell/esh-ext.el (eshell-external-command): Do not examine
7298 remote shell scripts.
7299 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
7301 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
7304 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7306 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
7308 2012-08-28 Leo Liu <sdl.web@gmail.com>
7310 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
7311 completion-at-point. (Bug#12220)
7313 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
7315 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
7317 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7319 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
7320 be buffer-local; add delete-trailing-whitespace (bug#12259).
7322 2012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
7324 * progmodes/hideif.el (hif-compress-define-list):
7325 Fix typo. (Bug#11951)
7327 2012-08-28 Dan Nicolaescu <dann@gnu.org>
7329 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
7330 buffer local setting.
7332 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
7333 rcirc-encode-coding-system.
7335 2012-08-28 Leo Liu <sdl.web@gmail.com>
7337 * net/rcirc.el (rcirc-split-message): New function.
7338 (rcirc-send-message): Use it. (Bug#12051)
7340 2012-08-28 Juri Linkov <juri@jurta.org>
7342 * info.el (Info-fontify-node): Hide empty lines at the end of
7343 the node. (Bug#12272)
7345 2012-08-27 Drew Adams <drew.adams@oracle.com>
7347 * dired.el (dired-pop-to-buffer): Make window start at beginning
7348 of buffer (Bug#12281).
7350 2012-08-26 Chong Yidong <cyd@gnu.org>
7352 * window.el (special-display-regexps, special-display-frame-alist)
7353 (special-display-buffer-names, special-display-function)
7354 (display-buffer-reuse-frames): Mark as obsolete.
7356 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
7358 * help.el (help-print-return-message): Don't treat
7359 display-buffer-reuse-frames specially.
7361 2012-08-26 Chong Yidong <cyd@gnu.org>
7363 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
7364 New variable, replacing gdb-frame-parameters.
7365 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
7366 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
7367 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
7368 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
7369 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
7370 the functions directly with gdb-display-buffer-other-frame-action.
7371 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
7372 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
7373 (gdb-display-stack-buffer, gdb-display-locals-buffer)
7374 (gdb-display-registers-buffer): Define directly.
7375 (def-gdb-display-buffer): Macro deleted.
7376 (gdb-display-buffer): Remove second and third args, callers don't
7377 use them. Defer to the default display-buffer behavior, apart
7378 from making windows dedicated.
7379 (gdb-setup-windows): Don't call display-buffer unnecessarily.
7381 * progmodes/gud.el (gud-display-line): Just use display-buffer.
7383 * window.el (display-buffer-pop-up-frame): Handle a
7384 pop-up-frame-parameters alist entry.
7385 (display-buffer): Document it.
7387 2012-08-26 Chong Yidong <cyd@gnu.org>
7389 * isearch.el (search-whitespace-regexp): Make string and nil
7390 values apply to both ordinary and regexp search. Allow a cons
7391 cell value to distinguish between the two.
7392 (isearch-whitespace-regexp, isearch-search-forward)
7393 (isearch-search-backward): New functions.
7394 (isearch-occur, isearch-search-fun-default, isearch-search)
7395 (isearch-lazy-highlight-new-loop): Use them.
7396 (isearch-forward, isearch-forward-regexp): Doc fix.
7398 2012-08-26 Chong Yidong <cyd@gnu.org>
7400 * faces.el (help-argument-name): Always inherit from italic
7403 2012-08-25 Martin Rudalics <rudalics@gmx.at>
7405 * window.el (window--even-window-heights): Even heights when
7406 WINDOW and the selected window form a vertical combination.
7407 (display-buffer-use-some-window): Provide that window used gets
7408 sized back by quit-window. (Bug#11880) and (Bug#12091)
7410 2012-08-24 Paul Eggert <eggert@cs.ucla.edu>
7412 Fix file time stamp problem with bzr and CVS (Bug#12001).
7413 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
7414 in the file's time stamp, since the version control system loses
7417 2012-08-22 Juri Linkov <juri@jurta.org>
7419 * info.el (Info-fontify-node): Hide the suffix of the
7420 Info file name in the header line. (Bug#12187)
7422 2012-08-22 Glenn Morris <rgm@gnu.org>
7424 * calendar/cal-tex.el (cal-tex-weekly-common):
7425 Restore leading blank page.
7427 2012-08-22 Le Wang <l26wang@gmail.com>
7429 * misc.el (forward-to-word, backward-to-word): Activate or extend
7430 the region under `shift-select-mode'. (Bug#12231)
7432 2012-08-22 Bastien Guerry <bzg@gnu.org>
7434 * progmodes/executable.el (executable-prefix): Set to "#!" instead
7435 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
7436 gives details on why the space is never needed.
7438 2012-08-22 Martin Rudalics <rudalics@gmx.at>
7440 * window.el (walk-window-tree, window-with-parameter):
7441 New optional argument MINIBUF to control whether these functions
7442 should run on the minibuffer window.
7443 (window-at-side-list): Don't operate on minibuffer window.
7444 (window-in-direction): Simplify and rewrite doc-string.
7445 (window--size-ignore): Rename to window--size-ignore-p.
7447 (display-buffer-in-atom-window, window--major-non-side-window)
7448 (window--major-side-window, display-buffer-in-major-side-window)
7449 (delete-side-window, display-buffer-in-side-window):
7451 (window--side-check, window-deletable-p, delete-window)
7452 (delete-other-windows, split-window): Handle side windows and
7453 atomic windows appropriately.
7454 (window--display-buffer): Call display-buffer-record-window also
7455 when the window buffer did not change.
7457 2012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
7459 * help-fns.el (help-fns--key-bindings):
7460 Abbreviate non-symbol remap targets. (Bug#12174)
7462 2012-08-22 Martin Rudalics <rudalics@gmx.at>
7464 * dired.el (dired-mark-remembered): Don't clobber point.
7467 2012-08-22 Glenn Morris <rgm@gnu.org>
7469 * progmodes/bug-reference.el (bug-reference): New custom group.
7470 (bug-reference-bug-regexp): Make it a defcustom.
7472 2012-08-22 Daiki Ueno <ueno@unixuser.org>
7474 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
7475 (js-paren-indent-offset, js-square-indent-offset)
7476 (js-curly-indent-offset): Add :safe (Bug#12257).
7478 2012-08-22 Edward O'Connor <hober0@gmail.com>
7480 * json.el (json-key-format): Add error properties.
7481 (json-encode-key): New function.
7482 (json-encode-hash-table, json-encode-alist, json-encode-plist):
7483 Use json-encode-key.
7485 2012-08-22 Glenn Morris <rgm@gnu.org>
7487 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
7488 (cal-tex-leftday, cal-tex-rightday): Remove functions.
7489 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
7490 Update for above change.
7492 2012-08-21 Andreas Schwab <schwab@linux-m68k.org>
7494 * cus-face.el (custom-face-attributes): Fix customize type for the
7495 :underline attribute. (Bug#11805)
7497 2012-08-21 Martin Rudalics <rudalics@gmx.at>
7499 * window.el (window-point-1, set-window-point-1): Remove.
7500 (window-in-direction, record-window-buffer)
7501 (set-window-buffer-start-and-point, split-window-below)
7502 (window--state-get-1, display-buffer-record-window):
7503 Replace calls to window-point-1 and set-window-point-1 by calls to
7504 window-point and set-window-point respectively.
7506 2012-08-21 Glenn Morris <rgm@gnu.org>
7508 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
7509 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
7512 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
7513 (cal-tex-shortday): New function.
7514 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
7515 (cal-tex-cursor-filofax-daily): Use the above.
7517 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
7519 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
7520 (cal-tex-cursor-filofax-week): Use them.
7522 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
7524 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
7525 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
7527 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
7528 (cal-tex-end-document): Don't rely on buffer name.
7530 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
7532 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
7533 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
7534 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
7537 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
7538 (cal-tex-cursor-week, cal-tex-cursor-week2)
7539 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
7540 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
7541 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
7542 (cal-tex-insert-preamble, cal-tex-b-document)
7543 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
7544 Improve cal-tex-cmd usage.
7546 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
7547 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
7548 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
7549 (cal-tex-weekly-paper): New function.
7550 (cal-tex-cursor-week, cal-tex-cursor-week2)
7551 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
7552 (cal-tex-cursor-day): Use it.
7554 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
7555 (cal-tex-cursor-filofax-week): Remove leading blank page.
7557 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
7558 Add autoload cookie. For now at least, don't use color, since
7559 no other cal-tex function does.
7561 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
7562 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
7563 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
7565 2012-08-21 Juri Linkov <juri@jurta.org>
7567 * info.el (Info-file-attributes): New variable.
7568 (info-insert-file-contents): Add file attributes to
7569 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
7570 `Info-toc-nodes' when previous modtime of the Info file is less
7572 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
7573 of info.el. (Bug#12230)
7575 2012-08-20 Glenn Morris <rgm@gnu.org>
7577 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
7578 * calendar/holidays.el (calendar-holiday-list):
7579 Report errors with display-warning rather than beep'n'sleep.
7581 2012-08-20 Michael Albinus <michael.albinus@gmx.de>
7583 * net/tramp.el (tramp-accept-process-output): Accept only output
7584 from PROC. Otherwise, process filters and sentinels might be
7585 confused. (Bug#12145)
7587 2012-08-20 Chong Yidong <cyd@gnu.org>
7589 * descr-text.el (describe-text-properties-1): Use overlays-in to
7590 report on empty overlays (Bug#3322).
7592 2012-08-20 Glenn Morris <rgm@gnu.org>
7594 * mail/rmailout.el (rmail-output-read-file-name):
7595 Trap and report errors in rmail-output-file-alist elements.
7597 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
7598 since most non-font-lock faces are not also variables).
7600 2012-08-20 Edward Reingold <reingold@iit.edu>
7602 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
7603 New function. (Bug12160)
7605 2012-08-19 Glenn Morris <rgm@gnu.org>
7607 * mail/rmailout.el (rmail-output-read-file-name):
7608 Fix previous change (when the alist is nil or does not match).
7610 2012-08-19 Chong Yidong <cyd@gnu.org>
7612 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
7615 2012-08-18 Chong Yidong <cyd@gnu.org>
7617 * simple.el (yank-handled-properties): New defcustom.
7618 (yank-excluded-properties): Add font-lock-face and category.
7621 * subr.el (remove-yank-excluded-properties):
7622 Obey yank-handled-properties. The special handling of font-lock-face
7623 and category is now done this way, instead of being hard-coded.
7624 (insert-for-yank-1): Remove font-lock-face handling.
7625 (yank-handle-font-lock-face-property)
7626 (yank-handle-category-property): New function.
7628 2012-08-17 Glenn Morris <rgm@gnu.org>
7630 * mail/rmailout.el (rmail-output-read-file-name):
7631 Check rmail-output-file-alist against the full message body
7632 in the correct rmail buffer. (Bug#12214)
7634 2012-08-17 Michael Albinus <michael.albinus@gmx.de>
7636 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
7637 Eliminate superfluous prompt. (Bug#12203)
7639 2012-08-17 Chong Yidong <cyd@gnu.org>
7641 * mouse.el (mouse-appearance-menu): If x-select-font returns a
7642 font spec, set the font directly (Bug#3228).
7644 2012-08-17 Martin Rudalics <rudalics@gmx.at>
7646 * window.el (delete-window): Fix last fix.
7648 2012-08-16 Martin Rudalics <rudalics@gmx.at>
7650 * window.el (window-valid-p): Move to window.c.
7651 (window-child, window-child-count, window-last-child)
7652 (window-normalize-window, window-combined-p)
7653 (window-combinations, window-atom-root, window-min-size)
7654 (window-sizable, window-sizable-p, window-size-fixed-p)
7655 (window-min-delta, window-max-delta, window--resizable)
7656 (window--resizable-p, window-resizable, window-total-size)
7657 (window-full-height-p, window-full-width-p, window-body-size)
7658 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
7659 (minimize-window, window-deletable-p, delete-window)
7660 (delete-other-windows, set-window-buffer-start-and-point)
7661 (next-buffer, previous-buffer, split-window, balance-windows-2)
7662 (set-window-text-height, window-buffer-height)
7663 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
7664 (truncated-partial-width-window-p): Minor code adjustments.
7665 In doc-strings state whether the argument window has to denote a
7666 live, valid or any window.
7668 2012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
7670 * progmodes/subword.el (subword-forward-function)
7671 (subword-backward-function, subword-forward-regexp)
7672 (subword-backward-regexp): New variables.
7673 (subword-forward, subword-forward-internal, subword-backward-internal):
7674 Use new variables, eg so that different "word" definitions
7675 can be easily used. (Bug#11411)
7677 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
7679 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
7680 for composite selectors.
7681 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
7682 operation just because we can't find a previous revision.
7684 2012-08-15 Chong Yidong <cyd@gnu.org>
7686 * frame.el (set-frame-font): Accept font objects.
7688 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
7690 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
7692 2012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
7694 * man.el (Man-overstrike-face, Man-underline-face)
7695 (Man-reverse-face): Remove variables.
7696 (Man-overstrike, Man-underline, Man-reverse): New faces.
7697 (Man-fontify-manpage): Use them instead of the variables.
7698 (Man-cleanup-manpage): Comment change.
7699 (Man-ansi-color-map): New variable.
7700 (Man-fontify-manpage): Use it.
7701 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
7703 Implement ANSI SGR parameters 22-27 (bug#12146).
7704 * ansi-color.el (ansi-colors): Doc fix.
7705 (ansi-color-context, ansi-color-context-region): Doc fix.
7706 (ansi-color--find-face): New function.
7707 (ansi-color-apply, ansi-color-apply-on-region): Use it.
7708 Rename the local variable `face' to `codes' since it is now a list of
7709 ansi codes. Doc fix.
7710 (ansi-color-get-face): Remove.
7711 (ansi-color-parse-sequence): New function, derived from
7712 ansi-color-get-face.
7713 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
7716 2012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
7718 * subr.el (read-passwd): Allow use from a minibuffer.
7720 2012-08-14 Eli Zaretskii <eliz@gnu.org>
7722 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
7723 inside comments and strings as identifiers.
7725 * progmodes/gud.el (gud-tooltip-print-command): Quote the
7726 expression to evaluate. This allows to evaluate expressions with
7727 embedded whitespace.
7728 (gud-tooltip-tips): Add a blank before the newline in the
7729 message-box text, for the benefit of message-box emulation on
7732 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
7733 messages from GDB, pop them up in a tooltip to give feedback to
7735 (gdb-tooltip-print-1): Quote the expression to evaluate.
7736 This allows to evaluate expressions with embedded whitespace.
7737 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
7738 if the TTY name is nil or empty (which happens when communicating
7739 with the inferior via pipes, e.g. on MS-Windows).
7740 (gdb-internals): If GDB sends a "&\n" empty debugging message,
7741 don't send that to the GUD buffer.
7743 2012-08-14 Glenn Morris <rgm@gnu.org>
7745 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
7746 Optimize away setq-default with no args, as for setq. (Bug#12195)
7748 2012-08-14 Chong Yidong <cyd@gnu.org>
7750 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
7752 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
7755 2012-08-14 Glenn Morris <rgm@gnu.org>
7757 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
7759 2012-08-14 Michael Albinus <michael.albinus@gmx.de>
7761 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
7762 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
7763 Use cached shell name.
7765 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
7767 * progmodes/python.el (python-shell-send-string):
7768 (python-shell-send-setup-code): Do not use `format' with `message'.
7770 2012-08-14 Dmitry Gutov <dgutov@yandex.ru>
7772 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
7773 (ruby-percent-literal-beg-re): New constant.
7774 (ruby-syntax-general-delimiters-goto-beg): Rename to
7775 `ruby-syntax-enclosing-percent-literal', improve literal type check.
7776 (ruby-syntax-propertize-general-delimiters): Rename to
7777 `ruby-syntax-propertize-percent-literal', it's a shorter and more
7778 popular term. Adjust comments everywhere.
7779 (ruby-syntax-propertize-percent-literal): Only propertize when not
7780 inside a simple string or comment. When the literal is unclosed,
7781 leave the text after it unpropertized.
7782 (ruby-syntax-methods-before-regexp): New constant.
7783 (ruby-syntax-propertize-function): Use it to recognize regexps.
7784 Don't look at the text after regexp, just use the whitelist.
7786 2012-08-14 Andreas Schwab <schwab@linux-m68k.org>
7788 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
7789 non-nil always load the compiled file if it exists. (Bug#12197)
7791 2012-08-14 Chong Yidong <cyd@gnu.org>
7793 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
7794 (hi-lock-set-pattern): When deciding whether to use font lock or
7795 overlays, look at font-lock-mode instead of font-lock-fontified
7797 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
7798 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
7800 2012-08-14 Daiki Ueno <ueno@unixuser.org>
7802 * subr.el (internal--after-with-selected-window): Fix typo
7805 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
7807 Use `completion-table-dynamic' for completion functions.
7808 * progmodes/python.el
7809 (python-shell-completion--do-completion-at-point)
7810 (python-shell-completion--get-completions):
7812 (python-shell-completion-complete-at-point): New function.
7813 (python-completion-complete-at-point): Use it.
7815 2012-08-13 Jambunathan K <kjambunathan@gmail.com>
7817 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
7818 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
7820 2012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
7822 * subr.el (function-get): Refine `autoload' arg so it can also
7823 autoload functions for gv.el (bug#12191).
7824 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
7827 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
7828 Prefer pcase-let over destructuring-bind.
7829 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
7830 Also, remove whitespace as we go, rather than after accumulating the
7833 * subr.el (internal--before-with-selected-window)
7834 (internal--after-with-selected-window): Fix typo seleted->selected.
7835 (with-selected-window): Adjust callers.
7836 Reported by Dmitry Gutov <dgutov@yandex.ru>.
7838 2012-08-13 Bastien Guerry <bzg@gnu.org>
7840 * window.el (special-display-popup-frame): Minor docstring
7841 enhancement. (Bug#12172)
7843 2012-08-13 Andreas Schwab <schwab@linux-m68k.org>
7845 * tar-mode.el (tar-header-data-end): Only ignore size for files of
7847 (tar-header-block-summarize, tar-get-descriptor): Handle pax
7850 * files.el (hack-local-variables-filter): Remove useless eval.
7852 2012-08-13 Martin Rudalics <rudalics@gmx.at>
7854 * subr.el (with-selected-window): Fix last change.
7856 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
7858 * subr.el (internal--before-with-seleted-window)
7859 (internal--after-with-seleted-window): New functions.
7860 (with-selected-window): Use them, to replace dependency on
7863 2012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
7865 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
7866 binding for `newline'.
7867 (ruby-move-to-block): When moving backward, stop at block opening,
7869 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
7870 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
7871 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
7872 `ruby-toggle-block'.
7874 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
7876 * ibuffer.el (ibuffer-do-toggle-read-only):
7877 * dired.el (dired-toggle-read-only):
7878 * buff-menu.el (Buffer-menu-toggle-read-only):
7879 * bindings.el (mode-line-toggle-read-only):
7880 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
7882 2012-08-12 Andreas Schwab <schwab@linux-m68k.org>
7884 * descr-text.el (describe-char): Put the overlays over the
7885 "displayed as" character.
7887 2012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
7889 * calc/calc-units.el (math-default-units-table): Give an
7891 (math-put-default-units): Add options to put composite units and
7892 unit systems in the default units table.
7893 (calc-convert-units): Send composite units to
7894 `math-put-default-units' when appropriate.
7896 2012-08-11 Glenn Morris <rgm@gnu.org>
7898 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
7900 * tutorial.el (help-with-tutorial):
7901 * emacs-lisp/copyright.el (copyright-update-directory):
7902 * emacs-lisp/autoload.el (autoload-find-generated-file)
7903 (autoload-find-file): Disable local eval: (for insurance).
7905 * files.el (hack-local-variables-filter): If an eval: form is not
7906 known to be safe, and enable-local-variables is :safe, then ignore
7907 the form totally, as is done for non-eval forms. (Bug#12155)
7908 This is CVE-2012-3479.
7910 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
7912 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
7913 (rx-form): Simplify.
7915 2012-08-09 Dmitry Gutov <dgutov@yandex.ru>
7917 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
7918 ?, _, and : are symbol constituents, ! is not (but kinda should be).
7919 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
7920 (ruby-syntax-propertize-function): Adjust for changes in
7921 `ruby-syntax-propertize-heredoc'.
7923 2012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
7925 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
7926 binding (use `M-;' instead).
7927 (ruby-singleton-class-p): New function.
7928 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
7930 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
7932 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
7934 2012-08-10 Chong Yidong <cyd@gnu.org>
7936 * progmodes/python.el (python-shell-get-process-name): Don't mess
7937 with same-window-buffer-names.
7939 * eshell/eshell.el (eshell-add-to-window-buffer-names)
7940 (eshell-remove-from-window-buffer-names): Make obsolete.
7941 (eshell-buffer-name, eshell-unload-hook): Don't use them.
7942 (eshell): Just use pop-to-buffer-same-window instead.
7944 2012-08-10 Chong Yidong <cyd@gnu.org>
7946 * bindings.el: Bind M-= back to count-words-region.
7948 * simple.el (count-words-region): Accept a prefix arg for acting
7949 on the entire buffer.
7950 (count-words--buffer-message): New helper function.
7952 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
7954 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
7955 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
7956 (event-start, event-end): Use posn-at-point to return a more
7958 (posnp): New function.
7959 * mouse.el (popup-menu-normalize-position): Use it.
7961 2012-08-10 Masatake YAMATO <yamato@redhat.com>
7963 * mouse.el (popup-menu-normalize-position): New function.
7964 (popup-menu): Use `popup-menu-normalize-position' to normalize
7965 the form for POSITION argument.
7967 * term/x-win.el (x-menu-bar-open):
7968 Use the value returend from (posn-at-point) as position
7969 passed to `popup-menu'.
7971 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
7973 * calc/calccomp.el (math-compose-expr): Add extra argument
7974 indicating that parentheses should be put around products in
7975 denominators. Give multiplication precedence over division during
7978 2012-08-09 Chong Yidong <cyd@gnu.org>
7980 * man.el (Man-switches, Man-sed-command, Man-awk-command)
7981 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
7982 (Man-untabify-command, manual-program): Convert to defcustom
7985 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
7987 * descr-text.el (describe-char): Don't insert extra newlines
7990 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
7991 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
7993 * align.el (align-region): Delete temporary markers (Bug#10047).
7994 Plus some code cleanups.
7996 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
7998 * progmodes/python.el (python-pdbtrack-tracked-buffer)
7999 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
8000 (python-shell-internal-last-output): Use make-local-variable
8001 instead of make-variable-buffer-local.
8003 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
8005 * progmodes/python.el: Enhancements to forward-sexp.
8006 (python-nav-forward-sexp): Rename from
8007 python-nav-forward-sexp-function.
8008 (python-nav--forward-sexp, python-nav--backward-sexp):
8011 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
8013 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
8014 modes and simplification modes.
8016 2012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
8018 * delsel.el (delete-selection-pre-hook): Don't propagate the
8019 file-supersession signals (bug#12161).
8021 2012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
8023 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
8024 (cl-map-extents): Add compatibility aliases (bug#12135).
8026 2012-08-08 Michael Albinus <michael.albinus@gmx.de>
8028 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
8029 tests by `ignore-error'.
8030 (tramp-find-shell): Open also a new shell, when cache is already
8031 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
8033 2012-08-08 Juri Linkov <juri@jurta.org>
8035 * bookmark.el: Add `defaults' property to the bookmark record.
8036 (bookmark-current-buffer): Doc fix.
8037 (bookmark-make-record): Add `defaults' property with default values
8038 to the bookmark record.
8039 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
8040 with `bookmark-insert-current-bookmark'.
8041 (bookmark-set): Get `defaults' property from the bookmark record
8042 and use it in `read-from-minibuffer'.
8043 (bookmark-insert-current-bookmark): Remove function.
8045 * info.el (Info-bookmark-make-record): Add `defaults' property
8046 with values of canonical Info node name, the current Info file
8047 name and the current Info node name. (Bug#12107)
8049 2012-08-08 Juri Linkov <juri@jurta.org>
8051 * files.el (basic-save-buffer): Use `buffer-name' as the default
8052 of `read-file-name' when buffer is not visiting a file (bug#12128).
8054 2012-08-08 Juri Linkov <juri@jurta.org>
8056 * info.el (Info-isearch-search): Doc fix.
8057 (Info-search): Change search-failed message from "initial node" to
8058 "end of node" (bug#12078).
8059 (Info-isearch-search): Change `isearch-string-state' to
8060 `isearch--state-string'.
8062 2012-08-08 Glenn Morris <rgm@gnu.org>
8064 * language/persian.el: Remove file.
8065 * language/misc-lang.el: Move unique part of persian.el here.
8066 * loadup.el: Remove language/persian.
8068 2012-08-08 Óscar Fuentes <ofv@wanadoo.es>
8070 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
8072 2012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
8074 * progmodes/python.el: Fix defsubst warning.
8075 (python-syntax-context) Rename from python-info-ppss-context.
8076 (python-syntax-context-type): Rename from
8077 python-info-ppss-context-type.
8078 (python-syntax-comment-or-string-p): Rename from
8079 python-info-ppss-comment-or-string-p.
8081 2012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
8083 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
8085 2012-08-07 Andreas Schwab <schwab@linux-m68k.org>
8087 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
8088 a defcustom that is quoted with backquote.
8090 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
8091 Fix handling of interactive spec when the body uses return.
8092 (math-do-arg-check, math-define-function-body): Use backquote forms.
8093 * calc/calc-ext.el (math-defcache): Likewise.
8094 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
8095 * allout.el (allout-new-exposure): Likewise.
8096 * calc/calcalg2.el (math-tracing-integral): Likewise.
8097 * info.el (Info-last-menu-item): Likewise.
8098 * emulation/vip.el (vip-loop): Likewise.
8099 * textmodes/artist.el (artist-funcall): Likewise.
8100 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
8101 Construct menu-item directly.
8103 * progmodes/autoconf.el (font-lock-syntactic-keywords):
8106 2012-08-07 Chong Yidong <cyd@gnu.org>
8108 * simple.el (deactivate-mark): Preserve text properties when
8109 saving the primary selection (Bug#8384).
8111 2012-08-07 Kevin Ryde <user42@zip.com.au>
8113 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
8114 (woman-parse-numeric-value): On a bad .IP line, issue a warning
8115 and continue processing (Bug#12110).
8117 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
8119 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
8120 syntax-propertize-function (bug#10095).
8122 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
8124 * help-fns.el (help-fns--key-bindings, help-fns--signature)
8125 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
8126 describe-function-1.
8127 (describe-function-1): Use them. Move compiler macro after sig.
8128 (help-fns--compiler-macro): Use function-get. Assume we're already in
8129 standard-output. Adjust layout to new call order.
8131 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
8132 re-binding a symbol that has a symbol-macro (bug#12119).
8134 2012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
8136 * language/persian.el: New file. (Bug#11812)
8137 * loadup.el: Add language/persian.el.
8139 2012-08-06 Chong Yidong <cyd@gnu.org>
8141 * window.el (window--maybe-raise-frame): New function.
8142 (window--display-buffer): Split off from here.
8143 (display-buffer-reuse-window, display-buffer-pop-up-frame)
8144 (display-buffer-pop-up-window, display-buffer-use-some-window):
8145 Obey an inhibit-switch-frame action alist entry.
8146 (display-buffer): Update doc.
8148 * replace.el (occur-after-change-function): Avoid losing focus by
8149 using the inhibit-switch-frame display parameter (Bug#12139).
8151 2012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
8153 Make internal shell process buffer names start with space.
8154 * progmodes/python.el (python-shell-make-comint): Add optional
8156 (run-python-internal): Use it.
8157 (python-shell-internal-get-or-create-process): Check for new
8158 internal buffer names.
8160 2012-08-06 Glenn Morris <rgm@gnu.org>
8162 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
8163 Do less getting and setting of environment variables.
8165 2012-08-05 Chong Yidong <cyd@gnu.org>
8167 * proced.el (proced): Add substitution string to docstring to
8168 trigger autoloading of the proced library on C-h f (Bug#1768).
8170 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
8171 Don't show defvars which have no second argument (Bug#8638).
8173 * imenu.el (imenu-generic-expression): Move documentation here
8174 from imenu--generic-function.
8175 (imenu--generic-function): Refer to imenu-generic-expression.
8177 2012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
8179 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
8180 indentation declaration.
8181 (viper-loop): Add indentation declaration (Bug#7025).
8183 2012-08-05 Chong Yidong <cyd@gnu.org>
8185 * help-fns.el (describe-variable): Add hyperlink for
8186 directory-local variables files. Improve buffer-local and
8187 permanent-local reporting; suggested by MON KEY (Bug#6644).
8189 * help-mode.el (help-dir-local-var-def): New button type.
8191 * files.el (kill-buffer-hook): Provide a defvar.
8193 2012-08-05 Glenn Morris <rgm@gnu.org>
8195 * eshell/esh-ext.el (eshell/addpath):
8196 Also update eshell-path-env. (Bug#12013)
8198 2012-08-05 Chong Yidong <cyd@gnu.org>
8200 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
8202 * fringe.el (fringe-styles): Add docstring.
8203 (fringe--check-mode): New function.
8204 (set-fringe-mode, set-fringe-style): Use it.
8205 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
8207 * files.el (set-auto-mode): Fix invalid setq call.
8209 2012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
8211 * isearch.el: Misc simplification; use defstruct.
8212 (isearch-mode-map): Dense maps now work like sparse ones.
8213 (isearch--state): New defstruct.
8214 (isearch-string-state, isearch-message-state, isearch-point-state)
8215 (isearch-success-state, isearch-forward-state)
8216 (isearch-other-end-state, isearch-word-state, isearch-error-state)
8217 (isearch-wrapped-state, isearch-barrier-state)
8218 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
8219 replaced by defstruct's accessors.
8220 (isearch--set-state): Rename from isearch-top-state and change
8222 (isearch-push-state): Use new isearch--get-state.
8223 (isearch-toggle-word): Disable regexp when enabling word.
8224 (isearch-message-prefix): Remove unused arg _c-q-hack.
8225 (isearch-message-suffix): Remove unused arg _ellipsis.
8227 2012-08-04 Andreas Schwab <schwab@linux-m68k.org>
8229 * simple.el (list-processes--refresh): For a server use :host or
8230 :local as the address.
8231 (list-processes): Doc fix.
8233 2012-08-04 Michal Nazarewicz <mina86@mina86.com>
8235 * lisp/mpc.el: Support password in host argument.
8236 (mpc--proc-connect): Parse and use new password element.
8237 Set mpc-proc variable instead of returning process.
8238 (mpc-proc): Adjust accordingly.
8240 2012-08-03 Eli Zaretskii <eliz@gnu.org>
8242 * whitespace.el (whitespace-display-mappings): Use Unicode
8243 codepoints, instead of emacs-mule codepoints. See
8244 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
8247 * files.el (file-truename): Don't skip symlink-chasing part on
8248 windows-nt. Incorporate the resolution of 8+3 short aliases on
8249 Windows into the loop that recursively chases symlinks.
8250 Compare directory and its parent case-insensitively on MS-Windows and
8253 2012-08-03 Chong Yidong <cyd@gnu.org>
8255 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
8257 * sort.el (sort-regexp-fields): Doc fix.
8259 2012-08-03 Tassilo Horn <tsdh@gnu.org>
8261 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
8262 labels regex position point at the expected place.
8264 2012-08-03 MON KEY <monkey@sandpframing.com>
8266 * net/imap.el (imap-interactive-login, imap-authenticate)
8267 (imap-mailbox-lsub, imap-mailbox-list)
8268 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
8269 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
8270 (imap-parse-response): Doc fix.
8272 2012-08-03 João Távora <joaotavora@gmail.com>
8274 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
8275 if sexp scanning does not move point (Bug#5734).
8277 2012-08-02 Tassilo Horn <tsdh@gnu.org>
8279 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
8280 Add listings, minted, and ctable packages.
8281 (reftex-label-alist-builtin): Move listings, minted, and ctable
8282 entries before LaTeX.
8283 (reftex-label-alist): Docfix.
8285 2012-08-02 Bastien Guerry <bzg@gnu.org>
8287 * replace.el (occur): Fix docstring (bug#12122).
8289 2012-08-02 Glenn Morris <rgm@gnu.org>
8291 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
8293 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
8295 Obsolete alias inactivate-current-input-method-function (Bug#10150).
8296 * international/mule-cmds.el: Create
8297 inactivate-current-input-method-function as an obsolete alias for
8298 deactivate-current-input-method-function. See Katsumi Yamaoka in
8299 <http://bugs.gnu.org/10150#46>.
8301 2012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
8303 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
8306 2012-08-01 Glenn Morris <rgm@gnu.org>
8308 * progmodes/autoconf.el (autoconf-definition-regexp):
8309 Add AH_TEMPLATE, adjust submatch numbering.
8310 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
8311 (autoconf-current-defun-function): Update for above change.
8312 (autoconf-current-defun-function): First skip to end of current word.
8314 2012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
8316 * calendar/cal-html.el (cal-html-insert-agenda-days):
8317 Fix typo. (Bug#12018)
8319 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
8321 Shell processes: enhancements to startup and CEDET compatibility.
8322 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
8323 (python-shell-make-comint): accept-process-output at startup.
8324 (run-python-internal): Set inferior-python-mode-hook to nil.
8325 (python-shell-internal-get-or-create-process): call sit-for.
8326 (python-preoutput-result): Add obsolete alias.
8327 (python-shell-internal-send-string): Use it.
8328 (python-shell-send-setup-code): Remove call to
8329 accept-process-output.
8331 2012-07-31 Andreas Schwab <schwab@linux-m68k.org>
8333 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
8336 2012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
8338 * calc-mode.el (calc-basic-simplification-mode): Rename from
8339 `calc-limited-simplification-mode'.
8340 (calc-alg-simplification-mode): New function.
8341 (calc-set-simplify-mode): Adjust message.
8343 * calc.el (calc-set-mode-line): Adjust mode line display for
8344 basic simplification mode.
8346 * calc-help.el (calc-m-prefix-help): Update help message.
8348 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
8349 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
8351 2012-07-31 Bastien Guerry <bzg@gnu.org>
8353 * man.el (man): Fix comment. (bug#12101)
8355 2012-07-31 Martin Rudalics <rudalics@gmx.at>
8357 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
8358 Don't return a non-nil value when no suitable buffer was found.
8360 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
8362 * progmodes/python.el (run-python-internal): Disable font lock for
8365 2012-07-30 Stefan Merten <smerten@oekonux.de>
8367 * textmodes/rst.el: Silence `checkdoc-ispell'.
8368 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
8369 (rst-official-version, rst-official-cvs-rev)
8370 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
8371 (rst-mode-map): New key binding.
8373 2012-07-30 Paul Eggert <eggert@cs.ucla.edu>
8375 Update .PHONY listings in makefiles.
8376 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
8377 autoloads, update-subdirs, updates, bzr-update, update-authors,
8378 compile-onefile, compile-calc, backup-compiled-files,
8379 compile-after-backup, compile-one-process, mh-autoloads,
8380 bootstrap-clean, distclean, maintainer-clean.
8382 2012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
8384 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
8385 (calc-set-mode-line): Don't display "AlgSimp ".
8387 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
8388 (calc-lim-simplify-mode): New function.
8389 (calc-set-simplify-mode): Default to 'alg.
8390 (calc-default-simplify-mode): Make algebraic simplifications
8393 * calc/calc-ext.el (calc-init-extensions): Remove binding for
8394 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
8396 * calc/calc-help.el (calc-m-prefix-help): Change messages to
8397 indicate new simplification modes.
8399 * calc/README: Mention new default simplification mode.
8401 * calc/calc.el (math-normalize-error): New variable.
8402 (math-normalize): Set `math-normalize-error' to t
8403 when there's an error.
8405 * calc/calc-alg.el (math-simplify): Don't simplify when
8406 `math-normalize' returns an error.
8408 2012-07-29 Eli Zaretskii <eliz@gnu.org>
8410 * international/mule-cmds.el (set-locale-environment): Revert last
8411 change, since display-graphic-p returns nil when this function is
8412 called during startup. Instead...
8414 * term/w32console.el (terminal-init-w32console): ...setup the
8415 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
8417 2012-07-29 Juri Linkov <juri@jurta.org>
8419 * simple.el (goto-line): Don't display default line number in the
8420 prompt because it should be displayed by `read-number' (bug#9952).
8421 Add the current line number to the defaults of `goto-line' to
8422 allow its easier modification by users with `M-n' (bug#9201).
8424 * subr.el (read-number): Support multiple default values like in
8425 other minibuffer reading functions. Replace `read' with
8426 `string-to-number' for consistency with `number-to-string'.
8428 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
8430 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
8431 * emulation/viper-init.el (viper-deactivate-input-method-action):
8432 Rename from viper-inactivate-input-method-action.
8433 (viper-deactivate-input-method):
8434 Rename from viper-inactivate-input-method.
8435 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
8436 * international/mule-cmds.el (deactivate-input-method):
8437 Rename from inactivate-input-method.
8438 Also run input-method-deactivate-hook.
8439 (deactivate-current-input-method-function):
8440 Rename from inactivate-current-input-method-function.
8441 (input-method-deactivate-hook): New hook.
8442 (input-method-inactivate-hook): Mark obsolete.
8443 (inactivate-input-method): Mark obsolete.
8445 * international/quail.el (quail-activate):
8446 Also run quail-deactivate-hook.
8447 (quail-deactivate): Rename from quail-inactivate.
8448 * international/robin.el (robin-activate):
8449 Also run robin-deactivate-hook.
8450 (robin-deactivate): Rename from robin-inactivate.
8452 2012-07-29 Chong Yidong <cyd@gnu.org>
8454 * simple.el (indicate-copied-region): New function.
8455 (kill-ring-save): Split off from here.
8457 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
8458 (kill-rectangle): Set deactivate-mark to t on read-only error.
8460 * register.el (copy-to-register, copy-rectangle-to-register):
8461 Deactivate the mark, and use indicate-copied-region (Bug#10056).
8462 (append-to-register, prepend-to-register): Call indicate-copied-region.
8464 2012-07-29 Juri Linkov <juri@jurta.org>
8466 * simple.el (async-shell-command-buffer): New defcustom.
8467 (shell-command): Use it. (Bug#4719)
8469 2012-07-28 Eli Zaretskii <eliz@gnu.org>
8471 * international/mule-cmds.el (set-locale-environment): In a
8472 console session on MS-Windows, set up keyboard and terminal
8473 encoding from the OEM codepage, not the ANSI codepage.
8476 2012-07-28 Chong Yidong <cyd@gnu.org>
8478 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
8481 2012-07-28 Leo Liu <sdl.web@gmail.com>
8483 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
8484 the alist (bug#12029).
8486 2012-07-28 Eli Zaretskii <eliz@gnu.org>
8488 * makefile.w32-in (custom-deps, finder-data, updates, compile)
8489 (compile-always, compile-first)
8490 ($(lisp)/calendar/cal-loaddefs.el)
8491 ($(lisp)/calendar/diary-loaddefs.el)
8492 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
8493 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
8494 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
8495 instead of on update-subdirs.
8496 (bootstrap-clean): Delete $(lisp)/subdirs.el.
8498 2012-07-28 Chong Yidong <cyd@gnu.org>
8500 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
8501 directory if vc-deduce-backend returns nil (Bug#7350).
8503 * simple.el (delete-trailing-lines): New option.
8504 (delete-trailing-whitespace): Obey it (Bug#11879).
8506 2012-07-28 David Engster <deng@randomsample.de>
8508 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
8509 Explanation of new 'symbol-qnames feature in doc-strings.
8510 (xml-maybe-do-ns): Return expanded names as plain symbols if
8511 'symbol-qnames was provided in XML-NS argument (Bug#11916).
8512 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
8514 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
8516 Consistent completion in inferior python with emacs -nw.
8517 * progmodes/python.el (inferior-python-mode): replace "<tab>"
8518 binding in inferior-python-mode-map with "\t".
8519 (python-shell-completion-complete-at-point)
8520 (python-completion-complete-at-point): Remove interactive spec.
8522 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
8524 * calc/calccomp.el (math-compose-expr): Undo previous change.
8526 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
8528 * progmodes/python.el (python-mode-map): Add keybinding for
8530 (python-shell-make-comint): Fix pop-to-buffer call.
8531 (run-python): Autoload. New arg SHOW.
8532 (python-shell-get-or-create-process): Do not pop python process
8535 2012-07-27 Michael Albinus <michael.albinus@gmx.de>
8537 * notifications.el (notifications-on-action-signal)
8538 (notifications-on-closed-signal): Use also the bus address for the map.
8539 (notifications-notify, notifications-close-notification)
8540 (notifications-get-capabilities): Add optional argument BUS.
8542 2012-07-27 Tassilo Horn <tsdh@gnu.org>
8544 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
8545 Add support for the lstlisting and minted environments, and for the
8547 * textmodes/reftex.el (reftex-compile-variables): Also recognize
8548 labels written in keyvals syntax.
8550 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
8552 * calc/calccomp.el (math-compose-expr): Use parentheses when
8553 there is a product in the denominator of a fraction.
8555 2012-07-26 Eli Zaretskii <eliz@gnu.org>
8557 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
8558 ($(lisp)/calendar/diary-loaddefs.el)
8559 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
8560 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
8561 Fixes failures in parallel bootstrap because subdirs.el is being
8562 rewritten while the autoload files are built at the same time,
8563 which needs to load subdirs.el.
8565 2012-07-26 Martin Rudalics <rudalics@gmx.at>
8567 * mouse.el (popup-menu): Fix doc-string and re-indent code.
8568 (mouse-drag-line): Don't exit tracking when a switch-frame or
8569 switch-window event occurs (Bug#12006).
8571 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8573 * mouse.el (popup-menu): Fix last change.
8575 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8577 Autoload from Lisp with more care. Follow aliases when looking for
8578 function properties.
8579 * subr.el (autoloadp): New function.
8580 (symbol-file): Use it.
8581 (function-get): New function.
8582 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
8584 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
8585 (lisp-indent-function):
8586 * emacs-lisp/gv.el (gv-get):
8587 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
8588 * emacs-lisp/byte-opt.el (byte-optimize-form):
8589 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
8590 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
8592 * emacs-lisp/cl.el: Don't propagate function properties any more.
8594 * speedbar.el (speedbar-add-localized-speedbar-support):
8595 * emacs-lisp/disass.el (disassemble-internal):
8596 * desktop.el (desktop-load-file):
8597 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
8598 (describe-function-1):
8599 * emacs-lisp/find-func.el (find-function-noselect):
8600 * emacs-lisp/elp.el (elp-instrument-function):
8601 * emacs-lisp/advice.el (ad-has-proper-definition):
8602 * apropos.el (apropos-safe-documentation, apropos-macrop):
8603 * emacs-lisp/debug.el (debug-on-entry):
8604 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
8605 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
8606 * calc/calc.el (name): Use autoloadp & autoload-do-load.
8608 2012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
8610 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
8611 function, not an obsolete variable (Bug#12046).
8613 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
8615 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
8617 2012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
8619 * emacs-lisp/pp.el (pp-display-expression): Select old selected
8620 window only if it is still live (Bug#12034).
8622 2012-07-25 Martin Rudalics <rudalics@gmx.at>
8624 * subr.el (redirect-frame-focus): Add advertised calling
8625 convention (Bug#12030).
8627 2012-07-25 Paul Eggert <eggert@cs.ucla.edu>
8629 Prefer typical American spelling for "acknowledgment".
8630 * vc/add-log.el (change-log-acknowledgment): Rename from
8631 change-log-acknowledgement, with an alias for the old name.
8633 2012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
8635 * calc-alg.el (math-simplify-divide): Don't cross multiply
8636 in an equation when the lhs is a variable.
8638 2012-07-24 Julien Danjou <julien@danjou.info>
8640 * net/netrc.el (netrc-find-service-number, netrc-store-data):
8643 2012-07-23 Eli Zaretskii <eliz@gnu.org>
8645 * startup.el (command-line): Don't display an empty user name in
8646 the error message about non-existent home directory, when
8647 init-file-user was set to an empty string. See
8648 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
8649 for the details and context.
8651 2012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
8653 * ses.el (ses-cell-formula-aset): New macro.
8654 (ses-cell-references-aset): New macro.
8655 (ses-cell-p): New function.
8656 (ses-rename-cell): Do no longer rely on complex operations like
8657 ses-cell-set-formula or ses-set-cell to change the cell and handle
8658 the undo at the same time, but rather use lower level new macros
8659 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
8660 the undo directly. Refresh the mode line.
8662 2012-07-21 Leo Liu <sdl.web@gmail.com>
8664 * progmodes/cc-cmds.el (c-defun-name):
8665 Use match-string-no-properties instead for consistency.
8667 2012-07-20 Leo Liu <sdl.web@gmail.com>
8669 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
8672 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
8674 2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
8676 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
8677 * progmodes/bug-reference.el, misearch.el: Provide themselves
8680 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
8681 of narrowed buffer (bug#11966).
8683 2012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
8685 * ses.el (ses-rename-cell): Set new name also in reference list of
8686 cells of which the renamed cell depends.
8688 2012-07-20 Masatake YAMATO <yamato@redhat.com>
8690 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
8691 to check whether menu-bar is shown or not. If not shown,
8692 show the menu-bar as a popup menu instead of using tmm.
8693 * mouse.el (popup-menu): Accept `point' as `position' argument.
8695 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
8697 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
8698 up inside string symbol literal (bug#11923).
8700 2012-07-20 Eli Zaretskii <eliz@gnu.org>
8702 * startup.el (fancy-startup-text): Read the whole tutorial, not
8703 just its first 256 bytes. Prevents gibberish in display of the
8706 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
8708 Drop idle buffer compaction due to an absence of the
8710 * compact.el: Remove.
8712 2012-07-19 Sam Steingold <sds@gnu.org>
8714 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
8715 vc-bzr-pull & vc-bzr-merge-branch.
8716 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
8717 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
8718 for consistency with compilation-error-regexp-alist.
8719 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
8720 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
8721 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
8722 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
8724 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
8726 * emacs-lisp/chart.el: Use lexical-binding.
8727 (chart-emacs-storage): Don't hardcode the list of entries.
8729 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
8731 Next round of tweaks caused by Fgarbage_collect changes.
8732 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
8734 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
8736 Compact buffers when idle.
8737 * compact.el: New file.
8739 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
8741 * subr.el (eventp): Presume that if it looks vaguely like an event,
8742 it's an event (bug#10190).
8744 2012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
8746 Enhancements to ppss related code (thanks Stefan).
8747 * progmodes/python.el (python-indent-context)
8748 (python-indent-calculate-indentation, python-indent-dedent-line)
8749 (python-indent-electric-colon, python-nav-forward-block)
8750 (python-mode-abbrev-table)
8751 (python-info-assignment-continuation-line-p): Simplify checks
8753 (python-info-continuation-line-p): Cleanup.
8754 (python-info-ppss-context): Do not catch 'quote.
8755 (python-info-ppss-context-type)
8756 (python-info-ppss-comment-or-string-p): Simplify.
8758 2012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
8760 * progmodes/python.el: Enhancements to eldoc support.
8761 (python-info-current-symbol): New function.
8762 (python-eldoc-at-point): Use python-info-current-symbol.
8763 (python-info-current-defun): Fix cornercase on first defun scan.
8764 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
8765 and signal error when no inferior python process is available.
8767 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
8769 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
8770 assume it's always t.
8771 (vc-git-registered): Remove caching, the function is only called
8773 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
8775 2012-07-18 Chong Yidong <cyd@gnu.org>
8777 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
8779 * simple.el (count-words): Report on narrowing (Bug#9959).
8781 * bindings.el: Bind M-= to count-words.
8783 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
8785 2012-07-18 Masatake YAMATO <yamato@redhat.com>
8787 * progmodes/sh-script.el (sh-imenu-generic-expression):
8788 Capture a function with `function' keyword and without parentheses
8789 like "function FOO" (bug#11856).
8791 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
8793 * window.el (split-window-sensibly): Make WINDOW argument
8796 2012-07-18 Chong Yidong <cyd@gnu.org>
8798 * subr.el (keyboard-translate): Doc fix (Bug#7261).
8800 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
8801 and make C-x 8 RET exit isearch (Bug#11439).
8803 * international/iso-transl.el: Move isearch-mode-map key
8804 definitions to isearch.el.
8806 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
8808 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
8809 (eieio-defclass): Use gv-define-setter when possible.
8811 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
8813 Reflect recent changes in Fgarbage_collect.
8814 * emacs-lisp/chart.el (chart-emacs-storage): Change to
8815 reflect new format of data returned by Fgarbage_collect.
8817 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
8819 New utility functions + python-info-ppss-context fix (Bug#11910).
8820 * progmodes/python.el (python-info-beginning-of-block-statement-p)
8821 (python-info-ppss-comment-or-string-p): New functions.
8822 (python-info-ppss-context): Small fix for string check.
8824 2012-07-17 Juri Linkov <juri@jurta.org>
8826 * dired-aux.el (dired-do-async-shell-command): Doc fix.
8827 (dired-do-async-shell-command): Don't add `*' at the end of the
8828 command (Bug#11815).
8829 (dired-do-shell-command): Doc fix.
8830 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
8831 Join the individual commands using either "&" or ";" as the
8832 separator depending on the values of these trailing characters.
8833 At the end re-add the trailing "&". (Bug#10598)
8835 * simple.el (async-shell-command): Sync the interactive spec with
8836 `shell-command'. Doc fix.
8837 (shell-command): Doc fix.
8839 2012-07-17 Juri Linkov <juri@jurta.org>
8841 * descr-text.el (describe-char): Fix format args. (Bug#10129)
8843 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
8845 Final renames and doc fixes for movement commands (bug#11899).
8846 * progmodes/python.el (python-nav-beginning-of-statement):
8847 Rename from python-nav-statement-start.
8848 (python-nav-end-of-statement): Rename from
8849 python-nav-statement-end.
8850 (python-nav-beginning-of-block): Rename from
8851 python-nav-block-start.
8852 (python-nav-end-of-block): Rename from python-nav-block-end.
8854 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
8856 * progmodes/python.el (python-shell-send-string-no-output):
8857 Allow accept-process-output to quit, keeping shell process ready for
8858 future interactions (Bug#11868).
8860 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
8862 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
8864 * emacs-lisp/elint.el (elint-find-args-in-code):
8865 Use help-function-arglist, so as to handle lexical byte-code.
8867 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
8870 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
8872 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
8873 Avoid spuriously marking the buffer as modified because of c-is-sws.
8875 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
8876 as not-a-comment (bug#11946).
8878 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
8879 for uninterned vars.
8881 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
8882 Use read-event since we don't really want to read chars but bytes.
8884 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
8885 $$..$$ but also $..$ using regexps (bug#11953).
8886 Use tex-verbatim for \url and \path.
8887 (tex-font-lock-keywords): Define as defconst like the others.
8888 (tex-common-initialization): Don't use font-lock-syntax-table any more.
8890 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
8892 * international/mule-cmds.el (ucs-insert): Make it an obsolete
8893 alias for insert-char.
8895 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
8897 * progmodes/python.el: Simplified imenu implementation.
8898 (python-nav-jump-to-defun): Remove command.
8899 (python-mode-map): Use `imenu' instead.
8900 (python-nav-list-defun-positions-cache)
8901 (python-imenu-include-defun-type, python-imenu-make-tree)
8902 (python-imenu-subtree-root-label, python-imenu-index-alist):
8904 (python-nav-list-defun-positions, python-nav-read-defun)
8905 (python-imenu-tree-assoc, python-imenu-make-element-tree)
8906 (python-imenu-make-tree, python-imenu-create-index):
8908 (python-mode): Update to interact with imenu by setting
8909 `imenu-extract-index-name-function' only.
8911 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
8913 * progmodes/python.el: Enhancements to navigation commands.
8914 (python-nav-backward-sentence)
8915 (python-nav-forward-sentence): Remove.
8916 (python-nav-backward-statement, python-nav-forward-statement)
8917 (python-nav-statement-start, python-nav-statement-end)
8918 (python-nav-backward-block, python-nav-forward-block)
8919 (python-nav-block-start, python-nav-block-end)
8920 (python-nav-forward-sexp-function)
8921 (python-info-current-line-comment-p)
8922 (python-info-current-line-empty-p): New functions.
8923 (python-indent-context): Use `python-nav-statement-start'.
8925 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
8927 * eshell/em-ls.el (eshell/ls): Use `apply'.
8929 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
8930 multi-hops, instead of Tramp internals.
8932 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
8934 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
8935 when F1 and F2 are located on different hosts.
8937 2012-07-14 Chong Yidong <cyd@gnu.org>
8939 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
8940 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
8941 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
8942 (xterm-mouse--read-event-sequence-1000)
8943 (xterm-mouse--read-event-sequence-1006): New functions. For old
8944 mouse protocol, handle M-mouse-X events correctly.
8945 (xterm-mouse-event): New arg specifying mouse protocol.
8946 (turn-on-xterm-mouse-tracking-on-terminal)
8947 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
8948 sequence to toggle extended coordinates on newer XTerms.
8949 This appears to be harmless on terminals which do not support this.
8951 2012-07-14 Leo Liu <sdl.web@gmail.com>
8953 Add fringe bitmap indicators for flymake. (Bug#11253)
8954 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
8955 (flymake-make-overlay): New arg BITMAP.
8956 (flymake-error-bitmap, flymake-warning-bitmap)
8957 (flymake-fringe-indicator-position): New user variables.
8959 * fringe.el: New bitmap exclamation-mark.
8961 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
8963 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
8966 2012-07-14 Chong Yidong <cyd@gnu.org>
8968 * electric.el (electric-pair-post-self-insert-function): Fix pair
8969 insertion in empty-region case (Bug#11520).
8971 2012-07-14 Chong Yidong <cyd@gnu.org>
8973 * bindings.el: Consolidate ctl-x-r-map bindings.
8974 Bind copy-rectangle-as-kill to C-x r w.
8976 * rect.el, register.el: Move bindings to bindings.el.
8978 2012-07-14 Reuben Thomas <rrt@sc3d.org>
8980 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
8982 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
8984 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
8986 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
8988 * bindings.el (top): Use `mapc' instead of `mapcar'.
8990 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
8992 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
8994 * progmodes/sql.el (sql-comint): Suppress the check for program on
8995 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
8998 2012-07-13 Chong Yidong <cyd@gnu.org>
9000 * bindings.el: Assign a non-nil permanent-local property to
9001 per-buffer variables which lack a default value (Bug#11930).
9003 * help-fns.el (describe-variable): In the "automatically becomes
9004 local" notice, take note of permanent-local variables.
9006 2012-07-13 Chong Yidong <cyd@gnu.org>
9008 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
9009 to allow printing the message when called from Lisp.
9011 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
9012 Remove toggle-read-only.
9014 * bs.el (bs-toggle-readonly):
9015 * buff-menu.el (Buffer-menu-toggle-read-only):
9016 Remove with-no-warnings around toggle-read-only.
9018 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
9019 Remove with-no-warnings around toggle-read-only.
9020 (ffap-read-only, ffap-read-only-other-window)
9021 (ffap-read-only-other-frame): Callers changed.
9023 * help-mode.el: Don't require view package.
9024 (help-mode-finish): Set buffer-read-only instead of calling
9027 * bindings.el (mode-line-toggle-read-only):
9028 * dired.el (dired-toggle-read-only):
9029 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
9030 with non-nil second arg.
9032 * emacs-lisp/eieio-custom.el (eieio-customize-object):
9033 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
9036 2012-07-12 Eli Zaretskii <eliz@gnu.org>
9038 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
9041 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
9043 More CL cleanups and reduction of use of cl.el.
9044 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
9045 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
9046 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
9047 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
9048 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
9049 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
9050 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
9051 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
9052 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
9053 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
9054 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
9055 * eshell/em-cmpl.el, eshell/em-banner.el:
9056 * calendar/parse-time.el: Use cl-lib.
9057 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
9058 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
9059 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
9060 * term/ns-win.el, term.el, shell.el, ps-samp.el:
9061 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
9062 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
9063 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
9064 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
9065 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
9066 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
9067 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
9068 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
9069 `lambda' rather than with `quote'.
9070 (eshell-do-opt): Adjust accordingly.
9071 (eshell-process-option): Simplify.
9072 * eshell/esh-var.el:
9073 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
9074 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
9075 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
9076 to `pcase--dontcare'.
9077 * emacs-lisp/cl.el (labels): Mark obsolete.
9078 (cl--letf, letf): Move to cl-lib.
9079 (cl--letf*, letf*): Remove.
9080 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
9081 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
9082 (cl-progv): Rewrite.
9083 (cl--letf, cl-letf): Move from cl.el.
9084 (cl-letf*): New macro.
9085 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
9087 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
9089 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
9091 2012-07-11 Chong Yidong <cyd@gnu.org>
9093 * vc/log-edit.el (log-edit-vc-backend): New variable.
9094 (log-edit): Doc fix.
9096 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
9097 argument of log-edit to set up all local variables.
9098 (vc-start-logentry): New optional arg specifying VC backend.
9100 * vc/vc.el (vc-checkin): Use it.
9101 (vc-deduce-fileset): Handle Log Edit buffers.
9102 (vc-diff): Make first argument optional too.
9104 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
9106 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
9108 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
9109 command, just in case. The function is not needed anymore.
9110 (eshell-external-command): Do not call `eshell-remote-command'.
9112 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
9114 Reduce use of (require 'cl).
9115 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
9116 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
9117 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
9118 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
9119 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
9120 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
9121 * battery.el, avoid.el, abbrev.el: Use cl-lib.
9122 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
9123 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
9124 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
9125 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
9126 * calculator.el, autorevert.el, apropos.el: Don't require CL.
9127 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
9128 (byte-compile-unfold-bcf, byte-compile-check-variable):
9129 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
9130 (byte-compile-nilconstp):
9131 * emacs-lisp/autoload.el (make-autoload): Use pcase.
9132 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
9134 * emacs-lisp/gv.el (cond): Make it a valid place.
9135 (if): Simplify slightly.
9137 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
9138 (pcase--self-quoting-p): New function.
9139 (pcase--u1): Use it.
9141 2012-07-10 Glenn Morris <rgm@gnu.org>
9143 * emacs-lisp/authors.el (authors-fixed-entries):
9144 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
9146 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
9148 Rename configure.in to configure.ac (Bug#11603).
9149 * emacs-lisp/authors.el (authors-canonical-file-name):
9150 * progmodes/autoconf.el (autoconf-mode):
9151 Prefer configure.ac to configure.in.
9153 2012-07-08 Chong Yidong <cyd@gnu.org>
9155 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
9156 Implement the mouse-1-click-follows-link handling properly.
9158 * info.el (Info-link-keymap): Use follow-link mechanism for
9159 header-line links (Bug#374).
9161 * simple.el (deactivate-mark): Do not set the primary selection
9162 if another program has acquired it (Bug#11772).
9164 2012-07-07 Kevin Ryde <user42@zip.com.au>
9166 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
9167 (woman-decode-region): Replace escaped-escapes without destroying
9168 bold or underline (Bug#11552).
9169 (woman2-process-escapes): Handle nofill regions (Bug#11591).
9171 2012-07-07 Chong Yidong <cyd@gnu.org>
9173 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
9174 (interprogram-cut-function, interprogram-paste-function):
9175 Mention that we typically mean the clipboard.
9177 2012-07-06 Glenn Morris <rgm@gnu.org>
9179 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
9181 * files.el (toggle-read-only): Restrict message to interactive use.
9183 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
9185 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
9187 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
9189 2012-07-06 Glenn Morris <rgm@gnu.org>
9191 * Makefile.in (compile-one-process): Rename from "recompile".
9193 * Makefile.in (bzr-update): "compile" is the same as "recompile
9194 autoloads", but parallelizable, so use that instead.
9196 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
9198 * window.el (quit-window): Always restore window height when
9199 it's saved in quit-restore parameter (Bug#11810).
9201 2012-07-06 Glenn Morris <rgm@gnu.org>
9203 * simple.el (kill-whole-line): Doc tweak.
9205 2012-07-06 Eli Zaretskii <eliz@gnu.org>
9207 * files.el (file-relative-name): Compare file names
9208 case-insensitively if on MS-Windows or MS-DOS, or if
9209 read-file-name-completion-ignore-case is non-nil. Don't use
9210 case-fold-search for this purpose. (Bug#11827)
9212 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
9214 * calendar/cal-dst.el (calendar-current-time-zone):
9215 Return calendar-current-time-zone-cache if non-nil.
9217 2012-07-17 Masatake YAMATO <yamato@redhat.com>
9218 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
9220 * calendar/cal-dst.el (calendar-current-time-zone):
9221 Return calendar-current-time-zone-cache if non-nil.
9223 2012-07-06 Glenn Morris <rgm@gnu.org>
9225 * Makefile.in (cvs-update): Remove old alias.
9227 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
9229 Sync with Tramp 2.2.6-pre.
9231 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
9232 compatible declaration.
9234 * net/tramp-cmds.el (tramp-append-tramp-buffers):
9235 Protect `list-load-path-shadows' call.
9237 * net/tramp-compat.el (top): Require packages, which aren't
9238 autoloaded anymore for XEmacs. Protect call of
9239 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
9240 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
9241 it hurts at least for SXEmacs.
9242 (tramp-compat-temporary-file-directory): In XEmacs, there is no
9243 standard-value for `temporary-file-directory'.
9245 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
9246 Redirect stderr to /dev/null.
9247 (tramp-sh-handle-write-region): uid and gid can be floats.
9248 Reported by Russell Sim <russell.sim@gmail.com>.
9249 (tramp-sh-handle-vc-registered): Hide errors.
9250 (tramp-vc-file-name-handler): Use dummy results for `process-file'
9251 and `start-file-process'.
9252 (tramp-maybe-open-connection): Check also whether `non-essential'
9255 2012-07-04 Chong Yidong <cyd@gnu.org>
9257 * xml.el (xml--parse-buffer): Use xml-syntax-table.
9258 (xml-parse-tag): Likewise, and avoid changing entity tables.
9259 (xml-syntax-table): Define from scratch, making sure not to give
9260 x2000 and other Unicode spaces whitespace syntax, since those are
9262 (xml-parse-fragment): Delete unused function.
9263 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
9264 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
9265 (xml-entity-ref, xml-pe-reference-re)
9266 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
9267 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
9268 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
9269 (xml-entity-value-re): Use syntax references in regexps where
9270 possible; no need to define inside a let-binding.
9271 (xml-parse-dtd): Use xml-pe-reference-re.
9272 (xml-entity-or-char-ref-re): New defconst.
9273 (xml-parse-string, xml-substitute-special): Use it.
9275 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
9277 * files.el (locate-dominating-file): Allow `name' to be a predicate.
9278 (find-file--read-only): New function.
9279 (find-file-read-only, find-file-read-only-other-window)
9280 (find-file-read-only-other-frame): Use it.
9281 (insert-file-contents-literally): Don't `fset'.
9282 (get-free-disk-space): Use locate-dominating-file.
9284 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
9285 function is already compiled.
9287 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
9289 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
9291 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
9292 files on the same host.
9294 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
9296 * help-fns.el (describe-function-1): Only call
9297 help-fns--autoloaded-p when we have a file name. (Bug#11848)
9299 2012-07-03 Chong Yidong <cyd@gnu.org>
9301 * xml.el: Protect parser against XML bombs.
9302 (xml-entity-expansion-limit): New variable.
9303 (xml-parse-string, xml-substitute-special): Use it.
9304 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
9306 2012-07-03 Glenn Morris <rgm@gnu.org>
9308 * progmodes/bug-reference.el (bug-reference-bug-regexp):
9309 Allow linking to specific messages in debbugs reports (eg 123#5).
9311 2012-07-02 Chong Yidong <cyd@gnu.org>
9313 * xml.el: Fix entity and character reference expansion, allowing
9314 them to expand into markup as per XML spec.
9315 (xml-default-ns): New variable.
9316 (xml-entity-alist): Use XML spec definitions for lt and amp.
9317 (xml-parse-region): Make first two arguments optional.
9318 Discard text properties.
9319 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
9320 All callers changed.
9321 (xml-parse-tag): Call xml-parse-tag-1. For backward
9322 compatibility, this function should not modify buffer contents.
9323 (xml-parse-tag-1): Fix opening-tag regexp.
9324 (xml-parse-string): Rewrite, handling entity and character
9325 references properly.
9326 (xml--entity-replacement-text): Signal an error if a parameter
9327 entity is undefined.
9329 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
9331 * comint.el (comint-output-filter): Filter out repeated prompts.
9333 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
9334 and file-name-absolute-p.
9335 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
9338 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
9341 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
9342 Rename from byte-compile--refiy-function. All uses changed.
9344 2012-07-01 Chong Yidong <cyd@gnu.org>
9346 * xml.el (xml--parse-buffer): New function. Move most of
9347 xml-parse-region here.
9348 (xml-parse-region): Copy region into a temporary buffer, since
9349 parameter entity substitution requires changing buffer contents.
9350 Use xml--parse-buffer.
9351 (xml-parse-file): Use xml--parse-buffer.
9352 (xml-parse-dtd): Make parameter entity substitution work right.
9353 Use proper regexps for ELEMENT declarations (Bug#7172).
9355 2012-06-30 Glenn Morris <rgm@gnu.org>
9357 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
9359 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
9360 Remove outdated and unnecessary dbus declarations.
9362 2012-06-30 Eli Zaretskii <eliz@gnu.org>
9364 * emacs-lisp/timer.el (timer-until): Subtract results of
9365 float-time, instead of taking float-time of the result of
9366 time-subtract, since float-time signals an error for negative time
9369 2012-06-30 Chong Yidong <cyd@gnu.org>
9371 * xml.el (xml-*-re): Convert defvars into defconsts, and
9372 eval-and-compile them so eval-and-compile works on derivatives.
9373 (xml--entity-replacement-text): Use eval-and-comple.
9375 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
9377 * vc/vc-git.el (vc-git-registered): Use cache property
9379 (vc-git-mode-line-string): Call `vc-working-revision' instead of
9380 `vc-git-working-revision' in order to benefit from the cache.
9381 (vc-git-root): Use cache property `git-root'. (Bug#11757)
9383 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
9385 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
9386 removed (likely outside Emacs). (Bug#11757)
9388 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
9390 * emacs-lisp/cl-lib.el: Require macroexp.
9392 2012-06-30 Chong Yidong <cyd@gnu.org>
9394 * xml.el: Implement XML parameter entities.
9395 (xml-parameter-entity-alist): New variable.
9396 (xml-parse-region, xml-parse-fragment): Preserve previous values
9397 of xml-entity-alist and xml-parameter-entity-alist, so that
9398 repeated calls on different documents do not change them.
9399 (xml-parse-tag): Fix doctype regexp.
9400 (xml--entity-replacement-text): New function.
9401 (xml-parse-dtd): Use it. Don't handle system entities; doing that
9402 properly requires url retrieval which is unimplemented.
9403 (xml-escape-string): Doc fix.
9405 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
9407 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
9409 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
9411 * fringe.el (fringe-mode): Doc fix.
9413 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
9415 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
9417 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
9418 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
9420 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
9422 * calendar/cal-dst.el (calendar-current-time-zone):
9423 Return calendar-current-time-zone-cache if non-nil.
9425 2012-06-29 Masatake YAMATO <yamato@redhat.com>
9427 * progmodes/which-func.el (which-func-format):
9428 Add mouse-face. (Bug#11698)
9430 2012-06-29 Leo Liu <sdl.web@gmail.com>
9432 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
9434 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
9436 * minibuffer.el (minibuffer-confirm-exit-commands):
9437 Add completion-at-point (bug#11725).
9439 2012-06-29 Glenn Morris <rgm@gnu.org>
9441 * progmodes/f90.el (f90-font-lock-keywords-2):
9442 Add some preprocessor elements. (Bug#10499)
9444 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
9446 * progmodes/cperl-mode.el (cperl-update-syntaxification):
9447 Use syntax-propertize (bug#11739).
9449 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
9451 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
9453 2012-06-28 Julien Danjou <julien@danjou.info>
9455 * term.el (term-handle-colors-array): Use a set of new faces to
9456 color the terminal. Also uses :inverse-video property.
9457 (term-default-fg-color): Set to nil by default, deprecate in favor
9459 (term-default-bg-color): Set to nil by default, deprecate in favor
9461 (term-current-face): Use `term-face' by default.
9462 (term-bold-attribute): Variable deleted.
9464 2012-06-28 Glenn Morris <rgm@gnu.org>
9466 * simple.el (completion-list-mode-finish):
9467 Don't use toggle-read-only. (Since completion-list-mode has
9468 a special mode-class, it wasn't doing anything extra anyway.)
9470 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
9472 Make inlining of other-mode interpreted functions work (bug#11799).
9473 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
9474 (byte-compile): Use it to fix compilation of lexical-binding closures.
9475 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
9476 function, if needed.
9478 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
9480 * help-mode.el (help-make-xrefs): Don't just withstand
9481 cyclic-variable-indirection but any error in documentation-property.
9483 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
9485 * bindings.el (bindings--define-key): New function.
9486 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
9487 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
9488 * bindings.el: Use it to purecopy define-key bindings.
9490 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
9492 * emacs-lisp/cl.el (flet): Mark obsolete.
9493 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
9494 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
9495 * progmodes/js.el (js-c-fill-paragraph):
9496 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
9497 (ebrowse-switch-member-buffer-to-derived-class):
9498 * play/5x5.el (5x5-solver): Use cl-flet.
9500 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
9501 (cl--symbol-function): New macro.
9502 (cl--letf, cl--letf*): Use it.
9504 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
9505 Strip "toggle-" if any.
9507 2012-06-27 Glenn Morris <rgm@gnu.org>
9509 * info.el (Info-default-directory-list): Move here from paths.el.
9510 * paths.el: Remove file, which is now empty.
9511 * loadup.el: No longer load "paths".
9513 * custom.el (custom-initialize-delay): Doc fix.
9515 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
9516 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
9517 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
9518 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
9519 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
9520 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
9521 * eshell/eshell.el (eshell-defgroup): Remove alias.
9523 2012-06-27 Chong Yidong <cyd@gnu.org>
9525 * help.el (help-enable-auto-load): New variable.
9527 * help-fns.el (help-fns--autoloaded-p): New function.
9528 (describe-function-1): Refer to a function as "autoloaded" if it
9529 was autoloaded at any time in the past. Perform autoloading if
9530 help-enable-auto-load is non-nil.
9532 2012-06-26 Eli Zaretskii <eliz@gnu.org>
9534 * makefile.w32-in (compile, compile-always): Depend on
9535 update-subdirs, not on subdirs.el. Otherwise, several different
9536 sub-targets of 'bootstrap' running in parallel could
9537 simultaneously write to subdirs.el, producing a garbled file.
9539 2012-06-26 Sam Steingold <sds@gnu.org>
9541 * files.el (file-name-base): New convenience function.
9542 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
9543 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
9544 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
9545 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
9546 * textmodes/ispell.el, textmodes/reftex-ref.el:
9547 * textmodes/tex-mode.el: Use it.
9548 Did not touch cedet and org because they are maintained elsewhere.
9550 2012-06-26 Martin Rudalics <rudalics@gmx.at>
9552 * calendar/calendar.el (calendar-exit): Don't try to delete or
9553 iconify last frame. See:
9554 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
9556 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
9558 * server.el (server-process-filter): Remember dir in the
9559 process's `server-client-directory' properties.
9561 2012-06-24 Chong Yidong <cyd@gnu.org>
9563 * xml.el (xml-parse-tag): Correctly handle comment embedded in
9566 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
9568 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
9570 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
9572 * help-fns.el (describe-variable): Don't croak when doc is not found.
9573 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
9574 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
9575 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
9576 * emacs-lisp/smie.el (smie-next-sexp): CSE.
9577 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
9579 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
9581 2012-06-23 Chong Yidong <cyd@gnu.org>
9583 * info.el (Info-mouse-follow-link): Accept symbol values of
9584 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
9585 (Info-fontify-node): Use Info-link-keymap for all navigation
9586 buttons, with link-args property to perform the desired action.
9587 (Info-link-keymap): Doc fix.
9588 (Info-next-link-keymap, Info-prev-link-keymap)
9589 (Info-up-link-keymap): Delete now-unused keymaps.
9591 2012-06-23 Chong Yidong <cyd@gnu.org>
9593 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
9595 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
9598 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
9600 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
9602 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
9605 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
9606 the requote function doesn't work properly (bug#11714).
9608 2012-06-23 Glenn Morris <rgm@gnu.org>
9610 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
9612 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
9614 Further GV/CL cleanups.
9615 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
9617 (gv--defun-declaration): New function.
9618 (defun-declarations-alist): Use it.
9619 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
9620 (gv-place): Autoload.
9621 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
9622 original definition of dotimes and dolist.
9623 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
9624 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
9625 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
9626 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
9627 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
9628 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
9629 to the function's definition.
9630 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
9634 * env.el: Don't use CL.
9636 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
9638 Support higher-resolution time stamps (Bug#9000).
9640 * calendar/time-date.el (with-decoded-time-value): New arg
9641 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
9642 (encode-time-value): New optional arg PICO. New type 3.
9643 (time-to-seconds) [!float-time]: Support the new picoseconds
9644 component if it's used.
9645 (seconds-to-time, time-subtract, time-add):
9646 Support ps-resolution time stamps as well.
9648 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
9649 (timerp): Timer vectors now have length 9, not 8.
9650 (timer--time): Support new-style (4-part) time stamps.
9651 (timer-next-integral-multiple-of-time): Time stamps now have
9652 picosecond resolution, so take a bit more care about rounding.
9653 (timer-relative-time, timer-inc-time): New optional arg psecs.
9654 (timer-set-time-with-usecs): Set psecs to 0.
9655 (timer--activate): Check psecs component, too.
9657 * proced.el (proced-time-lessp): Support ps-resolution stamps.
9659 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
9661 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
9662 Move the non-essential binding to the post/pre-command-hook where it is
9663 more obviously correct.
9665 * subr.el (read-passwd): Don't use a history at all.
9666 * savehist.el (savehist-save): Remove password saved accidentally
9667 because of the above bug.
9669 2012-06-22 Bastien Guerry <bzg@gnu.org>
9671 * files.el (toggle-read-only): Display a message telling whether
9672 the buffer is read-only or not (bug#11726).
9674 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
9676 * emacs-lisp/gv.el: New file.
9677 * subr.el (push, pop): Extend to generalized variables.
9678 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
9679 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
9680 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
9681 gv-define-simple-setter, and gv-define-expander.
9682 Remove setf-methods defined in gv. Rename cl-setf -> setf.
9683 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
9684 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
9685 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
9686 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
9688 (cl-defstruct): Don't define setf-method any more.
9689 * emacs-lisp/cl.el (flet): Don't autoload.
9690 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
9691 (define-setf-expander, defsetf, define-modify-macro)
9692 (cl-struct-setf-expander): Move from cl-lib.el.
9693 * emacs-lisp/syntax.el:
9694 * emacs-lisp/ewoc.el:
9695 * emacs-lisp/smie.el:
9696 * emacs-lisp/cconv.el:
9697 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
9698 (timer--time): Use gv-define-simple-setter.
9699 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
9700 to avoid coding-system problems in subr.el. Adjust all users.
9701 (macroexp--maxsize, macroexp-small-p): New functions.
9702 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
9703 * scroll-bar.el (scroll-bar-mode):
9704 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
9705 (normal-erase-is-backspace-mode): Don't use the `eq' place.
9706 * winner.el (winner-configuration, winner-make-point-alist)
9707 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
9708 * files.el (locate-file-completion-table): Avoid list*.
9710 2012-06-22 Chong Yidong <cyd@gnu.org>
9712 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
9713 (dired-create-files): Doc fix (Bug#11329).
9714 (dired-do-copy): Doc fix (Bug#11334).
9715 (dired-mark-read-string): Doc fix (Bug#11553).
9717 * dired.el (dired-recursive-copies, dired-recursive-deletes):
9718 Doc fix (Bug#11326).
9719 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
9720 (dired-dwim-target): Doc fix.
9722 * wdired.el (wdired-mode): Doc fix.
9724 2012-06-22 Glenn Morris <rgm@gnu.org>
9726 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
9727 (pcmpl-rpm-cache-stamp-file): New constant.
9728 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
9729 (pcmpl-rpm-packages): Optionally cache list of packages.
9731 * pcmpl-rpm.el (pcmpl-rpm): New group.
9732 (pcmpl-rpm-query-options): New option.
9733 (pcmpl-rpm-packages): No need to inline it.
9734 Use pcmpl-rpm-query-options.
9736 * calendar/calendar.el (calendar-in-read-only-buffer):
9737 Avoid some needless mode changes.
9739 2012-06-21 Chong Yidong <cyd@gnu.org>
9741 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
9742 (desktop-path): Remove . from the default value (Bug#10977).
9743 (desktop-read): Use user-emacs-directory if desktop-path is nil.
9745 2012-06-20 Chong Yidong <cyd@gnu.org>
9747 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
9749 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
9751 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
9754 2012-06-20 Chong Yidong <cyd@gnu.org>
9756 * term.el (term-window-width): Handle the case of a missing right
9758 (term-check-size): Use window-text-height (Bug#5445).
9759 (term-mode): Use define-derived-mode. Minor cleanups.
9760 Set font-lock-defaults (Bug#7692).
9761 (term-move-columns, term-insert-char, term-emulate-terminal)
9762 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
9764 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
9766 * net/ange-ftp.el (ange-ftp-get-passwd):
9767 Bind `enable-recursive-minibuffers'.
9768 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
9770 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
9772 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
9774 2012-06-19 Glenn Morris <rgm@gnu.org>
9776 * progmodes/python.el (python-mode): Derive from prog-mode.
9778 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
9780 * emulation/edt.el (edt-default-menu-bar-update-buffers)
9781 (edt-user-menu-bar-update-buffers): New functions.
9782 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
9784 2012-06-19 Chong Yidong <cyd@gnu.org>
9786 * subr.el (with-selected-window): Preserve the selected window's
9787 terminal's top-frame (Bug#4702).
9789 * window.el (save-selected-window): Likewise.
9791 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9793 * progmodes/python.el (python-rx-constituents): Move backquote.
9794 (python-skeleton-define, python-define-auxiliary-skeleton):
9797 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
9799 * minibuffer.el (read-file-name-default): Revert the patch from
9802 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9804 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
9805 (pcase--u1, pcase--q1): Don't use apply-partially.
9807 2012-06-18 Glenn Morris <rgm@gnu.org>
9809 * progmodes/python.el (python-proc, python-buffer)
9810 (python-send-receive, python-send-string): Fix obsolete versions.
9812 2012-06-18 Martin Rudalics <rudalics@gmx.at>
9814 * window.el (special-display-p): Completely remove stringp
9815 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
9817 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
9819 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
9821 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
9823 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
9824 * net/tramp-sh.el (tramp-maybe-open-connection):
9825 Throw if `non-essential' is non-nil.
9827 2012-06-17 Martin Rudalics <rudalics@gmx.at>
9829 * window.el (special-display-p): Signal an error if BUFFER-NAME
9830 is not a string (Bug#11713).
9832 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
9834 * progmodes/python.el (python-info-beginning-of-backslash):
9835 Rename from python-info-beginning-of-backlash, as a spelling fix.
9837 2012-06-17 Chong Yidong <cyd@gnu.org>
9839 * term.el (term-emulate-terminal): If term-check-size is called,
9840 move point to the process mark without resetting point (Bug#4635).
9842 2012-06-17 Glenn Morris <rgm@gnu.org>
9844 * international/mule-cmds.el (mule-menu-keymap)
9845 (set-language-environment, set-locale-environment): Doc tweaks.
9847 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
9849 * cus-face.el (custom-face-attributes): Add wave-style underline
9851 * faces.el (set-face-attribute): Update docstring to describe
9852 wave-style underline attribute.
9854 2012-06-16 Chong Yidong <cyd@gnu.org>
9856 * term/xterm.el (terminal-init-xterm): Discard input before
9857 querying background mode (Bug#10959).
9859 2012-06-16 Stefan Merten <smerten@oekonux.de>
9861 * textmodes/rst.el: Added and corrected some comments.
9862 (rst-re-alist-def): Improve symbol syntax.
9863 (rst-mode-syntax-table): Correct syntax entries.
9864 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
9865 (rst-official-version, rst-official-cvs-rev): Update version
9868 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
9870 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
9871 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
9873 2012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
9875 * progmodes/python.el: New python.el merge.
9876 (python-guess-indent): Obsolete var.
9877 (python-indent-guess-indent-offset): New defcustom.
9878 (python-indent): Obsolete var.
9879 (python-indent-offset): New defcustom.
9880 (python-python-command, python-jython-command): Delete var.
9881 (python-shell-interpreter): New defcustom.
9882 (python-pdbtrack-do-tracking-p): Delete var.
9883 (python-pdbtrack-activate): New defcustom.
9884 (python-use-skeletons): Obsolete var.
9885 (python-skeleton-autoinsert): New defcustom.
9886 (inferior-python-filter-regexp, python-continuation-offset)
9887 (python-honour-comment-indentation, python-indent-string-contents)
9888 (python-jython-packages, python-mode-hook)
9889 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
9890 (python-shell-prompt-alist)
9891 (python-source-modes): Delete defcustoms.
9892 (python-check-buffer-name, python-eldoc-setup-code)
9893 (python-eldoc-string-code, python-ffap-setup-code)
9894 (python-ffap-string-code, python-fill-comment-function)
9895 (python-fill-decorator-function, python-fill-paren-function)
9896 (python-fill-string-function, python-imenu-include-defun-type)
9897 (python-imenu-make-tree, python-imenu-subtree-root-label)
9898 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
9899 (python-shell-compilation-regexp-alist)
9900 (python-shell-completion-module-string-code)
9901 (python-shell-completion-pdb-string-code)
9902 (python-shell-completion-setup-code)
9903 (python-shell-completion-string-code)
9904 (python-shell-enable-font-lock, python-shell-exec-path)
9905 (python-shell-extra-pythonpaths)
9906 (python-shell-internal-buffer-name, python-shell-interpreter-args)
9907 (python-shell-process-environment)
9908 (python-shell-prompt-block-regexp)
9909 (python-shell-prompt-output-regexp)
9910 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
9911 (python-shell-send-setup-max-wait, python-shell-setup-codes)
9912 (python-shell-virtualenv-path): New defcustoms.
9913 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
9914 (inferior-python-mode-syntax-table, python--prompt-regexp)
9915 (python-buffer, python-command python-python-command)
9916 (python-default-template, python-imports, python-indent-index)
9917 (python-indent-list, python-indent-list-length)
9918 (python-mode-running, python-pdbtrack-is-tracking-p)
9919 (python-preoutput-continuation, python-preoutput-leftover)
9920 (python-preoutput-result, python-preoutput-skip-next-prompt)
9921 (python-prev-dir/file, python-recursing)
9922 (python-saved-check-command, python-version-checked)
9923 (python-which-func-length-limit)
9924 (view-return-to-alist): Delete vars.
9925 (python-check-custom-command, python-dotty-syntax-table)
9926 (python-imenu-index-alist, python-indent-current-level)
9927 (python-indent-dedenters, python-indent-levels)
9928 (python-nav-beginning-of-defun-regexp)
9929 (python-nav-list-defun-positions-cache)
9930 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
9931 (python-shell-internal-buffer)
9932 (python-skeleton-available): New vars.
9933 (def-python-skeleton): Delete macro.
9934 (python-skeleton-define): New macro.
9935 (python-define-auxiliary-skeleton, python-rx): New macros.
9936 (python-insert-class): Delete command.
9937 (python-skeleton-class): New command.
9938 (python-insert-def): Delete command.
9939 (python-skeleton-def): New command.
9940 (python-insert-for): Delete command.
9941 (python-skeleton-for): New command.
9942 (python-insert-if): Delete command.
9943 (python-skeleton-if): New command.
9944 (python-insert-try/except, python-insert-try/finally): Delete commands.
9945 (python-skeleton-try): New command.
9946 (python-insert-while): Delete command.
9947 (python-skeleton-while): New command.
9948 (python-backspace): Delete command.
9949 (python-indent-dedent-line-backspace): New command.
9950 (python-electric-colon): Delete command.
9951 (python-indent-electric-colon): New command.
9952 (python-guess-indent): Delete command.
9953 (python-indent-guess-indent-offset): New command.
9954 (python-shift-left): Delete command.
9955 (python-indent-shift-left): New command.
9956 (python-shift-right): Delete command.
9957 (python-indent-shift-right): New command.
9958 (python-find-function): Delete command.
9959 (python-nav-jump-to-defun): New command.
9960 (python-next-statement): Delete command.
9961 (python-nav-forward-sentence): New command.
9962 (python-previous-statement): Delete command.
9963 (python-nav-backward-sentence): New command.
9964 (python-fill-paragraph): Delete command.
9965 (python-fill-paragraph-function): New command.
9966 (python-send-buffer): Delete command.
9967 (python-shell-send-buffer): New command.
9968 (python-send-defun): Delete command.
9969 (python-shell-send-defun): New command.
9970 (python-send-region, python-send-region-and-go): Delete commands.
9971 (python-shell-send-region)
9972 (python-shell-switch-to-shell): New commands.
9973 (python-send-string): Delete command.
9974 (python-shell-send-string): New command.
9975 (python-switch-to-python): Delete command.
9976 (python-shell-switch-to-shell): New command.
9977 (python-describe-symbol): Delete command.
9978 (python-eldoc-at-point): New command.
9979 (python--set-prompt-regexp, python-args-to-list)
9980 (python-after-info-look, python-check-version)
9981 (python-check-comint-prompt, python-find-imports)
9982 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
9983 (python-unload-function, python-expand-template)
9984 (python-maybe-jython, python-preoutput-filter)
9985 (python-pdbtrack-get-source-buffer)
9986 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
9987 (python-pdbtrack-toggle-stack-tracking)
9988 (python-pdbtrack-track-stack-file, python-initial-text)
9989 (python-first-word, python-comment-line-p, python-send-command)
9990 (python-setup-brm, python-sentinel, python-set-proc)
9991 (python-skip-out, python-input-filter, python-outdent-p)
9992 (python-outline-level, python-backslash-continuation-line-p)
9993 (python-end-of-block, python-end-of-statement, python-mark-block)
9994 (python-beginning-of-block, python-beginning-of-statement)
9995 (python-blank-line-p, python-beginning-of-string)
9996 (python-open-block-statement-p): Delete functions.
9997 (python-indent-line, python-indent-line-1): Delete functions.
9998 (python-indent-line): New function.
9999 (python-indentation-levels): Delete function.
10000 (python-indent-calculate-levels): New function.
10001 (python-proc): Delete function.
10002 (python-shell-get-process): New function.
10003 (python-send-receive): Delete function.
10004 (python-shell-send-string-no-output): New function.
10005 (python-module-path): Delete function.
10006 (python-ffap-module-path): New function.
10007 (python-completion-at-point)
10008 (python-symbol-completions): Delete functions.
10009 (python-completion-complete-at-point): New function.
10010 (python-load-file): Delete function.
10011 (python-shell-send-file): New function.
10012 (python-calculate-indentation): Delete function.
10013 (python-indent-calculate-indentation): New function.
10014 (python-skip-comments/blanks): Delete function.
10015 (python-util-forward-comment): New function.
10016 (python-continuation-line-p): Delete function.
10017 (python-info-continuation-line-p): New function.
10018 (python-which-func, python-current-defun): Delete function.
10019 (python-info-current-defun): New function.
10020 (python-beginning-of-defun): Delete function.
10021 (python-nav-beginning-of-defun): New function.
10022 (python-close-block-statement-p)
10023 (python-block-end-p): Delete function.
10024 (python-info-closing-block): New function.
10025 (python-comint-output-filter-function)
10026 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
10027 (python-fill-comment, python-fill-decorator, python-fill-paren)
10028 (python-fill-string, python-imenu-make-element-tree)
10029 (python-imenu-make-tree, python-imenu-tree-assoc)
10030 (python-indent-context, python-indent-dedent-line)
10031 (python-indent-line-function)
10032 (python-indent-post-self-insert-function)
10033 (python-indent-toggle-levels)
10034 (python-info-assignment-continuation-line-p)
10035 (python-info-beginning-of-backlash)
10036 (python-info-block-continuation-line-p)
10037 (python-info-closing-block-message)
10038 (python-info-line-ends-backslash-p)
10039 (python-info-looking-at-beginning-of-defun)
10040 (python-info-ppss-context, python-info-ppss-context-type)
10041 (python-nav-list-defun-positions, python-nav-read-defun)
10042 (python-nav-sentence-end, python-nav-sentence-start)
10043 (python-pdbtrack-comint-output-filter-function)
10044 (python-pdbtrack-set-tracked-buffer)
10045 (python-shell-calculate-exec-path)
10046 (python-shell-calculate-process-environment)
10047 (python-shell-completion--do-completion-at-point)
10048 (python-shell-completion--get-completions)
10049 (python-shell-completion-complete-at-point)
10050 (python-shell-completion-complete-or-indent)
10051 (python-shell-get-or-create-process)
10052 (python-shell-get-process-name)
10053 (python-shell-internal-get-or-create-process)
10054 (python-shell-internal-get-process-name)
10055 (python-shell-internal-send-string, python-shell-make-comint)
10056 (python-shell-parse-command, python-shell-send-setup-code)
10057 (python-skeleton-add-menu-items)
10058 (python-util-clone-local-variables, python-util-position)
10059 (run-python-internal, python-indentation-levels)
10060 (python-nav-beginning-of-defun)
10061 (python-completion-complete-at-point): New functions.
10062 (run-python): Change arguments. New API requirements.
10064 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
10066 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
10069 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
10070 (macroexp--expand-all): Use it.
10072 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
10073 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
10074 Use `cl-function' instead.
10076 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
10078 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
10079 Suggested by Stefan Monnier while discussing bug#11657.
10081 2012-06-14 Sam Steingold <sds@gnu.org>
10083 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
10085 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
10087 * play/doctor.el (doctor-doc): Remove parameter and use
10088 doctor-sent instead of sent.
10089 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
10091 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
10093 * files.el: Require cl-lib.
10094 (file-name-non-special): Replace case -> cl-case.
10096 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
10098 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
10099 mapping from #' to function*.
10101 2012-06-13 Chong Yidong <cyd@gnu.org>
10103 * mouse.el (mouse-drag-track): Do not set the mark if the user
10104 releases the mouse without selecting anything (Bug#11588).
10106 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
10108 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
10109 as well (bug#11646).
10111 * loadup.el: Count byte-code functions as well.
10113 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
10114 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
10116 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
10117 (bug#11649). Add cl-defun and cl-defmacro.
10119 2012-06-13 Drew Adams <drew.adams@oracle.com>
10121 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
10124 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
10126 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
10127 Otherwise, it blocks in batch mode.
10129 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
10131 * help-mode.el (bookmark-make-record-default): Declare.
10133 2012-06-13 Chong Yidong <cyd@gnu.org>
10135 * emacs-lisp/package.el (list-packages): Compute a list of
10136 packages that are newly-available since the last list-packages
10138 (package-menu--new-package-list): New var.
10139 (package-menu--generate, package-menu--print-info)
10140 (package-menu--status-predicate, package-menu-mark-install):
10141 Handle new status label "new".
10143 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
10145 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
10146 conversion to backquotes.
10148 2012-06-12 Chong Yidong <cyd@gnu.org>
10150 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
10151 Rename from gud-inhibit-global-bindings.
10153 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
10155 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
10156 hook from nxml-glyph-set-hook.
10158 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
10161 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
10163 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
10164 Convert to defcustom.
10166 2012-06-12 Drew Adams <drew.adams@oracle.com>
10168 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
10170 (help-mode): Use them.
10172 2012-06-11 Glenn Morris <rgm@gnu.org>
10174 * progmodes/fortran.el (fortran-font-lock-keywords-3):
10175 Use preprocessor face for directives.
10176 (fortran-directive-re): Doc fix.
10178 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
10180 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
10181 conversion to backquotes (bug#11652).
10183 Fix compiler-expansion of CL's cXXr functions (bug#11673).
10184 * emacs-lisp/cl-lib.el (cl--defalias): New function.
10185 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
10186 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
10187 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
10188 (cl-ninth, cl-tenth): Mark them as inlinable.
10189 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
10190 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
10191 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
10192 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
10193 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
10194 (cl-list*, cl-adjoin): Don't put an autoload manually.
10195 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
10196 (cl--compiler-macro-list*): Add autoload cookie.
10197 (cl--compiler-macro-cXXr): New function.
10199 * help-fns.el (help-fns--compiler-macro): New function extracted from
10200 describe-function-1; follow aliases and use `compiler-macro' property.
10201 (describe-function-1): Use it.
10203 2012-06-11 Chong Yidong <cyd@gnu.org>
10205 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
10206 is uninstalled, if imagemagick is installed.
10208 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
10210 * emacs-lisp/cl-lib.el: Use lexical-binding.
10211 (cl-map-extents, cl-maclisp-member): Remove.
10212 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
10213 (cl--set-substring, cl--block-wrapper, cl--block-throw)
10214 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
10215 * emacs-lisp/cl-extra.el: Use lexical-binding.
10216 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
10217 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
10218 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
10219 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
10220 * emacs-lisp/cl-seq.el: Use lexical-binding.
10221 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
10222 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
10223 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
10224 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
10225 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
10228 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
10230 Sync with Tramp 2.2.6-pre.
10232 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
10233 `print-length' and `print-level' to nil, in order to avoid
10234 truncation. Reported by Christopher Schmidt
10235 <christopher@ristopher.com>.
10237 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
10239 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
10241 (tramp-compat-copy-directory): Add optional argument
10242 COPY-CONTENTS. It is not handled yet.
10244 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
10245 (tramp-ftp-file-name-p): Simplify.
10247 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
10248 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
10251 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
10252 (tramp-methods): Do not use `tramp-password-end-of-line'.
10253 (tramp-completion-function-alist-putty): Handle UNIX case.
10254 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
10255 (tramp-do-file-attributes-with-stat)
10256 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
10257 gid as real numbers. They could run out of integer range on cygwin.
10258 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
10259 (tramp-sh-handle-expand-file-name): Handle hops.
10260 (tramp-open-connection-setup-interactive-shell):
10261 Use `tramp-cleanup'. Move check for busyboxes ...
10262 (tramp-find-shell): ... here. Simplify implementation.
10263 Set "remote-shell" property also for alternative shells.
10264 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
10265 If failing, a regular file would be written otherwise.
10266 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
10267 (tramp-find-inline-encoding): Cache the coding commands in the
10268 process cache. Apply test command on the remote side, if defined.
10269 (tramp-find-inline-compress): Cache the compress commands in the
10271 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
10272 when requested. Handle hops.
10273 (tramp-current-connection): New defvar.
10274 (tramp-maybe-open-connection): Use `tramp-cleanup'.
10275 Throw `suppress', if there was a failed connection shortly before.
10276 Handle user interrupt. (Bug#10187)
10277 (tramp-get-inline-compress, tramp-get-inline-coding):
10278 Read connection properties from the process cache.
10280 * net/tramp-smb.el (tramp-smb-server-version)
10281 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
10283 (tramp-smb-prompt): Extend for powershell prompt.
10284 (tramp-smb-file-name-handler-alist): Add handlers for
10285 `process-file', `shell-command' and `start-file-process'.
10286 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
10287 (tramp-smb-winexe-shell-command-switch): New defcustoms.
10288 (tramp-smb-file-name-p): Simplify.
10289 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
10290 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
10291 (tramp-smb-shell-quote-argument): New defuns.
10292 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
10293 Implement using "tar". By this, time-stamps are preserved.
10294 (tramp-smb-handle-copy-file): Handle also the case of directories.
10295 (tramp-smb-do-file-attributes-with-stat)
10296 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
10297 Use `tramp-get-connection-buffer').
10298 (tramp-smb-handle-rename-file): Use "rename", when source and
10299 target are on the same share.
10300 (tramp-smb-maybe-open-connection): Handle wrong passwords.
10301 Use `tramp-smb-server-version'.
10302 (tramp-smb-wait-for-output): Remove prompt.
10304 * net/tramp.el (top): Require 'cl.
10305 (tramp-methods, tramp-rsh-end-of-line):
10306 Remove `tramp-password-end-of-line' from docstring.
10307 (tramp-save-ad-hoc-proxies): New defcustom.
10308 (tramp-completion-function-alist): Adapt docstring.
10309 (tramp-default-password-end-of-line): Remove defcustom.
10310 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
10311 (tramp-user-regexp, tramp-file-name-regexp-unified)
10312 (tramp-file-name-regexp-url): Extend regexp by hop separator.
10313 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
10314 (tramp-remote-file-name-spec-regexp): New defconst.
10315 (tramp-file-name-structure): Extend structure for hops.
10316 (tramp-get-method-parameter): Move up.
10317 (tramp-file-name-p, tramp-dissect-file-name)
10318 (with-parsed-tramp-file-name): Handle hops.
10319 (tramp-file-name-hop): New defun.
10320 (tramp-make-tramp-file-name): New optional arg HOP.
10321 (tramp-message-show-progress-reporter-message): New defvar.
10322 (tramp-with-progress-reporter): Use it. We cannot use
10323 `tramp-message-show-message' here, because this suppresses also
10325 (tramp-error-with-buffer): Suppress buffer view, if
10326 `tramp-message-show-message' is nil.
10327 Use `tramp-get-connection-buffer'.
10328 (tramp-cleanup): New defun.
10329 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
10330 (tramp-file-name-handler): If `debug-on-error' is set, propagate
10331 an error unchanged.
10332 (tramp-completion-handle-file-name-all-completions): Handle hops.
10333 Fix an error when called from ido.
10334 (tramp-completion-dissect-file-name): Use better local variable
10335 name. Add hop to the vector.
10336 (tramp-handle-insert-file-contents): Use progress-reporter for the
10338 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
10340 (tramp-check-for-regexp): Simplify search.
10341 (tramp-enter-password): Remove it. Move implementation ...
10342 (tramp-action-password): ... here.
10343 (tramp-mode-string-to-int, tramp-local-host-p)
10344 (tramp-make-tramp-temp-file, tramp-read-passwd)
10345 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
10346 Set tramp-autoload cookie.
10348 * net/trampver.el: Update release number.
10350 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10351 Michael Albinus <michael.albinus@gmx.de>
10353 * net/tramp.el (tramp-set-completion-function): Fix docstring.
10354 (tramp-parse-group, tramp-parse-file)
10355 (tramp-parse-shostkeys-sknownhosts): New defuns.
10356 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
10357 (tramp-parse-shosts-group, tramp-parse-sconfig)
10358 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
10359 (tramp-parse-sknownhosts, tramp-parse-hosts)
10360 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
10362 (tramp-parse-passwd-group, tramp-parse-netrc-group)
10363 (tramp-parse-putty-group): Don't narrow.
10364 (tramp-parse-putty): Make a loop.
10365 (tramp-file-name-handler): Catch the `suppress' signal.
10367 2012-06-11 Chong Yidong <cyd@gnu.org>
10369 * image.el (imagemagick-register-types): Put the ImageMagick entry
10370 at the end of image-type-file-name-regexps.
10372 2012-06-11 Johan Bockgård <bojohan@gnu.org>
10374 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
10375 (pcase, pcase-let*, pcase-dolist): Use them.
10377 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
10379 * emacs-lisp/pcase.el (pcase--let*): New function.
10380 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
10381 (pcase--expand): Use macroexp-let².
10383 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
10385 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
10386 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
10387 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
10388 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
10389 * emacs-lisp/derived.el: Use pcase instead of `cl'.
10390 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
10392 2012-06-10 Glenn Morris <rgm@gnu.org>
10394 * mail/rmail.el (rmail-yank-current-message): Leave point at
10395 correct position. (Bug#11660)
10397 2012-06-10 Chong Yidong <cyd@gnu.org>
10399 * allout-widgets.el: Fix code header.
10401 2012-06-10 Chong Yidong <cyd@gnu.org>
10403 * cus-edit.el (customize-changed-options-previous-release):
10406 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
10408 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
10410 2012-06-09 Chong Yidong <cyd@gnu.org>
10412 * ebuff-menu.el (electric-buffer-list): Preserve header line.
10414 2012-06-09 Martin Rudalics <rudalics@gmx.at>
10416 * window.el (special-display-popup-frame): Don't use
10417 window--display-buffer (Bug#11651).
10419 2012-06-09 Eli Zaretskii <eliz@gnu.org>
10421 Fix parallel builds: make sure loaddefs.el is not being written
10422 while Lisp files are compiled.
10423 (compile): Don't depend on 'mh-autoloads'.
10424 (compile-CMD, compile-SH): Depend on 'autoloads'.
10425 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
10427 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
10429 2012-06-09 Chong Yidong <cyd@gnu.org>
10431 * face-remap.el (face-remap-add-relative, face-remap-set-base)
10432 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
10433 Doc fixes (Bug#11225).
10435 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
10437 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
10438 a function if there's a clear indication that it has a compiler-macro.
10439 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
10440 (macro-declarations-alist): Add arglist to declaration functions.
10441 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
10442 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
10443 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
10444 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
10445 Also add autoload to find the compiler macro.
10446 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
10447 (cl--compiler-macro-member, cl--compiler-macro-assoc)
10448 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
10449 (cl--compiler-macro-get): New functions, replacing calls to
10450 cl-define-compiler-macro.
10451 (cl-typep) [compiler-macro]: Use macroexp-let².
10453 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
10455 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
10456 string properly, fixes Bug#11473.
10458 2012-06-08 Chong Yidong <cyd@gnu.org>
10460 * faces.el (set-face-attribute): Doc fix.
10461 (modify-face): Don't use :bold and :italic.
10462 (error, warning, success): Tweak definitions.
10464 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
10465 (custom-modified, custom-set, custom-changed, custom-themed)
10466 (custom-saved, custom-button, custom-button-mouse)
10467 (custom-button-pressed, custom-state, custom-comment-tag)
10468 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
10469 (custom-group-subtitle): Use new-style face specs.
10470 (custom-invalid-face, custom-rogue-face, custom-modified-face)
10471 (custom-set-face, custom-changed-face, custom-saved-face)
10472 (custom-button-face, custom-button-pressed-face)
10473 (custom-documentation-face, custom-state-face)
10474 (custom-comment-face, custom-comment-tag-face)
10475 (custom-variable-tag-face, custom-variable-button-face)
10476 (custom-face-tag-face, custom-group-tag-face-1)
10477 (custom-group-tag-face): Remove obsolete face alias.
10479 * epa.el (epa-validity-high, epa-validity-medium)
10480 (epa-validity-low, epa-mark, epa-field-name, epa-string)
10481 (epa-field-name, epa-field-body):
10482 * font-lock.el (font-lock-comment-face, font-lock-string-face)
10483 (font-lock-keyword-face, font-lock-builtin-face)
10484 (font-lock-function-name-face, font-lock-variable-name-face)
10485 (font-lock-type-face, font-lock-constant-face):
10486 * ido.el (ido-first-match, ido-only-match, ido-subdir)
10487 (ido-virtual, ido-indicator, ido-incomplete-regexp):
10488 * speedbar.el (speedbar-button-face, speedbar-file-face)
10489 (speedbar-directory-face, speedbar-tag-face)
10490 (speedbar-selected-face, speedbar-highlight-face)
10491 (speedbar-separator-face):
10492 * whitespace.el (whitespace-newline, whitespace-space)
10493 (whitespace-hspace, whitespace-tab, whitespace-trailing)
10494 (whitespace-line, whitespace-space-before-tab)
10495 (whitespace-space-after-tab, whitespace-indentation)
10496 (whitespace-empty):
10497 * emulation/cua-base.el (cua-global-mark):
10498 * eshell/em-prompt.el (eshell-prompt):
10499 * net/newst-plainview.el (newsticker-new-item-face)
10500 (newsticker-old-item-face, newsticker-immortal-item-face)
10501 (newsticker-obsolete-item-face, newsticker-date-face)
10502 (newsticker-statistics-face, newsticker-default-face):
10503 * net/newst-reader.el (newsticker-feed-face)
10504 (newsticker-extra-face, newsticker-enclosure-face):
10505 * net/newst-treeview.el (newsticker-treeview-face)
10506 (newsticker-treeview-new-face, newsticker-treeview-old-face)
10507 (newsticker-treeview-immortal-face)
10508 (newsticker-treeview-obsolete-face)
10509 (newsticker-treeview-selection-face):
10510 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
10511 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
10512 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
10513 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
10514 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
10515 (nxml-outline-active-indicator, nxml-outline-ellipsis):
10516 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
10518 * progmodes/vera-mode.el (vera-font-lock-number)
10519 (vera-font-lock-function, vera-font-lock-interface):
10520 * textmodes/table.el (table-cell): Use new-style face specs, and
10521 don't use the old :bold and :italic attributes.
10523 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
10524 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
10525 (ebrowse-member-class, ebrowse-progress): Likewise.
10526 (ebrowse-tree-mark-face, ebrowse-root-class-face)
10527 (ebrowse-file-name-face, ebrowse-default-face)
10528 (ebrowse-member-attribute-face, ebrowse-member-class-face)
10529 (ebrowse-progress-face): Remove obsolete faces.
10531 * progmodes/flymake.el (flymake-errline, flymake-warnline):
10532 Inherit from error and warning faces respectively.
10534 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
10536 (flyspell-incorrect-face, flyspell-duplicate-face):
10537 Remove obsolete aliases.
10539 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
10541 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
10544 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
10546 * startup.el (argv, argi): Make lexically scoped.
10547 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
10548 * emacs-lisp/cl-macs.el: Use lexical-binding.
10549 Rename cl-bind-* to cl--bind-*.
10550 * files.el: Don't require `cl' since it doesn't use it.
10551 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
10553 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
10555 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
10556 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
10557 instead of calling external sort utility.
10558 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
10560 2012-06-08 Eli Zaretskii <eliz@gnu.org>
10562 * descr-text.el (describe-char): Mention how to insert the
10563 character, if the current input method doesn't support it.
10564 See the discussion in this thread for the details:
10565 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
10567 2012-06-08 Sam Steingold <sds@gnu.org>
10569 * bindings.el (global-map): Bind XF86Forward to next-buffer and
10570 XF86Back to previous-buffer.
10571 (minibuffer-local-map): Bind them to next-history-element and
10572 previous-history-element respectively.
10573 * help-mode.el (help-mode-map): Bind them to help-go-forward and
10574 help-go-back respectively.
10575 * info.el (Info-mode-map): Bind them to Info-history-forward and
10576 Info-history-back respectively.
10577 These are the keys next to Up on the ThinkPad keyboard.
10579 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
10581 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
10582 * emacs-lisp/cl-macs.el: Provide itself.
10583 (cl--labels-convert-cache): New var.
10584 (cl--labels-convert): New function.
10585 (cl-flet, cl-labels): New implementation with new semantics, relying on
10587 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
10588 (cl-closure-vars, cl--function-convert-cache)
10589 (cl--function-convert): Move from cl-macs.el.
10590 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
10591 rename by removing the "cl-" prefix.
10592 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
10594 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
10596 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
10597 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
10598 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
10599 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
10600 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
10601 (cl-hash-table-count): Add old compatibility aliases.
10603 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
10604 Use macroexpand-all-environment instead.
10605 (cl--old-macroexpand): New var.
10606 (cl--sm-macroexpand): New function.
10607 (cl-symbol-macrolet): Use it during macro expansion.
10608 (cl--function-convert-cache): New var.
10609 (cl--function-convert): New function, extracted from
10610 cl-macroexpand-all.
10611 (cl-lexical-let): Use it.
10613 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
10614 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
10615 (cl-member): Remove old alias.
10617 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
10618 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
10619 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
10620 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
10621 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
10622 (cl-macroexpand-cmacs): Remove var.
10623 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
10624 Use macroexpand-all instead.
10626 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
10628 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
10629 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
10630 (macroexp-copyable-p): New functions and macros.
10631 * emacs-lisp/edebug.el (edebug-unwrap):
10632 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
10633 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
10634 (pcase--let*): Remove.
10635 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
10636 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
10637 macroexp-const-p instead.
10638 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
10640 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
10641 instead of "cl-" for internal definitions. Use macroexp-const-p.
10642 (cl-old-bc-file-form): Remove var.
10643 (cl-const-exprs-p): Remove fun.
10644 (cl-labels, cl-macrolet): Use backquote.
10645 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
10646 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
10647 (cl-define-setf-expander): Rename from cl-define-setf-method.
10648 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
10650 * international/mule-cmds.el: Don't require CL.
10651 (view-hello-file): Don't use `letf'.
10653 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
10655 * tmm.el (tmm-prompt): Use string-prefix-p.
10656 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
10657 (tmm-add-prompt): Use minibuffer-completion-help.
10658 (tmm-delete-map): Remove.
10660 * subr.el (kbd): Make it its own function.
10662 2012-06-07 Stefan Merten <smerten@oekonux.de>
10664 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
10665 Silence compiler warnings. Fix versions.
10666 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
10667 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
10668 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
10669 (rst-package-emacs-version-alist): Correct Emacs version to
10670 represent major merge with upstream.
10671 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
10673 2012-06-06 Glenn Morris <rgm@gnu.org>
10675 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
10676 Only print environment variables if set.
10678 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
10680 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
10681 (macroexp--cons): Rename from maybe-cons.
10682 (macroexp--accumulate): Rename from macroexp-accumulate.
10683 (macroexp--all-forms): Rename from macroexpand-all-forms.
10684 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
10685 (macroexp--expand-all): Rename from macroexpand-all-1.
10687 2012-06-06 Sam Steingold <sds@gnu.org>
10689 * calendar/calendar.el (calendar-in-read-only-buffer):
10690 Call `special-mode' to enable the standard read-only keybindings.
10692 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
10694 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
10695 with "loading" messages (bug#11635).
10697 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
10699 * files.el (enable-remote-dir-locals): New option.
10700 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
10702 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
10703 Ensure, that the temp directory is local.
10705 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
10706 `temporary-file-directory'.
10708 * progmodes/python.el (python-send-region): Ensure, that the
10709 temporary file is created also in the remote case.
10711 2012-06-06 Glenn Morris <rgm@gnu.org>
10713 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
10714 (vc-rcs-update-changelog): Use it.
10716 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
10718 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
10719 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
10720 (vc-sccs-diff): Replace use of the external vcdiff script.
10722 2012-06-05 Glenn Morris <rgm@gnu.org>
10724 * ledit.el: Move to obsolete/.
10726 2012-06-05 Sam Steingold <sds@gnu.org>
10728 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
10731 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10733 * emacs-lisp/cust-print.el: Move to obsolete.
10735 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
10736 compiler-macro expansion.
10738 Add native compiler-macro support.
10739 * emacs-lisp/macroexp.el (macroexpand-all-1):
10740 Support compiler-macros directly. Properly follow aliases and apply
10741 the compiler macros more thoroughly.
10742 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
10743 macroexpand now properly follows aliases.
10744 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
10745 (cl-compiler-macroexpand): Use new prop.
10746 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
10748 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
10750 2012-06-05 Martin Rudalics <rudalics@gmx.at>
10752 * window.el (get-lru-window, get-mru-window, get-largest-window):
10753 New argument NOT-SELECTED to avoid picking the selected window.
10754 (window--display-buffer-1, window--display-buffer-2): Replace by
10755 new function window--display-buffer
10756 (display-buffer-same-window, display-buffer-reuse-window)
10757 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
10758 Use window--display-buffer.
10759 (display-buffer-use-some-window): Remove temporary dedication
10760 hack by calling get-lru-window and get-largest-window with
10761 NOT-SELECTED argument non-nil. Call window--display-buffer.
10763 2012-06-05 Glenn Morris <rgm@gnu.org>
10765 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
10766 Replace external vcdiff script.
10768 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
10770 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
10772 2012-06-04 Chong Yidong <cyd@gnu.org>
10774 * image.el (imagemagick-types-inhibit): Revert last change.
10776 (imagemagick-enabled-types): Remove CIN and EPS*.
10778 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
10780 * emacs-lisp/cl-lib.el: Rename from cl.el.
10781 * emacs-lisp/cl.el: New compatibility file.
10782 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
10783 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
10784 to obey the "cl-" prefix.
10785 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
10787 2012-06-03 Glenn Morris <rgm@gnu.org>
10789 * emacs-lisp/authors.el (authors-aliases): Addition.
10791 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
10794 2012-06-03 Stefan Merten <smerten@oekonux.de>
10796 * textmodes/rst.el: Add comments.
10797 (rst-transition, rst-adornment): New faces.
10798 (rst-adornment-faces-alist): Make default safe to reevaluate.
10800 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
10801 Improve customization tags.
10802 (rst-define-level-faces): Clarify meaning.
10804 2012-06-03 Chong Yidong <cyd@gnu.org>
10806 * progmodes/compile.el (compilation-mode-line-fail)
10807 (compilation-mode-line-run, compilation-mode-line-exit):
10809 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
10811 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
10813 * progmodes/which-func.el (which-func-update-ediff-windows):
10814 New function. Use it in ediff-select-hook (Bug#11478).
10816 2012-06-03 Chong Yidong <cyd@gnu.org>
10818 * bindings.el: Remove explicit help text from format-mode-line.
10819 It is now supplied by mode-line-default-help-echo.
10820 (mode-line-front-space, mode-line-end-spaces)
10821 (mode-line-misc-info): New variables.
10822 (mode-line-modes, mode-line-position): Move the default value to
10823 the variable definition.
10824 (mode-line-default-help-echo): New defcustom.
10825 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
10826 (mode-line-modified-help-echo): New functions.
10827 (mode-line-mule-info, mode-line-modified): Use them.
10828 (mode-line-eol-desc, propertized-buffer-identification):
10829 Consistency fixes for help text.
10830 (mode-line-coding-system-map): Allow using mouse-3 to invoke
10831 set-buffer-file-coding-system (Bug#289).
10832 (mode-line-mule-info-help-echo): Update help text.
10834 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
10836 * simple.el (execute-extended-command): Set real-this-command
10839 2012-06-02 Chong Yidong <cyd@gnu.org>
10841 Remove incorrect uses of "modeline" in comments, docstrings, and
10842 function/variable names (Bug#10329).
10844 * cus-edit.el (mode-line):
10845 * dframe.el (dframe-mouse-hscroll):
10846 * emacs-lisp/re-builder.el:
10847 * emacs-lisp/easy-mmode.el (define-minor-mode):
10848 * frame.el (set-frame-name):
10849 * help.el (lookup-minor-mode-from-indicator):
10850 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
10851 * progmodes/cc-cmds.el (c-toggle-auto-newline)
10852 (c-toggle-hungry-state):
10853 * progmodes/antlr-mode.el (antlr-language-alist):
10854 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
10855 * progmodes/vhdl-mode.el (vhdl-mode):
10856 * progmodes/which-func.el (which-func, which-func-cleanup-function):
10857 * term/ns-win.el (ns-face-at-pos):
10858 * term/sup-mouse.el (sup-mouse-report):
10859 * textmodes/flyspell.el (flyspell-mode-line-string):
10860 * textmodes/ispell.el (ispell-highlight-face):
10861 * textmodes/reftex-global.el:
10862 * vc/vc-arch.el (vc-arch-mode-line-string):
10863 * vc/vc-cvs.el (vc-cvs-mode-line-string):
10864 * vc/vc-git.el (vc-git-mode-line-string):
10865 * vc/vc-hooks.el (vc-display-status)
10866 (vc-default-mode-line-string):
10867 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
10869 * ansi-color.el (ansi-color-faces-vector): Change default faces.
10871 * dired.el (dired-sort-set-mode-line): Rename from
10872 dired-sort-set-modeline. All callers changed.
10874 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
10875 eshell-status-in-modeline.
10877 * foldout.el (foldout-mode-line-string): Rename from
10878 foldout-modeline-string. All callers changed.
10879 (foldout-update-mode-line): Rename from foldout-update-modeline.
10881 * subr.el (redraw-modeline): Make into obsolete alias.
10883 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
10884 timeclock-modeline-display. Make old name an alias.
10885 (timeclock-update-mode-line): Likewise. All callers changed.
10886 (timeclock-mode-line-display): No need to check before using
10888 (timeclock-relative, timeclock-day-over-hook)
10889 (timeclock-use-elapsed, timeclock-mode-string)
10890 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
10892 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
10893 crisp-mode-modeline-string.
10895 * play/solitaire.el (solitaire-build-mode-line): Rename from
10896 solitaire-build-modeline. All callers changed.
10898 * play/zone.el (zone-hiding-mode-line): Rename from
10899 zone-hiding-modeline. All callers changed.
10900 (zone): Remove unusued `modeline-hidden-level' property.
10902 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
10903 xscheme-modeline-initialize. All callers changed.
10905 * strokes.el (strokes-lighter): Rename from
10906 strokes-modeline-string.
10908 * textmodes/sgml-mode.el (html-face-tag-alist)
10909 (html-tag-face-alist): Use mode-line face instead of obsolete
10912 2012-06-02 Stefan Merten <smerten@oekonux.de>
10914 * textmodes/rst.el: Always require `cl'.
10915 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
10917 2012-06-02 Chong Yidong <cyd@gnu.org>
10919 * image.el (imagemagick-enabled-types): Rename from
10920 imagemagick-types-enable. Add many more types.
10921 (imagemagick-types-inhibit): Change default to nil.
10922 (imagemagick-filter-types): Caller changed.
10924 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
10926 * emacs-lisp/cl-macs.el: Use backquotes.
10927 (cl-transform-function-property): Use eval-and-compile rather than
10929 (defstruct): Use declare-function instead of with-no-warnings.
10931 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
10932 (byte-compile-output-docform): Re-add the print-circle bindings.
10933 (byte-compile-fix-header): Use #$ just because it's shorter.
10934 (byte-compile-output-file-form): Remove defun/defmacro.
10936 2012-06-01 Martin Rudalics <rudalics@gmx.at>
10938 * simple.el (choose-completion): Remove now obsolete binding for
10941 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
10943 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
10944 in order to avoid "Stack overflow in regexp matcher".
10946 2012-05-31 Glenn Morris <rgm@gnu.org>
10948 * image.el: For clarity, call imagemagick-register-types at
10949 top-level, rather than relying on a custom :initialize.
10950 (imagemagick-types-enable): New option. (Bug#11557)
10951 (imagemagick-filter-types): New function. (Bug#7406)
10952 (imagemagick-register-types): Use imagemagick-filter-types.
10953 If disabling support, remove elements altogether rather
10954 than using an impossible regexp.
10955 (imagemagick-types-inhibit): Give it the default init function.
10957 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10959 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
10960 Handle arbitrary file name lengths (Bug#11585).
10962 2012-05-31 Martin Rudalics <rudalics@gmx.at>
10964 * desktop.el (desktop-read): Clear previous and next buffers for
10965 all windows and bury *Messages* buffer (bug#11556).
10967 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10969 Add `declare' for `defun'. Align `defmacro's with it.
10970 * emacs-lisp/easy-mmode.el (define-minor-mode)
10971 (define-globalized-minor-mode): Don't autoload the var definitions.
10972 * emacs-lisp/byte-run.el: Use lexical-binding.
10973 (defun-declarations-alist, macro-declarations-alist): New vars.
10974 (defmacro, defun): Use them.
10975 (make-obsolete, define-obsolete-function-alias)
10976 (make-obsolete-variable, define-obsolete-variable-alias):
10978 (macro-declaration-function): Mark obsolete.
10979 * emacs-lisp/autoload.el: Use lexical-binding.
10980 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
10982 2012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10984 * textmodes/ispell.el (ispell-with-no-warnings):
10986 (ispell-kill-ispell, ispell-change-dictionary):
10987 Use `called-interactively-p' for Emacs instead of obsolete
10990 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10992 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
10993 (macro-declaration-function): Move var from C code.
10994 (macro-declaration-function): Define function with defalias.
10995 * emacs-lisp/macroexp.el (macroexpand-all-1):
10996 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
10997 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
10998 defun/defmacro any more.
10999 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
11000 Provide fallback for unknown arglist.
11001 (byte-compile-arglist-warn): Change calling convention.
11002 (byte-compile-output-file-form): Move print-vars binding.
11003 (byte-compile-output-docform): Simplify accordingly.
11004 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
11005 (byte-compile-defmacro-declaration): Remove.
11006 (byte-compile-file-form-defmumble): Generalize to defalias.
11007 (byte-compile-output-as-comment): Return byte-positions.
11008 Simplify callers accordingly.
11009 (byte-compile-lambda): Use `assert'.
11010 (byte-compile-defun, byte-compile-defmacro): Remove.
11011 (byte-compile-file-form-defalias):
11012 Use byte-compile-file-form-defmumble.
11013 (byte-compile-defalias-warn): Remove.
11015 2012-05-29 Stefan Merten <smerten@oekonux.de>
11017 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
11018 possible. Fix authors. Improve comments. Improve loading of `cl'.
11020 (rst-mode-abbrev-table): Merge definition.
11021 (rst-mode): Make sure `font-lock-defaults' is buffer local.
11022 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
11024 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
11026 * calendar/icalendar.el
11027 (icalendar-export-region): Export UID properly.
11029 2012-05-29 Leo Liu <sdl.web@gmail.com>
11030 * calendar/icalendar.el (icalendar-import-format):
11031 Add `icalendar-import-format-uid' (Bug#11525).
11032 (icalendar-import-format-uid): New.
11033 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
11036 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
11038 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
11039 different alternative patterns.
11040 (pcase-codegen): Be more careful to preserve identity.
11041 (pcase--u1): Don't forget to mark vars as used.
11043 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
11044 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
11045 (byte-compile-from-buffer): ...rather than here.
11047 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
11048 functions from byte-compile-function-environment.
11050 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
11052 * window.el (window-deletable-p): Avoid deleting the root window
11053 of a frame with an active minibuffer.
11055 2012-05-29 Martin Rudalics <rudalics@gmx.at>
11057 * simple.el (choose-completion): Use quit-window (Bug#11567).
11059 2012-05-29 Chong Yidong <cyd@gnu.org>
11061 * whitespace.el (whitespace-cleanup): Fix usage of
11062 whitespace-empty-at-bob-regexp (Bug#11492).
11064 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
11066 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
11067 revert (Bug#11488).
11069 2012-05-29 Juri Linkov <juri@jurta.org>
11071 * isearch.el (isearch-mode-map): Bind `M-s _' to
11072 `isearch-toggle-symbol'. Bind `M-s c' to
11073 `isearch-toggle-case-fold'.
11074 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
11075 (isearch-forward): Add `M-s _' to the docstring.
11076 (isearch-forward-symbol, isearch-toggle-case-fold)
11077 (isearch-symbol-regexp): New functions. (Bug#11381)
11079 2012-05-29 Juri Linkov <juri@jurta.org>
11081 * isearch.el (isearch-word): Add docstring. (Bug#11381)
11082 (isearch-occur, isearch-search-and-update): If `isearch-word' is
11083 a function, call it to get the regexp.
11084 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
11085 property `isearch-message-prefix' instead of the string "word ".
11086 (isearch-search-fun-default): For the case of `isearch-word',
11087 return a lambda that calls re-search-forward/re-search-backward
11088 with a regexp returned by `word-search-regexp' or by the function
11091 2012-05-29 Juri Linkov <juri@jurta.org>
11093 * isearch.el (isearch-search-fun-default): New function.
11094 (isearch-search-fun): Move default part to the new function
11095 `isearch-search-fun-default'.
11096 (isearch-search-fun-function): Set the default value to
11097 `isearch-search-fun-default'. (Bug#11381)
11099 * comint.el (comint-history-isearch-end):
11100 Use `isearch-search-fun-default'.
11101 (comint-history-isearch-search): Use `isearch-search-fun-default'
11102 and remove spacial case for `isearch-word'.
11103 (comint-history-isearch-wrap): Remove spacial case for
11106 * hexl.el (hexl-isearch-search-function):
11107 Use `isearch-search-fun-default'.
11109 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
11110 Use `word-search-regexp' for `isearch-word'.
11112 * misearch.el (multi-isearch-search-fun):
11113 Use `isearch-search-fun-default'.
11115 * simple.el (minibuffer-history-isearch-search):
11116 Use `isearch-search-fun-default' and remove spacial case for
11118 (minibuffer-history-isearch-wrap): Remove spacial case for
11121 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
11122 Remove spacial case for `isearch-word'.
11123 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
11125 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11127 Decrease XEmacs incompatibilities.
11128 * textmodes/flyspell.el (flyspell-check-pre-word-p):
11129 Use `string-match'.
11130 (flyspell-delete-region-overlays): Use alternative definition for
11132 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
11133 (flyspell-word): Use `process-kill-without-query' if XEmacs.
11134 (flyspell-mode-on): Use `interactive-p' if XEmacs.
11135 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
11136 `define-obsolete-face-alias' under XEmacs, but old method.
11138 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
11139 `with-no-warnings' definition or Emacs alias.
11140 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
11141 (ispell-word): Do not use `region-p' if XEmacs.
11143 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11145 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
11146 Check for `ispell-dictionary-base-alist' instead of full
11147 `ispell-dictionary-alist'.
11148 (ispell-init-process): Show spellchecker when starting new Ispell
11151 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
11153 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
11154 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
11156 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
11158 * version.el (motif-version-string, gtk-version-string)
11159 (ns-version-string): Declare.
11161 2012-05-27 Juri Linkov <juri@jurta.org>
11163 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
11164 after the `eval-defun-1' specialcaseing
11165 like in `edebug-eval-defun' (bug#10181).
11167 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
11168 like in `eval-defun-1'.
11170 2012-05-27 Eli Zaretskii <eliz@gnu.org>
11172 * mail/sendmail.el (mail-yank-region):
11173 Recognize rmail-yank-current-message in addition to insert-buffer.
11174 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
11175 a *mail* buffer created through rmail-start-mail with sendmail as
11178 2012-05-27 Chong Yidong <cyd@gnu.org>
11180 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
11181 Default to 256 (Bug#11267).
11183 * help.el (describe-mode): Doc fix.
11185 2012-05-26 Glenn Morris <rgm@gnu.org>
11187 * w32-fns.el (w32-init-info): Remove.
11188 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
11190 * info.el (info-initialize): For self-contained NS builds, put the
11191 included info/ directory at the front. (Bug#2791)
11193 * paths.el (Info-default-directory-list): Make it a defcustom,
11194 mainly so that we can use custom-initialize-delay.
11196 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
11198 * subr.el (buffer-has-markers-at): Mark obsolete.
11200 * subr.el (lambda): Use declare.
11202 * emacs-lisp/lisp-mode.el (lambda):
11203 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
11205 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
11207 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
11209 2012-05-26 Glenn Morris <rgm@gnu.org>
11211 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
11213 2012-05-25 Glenn Morris <rgm@gnu.org>
11215 * paths.el: Remove no-byte-compile.
11216 * loadup.el: No need to load paths.el uncompiled.
11218 * image.el (imagemagick-types-inhibit): Doc fix.
11220 * version.el: Remove no-byte-compile and associated formatting.
11221 * loadup.el: No need to load version.el uncompiled. AFAICS, this
11222 is ancient code from when there was an "inc-vers.el".
11224 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
11226 * progmodes/gdb-mi.el: Minor style changes.
11227 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
11228 Turn into minor modes.
11229 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
11230 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
11231 (gdb-shell): Remove unneeded let-binding.
11232 (gdb-get-many-fields): Eliminate O(n²) behavior.
11234 2012-05-25 Eli Zaretskii <eliz@gnu.org>
11236 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
11237 platforms that don't link in fontset.c.
11239 2012-05-25 Juri Linkov <juri@jurta.org>
11241 Use the same diff color scheme as in modern VCSes (bug#10181).
11243 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
11244 to avoid confusion with `diff-added' that now uses green colors.
11245 (diff-removed): Use shades of red.
11246 (diff-added): Use shades of green.
11247 (diff-changed): Leave just the yellow color.
11248 (diff-use-changed-face): New variable.
11249 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
11250 how to highlight context diff changes.
11251 (diff-refine-change): Use shades of yellow.
11252 (diff-refine-removed): New face that uses shades of red.
11253 (diff-refine-added): New face that uses shades of green.
11254 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
11255 `diff-refine-removed' in the call to `smerge-refine-subst'
11256 depending on the value of `diff-use-changed-face'.
11258 * vc/smerge-mode.el (smerge-mine): Use shades of red.
11259 (smerge-other): Use shades of green.
11260 (smerge-base): Use shades of yellow.
11261 (smerge-refined-change): Empty face.
11262 (smerge-refined-removed): New face that uses shades of red.
11263 (smerge-refined-added): New face that uses shades of green.
11264 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
11265 args `props-r' and `props-a', and use them. Doc fix.
11266 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
11267 on its value use different faces `smerge-refined-change',
11268 `smerge-refined-removed', `smerge-refined-added' in the call to
11269 `smerge-refine-subst'.
11271 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
11272 Add face condition `min-colors 88' with shades of red.
11273 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
11274 `min-colors 88' with shades of green.
11275 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
11276 `min-colors 88' with shades of yellow.
11278 2012-05-24 Glenn Morris <rgm@gnu.org>
11280 * paths.el (prune-directory-list, remote-shell-program): Move to...
11281 * files.el (prune-directory-list, remote-shell-program): ...here.
11282 For the latter, delay initialization, prefer ssh, just search PATH.
11284 * paths.el (term-file-prefix): Move to faces.el (the only user).
11285 * faces.el (term-file-prefix): Move here, make it a defcustom.
11287 * paths.el (news-directory, news-path, news-inews-program):
11288 Move to gnus/nnspool.el.
11290 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
11292 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
11293 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
11294 Make the latter a defcustom, with a delayed initialization.
11296 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
11297 These were deleted from Gnus itself late 2010.
11299 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
11301 * progmodes/which-func.el (which-func-ff-hook):
11302 Check against user-error, not error.
11304 * emacs-lisp/edebug.el (top): Do not load or set up loading of
11305 cl-specs.el, which no longer exists.
11307 2012-05-22 Glenn Morris <rgm@gnu.org>
11309 * info.el (info-emacs-bug): New command.
11310 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
11311 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
11313 2012-05-21 Glenn Morris <rgm@gnu.org>
11315 * makefile.w32-in (update-subdirs-SH):
11316 * Makefile.in (update-subdirs): Update for moved update-subdirs.
11318 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
11320 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
11322 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11323 Simplify Maven regexp, and make sure the file can't start with a space
11326 2012-05-21 Glenn Morris <rgm@gnu.org>
11328 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
11329 Scrap superfluous subshells.
11331 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
11333 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
11334 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
11336 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
11338 * calc/calc.el (calc-ensure-consistent-units): New variable.
11340 * calc/calc-units.el (math-consistent-units-p)
11341 (math-check-unit-consistency): New functions.
11342 (calc-quick-units, calc-convert-units):
11343 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
11345 (calc-extract-units): Fix typo.
11347 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
11349 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
11351 * textmodes/flyspell.el: Commenting style, plus code simplifications.
11352 (flyspell-default-deplacement-commands): Don't spell check after
11353 repeated window/frame switches (e.g. triggered by mouse-movement).
11354 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
11355 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
11356 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
11357 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
11358 Remove unused vars.
11359 (flyspell-get-casechars, flyspell-get-not-casechars):
11360 Simplify; Don't bother removing a ] just to add it back.
11361 * textmodes/ispell.el (ispell-program-name): Use executable-find.
11363 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11365 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
11367 (math-function-table): Add support for more C functions.
11369 2012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11371 * textmodes/flyspell.el (flyspell-check-pre-word-p)
11372 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
11373 Protect delay handling for otherchars against empty otherchars.
11375 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
11377 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
11378 their respective macro declarations.
11379 * skeleton.el (define-skeleton):
11380 * progmodes/compile.el (define-compilation-mode):
11381 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
11382 (define-ibuffer-filter):
11383 * emacs-lisp/generic.el (define-generic-mode):
11384 * emacs-lisp/easy-mmode.el (define-minor-mode)
11385 (define-globalized-minor-mode):
11386 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
11387 * emacs-lisp/byte-run.el (defsubst):
11388 * custom.el (deftheme): Add doc-string metadata.
11390 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11392 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
11394 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11396 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
11398 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
11399 * emacs-lisp/cl-macs.el: Idem.
11400 * emacs-lisp/cl-specs.el: Remove.
11402 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11404 Minor renaming of internal CL functions and variables.
11405 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
11406 (cl--position): Rename from cl-position.
11407 (cl--delete-duplicates): Rename from cl-delete-duplicates.
11408 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
11409 (cl--random-state): Rename from *random-state*.
11411 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11413 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
11414 parens around the arg list (bug#11499).
11416 2012-05-17 Juri Linkov <juri@jurta.org>
11418 * isearch.el (word-search-regexp, word-search-backward)
11419 (word-search-forward, word-search-backward-lax)
11420 (word-search-forward-lax): Move functions from search.c
11421 (bug#10145, bug#11381).
11423 2012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11425 * textmodes/flyspell.el (flyspell-check-pre-word-p)
11426 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
11427 Delay for otherchars as for normal word components.
11429 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
11431 * minibuffer.el (completion--sifn-requote): Fix last change.
11432 (minibuffer-local-must-match-filename-map):
11433 Move define-obsolete-variable-alias before its var.
11435 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
11437 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
11439 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
11441 (completion--string-equal-p): New function.
11442 (completion--twq-all): Use it to get better assertion failure data.
11444 Only handle ".." and '..' quoting in shell-mode (bug#11466).
11445 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
11446 (shell--requote-argument): New functions.
11447 (shell-completion-vars): Use them.
11448 (shell--parse-pcomplete-arguments): Rename from
11449 shell-parse-pcomplete-arguments.
11450 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
11451 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
11452 Obey comint-file-name-quote-list.
11454 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
11455 (smie-indent-keyword): Use it.
11457 2012-05-14 Stefan Merten <smerten@oekonux.de>
11459 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
11461 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
11463 * net/rlogin.el (rlogin-mode-map): Fix last change.
11465 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
11467 * mail/smtpmail.el (smtpmail-send-command): Send the command and
11468 the following \r\n using a single `process-send-string', since the
11469 Lotus SMTP server refuses to accept any commands if they are sent
11470 with two `process-send-string's (Bug#11444).
11472 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
11474 * shell.el (shell-parse-pcomplete-arguments):
11475 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
11477 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
11479 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
11480 (image-transform-scale, image-transform-right-angle-fudge): New vars.
11481 (image-transform-width, image-transform-fit-width): New functions.
11482 (image-transform-properties): Use them.
11483 (image-transform-check-size): New function.
11484 (image-toggle-display-image): Use it (for testing).
11485 (image-transform-set-rotation): Reduce angle mod 360.
11486 Delete obsolete comment.
11488 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
11490 * image-mode.el: Fix scaling (bug#11399).
11491 (image-transform-resize): Doc fix.
11492 (image-transform-properties): Default scale is 1 and height should
11495 2012-05-13 Johan Bockgård <bojohan@gnu.org>
11497 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
11498 than hard-coding `car', to fix misbehavior when moving forward.
11500 2012-05-13 Chong Yidong <cyd@gnu.org>
11502 * emacs-lisp/tabulated-list.el (tabulated-list-format)
11503 (tabulated-list-entries, tabulated-list-padding)
11504 (tabulated-list-sort-key): Make permanent-local.
11506 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
11507 (electric-buffer-list): Put electric buffer menu
11508 command descriptions in this docstring, instead of the docstring
11509 of electric-buffer-menu-mode. Code cleanups.
11510 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
11511 Electric-buffer-menu-mode.
11512 (electric-buffer-update-highlight): Minor code cleanup.
11514 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
11516 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
11519 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
11521 Move define-obsolete-variable-alias before the var's definition.
11522 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
11523 * tooltip.el (tooltip-hook):
11524 * textmodes/reftex-toc.el (reftex-toc-map):
11525 * textmodes/reftex-sel.el (reftex-select-label-map)
11526 (reftex-select-bib-map):
11527 * textmodes/reftex-index.el (reftex-index-map)
11528 (reftex-index-phrases-map):
11529 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
11530 * progmodes/meta-mode.el (meta-mode-map):
11531 * novice.el (disabled-command-hook):
11532 * loadhist.el (unload-hook-features-list):
11533 * frame.el (blink-cursor):
11534 * files.el (find-file-not-found-hooks, write-file-hooks)
11535 (write-contents-hooks):
11536 * emulation/tpu-edt.el (GOLD-map):
11537 * emacs-lock.el (emacs-lock-from-exiting):
11538 * emacs-lisp/generic.el (generic-font-lock-defaults):
11539 * emacs-lisp/chart.el (chart-map):
11540 * dos-fns.el (register-name-alist):
11541 * dired-x.el (dired-omit-files-p):
11542 * desktop.el (desktop-enable):
11543 * cus-edit.el (custom-mode-hook):
11544 * buff-menu.el (buffer-menu-mode-hook):
11545 * bookmark.el (bookmark-read-annotation-text-func)
11546 (bookmark-exit-hooks):
11547 * allout.el (allout-mode-deactivate-hook)
11548 (allout-exposure-change-hook, allout-structure-added-hook)
11549 (allout-structure-deleted-hook, allout-structure-shifted-hook):
11550 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
11551 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
11552 comes before the corresponding variable's definition.
11554 2012-05-12 Chong Yidong <cyd@gnu.org>
11556 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
11557 (Buffer-menu-mouse-select): Restore function (Bug#11459).
11558 (Buffer-menu-mode-map): Bind it.
11559 (Buffer-menu--pretty-name): Add a mouse-face property.
11561 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
11563 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
11564 (prolog-upper-case-string, prolog-lower-case-string)
11565 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
11566 (prolog-use-smie, prolog-smie-grammar): New vars.
11567 (prolog-smie-forward-token, prolog-smie-backward-token)
11568 (prolog-smie-rules): New funs.
11569 (prolog-comment-indent): Remove.
11570 (prolog-mode-variables): Use default comment indentation instead.
11572 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
11573 (prolog-mode): Don't call them any more.
11574 (prolog-electric-colon, prolog-electric-dash)
11575 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
11577 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
11579 * minibuffer.el (completion--twq-all): Again, allow case differences.
11581 * term.el: Move keymap initialization code to be more idiomatic.
11582 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
11583 (term-terminal-menu): Move initialization into declaration.
11584 (term-escape-char): Let the user set it in her .emacs.
11586 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
11587 Provide SMIE-based indentation (not enabled by default yet).
11588 (sh-mode-map): Don't bind electric keys.
11589 Use electric-pair-mode instead of skeleton-pair.
11590 (sh-assignment-regexp): Fit within 80 columns.
11591 (sh-indent-supported): Specify actual shell name instead of boolean.
11592 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
11593 (sh-maybe-here-document): Use it. Make obsolete.
11594 (sh-electric-here-document-mode) New minor mode.
11595 (sh-mode): Use it. Don't set sh-indent-supported-here here.
11596 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
11597 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
11598 (sh-smie-rc-grammar, sh-use-smie): New vars.
11599 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
11600 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
11601 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
11602 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
11603 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
11604 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
11605 (sh-set-shell): Use smie-setup if requested.
11607 * term.el (term-set-escape-char): Properly set term-escape-char.
11608 See http://stackoverflow.com/questions/10524656.
11610 2012-05-10 Chong Yidong <cyd@gnu.org>
11612 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
11613 Use url-generic-parse-url, and handle host names and Windows
11614 filenames properly.
11615 (ffap-url-unwrap-remote): Use url-generic-parse-url.
11616 (ffap-url-unwrap-remote): Accept list values, specifying a list of
11617 URL schemes to work on.
11618 (ffap--toggle-read-only): New function.
11619 (ffap-read-only, ffap-read-only-other-window)
11620 (ffap-read-only-other-frame): Use it.
11621 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
11622 necessary for ffap-url-unwrap-remote.
11624 2012-05-10 Dave Abrahams <dave@boostpro.com>
11626 * cus-start.el (create-lockfiles): Add it.
11628 2012-05-09 Chong Yidong <cyd@gnu.org>
11630 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
11631 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
11633 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
11635 * shell.el (shell-completion-vars): Fix last change (bug#11348).
11637 2012-05-09 Chong Yidong <cyd@gnu.org>
11639 * ansi-color.el (ansi-color-process-output): Check for validity of
11640 comint-last-output-start before using it. This avoids a bad
11641 interaction with gdb-mi's input/output buffer.
11643 2012-05-09 Glenn Morris <rgm@gnu.org>
11645 * files.el (dir-locals-read-from-file):
11646 Mention dir-locals in any error message.
11648 2012-05-09 Chong Yidong <cyd@gnu.org>
11650 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
11651 package (Bug#11410).
11653 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
11654 variables into description.
11656 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
11658 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
11659 shell-delimiter-argument-list (bug#11348).
11660 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
11662 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
11664 * textmodes/rst.el: Silence byte-compiler warnings.
11665 (rst-re-alist, rst-reset-section-caches): Move around.
11666 (rst-re): Use `characterp', not `char-valid-p'.
11667 (font-lock-beg, font-lock-end): Declare.
11669 * progmodes/idlw-shell.el (specs): Remove reference to deleted
11670 variable `idlwave-shell-activate-alt-keybindings' and simplify.
11672 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
11674 2012-05-08 Glenn Morris <rgm@gnu.org>
11676 * files.el (auto-mode-alist): Treat ".make" like ".mk".
11678 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11680 * vc/log-edit.el: Add GNU coding standards highlighting.
11681 (log-edit-font-lock-gnu-style)
11682 (log-edit-font-lock-gnu-keywords): New vars.
11683 (log-edit-font-lock-keywords): New fun.
11684 (log-edit-mode): Don't fold case in font-lock.
11685 (log-edit-font-lock-keywords): Do not assume case-folding.
11687 * imenu.el: Misc cleanup. Make docstrings out of comments.
11688 Use lexical-binding.
11689 (imenu--index-alist, imenu--last-menubar-index-alist)
11690 (imenu-menubar-modified-tick): Use defvar-local.
11691 (imenu--split-menu): Remove unused var.
11692 (imenu--cleanup-seen): Declare as global.
11693 (imenu--cleanup): Use dolist.
11695 * subr.el (defvar-local): Add debug spec and doc-string position.
11697 2012-05-08 Glenn Morris <rgm@gnu.org>
11699 * language/burmese.el, language/cham.el, language/czech.el:
11700 * language/english.el, language/georgian.el, language/greek.el:
11701 * language/japanese.el, language/khmer.el, language/korean.el:
11702 * language/lao.el, language/misc-lang.el, language/romanian.el:
11703 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
11704 * language/thai.el, language/utf-8-lang.el:
11705 Remove no-byte-compile setting.
11707 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
11709 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
11711 * progmodes/make-mode.el (makefile-browse):
11712 Remove unnecessary interactive. (Bug#11324)
11714 2012-05-07 Glenn Morris <rgm@gnu.org>
11716 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
11718 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
11720 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
11722 * loadup.el: Preload newcomment.el.
11723 * newcomment.el: Move autoload-only code to toplevel.
11725 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
11726 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
11727 Handle new :right-align column property.
11728 (tabulated-list-print-col): Idem, plus use `display' text-property to
11729 try and preserve alignment for variable pitch fonts.
11731 2012-05-07 Chong Yidong <cyd@gnu.org>
11733 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
11734 (tabulated-list-use-header-line): New var.
11735 (tabulated-list-init-header): Use it.
11736 (tabulated-list-print-fake-header): New function.
11737 (tabulated-list-print): Use it.
11738 (tabulated-list-sort-button-map): Add non-header-line commands.
11739 (tabulated-list-init-header): Add column name property to basic
11741 (tabulated-list-col-sort): Handle non-header-line button case.
11742 (tabulated-list--sort-by-column-name): Fix a corner case.
11744 * buff-menu.el (list-buffers--refresh):
11745 Handle Buffer-menu-use-header-line.
11747 2012-05-06 Chong Yidong <cyd@gnu.org>
11749 * buff-menu.el: Convert to Tabulated List mode.
11750 (Buffer-menu-buffer+size-width): Make obsolete.
11751 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
11752 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
11753 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
11754 documentation into docstring of buffer-menu.
11755 (Buffer-menu-toggle-files-only): Add an informative message.
11756 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
11757 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
11758 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
11759 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
11760 (Buffer-menu-execute, Buffer-menu-select)
11761 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
11762 (Buffer-menu-bury): Use Tabulated List machinery.
11763 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
11764 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
11766 (list-buffers--refresh): New function.
11767 (list-buffers-noselect): Use it.
11768 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
11769 (Buffer-menu--pretty-file-name): New helper functions.
11771 * loadup.el: Preload tabulated-list.
11773 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
11774 tabulated-list-sort-column.
11775 (tabulated-list-init-header): Add the initial aligning space even
11776 if tabulated-list-padding is zero.
11778 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
11780 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
11781 whose cdr is not a cons cell correctly (bug#11038).
11783 2012-05-06 Chong Yidong <cyd@gnu.org>
11785 * emacs-lisp/tabulated-list.el (tabulated-list-format):
11786 Accept additional plist in column descriptors.
11787 (tabulated-list-init-header): Obey it.
11788 (tabulated-list-get-entry): New function.
11789 (tabulated-list-put-tag): Use it. Use string-width instead of
11791 (tabulated-list--column-number): New function.
11792 (tabulated-list-print): Use it.
11793 (tabulated-list-print-col): New function.
11794 Set `tabulated-list-column-name' property on each column's text.
11795 (tabulated-list-print-entry): Use it.
11796 (tabulated-list-delete-entry, tabulated-list-set-col):
11798 (tabulated-list-sort-column): New command (Bug#11337).
11800 * buff-menu.el (list-buffers): Move C-x C-b binding from
11801 buff-menu.el to bindings.el.
11803 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
11804 :advertised-binding feature.
11806 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
11808 * progmodes/compile.el (compilation-internal-error-properties):
11809 Calculate start position correctly when end-col is set but
11810 end-line is not (Bug#11382).
11812 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
11814 * man.el (Man-unindent): Use text-property-default-nonsticky to
11815 prevent untabify from inheriting face properties (Bug#11408).
11817 2012-05-05 Stefan Merten <smerten@oekonux.de>
11819 * textmodes/rst.el: Major merge with upstream development up to
11820 Docutils SVN r7399 / rst.el V1.2.1.
11822 Clarify maintainership and authors.
11824 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
11825 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
11826 (rst-official-version, rst-official-cvs-rev, rst-version)
11827 (rst-package-emacs-version-alist): New functions and variables
11828 for version information.
11830 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
11831 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
11832 (rst-mode-syntax-table, rst-mode): New and corrected functions
11833 and variables representing reStructuredText features.
11835 (rst-re): New function for reStructuredText regexes. Use in
11838 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
11839 (rst-mode-map): Rebind keys.
11841 (rst-mode-lazy, rst-font-lock-keywords)
11842 (rst-font-lock-extend-region)
11843 (rst-font-lock-extend-region-internal)
11844 (rst-font-lock-extend-region-extend)
11845 (rst-font-lock-find-unindented-line-limit)
11846 (rst-font-lock-find-unindented-line-match)
11847 (rst-adornment-level, rst-font-lock-adornment-level)
11848 (rst-font-lock-adornment-match)
11849 (rst-font-lock-handle-adornment-pre-match-form)
11850 (rst-font-lock-handle-adornment-matcher): Major revision of
11851 font-locking. Integrate with other code. Use `jit-lock-mode'.
11853 (rst-preferred-adornments, rst-adjust-hook)
11854 (rst-new-adornment-down, rst-preferred-bullets)
11855 (rst-preferred-bullets, rst-indent, rst-indent-width)
11856 (rst-indent-field, rst-indent-literal-normal)
11857 (rst-indent-literal-minimized, rst-indent-comment): Change,
11858 extend and improve customization.
11860 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
11861 (rst-normalize-cursor-position, rst-get-decoration)
11862 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
11863 (rst-rstrip, rst-toc-insert-find-delete-contents)
11864 (rst-shift-fill-region, rst-compute-bullet-tabs)
11865 (rst-debug-print-tabs, rst-debug-mark-found)
11866 (rst-shift-region-guts, rst-shift-region-right)
11867 (rst-shift-region-left, rst-use-char-classes)
11868 (rst-font-lock-keywords-function)
11869 (rst-font-lock-indentation-point)
11870 (rst-font-lock-find-unindented-line-begin)
11871 (rst-font-lock-find-unindented-line-end)
11872 (rst-font-lock-find-unindented-line)
11873 (rst-font-lock-adornment-point, rst-font-lock-level)
11874 (rst-adornment-level-alist): Remove functions and variables.
11876 (rst-compare-adornments, rst-get-adornment-match)
11877 (rst-suggest-new-adornment, rst-get-adornments-around)
11878 (rst-adornment-complete-p, rst-get-next-adornment)
11879 (rst-adjust-adornment, rst-display-adornments-hierarchy)
11880 (rst-straighten-adornments): Standardize function names to
11881 use "adornment" instead of "decoration". Correct callers.
11882 Similar standardizing in many places.
11884 (rst-update-section, rst-adjust, rst-promote-region)
11885 (rst-enumerate-region, rst-bullet-list-region)
11886 (rst-repeat-last-character): Correct use of `interactive'.
11888 (rst-classify-adornment, rst-find-all-adornments)
11889 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
11890 (rst-find-leftmost-column, rst-repeat-last-character):
11891 Refactor functions.
11893 (rst-find-title-line, rst-reset-section-caches)
11894 (rst-get-adornments-around, rst-adjust-adornment-work)
11895 (rst-arabic-to-roman, rst-roman-to-arabic)
11896 (rst-insert-list-pos, rst-insert-list-new-item)
11897 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
11900 (rst-all-sections, rst-section-hierarchy)
11901 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
11904 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
11905 configuration instead of only buffer. Change where necessary.
11907 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
11908 (rst-shift-region, rst-adaptive-fill): New functions for
11909 indentation and filling.
11911 (rst-comment-line-break, rst-comment-indent)
11912 (rst-comment-insert-comment, rst-comment-region)
11913 (rst-uncomment-region): New functions for handling comments.
11915 (rst-compile): Quote shell arguments.
11917 (rst-compile-pdf-preview, rst-compile-slides-preview):
11918 Delete temporary files after use.
11920 2012-05-05 Glenn Morris <rgm@gnu.org>
11922 * calendar/cal-html.el: Optionally include holidays in the output.
11923 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
11924 (cal-html-holidays): New option.
11925 (cal-html-css-default): Add holiday entry.
11926 (holiday-in-range): Autoload it.
11927 (cal-html-htmlify-entry): Add optional class argument.
11928 (cal-html-htmlify-list): Add optional holidays argument.
11929 (cal-html-insert-agenda-days): Include holidays in the output.
11930 (cal-html-one-month): Maybe include holidays.
11932 * calendar/holidays.el (holiday-in-range):
11933 Move here from cal-tex-list-holidays.
11934 * calendar/cal-tex.el (cal-tex-list-holidays):
11935 Make it an obsolete alias for holiday-in-range. Update all callers.
11937 2012-05-05 Chong Yidong <cyd@gnu.org>
11939 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
11942 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
11944 * files.el (file-auto-mode-skip): New var.
11945 (set-auto-mode-1): Use it.
11947 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
11949 * repeat.el: Use lexical-binding.
11950 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
11951 (repeat-undo-count): Remove.
11953 * progmodes/octave-mod.el (octave-abbrev-start):
11954 * progmodes/f90.el (f90-abbrev-start):
11955 * face-remap.el (text-scale-adjust):
11956 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
11958 * emacs-lisp/pcase.el (pcase--let*): New function.
11959 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
11961 (pcase--split-pred): Be more clever about ruling out overlap between
11962 a predicate and some constant pattern.
11963 (pcase--q1): Use `null' instead of (eq foo nil).
11965 * subr.el (setq-local, defvar-local): New macros.
11966 (kbd): Redefine as an alias.
11967 (with-selected-window): Leave unrelated frames alone.
11968 (set-temporary-overlay-map): New function.
11970 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
11972 * subr.el (user-error): New function.
11973 * window.el (switch-to-buffer):
11974 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
11975 (smerge-match-conflict):
11976 * simple.el (previous-matching-history-element)
11977 (next-matching-history-element, goto-history-element, undo-more)
11979 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
11980 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
11981 (next-file, tags-loop-scan, list-tags, complete-tag):
11982 * progmodes/compile.el (compilation-loop):
11983 * mouse.el (mouse-minibuffer-check):
11984 * man.el (Man-bgproc-sentinel, Man-goto-page):
11985 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
11986 (Info-history-forward, Info-follow-reference, Info-menu)
11987 (Info-extract-menu-item, Info-extract-menu-counting)
11988 (Info-forward-node, Info-backward-node, Info-next-menu-item)
11989 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
11990 (Info-next-reference, Info-prev-reference, Info-index)
11991 (Info-index-next, Info-follow-nearest-node)
11992 (Info-copy-current-node-name):
11993 * imenu.el (imenu--make-index-alist)
11994 (imenu-default-create-index-function, imenu-add-to-menubar):
11995 * files.el (basic-save-buffer, recover-file):
11996 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
11997 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
11998 (checkdoc-message-text, checkdoc-defun):
11999 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
12000 * cus-edit.el (customize-changed-options, customize-rogue)
12001 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
12002 (custom-variable-mark-to-reset-standard)
12003 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
12005 * completion.el (check-completion-length):
12006 * comint.el (comint-search-arg)
12007 (comint-previous-matching-input-string-position)
12008 (comint-previous-matching-input)
12009 (comint-replace-by-expanded-history-before-point, comint-send-input)
12010 (comint-copy-old-input, comint-backward-matching-input)
12011 (comint-goto-process-mark, comint-set-process-mark):
12012 * calendar/calendar.el (calendar-cursor-to-date): Use it.
12013 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
12015 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
12017 * dabbrev.el (dabbrev--ignore-case-p): New function.
12018 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
12021 * files.el (automount-dir-prefix): Mark as obsolete.
12023 2012-05-04 Glenn Morris <rgm@gnu.org>
12025 * patcomp.el, play/bruce.el: Move to obsolete/.
12027 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
12029 Fix minor Y10k bugs.
12030 * arc-mode.el (archive-unixdate):
12031 * autoinsert.el (auto-insert-alist):
12032 * calc/calc-forms.el (math-this-year):
12033 * emacs-lisp/copyright.el (copyright-current-year)
12034 (copyright-update-year, copyright):
12035 * tar-mode.el (tar-clip-time-string):
12036 * time.el (display-time-update):
12037 Don't assume years have 4 digits.
12039 2012-05-04 Chong Yidong <cyd@gnu.org>
12041 * dos-w32.el (file-name-buffer-file-type-alist)
12042 (direct-print-region-use-command-dot-com):
12043 * ffap.el (ffap-menu-regexp):
12044 * find-file.el (ff-special-constructs):
12045 * follow.el (follow-debug):
12046 * forms.el (forms--debug):
12047 * iswitchb.el (iswitchb-all-frames):
12048 * ido.el (ido-all-frames):
12049 * emacs-lisp/timer.el (timer-max-repeats):
12050 * mail/feedmail.el (feedmail-mail-send-hook)
12051 (feedmail-mail-send-hook-queued):
12052 * mail/footnote.el (footnote-signature-separator):
12053 * mail/mailabbrev.el (mail-alias-separator-string)
12054 (mail-abbrev-mode-regexp):
12055 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
12056 * progmodes/idlwave.el (idlwave-libinfo-file)
12057 (idlwave-default-completion-case-is-down)
12058 (idlwave-library-routines): Convert defvars to defcustoms.
12060 * mail/rmail.el (rmail-decode-mime-charset):
12061 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
12062 (idlwave-shell-fix-inserted-breaks)
12063 (idlwave-shell-activate-alt-keybindings)
12064 (idlwave-shell-use-breakpoint-glyph):
12065 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
12067 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
12069 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
12071 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
12073 * progmodes/verilog-mode.el (font-lock-keywords):
12074 Fix mis-highligting auto. Reported by Craig Barner.
12075 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
12076 defines from global name space. Reported by Dan Dever.
12077 (verilog-auto-reset, verilog-auto-reset-widths)
12078 (verilog-auto-tieoff): Support using unbased numbers for
12079 AUTORESET and AUTOTIEOFF.
12080 (verilog-submit-bug-report): Update variable list.
12081 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
12082 parenthesis from not matching. Reported by Michael Rytting.
12083 (verilog-auto-template-lint): Fix hash error when linting modules
12084 with no used templates.
12085 (verilog-warn, verilog-warn-error)
12086 (verilog-warn-fatal): When non-interactive report multiple
12087 warnings before exiting. Suggested by Brad Dobbie.
12088 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
12089 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
12090 to report unused template errors. Reported by Brad Dobbie.
12091 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
12092 nets, bug438. Reported by Vns Blore.
12093 (verilog-auto-inout-module, verilog-auto-reg)
12094 (verilog-read-decls, verilog-read-sub-decls-sig)
12095 (verilog-signals-edit-wire-reg, verilog-signals-with):
12096 Fix passing of Verilog data types in ANSI input/output ports
12097 such as "output logic" into the AUTOs. Special case "wire" and
12098 "reg" for backwards compatibility presuming Verilog 2001.
12099 (verilog-auto-ascii-enum): Add "auto enum" as alias.
12100 (verilog-preprocess): Fix replication of preprocess output.
12101 Reported by Brad Dobbie.
12102 (verilog-auto-inst-interfaced-ports):
12103 Create verilog-auto-inst-interfaced-ports, bug429.
12104 Reported by Julian Gorfajn.
12105 (verilog-after-save-font-hook)
12106 (verilog-before-save-font-hook): New variable.
12107 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
12108 (verilog-save-font-mods): Wrap disabling fontification, reported
12110 (verilog-do-indent, verilog-pretty-declarations-auto)
12111 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
12112 Reported by Pierre-David Pfister.
12113 (verilog-set-auto-endcomments): Fix endtask auto comments outside
12114 of class declarations, bug292. Reported by Kevin Heilman.
12115 (verilog-read-decls): Fix 'parameter type' not appearing in
12116 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
12117 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
12118 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
12119 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
12120 Reported by David Kravitz.
12122 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
12124 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
12125 assignment with tests in ifs and for loops.
12126 (verilog-extended-complete-re, verilog-complete-reg): Change so
12127 that DPI inport functions don't look like fuction declarations.
12128 (verilog-pretty-expr): Don't line up assignment
12129 operations to the test and increment in if and for loops
12130 (verilog-extended-complete-re, verilog-complete-reg): Change so
12131 that DPI inport functions don't look like fuction declarations.
12133 2012-05-03 Kenichi Handa <handa@m17n.org>
12135 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
12136 decoding, and show a warning message without signaling an error
12139 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
12141 * emacs-lisp/bytecomp.el
12142 (byte-compile-file-form-custom-declare-variable): Compile all elements,
12143 since cconv.el might have introduced :fun-body, internal-make-closure,
12144 and friends for bytecomp to handle (bug#11391).
12145 * custom.el (defcustom): Avoid ((λ ..) ..).
12147 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
12149 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
12151 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
12153 * notifications.el (dbus-debug):
12154 * term/linux.el (gpm-mouse-enable):
12155 * term/screen.el (xterm-register-default-colors): Declare.
12157 2012-05-02 Chong Yidong <cyd@gnu.org>
12159 * cus-start.el (gc-cons-percentage, exec-suffixes)
12160 (dos-display-scancodes, dos-hyper-key, dos-super-key)
12161 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
12162 (make-cursor-line-fully-visible, void-text-area-pointer)
12163 (font-list-limit): Add customization data.
12165 * allout.el (allout-exposure-change-functions)
12166 (allout-structure-added-functions)
12167 (allout-structure-deleted-functions)
12168 (allout-structure-shifted-functions): Rename abnormal hooks from
12169 *-hook, and convert to defcustoms.
12170 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
12171 Convert to defcustoms.
12172 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
12174 * allout-widgets.el: Hook callers changed.
12176 2012-05-02 Eli Zaretskii <eliz@gnu.org>
12178 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
12179 the yanked message in preference to the default value of
12180 buffer-file-coding-system.
12182 2012-05-02 Martin Rudalics <rudalics@gmx.at>
12184 * window.el (display-buffer--action-function-custom-type):
12187 2012-05-02 Alan Mackenzie <acm@muc.de>
12189 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
12191 2012-05-01 Glenn Morris <rgm@gnu.org>
12193 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
12195 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
12197 * cus-edit.el (custom-variable-documentation): Simplify with format.
12199 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
12200 Stefan Monnier <monnier@iro.umontreal.ca>
12202 * simple.el (suggest-key-bindings, execute-extended-command):
12203 Move from keyboard.c.
12205 2012-05-01 Chong Yidong <cyd@gnu.org>
12207 * follow.el: Eliminate advice.
12208 (set-process-filter, process-filter, sit-for): Advice deleted.
12209 (follow-mode-off-hook): Obsolete hook removed.
12210 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
12212 (follow-auto): Use a :set function.
12213 (follow-mode): Rewritten. Don't advise process filters.
12214 (follow-switch-to-current-buffer-all, follow-scroll-up)
12215 (follow-scroll-down): Assume follow-mode is bound.
12216 (follow-comint-scroll-to-bottom)
12217 (follow-align-compilation-windows): New functions.
12218 (follow--window-sorter): New function.
12219 (follow-all-followers): Use it to explicitly sort windows by their
12220 positions; don't make assumptions about next-window order.
12221 (follow-windows-start-end, follow-delete-other-windows-and-split)
12222 (follow-calc-win-start): Doc fix.
12223 (follow-windows-aligned-p, follow-select-if-visible): Don't call
12224 vertical-motion unnecessarily.
12225 (follow-adjust-window): New function.
12226 (follow-post-command-hook): Use it.
12227 (follow-call-set-process-filter, follow-call-process-filter)
12228 (follow-intercept-process-output, follow-tidy-process-filter-alist)
12229 (follow-stop-intercept-process-output, follow-generic-filter):
12231 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
12232 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
12233 New functions, replacing advice on scroll-bar-* commands.
12234 (follow-mwheel-scroll): New function (Bug#4112).
12236 * comint.el (comint-adjust-point): New function.
12237 (comint-postoutput-scroll-to-bottom): Use it.
12238 Call follow-comint-scroll-to-bottom for Follow mode buffers.
12240 2012-05-01 Glenn Morris <rgm@gnu.org>
12242 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
12243 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
12244 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
12245 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
12246 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
12247 Remove no-byte-compile setting.
12249 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
12251 * minibuffer.el (completion-table-with-quoting): Fix compatibility
12252 all-completions code to not return a number in the last cdr.
12254 2012-04-30 Leo Liu <sdl.web@gmail.com>
12256 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
12259 2012-04-29 Chong Yidong <cyd@gnu.org>
12261 * follow.el (follow-calc-win-end): Rewrite to handle partial
12262 screen lines correctly (Bug#8390).
12263 (follow-avoid-tail-recenter): Minor cleanup.
12265 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
12267 Avoid the obsolete `assoc' package.
12268 * speedbar.el (speedbar-refresh): Avoid adelete.
12269 (speedbar-file-lists): Simplify and avoid aput.
12270 * man.el (Man--sections, Man--refpages): New vars, replacing
12271 Man-sections-alist and Man-refpages-alist.
12272 (Man-build-section-alist, Man-build-references-alist):
12273 Use them; avoid aput.
12274 (Man--last-section, Man--last-refpage): New vars.
12275 (Man-follow-manual-reference): Use them.
12276 Use the `default' arg of completing-read.
12277 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
12279 2012-04-27 Chong Yidong <cyd@gnu.org>
12281 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
12283 * startup.el (x-apply-session-resources): New function.
12285 * term/ns-win.el (ns-initialize-window-system):
12286 * term/w32-win.el (w32-initialize-window-system):
12287 * term/x-win.el (x-initialize-window-system): Use it to properly
12288 set menu-bar-mode and other vars from X resources, even if the
12289 initial frame is not a window-system frame (Bug#2299).
12291 * subr.el (read-key): Avoid running filter function when setting
12292 up temporary tool bar entries (Bug#9922).
12294 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
12296 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
12299 2012-04-27 Chong Yidong <cyd@gnu.org>
12301 * select.el (xselect--encode-string): New function, split from
12302 xselect-convert-to-string.
12303 (xselect-convert-to-string): Use it.
12304 (xselect-convert-to-filename, xselect-convert-to-os)
12305 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
12306 returned strings are properly encoded (Bug#11315).
12308 2012-04-27 Chong Yidong <cyd@gnu.org>
12310 * simple.el (delete-active-region): Move to killing custom group.
12312 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
12314 * progmodes/which-func.el (which-func-current): Quote %
12315 characters for mode-line processing.
12317 2012-04-27 Chong Yidong <cyd@gnu.org>
12319 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
12320 reaching eob (Bug#11286).
12322 2012-04-27 Eli Zaretskii <eliz@gnu.org>
12324 * progmodes/gdb-mi.el (gdb-control-level): New variable.
12325 (gdb): Make it buffer-local and init to zero.
12326 (gdb-control-commands-regexp): New variable.
12327 (gdb-send): Don't wrap in "-interpreter-exec console" if
12328 gdb-control-level is positive. Increment gdb-control-level
12329 whenever the command matches gdb-control-commands-regexp, and
12330 decrement it each time the command is "end". (Bug#11279)
12332 2012-04-27 Martin Rudalics <rudalics@gmx.at>
12334 * window.el (adjust-window-trailing-edge, enlarge-window)
12335 (shrink-window, window-resize):
12336 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
12337 windows (Bug#11276).
12339 2012-04-27 Chong Yidong <cyd@gnu.org>
12341 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
12342 fix "missing prefix" warning. All callers changed.
12344 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
12346 * emacs-lisp/assoc.el: Move to obsolete/.
12348 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
12350 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
12352 * term/ns-win.el (ns-define-service):
12353 * progmodes/pascal.el (pascal-goto-defun):
12354 * progmodes/js.el (js--read-tab):
12355 * progmodes/etags.el (tags-lazy-completion-table):
12356 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
12357 * emacs-lisp/ewoc.el (ewoc--wrap):
12358 * emacs-lisp/assoc.el (aput, adelete, amake):
12359 * doc-view.el (doc-view-convert-current-doc):
12360 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
12362 2012-04-26 Chong Yidong <cyd@gnu.org>
12364 * image.el (image-type-from-buffer): Only return supported image
12367 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
12368 value, for symmetry with diff-end-of-hunk.
12369 (diff-split-hunk, diff-find-source-location)
12370 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
12371 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
12372 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
12373 compute the relevant hunk or file properly (Bug#6005).
12374 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
12376 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
12385 * vc/vc.el: Replace lexical-let by lexical-binding.
12386 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
12387 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
12388 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
12390 2012-04-26 Chong Yidong <cyd@gnu.org>
12392 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
12393 (diff-mode-shared-map): Bind it to / and [remap undo].
12395 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
12396 (ediff-window-setup-function): Use it as the default, to set up
12397 windows based on whether the current frame is graphical (Bug#2138).
12398 (ediff-choose-window-setup-function-automatically): Make obsolete.
12400 * vc/ediff-init.el: Always define ediff-pixel-width/height.
12402 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12404 * ffap.el: Remove old code for obsolete package.
12405 (ffap-complete-as-file-p): Remove.
12407 Use completion-table-with-quoting for comint and pcomplete.
12408 * comint.el (comint--unquote&requote-argument)
12409 (comint--unquote-argument, comint--requote-argument): New functions.
12410 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
12411 (comint-quote-filename): Use regexp-opt-charset.
12412 (comint--common-suffix, comint--common-quoted-suffix)
12413 (comint--table-subvert): Remove.
12414 (comint-unquote-function, comint-requote-function): New vars.
12415 (comint--complete-file-name-data): Use them with
12416 completion-table-with-quoting.
12417 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
12418 * pcomplete.el (pcomplete-arg-quote-list)
12419 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
12420 (pcomplete-unquote-argument-function): Default to non-nil.
12421 (pcomplete-unquote-argument): Simplify.
12422 (pcomplete--common-quoted-suffix): Remove.
12423 (pcomplete-requote-argument-function): New var.
12424 (pcomplete--common-suffix): New function.
12425 (pcomplete-completions-at-point): Use completion-table-with-quoting
12426 and completion-table-subvert.
12428 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
12429 (minibuffer--double-dollars): Preserve properties.
12430 (completion--sifn-requote): New function.
12431 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
12433 * minibuffer.el: Add support for completion of quoted/escaped data.
12434 (completion-table-with-quoting, completion-table-subvert): New funs.
12435 (completion--twq-try, completion--twq-all): New functions.
12436 (completion--nth-completion): New function.
12437 (completion-try-completion, completion-all-completions): Use it.
12439 2012-04-25 Leo Liu <sdl.web@gmail.com>
12441 * progmodes/python.el (python-pdbtrack-get-source-buffer):
12442 Use compilation-message if available to find real filename.
12444 2012-04-25 Chong Yidong <cyd@gnu.org>
12446 * vc/diff-mode.el (diff-setup-whitespace): New function.
12447 (diff-mode): Use it.
12449 * vc/diff.el (diff-sentinel):
12450 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
12451 Whitespace mode variables based on diff style (Bug#8612).
12453 2012-04-25 Leo Liu <sdl.web@gmail.com>
12455 * progmodes/python.el (python-send-region): Add suffix .py to the
12458 * files.el (auto-mode-alist): Use javascript-mode instead.
12460 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
12462 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
12464 * net/soap-client.el (soap-resolve-references-for-sequence-type)
12465 (soap-resolve-references-for-array-type): Hack to prevent self
12466 references, see Bug#9.
12467 (soap-parse-envelope): Report the contents of the 'detail' node
12468 when receiving a fault reply.
12469 (soap-parse-envelope): Report the contents of the entire 'detail' node.
12471 * net/soap-inspect.el (soap-sample-value-for-simple-type)
12472 (soap-inspect-simple-type): New function.
12474 * net/soap-client.el (soap-simple-type): New struct.
12475 (soap-default-xsd-types, soap-default-soapenc-types)
12476 (soap-decode-basic-type, soap-encode-basic-type):
12477 support unsignedInt and double basic types.
12478 (soap-resolve-references-for-simple-type)
12479 (soap-parse-simple-type, soap-encode-simple-type): New function.
12480 (soap-parse-schema): Parse xsd:simpleType declarations.
12482 * net/soap-client.el (soap-default-xsd-types)
12483 (soap-default-soapenc-types): Add integer, byte and anyURI types.
12484 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
12485 the local name of "soapenc:Array".
12486 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
12487 decoding integer, byte and anyURI xsd types.
12489 2012-04-25 Chong Yidong <cyd@gnu.org>
12491 * cus-edit.el (custom-buffer-create-internal): Update header text.
12493 2012-04-25 Eli Zaretskii <eliz@gnu.org>
12495 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
12496 settings on 'system-type', not on 'window-system'. On MS-Windows,
12497 set interactive-mode on in GDB.
12499 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
12501 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
12502 (ruby-syntax-propertize-regexp): Remove.
12503 (ruby-syntax-propertize-function): Split regexp into chunks.
12504 Match following code directly.
12506 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
12508 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
12509 (ruby-syntax-propertize-regexp): New function.
12510 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
12511 by a special keyword.
12513 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
12514 (ruby-syntax-general-delimiters-goto-beg)
12515 (ruby-syntax-propertize-general-delimiters): New functions.
12516 (ruby-syntax-propertize-function): Use them to handle GDL.
12517 (ruby-font-lock-keywords): Move old handling of GDL...
12518 (ruby-font-lock-syntactic-keywords): .. to here.
12519 (ruby-calculate-indent): Adjust indentation for GDL.
12521 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
12523 * notifications.el (top): Remove unneeded declarations.
12524 (notifications-specification-version): Change to "1.2".
12525 (notifications-interface, notifications-notify-method)
12526 (notifications-close-notification-method): Fix docstring.
12527 (notifications-get-capabilities-method): New defconst.
12528 (notifications-notify): Add :action-items, :resident and
12529 :transient hints. Change "image_data" to "image-data" and
12530 "image_path" to "image-path".
12531 (notifications-get-capabilities): New defun.
12533 2012-04-24 Leo Liu <sdl.web@gmail.com>
12535 * progmodes/python.el: Move hideshow setup to the end.
12537 2012-04-24 Martin Rudalics <rudalics@gmx.at>
12539 * window.el (handle-select-window): Clear echo area since this is
12540 no more done by read_char (Bug#11304).
12542 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
12544 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
12545 and `/ M' to filter-derived-mode.
12546 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
12547 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
12548 (ibuffer-mark-by-mode): Use default rather than initial-input.
12549 (ibuffer-filter-by-derived-mode): Autoload and require-match.
12551 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
12553 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
12554 (ibuffer-filter-by-derived-mode): New filter.
12555 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
12557 2012-04-23 Andreas Politz <politza@fh-trier.de>
12559 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
12561 2012-04-23 Chong Yidong <cyd@gnu.org>
12563 * cus-edit.el (customize-apropos, customize-apropos-options):
12564 Disable matching of non-option variables (Bug#11176).
12565 (customize-option, customize-option-other-window)
12566 (customize-changed-options): Doc fix.
12567 (customize-apropos-options, customize-apropos-faces)
12568 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
12570 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
12571 Fix word list splitting (Bug#11132).
12572 (apropos-symbol, apropos-keybinding, apropos-label)
12573 (apropos-property, apropos-function-button)
12574 (apropos-variable-button, apropos-misc-button): New faces.
12575 (apropos-symbol-face, apropos-keybinding-face)
12576 (apropos-label-face, apropos-property-face, apropos-match-face):
12577 Variables removed (Bug#8396).
12578 (apropos-library-button, apropos-format-plist, apropos-print)
12579 (apropos-print-doc, apropos-describe-plist): Callers changed.
12581 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
12583 * net/xesam.el (xesam-mode-map): Use let-bound map in
12584 initialization. (Bug#11292)
12586 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12588 Preserve ispell session localwords when switching back to
12591 * textmodes/ispell.el (ispell-buffer-session-localwords):
12592 New buffer-local variable to hold buffer session localwords.
12593 (ispell-kill-ispell): Add option 'clear to delete session
12595 (ispell-command-loop, ispell-change-dictionary)
12596 (ispell-buffer-local-words): Preserve session localwords when
12599 * textmodes/flyspell.el (flyspell-process-localwords)
12600 (flyspell-do-correct): Preserve session localwords when needed.
12602 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12604 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
12605 using obsolete `translation-table-for-input'.
12606 (ispell-word, ispell-process-line, ispell-complete-word):
12607 Use plain `insert' instead of removed `ispell-insert-word'.
12609 2012-04-22 Chong Yidong <cyd@gnu.org>
12611 * cus-edit.el (custom-variable-menu)
12612 (custom-variable-reset-saved, custom-face-menu)
12613 (custom-face-reset-saved): If there is no saved value, make the
12614 "reset-saved" operation bring back the default (Bug#9509).
12615 (custom-face-state): Properly detect themed faces.
12617 * faces.el (face-spec-set): Stop supporting deprecated form of
12620 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
12622 Move functions from C to Lisp. Make non-blocking method calls
12623 the default. Implement further D-Bus standard interfaces.
12625 * net/dbus.el (dbus-message-internal): Declare function.
12626 Remove unneeded function declarations.
12627 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
12628 (dbus-message-type-method-return, dbus-message-type-error)
12629 (dbus-message-type-signal): Declare variables. Remove local
12631 (dbus-interface-dbus, dbus-interface-peer)
12632 (dbus-interface-introspectable, dbus-interface-properties)
12633 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
12635 (dbus-interface-objectmanager): New defconst.
12636 (dbus-call-method, dbus-call-method-asynchronously)
12637 (dbus-send-signal, dbus-method-return-internal)
12638 (dbus-method-error-internal, dbus-register-service)
12639 (dbus-register-signal, dbus-register-method): New defuns, moved
12641 (dbus-call-method-handler, dbus-setenv)
12642 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
12644 (dbus-call-method-non-blocking): Make it an obsolete function.
12645 (dbus-unregister-object, dbus-unregister-service)
12646 (dbus-handle-event, dbus-register-property)
12647 (dbus-property-handler): Obey the new structure of
12648 `bus-registered-objects'.
12649 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
12650 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
12651 Use `dbus-call-method'.
12653 2012-04-22 Chong Yidong <cyd@gnu.org>
12655 * cus-edit.el (custom-commands, custom-reset-menu)
12656 (Custom-reset-standard): Tweak labels.
12657 (custom-reset-button-menu): Change default to t.
12658 (custom-buffer-create-internal): For the custom-reset-button-menu
12659 case, put the revert button first.
12660 (custom-group-subtitle): New face.
12661 (custom-group-value-create): Align docstring to a specific column.
12663 * wid-edit.el (widget-documentation-link-add): Don't handle
12664 indentation in this function.
12665 (widget-documentation-string-indent-to): New function.
12666 (widget-documentation-string-value-create): Use it.
12668 * autorevert.el (auto-revert):
12669 * epg-config.el (epg):
12670 * ibuffer.el (ibuffer):
12673 * eshell/eshell.el (eshell):
12674 * net/ange-ftp.el (ange-ftp):
12675 * progmodes/ebnf2ps.el (postscript):
12676 * progmodes/flymake.el (flymake):
12677 * progmodes/prolog.el (prolog):
12678 * progmodes/verilog-mode.el (verilog-mode):
12679 * progmodes/which-func.el (which-func):
12680 * term/xterm.el (xterm):
12681 * textmodes/picture.el (picture):
12682 * textmodes/tildify.el (tildify):
12683 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
12684 customization buffers.
12686 2012-04-22 Alan Mackenzie <acm@muc.de>
12688 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
12689 Adding a ) can hide the resulting (..) from searches. Fix it.
12690 Bound the backward search to the position of the existing (.
12692 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
12694 * progmodes/verilog-mode.el (verilog-mode): Check whether
12695 which-func-modes is t before adding verilog-mode.
12696 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
12698 2012-04-21 Leo Liu <sdl.web@gmail.com>
12700 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
12702 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
12704 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
12705 filling of the last column of a table (Bug#5635).
12706 (woman-find-next-control-line): New arg, specifying an additional
12707 regexp component for the control line.
12708 (woman2-roff-buffer): Use it.
12709 (woman-break-table): New function.
12710 (woman2-TS): Use it.
12712 2012-04-21 Chong Yidong <cyd@gnu.org>
12714 * woman.el (woman-set-buffer-display-table, woman-decode-region)
12715 (woman-horizontal-escapes, woman-negative-vertical-space)
12716 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
12717 (WoMan-warn-ignored): Use ?\s instead of ?\ .
12719 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
12721 * minibuffer.el (completion-file-name-table): Complete user names.
12723 2012-04-20 Leo Liu <sdl.web@gmail.com>
12725 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
12728 2012-04-20 Chong Yidong <cyd@gnu.org>
12730 * server.el (server-execute): Respect initial-buffer-choice if it
12731 is a string and there are no files to open (Bug#2825).
12732 (server-create-window-system-frame, server-create-tty-frame):
12733 Don't switch buffers here.
12734 (server-process-filter): Only try to open a window system frame if
12735 compiled with graphical support (Bug#8314).
12737 2012-04-20 Dan Nicolaescu <dann@gnu.org>
12739 * battery.el (battery-echo-area-format): Display remaining time
12740 for sysfs backend too (Bug#11269).
12741 (battery-linux-sysfs): Fix conditional for the charge.
12743 2012-04-20 Chong Yidong <cyd@gnu.org>
12745 * progmodes/gdb-mi.el (gdb): Revert previous change.
12746 (gdb-inferior-io--init-proc): New function.
12747 (gdb-init-1): Use it.
12748 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
12749 responsible for allocating a new pty and hooking it to gdb when
12750 the old pty gets an EIO due to process exit.
12751 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
12752 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
12753 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
12755 2012-04-20 Eli Zaretskii <eliz@gnu.org>
12757 * window.el (window-min-size, window-sizable, window-min-delta)
12758 (window-max-delta, window--resizable, window-resizable)
12759 (window-total-size, window-full-height-p, window-full-width-p)
12760 (window-in-direction, window--resize-mini-window, window-resize)
12761 (window--resize-child-windows-normal)
12762 (window--resize-child-windows, window--resize-siblings)
12763 (window--resize-this-window, adjust-window-trailing-edge)
12764 (enlarge-window, shrink-window): Doc fixes.
12766 2012-04-20 Chong Yidong <cyd@gnu.org>
12768 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
12769 New function to call delete-process on the gdb-inferior buffer's pty.
12770 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
12771 pty process (Bug#11273).
12772 (gdb-update): New arg to suppress talking to the gdb process.
12773 (gdb-done-or-error): Use it.
12774 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
12775 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
12776 sentinel not being called.
12778 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
12780 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
12782 2012-04-20 Glenn Morris <rgm@gnu.org>
12784 * net/network-stream.el (open-network-stream): Doc fix.
12786 2012-04-20 Chong Yidong <cyd@gnu.org>
12788 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
12790 2012-04-20 Alan Mackenzie <acm@muc.de>
12792 Ensure searching for keywords is case sensitive.
12794 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
12795 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
12796 (c-defun-name, c-mark-function, c-cpp-define-name)
12797 (c-comment-indent, c-scan-conditionals, c-indent-defun)
12798 (c-context-line-break): Bind case-fold-search to nil.
12800 * progmodes/cc-mode.el (c-font-lock-fontify-region):
12801 Bind case-fold-search to nil.
12803 2012-04-20 Chong Yidong <cyd@gnu.org>
12805 * mail/sendmail.el (mail-bury): Call return action with the right
12806 Rmail buffer (Bug#11242).
12808 * server.el (server-process-filter): Handle corner case where both
12809 tty and nowait options are present (Bug#11102).
12811 2012-04-20 Eli Zaretskii <eliz@gnu.org>
12813 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
12814 (top level): Put into the executable the ident-style '$Id:' tag on
12815 windows-nt as well.
12817 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
12819 * electric.el (electric-indent-post-self-insert-function): Check that
12820 electric-indent-mode is enabled in current buffer.
12822 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
12824 * imenu.el (imenu-progress-message): Restore; it is "used" in
12825 erc/erc-imenu.el and net/snmp-mode.el.
12827 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
12829 * avoid.el (mouse-avoidance-mode): Mark unused arg.
12830 (mouse-avoidance-nudge-mouse): Remove unused binding.
12832 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
12834 * descr-text.el (describe-char):
12835 * progmodes/python.el (python-describe-symbol):
12836 Don't call `toggle-read-only', set `buffer-read-only'.
12838 * imenu.el (imenu-default-goto-function): Mark unused args.
12839 (imenu-progress-message): Remove obsolete macro; all callers changed.
12841 * subr.el (keymap-canonicalize): Remove unused binding.
12842 (read-passwd): Mark unused arg.
12844 * tutorial.el (tutorial--display-changes): Remove unused binding.
12845 (tutorial--save-tutorial-to): Remove unused variable.
12847 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
12848 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
12849 (package-generate-autoloads, package-menu--generate)
12850 (package-menu--find-upgrades): Remove unused bindings.
12852 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
12853 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
12854 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
12855 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
12856 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
12857 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
12858 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
12859 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
12860 (cua-delete-char-rectangle): Mark unused args.
12861 (cua-align-rectangle): Remove unused binding.
12863 * mail/rmail.el (compilation--message->loc)
12864 (epa--find-coding-system-for-mime-charset): Declare.
12866 * net/dbus.el (dbus-register-service): Declare.
12867 (dbus-name-owner-changed-handler): Remove unused binding.
12869 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
12870 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
12871 (nxml-scan-backward-within): Mark unused arg.
12872 (nxml-dynamic-markup-word): Remove unused binding.
12874 * mouse.el (mouse-menu-major-mode-map):
12875 * emacs-lisp/authors.el (authors-scan-change-log)
12876 (authors-add-to-author-list):
12877 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
12878 * emacs-lisp/smie.el (smie-auto-fill):
12879 * mail/sendmail.el (mail-bury):
12880 * mail/unrmail.el (unrmail):
12881 * net/tls.el (open-tls-stream):
12882 * textmodes/picture.el (picture-mouse-set-point):
12883 Remove unused bindings.
12885 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
12887 * net/tramp.el (tramp-action-password): Let-bind
12888 `enable-recursive-minibuffers' to t.
12890 2012-04-18 Sam Steingold <sds@gnu.org>
12892 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
12893 instead of 'string to accommodate values like [f11].
12894 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
12895 * progmodes/gdb-mi.el: Likewise.
12897 2012-04-18 Leo Liu <sdl.web@gmail.com>
12899 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
12901 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
12904 2012-04-18 Chong Yidong <cyd@gnu.org>
12906 * simple.el (line-move): Use forward-line if in batch mode
12909 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
12911 * files.el (after-find-file): Do not try to add a final newline if
12912 the buffer is read-only (Bug#11156).
12914 2012-04-17 Richard Stallman <rms@gnu.org>
12916 * mail/rmail.el (rmail-start-mail):
12917 Pass (rmail-mail-return...) for the return-action.
12918 Pass (rmail-yank-current-message...) for the yank-action.
12919 (rmail-yank-current-message): New function.
12920 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
12921 (rmail-reply): Likewise.
12922 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
12924 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
12925 buffer, not the last. Reject temp buffers. Use the rmail-mode
12926 buffer, not newbuf.
12928 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
12930 * server.el (server-ensure-safe-dir): Simplify.
12932 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
12934 * emacs-lisp/smie.el: Provide smarter auto-filling.
12935 (smie-auto-fill): New function.
12936 (smie-setup): Use it.
12938 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
12940 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
12942 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
12943 (comment-indent): Use it.
12945 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
12947 * ses.el: The overall change is to add cell renaming, that is
12948 setting fancy names for cell symbols other than name matching
12949 "\\`[A-Z]+[0-9]+\\'" regexp .
12950 (ses-localvars): Add ses--renamed-cell-symb-list.
12951 (ses-create-cell-variable): New defun.
12952 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
12953 (ses-relocate-formula): Relocate formulas only for cells the
12954 symbols of which are not renamed, i.e. symbols whose names do not
12955 match regexp "\\`[A-Z]+[0-9]+\\'".
12956 (ses-relocate-all): Relocate values only for cells the symbols of
12957 which are not renamed.
12958 (ses-load): Create cells variables as the (ses-cell ...) are read,
12959 in order to check row col consistency with cell symbol name only
12960 for cells that are not renamed.
12961 (ses-replace-name-in-formula): New defun.
12962 (ses-rename-cell): New defun.
12964 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
12966 * progmodes/perl-mode.el (perl-indent-parens-as-block):
12967 New option (bug#11118).
12968 (perl-calculate-indent): Respect it.
12970 2012-04-17 Glenn Morris <rgm@gnu.org>
12972 * dired-aux.el (dired-mark-read-string): Doc fix.
12974 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
12976 * dired-aux.el (dired-mark-read-string): Offer optional completion.
12977 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
12979 2012-04-17 Glenn Morris <rgm@gnu.org>
12981 * mouse.el (mouse-drag-track):
12982 * speedbar.el (speedbar-frame-mode):
12983 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
12985 2012-04-16 Leo Liu <sdl.web@gmail.com>
12987 * progmodes/python.el: Trivial cleanup.
12989 2012-04-16 Glenn Morris <rgm@gnu.org>
12991 * vc/vc.el (vc-string-prefix-p):
12992 * vc/pcvs-util.el (cvs-string-prefix-p):
12993 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
12994 * mpc.el (mpc-string-prefix-p):
12995 Make all of these into obsolete aliases for string-prefix-p.
12997 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
12999 * textmodes/two-column.el: Move custom options to the start.
13000 (frame-width): Remove compat definition.
13001 (2C-associate-buffer, 2C-dissociate):
13002 Use with-current-buffer rather than save-excursion.
13003 (2C-dissociate): Force a mode-line update.
13004 (2C-autoscroll): Use ignore-errors.
13006 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
13009 * emacs-lisp/cl-extra.el (*random-state*):
13010 Remove unnecessary declaration.
13012 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
13014 * play/cookie1.el (cookie-snarf):
13015 Give an explicit error if input file cannot be read.
13017 * play/yow.el (yow-file): Use expand-file-name rather than concat.
13019 * progmodes/perl-mode.el (c-macro-expand):
13020 Remove unnecessary autoload (it is in loaddefs.el).
13022 * textmodes/picture.el (picture-desired-column)
13023 (picture-update-desired-column): Convert comments to doc-strings.
13024 (picture-substitute): Remove function.
13025 (picture-mode-map): Initialize in the defvar.
13027 * woman.el: Remove eval-after-load for tar-mode.
13028 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
13029 (woman-tar-extract-file): Autoload it.
13031 * frame.el (automatic-hscrolling): Make this alias obsolete.
13033 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13035 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
13036 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
13037 (ispell-dictionary-base-alist): Revert to original XEmacs
13038 friendly version for default. [:alpha:] will be added in
13039 `ispell-set-spellchecker-params' if needed.
13041 2012-04-16 Chong Yidong <cyd@gnu.org>
13043 * image.el (imagemagick--file-regexp): New variable.
13044 (imagemagick-register-types): Use it.
13045 (imagemagick-types-inhibit): Add :set function. Allow new value
13046 of t to inhibit all types.
13048 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
13049 so we can preload it.
13051 * loadup.el (fboundp): Preload regexp-opt, needed by
13052 imagemagick-register-types.
13054 2012-04-15 Chong Yidong <cyd@gnu.org>
13056 * frame.el (scrolling): Remove nearly unused customization group.
13058 * scroll-all.el (scroll-all-mode): Move to windows group.
13060 2012-04-15 Chong Yidong <cyd@gnu.org>
13062 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
13064 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
13066 Avoid the use of ((lambda ...) ...) in lexical-binding code.
13067 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
13069 2012-04-15 Glenn Morris <rgm@gnu.org>
13071 * simple.el (process-file-side-effects): Doc fix.
13073 2012-04-15 Glenn Morris <rgm@gnu.org>
13075 * international/mule-cmds.el (set-language-environment): Doc fix.
13077 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
13079 * server.el (server-auth-key, server-generate-key): Doc fixes.
13080 (server-get-auth-key): Doc fix. Use `string-match-p'.
13081 (server-start): Reflow docstring.
13083 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
13085 * server.el (server-generate-key): `called-interactively-p'
13086 requires a parameter.
13088 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
13090 * server.el (server-auth-key): New variable.
13091 (server-generate-key, server-get-auth-key): New function.
13092 (server-start): Use the new variable and functions to allow
13093 setting a permanent server key (bug#9423).
13095 2012-04-14 Leo Liu <sdl.web@gmail.com>
13097 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
13099 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
13102 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
13103 Emacs uses American spelling.
13105 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
13107 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
13108 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
13109 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
13110 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
13112 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
13114 * progmodes/which-func.el (which-func-modes): Change default.
13116 2012-04-14 Kim F. Storm <storm@cua.dk>
13118 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
13119 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
13121 2012-04-14 Chong Yidong <cyd@gnu.org>
13123 * custom.el (custom-theme-set-variables): Doc fix.
13125 2012-04-14 Glenn Morris <rgm@gnu.org>
13127 * international/mule.el (set-auto-coding-for-load): Doc fix.
13129 2012-04-14 Alan Mackenzie <acm@muc.de>
13131 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
13132 imenu work again for Objective C Mode. Correct the *-index values,
13133 these having been disturbed by a previous change in 2011-08.
13135 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
13136 Correct two search limits.
13138 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
13140 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
13142 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
13144 * international/characters.el: Fix sorting.
13146 2012-04-14 Eli Zaretskii <eliz@gnu.org>
13148 * international/characters.el: Add more missing Latin case pairs.
13150 2012-04-14 Glenn Morris <rgm@gnu.org>
13152 * files.el (dir-locals-set-class-variables): Doc fix.
13154 2012-04-14 Eli Zaretskii <eliz@gnu.org>
13156 * international/characters.el: Add set-case-syntax-pair call for
13157 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
13158 counterpart. (Bug#11209)
13160 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
13162 2012-04-14 Glenn Morris <rgm@gnu.org>
13164 * calendar/holidays.el (calendar-check-holidays): Doc fix.
13166 2012-04-14 Eli Zaretskii <eliz@gnu.org>
13168 * textmodes/ispell.el (ispell-dictionary-base-alist):
13169 Add data for Hebrew.
13171 2012-04-14 Chong Yidong <cyd@gnu.org>
13173 * net/rcirc.el (rcirc-cmd-quit):
13174 Revert 2012-03-18 change (Bug#11192).
13176 2012-04-14 Glenn Morris <rgm@gnu.org>
13178 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
13180 2012-04-14 Eli Zaretskii <eliz@gnu.org>
13182 * minibuffer.el (completion-in-region-mode-map):
13183 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
13185 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
13187 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
13189 2012-04-13 Masatake YAMATO <yamato@redhat.com>
13191 * minibuffer.el (minibuffer-local-filename-syntax): New variable
13192 to allow `C-M-f' and `C-M-b' to move to the nearest path
13193 separator (bug#9511).
13195 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
13197 * avoid.el: Require cl when compiling. And also move the
13198 `provide' to the end.
13200 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13202 * avoid.el (mouse-avoidance-banish-position): New variable.
13203 (mouse-avoidance-banish-destination): Use it (bug#10165).
13205 2012-04-13 Leo Liu <sdl.web@gmail.com>
13207 * progmodes/which-func.el (which-func-modes): Add objc-mode.
13209 2012-04-13 Ken Brown <kbrown@cornell.edu>
13211 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
13212 this is no longer needed now that cygstart understands file:// URLs.
13213 (browse-url-filename-alist): For the same reason, don't modify
13214 file:// URLs on Cygwin.
13216 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
13218 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
13219 the region on shift if the binding is already shifted (bug#11221).
13221 2012-04-12 Glenn Morris <rgm@gnu.org>
13223 * mail/mailpost.el: Move to obsolete/.
13225 2012-04-12 Drew Adams <drew.adams@oracle.com>
13227 * imenu.el (imenu--generic-function): Ignore invisible definitions
13230 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
13232 * hexl.el (hexl-bits): New variable.
13233 (hexl-options): Mention the variable in the doc string.
13234 (hexl-rulerise, hexl-line-displen): New functions.
13235 (hexl-mode): Mention the new variable.
13236 (hexl-mode, hexl-current-address, hexl-current-address):
13238 (hexl-ascii-start-column): New function.
13239 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
13240 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
13242 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13244 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
13245 '("-i" ENCODING), in 2 separate command-line arguments, to specify
13246 the encoding, as expected by hunspell.
13248 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
13250 * battery.el (battery--linux-sysfs-regexp): New const.
13251 (battery-status-function): Use it. Remove yeeloong special case.
13252 (battery-yeeloong-sysfs): Remove.
13253 (battery-echo-area-format): Remove yeeloong special case.
13255 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
13257 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
13258 Reported by Noah Friedman.
13260 * subr.el (read-passwd): Use read-string.
13262 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
13264 * vcursor.el (vcursor-move): Increase the priority of the overlay
13267 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
13269 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
13270 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
13272 2012-04-11 William Stevenson <yhvh2000@gmail.com>
13274 * textmodes/artist.el (artist-mode): Convert artist-mode to use
13275 define-minor-mode (bug#10760).
13277 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
13279 * progmodes/grep.el (rgrep): Tweak the find command line so
13280 that directories matching `grep-find-ignored-files' won't be
13281 pruned (bug#10351).
13283 2012-04-11 Chong Yidong <cyd@gnu.org>
13285 * startup.el (command-line): Remove support for long-obsolete
13286 variable font-lock-face-attributes.
13288 2012-04-11 Glenn Morris <rgm@gnu.org>
13290 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
13292 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
13294 * window.el (window--state-get-1): Obey window-point-insertion-type.
13296 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
13298 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
13299 to previous function when point is on the first character of a
13300 function. Take care of that in `narrow-to-defun' (bug#6157).
13302 2012-04-11 Glenn Morris <rgm@gnu.org>
13304 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
13305 not just file-errors.
13307 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
13308 (vc-bzr-sha1): Use internal sha1.
13310 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
13312 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
13314 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
13316 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
13317 that start in the middle of the line (bug#10496).
13319 2012-04-10 Dan Nicolaescu <dann@gnu.org>
13321 * battery.el (battery-linux-proc-acpi): Only one battery is
13322 discharged at a time, but that seems to confuse battery.el when
13323 computing `rate-type' for the battery not being discharged
13326 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
13328 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
13330 * international/quail.el: Use dolist and simplify.
13331 (quail-define-package, quail-update-keyboard-layout)
13332 (quail-define-rules): Use dolist.
13333 (quail-insert-kbd-layout, quail-get-translation): CSE.
13335 * tmm.el: Use dolist, remove left over hook.
13336 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
13338 (calendar-load-hook): Don't mess with it.
13340 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
13341 Use derived-mode-p. Run the diff asynchronously.
13343 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
13345 * obsolete/mouse-sel.el: Add an Obsolete-since header.
13347 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
13349 * misc.el: Display absolute path of loaded DLLs (bug#10424).
13350 (list-dynamic-libraries--loaded): New function.
13351 (list-dynamic-libraries--refresh): Use it.
13353 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
13355 * progmodes/python.el (python-fill-paragraph):
13356 Make python-fill-region in a multiline string work when font-lock is
13357 disabled (bug#7018).
13359 2012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
13361 * language/european.el (cp775): Add oem/legacy (en)coding on
13362 DOS/MS Windows for the Baltic languages. There are still plenty
13363 of texts written in this encoding/codepage (bug#6519).
13365 2012-04-10 Glenn Morris <rgm@gnu.org>
13367 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
13368 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
13370 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
13372 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
13373 next-line "n" and previous-line "p" in order to make recentf more
13374 consistent with ibuffer, dired or org-mode (bug#9387).
13376 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
13378 * image.el (put-image): Return the overlay created instead of the
13379 optional input string (bug#7834). Note that this may break code
13380 that is (for some reason or other) depending on `put-image'
13381 returning the string.
13383 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
13385 * simple.el (zap-to-char): Allow zapping using input methods
13388 * textmodes/fill.el (fill-region): Leave point and mark where they
13389 were before filling (bug#5399).
13391 2012-04-09 Glenn Morris <rgm@gnu.org>
13393 * version.el (emacs-bzr-get-version):
13394 Handle lightweight checkouts of local branches.
13396 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
13398 * international/characters.el: Recover lost case pairs. (Bug#11209)
13400 2012-04-09 Chong Yidong <cyd@gnu.org>
13402 * custom.el (custom-variable-p): Return nil for non-symbol
13403 arguments instead of signaling an error.
13404 (user-variable-p): Obsolete alias for custom-variable-p.
13406 * apropos.el (apropos-variable):
13407 * files-x.el (read-file-local-variable):
13408 * simple.el (set-variable):
13409 * woman.el (woman-mini-help):
13410 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
13412 2012-04-09 Glenn Morris <rgm@gnu.org>
13414 * startup.el (normal-top-level): Don't look for leim-list.el
13415 in places where it will not be found. (Bug#910)
13417 * international/mule-cmds.el (set-default-coding-systems):
13418 * files.el (normal-mode):
13419 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
13420 This function was removed with ucs-tables.el in 2008.
13422 2012-04-08 Eli Zaretskii <eliz@gnu.org>
13424 * textmodes/ispell.el (ispell-check-version): For hunspell, set
13425 ispell-encoding8-command to "-i", without a trailing space.
13426 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
13427 separate command-line arguments, to specify the encoding, since
13428 that's how hunspell expects it.
13430 2012-04-08 Glenn Morris <rgm@gnu.org>
13432 * loadup.el: Load bindings before cus-start.
13433 This reduces somewhat the number of "rogue" settings in emacs -Q.
13435 2012-04-07 Glenn Morris <rgm@gnu.org>
13437 * version.el (emacs-bzr-get-version): New function.
13438 (emacs-bzr-version): New variable.
13439 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
13440 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
13442 2012-04-07 Eli Zaretskii <eliz@gnu.org>
13444 * international/uni-bidi.el, international/uni-category.el:
13445 * international/uni-combining.el, international/uni-decimal.el:
13446 * international/uni-decomposition.el, international/uni-digit.el:
13447 * international/uni-lowercase.el, international/uni-mirrored.el:
13448 * international/uni-name.el, international/uni-numeric.el:
13449 * international/uni-titlecase.el, international/uni-uppercase.el:
13450 Update for Unicode 6.1.
13452 2012-04-07 Eli Zaretskii <eliz@gnu.org>
13454 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
13456 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
13458 * window.el (shrink-window): Mention the `window-min-height'
13459 variable in the doc string.
13461 2012-04-05 Bastien Guerry <bzg@altern.org>
13463 * color.el (color-lighten-name): Fix typo.
13465 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
13467 * server.el (server--on-display-p): New function.
13468 (server--on-display-p): Use it.
13470 2012-04-04 Gábor Vida <vidagabor@gmail.com> (tiny change)
13472 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
13475 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
13477 * comint.el (comint--common-quoted-suffix): Check string boundary
13478 before comparing (bug#11158).
13479 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
13481 2012-04-04 Chong Yidong <cyd@gnu.org>
13483 * minibuffer.el (completion-extra-properties): Doc fix.
13485 * subr.el (delayed-warnings-hook): Doc fix.
13487 2012-04-04 Daiki Ueno <ueno@unixuser.org>
13489 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
13490 selection (Bug#11159).
13491 (epa-insert-keys): Inform that the default public key will be
13492 exported if no key is selected.
13494 2012-04-04 Richard Stallman <rms@gnu.org>
13496 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
13498 2012-04-03 Chong Yidong <cyd@gnu.org>
13500 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
13501 mail-insert-file, not its obsolete alias mail-attach-file.
13503 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
13505 * notifications.el (notifications-notify): Fix docstring.
13507 2012-04-02 Glenn Morris <rgm@gnu.org>
13509 * emacs-lisp/authors.el (authors-aliases): Another addition.
13511 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
13513 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
13514 `tramp-compat-call-process' instead of `tramp-local-call-process'.
13515 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
13517 2012-04-01 Chong Yidong <cyd@gnu.org>
13519 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
13520 Handle root directory properly.
13521 (copy-directory): Caller changed.
13523 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
13524 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
13526 2012-03-31 Glenn Morris <rgm@gnu.org>
13528 * term/xterm.el (xterm-extra-capabilities): Doc fix.
13530 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
13532 * calendar/calendar.el (calendar-window-list)
13533 (calendar-hide-window): Restore. (Bug#11140)
13534 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
13536 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
13538 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13540 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
13541 Check if file is a symlink (Bug#10489).
13543 * files.el (copy-directory): Likewise.
13545 2012-03-30 Chong Yidong <cyd@gnu.org>
13547 * image.el (imagemagick-types-inhibit)
13548 (imagemagick-register-types): Doc fix.
13550 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13552 * textmodes/ispell.el (ispell-get-extended-character-mode):
13553 Disable extended-char-mode for hunspell. hunspell does not support it
13554 and treats ~word as ordinary words in pipe mode.
13556 2012-03-30 Glenn Morris <rgm@gnu.org>
13558 * tutorial.el (help-with-tutorial): Ensure local variables don't
13559 happen to make the buffer read-only. (Bug#11127)
13561 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
13563 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
13564 (perl-calculate-indent): Return `noindent' in strings.
13566 2012-03-28 Sam Steingold <sds@gnu.org>
13568 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
13569 instead of the broken adhockery which does not prevent calendar
13570 buffers from being displayed at random after exit.
13571 (calendar-window-list, calendar-hide-window): Remove the broken
13574 2012-03-28 Glenn Morris <rgm@gnu.org>
13576 * replace.el (query-replace-map): Doc fix.
13578 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
13580 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
13581 contents. (Bug#11109)
13583 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
13585 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
13587 (avl-tree--check, avl-tree--check-node): New funs.
13589 2012-03-27 Martin Rudalics <rudalics@gmx.at>
13591 * window.el (switch-to-visible-buffer): New option.
13592 (switch-to-prev-buffer, switch-to-next-buffer):
13593 Observe switch-to-visible-buffer. Make sure that checking for a window
13594 showing a buffer already is done on the same frame.
13596 2012-03-27 Glenn Morris <rgm@gnu.org>
13598 * startup.el (mail-host-address): Doc fix.
13600 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
13602 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
13603 than 197 variables.
13605 2012-03-26 Ami Fischman <ami@fischman.org>
13607 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
13609 2012-03-26 Glenn Morris <rgm@gnu.org>
13611 * files.el (save-buffers-kill-emacs): Doc fix.
13613 * startup.el (normal-top-level, command-line, command-line-1):
13614 Give them doc strings.
13616 2012-03-25 Eli Zaretskii <eliz@gnu.org>
13618 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
13619 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
13621 2012-03-25 Chong Yidong <cyd@gnu.org>
13623 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
13624 theme if it was previously enabled before (Bug#11031).
13626 * cus-theme.el (custom-theme-write-faces): Retrieve current face
13627 spec with custom-face-get-current-spec if its :shown-value is not
13628 determined yet (Bug#9337).
13629 (customize-create-theme, custom-theme-revert): Doc fixes.
13631 * button.el (button-at): Minor addition to docstring.
13633 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
13635 * vc/vc.el (vc-merge): Fix a prompt.
13637 2012-03-24 Chong Yidong <cyd@gnu.org>
13639 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
13642 * button.el (button-at): Minor addition to docstring.
13644 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
13646 * newcomment.el (comment-choose-indent): No space after BOL.
13648 2012-03-22 Sam Steingold <sds@gnu.org>
13650 * window.el (switch-to-prev-buffer): Revert last patch because the
13651 bug turned out to be an advertised feature (Elisp manual 28.14).
13653 2012-03-22 Glenn Morris <rgm@gnu.org>
13655 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
13656 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
13658 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
13660 * net/network-stream.el (network-stream-open-starttls): Make error
13661 message under Windows be less misleading.
13663 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
13665 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
13666 understands (bug#9942).
13668 2012-03-22 Chong Yidong <cyd@gnu.org>
13670 * simple.el (end-of-visible-line): Handle return value of
13671 next-single-property-change properly (Bug#9371).
13673 2012-03-22 Kenichi Handa <handa@m17n.org>
13675 * international/quail.el (quail-insert-kbd-layout): Fix previous
13676 change. To avoid unwanted bidi reordering, use
13677 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
13679 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
13681 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
13682 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
13683 (ruby-beginning-of-indent): Be more careful with the difference
13684 between word-boundary and symbol boundary.
13685 (ruby-mode-syntax-table): Make : a symbol constituent.
13687 2012-03-21 Andreas Politz <politza@fh-trier.de>
13689 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
13691 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
13693 * progmodes/etags.el (tags-completion-at-point-function):
13696 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
13698 2012-03-21 Sam Steingold <sds@gnu.org>
13700 * progmodes/etags.el (tags-completion-at-point-function):
13701 Avoid the error when point is inside the pattern.
13703 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
13705 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
13708 2012-03-21 Drew Adams <drew.adams@oracle.com>
13710 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
13712 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
13714 * ido.el (ido-set-current-directory, ido-read-internal)
13715 (ido-choose-completion-string, ido-completion-help): Handle nil
13716 value of ido-completion-buffer (Bug#11008).
13718 2012-03-21 Sam Steingold <sds@gnu.org>
13720 * window.el (switch-to-prev-buffer): Do not switch to a visible
13721 window previous buffer, just like with the frame previous buffers.
13723 2012-03-21 Chong Yidong <cyd@gnu.org>
13725 * faces.el (make-face, make-empty-face, copy-face):
13726 * face-remap.el (face-remap-add-relative, face-remap-set-base):
13729 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
13731 * wid-edit.el (widget-complete-field): Remove (bug#11051).
13732 (widget-complete): Remove broken use of it.
13734 2012-03-20 Chong Yidong <cyd@gnu.org>
13736 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
13737 Use string-width and truncate-string-width to handle arbitrary
13740 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
13742 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
13743 to draw rectangles, not squares. (Regression introduced by revno
13744 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
13746 2012-03-18 Chong Yidong <cyd@gnu.org>
13748 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
13749 it is not yet defined (for temacs).
13751 2012-03-18 Leo Liu <sdl.web@gmail.com>
13753 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
13756 2012-03-17 Eli Zaretskii <eliz@gnu.org>
13758 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
13759 (ispell-choices-win-default-height, ispell-silently-savep)
13760 (ispell-dictionary-alist, ispell-encoding8-command)
13761 (ispell-check-version, ispell-aspell-find-dictionary)
13762 (ispell-valid-dictionary-list, ispell-words-keyword)
13763 (ispell-get-word, ispell-internal-change-dictionary)
13764 (ispell-region, ispell-skip-region-list)
13765 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
13766 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
13767 (ispell-message-text-end, ispell-message)
13768 (ispell-buffer-local-parsing): Doc fix.
13770 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
13772 * htmlfontify.el: Add support for code block fontification for ODT
13773 export (Bug #9914).
13774 (hfy-optimisations): Define new option
13776 (hfy-fontify-buffer): Honor above setting.
13777 (hfy-begin-span, hfy-end-span): New routines factored out form
13778 `hfy-fontify-buffer'.
13779 (hfy-begin-span-handler, hfy-end-span-handler): New variables
13780 that permit insertion of custom tags.
13781 (hfy-fontify-buffer): Use above handlers.
13782 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
13783 (hfy-face-to-css): Re-defined to be a variable.
13784 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
13785 over multiple runs. This is made possible by having the caller let
13786 bind a special variable `hfy-user-sheet-assoc'.
13787 (htmlfontify-string): New defun.
13788 (hfy-compile-face-map): Make sure that the last char in the
13789 buffer is correctly fontified.
13790 (hfy-face-resolve-face): Whitespace only change.
13792 2012-03-17 Eli Zaretskii <eliz@gnu.org>
13794 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
13795 message more clear.
13797 2012-03-16 Leo Liu <sdl.web@gmail.com>
13799 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
13801 2012-03-16 Alan Mackenzie <acm@muc.de>
13803 Further optimize the handling of large macros.
13805 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
13806 limit to a call of `c-literal-limits'.
13807 (c-determine-+ve-limit): New function.
13808 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
13809 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
13810 In CASE 5B, restrict a search limit to 500.
13811 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
13813 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
13814 Restrict macro bounds to +-500 from after-change's BEG END.
13816 2012-03-16 Leo Liu <sdl.web@gmail.com>
13818 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
13820 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
13822 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
13823 `special-mode' setting of `buffer-read-only'. (Bug#11010)
13825 2012-03-16 Glenn Morris <rgm@gnu.org>
13827 * view.el (view-buffer, view-buffer-other-window)
13828 (view-buffer-other-frame): Doc fixes re special mode-class.
13830 * subr.el (eval-after-load): If named feature is provided not from
13831 a file, run after-load forms. (Bug#10946)
13833 * calendar/calendar.el (calendar-insert-at-column):
13834 Handle non-unit-width characters a bit better. (Bug#10978)
13836 2012-03-15 Chong Yidong <cyd@gnu.org>
13838 * emacs-lisp/ring.el (ring-extend): New function.
13839 (ring-insert+extend): Extend the ring correctly (Bug#11019).
13841 * comint.el (comint-read-input-ring)
13842 (comint-add-to-input-history): Grow comint-input-ring lazily.
13844 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
13846 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
13847 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
13849 * imenu.el: Fix multiple inheritance breakage (bug#9199).
13850 (imenu-add-to-menubar): Don't add a redundant index.
13851 (imenu-update-menubar): Handle a dynamically composed keymap.
13853 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
13855 * mail/sendmail.el (mail-encode-header):
13856 Bind rfc2047-encode-encoded-words to nil.
13858 2012-03-13 Glenn Morris <rgm@gnu.org>
13860 * calendar/calendar.el (calendar-string-spread):
13861 Handle non-unit-width characters a bit better. (Bug#10978)
13863 2012-03-13 Leo Liu <sdl.web@gmail.com>
13865 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
13866 directory and file as argument (Bug#10822).
13868 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
13870 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
13871 For dynamically generated code, follow $PC.
13872 (gdb-disassembly-handler-custom): Handle no function name case.
13874 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
13876 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
13877 * emulation/ws-mode.el (ws-query-replace):
13878 * sort.el (sort-regexp-fields):
13879 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
13881 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13883 * dabbrev.el: Fix cycle completion order (bug#10963).
13884 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
13885 (dabbrev-completion): Don't use an obarray; provide
13886 a cycle-sort-function.
13888 2012-03-12 Leo Liu <sdl.web@gmail.com>
13890 * simple.el (kill-new): Use equal-including-properties for comparison.
13891 (kill-do-not-save-duplicates): Doc fix.
13893 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13895 * dabbrev.el: Fix cycle completion (bug#10963).
13896 Use lexical binding and wrap to 80 columns.
13897 (dabbrev-completion): Delay computing the list of completions.
13899 2012-03-12 Kenichi Handa <handa@m17n.org>
13901 * international/quail.el (quail-insert-kbd-layout): Surround each
13902 row by LRO and PDF instead of inserting many LRMs. Pad the left
13903 and right of each non-spacing marks. Insert invisible space
13904 between lower and upper characters to prevent composition.
13906 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13908 * minibuffer.el (minibuffer-complete): Don't get confused when the
13909 function is run twice via different commands (bug#10958).
13910 (complete-with-action): Fix docstring.
13912 2012-03-12 Chong Yidong <cyd@gnu.org>
13914 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
13915 (nxml-completion-at-point-function): New function.
13916 (nxml-mode): Use it.
13917 (nxml-bind-meta-tab-to-complete-flag): Default to t.
13919 * emacs-lisp/package.el (package-unpack, package-unpack-single):
13920 Load generated autoloads file before byte compiling (Bug#10970).
13921 (package--make-autoloads-and-compile): New helper fun.
13923 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
13925 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
13927 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
13929 * autorevert.el (auto-revert-handler): Ensure, that
13930 file-readable-p is applied only for local files or in
13931 auto-revert-tail-mode.
13933 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
13935 * server.el (server-eval-at): Handle non-tcp connections.
13936 Decode result string.
13938 * server.el (server-msg-size): New constant.
13939 (server-reply-print): New function.
13940 (server-eval-and-print): Use it.
13941 (server-eval-at): Use server-quote-arg and server-unquote-arg.
13942 Handle -print-nonl.
13944 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
13946 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
13949 2012-03-11 Chong Yidong <cyd@gnu.org>
13951 * simple.el (goto-line): Doc fix (Bug#9938).
13953 * subr.el (save-window-excursion): Doc fix (Bug#9979).
13955 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
13956 when finished (Bug#10963).
13958 2012-03-11 Martin Rudalics <rudalics@gmx.at>
13960 * window.el (split-window-below): Fix bug in case where
13961 split-window-keep-point is nil (Bug#10971).
13963 2012-03-11 Juri Linkov <juri@jurta.org>
13965 * replace.el (replace-highlight): Set isearch-word to nil
13966 unconditionally. (Bug#10887)
13968 2012-03-10 Eli Zaretskii <eliz@gnu.org>
13970 * net/mairix.el (mairix-replace-invalid-chars): Rename from
13971 mairix-replace-illegal-chars; all callers changed. Don't remove
13972 ^, ~, and = characters: they are meaningful in mairix search specs.
13973 (mairix-widget-create-query): Add usage information about mairix
13974 search forms: negating words, searching for substrings, etc.
13976 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
13978 * international/fontset.el (font-encoding-alist): Add an entry for
13979 ksx1001 (Bug#5667).
13981 2012-03-10 Richard Stallman <rms@gnu.org>
13983 * mail/sendmail.el (mail-encode-header):
13984 Set rfc2047-encode-encoded-words.
13986 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
13988 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
13989 view buffer means not swapped.
13990 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
13991 (rmail-write-region-annotate): Error if real text has disappeared.
13993 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
13995 2012-03-10 Chong Yidong <cyd@gnu.org>
13997 * emulation/cua-rect.el (cua--init-rectangles):
13998 * emulation/cua-base.el (cua--init-keymaps):
13999 Add delete-forward-char to remappings (Bug#9666).
14001 2012-03-10 Martin Rudalics <rudalics@gmx.at>
14003 * speedbar.el (speedbar-unhighlight-one-tag-line):
14004 Avoid unhighlighting due to frame switching (Bug#10275).
14006 2012-03-10 Chong Yidong <cyd@gnu.org>
14008 * minibuffer.el (completion-in-region, completion-help-at-point):
14009 Give the completion field overlay a high priority (Bug#6830).
14011 * dired.el (dired-goto-file): Recognize absolute file name
14012 listings (Bug#7126).
14013 (dired-goto-file-1): New helper function.
14014 (dired-toggle-read-only): Inhibit warnings.
14016 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
14018 * net/dbus.el (dbus-property-handler): Return empty array if
14019 there are no properties.
14021 2012-03-09 Leo Liu <sdl.web@gmail.com>
14023 * savehist.el (savehist-printable): Stricter check for string
14026 2012-03-09 Eli Zaretskii <eliz@gnu.org>
14028 * mail/smtpmail.el (smtpmail-send-it):
14029 Bind coding-system-for-write to *-unix, so that FCC files are kept in
14032 2012-03-09 Glenn Morris <rgm@gnu.org>
14034 * files.el (dir-locals-find-file):
14035 Don't check result is regular, readable.
14036 (dir-locals-read-from-file): Demote errors.
14038 2012-03-08 Eli Zaretskii <eliz@gnu.org>
14040 * international/quail.el (quail-insert-kbd-layout):
14041 Insert invisible LRM characters before each character in a keyboard
14042 layout cell, to prevent their reordering by bidi display engine.
14043 For details, see the discussion in
14044 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
14046 2012-03-08 Alan Mackenzie <acm@muc.de>
14048 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
14049 the starting position; make it extend the marked region when
14050 invoked repeatedly - all under appropriate circumstances.
14051 Fixes bugs #5525, #10906.
14053 2012-03-08 Glenn Morris <rgm@gnu.org>
14055 * files.el (locate-dominating-file, dir-locals-find-file):
14056 Undo 2012-03-06 change.
14058 2012-03-07 Eli Zaretskii <eliz@gnu.org>
14060 * international/quail.el (quail-help):
14061 Force bidi-paragraph-direction be left-to-right. See discussion in
14062 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
14065 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
14067 Avoid superfluous registering of signals. (Bug#10807)
14069 * notifications.el (notifications-on-action-object)
14070 (notifications-on-close-object): New defvars.
14071 (notifications-on-action-signal, notifications-on-closed-signal):
14072 Unregister the signal if not needed any longer.
14073 (notifications-notify): Register `notifications-action-signal' or
14074 `notifications-closed-signal', if :on-action or :on-close has been
14075 passed as argument.
14077 2012-03-07 Chong Yidong <cyd@gnu.org>
14079 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
14082 2012-03-06 Glenn Morris <rgm@gnu.org>
14084 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
14085 (x-disown-selection-internal, x-get-selection-internal):
14086 Doc fix (add arglist signatures). (Bug#10783)
14088 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
14090 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
14091 Handle breakpoints with no "type".
14093 2012-03-06 Glenn Morris <rgm@gnu.org>
14095 * files.el (locate-dominating-file): Add optional predicate argument.
14096 (dir-locals-find-file): Make use of above change.
14098 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
14100 * info.el (Info-insert-dir): Also try "dir.gz".
14102 2012-03-06 Glenn Morris <rgm@gnu.org>
14104 * files.el (dir-locals-find-file):
14105 Ignore non-readable or non-regular files. (Bug#10928)
14107 * files.el (locate-dominating-file): Doc fix.
14109 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
14111 * calendar/calendar.el (calendar-set-mode-line):
14112 `getenv' returns a string. (Bug#10951)
14114 2012-03-05 Leo Liu <sdl.web@gmail.com>
14116 * simple.el (backward-delete-char-untabify): Constrain point to
14119 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
14121 2012-03-05 Chong Yidong <cyd@gnu.org>
14123 * simple.el (count-words): If called from Lisp, return the word
14124 count, for symmetry with `count-lines'. Arglist changed.
14125 (count-words--message): Args changed. Consolidate counting code
14126 from count-words and count-words-region.
14127 (count-words-region): Caller changed.
14128 (count-lines-region): Make it an obsolete alias.
14130 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
14132 * saveplace.el (save-place-to-alist)
14133 (save-place-ignore-files-regexp): Allow value nil to disable this
14136 2012-03-04 Chong Yidong <cyd@gnu.org>
14138 * faces.el (face-spec-reset-face): For the default face, reset the
14139 attributes to default values (Bug#10748).
14141 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
14143 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
14144 previous patch: Check `message-send-mail-function', and not the
14145 default function (bug#10897).
14147 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
14149 * notifications.el (notifications-on-action-signal)
14150 (notifications-on-closed-signal): Check for unique service name of
14151 incoming event. Fix error in removing entry.
14152 (top): Register for signals with wildcard service name.
14153 (notifications-notify): Use daemon unique service name for map entries.
14155 2012-03-04 Chong Yidong <cyd@gnu.org>
14157 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
14159 2012-03-04 Glenn Morris <rgm@gnu.org>
14161 * abbrev.el (copy-abbrev-table, abbrev-table-p)
14162 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
14163 (expand-abbrev, define-abbrev-table): Doc fixes.
14165 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
14167 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
14168 `message-default-send-mail-function' and not `send-mail-function'
14169 when doing the prompting for `sendmail-query-once' before sending
14170 in Message buffers (bug#10897).
14172 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
14173 This is inconsistent with all the other stream functions, which leave
14174 the setting up to the higher levels (if so wanted) (bug#10931).
14176 2012-03-02 Alan Mackenzie <acm@muc.de>
14178 Depessimize the handling of very large macros.
14180 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
14181 (c-macro-cache-syntactic): New variables to implement a one
14182 element macro cache.
14183 (c-invalidate-macro-cache): New function.
14184 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
14185 Adapt to use the new cache.
14186 (c-state-safe-place): Use better the cache of safe positions.
14187 (c-state-semi-nonlit-pos-cache)
14188 (c-state-semi-nonlit-pos-cache-limit):
14189 New variables for...
14190 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
14191 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
14192 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
14193 Use c-state-semi-safe-place.
14195 * progmodes/cc-langs.el (c-get-state-before-change-functions):
14196 Add c-invalidate-macro-cache to the C, C++, Obj entries.
14198 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
14200 * jka-compr.el (jka-compr-call-process):
14201 Apply `file-accessible-directory-p' only when the default directory is
14204 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
14206 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
14207 access of FILE2, if FILE1 does not exist.
14209 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
14210 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
14212 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
14213 Add "PAGER=" to `process-environment'.
14215 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
14217 * progmodes/sql.el: Bug fix
14218 (sql-get-login-ext): Save login values in globals.
14219 (sql-get-login): Use new version of `sql-get-login-ext'.
14220 (sql-interactive-mode): Set global `sql-connection' to nil.
14221 (sql-connect): Set global values for connection.
14222 (sql-product-interactive): Save global values as buffer local.
14224 2012-02-29 Leo Liu <sdl.web@gmail.com>
14226 * abbrev.el (define-abbrevs): Reset sys to nil.
14228 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14230 * files.el (file-equal-p): Rename from `files-equal-p'.
14231 Return nil when one or both files don't exist.
14232 (file-subdir-of-p): Now only top directory must exists,
14233 return nil if it doesn't.
14234 (copy-directory): No need to test with `file-subdir-of-p' after
14236 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
14239 2012-02-28 Glenn Morris <rgm@gnu.org>
14241 * shell.el (shell-mode):
14242 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
14243 * play/landmark.el (landmark-font-lock-face-O):
14244 * play/handwrite.el (handwrite):
14245 * play/gomoku.el (gomoku-O):
14246 * net/browse-url.el (browse-url-browser-display):
14247 * international/mule.el (define-charset):
14248 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
14249 * filesets.el (filesets-find-file-delay):
14250 * eshell/em-xtra.el (eshell-xtra):
14251 * eshell/em-unix.el (eshell-grep):
14252 * emulation/viper.el (viper-mode):
14253 * emacs-lisp/regexp-opt.el (regexp-opt-group):
14254 * emacs-lisp/easymenu.el (easy-menu-define):
14255 * calendar/timeclock.el (timeclock-use-display-time):
14257 * bookmark.el (bookmark-save-flag):
14258 Doc fix (standardize possessive apostrophe usage).
14260 2012-02-27 Chong Yidong <cyd@gnu.org>
14262 * emulation/viper-cmd.el (viper-intercept-ESC-key):
14263 Fix key-binding lookup for ESC key (Bug#9146).
14265 * font-lock.el (font-lock-specified-p): Rename from
14266 font-lock-spec-present. Callers changed.
14268 2012-02-27 Daniel Hackney <dan@haxney.org>
14270 * emacs-lisp/package.el (package-compute-transaction):
14271 Handle holding a package version to t in package-load-list.
14273 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
14275 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
14276 (tramp-get-inode, tramp-get-device): Use cached values.
14278 2012-02-26 Alan Mackenzie <acm@muc.de>
14280 Check there is a font-lock specification before doing initial
14283 * font-core.el (font-lock-mode): Move the conditional from
14284 :after-hook to font-lock-initial-fontify.
14285 (font-lock-default-function): Move the check for a specification
14286 to font-lock-spec-present.
14288 * font-lock.el (font-lock-initial-fontify): Call ...
14289 (font-lock-spec-present): New function.
14291 2012-02-26 Jim Blandy <jimb@red-bean.com>
14293 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
14294 (gdb-send): Apply it to the operand of the '-interpreter-exec
14295 console' command, so that we can pass arguments with (say) quotes
14296 in them. Store exact string sent in gdb-debug-log (Bug#10765).
14298 2012-02-26 Chong Yidong <cyd@gnu.org>
14300 * help-fns.el (describe-function-1): Clarify description of
14301 remapping (Bug#10844).
14303 * files.el (files-equal-p): Doc fix.
14304 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
14305 and quit the loop once a mismatch is found.
14307 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
14309 * bs.el (bs--show-with-configuration): Don't throw an error
14310 if the window cannot be split; otherwise, subsequent calls to
14311 bs-show fail, restoring a stale window config. (Bug#10882)
14313 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
14315 * term/ns-win.el (global-map): Bind ns-drag-file to
14316 ns-find-file (Bug#5855, Bug#10050).
14318 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
14320 * calendar/parse-time.el (parse-time-string): Allow extractor to
14323 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
14325 * net/tramp.el (tramp-file-name-for-operation):
14326 Add `files-equal-p' and `file-subdir-of-p'.
14328 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
14329 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
14330 Add COPY-CONTENTS argument.
14332 2012-02-25 Chong Yidong <cyd@gnu.org>
14334 Add custom groups for VC backends, for consistency with vc-bzr.
14336 * vc/vc-arch.el (vc-arch):
14337 * vc/vc-cvs.el (vc-cvs):
14338 * vc/vc-git.el (vc-git):
14339 * vc/vc-hg.el (vc-hg):
14340 * vc/vc-mtn.el (vc-mtn):
14341 * vc/vc-rcs.el (vc-rcs):
14342 * vc/vc-sccs.el (vc-sccs):
14343 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
14344 All relevant defcustoms reassigned.
14346 2012-02-25 Chong Yidong <cyd@gnu.org>
14348 * newcomment.el (comment-styles): Add autoload (Bug#10868).
14350 * term/x-win.el (x-initialize-window-system): Reduce default for
14351 x-selection-timeout to 5 seconds (Bug#8869).
14353 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14355 * files.el (files-equal-p, file-subdir-of-p): New functions.
14356 (copy-directory): Error when trying to copy a directory on itself.
14357 Add missing copy-contents arg to tramp handler.
14358 * dired-aux.el (dired-copy-file-recursive): Same.
14359 (dired-create-files): Modify destination when source is equal to
14360 dest when copying files.
14361 Return also when dest is a subdir of source. (Bug#10489)
14363 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
14365 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
14368 2012-02-23 Alan Mackenzie <acm@muc.de>
14370 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
14371 parameter "after-hook:" to allow the expansion to run code after
14372 the execution of the mode hooks.
14374 * font-lock.el (font-lock-initial-fontify): New function extracted
14375 from font-lock-mode-internal.
14377 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
14380 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
14382 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
14383 (completion--cache-all-sorted-completions): New function.
14384 (completion-all-sorted-completions): Use it.
14385 (completion--do-completion, minibuffer-force-complete):
14386 Use it to re-instate the flush hook.
14388 * icomplete.el (icomplete-completions): Replace last fix with a better
14391 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
14393 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
14394 when it might call us back infinitely (bug#10797).
14396 2012-02-23 Glenn Morris <rgm@gnu.org>
14398 * minibuffer.el (completion-category-overrides): Doc fix.
14400 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
14402 * minibuffer.el (completion-table-with-context): Fix inf-loop.
14403 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
14405 2012-02-23 Glenn Morris <rgm@gnu.org>
14407 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
14408 (authors-obsolete-files-regexps, authors-ignored-files)
14409 (authors-ambiguous-files, authors-renamed-files-alist):
14412 2012-02-23 Juri Linkov <juri@jurta.org>
14414 * isearch.el (isearch-occur): Sync interactive spec with occur's
14415 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
14417 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
14419 2012-02-22 Juri Linkov <juri@jurta.org>
14421 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
14422 (ucs-insert): Doc fix. Check for hex digits in the string.
14423 Don't display `nil' in the error message. (Bug#10857)
14425 2012-02-22 Alan Mackenzie <acm@muc.de>
14427 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
14429 2012-02-22 Glenn Morris <rgm@gnu.org>
14431 * ffap.el (ffap-c-path):
14432 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
14434 2012-02-22 Chong Yidong <cyd@gnu.org>
14436 * custom.el (load-theme): Doc fix.
14438 2012-02-22 Glenn Morris <rgm@gnu.org>
14440 * dired-x.el (dired-guess-shell-alist-default):
14441 Remove escape sequences from nroff output. (Bug#172)
14443 2012-02-21 Glenn Morris <rgm@gnu.org>
14445 * vc/emerge.el (emerge-defvar-local):
14446 Set `permanent-local' property rather than unused `preserved'.
14448 * textmodes/picture.el (picture-delete-char): New alias.
14449 (picture-mode-map): Use it. (Bug#10860)
14450 (picture-mode): Doc fix.
14452 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
14454 * newcomment.el (uncomment-region-default): Remove unused binding.
14456 2012-02-21 Glenn Morris <rgm@gnu.org>
14458 * textmodes/picture.el (picture-motion, picture-motion-reverse)
14459 (picture-self-insert, picture-tab-chars): Doc fix.
14460 (picture-mode-map): Fix C-a, C-e.
14462 2012-02-20 Glenn Morris <rgm@gnu.org>
14464 * emacs-lisp/authors.el (authors-aliases): Add another entry.
14466 2012-02-20 Leo Liu <sdl.web@gmail.com>
14468 * icomplete.el (icomplete-completions): Check FROM arg before
14469 passing to substring (Bug#10850).
14471 2012-02-19 Chong Yidong <cyd@gnu.org>
14473 * comint.el: Require ansi-color.
14474 (comint-output-filter-functions): Add ansi-color-process-output.
14476 * ansi-color.el: Don't set comint-output-filter-functions; it is
14477 now in the initial value defined in comint.el.
14478 (ansi-color-apply-face-function): New variable.
14479 (ansi-color-apply-on-region): Use it.
14480 (ansi-color-apply-overlay-face): New function.
14482 * shell.el (shell): No need to require ansi-color.
14483 (shell-mode): Use ansi-color-apply-face-function to highlight
14484 color escapes using font-lock-face property (Bug#10835).
14486 2012-02-19 Chong Yidong <cyd@gnu.org>
14488 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
14489 mode-line formats (Bug#10839).
14491 2012-02-18 Glenn Morris <rgm@gnu.org>
14493 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
14495 * mail/undigest.el (unforward-rmail-message): Doc fix.
14497 * saveplace.el (save-place-ignore-files-regexp): Add :version.
14499 2012-02-18 Eli Zaretskii <eliz@gnu.org>
14501 * international/characters.el (script-list): Sync with the latest
14502 Unicode Character Database.
14504 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
14506 * international/titdic-cnv.el: Remove duplicate coding tag.
14507 * language/cham.el: Likewise.
14508 * language/tai-viet.el: Likewise.
14510 2012-02-18 Glenn Morris <rgm@gnu.org>
14512 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
14513 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
14514 (calendar-bahai-all-holidays-flag, calendar-other-dates):
14515 * calendar/diary-lib.el (diary-abbreviated-year-flag):
14516 * calendar/holidays.el (holiday-bahai-holidays)
14517 (calendar-holidays, list-holidays):
14518 Use utf-8 Bahá'í in doc-strings, menus, etc.
14520 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
14522 * saveplace.el (save-place-ignore-files-regexp): New variable
14523 allowing for excluding files from saving their location of point.
14524 The default value matches the temporary commit message editing
14525 files from Git, SVN, Bazaar, and Mercurial.
14526 (save-place-to-alist): Use it.
14528 2012-02-17 Lawrence Mitchell <wence@gmx.li>
14529 Stefan Monnier <monnier@iro.umontreal.ca>
14531 * newcomment.el (uncomment-region-default): Don't leave extra space
14532 when an arg is provided (bug#8150).
14534 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
14536 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
14538 2012-02-17 Glenn Morris <rgm@gnu.org>
14540 * net/socks.el: Require network-stream. (Bug#10599)
14542 2012-02-17 Kenichi Handa <handa@m17n.org>
14544 * international/charprop.el:
14545 * international/uni-name.el:
14546 * international/uni-old-name.el:
14547 * international/uni-comment.el: Regenerate.
14549 2012-02-16 Glenn Morris <rgm@gnu.org>
14551 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
14552 Interactively in calendar buffer, give an error if not on a date.
14554 2012-02-15 Glenn Morris <rgm@gnu.org>
14556 * shell.el (shell-delimiter-argument-list):
14557 Revert 2011-02-17 change. (Bug#8027)
14559 2012-02-15 Chong Yidong <cyd@gnu.org>
14561 * minibuffer.el (completion-at-point-functions): Doc fix.
14563 * custom.el (defcustom): Doc fix; note use of defvar.
14565 2012-02-15 Glenn Morris <rgm@gnu.org>
14567 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
14570 2012-02-14 Glenn Morris <rgm@gnu.org>
14572 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
14574 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
14576 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
14577 way the ports list is computed.
14578 (smtpmail-query-smtp-server): Prompt the user for a port number if
14579 we can't connect to any of the standard ports (bug#10810).
14581 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
14583 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
14585 2012-02-13 Glenn Morris <rgm@gnu.org>
14587 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
14589 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
14591 * net/gnutls.el (gnutls-trustfiles): New variable.
14592 (gnutls-negotiate): Use it.
14594 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
14596 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
14597 does its stuff if Gnus is running.
14599 2012-02-13 Alan Mackenzie <acm@muc.de>
14601 Fix a loop in c-set-fl-decl-start.
14603 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
14604 c-backward-syntactic-ws actually moves backwards.
14606 2012-02-13 Leo Liu <sdl.web@gmail.com>
14608 * net/rcirc.el (rcirc-markup-attributes): Move point to the
14609 beginning so that all \C-o chars are removed.
14611 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
14613 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
14615 2012-02-12 Alan Mackenzie <acm@muc.de>
14617 Fix infinite loop with long macros.
14618 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
14620 2012-02-12 Chong Yidong <cyd@gnu.org>
14622 * window.el (display-buffer): Doc fix (Bug#10785).
14624 2012-02-12 Glenn Morris <rgm@gnu.org>
14626 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
14627 (x-disown-selection-internal, x-get-selection-internal):
14628 Sync docs with the xselect.c versions.
14630 * allout-widgets.el: Add missing license notice.
14632 2012-02-11 Glenn Morris <rgm@gnu.org>
14634 * select.el (x-get-selection-internal, x-own-selection-internal)
14635 (x-disown-selection-internal):
14636 * x-dnd.el (x-get-selection-internal): Update declarations.
14638 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
14640 * window.el (window-sides-slots):
14641 * tool-bar.el (tool-bar-position):
14642 * term/xterm.el (xterm-extra-capabilities):
14643 * ses.el (ses-self-reference-early-detection):
14644 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
14645 (verilog-auto-wire-type)
14646 (verilog-auto-delete-trailing-whitespace)
14647 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
14648 (verilog-auto-tieoff-declaration):
14649 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
14650 (sql-oracle-statement-starters, sql-oracle-scan-on):
14651 * progmodes/prolog.el (prolog-align-comments-flag)
14652 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
14653 (prolog-left-indent-regexp, prolog-paren-indent-p)
14654 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
14655 (prolog-types, prolog-mode-specificators)
14656 (prolog-determinism-specificators, prolog-directives)
14657 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
14658 (prolog-electric-dot-flag)
14659 (prolog-electric-dot-full-predicate-template)
14660 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
14661 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
14662 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
14663 (prolog-program-switches, prolog-prompt-regexp)
14664 (prolog-debug-on-string, prolog-debug-off-string)
14665 (prolog-trace-on-string, prolog-trace-off-string)
14666 (prolog-zip-on-string, prolog-zip-off-string)
14667 (prolog-use-standard-consult-compile-method-flag)
14668 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
14669 (prolog-imenu-max-lines, prolog-info-predicate-index)
14670 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
14671 (prolog-char-quote-workaround):
14672 * progmodes/cc-vars.el (c-defun-tactic):
14673 * net/tramp.el (tramp-encoding-command-interactive)
14674 (tramp-local-end-of-line):
14675 * net/soap-client.el (soap-client):
14676 * net/netrc.el (netrc-file):
14677 * net/gnutls.el (gnutls):
14678 * minibuffer.el (completion-category-overrides)
14679 (completion-cycle-threshold)
14680 (completion-pcm-complete-word-inserts-delimiters):
14681 * man.el (Man-name-local-regexp):
14682 * mail/feedmail.el (feedmail-display-full-frame):
14683 * international/characters.el (glyphless-char-display-control):
14684 * eshell/em-ls.el (eshell-ls-date-format):
14685 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
14686 (lisp-lambda-list-keyword-parameter-indentation)
14687 (lisp-lambda-list-keyword-parameter-alignment):
14688 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
14689 * dired-x.el (dired-omit-verbose):
14690 * cus-theme.el (custom-theme-allow-multiple-selections):
14691 * calc/calc.el (calc-highlight-selections-with-faces)
14692 (calc-lu-field-reference, calc-lu-power-reference)
14693 (calc-note-threshold):
14694 * battery.el (battery-mode-line-limit):
14695 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
14696 (archive-7z-update):
14697 * allout.el (allout-prefixed-keybindings)
14698 (allout-unprefixed-keybindings)
14699 (allout-inhibit-auto-fill-on-headline)
14700 (allout-flattened-numbering-abbreviation):
14701 * allout-widgets.el (allout-widgets-auto-activation)
14702 (allout-widgets-icons-dark-subdir)
14703 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
14704 (allout-widgets-theme-dark-background)
14705 (allout-widgets-theme-light-background)
14706 (allout-widgets-item-image-properties-emacs)
14707 (allout-widgets-item-image-properties-xemacs)
14708 (allout-widgets-run-unit-tests-on-load)
14709 (allout-widgets-time-decoration-activity)
14710 (allout-widgets-hook-error-post-time)
14711 (allout-widgets-track-decoration):
14712 Add missing :version tags to new defcustoms and defgroups.
14714 * progmodes/sql.el (sql-ansi-statement-starters)
14715 (sql-oracle-statement-starters): Add custom type.
14717 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
14718 (prolog-system-version): Give it a type.
14720 2012-02-11 Eli Zaretskii <eliz@gnu.org>
14722 * term/pc-win.el (x-select-text, x-selection-owner-p)
14723 (x-own-selection-internal, x-disown-selection-internal)
14724 (x-get-selection-internal): Sync doc strings and argument lists
14725 with xselect.c, common-win.el and x-win.el. (Bug#10783)
14727 2012-02-11 Leo Liu <sdl.web@gmail.com>
14729 * progmodes/python.el (python-end-of-statement): Fix infinite
14732 2012-02-10 Glenn Morris <rgm@gnu.org>
14734 * international/mule-cmds.el (unify-8859-on-encoding-mode)
14735 (unify-8859-on-decoding-mode): Properly mark as obsolete.
14737 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
14739 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
14740 about SMTP before checking the From header.
14742 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
14743 into own function for reuse by emacsbug.el.
14745 2012-02-10 Leo Liu <sdl.web@gmail.com>
14747 * subr.el (condition-case-unless-debug): Rename from
14748 condition-case-no-debug. All callers changed.
14749 (with-demoted-errors): Fix caller.
14751 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
14752 * nxml/rng-valid.el (rng-do-some-validation):
14753 * emacs-lisp/package.el (package-refresh-contents)
14754 (package-menu-execute):
14755 * desktop.el (desktop-create-buffer):
14756 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
14758 2012-02-10 Glenn Morris <rgm@gnu.org>
14760 * textmodes/bibtex.el:
14761 Add missing :version tags for new/changed defcustoms.
14763 * files.el (remote-file-name-inhibit-cache): Doc fixes.
14765 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
14767 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
14768 (smtpmail-via-smtp): Use it, or fall back on the From address.
14769 (smtpmail-send-it): Ditto.
14771 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
14773 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
14774 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
14775 (byte-compile-tmp-var): New const.
14776 (byte-compile-defvar): Use it to minimize .elc size.
14777 Just use `defvar' rather than simulate it (bug#10761).
14779 2012-02-09 Glenn Morris <rgm@gnu.org>
14781 * files.el (rename-uniquely): Doc fix. (Bug#3806)
14783 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
14786 * progmodes/compile.el (compilation-error-screen-columns)
14787 (compilation-first-column, compilation-filter-start): Doc fixes.
14789 * vc/log-view.el (log-view-toggle-entry-display):
14790 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
14792 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
14793 (report-emacs-bug-can-use-xdg-email):
14794 (report-emacs-bug-insert-to-mailer): Doc fixes.
14795 (report-emacs-bug): Message fix.
14797 * net/browse-url.el (browse-url-can-use-xdg-open)
14798 (browse-url-xdg-open): Doc fixes.
14800 * electric.el (electric-indent-mode, electric-pair-mode)
14801 (electric-layout-rules, electric-layout-mode): Doc fixes.
14802 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
14804 2012-02-08 Martin Rudalics <rudalics@gmx.at>
14806 * server.el (server-unselect-display): Don't inadvertently kill
14807 the current buffer. (Bug#10729)
14809 2012-02-08 Glenn Morris <rgm@gnu.org>
14811 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
14812 (sql-list-table): Doc fixes.
14814 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
14815 Comment out (does nothing).
14817 * completion.el (dynamic-completion-mode):
14818 * dirtrack.el (dirtrack-debug-mode):
14819 * electric.el (electric-layout-mode):
14820 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
14821 * face-remap.el (text-scale-mode, buffer-face-mode):
14822 * iimage.el (iimage-mode):
14823 * image-mode.el (image-transform-mode):
14824 * minibuffer.el (completion-in-region-mode):
14825 * scroll-lock.el (scroll-lock-mode):
14826 * simple.el (next-error-follow-minor-mode):
14827 * tar-mode.el (tar-subfile-mode):
14828 * tooltip.el (tooltip-mode):
14829 * vcursor.el (vcursor-use-vcursor-map):
14830 * wid-browse.el (widget-minor-mode):
14831 * emulation/tpu-edt.el (tpu-edt-mode):
14832 * emulation/tpu-extras.el (tpu-cursor-free-mode):
14833 * international/iso-ascii.el (iso-ascii-mode):
14834 * language/thai-util.el (thai-word-mode):
14835 * mail/supercite.el (sc-minor-mode):
14836 * net/goto-addr.el (goto-address-mode):
14837 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
14838 * progmodes/cwarn.el (cwarn-mode):
14839 * progmodes/flymake.el (flymake-mode):
14840 * progmodes/glasses.el (glasses-mode):
14841 * progmodes/hideshow.el (hs-minor-mode):
14842 * progmodes/pascal.el (pascal-outline-mode):
14843 * textmodes/enriched.el (enriched-mode):
14844 * vc/smerge-mode.el (smerge-mode):
14845 Doc fixes (minor mode argument).
14847 2012-02-07 Eli Zaretskii <eliz@gnu.org>
14849 * ls-lisp.el (ls-lisp-sanitize): New function.
14850 (ls-lisp-insert-directory): Use it to fix or remove any elements
14851 in file-alist with missing attributes. (Bug#4673)
14853 2012-02-07 Alan Mackenzie <acm@muc.de>
14855 Fix spurious recognition of c-in-knr-argdecl.
14857 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
14858 putative K&R region.
14860 2012-02-07 Alan Mackenzie <acm@muc.de>
14862 * progmodes/cc-engine.el (c-forward-objc-directive):
14863 Prevent looping in "#pragma mark @implementation".
14865 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
14867 * notifications.el (notifications-on-closed-signal): Make `reason'
14868 optional. (Bug#10744)
14870 2012-02-07 Glenn Morris <rgm@gnu.org>
14872 * emacs-lisp/easy-mmode.el (define-minor-mode):
14873 Doc fixes for the macro and the mode it defines.
14875 * image.el (imagemagick-types-inhibit): Doc fix.
14877 * cus-start.el (imagemagick-render-type): Add it.
14879 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
14881 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
14882 Set the default at load time, too, so that `font-lock-fontify-buffer'
14883 can be called without setting up the entire mode first. This fixes
14884 a bug in `mm-inline-text' with C MIME parts.
14886 2012-02-06 Chong Yidong <cyd@gnu.org>
14888 * simple.el (list-processes--refresh): Delete exited processes
14891 * comint.el (comint-next-prompt): next-single-char-property-change
14892 and prev-single-char-property-change never return nil (Bug#8657).
14894 * custom.el (defcustom): Doc fix (Bug#9711).
14896 2012-02-05 Chong Yidong <cyd@gnu.org>
14898 * cus-edit.el (custom-variable-reset-backup): Quote the value
14899 before storing it in the customized-value property (Bug#6712).
14900 (custom-display): Add a customization type tag.
14901 (custom-buffer-create-internal): Improve tooltip message.
14903 * wid-edit.el (widget-field-value-get): New optional arg to
14904 suppress trailing whitespace truncation.
14905 (character): Use it (Bug#2689).
14907 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
14909 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
14910 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
14912 2012-02-05 Chong Yidong <cyd@gnu.org>
14914 * cus-edit.el (custom-variable-value-create): For mismatched
14915 types, show the current value (Bug#7600).
14917 * custom.el (defcustom): Doc fix.
14919 2012-02-05 Glenn Morris <rgm@gnu.org>
14921 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
14923 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
14925 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
14926 (pp-buffer): Use `ignore-errors', `looking-at-p'.
14927 (pp-last-sexp): Use `looking-at-p'.
14929 2012-02-04 Glenn Morris <rgm@gnu.org>
14931 * files.el (revert-buffer):
14932 Doc fix (mention revert-buffer-in-progress-p).
14934 * emacs-lisp/ert-x.el (ert-simulate-command):
14935 Check deferred-action-list (which is obsolete) is bound.
14937 * subr.el (with-wrapper-hook): Doc fixes.
14939 * simple.el (filter-buffer-substring-functions)
14940 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
14942 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
14944 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
14945 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
14947 2012-02-04 Leo Liu <sdl.web@gmail.com>
14949 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
14951 2012-02-04 Glenn Morris <rgm@gnu.org>
14953 * image.el (image-extension-data): Add obsolete alias.
14955 * isearch.el (isearch-update): Doc fix.
14957 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
14959 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
14961 2012-02-03 Glenn Morris <rgm@gnu.org>
14963 * image.el (image-animated-p): Doc fix. Use image-animated-types.
14964 (image-animate-timeout): Doc fix.
14966 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
14968 2012-02-02 Glenn Morris <rgm@gnu.org>
14970 * server.el (server-auth-dir): Doc fix.
14971 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
14973 * subr.el (run-mode-hooks): Doc fix.
14975 2012-02-02 Juri Linkov <juri@jurta.org>
14977 * image-mode.el (image-toggle-display-image): Remove tautological
14978 `major-mode' from the `derived-mode-p' test.
14980 2012-02-02 Kenichi Handa <handa@m17n.org>
14982 * composite.el (compose-region): Cancel previous change.
14984 2012-02-02 Kenichi Handa <handa@m17n.org>
14986 * composite.el (compose-region, compose-string): Signal error for
14987 a null string component (Bug#6988).
14989 2012-02-01 Chong Yidong <cyd@gnu.org>
14991 * view.el (view-buffer-other-window, view-buffer-other-frame):
14992 Handle special modes like view-buffer (Bug#10650).
14993 (view-buffer): Simplify.
14995 * frame.el (set-frame-font): Tweak meaning of third argument.
14997 * dynamic-setting.el (font-setting-change-default-font):
14998 Use set-frame-font (Bug#9982).
15000 2012-02-01 Glenn Morris <rgm@gnu.org>
15002 * progmodes/compile.el (compilation-internal-error-properties):
15003 Respect compilation-first-column in the "*compilation*" buffer.
15005 * emacs-lisp/easy-mmode.el (define-minor-mode):
15006 Relax :variable's test for a named function.
15008 2012-01-31 Alan Mackenzie <acm@muc.de>
15010 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
15013 2012-01-31 Chong Yidong <cyd@gnu.org>
15015 * frame.el (set-frame-font): New arg ALL-FRAMES.
15017 * menu-bar.el (menu-set-font): Use set-frame-font.
15019 * faces.el (face-spec-reset-face): Don't apply unspecified
15020 attribute values to the default face.
15022 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
15024 * progmodes/cwarn.el (cwarn): Remove dead link.
15025 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
15026 Remove * from defcustom docstrings.
15027 (turn-on-cwarn-mode): Make obsolete.
15028 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
15029 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
15031 2012-01-31 Glenn Morris <rgm@gnu.org>
15033 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
15034 Fix :variable handling of mode a symbol not equal to modefun.
15035 Allow named functions to be used as the cdr of :variable.
15037 2012-01-30 Glenn Morris <rgm@gnu.org>
15039 * emacs-lisp/authors.el (authors-fixed-entries):
15040 Remove reference to deleted file rnewspost.el.
15042 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
15044 * window.el (window-with-parameter): Remove unused variable `windows'.
15045 (window--side-check): Remove unused variable `code'.
15046 (window--resize-siblings): Remove unused variable `first'.
15047 (adjust-window-trailing-edge): Remove unused variable `failed'.
15048 (window-deletable-p, window--delete): Remove unused variable `buffer'.
15049 Use `let', not `let*'.
15050 (balance-windows-2): Remove unused variable `found'.
15051 (window--state-put-2): Remove unused variable `splits'.
15052 (window-state-put): Remove unused variable `selected'.
15053 (same-window-p): Use `string-match-p'.
15054 (display-buffer-assq-regexp): Remove unused variable `value'.
15055 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
15056 Mark argument ALIST as ignored.
15057 (pop-to-buffer): Remove unused variable `old-window'.
15059 2012-01-29 Eli Zaretskii <eliz@gnu.org>
15061 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
15062 and .lzma compressed files.
15064 2012-01-29 Chong Yidong <cyd@gnu.org>
15066 * frame.el (window-system-default-frame-alist): Doc fix.
15068 * dynamic-setting.el (font-setting-change-default-font): Don't
15069 change the default face if SET-FONT argument is non-nil (Bug#9982).
15071 2012-01-29 Samuel Bronson <naesten@gmail.com>
15073 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
15075 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
15077 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
15078 breakpoints in files outside current directory (Bug#6098).
15080 2012-01-29 Chong Yidong <cyd@gnu.org>
15082 * progmodes/python.el: Require ansi-color at top-level.
15084 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
15085 Define and use in Emacs Lisp mode (Bug#9360).
15086 (lisp-mode-abbrev-table): Add doc.
15087 (lisp-mode-variables): Don't set local-abbrev-table.
15088 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
15090 2012-01-28 Roland Winkler <winkler@gnu.org>
15092 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
15094 2012-01-28 Roland Winkler <winkler@gnu.org>
15096 * textmodes/bibtex.el (bibtex-entry-alist): New function.
15097 (bibtex-set-dialect): Use it. Either set global values of
15098 dialect-dependent variables or bind these variables buffer-locally
15100 (bibtex-mode): Call bibtex-set-dialect via
15101 hack-local-variables-hook.
15102 (bibtex-dialect): Update docstring.
15103 Add safe-local-variable predicate.
15104 (bibtex-entry-alist, bibtex-field-alist): Initialize via
15105 bibtex-set-dialect.
15106 (bibtex-mode-map): Define menu for each dialect.
15107 (bibtex-entry): Fix docstring.
15109 2012-01-28 Chong Yidong <cyd@gnu.org>
15111 * eshell/esh-arg.el (eshell-quote-argument): New function.
15113 * eshell/esh-ext.el (eshell-invoke-batch-file):
15114 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
15115 first arg to eshell-parse-command (Bug#10523).
15117 2012-01-28 Drew Adams <drew.adams@oracle.com>
15119 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
15120 `default-directory' is non-nil.
15122 2012-01-28 Eli Zaretskii <eliz@gnu.org>
15124 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
15125 line that displays system-configuration-options. (Bug#9924)
15127 2012-01-28 Drew Adams <drew.adams@oracle.com>
15129 * descr-text.el (describe-char): Show information about POS, in
15130 addition to information about the character at POS. Improve and
15131 update the doc string. Change "code point" to "code point in
15132 charset", to avoid confusion with the character's Unicode code
15133 point shown above that. (Bug#10129)
15135 2012-01-28 Eli Zaretskii <eliz@gnu.org>
15137 * descr-text.el (describe-char): Show the raw character, not only
15138 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
15139 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
15142 2012-01-28 Phil Hagelberg <phil@hagelb.org>
15144 * emacs-lisp/package.el (package-install):
15145 Run package-refresh-contents if there is no archive yet (Bug#9798).
15147 2012-01-28 Chong Yidong <cyd@gnu.org>
15149 * emacs-lisp/package.el (package-maybe-load-descriptor):
15150 New function, split from package-maybe-load-descriptor.
15151 (package-maybe-load-descriptor): Use it.
15152 (package-download-transaction): Fully load required packages
15153 inside the loop, so that `require' calls work (Bug#10593).
15154 (package-install): No need to call package-initialize now.
15156 2012-01-28 Chong Yidong <cyd@gnu.org>
15158 * simple.el (deactivate-mark): Doc fix (Bug#8614).
15160 * tooltip.el (tooltip-mode): Doc fix.
15161 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
15163 * frame.el (set-cursor-color): Doc fix (Bug#352).
15165 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
15166 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
15168 * cus-edit.el (custom-buffer-create-internal): Fix search button
15169 action (Bug#10542).
15170 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
15172 2012-01-27 Eduard Wiebe <usenet@pusto.de>
15174 * dired.el (dired-mark-files-regexp):
15175 Include any subdirectory components. (Bug#10445)
15177 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
15179 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
15180 Handle [host]:port syntax. (Bug#10533)
15182 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
15184 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
15186 2012-01-26 Glenn Morris <rgm@gnu.org>
15188 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
15189 * term.el (term-raw-escape-map): Use Control-X-prefix.
15190 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
15192 2012-01-25 Martin Rudalics <rudalics@gmx.at>
15194 * window.el (window-state-get, window--state-get-1): Don't deal
15195 with fixed-sizeness of windows. Simplify code.
15197 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
15199 * window.el (window--state-get-1, window--state-put-2):
15200 Don't save and restore the mark.
15202 2012-01-25 Chong Yidong <cyd@gnu.org>
15204 * custom.el (custom-variable-p): Doc fix.
15206 2012-01-25 Glenn Morris <rgm@gnu.org>
15208 * dired.el (dired-goto-file): Handle some of the more common
15209 characters that `ls -b' escapes. (Bug#10596)
15211 * progmodes/compile.el (compilation-next-error-function):
15212 Respect compilation-first-column in the "*compilation*" buffer.
15213 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
15215 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
15217 2012-01-24 Glenn Morris <rgm@gnu.org>
15219 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
15221 2012-01-24 Julien Danjou <julien@danjou.info>
15223 * color.el (color-rgb-to-hsl): Fix value computing.
15224 (color-hue-to-rgb): New function.
15225 (color-hsl-to-rgb): New function.
15226 (color-clamp, color-saturate-hsl, color-saturate-name)
15227 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
15228 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
15230 2012-01-24 Glenn Morris <rgm@gnu.org>
15232 * vc/vc-rcs.el (vc-rcs-create-tag):
15233 * vc/vc-sccs.el (vc-sccs-create-tag):
15234 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
15236 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
15238 * eshell/esh-util.el (eshell-read-hosts-file):
15239 Skip comment lines. (Bug#10549)
15241 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
15243 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
15245 * subr.el (display-delayed-warnings): Doc fix.
15246 (collapse-delayed-warnings): New function to collapse identical
15248 (delayed-warnings-hook): Add it.
15250 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
15252 * net/tramp.el (tramp-action-login): Set connection property "login-as".
15254 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
15255 (tramp-default-user-alist): Don't add "pscp".
15256 (tramp-do-copy-or-rename-file-out-of-band): Use connection
15257 property "login-as", if set. (Bug#10530)
15259 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
15261 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
15262 "plink1" and "psftp". (Bug#10530)
15264 2012-01-21 Kenichi Handa <handa@m17n.org>
15266 * international/mule-cmds.el (prefer-coding-system): Show a
15267 warning message if the default value of file-name-coding-system
15270 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
15272 * windmove.el (windmove-reference-loc):
15273 Fix windmove-reference-loc miscalculation.
15275 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
15277 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
15280 2012-01-21 Glenn Morris <rgm@gnu.org>
15282 * international/mule.el (auto-coding-alist): Add .tbz.
15284 * files.el (local-enable-local-variables): Doc fix.
15285 (inhibit-local-variables-regexps): Rename from
15286 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
15287 Doc fix. Add some extensions from auto-coding-alist.
15288 (inhibit-local-variables-suffixes):
15289 Rename from inhibit-first-line-modes-suffixes. Doc fix.
15290 (inhibit-local-variables-p):
15291 New function, extracted from set-auto-mode-1.
15292 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
15293 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
15294 (hack-local-variables): Doc fix. Make the mode-only case
15295 respect enable-local-variables and friends.
15296 Respect inhibit-local-variables-regexps for file-locals, but
15297 not for directory-locals.
15298 (set-visited-file-name):
15299 Take account of inhibit-local-variables-regexps.
15300 Whether it applies may change as the file name is changed.
15301 * jka-cmpr-hook.el (jka-compr-install):
15302 * jka-compr.el (jka-compr-uninstall):
15303 Update for inhibit-first-line-modes-suffixes name change.
15305 2012-01-20 Martin Rudalics <rudalics@gmx.at>
15307 * help-macro.el (make-help-screen): Temporarily restore original
15308 binding for minor-mode-map-alist (Bug#10454).
15310 2012-01-19 Julien Danjou <julien@danjou.info>
15312 * color.el (color-name-to-rgb): Use the white color to find the max
15313 color component value and return correctly computed values.
15314 (color-name-to-rgb): Add missing float conversion for max value.
15316 2012-01-19 Martin Rudalics <rudalics@gmx.at>
15318 * window.el (window--state-get-1, window-state-get): Do not use
15319 special state value for window-persistent-parameters.
15320 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
15321 (window--state-put-2): Reset all window parameters to nil before
15322 assigning values of persistent parameters.
15324 2012-01-18 Alan Mackenzie <acm@muc.de>
15326 Eliminate sluggishness and hangs in fontification of "semicolon
15329 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
15330 Change value 10000 -> 3000.
15331 (c-state-safe-place): Reformulate so it doesn't stack up an
15332 infinite number of wrong entries in c-state-nonlit-pos-cache.
15333 (c-determine-limit-get-base, c-determine-limit): New functions to
15334 determine backward search limits disregarding literals.
15335 (c-find-decl-spots): Amend commenting.
15336 (c-cheap-inside-bracelist-p): New function which detects "={".
15338 * progmodes/cc-fonts.el
15339 (c-make-font-lock-BO-decl-search-function): Give a limit to a
15341 (c-font-lock-declarations): Fix an occurrence of point being
15342 undefined. Check additionally for point being in a bracelist or
15343 near a macro invocation without a semicolon so as to avoid a
15344 fruitless time consuming search for a declarator. Give a more
15345 precise search limit for declarators using the new
15348 2012-01-18 Glenn Morris <rgm@gnu.org>
15350 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
15351 (set-auto-mode): Doc fixes.
15353 2012-01-17 Glenn Morris <rgm@gnu.org>
15355 * isearch.el (search-nonincremental-instead): Fix doc typo.
15357 * dired.el (dired-insert-directory): Handle newlines in directory name.
15358 (dired-build-subdir-alist): Unescape newlines in directory name.
15360 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
15362 * net/tramp.el (tramp-local-end-of-line): New defcustom.
15363 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
15364 (tramp-action-terminal): Use it. (Bug#10530)
15366 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
15368 * minibuffer.el (completion--replace): Strip properties (bug#10062).
15370 2012-01-16 Martin Rudalics <rudalics@gmx.at>
15372 * window.el (window-state-ignored-parameters): Remove variable.
15373 (window--state-get-1): Rename argument MARKERS to IGNORE.
15374 Handle persistent window parameters. Make copy of clone-of
15375 parameter only if requested. (Bug#10348)
15376 (window--state-put-2): Install a window parameter only if it has
15377 a non-nil value or an existing parameter shall be overwritten.
15379 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
15381 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
15383 2012-01-14 Eli Zaretskii <eliz@gnu.org>
15385 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
15386 don't pass the (nil) value of `upnode' to string-match.
15388 2012-01-14 Chong Yidong <cyd@gnu.org>
15390 * startup.el (command-line): Fix X resource class for cursorColor.
15391 Fix values recognized by the cursorBlink resource.
15393 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
15395 * epg.el (epg--make-temp-file): Avoid permission race condition
15396 when running on old Emacs versions (bug#10403).
15398 2012-01-14 Glenn Morris <rgm@gnu.org>
15400 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
15402 2012-01-13 Alan Mackenzie <acm@muc.de>
15404 Fix filling for when filladapt mode is enabled.
15406 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
15407 c-mask-paragraph, pass in `fill-paragraph' rather than
15408 `fill-region-as-paragraph'. (This is a reversion of a previous
15410 * progmodes/cc-mode.el (c-basic-common-init):
15411 Make fill-paragraph-handle-comment buffer local and set it to nil.
15413 2012-01-13 Glenn Morris <rgm@gnu.org>
15415 * dired.el (dired-switches-escape-p): New function.
15416 (dired-insert-directory): Use dired-switches-escape-p.
15417 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
15419 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
15421 2012-01-12 Glenn Morris <rgm@gnu.org>
15423 * mail/sendmail.el (mail-mode): Update paragraph-separate for
15424 changes in adaptive-fill-regexp. (Bug#10276)
15426 2012-01-11 Alan Mackenzie <acm@muc.de>
15428 Fix Emacs bug #10463 - put `widen's around the critical spots.
15430 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
15431 widen around each invocation of c-state-pp-to-literal. Remove an
15432 unused let variable.
15434 2012-01-11 Glenn Morris <rgm@gnu.org>
15436 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
15439 2012-01-10 Chong Yidong <cyd@gnu.org>
15441 * net/network-stream.el (network-stream-open-starttls):
15442 Avoid emitting a confusing error message when the server gives a bad
15443 response to the capability command.
15445 2012-01-10 Glenn Morris <rgm@gnu.org>
15447 * mail/unrmail.el (unrmail): Tweak previous change.
15449 2012-01-09 Chong Yidong <cyd@gnu.org>
15451 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
15453 2012-01-08 Alan Mackenzie <acm@muc.de>
15455 Optimize font locking in long enum definitions.
15457 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
15458 arm to a cond form to handle enums.
15459 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
15460 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
15462 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
15464 * files.el (move-file-to-trash): Preserve default file modes on error.
15467 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
15469 * faces.el (set-face-attribute): Clarify the meaning of the nil
15472 * subr.el (with-selected-frame): Mention that the selected frame
15473 is restored (bug#9980).
15475 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
15478 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
15479 (password-read): Don't autoload unused function.
15481 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
15483 * progmodes/which-func.el (which-func-mode): Turn into a
15484 non-interactive function and mark as obsolete (bug#10428).
15486 2012-01-06 Chong Yidong <cyd@gnu.org>
15488 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
15489 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
15490 functions, along with 1 and -1.
15492 2012-01-06 Eli Zaretskii <eliz@gnu.org>
15494 * time.el (display-time-load-average)
15495 (display-time-default-load-average): Doc fixes. See the thread
15497 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
15500 2012-01-06 Glenn Morris <rgm@gnu.org>
15502 * mail/unrmail.el (unrmail): Give an explicit error if the input file
15503 has no messages. (Bug#10377)
15505 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
15506 than Info-edit. (Bug#10385)
15508 * time.el (display-time-load-average, display-time-next-load-average):
15511 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
15512 local setting of buffer-read-only to the input buffer. (Bug#10419)
15514 * calendar/calendar.el (calendar-mode):
15515 Locally set scroll-margin to 0. (Bug#10379)
15517 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
15519 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
15521 2012-01-05 Glenn Morris <rgm@gnu.org>
15523 * eshell/em-unix.el (diff-no-select): Autoload it.
15524 (eshell/diff): Use diff-no-select. (Bug#10420)
15526 2012-01-05 Chong Yidong <cyd@gnu.org>
15528 * shell.el (shell-dynamic-complete-functions): Revert last change.
15529 (shell-command-completion-function): New function.
15530 (shell-completion-vars): Use it to implement
15531 shell-completion-execonly (Bug#10417).
15533 * custom.el (enable-theme): Don't set custom-safe-themes.
15535 * cus-theme.el (custom-theme-merge-theme):
15536 Ignore custom-enabled-themes and custom-safe-themes.
15538 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
15540 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
15541 first prompt in `sql-interacive-mode'.
15542 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
15544 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
15545 (sql-product-interactive): Bug fix: Set `sql-buffer' in
15546 context of original buffer. Invoke `sql-login-hook'.
15548 2012-01-04 Eli Zaretskii <eliz@gnu.org>
15550 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
15551 letters in cite-prefix.
15553 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15555 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
15557 2012-01-03 Chong Yidong <cyd@gnu.org>
15559 * shell.el (shell-dynamic-complete-functions):
15560 Put pcomplete-completions-at-point, so as to try
15561 comint-filename-completion first (Bug#10417).
15563 2012-01-02 Richard Stallman <rms@gnu.org>
15565 * battery.el (battery-status-function):
15566 Detect when to use battery-yeeloong-sysfs.
15567 (battery-echo-area-format): Add string for Yeeloong.
15568 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
15569 (battery-yeeloong-sysfs): New function.
15571 2012-01-02 Chong Yidong <cyd@gnu.org>
15573 * dirtrack.el (dirtrack-list): Eliminate unused third element.
15574 (dirtrack): Merge code for handling relative filenames in prompt
15575 from shell-dir-cookie-watcher.
15576 (dirtrack-debug-message): New arg to avoid excess format calls.
15578 * shell.el (shell-dir-cookie-re): Variable deleted.
15579 (shell-dir-cookie-watcher): Function deleted.
15580 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
15581 with dirtrack-mode.
15583 2012-01-01 Eli Zaretskii <eliz@gnu.org>
15585 * term/w32-win.el (dynamic-library-alist) <gnutls>:
15586 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
15589 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
15591 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
15593 2011-12-31 Eli Zaretskii <eliz@gnu.org>
15595 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
15596 headers of non-MIME messages, when rmail-enable-mime is non-nil.
15598 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
15600 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
15601 also for alternative shells.
15602 (tramp-open-connection-setup-interactive-shell): Check, whether
15603 the shell is a busybox.
15604 (tramp-send-command): Don't suppress multiple prompts for
15605 busyboxes, it hurts.
15607 2011-12-28 Chong Yidong <cyd@gnu.org>
15609 * progmodes/gdb-mi.el (gdb-get-source-file-list)
15610 (gdb-get-source-file): Move mode line update to
15611 gdb-get-source-file (Bug#10087).
15613 2011-12-25 Chong Yidong <cyd@gnu.org>
15615 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
15616 gud-gdb-marker-filter without taking it as an argument.
15617 (gud-gdb-run-command-fetch-lines): Caller changed.
15618 (gud-gdb-completion-function): New variable.
15619 (gud-gdb-completion-at-point): Use it.
15620 (gud-gdb-completions-1): Split from gud-gdb-completions.
15622 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
15623 function as separate arguments.
15624 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
15625 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
15626 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
15627 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
15628 (gdb-stopped, def-gdb-auto-update-trigger)
15629 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
15630 (gdb-get-changed-registers, gdb-get-main-selected-frame):
15632 (gud-gdbmi-completions): New function.
15633 (gdb): Use it for generating the completion table.
15635 2011-12-24 Alan Mackenzie <acm@muc.de>
15637 Introduce a mechanism to widen the region used in context font
15638 locking. Use this to protect declarations from losing their contexts.
15640 * progmodes/cc-langs.el (c-before-font-lock-functions):
15641 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
15642 (c-before-context-fontification-functions): New defvar, a list of
15643 functions to be run just before context (etc.) font locking.
15645 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
15646 New, functionality extracted from
15647 c-neutralize-syntax-in-and-mark-CPP.
15648 (c-in-after-change-fontification): New variable.
15649 (c-after-change): Set c-in-after-change-fontification.
15650 (c-set-fl-decl-start): Rejig its interface, so it can be called
15651 from both after-change and context fontifying.
15652 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
15654 (c-standard-font-lock-fontify-region-function): New variable.
15655 (c-font-lock-fontify-region): New function.
15657 2011-12-24 Juri Linkov <juri@jurta.org>
15659 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
15662 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
15664 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
15665 existence of source file. (Bug#10325)
15667 2011-12-23 Alan Mackenzie <acm@muc.de>
15669 Fix unstable fontification inside templates.
15671 * progmodes/cc-langs.el (c-before-font-lock-functions):
15672 Newly created from the singular version. The (c c++ objc) entry now
15673 additionally has c-set-fl-decl-start. The other languages (apart
15674 from AWK) have that as a single entry.
15676 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
15677 The functionality for "local" declarations has been extracted to
15678 c-set-fl-decl-start.
15680 * progmodes/cc-mode.el (c-common-init, c-after-change):
15681 Changes due to pluralisation of c-before-font-lock-functions.
15682 (c-set-fl-decl-start): New function, extracted from
15683 c-font-lock-enclosing-decls and enhanced.
15685 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
15687 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
15689 2011-12-22 Juri Linkov <juri@jurta.org>
15691 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
15693 2011-12-22 Chong Yidong <cyd@gnu.org>
15695 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
15697 2011-12-21 Drew Adams <drew.adams@oracle.com>
15699 * files.el (file-remote-p): Fix docstring. (Bug#10319)
15701 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
15703 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
15705 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
15707 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
15708 highlighting and support. Fix up comments for capitalization.
15709 (cfengine-mode-debug): New var.
15710 (cfengine3-mode): Change the modeline indicator to "CFE3".
15711 (cfengine3-font-lock-keywords): Improve defun highlighting.
15712 (cfengine2-actions): Rename from `cfengine-actions'.
15713 (cfengine2-font-lock-keywords): Rename from
15714 `cfengine-font-lock-keywords'.
15715 (cfengine2-imenu-expression): Rename from
15716 `cfengine-imenu-expression'.
15717 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
15718 (cfengine2-beginning-of-defun): Rename from
15719 `cfengine-beginning-of-defun'.
15720 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
15721 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
15722 (cfengine2-mode): Rename from `cfengine-mode'. Change the
15723 modeline indicator to "CFE2".
15724 (cfengine-mode): Defalias to `cfengine-auto-mode'.
15725 (cfengine-mode-abbrevs): Mark obsolete.
15727 2011-12-21 Chong Yidong <cyd@gnu.org>
15729 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
15732 2011-12-20 Martin Rudalics <rudalics@gmx.at>
15734 * window.el (window-normalize-buffer-to-display): Remove.
15735 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
15737 2011-12-19 Chong Yidong <cyd@gnu.org>
15739 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
15740 Don't signal an error in a predicate function; return non-nil.
15741 (vc-dir-mark-file): Move the error here.
15742 (vc-dir-mark-unmark): If acting on the region, keep going if one
15743 of the entries cannot be marked/unmarked.
15744 (vc-dir-mark-all-files): If current entry is a directory, mark
15745 only child files, as documented.
15747 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
15749 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
15750 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
15753 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
15755 * term/ns-win.el (ns-get-selection-internal)
15756 (ns-store-selection-internal): Declare.
15757 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
15758 Declare as obsolete.
15759 (ns-get-pasteboard, ns-paste-secondary):
15760 Use ns-get-selection-internal.
15761 (ns-set-pasteboard, ns-copy-including-secondary):
15762 Use ns-store-selection-internal.
15764 2011-12-17 Chong Yidong <cyd@gnu.org>
15766 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
15767 (vc-deduce-fileset): Doc fix.
15769 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
15771 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
15773 2011-12-13 Sam Steingold <sds@gnu.org>
15775 * man.el (Man-getpage-in-background): When running under a
15776 window-system, ignore $MANWIDTH and $COLUMNS.
15778 2011-12-15 Kenichi Handa <handa@m17n.org>
15780 * language/ethio-util.el: Change coding tag to utf-8-emacs.
15781 (setup-ethiopic-environment-internal): Comment out key-binding for
15782 ethio-toggle-punctuation.
15784 2011-12-13 Alan Mackenzie <acm@muc.de>
15786 Add the switch statement to AWK Mode.
15788 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
15789 "default" to the keywords regexp.
15791 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
15792 expression as the rest.
15793 (c-nonlabel-token-key): Allow string literals for AWK.
15794 Refactor for the other modes.
15796 Large brace-block initialisation makes CC Mode slow: Fix.
15797 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
15798 routines. Limit backward searching in c-font-lock-enclosing.decl.
15800 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
15801 pp-state and literal type in addition to the limits.
15802 (c-state-safe-place): New defun, extracted from c-state-literal-at.
15803 (c-state-literal-at): Use the above new defun.
15804 (c-slow-in-literal, c-fast-in-literal): Remove.
15805 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
15807 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
15808 being in a literal. Add a limit for backward searching.
15810 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
15813 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
15815 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
15817 2011-12-13 Martin Rudalics <rudalics@gmx.at>
15819 * window.el (delete-other-windows): Use correct frame in call to
15820 window-with-parameter.
15822 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
15824 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
15825 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
15826 (makefile-gmake-statements, makefile-makepp-statements):
15827 Use it and add new makepp keywords.
15828 (makefile-makepp-font-lock-keywords): Add new patterns.
15829 (makefile-match-function-end): Match new [...] and [[...]].
15831 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
15833 * ses.el (ses-call-printer-return, ses-cell-property-get)
15834 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
15835 (ses-create-cell-variable, ses-reset-header-string)
15836 (ses-cell-set-formula, ses-repair-cell-reference-all)
15837 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
15838 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
15839 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
15840 (ses-aset-with-undo, ses-load, ses-truncate-cell)
15841 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
15842 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
15843 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
15844 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
15845 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
15846 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
15847 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
15848 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
15850 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
15852 * ses.el: The overall change is to add cell renaming, that is
15853 setting fancy names for cell symbols other than name matching
15854 "\\`[A-Z]+[0-9]+\\'" regexp .
15855 (ses-create-cell-variable): New defun.
15856 (ses-relocate-formula): Relocate formulas only for cells the
15857 symbols of which are not renamed, i.e. symbols whose names do not
15858 match regexp "\\`[A-Z]+[0-9]+\\'".
15859 (ses-relocate-all): Relocate values only for cells the symbols of
15860 which are not renamed.
15861 (ses-load): Create cells variables as the (ses-cell ...) are read,
15862 in order to check row col consistency with cell symbol name only
15863 for cells that are not renamed.
15864 (ses-replace-name-in-formula): New defun.
15865 (ses-rename-cell): New defun.
15867 2011-12-11 Chong Yidong <cyd@gnu.org>
15869 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
15870 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
15872 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
15874 * window.el (other-window): Fix docstring.
15876 2011-12-10 Eli Zaretskii <eliz@gnu.org>
15878 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
15879 `from' or `to' address before taking its substring.
15880 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
15881 encoded name is chopped in the middle of the encoded string, and
15882 thus displayed encoded.
15884 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
15886 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
15888 2011-12-10 Eli Zaretskii <eliz@gnu.org>
15890 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
15891 to use texinfo-update-node and commands that call it if the
15892 Texinfo file uses @node lines without next/prev/up pointers.
15893 Correct outdated description about texinfo-master-menu.
15894 (texinfo-all-menus-update, texinfo-master-menu)
15895 (texinfo-update-node, texinfo-every-node-update)
15896 (texinfo-multiple-files-update): Doc fix. Warn against updating
15897 all the @node lines.
15898 (texinfo-master-menu): Only call texinfo-update-node if the prefix
15899 argument is numeric. Explain better in the doc string what the
15900 function really does.
15901 (texinfo-insert-master-menu-list): Improve the error message
15902 displayed if there's no menu in the Top node.
15903 (Bug#2975) See also this thread:
15904 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
15906 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
15908 * speedbar.el (speedbar-supported-extension-expressions):
15909 Add .adb and .ads, commonly used for Ada source code (bug#10256).
15911 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
15913 * printing.el (pr-mode-alist):
15914 * simple.el (filter-buffer-substring-functions)
15915 (completion-list-insert-choice-function):
15916 * window.el (window-with-parameter, window-atom-root)
15917 (window-sides-slots, window-size-fixed, window-min-delta)
15918 (window-max-delta, window--resize-mini-window)
15919 (window--resize-child-windows-normal, window-tree)
15920 (delete-other-windows, quit-window, split-window)
15921 (display-buffer-record-window, special-display-buffer-names)
15922 (special-display-regexps, special-display-popup-frame)
15923 (same-window-p, split-window-sensibly)
15924 (display-buffer-overriding-action, display-buffer-alist)
15925 (display-buffer-base-action, display-buffer, switch-to-buffer)
15926 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
15927 (fit-window-to-buffer, recenter-positions)
15928 (mouse-autoselect-window-state, mouse-autoselect-window-select):
15929 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
15930 and remove unneeded backslashes in docstrings.
15932 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
15934 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
15936 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
15937 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
15939 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
15940 when reading the makefile (bug#10116).
15942 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
15944 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
15947 2011-12-06 Glenn Morris <rgm@gnu.org>
15949 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
15951 2011-12-06 Chong Yidong <cyd@gnu.org>
15953 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
15955 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
15957 * textmodes/table.el (table-shorten-cell): Fix typo.
15959 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
15961 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
15963 2011-12-05 Eli Zaretskii <eliz@gnu.org>
15965 * descr-text.el (describe-char): Fix display of strong
15966 right-to-left characters and directional embeddings and overrides.
15968 * simple.el (what-cursor-position): Fix display of codepoints of
15969 strong right-to-left characters.
15971 2011-12-05 Chong Yidong <cyd@gnu.org>
15973 * faces.el (read-color): Doc fix.
15975 2011-12-05 Glenn Morris <rgm@gnu.org>
15977 * align.el (align--set-marker): Add doc-string.
15978 Don't try to move something that is not a marker. (Bug#10216)
15980 2011-12-04 Glenn Morris <rgm@gnu.org>
15982 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
15983 overly zealous deletion of trailing whitespace.
15985 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
15987 * server.el (server-delete-client): On Windows, do not try to delete
15989 (server-process-filter): On Windows, treat requests for a tty frame as
15990 if they were for a GUI frame if the running server is in GUI mode.
15992 2011-12-03 Glenn Morris <rgm@gnu.org>
15994 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
15996 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
15998 * electric.el: Streamline electric-indent's hook.
15999 (electric-indent-chars): Revert to simple list.
16000 (electric-indent-functions): New var.
16001 (electric-indent-post-self-insert-function): Use it.
16003 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
16004 there's no inferior buffer (bug#10196).
16005 (prolog-consult-compile): Don't use toggle-read-only.
16007 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
16009 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
16010 interrupt. (Bug#10187)
16012 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
16014 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
16017 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
16020 2011-12-02 Juri Linkov <juri@jurta.org>
16022 * info.el (Info-search): Display "end of manual" when Isearch
16023 reaches the end of single-file Info manual. (Bug#9918)
16025 2011-12-02 Eli Zaretskii <eliz@gnu.org>
16027 * isearch.el (isearch-message-prefix): Run the input method part
16028 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
16030 2011-12-02 Juri Linkov <juri@jurta.org>
16032 * isearch.el (isearch-occur): Use `word-search-regexp' for
16034 (isearch-search-and-update): Add condition for `isearch-word' and
16035 call `word-search-regexp'. (Bug#10145)
16037 2011-12-01 Glenn Morris <rgm@gnu.org>
16039 * eshell/em-hist.el (eshell-hist-initialize):
16040 Handle eshell-history-size nil and HISTSIZE set or unset.
16041 (eshell-history-file-name, eshell-history-size): Fix custom type.
16043 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
16045 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
16047 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
16049 * progmodes/verilog-mode.el (verilog-pretty-expr):
16050 Rework verilog-pretty-expr to handle new assignment operators in system
16051 verilog, such as += *= and the like.
16052 (verilog-assignment-operator-re): Regular expression to find the
16053 assigment operator in a verilog assignment.
16054 (verilog-assignment-operation-re): Regular expression to find an
16055 assignment statement for pretty-expr.
16056 (verilog-in-attribute-p): Query returns true if point is in an
16057 attribute context; used to skip these for expression line up from
16059 (verilog-in-parameter-p): Query returns true if point is in an
16060 parameter definition context; used to skip these for expression
16061 line up from pretty-expr.
16062 (verilog-in-parenthesis-p): Query returns true if point is in a
16063 parenthetical expression, specifically ( ) but not [ ] or { };
16064 used by pretty-expr.
16065 (verilog-just-one-space): If there is no space, don't add one.
16066 (verilog-get-lineup-indent-2): Specifically skip just attribute
16067 contexts for expression lineup, rather than skipping all
16068 parenthetical expressions.
16069 (verilog-calculate-indent): Fix comment, and fix indent.
16070 (verilog-do-indent): Indent declarations in lists (suggested by
16072 (verilog-mode-abbrev-table): Populate abbrev mode with the various
16074 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
16077 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
16079 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
16080 parameters with embedded comments. Reported by Ray Stevens.
16081 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
16082 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
16083 Reported by Tim Holt.
16084 (verilog-auto): Fix AUTOing a upper module then AUTOing module
16085 instantiated by upper module causing wrong expansion until AUTOed a
16086 second time. Reported by K C Buckenmaier.
16087 (verilog-diff-auto): Fix showing .* as a difference when
16088 `verilog-auto-star-save' off. Reported by Dan Dever.
16089 (verilog-auto-reset, verilog-read-always-signals)
16090 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
16091 temporary signals in reset list if
16092 verilog-auto-reset-blocking-in-non is nil, and match assignment
16093 style to each signal's assignment type, bug381.
16094 Reported by Thomas Esposito.
16095 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
16096 (verilog-uvm-statement-re): Support UVM indentation and
16097 highlighting, with old OVM keywords only.
16098 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
16099 Support AUTOTIEOFF creating non-wire data types.
16100 Suggested by Jonathan Greenlaw.
16101 (verilog-auto-insert-lisp, verilog-delete-to-paren)
16102 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
16103 (verilog-inject-sense, verilog-read-inst-pins)
16104 (verilog-read-sub-decls, verilog-read-sub-decls-line):
16105 Fix mismatching parenthesis inside commented out code when deleting
16106 AUTOINST, bug383. Reported by Jonathan Greenlaw.
16107 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
16108 non-numeric vector width. Reported by Alex Reed.
16109 (verilog-auto-ascii-enum): Add "onehot" option to work around not
16110 detecting signals with parameter widths. Reported by Alex Reed.
16111 (verilog-auto-delete-trailing-whitespace):
16112 With `verilog-auto-delete-trailing-whitespace' remove trailing
16113 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
16114 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
16115 Fix verilog-scan-cache corruption when running user AUTO expansion
16116 hooks that call indentation routines.
16117 (verilog-simplify-range-expression): Fix typo ignoring lower case
16119 (verilog-delete-auto): Fix delete-autos to also remove user created
16120 automatics, as long as they start with AUTO.
16121 (verilog-batch-diff-auto, verilog-diff-auto)
16122 (verilog-diff-function): Add `verilog-diff-auto' and bind to
16123 "C-c?" to report differences in AUTO expansion, ignoring spaces.
16124 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
16125 (verilog-in-paren-quick, verilog-re-search-backward-quick)
16126 (verilog-re-search-forward-quick, verilog-syntax-ppss):
16127 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
16128 is disabled and its cache will get corrupt, causing AUTOS not to
16129 expand. Instead use only -quick functions.
16130 (verilog-scan-region): Fix scanning over escaped quotes.
16131 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
16132 (verilog-re-search-backward-quick)
16133 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
16134 related functions now ignore strings, to fix misparsing of strings
16135 with magic comments embedded in them.
16136 (verilog-read-auto-template):
16137 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
16138 Reported by Brad Dobbie.
16139 (verilog-read-auto-template):
16140 Fix 'verilog-auto-inst-template-numbers' with comments.
16141 Reported by Brad Dobbie.
16142 (verilog-auto-inst, verilog-auto-inst-param)
16143 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
16144 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
16145 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
16146 debugging templates without merge conflicts, bug357.
16147 Reported by Brad Dobbie.
16148 (verilog-read-auto-template):
16149 Fix verilog-auto-inst-template-numbers with multiple templates.
16150 Reported by Brad Dobbie.
16151 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
16152 abbrevs so user won't be asked to save.
16153 (verilog-read-auto-lisp-present): Fix to start at beginning of
16154 buffer in case called outside of verilog-auto.
16155 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
16156 to "X-2". Reported by Matthew Myers.
16157 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
16158 all inputs from module templates. Reported by Leith Johnson.
16159 (verilog-module-inside-filename-p): Fix locating programs as with
16161 (verilog-auto-inst-port): Fix vl-width expressions when using
16162 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
16163 (verilog-decls-get-regs, verilog-decls-get-signals,
16164 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
16165 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
16166 verilog-read-decls): Combine reg and wire structures into one var
16167 structure to represent SystemVerilog concepts.
16168 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
16169 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
16170 (verilog-auto-wire-type, verilog-insert-definition):
16171 Add verilog-auto-wire-type and AUTOLOGIC to support using
16172 SystemVerilog "logic" keyword instead of "wire"/"reg".
16173 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
16174 to declares outputs that also have assignments (presumably in an
16175 ifdef or generate if so there's not a driver conflict).
16176 Reported by Matthew Myers.
16177 (verilog-auto-declare-nettype, verilog-insert-definition):
16178 Add verilog-auto-declare-nettype to fix declarations using
16179 `default_nettype none. Reported by Julian Gorfajn.
16180 (verilog-read-always-signals-recurse, verilog-read-decls)
16181 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
16182 malformed end statement, bug325. Reported by Joshua Wise and
16184 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
16185 (verilog-inst-comment-re): Fix not deleting Interfaced comment
16186 when expanding .* in interfaces, bug320.
16187 Reported by Pierre-David Pfister.
16188 (verilog-read-module-name): Fix import statements between module
16189 name and open parenthesis, bug317.
16190 Reported by Pierre-David Pfister.
16191 (verilog-simplify-range-expression): Fix simplification of
16192 multiplications inside AUTOWIRE connections, bug303.
16193 (verilog-auto-inst-port): Support parameter expansion in
16194 multidimensional arrays.
16195 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
16196 after "assert property". Reported by Julian Gorfajn.
16197 (verilog-simplify-range-expression): Fix "couldn't merge" errors
16198 with multiplication, bug303.
16199 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
16200 Reported by Jan Frode Lonnum.
16202 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
16204 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
16205 (hfy-shell-file-name, hfy-shell):
16206 * international/fontset.el (x-decompose-font-name): Fix typos.
16208 2011-11-29 Ken Brown <kbrown@cornell.edu>
16210 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
16211 (gdb-version): Remove defvar.
16212 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
16213 (gdb-gud-context-command, gdb-non-stop-handler)
16214 (gdb-current-context-command, gdb-stopped): Use it.
16215 (gdb-init-1): Enable pretty printing here.
16216 (gdb-non-stop-handler): Don't enable pretty-printing here.
16217 Check to see if the target supports non-stop mode; if not, turn off
16218 non-stop mode. Use the following.
16219 (gdb-check-target-async): New defun.
16220 (gud-watch, gdb-stopped): Fix whitespace.
16221 (gdb-get-source-file): Don't try to display the source file if
16222 `gdb-main-file' is nil.
16224 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
16226 * align.el: Try to generate fewer markers (bug#10047).
16227 (align--set-marker): New macro.
16228 (align-region): Use it.
16230 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
16232 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
16234 2011-11-29 Chong Yidong <cyd@gnu.org>
16236 * indent.el (indent-for-tab-command, indent-according-to-mode):
16238 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
16240 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
16242 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
16243 aware of remote file names. (Bug#10124)
16245 2011-11-29 Chong Yidong <cyd@gnu.org>
16247 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
16249 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
16251 * files.el (find-file): Don't use force-same-window (bug#10144).
16252 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
16253 use pop-to-buffer if the selected window can't be used.
16254 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
16256 2011-11-28 Eli Zaretskii <eliz@gnu.org>
16258 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
16261 2011-11-28 Chong Yidong <cyd@gnu.org>
16263 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
16265 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
16267 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
16268 gdb-get-source-file-list on gdb-create-source-file-list.
16270 2011-11-26 Eli Zaretskii <eliz@gnu.org>
16272 * whitespace.el (whitespace-newline): Use a different foreground
16273 color for 16-color light-background displays.
16275 2011-11-24 Chong Yidong <cyd@gnu.org>
16277 * window.el (display-buffer--special-action): Doc fix.
16279 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
16281 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
16282 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
16283 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
16284 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
16285 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
16286 (avl-tree-stack-first):
16287 * emacs-lisp/cconv.el (cconv--analyse-use):
16288 * net/gnutls.el (gnutls-negotiate): Fix typos.
16290 2011-11-24 Glenn Morris <rgm@gnu.org>
16292 * lpr.el (lpr-windows-system, lpr-lp-system):
16293 * mail/binhex.el (binhex-begin-line):
16294 * progmodes/grep.el (grep-history, grep-find-history):
16295 * textmodes/flyspell.el:
16296 * vc/pcvs-defs.el (cvs-global-menu):
16297 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
16298 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
16299 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
16301 * net/tls.el: Fix case of "GnuTLS".
16303 * paths.el (rmail-file-name): Format doc-string for make-docfile.
16305 * version.el (emacs-build-system): Give it a doc-string.
16307 2011-11-24 Juri Linkov <juri@jurta.org>
16309 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
16311 2011-11-24 Glenn Morris <rgm@gnu.org>
16313 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
16314 if called on a non-mime message just toggle the headers. (Bug#8006)
16316 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
16318 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
16319 (allout-lead-with-comment-string, allout-structure-deleted-hook)
16320 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
16321 (allout-rebullet-heading, allout-open-sibtopic)
16322 (allout-toggle-current-subtree-encryption)
16323 (allout-toggle-subtree-encryption, allout-encrypt-string)
16324 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
16325 (allout-distinctive-bullets-string, allout-auto-activation):
16326 * window.el (window-normalize-buffer-to-display):
16327 * progmodes/verilog-mode.el (verilog-batch-indent):
16328 * textmodes/bibtex.el (bibtex-field-braces-opt)
16329 (bibtex-field-strings-opt):
16330 * vc/cvs-status.el (cvs-tree-merge):
16333 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
16335 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
16336 `non-essential' to t, in order to avoid remote connections.
16338 2011-11-23 Eli Zaretskii <eliz@gnu.org>
16340 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
16341 On MS-DOS and MS-Windows, compare with loaddefs.el
16342 case-insensitively.
16344 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
16346 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
16348 2011-11-23 Glenn Morris <rgm@gnu.org>
16350 * paths.el (rmail-file-name): Reformat the doc-string so that it
16353 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
16354 (rmail-auto-file): Ignore case in the "special" field names,
16355 as mail-fetch-field does for all others.
16357 * mail/rmail.el (rmail-forward):
16358 * mail/rmailkwd.el (rmail-set-label):
16359 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
16360 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
16362 * mail/rmail.el (rmail-current-message): Doc fix.
16364 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
16366 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
16368 * server.el (server-eval-and-print): Allow C-g (bug#6585).
16370 2011-11-22 Glenn Morris <rgm@gnu.org>
16372 * mail/rmailmm.el (test-rmail-mime-handler)
16373 (test-rmail-mime-bulk-handler)
16374 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
16376 2011-11-21 Juri Linkov <juri@jurta.org>
16378 * calc/calc.el (calc-read-key-sequence):
16379 Let-bind `input-method-function' to nil. (Bug#10018)
16381 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
16383 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
16384 Tell the caller that the next line needs recomputation, even
16385 though it doesn't start a sexp (bug#10094).
16387 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
16389 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
16391 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
16393 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
16394 Use force-same-window.
16396 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
16398 * descr-text.el (describe-char-unicode-data):
16399 * json.el (json-string-escape):
16400 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
16401 (Footnote-unicode, Footnote-style-p):
16402 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
16404 2011-11-20 Chong Yidong <cyd@gnu.org>
16406 * window.el (replace-buffer-in-windows): Restore interactive spec.
16408 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
16410 * electric.el (electric-indent-mode): Fix last change (too optimistic).
16412 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
16413 (byte-compile-global-not-obsolete-vars): New var.
16414 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
16416 (byte-compile-warn-obsolete): Align text with the one in *Help*.
16418 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
16420 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
16421 * progmodes/pascal.el (electric-pascal-equal):
16422 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
16423 * xml.el (xml-substitute-special): Fix typos.
16425 2011-11-20 Glenn Morris <rgm@gnu.org>
16427 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
16428 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
16430 (rmail-decode-mime-charset): Mark as obsolete.
16432 * mail/rmailsum.el (rmail-message-regexp-p-1):
16433 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
16434 Before using mime functions, check they are set. (Bug#10077)
16436 2011-11-19 Juri Linkov <juri@jurta.org>
16438 * info.el (Info-finder-find-node): Use `package--builtins' instead
16439 of `package-alist'. Use node names formed by the pattern "Keyword "
16440 and the keyword name.
16442 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
16444 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
16446 2011-11-19 Juri Linkov <juri@jurta.org>
16448 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
16449 that calls `revert-buffer' on all Info buffers. (Bug#9915)
16450 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
16451 `old-history', `old-history-forward'. Add let-binding
16452 `window-selected'. Remove calls to `kill-buffer',
16453 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
16454 before calling `Info-find-node', so `Info-find-node-2' will reread
16455 the Info file. Restore window positions only when `window-selected'
16458 2011-11-19 Juri Linkov <juri@jurta.org>
16460 * isearch.el (isearch-lazy-highlight-new-loop):
16461 Remove condition `(not isearch-error)'. (Bug#9918)
16463 * misearch.el (multi-isearch-search-fun): Add condition
16464 `(not bound)' to ignore lazy-highlighting search.
16465 Add the search-failed message "end of multi" when the end of
16466 multi-sequence is reached. Uncapitalize the search-failed
16467 message "Repeat for next buffer".
16469 * info.el (Info-search): Add the search-failed message
16470 "end of the manual" when the end of the manual is reached
16473 2011-11-19 Juri Linkov <juri@jurta.org>
16475 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
16476 Use non-destructive `remove' instead of `delete' because
16477 `Info-history-list' stored to `Info-isearch-initial-history-list' in
16478 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
16480 2011-11-19 Juri Linkov <juri@jurta.org>
16482 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
16483 to nil instead of binding `search-ring' and `regexp-search-ring'.
16486 2011-11-19 Eli Zaretskii <eliz@gnu.org>
16488 * simple.el (line-move): Force movement by logical lines for any
16489 hscrolled window, not only when auto-hscroll-mode is on.
16490 (line-move-visual): Update doc string to that effect. (Bug#10076)
16492 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
16494 * language/european.el (macintosh): Define as alias for mac-roman.
16496 2011-11-19 Eli Zaretskii <eliz@gnu.org>
16498 * mail/rmailmm.el (rmail-mime-display-header)
16499 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
16500 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
16501 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
16502 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
16503 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
16505 (rmail-mime-entity-segment): To get past the tagline, move forward
16506 2 more lines, to account for the 2 empty lines that precede and
16507 follow the line with the buttons.
16508 (rmail-mime-update-tagline): Move one more line, to get past the
16509 empty line that follows the buttons in the tagline. (Bug#9520)
16511 2011-11-19 Martin Rudalics <rudalics@gmx.at>
16513 * window.el (window-max-delta-1, window-min-delta-1)
16514 (window-min-size-1, window-state-get-1, window-state-put-1)
16515 (window-state-put-2): Use "window--" prefix.
16517 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
16519 * emacs-lisp/smie.el: Improve warnings and conflict detection.
16520 (smie-warning-count): New var.
16521 (smie-set-prec2tab): Use it.
16522 (smie-bnf->prec2): Improve warnings. Add docstring.
16523 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
16524 (smie-bnf--set-class): New function.
16525 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
16528 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
16529 (compilation-error-properties, compilation-move-to-column):
16530 Handle compilation-first-column while in the target buffer.
16532 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
16533 Don't hardcode point-min==1.
16535 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
16536 (eshell-rewrite-for-command): Remove workaround.
16537 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
16538 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
16539 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
16541 * files-x.el (modify-file-local-variable): Obey commenting conventions.
16543 2011-11-17 Glenn Morris <rgm@gnu.org>
16545 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
16546 Ignore buffer-local generated-autoload-file if it is the same
16547 as the global value. (Bug#10049)
16549 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
16551 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
16552 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
16553 (reftex-toc-previous-heading, reftex-toc-max-level)
16554 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
16555 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
16556 (reftex-toc-do-promote, reftex-toc-promote-prepare)
16557 (reftex-toc-promote-action, reftex-toc-extract-section-number)
16558 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
16559 (reftex-toc-rename-label, reftex-toc-visit-location)
16560 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
16561 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
16562 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
16563 leaving "*toc*" only for references to the buffer.
16565 2011-11-17 Martin Rudalics <rudalics@gmx.at>
16567 * window.el (window-resize, delete-window, split-window):
16568 Replace window-splits by window-combination-resize.
16569 * cus-start.el (window-splits): Replace by window-combination-resize.
16571 2011-11-17 Glenn Morris <rgm@gnu.org>
16573 * progmodes/sh-script.el (sh-font-lock-keywords-var):
16574 Make bash entry derive from sh entry, not shell entry.
16576 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
16578 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
16581 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
16583 * menu-bar.el (menu-bar-file-menu):
16584 * printing.el (pr-ps-utility):
16585 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
16586 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
16587 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
16588 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
16589 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
16590 (icalendar--convert-cyclic-to-ical)
16591 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
16592 (icalendar--convert-ical-to-diary)
16593 (icalendar--convert-recurring-to-diary)
16594 (icalendar--convert-non-recurring-all-day-to-diary)
16595 (icalendar-import-format-sample):
16596 * progmodes/idlw-shell.el (idlwave-shell-mode):
16597 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
16598 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
16599 (vhdl-ps-print-init): Fix typos.
16601 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
16603 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
16604 FSF and collapse date sequence, obscure author/maintainer email address
16605 better, remove extra version line, track relocation of author's webpage.
16607 * progmodes/python.el (python-pdbtrack-input-prompt)
16608 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
16609 regular python pdb prompts. Adjustments shamelessly taken exactly as
16610 suggested in EmacsWiki page (tiny change):
16611 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
16613 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
16615 * expand.el (expand-pos, expand-index, expand-point):
16616 Remove redundant info from docstring.
16617 (expand-add-abbrevs): Doc fix.
16618 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
16619 (expand-sample-perl-mode-expand-list): Fix typos.
16621 * net/dbus.el (dbus-event-member-name):
16622 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
16623 * term/pc-win.el (msdos-create-frame-with-faces):
16624 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
16626 2011-11-16 Martin Rudalics <rudalics@gmx.at>
16628 * window.el (split-window, window-state-get-1)
16629 (window-state-put-1, window-state-put-2): Rename occurrences of
16630 window-nest to window-combination-limit.
16631 * cus-start.el (window-nest): Rename to window-combination-limit.
16633 2011-11-16 Chong Yidong <cyd@gnu.org>
16635 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
16636 regexp (Bug#10033).
16638 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
16640 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
16641 `completing-read' will remove *Completions* and will preserve
16642 current-buffer for us.
16643 (tmm-add-prompt): Users of *Completions* will always (re)set its
16645 (tmm-old-comp-map): Remove.
16647 2011-11-16 Glenn Morris <rgm@gnu.org>
16649 * mail/rmailedit.el: Require rmailmm when compiling.
16650 (rmail-old-mime-state): New declaration.
16651 (rmail-edit-current-message): If editing a mime message,
16652 edit the "raw" message from the mbox buffer.
16653 (rmail-cease-edit): Handle mime messages. (Bug#9840)
16655 2011-11-15 Glenn Morris <rgm@gnu.org>
16657 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
16658 which wasn't being used. Add optional arg to force given state.
16659 (rmail-mime): Add optional arg to force given state.
16661 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
16663 * allout.el (allout-encryption-plaintext-sanitization-regexps):
16664 * frame.el (display-mm-dimensions-alist):
16665 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
16666 (outline-move-subtree-down):
16667 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
16668 (newsticker--treeview-do-get-node):
16669 * net/quickurl.el (quickurl-list-buffer-name):
16670 * progmodes/dcl-mode.el (dcl-mode):
16671 * progmodes/gdb-mi.el (gdb-mapcar*):
16672 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
16674 2011-11-15 Glenn Morris <rgm@gnu.org>
16676 * mail/rmail.el (rmail-file-coding-system): It's only ever used
16677 in a boolean sense, so just make it a boolean, and fix the doc.
16678 (rmail-show-mime-function, rmail-mime-feature)
16679 (rmail-require-mime-maybe): Doc fixes.
16680 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
16682 * mail/rmailmm.el (rmail-show-mime): Doc fix.
16684 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
16686 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
16687 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
16688 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
16689 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
16691 2011-11-15 Glenn Morris <rgm@gnu.org>
16693 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
16694 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
16695 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
16696 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
16697 (rmail-mime, rmail-show-mime): Doc fixes.
16699 * term/ns-win.el (mode-line-frame-identification):
16700 Leave it alone. (Bug#10051)
16702 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
16704 * mail/rmailout.el (rmail-output-to-rmail-buffer):
16705 Handle empty buffers. (Bug#9978)
16707 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
16709 * international/mule.el (define-charset):
16710 * mail/rmailmm.el (rmail-mime-find-header-encoding):
16711 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
16712 * progmodes/verilog-mode.el (verilog-backward-token):
16713 * textmodes/ispell.el (lookup-words):
16714 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
16716 2011-11-14 Glenn Morris <rgm@gnu.org>
16718 * progmodes/executable.el
16719 (executable-make-buffer-file-executable-if-script-p):
16720 Handle file-modes returning nil.
16722 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
16723 message - not necessary, and causes problems. (Bug#9831)
16725 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
16727 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
16729 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
16730 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
16731 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
16733 2011-11-12 Martin Rudalics <rudalics@gmx.at>
16735 * window.el (window-resize, delete-window): Use window-splits
16736 variable instead of function.
16737 (window-state-get-1, window-state-put-2, window-state-put):
16738 Don't deal with windows' splits status.
16740 2011-11-12 Glenn Morris <rgm@gnu.org>
16742 * apropos.el (apropos-do-all, apropos-library, apropos-value)
16743 (apropos-documentation): Doc fixes.
16745 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
16747 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
16748 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
16750 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
16752 * electric.el (electric-indent-post-self-insert-function): Make it
16753 possible for a char to only indent in some circumstances.
16754 (electric-indent-mode): Simplify.
16756 2011-11-11 Martin Rudalics <rudalics@gmx.at>
16758 * window.el (windows-with-parameter): Remove unused function.
16759 (windows-at-side): Rename to window-at-side-list.
16760 (window-check, window-atom-check, window-atom-check-1)
16761 (window-side-check, window-size-ignore, window-size-fixed-1)
16762 (window-in-direction-2): Prefix with "window--".
16763 (window-tree-1): Rename to window--subtree, fix doc-string.
16765 2011-11-11 Glenn Morris <rgm@gnu.org>
16767 * subr.el (eval-after-load): If FILE is already loaded,
16768 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
16770 2011-11-10 Glenn Morris <rgm@gnu.org>
16772 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
16773 Call svn via vc-svn-command rather than vc-do-command.
16774 (vc-svn-command): Add --non-interactive. (Bug#9993)
16775 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
16777 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
16778 Add toggle-read-only. (Bug#7292)
16779 * files.el (toggle-read-only): Mention that it should only
16780 be used interactively. (Bug#10006)
16782 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
16784 * progmodes/compile.el (compilation-error-regexp-alist-alist):
16785 Adjust regexp for OCaml warnings.
16787 * electric.el (electric-pair-post-self-insert-function): Let user
16788 turn it off buffer-locally (bug#9932).
16790 * progmodes/python.el (python-beginning-of-statement):
16791 Rewrite (bug#2703).
16793 * progmodes/compile.el: Better handle TABs (bug#9749).
16794 (compilation-internal-error-properties)
16795 (compilation-next-error-function): Obey the target buffer's
16796 compilation-error-screen-columns.
16798 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
16800 * progmodes/meta-mode.el: Remove obsolete comments.
16801 (meta-right-comment-regexp, meta-ignore-comment-regexp):
16802 Fix typos in docstrings.
16804 2011-11-09 Martin Rudalics <rudalics@gmx.at>
16806 * window.el (window-size-fixed-p): Rewrite doc-string.
16807 (window-resizable-p): Rename to window--resizable-p. Update callers.
16808 (window--resizable): New function. Make all callers of
16809 window-resizable call window--resizable instead.
16810 (window-resizable): Rewrite in terms of window--resizable.
16812 2011-11-08 Glenn Morris <rgm@gnu.org>
16814 * progmodes/delphi.el (delphi-mode-syntax-table):
16815 Let define-derived-mode define a proper syntax table. (Bug#9994)
16817 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
16819 * window.el: Stay away from defsubst.
16820 (window-list-no-nils): Remove.
16821 (window-state-get-1, window-state-get): Use backquote instead.
16823 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16825 * emacs-lisp/find-func.el (find-function-read):
16826 Fix incorrect use of default argument in `completing-read'.
16828 2011-11-08 Martin Rudalics <rudalics@gmx.at>
16830 * window.el (display-buffer-function, special-display-function):
16831 Mention display-buffer-record-window but do not mention
16832 help-setup parameter in doc-strings.
16833 (window-min-delta): Fix doc-string typo.
16835 2011-11-08 Chong Yidong <cyd@gnu.org>
16837 * window.el (window-total-height, window-total-width): Doc fix.
16838 (window-body-size): Move from C.
16839 (window-body-height, window-body-width): Move to C.
16841 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
16843 * window.el: Make special-display like display-buffer-alist (bug#9532).
16844 (display-buffer--special-action): New function, morphed
16845 from display-buffer--special.
16846 (display-buffer): Use it to handle special-display-buffers at higher
16847 priority (just after display-buffer-alist).
16848 (display-buffer-fallback-action, display-buffer--other-frame-action)
16849 (pop-to-buffer-same-window): Remove display-buffer--special.
16851 2011-11-07 Glenn Morris <rgm@gnu.org>
16853 * calendar/cal-menu.el (cal-menu-set-date-title):
16854 Do nothing if not in a calendar. (Bug#9976)
16856 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
16858 * files.el (find-file): Always use selected-window.
16860 2011-11-07 Martin Rudalics <rudalics@gmx.at>
16862 * window.el (window-combinations): Make WINDOW argument
16863 mandatory. Rewrite doc-string.
16864 (walk-window-subtree, window-atom-check, window-min-delta)
16865 (window-max-delta, window--resize-this-window)
16866 (window--resize-root-window-vertically, window-tree)
16867 (balance-windows, window-state-put): Rewrite doc-strings as to
16868 not mention the term "subwindow".
16869 (window--resize-subwindows-skip-p): Rename to
16870 window--resize-child-windows-skip-p.
16871 (window--resize-subwindows-normal): Rename to
16872 window--resize-child-windows-normal.
16873 (window--resize-subwindows): Rename to
16874 window--resize-child-windows.
16875 (window-or-subwindow-p): Rename to window--in-subtree-p.
16877 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
16879 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
16880 Ensure that mbox format messages end in two newlines (Bug#9974).
16882 2011-11-06 Chong Yidong <cyd@gnu.org>
16884 * window.el (window-combination-p): Function deleted; its
16885 side-effect is not used in any existing code.
16886 (window-combinations, window-combined-p): Call window-*-child
16889 2011-11-05 Chong Yidong <cyd@gnu.org>
16891 * window.el (window-valid-p): Rename from window-any-p.
16892 (window-size-ignore, window-state-get): Callers changed.
16893 (window-normalize-window): Rename from window-normalize-any-window.
16894 New arg LIVE-ONLY, replacing window-normalize-live-window.
16895 (window-normalize-live-window): Delete.
16896 (window-combination-p, window-combined-p, window-combinations)
16897 (walk-window-subtree, window-atom-root, window-min-size)
16898 (window-sizable, window-sizable-p, window-size-fixed-p)
16899 (window-min-delta, window-max-delta, window-resizable)
16900 (window-resizable-p, window-full-height-p, window-full-width-p)
16901 (window-current-scroll-bars, window-point-1, set-window-point-1)
16902 (window-at-side-p, window-in-direction, window-resize)
16903 (adjust-window-trailing-edge, maximize-window, minimize-window)
16904 (window-deletable-p, delete-window, delete-other-windows)
16905 (record-window-buffer, unrecord-window-buffer)
16906 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
16907 (quit-window, split-window, window-state-put)
16908 (set-window-text-height, fit-window-to-buffer)
16909 (shrink-window-if-larger-than-buffer): Callers changed.
16911 2011-11-04 Eli Zaretskii <eliz@gnu.org>
16913 * mail/rmail.el (rmail-simplified-subject): Decode subject with
16914 rfc2047-decode-string.
16915 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
16918 * window.el (window-body-height, window-body-width): Mention in
16919 the doc string that the return values are in frame's canonical
16922 2011-11-03 Alan Mackenzie <acm@muc.de>
16924 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
16925 change in cc-engine.el.
16927 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
16929 * window.el (switch-to-buffer): Use `force-same-window' interactively.
16931 2011-11-02 Martin Rudalics <rudalics@gmx.at>
16933 * window.el (quit-window): Call unrecord-window-buffer after
16934 showing another buffer in the window. (Bug#9937)
16935 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
16937 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
16939 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
16940 Accept status with more than 9 shelves. (Bug#9935)
16941 Reported by Colin D Bennett <colin@gibibit.com>.
16943 2011-11-01 Martin Rudalics <rudalics@gmx.at>
16945 * help.el (with-help-window): Don't reference
16946 temp-buffer-show-specifiers in doc-string.
16948 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
16950 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
16953 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
16955 * whitespace.el: New version 13.2.2.
16956 (whitespace-newline-mode): Disable properly. Reported by Sarah
16959 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
16961 * net/newst-treeview.el: Remove "Time-stamp".
16962 (newsticker--group-manage-orphan-feeds): Do not call
16963 newsticker--treeview-tree-update.
16964 (newsticker-treeview-update, newsticker-treeview):
16965 Call newsticker--treeview-tree-update if necessary.
16967 2011-10-30 Martin Rudalics <rudalics@gmx.at>
16969 * window.el (window-iso-combination-p, window-iso-combined-p)
16970 (window-iso-combinations): Remove "iso-" infix.
16971 Suggested by Chong Yidong.
16972 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
16973 (window-max-delta-1, window-resize, window--resize-siblings)
16974 (window--resize-this-window, adjust-window-trailing-edge)
16975 (split-window, balance-windows-1)
16976 (shrink-window-if-larger-than-buffer):
16977 * calendar/calendar.el (calendar-generate-window):
16978 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
16980 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
16982 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
16983 in place (bug#9907).
16984 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
16985 (eshell-rewrite-if-command, eshell-rewrite-for-command)
16986 (eshell-structure-basic-command, eshell-rewrite-while-command)
16987 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
16988 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
16989 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
16990 (eshell-do-pipelines-synchronously, eshell-eval-command):
16991 Use backquotes and prefer setq to set.
16992 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
16993 (eshell-macrop): Use functionp.
16994 (eshell-do-eval): Handle multiple expressions in `while' body.
16996 2011-10-30 Chong Yidong <cyd@gnu.org>
16998 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
16999 instead of set-mark (Bug#9810).
17001 2011-10-30 Chong Yidong <cyd@gnu.org>
17003 * window.el (split-window-below, split-window-right): Rename from
17004 split-window-above-each-other and split-window-side-by-side
17005 respectively. All callers changed.
17006 (split-window-sensibly, split-window-sensibly): Use them.
17007 (split-window-keep-point): Doc fix.
17009 * isearch.el: Add isearch-scroll property to split-window-below
17010 and split-window-right.
17012 * follow.el (follow-mode):
17013 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
17014 * progmodes/ada-xref.el (ada-gdb-application):
17015 * emulation/vip.el (vip-buffer-in-two-windows):
17016 * image-dired.el (image-dired-dired-with-window-configuration):
17017 * dired-x.el (dired-do-find-marked-files):
17018 * dired.el (dired-pop-to-buffer):
17019 * bs.el (bs--show-with-configuration):
17020 * vc/emerge.el (emerge-setup-windows):
17021 * textmodes/two-column.el (2C-two-columns):
17022 * textmodes/reftex-toc.el (reftex-toc):
17023 * progmodes/gdb-mi.el (gdb-setup-windows):
17024 * progmodes/fortran.el (fortran-window-create):
17025 * net/newst-treeview.el (newsticker--treeview-window-init):
17026 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
17027 * emulation/tpu-edt.el (tpu-gold-map):
17028 * emulation/crisp.el (crisp-mode-map):
17029 * calendar/calendar.el (calendar-basic-setup): Callers changed.
17031 2011-10-29 Chong Yidong <cyd@gnu.org>
17033 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
17035 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
17037 * textmodes/flyspell.el (flyspell-word): Fix char offset for
17038 forged Ispell output (Bug#7904).
17040 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
17042 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
17044 * doc-view.el: Avoid ugly errors about not finding nil.
17045 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
17046 (doc-view-dvipdf-program, doc-view-unoconv-program)
17047 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
17048 Avoid nil or absolute file name as default value.
17049 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
17051 2011-10-28 Alan Mackenzie <acm@muc.de>
17053 * progmodes/cc-defs.el (c-version): -> 5.32.2.
17055 2011-10-28 Alan Mackenzie <acm@muc.de>
17057 Amend the handling of c-beginning/end-of-defun in nested declaration
17060 * progmodes/cc-vars.el (c-defun-tactic): Move here from
17061 cc-langs.el. Change it to a defcustom.
17063 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
17066 * progmodes/cc-engine.el (c-beginning-of-statement-1):
17067 Prevent "class foo : bar" being spuriously recognized as a label.
17069 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
17070 Add parameter `inclusive' (to include enclosing braces in the region).
17071 (c-widen-to-enclosing-decl-scope): New function.
17072 (c-while-widening-to-decl-block): New macro.
17073 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
17074 outward for defun boundaries, and correspondingly change symbol
17075 `respect-enclosure' to `go-outward'.
17076 (c-declaration-limits): Change algorithm to report only the "innermost"
17077 defun's boundaries.
17079 2011-10-28 Deniz Dogan <deniz@dogan.se>
17081 * net/rcirc.el (rcirc-mode): Use hard newlines.
17083 2011-10-28 Alan Mackenzie <acm@muc.de>
17085 Amend to indent and fontify macros "which include their own semicolon"
17086 correctly, using the "virtual semicolon" mechanism.
17088 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
17090 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
17091 Recode to scan one line at a time rather than having \n and \r
17092 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
17093 (c-forward-label): Amend for virtual semicolons.
17094 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
17096 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
17097 of the new C macros.
17099 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
17100 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
17101 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
17102 (c-opt-cpp-macro-define): Make into a full language variable.
17103 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
17104 AWK Mode (including \n, \r) removed, no longer needed.
17106 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
17107 Invoke c-make-macro-with-semi-re.
17109 * progmodes/cc-vars.el (c-macro-with-semi-re):
17110 (c-macro-names-with-semicolon): New variables.
17111 (c-make-macro-with-semi-re): New function.
17113 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
17115 * vc/log-edit.el: Fill empty field rather than adding new one.
17116 (log-edit-add-field): New function.
17117 (log-edit-insert-changelog): Use it.
17119 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
17121 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
17123 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
17125 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
17126 (gdb--check-interpreter): New function.
17129 2011-10-27 Glenn Morris <rgm@gnu.org>
17131 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
17132 (least-positive-float, least-negative-float)
17133 (least-positive-normalized-float, least-negative-normalized-float)
17134 (float-epsilon, float-negative-epsilon):
17135 Remove unnecessary declarations.
17137 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
17138 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
17139 (least-positive-float, least-negative-float)
17140 (least-positive-normalized-float, least-negative-normalized-float)
17141 (float-epsilon, float-negative-epsilon): Add doc-strings,
17142 based on those in cl.texi.
17144 * files.el (set-visited-file-name): If the major-mode changed,
17145 reload the local variables. (Bug#9796)
17147 2011-10-27 Chong Yidong <cyd@gnu.org>
17149 * subr.el (change-major-mode-after-body-hook): New hook.
17150 (run-mode-hooks): Run it.
17152 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
17153 Use change-major-mode-before-body-hook.
17155 * simple.el (fundamental-mode):
17156 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
17157 change introducing fundamental-mode-hook.
17159 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
17161 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
17163 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
17165 * ido.el (ido-file-name-all-completions-1): Do not require
17166 tramp.el explicitly. (Bug#7583)
17168 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
17170 * progmodes/octave-mod.el:
17171 * progmodes/octave-inf.el: Update maintainer.
17173 2011-10-26 Chong Yidong <cyd@gnu.org>
17175 * subr.el (with-wrapper-hook): Rewrite doc.
17177 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
17179 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
17180 filenames "/method:foo:". (Bug#9793)
17182 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
17184 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
17187 2011-10-24 Glenn Morris <rgm@gnu.org>
17189 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
17191 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
17193 * notifications.el: Add the requirement of a running D-Bus session
17194 bus to the Commentary.
17196 2011-10-24 Juri Linkov <juri@jurta.org>
17198 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
17199 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
17202 2011-10-24 Juri Linkov <juri@jurta.org>
17204 * info.el (Info-following-node-name-re): Add newline to the list
17205 of allowed characters for leading space. (Bug#9824)
17207 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
17209 * progmodes/octave-inf.el (inferior-octave-mode-map):
17210 Fix C-c C-h binding.
17211 * progmodes/octave-mod.el (octave-help): Remove.
17213 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
17215 Sync with Tramp 2.2.3.
17217 * net/tramp-cache.el (top): Pacify byte-compiler using
17218 `init-file-user' and `site-run-file'.
17220 * net/trampver.el: Update release number.
17222 2011-10-23 Chong Yidong <cyd@gnu.org>
17224 * files.el (toggle-read-only): Remove obsolete comment about
17227 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
17228 for toggle-read-only. Note that this hasn't called vc-next-action
17229 since 2008-05-02, though it wasn't documented at the time.
17231 * vc/ediff-init.el (ediff-toggle-read-only-function):
17232 Use toggle-read-only.
17234 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
17236 Fix bug #9560, sporadic wrong indentation; improve instrumentation
17239 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
17240 correct faulty logical expression.
17241 (c-parse-state-state, c-record-parse-state-state):
17242 (c-replay-parse-state-state): New defvar/defuns.
17243 (c-debug-parse-state): Use new functions.
17245 2011-10-22 Martin Rudalics <rudalics@gmx.at>
17247 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
17248 last fix. Use window-in-direction correctly.
17250 2011-10-21 Chong Yidong <cyd@gnu.org>
17252 * progmodes/idlwave.el (idlwave-mode):
17253 * progmodes/vera-mode.el (vera-mode): No need to set
17254 require-final-newline; that's done in prog-mode.
17255 Suggested by Stefan Monnier.
17257 2011-10-21 Martin Rudalics <rudalics@gmx.at>
17259 * mouse.el (mouse-drag-window-above)
17260 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
17261 (mouse-drag-mode-line-1, mouse-drag-header-line)
17262 (mouse-drag-vertical-line-rightward-window): Remove.
17263 (mouse-drag-line): New function.
17264 (mouse-drag-mode-line, mouse-drag-header-line)
17265 (mouse-drag-vertical-line): Call mouse-drag-line.
17266 * window.el (window-at-side-p, windows-at-side): New functions.
17268 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
17270 * tar-mode.el (tar-grind-file-mode):
17271 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
17273 2011-10-21 Chong Yidong <cyd@gnu.org>
17275 * progmodes/idlwave.el (idlwave-mode):
17276 * progmodes/vera-mode.el (vera-mode):
17277 Use mode-require-final-newline.
17279 2011-10-20 Glenn Morris <rgm@gnu.org>
17281 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
17283 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
17285 * emulation/cua-base.el (cua-set-mark): Fix case of string.
17287 2011-10-20 Chong Yidong <cyd@gnu.org>
17289 * emulation/cua-base.el (cua-mode):
17290 * mail/footnote.el (footnote-mode):
17291 * mail/mailabbrev.el (mail-abbrevs-mode):
17292 * net/xesam.el (xesam-minor-mode):
17293 * progmodes/bug-reference.el (bug-reference-mode):
17294 * progmodes/cap-words.el (capitalized-words-mode):
17295 * progmodes/compile.el (compilation-minor-mode)
17296 (compilation-shell-minor-mode):
17297 * progmodes/gud.el (gud-tooltip-mode):
17298 * progmodes/hideif.el (hide-ifdef-mode):
17299 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
17300 * progmodes/subword.el (subword-mode):
17301 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
17302 * progmodes/which-func.el (which-function-mode):
17303 * term/tvi970.el (tvi970-set-keypad-mode):
17304 * term/vt100.el (vt100-wide-mode):
17305 * textmodes/flyspell.el (flyspell-mode):
17306 * textmodes/ispell.el (ispell-minor-mode):
17307 * textmodes/nroff-mode.el (nroff-electric-mode):
17308 * textmodes/paragraphs.el (use-hard-newlines):
17309 * textmodes/refill.el (refill-mode):
17310 * textmodes/reftex.el (reftex-mode):
17311 * textmodes/rst.el (rst-minor-mode):
17312 * textmodes/sgml-mode.el (html-autoview-mode)
17313 (sgml-electric-tag-pair-mode):
17314 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
17315 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
17316 * emulation/crisp.el (crisp-mode):
17317 * emacs-lisp/eldoc.el (eldoc-mode):
17318 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
17319 minor mode behavior.
17321 2011-10-19 Juri Linkov <juri@jurta.org>
17323 * descr-text.el (describe-char): Add #x2010 and #x2011 to
17324 the list of hard-coded chars with escape-glyph face.
17326 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
17328 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
17330 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
17332 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
17335 2011-10-19 Glenn Morris <rgm@gnu.org>
17337 * vc/vc-bzr.el (vc-bzr-after-dir-status):
17338 Ignore ignored files. (Bug#9726)
17340 2011-10-19 Chong Yidong <cyd@gnu.org>
17342 Doc fix for minor modes, stating that an omitted argument enables
17343 the mode unconditionally when called from Lisp.
17345 * abbrev.el (abbrev-mode):
17346 * allout.el (allout-mode):
17347 * autoinsert.el (auto-insert-mode):
17348 * autoarg.el (autoarg-mode, autoarg-kp-mode):
17349 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
17350 (global-auto-revert-mode):
17351 * battery.el (display-battery-mode):
17352 * composite.el (global-auto-composition-mode)
17353 (auto-composition-mode):
17354 * delsel.el (delete-selection-mode):
17355 * desktop.el (desktop-save-mode):
17356 * dired-x.el (dired-omit-mode):
17357 * dirtrack.el (dirtrack-mode):
17358 * doc-view.el (doc-view-minor-mode):
17359 * double.el (double-mode):
17360 * electric.el (electric-indent-mode, electric-pair-mode):
17361 * emacs-lock.el (emacs-lock-mode):
17362 * epa-hook.el (auto-encryption-mode):
17363 * follow.el (follow-mode):
17364 * font-core.el (font-lock-mode):
17365 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
17366 * help.el (temp-buffer-resize-mode):
17367 * hilit-chg.el (highlight-changes-mode)
17368 (highlight-changes-visible-mode):
17369 * hi-lock.el (hi-lock-mode):
17370 * hl-line.el (hl-line-mode, global-hl-line-mode):
17371 * icomplete.el (icomplete-mode):
17372 * ido.el (ido-everywhere):
17373 * image-file.el (auto-image-file-mode):
17374 * image-mode.el (image-minor-mode):
17375 * iswitchb.el (iswitchb-mode):
17376 * jka-cmpr-hook.el (auto-compression-mode):
17377 * linum.el (linum-mode):
17378 * longlines.el (longlines-mode):
17379 * master.el (master-mode):
17380 * mb-depth.el (minibuffer-depth-indicate-mode):
17381 * menu-bar.el (menu-bar-mode):
17382 * minibuf-eldef.el (minibuffer-electric-default-mode):
17383 * mouse-sel.el (mouse-sel-mode):
17384 * msb.el (msb-mode):
17385 * mwheel.el (mouse-wheel-mode):
17386 * outline.el (outline-minor-mode):
17387 * paren.el (show-paren-mode):
17388 * recentf.el (recentf-mode):
17389 * reveal.el (reveal-mode, global-reveal-mode):
17390 * rfn-eshadow.el (file-name-shadow-mode):
17391 * ruler-mode.el (ruler-mode):
17392 * savehist.el (savehist-mode):
17393 * scroll-all.el (scroll-all-mode):
17394 * scroll-bar.el (scroll-bar-mode):
17395 * server.el (server-mode):
17396 * shell.el (shell-dirtrack-mode):
17397 * simple.el (auto-fill-mode, transient-mark-mode)
17398 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
17399 (line-number-mode, column-number-mode, size-indication-mode)
17400 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
17401 * strokes.el (strokes-mode):
17402 * time.el (display-time-mode):
17403 * t-mouse.el (gpm-mouse-mode):
17404 * tool-bar.el (tool-bar-mode):
17405 * tooltip.el (tooltip-mode):
17406 * type-break.el (type-break-mode-line-message-mode)
17407 (type-break-query-mode):
17408 * view.el (view-mode):
17409 * whitespace.el (whitespace-mode, whitespace-newline-mode)
17410 (global-whitespace-mode, global-whitespace-newline-mode):
17411 * xt-mouse.el (xterm-mouse-mode): Doc fix.
17413 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
17414 Fix autogenerated docstring.
17416 2011-10-19 Juri Linkov <juri@jurta.org>
17418 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
17419 by checking environment variables "DESKTOP_SESSION" and
17420 "XDG_CURRENT_DESKTOP". (Bug#9779)
17422 2011-10-19 Juri Linkov <juri@jurta.org>
17424 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
17425 (browse-url-chromium-program, browse-url-chromium-arguments):
17427 (browse-url-default-browser): Check for `browse-url-chromium' and
17428 call `browse-url-chromium-program'.
17429 (browse-url-chromium): New command. (Bug#9779)
17431 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
17433 * facemenu.el (list-colors-duplicates): On Windows, detect more
17434 duplicates by assuming that only colors matching "^System" are
17435 special "system colors". (Bug#9722)
17437 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
17439 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
17440 to distinguish the author from the committer.
17442 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
17444 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
17446 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
17448 * international/mule.el (sgml-html-meta-auto-coding-function):
17449 Add support for detecting encoding in HTML5 specified only as
17450 <meta charset="UTF-8">. Implementation just makes http-equiv and
17451 content-type parts from HTML4 encoding string optional. (Bug#9716)
17453 2011-10-18 Glenn Morris <rgm@gnu.org>
17455 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
17457 2011-10-18 Chong Yidong <cyd@gnu.org>
17459 * faces.el (cursor): Doc fix.
17461 2011-10-17 Chong Yidong <cyd@gnu.org>
17463 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
17465 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
17467 * dirtrack.el (dirtrack): Support shell buffers with path
17468 prefixes, e.g. tramp-based remote shells. (Bug#9647)
17470 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
17472 * json.el: Bump version to 1.3 and note change in History.
17473 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
17475 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
17477 * comint.el (comint-insert-input, comint-send-input)
17478 (comint-get-old-input-default, comint-backward-matching-input)
17479 (comint-next-prompt): Use nil instead of `input' for field property of
17480 past user input (bug#114).
17482 * minibuffer.el (completion--replace): Inherit surrounding properties
17484 (minibuffer-complete-and-exit): Use it.
17486 * comint.el (comint--table-subvert): Quote the all-completions output
17489 2011-10-17 Martin Rudalics <rudalics@gmx.at>
17491 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
17493 * menu-bar.el (menu-bar-file-menu): Add entry for making new
17494 window on right of selected. (Bug#9350) Reword other window
17495 entries and separate them from frame entries.
17497 2011-10-15 Glenn Morris <rgm@gnu.org>
17499 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
17502 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
17504 * net/network-stream.el (network-stream-open-starttls):
17505 Improve detection of failure due to lack of TLS support.
17507 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
17508 putting the input text in front and in bold.
17510 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
17512 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
17514 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
17517 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
17518 unread-command-events rather than pushing yet-another event.
17520 2011-10-14 Eli Zaretskii <eliz@gnu.org>
17522 * mail/sendmail.el (sendmail-query-once): Improve the wording of
17523 the explanation of the possible choices. Make the options passed
17524 to completing-read shorter.
17526 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
17528 * textmodes/flyspell.el (flyspell-large-region): Make sure
17529 extended character mode is used if defined (Bug#1339).
17531 2011-10-13 Eli Zaretskii <eliz@gnu.org>
17533 * simple.el (what-cursor-position): Fix the display of the
17534 character info for LRE, LRO, RLE, and RLO characters by appending
17537 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
17539 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
17540 even in case of error; add debug spec; simplify data flow.
17541 (with-timeout-handler): Remove.
17543 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
17545 Fix Bug#6019, Bug#9315.
17547 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
17548 complete `buffer-file-name', the local file name part could look
17549 remotely (for example on VMS).
17551 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
17552 `tramp-run-real-handler'.
17553 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
17554 already quoted by '"'.
17556 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
17557 Let `file-name-handler-alist' be nil, the local file name part
17558 could look remotely (for example on VMS).
17560 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
17562 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
17564 (flyspell-post-command-hook): ...to here.
17566 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
17568 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
17570 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
17571 using completion. Protect against "slow" callers.
17572 Remove the "message hack".
17574 2011-10-11 Juri Linkov <juri@jurta.org>
17576 * isearch.el (isearch-lazy-highlight-word): New variable.
17577 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
17580 2011-10-11 Glenn Morris <rgm@gnu.org>
17582 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
17583 like f90-previous-statement does.
17585 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
17587 * eshell/eshell.el (eshell-command): History should be saved
17588 only in interactive use, to avoid error.
17590 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
17592 * minibuffer.el (completion-file-name-table): Fix last change,
17593 i.e. ignore normal errors but not the other ones.
17595 2011-10-10 Martin Rudalics <rudalics@gmx.at>
17597 * window.el (special-display-buffer-names)
17598 (special-display-regexps): Remove some remnants of earlier
17599 changes from doc-strings.
17600 (quit-windows-on): New function.
17602 * vc/vc.el (vc-revert, vc-rollback):
17603 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
17604 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
17605 (Bug#6183) (Bug#7074) (Bug#7447)
17607 2011-10-09 Martin Rudalics <rudalics@gmx.at>
17609 * window.el (frame-auto-hide-function): Add version tag.
17612 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
17614 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
17617 2011-10-09 Leo Liu <sdl.web@gmail.com>
17619 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
17622 2011-10-08 Glenn Morris <rgm@gnu.org>
17624 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
17625 before the first code statement zero indent. (Bug#9690)
17627 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
17629 * simple.el (count-words-region): Always count in the region.
17630 Report the number of lines and characters too.
17631 (count-words): New command, which counts in the buffer if the
17632 region is inactive, as count-words-region used to.
17633 (count-words--message): New function. Handle plurals.
17634 (count-lines-region): Make it an alias for count-words-region.
17636 * bindings.el (esc-map): Replace count-lines-region with
17637 count-words-region.
17639 2011-10-08 Martin Rudalics <rudalics@gmx.at>
17641 * window.el (window--delete): Delete dedicated frame
17642 unconditionally when argument KILL is non-nil. (Bug#9699)
17643 (switch-to-buffer): Fix doc-string typo.
17645 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
17647 * eshell/eshell.el (eshell-command): Avoid using hooks.
17649 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
17651 * bindings.el ([M-left],[M-right]): Bind to left-word and
17652 right-word respectively.
17654 2011-10-07 Glenn Morris <rgm@gnu.org>
17656 * cus-start.el (debug-on-quit): Fix custom type.
17658 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
17660 * subr.el (define-key-after): Clarify that the function is not
17661 useful for non-menu keymaps.
17663 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
17665 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
17667 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
17668 in current minibuffer (Fix bug with recursive minibuffers).
17670 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
17672 * progmodes/gdb-mi.el (gdb): Doc fix.
17674 2011-10-05 Martin Rudalics <rudalics@gmx.at>
17676 * window.el (frame-auto-hide-function): New option replacing
17677 frame-auto-delete. Suggested by Stefan Monnier.
17678 (window--delete): Call frame-auto-hide-function instead of
17679 investigating frame-auto-delete.
17680 (window-point-1, set-window-point-1): New functions.
17681 (window-in-direction, record-window-buffer, window-state-get-1)
17682 (display-buffer-record-window): Use window-point-1 instead of
17684 (set-window-buffer-start-and-point): Use set-window-point-1.
17686 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
17688 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
17690 2011-10-05 Glenn Morris <rgm@gnu.org>
17692 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
17693 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
17695 2011-10-05 Leo Liu <sdl.web@gmail.com>
17697 * subr.el (read-char-choice): Fix argument to buffer-live-p which
17698 works with buffer object.
17700 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
17702 * mpc.el (mpc-tool-bar-map): Add labels.
17704 2011-10-04 Glenn Morris <rgm@gnu.org>
17706 * calendar/holidays.el (calendar-check-holidays): Doc fix.
17708 2011-10-04 Martin Rudalics <rudalics@gmx.at>
17710 * window.el (window--delete): New function.
17711 (frame-auto-delete): Resuscitate option.
17712 (bury-buffer, replace-buffer-in-windows)
17713 (quit-window): Rewrite using window--delete.
17714 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
17715 Pass display-buffer-mark-dedicated to window--display-buffer-2
17718 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
17720 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
17721 returns a list (bug#9554). Add remote file name completion.
17722 * comint.el (comint--table-subvert): Curry and get quote&unquote
17723 functions as arguments.
17724 (comint--complete-file-name-data): Adjust call accordingly.
17725 * pcomplete.el (pcomplete--table-subvert): Remove.
17726 (pcomplete-completions-at-point): Use comint--table-subvert instead.
17728 * minibuffer.el (completion-table-case-fold): Use currying.
17729 (completion--styles-type, completion--cycling-threshold-type):
17731 (completion-styles, completion-category-overrides)
17732 (completion-cycle-threshold): Use them.
17733 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
17734 completion-table-case-fold.
17736 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
17738 * minibuffer.el (completion-category-overrides): Fix type of styles
17739 and add more user friendly tags (bug#9660).
17741 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
17743 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
17744 (mule-input-method-string): New widget.
17745 (default-input-method, language-info-custom-alist): Use it.
17747 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
17749 * pcomplete.el: Require comint.
17750 (pcomplete--common-suffix): Remove.
17751 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
17752 (pcomplete--table-subvert): Sync with comint--table-subvert.
17753 (pcomplete--entries): Use comint-completion-file-name-table.
17754 * comint.el (comint-unquote-filename): Simplify.
17755 (comint-completion-file-name-table): New function (bug#9616).
17756 (comint--complete-file-name-data): Use it.
17758 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
17759 (pcmpl-gnu-tar-buffer): Remove.
17760 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
17761 around. Make sure pcomplete-suffix-list is only changed temporarily.
17762 Don't look inside the tar's file if it's too large.
17764 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
17766 * cus-edit.el (custom-mode-map):
17767 * epa.el (epa-key-list-mode-map):
17768 * man.el (Man-mode-map):
17769 * startup.el (splash-screen-keymap):
17770 * simple.el (special-mode-map): Use scroll-up-command and
17771 scroll-down-command.
17773 * progmodes/idlw-help.el (idlwave-help-mode-map):
17774 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
17775 * net/newst-plainview.el (newsticker-mode-map):
17776 * emulation/ws-mode.el (wordstar-mode-map):
17777 * emulation/vi.el (vi-com-map):
17778 * calc/calc-graph.el (calc-graph-show-dumb):
17779 * term/sun.el (terminal-init-sun):
17780 * term/ns-win.el (global-map):
17781 * progmodes/grep.el (grep-mode-map):
17782 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
17783 * mail/rmail.el (rmail-mode-map):
17784 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
17786 * custom.el (custom-safe-themes, load-theme): Treat value of t for
17787 custom-safe-themes as special.
17789 2011-10-01 Julien Danjou <julien@danjou.info>
17791 * notifications.el (notifications-notify): Fix docstring.
17793 2011-10-01 Per Starbäck <per@starback.se>
17795 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
17797 2011-09-30 Martin Rudalics <rudalics@gmx.at>
17799 * startup.el (command-line-1): Fix last fix by inserting
17800 initial-scratch-message into *scratch* before displaying it.
17801 (Bug#9605) and (Bug#9636)
17803 2011-09-29 Eli Zaretskii <eliz@gnu.org>
17805 * simple.el (line-move): If auto-hscroll-mode is disabled and the
17806 window is hscrolled, move by logical lines. (Bug#9607)
17807 (line-move-visual): Update the doc string to the above effect.
17809 2011-09-29 Martin Rudalics <rudalics@gmx.at>
17811 * window.el (display-buffer-record-window): When WINDOW is the
17812 selected window use `point' instead of `window-point'. (Bug#9626)
17814 * startup.el (command-line-1): Use insert-before-markers when
17815 inserting initial-scratch-message. (Bug#9605)
17817 * help.el (help-window): Remove variable.
17819 2011-09-29 Glenn Morris <rgm@gnu.org>
17821 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
17823 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
17825 * descr-text.el (describe-char-categories): Accept category
17826 descriptions more than one line long.
17828 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
17830 * simple.el (delete-trailing-whitespace): Fix last change.
17832 * progmodes/perl-mode.el (perl-syntax-propertize-function):
17833 Don't confuse "y => 3" as the beginning of a `y' operation.
17835 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
17836 object has more than 4 slots (bug#9613).
17838 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
17840 * subr.el (with-output-to-temp-buffer):
17841 * net/quickurl.el (quickurl, quickurl-browse-url):
17842 Fix typos in docstrings.
17844 2011-09-27 Eli Zaretskii <eliz@gnu.org>
17846 * minibuffer.el (completion-styles)
17847 (completion-category-overrides): Cross reference each other in doc
17850 2011-09-27 Glenn Morris <rgm@gnu.org>
17852 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
17853 to split-string. (Bug#9606)
17855 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
17857 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
17860 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
17862 * emacs-lisp/package.el (list-packages): Fix echo area message.
17864 2011-09-27 Leo Liu <sdl.web@gmail.com>
17866 * ido.el (ido-read-internal): Accept cons cell HIST arg.
17868 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
17870 * net/dbus.el (dbus-unregister-object): Don't release services for
17871 registered signals. (Bug#9581)
17873 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
17875 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
17876 function that picks between cfengine 2 and 3 support
17877 automatically. Update docs accordingly.
17879 2011-09-22 Kenichi Handa <handa@m17n.org>
17881 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
17883 (indian-itrans-v5-table-for-tamil): New variable.
17884 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
17886 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
17888 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
17889 that's true if the current command involved collapsing of text.
17890 It's reset to false at the beginning of the next command.
17891 (allout-post-command-business): Move the cursor to the beginning
17892 of entry if the cursor is hidden and collapsing activity just
17895 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
17897 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
17898 tracking (Bug#9541).
17900 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
17902 * net/newst-reader.el (newsticker-html-renderer)
17903 (newsticker-show-news): Automatically load html rendering package
17904 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
17905 because w3m-fill-column is let-bound" and the error "Symbol's value
17906 as variable is void: w3m-fill-column".
17908 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
17910 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
17911 Release services only if they are defined. (Bug#9581)
17913 2011-09-23 Richard Stallman <rms@gnu.org>
17915 * textmodes/paragraphs.el (forward-sentence): For backwards case,
17916 distinguish start of paragraph from start of its text.
17918 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
17920 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
17921 (rmail-generate-viewer-buffer): Put that hook on view buffer.
17922 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
17924 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
17926 * international/mule-diag.el (mule-diag): Insert a newline after
17927 each fontset description.
17929 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
17931 * simple.el (delete-trailing-whitespace):
17932 Document last change; simplify.
17934 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
17936 * simple.el (delete-trailing-whitespace): Also delete
17937 extra newlines at the end of the buffer.
17939 * textmodes/picture.el: Make motion commands obey shift-select-mode.
17940 (picture-newline): Use forward-line so as to ignore fields.
17942 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
17944 * subr.el (with-wrapper-hook): Fix edebug spec.
17946 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
17948 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
17951 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
17953 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
17954 Fix nasty bug using wrong cached values.
17956 2011-09-23 Alan Mackenzie <acm@muc.de>
17958 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
17960 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
17962 * window.el (pop-to-buffer): Ensure right window is selected if we
17963 chose another frame.
17965 2011-09-22 Eli Zaretskii <eliz@gnu.org>
17967 * simple.el (what-cursor-position): Use get-char-property-change
17968 and next-single-char-property-change, to be able to show display
17969 properties that come from overlays as well as text properties.
17971 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
17973 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
17975 * cmuscheme.el (run-scheme, switch-to-scheme):
17976 * cus-edit.el (customize-group, custom-buffer-create)
17977 (customize-browse):
17979 * shell.el (shell):
17980 * mail/sendmail.el (mail):
17981 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
17983 2011-09-22 Richard Stallman <rms@gnu.org>
17985 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
17986 move back only to line beg, don't move back over blank lines.
17988 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
17990 * files.el (copy-directory): Set directory attributes only in case
17991 they could be retrieved from the source directory. (Bug#9565)
17993 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
17995 * progmodes/hideshow.el (hs-looking-at-block-start-p)
17996 (hs-find-block-beginning, hs-hide-level-recursive):
17997 Ignore strings as well as comments. (Bug#9502)
17999 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
18001 * progmodes/sql.el (sql-comint-postgres):
18002 Convert port number to a string. (Bug#9566)
18004 2011-09-22 Martin Rudalics <rudalics@gmx.at>
18006 * window.el (quit-window): Undedicate window when switching to
18007 previous buffer. Reported by Thierry Volpiatto
18008 <thierry.volpiatto@gmail.com>.
18009 (special-display-popup-frame): When popping up a new frame reset
18010 its previous buffers to nil. Simplify code.
18012 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
18014 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
18015 and process filter, as done also in `shell-command'.
18017 2011-09-21 Martin Rudalics <rudalics@gmx.at>
18019 * window.el (set-window-buffer-start-and-point):
18020 Call set-window-start with NOFORCE argument t.
18021 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
18022 (quit-window): Reword doc-string. Handle new format of
18023 quit-restore parameter. Don't delete window if it has a
18024 previous buffer we can show instead of the present one.
18025 (display-buffer-record-window): Rewrite using a new format for
18026 the quit-restore window parameter
18027 (special-display-popup-frame, display-buffer-same-window)
18028 (display-buffer-reuse-window, display-buffer-pop-up-frame)
18029 (display-buffer-pop-up-window, display-buffer-use-some-window):
18030 Adapt symbol passed to display-buffer-record-window.
18031 * help.el (help-window-setup): Handle new format of quit-restore
18034 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
18036 * faces.el (face-list): Fix docstring (bug#9564).
18038 * window.el (display-buffer--action-function-custom-type):
18039 Don't include internal functions in the Custom interface.
18041 2011-09-20 Juri Linkov <juri@jurta.org>
18043 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
18044 (Info-forward-node, Info-backward-node, Info-next-preorder)
18045 (Info-last-preorder): Use it. (Bug#9528)
18047 2011-09-20 Juri Linkov <juri@jurta.org>
18049 * info.el (Info-last-preorder): Visit last menu item only when
18050 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
18052 2011-09-20 Julien Danjou <julien@danjou.info>
18054 * password-cache.el (password-cache-remove): Remove entries even if the
18055 value is nil, so that password with a nil value (negative caching) is
18056 possible to invalidate.
18058 2011-09-20 Lawrence Mitchell <wence@gmx.li>
18060 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
18061 all whitespace around breakpoint. (Bug#9553)
18062 (f90-find-breakpoint): Only break at whitespace inside a comment.
18064 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
18066 * minibuffer.el (completion-file-name-table): Keep track of errors.
18067 (completion-table-with-predicate): Handle the case where pred1 is nil.
18068 * pcomplete.el (pcomplete-completions-at-point): Simplify.
18070 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
18072 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
18073 (debugger-return-value): Signal an error if the debugging context does
18074 not await any return value.
18076 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
18077 * image-mode.el (image-toggle-display-text)
18078 (image-toggle-display-image): Stay away from evil `intangible'.
18080 2011-09-19 Leo Liu <sdl.web@gmail.com>
18082 * replace.el (occur-revert-arguments): Make it permanent-local.
18083 (occur-mode): Don't call font-lock-defontify.
18085 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
18087 * net/ldap.el (ldap-search-internal): Don't push empty search
18090 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
18092 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
18094 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
18096 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
18097 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
18099 2011-09-18 Juri Linkov <juri@jurta.org>
18101 * buff-menu.el (Buffer-menu-mode-map):
18102 * dired.el (dired-mode-map):
18103 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
18104 (lisp-interaction-mode-map):
18105 * emacs-lisp/package.el (package-menu-mode-map):
18106 * epa.el (epa-key-list-mode-map):
18107 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
18108 (menu-bar-options-menu):
18109 * outline.el (outline-mode-menu-bar-map):
18110 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
18111 * vc/vc-dir.el (vc-dir-menu-map):
18112 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
18113 Capitalize non-function content words in menu item strings.
18115 * dired.el (dired-mode-map): Add menu item for
18116 `image-dired-dired-toggle-marked-thumbs'.
18118 2011-09-18 Juri Linkov <juri@jurta.org>
18120 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
18121 to `isearch-case-fold-search' and restore its original value
18122 after the `isearch-mode' call.
18124 2011-09-18 Juri Linkov <juri@jurta.org>
18126 * progmodes/grep.el (grep-process-setup): Don't check code for 1
18127 because `zgrep' returns 1 for successful matches (bug#9226).
18129 2011-09-18 Juri Linkov <juri@jurta.org>
18131 * info.el (Info-extract-menu-node-name): Check the second match
18132 for empty string (second test-case of bug#9528).
18133 (Info-last-preorder): Let-bind `Info-history' to nil to not add
18134 intermediate nodes to the history (first test-case of bug#9528).
18136 2011-09-18 Juri Linkov <juri@jurta.org>
18138 * info.el (Info-mode-syntax-table): New variable.
18139 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
18141 2011-09-18 Juri Linkov <juri@jurta.org>
18143 * info.el (Info-file-supports-index-cookies):
18144 Increment line-beginning-position's arg from 3 to 4 because makeinfo
18145 outputs one more line for long file names (bug#4142).
18147 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
18149 * newcomment.el (comment-normalize-vars): If prompting for
18150 comment-start, set comment-start-skip too (Bug#8424).
18152 2011-09-18 Johan Bockgård <bojohan@gnu.org>
18154 * icomplete.el: Fix previous fix of Bug#5849.
18155 (icomplete-mode): Don't set completion-show-inline-help.
18156 (icomplete-minibuffer-setup): Set completion-show-inline-help
18157 locally during icompletion.
18159 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
18161 * woman.el (woman2-process-escapes): Don't delete unrecognized
18162 escapes (Bug#7843).
18164 * files.el (inhibit-first-line-modes-regexps): Add image files.
18165 (hack-local-variables-prop-line): Return nil for malformed
18166 prop-lines (Bug#9044).
18168 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
18170 * net/tramp.el (top): Don't require 'shell.
18171 (tramp-methods): Fix docstring.
18172 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
18173 Return complete remote file name. Handle "smb" case.
18174 Use `tramp-tmpdir', if defined for the respective method.
18175 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
18177 * net/tramp-compat.el (top): Require 'shell.
18179 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
18180 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
18181 `tramp-current-host'.
18182 (tramp-get-remote-tmpdir): Remove.
18184 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
18185 `tramp-tmpdir' entries.
18186 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
18187 (tramp-smb-handle-file-attributes): Ignore errors.
18188 (tramp-smb-wait-for-output): Check also for process end.
18190 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
18192 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
18193 when sending QUIT (bug#9312).
18195 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
18197 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
18198 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
18199 occur-mode-display-occurrence.
18200 (occur-edit-mode): Add usage message.
18201 (occur-cease-edit): New command.
18202 (occur-after-change-function): Use text properties to find the
18203 position of the prefix text.
18204 (occur-engine): Set stickiness of prefix text properties.
18206 2011-09-17 Glenn Morris <rgm@gnu.org>
18208 * progmodes/etags.el (complete-tag):
18209 Fix call to completion-in-region. (Bug#9526)
18211 2011-09-17 Juri Linkov <juri@jurta.org>
18213 * textmodes/ispell.el (ispell-word): Add to the error message
18214 the word, ispell program name and current dictionary (bug#9121).
18215 (ispell-tex-arg-end): Capitalize "error" in the error message.
18217 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
18219 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
18222 2011-09-17 Juri Linkov <juri@jurta.org>
18224 * window.el (window-safe-min-height, window-safe-min-width):
18225 Fix typos (followup to bug#9522).
18227 2011-09-17 Sven Joachim <svenjoac@gmx.de>
18229 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
18231 2011-09-16 Eli Zaretskii <eliz@gnu.org>
18233 * simple.el (line-move): If goal-column is set, move by logical
18234 lines, not by display lines. (Bug#971)
18235 (next-line, previous-line, goal-column, line-move-visual): Doc fix
18236 to reflect the above change.
18238 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
18240 * image.el (imagemagick-register-types): Use regexp-opt.
18242 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
18244 * window.el (display-buffer-base-action): Rename from
18245 display-buffer-default-action. Make default value empty.
18246 (display-buffer-overriding-action): Convert to defvar.
18247 (display-buffer-fallback-action): New var.
18249 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
18251 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
18253 (package--add-to-archive-contents): If there is a duplicate entry
18254 with an older version, remove it.
18255 (package-menu-mark-delete, package-menu-mark-install)
18256 (package-menu-mark-unmark): Make unused args optional.
18257 (package-menu-mark-obsolete-for-deletion):
18258 Use package-menu-get-status instead of a regexp search.
18259 (package-menu-get-status): Use tabulated-list-entry.
18260 (package-menu-mark-upgrades): New command.
18261 (package-menu-mode-map): Bind it to U. Add it to menu bar.
18262 (package-menu-execute): Do installation before deletion.
18263 (package-menu-refresh, package-menu-execute): Use derived-mode-p
18264 instead of checking major-mode.
18265 (package-menu--find-upgrades): New function.
18267 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
18269 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
18270 passwords in the log buffer.
18271 (smtpmail-process-filter): Update the process marker so that the
18272 "broken by peer" status message is inserted in the right place.
18274 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
18276 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
18277 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
18278 bibtex-completion-at-point-function.
18279 (bibtex-completion-at-point-function): Use them.
18281 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
18283 * mpc.el (mpc-constraints-tag-lookup): New function.
18284 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
18285 also to browser "album|playlist".
18287 2011-09-14 Juri Linkov <juri@jurta.org>
18289 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
18290 (isearch-edit-string): Use length of `isearch-string' when
18291 `isearch-fail-pos' returns nil.
18292 (isearch-message): Remove duplicate code and call
18293 `isearch-fail-pos' with arg `t'.
18295 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
18297 * replace.el (occur-mode-goto-occurrence): Don't force using other
18300 * dired-aux.el (dired-do-chmod): Don't provide initial input.
18302 2011-09-14 Martin Rudalics <rudalics@gmx.at>
18304 * window.el (display-buffer-window): Remove.
18305 (display-buffer-record-window): Use help-setup window parameter
18306 instead of variable display-buffer-window.
18307 (display-buffer-function, special-display-buffer-names)
18308 (special-display-function): Mention help-setup parameter instead
18309 of display-buffer-window in doc-string.
18310 * help.el (help-window-setup): New argument help-window.
18311 Use help-window-setup parameter instead of display-buffer-window.
18312 Reword some messages.
18313 (with-help-window): Pass window used for displaying the buffer
18314 to help-window-setup. Don't set display-buffer-window.
18316 2011-09-13 Glenn Morris <rgm@gnu.org>
18318 * emacs-lisp/debug.el (debugger-make-xrefs):
18319 Preserve point. (Bug#9462)
18321 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
18323 * window.el (window-deletable-p): Use next-frame.
18325 2011-09-13 Martin Rudalics <rudalics@gmx.at>
18327 * window.el (window-auto-delete): Remove.
18328 (window-deletable-p): Remove argument FORCE. Don't deal with
18329 dedication and previous buffers.
18330 (switch-to-prev-buffer): Don't delete window.
18331 (delete-windows-on): Delete a window's frame if and only if the
18332 window is dedicated.
18333 (replace-buffer-in-windows): Delete buffer's window or frame if
18334 and only if window is dedicated.
18335 (quit-window): Handle quit-restore as before last change.
18336 (bury-buffer): Delete window only if window-deletable-p returns t.
18338 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
18340 * window.el (window-deletable-p): Never delete the last frame on a
18343 2011-09-13 Glenn Morris <rgm@gnu.org>
18345 * help.el (describe-key-briefly): Copy previous standard-output change.
18347 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
18349 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
18351 2011-09-13 Glenn Morris <rgm@gnu.org>
18353 * emacs-lisp/lisp-mode.el (lisp-indent-function):
18354 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
18356 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
18358 * dired-aux.el (dired-mark-read-string): Don't return default
18359 value on empty input (Bug#9361).
18360 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
18361 Omit initial minibuffer contents.
18362 (dired-do-chmod): Signal an error on empty input.
18363 (dired-mark-read-string): Don't return default on empty input.
18365 * files.el (file-modes-symbolic-to-number): Doc fix.
18367 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
18369 * international/mule-cmds.el (ucs-completions): Remove.
18370 (read-char-by-name): Use complete-with-action instead; add metadata.
18372 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
18374 * window.el (display-buffer--action-function-custom-type)
18375 (display-buffer--action-custom-type): New vars.
18376 (display-buffer-alist, display-buffer-default-action)
18377 (display-buffer-overriding-action): Add defcustom types.
18379 * frame.el (delete-other-frames): Doc fix (Bug#276).
18381 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
18383 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
18385 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
18387 Change modes that used same-window-* vars to use switch-to-buffer.
18389 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
18390 Use switch-to-buffer.
18392 * cus-edit.el (customize-group, custom-buffer-create)
18393 (customize-browse, custom-buffer-create-other-window):
18394 Use switch-to-buffer or switch-to-buffer-other-window.
18396 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
18397 (Info-prev, Info-up, Info-speedbar-goto-node)
18398 (info-display-manual): Use switch-to-buffer.
18399 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
18401 * mail/sendmail.el (mail): Use switch-to-buffer.
18402 (mail-recover): Use switch-to-buffer-other-window.
18404 * cmuscheme.el (run-scheme, switch-to-scheme):
18406 * shell.el (shell):
18407 * net/rlogin.el (rlogin):
18408 * net/telnet.el (telnet, rsh):
18409 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
18411 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
18413 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
18415 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
18417 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
18418 so don't mention it (bug#9301).
18419 (dired-sort-toggle-or-edit): Clarify string further.
18421 * faces.el (face-spec-set-match-display): Make `(type graphic)'
18422 match `x', `w32' and `ns', like the manual says (bug#9029).
18424 * subr.el (eval-after-load): Doc string clarification (bug#9125).
18425 (process-kill-buffer-query-function): Mention the buffer name in
18428 * image-mode.el (image-next-line): The line parameter is mandatory
18431 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
18432 which can be useful (bug#9301).
18434 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
18436 * subr.el (match-string): Mention that the current buffer should
18437 be the same as the search was done in (bug#9282).
18439 * facemenu.el: Disable the remove-* commands if the mark isn't
18442 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
18444 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
18446 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
18448 * replace.el (occur-mode-goto-occurrence)
18449 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
18450 and display-buffer.
18452 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
18455 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
18456 special-display and same-window variables.
18457 (mail-other-window): Use switch-to-buffer-other-window.
18458 (mail-other-frame): USe switch-to-buffer-other-frame.
18460 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
18461 Use display-buffer-other-frame.
18462 (gdb-display-gdb-buffer): Use pop-to-buffer.
18464 * progmodes/gud.el (gud-goto-info): Use info-other-window.
18466 * progmodes/python.el: Don't set same-window-buffer-names.
18468 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
18470 * window.el (display-buffer-alist): Add *Python*.
18472 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
18474 * window.el (display-buffer-alist): Add entry for buffers
18475 previously handled same-window-*.
18476 (display-buffer-alist, display-buffer-default-action)
18477 (display-buffer-overriding-action): Mark as risky.
18478 (display-buffer-alist): Document action function changes.
18479 (display-buffer--same-window-action)
18480 (display-buffer--other-frame-action): New variables.
18481 (switch-to-buffer, display-buffer-other-frame): Use them.
18482 (display-buffer): Rename reuse-frame entry to reusable-frames.
18483 (display-buffer-reuse-selected-window): Function deleted.
18484 (display-buffer-reuse-window): Handle reusable-frames alist entry.
18485 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
18486 (display-buffer-special): New function.
18487 (display-buffer--maybe-pop-up-frame-or-window): Rename from
18488 display-buffer-reuse-or-pop-window. Split off special-display
18489 part into display-buffer-special.
18490 (display-buffer-use-some-window): Don't perform any special
18491 pop-up-frames handling.
18492 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
18493 (display-buffer--maybe-same-window): Rename from
18494 display-buffer-maybe-same-window.
18496 * info.el: Don't set same-window-regexps.
18497 (info-setup): New function.
18498 (info-other-window, info): Call it.
18500 * cus-edit.el: Don't set same-window-regexps.
18501 (customize-group): New argument.
18502 (customize-group-other-window): Use it.
18503 (customize-face, customize-face-other-window): Likewise.
18504 (custom-buffer-create-other-window): Use pop-to-buffer directly.
18508 * progmodes/gud.el: Don't set same-window-regexps.
18513 * mail/sendmail.el:
18514 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
18516 2011-09-10 Juri Linkov <juri@jurta.org>
18518 * isearch.el (isearch-edit-string): Remove obsolete mention of
18519 `C-w' (`isearch-yank-word-or-char') from docstring.
18520 (isearch-query-replace): Fix typo in docstring (bug#9466).
18522 2011-09-10 Juri Linkov <juri@jurta.org>
18524 * paren.el (show-paren-function): Don't show escaped parens.
18525 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
18527 2011-09-10 Eli Zaretskii <eliz@gnu.org>
18529 * mail/sendmail.el (mml-to-mime, mml-attach-file)
18530 (mm-default-file-encoding): Remove autoload forms, they are
18531 replaced with autoload cookies in mml.el and mm-encode.el.
18532 (mail-add-attachment): New command.
18533 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
18534 (mail-mode): Mention mail-insert-file and mail-add-attachment in
18536 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
18538 2011-09-10 Reuben Thomas <rrt@sc3d.org>
18540 * simple.el (count-words-region): Use buffer if there's no region
18543 2011-09-09 Juri Linkov <juri@jurta.org>
18545 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
18546 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
18547 (wdired-isearch-filter-read-only): New function. (Bug#6362)
18549 2011-09-09 Alan Mackenzie <acm@muc.de>
18551 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
18552 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
18554 2011-09-09 Eli Zaretskii <eliz@gnu.org>
18556 Fix for Savannah bug#9392.
18557 * simple.el (mail-encode-mml): New defvar.
18559 * mail/rmail.el (mail-encode-mml): Add a defvar.
18560 (rmail-enable-mime-composing): Default to t.
18561 (rmail-forward): Use MIME method of forwarding only if both
18562 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
18563 Set mail-encode-mml non-nil if the MIME method was used.
18565 * mail/sendmail.el (mml-to-mime): Add autoload form.
18566 (mail-encode-mml): Add a defvar.
18567 (mail-mode): Make mail-encode-mml buffer-local and initialize it
18569 (mail-send): If mail-encode-mml is non-nil, run the outgoing
18570 message through mml-to-mime, and reset mail-encode-mml to nil.
18572 2011-09-09 Glenn Morris <rgm@gnu.org>
18574 * woman.el (woman-if-body): When processing an .el block,
18575 do not delete the next .el block as well. (Bug#9447)
18576 (woman-special-characters): Add oq, cq, and hy characters.
18578 2011-09-08 Martin Rudalics <rudalics@gmx.at>
18580 * window.el (window-deletable-p): Make sure window is live before
18581 invoking window-prev-buffers.
18583 2011-09-08 Leo Liu <sdl.web@gmail.com>
18585 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
18587 2011-09-08 Juri Linkov <juri@jurta.org>
18589 * progmodes/compile.el (compilation-environment): Make it
18590 a defcustom (bug#8340).
18592 2011-09-08 Martin Rudalics <rudalics@gmx.at>
18594 * window.el (frame-auto-delete): Rename to window-auto-delete.
18595 Make it control auto-deletion of windows and/or frames.
18596 (window-deletable-p): New argument FORCE. Rewrite conditions
18597 for deleting window/frame. (Bug#9419)
18598 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
18599 Rewrite handling of case when window/frame can be deleted.
18600 (delete-windows-on): Call window-deletable-p with new FORCE
18601 argument t. (Bug#9456)
18603 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
18605 * help-mode.el (help-mode): Restore autoload.
18607 2011-09-07 Juri Linkov <juri@jurta.org>
18609 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
18610 `compilation-environment'. Set buffer-local
18611 `compilation-environment' to `thisenv' later after (funcall mode).
18614 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
18615 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
18616 instead of replacing its value. (Bug#8340)
18618 2011-09-07 Juri Linkov <juri@jurta.org>
18620 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
18621 based on text properties put by `grep-filter' instead of matching
18623 (grep-mode): Set buffer-local `compilation-error-screen-columns'
18624 to the value of `grep-error-screen-columns' (bug#9438).
18626 2011-09-07 Juri Linkov <juri@jurta.org>
18628 * simple.el (next-error-highlight, next-error-highlight-no-select):
18629 Doc fix (bug#9432).
18631 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
18633 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
18634 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
18636 2011-09-07 Leo Liu <sdl.web@gmail.com>
18638 * net/rcirc.el (rcirc-mode): Conditionally initialize
18641 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
18643 * emacs-lisp/find-func.el (find-function-C-source): Only set
18644 find-function-C-source-directory after checking that we found a source
18645 file there (bug#9440).
18647 2011-09-06 Alan Mackenzie <acm@muc.de>
18649 * isearch.el (isearch-other-meta-char): Wherever a key list is
18650 unread, "unread" the prefix arg, too. This fixes bug #8901.
18652 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
18654 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
18656 2011-09-05 Juri Linkov <juri@jurta.org>
18658 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
18660 2011-09-05 Juri Linkov <juri@jurta.org>
18662 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
18663 keeping point where processing of grep matches begins, and
18664 continue to delete remaining escape sequences from the same point.
18665 (grep-filter): Make leading zero optional in "0?1;31m" because
18666 git-grep emits "\033[1;31m" escape sequences unlike expected
18667 "\033[01;31m" as GNU Grep does (bug#9408).
18668 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
18670 2011-09-05 Juri Linkov <juri@jurta.org>
18672 * subr.el (y-or-n-p): Capitalize "yes".
18674 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
18676 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
18677 `tramp-cache-unload-hook' where appropriate.
18678 (tramp-methods): Rename `tramp-remote-sh' to
18679 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
18680 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
18682 * net/tramp-sh.el (top): Don't require 'shell.
18683 (tramp-methods): Add `tramp-remote-shell' and
18684 `tramp-remote-shell-args' entries.
18685 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
18686 (tramp-sh-handle-shell-command): Remove.
18687 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
18688 Use `tramp-remote-shell'.
18690 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
18692 * mail/sendmail.el (sendmail-query-once-function): Delete.
18693 (sendmail-query-once): Save directly to send-mail-function.
18694 Update message-send-mail-function too.
18696 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
18698 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
18700 * progmodes/python.el (python-mode-map): Use correct function to
18701 start python interpreter from menu-bar (as reported by Geert
18703 (inferior-python-mode-map): Fix typo.
18704 (python-shell-map): Remove.
18706 2011-09-03 Deniz Dogan <deniz@dogan.se>
18708 * net/rcirc.el (rcirc-print): Simplify code for
18709 rcirc-scroll-show-maximum-output. There is no need to walk
18710 through all windows to find the right one.
18712 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
18714 * help.el (help-return-method): Doc fix.
18716 2011-09-03 Martin Rudalics <rudalics@gmx.at>
18718 * window.el (window-deletable-p): Don't return a non-nil value
18719 when there's a buffer that was shown in the window before.
18721 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
18722 Set window's previous buffers to nil.
18724 2011-09-03 Eli Zaretskii <eliz@gnu.org>
18726 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
18727 newline before and after the tag line, so it doesn't interfere
18728 with determining the paragraph direction of bidirectional text.
18730 2011-09-03 Leo Liu <sdl.web@gmail.com>
18732 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
18734 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
18736 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
18737 (pop-to-buffer): Change interactive spec. Pass second argument
18738 directly to display-buffer.
18739 (display-buffer): Fix interactive spec. Use functionp to
18740 distinguish between a function and a list of functions.
18742 * abbrev.el (edit-abbrevs):
18743 * arc-mode.el (archive-extract):
18744 * autoinsert.el (auto-insert):
18745 * bookmark.el (bookmark-bmenu-list):
18746 * files.el (find-file):
18747 * view.el (view-buffer):
18748 * progmodes/compile.el (compilation-goto-locus):
18749 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
18751 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
18753 * window.el (display-buffer-alist): Doc fix.
18754 (display-buffer): Add docstring. Don't treat
18755 display-buffer-default specially.
18756 (display-buffer-reuse-selected-window)
18757 (display-buffer-same-window, display-buffer-maybe-same-window)
18758 (display-buffer-reuse-window, display-buffer-pop-up-frame)
18759 (display-buffer-pop-up-window)
18760 (display-buffer-reuse-or-pop-window)
18761 (display-buffer-use-some-window): New functions.
18762 (display-buffer-default-action): Use them.
18763 (display-buffer-default): Delete.
18764 (pop-to-buffer-1): Fix choice of actions.
18766 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
18768 * minibuffer.el (completion--insert-strings): Don't get confused by
18769 completion entries that end with an LF char.
18771 2011-09-01 Eli Zaretskii <eliz@gnu.org>
18773 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
18775 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
18777 * window.el (display-buffer): Restore interactive spec.
18778 (display-buffer-same-window, display-buffer-other-window):
18780 (pop-to-buffer-1): New function. Use the above.
18781 (pop-to-buffer, pop-to-buffer-same-window): Use it.
18782 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
18784 * view.el (view-buffer-other-window, view-buffer-other-frame):
18785 Just use pop-to-buffer.
18787 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
18789 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
18791 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
18793 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
18795 2011-08-31 Richard Stallman <rms@gnu.org>
18797 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
18798 of the separation of rmail-view-buffer from rmail-buffer.
18799 If you say no to "replace original", the decrypt is in the
18800 view buffer. If you say yes, the decrypt goes into the
18803 2011-08-31 Martin Rudalics <rudalics@gmx.at>
18805 * window.el (display-buffer-window): Rewrite doc-string.
18806 (display-buffer-record-window): New function.
18807 (display-buffer-macro-specifiers)
18808 (display-buffer-even-window-sizes, display-buffer-set-height)
18809 (display-buffer-set-width, display-buffer-in-window)
18810 (display-buffer-reuse-window, display-buffer-split-specifiers)
18811 (display-buffer-side-specifiers, display-buffer-split-window-1)
18812 (display-buffer-split-window, display-buffer-split-atom-window)
18813 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
18814 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
18815 (display-buffer-other-window-means-other-frame)
18816 (display-buffer-normalize-special)
18817 (display-buffer-normalize-default)
18818 (display-buffer-normalize-argument)
18819 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
18820 (display-buffer-normalize-specifiers, display-buffer-frame)
18821 (display-buffer-same-window, display-buffer-same-frame)
18822 (display-buffer-other-window)
18823 (display-buffer-same-frame-other-window)
18824 (display-buffer-other-frame, pop-to-buffer-same-window)
18825 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
18826 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
18827 (switch-to-buffer-same-frame)
18828 (switch-to-buffer-other-window-same-frame)
18829 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
18830 (display-buffer-alist-set-1, display-buffer-alist-set-2)
18831 (display-buffer-alist-set): Remove.
18832 (display-buffer-function, special-display-buffer-names)
18833 (special-display-regexps, special-display-function):
18834 In doc-string refer to display-buffer-window and quit-restore
18836 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
18837 (special-display-frame-alist, special-display-popup-frame)
18838 (same-window-buffer-names, same-window-regexps, same-window-p)
18839 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
18840 (split-window-preferred-function, split-height-threshold)
18841 (split-width-threshold, window-splittable-p)
18842 (split-window-sensibly, window--try-to-split-window)
18843 (window--frame-usable-p, even-window-heights)
18844 (window--even-window-heights, window--display-buffer-1)
18845 (window--display-buffer-2, display-buffer-other-frame):
18846 Restore old Emacs 23 code, order and doc-strings where applicable.
18847 (display-buffer-default, display-buffer-assq-regexp): New functions.
18848 (display-buffer-alist): Rewrite doc-string.
18849 (display-buffer-default-action)
18850 (display-buffer-overriding-action): New variables.
18851 (display-buffer, switch-to-buffer): Rewrite.
18852 (pop-to-buffer): Restore Emacs 23 behavior but use
18853 window-normalize-buffer-to-display.
18854 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
18855 Restore Emacs 23 behavior but use
18856 window-normalize-buffer-to-switch-to.
18857 (pop-to-buffer-same-window): Rewrite.
18858 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
18859 Rewrite using Emacs 23 options.
18861 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
18863 * net/tramp.el (tramp-root-regexp): Remove.
18864 (tramp-completion-file-name-regexp-unified)
18865 (tramp-completion-file-name-regexp-separate)
18866 (tramp-completion-file-name-regexp-url): Don't use leading volume
18867 letter on w32 systems. (Bug#5303, Bug#9311)
18868 (tramp-drop-volume-letter): Simplify definition.
18869 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
18871 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
18873 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
18876 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
18878 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
18880 2011-08-29 Juri Linkov <juri@jurta.org>
18882 * isearch.el (isearch-done): Don't display message "Mark saved"
18883 when arg `edit' is non-nil to prevent its flicker in the echo area.
18885 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
18887 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
18888 obsolete packages for deletion.
18890 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
18892 * help-mode.el (help-mode-map): Add special-mode-map to parent.
18893 (help-mode): Derive help-mode from special-mode. Don't invoke
18894 view-mode from help-mode.
18895 (help-xref-override-view-map): Remove.
18896 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
18897 view-mode is not used anymore.
18899 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
18901 * server.el (server-port): Doc fix.
18903 * cus-theme.el (custom-theme-choose-mode): Inherit from
18904 special-mode (Bug#9124).
18905 (custom-theme-choose-mode-map): Add special-mode to parent.
18907 2011-08-28 Alan Mackenzie <acm@muc.de>
18909 * progmodes/cc-fonts.el
18910 (c-make-font-lock-BO-decl-search-function): New function.
18911 (c-basic-matchers-after - "Fontify the clauses after various
18912 keywords"): Extract the three keyword lists for the 3 erroneous
18913 constructs from the list of four, and use the new function above
18914 in place of an old one.
18916 2011-08-28 Deniz Dogan <deniz@dogan.se>
18918 * net/rcirc.el (rcirc-insert-prev-input)
18919 (rcirc-insert-next-input): Remove unused argument.
18921 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
18923 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
18925 2011-08-27 Alan Mackenzie <acm@muc.de>
18927 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
18928 handle function pointer parameters properly.
18930 2011-08-27 Martin Rudalics <rudalics@gmx.at>
18932 * window.el (display-buffer-reuse-window): Fix case where
18933 selected window was reused with non-nil OTHER-WINDOW argument.
18936 2011-08-27 Deniz Dogan <deniz@dogan.se>
18938 * net/rcirc.el (rcirc-check-auth-status): Adding support for
18939 oftc's NickServ messages.
18941 2011-08-27 Glenn Morris <rgm@gnu.org>
18943 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
18945 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
18947 * emacs-lisp/package.el (package-install): Call package-initialize
18948 if called interactively.
18950 2011-08-26 Leo Liu <sdl.web@gmail.com>
18952 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
18954 2011-08-25 Juri Linkov <juri@jurta.org>
18956 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
18957 `search-whitespace-regexp' (bug#9364).
18959 2011-08-25 Juri Linkov <juri@jurta.org>
18961 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
18962 `regexp-search-ring' to their global values to protect from
18963 updating by `read-from-minibuffer' (bug#9185).
18965 2011-08-25 Juri Linkov <juri@jurta.org>
18967 * textmodes/ispell.el (ispell-command-loop): Add newline
18968 at the end of the "Use option `i'..." line.
18970 2011-08-25 Juri Linkov <juri@jurta.org>
18972 * battery.el (display-battery-mode): If `battery-status-function'
18973 or `battery-mode-line-format' is nil, display the message and set
18974 `display-battery-mode' to nil (bug#9363).
18976 2011-08-25 Eli Zaretskii <eliz@gnu.org>
18978 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
18979 bidi-string-mark-left-to-right; they are unnecessary now.
18981 2011-08-25 Deniz Dogan <deniz@dogan.se>
18983 * net/quickurl.el: Documentation typo fixes.
18985 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
18987 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
18989 2011-08-25 Glenn Morris <rgm@gnu.org>
18991 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
18993 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
18994 (smtpmail-via-smtp): Handle nil response from smtp.
18996 2011-08-24 Juri Linkov <juri@jurta.org>
18998 * proced.el (proced-marked): Inherit from `error' instead of
18999 `font-lock-warning-face'.
19001 * ibuffer.el (ibuffer-marked-face): Change default face from
19002 `font-lock-warning-face' to `warning'.
19003 (ibuffer-deletion-face): Change default face from
19004 `font-lock-type-face' to `error'.
19006 * battery.el (battery-update): Use the face `error' instead of
19007 `font-lock-warning-face' (bug#6117).
19009 2011-08-24 Juri Linkov <juri@jurta.org>
19011 * faces.el (success): Change face color from "Green3" to
19012 "ForestGreen" on light background (bug#9353).
19014 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
19016 * window.el (quit-window): Rename from quit-restore-window.
19017 Use same arglist as old quit-window.
19018 (frame-auto-delete): Doc fix.
19020 * view.el (view-mode-exit): Use quit-window.
19022 2011-08-24 Juri Linkov <juri@jurta.org>
19024 * isearch.el (isearch-ring-adjust1): Start visiting previous
19025 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
19026 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
19027 for empty search string (when the last search string is reused
19028 automatically) to adjust the isearch ring to the last element and
19029 prepare the correct index for further M-p commands (bug#9185).
19031 2011-08-24 Kenichi Handa <handa@m17n.org>
19033 * international/ucs-normalize.el: If decomposition property of
19034 CHAR is the default one (i.e. a list of CHAR itself), treat it as
19036 (nfd, nfkd): Likewise.
19038 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
19040 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
19041 from process filters aren't reliably transmitted to the surrounding
19042 accept-process-output.
19043 (mpc-proc-check): New function.
19044 (mpc-proc-sync): Use it (bug#8293)
19046 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
19048 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
19049 Add compatibility functions (bug#9313).
19051 2011-08-23 Eli Zaretskii <eliz@gnu.org>
19053 * cus-start.el (all): Add entry for bidi-paragraph-direction.
19055 * international/uni-bidi.el: Regenerate.
19057 2011-08-23 Kenichi Handa <handa@m17n.org>
19059 * international/charprop.el:
19060 * international/uni-bidi.el:
19061 * international/uni-category.el:
19062 * international/uni-combining.el:
19063 * international/uni-comment.el:
19064 * international/uni-decimal.el:
19065 * international/uni-decomposition.el:
19066 * international/uni-digit.el:
19067 * international/uni-lowercase.el:
19068 * international/uni-mirrored.el:
19069 * international/uni-name.el:
19070 * international/uni-numeric.el:
19071 * international/uni-old-name.el:
19072 * international/uni-titlecase.el:
19073 * international/uni-uppercase.el: Regenerate.
19075 2011-08-23 Martin Rudalics <rudalics@gmx.at>
19077 * help.el (help-window-setup): Fix message displayed when other
19078 window is reused. (Bug#9341)
19080 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
19082 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
19083 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
19085 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
19087 * shell.el (shell-parse-pcomplete-arguments): New function.
19088 (shell-completion-vars): Use it instead (bug#9160).
19090 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
19092 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
19093 strings and comments (bug#9333).
19095 * emacs-lisp/debug.el (debug-arglist): New function.
19096 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
19097 (debug-on-entry-1): Handle interpreted closures (bug#9120).
19099 2011-08-22 Juri Linkov <juri@jurta.org>
19101 * progmodes/compile.el (compilation-mode-font-lock-keywords):
19102 Revert regexp that highlights output switches to its old
19103 pre-2010-10-28 value and remove one `?' from it (bug#9319).
19105 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
19106 to check for empty output (bug#9226).
19108 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
19110 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
19111 symbol-constituent as the default, as that stops font-lock from
19112 working properly (Bug#8843).
19114 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
19116 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
19117 `coding-system-for-*' around the process open call to avoid
19118 auth-source side effects.
19119 (smtpmail-try-auth-methods): Expand the secret password.
19120 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
19123 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
19125 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
19127 * emacs-lisp/find-func.el (find-function-noselect): New arg
19130 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
19131 signal an error for built-in functions (Bug#6664).
19133 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
19135 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
19136 (smtpmail-try-auth-methods): Use it.
19138 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
19140 * font-lock.el (font-lock-fontify-region)
19141 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
19142 (font-lock-default-unfontify-buffer)
19143 (font-lock-default-fontify-region)
19144 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
19146 * progmodes/compile.el (compilation-error-properties):
19147 Fix confusion between file struct and message struct (Bug#9319).
19148 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
19151 * net/browse-url.el (browse-url-firefox): Don't call
19152 browse-url-firefox-sentinel unless using -remote (Bug#9328).
19154 2011-08-20 Glenn Morris <rgm@gnu.org>
19156 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
19158 * tutorial.el (tutorial--default-keys): Update some default bindings.
19160 * files.el (hack-local-variables): Fully ignore case for "mode:".
19162 2011-08-20 Alan Mackenzie <acm@muc.de>
19164 Resolve invalid use of a regexp in regexp-opt.
19166 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
19167 detection for a java annotation.
19169 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
19170 detection for a java annotation.
19172 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
19174 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
19176 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
19178 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
19181 2011-08-20 Alan Mackenzie <acm@muc.de>
19183 Fontify CPP expressions correctly when starting in the middle of
19184 such a construct. Mainly for when jit-lock etc. starts a chunk
19187 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
19189 (c-make-font-lock-search-form): New function, extracted from
19190 c-make-font-lock-search-function.
19191 (c-make-font-lock-search-function): Use the above function.
19192 (c-make-font-lock-context-search-function): New function.
19193 (c-cpp-matchers): Enhance the preprocessor expression case with
19195 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
19196 which takes an expression.
19198 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
19200 2011-08-20 Martin Rudalics <rudalics@gmx.at>
19202 * window.el (display-buffer-reuse-window)
19203 (display-buffer-pop-up-window): Don't reuse or split a side
19206 2011-08-19 Glenn Morris <rgm@gnu.org>
19208 * files.el (hack-local-variables-prop-line, hack-local-variables):
19209 Downcase "Mode:". (Bug#9331)
19211 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
19213 * international/characters.el: Add L and R categories.
19215 * subr.el (bidi-string-mark-left-to-right): Rename from
19216 string-mark-left-to-right. Use category search.
19218 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
19220 2011-08-18 Juri Linkov <juri@jurta.org>
19222 * faces.el (error, warning, success): New faces with definitions
19223 copied from old default values of `font-lock-warning-face',
19224 `compilation-warning', `compilation-info' (bug#6117).
19226 * font-lock.el (font-lock-warning-face): Inherit from `error'.
19228 * progmodes/compile.el (compilation-error): Inherit from `error'.
19229 (compilation-warning): Inherit from `warning'.
19230 (compilation-info): Inherit from `success'.
19232 * dired.el (dired-marked): Inherit from `warning'.
19233 (dired-flagged): Inherit from `error'.
19235 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
19237 * mail/smtpmail.el (auth-source): Require to avoid problems with
19238 binding variables (bug#9298). Also clean up some unused
19241 * net/network-stream.el (network-stream-open-starttls):
19242 Support using starttls.el without using gnutls-cli.
19244 2011-08-17 Juri Linkov <juri@jurta.org>
19246 * progmodes/grep.el (rgrep): Handle the case when
19247 `grep-find-command' is a cons cell (bug#9278).
19249 2011-08-17 Martin Rudalics <rudalics@gmx.at>
19251 * window.el (display-buffer-pop-up-frame): Run frame creation
19252 function with BUFFER current (as special-display-popup-frame
19253 does). Reported by Drew Adams.
19255 2011-08-17 Daiki Ueno <ueno@unixuser.org>
19257 * epa-mail.el: Simplify GnuPG group expansion using
19259 (epa-mail-group-alist, epa-mail-group-modtime)
19260 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
19261 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
19262 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
19265 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
19267 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
19269 2011-08-16 Alan Mackenzie <acm@muc.de>
19271 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
19272 Correct, to avoid the inside of macros.
19274 2011-08-16 Richard Stallman <rms@gnu.org>
19276 * epa-mail.el: Handle GnuPG group definitions.
19277 (epa-mail-group-alist, epa-mail-group-modtime)
19278 (epa-mail-gnupg-conf-file): New variables.
19279 (epa-mail-parse-groups, epa-mail-sync-groups)
19280 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
19281 (epa-mail-expand-recipients): New functions.
19282 (epa-mail-encrypt): Call epa-mail-expand-recipients.
19284 * mail/rmail.el (rmail-epa-decrypt): New command.
19286 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
19287 Don't bind buffer-read-only, just inhibit-read-only.
19288 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
19289 (epa-decrypt-armor-in-region): Make error message clearer.
19291 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
19293 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
19294 and "a2b" to "ab" for `prefix'.
19296 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
19298 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
19300 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
19301 Fourquet (Bug#8804).
19303 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
19305 * startup.el (argi): Declare as global variable (bug#9275).
19307 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
19309 * subr.el (string-mark-left-to-right): Search the entire string
19310 for RTL script, not just the terminating character. Doc fix.
19312 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
19314 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
19316 (js--regexp-literal, js-syntax-propertize-function): Remove.
19317 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
19318 (js-mode-map): Don't rebind electric keys.
19319 (js-insert-and-indent): Remove.
19320 (js-mode): Setup electric-layout and electric-indent instead.
19322 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
19324 2011-08-12 Daiki Ueno <ueno@unixuser.org>
19326 * epa.el (epa-progress-callback-function): Fix the logic of
19327 displaying progress.
19328 * epa-file.el (epa-file-insert-file-contents): Make progress
19329 display more user-friendly.
19330 (epa-file-write-region): Ditto.
19332 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
19334 * subr.el (string-mark-left-to-right): New function.
19336 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
19337 Use string-mark-left-to-right.
19338 (list-buffers-noselect): Caller changed.
19340 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
19341 Use string-mark-left-to-right.
19342 (tabulated-list-print): Recenter after moving point.
19344 2011-08-10 Juri Linkov <juri@jurta.org>
19346 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
19347 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
19348 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
19350 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
19352 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
19355 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
19357 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
19358 character. (Bug#6594)
19360 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
19362 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
19363 (image-dired--with-db-file): New macro.
19364 (image-dired-write-tags, image-dired-remove-tag)
19365 (image-dired-create-gallery-lists, image-dired-write-comments)
19366 (image-dired-get-comment, image-dired-mark-tagged-files)
19367 (image-dired-list-tags, image-dired-gallery-generate): Use it.
19368 (image-dired-gallery-generate): Use insert-file-contents.
19370 * time.el (display-time-world-list, display-time-world-display):
19371 * time-stamp.el (time-stamp-string):
19372 * vc/add-log.el (add-change-log-entry): Use setenv instead of
19373 set-time-zone-rule (Bug#7337).
19375 2011-08-08 Daiki Ueno <ueno@unixuser.org>
19377 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
19378 (epg-error-to-string, epg-errors-to-string): New function.
19379 (epg-wait-for-completion): Reverse errors list.
19380 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
19381 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
19382 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
19383 (epg-sign-keys, epg-generate-key-from-file)
19384 (epg-generate-key-from-string): Format errors by using
19385 epg-errors-to-string (bug#9255).
19386 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
19388 2011-08-07 Juri Linkov <juri@jurta.org>
19390 * faces.el (list-faces-display): Remove extra angle bracket
19391 from `help-mode-map'.
19393 * info.el (Info-history-toc-nodes): Doc fix.
19395 * longlines.el (longlines-mode): Doc fix.
19397 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
19399 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
19400 of statements and in a few more cases (bug#9183).
19402 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
19404 (cl-transform-lambda): Use them (bug#9239).
19406 2011-08-05 Martin Rudalics <rudalics@gmx.at>
19408 * window.el (display-buffer-same-window)
19409 (display-buffer-same-frame, display-buffer-other-window)
19410 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
19411 (pop-to-buffer-other-window)
19412 (pop-to-buffer-same-frame-other-window)
19413 (pop-to-buffer-other-frame): Make them defuns.
19414 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
19416 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
19418 * subr.el (make-composed-keymap): Move from C. Change calling
19419 convention, and improve docstring to bring attention to a subtle point.
19420 * minibuffer.el (completing-read-default): Adjust accordingly.
19422 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
19424 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
19425 (tramp-open-shell): Use `tramp-shell-quote-argument'.
19427 * net/trampver.el: Update release number.
19429 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
19431 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
19434 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
19436 * mail/sendmail.el (sendmail-query-once): Restore the current
19437 buffer after querying (bug#9074).
19439 * dired.el (dired-flagged): Use different faces for marked and
19440 flagged files (bug#6117).
19442 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
19445 * ido.el (ido-mode): Switch off the message if called
19448 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
19449 before 587, since it appears that that's more likely to work for
19452 * cus-edit.el (custom-file): When running under emacs -q, always
19453 refuse to save the customizations, even if the .emacs file doesn't
19456 * info.el: Remove the `Info-beginning-of-buffer' function
19459 * net/network-stream.el (network-stream-open-starttls):
19460 Use `starttls-available-p' to see whether starttls.el can be used.
19462 2011-08-01 Martin Rudalics <rudalics@gmx.at>
19464 * window.el (display-buffer-in-window): Don't set dedicated status
19465 of window here (Bug#9215).
19466 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
19467 (display-buffer-pop-up-side-window)
19468 (display-buffer-in-side-window): Set dedicated status of window here.
19470 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
19472 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
19473 before binding generated-autoload-file.
19475 2011-08-01 Deniz Dogan <deniz@dogan.se>
19477 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
19479 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
19481 Sync with Tramp 2.2.2.
19483 * net/trampver.el: Update release number.
19485 2011-07-30 Juri Linkov <juri@jurta.org>
19487 * dired-aux.el (dired-touch-initial): Remove function.
19488 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
19489 current time, and `default' to the last modification time of the
19490 current marked file (bug#6887).
19492 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
19494 * simple.el (goto-line): Use string-to-number to provide a
19495 numeric argument to read-number (bug#9163).
19497 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
19499 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
19500 connection process, it could be nil.
19502 2011-07-27 Leo Liu <sdl.web@gmail.com>
19504 Simplify url handling in rcirc-mode.
19506 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
19507 (rcirc-browse-url-at-mouse): Remove.
19508 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
19510 2011-07-26 Alan Mackenzie <acm@muc.de>
19512 Fontify bitfield declarations properly.
19514 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
19515 (c-symbol-chars): Now exported as a lang variable.
19516 (c-not-primitive-type-keywords): New lang variable.
19518 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
19519 QT keyword "more" to prevent "more slots: ...." being spuriously
19520 parsed as a bitfield declaration.
19522 * progmodes/cc-engine.el (c-beginning-of-statement-1):
19523 Refactor and enhance to handle bitfield declarations.
19524 (c-punctuation-in): New function.
19525 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
19526 declarations properly.
19528 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
19530 * calendar/icalendar.el (icalendar--all-events): Take care of
19531 multiple vcalendars in a single file.
19532 (icalendar--convert-float-to-ical): Checkdoc fixes.
19534 2011-07-25 Deniz Dogan <deniz@dogan.se>
19536 * image.el (insert-image): Clarifying docstring.
19538 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
19540 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
19541 `tramp-send-command-and-check' if there is no error.
19542 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
19544 2011-07-22 Alan Mackenzie <acm@muc.de>
19546 Prevent cc-langs.elc being loaded at run time.
19548 * progmodes/cc-mode.el: Remove two autoload forms which loaded
19551 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
19552 "(require 'cc-langs)". Quote a form so it will evaluate at
19553 (cc-mode's) compilation time.
19555 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
19557 * net/tramp.el (tramp-file-name-handler): Avoid recursive
19558 loading. (Bug#9114)
19560 2011-07-21 Martin Rudalics <rudalics@gmx.at>
19562 * window.el (display-buffer-pop-up-window)
19563 (display-buffer-pop-up-side-window)
19564 (display-buffer-in-side-window): Call display-buffer-set-height
19565 and display-buffer-set-width after setting the new window's
19566 buffer so `fit-window-to-buffer' and friends work on the right buffer.
19568 2011-07-20 Sam Steingold <sds@gnu.org>
19570 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
19571 (etags-tags-included-tables): Call `convert-standard-filename' on
19572 the file names contained in TAGS so that windows Emacs can handle
19573 TAGS files created by cygwin ctags.
19575 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
19577 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
19578 which apparently didn't work.
19580 2011-07-19 Roland Winkler <winkler@gnu.org>
19582 * proced.el (proced-send-signal): For *Marked Processes* buffer
19583 put point at beginning of buffer.
19585 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
19587 * proced.el (proced-format): Make header lines align with the text
19590 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
19592 * view.el (view-buffer): Allow running in `special' modes if we're
19593 visiting a file (bug#8615).
19595 2011-07-19 Martin Rudalics <rudalics@gmx.at>
19597 * window.el (display-buffer-alist-of-strings-p)
19598 (display-buffer-alist-set-1, display-buffer-alist-set-2):
19600 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
19603 2011-07-18 Alan Mackenzie <acm@muc.de>
19605 Fontify declarators properly when, e.g., a jit-lock chunk begins
19606 inside a declaration.
19608 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
19610 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
19612 (c-complex-decl-matchers): Insert reference to
19613 c-font-lock-enclosing-decls.
19615 * progmodes/cc-engine.el (c-backward-single-comment):
19616 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
19617 to nil around calls to (forward-comment -1).
19619 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
19621 * image.el (put-image): Doc typo fix.
19623 * progmodes/etags.el (tags-search): Doc typo fix.
19625 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
19626 password if we get errors 550 to 554.
19628 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
19630 * net/gnutls.el (gnutls-log-level): Remove.
19632 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
19633 indentation character (bug#6380).
19635 * files.el (buffer-offer-save): Made permanently local (bug#6241).
19637 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
19638 to clarify what the problem is (bug#4291).
19640 * simple.el (current-kill): Clarify what
19641 `interprogram-paste-function' does (bug#7500).
19642 (auto-fill-mode): Document `auto-fill-function' in relation to
19643 `auto-fill-mode' (bug#2470).
19645 2011-07-16 Lawrence Mitchell <wence@gmx.li>
19647 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
19648 method if slot is read-only (bug#9035).
19650 2011-07-16 Martin Rudalics <rudalics@gmx.at>
19652 * frame.el (select-frame-set-input-focus): New argument NORECORD.
19653 * window.el (pop-to-buffer): Select window used even if it was
19654 selected before, see discussion of (Bug#8615), (Bug#6954).
19655 Pass argument NORECORD on to select-frame-set-input-focus.
19657 2011-07-15 Glenn Morris <rgm@gnu.org>
19659 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
19662 2011-07-09 Lawrence Mitchell <wence@gmx.li>
19664 * net/gnutls.el (gnutls-min-prime-bits): New variable.
19665 (gnutls-negotiate): Use it.
19667 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
19669 * net/gnutls.el (gnutls-negotiate):
19670 Upcase `gnutls-algorithm-priority'.
19672 2011-07-15 Glenn Morris <rgm@gnu.org>
19674 * jka-compr.el (jka-compr-verbose): Move from here...
19675 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
19676 Add missing :version tag.
19677 * info.el: No need to require jka-compr when compiling.
19679 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
19681 * net/gnutls.el (gnutls-algorithm-priority): New variable.
19682 (gnutls-negotiate): Use it.
19684 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
19686 * info.el (Info-beginning-of-buffer): New command.
19687 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
19688 announcing `b' as the key (bug#8325).
19689 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
19691 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
19693 * international/mule-cmds.el
19694 (describe-specified-language-support): Make the error message
19695 clearer (bug#8905).
19697 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
19699 * isearch.el (isearch-barrier): Add a doc string, since it's
19700 mentioned in a function doc string (bug#8678).
19702 2011-07-15 Martin Rudalics <rudalics@gmx.at>
19704 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
19705 buffer argument (Bug#9083) and self-identifying label argument.
19707 2011-07-15 Glenn Morris <rgm@gnu.org>
19709 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
19711 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
19713 * man.el (Man-fontify-manpage): Fix message when formatting the
19714 man page (bug#7929).
19716 2011-07-14 Eli Zaretskii <eliz@gnu.org>
19718 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
19719 argument LRM; if non-nil, append an invisible LRM character to the
19721 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
19722 last argument non-nil, when formatting buffer names.
19723 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
19724 paragraph direction.
19726 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
19728 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
19729 the man page name (bug#7929).
19731 * image.el (put-image): Mention the `put-image' overlay property
19734 * scroll-bar.el (set-scroll-bar-mode): Mention that
19735 `scroll-bar-mode' lists the values (bug#7772).
19737 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
19738 command (bug#7729).
19740 * rect.el (apply-on-rectangle): Return the point after the last
19742 (string-rectangle): Go to the point after the last operation
19745 * printing.el (pr-toggle-region): Clarify the documentation
19746 slightly (bug#7493).
19748 * time.el (display-time-update):
19749 Allow `display-time-mail-function' to return nil (bug#7158).
19750 Fix suggested by Detlev Zundel.
19752 * vc/diff.el (diff): Clarify the order the file names are read
19755 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
19756 the doc string (bug#7015).
19758 * font-lock.el (font-lock-maximum-decoration): Mention what
19759 numeric levels mean (bug#6935).
19761 * startup.el (initial-buffer-choice): Don't mention the `none'
19762 selection, which is against policy.
19764 2011-07-14 Martin Rudalics <rudalics@gmx.at>
19766 * window.el (display-buffer-normalize-special):
19767 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
19769 2011-07-14 Eli Zaretskii <eliz@gnu.org>
19771 * subr.el (version<, version<=, version=): Mention "-CVS" and
19772 "-12345" alpha version numbers.
19774 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
19776 * bindings.el: Add advertised binding for set-mark-command
19779 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
19781 * bindings.el (mode-line-other-buffer):
19782 * bookmark.el (bookmark-bmenu-2-window):
19783 * bs.el (bs-cycle-next, bs-cycle-previous):
19784 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
19787 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
19790 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
19792 * follow.el (follow-debug-message, follow-redisplay):
19793 * jka-cmpr-hook.el (with-auto-compression-mode):
19794 Fix typos in docstrings.
19796 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
19798 * subr.el (with-silent-modifications): Clarify somewhat what the
19799 macro inhibits (bug#6525).
19801 * simple.el (eval-expression): Note what it does if called
19802 interactively (bug#6495).
19804 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
19806 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
19807 Use pop-to-buffer buffer-or-name if it is nil.
19809 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
19810 Remove switch-to-buffer.
19812 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
19814 * files.el (make-directory): Clarify that an error will be raised
19815 if there's an error (bug#6397).
19817 * startup.el (initial-buffer-choice): Add `none' as a choice
19820 * subr.el (add-hook): Clarify section about buffer-local hooks
19823 * dired.el (dired-flagged): Clarify doc string (bug#6117).
19825 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
19827 * tabify.el (untabify): Preserve the current column so that point
19828 doesn't move (bug#6032).
19830 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
19832 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
19833 Rewrite to avoid awkward possessive "s" (bug#5986).
19835 2011-07-13 Glenn Morris <rgm@gnu.org>
19837 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
19838 (dired-insert-directory): Give a message the first time
19839 if ls is found not to support --dired.
19841 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
19843 * simple.el (toggle-truncate-lines): Clarify what is toggled
19844 (bug#5580). Text by Drew Adams.
19846 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
19848 * simple.el (blink-matching-open): Make the error message from the
19849 last change less verbose.
19851 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
19853 * font-lock.el (font-lock-comment-face): Use the high contrast
19854 "yellow" color for font-lock-comment-face on low color terminals
19855 using a dark background color (bug#4221).
19857 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
19859 * dired.el (dired-insert-set-properties): Make the doc string
19860 reflect what it does now (bug#5325).
19862 * simple.el (blink-matching-open): Say that we were unable to find
19863 the match within the limit, if we're limited (bug#5122).
19865 * international/mule-cmds.el (prefer-coding-system): Add an
19866 example (bug#4869).
19868 * progmodes/etags.el (tags-search): Document `file-list-form'
19871 2011-07-13 Lawrence Mitchell <wence@gmx.li>
19873 * net/browse-url.el (browse-url-default-browser)
19874 (browse-url-browser-function): Make the default browser choice a
19875 bit more logical (bug#4300). Also clean up the doc string.
19877 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
19879 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
19880 binary endings (bug#4440).
19882 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
19884 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
19885 which can be pretty annoying (bug#8971).
19887 * jka-compr.el (jka-compr-verbose): New variable, and use
19888 throughout (bug#8971).
19890 * info.el (Info-find-file): Fall back on the installation
19891 directory if we can't find the info node anywhere else.
19893 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
19895 * vc/vc.el (vc-revert-file):
19896 Don't set file time-stamp in the past. (Bug#5181)
19898 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
19900 * files.el (after-find-file): Give a better error message when
19901 trying to find a symlink that points to a file that doesn't exist
19904 * progmodes/cc-vars.el: Remove (probably) misleading comment
19907 2011-07-12 Johan Bockgård <bojohan@gnu.org>
19909 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
19911 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
19913 * mouse-sel.el: Hack restoring functionality, while keeping
19914 compatibility with 2010-07-03 changes to mouse selection.
19915 (mouse-sel-primary-overlay): New var.
19916 (mouse-sel-selection-alist): Use it.
19917 (mouse-sel-mode): Doc fix; remove points that are default features
19920 2011-07-12 Johan Bockgård <bojohan@gnu.org>
19922 * progmodes/compile.el (compilation-error-regexp-alist-alist):
19923 Fix previous fix (bug#2490).
19925 2011-07-12 Roland Winkler <winkler@gnu.org>
19927 * textmodes/bibtex.el (bibtex-initialize):
19928 Use pop-to-buffer-same-window.
19929 (bibtex-search-entries): Fix interactive call.
19931 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
19933 * progmodes/compile.el (compilation-error-regexp-alist-alist):
19934 Fontise bytecomp Error lines more correctly (bug#2490).
19935 Fix suggested by Johan Bockgård.
19937 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
19939 * dired-x.el (dired-guess-default): Use `delete-dups'.
19941 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
19943 * dired.el (dired-mark-prompt):
19944 * dired-aux.el (dired-read-shell-command): Doc fix.
19946 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
19948 * mail/sendmail.el (sendmail-query-once):
19949 Use `customize-save-variable' unconditionally, now that it works under
19952 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
19954 * cus-edit.el (custom-file): Take an optional no-error variable.
19955 (customize-save-variable): Set the variable, and give a warning if
19956 running under "emacs -q".
19958 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
19960 * loadhist.el (unload-feature-special-hooks):
19961 Add `auto-coding-functions', `fill-nobreak-predicate' and
19962 `find-directory-functions' (bug#5327).
19964 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
19966 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
19968 * cus-edit.el (custom-guess-name-alist): -alist variables should
19969 use the `alist' type (bug#3120). Suggested by Drew Adams.
19971 * printing.el: Add documentation to all the `pr-toggle-' commands.
19973 2011-07-11 Leo Liu <sdl.web@gmail.com>
19975 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
19976 backends where it makes sense (bug#2623).
19978 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
19980 * dired-x.el (dired-guess-default): Remove duplicate shell command
19981 entries (bug#2028).
19982 (dired-guess-default): Fix grammar in doc string (bug#2028).
19983 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
19985 * subr.el (remove-duplicates): New conveniency function.
19987 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
19989 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
19992 2011-07-10 Martin Rudalics <rudalics@gmx.at>
19994 * window.el (display-buffer-normalize-default): Don't invert
19995 meaning of even-window-heights. Reported by Eli Zaretskii
19998 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
20000 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
20002 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
20004 * window.el (display-buffer): Fix arguments to
20005 display-buffer-reuse-window in last change.
20007 * faces.el (link): Use a less saturated blue on light backgrounds.
20009 * startup.el (fancy-startup-text, fancy-about-text)
20010 (fancy-startup-tail): Use font-lock faces, for background safety.
20012 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
20014 * emulation/viper-cmd.el (viper-change-state-to-vi):
20015 Limit triggering of abbrev expansion (Bug#9038).
20017 2011-07-09 Martin Rudalics <rudalics@gmx.at>
20019 * window.el (display-buffer-default-specifiers): Remove.
20020 (display-buffer-macro-specifiers): Remove default specifiers.
20021 (display-buffer-alist): Default to nil.
20022 (display-buffer-reuse-window): New optional argument other-window.
20023 (display-buffer-pop-up-window): Allow splitting internal
20024 windows. Check whether a live window was created.
20025 (display-buffer-other-window-means-other-frame)
20026 (display-buffer-normalize-arguments): Rename to
20027 display-buffer-normalize-argument and rewrite. Set the
20028 other-window specifier.
20029 (display-buffer-normalize-special): New function.
20030 (display-buffer-normalize-options): Rename to
20031 display-buffer-normalize-default and rewrite.
20032 (display-buffer-normalize-options-inhibit): Remove.
20033 (display-buffer-normalize-specifiers): Rewrite.
20034 (display-buffer): Process other-window specifier and call
20035 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
20037 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
20038 (display-buffer-alist-set): Don't handle 'unset default values.
20039 (display-buffer-in-window, display-buffer-alist-set):
20040 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
20041 <tassilo@member.fsf.org>.
20043 2011-07-09 Leo Liu <sdl.web@gmail.com>
20045 * register.el (insert-register): Restore accidental change on
20046 2011-06-26. (Bug#9028)
20048 2011-07-09 Glenn Morris <rgm@gnu.org>
20050 * subr.el (remq): Handle the empty list. (Bug#9024)
20052 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
20054 * mail/sendmail.el (send-mail-function): No longer delay custom
20056 * custom.el (custom-initialize-delay): Doc fix.
20058 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
20060 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
20062 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
20064 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
20065 human-friendly prompt.
20067 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
20069 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
20070 provided by a particular plugin.
20072 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
20074 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
20075 save customizations (with "emacs -Q"), just set the variable
20076 instead of erroring out.
20078 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
20080 2011-07-08 Juri Linkov <juri@jurta.org>
20082 * arc-mode.el (archive-zip-expunge, archive-zip-update)
20083 (archive-zip-update-case): Use 7z if found by `executable-find'.
20084 The order of searching the available programs is the same as in
20085 `archive-zip-extract' (bug#8968).
20087 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
20089 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
20090 (menu-bar-options-menu): Tweak descriptions.
20092 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
20094 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
20095 menu items into verb phrases (bug#1421). Also refill to fit under
20098 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
20100 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
20101 (Info-read-node-name): Doc fix (Bug#1084).
20103 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
20104 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
20105 (end-of-sexp, beginning-of-sexp)
20106 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
20107 (forward-symbol, forward-same-syntax, word-at-point)
20108 (sentence-at-point): Doc fix (Bug#1144).
20110 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
20112 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
20113 should cover it (bug#1281).
20115 * cus-edit.el (custom-show): Mark as obsolete.
20117 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
20118 negotiation fails, then possibly try again with a non-encrypted
20119 connection (bug#9017).
20121 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
20124 2011-07-07 Richard Stallman <rms@gnu.org>
20126 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
20127 property, and handle its changed format.
20128 Look for the correct line number.
20129 Use file's line contents (but not past first =) to find
20130 correct line in message.
20132 2011-07-07 Kenichi Handa <handa@m17n.org>
20134 * international/characters.el (build-unicode-category-table):
20136 (unicode-category-table): Set it by unicode-property-table-internal.
20138 * international/mule-cmds.el (char-code-property-alist): Move to
20140 (get-char-code-property): Call unicode-property-table-internal to
20141 load a file. Call get-unicode-property-internal where necessary.
20142 (put-char-code-property): Call unicode-property-table-internal to
20143 load a file. Call put-unicode-property-internal where necessary.
20144 put-unicode-property-internal where necessary.
20145 (char-code-property-description):
20146 Call unicode-property-table-internal to load a file.
20148 * international/charprop.el:
20149 * international/uni-bidi.el:
20150 * international/uni-category.el:
20151 * international/uni-combining.el:
20152 * international/uni-comment.el:
20153 * international/uni-decimal.el:
20154 * international/uni-decomposition.el:
20155 * international/uni-digit.el:
20156 * international/uni-lowercase.el:
20157 * international/uni-mirrored.el:
20158 * international/uni-name.el:
20159 * international/uni-numeric.el:
20160 * international/uni-old-name.el:
20161 * international/uni-titlecase.el:
20162 * international/uni-uppercase.el: Regenerate.
20164 * loadup.el: Load international/charprop.el before
20165 international/characters.
20167 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
20169 * window.el (next-buffer, previous-buffer): Signal an error if
20170 called from a minibuffer window.
20172 * bindings.el: Revert 2011-07-04 change.
20174 2011-07-06 Richard Stallman <rms@gnu.org>
20176 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
20177 (rmail-mime-insert-bulk, rmail-mime-insert-text):
20178 Treat markers like ints.
20179 (rmail-mime-entity): Doc fix.
20181 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
20183 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
20184 defcustom again for backwards compatibility.
20186 * simple.el (shell-command-on-region): Fill.
20188 * dired-aux.el (dired-kill-line): Add a doc string.
20190 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
20191 to "\\sw\\|\\s_" (bug#358).
20193 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
20194 (dired-unmark-backward): Ditto.
20195 (dired-flag-backup-files): Ditto.
20197 * dired-x.el (dired-mark-sexp): Ditto.
20199 2011-07-06 Richard Stallman <rms@gnu.org>
20201 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
20202 (rmail-mime-entity): New arg TRUNCATED.
20203 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
20205 (rmail-mime-save): Warn if entity is truncated.
20206 (rmail-mime-toggle-hidden): Likewise, for showing.
20207 (rmail-mime-process-multipart): Record when an entity is truncated.
20209 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
20210 if ENTITY is a string.
20212 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
20214 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
20215 of faces when `M-C-x'-ing their definitions (bug#8378).
20216 Also clean up the code slightly.
20218 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
20219 because that makes the colors go away.
20221 * mail/sendmail.el (send-mail-function): Change the default to
20222 `sendmail-query-once'.
20223 (sendmail-query-once): Add an autoload cookie.
20225 * net/network-stream.el (network-stream-open-starttls): Try using
20226 a plain connection even if the server offered STARTTLS, and we
20227 kinda wanted to use it, if Emacs doesn't have any STARTTLS
20228 capability. This should make smtpmail.el work in slightly more
20231 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
20233 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
20235 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
20237 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
20239 * progmodes/sql.el: Version 3.0
20240 (sql-product-alist): Add product :completion-object,
20241 :completion-column, and :statement attributes.
20242 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
20243 (sql-mode-syntax-table): Mark all punctuation.
20244 (sql-font-lock-keywords-builder): Temporarily remove fallback on
20246 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
20247 (sql-mode-oracle-font-lock-keywords): Improve.
20248 (sql-oracle-show-reserved-words): New function for development.
20249 (sql-product-font-lock): Simplify for source code buffers.
20250 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
20252 (sql-highlight-product): Set product specific syntax table.
20253 (sql-mode-map): Add statement movement functions.
20254 (sql-ansi-statement-starters, sql-oracle-statement-starters):
20256 (sql-statement-regexp, sql-beginning-of-statement)
20257 (sql-end-of-statement, sql-signum): New functions.
20258 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
20259 (sql-show-sqli-buffer): Bug fix.
20260 (sql-interactive-mode): Store connection data as buffer local.
20261 (sql-connect): Add NEW-NAME parameter. Redesign interaction
20262 with sql-interactive-mode.
20263 (sql-save-connection): Save buffer local settings.
20264 (sql-connection-menu-filter): Change menu entry name.
20265 (sql-product-interactive): Bug fix.
20266 (sql-preoutput-hold): New variable.
20267 (sql-interactive-remove-continuation-prompt): Bug fixes.
20268 (sql-debug-redirect): New variable.
20269 (sql-str-literal): New function.
20270 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
20272 (sql-oracle-save-settings, sql-oracle-restore-settings)
20273 (sql-oracle-list-all, sql-oracle-list-table): New functions.
20274 (sql-completion-object, sql-completion-column)
20275 (sql-completion-sqlbuf): New variables.
20276 (sql-build-completions-1, sql-build-completions)
20277 (sql-try-completion): New functions.
20278 (sql-read-table-name): Use them.
20279 (sql-contains-names): New buffer local variable.
20280 (sql-list-all, sql-list-table): Use it.
20281 (sql-oracle-completion-types): New variable.
20282 (sql-oracle-completion-object, sql-sqlite-completion-object)
20283 (sql-postgres-completion-object): New functions.
20285 2011-07-06 Glenn Morris <rgm@gnu.org>
20287 * window.el (pop-to-buffer): Doc fix.
20289 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
20291 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
20293 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
20295 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
20297 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
20299 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
20301 * button.el (button): Inherit from link face. Suggested by Dan
20304 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
20306 * progmodes/gdb-mi.el: Fit in 80 columns.
20307 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
20310 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
20311 if imenu is simply not configured (bug#8941).
20313 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
20315 * allout.el (allout-post-undo-hook): New allout outline-change
20316 event hook to signal undo activity.
20317 (allout-post-command-business): Run allout-post-undo-hook if an
20318 undo just occurred.
20319 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
20320 * allout-widgets.el (allout-widgets-after-undo-function):
20321 Ensure the integrity of the current item's decoration after it has been
20322 in the vicinity of an undo.
20323 (allout-widgets-mode): Include allout-widgets-after-undo-function
20324 on the new allout-post-undo-hook.
20326 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
20328 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
20329 Let define-derived-mode define it.
20330 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
20331 cycles of abbrev-table inheritance (bug#8998).
20333 2011-07-05 Roland Winkler <winkler@gnu.org>
20335 * textmodes/bibtex.el: Add support for biblatex.
20336 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
20337 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
20338 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
20339 (bibtex-entry-alist, bibtex-field-alist): New variables.
20340 (bibtex-entry-field-alist): Obsolete alias for
20341 bibtex-BibTeX-entry-alist.
20342 (bibtex-entry-alist, bibtex-field-alist): New widgets.
20343 (bibtex-set-dialect): New command.
20344 (bibtex-entry-type, bibtex-entry-head)
20345 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
20346 Bind via bibtex-set-dialect.
20347 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
20348 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
20349 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
20350 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
20351 Define via bibtex-set-dialect.
20352 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
20353 Obey bibtex-no-opt-remove-re.
20354 (bibtex-vec-push, bibtex-vec-incr): New functions.
20355 (bibtex-format-entry, bibtex-field-list)
20356 (bibtex-print-help-message, bibtex-validate)
20357 (bibtex-search-entries): Use new format of bibtex-entry-alist.
20359 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
20361 * progmodes/compile.el (compilation-goto-locus):
20362 * net/tramp-cmds.el (tramp-append-tramp-buffers):
20363 * bs.el (bs-cycle-next, bs-cycle-previous):
20364 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
20365 * bindings.el (mode-line-other-buffer):
20366 * autoinsert.el (auto-insert):
20367 * arc-mode.el (archive-extract):
20368 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
20370 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
20372 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
20373 Fix check of `emacs-lock-unlockable-modes'.
20374 Coerce true values of `emacs-lock--try-unlocking' to t.
20376 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
20378 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
20379 * emacs-lock.el: New file.
20381 2011-07-05 Julien Danjou <julien@danjou.info>
20383 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
20384 than `boundp' to check if face is set.
20386 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
20388 * register.el (registerv-make):
20389 * window.el (window-min-height): Fix typos in docstrings.
20391 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
20393 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
20396 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
20398 * server.el (server-execute): Catch quit and call
20399 `server-return-error' to pass the error back to emacsclient and
20400 close the connection (bug#8942).
20402 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
20404 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
20405 insecure exception for current topic. Also note that auto-saves
20406 are handled differently.
20408 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
20409 State variables for tracking auto-save inhibition situation.
20411 (allout-write-contents-hook-handler): Rename from
20412 'allout-write-file-hook-handler', and describe how it depends on
20413 write-contents-functions sensitivity to non-nil value to prevent
20416 (allout-auto-save-hook-handler): Remove. auto-save does not check
20417 this in individual buffers, only in the starting buffer, so this
20418 is not the right way for us to inhibit auto-save in a buffer
20419 according to its condition.
20421 (allout-mode): Use new allout-write-contents-hook-handler, and
20422 only with write-contents-functions. Remove auto-save provisions -
20423 they're implemented elsewhere.
20425 (allout-before-change-handler): If undo is in progress, note that
20426 for attention of allout-post-command-business.
20428 (allout-post-command-business): If the command we're following was
20429 an undo, check for change in the status of encrypted items and
20430 adjust auto-save inhibitions accordingly.
20432 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
20433 according to whether there are or aren't any plain-text topics
20434 pending encryption.
20436 (allout-inhibit-auto-save-info-for-decryption):
20437 Adjust buffer-saved-size and some allout state to inhibit auto-saves
20438 if there are plain-text topics pending encryption.
20440 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
20441 buffer-saved-size and some allout state to not inhibit auto-saves
20442 if there are no longer any plain-text topics pending encryption.
20444 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
20445 No longer provide for exemption of the current topic.
20447 2011-07-04 Juri Linkov <juri@jurta.org>
20449 Add 7z operations to delete and save changed members (bug#8968).
20450 * arc-mode.el (archive-7z-expunge, archive-7z-update):
20452 (archive-7z-write-file-member): New function.
20453 (archive-7z-summarize): Fix the number of dashes in the
20456 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
20458 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
20461 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
20463 * bindings.el: Ignore next-buffer and previous-buffer in
20464 minibuffer-local-map.
20466 * font-lock.el (font-lock-builtin-face): Change light background
20467 color to dark slate blue (Bug#6693).
20469 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
20471 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
20473 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
20475 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
20476 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
20477 Add switch-to-buffer.
20479 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
20481 * isearch.el (isearch-search-fun-function): Clarify further the
20482 meaning of the function returned.
20484 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
20486 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
20488 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
20489 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
20491 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
20492 `tramp-default-remote-path' does not exist.
20493 (tramp-send-command-and-read): New optional argument NOERROR.
20494 (tramp-open-connection-setup-interactive-shell)
20495 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
20496 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
20497 (tramp-process-sentinel): Flush also process' connection property.
20498 (tramp-sh-handle-start-file-process): Do not set process
20499 sentinel. It is done now ...
20500 (tramp-maybe-open-connection): ... here. (Bug#8929)
20502 2011-07-04 MON KEY <monkey@sandpframing.com>
20504 * play/animate.el (animate-string): Doc fixes and allow changing
20505 the buffer name (bug#5417).
20507 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
20509 * play/animate.el (animation-buffer-name): Rename from *animate*.
20511 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
20513 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
20514 This is simpler and helps future-proof the code.
20515 (timer-until): Use time-subtract and float-time.
20516 (timer--time-less-p): Use time-less-p.
20518 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
20520 * type-break.el (timep): Use the value of `float-time' to avoid a
20521 byte-compiler warning.
20523 * server.el (server-eval-and-print): Return any result, even nil.
20525 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
20527 * type-break.el: Accept time formats that the builtins accept.
20528 (timep, type-break-time-difference): Accept any format that
20529 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
20530 This is simpler and helps future-proof the code.
20531 (type-break-time-difference): Round rather than ignoring
20532 subseconds components.
20534 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
20536 * info.el (Info-apropos-matches): Make non-interactive, since it
20537 doesn't seem to do anything useful as a command (bug#8829).
20539 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
20541 * frame.el (frame-background-mode, frame-set-background-mode):
20542 Move from faces.el.
20543 (frame-default-terminal-background): New function.
20545 * custom.el (custom-push-theme): Don't record faces in `changed'
20546 theme; this doesn't work correctly for per-frame face settings.
20547 (disable-theme): Use face-set-after-frame-default to reset faces.
20548 (custom--frame-color-default): New function.
20550 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
20552 * dired.el (dired-flagging-regexp): Remove unused variable
20555 2011-03-29 Kevin Ryde <user42@zip.com.au>
20557 * progmodes/compile.el (compilation-error-regexp-alist-alist):
20558 `perl-Test2' extend to match possible "fail #N" rep count
20561 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
20563 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
20564 `smtpmail-via-smtp' now returns the error instead of nil.
20566 * isearch.el (isearch-search-fun-function): Clarify the doc string
20569 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
20571 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
20572 unnecessary spaces (bug#8987).
20574 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
20576 * net/network-stream.el (open-network-stream): Use the
20577 :end-of-capability command thoughout.
20579 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
20581 * net/network-stream.el (open-network-stream): Add the
20582 :end-of-capability command parameter, used by pop3.el.
20584 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
20586 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
20588 * fringe.el (fringe-query-style): Remove redundant text " (type ?
20589 for list)" (bug#6475).
20591 * files.el (file-expand-wildcards): Ignore non-readable
20592 sub-directories while trying to find matches instead of signaling
20593 an error (bug#6297).
20595 * man.el (Man-reference-regexp): Allow matching possible
20596 word-wrapped references (bug#6289).
20598 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
20599 for consistency with the other vc buffers (bug#6197).
20600 (vc-checkin): Ditto.
20602 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
20604 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
20606 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
20608 * custom.el (defcustom): Clarify that :set is only used in the
20609 Customize user interface (bug#6089).
20611 * progmodes/flymake.el (flymake-mode): If the buffer isn't
20612 associated with a file, refuse to run instead of erroring out
20615 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
20616 the doc string, since it appears that using `fill-column' always
20617 controls the width (bug#7845).
20619 * simple.el (shell-command-on-region): Say where the error output
20620 went if `shell-command-default-error-buffer' is set (bug#6857).
20622 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
20624 * allout.el (allout-yank-processing): Adjust cursor position for
20625 backwards-deleted space.
20627 (allout-rebullet-heading): Register changes with
20628 allout-exposure-changed-hook, so the modified topic is properly
20631 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
20633 * minibuffer.el (completion-in-region): Document PREDICATE
20636 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
20637 of keyword/argument pairs (bug#6904).
20639 * replace.el (multi-occur):
20640 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
20642 2011-07-02 Drew Adams <drew.adams@oracle.com>
20644 * dired.el (dired-mark-if): Make the message about whether it's
20645 marking or unmarking clearer (bug#8523).
20647 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
20649 * disp-table.el (display-table-print-array): New function.
20650 (describe-display-table): Use it to print the vectors more pretty
20653 2011-07-02 Martin Rudalics <rudalics@gmx.at>
20655 * window.el (window-state-get-1): Don't assign clone numbers.
20656 Add clone-of item to list of window parameters.
20657 (window-state-put-2): Don't process clone numbers.
20658 (display-buffer-alist): Fix doc-string.
20660 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
20662 * subr.el (remq): Don't allocate if it's not needed.
20663 (keymap--menu-item-binding, keymap--menu-item-with-binding)
20664 (keymap--merge-bindings): New functions.
20665 (keymap-canonicalize): Use them to refine the canonicalization.
20666 * minibuffer.el (minibuffer-local-completion-map)
20667 (minibuffer-local-must-match-map): Move initialization from C.
20668 (minibuffer-local-filename-completion-map): Move initialization from C;
20669 don't inherit from anything here.
20670 (minibuffer-local-filename-must-match-map): Make obsolete.
20671 (completing-read-default): Use make-composed-keymap to combine
20672 minibuffer-local-filename-completion-map with either
20673 minibuffer-local-must-match-map or
20674 minibuffer-local-filename-completion-map.
20676 2011-07-01 Glenn Morris <rgm@gnu.org>
20678 * type-break.el (type-break-time-sum): Use dolist.
20680 * textmodes/flyspell.el (flyspell-word-search-backward):
20681 Replace CL function.
20683 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
20685 * mouse.el (mouse--strip-first-event): New function.
20686 (function-key-map): Use it to map fringe clicks to normal clicks
20689 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
20690 (vc-bzr-revision-completion-table): Add support for annotate and date.
20692 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
20693 inherit from parent.
20695 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
20697 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
20698 (dired-show-file-type): Doc fixup (bug#8818).
20700 * dired.el (dired-mode): Fix up the doc string as suggested by
20701 Drew Adams (bug#8817).
20703 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
20704 cookie, since the manual says that it should be possible to add
20705 this function to `find-file-hook' (bug#8709).
20707 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
20709 * progmodes/cfengine.el: Moved all cfengine3.el functionality
20710 here. Noted Ted Zlatanov as the maintainer.
20711 (cfengine-common-settings, cfengine-common-syntax): New functions
20712 to set up common things between `cfengine-mode' and
20714 (cfengine3-mode): New mode.
20715 (cfengine3-defuns cfengine3-defuns-regex
20716 (cfengine3-class-selector-regex cfengine3-category-regex)
20717 (cfengine3-vartypes cfengine3-font-lock-keywords)
20718 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
20719 (cfengine3-indent-line): Add from cfengine3.el.
20721 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
20723 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
20725 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
20727 2011-07-01 Martin Rudalics <rudalics@gmx.at>
20729 * window.el (same-window-buffer-names, same-window-regexps)
20730 (same-window-p, special-display-frame-alist)
20731 (special-display-popup-frame, special-display-function)
20732 (special-display-buffer-names, special-display-regexps)
20733 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
20734 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
20735 (split-window-preferred-function, split-height-threshold)
20736 (split-width-threshold, even-window-heights)
20737 (display-buffer-mark-dedicated, window-splittable-p)
20738 (split-window-sensibly, window-safely-shrinkable-p):
20740 (display-buffer): Don't spread args with function specifier
20741 because special-display-popup-frame won't like it.
20743 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
20745 Time-stamp simplifications and fixes.
20746 These improve accuracy slightly, and future-proof the code
20747 against some potential changes to current-time format.
20749 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
20750 by using time-since and float-time.
20752 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
20753 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
20754 + NNN microseconds".
20756 * type-break.el (type-break-time-sum): Rewrite using time-add.
20758 * play/hanoi.el (hanoi-current-time-float): Remove.
20759 All uses replaced by float-time.
20761 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
20762 This yields a more-accurate answer.
20763 (rng-time-to-float): Remove; no longer needed.
20765 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
20767 * calendar/timeclock.el (timeclock-seconds-to-time):
20768 Defalias to seconds-to-time, since they're the same thing.
20770 * emacs-lisp/elp.el (elp-elapsed-time):
20771 * emacs-lisp/benchmark.el (benchmark-elapse):
20772 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
20774 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
20776 * window.el (bury-buffer): Don't iconify the only frame.
20777 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
20778 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
20780 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
20782 * eshell/em-smart.el (eshell-smart-display-navigate-list):
20783 Add mouse-yank-primary.
20785 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
20787 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
20789 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
20791 * emacs-lisp/find-func.el (find-library--load-name): New fun.
20792 (find-library-name): Use it to find relative load names when provided
20793 absolute file name (bug#8803).
20795 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
20797 * textmodes/flyspell.el (flyspell-word): Consider words that
20798 differ only in case as potential doublons (bug#5687).
20800 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
20801 Remove two rather uninteresting debugging-like messages to make
20802 debbugs.el more silent.
20804 * comint.el (comint-password-prompt-regexp): Accept "Response" as
20805 a password-like phrase.
20807 2011-06-30 Masatake YAMATO <yamato@redhat.com>
20809 * progmodes/cc-guess.el: New file.
20811 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
20813 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
20814 derived from `c-basic-common-init'.
20816 * progmodes/cc-mode.el (top-level): Require cc-guess.
20817 (c-basic-common-init): Use `cc-choose-style-for-mode'.
20819 2011-06-30 Lawrence Mitchell <wence@gmx.li>
20821 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
20823 2011-06-30 Alan Mackenzie <acm@muc.de>
20825 * progmodes/cc-engine.el (c-guess-continued-construct):
20826 Correct the handling of template-args-cont, particularly for when font
20827 lock is disabled. Name this case as "CASE G".
20829 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
20831 * allout.el (allout-yank-processing): Fix injection of extra space
20832 between bullet and non-whitespace character in first topic when
20833 pasting, ensuring that the actual spacing in the pasted topic
20834 following the bullet char is preserved. This extra space was
20835 causing pasted encrypted topics to get a decrypted status even
20836 when the content was actually still encrypted. Now the decryption
20837 status from before the paste is preserved.
20839 (allout-flag-region): Set all allout overlays so they evaporate
20840 when reduced to zero length (evanescent), to prevent overlay
20843 2011-06-30 Glenn Morris <rgm@gnu.org>
20845 * w32-fns.el (w32-charset-info-alist): Declare.
20847 * find-dired.el (find-grep-options): Simplify.
20849 * term/ns-win.el (ns-set-resource): Declare.
20851 * ses.el (row, col): Declare dynamic variables honestly.
20853 * textmodes/reftex-parse.el (index-tags): Declare.
20855 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
20857 * cus-edit.el (customize-push-and-save): New function.
20859 * files.el (hack-local-variables-confirm): Use it.
20861 * custom.el (load-theme): New arg NO-CONFIRM.
20862 Use customize-push-and-save (Bug#8720).
20863 (custom-enabled-themes): Doc fix.
20865 * cus-theme.el (customize-create-theme)
20866 (custom-theme-merge-theme): Callers to load-theme changed.
20868 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
20870 * thingatpt.el (thing-at-point-short-url-regexp): Require that
20871 short URLs have at least one dot in them (bug #7614).
20873 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
20874 nil, because using a pty is apparently too slow (bug #895).
20876 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
20878 * mail/sendmail.el (sendmail-query-once): New function.
20879 (sendmail-query-once-function): New variable.
20881 2011-06-29 Glenn Morris <rgm@gnu.org>
20883 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
20885 * ses.el (top-level): Require cl when compiling.
20886 (ses-set-localvars): Fix error statement.
20887 Call it at compile time to silence a storm of warnings.
20889 2011-06-29 Martin Rudalics <rudalics@gmx.at>
20891 * window.el (normalize-live-buffer): Rename to
20892 window-normalize-buffer.
20893 (normalize-live-frame): Rename to window-normalize-frame.
20894 (normalize-any-window): Rename to window-normalize-any-window.
20895 (normalize-live-window): Rename to window-normalize-live-window.
20896 (make-window-atom): Rename to window-make-atom.
20897 (window-resize-reset): Rename to window--resize-reset.
20898 (window-resize-reset-1): Rename to window--resize-reset-1.
20899 (resize-mini-window): Rename to window--resize-mini-window.
20900 (resize-subwindows-skip-p): Rename to
20901 window--resize-subwindows-skip-p.
20902 (resize-subwindows-normal): Rename to
20903 window--resize-subwindows-normal.
20904 (resize-subwindows): Rename to window--resize-subwindows.
20905 (resize-other-windows): Rename to window--resize-siblings.
20906 (resize-this-window): Rename to window--resize-this-window.
20907 (resize-root-window): Rename to window--resize-root-window.
20908 (resize-root-window-vertically): Rename to
20909 window--resize-root-window-vertically.
20910 (normalize-buffer-to-display): Rename to
20911 window-normalize-buffer-to-display.
20912 (normalize-buffer-to-switch-to): Rename to
20913 window-normalize-buffer-to-switch-to.
20914 Correspondingly update all callers of the functions listed
20916 (display-buffer-alist, display-buffer-normalize-arguments)
20917 (display-buffer-normalize-options, display-buffer)
20918 (display-buffer-alist-set): Use "function" instead of
20921 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
20923 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
20924 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
20925 debbugs.gnu.org. Mention acknowledgment email.
20927 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
20929 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
20930 buffer multibyteness, since it shouldn't matter.
20932 2011-06-28 Martin Rudalics <rudalics@gmx.at>
20934 * window.el (display-buffer-in-side-window): Handle dedicated
20935 windows as in display-buffer-reuse-window.
20936 (display-buffer-normalize-alist): Use value of override
20938 (display-buffer-normalize-specifiers): Use value of
20939 other-window-means-other-frame specifier.
20940 (display-buffer-alist): Rewrite some texts in widgets.
20941 (display-buffer): Spread arguments when calling function
20942 specified by fun-with-args.
20944 2011-06-28 Deniz Dogan <deniz@dogan.se>
20946 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
20949 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
20950 selectors (Bug#5732).
20951 (css-proprietary-nmstart-re): Use `regexp-opt'.
20953 2011-06-27 Jari Aalto <jari.aalto@cante.net>
20955 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
20956 (eshell-ls-date-format): New defcustom.
20957 (eshell-ls-file): Use it.
20959 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
20961 * help-fns.el (describe-variable): Fix message for terminal-local vars.
20963 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
20965 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
20966 (ange-ftp-make-tmp-name): New arg.
20967 (ange-ftp-file-local-copy): Use it.
20969 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
20971 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
20972 no-conversion (Bug#8870).
20974 2011-06-27 Martin Rudalics <rudalics@gmx.at>
20976 * window.el (window-right, window-left, window-child)
20977 (window-child-count, window-last-child)
20978 (window-iso-combination-p, walk-window-tree-1)
20979 (window-atom-check-1, window-tree-1, delete-window)
20980 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
20981 new naming conventions - window-vchild, window-hchild,
20982 window-next and window-prev are now called window-top-child,
20983 window-left-child, window-next-sibling and window-prev-sibling
20985 (resize-window-reset): Rename to window-resize-reset.
20986 (resize-window-reset-1): Rename to window-resize-reset-1.
20987 (resize-window): Rename to window-resize.
20988 (window-min-height, window-min-width)
20989 (resize-mini-window, resize-this-window, resize-root-window)
20990 (resize-root-window-vertically, adjust-window-trailing-edge)
20991 (enlarge-window, shrink-window, maximize-window)
20992 (minimize-window, delete-window, quit-restore-window)
20993 (split-window, balance-windows, balance-windows-area-adjust)
20994 (balance-windows-area, window-state-put-2)
20995 (display-buffer-even-window-sizes, display-buffer-set-height)
20996 (display-buffer-set-width, set-window-text-height)
20997 (fit-window-to-buffer): Rename all "resize-window" prefixed
20998 calls to use the "window-resize" prefix convention.
20999 (display-buffer-alist): Fix symbol for label specifier.
21000 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
21001 corresponding specifier.
21002 Reported by Juanma Barranquero <lekktu@gmail.com>.
21004 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
21006 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
21008 (ses-call-printer): Does not pass an empty string to formatter when the
21009 cell is empty to keep from barking printer Calc math-format-value.
21011 2011-06-27 Richard Stallman <rms@gnu.org>
21013 * battery.el (battery-mode-line-limit): New variable.
21014 (battery-update): Handle it.
21016 * mail/rmailmm.el (rmail-mime-process-multipart):
21017 Handle truncated messages.
21019 2011-06-27 Glenn Morris <rgm@gnu.org>
21021 * progmodes/flymake.el (flymake-err-line-patterns):
21022 Allow for column numbers in the ant/javac pattern. (Bug#8866)
21024 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
21026 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
21027 (ses--clean-!, ses--clean-_): New functions.
21028 (ses-range): Add configurability of readout order, and conversion
21031 * ses.el (ses-repair-cell-reference-all): New function.
21032 (ses-cell-symbol): Set macro as safe, so that it can be used in
21035 * ses.el: Update cycle detection algorithm.
21036 (ses-localvars): Add ses--Dijkstra-attempt-nb and
21037 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
21038 (ses-set-localvars): New function.
21039 (ses-make-cell): Add property-list as a cell element.
21040 (ses-cell-property-get-fun, ses-cell-property-get)
21041 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
21042 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
21044 (ses-cell-property-set, ses-cell-property-pop)
21045 (ses-cell-property-get-handle): New macro.
21046 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
21047 New aliases, used for code readability.
21048 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
21050 (ses-self-reference-early-detection): New defcustom.
21051 (ses-formula-references): Robustify against self-referring cells.
21052 (ses-mode): Use ses-set-localvars.
21053 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
21054 before lauching the update processing.
21055 (ses-initialize-Dijkstra-attempt): New function.
21056 (ses-recalculate-cell): Update for cycle detection based on
21057 Dijkstra algorithm.
21059 * ses.el: Fix commenting and indenting convention.
21061 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
21063 * bs.el (bs-cycle-next): Complete last change.
21065 2011-06-27 Drew Adams <drew.adams@oracle.com>
21067 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
21069 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
21071 * net/network-stream.el (network-stream-open-starttls):
21072 Don't re-get capabilities unless we've reestablished connection.
21073 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
21075 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
21076 to binary to possibly avoid line encoding issues on Windows (among
21079 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
21081 * net/network-stream.el (open-network-stream): Return an :error
21082 saying what the problem was, if possible.
21084 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
21087 * net/network-stream.el (network-stream-open-starttls): If we
21088 wanted to use STARTTLS, and the server offered it, but we weren't
21089 able to because we had no STARTTLS support, then close the connection.
21090 (open-network-stream): Return an :error element, if present.
21092 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
21094 * hl-line.el (hl-line-sticky-flag): Doc fix.
21095 (global-hl-line-sticky-flag): New option (Bug#8323).
21096 (global-hl-line-highlight): Obey it.
21098 * vc/vc.el (vc-revert-show-diff): Default to t.
21100 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
21102 * allout-widgets.el (allout-widgets-post-command-business):
21103 Stop decorating intermediate isearch matches. They're not being
21104 undecorated when an isearch is continued past, and isearch
21105 automatically collapses them. This leads to "widget leaks", where
21106 decorated items accumulate in collapsed areas. Lines with lots of
21107 hidden widgets can slow down cursor travel, substantially.
21108 Too much complicated machinery would be needed to ensure undecoration,
21109 so we're doing without this nicety.
21111 (allout-widgets-tally-string): Don't try to do a hash-table-count
21112 of allout-widgets-tally when it's nil. This eliminates spurious "Error
21113 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
21114 *Messages* when allout-widgets-maintain-tally is t.
21116 2011-06-26 Martin Rudalics <rudalics@gmx.at>
21118 * window.el (display-buffer-normalize-argument): Rename to
21119 display-buffer-normalize-arguments. Handle special meaning of
21120 LABEL argument. Respect special-display-function when popping up
21121 a new frame. Fix code searching for a window showing the buffer
21123 (display-buffer-normalize-specifiers):
21124 Call display-buffer-normalize-arguments.
21125 (display-buffer-in-window): Don't undedicate the window if its
21126 buffer remains the same.
21127 Reported by Drew Adams <drew.adams@oracle.com>.
21128 (display-buffer-alist): Add choice for same-window macro
21130 (display-buffer): Mention special meaning of LABEL argument in
21131 doc-string. Fix quoting. Don't pop up a new frame even as
21134 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
21136 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
21137 avoid deleting the current window in some cases (bug#8911).
21139 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
21141 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
21144 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
21146 * net/network-stream.el (network-stream-open-starttls):
21147 Use built-in TLS support if `gnutls-available-p' is true.
21148 (network-stream-open-tls): Ditto.
21150 2011-06-26 Leo Liu <sdl.web@gmail.com>
21152 * register.el (registerv): New struct.
21153 (registerv-make): New function.
21154 (jump-to-register, describe-register-1, insert-register):
21155 Support the jump-func, print-func and insert-func slot of a registerv
21158 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
21160 * vc/vc.el (vc-revert-show-diff): New defcustom.
21161 (vc-diff-internal): New arg specifying diff buffer.
21162 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
21163 reuse an existing *vc-diff* buffer (Bug#8927).
21165 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
21167 2011-06-26 Glenn Morris <rgm@gnu.org>
21169 * progmodes/f90.el (f90-critical-indent): New option.
21170 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
21171 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
21172 (f90-mode): Doc fix.
21173 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
21174 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
21175 (f90-beginning-of-block, f90-next-block, f90-indent-region)
21176 (f90-match-end): Handle block, critical.
21178 2011-06-25 Glenn Morris <rgm@gnu.org>
21180 * calendar/diary-lib.el (diary-included-files): Doc fix.
21181 (diary-include-files): New function, extracted from
21182 diary-include-other-diary-files and diary-mark-included-diary-files.
21183 (diary-include-other-diary-files, diary-mark-included-diary-files):
21184 Just call diary-include-files.
21185 (diary-mark-entries): Reset diary-included-files on first call.
21187 * calendar/diary-lib.el (diary-mark-entries)
21188 (diary-mark-included-diary-files):
21189 Visit included diary-files in temp buffers.
21191 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
21192 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
21193 (f90-start-block-re, f90-imenu-generic-expression)
21194 (f90-looking-at-program-block-start, f90-no-block-limit):
21195 Add support for submodules.
21197 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
21198 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
21200 2011-06-25 Eli Zaretskii <eliz@gnu.org>
21202 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
21203 buffer-file-type before setting its value, to avoid disastrous
21204 global effects on decoding files for DOS/Windows systems. (Bug#8780)
21206 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
21208 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
21210 * ses.el (ses-unload-function):
21211 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
21213 * proced.el (proced-unload-function):
21214 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
21216 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
21218 * server.el (server-create-window-system-frame): Add parameters arg.
21219 (server-process-filter): Doc fix. Handle frame-parameters.
21221 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
21223 Fix bug#8730, bug#8781.
21225 * loadhist.el (unload--set-major-mode): New function.
21226 (unload-feature): Use it.
21228 * progmodes/python.el (python-after-info-look): Add autoload cookie.
21229 (python-unload-function): New function.
21231 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
21233 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
21235 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
21237 * net/browse-url.el (browse-url-firefox-program): Add icecat to
21238 the candidates list.
21240 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
21242 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
21244 2011-06-23 Richard Stallman <rms@gnu.org>
21246 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
21247 (rmail-variables): Set next-error-move-function.
21248 (rmail-what-message): Take argument POS.
21249 (rmail-next-error-move): New function.
21251 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
21253 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
21254 messages for adjacent non-terminals.
21256 2011-06-23 Richard Stallman <rms@gnu.org>
21258 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
21259 (rmail-show-message-1): Preserve buffer modified flag.
21260 (rmail-start-mail): Don't specify use of rmail-mail-return;
21261 that's done by mail-bury now.
21262 (rmail-mail-return): Handle arg NEWBUF.
21264 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
21266 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
21269 2011-06-23 Martin Rudalics <rudalics@gmx.at>
21271 * window.el (get-lru-window, get-mru-window)
21272 (get-largest-window): Never return a minibuffer window.
21273 (display-buffer-pop-up-window): Fix a bug that could lead to
21274 reusing the minibuffer window.
21275 (display-buffer): Pass original specifier argument to
21276 display-buffer-function instead of the normalized one.
21277 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
21279 2011-06-22 Leo Liu <sdl.web@gmail.com>
21281 * minibuffer.el (completing-read-function)
21282 (completing-read-default): Move from minibuf.c.
21284 2011-06-22 Richard Stallman <rms@gnu.org>
21286 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
21287 to Rmail even if not started by a special Rmail command.
21289 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
21290 Copy the buffer currently showing just one message.
21292 2011-06-22 Roland Winkler <winkler@gnu.org>
21294 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
21295 (bibtex-clean-entry): First delete the old key so that a
21296 customized algorithm for generating the new key does not get
21297 confused by the old key.
21298 (bibtex-url): Obey regexp of first step.
21299 (bibtex-search-entries): Do not use add-to-list with local
21302 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
21304 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
21305 stored a user name, then query for the password first, instead of
21306 waiting for SMTP to give an error message and the trying again.
21308 2011-06-22 Lawrence Mitchell <wence@gmx.li>
21310 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
21311 BUFFER in call-process.
21313 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
21315 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
21317 (smtpmail-try-auth-methods): Require user name and password from
21320 2011-06-22 Martin Rudalics <rudalics@gmx.at>
21322 * window.el (display-buffer-default-specifiers)
21323 (display-buffer-alist): Remove entries for pop-up-frame-alist.
21324 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
21325 (split-window): Normalize SIDE argument (Bug#8916).
21327 * frame.el (pop-up-frame-alist, pop-up-frame-function)
21328 (special-display-frame-alist, special-display-popup-frame):
21329 Remove duplicate declarations. These are now in window.el.
21331 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
21333 * mail/smtpmail.el (smtpmail-via-smtp):
21334 Set :use-starttls-if-possible so that we always use STARTTLS if the
21335 server supports it. SMTP servers that support STARTTLS commonly
21338 * net/network-stream.el (network-stream-open-starttls): Support
21339 upgrading to STARTTLS always, even if we don't have built-in support.
21340 (open-network-stream): Add the :always-query-capabilities keyword.
21342 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
21343 upgrades with `open-network-stream', and rely solely on
21344 auth-source for all credentials. Big changes throughout the file,
21346 (smtpmail-auth-credentials): Remove.
21347 (smtpmail-starttls-credentials): Remove.
21348 (smtpmail-via-smtp): Check for servers saying they want AUTH after
21351 * net/network-stream.el (network-stream-open-starttls):
21352 Provide support for client certificates both for external and built-in
21354 (auth-source): Require.
21355 (open-network-stream): Document the :client-certificate keyword.
21356 (network-stream-certificate): Change cert-cert to cert and
21359 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
21361 * net/tramp-cache.el (top): Don't load the persistency file when
21362 "emacs -Q" has been called.
21364 2011-06-21 Tim Harper <timcharper@gmail.com>
21366 * term/ns-win.el (ns-initialize-window-system):
21367 Set application-specific `ApplePressAndHoldEnabled' system
21368 resource to NO as it is not yet supported by the NS port.
21370 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
21372 * misc.el (list-dynamic-libraries--refresh): Compute header here...
21373 (list-dynamic-libraries): ...not here.
21375 2011-06-21 Leo Liu <sdl.web@gmail.com>
21377 * subr.el (sha1): Implement sha1 using secure-hash.
21379 2011-06-21 Martin Rudalics <rudalics@gmx.at>
21381 * window.el (display-buffer-alist): In default value do not
21382 enforce searching a window on any but the selected frame.
21383 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
21384 (display-buffer-select-window): Remove function.
21385 (display-buffer-in-window): When a window on another frame gets
21386 reused, do not select it any more but just raise its frame if
21387 necessary (Bug#8851) and (Bug#8856).
21388 (display-buffer-normalize-options): Handle pop-up-frames related
21389 options more faithfully.
21390 (pop-to-buffer): Don't rely on `display-buffer' selecting the
21391 window if it is on another frame.
21392 (display-buffer-alist, display-buffer-default-specifiers):
21393 Don't make new frame unsplittable by default.
21394 (display-buffer-normalize-argument): Fix doc-string typo and use
21395 'same-frame-other-window instead of 'other-window when associating
21396 with display-buffer-macro-specifiers.
21398 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
21400 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
21402 (5x5-mode-map, 5x5-mode-menu): Bind them.
21403 (5x5-draw-grid): Tweak the solver's rendering.
21405 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
21407 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
21408 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
21410 2011-06-21 Drew Adams <drew.adams@oracle.com>
21412 * menu-bar.el: Use function variable instead of switch-to-buffer.
21413 (menu-bar-select-buffer-function): New variable.
21414 (menu-bar-update-buffers): Use it (bug#8876).
21416 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
21418 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
21421 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
21423 * x-dnd.el (x-dnd-version-from-flags)
21424 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
21425 and long as number (Bug#8899).
21426 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
21428 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
21430 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
21431 (completion-try-completion, completion-all-completions): Compute the
21432 metadata argument if it's missing; make it optional (bug#8795).
21434 * wid-edit.el: Use lex-bind and move towards completion-at-point.
21435 (widget-complete): Use new :completion-function property.
21436 (widget-completions-at-point): New function.
21437 (default): Use :completion-function instead of :complete.
21438 (widget-default-completions): Rename from widget-default-complete;
21440 (widget-string-complete, widget-file-complete, widget-color-complete):
21442 (file, symbol, function, variable, coding-system, color):
21443 * international/mule-cmds.el (default-input-method, charset)
21444 (language-info-custom-alist):
21445 * cus-edit.el (face): Use new property :completions.
21447 * progmodes/pascal.el (pascal-completions-at-point): New function.
21448 (pascal-mode): Use it.
21449 (pascal-mode-map): Use completion-at-point.
21450 (pascal-toggle-completions): Make obsolete.
21451 (pascal-complete-word, pascal-show-completions):
21452 * progmodes/octave-mod.el (octave-complete-symbol):
21453 Redefine as obsolete alias.
21454 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
21455 Signal absence of completion info for old Octave,
21456 (inferior-octave-complete): Redefine as obsolete alias.
21457 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
21458 (meta-completions-at-point): Rename from meta-complete-symbol and
21459 adapt it for use on completion-at-point-functions.
21460 (meta-common-mode): Use it.
21461 (meta-looking-at-backward, meta-match-buffer): Remove.
21462 (meta-complete-symbol): Redefine as obsolete alias.
21463 (meta-common-mode-map): Use completion-at-point.
21464 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
21465 (makefile-mode-map): Use completion-at-point.
21466 (makefile-completions-at-point): Rename from makefile-complete and
21467 adapt it for use on completion-at-point-functions.
21468 (makefile-mode): Use it.
21469 (makefile-complete): Redefine as obsolete alias.
21471 2011-06-20 Deniz Dogan <deniz@dogan.se>
21473 * net/rcirc.el: Delete trailing whitespaces once and for all.
21475 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
21477 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
21479 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
21481 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
21483 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
21485 2011-06-19 Martin Rudalics <rudalics@gmx.at>
21487 * window.el (display-buffer-other-window-means-other-frame):
21488 Call display-buffer-normalize-alist.
21489 (display-buffer-normalize-specifiers-1): Rename to
21490 display-buffer-normalize-argument. New argument other-frame.
21492 (display-buffer-normalize-specifiers-2): Rename to
21493 display-buffer-normalize-options.
21494 (display-buffer-normalize-alist-1): New function.
21495 (display-buffer-normalize-specifiers-3): Rename to
21496 display-buffer-normalize-alist.
21497 Call display-buffer-normalize-alist-1.
21498 (display-buffer-normalize-options-inhibit): New variable.
21499 (display-buffer-normalize-specifiers): Rewrite calling
21500 display-buffer-normalize-alist,
21501 display-buffer-normalize-argument, and
21502 display-buffer-normalize-options. Don't call the latter if
21503 display-buffer-normalize-options-inhibit is non-nil.
21504 (frame-auto-delete): New option.
21505 (window-deletable-p): Use frame-auto-delete.
21506 (window-list-no-nils, window-state-ignored-parameters)
21507 (window-state-get-1, window-state-get, window-state-put-list)
21508 (window-state-put-1, window-state-put-2, window-state-put):
21510 (display-buffer-normalize-options): Move special-display-p group
21511 after pop-up-frame group (Bug#8851) and (Bug#8856).
21513 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
21515 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
21517 (rx-submatch-n): New function.
21520 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
21523 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
21525 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
21527 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
21528 anytime existing face settings are present (Bug#8889).
21530 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
21531 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
21532 Remove unused argument.
21534 2011-06-18 Martin Rudalics <rudalics@gmx.at>
21536 * window.el (display-buffer-default-specifiers):
21537 Remove pop-up-frame. Add pop-up-window-min-height,
21538 pop-up-window-min-width, and another reuse-window specifier
21539 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
21540 (display-buffer-normalize-specifiers-2):
21541 Handle split-height-threshold and split-width-threshold also when
21542 pop-up-windows is unset. Add a reuse-window specifier for the
21543 case popping up a new window fails.
21544 (special-display-popup-frame): Remove double quoting.
21545 (display-buffer-normalize-specifiers-1): Fix thinko.
21547 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
21549 * shell.el (shell-completion-vars): Set pcomplete-termination-string
21550 according to comint-completion-addsuffix.
21552 * pcomplete.el: Convert to lexical binding and fix bug#8819.
21553 (pcomplete-suffix-list): Mark as obsolete.
21554 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
21555 pcomplete-seen in the closure.
21556 (pcomplete-comint-setup): Setup completion-at-point as well.
21557 (pcomplete--entries): New function.
21558 (pcomplete--env-regexp): New var.
21559 (pcomplete-entries): Rewrite to work with partial-completion and
21560 without relying on pcomplete-suffix-list.
21561 (pcomplete-pare-list): Remove, unused.
21563 2011-06-17 Martin Rudalics <rudalics@gmx.at>
21565 * window.el (display-buffer-alist): Set pop-up-window-min-height
21566 and pop-up-window-min-width in default value. Reported by
21567 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
21568 other-window-means-other-frame.
21569 (display-buffer-macro-specifiers): Comment out entry for
21570 other-window specifier.
21571 (display-buffer-other-window-means-other-frame): New function.
21572 (display-buffer-normalize-specifiers-1): New arguments
21573 buffer-name and label. Treat other-window case specially.
21574 (display-buffer-normalize-specifiers-2): Treat other-window case
21576 (display-buffer-normalize-specifiers-3): New function.
21577 (display-buffer-normalize-specifiers):
21578 Call display-buffer-normalize-specifiers-3.
21580 2011-06-17 Martin Rudalics <rudalics@gmx.at>
21582 * window.el (same-window-p): Fix two typos introduced when
21583 adding with-no-warnings.
21584 (display-buffer-normalize-specifiers-1): Don't check
21585 pop-up-frames for 'unset initialization.
21586 (display-buffer-normalize-specifiers-2): Major rewrite using
21587 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
21588 (pop-up-frames, display-buffer-reuse-frames)
21589 (display-buffer-mark-dedicated): Don't initialize to 'unset.
21590 Suggested by David Engster <deng@randomsample.de>.
21591 (even-window-heights): Initialize to 'unset.
21592 (display-buffer-alist-set): Handle new 'unset initializations.
21593 (display-buffer-macro-specifiers): Don't pop up a new frame in the
21596 2011-06-16 Martin Rudalics <rudalics@gmx.at>
21598 * window.el (display-buffer-normalize-specifiers-1):
21599 Respect current value of pop-up-frames for most reasonable values of
21600 second argument of display-buffer (Bug#8865).
21601 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
21602 (switch-to-buffer-other-window-same-frame)
21603 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
21605 (display-buffer): Don't check noninteractive when calling
21606 display-buffer-pop-up-frame.
21607 (display-buffer-pop-up-frame): Never pop up a frame in
21608 noninteractive mode (Bug#8857).
21609 (enlarge-window, shrink-window): Don't report an error when the
21610 window can't be resized as requested (Bug#8862).
21612 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
21614 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
21616 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
21618 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
21620 2011-06-15 Alan Mackenzie <acm@muc.de>
21622 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
21623 for declarators, disable knr checking to speed up for normal files.
21624 2: Refactor, replacing a sequence of nested if forms by a cond form.
21626 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
21628 * net/network-stream.el (open-network-stream): Add the keyword
21629 :always-query-capabilities for the case where you want to force a
21630 `plain' network connection, but the protocol still requires the
21631 capabilitiy command (i.e., SMTP and EHLO).
21633 * subr.el (process-live-p): Rename from `process-alive-p' for
21634 consistency with other `-live-p' functions.
21636 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
21638 * window.el (same-window-buffer-names, same-window-regexps)
21639 (special-display-frame-alist, special-display-popup-frame)
21640 (special-display-function, special-display-buffer-names)
21641 (special-display-regexps, pop-up-frame-alist)
21642 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
21643 (pop-up-windows, split-window-preferred-function)
21644 (split-height-threshold, split-width-threshold, even-window-heights)
21645 (display-buffer-mark-dedicated): Don't encourage the use of
21646 display-buffer-alist from Elisp code.
21648 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
21650 * progmodes/python.el (python-mode): Derive from prog-mode.
21651 * progmodes/ps-mode.el (ps-mode):
21652 * progmodes/mixal-mode.el (mixal-mode):
21653 * progmodes/cfengine.el (cfengine-mode):
21654 * progmodes/ld-script.el (ld-script-mode): Likewise.
21656 2011-06-15 Martin Rudalics <rudalics@gmx.at>
21658 * window.el (display-buffer-alist): Trim default value to avoid
21659 popping up a new frame (Bug#8857) or reusing an arbitrary window
21661 (display-buffer): Do not fall back on popping up a new frame in
21662 batch mode (Bug#8857).
21664 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
21666 * cus-theme.el (describe-theme-1): Use custom-theme-p.
21667 (custom-theme-summary): New function.
21668 (customize-themes): Use it.
21670 2011-06-13 Glenn Morris <rgm@gnu.org>
21672 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
21674 2011-06-13 Martin Rudalics <rudalics@gmx.at>
21676 * help.el (help-window): Remove variable.
21677 (help-window-point-marker, temp-buffer-max-height)
21678 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
21679 (help-print-return-message): Don't set help-window.
21680 (resize-temp-buffer-window): Rewrite cod eand doc-string.
21681 (help-window-setup-finish): Remove.
21682 (help-window-display-message, help-window-setup)
21683 (with-help-window): Major rewrite based on new
21684 display-buffer-window variable.
21686 * help-mode.el (help-mode-finish): Remove help-window related
21689 * view.el (view-exits-all-viewing-windows): Remove reference to
21690 view-return-to-alist in doc-string.
21691 (view-return-to-alist): Make obsolete.
21692 (view-buffer): Call pop-to-buffer-same-window and remove
21694 (view-buffer-other-window): Call pop-to-buffer-other-window and
21695 simplify code. Ignore second argument.
21696 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
21697 simplify code. Ignore second argument.
21698 (view-return-to-alist-update): Make obsolete.
21699 (view-mode-enter): Rename second argument to QUIT-RESTORE.
21700 Rewrite using quit-restore window parameters.
21701 (view-mode-exit): Rename second argument to EXIT-ONLY.
21702 Rewrite using quit-restore-window.
21703 (View-exit, View-exit-and-edit, View-leave, View-quit)
21704 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
21705 appropriate arguments.
21706 (view-end-message): Use quit-restore window parameter.
21708 * window.el (display-buffer-function): Rewrite doc-string.
21709 (display-buffer-window, display-buffer-alist): New variables.
21710 (display-buffer-split-specifiers)
21711 (display-buffer-side-specifiers)
21712 (display-buffer-macro-specifiers): New constants.
21713 (display-buffer-even-window-sizes, display-buffer-set-height)
21714 (display-buffer-set-width, display-buffer-select-window)
21715 (display-buffer-in-window, display-buffer-reuse-window)
21716 (display-buffer-split-window-1, display-buffer-split-window)
21717 (display-buffer-split-atom-window, display-buffer-pop-up-window)
21718 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
21719 (display-buffer-in-side-window, normalize-buffer-to-display)
21720 (display-buffer-normalize-specifiers-1)
21721 (display-buffer-normalize-specifiers-2)
21722 (display-buffer-normalize-specifiers, display-buffer-frame):
21724 (display-buffer): Major rewrite.
21725 (display-buffer-other-window, display-buffer-other-frame)
21726 (pop-to-buffer, switch-to-buffer-other-window)
21727 (switch-to-buffer-other-frame): Rewrite.
21728 (display-buffer-same-window, display-buffer-same-frame)
21729 (display-buffer-same-frame-other-window)
21730 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
21731 (pop-to-buffer-other-window)
21732 (pop-to-buffer-same-frame-other-window)
21733 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
21734 (switch-to-buffer-other-window-same-frame): New functions.
21735 (same-window-p, special-display-p): Rewrite disabling warnings.
21737 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
21738 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
21740 (same-window-buffer-names, same-window-regexps)
21741 (special-display-frame-alist, special-display-popup-frame)
21742 (special-display-function, special-display-buffer-names)
21743 (special-display-regexps, pop-up-frame-alist)
21744 (pop-up-frame-function, split-window-preferred-function)
21745 (split-height-threshold, split-width-threshold)
21746 (even-window-heights): Make obsolete.
21748 2011-06-12 Glenn Morris <rgm@gnu.org>
21750 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
21751 Misc simplifications.
21753 2011-06-12 Martin Rudalics <rudalics@gmx.at>
21755 * window.el (window-safely-shrinkable-p): Restore function which
21756 was inadvertently removed in change from 2011-06-11. Declare as
21759 * calendar/calendar.el (calendar-generate-window):
21760 Use window-iso-combined-p instead of combination of one-window-p and
21761 window-safely-shrinkable-p.
21763 2011-06-12 Glenn Morris <rgm@gnu.org>
21765 * progmodes/fortran.el (fortran-mode-syntax-table):
21766 * progmodes/f90.el (f90-mode-syntax-table):
21767 Set % to punctuation. (Bug#8820)
21768 (f90-find-tag-default): Remove, no longer needed.
21770 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
21772 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
21774 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
21776 * image.el (image-animated-p): Return animation delay in seconds.
21777 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
21778 (image-animate-timeout): Remove DELAY argument. Don't assume
21779 every subimage has the same delay; get it from image-animated-p.
21780 (image-animate): Caller changed.
21782 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
21784 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
21785 to ignored backtrace functions.
21787 2011-06-11 Glenn Morris <rgm@gnu.org>
21789 * calendar/appt.el (appt-disp-window-function): Doc fix.
21790 (appt-check): Handle overlapping appointments. (Bug#8337)
21792 2011-06-11 Martin Rudalics <rudalics@gmx.at>
21794 * window.el (window-tree-1, window-tree): New functions, moving
21795 the latter to window.el.
21796 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
21797 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
21798 (bw-refresh-edges): Remove.
21799 (balance-windows-1, balance-windows-2): New functions.
21800 (balance-windows): Rewrite in terms of window tree functions,
21801 balance-windows-1 and balance-windows-2.
21802 (bw-adjust-window): Remove.
21803 (balance-windows-area-adjust): New function with functionality of
21804 bw-adjust-window but using resize-window.
21805 (set-window-text-height): Rewrite doc-string.
21806 Use normalize-live-window and resize-window.
21807 (enlarge-window-horizontally, shrink-window-horizontally):
21808 Rename argument to DELTA.
21809 (window-buffer-height): New function.
21810 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
21811 Rewrite using new window resize routines.
21812 (kill-buffer-and-window, mouse-autoselect-window-select):
21813 Use ignore-errors instead of condition-case.
21814 (quit-window): Call delete-frame instead of delete-windows-on
21815 for the only buffer on frame.
21817 2011-06-10 Martin Rudalics <rudalics@gmx.at>
21819 * loadup.el (top-level): Load window before files for the sake
21820 of replace-buffer-in-windows.
21822 * files.el (read-buffer-to-switch)
21823 (switch-to-buffer-other-window)
21824 (switch-to-buffer-other-frame, display-buffer-other-frame):
21827 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
21828 (previous-buffer): Move to window.el.
21830 * bindings.el (unbury-buffer): Move to window.el.
21832 * window.el (delete-other-windows-vertically): Move after
21833 definition of delete-other-windows.
21834 (other-window, delete-windows-on, replace-buffer-in-windows):
21835 Move here from window.c.
21836 (record-window-buffer, unrecord-window-buffer)
21837 (set-window-buffer-start-and-point, switch-to-prev-buffer)
21838 (switch-to-next-buffer): New functions.
21839 (get-next-valid-buffer, last-buffer, next-buffer): Move here
21840 from simple.el. Call switch-to-next-buffer.
21841 (previous-buffer): Move here from simple.el.
21842 Call switch-to-prev-buffer.
21843 (bury-buffer): Move here from buffer.c. Switch to previous
21844 buffer when window cannot be deleted.
21845 (unbury-buffer): Move here from bindings.el.
21846 (ctl-x-map): Move binding for other-window from window.c to
21848 (read-buffer-to-switch, switch-to-buffer-other-window)
21849 (switch-to-buffer-other-frame): Move here from files.el.
21850 (normalize-buffer-to-switch-to): New functions.
21851 (switch-to-buffer): Move here from buffer.c.
21852 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
21854 2011-06-10 Martin Rudalics <rudalics@gmx.at>
21856 * window.el (window-min-height, window-min-width): Move here
21857 from window.c. Add defcustoms and rewrite doc-strings.
21858 (resize-mini-window, resize-window): New functions.
21859 (adjust-window-trailing-edge, enlarge-window, shrink-window):
21860 Move here from window.c.
21861 (maximize-window, minimize-window): New functions.
21862 (delete-window, delete-other-windows, split-window): Move here
21864 (window-split-min-size): New function.
21865 (split-window-keep-point): Mention split-window-above-each-other
21866 instead of split-window-vertically.
21867 (split-window-above-each-other, split-window-vertically):
21868 Rename split-window-vertically to split-window-above-each-other
21869 and provide defalias for old definition.
21870 (split-window-side-by-side, split-window-horizontally):
21871 Rename split-window-horizontally to split-window-side-by-side
21872 and provide defalias for the old definition.
21873 (ctl-x-map): Move bindings for delete-window,
21874 delete-other-windows and enlarge-window here from window.c.
21875 Replace bindings for split-window-vertically and
21876 split-window-horizontally by bindings for
21877 split-window-above-each-other and split-window-side-by-side.
21879 * cus-start.el (all): Remove entries for window-min-height and
21880 window-min-width. Add entries for window-splits and
21883 2011-06-09 Glenn Morris <rgm@gnu.org>
21885 * calendar/appt.el (appt-mode-line): New function.
21886 (appt-check, appt-disp-window): Use it.
21888 * files.el (hack-one-local-variable-eval-safep):
21889 Allow minor-modes with explicit +/-1 arguments.
21891 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
21893 * term/xterm.el (xterm): Add defgroup.
21894 (xterm-extra-capabilities): Add defcustom to supply known xterm
21895 capabilities, skip querying them, or query them (default).
21896 (terminal-init-xterm): Use it.
21897 (terminal-init-xterm-modify-other-keys): New function to set up
21898 modifyOtherKeys support to simplify `terminal-init-xterm'.
21900 2011-06-09 Martin Rudalics <rudalics@gmx.at>
21902 * window.el (resize-window-reset, resize-window-reset-1)
21903 (resize-subwindows-skip-p, resize-subwindows-normal)
21904 (resize-subwindows, resize-other-windows, resize-this-window)
21905 (resize-root-window, resize-root-window-vertically)
21906 (window-deletable-p, window-or-subwindow-p)
21907 (frame-root-window-p): New functions.
21909 2011-06-09 Glenn Morris <rgm@gnu.org>
21911 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
21912 (ange-ftp-get-files): Use it.
21914 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
21916 * mail/sendmail.el (mail-recover-1, mail-recover):
21917 * files.el (recover-file, recover-session):
21918 Handle dired-listing-switches not being just a single short option.
21920 2011-06-09 Glenn Morris <rgm@gnu.org>
21922 * calendar/appt.el (appt-display-message, appt-disp-window):
21923 Handle lists of appointments.
21925 2011-06-08 Martin Rudalics <rudalics@gmx.at>
21927 * window.el (one-window-p): Move down in code.
21928 Rewrite doc-string.
21929 (window-current-scroll-bars): Rewrite doc-string.
21930 Normalize live window argument.
21931 (walk-windows, get-window-with-predicate, count-windows):
21932 Rewrite doc-string. Use window-list-1.
21933 (window-in-direction-2, window-in-direction, get-mru-window):
21936 2011-06-08 Reuben Thomas <rrt@sc3d.org>
21938 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
21939 Doc fix (Bug#8713).
21941 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
21943 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
21945 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
21947 * loadhist.el (unload-feature-special-hooks):
21948 Add `comint-output-filter-functions'.
21950 2011-06-08 Ivan Kanis <gnu@kanis.fr>
21952 * calendar/appt.el (appt-check): Move some initializations into the let.
21954 2011-06-08 Martin Rudalics <rudalics@gmx.at>
21956 * window.el (window-height): Defalias to window-total-height.
21957 (window-width): Defalias to window-body-width.
21959 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
21961 * image-mode.el (image-toggle-animation): New command.
21962 (image-mode-map): Bind it to RET.
21963 (image-mode): Update message.
21964 (image-toggle-display-image): Avoid a spurious cache flush.
21965 (image-transform-rotation): Doc fix.
21966 (image-transform-properties): Return quickly in the normal case.
21967 (image-animate-loop): Rename from image-animate-max-time.
21969 * image.el (image-animate-max-time): Move to image-mode.el.
21970 (create-animated-image): Remove unnecessary function.
21971 (image-animate): Rename from image-animate-start. New arg.
21972 (image-animate-stop): Remove; just use image-animate-timer.
21973 (image-animate-timer): Use car-safe.
21974 (image-animate-timeout): Rename argument.
21976 2011-06-07 Martin Rudalics <rudalics@gmx.at>
21978 * window.el (get-lru-window, get-largest-window): Move here from
21979 window.c. Rename first argument to ALL-FRAMES.
21980 Rephrase doc-strings.
21981 (get-buffer-window-list): Rewrite using window-list-1.
21982 Rephrase doc-string.
21983 (window-safe-min-height, window-safe-min-width): New constants.
21984 (window-size-ignore, window-min-size, window-min-size-1)
21985 (window-sizable, window-sizable-p, window-size-fixed-1)
21986 (window-size-fixed-p, window-min-delta-1, window-min-delta)
21987 (window-max-delta-1, window-max-delta, window-resizable)
21988 (window-resizable-p, window-total-height, window-total-width)
21989 (window-body-width): New functions.
21990 (window-full-height-p, window-full-width-p): Rewrite using
21992 (window-body-height): Rewrite using window-body-size.
21994 2011-06-06 Martin Rudalics <rudalics@gmx.at>
21996 * window.el (window-right, window-left, window-child)
21997 (window-child-count, window-last-child, window-any-p)
21998 (normalize-live-buffer, normalize-live-frame)
21999 (normalize-any-window, normalize-live-window)
22000 (window-iso-combination-p, window-iso-combined-p)
22001 (window-iso-combinations)
22002 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
22003 (windows-with-parameter, window-with-parameter)
22004 (window-atom-root, make-window-atom, window-atom-check-1)
22005 (window-atom-check, window-side-check, window-check):
22007 (ignore-window-parameters, window-sides, window-sides-vertical)
22008 (window-sides-slots): New variables.
22009 (window-size-fixed): Move down in code. Minor doc-string fix.
22011 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
22013 * comint.el (comint-dynamic-complete-as-filename)
22014 (comint-dynamic-complete-filename): Correctly call
22015 completion-in-region.
22017 2011-06-05 Deniz Dogan <deniz@dogan.se>
22019 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
22022 2011-06-05 Deniz Dogan <deniz@dogan.se>
22024 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
22025 (rcirc): Use it to prompt for encryption.
22027 2011-06-05 Roland Winkler <winkler@gnu.org>
22029 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
22030 (bibtex-search-entries): New command bound to C-c C-a.
22031 (bibtex-display-entries): New function.
22033 2011-06-05 Roland Winkler <winkler@gnu.org>
22035 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
22036 (bibtex-insert-kill): After yanking insert newline if necessary.
22037 (bibtex-initialize): Call bibtex-string-files-init only once.
22038 (bibtex-mode): Do not call easy-menu-add.
22039 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
22040 (bibtex-yank): Set arg properly if nil.
22042 2011-06-05 Roland Winkler <winkler@gnu.org>
22044 * textmodes/bibtex.el (bibtex-search-entry-globally):
22046 (bibtex-search-entry): Use it.
22048 2011-06-05 Roland Winkler <winkler@gnu.org>
22050 * textmodes/bibtex.el (bibtex-entry-format): New option
22052 (bibtex-format-entry, bibtex-reformat): Honor this option.
22053 (bibtex-parse-entry): Return fields in proper order.
22055 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
22057 * doc-view.el (doc-view-remove-if): Move computation of result out
22058 of `dolist' to silence misleading lexical-binding warning.
22060 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
22062 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
22063 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
22065 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
22067 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
22070 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
22072 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
22073 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
22074 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
22075 (tramp-parse-putty):
22076 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
22077 (tramp-completion-function-alist-ssh)
22078 (tramp-completion-function-alist-telnet)
22079 (tramp-completion-function-alist-su)
22080 (tramp-completion-function-alist-putty): Set `tramp-autoload'
22083 * net/tramp-ftp.el:
22085 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
22086 load "tramp.el" `tramp-set-completion-function'.
22088 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
22090 * shell.el: Require and use pcomplete.
22091 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
22092 (shell-completion-vars): Set pcomplete-default-completion-function.
22094 2011-06-04 Deniz Dogan <deniz@dogan.se>
22096 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
22099 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
22101 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
22103 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
22105 * bs.el (bs--mark-unmark, bs--nth-wrapper):
22106 * mpc.el (mpc-select-extend, mpc-songpointer-context):
22107 * vc/log-view.el (log-view-beginning-of-defun):
22108 * vc/smerge-mode.el (smerge-apply-resolution-patch)
22109 (smerge-refine-forward, smerge-refine-chopup-region):
22110 Silence warning for unused `dotimes' counter variables.
22112 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
22114 * net/tramp.el (tramp-with-progress-reporter): Rename from
22115 with-progress-reporter. Use `declare'.
22116 * net/tramp-smb.el:
22118 * net/tramp-gvfs.el: Update all uses.
22120 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
22122 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
22123 buffer isn't killed before making it current.
22125 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
22127 Silence various byte-compiler warnings.
22128 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
22129 `access-type' and new obsolescence format.
22130 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
22132 (byte-compile-check-variable): New `access-type' argument.
22133 Only warn if the access-type is obsolete.
22134 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
22135 (byte-compile-variable-set): Adjust callers.
22136 * help-fns.el (describe-variable): Adjust to new obsolescence format.
22137 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
22138 setting it as obsolete.
22139 * simple.el (minibuffer-completing-symbol):
22140 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
22141 access as obsolete.
22142 * minibuffer.el (minibuffer-completing-file-name): Don't make it
22144 * international/quail.el (quail-mouse-choose-completion): Remove unused
22145 code referring to obsolete var.
22146 (quail-choose-completion-string): Remove.
22147 * server.el (server-clients-with, server-kill-buffer-query-function)
22148 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
22149 * proced.el (proced-send-signal):
22150 * emacs-lisp/lisp.el (lisp-complete-symbol):
22151 Replace completion-annotate-function with completion-extra-properties.
22153 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
22155 * simple.el (goto-line): Use read-number.
22156 (overriding-map-is-bound): Remove.
22157 (saved-overriding-map): Change default.
22158 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
22159 Take the map as argument.
22160 (universal-argument, negative-argument, digit-argument): Use it.
22161 (restore-overriding-map): Adjust.
22162 (do-auto-fill): Use fill-forward-paragraph.
22163 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
22165 * minibuffer.el (minibuffer-inactive-mode-map): New var.
22166 (minibuffer-inactive-mode): New major mode.
22167 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
22168 the *Messages* buffer" hack.
22169 (mouse-popup-menubar): Don't burp if the event is a normal key.
22171 Miscellaneous tweaks.
22172 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
22173 lexical scoping as in subr.el's dolist and dotimes.
22174 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
22175 Silence compiler warning.
22176 * thingatpt.el (forward-whitespace): Trivial coding style fix.
22177 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
22178 * international/ccl.el (ccl-compile): Trivial simplification.
22179 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
22180 * emacs-lisp/testcover.el (testcover-end): Remove spurious
22181 `printflag' argument.
22182 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
22183 Purecopy the whole obsolescence data.
22185 2011-06-01 Leo Liu <sdl.web@gmail.com>
22187 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
22188 improve doc-string as suggested by Marco Pessotto
22189 <melmothx@gmail.com>.
22190 (rcirc-print): Fix last change.
22192 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
22194 * minibuffer.el (complete-with-action): Return nil for the metadata and
22195 boundaries of non-functional tables.
22196 (completion-table-dynamic): Return nil for the metadata.
22197 (completion-table-with-terminator): Add default case, using
22198 complete-with-action.
22199 (completion--metadata): New function.
22200 (completion-all-sorted-completions, minibuffer-completion-help): Use it
22201 to try and avoid pathological performance problems.
22202 (completion--embedded-envvar-table): Return `category' metadata.
22204 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
22206 * subr.el (process-alive-p): New tiny convenience function.
22208 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
22210 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
22211 content but also its previous major mode.
22213 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
22215 * emacs-lisp/debug.el (debug): Restore the previous content of the
22216 *Backtrace* buffer when we exit with C-M-c.
22218 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
22220 * minibuffer.el: Add metadata method to completion tables.
22221 (completion-category-overrides): New defcustom.
22222 (completion-metadata, completion--field-metadata)
22223 (completion-metadata-get, completion--styles)
22224 (completion--cycle-threshold): New functions.
22225 (completion-try-completion, completion-all-completions):
22226 Add `metadata' argument to choose completion-styles.
22227 (completion--do-completion): Use metadata to choose cycling.
22228 (completion-all-sorted-completions): Use metadata for sorting.
22229 Remove :completion-cycle-penalty which is not needed any more.
22230 (completion--try-word-completion): Add `metadata' argument.
22231 (minibuffer-completion-help): Check metadata for annotation function
22233 (completion-file-name-table): Return `category' metadata.
22234 (minibuffer-completing-file-name): Make obsolete.
22235 * simple.el (minibuffer-completing-symbol): Make obsolete.
22236 * icomplete.el (icomplete-completions): Pass new `metadata' param to
22237 completion-try-completion.
22239 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
22241 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
22243 2011-05-30 Leo Liu <sdl.web@gmail.com>
22245 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
22246 (rcirc-print): Decode all incoming messages (bug#8744).
22247 (rcirc-decode-coding-system): Allow value nil for automatic coding
22250 2011-06-01 Glenn Morris <rgm@gnu.org>
22252 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
22254 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
22256 * image.el (image-animate-max-time): Allow nil and t values.
22258 (create-animated-image): Doc fix.
22259 (image-animate-start): Remove second arg; just use
22260 image-animate-max-time.
22261 (image-animate-timeout): Doc fix. Args changed.
22263 * image-mode.el (image-toggle-display-image): Ensure that the
22264 image spec passed to the animate timer is the same object as in
22265 the buffer's display property (Bug#6981).
22266 (image-transform-properties): Doc fix.
22268 * image.el (image-animate-max-time): Default to nil.
22270 2011-05-29 Martin Rudalics <rudalics@gmx.at>
22272 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
22273 entire buffer list (Bug#8184).
22275 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
22277 * image.el (imagemagick-types-inhibit)
22278 (imagemagick-register-types): Doc fix.
22280 2011-05-29 Deniz Dogan <deniz@dogan.se>
22282 * net/rcirc.el (rcirc): Use the user's stored encryption method by
22285 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
22287 * select.el: Don't perform clipboard-manager saving in hooks;
22288 leave the hooks empty.
22290 2011-05-28 Leo Liu <sdl.web@gmail.com>
22292 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
22293 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
22294 (occur-edit-mode): New major mode (Bug#8463).
22295 (occur-after-change-function): New function.
22296 (occur-engine): Give Occur tags a read-only property.
22298 2011-05-28 Kevin Ryde <user42@zip.com.au>
22300 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
22302 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
22304 * bindings.el (help-echo): Make the initial non-indicator dash
22305 empty on graphical terminals (Bug#7295).
22307 * files.el (auto-mode-alist): Move config rule after the
22308 in-stripping one (Bug#8547).
22310 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
22312 * startup.el (normal-splash-screen): Remove gratuitous mode-line
22313 setting (Bug#8740).
22315 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
22317 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
22318 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
22321 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
22323 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
22325 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
22327 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
22328 (hs-hide-block-at-point, hs-find-block-beginning)
22329 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
22332 2011-05-28 Glenn Morris <rgm@gnu.org>
22334 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
22336 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
22338 * help-fns.el (describe-function-1): If the function is a derived
22339 major mode, print the parent mode.
22341 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
22342 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
22344 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
22346 * minibuffer.el (completion--capf-wrapper): Check applicability before
22347 returning non-nil for non-exclusive completion data.
22348 * progmodes/etags.el (tags-completion-at-point-function):
22349 * info-look.el (info-lookup-completions-at-point): Mark as
22351 (info-complete): Adjust accordingly.
22353 * info-look.el: Convert to lexical-binding and completion-at-point.
22354 (info-lookup-completions-at-point): New function.
22355 (info-complete): Use it and completion-in-region.
22357 2011-05-28 Drew Adams <drew.adams@oracle.com>
22359 * isearch.el: Let M-e start with point at the first mismatched char.
22360 (isearch-fail-pos): New function.
22361 (isearch-edit-string): Use it.
22363 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
22365 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
22367 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
22369 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
22370 traversal functions for avl-trees.
22371 (avl-tree--stack): New struct.
22372 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
22373 (avl-tree-enter): Add optional `updatefun' arg.
22374 (avl-tree--do-enter): Add optional `updatefun' arg.
22375 Change return value.
22376 (avl-tree-delete): Add optional `test' and `nilflag' args.
22377 (avl-tree--do-delete): Add `test' and `nilflag' args.
22378 Change return value.
22379 (avl-tree-member): Add optional `nilflag'
22380 (avl-tree-member-p): New function.
22381 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
22382 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
22383 (avl-tree-stack-empty-p): New functions.
22385 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
22386 avl-tree--del-balance1 and make it work both ways.
22387 (avl-tree--del-balance2): Remove.
22388 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
22389 make it work both ways.
22390 (avl-tree--enter-balance2): Remove.
22391 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
22393 (avl-tree--mapc, avl-tree-map): Add direction argument.
22395 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
22397 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
22399 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
22401 * select.el: Support clipboard managers with built-in function
22402 x-clipboard-manager-save, via delete-frame-functions and
22404 (xselect-convert-to-targets): Add MULTIPLE target to list.
22405 (xselect-convert-to-save-targets): New function.
22407 2011-05-27 Kenichi Handa <handa@m17n.org>
22409 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
22410 let-binding rfc2047-encode-encoded-words to nil.
22412 2011-05-27 Glenn Morris <rgm@gnu.org>
22414 * mail/emacsbug.el: Don't require url-util.
22416 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
22418 * files.el (set-auto-mode):
22419 Also respect mode: entries at the end of the file. (Bug#8586)
22421 2011-05-26 Glenn Morris <rgm@gnu.org>
22423 * files.el (hack-local-variables-prop-line, hack-local-variables):
22424 Downcase mode names, as seems to be traditional.
22425 (hack-local-variables, hack-local-variables-apply): Doc fixes.
22427 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
22428 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
22430 2011-05-25 Julien Danjou <julien@danjou.info>
22432 * textmodes/rst.el (rst-define-level-faces): Do not define face
22433 symbol if it is already defined.
22435 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
22437 * play/5x5.el (5x5-new-game, 5x5-randomize):
22438 Reset 5x5-solver-output to nil when a new grid is cast.
22439 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
22440 these debugging traces, as defmacro breaks the compiled code.
22442 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
22444 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
22446 2011-05-24 Leo Liu <sdl.web@gmail.com>
22448 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
22449 (vc-bzr-sha1): Adapt.
22451 * sha1.el: Remove. Function `sha1' is now builtin.
22453 * bindings.el: Provide sha1 feature.
22455 2011-05-24 Kenichi Handa <handa@m17n.org>
22457 * mail/sendmail.el: Require `rfc2047'.
22458 (mail-insert-from-field): Do not perform RFC2047 encoding.
22459 (mail-encode-header): New function.
22460 (sendmail-send-it): Set buffer-file-coding-system of the work
22461 buffer to the return value of select-message-coding-system.
22462 Call mail-encode-header.
22464 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
22466 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
22468 * mail/supercite.el (sc-default-cite-frame):
22469 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
22471 2011-05-24 Glenn Morris <rgm@gnu.org>
22473 * progmodes/python.el (brm-menu): Declare.
22475 * emulation/viper.el (viper-set-hooks): Declare.
22477 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
22478 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
22479 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
22480 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
22481 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
22482 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
22484 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
22486 Add an :exit-function for completion-at-point.
22488 * minibuffer.el (completion--done): New fun.
22489 (completion--do-completion): Use it. New arg `expect-exact'.
22490 (minibuffer-complete, minibuffer-complete-word): Don't output message,
22491 since completion--do-completion does it for us now.
22492 (minibuffer-force-complete): Use completion--done and
22493 completion--replace. Handle sole-completion case with more care.
22494 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
22495 (completion-extra-properties): New var.
22496 (completion-annotate-function): Make obsolete.
22497 (minibuffer-completion-help): Adjust accordingly.
22498 Use completion-list-insert-choice-function.
22499 (completion-at-point, completion-help-at-point):
22500 Bind completion-extra-properties.
22501 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
22502 * simple.el (completion-list-insert-choice-function): New var.
22503 (completion-setup-function): Preserve it.
22504 (choose-completion): Pay attention to it, shuffle the code a bit.
22505 (choose-completion-string): New arg `insert-function'.
22507 * textmodes/bibtex.el: Convert to lexical binding.
22508 (bibtex-mode-map): Use completion-at-point.
22509 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
22510 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
22511 (bibtex-complete): Define as obsolete alias.
22512 (bibtex-complete-internal): Remove.
22513 (bibtex-format-entry): Remove unused sub-group in regexp.
22514 * shell.el (shell--command-completion-data)
22515 (shell-environment-variable-completion):
22516 * pcomplete.el (pcomplete-completions-at-point):
22517 * comint.el (comint--complete-file-name-data): Use :exit-function
22518 instead of completion-table-with-terminator so it also works for
22521 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
22523 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
22525 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
22528 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
22530 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
22532 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
22533 customization variable and implement: If non-nil, auto-fill will
22534 be inhibited while on topic's header line.
22536 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
22538 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
22539 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
22540 always have a solution in grid size = 5 cases.
22541 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
22542 (5x5-solver-output, 5x5-log-buffer): New vars.
22543 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
22544 Make these variables buffer local to achieve 5x5 multi-session-ness.
22545 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
22546 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
22547 (5x5-solve-suggest): New funs.
22548 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
22549 randomize a grid so that we ensure that there is always a solution.
22550 (5x5-make-random-grid): Allow other movement than flipping.
22552 2011-05-23 Kevin Ryde <user42@zip.com.au>
22554 * emacs-lisp/advice.el (ad-read-advised-function):
22555 Use `function-called-at-point' as the default, if it has
22556 advice and passes PREDICATE.
22558 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
22560 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
22561 byte-compile-lambda if it's actually a lambda.
22563 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
22564 Fix function quoting. Use backquote better.
22566 2011-05-22 Yuanle Song <sylecn@gmail.com>
22568 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
22569 matching (Bug#8516).
22571 2011-05-22 Jari Aalto <jari.aalto@cante.net>
22573 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
22574 different face (Bug#8178).
22576 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
22578 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
22579 defface (Bug#8144).
22581 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
22583 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
22584 funcall as well (bug#8712). Warn when performing those conversions.
22585 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
22587 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
22589 2011-05-22 Glenn Morris <rgm@gnu.org>
22591 * files.el (hack-local-variables-prop-line): Small simplifications.
22592 (hack-local-variables, hack-local-variables-prop-line):
22593 If MODE-ONLY, return the mode, rather than just `t'.
22595 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
22597 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
22599 2011-05-21 Glenn Morris <rgm@gnu.org>
22601 * files.el (hack-local-variables-prop-line, hack-local-variables):
22602 If only interested in the mode, don't bother doing the other stuff.
22604 * image-mode.el (image-after-revert-hook):
22605 Redraw all frames on which the image is visible. (Bug#8567)
22607 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
22609 * wid-edit.el (widget-checklist-match-inline):
22610 Fix 2011-04-19 change. (Bug#8649)
22612 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
22614 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
22615 Also allow singlespace after single-letter capitals followed by a dot.
22617 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
22618 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
22620 2011-05-20 Nix <nix@esperi.org.uk>
22622 * files.el (basic-save-buffer-2):
22623 Fix handling of break-hardlink-on-save with non-existent files.
22625 2011-05-19 Deniz Dogan <deniz@dogan.se>
22627 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
22628 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
22630 2011-05-19 Glenn Morris <rgm@gnu.org>
22632 * progmodes/f90.el (f90-type-def-re):
22633 Handle "type, bind(c)". (Bug#8691)
22635 * emacs-lisp/autoload.el (batch-update-autoloads):
22636 Set autoload-excludes by parsing loadup.el rather than Makefiles.
22638 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
22640 * net/tramp.el (tramp-process-actions): Set "first-password-request"
22641 property for the correct connection in case of multihops.
22643 2011-05-18 Glenn Morris <rgm@gnu.org>
22645 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
22646 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
22648 Rationalize calendar handling of day and month abbrev-arrays.
22649 * calendar/calendar.el (calendar-customized-p): New function.
22650 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
22651 (calendar-day-name-array, calendar-month-name-array): Doc fix.
22653 (calendar-abbrev-length, calendar-day-abbrev-array)
22654 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
22655 (calendar-day-abbrev-array, calendar-month-abbrev-array):
22656 Elements may no longer be nil.
22657 (calendar-day-name, calendar-month-name):
22658 Update for changed nature of abbrev arrays.
22659 * calendar/diary-lib.el (diary-name-pattern):
22660 Update for changed nature of abbrev arrays.
22661 (diary-mark-entries-1): Update calendar-make-alist calls.
22662 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
22663 * calendar/cal-html.el (cal-html-day-abbrev-array):
22664 Simply inherit from calendar-day-abbrev-array.
22666 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
22668 * progmodes/grep.el (grep-mode): Disable default
22669 compilation-directory-matcher setting (bug#8684).
22671 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
22673 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
22674 instead of "head" and "tail". There were problems with SunOS 5.9,
22675 and it performs better.
22677 2011-05-17 Glenn Morris <rgm@gnu.org>
22679 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
22681 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
22682 Replace obsolete function.
22684 * shell.el (pcomplete-parse-arguments-function): Declare.
22686 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
22687 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
22688 (appt-check): Doc fixes.
22689 (appt-disp-window-function, appt-delete-window-function):
22690 Remove needless special case in custom :type.
22691 (appt-display-count): Default to 0, not nil.
22692 (appt-check): Reset appt-display-count to 0, not nil.
22694 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
22696 * progmodes/python.el (python-font-lock-keywords):
22697 Add the Python 3.X keyword "nonlocal" (bug#8639).
22699 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
22701 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
22703 2011-05-16 Kevin Ryde <user42@zip.com.au>
22705 * info-look.el (makefile-automake-mode): New setups, looking in
22706 automake manual, then makefile-mode.
22707 (makefile-mode): Remove automake manual, have it just in
22708 makefile-automake-mode since there's various things different or
22709 not relevant to plain make.
22710 (makefile-mode): Remove "other-modes" non-existent automake-mode,
22711 believe a hypothetical automake-mode would go to makefile-mode,
22712 not the other way around.
22714 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
22716 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
22717 hunk-end tags (Bug#8672).
22719 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
22720 vc-annotate-show-diff-revision-at-line (Bug#8671).
22722 2011-05-14 Glenn Morris <rgm@gnu.org>
22724 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
22725 in the middle of an existing one with multiple authors. (Bug#8645)
22726 (change-log-font-lock-keywords): Also handle multiple author lines
22727 with leading tabs. (Bug#8644)
22729 * calendar/appt.el (appt-check): Rename some local variables.
22730 Some simplification/reordering.
22732 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
22733 (feedmail-sendmail-f-doesnt-sell-me-out)
22734 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
22735 (feedmail-debug-sit-for, feedmail-queue-express-hook)
22736 (feedmail-queue-runner-message-sender): Set :version.
22737 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
22738 (bbdb-dwim-net-address, vm-mail): Declare.
22739 (feedmail-binmail-gnulinuxish-template):
22740 Rename from feedmail-binmail-linuxish-template.
22741 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
22742 Use insert-buffer-substring.
22744 2011-05-14 Bill Carpenter <bill@carpenter.org>
22746 * mail/feedmail.el (feedmail-patch-level): Increase.
22747 (feedmail-debug): New custom group.
22748 (feedmail-confirm-outgoing-timeout)
22749 (feedmail-sendmail-f-doesnt-sell-me-out)
22750 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
22751 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
22752 (feedmail-sender-line, feedmail-from-line)
22753 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
22754 (feedmail-spray-this-address)
22755 (feedmail-spray-address-fiddle-plex-list)
22756 (feedmail-queue-use-send-time-for-date)
22757 (feedmail-queue-use-send-time-for-message-id)
22758 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
22759 (feedmail-buffer-eating-function):
22761 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
22762 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
22763 (feedmail-message-action-scroll-down): New functions.
22764 (feedmail-queue-directory, feedmail-queue-draft-directory):
22765 Use expand-file-name.
22766 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
22767 Remove C-v help entry.
22768 (feedmail-queue-buffer-file-name): New variable.
22769 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
22770 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
22771 (feedmail-message-action-send-strong, feedmail-message-action-edit)
22772 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
22773 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
22774 (feedmail-message-action-toggle-spray)
22775 (feedmail-run-the-queue-no-prompts)
22776 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
22777 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
22778 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
22779 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
22780 (feedmail-envelope-deducer, feedmail-fiddle-from)
22781 (feedmail-fiddle-sender, feedmail-default-date-generator)
22782 (feedmail-fiddle-date, feedmail-fiddle-message-id)
22783 (feedmail-fiddle-spray-address)
22784 (feedmail-fiddle-list-of-spray-fiddle-plexes)
22785 (feedmail-fiddle-list-of-fiddle-plexes)
22786 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
22787 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
22788 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
22789 Change default. Doc fix.
22790 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
22791 (feedmail-binmail-linuxish-template): New constant.
22792 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
22793 Respect feedmail-sendmail-f-doesnt-sell-me-out.
22794 (feedmail-send-it): Add debug call.
22795 Use feedmail-queue-buffer-file-name, and
22796 feedmail-send-it-immediately-wrapper.
22797 (feedmail-message-action-send): Add debug call.
22798 Use feedmail-send-it-immediately-wrapper.
22799 (feedmail-queue-express-to-queue): Add debug call.
22800 Run feedmail-queue-express-hook.
22801 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
22802 (feedmail-message-action-help-blat):
22803 Rename from feedmail-queue-send-edit-prompt-help-first.
22804 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
22805 Check line-endings. Handle errors better.
22806 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
22807 Doc fix. Add debug call.
22808 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
22809 Use feedmail-queue-send-edit-prompt-inner.
22810 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
22811 (feedmail-queue-send-edit-prompt-inner): New function, extracted
22812 from feedmail-queue-send-edit-prompt.
22813 (feedmail-queue-send-edit-prompt-help)
22814 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
22815 (feedmail-tidy-up-slug): Add debug call.
22816 Respect feedmail-queue-slug-suspect-regexp.
22817 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
22818 (feedmail-dump-message-to-queue): Add debug call.
22819 Expand queue-directory.
22820 (feedmail-dump-message-to-queue): Change message slightly.
22821 Use feedmail-say-chatter.
22822 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
22823 (feedmail-send-it-immediately-wrapper): New function.
22824 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
22825 Insert empty string rather than newline. Handle full-frame case.
22826 Use catch/throw. Use feedmail-say-chatter.
22827 (feedmail-fiddle-from): Try mail-host-address.
22828 (feedmail-default-message-id-generator): Doc fix.
22829 Bind system-time-locale. Handle missing end.
22830 (feedmail-fiddle-x-mailer): Add debug call.
22831 Handle feedmail-x-mailer-line being nil.
22832 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
22833 Add debug call. Use buffer-substring-no-properties.
22834 (feedmail-say-debug, feedmail-say-chatter): New functions.
22835 (feedmail-find-eoh): Give an explicit error.
22837 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
22839 * net/newst-treeview.el (newsticker-treeview-face): Change default
22840 family from helvetica to sans.
22841 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
22842 etc/images/newsticker.
22844 * net/newst-reader.el (newsticker-feed-face): Change default
22845 family from helvetica to sans.
22847 * net/newst-plainview.el (newsticker-new-item-face)
22848 (newsticker-old-item-face, newsticker-immortal-item-face)
22849 (newsticker-obsolete-item-face, newsticker-date-face)
22850 (newsticker-statistics-face): Change default family from
22852 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
22853 etc/images/newsticker.
22855 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
22856 (newsticker--process-auto-mark-filter-match): Tell user about
22859 2011-05-13 Didier Verna <didier@xemacs.org>
22861 Common Lisp indentation improvements on defmethod and lambda-lists.
22862 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
22864 (lisp-lambda-list-keyword-parameter-indentation)
22865 (lisp-lambda-list-keyword-parameter-alignment)
22866 (lisp-lambda-list-keyword-alignment): New customizable user options.
22867 (lisp-indent-defun-method): Improve docstring.
22868 (extended-loop-p): Fix comment.
22869 (lisp-indent-lambda-list-keywords-regexp): New variable.
22870 (lisp-indent-lambda-list): New function.
22871 (lisp-indent-259): Use it.
22872 (lisp-indent-defmethod): Support for more than one
22873 method qualifier and properly indent methods lambda-lists.
22874 (defgeneric): Provide a missing common-lisp-indent-function property.
22876 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
22878 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
22879 bounds for the empty string (bug#8667).
22881 2011-05-13 Glenn Morris <rgm@gnu.org>
22883 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
22885 * mail/sendmail.el (sendmail-program): Try executable-find first.
22886 (sendmail-send-it): `sendmail-program' cannot be unbound.
22888 * calendar/appt.el (appt-make-list): Simplify.
22889 (appt-time-msg-list): Doc fix.
22890 (appt-check): Change mode-line message at the time of the appointment.
22892 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
22894 * progmodes/ld-script.el (ld-script-keywords)
22895 (ld-script-builtins): Update keywords list.
22897 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
22899 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
22901 * shell.el (shell-completion-vars): New function.
22903 * simple.el (read-shell-command): Use it.
22904 (blink-matching-open): No need for " [...]" in minibuffer-message.
22906 2011-05-12 Glenn Morris <rgm@gnu.org>
22908 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
22909 (appt-check): Simplify.
22911 2011-05-12 Eli Zaretskii <eliz@gnu.org>
22913 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
22914 literal "/dev/null".
22916 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
22918 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
22921 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
22923 * progmodes/which-func.el (which-function):
22924 Use add-log-current-defun instead of add-log-current-defun-function,
22925 which might not be defined (Bug#8260).
22927 2011-05-12 Glenn Morris <rgm@gnu.org>
22929 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
22930 Let byte-compile-initial-macro-environment always take precedence.
22932 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
22934 * net/rcirc.el: Add support for SSL/TLS connections.
22935 (rcirc-server-alist): New field `encryption'.
22936 (rcirc): Check `encryption' settings.
22937 (rcirc-connect): New arg `encryption'. Use open-network-stream.
22938 Merge make-local-variable into `set'.
22939 (rcirc--connection-open-p): New function.
22940 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
22941 the process is not a network process (e.g. running gnutls-cli).
22942 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
22943 Make rcirc-(en|de)code-coding-system local here.
22944 (rcirc-mode): Merge make-local-variable into `set'.
22945 (rcirc-parent-buffer): Make permanent buffer-local.
22946 (rcirc-multiline-minor-mode): Don't do it here.
22947 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
22948 there's no server buffer.
22950 2011-05-11 Glenn Morris <rgm@gnu.org>
22952 * newcomment.el (comment-kill): Prefix "unused" local.
22954 * term/w32console.el (get-screen-color): Declare.
22956 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
22957 Handle symbol elements of byte-compile-initial-macro-environment.
22959 2011-05-10 Leo Liu <sdl.web@gmail.com>
22961 * bookmark.el (bookmark-bmenu-mode-map):
22962 Bind bookmark-bmenu-search to `/'.
22964 * mail/footnote.el: Convert to utf-8 encoding.
22965 (footnote-unicode-string, footnote-unicode-regexp): New variable.
22966 (Footnote-unicode): New function.
22967 (footnote-style-alist): Add unicode style to the list.
22968 (footnote-style): Doc fix.
22970 2011-05-10 Jim Meyering <meyering@redhat.com>
22972 Fix doubled-word typos.
22973 * international/quail.el (quail-insert-kbd-layout): and and -> and
22974 * kermit.el: and and -> and
22975 * net/ldap.el (ldap-search-internal): to to -> to
22976 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
22977 * progmodes/js.el (js-mode): and and -> and
22978 * textmodes/artist.el (artist-move-to-xy): at at -> at
22979 (artist-draw-region-trim-line-endings): if if -> if
22980 And Safetyc -> Safety.
22981 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
22983 2011-05-10 Glenn Morris <rgm@gnu.org>
22984 Stefan Monnier <monnier@iro.umontreal.ca>
22986 * files.el (hack-one-local-variable-eval-safep):
22987 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
22989 2011-05-10 Glenn Morris <rgm@gnu.org>
22991 * calendar/diary-lib.el (diary-list-entries-hook)
22992 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
22993 (diary-nongregorian-marking-hook, diary-list-entries)
22994 (diary-include-other-diary-files, diary-mark-entries)
22995 (diary-mark-included-diary-files): Doc fixes.
22997 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
22999 * misc.el: Require tabulated-list.el during compilation.
23001 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
23003 * progmodes/compile.el (compilation-start):
23004 Run compilation-filter-hook for the async case too.
23005 (compilation-filter-hook): Doc fix.
23007 2011-05-09 Deniz Dogan <deniz@dogan.se>
23009 * wdired.el: Remove outdated installation comment. Fix usage
23012 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
23014 * misc.el: Implement new command `list-dynamic-libraries'.
23015 (list-dynamic-libraries--loaded-only-p): New variable.
23016 (list-dynamic-libraries--refresh): New function.
23017 (list-dynamic-libraries): New command.
23019 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
23021 * progmodes/compile.el (compilation-error-regexp-alist-alist):
23022 Fix the ant regexp to handle end-line and end-column info from jikes.
23023 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
23024 higher priority to avoid clobbering by gnu.
23026 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
23028 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
23029 if the face has existing theme settings (Bug#8454).
23031 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
23033 * progmodes/perl-mode.el (perl-imenu-generic-expression):
23034 Only match variables declared via `my' or `our' (Bug#8261).
23036 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
23037 special file names `.' and `..' (Bug#8259).
23039 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
23041 * progmodes/grep.el (grep-mode-font-lock-keywords):
23042 Remove buffer-changing entries.
23043 (grep-filter): New function.
23044 (grep-mode): Add it to compilation-filter-hook.
23046 * progmodes/compile.el (compilation-filter-hook)
23047 (compilation-filter-start): New defvars.
23048 (compilation-filter): Call compilation-filter-hook prior to
23049 updating the process mark.
23051 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
23053 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
23055 2011-05-07 Eli Zaretskii <eliz@gnu.org>
23057 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
23058 mailclient-send-it even if window-system is nil. (Bug#8595)
23060 * term/w32console.el (terminal-init-w32console):
23061 Call get-screen-color and use its output to set the frame
23062 background-mode. (Bug#8597)
23064 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
23066 Make bytecomp.el understand that defmethod defines funs (bug#8631).
23067 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
23069 (defgeneric, eieio--defmethod): Use them.
23070 (eieio-defgeneric): Remove.
23071 (defmethod): Call defgeneric in a way visible to the byte-compiler.
23073 2011-05-07 Glenn Morris <rgm@gnu.org>
23075 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
23076 Use let rather than let*.
23077 (timeclock-find-discrep): Remove unused local.
23079 * calendar/diary-lib.el (diary-comment-start): Doc fix.
23081 * calendar/appt.el (appt-time-msg-list): Doc fix.
23083 2011-05-06 Noah Friedman <friedman@splode.com>
23085 * apropos.el (apropos-print-doc): Only use
23086 emacs-lisp-docstring-fill-column when it is bound to an integer,
23087 per that variable's documentation.
23089 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
23091 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
23092 and warnings are not silently discarded (e.g. use -d instead of -P).
23094 2011-05-06 Glenn Morris <rgm@gnu.org>
23096 * calendar/appt.el (appt-message-warning-time): Doc fix.
23097 (appt-warning-time-regexp): New option.
23098 (appt-make-list): Respect appt-message-warning-time.
23100 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
23102 (diary-add-to-list): Strip comments from the displayed string.
23103 (diary-mode): Set comment-start and comment-end.
23105 * vc/diff-mode.el (smerge-refine-subst): Declare.
23106 (diff-refine-hunk): Don't require smerge-mode when compiling.
23108 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
23110 * simple.el (list-processes): Return nil as the docstring says.
23112 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
23114 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
23116 (ange-ftp-write-region, ange-ftp-insert-file-contents)
23117 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
23118 determining of binary transfer. (Bug#7383)
23120 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
23122 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
23123 Fix port computation bug. (Bug#8618)
23125 2011-05-05 Glenn Morris <rgm@gnu.org>
23127 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
23129 * simple.el (shell-dynamic-complete-functions)
23130 (comint-dynamic-complete-functions): Declare.
23132 * net/network-stream.el (gnutls-negotiate):
23133 * simple.el (tabulated-list-print): Fix declarations.
23135 * progmodes/gud.el (syntax-symbol, syntax-point):
23136 Remove unnecessary and incorrect declarations.
23138 * emacs-lisp/check-declare.el (check-declare-scan):
23139 Handle byte-compile-initial-macro-environment in bytecomp.el.
23141 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
23143 Fix earlier half-done eieio-defmethod change (bug#8338).
23144 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
23145 Streamline and change calling convention.
23146 (defmethod): Adjust accordingly and simplify.
23147 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
23148 new eieio--defmethod.
23149 (slot-boundp): Minor CSE simplification.
23151 2011-05-05 Milan Zamazal <pdm@zamazal.org>
23153 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
23154 (glasses-make-readable): Use glasses-separate-capital-groups.
23156 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
23158 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
23159 (warning-series): Doc fix.
23160 (display-warning): Don't try to create the buffer if we just found it.
23162 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
23164 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
23165 (autoload-find-generated-file): New function.
23166 (generate-file-autoloads): Bind generated-autoload-file to
23168 (update-file-autoloads, update-directory-autoloads):
23169 Use autoload-find-generated-file. If called interactively, prompt for
23170 output file (Bug#7989).
23171 (batch-update-autoloads): Doc fix.
23173 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
23175 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
23177 2011-05-04 Glenn Morris <rgm@gnu.org>
23179 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
23180 function, so it follows changes in calendar-date-style.
23181 (diary-fancy-date-matcher): New function.
23182 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
23183 (diary-fancy-font-lock-fontify-region-function):
23184 Use diary-fancy-date-pattern as a function.
23186 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
23187 non-numbers for `year' etc pseudo-variables. (Bug#8583)
23189 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
23191 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
23192 instead of positional arguments. Allow :keylist and :crlfiles
23194 (open-gnutls-stream): Call it.
23196 * net/network-stream.el (network-stream-open-starttls): Adjust to
23197 call `gnutls-negotiate' with :process and :hostname arguments.
23199 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
23201 * minibuffer.el (completion--message): New function.
23202 (completion--do-completion, minibuffer-complete)
23203 (minibuffer-force-complete, minibuffer-complete-word): Use it.
23204 (completion--do-completion): Don't ignore completion-auto-help when in
23207 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
23208 internal encoding (e.g. tibetan zero is not whitespace).
23209 (global-whitespace-mode): Prefer save-current-buffer.
23210 (whitespace-trailing-regexp): Remove useless save-match-data.
23211 (whitespace-empty-at-bob-regexp): Minor simplification.
23213 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
23215 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
23217 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
23219 * textmodes/ispell.el (ispell-add-per-file-word-list):
23220 Use `concat' to create string for insertion.
23222 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
23224 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
23225 Avoid open-line which runs post-self-insert-hook.
23226 (bibtex-fill-entry): Remove unused `end' var.
23228 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
23230 * textmodes/ispell.el (ispell-add-per-file-word-list):
23231 Protect against `nil' value of `comment-start' (Bug#8579).
23233 2011-05-03 Leo Liu <sdl.web@gmail.com>
23235 * isearch.el (isearch-yank-pop): New command.
23236 (isearch-mode-map): Bind it to `M-y'.
23237 (isearch-forward): Mention it.
23239 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
23241 * simple.el (minibuffer-complete-shell-command): Remove.
23242 (minibuffer-local-shell-command-map): Use completion-at-point.
23243 (read-shell-command): Setup completion vars here instead.
23244 (read-expression-map): Bind TAB to symbol completion.
23246 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
23247 error directly rather via storing it into `results'.
23249 2011-05-02 Leo Liu <sdl.web@gmail.com>
23251 * vc/diff.el: Fix description.
23253 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
23255 * server.el (server-eval-at): New function.
23257 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
23259 * net/network-stream.el (open-network-stream): Take a :nowait
23260 parameter and pass it on to `make-network-process'.
23261 (network-stream-open-plain): Ditto.
23263 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
23265 * faces.el (face-spec-set-match-display): Don't match toolkit
23266 options on terminal frames.
23268 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
23270 * progmodes/pascal.el: Use lexical binding.
23271 (pascal-mode-map): Remove author preferences.
23273 * pcomplete.el (pcomplete-std-complete): Don't abuse
23274 completion-at-point.
23276 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
23278 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
23279 removing code that has been dead since 1991 or so.
23281 * startup.el (command-line): When warning about "_emacs", use a
23282 delayed warning to allow the user to filter it out.
23284 2011-04-28 Deniz Dogan <deniz@dogan.se>
23286 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
23287 user has not joined.
23289 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
23291 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
23292 aren't any completions at point.
23294 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
23296 * subr.el (display-delayed-warnings): New function.
23297 (delayed-warnings-hook): New variable.
23299 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
23301 * minibuffer.el (completion-at-point, completion-help-at-point):
23302 Don't presume that a given completion-at-point-function will always
23303 use the same calling convention.
23305 * pcomplete.el (pcomplete-completions-at-point):
23306 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
23307 pcomplete-seen is non-nil.
23308 (pcomplete-comint-setup): Also recognize the new comint/shell
23309 completion functions.
23310 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
23311 pcomplete-seen is non-nil.
23313 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
23315 * calendar/icalendar.el (diary-lib): Add require statement.
23316 (icalendar--create-uid): Read out a uid from a text-property on
23317 the first character in the entry. This allows for code to add its
23318 own uid to the entry.
23319 (icalendar--convert-float-to-ical): Add export of
23320 `diary-float'-entries save for those with the optional DAY
23323 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
23325 * subr.el (shell-quote-argument): Use alternate escaping strategy
23326 when we spot a variable reference in a string.
23328 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
23330 * cus-start.el (all): Define customization for debug-on-event.
23332 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
23334 * subr.el (shell-quote-argument): Escape correctly under Windows.
23336 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
23338 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
23340 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
23342 * net/tramp.el (tramp-process-actions): Add POS argument.
23343 Delete region between POS and (pos).
23345 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
23346 Use `nil' position in `tramp-process-actions' call.
23347 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
23349 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
23350 position in `tramp-process-actions' call.
23352 * net/trampver.el: Update release number.
23354 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
23356 * custom.el (defcustom): Obey lexical-binding.
23358 Fix octave-inf completion problems reported by Alexander Klimov.
23359 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
23360 Inherit from octave-mode-syntax-table.
23361 (inferior-octave-mode): Set info-lookup-mode.
23362 (inferior-octave-completion-at-point): New function.
23363 (inferior-octave-complete): Use it and completion-in-region.
23364 (inferior-octave-dynamic-complete-functions): Use it as well, and use
23365 comint-filename-completion.
23366 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
23367 symbol elements which shouldn't be word elements.
23368 (octave-font-lock-keywords, octave-beginning-of-defun)
23369 (octave-function-header-regexp): Adjust regexps accordingly.
23370 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
23372 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
23374 * net/gnutls.el (gnutls-errorp): Declare before first use.
23376 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
23378 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
23379 verify-error, and verify-hostname-error parameters. Check whether
23380 default trustfile exists before going to use it. Add missing
23381 argument to gnutls-message-maybe call. Return value.
23382 Reported by Claudio Bley <claudio.bley@gmail.com>.
23383 (open-gnutls-stream): Add usage example.
23385 * net/network-stream.el (network-stream-open-starttls): Give host
23386 parameter to `gnutls-negotiate'.
23387 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
23388 * subr.el (shell-quote-argument): Escape correctly under Windows.
23390 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
23392 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
23393 Use correct match group (bug#8438).
23395 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
23397 * emacs-lisp/package.el (package-built-in-p): Fix typo.
23398 (package-menu--generate): New arg specifying packages to show.
23399 (package-menu-refresh, package-menu-execute, list-packages):
23401 (package-show-package-list): New function, replacing deleted
23402 package--list-packages (renamed because it is non-internal).
23404 * finder.el (finder-list-matches): Use package-show-package-list
23405 instead of deleted package--list-packages.
23407 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
23408 Based on a previous implementation by Juanma Barranquero (Bug#8366).
23409 (vc-annotate-mode-map): Bind it to RET.
23411 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
23413 * progmodes/etags.el (next-file): Don't use set-buffer to change
23414 buffers (Bug#8478).
23416 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
23418 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
23420 * apropos.el (apropos-label-face): Avoid variable-pitch face.
23421 (apropos-accumulator): Doc fix.
23422 (apropos-function, apropos-macro, apropos-command)
23423 (apropos-variable, apropos-face, apropos-group, apropos-widget)
23424 (apropos-plist): Add face property.
23425 (apropos-symbols-internal): Fix indentation.
23426 (apropos-print): Simplify help, and recognize apropos-multi-type.
23427 (apropos-print-doc): Use button-type-get to extract the button's
23428 face property. Fill docstring (Bug#8352).
23430 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
23432 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
23434 * play/mpuz.el (mpuz-silent): Doc fix.
23435 (mpuz-mode-map): Use mapc.
23436 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
23437 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
23438 Fix typos in docstrings.
23440 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
23441 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
23443 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
23445 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
23447 * minibuffer.el (completion--do-completion): Avoid the "Next char
23448 not unique" prompt if icomplete-mode is enabled (Bug#5849).
23450 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
23451 mouse-2 into unread-command-events, it is interpreted correctly.
23453 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
23454 (image-toggle-display): Doc fix.
23456 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
23458 * textmodes/page.el (what-page): Use line-number-at-pos to
23459 calculate line number (Bug#6825).
23461 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
23463 * eshell/esh-mode.el (find-tag-interactive): Declare function.
23464 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
23465 Pass argument NO-DEFAULT to `find-tag-interactive'.
23467 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
23469 Lexical-binding cleanup.
23471 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
23472 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
23473 * progmodes/ada-prj.el (ada-prj-initialize-values)
23474 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
23475 (ada-prj-show-value):
23476 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
23477 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
23478 (antlr-invalidate-context-cache, antlr-options-menu-filter)
23479 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
23480 * progmodes/bug-reference.el (bug-reference-push-button):
23481 * progmodes/fortran.el (fortran-line-length):
23482 * progmodes/glasses.el (glasses-change):
23483 * progmodes/octave-mod.el (octave-fill-paragraph):
23484 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
23485 (python-pdbtrack-grub-for-buffer, python-sentinel):
23486 * progmodes/sql.el (sql-save-connection):
23487 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
23488 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
23489 Mark unused parameters.
23491 * progmodes/compile.el (compilation--flush-directory-cache)
23492 (compilation--flush-parse, compile-internal): Mark unused parameters.
23493 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
23494 (compilation-next-error-function): Remove unused variable `timestamp'.
23496 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
23497 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
23499 * progmodes/dcl-mode.el (dcl-end-of-command):
23500 Remove unused variable `start'.
23501 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
23502 (dcl-option-value-basic, dcl-option-value-offset)
23503 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
23504 Mark unused parameters.
23505 (dcl-save-local-variable): Remove unused variable `val'.
23508 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
23509 Mark unused parameters.
23510 (delphi-ignore-changes): Move before first use.
23511 (delphi-charset-token-at): Remove unused variable `start'.
23512 (delphi-else-start): Remove unused variable `if-count'.
23513 (delphi-comment-block-start, delphi-comment-block-end):
23514 Remove unused variable `kind'.
23515 (delphi-indent-line): Remove unused variable `new-point'.
23517 * progmodes/ebrowse.el (ebrowse-files-list)
23518 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
23519 Mark unused parameters. Don't quote `lambda'.
23520 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
23521 Don't quote `lambda'.
23522 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
23523 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
23524 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
23525 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
23526 Use `ignore-errors'.
23527 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
23528 (ebrowse-view/find-file-and-search-pattern)
23529 (ebrowse-view/find-member-declaration/definition):
23530 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
23531 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
23532 Rename parameter PREFIX-ARG to PREFIX.
23533 (ebrowse-tags-read-name): Remove unused variables `start' and
23535 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
23538 * progmodes/etags.el (local-find-tag-hook): Declare.
23539 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
23540 Mark unused parameters.
23542 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
23543 (executable-interpret): Mark unused parameter.
23545 * progmodes/flymake.el (flymake-process-sentinel)
23546 (flymake-after-change-function)
23547 (flymake-create-temp-with-folder-structure)
23548 (flymake-get-include-dirs-dot): Mark unused parameters.
23549 (flymake-safe-delete-directory): Remove unused variable `err'.
23551 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
23552 (speedbar-timer-fn, speedbar-line-text)
23553 (speedbar-change-expand-button-char, speedbar-delete-subblock)
23554 (speedbar-center-buffer-smartly): Declare functions.
23555 (gdb-find-watch-expression): Remove unused variable `array'.
23556 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
23557 (gdb-starting): Mark unused parameters.
23558 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
23559 (gdb-table-string): Remove unused variable `res'.
23560 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
23561 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
23562 (gdb-display-buffer): Remove unused variable `cur-size'.
23564 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
23565 allow lexical-binding compilation.
23566 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
23567 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
23568 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
23569 Mark unused parameters.
23570 (gud-gdb-marker-filter): Remove unused variable `match'.
23571 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
23572 lambda expressions and funcall them, instead of using `fset'.
23574 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
23575 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
23577 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
23578 variable `header-beg'; use `let'.
23580 * progmodes/icon.el (indent-icon-exp): Remove unused variables
23581 `restart', `last-sexp' and `at-do'.
23583 * progmodes/js.el (js--debug): Mark unused parameter.
23584 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
23585 (js--splice-into-items): Remove unused variable `item'.
23586 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
23588 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
23589 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
23590 (makefile-complete): Remove unused variable `try'.
23591 (makefile-fill-paragraph, makefile-match-function-end):
23592 Mark unused parameters.
23594 * progmodes/octave-inf.el (inferior-octave-complete):
23595 Remove unused variable `proc'.
23596 (inferior-octave-output-digest): Mark unused parameter.
23598 * progmodes/perl-mode.el (perl-calculate-indent):
23599 Remove unused variable `err'.
23601 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
23602 (prolog-indent-line): Mark unused parameters.
23603 (prolog-indent-line): Remove unused variable `beg'.
23605 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
23606 (reporter-dont-compact-list): Declare.
23608 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
23609 Remove unused variable `char'.
23610 (sh-debug): Mark unused parameter.
23611 (sh-get-indent-info): Remove unused variable `start'.
23612 (sh-calculate-indent): Remove unused variable `var'.
23614 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
23615 (simula-electric-keyword): Remove unused variable `null'.
23616 (simula-search-backward, simula-search-forward): Remove unused
23617 variables `begin' and `end'.
23619 * progmodes/vera-mode.el (vera-guess-basic-syntax):
23620 Remove unused variable `pos'.
23621 (vera-electric-tab, vera-comment-uncomment-region):
23622 Mark unused parameters.
23623 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
23625 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
23627 * emacs-lisp/package.el (package--builtins, package-alist)
23628 (package-load-descriptor, package-built-in-p, package-activate)
23629 (define-package, package-installed-p)
23630 (package-compute-transaction, package-buffer-info)
23631 (package--push): Doc fix. Distinguish more clearly between
23632 version strings and version lists.
23634 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
23636 Lexical-binding cleanup.
23638 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
23639 (5x5-make-mutate-best):
23640 * play/fortune.el (fortune-in-buffer):
23641 * play/gomoku.el (gomoku-init-display):
23642 * play/solitaire.el (solitaire, solitaire-do-check):
23643 * play/tetris.el (tetris-default-update-speed-function):
23644 Mark unused parameters.
23646 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
23647 (bubbles--shift): Remove unused variable `char-org'.
23648 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
23649 (bubbles--show-images): Remove unused variable `char'.
23651 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
23652 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
23653 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
23654 (decipher-analyze-buffer): Use ?\s.
23655 (decipher-make-checkpoint): Remove unused variable `mapping'.
23657 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
23659 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
23660 Remove unused variable `result'; use `let'.
23662 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
23663 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
23664 (gametree-children-shown-p, gametree-compute-reduced-score):
23665 Use `ignore-errors'.
23667 * play/handwrite.el (ps-lpr-switches): Declare.
23668 (handwrite): Remove unused variables `pmin' and `lastp'.
23670 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
23672 * play/landmark.el (landmark-init-display)
23673 (landmark-update-naught-weights): Mark unused parameters.
23674 (landmark-y): Remove unused variable `noise'. Simplify.
23675 (landmark-human-plays): Remove unused variable `score'.
23677 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
23678 (mpuz-try-proposal): Remove unused variable `game'.
23680 * play/zone.el (life-patterns): Declare.
23682 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
23684 * vc/vc.el (ediff-vc-internal): Declare function.
23686 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
23688 * shell.el: Use lexical-binding and std completion UI.
23689 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
23690 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
23691 comint-preoutput-filter-functions rather than on
23692 comint-output-filter-functions.
23693 (shell-command-completion, shell--command-completion-data)
23694 (shell-filename-completion, shell-environment-variable-completion)
23695 (shell-c-a-p-replace-by-expanded-directory): New functions.
23696 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
23697 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
23698 (shell-dynamic-complete-environment-variable): Use them.
23699 (shell-dynamic-complete-as-environment-variable)
23700 (shell-dynamic-complete-as-command): Remove.
23701 (shell-match-partial-variable): Match past point.
23702 * comint.el: Clean up use of completion-at-point-functions.
23703 (comint-completion-at-point): New function.
23704 (comint-mode): Use it completion-at-point-functions.
23705 (comint-dynamic-complete): Make it obsolete.
23706 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
23707 (comint-c-a-p-replace-by-expanded-history): New function.
23708 (comint-dynamic-complete-functions)
23709 (comint-replace-by-expanded-history): Use it.
23710 * minibuffer.el (completion-table-with-terminator): Allow dynamic
23711 termination strings. Try harder to avoid second try-completion.
23712 (completion-in-region-mode-map): Disable bindings that don't work yet.
23714 * comint.el: Use lexical-binding. Require CL.
23715 (comint-dynamic-complete-functions): Use comint-filename-completion.
23716 (comint-completion-addsuffix): Tweak custom type.
23717 (comint-filename-completion, comint--common-suffix)
23718 (comint--common-quoted-suffix, comint--table-subvert)
23719 (comint--complete-file-name-data): New functions.
23720 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
23721 (comint-dynamic-list-filename-completions): Use them.
23722 (comint-dynamic-simple-complete): Make obsolete.
23724 * minibuffer.el (completion-in-region-mode):
23725 Keep completion-in-region-mode--predicate global.
23726 (completion-in-region--postch):
23727 Assume completion-in-region-mode--predicate is not null.
23729 * progmodes/flymake.el (flymake-start-syntax-check-process):
23730 Obey `dir'. Simplify.
23732 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
23733 we're in VC after all.
23735 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
23737 * vc/vc.el (vc-diff-build-argument-list-internal)
23738 (vc-version-ediff, vc-ediff): New commands.
23739 (vc-version-diff): Use vc-diff-build-argument-list-internal.
23741 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
23743 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
23746 * obsolete/erc-hecomplete.el: Make obsolete.
23747 * obsolete/: Standardize obsolescence info in the header.
23749 2011-04-20 Glenn Morris <rgm@gnu.org>
23751 * calendar/solar.el (solar-horizontal-coordinates):
23752 Use the longitude argument rather than `calendar-longitude'.
23753 (solar-date-next-longitude): Remove unused locals.
23755 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
23757 * whitespace.el: New version 13.2.1.
23759 2011-04-20 felix <EmacsWiki> (tiny change)
23761 * whitespace.el (global-whitespace-mode): Keep highlight when
23762 switching between major modes on a file.
23764 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
23766 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
23767 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
23768 multi-line comments as well.
23770 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
23772 Lexical-binding cleanup.
23774 * arc-mode.el (archive-mode-revert):
23775 * cmuscheme.el (scheme-interactively-start-process):
23776 * custom.el (custom-initialize-delay):
23777 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
23778 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
23779 * emacs-lock.el (emacs-lock-clear-sentinel):
23780 * ezimage.el (defezimage):
23781 * follow.el (follow-avoid-tail-recenter):
23782 * fringe.el (set-fringe-mode-1):
23783 * generic-x.el (bat-generic-mode-compile):
23784 * help-mode.el (help-info-variable, help-do-xref)
23785 (help-mode-revert-buffer):
23786 * help.el (view-emacs-todo):
23787 * iswitchb.el (iswitchb-completion-help):
23788 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
23789 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
23790 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
23791 * locate.el (locate-update):
23792 * longlines.el (longlines-encode-region)
23793 (longlines-after-change-function):
23794 * outline.el (outline-isearch-open-invisible):
23795 * ps-def.el (declare-function, charset-dimension, char-width)
23797 * ps-mule.el (ps-mule-plot-string):
23798 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
23799 (recentf-edit-list-select, recentf-edit-list-validate)
23800 (recentf-open-files-action):
23801 * rect.el (delete-whitespace-rectangle-line)
23802 (rectangle-number-line-callback):
23803 * register.el (window-configuration-to-register)
23804 (frame-configuration-to-register):
23805 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
23806 * select.el (xselect-convert-to-string, xselect-convert-to-length)
23807 (xselect-convert-to-targets, xselect-convert-to-delete)
23808 (xselect-convert-to-filename, xselect-convert-to-charpos)
23809 (xselect-convert-to-lineno, xselect-convert-to-colno)
23810 (xselect-convert-to-os, xselect-convert-to-host)
23811 (xselect-convert-to-user, xselect-convert-to-class)
23812 (xselect-convert-to-name, xselect-convert-to-integer)
23813 (xselect-convert-to-atom, xselect-convert-to-identity):
23814 * subr.el (declare, ignore, process-kill-without-query)
23815 (text-clone-maintain):
23816 * terminal.el (te-get-char, te-tic-sentinel):
23817 * tool-bar.el (tool-bar-make-keymap):
23818 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
23819 * type-break.el (type-break-mode, type-break-noninteractive-query):
23820 * view.el (View-back-to-mark):
23821 * wid-browse.el (widget-browse-action, widget-browse-widget)
23822 (widget-browse-widgets, widget-browse-sexp):
23823 * widget.el (define-widget-keywords):
23824 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
23825 Mark unused parameters.
23827 * align.el (align-adjust-col-for-rule): Mark unused parameter.
23828 (align-areas): Remove unused variable `look'.
23829 (align-region): Remove unused variables `real-end' and `pos-list'.
23831 * apropos.el (apropos-score-doc): Remove unused variable `i'.
23833 * bindings.el (mode-line-modified, mode-line-remote):
23834 Mark unused parameters.
23835 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
23837 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
23838 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
23840 * comint.el (comint-history-isearch-pop-state)
23841 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
23842 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
23843 (comint-substitute-in-file-name): Doc fix.
23845 * completion.el (cmpl-statistics-block): Mark unused parameter.
23846 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
23847 (save-completions-to-file, load-completions-from-file):
23848 Remove unused local variable `e'.
23850 * composite.el (compose-chars): Remove unused variable `len'.
23851 (lgstring-insert-glyph): Remove unused variable `g'.
23852 (compose-glyph-string): Remove unused variables `ascent',
23853 `descent', `lbearing' and `rbearing'.
23854 (compose-glyph-string-relative): Remove unused variables
23855 `lbearing', `rbearing' and `wadjust'.
23856 (compose-gstring-for-graphic): Remove unused variables `header',
23857 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
23858 (compose-gstring-for-terminal): Remove unused variables `header'
23859 and `nchars'. Use `let', not `let*'.
23861 * cus-edit.el (Custom-set, Custom-save, custom-reset)
23862 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
23863 (Custom-buffer-done, custom-buffer-create-internal)
23864 (custom-browse-visibility-action, custom-browse-group-tag-action)
23865 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
23866 (widget-magic-mouse-down-action, custom-toggle-parent)
23867 (custom-add-parent-links, custom-toggle-hide-variable)
23868 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
23869 (custom-toggle-hide-face, face, hook, custom-group-link-action)
23870 (custom-face-menu-create, custom-variable-menu-create, get)
23871 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
23872 (custom-reset-standard-save-and-update): Remove unused variable `value'.
23873 (customize-apropos): Remove unused variable `tests'.
23874 (custom-group-value-create): Remove unused variable `hidden-p'.
23875 (sort-fold-case): Declare.
23877 * cus-theme.el (custom-reset-standard-faces-list)
23878 (custom-reset-standard-variables-list): Declare.
23879 (customize-create-theme, custom-theme-revert, custom-theme-write)
23880 (custom-theme-choose-mode, customize-themes, custom-theme-save):
23881 Mark unused parameters.
23883 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
23885 * delim-col.el (delimit-columns-max): Move defvar before first use.
23887 * descr-text.el (describe-char-categories): Don't quote `lambda'.
23888 (describe-char): Don't quote `lambda'. Mark unused parameter.
23890 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
23891 (auto-insert): Declare.
23892 (desktop-restore-file-buffer): Rename desktop-* parameters;
23894 (desktop-create-buffer): Rename desktop-* parameters and bind them.
23895 (desktop-buffer): Rename desktop-* parameters.
23897 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
23898 (dframe-reposition-frame-xemacs, dframe-help-echo)
23899 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
23900 Mark unused parameters.
23902 * dired-aux.el (backup-extract-version-start, overwrite-query)
23903 (overwrite-backup-query, rename-regexp-query)
23904 (rename-non-directory-query): Declare.
23905 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
23906 (dired-add-entry): Remove unused variable `orig-file-name'.
23907 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
23908 Use parameter PRESERVE-TIME instead of accessing dynamic variable
23909 `dired-copy-preserve-time' directly.
23910 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
23911 (dired-insert-subdir-newpos): Rename unused variable `pos'.
23913 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
23914 (dired-virtual-revert, dired-make-relative-symlink):
23915 Mark unused parameters.
23916 (manual-program): Declare.
23917 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
23918 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
23919 wrapped in `with-no-warnings' to avoid replacing one warning by another.
23921 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
23923 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
23925 * echistory.el (electric-history-in-progress, Helper-return-blurb):
23928 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
23930 * electric.el (Electric-command-loop): Rename parameter
23931 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
23933 * expand.el (expand-in-literal): Remove unused variable `here'.
23935 * facemenu.el (facemenu-add-new-color):
23936 Remove unused variable `docstring'.
23938 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
23939 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
23940 (face-attr-construct): Mark unused parameter. Doc fix.
23941 (read-color): Remove unused variable `hex-string'.
23943 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
23944 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
23945 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
23946 (display-buffer-other-frame): Remove unused variable `old-window'.
23947 (kill-buffer-hook): Declare.
23948 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
23949 Mark unused parameters.
23950 (after-find-file): Pass 1 to `auto-save-mode', not t.
23952 * files-x.el (auto-insert): Declare.
23953 (modify-file-local-variable-prop-line): Remove unused variable `val'.
23955 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
23956 variable `buf'. Mark unused parameter.
23957 (find-lisp-insert-directory): Mark unused parameter.
23959 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
23960 (format-encode-region): Remove unused variables `cur-buf' and `result'.
23961 (format-common-tail): Remove, unused.
23962 (format-deannotate-region): Remove unused variable `loc'.
23963 (format-annotate-region): Remove unused variable `p'.
23964 (format-annotate-single-property-change): Remove unused variables
23965 `default' and `tail'.
23967 * forms.el (read-file-filter): Declare.
23968 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
23970 * frame.el (frame-creation-function-alist): Mark unused parameter.
23971 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
23973 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
23974 Remove unused parameters.
23975 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
23976 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
23978 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
23979 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
23980 (hfy-prepare-tag-map): Mark unused parameters.
23981 (htmlfontify-buffer): Use `called-interactively-p'.
23983 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
23984 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
23985 (ibuffer-do-occur): Mark unused parameters.
23986 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
23987 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
23989 * ibuffer.el: Don't quote `lambda'.
23990 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
23991 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
23992 Mark unused parameters.
23994 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
23995 (ido-completing-read): Mark unused parameters.
23996 (ido-copy-current-word): Mark unused parameters;
23997 remove unused variable `name'.
23998 (ido-sort-merged-list): Remove unused parameter `dirs'.
24000 * ielm.el (ielm-input-sender): Mark unused parameter.
24001 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
24002 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
24003 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
24004 `ielm-string' as a dynamic variable accessible from the IELM prompt.
24005 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
24007 * image-dired.el (image-dired-display-thumbs): Remove unused
24008 variables `curr-file' and `count'.
24009 (image-dired-remove-tag): Remove unused variable `start'.
24010 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
24011 variable `curr-file'
24012 (image-dired-rotate-original): Remove unused variable `temp-file'.
24013 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
24014 Remove unused variable `file'.
24015 (image-dired-gallery-generate): Remove unused variable `curr'.
24016 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
24018 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
24020 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
24022 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
24024 * isearch.el (minibuffer-history-symbol): Declare.
24025 (isearch-edit-string): Remove unused variable `err'.
24026 (isearch-message-prefix, isearch-message-suffix):
24027 Mark unused parameters.
24029 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
24031 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
24033 * makesum.el (double-column): Remove unused variable `cnt'.
24035 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
24036 (ido-ignore-item-temp-list): Declare.
24038 * mouse-drag.el (mouse-drag-throw): Remove unused variables
24039 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
24040 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
24041 (mouse-drag-drag): Remove unused variables `mouse-delta' and
24044 * mouse-sel.el (mouse-extend-internal):
24045 Remove unused variable `orig-window-frame'.
24047 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
24048 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
24049 Move declarations before first use.
24050 (pcomplete-opt): Mark unused parameters; doc fix.
24052 * proced.el (proced-revert): Mark unused parameter.
24053 (proced-send-signal): Remove unused variable `err'.
24055 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
24056 Rename parameter PREFIX-ARG to ARG.
24057 (ps-basic-plot-string, ps-basic-plot-whitespace):
24058 Mark unused parameters.
24060 * replace.el (replace-count): Define.
24061 (occur-revert-function): Mark unused parameters.
24062 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
24063 (isearch-case-fold-search, isearch-string): Declare.
24064 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
24065 bind `case-fold-search'. Remove unused variables `beg' and `end',
24067 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
24068 COUNT and bind `replace-count'.
24069 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
24072 * savehist.el (print-readably, print-string-length): Declare.
24074 * shadowfile.el (shadow-expand-cluster-in-file-name):
24075 Remove unused variable `cluster'.
24076 (shadow-copy-file): Remove unused variable `i'.
24077 (shadow-noquery, shadow-clusters, shadow-site-cluster)
24078 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
24079 (shadow-define-literal-group, shadow-define-regexp-group)
24080 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
24082 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
24083 (shell): Use `called-interactively-p'.
24084 (shell-directory-tracker): Remove unused variable `chdir-failure'.
24086 * simple.el (compilation-context-lines, comint-file-name-quote-list)
24087 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
24088 (delete-backward-char): Remove unused variable `ocol'.
24089 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
24090 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
24091 (event-apply-hyper-modifier, event-apply-shift-modifier)
24092 (event-apply-control-modifier, event-apply-meta-modifier):
24093 Mark unused parameters.
24094 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
24095 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
24097 * speedbar.el (speedbar-ignored-directory-expressions)
24098 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
24099 (speedbar-find-file, speedbar-dir-follow)
24100 (speedbar-directory-buttons-follow, speedbar-tag-find)
24101 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
24102 (speedbar-buffers-line-directory, speedbar-buffer-click):
24103 Mark unused parameters.
24104 (speedbar-tag-file): Remove unused variable `mode'.
24105 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
24107 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
24109 * talk.el (talk): Remove unused variable `display'.
24111 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
24112 (tar-write-region-annotate): Mark unused parameter.
24114 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
24115 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
24116 Declare them, wrapped in `with-no-warnings' to avoid replacing one
24117 warning by another.
24119 * time-stamp.el (time-stamp-string-preprocess):
24120 Remove unused variable `require-padding'.
24122 * tree-widget.el (widget-glyph-enable): Declare.
24123 (tree-widget-action): Mark unused parameter.
24125 * w32-fns.el (x-get-selection): Mark unused parameter.
24126 (autoload-make-program, generated-autoload-file): Declare.
24128 * wdired.el (wdired-revert): Mark unused parameters.
24129 (wdired-xcase-word): Remove unused variable `err'.
24131 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
24132 (whitespace-help-scroll): Remove unused variable `data-help'.
24134 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
24135 (widget-image-insert, widget-after-change, default)
24136 (widget-default-format-handler, widget-default-notify)
24137 (widget-default-prompt-value, widget-info-link-action)
24138 (widget-url-link-action, widget-function-link-action)
24139 (widget-variable-link-action, widget-file-link-action)
24140 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
24141 (widget-field-prompt-internal, widget-field-action, widget-field-match)
24142 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
24143 (widget-insert-button-action, widget-delete-button-action, visibility)
24144 (widget-documentation-link-action, widget-documentation-string-action)
24145 (widget-const-prompt-value, widget-regexp-match, symbol)
24146 (widget-coding-system-prompt-value)
24147 (widget-key-sequence-value-to-external, sexp)
24148 (widget-sexp-value-to-internal, character, vector, cons)
24149 (widget-choice-prompt-value, widget-boolean-prompt-value)
24150 (widget-color--choose-action): Mark unused parameters.
24151 (widget-item-match-inline, widget-choice-match-inline)
24152 (widget-checklist-match, widget-checklist-match-inline)
24153 (widget-group-match): Rename parameter VALUES to VALS.
24154 (widget-field-value-set): Remove unused variable `size'.
24155 (widget-color-action): Remove unused variables `value' and `start'.
24157 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
24158 variable `dir'. Doc fix.
24159 (windmove-find-other-window): Don't pass it.
24161 * window.el (count-windows): Mark unused parameter.
24162 (bw-adjust-window): Remove unused variable `err'.
24164 * woman.el (woman-file-name): Remove unused variable `default'.
24165 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
24166 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
24167 (global-font-lock-mode): Declare.
24168 (woman-decode-region): Mark unused parameter.
24169 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
24171 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
24172 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
24173 (x-dnd-handle-moz-url): Remove unused variable `title'.
24174 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
24176 * xml.el (xml-parse-tag, xml-parse-attlist):
24177 Remove unused variable `pos'.
24179 2011-04-19 Glenn Morris <rgm@gnu.org>
24181 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
24182 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
24183 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
24184 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
24185 * calendar/cal-html.el (cal-html-insert-minical):
24186 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
24187 (calendar-mark-date-pattern):
24188 Prefix "unused" locals.
24190 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
24191 optional argument `style'.
24193 * calendar/appt.el (appt-make-list):
24194 * calendar/cal-china.el (calendar-chinese-date-string):
24195 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
24196 (diary-hebrew-yahrzeit):
24197 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
24198 * calendar/calendar.el (calendar-generate-window):
24199 * calendar/time-date.el (time-to-days):
24200 Remove unused local variables.
24202 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
24204 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
24205 glyphless-char-display table.
24206 (tabulated-list-glyphless-char-display): New var.
24208 2011-04-18 Sam Steingold <sds@gnu.org>
24210 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
24211 to acknowledgments.
24213 2011-04-17 Glenn Morris <rgm@gnu.org>
24215 * calendar/diary-lib.el (diary-sexp-entry):
24216 * calendar/holidays.el (holiday-sexp):
24217 Set debug-on-error rather than the removed stack-trace-on-error.
24219 2011-04-16 Glenn Morris <rgm@gnu.org>
24221 * progmodes/f90.el: Use lexical-binding.
24222 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
24224 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
24226 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
24227 (mail-mode): Setup mailalias completion here instead.
24228 * mail/mailalias.el: Use lexical-binding.
24229 (pattern, mailalias-done): Declare dynamic.
24230 (mail-completion-at-point-function): New function, from mail-complete.
24231 (mail-complete): Use it.
24232 (mail-completion-expand): New function.
24233 (mail-get-names): Use it.
24234 (mail-directory, mail-directory-process, mail-directory-stream):
24235 Don't use `pattern' for lexically bound arg.
24237 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
24239 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
24240 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
24241 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
24243 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
24244 (byte-save-window-excursion, byte-temp-output-buffer-setup)
24245 (byte-interactive-p): Define them again, for use when inlining
24248 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
24250 * loadup.el: Use `string-to-number', not `string-to-int'.
24252 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
24254 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
24255 gud-gdb-complete-command.
24256 (gud-gdb-completions): New function, from gud-gdb-complete-command.
24257 (gud-gdb-completion-at-point): New function.
24258 (gud-gdb-completions): Remove.
24260 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
24262 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
24263 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
24264 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
24265 whether `executable-find' is bound.
24267 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
24269 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
24271 * minibuffer.el (completion-in-region-mode-predicate)
24272 (completion-in-region-mode--predicate): New vars.
24273 (completion-in-region, completion-in-region--postch)
24274 (completion-in-region-mode): Use them.
24275 (completion--capf-wrapper): Also return the hook function.
24276 (completion-at-point, completion-help-at-point):
24277 Adjust and provide a predicate.
24279 Preserve arg names for advice of subr and lexical functions (bug#8457).
24280 * help-fns.el (help-function-arglist): Consolidate the subr and
24281 new-byte-code cases. Add argument `preserve-names' to extract names
24282 from the docstring when needed.
24283 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
24284 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
24285 (ad-arglist): Use help-function-arglist's new arg.
24286 (ad-definition-type): Use cond.
24288 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
24290 * autorevert.el (auto-revert-handler):
24291 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
24292 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
24293 Don't quote lambda.
24295 * image-mode.el (image-transform-set-scale):
24296 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
24298 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
24300 * net/network-stream.el (network-stream-open-starttls): Only do
24301 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
24302 Upgrades via gnutls-cli are too slow to be done opportunistically.
24304 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
24306 * dframe.el (dframe-current-frame): Remove spurious quote.
24308 2011-04-12 Glenn Morris <rgm@gnu.org>
24310 * calendar/cal-tex.el (cal-tex-end-document):
24311 Try to automatically use latin1 input if needed.
24313 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
24314 Don't try to cons a mark onto an empty element.
24316 2011-04-11 Leo Liu <sdl.web@gmail.com>
24318 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
24320 (ido-kill-buffer-at-head): Support killing virtual buffers.
24322 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
24324 * minibuffer.el (completion-show-inline-help): New var.
24325 (completion--do-completion, minibuffer-complete)
24326 (minibuffer-force-complete, minibuffer-complete-word):
24327 Inhibit minibuffer messages if completion-show-inline-help is nil.
24329 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
24330 to avoid interference from inline help (Bug#5849).
24332 2011-04-10 Leo Liu <sdl.web@gmail.com>
24334 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
24337 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
24339 * image-mode.el (image-toggle-display-image): Signal an error if
24341 (image-transform-mode, image-transform-resize)
24342 (image-transform-set-rotation): Doc fix.
24343 (image-transform-set-resize): Delete.
24344 (image-transform-set-scale, image-transform-fit-to-height)
24345 (image-transform-fit-to-width): Handle image-toggle-display-image
24346 and image-transform-resize directly.
24348 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
24350 * doc-view.el (doc-view-fit-width-to-window)
24351 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
24352 New functions for fitting the shown image to the Emacs window size.
24353 (doc-view-mode-map): Add bindings for the new functions.
24355 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
24357 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
24358 Fix typo in docstring.
24360 2011-04-08 Eli Zaretskii <eliz@gnu.org>
24362 * files.el (file-size-human-readable): Produce one digit after
24363 decimal, like "ls -lh" does.
24365 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
24366 the file size representation.
24368 * simple.el (list-processes): If async subprocesses are not
24369 available, error out with a clear error message.
24371 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
24373 * help.el (help-form-show): New function, to be called from C.
24374 Put help-form output in a buffer named differently than *Help*.
24376 2011-04-08 Eli Zaretskii <eliz@gnu.org>
24378 * files.el (file-size-human-readable): New function.
24380 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
24381 computing the representation inline. Don't require `cl'.
24383 2011-04-08 Glenn Morris <rgm@gnu.org>
24385 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
24387 * net/browse-url.el (browse-url-firefox):
24388 Test system-type, not system-configuration.
24390 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
24391 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
24392 Use log-edit-empty-buffer-p. (Bug#7598)
24394 * net/rlogin.el (rlogin-process-connection-type): Simplify.
24395 (rlogin-mode-map): Initialize in the defvar.
24396 (rlogin): Use ignore-errors.
24398 * replace.el (occur-mode-map): Some fixes for menu items.
24400 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
24402 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
24404 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
24406 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
24407 issuing unused warnings.
24409 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
24412 * simple.el: Lisp reimplement of list-processes. Based on an
24413 earlier reimplementation by Leo Liu, but using tabulated-list.el.
24414 (process-menu-mode): New major mode.
24415 (list-processes--refresh, list-processes):
24416 (process-menu-visit-buffer): New functions.
24418 * files.el (save-buffers-kill-emacs): Don't assume any return
24419 value of list-processes, which is undocumented anyway.
24421 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
24423 * emacs-lisp/tabulated-list.el: New file.
24425 * emacs-lisp/package.el: Use Tabulated List mode.
24426 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
24427 (package-menu-mode): Derive from tabulated-list-mode. Set up the
24428 table format using Tabulated List mode variables.
24429 (package--push): New macro, replacing package-list-maybe-add.
24430 (package-menu--generate): Use package--push. Renamed from
24431 package--generate-package-list.
24432 (package-menu-refresh, list-packages): Use it.
24433 (package-menu--print-info): Rename from package-print-package.
24434 Return insertion data instead of inserting it directly.
24435 (package-menu-describe-package, package-menu-execute):
24436 Use tabulated-list-get-id.
24437 (package-menu-mark-delete, package-menu-mark-install)
24438 (package-menu-mark-unmark, package-menu-backup-unmark)
24439 (package-menu-mark-obsolete-for-deletion):
24440 Use tabulated-list-put-tag.
24441 (package--list-packages, package-menu-revert)
24442 (package-menu-get-package, package-menu-get-version)
24443 (package-menu-sort-by-column): Functions deleted.
24444 (package-menu-package-list, package-menu-sort-key): Vars deleted.
24445 (package-menu--status-predicate, package-menu--version-predicate)
24446 (package-menu--name-predicate)
24447 (package-menu--description-predicate): Handle arguments in the
24448 Tabulated List format.
24449 (package-list-packages-no-fetch): Call list-packages.
24451 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
24453 * files.el (after-find-file-from-revert-buffer): Remove variable.
24454 (after-find-file): Don't bind it.
24455 (revert-buffer-in-progress-p): New variable.
24456 (revert-buffer): Bind it.
24457 Pass nil for `after-find-file-from-revert-buffer'.
24459 * saveplace.el (save-place-find-file-hook): Use new variable
24460 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
24462 2011-04-06 Glenn Morris <rgm@gnu.org>
24464 * Makefile.in (AUTOGEN_VCS): New variable.
24465 (autoloads): Use $AUTOGEN_VCS.
24467 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
24468 * calendar/calendar.el (calendar-mode-map):
24469 Check for toolkit scroll bars. (Bug#8305)
24471 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
24473 * minibuffer.el (completion-in-region--postch)
24474 (completion-in-region-mode): Remove unnecessary messages.
24476 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
24478 * font-lock.el (font-lock-refresh-defaults):
24479 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
24480 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
24482 * info.el (Info-directory-list, Info-read-node-name-2)
24483 (Info-split-parameter-string): Doc fixes.
24484 (Info-virtual-nodes): Reflow docstring.
24485 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
24486 (Info-apropos-toc-nodes, info-finder, Info-get-token)
24487 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
24488 Fix typos in docstrings.
24489 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
24490 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
24491 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
24492 (Info-restore-desktop-buffer): Mark unused parameters.
24493 (Info-directory-find-file, Info-directory-find-node)
24494 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
24495 (Info-virtual-index-find-node, Info-apropos-find-file)
24496 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
24497 Mark unused parameters; fix typos in docstrings.
24498 (Info-virtual-index): Remove unused local variable `nodename'.
24500 2011-04-05 Deniz Dogan <deniz@dogan.se>
24502 * net/rcirc.el: Update my e-mail address.
24503 (rcirc-mode-map): Remove M-o binding.
24505 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
24507 * startup.el (command-line): Save the cursor's theme-face
24508 directly, instead of using face-override-spec.
24510 * custom.el (load-theme): Minor optimization in assigning faces.
24512 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
24514 * help-fns.el (describe-variable): Complete all variables having
24515 documentation, including keywords.
24516 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
24518 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
24520 Convert to lexical-binding.
24522 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
24523 (bs--get-marked-string, bs--get-modified-string)
24524 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
24525 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
24526 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
24528 * ehelp.el (electric-help-execute-extended)
24529 (electric-help-ctrl-x-prefix):
24530 * hexl.el (hexl-revert-buffer-function):
24531 * linum.el (linum-after-change, linum-after-scroll):
24532 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
24534 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
24536 2011-04-04 Daiki Ueno <ueno@unixuser.org>
24543 * epg.el: Use lexical binding.
24545 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
24547 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
24549 * textmodes/flyspell.el (flyspell-word): Recognize default
24550 dictionary case for flyspell-mark-duplications-exceptions.
24551 Use regexp matching for languages.
24552 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
24553 default dictionary (Bug#7926).
24555 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
24557 * emacs-lisp/package.el (package--with-work-buffer):
24558 Recognize https URLs.
24560 * net/network-stream.el: Move from gnus/proto-stream.el.
24561 Change prefix to network-stream throughout.
24562 (open-protocol-stream): Merge into open-network-stream, leaving
24563 open-protocol-stream as an alias. Handle nil BUFFER args.
24565 * subr.el (open-network-stream): Move to net/network-stream.el.
24567 2011-04-02 Glenn Morris <rgm@gnu.org>
24569 * find-dired.el (find-exec-terminator): New option.
24570 (find-ls-option): Test for -ls support.
24571 (find-ls-subdir-switches): Test for -b in find-ls-option.
24572 (find-dired, find-grep-dired): Doc fixes.
24573 (find-dired): Use find-exec-terminator.
24575 * find-dired.el (find-ls-option, find-ls-subdir-switches)
24576 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
24577 (find-name-arg): Remove purecopy.
24579 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
24580 (grep-compute-defaults): Check for `-exec COMMAND +' support.
24581 Set grep-find-use-xargs, grep-find-command, and grep-find-template
24582 accordingly. Don't add the null-device if not needed.
24584 * files.el (save-some-buffers): Doc fix.
24586 2011-04-02 Eli Zaretskii <eliz@gnu.org>
24588 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
24590 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
24592 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
24593 Use `dolist' rather than `mapcar'.
24595 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
24597 Add lexical binding.
24599 * subr.el (apply-partially): Use new closures rather than CL.
24600 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
24601 (dolist, dotimes): Use slightly different expansion for lexical code.
24602 (functionp): Move to C.
24603 (letrec): New macro.
24604 (with-wrapper-hook): Use it and apply-partially instead of CL.
24605 (eval-after-load): Preserve lexical-binding.
24606 (save-window-excursion, with-output-to-temp-buffer): Turn them
24609 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
24611 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
24613 (help-add-fundoc-usage): Don't add `Not documented'.
24614 (help-function-arglist): Handle closures, subroutines, and new
24615 byte-code-functions.
24616 (help-make-usage): Remove leading underscores.
24617 (describe-function-1): Handle closures.
24618 (describe-variable): Use special-variable-p for completion.
24620 * files.el (lexical-binding): Declare safe.
24622 * emacs-lisp/pcase.el: Don't use destructuring-bind.
24623 (pcase--memoize): Rename from pcase-memoize. Change weakness.
24624 (pcase): Add `let' pattern.
24625 Change memoization so it actually works.
24626 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
24627 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
24630 * emacs-lisp/macroexp.el: Use lexical binding.
24631 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
24632 Don't convert ' to #' without checking that it's indeed quoting
24635 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
24636 Use eval-sexp-add-defvars.
24637 (eval-sexp-add-defvars): New fun.
24639 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
24641 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
24643 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
24644 than the internal `byte-compile-lambda'.
24645 (defmethod): Don't hide code under quotes.
24646 (eieio-defmethod): New `code' argument.
24648 * emacs-lisp/eieio-comp.el: Remove.
24650 * emacs-lisp/edebug.el (edebug-eval-defun)
24651 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
24652 (edebug-toggle): Avoid `eval'.
24654 * emacs-lisp/disass.el (disassemble-internal): Handle new
24656 (disassemble-1): Handle new byte codes.
24658 * emacs-lisp/cl.el (pushnew): Silence warning.
24660 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
24661 (cl-byte-compile-throw): Remove.
24662 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
24664 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
24667 * emacs-lisp/cconv.el: New file.
24669 * emacs-lisp/bytecomp.el: Use lexical binding instead of
24670 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
24671 (byte-compile-initial-macro-environment):
24672 Handle declare-function here.
24673 (byte-compile--lexical-environment): New var.
24674 (byte-stack-ref, byte-stack-set, byte-discardN)
24675 (byte-discardN-preserve-tos): New lap codes.
24676 (byte-interactive-p): Don't use any more.
24677 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
24679 (byte-compile-lapcode): Use them and handle new lap codes.
24680 (byte-compile-obsolete): Remove.
24681 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
24682 (byte-compile-arglist-warn): Check late def of inlinable funs.
24683 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
24684 since they should have been expanded by now.
24685 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
24686 (byte-compile-from-buffer): Remove unused second arg.
24687 (byte-compile-preprocess): New function.
24688 (byte-compile-toplevel-file-form): New function to distinguish
24689 file-form calls from outside from file-form calls from hunk-handlers.
24690 (byte-compile-file-form): Simplify.
24691 (byte-compile-file-form-defsubst): Remove.
24692 (byte-compile-file-form-defmumble): Simplify now that
24693 byte-compile-lambda always returns a byte-code-function.
24694 (byte-compile): Preprocess.
24695 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
24696 Remove, not used any more.
24697 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
24698 (byte-compile-make-args-desc): New funs.
24699 (byte-compile-lambda): Handle lexical functions. Always return
24700 a byte-code-function.
24701 (byte-compile-reserved-constants): New var, to make up room for
24702 closed-over variables.
24703 (byte-compile-constants-vector): Obey it.
24704 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
24705 (byte-compile-macroexpand-declare-function): New function.
24706 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
24707 byte-code-functions.
24708 (byte-compile-form): Check obsolescence here.
24709 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
24710 (byte-compile-variable-ref): Remove.
24711 (byte-compile-dynamic-variable-op): New fun.
24712 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
24713 (byte-compile-variable-set): New funs.
24714 (byte-compile-discard): Add 2 args.
24715 (byte-compile-stack-ref, byte-compile-stack-set)
24716 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
24717 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
24718 macroexpand-all instead.
24719 (byte-compile-quote-form): Remove.
24720 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
24721 (byte-compile-bind, byte-compile-unbind): New funs.
24722 (byte-compile-let): Handle let* and lexical binding.
24723 (byte-compile-let*): Remove.
24724 (byte-compile-catch, byte-compile-unwind-protect)
24725 (byte-compile-track-mouse, byte-compile-condition-case):
24726 Handle a new :fun-body form, used for lexical scoping.
24727 (byte-compile-save-window-excursion)
24728 (byte-compile-with-output-to-temp-buffer): Remove.
24729 (byte-compile-defun): Simplify.
24730 (byte-compile-stack-adjustment): New fun.
24731 (byte-compile-out): Use it.
24732 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
24734 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
24737 * emacs-lisp/byte-opt.el: Use lexical binding.
24738 (byte-inline-lapcode): Remove (to bytecomp).
24739 (byte-compile-inline-expand): Pay attention to inlining to/from
24740 lexically bound code.
24741 (byte-compile-unfold-lambda): Don't handle byte-code-functions
24743 (byte-optimize-form-code-walker): Don't handle save-window-excursion
24744 any more and don't call compiler-macros.
24745 (byte-compile-splice-in-already-compiled-code): Remove.
24746 (byte-code): Don't inline any more.
24747 (disassemble-offset): Receive `bytes' as argument rather than via
24749 (byte-compile-tag-number): Declare before first use.
24750 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
24751 `return' even if make-spliceable.
24752 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
24753 obsolete interactive-p.
24754 (byte-optimize-lapcode): Optimize new lap-codes.
24755 Don't trip up on new form of `byte-constant' lap code.
24757 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
24759 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
24761 * custom.el (custom-initialize-default, custom-declare-variable):
24764 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
24766 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
24767 (COMPILE_FIRST): Add macroexp and cconv.
24768 * makefile.w32-in: Mirror changes in Makefile.in.
24770 * vc/cvs-status.el:
24774 * vc/smerge-mode.el:
24775 * textmodes/bibtex-style.el:
24776 * textmodes/css-mode.el:
24784 * emacs-lisp/smie.el:
24787 * abbrev.el: Use lexical binding.
24789 2011-04-01 Eli Zaretskii <eliz@gnu.org>
24791 * info.el (info-display-manual): New function.
24793 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
24795 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
24797 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
24799 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
24800 an entry for that server in rcirc-authinfo. (Bug#8385)
24802 2011-03-31 Glenn Morris <rgm@gnu.org>
24804 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
24806 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
24808 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
24810 * progmodes/python.el (python-default-interpreter)
24811 (python-python-command-args, python-jython-command-args)
24812 (python-which-shell, python-which-args, python-which-bufname)
24813 (python-file-queue, python-comint-output-filter-function)
24814 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
24815 variables and functions.
24817 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
24819 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
24820 (completion-in-region-mode): New minor mode.
24821 (completion-in-region): Use it.
24822 (completion-in-region--data, completion-in-region-mode-map): New vars.
24823 (completion-in-region--postch): New function.
24824 (completion--capf-misbehave-funs, completion--capf-safe-funs):
24826 (completion--capf-wrapper): New function.
24827 (completion-at-point): Use it to track well-behavedness of
24829 (completion-help-at-point): New command.
24831 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
24833 * vc/add-log.el (add-change-log-entry): Don't use whitespace
24834 syntax class to search for whitespace on a single line
24835 (Message-ID: <4D938140.4030905@redhat.com>).
24837 2011-03-30 Leo Liu <sdl.web@gmail.com>
24839 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
24841 (edit-abbrevs-map): Bind them here.
24842 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
24844 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
24846 * allout.el (allout-hide-by-annotation, allout-flag-region):
24847 Reduce possibility of overlay leakage by making them volatile.
24849 * allout-widgets.el (allout-widgets-tally): Define as nil so the
24850 hash is not shared between buffers. Mode initialization is
24851 responsible for giving it a useful starting value.
24852 (allout-item-span): Reduce possibility of overlay leakage by
24853 making them volatile.
24854 (allout-widgets-count-buttons-in-region): Add diagnostic function
24855 for tracking down button overlay leaks.
24857 2011-03-29 Leo Liu <sdl.web@gmail.com>
24859 * ido.el (ido-read-internal): Use the default history var
24860 minibuffer-history if no HISTORY is specified.
24862 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
24864 * net/imap.el (imap-shell-open, imap-process-connection-type):
24865 Use imap-process-connection-type for 'shell' streams as well as
24866 Kerberos, SSL, other subprocesses.
24868 2011-03-28 Leo Liu <sdl.web@gmail.com>
24870 * abbrev.el (abbrev-table-empty-p): New function.
24871 (prepare-abbrev-list-buffer): Place empty abbrev tables after
24872 nonempty ones. (Bug#5937)
24874 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
24876 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
24878 2011-03-27 Leo Liu <sdl.web@gmail.com>
24880 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
24881 for foreground and background colors.
24882 (ansi-color-make-color-map): Adapt.
24884 2011-03-25 Leo Liu <sdl.web@gmail.com>
24886 * midnight.el (midnight-time-float): Remove. Note it calculates
24887 the microsecond component incorrectly and seconds-to-time does the
24889 Remove redundant (require 'timer).
24891 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
24892 (ido-completions): Remove unused arguments. (Bug#8329)
24894 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
24896 * minibuffer.el (completion--flush-all-sorted-completions):
24897 Remove itself from hook.
24898 (completion-at-point): Let the functions perform the completion
24899 immediately and return nil or t.
24900 * comint.el (comint-dynamic-complete-functions): Now identical to
24901 completion-at-point-functions.
24902 (comint-dynamic-list-input-ring): Remove unused var `index'.
24903 (comint--match-partial-filename, comint--unquote&expand-filename):
24904 New funs, split from comint-match-partial-filename.
24905 (comint-dynamic-complete): Use completion-at-point.
24906 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
24908 2011-03-24 Drew Adams <drew.adams@oracle.com>
24910 * thingatpt.el: Support `defun'.
24912 2011-03-23 Leo Liu <sdl.web@gmail.com>
24914 * abbrevlist.el: Move to obsolete/abbrevlist.el.
24916 * help-mode.el (help-mode-finish): Tweak regexp.
24918 2011-03-23 Glenn Morris <rgm@gnu.org>
24920 * eshell/esh-opt.el (eshell-eval-using-options):
24921 Do not bind unused local variable `eshell-option-stub'.
24923 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
24925 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
24927 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
24928 keymap variable in `with-no-warnings' to avoid a warning when the
24929 keymap has been already `defconst'ed.
24931 2011-03-22 Leo Liu <sdl.web@gmail.com>
24933 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
24934 encode all chars in abbrevs; otherwise use emacs-mule or
24935 utf-8-emacs. (Bug#8308)
24937 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
24939 * simple.el (backward-delete-char-untabify):
24940 Avoid warning about using `delete-backward-char'.
24942 * image.el (image-type-file-name-regexps): Make it variable.
24943 `imagemagick-register-types' modifies it, and the user may want
24944 to add new extensions for known image types.
24945 (imagemagick-register-types): Throw error if not using ImageMagick.
24947 2011-03-22 Leo Liu <sdl.web@gmail.com>
24949 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
24950 located before rcirc-prompt-end-marker.
24951 (rcirc-complete): Error if point is not after rcirc prompt.
24952 Handle the case when table is nil.
24953 (rcirc-user-authenticated): Define to fix compiler warning.
24955 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
24957 * custom.el (custom--inhibit-theme-enable): Make it affect only
24958 custom-theme-set-variables and custom-theme-set-faces.
24959 (provide-theme): Ignore custom--inhibit-theme-enable.
24960 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
24961 (custom-enabling-themes): Delete variable.
24962 (enable-theme): Accept only loaded themes as arguments.
24963 Ignore the special custom-enabled-themes variable.
24964 (custom-enabled-themes): Forbid themes from setting this.
24965 Eliminate use of custom-enabling-themes.
24966 (custom-push-theme): Quote "changed" custom var entry.
24968 2011-03-21 Leo Liu <sdl.web@gmail.com>
24970 * ido.el (ido-read-internal): Add ido-selected to history instead
24973 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
24975 * subr.el (deferred-action-list, deferred-action-function):
24978 2011-03-21 Leo Liu <sdl.web@gmail.com>
24980 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
24981 change on 2011-02-13 (bug#8309).
24983 * minibuffer.el (read-file-name-function): Change default value.
24984 (read-file-name--defaults): Rename from read-file-name-defaults.
24985 (read-file-name-default): Rename from read-file-name.
24986 (read-file-name): Call read-file-name-function.
24988 2011-03-21 Glenn Morris <rgm@gnu.org>
24990 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
24993 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
24995 * cus-theme.el: Add missing provide statement.
24996 (customize-create-theme): Extract theme value correctly.
24997 (custom-theme-visit-theme): Autoload.
24998 (customize-create-theme): Prompt before inserting default faces.
25000 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
25002 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
25003 units and musical notes.
25005 2011-03-20 Leo Liu <sdl.web@gmail.com>
25007 * ido.el (ido-read-internal): Use completing-read-default.
25008 (ido-completing-read): Fix compatibility with completing-read.
25010 2011-03-20 Christian Ohler <ohler@gnu.org>
25012 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
25013 (ert-delete-all-tests): Use `called-interactively-p' rather than
25015 (ert--make-xrefs-region): Respect END.
25017 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
25019 * dired-aux.el (dired-create-directory): Signal an error if the
25020 directory already exists (Bug#8246).
25022 * facemenu.el (list-colors-display): Call list-faces-display
25023 inside with-help-window.
25024 (list-colors-print): Use display property to align the final
25025 column, instead of checking window-width.
25027 2011-03-19 Eli Zaretskii <eliz@gnu.org>
25029 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
25030 windows-nt systems.
25031 (emerge-protect-metachars): Quote correctly for ms-dos and
25032 windows-nt systems.
25034 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
25036 * info.el (info-initialize): Replace all uses of `:' with
25037 path-separator for compatibility with non-Unix systems.
25038 Cache quoting of path-separator. (Bug#8258)
25040 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
25042 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
25043 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
25044 (mouse-avoidance-mode): Fix typos in docstrings.
25046 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
25048 * startup.el (package-subdirectory-regexp): Move from package.el.
25049 Omit \\` and \\', and let callers add them.
25051 * emacs-lisp/package.el (package-strip-version)
25052 (package-load-all-descriptors): Add \\` and \\' to
25053 package-subdirectory-regexp before using it.
25054 (package-untar-buffer): New arg DIR; ensure that file untars only
25055 into this expected directory. Remove superfluous delete-region.
25056 (package-unpack): Caller changed.
25057 (package-tar-file-info): Use package-subdirectory-regexp.
25059 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
25061 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
25062 diff-mode-shared-map (bug#8284).
25063 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
25065 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
25067 * calendar/time-date.el (format-seconds): Use assoc instead of
25068 assoc-string, since assoc-string doesn't exist in XEmacs.
25070 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
25072 * custom.el (custom-known-themes): Reflow docstring.
25073 (custom-theme-load-path): Fix typo in docstring.
25074 (load-theme): Fix typo in error message.
25075 (custom-available-themes, custom-variable-theme-value):
25076 Use `let', not `let*'.
25078 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
25080 * calc/README: Mention inclusion of musical notes.
25082 * calc/calc-units.el (calc-lu-quant): Rename from
25083 `calc-logunits-quantity'.
25084 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
25085 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
25086 (calc-db): Rename from `calc-dblevel'.
25087 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
25088 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
25089 (calc-np): Rename from `calc-nplevel'.
25090 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
25091 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
25092 (calc-lu-plus): Rename from `calc-logunits-add'.
25093 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
25094 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
25095 (calc-lu-minus): Rename from `calc-logunits-sub'.
25096 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
25097 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
25098 (calc-lu-times): Rename from `calc-logunits-mul'.
25099 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
25100 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
25101 (calc-lu-divide): Rename from `calc-logunits-div'.
25102 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
25103 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
25105 * calc/calc-ext.el (calc-init-extensions): Update the names of the
25106 functions being autoloaded.
25108 * calc/calc.el (calc-lu-power-reference): Rename from
25109 `calc-logunits-power-reference'.
25110 (calc-lu-field-reference): Rename from
25111 `calc-logunits-field-reference'.
25113 * calc/calc-help.el (calc-l-prefix-help):
25114 Mention musical note functions.
25116 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
25118 * minibuffer.el (completion-all-sorted-completions):
25119 Use :completion-cycle-penalty text property if present.
25121 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
25123 * allout.el (allout-yank-processing): Adjust for new rebulleting
25124 regime so bullet being yanked is used without prompting the user
25127 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
25129 * startup.el (command-line): Warn the user that _emacs is deprecated.
25131 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
25133 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
25134 (delphi-verbose, delphi-comment-face, delphi-string-face)
25135 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
25136 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
25137 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
25138 (delphi-new-comment-line, delphi-font-lock-defaults)
25139 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
25140 Fix typos in docstrings.
25142 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
25144 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
25145 Invert the roles of character and string values for INSTEAD, so a
25146 string is used for the more common case of a defaulting prompt.
25148 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
25150 * progmodes/ruby-mode.el (ruby-backward-sexp):
25151 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
25152 * play/gamegrid.el (gamegrid-make-face):
25153 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
25154 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
25155 * notifications.el (notifications-notify):
25156 * net/xesam.el (xesam-search-engines):
25157 * net/quickurl.el (quickurl-list-insert):
25158 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
25160 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
25162 * startup.el (command-line): Update package subdirectory regexp.
25164 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
25166 * allout.el (allout-abbreviate-flattened-numbering)
25167 (allout-mode-deactivate-hook): Fix up obsolescence "date".
25169 * subr.el (read-char-choice): Only show the cursor after the prompt,
25170 not after the answer.
25172 2011-03-15 Kevin Ryde <user42@zip.com.au>
25174 * help-fns.el (variable-at-point): Skip leading quotes, if any
25177 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
25179 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
25182 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
25184 * shell.el (shell): When called interactively, offer to change the
25185 shell file name on remote hosts.
25187 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
25189 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
25190 integration for LDAP parameters. The host, base, user or binddn,
25191 and secret tokens can be specified in a netrc file, for instance.
25192 This is optional because an `auth-source' parameter must be
25193 specified in the search attributes.
25195 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
25197 * help.el (describe-mode): Link to the mode's definition (bug#8185).
25199 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
25201 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
25202 into declaration. Remove redundant and harmful binding.
25204 2011-03-12 Eli Zaretskii <eliz@gnu.org>
25206 * files.el (file-ownership-preserved-p): Pass `integer' as an
25207 explicit 2nd argument to `file-attributes'. If the file's owner
25208 is the Administrators group on Windows, and the current user is
25209 Administrator, consider that a match.
25211 * server.el (server-ensure-safe-dir): Consider server directory
25212 safe on MS-Windows if its owner is the Administrators group while
25213 the current Emacs user is Administrator. Use `=' to compare
25214 numerical UIDs, since they could be integers or floats.
25216 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
25218 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
25220 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
25222 Sync with Tramp 2.2.1.
25224 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
25226 * net/trampver.el: Update release number.
25228 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
25230 * progmodes/compile.el (compilation--previous-directory): Fix up
25231 various nil/dead-marker mismatches (bug#8014).
25232 (compilation-directory-properties, compilation-error-properties):
25233 Don't call it at a position past the one we're about to change.
25235 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
25236 Disable obsolescence warnings in the file that declares it.
25238 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
25240 * allout-widgets.el (allout-widgets-tally):
25241 Initialize allout-widgets-tally as a hash table rather than nil to
25242 prevent mode-line redisplay warnings. Also, clarify the module
25243 description and fix a comment typo.
25245 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
25247 * help-fns.el (describe-variable): Don't complete keywords.
25248 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
25250 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
25252 * emacs-lisp/package.el (package-version-join): Impose a standard
25253 string representation for pre/alpha/beta version lists.
25254 (package-unpack-single): Standardize the directory name by passing
25255 it through package-version-join.
25256 (package-strip-rcs-id): Accept any version string that does not
25257 signal an error in version-to-list.
25259 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
25261 * simple.el (delete-trailing-whitespace): Return nil for the
25262 benefit of `write-file-functions'.
25264 2011-03-10 Glenn Morris <rgm@gnu.org>
25266 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
25268 * vc/vc-git.el (vc-git-program): New option.
25269 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
25270 (vc-git--call): Use it.
25272 * eshell/esh-util.el (eshell-condition-case): Doc fix.
25274 * cus-edit.el (Custom-newline): If no button at point, look
25275 for a subgroup button at start-of-line. (Bug#2298)
25277 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
25279 2011-03-10 Julien Danjou <julien@danjou.info>
25281 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
25282 `cursor-type' is nil.
25284 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
25286 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
25288 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
25290 * allout.el: Change so yank of distinctive-bullet items
25291 preserves the existing header prefix, rebulleting it if necessary,
25292 rather than replacing it. This is necessary for proper operation
25293 of cooperative addons like allout-widgets.
25294 (allout-make-topic-prefix, allout-rebullet-heading):
25295 Change SOLICIT arg to INSTEAD, and interpret additionally a string
25296 value as alternate bullet to be used, instead of prompting the user
25297 for a bullet character.
25299 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
25301 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
25302 Do not use `tramp-file-name-port', because this returns also
25303 `tramp-default-port'.
25305 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
25307 * net/rcirc.el (rcirc-handler-001): Remove useless
25308 with-rcirc-process-buffer.
25309 (rcirc-check-auth-status): Swap arguments to string-match.
25311 2011-03-09 Glenn Morris <rgm@gnu.org>
25313 * shell.el (shell-mode):
25314 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
25316 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
25317 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
25319 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
25321 * emacs-lisp/package.el (package-refresh-contents)
25322 (package-menu-execute): Use condition-case-no-debug.
25324 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
25326 * simple.el (shell-command-to-string): Use `process-file'.
25328 * emacs-lisp/package.el (package-tar-file-info): Handle also
25331 * emacs-lisp/package-x.el (package-upload-buffer-internal):
25332 Use `equal' for upload base check.
25334 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
25336 * textmodes/texinfo.el (texinfo-environments):
25337 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
25339 2011-03-08 Glenn Morris <rgm@gnu.org>
25341 * cus-start.el (cursor-in-non-selected-windows):
25342 Fix :set quoting oddness. (Bug#8192)
25344 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
25345 in some setf expressions. (Bug#2159)
25347 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
25349 * custom.el (custom-available-themes): Return themes in
25350 alphabetical order.
25352 See ChangeLog.15 for earlier changes.
25354 ;; Local Variables:
25358 Copyright (C) 2011-2013 Free Software Foundation, Inc.
25360 This file is part of GNU Emacs.
25362 GNU Emacs is free software: you can redistribute it and/or modify
25363 it under the terms of the GNU General Public License as published by
25364 the Free Software Foundation, either version 3 of the License, or
25365 (at your option) any later version.
25367 GNU Emacs is distributed in the hope that it will be useful,
25368 but WITHOUT ANY WARRANTY; without even the implied warranty of
25369 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
25370 GNU General Public License for more details.
25372 You should have received a copy of the GNU General Public License
25373 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.