1 2014-03-04 Bastien Guerry <bzg@gnu.org>
3 * minibuffer.el (minibuffer-completion-help): Use 0 as the
4 fallback value for `base-size'. (Bug#16933)
6 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
8 * hexl.el (hexl-address-region, hexl-ascii-region)
9 (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
10 (hexl-backward-short, hexl-forward-short, hexl-backward-word)
11 (hexl-forward-word, hexl-previous-line, hexl-next-line):
12 Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
14 (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
15 (hexl-mode-ruler): Fix typos in docstrings.
17 * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
18 (strokes-character, strokes-get-grid-position, strokes-list-strokes):
19 Remove superfluous backslashes.
20 (strokes-last-stroke, strokes-global-map, strokes-mode):
22 (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
23 (strokes-xpm-for-compressed-string): Use quotes with buffer name.
24 (strokes-distance-squared, strokes-global-set-stroke)
25 (strokes-global-set-stroke-string): Doc fixes.
26 (strokes-help): Fix typos; reflow docstring.
28 2014-03-04 Martin Rudalics <rudalics@gmx.at>
30 * window.el (window-in-direction): Fix doc-string.
32 2014-03-04 Glenn Morris <rgm@gnu.org>
34 * emacs-lisp/smie.el (smie-config-guess): Doc fix.
35 Explicit error if no grammar.
36 (smie-config-save): Doc fix. Fix quote typo.
38 2014-03-04 Stefan Monnier <monnier@iro.umontreal.ca>
40 * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
41 electric-indent-mode-hook if we obey electric-indent-mode.
42 (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
43 decide whether we obey electric-indent-mode.
44 (c-change-set-fl-decl-start, c-extend-after-change-region):
46 (c-electric-indent-mode-hook): Assume we do want to obey
49 * electric.el (electric-indent-mode-has-been-called): Remove.
50 (electric-indent-mode): Fix accordingly.
52 * files.el (hack-local-variables): Mention file name in warning.
54 * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
56 2014-03-04 Michal Nazarewicz <mina86@mina86.com>
58 * binding.el: Add comment describing why C-d binds to `delete-char'.
59 * simple.el (delete-forward-char): Mark as interactive-only.
61 2014-03-03 Juanma Barranquero <lekktu@gmail.com>
63 * icomplete.el (icomplete-completions):
64 Follow-up to 2014-03-01 change.
66 * icomplete.el: Miscellaneous doc fixes.
67 Use Icomplete everywhere instead of icomplete for consistency.
68 (icomplete-max-delay-chars): Fix typo.
69 (icomplete-mode): Use \[].
70 (icomplete-tidy, icomplete-exhibit): Reflow.
71 (icomplete-minibuffer-setup-hook, icomplete-completions):
72 Remove superfluous backlashes.
74 * ido.el: Miscellaneous doc fixes.
75 Use Ido everywhere instead of ido or `ido' for consistency.
76 (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
77 (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
78 (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
79 (ido-separator): Extract obsolescence info from docstring and declare
80 with make-obsolete-variable.
81 (ido-minibuffer-setup-hook): Simplify example.
82 (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
83 (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
84 (ido-completion-help, ido-completing-read): Fix typos in docstrings.
85 (ido-everywhere): Reflow docstring.
86 (ido-toggle-vc): Doc fix.
87 (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
88 of long list of keybindings.
90 2014-03-03 Glenn Morris <rgm@gnu.org>
92 * frame.el (display-pixel-height, display-pixel-width)
93 (display-mm-dimensions-alist, display-mm-height)
94 (display-mm-width): Doc tweaks.
96 2014-03-02 Barry O'Reilly <gundaetiapo@gmail.com>
98 * simple.el (undo-elt-in-region): Fix buffer corruption for edge
99 case of undo in region.
101 2014-03-02 Martin Rudalics <rudalics@gmx.at>
103 * window.el (fit-window-to-buffer): Fix argument in window-size
104 call when window is horizontally combined.
106 2014-03-02 Juanma Barranquero <lekktu@gmail.com>
108 * icomplete.el (icomplete-completions): Use string-width.
109 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
111 2014-03-01 Dmitry Gutov <dgutov@yandex.ru>
113 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
114 Highlight regexp options. (Bug#16914)
116 2014-03-01 Martin Rudalics <rudalics@gmx.at>
118 * window.el (window--max-delta-1): Round down when calculating
119 how many lines/columns we can get from a window.
121 2014-03-01 Glenn Morris <rgm@gnu.org>
123 * isearch.el (search-invisible): Doc fix.
125 * minibuffer.el (completion-hilit-commonality):
126 Make `base-size' argument optional. Short-cut if `prefix-len' is 0.
127 * comint.el (comint-dynamic-list-completions): Doc fix.
128 * comint.el (comint-dynamic-list-completions):
129 * filecache.el (file-cache-minibuffer-complete):
130 * tempo.el (tempo-display-completions):
131 * eshell/em-hist.el (eshell-list-history):
132 Replace use of obsolete argument of display-completion-list.
134 2014-03-01 Juanma Barranquero <lekktu@gmail.com>
136 * icomplete.el (icomplete-completions):
137 Revert back to using "..." when ?… cannot be displayed.
139 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
141 * finder.el (finder-unload-function): New function.
143 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
145 * dframe.el (dframe-detach):
146 * find-dired.el (find-dired, find-name-dired):
147 * finder.el (finder-mode-map, finder-mode-syntax-table)
148 (finder-headmark, finder-select, finder-mouse-select):
151 2014-02-28 Martin Rudalics <rudalics@gmx.at>
153 Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
154 * window.el (with-temp-buffer-window): Revert change from
155 2014-02-21. Suggested by Thierry Volpiatto.
156 <thierry.volpiatto@gmail.com>. Fix doc-string based on a
157 suggestion by Nicolas Richard <theonewiththeevillook@yahoo.fr>.
158 * help.el (with-help-window): Fix doc-string.
160 2014-02-28 Ivan Kanis <ivan@kanis.fr>
162 * net/shr.el (shr-image-animate): New option.
163 (shr-put-image): Respect shr-image-animate.
165 2014-02-28 Michael Albinus <michael.albinus@gmx.de>
167 * net/tramp-adb.el (tramp-adb-parse-device-names):
168 Use `accept-process-output'.
169 (tramp-adb-handle-file-truename): Cache the localname only.
170 (tramp-adb-handle-make-directory)
171 (tramp-adb-handle-delete-directory): Flush file properties correctly.
172 (tramp-adb-handle-set-file-modes): Do not raise an error when file
173 modes cannot be changed.
175 * net/tramp-cache.el (tramp-flush-directory-property): Remove also
176 file properties of symlinks.
178 2014-02-28 Per Starbäck <starback@stp.lingfil.uu.se>
180 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
181 required/optional fields to match development biblatex. (Bug#16781)
183 2014-02-28 Andy Sawyer <andy.sawyer@gmail.com> (tiny change)
185 * saveplace.el (toggle-save-place):
186 Fix argument handling. (Bug#16673)
188 2014-02-28 Glenn Morris <rgm@gnu.org>
190 * minibuffer.el (completions-first-difference)
191 (completions-common-part, completion-hilit-commonality): Doc fixes.
193 2014-02-28 Karl Berry <karl@gnu.org>
195 * info.el (Info-mode-map): Add H for describe-mode,
196 to synchronize with standalone Info.
198 2014-02-28 Emilio C. Lopes <eclig@gmx.net>
200 * progmodes/sql.el (sql-interactive-mode):
201 Avoid setting global comint-input-ring-separator. (Bug#16814)
203 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
205 * net/dbus.el (dbus--init-bus): Declare function.
206 (dbus-path-local, dbus-interface-local): New defconst.
207 (dbus-init-bus): Use them.
208 (dbus-return-values-table): Extend doc.
209 (dbus-handle-bus-disconnect): Extend error message.
211 2014-02-27 Juanma Barranquero <lekktu@gmail.com>
213 * subr.el (y-or-n-p): Fix double space issue in message.
215 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
217 * net/tramp.el (tramp-call-process): Improve trace message.
218 (tramp-handle-insert-file-contents): Trace error case.
220 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
221 <insert-directory>: Use `tramp-handle-insert-directory'.
222 (tramp-adb-handle-insert-directory): Remove function.
223 (tramp-adb-send-command-and-check): New defun, replacing
224 `tramp-adb-command-exit-status'. Change all callees.
225 (tramp-adb-handle-file-attributes)
226 (tramp-adb-handle-directory-files-and-attributes): Use it.
227 (tramp-adb-ls-output-name-less-p):
228 Use `directory-listing-before-filename-regexp'.
229 (tramp-adb-handle-delete-directory): Flush also file properties of
230 the truename of directory.
231 (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
232 (tramp-adb-handle-file-local-copy): Make the local copy readable.
233 (tramp-adb-handle-write-region): Implement APPEND.
234 (tramp-adb-handle-rename-file): Make it more robust. Flush file
235 properties correctly.
236 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
237 variables. Check for connected devices only when needed.
239 2014-02-27 Glenn Morris <rgm@gnu.org>
241 * minibuffer.el (completion-table-dynamic)
242 (completion-table-with-cache): Doc fixes.
244 * emacs-lisp/crm.el (crm-default-separator, crm-separator)
245 (completing-read-multiple): Doc fixes.
247 2014-02-27 Daniel Colascione <dancol@dancol.org>
249 * minibuffer.el (completion--nth-completion): Fix indentation.
251 * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
252 explicit tramp path is empty.
254 2014-02-27 Glenn Morris <rgm@gnu.org>
256 * emacs-lisp/crm.el (completing-read-multiple):
257 Empower help-enable-auto-load.
259 2014-02-26 Glenn Morris <rgm@gnu.org>
261 * startup.el (command-line): Don't init the tty in daemon mode.
263 Avoid calling tty-setup-hook twice, eg if a term file
264 explicitly calls tty-run-terminal-initialization. (Bug#16859)
265 * faces.el (tty-run-terminal-initialization): Add run-hook argument.
266 (tty-create-frame-with-faces): Use it.
267 * startup.el (command-line): Pass run-hook argument
268 to tty-run-terminal-initialization.
270 * dired.el (dired-restore-desktop-buffer): Demote errors;
271 eg in case a glob match fails. (Bug#16884)
273 2014-02-26 Dmitry Gutov <dgutov@yandex.ru>
275 * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
276 error from `read-from-string'. (Bug#16850)
278 * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
279 result of `completing-read' in the interactive form. (Bug#16854)
281 2014-02-25 Glenn Morris <rgm@gnu.org>
283 * image.el (image-animate, image-animate-timeout):
284 Stop animating images in dead buffers. (Bug#16878)
286 * emacs-lisp/edebug.el (defmacro): Fix debug spec. (Bug#16868)
288 * faces.el (tty-setup-hook, tty-run-terminal-initialization):
290 * startup.el (term-setup-hook): Doc fix. Make obsolete.
291 * term/sun.el (sun-raw-prefix-hooks):
292 Use tty-setup-hook instead of term-setup-hook.
293 (terminal-init-sun): Construct message from bytecomp plist.
294 * term/wyse50.el (enable-arrow-keys): Doc fix.
296 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
298 * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
301 2014-02-24 Michael Albinus <michael.albinus@gmx.de>
303 * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
305 2014-02-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
307 * minibuffer.el (completion--try-word-completion):
308 Fix error when completing M-x commands (bug#16808).
310 2014-02-24 Leo Liu <sdl.web@gmail.com>
312 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
314 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
316 * apropos.el (apropos-print): Avoid formatting error when
317 apropos-do-all and apropos-compact-layout are both t.
319 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
321 * apropos.el (apropos-property, apropos-all-words-regexp)
322 (apropos-true-hit, apropos-variable, apropos-print):
323 Fix docstring typos, and remove obsolete comment.
325 2014-02-23 Michael Albinus <michael.albinus@gmx.de>
327 * net/tramp-sh.el (tramp-sh-handle-file-truename):
328 Preserve trailing "/". (Bug#16851)
330 2014-02-23 Dmitry Gutov <dgutov@yandex.ru>
332 * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
333 after `=>' (bug#16811).
334 (ruby-smie-rules): Handle the inconsistent second element of the
335 list returned by `smie-indent--parent'.
336 (ruby-font-lock-keywords): Disqualify any identifier before `=' as
339 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
341 * elec-pair.el (electric-pair-text-syntax-table)
342 (electric-pair-syntax-info, electric-pair--syntax-ppss)
343 (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
344 (electric-pair--looking-at-unterminated-string-p): Doc fix.
345 (electric-pair--inside-string-p): Doc fix. Use `let', not `let*'.
347 2014-02-22 Glenn Morris <rgm@gnu.org>
349 * imenu.el (imenu--generic-function): Doc fix.
351 * register.el (frame-configuration-to-register): Make obsolete.
353 2014-02-22 Juanma Barranquero <lekktu@gmail.com>
355 * desktop.el (desktop-save-buffer-p): Do not fail when
356 desktop-files-not-to-save is nil. Return t for true result
359 2014-02-22 Daniel Colascione <dancol@dancol.org>
361 * net/secrets.el (secrets-create-item,secrets-search-items):
362 Check that attribute values are strings, avoiding the construction
363 of invalid dbus messages.
365 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
367 * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
368 defun-declarations-alist.
370 2014-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
372 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
375 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
377 * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
378 (whitespace-newline, whitespace-trailing, whitespace-line)
379 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
380 (whitespace-space-after-tab): Fix typo in docstrings.
382 2014-02-21 Dmitry Gutov <dgutov@yandex.ru>
384 * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
386 * electric.el (electric-indent-functions-without-reindent):
387 Add `yaml-indent-line'.
389 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
391 * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
392 It has done nothing for years; should be removed after the release.
394 * simple.el (choose-completion): Fix docstring typo.
395 (read-quoted-char-radix): Remove unneeded * in docstring.
396 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
397 Don't escape parentheses unnecessarily in docstrings.
399 2014-02-21 Martin Rudalics <rudalics@gmx.at>
401 Fix handling of window-min-height/-width (Bug#16738).
402 * window.el (window--dump-window, window--dump-frame):
404 (window--min-size-1): Account for window dividers.
405 When window-resize-pixelwise is nil, delay rounding till after the
406 sum of the window components has been calculated.
407 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
408 nil make sure at least one text line and two text columns remain
410 (window-resize): Signal an error when window-resize-apply fails.
411 (window--resize-child-windows): Fix calculation of by how many
412 pixels a window can still be shrunk via window-new-normal.
413 (adjust-window-trailing-edge): Call window--resizable with
414 correct TRAIL argument.
416 (with-temp-buffer-window): Don't evaluate BODY within
417 with-current-buffer (Bug#16816).
419 2014-02-21 Michael Albinus <michael.albinus@gmx.de>
421 * net/tramp.el (tramp-check-cached-permissions):
422 Call `file-attributes' with `suffix' being a symbol but a string.
424 2014-02-21 Daniel Colascione <dancol@dancol.org>
426 * net/dbus.el (dbus-init-bus-1): Declare new subr.
427 (dbus-init-bus): New function: call into dbus-init-bus-1
428 and installs a handler for the disconnect signal.
429 (dbus-call-method): Rewrite to look for result in cons.
430 (dbus-call-method-handler): Store result in cons.
431 (dbus-check-event): Recognize events with nil sender as valid.
432 (dbus-handle-bus-disconnect): New function. React to bus
433 disconnection signal by synthesizing dbus error for each
434 pending synchronous or asynchronous call.
435 (dbus-notice-synchronous-call-errors): New function.
436 (dbus-handle-event): Raise errors directly only when `dbus-debug'
437 is true, not all the time.
439 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
441 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
442 Remove obsolescence declarations, these variables do not exist anymore.
444 * savehist.el (savehist-save-minibuffer-history)
445 (savehist-additional-variables, savehist-file, savehist-mode-hook)
446 (savehist-save-hook, savehist-coding-system, savehist-loaded)
447 (savehist-load, savehist-install, savehist-autosave): Fix typos;
448 mostly, refer to "Savehist mode" when talking about the mode,
449 and not the function.
451 * saveplace.el (save-place): Remove redundant info in docstring.
452 (save-place-forget-unreadable-files, toggle-save-place)
453 (save-place-forget-unreadable-files, save-place-dired-hook):
454 Fix typos and remove unneeded backslashes.
456 2014-02-20 Michael Albinus <michael.albinus@gmx.de>
458 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
459 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
461 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
462 <insert-directory>: Use `tramp-handle-insert-directory'.
463 (tramp-gvfs-handle-insert-directory): Remove function.
465 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
466 Call `tramp-handle-insert-directory'.
468 2014-02-20 Juanma Barranquero <lekktu@gmail.com>
470 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
471 before the start of buffer/region (bug#16799).
473 2014-02-20 Glenn Morris <rgm@gnu.org>
475 * isearch.el (search-invisible): Doc fix.
477 2014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
479 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
482 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
484 * frameset.el (frameset-restore): Delay removing an old frame's
485 duplicate id until the new frame has been correctly created.
487 2014-02-19 Michael Albinus <michael.albinus@gmx.de>
489 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
490 (tramp-check-cached-permissions): Call `file-attributes' if the
493 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
494 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
496 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
497 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
498 (tramp-gvfs-maybe-open-connection): Set always connection
499 properties, even if target is mounted already.
501 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
502 Set tramp-autoload cookie.
503 (tramp-get-remote-touch): New defun.
504 (tramp-sh-handle-set-file-times): Use it.
505 (tramp-sh-handle-directory-files-and-attributes):
506 Use `tramp-handle-directory-files-and-attributes' if neither stat
507 nor perl are available on the remote host.
509 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
510 "/". Write long listing only when "l" belongs to the switches.
512 * net/trampver.el: Update release number.
514 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
516 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
518 2014-02-19 Martin Rudalics <rudalics@gmx.at>
520 * window.el (window-state-put): Allow WINDOW to refer to an
521 internal window (Bug#16793).
523 2014-02-19 Glenn Morris <rgm@gnu.org>
525 * textmodes/remember.el: Move provide statement to end.
526 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
527 (remember-notes): Doc fixes.
529 2014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
531 * delsel.el (delete-char): Restore incorrectly erased property
534 2014-02-18 Juanma Barranquero <lekktu@gmail.com>
536 * frameset.el (frameset--restore-frame): When a frame is being reused
537 and its root window is not alive, delete all the frame's windows before
538 restoring the window state. This works around the issue in bug#16793.
540 2014-02-18 Glenn Morris <rgm@gnu.org>
542 * textmodes/remember.el (remember-data-directory)
543 (remember-directory-file-name-format, remember-store-in-files)
544 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
545 (remember-notes-save-and-bury-buffer)
546 (remember-notes--kill-buffer-query): Doc fixes.
548 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
550 2014-02-17 Alan Mackenzie <acm@muc.de>
552 Connect electric-indent-mode up with CC Mode. Bug #15478.
553 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
554 to electric-indent-{,local-}-mode.
555 (c-basic-common-init): Set electric-indent-inhibit.
556 Initialise c-electric-flag from electric-indent-mode.
557 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
558 New hook functions which propagate electric-indent-mode to CC mode.
560 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
561 hit, toggle electric-indent-local-mode.
563 * electric.el (electric-indent-mode-has-been-called):
566 2014-02-17 Juanma Barranquero <lekktu@gmail.com>
568 * frameset.el (frameset-cfg-id): New function.
569 (frameset--reuse-frame, frameset-restore): Use it.
570 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
572 2014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
574 * ido.el (ido-file-internal): Remove unused var `d'.
575 Use \` for to match BoS. Fit within 80n columns.
577 2014-02-17 Daniel Colascione <dancol@dancol.org>
579 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
580 dbus-call-method check for completion using a busy-wait loop with
583 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
585 Sync with Tramp 2.2.9.
587 * net/trampver.el: Update release number.
589 2014-02-16 Dmitry Gutov <dgutov@yandex.ru>
591 * ido.el (ido-file-internal): Don't add the name of an existing
592 directory twice. (Bug#16747)
594 2014-02-16 Glenn Morris <rgm@gnu.org>
596 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
597 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
599 2014-02-15 Michael R. Mauger <michael@mauger.com>
601 * progmodes/sql.el: Version 3.4
602 (sql-oracle-options): New default value ("-L").
603 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
604 (sql-placeholders-filter): Correct placeholder pattern.
605 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
606 (sql-login-delay): New variable.
607 (sql-product-interactive): Use it.
609 2014-02-15 Juanma Barranquero <lekktu@gmail.com>
611 * frameset.el (frameset--jump-to-register): Check that buffer is live
614 2014-02-15 Glenn Morris <rgm@gnu.org>
616 * info.el (info-initialize): Revert 2014-01-10 change.
618 2014-02-14 Glenn Morris <rgm@gnu.org>
620 * replace.el (map-query-replace-regexp)
621 (read-regexp-defaults-function, read-regexp): Doc fixes.
623 * dired.el (dired-read-regexp):
624 * faces.el (list-faces-display):
625 * misearch.el (multi-isearch-read-matching-buffers)
626 (multi-isearch-read-matching-files):
627 * play/cookie1.el (cookie-apropos):
628 * progmodes/grep.el (grep-read-regexp): Doc fixes.
630 * textmodes/remember.el (remember): Use frameset-to-register
631 rather than frame-configuration-to-register.
633 2014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
635 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
636 incorrect keybinding.
638 2014-02-13 Daniel Colascione <dancol@dancol.org>
640 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
641 when adding overlays so that line numbers from compiler match line
644 2014-02-13 Glenn Morris <rgm@gnu.org>
646 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
648 * jit-lock.el (jit-lock-mode): Doc fix.
650 2014-02-13 Juanma Barranquero <lekktu@gmail.com>
652 * apropos.el (apropos-read-pattern): When the user passes an empty
653 string, give a more helpful error message than "Wrong type
654 argument: stringp, nil".
656 2014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
658 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
660 2014-02-13 Glenn Morris <rgm@gnu.org>
662 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
664 2014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
666 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
667 shift-select commands.
669 2014-02-12 Dmitry Gutov <dgutov@yandex.ru>
671 * progmodes/js.el (js-indent-line): Don't widen.
672 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
674 2014-02-12 Glenn Morris <rgm@gnu.org>
676 * icomplete.el (icomplete): Add info-link to defgroup.
677 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
678 (icomplete-minibuffer-map, icomplete-mode)
679 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
681 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
682 (package-menu-filter): Rename from package-menu-filter-interactive.
685 2014-02-11 Juanma Barranquero <lekktu@gmail.com>
687 * frameset.el (frameset--jump-to-register): Select the required
688 window and buffer before restoring position (bug#16696).
690 2014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
692 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
694 2014-02-10 Glenn Morris <rgm@gnu.org>
696 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
698 2014-02-10 Eli Zaretskii <eliz@gnu.org>
700 * w32-common-fns.el (x-get-selection): Doc fix.
701 * select.el (x-get-selection): Doc fix. (Bug#15109)
703 * face-remap.el (face-remap-add-relative)
704 (face-remap-remove-relative, face-remap-reset-base)
705 (face-remap-set-base): Call force-mode-line-update to redisplay
706 the current buffer due to potential change in faces. (Bug#16709)
708 2014-02-10 Michael Albinus <michael.albinus@gmx.de>
710 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
711 script more robustly.
713 2014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
715 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
717 * simple.el (choose-completion): Doc fix (bug#14160).
719 * subr.el (event-start): Say what a nil EVENT value means.
721 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
724 * progmodes/grep.el (find-program): Doc fix (bug#14289).
726 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
728 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
730 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
731 predicate function (bug#15455).
733 2014-02-10 Dmitry Gutov <dgutov@yandex.ru>
735 * ielm.el (inferior-emacs-lisp-mode): Instead of
736 `comment-use-global-state', set `comment-use-syntax'.
738 2014-02-10 Glenn Morris <rgm@gnu.org>
740 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
742 2014-02-09 Alan Mackenzie <acm@muc.de>
744 Fix c-invalidate-state-cache on narrowed buffers.
745 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
746 Widen when setting and clearing the CPP delimiter properties.
748 2014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
750 * help.el (describe-bindings): Doc fix (bug#9888).
752 * files.el (save-buffer): Use ARG as the parameter name for
753 consistency (bug#10346).
754 (save-buffer): Clarify the 0 argument (bug#10346).
756 * cus-edit.el (customize-apropos): Fix error string.
757 (custom-buffer-create): Doc fix (bug#11122).
758 (custom-sort-items): Doc fix (bug#11121).
760 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
762 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
763 (icomplete-simple-completing-p): Mention the previous variable.
765 * font-lock.el (font-lock-value-in-major-mode): Clarify the
766 meaning of the parameter (bug#12282).
768 * files.el (find-file-noselect): Clarify prompt when changing
769 readedness (bug#13261).
770 (locate-file): Suffixes aren't returned, so don't say that they
772 (backup-inhibited): Doc clarification (bug#12525).
774 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
775 before we actually start to delete things (bug#16331).
777 * subr.el (event-start): Doc fix (bug#14228).
780 2014-02-09 Glenn Morris <rgm@gnu.org>
782 * emacs-lisp/warnings.el (lwarn):
783 Empower help-enable-auto-load. (Bug#15940)
785 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
787 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
790 2014-02-08 Michael Albinus <michael.albinus@gmx.de>
792 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
793 Insert output at end of buffer. (Bug#16120)
795 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
797 * simple.el (choose-completion-string-functions): Document new
798 calling convention (bug#14153).
799 (execute-extended-command): Clarify doc string (bug#13373).
801 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
803 * find-dired.el (find-name-dired): Doc fix (bug#14290).
804 (find-grep-dired): Doc fix (bug#14288).
806 2014-02-08 Juri Linkov <juri@jurta.org>
808 * isearch.el (isearch-quote-char): Check character validity
809 like in `quoted-insert' (bug#16677).
811 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
813 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
815 * isearch.el (isearch-hide-immediately): Doc clarification
818 * simple.el (line-move): Document utility function used many
819 places in the Emacs sources (bug#14843).
821 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
822 (dired-prev-marked-file): Doc fix (bug#14855).
823 (dired-up-directory): Doc fix (bug#14848).
825 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
827 * files.el (file-relative-name): Doc fix (bug#15159).
829 * fringe.el (fringe-styles): Doc fix (bug#15239).
831 * isearch.el (isearch-filter-predicate): Documentation typo fix
834 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
836 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
838 * replace.el (replace-match-maybe-edit): Doc clarification
841 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
843 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
845 2014-02-08 Glenn Morris <rgm@gnu.org>
847 * help-fns.el (describe-variable):
848 Check {file,dir}-local-variables-alist, and buffer-file-name,
849 in the correct buffer.
851 2014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
853 * help-fns.el (describe-variable): Fix the case where
854 a value is directory-local with no dir-locals file. (Bug#16635)
856 2014-02-08 Glenn Morris <rgm@gnu.org>
858 * abbrev.el (edit-abbrevs-mode):
859 Derive from fundamental-mode. (Bug#16682)
861 2014-02-07 Juanma Barranquero <lekktu@gmail.com>
863 * simple.el (quoted-insert): Check character validity (bug#16677).
865 2014-02-07 Juri Linkov <juri@jurta.org>
867 * desktop.el (desktop-read): Claim the lock when the owner is not
868 the current process. (Bug#16157)
870 2014-02-07 Juri Linkov <juri@jurta.org>
872 * desktop.el (desktop-buffers-not-to-save): Change default from nil
873 to "\\` ". (Bug#16651)
875 2014-02-07 Juri Linkov <juri@jurta.org>
877 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
878 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
879 (desktop-auto-save-cancel-timer): New function with some code from
880 `desktop-auto-save-set-timer'.
881 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
882 Instead of setting `desktop-save-mode' to nil, call
883 `desktop-save-mode' with arg 0. (Bug#16630)
885 2014-02-07 Glenn Morris <rgm@gnu.org>
887 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
888 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
889 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
891 * obsolete/iswitchb.el: Move to obsolete/.
892 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
893 since obsolete/ is not scanned for autoloads.
894 * emacs-lisp/authors.el (authors-valid-file-names):
897 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
898 Disable now non-functional find-file-hook.
900 2014-02-06 Michael Albinus <michael.albinus@gmx.de>
902 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
903 instead of ";" in order to avoid additional prompts. Let heredoc
904 scripts read from tty. (Bug#16582)
905 (tramp-send-command): No special handling of heredocs, it isn't
908 2014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
910 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
911 with a space (bug#16664). Limit the symbols considered to the ones
912 that are bound or fbound (bug#16646).
914 2014-02-06 Glenn Morris <rgm@gnu.org>
916 * epa.el (epa-mail-aliases): Doc fix.
918 2014-02-06 Dmitry Gutov <dgutov@yandex.ru>
920 * emacs-lisp/lisp.el (lisp-completion-at-point):
921 Use `completion-table-merge' instead of `completion-table-in-turn'
924 * minibuffer.el (completion-table-merge): New function.
926 2014-02-05 Michael Albinus <michael.albinus@gmx.de>
928 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
929 (tramp-sh-handle-set-file-acl)
930 (tramp-sh-handle-start-file-process)
931 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
932 (tramp-find-executable, tramp-send-command): Use it.
934 2014-02-05 Glenn Morris <rgm@gnu.org>
936 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
938 2014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
940 * progmodes/python.el (python-shell-send-string)
941 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
943 2014-02-04 Anders Lindgren <andlind@gmail.com>
945 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
946 the names (bug#16620).
948 2014-02-03 Martin Rudalics <rudalics@gmx.at>
950 * faces.el (window-divider): New default value. Rewrite doc-string.
951 (window-divider-first-pixel, window-divider-last-pixel): New faces.
953 2014-02-03 Dmitry Gutov <dgutov@yandex.ru>
955 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
956 `protected' and `public' can also be called without arguments.
958 2014-02-03 Glenn Morris <rgm@gnu.org>
960 * register.el (window-configuration-to-register)
961 (frame-configuration-to-register): Unadvertise unused argument.
962 * frameset.el (frameset-to-register): Remove unused argument.
964 * frameset.el (frameset-to-register):
965 * kmacro.el (kmacro-to-register):
966 * register.el (increment-register):
967 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
968 (calc-append-to-register, calc-prepend-to-register):
969 * play/gametree.el (gametree-layout-to-register)
970 (gametree-apply-register-layout):
971 * textmodes/picture.el (picture-clear-rectangle-to-register)
972 (picture-yank-rectangle-from-register):
973 * vc/emerge.el (emerge-combine-versions-register):
974 Use register-read-with-preview to read registers.
976 2014-02-03 João Távora <joaotavora@gmail.com>
978 * elec-pair.el (electric-pair-backward-delete-char): Don't error
979 when at beginning of (possibly narrowed) buffer.
981 2014-02-02 Daniel Colascione <dancol@dancol.org>
983 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
984 Also try to display local help from just before point.
986 2014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
988 c-parse-state. Don't "append-lower-brace-pair" in certain
989 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
990 recognised as a comment.
992 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
993 as well as normal comment starter.
994 (c-parse-state-get-strategy): Extra return possibility
996 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
997 return value list to indicate replacement of a brace-pair cons
999 (c-parse-state-1): With 'back-and-forward, only call
1000 c-append-lower-brace-pair-to state-cache when cons-separated.
1002 2014-02-02 Jan Djärv <jan.h.d@swipnet.se>
1004 * term/ns-win.el (ns-suspend-error): New function.
1005 (ns-initialize-window-system): Add ns-suspend-error to
1006 suspend-hook (Bug#16612).
1008 2014-02-02 Daniel Colascione <dancol@dancol.org>
1010 * progmodes/cc-defs.el (c-find-assignment-for-mode):
1011 Make loading cc-mode silent.
1013 2014-02-02 Daniel Colascione <dancol@dancol.org>
1015 * comint.el (comint-prompt-read-only): Change doc to suggest
1018 2014-02-02 Glenn Morris <rgm@gnu.org>
1020 * register.el (register-read-with-preview, point-to-register)
1021 (window-configuration-to-register, frame-configuration-to-register)
1022 (jump-to-register, number-to-register, view-register, insert-register)
1023 (copy-to-register, append-to-register, prepend-to-register)
1024 (copy-rectangle-to-register): Doc fixes.
1026 2014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
1028 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
1029 * emacs-lisp/find-func.el (find-function-C-source): Idem.
1030 * emacs-lisp/nadvice.el (advice--cd*r): New function.
1031 * help-fns.el (describe-function-1): Use it.
1033 2014-02-02 Glenn Morris <rgm@gnu.org>
1035 * register.el (register-preview-default): New function,
1036 split from register-preview.
1037 (register-preview-function): Rename from register-preview-functions,
1039 (register-preview): Use register-preview-function.
1040 (register-read-with-preview): Error on non-character event. (Bug#16595)
1042 2014-02-01 Dmitry Gutov <dgutov@yandex.ru>
1044 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
1045 `:' before binary operators (bug#16609). Don't check for `:'
1046 before `[' and `(', or their syntax status. A percent literal
1047 can't end with either.
1048 (ruby-font-lock-keywords): For built-ins that require arguments,
1049 check that they're followed by something that looks like argument
1052 2014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
1054 * subr.el (butlast): Document what an omitted N means (bug#13437).
1057 2014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
1059 * net/shr.el (shr-generic): Make into a defsubst to make the stack
1060 depth shallower (bug#16587).
1061 (shr-tag-svg): Respect `shr-inhibit-images'.
1062 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
1064 2014-01-31 Dmitry Gutov <dgutov@yandex.ru>
1066 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
1067 (ruby-smie-grammar): Make "." right-associative. Make its priority
1068 lower than the ternary and all binary operators.
1069 (ruby-smie-rules): Indent "(" relative to the first non-"."
1070 parent, or the first "." parent at indentation.
1071 Use `ruby-align-chained-calls' for indentation of "." tokens.
1074 2014-01-31 Juri Linkov <juri@jurta.org>
1076 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
1077 from `make-hash-table'.
1079 * textmodes/ispell.el (ispell-init-process): Change message format
1080 to be consistent with other messages.
1082 2014-01-31 Glenn Morris <rgm@gnu.org>
1084 * delsel.el (delete-selection-mode): Doc fix.
1086 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
1087 (trace-function-background): Doc fixes.
1089 * ido.el (ido-use-virtual-buffers): Doc fix.
1090 Reset :version, since the default value has not changed.
1092 * register.el (register-preview-delay, register-read-with-preview):
1095 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
1096 do not mess with mail-buffer position (fixes 2009-11-03 change).
1097 * progmodes/cc-mode.el (c-submit-bug-report):
1098 Check auto-fill-mode is bound. (Bug#16592)
1100 2014-01-31 Darren Hoo <darren.hoo@gmail.com>
1102 * startup.el (fancy-splash-image-file): New function,
1103 split from fancy-splash-head.
1104 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
1105 so that we are both using the same image. (Bug#16574)
1107 2014-01-30 Glenn Morris <rgm@gnu.org>
1109 * simple.el (eval-expression): Doc fix.
1111 * hexl.el (hexl-mode-hook):
1112 * ielm.el (ielm-mode-hook):
1113 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
1114 (lisp-interaction-mode-hook):
1115 * progmodes/cfengine.e (cfengine3-documentation-function):
1116 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
1118 2014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
1120 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
1121 is a symbol (bug#16584).
1123 2014-01-30 Glenn Morris <rgm@gnu.org>
1125 * help.el (help-for-help-internal): Add "P" to text.
1127 2014-01-29 Glenn Morris <rgm@gnu.org>
1129 * simple.el (just-one-space, cycle-spacing): Doc fixes.
1131 2014-01-28 Martin Rudalics <rudalics@gmx.at>
1133 * window.el (fit-frame-to-buffer): Fix calculations for margins and
1136 2014-01-28 Luke Lee <luke.yx.lee@gmail.com>
1138 * progmodes/hideif.el: Extend to full CPP expression syntax.
1139 (hif-token-alist): Add missing tokens.
1140 (hif-token-regexp): Add support for float/octal/hex immediates.
1141 (hif-string-literal-regexp): New const.
1142 (hif-tokenize): Recognize strings and float/octal/hex immediates.
1143 (hif-exprlist): New function.
1144 (hif-parse-if-exp): Use it.
1145 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
1146 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
1147 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
1148 (hif-logxor, hif-comma): New functions.
1150 2014-01-28 Glenn Morris <rgm@gnu.org>
1152 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
1154 * indent.el (tab-stop-list): Doc fix. Add :version.
1156 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
1157 (cvs-append-to-ignore): Add compatibility alias.
1159 2014-01-27 Glenn Morris <rgm@gnu.org>
1161 * dired.el (dired-hide-details-mode): Don't autoload it,
1162 since it cannot be used outside Dired buffers anyway.
1164 * emulation/cua-base.el (cua-mode): Doc fix.
1166 * dired.el (dired-hide-details-hide-symlink-targets)
1167 (dired-hide-details-hide-information-lines)
1168 (dired-hide-details-mode): Doc fixes.
1170 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
1171 * strokes.el (strokes-file): Doc fix. Bump :version.
1172 (strokes-help): Doc fix.
1173 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
1174 * emulation/viper.el (viper): Doc fix for custom group.
1175 (top-level): Remove oh-so-no-longer-relevant text about vip.
1176 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
1178 * ido.el (ido-save-directory-list-file):
1179 * saveplace.el (save-place-file):
1180 * calendar/timeclock.el (timeclock-file):
1181 * net/quickurl.el (quickurl-url-file):
1182 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
1183 * progmodes/idlwave.el (idlwave-config-directory):
1184 * textmodes/remember.el (remember-data-file):
1187 2014-01-26 Glenn Morris <rgm@gnu.org>
1189 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
1190 Doc fix. Make obsolete.
1191 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
1193 * sort.el (delete-duplicate-lines): Doc fix.
1195 2014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1197 * progmodes/ada-mode.el (ada):
1198 * woman.el (woman): Link to info manual and Commentary section.
1200 * progmodes/flymake.el (flymake):
1201 * nxml/nxml-mode.el (nxml):
1203 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
1204 * htmlfontify.el (htmlfontify):
1207 * ido.el (ido): Link to info manual.
1209 2014-01-25 Leo Liu <sdl.web@gmail.com>
1211 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
1213 2014-01-25 Adam Sjøgren <asjo@koldfront.dk>
1215 * net/shr.el (shr-tag-img): Prefer the title over the alt text
1218 2014-01-24 Juanma Barranquero <lekktu@gmail.com>
1220 * net/eww.el (eww-download-callback):
1221 Fix reference to eww-download-directory.
1223 * emacs-lisp/bytecomp.el (byte-compile-file):
1224 Remove unused local variable `file-name'.
1226 2014-01-24 Glenn Morris <rgm@gnu.org>
1228 * woman.el (woman-default-faces, woman-monochrome-faces):
1229 Fix obsolescence specification.
1231 * subr.el (with-demoted-errors): Doc fix.
1233 2014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
1235 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
1236 (cl--macroexp-fboundp): New function.
1237 (cl--make-type-test): Use it.
1239 2014-01-23 Glenn Morris <rgm@gnu.org>
1241 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
1242 * simple.el (eval-expression): Doc fixes.
1244 2014-01-22 Glenn Morris <rgm@gnu.org>
1246 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
1248 2014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
1250 * emacs-lisp/package.el: Write files silently.
1251 (package-autoload-ensure-default-file, package--write-file-no-coding)
1252 (package-generate-description-file, package--download-one-archive)
1253 (package-install-from-archive): Tell `write-region' to stay quiet.
1254 (package-menu-mode, package-menu--print-info): Omit the Archive column
1255 if there's only one archive.
1256 (package-all-keywords, package--has-keyword-p): Remove dead code.
1258 2014-01-22 Glenn Morris <rgm@gnu.org>
1260 * version.el (emacs-bzr-version-bzr): Fix typo.
1262 * version.el (emacs-repository-get-version):
1263 Check either .bzr or .git, but not both.
1264 Make the git case actually use the DIR argument, and return nil
1265 rather than the empty string.
1266 Avoid error if .git exists but the git executable is not found.
1268 2014-01-22 Martin Rudalics <rudalics@gmx.at>
1270 Fixes in window size functions around Bug#16430 and Bug#16470.
1271 * window.el (window-total-size, window-size): New argument ROUND.
1272 (window--min-delta-1, window-min-delta, window--max-delta-1):
1273 Be more conservative when calculating the numbers of lines or
1274 columns a window can shrink (Bug#16430).
1275 (fit-window-to-buffer): Simplify code.
1276 * term.el (term-window-width): Call window-body-width again.
1278 2014-01-22 Glenn Morris <rgm@gnu.org>
1280 * image.el (image-format-suffixes): Doc fix.
1282 * international/quail.el (quail-define-package): Doc fix.
1284 * emacs-lisp/authors.el (authors-valid-file-names)
1285 (authors-renamed-files-alist): Additions.
1287 * vc/vc-git.el (vc-git-print-log): Remove --follow;
1288 reverts 2014-01-09 change. (Bug#16422)
1290 * calc/calc-embed.el (thing-at-point-looking-at):
1291 * emacs-lisp/map-ynp.el (x-popup-dialog):
1292 * obsolete/lmenu.el (x-popup-dialog):
1293 * emacs-lisp/package.el (url-recreate-url):
1294 * mail/mailclient.el (clipboard-kill-ring-save):
1295 * subr.el (x-popup-dialog): Update declaration.
1296 * mail/rmail.el (rmail-mime-message-p):
1297 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
1299 2014-01-21 Daniel Colascione <dancol@dancol.org>
1301 * progmodes/sh-script.el (sh--inside-noncommand-expression):
1302 Correctly detect when we're inside an arithmetic expansion form
1303 containing nested parenthesis.
1304 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
1305 to detect cases where we shouldn't expand "<<" to a heredoc
1308 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
1310 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
1311 (eldoc--message-command-p): New function.
1312 (eldoc-display-message-p): Use it.
1313 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
1314 message is not automatically erased for us.
1315 (eldoc-print-current-symbol-info): Erase previous message, if any.
1317 2014-01-21 Tassilo Horn <tsdh@gnu.org>
1319 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
1320 specify it's an interactive function.
1322 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
1323 Fix regex used for scanning for citation keys which failed for
1324 citations with optional arguments.
1326 2014-01-21 Leo Liu <sdl.web@gmail.com>
1328 * simple.el (read--expression): Don't enable eldoc-mode.
1330 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
1332 * simple.el (move-beginning-of-line): Make sure we don't move forward
1335 2014-01-20 Juri Linkov <juri@jurta.org>
1337 * saveplace.el (toggle-save-place, save-place-to-alist)
1338 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
1339 'dired-mode) before checking for dired-directory. (Bug#16477)
1341 2014-01-20 Juri Linkov <juri@jurta.org>
1343 * indent.el (indent-line-to): Use backward-to-indentation
1344 instead of back-to-indentation. (Bug#16461)
1346 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
1348 Revert some of the CANNOT_DUMP fix (Bug#16494).
1349 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
1350 but fixing this can wait until after the next release.
1351 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
1353 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
1355 * eshell/esh-mode.el (eshell-password-prompt-regexp):
1356 Use `password-word-equivalents'.
1357 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
1358 to t. (Bug#5664, Bug#13124)
1360 2014-01-19 Alan Mackenzie <acm@muc.de>
1362 Bind open-paren-in-column-0-is-defun-start to nil at some entry
1364 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
1365 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
1366 * progmodes/cc-mode.el (c-before-change, c-after-change)
1367 (c-font-lock-fontify-region): Bind it here.
1369 2014-01-19 Martin Rudalics <rudalics@gmx.at>
1371 * term.el (term-window-width): Call window-text-width instead of
1372 window-width (Bug#16470).
1374 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
1376 * simple.el (password-word-equivalents): Remove duplicates.
1377 Sort, to make this easier next time.
1378 Downcase. Omit ": " after "jelszó".
1380 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
1382 * term/common-win.el (saved-region-selection): Defvar it.
1383 (x-select-text): Set saved-region-selection (Bug#16382).
1385 2014-01-18 Glenn Morris <rgm@gnu.org>
1387 * emacs-lisp/authors.el (authors-aliases)
1388 (authors-renamed-files-alist): Add some entries.
1390 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
1392 * net/tramp.el (tramp-password-prompt-regexp):
1393 Use `password-word-equivalents' if available.
1394 (tramp-action-password, tramp-process-one-action)
1395 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
1397 2014-01-17 Chong Yidong <cyd@gnu.org>
1399 * simple.el (password-word-equivalents): New defcustom.
1400 * comint.el (comint-password-prompt-regexp): Use it. Bump version
1402 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
1405 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
1407 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
1408 (ruby-align-to-stmt-keywords): Change the default value.
1409 Use `ruby-alignable-keywords' to generate the possible customization
1411 (ruby-smie-rules): Instead of using a hardcoded list of alignable
1412 keywords, check against the value of `ruby-alignable-keywords'
1413 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
1415 2014-01-17 Glenn Morris <rgm@gnu.org>
1417 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
1419 Make M-x authors return zero *Authors Errors* from current logs.
1420 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
1421 (authors-ignored-files): Add some entries, remove others.
1422 (authors-ambiguous-files, authors-valid-file-names):
1424 (authors-renamed-files-alist): Add, remove, and adjust entries.
1425 (authors-renamed-files-regexps): Add some entries.
1426 Remove some very broad ones. Make some entries `lax'.
1427 (authors-lax-changelogs): New constant.
1428 (authors-disambiguate-file-name): Treat top-level specially.
1429 (authors-lax-changelog-p): New function.
1430 (authors-canonical-file-name): Check file as written against
1431 authors-valid-file-names. Do not special-case etc/.
1432 Handle `lax' logs and authors-renamed-files-regexps elements.
1434 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
1436 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
1437 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
1440 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
1442 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
1443 Assume we're already in the proper buffer.
1444 Inspired by Anders Lindgren <andlind@gmail.com>.
1445 (follow-post-command-hook): Call it from the right buffer.
1446 (follow-comint-scroll-to-bottom): Adjust call.
1447 (follow-all-followers): Use get-buffer-window-list.
1449 2014-01-15 Daniel Colascione <dancol@dancol.org>
1451 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
1452 `buffer-file-name' in interactive-form so that we don't leave
1453 pathless file names in `file-name-history'.
1455 2014-01-15 Juri Linkov <juri@jurta.org>
1457 * indent.el (indent-rigidly): Set deactivate-mark to nil
1458 in transient indentation mode. (Bug#16438)
1460 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
1462 * emacs-lisp/package.el (package-desc-keywords): New function
1464 (describe-package-1, package-all-keywords)
1465 (package--has-keyword-p): Use it.
1467 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1469 * simple.el (define-alternatives): When creating the
1470 COMMAND-alternatives variable, assign COMMAND as its definition
1471 name so that `describe-variable' can relocate it.
1473 2014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
1475 * font-lock.el (font-lock-keywords): Fix typo in docstring
1478 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1480 * ispell.el (ispell-region): Reset `in-comment' for new line
1481 instead of wrongly reset `add-coment' (bug#13577).
1483 2014-01-14 Daiki Ueno <ueno@gnu.org>
1485 * epa-file.el (epa-file-write-region): Encode the region according
1486 to `buffer-file-format'. Problem reported at:
1487 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
1489 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
1491 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
1492 so it applies in the right buffer (bug#16410).
1494 2014-01-13 Daniel Colascione <dancol@dancol.org>
1496 * textmodes/rst.el (rst-define-key): Provide deprecated
1497 keybindings through named functions instead of anonymous ones so
1498 that "??" doesn't appear in describe-mode output.
1500 2014-01-13 Bastien Guerry <bzg@gnu.org>
1502 * simple.el (define-alternatives): Call the selected command
1503 interactively. When setting `COMMAND--implementation' for the
1504 first time, tell the user how to chose another implementation.
1505 Enhance the docstring.
1507 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
1509 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
1510 (log-edit--match-first-line): New function.
1511 (log-edit-font-lock-keywords): Use it.
1512 (log-edit-mode): Make jit-lock-defer-multiline work.
1514 2014-01-13 Bastien Guerry <bzg@gnu.org>
1516 * rect.el (rectangle-mark-mode): When the region is not active,
1517 display a message saying that the mark as been set and that
1518 rectangle mode is in use.
1519 (rectangle--highlight-for-redisplay): Only put an overlay with a
1520 visible vertical bar when (display-graphic-p) is non-nil.
1521 This partially fixes Bug#16403.
1523 2014-01-13 Juri Linkov <juri@jurta.org>
1525 * info.el (Info-find-file): Go to DIR before displaying the error
1526 about a nonexistent file if no previous Info file is visited.
1527 Use `user-error' instead of `error' for "Info file %s does not exist".
1528 (Info-find-node-2): In case of a nonexistent node in unwind forms
1529 go to the Top node if there is no previous node to revert to.
1532 2014-01-13 Martin Rudalics <rudalics@gmx.at>
1534 fit-frame/window-to-buffer code fixes including one for Bug#14096.
1535 * window.el (fit-frame-to-buffer): Fix doc-string.
1536 Respect window-min-height/-width. Fit pixelwise when
1537 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
1538 when avoiding that frame goes partially off-screen.
1539 (fit-window-to-buffer): Respect window-min-height/-width
1542 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
1544 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
1545 after an empty line.
1547 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
1549 * net/shr.el (shr-render-region): Autoload.
1551 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
1553 * net/eww.el (eww-download-directory): Rename from
1554 `eww-download-path' (Bug#16419).
1556 2014-01-12 Leo Liu <sdl.web@gmail.com>
1558 * dired-x.el (dired-mode-map): Fix last change.
1560 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
1562 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
1565 * emacs-lisp/generic.el (generic--normalize-comments):
1566 Rename from generic--normalise-comments. All uses changed.
1567 * play/bubbles.el (bubbles--neighborhood-score)
1568 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
1569 (bubbles--neighborhood-available)
1570 (bubbles--update-neighborhood-score):
1571 Rename from names with 'neighbourhood'. All uses changed.
1573 2014-01-12 Leo Liu <sdl.web@gmail.com>
1575 Re-implement the feature of showing eldoc info after editing.
1576 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
1577 (eldoc-edit-message-commands): New function.
1578 (eldoc-print-after-edit): New variable.
1579 (eldoc-pre-command-refresh-echo-area): Emit message only by
1580 eldoc-message-commands.
1581 (eldoc-mode): Restrict eldoc-message-commands to editing commands
1582 if eldoc-print-after-edit is set. (Bug#16346)
1583 * simple.el (read--expression): Enable eldoc-mode.
1584 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
1586 2014-01-11 Dani Moncayo <dmoncayo@gmail.com>
1587 Eric S. Raymond <esr@thyrsus.com>
1589 * version.el (emacs-repository-get-version): Enhance so the
1590 function works correctly in either a Bazaar or Git repo.
1592 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
1594 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
1595 Goes with removal of the joke manpages from /etc.
1597 2014-01-10 Kenichi Handa <handa@gnu.org>
1599 * mail/rmail.el (rmail-get-coding-system):
1600 Check rmail-get-coding-function before "funcall"ing it.
1602 2014-01-10 Glenn Morris <rgm@gnu.org>
1604 * emacs-lisp/authors.el (authors-fixed-entries):
1605 Update for files that no longer exist.
1607 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
1609 * version.el (emacs-bzr-get-version): Restore compatibilty with
1612 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
1614 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
1617 2014-01-10 Eli Zaretskii <eliz@gnu.org>
1619 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
1621 2014-01-10 Chong Yidong <cyd@gnu.org>
1623 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
1625 2014-01-10 Anders Lindgren <andlind@gmail.com>
1627 * follow.el (follow-cache-command-list): Include right-char and
1630 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
1633 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
1634 * woman.el (woman-mark-horizontal-position):
1635 Rename from woman-mark-horizonal-position. Use changed.
1637 2014-01-10 Glenn Morris <rgm@gnu.org>
1639 * info.el (info-initialize): If running uninstalled, ensure our
1640 own info files are always found first, even if INFOPATH is set.
1642 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
1644 2014-01-09 David Engster <deng@randomsample.de>
1646 * emacs-lisp/eieio-custom.el:
1647 * emacs-lisp/eieio-opt.el: Set generated autoload file to
1648 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
1649 * emacs-lisp/eieio.el: Regenerate autoloads.
1651 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
1653 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
1654 following renames. (Bug#8756)
1656 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
1658 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
1660 (activate-mark): Add `no-tmm' argument.
1661 (set-mark, push-mark-command): Use it instead of running
1662 activate-mark-hook by hand.
1664 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
1666 In preparation for the move to git, sanitize out some
1667 Bazaar-specific names.
1669 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
1671 * version.el (emacs-bzr-version): Name changed to
1672 emacs-repository-version. Obsolete-variable alias made.
1673 * loadup.el: Follow through on this name change.
1674 * mail/emacsbug.el (report-emacs-bug): Factor out any
1675 assumption about the version control system in use.
1677 2014-01-08 David Engster <deng@randomsample.de>
1679 * help-fns.el (help-fns-describe-function-functions):
1680 New variable to call functions for augmenting help buffers.
1681 (describe-function-1): Remove explicit calls to
1682 `help-fns--compiler-macro', `help-fns--parent-mode' and
1683 `help-fns--obsolete'. Put them in above new variable instead, and
1684 call them through `run-hook-with-args'.
1685 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
1686 `eieio-describe-class'. Not meant for interactive use anymore,
1687 but to augment existing help buffers. Remove optional second
1688 argument. Create proper button for file location.
1689 Rewrite function to use `insert' instead of `princ' and `prin1' where
1691 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
1692 (eieio-method-def, eieio-class-def): Move further up.
1693 (describe-method, describe-generic, eieio-describe-method):
1695 (eieio-help-constructor, eieio-help-generic): Rename from
1696 `eieio-describe-constructor' and `eieio-describe-generic', resp.
1697 Rewrite to use `insert' in the current buffer and use proper help
1699 (eieio-help-find-method-definition)
1700 (eieio-help-find-class-definition): Also accept symbols as
1702 (eieio-help-mode-augmentation-maybee): Remove.
1703 (eieio-describe-class-sb): Use `describe-function'.
1704 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
1705 Add `eieio-help-generic' and `eieio-help-constructor'.
1707 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
1710 * language/china-util.el (hz-ascii-designation):
1711 Rename from hz-ascii-designnation.
1712 (hz-ascii-designation): Rename from hz-ascii-designnation.
1715 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
1717 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
1720 2014-01-08 Bastien Guerry <bzg@gnu.org>
1722 * emacs-lisp/package.el (package-delete):
1723 Correctly delete the package from package-alist.
1725 2014-01-08 Daiki Ueno <ueno@gnu.org>
1727 * emacs-lisp/package.el (url-recreate-url): Declare.
1728 (url-http-target-url): Declare.
1729 (package-handle-response): Include requested URL in the error message.
1730 (package--check-signature): Don't re-signal errors from
1731 package--with-work-buffer. Suggested by Stefan Monnier.
1733 2014-01-07 Bastien Guerry <bzg@gnu.org>
1735 * minibuffer.el (completion--try-word-completion): When both a
1736 hyphen and a space are possible candidates for the character
1737 following a word, display both candidates. (Bug#15980)
1739 2014-01-07 Martin Rudalics <rudalics@gmx.at>
1741 * window.el (balance-windows-2): While rounding don't give a
1742 window more than the remainder. Bug#16351, bug#16383.
1744 2014-01-07 Glenn Morris <rgm@gnu.org>
1746 * menu-bar.el (menu-bar-help-extra-packages): Remove.
1747 (menu-bar-help-menu): Use view-external-packages instead.
1749 2014-01-07 Bastien Guerry <bzg@gnu.org>
1751 * emacs-lisp/package.el (package-delete): Also delete the package
1752 name from `package-alist', not its description only.
1754 2014-01-07 Glenn Morris <rgm@gnu.org>
1756 * help.el (view-external-packages):
1757 * menu-bar.el (menu-bar-help-extra-packages):
1758 Visit efaq.info rather than etc/MORE.STUFF.
1760 2014-01-07 Juri Linkov <juri@jurta.org>
1762 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
1763 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
1765 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
1766 that shadows RET. (Bug#16342)
1768 2014-01-07 Chong Yidong <cyd@gnu.org>
1770 * isearch.el (isearch-yank-char, isearch-yank-word)
1771 (isearch-yank-line): Doc fix.
1773 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
1775 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
1776 * emacs-lisp/elint.el (elint-find-builtins):
1777 * emacs-lisp/eldoc.el (eldoc-symbol-function):
1778 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
1779 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
1780 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
1781 * apropos.el (apropos-safe-documentation):
1782 * subr.el (symbol-file): Remove redundant fboundp.
1783 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
1785 2014-01-06 Bastien Guerry <bzg@gnu.org>
1787 * hl-line.el (global-hl-line-overlay): Make a local variable.
1788 (global-hl-line-overlays): New variable to store all overlays.
1789 (global-hl-line-mode): Don't delete overlays from the current
1790 buffer when `global-hl-line-sticky-flag' is non-nil.
1791 (global-hl-line-highlight): Add new overlays to
1792 `global-hl-line-overlays'.
1793 (global-hl-line-unhighlight-all): New function to delete all
1794 overlays when turning off `global-hl-line-mode'.
1795 This fixes Bug#16183.
1797 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
1799 * subr.el (set-transient-map): Fix nested case and docstring.
1801 2014-01-06 Tassilo Horn <tsdh@gnu.org>
1803 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
1806 2014-01-06 Daniel Colascione <dancol@dancol.org>
1808 Fix defun navigation in vc log view.
1810 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
1811 like `beginning-of-defun'.
1812 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
1813 log-view-end-of-defun to log-view-end-of-defun-1. Replace
1814 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
1815 (log-view-extract-comment): Call `log-view-current-entry' directly
1816 instead of relying on broken `log-view-beginning-of-defun' behavior.
1818 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
1821 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
1822 * emacs-lisp/debug.el (cancel-debug-on-entry):
1823 * epg.el (epg-error-to-string):
1824 * files.el (recover-file):
1825 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
1826 * mail/emacsbug.el (report-emacs-bug-hook):
1827 * mail/sendmail.el (mail-recover):
1828 * ses.el (ses-yank-resize):
1829 * term/ns-win.el (ns-print-buffer):
1830 Spelling fixes in diagnostics, mostly for "canceled" with one L.
1831 * epg.el (epg-key-capability-alist): Rename from misspelled version.
1833 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
1835 2014-01-06 Leo Liu <sdl.web@gmail.com>
1837 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
1838 to avoid shadowing global key. (Bug#16354)
1840 2014-01-06 Daniel Colascione <dancol@dancol.org>
1842 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
1845 2014-01-05 Martin Rudalics <rudalics@gmx.at>
1847 * window.el (balance-windows): Add mising t to fix Bug#16351.
1849 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
1851 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
1853 (shr-insert): If we have a word that's longer than `shr-width',
1854 break after it anyway. Otherwise we'll do no breaking once we get
1857 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1859 * net/eww.el (eww): Support single/double quote for search.
1860 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
1861 (eww-history-quit): Delete and use quit-window.
1862 (eww-history-kill): Delete, because it doesn't work well and
1864 (eww-history-mode-map): Delete some keys and add easy-menu.
1866 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
1868 Fix misspelling of 'chinese' in rx (Bug#16237).
1869 * emacs-lisp/rx.el (rx-categories): Correct spelling of
1872 Change subword regexps back to vars (Bug#16296).
1873 * progmodes/subword.el (subword-forward-regexp)
1874 (subword-backward-regexp): Change these back to variables.
1876 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
1878 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
1879 syntax-begin-function (bug#16247).
1881 2014-01-03 Chong Yidong <cyd@gnu.org>
1883 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
1884 (advice--docstring): Delete variable.
1885 (advice--make-1): Leave the docstring empty.
1886 (advice-add): Use function-documentation for advised docstring.
1888 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
1889 Ignore function-documentation property when getting documentation.
1890 (ad-activate-advised-definition): Use function-documentation
1891 generate the docstring.
1892 (ad-make-advised-definition): Don't call
1893 ad-make-advised-definition-docstring.
1894 (ad-make-advised-definition-docstring, ad-advised-definition-p):
1897 * progmodes/sql.el (sql-help): Use function-documentation instead
1898 of dynamic-docstring-function property. No need to autoload now.
1899 (sql--help-docstring): New variable.
1900 (sql--make-help-docstring): Use it.
1902 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
1904 * ielm.el (ielm-tab): Retarget.
1905 (ielm-map): Use ielm-tab for tab.
1906 (ielm-complete-filename): Use comint-filename-completion.
1907 (ielm-complete-symbol): Remove.
1908 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
1909 remove ielm-tab from completion-at-point-functions (bug#16224).
1911 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
1912 Beware signals raised by predicates (bug#16201).
1914 2014-01-02 Richard Stallman <rms@gnu.org>
1916 * dired-aux.el (dired-do-print): Handle printer-name.
1918 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
1919 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
1920 (rmail-epa-decrypt): Turn off mime processing.
1922 * mail/rmail.el (rmail-make-in-reply-to-field):
1923 Add parens in message-id.
1925 * mail/rmail.el (rmail-get-coding-function): Variable.
1926 (rmail-get-coding-system): Use it.
1928 2013-12-31 Eli Zaretskii <eliz@gnu.org>
1930 * international/mule-conf.el: Unify the charset indian-is13194.
1931 (indian-is13194): Specify unify-map.
1933 2013-12-31 Leo Liu <sdl.web@gmail.com>
1935 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
1937 2013-12-30 Daniel Colascione <dancol@dancol.org>
1939 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
1940 of printing a useless when we resume from sleep.
1942 * progmodes/sh-script.el
1943 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
1944 in indentation code. (Bug#16233)
1946 2013-12-28 João Távora <joaotavora@gmail.com>
1948 * elec-pair.el (electric-pair-post-self-insert-function):
1949 Don't open extra newlines at beginning of buffer. (Bug#16272)
1951 2013-12-28 Eli Zaretskii <eliz@gnu.org>
1953 * frame.el (window-system-for-display): Don't allow to create a
1954 GUI frame from a -nw session on MS-Windows. (Bug#14739)
1956 2013-12-28 Glenn Morris <rgm@gnu.org>
1958 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
1961 * apropos.el (apropos-match-face):
1962 * calculator.el (calculator-displayer):
1963 * dabbrev.el (dabbrev-search-these-buffers-only):
1964 * face-remap.el (buffer-face-mode-face):
1965 * simple.el (yank-handled-properties):
1966 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
1967 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
1968 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
1969 (hashcash-double-spend-database):
1970 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
1971 (ruby-deep-indent-paren-style):
1972 * textmodes/flyspell.el (flyspell-auto-correct-binding):
1973 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
1974 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
1975 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
1976 Specify custom types.
1978 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
1979 * bookmark.el (bookmark-bmenu-use-header-line):
1980 * doc-view.el (doc-view-scale-internally):
1981 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
1982 * register.el (register-preview-delay):
1983 * net/shr.el (shr-bullet):
1984 * progmodes/cfengine.el (cfengine-cf-promises)
1985 (cfengine-parameters-indent):
1986 * progmodes/octave.el (inferior-octave-error-regexp-alist):
1987 * textmodes/reftex-vars.el (reftex-label-regexps):
1988 * vc/log-edit.el (log-edit-setup-add-author): Add version.
1990 * net/tls.el (tls-certtool-program): Fix default value.
1992 * desktop.el (desktop-restore-in-current-display):
1993 * newcomment.el (comment-empty-lines):
1994 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
1995 (idlwave-pad-keyword):
1996 * progmodes/tcl.el (tcl-tab-always-indent):
1997 * textmodes/reftex-vars.el (reftex-index-default-tag):
1998 * elec-pair.el (electric-pair-skip-whitespace):
1999 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
2001 * emacs-lisp/authors.el (authors-ignored-files)
2002 (authors-valid-file-names, authors-renamed-files-alist): Additions.
2004 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
2006 * shell.el (shell-dynamic-complete-command): Doc fix.
2007 (shell--command-completion-data): Shell completion now matches
2008 executable filenames from the current buffer's directory, on
2009 systems in which this behavior is the default (windows-nt, ms-dos).
2011 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
2013 * net/shr.el (shr-insert): Don't infloop if the width is zero.
2015 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
2017 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
2020 * electric.el: Move all electric-pair-* to elec-pair.el.
2021 * elec-pair.el: New file, split from electric.el.
2023 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
2025 * net/shr.el (shr-find-fill-point): Don't try to fill if the
2026 indentation level is larger than the width, because that will
2028 (shr-insert): Fill repeatedly long texts, so that Japanese is
2029 formatted correctly (bug#16263).
2030 (shr-find-fill-point): Off by one error in comparison with the
2033 2013-12-26 João Távora <joaotavora@gmail.com>
2035 * electric.el (electric-pair-mode): More flexible engine for skip-
2036 and inhibit predicates, new options for pairing-related functionality.
2037 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
2038 if that keeps or improves their balance in buffers.
2039 (electric-pair-delete-adjacent-pairs): Delete the pair when
2040 backspacing over adjacent matched delimiters.
2041 (electric-pair-open-extra-newline): Open extra newline when
2042 inserting newlines between adjacent matched delimiters.
2043 (electric--sort-post-self-insertion-hook):
2044 Sort post-self-insert-hook according to priority values when
2045 minor-modes are activated.
2046 * simple.el (newline-and-indent): Call newline with interactive
2048 (blink-paren-post-self-insert-function): Set priority to 100.
2049 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
2050 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
2051 comments. Locally set electric-pair-skip-whitespace to 'chomp and
2052 electric-pair-open-newline-between-pairs to nil.
2054 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
2056 * progmodes/python.el: Use lexical-binding.
2057 (python-nav-beginning-of-defun): Stop searching ASAP.
2059 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
2061 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
2062 Fix interactive spec. Doc fix. (Bug#15754)
2064 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
2066 * emacs-lisp/byte-run.el (eval-when-compile):
2067 * progmodes/cc-defs.el (cc-eval-when-compile):
2068 Fix edebug spec (bug#16184).
2070 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
2072 * net/shr.el (shr-visit-file): Remove debugging function.
2073 (shr-insert): Don't infloop if we can't find a good place to break
2074 the line (bug#16256).
2076 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
2078 * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
2079 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
2080 python-nav-lisp-forward-sexp-safe.
2081 (python-nav--forward-sexp): New argument SAFE allows switching
2082 forward sexp movement behavior for parens.
2083 (python-nav-forward-sexp): Throw errors on unterminated parens
2085 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
2086 (python-nav-backward-sexp-safe): New functions.
2087 (python-shell-buffer-substring):
2088 Use `python-nav-forward-sexp-safe'.
2090 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
2092 * net/shr.el (shr-find-fill-point): Don't break lines before a
2094 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
2095 (shr-find-fill-point): Remove the special checks for the quotation
2096 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
2098 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2100 * net/eww.el (eww-form-textarea): Use a different face for
2101 textareas than text input since they have different keymaps
2104 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
2106 * progmodes/python.el (python-nav-beginning-of-statement):
2107 Speed up (Bug#15295).
2109 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
2111 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
2112 the window configuration.
2114 2013-12-24 Eli Zaretskii <eliz@gnu.org>
2116 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
2117 we run on MS-Windows or MS-DOS.
2119 2013-12-24 Martin Rudalics <rudalics@gmx.at>
2121 * window.el (balance-windows-area): Call window-size instead of
2122 window-height and window-width. Bug#16241.
2124 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
2126 * net/eww.el (eww-bookmark-quit): Remove.
2127 (eww-bookmark-browse): Restore the window configuration when you
2128 choose a bookmark (bug#16144).
2130 2013-12-24 Daniel Colascione <dancol@dancol.org>
2132 * icomplete.el: Remove redundant :group arguments to `defcustom'
2134 (icomplete-show-matches-on-no-input): New customizable variable.
2135 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
2136 we have something to show.
2137 (icomplete-exhibit): Compute completions even if we have no user input.
2139 2013-12-23 Daniel Colascione <dancol@dancol.org>
2141 * icomplete.el: Move `provide' to end of file.
2143 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
2145 * net/gnutls.el (gnutls-verify-error): Add version tag.
2147 2013-12-23 Chong Yidong <cyd@gnu.org>
2149 * subr.el (set-transient-map): Rename from
2150 set-temporary-overlay-map. Doc fix.
2152 * face-remap.el (text-scale-adjust):
2153 * indent.el (indent-rigidly):
2154 * kmacro.el (kmacro-call-macro):
2155 * minibuffer.el (minibuffer-force-complete):
2156 * repeat.el (repeat):
2157 * simple.el (universal-argument--mode):
2158 * calendar/todo-mode.el (todo-insert-item--next-param):
2159 * progmodes/f90.el (f90-abbrev-start): Callers changed.
2161 * indent.el (indent-rigidly): Use substitute-command-keys.
2163 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2165 * net/eww.el (eww-tag-select): Add text-property to jump to next
2167 (eww): Add non-supported ftp error.
2169 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
2171 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
2172 comments. Handle electric indent after typing `?' and `!'.
2174 2013-12-22 Chong Yidong <cyd@gnu.org>
2176 * faces.el (face-spec-recalc): If the theme specs are not
2177 applicable to a frame, fall back on the defface spec.
2178 This prevents themes from obliterating faces on low-color terminals.
2180 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
2182 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
2183 after `{'. We need it after block openers, and it doesn't seem
2184 to hurt after hash openers.
2186 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
2188 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
2189 extracted from `ruby-smie-rules'.
2190 (ruby--electric-indent-chars): New variable.
2191 (ruby--electric-indent-p): New function.
2192 (ruby-mode): Use `electric-indent-functions' instead of
2193 `electric-indent-chars'.
2195 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
2197 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
2199 (ruby-smie-rules): Indent plus one level after `=>'.
2201 2013-12-21 Richard Stallman <rms@gnu.org>
2203 * simple.el (newline): Doc fix.
2205 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2207 * net/eww.el (eww-list-histories, eww-list-histories)
2208 (eww-history-browse, eww-history-quit, eww-history-kill)
2209 (eww-history-mode-map, eww-history-mode): New command and
2210 functions to list browser histories.
2211 (eww-form-text): Support text form with disabled
2212 and readonly attributes.
2213 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
2215 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2217 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
2218 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
2219 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
2220 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
2222 (eww-bookmark-mode-map): Add menu.
2223 (eww-render, eww-mode): Use `setq-local'.
2224 (eww-tool-bar-map): New variable.
2225 (eww-mode): Set `tool-bar-map'.
2226 (eww-view-source): Check for `html-mode' with `fboundp'.
2228 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
2230 * net/shr.el (shr--extract-best-source): Don't bug out on audio
2231 elements with text inside. Also remove debugging.
2233 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
2235 * cus-start.el (all): Add ns-use-srgb-colorspace.
2237 2013-12-21 Chong Yidong <cyd@gnu.org>
2239 * custom.el (custom-theme-recalc-face): Do nothing if the face is
2240 undefined. Thus, theme settings for undefined faces do not take
2241 effect until the faces are defined with defface, the same as with
2244 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
2245 (face-spec-reset-face): Don't assign extra properties in temacs.
2246 (face-spec-recalc): Apply X resources too.
2248 2013-12-21 Chong Yidong <cyd@gnu.org>
2250 * faces.el (face-spec-set):
2251 * cus-face.el (custom-theme-set-faces, custom-set-faces):
2252 * custom.el (defface): Doc fixes (Bug#16203).
2254 * indent.el (indent-rigidly-map): Add docstring, and move commands
2255 into named functions.
2256 (indent-rigidly-left, indent-rigidly-right)
2257 (indent-rigidly-left-to-tab-stop)
2258 (indent-rigidly-right-to-tab-stop): New functions. Decide on
2259 indentation direction based on bidi direction, and accumulate
2260 sequential commands in a single undo boundary.
2261 (indent-rigidly--pop-undo): New utility function.
2263 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
2265 * faces.el (read-face-name): Require crm.el when using crm-separator.
2267 2013-12-20 Daniel Colascione <dancol@dancol.org>
2269 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
2270 so that we don't reflow comments into the shebang line.
2272 2013-12-20 Juri Linkov <juri@jurta.org>
2274 * saveplace.el (save-place-to-alist): Add `dired-filename' as
2275 a position when `dired-directory' is non-nil. Check integer
2276 positions with `integerp'.
2277 (toggle-save-place, save-places-to-alist): Add check for
2279 (save-place-find-file-hook): Check integer positions with
2281 (save-place-dired-hook): Use `dired-goto-file' when
2282 `dired-filename' is found in the assoc list. Check integer
2283 positions with `integerp'.
2284 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
2286 * dired.el (dired-initial-position-hook): Rename back from
2287 `dired-initial-point-hook'.
2288 (dired-initial-position): Rename `dired-initial-point-hook' to
2289 `dired-initial-position-hook'.
2290 (dired-file-name-at-point): Doc fix. (Bug#15329)
2292 2013-12-20 Juri Linkov <juri@jurta.org>
2294 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
2295 (read-regexp-suggestions): New function.
2296 (read-regexp): Use `read-regexp-defaults-function' to get default values.
2297 Use `read-regexp-suggestions'. Add non-empty default to history
2299 (occur-read-regexp-defaults-function): Remove function.
2300 (occur-read-primary-args): Use `regexp-history-last' instead of
2301 `occur-read-regexp-defaults-function'.
2303 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
2304 (hi-lock-line-face-buffer, hi-lock-face-buffer)
2305 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
2306 `hi-lock-read-regexp-defaults-function'. Doc fix.
2307 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
2308 with `find-tag-default-as-symbol-regexp'. Doc fix.
2309 (hi-lock-read-regexp-defaults): Remove function.
2310 (hi-lock-regexp-okay): Add check for null.
2312 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
2313 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
2315 * subr.el (find-tag-default-as-symbol-regexp): New function.
2316 (find-tag-default-as-regexp): Move symbol regexp formatting to
2317 `find-tag-default-as-symbol-regexp'.
2319 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
2321 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
2324 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
2326 * calendar/todo-mode.el: New implementation of item insertion
2327 commands and key bindings.
2328 (todo-key-prompt): New face.
2329 (todo-insert-item): New command.
2330 (todo-insert-item--parameters): New defconst, replacing defvar
2331 todo-insertion-commands-args-genlist.
2332 (todo-insert-item--param-key-alist): New defconst, replacing
2333 defvar todo-insertion-commands-arg-key-list.
2334 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
2335 (todo-insert-item--argsleft, todo-insert-item--apply-args)
2336 (todo-insert-item--next-param): New functions.
2337 (todo-insert-item--args, todo-insert-item--argleft)
2338 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
2340 (todo-key-bindings-t): Change binding of "i" from
2341 todo-insertion-map to todo-insert-item.
2342 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
2343 (todo-insertion-command-name, todo-insertion-commands-names)
2344 (todo-define-insertion-command, todo-insertion-commands)
2345 (todo-insertion-key-bindings, todo-insertion-map): Remove.
2347 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
2349 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
2350 (todo-toggle-item-highlighting): Use eval-and-compile instead of
2352 (todo-move-category): Allow choosing a non-existing todo file to
2353 move the category to, and create that file.
2354 (todo-default-priority): New user option.
2355 (todo-set-item-priority): Use it.
2356 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
2357 (desktop-restore-file-buffer): Declare.
2358 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
2359 (todo-modes-set-2): Locally set desktop-save-buffer to
2360 todo-desktop-save-buffer.
2361 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
2362 (auto-mode-alist): Add autoload cookie.
2364 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
2366 * emacs-lisp/subr-x.el: Renamed from helpers.el.
2367 helpers.el was a poor choice of name.
2368 (string-remove-prefix): New function.
2369 (string-remove-suffix): New function.
2371 2013-12-20 Martin Rudalics <rudalics@gmx.at>
2373 Fix assignment for new window total sizes.
2374 * window.el (window--pixel-to-size): Remove function.
2375 (window--pixel-to-total-1, window--pixel-to-total):
2376 Fix calculation of new total sizes.
2378 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
2380 * comint.el (comint-output-filter): Fix rear-nonsticky property
2381 placement (Bug#16010).
2383 2013-12-20 Chong Yidong <cyd@gnu.org>
2385 * faces.el (read-color): Minor fix for completion function.
2387 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
2389 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
2390 New option. (Bug#16182)
2391 (ruby-smie--indent-to-stmt-p): Use it.
2392 (ruby-smie-rules): Revert the logic in the handling of `when'.
2393 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
2394 (ruby-deep-arglist, ruby-deep-indent-paren)
2395 (ruby-deep-indent-paren-style): Update docstrings to note that the
2396 vars don't have any effect with SMIE.
2398 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
2400 * calc/calc.el (calc-enter, calc-pop): Use the variable
2401 `calc-context-sensitive-enter'.
2403 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
2405 * net/shr.el (shr-insert): Protect against infloops in degenerate
2408 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2410 * progmodes/octave.el (octave): Add link to manual and octave
2412 (octave-mode-menu): Link to octave-mode manual.
2414 2013-12-20 Leo Liu <sdl.web@gmail.com>
2416 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
2417 insertion using skeleton-end-newline. (Bug#16138)
2419 2013-12-20 Juri Linkov <juri@jurta.org>
2421 * replace.el (occur-engine): Use `add-face-text-property'
2422 to add the face property to matches and titles. (Bug#14645)
2424 * hi-lock.el (hi-green): Use lighter color "light green" closer to
2425 the palette of other hi-lock colors.
2426 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
2428 2013-12-19 Juri Linkov <juri@jurta.org>
2430 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
2431 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
2432 (minibuffer-history-symbol): Move variable declaration closer to
2435 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
2438 2013-12-19 Juri Linkov <juri@jurta.org>
2440 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
2442 (log-edit-hook): Add it to :options. (Bug#16170)
2444 2013-12-19 Juri Linkov <juri@jurta.org>
2446 * simple.el (eval-expression-print-format): Don't check for
2447 command names and the last command. Always display additional
2448 formats of the integer result in the echo area, and insert them
2449 to the current buffer only with a zero prefix arg.
2450 Display character when char-displayable-p is non-nil.
2451 (eval-expression): With a zero prefix arg, set `print-length' and
2452 `print-level' to nil, and insert the integer values from
2453 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
2455 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
2456 `eval-last-sexp-arg-internal'. Doc fix.
2457 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
2458 `eval-last-sexp-print-value'. Doc fix.
2459 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
2460 Set `print-length' and `print-level' to nil when arg is zero.
2461 (eval-last-sexp): Doc fix.
2462 (eval-defun-2): Print the integer values from
2463 `eval-expression-print-format' at the end.
2465 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
2466 values from `eval-expression-print-format' at the end.
2468 * ielm.el (ielm-eval-input): Print the integer
2469 values from `eval-expression-print-format' at the end.
2471 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
2473 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
2474 2013-12-11T19:01:44Z!tzz@lifelogs.com.
2476 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
2478 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
2479 (hl-line-highlight, global-hl-line-highlight): Use it.
2480 (hl-line-overlay): Use defvar-local.
2482 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
2484 * term/ns-win.el: Require dnd.
2485 (global-map): Remove drag items.
2486 (ns-insert-text, ns-set-foreground-at-mouse)
2487 (ns-set-background-at-mouse):
2488 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
2489 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
2492 2013-12-19 Glenn Morris <rgm@gnu.org>
2494 * emacs-lisp/ert.el (ert-select-tests):
2495 Fix string/symbol mixup. (Bug#16121)
2497 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
2499 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
2500 keywords to their parent.
2502 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
2504 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
2505 first arg to be a string (fixed dead code), or an operator symbol.
2506 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
2508 (ruby-smie-rules): Remove parent token check in the `.' clause, it
2509 did nothing. Don't respond to `(:after ".")', it will be called
2510 with :before anyway. Remove the ` @ ' rule, it didn't seem to
2511 change anything. Only return indentation for binary operators
2512 when they are hanging. De-dent opening paren when its parent is
2513 `.', otherwise it looks bad when the dot is not at bol or eol
2516 2013-12-19 Juri Linkov <juri@jurta.org>
2518 * replace.el (query-replace-read-args): Split a non-negative arg
2519 and a negative arg into separate elements.
2520 (query-replace, query-replace-regexp, replace-string)
2521 (replace-regexp): Add arg `backward'. Doc fix.
2522 (replace-match-maybe-edit): When new arg `backward' is non-nil,
2523 move point to the beginning of the match.
2524 (replace-search, replace-highlight): Use new arg `backward'
2525 to set the value of `isearch-forward'.
2526 (perform-replace): Add arg `backward' and use it to perform
2527 replacement backward. (Bug#14979)
2529 * isearch.el (isearch-query-replace): Use a negative prefix arg
2530 to call `perform-replace' with a non-nil arg `backward'.
2532 2013-12-18 Juri Linkov <juri@jurta.org>
2534 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
2535 to the default list. Move `log-edit-show-files' to the end.
2536 Add more available functions to options.
2537 (log-edit): Move default specific settings to
2538 `log-edit-insert-message-template'. Don't move point.
2539 (log-edit-insert-message-template): New function.
2540 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
2543 2013-12-18 Juri Linkov <juri@jurta.org>
2545 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
2546 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
2548 2013-12-18 Leo Liu <sdl.web@gmail.com>
2550 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
2553 2013-12-18 Eli Zaretskii <eliz@gnu.org>
2555 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
2556 formats for displaying file sizes when the -s switch is given.
2557 Instead, compute a separate format for displaying the size in
2558 blocks, which is displayed in addition to the "regular" size.
2559 When -h is given in addition to -s, produce size in blocks in
2560 human-readable form as well. (Bug#16179)
2562 2013-12-18 Tassilo Horn <tsdh@gnu.org>
2564 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
2565 Reference tables with ~\ref{...} instead of only \ref{...}.
2567 2013-12-18 Chong Yidong <cyd@gnu.org>
2569 * cus-edit.el (custom-magic-alist): Fix "themed" description
2572 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
2573 is non-nil, do not create a new entry in the symbol's theme-value
2574 or theme-face property; update theme-settings only (Bug#14664).
2575 (custom-available-themes): Doc fix.
2577 * cus-theme.el (custom-new-theme-mode-map): Add bindings
2580 * replace.el (occur-engine): Avoid infloop (Bug#7593).
2582 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
2584 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
2587 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
2589 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
2591 2013-12-18 Glenn Morris <rgm@gnu.org>
2593 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
2594 * cus-start.el (load-prefer-newer): New option.
2596 2013-12-18 Le Wang <l26wang@gmail.com>
2598 * comint.el (comint-previous-matching-input-from-input):
2599 Retain point (Bug#13404).
2601 2013-12-18 Chong Yidong <cyd@gnu.org>
2603 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
2605 2013-12-18 Glenn Morris <rgm@gnu.org>
2607 * mail/emacsbug.el (report-emacs-bug):
2608 Only mention enable-multibyte-characters if non-standard.
2610 2013-12-17 Juri Linkov <juri@jurta.org>
2612 * arc-mode.el (archive-extract-by-file): Check if directory exists
2613 before deletion to not show irrelevant errors if it doesn't exist.
2615 2013-12-17 Juri Linkov <juri@jurta.org>
2617 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
2620 * net/eww.el (browse-web): Add alias to `eww'.
2621 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
2622 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
2624 * net/browse-url.el (browse-url-browser-function): Move `eww'
2625 closer to similar functions.
2627 * startup.el (fancy-startup-screen, fancy-about-screen):
2628 Set browse-url-browser-function to eww-browse-url locally.
2631 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
2633 * window.el (window--pixel-to-total): Remove unused `mini' var.
2634 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
2635 (split-window): Remove unused `new' var.
2636 (window--display-buffer): Remove unused `frame' and `delta' vars.
2637 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
2640 2013-12-17 Martin Rudalics <rudalics@gmx.at>
2642 * dired.el (dired-mark-pop-up):
2643 * register.el (register-preview): Don't bind
2644 split-height-threshold here since it's now done in
2645 display-buffer-below-selected.
2647 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
2649 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
2650 xterm-rgb-convert-to-16bit.
2651 (rxvt-register-default-colors): Standardize with
2652 xterm-register-default-colors (Bug#14078).
2654 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
2656 * simple.el (kill-region): Pass mark first, then point, so that
2657 kill-append works right (Bug#12819).
2658 (copy-region-as-kill, kill-ring-save): Likewise.
2660 2013-12-17 Leo Liu <sdl.web@gmail.com>
2662 * net/rcirc.el (rcirc-add-face):
2663 * eshell/em-prompt.el (eshell-emit-prompt):
2664 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
2667 2013-12-17 Chong Yidong <cyd@gnu.org>
2669 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
2670 Suggested by Xue Fuqiao.
2672 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
2674 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
2676 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
2678 * net/shr.el (shr-insert-document): Remove unused var
2679 `shr-preliminary-table-render'.
2680 (shr-rescale-image): Remove unused arg `force'.
2681 (shr-put-image): Update calls accordingly.
2682 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
2684 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
2686 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
2687 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
2688 :close-all, to see which indentation method to use (Bug#16116).
2689 (smie-rules-function): Document the method :close-all.
2691 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
2693 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
2695 * net/eww.el (eww-display-html): If we can't find the anchor we're
2696 looking for, then go to point-min.
2698 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
2700 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
2701 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
2702 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
2703 Expand dir too, in case it's relative.
2705 2013-12-16 Juri Linkov <juri@jurta.org>
2707 * desktop.el (desktop-auto-save-timeout): Change default to
2708 `auto-save-timeout'. Doc fix.
2709 (desktop-save): Skip the timestamp in desktop-saved-frameset
2710 when checking for auto-save changes.
2711 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
2712 `desktop-auto-save' is called repeatedly by the idle timer.
2713 (desktop-auto-save-set-timer): Replace `run-with-timer' with
2714 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
2717 2013-12-16 Juri Linkov <juri@jurta.org>
2719 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
2721 (isearch-pre-command-hook): Check `this-command' for symbolp.
2723 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
2725 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
2727 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
2729 * progmodes/cfengine.el (cfengine3--current-word): Remove.
2730 (cfengine3--current-function): Bring in the current-function
2731 functionality from `cfengine3--current-word'.
2732 (cfengine3-completion-function): Bring in the
2733 bounds-of-current-word functionality from
2734 `cfengine3--current-word'.
2736 2013-12-16 Martin Rudalics <rudalics@gmx.at>
2738 * window.el (display-buffer-below-selected):
2739 Bind split-height-threshold to 0 as suggested by Juri Linkov.
2741 2013-12-16 Leo Liu <sdl.web@gmail.com>
2743 * progmodes/compile.el (compile-goto-error): Do not push-mark.
2744 Remove NOMSG arg and all uses changed.
2746 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
2748 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
2749 (cua--deactivate-rectangle): Don't deactivate the mark.
2750 (cua-set-rectangle-mark): Don't set mark-active since
2751 cua--activate-rectangle already does it for us.
2752 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
2753 non-rectangular region.
2755 * emulation/cua-base.el (cua-repeat-replace-region):
2756 Use with-current-buffer.
2758 * net/gnutls.el: Use cl-lib.
2759 (gnutls-negotiate): `mapcan' -> cl-mapcan.
2761 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
2763 * emacs-lisp/package.el (package-built-in-p): Support both
2764 built-in and the package.el converted package descriptions.
2765 (package-show-package-list): Allow keywords.
2766 (package-keyword-button-action): Use it instead of
2767 `finder-list-matches'.
2768 (package-menu-filter-interactive): Interactive filtering (by
2770 (package-menu--generate): Support keywords and change keymappings
2771 and headers when they are given.
2772 (package--has-keyword-p): Helper function.
2773 (package-menu--refresh): Use it.
2774 (package--mapc): Helper function.
2775 (package-all-keywords): Use it.
2776 (package-menu-mode-map): Set up menu items and keybindings to
2777 provide a filtering UI.
2779 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
2781 * net/gnutls.el (gnutls-verify-error): New defcustom to control
2782 the behavior when a certificate fails validation. Defaults to
2783 old behavior: never abort, just warn.
2784 (gnutls-negotiate): Use it.
2786 2013-12-14 Martin Rudalics <rudalics@gmx.at>
2788 * window.el (display-buffer-below-selected): Never split window
2789 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
2791 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
2793 * emacs-lisp/package.el (package--prepare-dependencies): New function.
2794 (package-buffer-info): Use it (bug#15108).
2796 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
2798 * icomplete.el (icomplete-completions): Make sure the prefix is already
2799 displayed elsewhere before hiding it (bug#16219).
2801 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
2803 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
2804 open-paren tokens when preceded by a open-paren, too.
2805 (ruby-smie-rules): Handle virtual indentation after open-paren
2806 tokens specially. If there is code between it and eol, return the
2807 column where is starts (Bug#16118).
2809 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
2811 * progmodes/cfengine.el: Fix `add-hook' doc.
2812 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
2813 (cfengine3--current-word): Fix parameters.
2814 (cfengine3-make-syntax-cache): Simplify further.
2815 (cfengine3-completion-function, cfengine3--current-function):
2816 Use `assq' for symbols.
2817 (cfengine3--current-function): Fix `cfengine3--current-word' call.
2819 2013-12-13 Glenn Morris <rgm@gnu.org>
2821 * loadup.el (load-path): Warn if site-load or site-init changes it.
2822 No more need to reset it when bootstrapping.
2824 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
2826 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
2827 locations for cf-promises.
2828 (cfengine-mode-syntax-functions-regex): New caching variable.
2829 (cfengine3-fallback-syntax): Fallback syntax for cases where
2830 cf-promises doesn't run.
2831 (cfengine3--current-word): Reimplement using
2832 `cfengine-mode-syntax-functions-regex'.
2833 (cfengine3-completion-function, cfengine3--current-function):
2834 Use `cfengine3-make-syntax-cache' directly.
2835 (cfengine3-clear-syntax-cache): New function.
2836 (cfengine3-make-syntax-cache): Simplify and create
2837 `cfengine-mode-syntax-functions-regex' on demand.
2838 (cfengine3-format-function-docstring): Don't call
2839 `cfengine3-make-syntax-cache' explicitly.
2841 2013-12-13 Martin Rudalics <rudalics@gmx.at>
2843 Fix windmove-find-other-window broken after pixelwise resizing
2845 * windmove.el (windmove-other-window-loc): Revert change from
2847 (windmove-find-other-window): Call window-in-direction.
2848 * window.el (window-in-direction): New arguments SIGN, WRAP and
2849 MINI to emulate original windmove-find-other-window behavior.
2851 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
2853 * simple.el (blink-matching--overlay): New variable.
2854 (blink-matching-open): Instead of moving point, highlight the
2855 matching paren with an overlay
2856 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
2858 * faces.el (paren-showing-faces, show-paren-match)
2859 (show-paren-mismatch): Move from paren.el.
2861 2013-12-13 Leo Liu <sdl.web@gmail.com>
2863 * indent.el (indent-region): Disable progress reporter in
2864 minibuffer. (Bug#16108)
2866 * bindings.el (visual-order-cursor-movement): Fix version.
2868 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
2870 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
2871 Also match after beginning of line.
2872 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
2873 files. Thanks to Russell Sim. (Bug#15378)
2875 2013-12-13 Juri Linkov <juri@jurta.org>
2877 * simple.el <Keypad support>: Remove key bindings duplicated
2878 with bindings.el. (Bug#14397)
2880 2013-12-13 Juri Linkov <juri@jurta.org>
2882 * comint.el (comint-mode-map): Replace `delete-char' with
2883 `delete-forward-char'. (Bug#16109)
2885 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
2887 * progmodes/python.el (python-indent-calculate-indentation):
2888 Fix de-denters cornercase. (Bug#15731)
2890 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
2892 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
2893 (advice--make): Pay attention to `depth'.
2894 (advice--make-1): Don't autoload commands eagerly.
2895 * emacs-lisp/elp.el (elp-instrument-function):
2896 * emacs-lisp/trace.el (trace-function-internal):
2897 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
2899 * iswitchb.el (iswitchb-mode): Don't belittle ido.
2901 2013-12-12 Eli Zaretskii <eliz@gnu.org>
2903 * term/w32-win.el (w32-handle-dropped-file):
2904 * startup.el (normal-top-level):
2905 * net/browse-url.el (browse-url-file-url):
2906 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
2907 decode file names using 'utf-8' rather than
2908 file-name-coding-system.
2910 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
2912 * progmodes/python.el (python-indent-context)
2913 (python-indent-calculate-indentation): Fix auto-identation
2914 behavior for comment blocks. (Bug#15916)
2916 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2918 * progmodes/python.el (python-indent-calculate-indentation):
2919 When determining indentation, don't treat "return", "pass", etc., as
2920 operators when they are just string constituents. (Bug#15812)
2922 2013-12-12 Juri Linkov <juri@jurta.org>
2924 * uniquify.el (uniquify-buffer-name-style): Change default to
2925 `post-forward-angle-brackets'.
2927 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
2928 `uniquify'. Change default to `post-forward-angle-brackets'.
2930 2013-12-11 Glenn Morris <rgm@gnu.org>
2932 * emacs-lisp/package.el (finder-list-matches):
2933 Autoload rather than falsely declaring.
2935 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
2937 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
2938 (eww-mode-map): Use them.
2940 2013-12-11 Martin Rudalics <rudalics@gmx.at>
2942 * window.el (display-buffer-in-side-window): Fix doc-string
2945 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
2947 * vc/vc-git.el: Silence byte-compiler warnings.
2948 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
2949 (log-edit-set-header): Declare.
2951 2013-12-11 Eli Zaretskii <eliz@gnu.org>
2953 * Makefile.in (custom-deps, finder-data): Run output file names
2954 through unmsys--file-name. (Bug#16099)
2956 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
2958 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
2959 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
2961 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
2962 instead of deleting the selection "by hand" (bug#16098).
2963 Rely on insert-for-yank to yank rectangles.
2964 (cua-highlight-region-shift-only): Mark obsolete.
2965 (cua-mode): Don't enable/disable transient-mark-mode,
2966 shift-select-mode (cua-mode works both with and without them), and
2967 pc-selection-mode (obsolete).
2968 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
2969 (cua--deactivate-rectangle): Deactivate it.
2971 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
2972 (delete-selection-helper): Make sure yank starts at the top of the
2974 (minibuffer-keyboard-quit): Use region-active-p.
2976 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
2978 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
2979 to `delete' (bug#16109).
2981 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2983 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
2984 info manual and show keybindings and set `:group' keyword.
2986 2013-12-11 Juri Linkov <juri@jurta.org>
2988 * delsel.el (delete-active-region): Let-bind `this-command'
2989 to prevent `kill-region' from changing its original value.
2990 (delete-selection-helper): Handle `overwrite-mode' for the type
2991 `kill' exactly the same way as for the type `t'.
2992 (insert-char, quoted-insert, reindent-then-newline-and-indent):
2993 Support more commands. (Bug#13312)
2995 2013-12-11 Juri Linkov <juri@jurta.org>
2997 * bindings.el: Map kp keys to non-kp keys systematically
2998 with basic modifiers control, meta and shift. (Bug#14397)
3000 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
3002 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
3003 "Close browser" menu items. Fix wrong function of "List
3006 2013-12-11 Juri Linkov <juri@jurta.org>
3008 * misearch.el (multi-isearch-buffers): Set the value of
3009 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
3010 arg of isearch-forward to t.
3011 (multi-isearch-buffers-regexp): Set the value of
3012 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
3013 arg of isearch-forward-regexp to t.
3014 (multi-isearch-files): Set the value of
3015 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
3016 arg of isearch-forward to t.
3017 (multi-isearch-files-regexp): Set the value of
3018 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
3019 arg of isearch-forward-regexp to t. (Bug#16035)
3021 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
3022 arg of isearch-forward to t.
3023 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
3024 arg of isearch-forward-regexp to t.
3025 (dired-isearch-filter-filenames): Remove unnecessary check for
3026 `dired-isearch-filenames'.
3028 * comint.el (comint-history-isearch-backward):
3029 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
3030 (comint-history-isearch-backward-regexp):
3031 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
3033 2013-12-10 Eli Zaretskii <eliz@gnu.org>
3035 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
3036 unmsys--file-name. (Bug#16099)
3038 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
3040 * emacs-lisp/package.el (package-keyword-button-action):
3041 Remove finder.el require dependency.
3043 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
3045 * emacs-lisp/package.el: Require finder.el.
3046 (describe-package-1): Add keyword buttons.
3047 (package-make-button): New convenience function.
3048 (package-keyword-button-action): Keyword button action using
3049 `finder-list-matches'.
3051 2013-12-09 Eli Zaretskii <eliz@gnu.org>
3053 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
3056 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
3058 * autorevert.el (auto-revert-notify-add-watch): Do not handle
3061 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
3063 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
3064 after the end of a percent literal.
3066 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
3068 * progmodes/ruby-mode.el (ruby-forward-string): Document.
3069 Handle caret-delimited strings (Bug#16079).
3071 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
3073 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
3074 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
3075 `ruby-parse-partial' (Bug#16078).
3077 2013-12-09 Leo Liu <sdl.web@gmail.com>
3079 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
3081 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
3083 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
3084 (js-switch-indent-offset): New option.
3085 (js--proper-indentation): Use it. And handle the case when
3086 "default" is actually a key in an object literal.
3087 (js--same-line): New function.
3088 (js--multi-line-declaration-indentation): Use it.
3089 (js--indent-in-array-comp, js--array-comp-indentation):
3091 (js--proper-indentation): Use them, to handle array comprehension
3094 2013-12-08 Leo Liu <sdl.web@gmail.com>
3096 * progmodes/flymake.el (flymake-highlight-line): Re-write.
3097 (flymake-make-overlay): Remove arg MOUSE-FACE.
3098 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
3100 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
3102 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
3104 (redisplay-highlight-region-function): Use it.
3106 * emulation/cua-base.el (cua--explicit-region-start)
3107 (cua--last-region-shifted): Remove.
3108 (cua--deactivate): Use deactivate-mark.
3109 (cua--pre-command-handler-1): Don't handle shift-selection.
3110 (cua--post-command-handler-1): Don't change transient-mark-mode.
3111 (cua--select-keymaps): Use region-active-p rather than
3112 cua--explicit-region-start or cua--last-region-shifted.
3113 (cua-mode): Enable shift-select-mode.
3115 2013-12-08 Leo Liu <sdl.web@gmail.com>
3117 * progmodes/flymake.el (flymake-popup-current-error-menu):
3118 Rename from flymake-display-err-menu-for-current-line. Reimplement.
3119 (flymake-posn-at-point-as-event, flymake-popup-menu)
3120 (flymake-make-emacs-menu): Remove. (Bug#16077)
3122 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
3124 * rect.el (rectangle-mark-mode): Activate mark even if
3125 transient-mark-mode is off (bug#16066).
3126 (rectangle--highlight-for-redisplay): Fix boundary condition when point
3127 is > mark and at bolp.
3129 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
3130 (region-extract-function): Use it.
3131 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
3132 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
3134 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
3135 kill-ring-save, kill-region, delete-char, delete-forward-char.
3136 Ignore self-insert-iso.
3138 * emulation/cua-gmrk.el (cua--init-global-mark):
3139 Ignore `self-insert-iso'.
3141 * emulation/cua-base.el (cua--prefix-copy-handler)
3142 (cua--prefix-cut-handler): Rely on region-extract-function rather than
3143 checking cua--rectangle.
3144 (cua-delete-region): Use region-extract-function.
3145 (cua-replace-region): Delete function.
3146 (cua-copy-region, cua-cut-region): Obey region-extract-function.
3147 (cua--pre-command-handler-1): Don't do the delete-selection thing.
3148 (cua--self-insert-char-p): Ignore `self-insert-iso'.
3149 (cua--init-keymaps): Don't remap delete-selection commands.
3150 (cua-mode): Use delete-selection-mode instead of rolling our own
3153 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
3154 Obey region-extract-function.
3156 Make registers and delete-selection-mode work on rectangles.
3157 * register.el (describe-register-1): Don't modify the register's value.
3158 (copy-to-register): Obey region-extract-function.
3159 * delsel.el (delete-active-region): Obey region-extract-function.
3161 2013-12-08 Leo Liu <sdl.web@gmail.com>
3163 * progmodes/flymake.el (flymake, flymake-error-bitmap)
3164 (flymake-warning-bitmap, flymake-fringe-indicator-position)
3165 (flymake-compilation-prevents-syntax-check)
3166 (flymake-start-syntax-check-on-newline)
3167 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
3168 (flymake-start-syntax-check-on-find-file, flymake-log-level)
3169 (flymake-xml-program, flymake-master-file-dirs)
3170 (flymake-master-file-count-limit)
3171 (flymake-allowed-file-name-masks): Relocate.
3172 (flymake-makehash, flymake-float-time)
3173 (flymake-replace-regexp-in-string, flymake-split-string)
3174 (flymake-get-temp-dir): Remove.
3175 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
3176 (flymake-current-row, flymake-selected-frame)
3177 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
3178 related functions. (Bug#16077)
3180 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
3182 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
3184 2013-12-07 Tassilo Horn <tsdh@gnu.org>
3186 * help-fns.el (describe-function-1): Use new advice-* functions
3187 rather than old ad-* functions. Fix function type description and
3188 source links for advised functions and subrs.
3190 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
3192 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
3194 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
3196 * progmodes/compile.el (compilation-start):
3197 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
3199 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3200 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
3202 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
3204 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
3205 Touch up the last change.
3207 2013-12-06 Leo Liu <sdl.web@gmail.com>
3209 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
3210 (inferior-octave-startup): Always use "octave> " for prompt.
3211 (octave-goto-function-definition)
3212 (octave-sync-function-file-names)
3213 (octave-find-definition-default-filename): Remove redundant backquotes.
3215 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
3217 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
3219 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
3220 where appropriate already.
3221 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
3222 end of method names (Bug#15874).
3224 2013-12-06 Juri Linkov <juri@jurta.org>
3226 * isearch.el (isearch--saved-overriding-local-map):
3227 New internal variable.
3228 (isearch-mode): Set it to the initial value of
3229 `overriding-terminal-local-map'.
3230 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
3231 with `isearch--saved-overriding-local-map'. (Bug#16035)
3233 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
3235 * progmodes/octave.el (inferior-octave-completion-table):
3236 Turn back into function, use `completion-table-with-cache'
3237 (Bug#11906). Update all references.
3239 * minibuffer.el (completion-table-with-cache): New function.
3241 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
3243 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
3245 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
3247 * net/eww.el (eww-current-source): New variable to store page
3249 (eww-display-html, eww-mode, eww-save-history)
3250 (eww-restore-history): Use it.
3251 (eww-view-source): New command to view page source.
3252 Opportunistically uses `html-mode' to highlight the buffer.
3253 (eww-mode-map): Install it.
3255 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
3257 * net/dbus.el (dbus-unregister-service)
3258 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
3260 (dbus-unregister-service): Skip :serial entries in
3261 `dbus-registered-objects-table'.
3262 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
3264 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
3266 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
3267 around keywords with extra `split-string' argument.
3269 2013-12-04 Martin Rudalics <rudalics@gmx.at>
3271 * windmove.el (windmove-other-window-loc): Handle navigation
3272 between windows (excluding the minibuffer window - Bug#16017).
3274 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
3276 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
3277 in D-Bus type syntax.
3278 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
3279 preserve unibyte strings. (Bug#16048)
3281 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
3283 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
3284 Call force-mode-line-update is the proper buffer (bug#16042).
3286 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
3288 * vc/log-edit.el (log-edit-add-new-comment): Rename to
3289 `log-edit-remember-comment', make argument optional. Adjust all
3291 (log-edit-mode): Add `log-edit-remember-comment' to
3292 `kill-buffer-hook' locally.
3293 (log-edit-kill-buffer): Don't remember comment explicitly since
3294 the buffer is killed anyway.
3296 2013-12-04 Juri Linkov <juri@jurta.org>
3298 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
3299 add-hook and remove-hook for multi-buffer search. (Bug#16035)
3301 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
3303 * notifications.el (notifications-close-notification): Call the
3304 D-Bus method with ID being a `:uint32'. (Bug#16030)
3306 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
3308 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
3310 2013-12-03 Juri Linkov <juri@jurta.org>
3312 * progmodes/compile.el (compilation-start): Rename window alist
3313 entry `no-display-ok' to `allow-no-window'.
3315 * simple.el (shell-command): Add window alist entry
3316 `allow-no-window' to `display-buffer'.
3317 (async-shell-command): Doc fix.
3319 * window.el (display-buffer-no-window): New action function.
3320 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
3322 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
3324 * vc/log-edit.el (log-edit-set-header): Extract from
3325 `log-edit-toggle-header'.
3326 (log-edit-extract-headers): Separate the summary, when extracted
3327 from header, from the rest of the message with an empty line.
3329 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
3330 line, if present, to the Summary header.
3332 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
3334 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
3335 in current-buffer (bug#16029).
3337 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
3339 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
3340 (debugger-mode-map): Bind it.
3341 (debugger--backtrace-base): New function.
3342 (debugger-eval-expression): Use it.
3343 (debugger-frame-number): Skip local vars when present.
3344 (debugger--locals-visible-p, debugger--insert-locals)
3345 (debugger--show-locals, debugger--hide-locals): New functions.
3347 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
3349 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
3351 (tramp-get-remote-locale): New defun.
3352 (tramp-open-connection-setup-interactive-shell): Use it.
3354 2013-12-02 Leo Liu <sdl.web@gmail.com>
3356 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
3358 * progmodes/sh-script.el (sh-shell-process):
3359 * progmodes/octave.el (inferior-octave-process-live-p):
3360 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
3361 (gdb-inferior-io-sentinel):
3362 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
3364 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
3366 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
3367 `save-selected-window' to `log-edit-hide-buf'. This makes
3368 `log-edit-show-files' idempotent.
3369 (log-edit-show-files): Mark the new window as dedicated.
3371 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
3373 * vc/log-edit.el (log-edit-mode-map): Add binding for
3374 `log-edit-kill-biffer'.
3375 (log-edit-hide-buf): Add a FIXME comment.
3376 (log-edit-add-new-comment): New function, extracted from
3378 (log-edit-done, log-edit-add-to-changelog): Use it.
3379 (log-edit-kill-buffer): New command.
3381 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
3383 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
3384 instead of killing the buffer.
3386 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
3388 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
3390 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3392 * net/eww.el (eww-form-checkbox-selected-symbol)
3393 (eww-form-checkbox-symbol): New customizable variable.
3394 (eww-form-checkbox, eww-toggle-checkbox):
3395 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
3397 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
3398 (shr--get-media-pref, shr--extract-best-source): New function.
3399 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
3400 no :src tag was specified.
3402 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
3403 (eww-render): Handle `eww-use-external-browser-for-content-type'.
3404 Use \\` to match beginning of string instead of ^.
3405 (eww-browse-with-external-browser): Provide optional URL parameter.
3406 (eww-render): Set `eww-current-title' back to "".
3408 * net/shr.el (shr-tag-video): Display content for video if no
3409 poster is available.
3410 (shr-tag-audio): Add support for <audio> tag.
3412 * net/eww.el (eww-text-input-types): New const.
3413 (eww-process-text-input): Treat input types in
3414 `eww-text-input-types' as text.
3416 * net/shr.el (shr-tag-table): Fix comment typo.
3418 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
3420 * net/eww.el (eww-follow-link): New command to avoid reloading
3421 pages when we follow #target links (bug#15243).
3422 (eww-quit): Special mode buffers shouldn't query before exiting.
3424 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
3426 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
3429 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
3431 * net/eww.el (eww-restore-history): Update the window title after
3432 moving in the history.
3433 (eww-current-dom): New variable used to save the current DOM.
3435 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
3437 * vc/log-edit.el (log-edit-mode-map): Add binding for
3438 `log-edit-beginning-of-line'.
3439 (log-edit-setup-add-author): New user option.
3440 (log-edit-beginning-of-line): New command.
3441 (log-edit): Move major mode call above the contents setup so that
3442 the local variable values are already applied.
3443 (log-edit): Only insert "Author: " when
3444 `log-edit-setup-add-author' is non-nil.
3445 (log-edit): When SETUP is non-nil, position point after ": "
3446 instead of point-min.
3448 2013-12-01 Glenn Morris <rgm@gnu.org>
3450 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
3452 2013-11-30 Eli Zaretskii <eliz@gnu.org>
3454 * startup.el (fancy-splash-frame): On MS-Windows, trigger
3455 redisplay to make sure the initial frame gets a chance to become
3456 visible. (Bug#16014)
3458 2013-11-30 Martin Rudalics <rudalics@gmx.at>
3460 Support resizing frames and windows pixelwise.
3461 * cus-start.el (frame-resize-pixelwise)
3462 (window-resize-pixelwise): New entries.
3463 * emacs-lisp/debug.el (debug): Use window-total-height instead
3464 of window-total-size.
3465 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
3466 * help.el (describe-bindings-internal): Use help-buffer as
3467 argument for with-help-window.
3468 (temp-buffer-max-width): New option.
3469 (resize-temp-buffer-window, help-window-setup)
3470 (with-help-window): Rewrite.
3471 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
3473 * window.el (frame-char-size, window-min-pixel-height)
3474 (window-safe-min-pixel-height, window-safe-min-pixel-width)
3475 (window-min-pixel-width, window-safe-min-pixel-size)
3476 (window-combination-p, window-safe-min-size)
3477 (window-resizable-p, window--size-to-pixel)
3478 (window--pixel-to-size, window--resize-apply-p): New functions.
3479 (window-safe-min-height): Fix doc-string.
3480 (window-size, window-min-size, window--min-size-1)
3481 (window-sizable, window-sizable-p, window--min-delta-1)
3482 (window-min-delta, window--max-delta-1, window-max-delta)
3483 (window--resizable, window--resizable-p, window-resizable)
3484 (window-full-height-p, window-full-width-p, window-at-side-p)
3485 (window--in-direction-2, window-in-direction)
3486 (window--resize-reset-1, window--resize-mini-window)
3487 (window-resize, window-resize-no-error)
3488 (window--resize-child-windows-normal)
3489 (window--resize-child-windows, window--resize-siblings)
3490 (window--resize-this-window, window--resize-root-window)
3491 (window--resize-root-window-vertically)
3492 (adjust-window-trailing-edge, enlarge-window, shrink-window)
3493 (maximize-window, minimize-window, delete-window)
3494 (quit-restore-window, window-split-min-size, split-window)
3495 (balance-windows-2, balance-windows)
3496 (balance-windows-area-adjust, balance-windows-area)
3497 (window--state-get-1, window-state-get, window--state-put-1)
3498 (window--state-put-2, window-state-put)
3499 (display-buffer-record-window, window--display-buffer):
3500 Make functions handle pixelwise sizing of windows.
3501 (display-buffer--action-function-custom-type)
3502 (display-buffer-fallback-action):
3503 Add display-buffer-in-previous-window.
3504 (display-buffer-use-some-window): Resize window to height it had
3506 (fit-window-to-buffer-horizontally): New option.
3507 (fit-frame-to-buffer): Describe new values.
3508 (fit-frame-to-buffer-bottom-margin): Replace with
3509 fit-frame-to-buffer-margins.
3510 (window--sanitize-margin): New function.
3511 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
3512 using window-text-pixel-size.
3514 2013-11-30 Glenn Morris <rgm@gnu.org>
3516 * emacs-lisp/bytecomp.el (byte-compile-form):
3517 Make the `interactive-only' warning like the `obsolete' one.
3518 * comint.el (comint-run):
3519 * files.el (insert-file-literally, insert-file):
3520 * replace.el (replace-string, replace-regexp):
3521 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
3522 (goto-line, insert-buffer, next-line, previous-line):
3523 Tweak `interactive-only' spec.
3525 Stop keeping (most) generated cedet grammar files in the repository.
3526 * Makefile.in (semantic): New.
3527 (compile-main): Depend on semantic.
3529 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
3531 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
3532 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
3534 * uniquify.el (uniquify-buffer-name-style): Change default.
3536 * loadup.el: Preload "uniquify".
3538 * time.el (display-time-update): Update all mode lines (bug#15999).
3540 * electric.el (electric-indent-mode): Enable by default.
3541 * loadup.el: Preload "electric".
3543 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
3545 * emacs-lisp/helpers.el (string-empty-p): New function.
3546 (string-blank-p): New function.
3548 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
3550 * imenu.el (imenu--index-alist): Add missing dot to the docstring
3553 2013-11-29 Andreas Politz <politza@fh-trier.de>
3554 * imenu.el (imenu--subalist-p): Don't error on non-conses and
3555 allow non-lambda lists as functions.
3556 (imenu--in-alist): Don't recurse into non-subalists.
3557 (imenu): Don't pass function itself as an argument (Bug#14029).
3559 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
3561 * progmodes/python.el (python-mode-map): Remove binding for ":".
3562 (python-indent-electric-colon): Remove command.
3563 (python-indent-post-self-insert-function): Integrate the previous code
3564 of python-indent-electric-colon. Make it conditional on
3565 electric-indent-mode.
3566 (python-mode): Add ?: to electric-indent-chars.
3567 Move python-indent-post-self-insert-function to the end of
3568 post-self-insert-hook.
3570 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
3572 * doc-view.el (doc-view-goto-page): Update mode-line.
3574 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
3576 2013-11-27 Glenn Morris <rgm@gnu.org>
3578 * international/charprop.el, international/uni-bidi.el:
3579 * international/uni-category.el, international/uni-combining.el:
3580 * international/uni-comment.el, international/uni-decimal.el:
3581 * international/uni-decomposition.el, international/uni-digit.el:
3582 * international/uni-lowercase.el, international/uni-mirrored.el:
3583 * international/uni-name.el, international/uni-numeric.el:
3584 * international/uni-old-name.el, international/uni-titlecase.el:
3585 * international/uni-uppercase.el:
3586 Remove generated files from VCS repository.
3588 2013-11-27 Eli Zaretskii <eliz@gnu.org>
3590 * filenotify.el (file-notify-add-watch): Don't special-case
3591 w32notify when computing the directory to watch.
3593 2013-11-27 Glenn Morris <rgm@gnu.org>
3595 Make bootstrap without generated uni-*.el files possible again.
3596 * loadup.el: Update command-line-args checking for unidata-gen.
3597 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
3598 * composite.el, international/characters.el:
3599 Handle unicode tables being undefined.
3601 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
3602 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
3603 (compile-main): Depend on leim rule.
3605 * loadup.el: Move leim-list.el to leim/ subdirectory.
3606 * startup.el (normal-top-level): No more leim directory.
3607 * international/ja-dic-cnv.el (skkdic-convert):
3608 Disable version-control and autoloads in output files.
3609 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
3610 Disable version-control and autoloads in output files.
3611 * leim/quail: Move here from ../leim.
3612 * leim/quail/hangul.el (hangul-input-method-activate):
3613 Add autoload cookie.
3614 (generated-autoload-load-name): Set file-local value.
3615 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
3616 (generated-autoload-load-name): Set file-local value.
3618 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
3620 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
3621 (eww-add-bookmark): Ask confirmation when add to bookmarks.
3622 (eww-quit): Ask confirmation before quitting eww.
3624 2013-11-26 Eli Zaretskii <eliz@gnu.org>
3626 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
3627 reading output from Diff on MS-Windows and MS-DOS.
3629 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
3631 * emacs-lisp/helpers.el (string-reverse): New function.
3633 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
3635 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
3636 names on MS Windows, like "/[::1]:".
3638 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
3641 2013-11-26 Glenn Morris <rgm@gnu.org>
3643 * progmodes/python.el (python-indent-guess-indent-offset):
3644 Avoid corner-case error. (Bug#15975)
3646 Preload leim-list.el. (Bug#4789)
3647 * loadup.el: Load leim-list.el when found.
3648 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
3650 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
3652 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
3654 * emacs-lisp/helpers.el (string-join): New function.
3656 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
3658 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
3659 Mark as obsolete and replace it with a symbol property.
3660 (byte-compile-form): Use new 'interactive-only property.
3661 * comint.el, files.el, replace.el, simple.el:
3662 Apply new 'interactive-only properly.
3664 2013-11-25 Martin Rudalics <rudalics@gmx.at>
3666 * window.el (display-buffer-at-bottom): Make sure that
3667 split-window-sensibly creates the new window on bottom
3670 2013-11-23 David Kastrup <dak@gnu.org>
3672 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
3673 on the conflict markers when available.
3674 (smerge--get-marker): New function.
3675 (smerge-end-re, smerge-base-re): Add subgroup.
3677 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
3679 * frame.el (handle-focus-in, handle-focus-out): Add missing
3682 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
3684 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
3685 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
3687 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
3689 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
3690 (gomoku--last-pos): New var.
3691 (gomoku--intangible-chars): New const.
3692 (gomoku--intangible): New function.
3693 (gomoku-mode): Use it. Derive from special-mode.
3694 (gomoku-move-up): Adjust line count.
3695 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
3696 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
3697 Simplify accordingly.
3699 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
3700 Remove blink-cursor code.
3701 (blink-cursor-timer-function, blink-cursor-suspend):
3702 Don't special-case GUIs.
3703 (blink-cursor-mode): Use focus-in/out-hook.
3705 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
3707 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
3708 work when annotation is invisible (Bug#13886).
3710 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
3712 * json.el (json-alist-p): Only return non-nil if the alist has
3713 simple keys (Bug#13518).
3715 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
3717 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
3718 when control-statement is the first statement in a buffer (Bug#15956).
3720 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
3722 * imenu.el (imenu-generic-skip-comments-and-strings):
3723 New option (Bug#15560).
3724 (imenu--generic-function): Use it.
3726 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
3728 * minibuffer.el (completion--in-region-1): Scroll the correct window.
3731 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
3733 * emacs-lisp/helpers.el: Add some string helpers.
3734 (string-trim-left): Removes leading whitespace.
3735 (string-trim-right): Removes trailing whitespace.
3736 (string-trim): Removes leading and trailing whitespace.
3738 * subr.el (string-suffix-p): New function.
3740 2013-11-23 Glenn Morris <rgm@gnu.org>
3742 * progmodes/python.el (python-shell-send-file):
3743 Add option to delete file when done. (Bug#15647)
3744 (python-shell-send-string, python-shell-send-region): Use it.
3746 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
3748 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
3749 to set buffer-read-only to t, never to nil. (Bug#15938)
3751 * textmodes/tex-mode.el (latex-noindent-environments):
3752 Add safe-local-variable property. (Bug#15936)
3754 2013-11-23 Glenn Morris <rgm@gnu.org>
3756 * textmodes/enriched.el (enriched-mode): Doc fix.
3757 * emacs-lisp/authors.el (authors-renamed-files-alist):
3758 Add enriched.doc -> enriched.txt.
3760 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
3762 2013-11-22 Leo Liu <sdl.web@gmail.com>
3764 * progmodes/octave.el (inferior-octave-startup): Spit out error
3767 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
3769 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
3772 (ruby-encoding-magic-comment-style): Add :version.
3774 2013-11-22 Leo Liu <sdl.web@gmail.com>
3776 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
3778 (octave-help-mode): Adapt to change to help-mode-finish to use
3779 derived-mode-p on 2013-09-17.
3780 (inferior-octave-prompt): Also match octave-gui.
3781 (octave-kill-process): Don't ask twice. (Bug#10564)
3783 2013-11-22 Leo Liu <sdl.web@gmail.com>
3785 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
3786 (inferior-octave-startup, inferior-octave-check-process)
3787 (inferior-octave-track-window-width-change)
3788 (octave-completion-at-point, octave-eldoc-function): Use it.
3789 (octave-kill-process): Provide confirmation. (Bug#10564)
3791 2013-11-21 Leo Liu <sdl.web@gmail.com>
3793 * progmodes/octave.el (octave-mode, inferior-octave-mode):
3794 Fix obsolete variable comment-use-global-state.
3796 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3798 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
3799 Add `octave-source-file'.
3800 (octave-source-file): New function. (Bug#15935)
3802 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
3804 * net/eww.el (eww-local-regex): New variable.
3805 (eww): Use it to detect localhost and similar.
3807 2013-11-21 Leo Liu <sdl.web@gmail.com>
3809 Add completion for command `ag'.
3810 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
3811 (pcomplete/ag): New function.
3812 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
3814 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
3816 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
3818 (make-obsolete): Remove interactive spec.
3820 2013-11-21 Glenn Morris <rgm@gnu.org>
3822 * startup.el (command-line-1): Use path-separator with -L.
3824 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
3826 * emacs-lisp/package.el (describe-package-1): Add package archive
3829 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
3831 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
3832 Change default to "# encoding: %s" to differentiate it from the
3833 default Ruby encoding comment template.
3835 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
3837 * ses.el (ses-mode): Doc fix. (Bug#14748)
3839 2013-11-20 Leo Liu <sdl.web@gmail.com>
3841 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
3843 2013-11-19 Dan Nicolaescu <dann@gnu.org>
3845 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
3846 when rebase or bisect are in progress.
3848 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
3850 * filenotify.el (file-notify-add-watch): Doc fix.
3852 2013-11-19 Leo Liu <sdl.web@gmail.com>
3854 * obsolete/rcompile.el: Mark obsolete.
3856 * progmodes/compile.el (compilation-start)
3857 (compilation-goto-locus, compilation-find-file):
3858 Pass no-display-ok and handle nil value from display-buffer.
3861 * window.el (display-buffer-alist, display-buffer): Document the
3862 new parameter no-display-ok. Return either a window or nil
3863 but never a non-window value.
3865 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
3867 * electric.el (electric-indent-mode-map): Remove.
3868 (electric-indent-mode): Change the global-map instead (bug#15915).
3870 * textmodes/text-mode.el (paragraph-indent-minor-mode):
3873 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
3875 * emacs-lisp/nadvice.el (remove-function): Align with
3876 add-function's behavior.
3878 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
3879 (gdb--string-regexp): New constant.
3880 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
3881 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
3882 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
3884 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
3885 Adjust use accordingly.
3886 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
3888 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
3890 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
3891 interpolation curlies (Bug#15914).
3893 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
3895 * calc/calc.el (calc-context-sensitive-enter): New variable.
3896 (calc-enter): Use `calc-context-sensitive-enter'.
3898 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
3900 * progmodes/cfengine.el: Version bump.
3901 (cfengine-cf-promises): New defcustom to locate cf-promises.
3902 (cfengine3-vartypes): Add new "data" type.
3903 (cfengine3--current-word): New function to get current name-like
3905 (cfengine3--current-function): New function to look up a CFEngine
3906 function's definition.
3907 (cfengine3-format-function-docstring): New function.
3908 (cfengine3-make-syntax-cache): New function.
3909 (cfengine3-documentation-function): New function: ElDoc glue.
3910 (cfengine3-completion-function): New function: completion glue.
3911 (cfengine3-mode): Set `compile-command',
3912 `eldoc-documentation-function', and add to
3913 `completion-at-point-functions'.
3915 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
3917 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
3918 `tramp-current-connection'.
3920 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
3922 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
3923 nil/self/true/false with "end of symbol".
3925 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
3927 * subr.el (version-regexp-alist): Fix a typo.
3929 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
3931 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
3932 "en_US.utf8" and "LC_CTYPE" to "".
3933 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
3934 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
3936 2013-11-15 Leo Liu <sdl.web@gmail.com>
3938 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
3940 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3942 * progmodes/gud.el (ctl-x-map):
3943 Remove C-x SPC binding. (Bug#12342)
3944 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
3946 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
3948 * subr.el (version-regexp-alist):
3949 Recognize hg, svn and darcs versions as snapshot versions.
3951 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
3952 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
3953 (ruby--encoding-comment-required-p): Extract from
3954 `ruby-mode-set-encoding'.
3955 (ruby-mode-set-encoding): Add the ability to always insert an
3956 utf-8 encoding comment. Fix and simplify coding comment update
3959 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
3961 * net/tramp-gvfs.el (top): Run init code only when
3962 `tramp-gvfs-enabled' is not nil.
3963 (tramp-gvfs-enabled): Check also :system bus.
3965 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3967 Sync with upstream verilog-mode revision 78e66ba.
3968 * progmodes/verilog-mode.el (verilog-end-of-defun)
3969 (verilog-type-completion, verilog-get-list): Remove unused funcs.
3970 (verilog-get-end-of-defun): Remove unused argument.
3971 (verilog-comment-depth): Remove unused local `e'.
3972 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
3973 Don't pass arg to verilog-get-end-of-defun.
3975 2013-11-14 Glenn Morris <rgm@gnu.org>
3977 * obsolete/assoc.el (aget): Prefix dynamic variable.
3979 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
3981 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3983 * widget.el, hfy-cmap.el: Remove bogus package version number.
3985 2013-11-13 Glenn Morris <rgm@gnu.org>
3987 * replace.el (replace-eval-replacement):
3988 Try to give more helpful error message. (Bug#15836)
3990 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
3991 (archive-7z-update): Avoid custom type mismatches.
3993 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
3995 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
3997 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
3998 address can be empty.
4000 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
4001 Accept nil SWITCHES.
4002 (tramp-gvfs-handle-write-region): Implement APPEND.
4004 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
4006 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
4007 binary "|" operator and closing block args delimiter.
4008 Remove FIXME comment referring to Ruby 1.8-only syntax.
4009 (ruby-smie--implicit-semi-p): Not after "|" operator.
4010 (ruby-smie--closing-pipe-p): New function.
4011 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
4012 (ruby-smie-rules): Indent after "|".
4014 2013-11-12 Glenn Morris <rgm@gnu.org>
4016 * ps-print.el (ps-face-attribute-list):
4017 Handle anonymous faces. (Bug#15827)
4019 2013-11-12 Martin Rudalics <rudalics@gmx.at>
4021 * window.el (display-buffer-other-frame): Fix doc-string.
4024 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4026 * subr.el (force-mode-line-update): Delete, move to buffer.c.
4028 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
4030 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
4031 (tramp-sh-handle-file-local-copy): Don't write a message when
4032 saving temporary files.
4034 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
4035 both directories are remote.
4036 (tramp-smb-handle-directory-files): Do not return double entries.
4037 Do not expand full file names.
4038 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
4039 (tramp-smb-handle-write-region): Implement APPEND.
4040 (tramp-smb-get-stat-capability): Fix a stupid bug.
4042 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4044 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
4046 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4048 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
4049 throwing error over malformed let/let* (bug#15814).
4051 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4053 * iswitchb.el (iswitchb-mode): Mark obsolete.
4055 2013-11-11 Glenn Morris <rgm@gnu.org>
4057 * international/uni-bidi.el, international/uni-category.el:
4058 * international/uni-name.el, international/uni-numeric.el:
4059 Regenerate for Unicode 6.3.0.
4061 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
4063 * net/tramp.el (tramp-methods):
4064 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
4065 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
4067 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
4069 * progmodes/sh-script.el (sh-font-lock-keywords-var):
4070 Force highlighting text after Summary keyword in doc face for rpm.
4072 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
4074 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
4075 available and the word has no wildcards, append one to the grep pattern.
4076 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
4077 (ispell-complete-word): Call `ispell-lookup-words' with the value
4078 independent of `ispell-look-p'.
4080 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
4082 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
4084 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
4087 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4089 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
4090 (ruby-font-lock-keywords): Use backquote.
4092 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
4094 * progmodes/ruby-mode.el (ruby-smie--forward-token)
4095 (ruby-smie--backward-token): Only consider full-string matches.
4097 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
4099 * faces.el (describe-face): Add distant-foreground.
4101 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
4103 * progmodes/ruby-mode.el: Improve encoding comment handling.
4104 (ruby-encoding-magic-comment-style): New option.
4105 (ruby-custom-encoding-magic-comment-template): New option.
4106 (ruby--insert-coding-comment, ruby--detect-encoding):
4107 New functions extracted from `ruby-mode-set-encoding'.
4108 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
4109 to control the style of the auto-inserted encoding comment.
4111 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
4113 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
4114 Use `smie-backward-sexp' with token argument.
4116 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
4118 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
4119 Remove instrumentation code.
4121 2013-11-08 Glenn Morris <rgm@gnu.org>
4123 * progmodes/autoconf.el (autoconf-mode):
4124 Tweak comment-start-skip. (Bug#15822)
4126 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4128 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
4129 at bobp (bug#15826).
4130 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
4132 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
4134 * man.el (Man-start-calling): New macro, extracted from
4135 Man-getpage-in-background.
4136 (Man-getpage-in-background): Use it.
4137 (Man-update-manpage): New command.
4138 (Man-mode-map): Bind it.
4140 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
4142 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
4143 of "and", "or", "&&" and "||".
4144 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
4145 argument. Prohibit opening curly brace because it could only be a
4146 block opener in that position.
4147 (ruby-smie--forward-token, ruby-smie--backward-token):
4148 Separate "|" from "&" or "*" going after it. That can happen in block
4150 (ruby-smie--indent-to-stmt): New function, seeks the end of
4151 previous statement or beginning of buffer.
4152 (ruby-smie-rules): Use it.
4153 (ruby-smie-rules): Check if there's a ":" before a curly block
4154 opener candidate; if there is, it's a hash.
4156 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
4158 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
4159 (cl--block-wrapper): Fix last accidental change.
4161 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
4163 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
4164 Instrument, in order to hunt failure on hydra.
4166 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4168 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
4169 malformed bindings form (bug#15814).
4171 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
4173 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
4174 "." compared to " @ ". This incidentally fixes some indentation
4176 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
4177 (ruby-smie-grammar): New tokens: "and" and "or".
4178 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
4179 Exclude "and" and "or". Remove "do" in order to work around token
4181 (ruby-smie-rules): Add all infix tokens. Handle the case of
4182 beginning-of-buffer.
4184 2013-11-06 Glenn Morris <rgm@gnu.org>
4186 * Makefile.in (setwins_almost, setwins_for_subdirs):
4187 Avoid accidental matches.
4189 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
4191 * menu-bar.el (popup-menu): Use key-binding.
4193 2013-11-06 Eli Zaretskii <eliz@gnu.org>
4195 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
4196 menus, support also the menus produced by minor modes.
4199 2013-11-06 Leo Liu <sdl.web@gmail.com>
4201 * thingatpt.el (thing-at-point-looking-at): Add optional arg
4202 DISTANCE to bound the search. All uses changed. (Bug#15808)
4204 2013-11-06 Glenn Morris <rgm@gnu.org>
4206 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
4207 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
4208 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
4210 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
4212 * electric.el (electric-indent-just-newline): New command.
4213 (electric-indent-mode-map): New keymap.
4214 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
4215 Re-add :group which weren't redundant.
4217 * electric.el (electric-indent-local-mode): New minor mode.
4218 (electric-indent-functions-without-reindent): New var.
4219 (electric-indent-post-self-insert-function): Use it.
4220 * emacs-lisp/gv.el (buffer-local-value): Add setter.
4222 2013-11-05 Eli Zaretskii <eliz@gnu.org>
4224 * international/quail.el (quail-help): Be more explicit about the
4225 meaning of the labels shown on the keys. (Bug#15800)
4227 * startup.el (normal-top-level): Load the subdirs.el files before
4228 setting the locale environment. (Bug#15805)
4230 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
4232 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
4233 via arguments so as to get the right ones (bug#15418).
4235 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
4237 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
4239 Fix problems found while writing a test suite.
4241 * net/tramp-compat.el (tramp-compat-load): New defun.
4242 * net/tramp.el (tramp-handle-load): Use it.
4244 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
4245 "(numberp ok-if-already-exists)" correctly.
4247 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
4249 * international/characters.el (glyphless-char-display-control):
4252 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
4254 * progmodes/python.el (python-mode):
4255 * progmodes/scheme.el (scheme-mode):
4256 * progmodes/prolog.el (prolog-mode):
4257 * progmodes/ruby-mode.el (ruby-mode):
4258 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
4259 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
4261 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
4263 * rect.el (rectangle--highlight-for-redisplay):
4264 * emacs-lisp/smie.el (smie--next-indent-change):
4265 Use buffer-chars-modified-tick.
4267 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
4269 * electric.el (electric-indent-post-self-insert-function):
4270 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
4272 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
4274 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
4276 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4278 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
4281 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
4283 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
4285 * progmodes/python.el: Fix up last change.
4286 (python-shell--save-temp-file): New function.
4287 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
4288 `string' comes from the current buffer.
4289 (python-shell-send-string-no-output): Remove `msg' arg.
4290 (python--use-fake-loc): New var.
4291 (python-shell-buffer-substring): Obey it. Try to compensate for the
4292 extra coding line added by python-shell--save-temp-file.
4293 (python-shell-send-region): Use python-shell--save-temp-file and
4294 python-shell-send-file directly. Add `nomain' argument.
4295 (python-shell-send-buffer): Use python-shell-send-region.
4296 (python-electric-pair-string-delimiter): New function.
4297 (python-mode): Use it.
4299 2013-11-04 Eli Zaretskii <eliz@gnu.org>
4301 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
4302 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
4303 environment and decoding all of the default-directory's to here
4305 (command-line): Decode also argv[0].
4307 * loadup.el: Error out if default-directory is a multibyte string
4308 when we are dumping.
4310 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
4312 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
4314 * emacs-lisp/package.el (package-menu-mode)
4315 (package-menu--print-info, package-menu--archive-predicate):
4316 Add Archive column to package list.
4318 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
4320 Fix problems found while writing a test suite.
4322 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
4323 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
4324 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
4325 to nil when running original file name handler. Otherwise,
4326 there are problems with constructs like "$$FOO".
4328 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
4331 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
4333 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
4335 * subr.el (version<, version<=, version=):
4336 Update docstrings with information for snapshot versions.
4338 * helpers.el: New library for misc helper functions.
4339 (hash-table-keys): New function returning a list of hash keys.
4340 (hash-table-values): New function returning a list of hash values.
4342 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
4344 * progmodes/ruby-mode.el (ruby-smie--forward-token)
4345 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
4347 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
4349 * textmodes/fill.el (fill-single-char-nobreak-p): New function
4350 checking whether point is after a 1-letter word.
4352 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4354 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
4355 Don't infloop when expanding region over `multiline' syntax-type that
4356 begins a line (bug#15778).
4358 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
4360 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
4361 Make it into a proper minor mode.
4362 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
4363 (rectangle-mark-mode-map): New keymap.
4364 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
4366 2013-11-04 Glenn Morris <rgm@gnu.org>
4368 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
4370 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
4372 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
4373 (ruby-smie-rules): Use smie-rule-parent instead.
4375 * emacs-lisp/smie.el (smie-rule-parent): Always call
4376 smie-indent-virtual rather than only for hanging tokens.
4377 (smie--next-indent-change): New helper command.
4379 2013-11-03 Glenn Morris <rgm@gnu.org>
4381 * Makefile.in (abs_srcdir): Remove.
4382 (emacs): Unset EMACSLOADPATH.
4384 2013-11-02 Glenn Morris <rgm@gnu.org>
4386 * Makefile.in (EMACS): Use a relative filename.
4387 (abs_top_builddir): Remove.
4388 (custom-deps, finder-data, autoloads): Use --chdir.
4390 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
4392 Use relative filenames in TAGS files.
4393 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
4394 (lisptagsfiles4, TAGS): Use relative file names.
4395 (TAGS-LISP): Remove.
4396 (maintainer-clean): No more TAGS-LISP file.
4398 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
4399 (lisptagsfiles4): Use absolute filenames again.
4400 (TAGS, TAGS-LISP): Not everything needs to run in one line.
4401 Remove all *loaddefs files, not just the first. Remove esh-groups.
4402 (maintainer-clean): Delete TAGS, TAGS-LISP.
4404 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
4406 * emacs-lisp/package.el (package-version-join):
4407 Recognize snapshot versions.
4409 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
4411 * subr.el (version-regexp-alist): Add support for snapshot versions.
4413 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
4415 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
4416 New function, replacement for `smie-rule-parent' for when we want to
4417 skip over our direct parent if it's an assignment token..
4418 (ruby-smie-rules): Use it.
4420 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
4422 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
4423 unconditionally. Remove now unnecessary forward declarations.
4424 Remove XEmacs-specific setup.
4425 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
4426 (ruby-font-lock-syntactic-keywords)
4427 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
4428 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
4429 (ruby-here-doc-end-syntax): Remove.
4430 (ruby-mode): Don't check whether `syntax-propertize-rules' is
4431 defined as function.
4433 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
4435 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
4437 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
4439 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
4440 table and abbrev table, `define-derived-mode' does that for us
4443 2013-11-01 Glenn Morris <rgm@gnu.org>
4445 * Makefile.in: Remove manual mh-e dependencies (writing .elc
4446 files is atomic for some time, so no parallel compilation issues).
4448 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
4450 * faces.el (face-x-resources): Add :distant-foreground.
4451 (region): Use :distant-foreground for gtk and ns.
4453 2013-11-01 Tassilo Horn <tsdh@gnu.org>
4455 Allow multiple bibliographies when BibLaTeX is used rather than
4457 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
4458 (reftex-locate-bibliography-files): Us it.
4460 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
4462 * image.el (image-type-header-regexps): Fix the 'pbm' part to
4463 allow comments in pbm files.
4465 * term/w32-win.el (dynamic-library-alist): Support newer versions
4466 of libjpeg starting with v7: look only for the DLL from the
4467 version against which Emacs was built.
4468 Support versions of libpng beyond 1.4.x.
4469 Support libtiff v4.x.
4471 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
4473 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
4474 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
4476 (ruby-deep-arglist): Add property :type.
4478 2013-10-31 Glenn Morris <rgm@gnu.org>
4480 * Makefile.in (custom-deps, finder-data): No need to setq the target
4481 variables, we are in the right directory and the defaults work fine.
4483 2013-10-30 Glenn Morris <rgm@gnu.org>
4485 * Makefile.in (autoloads): Do not use abs_lisp.
4487 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
4488 `newline' does not respect `standard-output', so use `princ'.
4490 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
4492 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
4493 * buff-menu.el (Buffer-menu--unmark): New function.
4494 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
4496 2013-10-30 Glenn Morris <rgm@gnu.org>
4498 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
4500 * emacs-lisp/package.el (lm-homepage): Declare.
4502 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
4505 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
4507 * Makefile.in (finder-data, autoloads, update-subdirs)
4508 (compile-main, compile-clean, compile-always, bootstrap-clean):
4509 Check return value of cd.
4510 (compile-calc): Remove.
4512 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
4514 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
4516 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
4517 (byte-compile-and-folded): New function.
4518 (=, <, >, <=, >=): Use it.
4520 * dos-w32.el (minibuffer-history-case-insensitive-variables)
4521 (path-separator, null-device, buffer-file-coding-system)
4522 (lpr-headers-switches): Check system-type before modifying them.
4523 (find-buffer-file-type-coding-system): Mark obsolete.
4524 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
4525 find-file-not-found-set-buffer-file-coding-system.
4526 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
4527 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
4528 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
4529 (w32-direct-print-region-helper, w32-direct-print-region-function)
4530 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
4531 * startup.el (normal-top-level-add-subdirs-to-load-path):
4532 * ps-print.el (ps-print-region-function):
4533 * lpr.el (print-region-function): Use new name.
4535 * subr.el (custom-declare-variable-early): Remove function.
4536 (custom-declare-variable-list): Remove var.
4537 (error, user-error): Remove `while' loop.
4538 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
4539 (user-emacs-directory-warning, locate-user-emacs-file):
4541 * simple.el (read-quoted-char-radix, read-quoted-char):
4542 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
4544 * custom.el (custom-declare-variable-list): Don't process
4545 custom-declare-variable-list.
4547 * progmodes/python.el (python-shell-get-buffer): New function.
4548 (python-shell-get-process): Use it.
4549 (python-shell-send-string): Always use utf-8 and add a cookie to tell
4550 Python which encoding was used. Don't split-string since we only care
4551 about the first line. Return the temp-file, if applicable.
4552 (python-shell-send-region): Tell compile.el how to turn locations in
4553 the temp-file into locations in the source buffer.
4555 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
4557 * subr.el (undefined): Add missing behavior from the C code for
4560 * rect.el: Use lexical-binding. Add new rectangular region support.
4561 (rectangle-mark): New command.
4562 (rectangle--region): New var.
4563 (deactivate-mark-hook): Reset rectangle--region.
4564 (rectangle--extract-region, rectangle--insert-for-yank)
4565 (rectangle--highlight-for-redisplay)
4566 (rectangle--unhighlight-for-redisplay): New functions.
4567 (region-extract-function, redisplay-unhighlight-region-function)
4568 (redisplay-highlight-region-function): Use them to handle
4570 * simple.el (region-extract-function): New var.
4571 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
4572 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
4573 (kill-region): Replace obsolete `yank-handler' arg with `region'.
4574 (copy-region-as-kill, kill-ring-save): Add `region' argument.
4575 (redisplay-unhighlight-region-function)
4576 (redisplay-highlight-region-function): New vars.
4577 (redisplay--update-region-highlight): New function.
4578 (pre-redisplay-function): Use it.
4579 (exchange-point-and-mark): Don't deactivate the mark before
4580 reactivate-it anyway.
4581 * comint.el (comint-kill-region): Remove yank-handler argument.
4582 * delsel.el (delete-backward-char, backward-delete-char-untabify)
4583 (delete-char): Remove property, since it's now part of their
4585 (self-insert-iso): Remove property since this command doesn't exist.
4587 * emacs-lisp/package.el (package--download-one-archive)
4588 (describe-package-1): Don't query the user about final newline.
4590 2013-10-29 Daniel Colascione <dancol@dancol.org>
4592 * net/tramp.el (tramp-methods): Document new functionality.
4593 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
4594 tramp-hostname-checker if method provides one instead of scanning
4595 argument list for "%h" to decide hostname acceptability.
4597 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
4599 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
4600 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
4601 Handle COPY-CONTENTS. (Bug#15737)
4603 2013-10-28 Daiki Ueno <ueno@gnu.org>
4606 (epa-file-cache-passphrase-for-symmetric-encryption):
4607 Document that this option has no effect with GnuPG 2.0 (bug#15552).
4609 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
4611 * image.el (defimage, image-load-path): Doc fixes.
4613 2013-10-27 Alan Mackenzie <acm@muc.de>
4615 Indent statements in macros following "##" correctly.
4616 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
4617 Modify the "#" arm of a cond form to handle "#" and "##" operators.
4619 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4621 * linum.el (linum-update-window): Fix boundary test (bug#13446).
4623 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
4625 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
4626 after `=' is probably a new expression.
4628 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4630 * man.el (man-imenu-title): New option.
4631 (Man-mode-map): Add menu. (Bug#15722)
4632 (Man-mode): Add imenu to menu.
4634 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
4636 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
4637 specific in what the first arg can be: a non-keyword word,
4638 string/regexp/percent literal opener, opening paren, or unary
4639 operator followed directly by word.
4641 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
4643 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
4644 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
4645 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
4646 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
4647 Remove vars, they do not apply any more.
4648 (prolog-mode-abbrev-table): Remove redundant declaration.
4649 (prolog-upper-case-string, prolog-lower-case-string): Remove.
4650 (prolog-use-smie): Remove.
4651 (prolog-smie-rules): Add indentation rule for the if-then-else layout
4652 supported by prolog-electric-if-then-else-flag.
4653 (prolog-mode-variables, prolog-menu): Use setq-local.
4654 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
4655 Remove binding to `Backspace' since this key doesn't exist anyway.
4656 Remove bindings for electric self-inserting keys.
4657 (prog-mode): Assume it's defined.
4658 (prolog-post-self-insert): New function.
4659 (prolog-mode): Use it.
4660 (prolog-indent-line, prolog-indent-level)
4661 (prolog-find-indent-of-matching-paren)
4662 (prolog-indentation-level-of-line, prolog-goto-comment-column)
4663 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
4664 (prolog-goto-next-paren, prolog-in-string-or-comment)
4665 (prolog-tokenize, prolog-inside-mline-comment)
4666 (prolog-find-start-of-mline-comment): Remove functions.
4667 (prolog-find-unmatched-paren, prolog-clause-end)
4668 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
4669 (prolog-electric--if-then-else): Rename from
4670 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
4671 (prolog-tokenize-searchkey): Remove const.
4672 (prolog-clause-info): Use forward-sexp.
4673 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
4674 (prolog-electric-if-then-else): Remove commands.
4675 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
4676 for use in post-self-insert-hook.
4677 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
4678 for use in post-self-insert-hook.
4679 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
4680 for use in post-self-insert-hook.
4681 (prolog-electric--underscore): Rename from prolog-electric--underscore;
4682 adapt it for use in post-self-insert-hook.
4684 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
4686 * emacs-lisp/ert.el (ert-run-tests-interactively):
4687 Use `completing-read'. (Bug#9756)
4689 2013-10-25 Eli Zaretskii <eliz@gnu.org>
4691 * simple.el (line-move): Call line-move-1 instead of
4692 line-move-visual when the current window hscroll is zero, but
4693 temporary-goal-column indicates we will need to hscroll as result
4694 of the movement. (Bug#15712)
4696 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
4698 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
4699 capitalization. Use :visible instead of :active.
4700 Fix `ruby-indent-exp' reference. Add menu items for the generic
4701 commands that are used with SMIE.
4702 (ruby-do-end-to-brace): Insert space after `{'.
4704 2013-10-25 John Anthony <john@jo.hnanthony.com>
4706 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
4708 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
4710 2013-10-25 Glenn Morris <rgm@gnu.org>
4712 * vc/vc.el (vc-print-log): Don't use a working revision unless
4713 one was explicitly specified. (Bug#15322)
4715 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
4717 * subr.el (add-to-list): Preserve return value in compiler-macro
4720 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4722 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
4723 result. Ask user to retry using '-all' flag. (Bug#15701)
4725 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
4727 * emacs-lisp/smie.el: New smie-config system.
4728 (smie-config): New defcustom.
4729 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
4730 (smie-config-guess, smie-config-save): New commands.
4731 (smie-config--mode-local, smie-config--buffer-local)
4732 (smie-config--trace, smie-config--modefuns): New vars.
4733 (smie-config--advice, smie-config--mode-hook)
4734 (smie-config--setter, smie-config-local, smie-config--get-trace)
4735 (smie-config--guess-value, smie-config--guess): New functions.
4736 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
4737 text properties. Treat "string fence" syntax like string syntax.
4739 * progmodes/sh-script.el (sh-use-smie): Change default.
4740 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
4741 (sh-var-value): Simplify by CSE.
4742 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
4743 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
4745 (sh-guess-basic-offset): Use cl-incf.
4746 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
4748 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
4750 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
4753 2013-10-24 Glenn Morris <rgm@gnu.org>
4755 * Makefile.in (abs_top_srcdir): Remove.
4756 (update-subdirs): Use relative path to update-subdirs.
4758 2013-10-24 Eli Zaretskii <eliz@gnu.org>
4760 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
4761 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
4762 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
4763 Call unmsys--file-name before expand-file-name, not after it.
4765 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
4767 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
4768 (ert-test-skipped): New error.
4769 (ert-skip, ert-stats-skipped): New defuns.
4770 (ert--skip-unless): New macro.
4771 (ert-test-skipped): New struct.
4772 (ert--run-test-debugger, ert-test-result-type-p)
4773 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
4774 (ert--stats-set-test-and-result, ert-char-for-test-result)
4775 (ert-string-for-test-result, ert-run-tests-batch)
4776 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
4777 Handle skipped tests. (Bug#9803)
4779 2013-10-24 Glenn Morris <rgm@gnu.org>
4781 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
4783 * Makefile.in (abs_top_srcdir): New, set by configure.
4784 (update-subdirs): Correct build-aux location.
4786 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
4788 * vc/vc.el (vc-print-root-log): Always set `default-directory'
4789 value, whether we could auto-deduce `backend', or not.
4791 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
4792 with parameters" example. Simplify the "is it block or is it
4793 hash" check, but also make it more thorough.
4795 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
4797 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
4799 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
4801 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
4804 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
4807 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
4809 * progmodes/compile.el (compilation-directory-matcher)
4810 (compilation-page-delimiter):
4811 Support GNU Make-4.0 directory quoting. (Bug#15678)
4813 2013-10-23 Leo Liu <sdl.web@gmail.com>
4815 * ido.el (ido-tidy): Handle read-only text.
4817 2013-10-23 Glenn Morris <rgm@gnu.org>
4819 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
4820 (emacs, compile, compile-always):
4821 Quote entities that might contain whitespace.
4822 (custom-deps, finder-data, autoloads): Use abs_lisp.
4823 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
4824 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
4825 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
4827 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
4829 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
4830 Use `following-char'.
4832 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
4834 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
4835 * progmodes/ruby-mode.el (ruby-smie-rules):
4836 Remove corresponding workaround. Fix indentation rule of ";" so it
4837 also applies when ";" is the parent.
4839 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
4841 * frame.el (display-screens, display-pixel-height)
4842 (display-pixel-width, display-mm-width, display-backing-store)
4843 (display-save-under, display-planes, display-color-cells)
4844 (display-visual-class, display-monitor-attributes-list):
4845 Mention the optional ‘display’ argument in doc strings.
4847 2013-10-22 Michael Gauland <mikelygee@amuri.net>
4849 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
4850 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
4852 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
4854 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
4855 TODO. Add "." after " @ ".
4856 (ruby-smie--at-dot-call): New function. Checks if point at method
4857 call with explicit target.
4858 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
4859 to the method name tokens when it precedes them.
4860 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
4861 (ruby-smie-rules): Add rule for indentation before and after "."
4864 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
4866 * textmodes/remember.el (remember-diary-extract-entries):
4869 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
4872 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
4874 * progmodes/ruby-mode.el (ruby-smie-grammar):
4875 Add (almost) all infix operators.
4876 (ruby-smie--implicit-semi-p): Add new operator chars.
4878 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
4880 (ruby-smie--args-separator-p): Check that there's no newline
4881 between method call and its arguments.
4883 2013-10-20 Alan Mackenzie <acm@muc.de>
4885 Allow comma separated lists after Java "implements".
4887 * progmodes/cc-engine.el (c-backward-over-enum-header):
4889 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
4890 from a "disallowed" list in enum fontification.
4892 2013-10-20 Johan Bockgård <bojohan@gnu.org>
4894 * startup.el (default-frame-background-mode): Remove unused defvar.
4896 * progmodes/verilog-mode.el (verilog-mode): Don't set
4897 comment-indent-function globally.
4899 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
4901 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
4902 Move Info menu item creation to ns-win.el.
4904 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
4907 * menu-bar.el: Move GNUstep specific menus...
4909 * term/ns-win.el (ns-initialize-window-system): ... to here.
4911 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
4913 * simple.el (newline): Only run post-self-insert-hook when
4914 called interactively.
4916 2013-10-19 Johan Bockgård <bojohan@gnu.org>
4918 * icomplete.el (icomplete-with-completion-tables): Add :version.
4920 2013-10-19 Alan Mackenzie <acm@muc.de>
4922 Fix fontification bugs with constructors and const.
4924 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
4925 CASE 2) Remove the check for the absence of a suffix construct
4926 after a function declaration with only types (no identifiers) in
4927 the parentheses. Also, accept a function declaration with just a
4928 type inside the parentheses, if this type can be positively
4929 recognised as such, or if a prefix keyword like "explicit" nails
4930 down the construct as a declaration.
4932 2013-10-19 Eli Zaretskii <eliz@gnu.org>
4934 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
4935 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
4936 the problem whereby selecting a menu item that leads to a
4937 minibuffer prompt moves the cursor out of the minibuffer window,
4938 making it hard to type at the prompt. Suggested by Stefan Monnier
4939 <monnier@iro.umontreal.ca>.
4941 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
4943 * menu-bar.el: Don't make Services menu.
4945 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4947 * ffap.el: Handle "/usr/include/c++/<version>" directories.
4948 (ffap-alist): Use ffap-c++-mode for c++-mode.
4949 (ffap-c++-path): New variable.
4950 (ffap-c++-mode): New function.
4952 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
4954 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
4956 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
4958 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
4959 introduced on 2013-09-08, which results in an infinite loop
4960 requesting a password.
4962 2013-10-18 Glenn Morris <rgm@gnu.org>
4964 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
4966 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
4968 Sync with upstream verilog-mode revision 1a6ecec7.
4969 * progmodes/verilog-mode.el (verilog-mode-version): Update.
4970 (verilog-mode-release-date): Remove.
4971 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
4972 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
4973 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
4974 (verilog-auto-tieoff-ignore-regexp)
4975 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
4976 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
4977 (verilog-signals-with, verilog-dir-cache-preserving)
4978 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
4980 (verilog-case-fold): New option, to control case folding in
4981 regexp searches, bug597.
4982 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
4983 (verilog-string-match-fold, verilog-in-paren-count)
4984 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
4985 (verilog-at-close-struct-p): New functions.
4986 (verilog-beg-block-re-ordered, verilog-extended-case-re)
4987 (verilog-forward-sexp, verilog-set-auto-endcomments)
4988 (verilog-leap-to-case-head): Handle "unique0" case.
4989 (verilog-in-constraint-re): New constant.
4990 (verilog-keywords, verilog-type-font-keywords):
4991 Add some SystemVerilog 1800-2012 keywords.
4992 (verilog-label-be): Remove unimplemented argument, bug669.
4993 (verilog-batch-execute-func): When batch expanding clear
4994 create-lockfiles to prevent spurious user locks when a file ends
4996 (verilog-calculate-indent, verilog-calc-1)
4997 (verilog-at-close-constraint-p, verilog-at-constraint-p)
4998 (verilog-do-indent): Fix indentation of nested constraints
5000 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
5001 (verilog-auto-inst-param): Use verilog-string-match-fold.
5002 (verilog-read-inst-module-matcher):
5003 Fix AUTOINST on gate primitives with #1.
5004 (verilog-read-decls): Fix double-declaring user-defined typed signals.
5005 Reads all user-defined typed variables.
5006 (verilog-read-defines): Fix reading definitions inside comments, bug647.
5007 (verilog-signals-matching-regexp)
5008 (verilog-signals-not-matching-regexp, verilog-auto):
5009 Respect verilog-case-fold.
5010 (verilog-diff-report): Fix line count.
5011 (verilog-auto-assign-modport): Remove unused local `modi'.
5012 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
5013 better handle multidimensional arrays.
5014 Fix packed array ports misadding bit index in AUTOINST, bug637.
5015 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
5016 to not double-declare existing outputs and inputs, respectively.
5017 (verilog-template-map): Bind U to verilog-sk-uvm-component.
5018 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
5019 (verilog-sk-uvm-component): New skeleton.
5020 (verilog-submit-bug-report): Add verilog-case-fold,
5021 remove verilog-mode-release-date.
5023 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
5025 * subr.el (sit-for): Call (input-pending-p t) so as to behave
5028 2013-10-18 Reuben Thomas <rrt@sc3d.org>
5030 * textmodes/remember.el (remember): Set buffer-offer-save in
5031 remember buffers (bug#13566).
5033 2013-10-18 Daniel Colascione <dancol@dancol.org>
5035 When evaluating forms in ielm, direct standard output to ielm
5036 buffer. Add new ielm-return-for-effect command. Remove trailing
5037 whitespace throughout.
5039 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
5040 (ielm-return-for-effect): New command.
5041 (ielm-send-input): Accept optional `for-effect' parameter.
5042 (ielm-eval-input): Accept optional `for-effect' parameter.
5043 Bind `standard-output' to stream we create using
5044 `ielm-standard-output-impl'. Suppress printing result when
5046 (ielm-standard-output-impl): New function.
5047 (inferior-emacs-lisp-mode): Explain new features in documentation.
5049 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
5053 * net/tramp.el (tramp-debug-message): Do not check for connection
5055 (tramp-message): Use "vector" connection property.
5057 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
5058 (tramp-equal-remote, tramp-eshell-directory-change)
5059 * net/tramp-adb.el (tramp-adb-handle-copy-file)
5060 (tramp-adb-handle-rename-file)
5061 * net/tramp-cmds.el (tramp-list-remote-buffers)
5062 (tramp-cleanup-connection, tramp-cleanup-this-connection)
5063 * net/tramp-compat.el (tramp-compat-process-running-p)
5064 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
5065 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
5066 (tramp-gvfs-handle-rename-file)
5067 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
5068 (tramp-set-file-uid-gid)
5069 * net/tramp-smb.el (tramp-smb-handle-copy-file)
5070 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
5073 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
5074 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
5075 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
5076 (tramp-gw-open-network-stream): Suppress unrelated traces.
5078 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
5079 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
5080 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
5081 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
5082 connection property.
5084 * net/tramp-cache.el (top): Suppress traces when reading
5087 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
5088 Refactor common code. Improve debug message.
5089 (tramp-maybe-open-connection)
5090 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
5091 connection buffer too early.
5093 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
5094 from `tramp-smb-actions-with-acl'.
5095 (tramp-smb-actions-set-acl): New defconst.
5096 (tramp-smb-handle-copy-directory)
5097 (tramp-smb-action-get-acl): New defun, renamed from
5098 `tramp-smb-action-with-acl'.
5099 (tramp-smb-action-set-acl): New defun.
5100 (tramp-smb-handle-set-file-acl): Rewrite.
5102 2013-10-17 Glenn Morris <rgm@gnu.org>
5104 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
5106 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
5108 * skeleton.el (skeleton-newline): Remove.
5109 (skeleton-internal-1): Use (insert "\n") instead.
5111 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
5114 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
5115 forward-sexp-function while we redo its job (bug#15613).
5117 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
5119 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
5120 represented by lists.
5122 2013-10-16 Glenn Morris <rgm@gnu.org>
5124 * tmm.el (tmm--history): New dynamic variable.
5125 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
5127 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
5129 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
5130 (tramp-smb-errors): Add error messages.
5131 (tramp-smb-actions-with-acl): New defconst.
5132 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
5133 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
5134 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
5135 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
5136 (tramp-smb-get-stat-capability): Fix tests.
5138 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
5140 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
5143 2013-10-16 Glenn Morris <rgm@gnu.org>
5145 * ansi-color.el (ansi-color-drop-regexp):
5146 Add 1J, 1K, 2K. (Bug#15617)
5148 * files.el (hack-local-variables--warned-lexical): New.
5149 (hack-local-variables):
5150 Warn about misplaced lexical-binding. (Bug#15616)
5152 * net/eww.el (eww-render): Always set eww-current-url,
5153 and update header line. (Bug#15622)
5154 (eww-display-html): ... Rather than just doing it here.
5156 2013-10-15 Eli Zaretskii <eliz@gnu.org>
5158 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
5159 menu navigations commands.
5161 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
5163 * progmodes/subword.el (subword-capitalize): Be careful when
5164 the search for [[:alpha:]] fails (bug#15580).
5166 2013-10-14 Eli Zaretskii <eliz@gnu.org>
5168 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
5169 to commands that scroll the menu.
5171 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
5173 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
5174 Handle methods ending with `?' and `!'.
5176 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
5178 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
5179 `japanese-cp932' to `cp932' to fix the problem where saving a
5180 source file written in Shift_JIS twice would end up having
5181 `coding: japanese-cp932' which Ruby could not recognize.
5182 (ruby-mode-set-encoding): Add support for encodings mapped to nil
5183 in `ruby-encoding-map'.
5184 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
5185 doesn't need to be explicitly declared in magic comment.
5186 (ruby-encoding-map): Add type declaration for better customize UI.
5188 2013-10-13 Glenn Morris <rgm@gnu.org>
5190 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
5191 Occur buffers are read-only. http://bugs.debian.org/720775
5193 * emacs-lisp/authors.el (authors-fixed-entries):
5194 Comment out old alpha stuff.
5196 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
5198 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
5199 to `after-save-hook' instead of `before-save-hook'.
5200 (ruby-mode-set-encoding): Use the value of coding system used to
5201 write the file. Call `basic-save-buffer-1' after modifying the
5204 2013-10-13 Alan Mackenzie <acm@muc.de>
5206 Fix indentation/fontification of Java enum with
5207 "implements"/generic.
5209 * progmodes/cc-engine.el (c-backward-over-enum-header):
5210 Extracted from the three other places and enhanced to handle generics.
5211 (c-inside-bracelist-p): Uses new function above.
5212 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
5214 (c-font-lock-enum-tail): Uses new function above.
5216 2013-10-13 Kenichi Handa <handa@gnu.org>
5218 * international/mule-cmds.el (select-safe-coding-system): Remove a
5219 superfluous condition in chekcing whether a coding system is safe
5222 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
5224 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
5226 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
5228 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
5230 2013-10-13 Glenn Morris <rgm@gnu.org>
5232 * menu-bar.el (menu-bar-update-buffers):
5233 Unify Buffers menu prompt string. (Bug#15576)
5235 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
5237 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
5239 (authors-fixed-entries): Use accented form of name.
5241 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
5243 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
5244 method calls (bug#15594).
5245 (ruby-smie--args-separator-p): New function.
5246 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
5247 recognize paren-free method calls.
5249 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
5250 internals of universal-argument.
5252 2013-10-11 Eli Zaretskii <eliz@gnu.org>
5254 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
5255 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
5256 dropped menu on second mouse click on the menu bar.
5258 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
5260 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
5261 (explicit-shell-file-name): Declare.
5262 (sh--vars-before-point, sh--cmd-completion-table): New functions.
5263 (sh-completion-at-point-function): New function.
5265 (sh-smie--keyword-p): Remove unused argument.
5266 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
5268 (sh-set-shell): Always setup SMIE, even if we use the
5269 old indentation code.
5271 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
5273 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
5275 (ruby-smie-rules): Simplify the "do" rule. The cases when the
5276 predicate would return nil are almost non-existent.
5277 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
5279 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
5280 cache also after commands that modify the buffer but don't move
5283 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
5285 * env.el (substitute-env-in-file-name): New function.
5286 (substitute-env-vars): Extend the meaning of the optional arg.
5288 2013-10-10 Eli Zaretskii <eliz@gnu.org>
5290 * term/w32-win.el (dynamic-library-alist): Define separate lists
5291 of GIF DLLs for versions before and after 5.0.0 of giflib.
5294 2013-10-10 João Távora <joaotavora@gmail.com>
5296 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
5297 not locked, use last revision and current source as
5298 defaults. (Bug#15569)
5300 2013-10-10 Masatake YAMATO <yamato@redhat.com>
5302 * menu-bar.el (menu-bar-open): Don't use popup-menu if
5305 2013-10-10 Martin Rudalics <rudalics@gmx.at>
5307 * window.el (pop-to-buffer-same-window): Fix doc-string.
5310 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
5312 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
5314 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
5316 * calendar/icalendar.el (icalendar-import-file):
5317 Fix interactive spec. (Bug#15482)
5319 2013-10-10 Glenn Morris <rgm@gnu.org>
5321 * desktop.el (desktop-save): Default to saving in .emacs.d,
5322 since PWD is no longer in desktop-path by default. (Bug#15319)
5324 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
5325 now that text mode has a menu with the same entry.
5326 (menu-bar-text-mode-auto-fill): Remove now unused func.
5327 * textmodes/text-mode.el (text-mode-map):
5328 Use auto-fill help text from menu-bar.el.
5330 2013-10-10 John Anthony <john@jo.hnanthony.com>
5332 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
5334 2013-10-09 Juri Linkov <juri@jurta.org>
5336 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
5337 instead of this-command-keys. Add universal-argument-more and
5338 universal-argument-minus to the list of prefix commands. (Bug#15568)
5340 2013-10-09 Glenn Morris <rgm@gnu.org>
5342 * vc/vc-svn.el (vc-svn-create-repo):
5343 Expand paths in file://... url. (Bug#15446)
5345 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
5347 (authors): Remove unused local variables.
5349 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
5351 * profiler.el: Create a more coherent calltree from partial backtraces.
5352 (profiler-format): Hide the tail with `invisible' so that C-s can still
5353 find the hidden elements.
5354 (profiler-calltree-depth): Don't recurse so enthusiastically.
5355 (profiler-function-equal): New hash-table-test.
5356 (profiler-calltree-build-unified): New function.
5357 (profiler-calltree-build): Use it.
5358 (profiler-report-make-name-part): Indent the calltree less.
5359 (profiler-report-mode): Add visibility specs for profiler-format.
5360 (profiler-report-expand-entry, profiler-report-toggle-entry):
5361 Expand the whole subtree when provided with a prefix arg.
5363 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
5365 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
5367 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
5368 hanging iuwu-mod token.
5369 (ruby-smie--forward-token): Do not include a dot after a token in
5371 (ruby-smie--backward-token): Likewise.
5373 2013-10-08 Juri Linkov <juri@jurta.org>
5375 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
5376 to isearch-other-control-char.
5377 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
5378 and isearch-post-command-hook to post-command-hook.
5379 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
5380 and isearch-post-command-hook from post-command-hook.
5381 (isearch-unread-key-sequence)
5382 (isearch-reread-key-sequence-naturally)
5383 (isearch-lookup-scroll-key, isearch-other-control-char)
5384 (isearch-other-meta-char): Remove functions.
5385 (isearch-pre-command-hook, isearch-post-command-hook):
5386 New functions based on isearch-other-meta-char rewritten
5387 relying on the new behavior of overriding-terminal-local-map
5388 that does not replace the local keymaps any more. (Bug#15200)
5390 2013-10-08 Eli Zaretskii <eliz@gnu.org>
5392 Support menus on text-mode terminals.
5393 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
5396 * tooltip.el (tooltip-mode): Don't error out on TTYs.
5398 * menu-bar.el (popup-menu, popup-menu-normalize-position):
5399 Move here from mouse.el.
5400 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
5402 (tty-menu-navigation-map): New map for TTY menu navigation.
5404 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
5406 * frame.el (display-mouse-p): Report text-mode mouse as available
5408 (display-popup-menus-p): Report availability if mouse is
5409 available; don't condition on window-system.
5411 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
5412 (tty-menu-selected-face): New faces.
5414 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
5416 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
5417 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
5418 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
5419 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
5421 (lisp-mode-variables): New `elisp' argument.
5422 (emacs-lisp-mode): Use it.
5423 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
5424 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
5426 * indent.el: Use lexical-binding.
5427 (indent-region): Add progress reporter.
5428 (tab-stop-list): Make it implicitly extend to infinity by repeating the
5430 (indent--next-tab-stop): New function to implement this behavior.
5431 (tab-to-tab-stop, move-to-tab-stop): Use it.
5433 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
5435 * indent.el (indent-rigidly--current-indentation): New function.
5436 (indent-rigidly-map): New var.
5437 (indent-rigidly): Use it to provide interactive mode (bug#8196).
5439 2013-10-08 Bastien Guerry <bzg@gnu.org>
5441 * register.el (insert-register): Fix 2013-10-07 change.
5443 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
5445 * progmodes/perl-mode.el: Use lexical-binding.
5446 Remove redundant :group args.
5447 (perl-nochange): Change default to be closer to other major modes's
5449 (perl-indent-line): Don't consider text on current line as a
5450 valid beginning of function from which to indent.
5452 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
5453 with more than one argument (bug#15538).
5455 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
5457 * vc/pcvs.el: Use lexical-binding.
5458 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
5459 environment of `eval'.
5460 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
5461 than a list of expressions. Adjust callers.
5462 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
5464 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
5466 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
5467 case of the dot in a chained method call being on the following line.
5469 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
5471 * electric.el (electric-indent-inhibit): New var.
5472 (electric-indent-post-self-insert-function): Use it.
5473 * progmodes/python.el (python-mode): Set it.
5475 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
5478 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
5480 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
5481 (css-mode): Use electric-indent-chars.
5483 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
5484 (font-lock-beg, font-lock-end): Move before first use.
5485 (nxml-mode): Use syntax-propertize-function.
5486 (nxml-after-change, nxml-after-change1): Adjust accordingly.
5487 (nxml-extend-after-change-region): Remove.
5488 * nxml/xmltok.el: Use lexical-binding.
5489 (xmltok-save): Use `declare'.
5490 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
5491 * nxml/nxml-util.el: Use lexical-binding.
5492 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
5494 * nxml/nxml-ns.el: Use lexical-binding.
5495 (nxml-ns-save): Use `declare'.
5496 (nxml-ns-prefixes-for): Avoid add-to-list.
5497 * nxml/rng-match.el: Use lexical-binding.
5498 (rng--ipattern): Use cl-defstruct.
5499 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
5500 (rng-cons-group-after, rng-subst-group-after)
5501 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
5502 Use closures instead of `(lambda...).
5504 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
5506 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
5509 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5510 Use `tramp-handle-insert-file-contents'.
5511 (tramp-gvfs-handle-insert-file-contents): Remove function.
5513 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
5514 Use `save-restriction' in order to keep markers.
5516 * net/trampver.el: Update release number.
5518 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
5520 * progmodes/compile.el (compilation-parse-errors):
5521 Use compilation--put-prop.
5522 (compilation--ensure-parse): Check compilation-multiline.
5524 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
5526 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
5529 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
5531 * progmodes/ruby-mode.el: Fix recently added tests.
5532 (ruby-smie-grammar): Add - and +.
5533 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
5534 (ruby-smie--backward-id): New functions.
5535 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
5536 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
5539 2013-10-07 Leo Liu <sdl.web@gmail.com>
5541 * register.el (register-preview-delay)
5542 (register-preview-functions): New variables.
5543 (register-read-with-preview, register-preview)
5544 (register-describe-oneline): New functions.
5545 (point-to-register, window-configuration-to-register)
5546 (frame-configuration-to-register, jump-to-register)
5547 (number-to-register, view-register, insert-register)
5548 (copy-to-register, append-to-register, prepend-to-register)
5549 (copy-rectangle-to-register): Use register-read-with-preview to
5550 read register. (Bug#15525)
5552 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
5554 * net/network-stream.el (network-stream-open-starttls): Don't add
5555 --insecure if it's already present, because that gnutls-cli
5556 rejects getting that parameter twice.
5558 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
5560 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
5563 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
5565 * newcomment.el (comment-use-global-state): Change default value
5566 to t, mark obsolete (Bug#15251).
5567 (comment-beginning): In addition to `comment-to-syntax', check the
5568 value of `comment-use-global-state'.
5570 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
5572 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
5573 (ruby-comment-column): Follow the global default, by default.
5574 (ruby-smie-grammar): Add assignment syntax.
5575 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
5576 open-paren, a comma, or a \.
5577 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
5578 and line continuations.
5579 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
5580 followed by implicit semi-colons. Add rule for string concatenation
5581 and for indentation at BOB.
5582 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
5584 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
5585 calling next-sexp, since next-token may have skipped chars which
5586 next-sexp doesn't know should be skipped!
5588 2013-10-05 Leo Liu <sdl.web@gmail.com>
5590 * progmodes/octave.el (octave-send-region):
5591 Call compilation-forget-errors.
5593 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
5595 * vc/vc-svn.el (vc-svn-find-admin-dir):
5596 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
5597 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
5598 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
5599 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
5601 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
5603 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
5605 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
5607 * subr.el (read-passwd): Hide chars even when called within a context
5608 where after-change-functions is disabled (bug#15501).
5609 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
5610 until we removed ourself from overriding-terminal-local-map.
5612 2013-10-04 Leo Liu <sdl.web@gmail.com>
5614 * progmodes/octave.el (inferior-octave-mode):
5615 Call compilation-forget-errors.
5617 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
5619 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
5621 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
5623 * net/secrets.el (secrets-create-collection): Add optional
5624 argument ALIAS. Use proper Label keyword. Append ALIAS as
5625 dbus-call-method argument. (Bug#15516)
5627 2013-10-04 Leo Liu <sdl.web@gmail.com>
5629 * progmodes/octave.el (inferior-octave-error-regexp-alist)
5630 (inferior-octave-compilation-font-lock-keywords): New variables.
5631 (compilation-error-regexp-alist)
5632 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
5633 (inferior-octave-mode): Use compilation-shell-minor-mode.
5635 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
5637 * minibuffer.el (completion--replace): Be careful that `end' might be
5640 2013-10-03 Daiki Ueno <ueno@gnu.org>
5642 Add support for package signature checking.
5643 * emacs-lisp/package.el (url-http-file-exists-p)
5644 (epg-make-context, epg-context-set-home-directory)
5645 (epg-verify-string, epg-context-result-for)
5646 (epg-signature-status, epg-signature-to-string)
5647 (epg-check-configuration, epg-configuration)
5648 (epg-import-keys-from-file): Declare.
5649 (package-check-signature): New user option.
5650 (package-unsigned-archives): New user option.
5651 (package-desc): Add `signed' field.
5652 (package-load-descriptor): Set `signed' field if .signed file exists.
5653 (package--archive-file-exists-p): New function.
5654 (package--check-signature): New function.
5655 (package-install-from-archive): Check package signature.
5656 (package--download-one-archive): Check archive signature.
5657 (package-delete): Remove .signed file.
5658 (package-import-keyring): New command.
5659 (package-refresh-contents): Import default keyring.
5660 (package-desc-status): Add "unsigned" status.
5661 (describe-package-1, package-menu--print-info)
5662 (package-menu-mark-delete, package-menu--find-upgrades)
5663 (package-menu--status-predicate): Support "unsigned" status.
5665 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
5667 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
5668 the new compilation scheme using the new byte-codes.
5670 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
5671 (byte-pophandler): New byte codes.
5672 (byte-goto-ops): Adjust accordingly.
5673 (byte-compile--use-old-handlers): New var.
5674 (byte-compile-catch): Use new byte codes depending on
5675 byte-compile--use-old-handlers.
5676 (byte-compile-condition-case--old): Rename from
5677 byte-compile-condition-case.
5678 (byte-compile-condition-case--new): New function.
5679 (byte-compile-condition-case): New function that dispatches depending
5680 on byte-compile--use-old-handlers.
5681 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
5684 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
5685 Optimize under `condition-case' and `catch' if
5686 byte-compile--use-old-handlers is nil.
5687 (disassemble-offset): Handle new bytecodes.
5689 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
5691 * subr.el (error): Use `declare'.
5692 (decode-char, encode-char): Use advertised-calling-convention instead
5693 of the docstring to discourage use of the `restriction' arg.
5695 2013-10-03 Daiki Ueno <ueno@gnu.org>
5697 * epg.el (epg-verify-file): Add a comment saying that it does not
5698 notify verification error as a return value nor a signal.
5699 (epg-verify-string): Ditto.
5701 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
5703 * progmodes/compile.el (compilation-start): Try globbing the arg to
5706 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
5708 Sync with Tramp 2.2.8.
5710 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
5711 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
5712 * net/trampver.el: Update release number.
5714 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
5716 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
5717 and default-process-coding-system for darwin only.
5719 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
5721 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
5723 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
5725 * vc/vc-git.el (vc-git-grep): Disable pager.
5727 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
5729 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
5730 Use :url instead of :homepage, as per
5731 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
5733 * newcomment.el (comment-beginning): When `comment-use-syntax' is
5734 non-nil, use `syntax-ppss' (Bug#15251).
5736 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5738 * progmodes/octave.el (inferior-octave-startup-file):
5739 Prefer ~/.emacs.d/init_octave.m.
5741 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
5743 * emacs-lisp/package.el (package-desc-from-define):
5744 Accept additional arguments as plist, convert them to an alist and store
5745 them in the `extras' slot.
5746 (package-generate-description-file): Convert extras alist back to
5747 plist and append to the `define-package' form arguments.
5748 (package--alist-to-plist): New function.
5749 (package--ac-desc): Add `extras' slot.
5750 (package--add-to-archive-contents): Check if the archive-contents
5751 vector is long enough, and if it is, pass its `extras' slot value
5752 to `package-desc-create'.
5753 (package-buffer-info): Call `lm-homepage', pass the returned value
5754 to `package-desc-from-define'.
5755 (describe-package-1): Render the homepage button (Bug#13291).
5757 * emacs-lisp/package-x.el (package-upload-buffer-internal):
5758 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
5760 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
5762 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
5763 and default-process-coding-system to utf-8-unix (Bug#15402).
5765 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
5767 * subr.el (looking-back): Do not recommend using looking-back.
5769 2013-09-28 Alan Mackenzie <acm@muc.de>
5771 Fix indentation/fontification of Java enum with "implements".
5773 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
5774 regexp which matches "implements", etc., in Java.
5775 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
5776 specifier clauses coming after "enum".
5777 * progmodes/cc-fonts.el (c-font-lock-declarations)
5778 (c-font-lock-enum-tail): Check for extra specifier clauses coming
5781 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
5783 * faces.el (region): Change ns_selection_color to
5784 ns_selection_fg_color, add ns_selection_bg_color.
5786 2013-09-28 Leo Liu <sdl.web@gmail.com>
5788 * progmodes/octave.el (inferior-octave-completion-table)
5789 (inferior-octave-completion-at-point): Minor tweaks.
5791 * textmodes/ispell.el (ispell-lookup-words): Rename from
5792 lookup-words. (Bug#15460)
5793 (lookup-words): Obsolete.
5794 (ispell-complete-word, ispell-command-loop): All uses changed.
5796 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5798 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
5799 (octave-mode-menu): Add octave-send-buffer.
5800 (octave-send-buffer): New function.
5802 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5804 * progmodes/octave.el (octave-mode-map): Add key binding for
5806 (octave-mode-menu): Add octave-lookfor.
5807 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
5809 (octave-lookfor): New function.
5811 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
5813 * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
5814 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
5816 (cl--loop-set-iterator-function): New function.
5817 (cl-loop): Adjust accordingly, so as not to use cl-subst.
5818 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
5819 Bind `it' with `let' instead of substituting it with `cl-subst'.
5820 (cl--unused-var-p): New function.
5821 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
5822 Eliminate some unused variable warnings (bug#15326).
5824 2013-09-27 Tassilo Horn <tsdh@gnu.org>
5826 * doc-view.el (doc-view-scale-reset): Rename from
5827 `doc-view-reset-zoom-level'.
5828 (doc-view-scale-adjust): New command.
5829 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
5830 `doc-view-scale-adjust'.
5832 2013-09-26 Tassilo Horn <tsdh@gnu.org>
5834 * doc-view.el (doc-view-reset-zoom-level): New command.
5835 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
5836 zoom commands (bug#15466).
5838 2013-09-26 Kenichi Handa <handa@gnu.org>
5840 * international/quail.el (quail-help): Make it not a command.
5842 2013-09-26 Leo Liu <sdl.web@gmail.com>
5844 * minibuffer.el (completion-all-sorted-completions): Make args
5845 optional as they are.
5847 2013-09-25 Daniel Colascione <dancol@dancol.org>
5849 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
5850 specs are and that they're not evaluated.
5852 2013-09-24 Sam Steingold <sds@gnu.org>
5854 * midnight.el (clean-buffer-list-kill-regexps)
5855 (clean-buffer-list-kill-buffer-names): Update for the new Man
5856 buffer naming which includes the object name.
5858 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
5860 * eshell/esh-cmd.el (eshell--sep-terms): New var.
5861 (eshell-parse-command, eshell-parse-pipeline): Use it since
5862 eshell-separate-commands requires a dynamic scoped var.
5863 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
5865 2013-09-23 Leo Liu <sdl.web@gmail.com>
5867 * autoinsert.el (auto-insert-alist): Make the value of
5868 lexical-binding match its file setting.
5870 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
5872 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
5874 * autoarg.el (autoarg-kp-digit-argument):
5875 * electric.el (Electric-command-loop):
5876 * kmacro.el (kmacro-step-edit-insert):
5877 Do not set universal-argument-num-events.
5879 2013-09-22 Leo Liu <sdl.web@gmail.com>
5881 * files.el (interpreter-mode-alist): Add octave.
5883 2013-09-21 Alan Mackenzie <acm@muc.de>
5885 C++: fontify identifier in declaration following "public:" correctly.
5886 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
5887 to match "public", etc.
5888 (c-decl-prefix-re): Add ":" into the C++ value.
5889 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
5890 bit. Add a check for a ":" preceded by "public", etc.
5892 2013-09-21 Eli Zaretskii <eliz@gnu.org>
5894 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
5895 recognized by GDB 7.5 and later.
5897 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
5899 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
5901 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
5903 * subr.el (internal--call-interactively): New const.
5904 (called-interactively-p): Use it (bug#3984).
5906 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
5908 * vc/pcvs.el (cvs-mode-ignore):
5909 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
5910 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
5912 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5914 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
5915 (eshell-ls-orig-insert-directory): Remove.
5916 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
5917 (eshell-ls-use-in-dired): Use advice-add/remove.
5918 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
5919 Add `orig-fun' arg for use in :around advice.
5920 Make it check (redundantly) eshell-ls-use-in-dired.
5922 2013-09-19 Glenn Morris <rgm@gnu.org>
5924 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
5926 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
5928 * emacs-lisp/eieio.el (class-parent): Undo previous change.
5930 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
5932 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
5933 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
5934 (tramp-get-remote-python): New defuns.
5935 (tramp-get-remote-uid-with-perl)
5936 (tramp-get-remote-gid-with-perl): New defuns. Perl code
5937 contributed by yary <not.com@gmail.com> (tiny change).
5938 (tramp-get-remote-uid-with-python)
5939 (tramp-get-remote-gid-with-python): New defuns. Python code
5940 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
5941 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
5943 2013-09-19 Glenn Morris <rgm@gnu.org>
5945 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
5947 * eshell/em-unix.el (eshell-remove-entries):
5948 Rename argument to avoid name-clash with global `top-level'.
5950 * eshell/esh-proc.el (eshell-kill-process-function):
5951 Remove eshell-reset-after-proc from eshell-kill-hook if present.
5952 (eshell-reset-after-proc): Remove unused arg `proc'.
5954 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
5955 (directory-files-and-attributes): Mark unused arg.
5957 * eshell/em-unix.el (eshell-remove-entries):
5958 Remove unused arg `path'. Update callers.
5960 * eshell/em-hist.el (eshell-hist-parse-arguments):
5961 Remove unused arg `silent'. Update callers.
5963 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
5964 Fix (f)boundp mix-up.
5966 * eshell/em-smart.el (eshell-smart-scroll-window)
5967 (eshell-disable-after-change):
5968 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
5970 2013-09-18 Alan Mackenzie <acm@muc.de>
5972 Fix fontification of type when followed by "const".
5973 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
5974 "known" types from fontification.
5976 2013-09-18 Glenn Morris <rgm@gnu.org>
5978 * emacs-lisp/chart.el (x-display-color-cells): Declare.
5979 (chart-face-list): Drop Emacsen without display-color-p.
5981 * net/eww.el (libxml-parse-html-region): Declare.
5982 (eww-display-html): Explicit error if no libxml2 support.
5984 * doc-view.el (doc-view-mode): Silence --without-x compilation.
5986 * image.el (image-type-from-buffer, image-multi-frame-p):
5987 Remove --without-x warning/error.
5989 * mouse.el (mouse-yank-primary):
5990 * term.el (term-mouse-paste):
5991 Reorder to silence --without-x compilation.
5993 * mpc.el (doc-view-mode): Silence --without-x compilation.
5995 * mail/rmailmm.el (rmail-mime-set-bulk-data):
5996 Silence --without-x compilation.
5998 * progmodes/gud.el (gud-find-file, gud-mode):
5999 Silence --without-x compilation.
6000 (tooltip-mode): Declare.
6002 * wdired.el (dired-backup-overwrite): Remove declaration.
6003 (wdired-mode-map): Add doc string.
6005 * custom.el (x-get-resource): Declare.
6007 * eshell/em-glob.el (ange-cache):
6008 * eshell/em-unix.el (ange-cache): Declare.
6010 * faces.el (x-display-list, x-open-connection, x-get-resource):
6013 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
6014 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
6017 * frame.el (x-display-grayscale-p, x-display-name): Declare.
6019 * net/gnutls.el (gnutls-log-level): Declare.
6021 * net/shr.el (image-size, image-animate): Declare.
6023 * simple.el (font-info): Declare.
6025 * subr.el (x-popup-dialog): Declare.
6027 * term/common-win.el (x-select-enable-primary)
6028 (x-last-selected-text-primary, x-last-selected-text-clipboard):
6031 * term/ns-win.el (x-handle-args): Declare.
6033 * term/x-win.el (x-select-enable-clipboard): Declare.
6035 * term/w32-win.el (create-default-fontset): Declare.
6037 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
6040 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
6041 (fit-frame-to-buffer): Explicit error if --without-x.
6042 (mouse-autoselect-window-select): Silence compiler.
6044 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
6046 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
6047 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
6048 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
6049 * eshell/esh-util.el (eshell-sublist):
6050 Remove unused local variables.
6052 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
6054 * textmodes/two-column.el: Make 2C-split work for --without-x.
6055 (scroll-bar-columns): Autoload.
6056 (top-level): Require fringe when compiling.
6058 2013-09-18 Leo Liu <sdl.web@gmail.com>
6060 * subr.el (add-hook): Robustify to handle closure as well.
6062 2013-09-17 Glenn Morris <rgm@gnu.org>
6064 * simple.el (messages-buffer-mode-map): Unbind "g".
6066 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
6068 * help-mode.el (help-mode-finish): Use derived-mode-p.
6069 Remove obsolete highlighting.
6071 * play/life.el (life-mode): Use define-derived-mode. Derive from
6073 (life): Let-bind inhibit-read-only.
6074 (life-setup): Avoid `setq'. Use `life-mode'.
6076 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
6077 which should not be needed any more.
6078 (package-menu-refresh, package-menu-describe-package): Use user-error.
6080 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
6081 (eshell-post-rewrite-command-hook): Make obsolete.
6082 (eshell-parse-command): Simplify.
6083 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
6084 (eshell--cmd): Declare.
6085 (eshell-parse-pipeline): Remove unused var `final-p'.
6086 Pass a dynvar to eshell-post-rewrite-command-hook.
6087 Implement the new eshell-post-rewrite-command-function.
6088 (eshell-invoke-directly): Remove unused arg `input'.
6089 * eshell/esh-io.el (eshell-io-initialize):
6090 Use eshell-post-rewrite-command-function (bug#15399).
6091 (eshell--apply-redirections): Rename from eshell-apply-redirections;
6092 adjust to new calling convention.
6093 (eshell-create-handles): Rename args to avoid clashing with dynvar
6096 2013-09-17 Glenn Morris <rgm@gnu.org>
6098 * simple.el (messages-buffer-mode): New major mode.
6099 (messages-buffer): New function.
6100 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
6101 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
6102 (ert-run-test): Use `messages-buffer' function.
6103 (ert--force-message-log-buffer-truncation): Ignore read-only.
6104 * help.el (view-echo-area-messages): Use `messages-buffer' function.
6105 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
6107 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
6109 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
6111 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
6113 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
6115 * icomplete.el (icomplete-in-buffer): New var.
6116 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
6117 vars and replace them with functions.
6118 (icomplete-minibuffer-setup): Adjust accordingly.
6119 (icomplete--completion-table, icomplete--completion-predicate)
6120 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
6122 (icomplete-forward-completions, icomplete-backward-completions)
6123 (icomplete-simple-completing-p, icomplete-exhibit)
6124 (icomplete-completions): Use them.
6125 (icomplete--in-region-buffer): New var.
6126 (icomplete--in-region-setup): New function.
6127 (icomplete-mode): Use it.
6129 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
6131 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
6132 return args and options.
6133 (eshell-eval-using-options): Use the new return value of
6134 eshell--do-opts to set the options's vars in their scope.
6135 (eshell--set-option): Rename from eshell-set-option.
6137 (eshell--process-option): Rename from eshell-process-option.
6139 (eshell--process-args): Use an `opt-vals' alist to store the options's
6140 values during their processing and return them additionally to the
6143 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
6145 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
6146 continuation character an operator, as far as indentation is
6147 concerned (Bug#15369).
6149 2013-09-15 Martin Rudalics <rudalics@gmx.at>
6151 * window.el (window--state-put-2): Don't process buffer state
6152 when buffer doesn't exist any more (Bug#15382).
6154 2013-09-15 Glenn Morris <rgm@gnu.org>
6156 * eshell/em-unix.el (eshell/rm):
6157 Make -f ignore missing files. (Bug#15373)
6159 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
6160 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
6161 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
6163 2013-09-14 Glenn Morris <rgm@gnu.org>
6165 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
6167 2013-09-13 Glenn Morris <rgm@gnu.org>
6169 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
6170 (dired-guess-default): Make `file' available in the env. (Bug#15363)
6172 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
6174 * frame.el (x-focus-frame): Mark as declared in frame.c.
6176 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
6178 * ls-lisp.el: Use advice-add.
6179 (original-insert-directory): Remove.
6180 (ls-lisp--insert-directory): Rename from insert-directory; add
6181 `orig-fun' argument.
6182 (insert-directory): Advise.
6184 2013-09-13 Eli Zaretskii <eliz@gnu.org>
6186 * term.el (term-emulate-terminal): Decode the command string
6187 before passing it to term-command-hook. (Bug#15337)
6189 2013-09-13 Glenn Morris <rgm@gnu.org>
6191 * eshell/esh-util.el (ange-cache): Move declaration earlier.
6193 * eshell/esh-ext.el (eshell-search-path): Declare.
6195 * eshell/em-prompt.el (eshell/pwd): Autoload it.
6196 Otherwise an error occurs if eshell-dirs module not loaded.
6198 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
6200 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
6202 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
6203 `tramp-check-proper-host'. Check for a valid method name.
6205 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
6206 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6207 * net/tramp-sh.el (tramp-maybe-open-connection):
6208 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
6210 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
6211 also for hash values.
6213 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6215 * term/ns-win.el (parameters): Don't declare as dynamic.
6216 (before-make-frame-hook): Don't add ineffective function.
6218 * eshell/*.el: Use lexical-binding (bug#15231).
6220 2013-09-12 Kenichi Handa <handa@gnu.org>
6222 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
6224 2013-09-12 Glenn Morris <rgm@gnu.org>
6226 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
6227 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
6229 * subr.el (do-after-load-evaluation): Also give compiler warnings
6230 when obsolete files are used (except by obsolete files).
6232 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
6233 in the status output, assume `filename' is the first. (Bug#15322)
6235 * vc/vc.el (vc-deduce-fileset): Doc fix.
6237 * calc/calc-help.el (Info-goto-node):
6238 * progmodes/cperl-mode.el (Info-find-node):
6239 * vc/ediff.el (Info-goto-node): Update declarations.
6241 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
6243 * vc/vc-bzr.el (vc-compilation-mode): Declare.
6244 (vc-bzr-pull): Require vc-dispatcher.
6245 * vc/vc-git.el (vc-compilation-mode): Declare.
6246 (vc-git-pull): Require vc-dispatcher.
6248 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
6250 * progmodes/octave.el (help-button-action): Declare.
6252 * shell.el (shell-directory-tracker): Output error as a message
6253 rather than just returning it as a string.
6254 (shell-process-pushd): Remove useless use of message.
6256 * dframe.el (dframe-timer-fn):
6257 * files.el (dir-locals-read-from-file):
6258 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
6260 * reveal.el (reveal-post-command):
6261 * saveplace.el (load-save-place-alist-from-file):
6262 * shell.el (shell-resync-dirs):
6263 * w32-common-fns.el (x-get-selection-value):
6264 * emacs-lisp/copyright.el (copyright-find-copyright):
6265 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
6266 * emulation/tpu-edt.el (tpu-copy-keyfile):
6267 * play/bubbles.el (bubbles--mark-neighbourhood):
6268 * progmodes/executable.el
6269 (executable-make-buffer-file-executable-if-script-p):
6270 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
6272 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6274 Cleanup Eshell to rely less on dynamic scoping.
6275 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
6276 last-value, and ext-command here. Bind `args' closer to `body'.
6277 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
6278 (eshell--args): Declare new dynamic var.
6279 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
6280 last-value, and ext-command. Pass `args' to `body'.
6281 (eshell-process-args): Bind eshell--args.
6282 (eshell-set-option): Use eshell--args.
6283 * eshell/eshell.el (eshell): Use derived-mode-p.
6284 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
6285 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
6286 (eshell-glob-function): Declare.
6287 * eshell/esh-util.el: Require cl-lib.
6288 (eshell-read-hosts-file): Avoid add-to-list.
6289 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
6291 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
6293 (eshell/diff): Remove unused var `err'.
6294 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
6296 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
6297 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
6299 * eshell/em-glob.el (eshell-glob-matches, message-shown):
6300 Move declaration before first use.
6301 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
6302 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
6305 2013-09-12 Glenn Morris <rgm@gnu.org>
6307 * term/ns-win.el (global-map): Remove binding for ispell-next,
6308 deleted 1999-05-29. (Bug#15357)
6310 2013-09-11 Glenn Morris <rgm@gnu.org>
6312 * echistory.el (electric-command-history): Remove call to deleted func.
6314 * play/landmark.el (landmark-mode): Fix typos.
6316 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
6317 Check cvs-sort-ignore-file is bound.
6319 * savehist.el: No need for cl when compiling on Emacs.
6321 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
6323 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
6325 (eshell-self-insert-command, eshell-send-invisible):
6326 Remove unused argument.
6327 (eshell-handle-control-codes): Remove unused var `orig'.
6328 Avoid delete-backward-char.
6330 * files.el (set-auto-mode): Simplify a bit further.
6332 2013-09-11 Glenn Morris <rgm@gnu.org>
6334 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
6335 (set-auto-mode): Don't regexp-quote elements.
6336 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
6337 * progmodes/cc-mode.el (interpreter-mode-alist):
6338 * progmodes/ruby-mode.el (interpreter-mode-alist):
6339 Revert previous change.
6341 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
6343 * play/snake.el (snake-mode):
6344 * play/mpuz.el (mpuz-mode):
6345 * play/landmark.el (lm-mode):
6346 * play/blackbox.el (blackbox-mode):
6347 * play/5x5.el (5x5-mode):
6348 * obsolete/options.el (Edit-options-mode):
6349 * net/quickurl.el (quickurl-list-mode):
6350 * net/newst-treeview.el (newsticker-treeview-mode):
6351 * mail/rmailsum.el (rmail-summary-mode):
6352 * mail/mspools.el (mspools-mode):
6353 * locate.el (locate-mode):
6354 * ibuffer.el (ibuffer-mode):
6355 * emulation/ws-mode.el (wordstar-mode):
6356 * emacs-lisp/debug.el (debugger-mode):
6357 * array.el (array-mode):
6358 * net/eudc.el (eudc-mode): Use define-derived-mode.
6359 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
6360 Move initialization into declaration.
6361 (mairix-searches-mode): Use define-derived-mode.
6362 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
6363 (eudc-edit-hotlist): Use dolist.
6364 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
6365 (Man-mode): Use define-derived-mode.
6366 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
6367 (Info-edit-mode): Use define-derived-mode.
6368 (Info-cease-edit): Use Info-mode.
6369 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
6371 (eshell-mode): Use define-derived-mode.
6372 * chistory.el (command-history-mode-map): Rename from
6373 command-history-map.
6374 (command-history-mode): Use define-derived-mode.
6375 (Command-history-setup): Remove function.
6376 * calc/calc.el (calc-trail-mode-map): New var.
6377 (calc-trail-mode): Use define-derived-mode.
6378 (calc-trail-buffer): Set calc-main-buffer manually.
6379 * bookmark.el (bookmark-insert-annotation): New function.
6380 (bookmark-edit-annotation): Use it.
6381 (bookmark-edit-annotation-mode): Make it a proper major mode.
6382 (bookmark-send-edited-annotation): Use derived-mode-p.
6383 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
6384 closer to its ideal place. Use \' to match EOS.
6386 * profiler.el (profiler-calltree-find): Use function-equal.
6388 2013-09-10 Glenn Morris <rgm@gnu.org>
6390 * files.el (interpreter-mode-alist): Convert to regexps.
6391 (set-auto-mode): Adapt for this. (Bug#15306)
6392 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
6393 Comment out unused variable.
6394 * progmodes/cc-mode.el (interpreter-mode-alist):
6395 * progmodes/python.el (interpreter-mode-alist):
6396 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
6397 * progmodes/sh-script.el (sh-set-shell):
6398 No longer use interpreter-mode-alist to get list of shells.
6400 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
6402 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
6404 * simple.el: Use set-temporary-overlay-map for universal-argument.
6405 (universal-argument-map): Don't use default-bindings (bug#15317).
6406 Bind switch-frame explicitly. Replace universal-argument-minus with
6407 a conditional binding.
6408 (universal-argument-num-events, saved-overriding-map): Remove.
6409 (restore-overriding-map): Remove.
6410 (universal-argument--mode): Rename from save&set-overriding-map,
6412 (universal-argument, universal-argument-more, negative-argument)
6413 (digit-argument): Adjust accordingly.
6414 (universal-argument-minus): Remove.
6415 (universal-argument-other-key): Remove.
6417 * subr.el (with-demoted-errors): Add `format' argument.
6419 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
6421 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
6422 `tramp-cleanup-connection'.
6424 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
6425 parameters KEEP-DEBUG and KEEP-PASSWORD.
6427 * net/tramp.el (tramp-file-name-handler):
6428 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
6429 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
6430 (tramp-maybe-open-connection):
6431 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
6432 Use `tramp-cleanup-connection'.
6434 * net/tramp-sh.el (tramp-maybe-open-connection):
6435 Catch 'uname-changed inside the progress reporter.
6437 2013-09-10 Glenn Morris <rgm@gnu.org>
6439 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
6441 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
6442 returns "alternate access method" in mode (eg "-rw-r--r--.").
6444 2013-09-08 Glenn Morris <rgm@gnu.org>
6446 * saveplace.el (load-save-place-alist-from-file):
6447 Demote errors. (Bug#15305)
6449 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
6451 Improve compatibility with older Emacsen, and XEmacs.
6453 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
6454 only if it is bound. It isn't for XEmacs.
6455 (with-tramp-progress-reporter): Do not let-bind `result'.
6456 This yields to scoping errors in XEmacs.
6457 (tramp-handle-make-auto-save-file-name): New function, moved from
6460 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
6461 for `make-auto-save-file-name'.
6462 (tramp-adb--gnu-switches-to-ash):
6463 Use `tramp-compat-replace-regexp-in-string'.
6465 * net/tramp-cache.el (tramp-cache-print): Call
6466 `substring-no-properties' only if it is bound. It isn't for XEmacs.
6468 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
6469 bound. It isn't for XEmacs.
6471 * net/tramp-compat.el (tramp-compat-copy-file):
6472 Catch `wrong-number-of-arguments' error.
6473 (tramp-compat-replace-regexp-in-string): New defun.
6475 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
6476 for `make-auto-save-file-name'.
6477 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
6479 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
6480 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
6481 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
6483 * net/tramp-gw.el (tramp-gw-open-network-stream):
6484 Use `tramp-compat-replace-regexp-in-string'.
6486 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6487 Call `tramp-handle-make-auto-save-file-name'.
6488 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
6489 (tramp-sh-file-gvfs-monitor-dir-process-filter)
6490 (tramp-sh-file-inotifywait-process-filter):
6491 Use `tramp-compat-replace-regexp-in-string'.
6492 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
6494 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
6495 for `make-auto-save-file-name'.
6496 (tramp-smb-handle-copy-directory):
6497 Call `tramp-compat-replace-regexp-in-string'.
6498 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
6499 (tramp-smb-handle-copy-file): Improve error message.
6500 (tramp-smb-handle-rename-file): Rename directly only in case
6501 `newname' does not exist yet. This is a restriction of smbclient.
6502 (tramp-smb-maybe-open-connection): Rerun the function only when
6503 `auth-sources' is non-nil.
6505 2013-09-08 Kenichi Handa <handa@gnu.org>
6507 * international/characters.el: Set category "^" (Combining) for
6510 2013-09-07 Alan Mackenzie <acm@muc.de>
6512 Correctly fontify Java class constructors.
6513 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
6515 (c-recognize-typeless-decls): Set the Java value to t.
6516 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
6517 While handling a "(", add a check for, effectively, Java, and handle a
6518 "typeless" declaration there.
6520 2013-09-07 Roland Winkler <winkler@gnu.org>
6522 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
6523 field subtitle for entry type book.
6525 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
6527 * minibuffer.el: Make minibuffer-complete call completion-in-region
6528 rather than other way around.
6529 (completion--some, completion-pcm--find-all-completions):
6530 Don't delay signals when debugging.
6531 (minibuffer-completion-contents): Beware fields within the
6532 minibuffer contents.
6533 (completion-all-sorted-completions): Use defvar-local.
6534 (completion--do-completion, completion--cache-all-sorted-completions)
6535 (completion-all-sorted-completions, minibuffer-force-complete):
6536 Add args `beg' and `end'.
6537 (completion--in-region-1): New fun, extracted from minibuffer-complete.
6538 (minibuffer-complete): Use completion-in-region.
6539 (completion-complete-and-exit): New fun, extracted from
6540 minibuffer-complete-and-exit.
6541 (minibuffer-complete-and-exit): Use it.
6542 (completion--complete-and-exit): Rename from
6543 minibuffer--complete-and-exit.
6544 (completion-in-region--single-word): New function, extracted from
6545 minibuffer-complete-word.
6546 (minibuffer-complete-word): Use it.
6547 (display-completion-list): Make `common-substring' argument obsolete.
6548 (completion--in-region): Call completion--in-region-1 instead of
6549 minibuffer-complete.
6550 (completion-help-at-point): Pass boundaries to
6551 minibuffer-completion-help as args rather than via an overlay.
6552 (completion-pcm--string->pattern): Use `any-delim'.
6553 (completion-pcm--optimize-pattern): New function.
6554 (completion-pcm--pattern->regex): Handle `any-delim'.
6555 * icomplete.el (icomplete-forward-completions)
6556 (icomplete-backward-completions, icomplete-completions):
6557 Adjust calls to completion-all-sorted-completions and
6558 completion--cache-all-sorted-completions.
6559 (icomplete-with-completion-tables): Default to t.
6560 * emacs-lisp/crm.el (crm--current-element): Rename from
6561 crm--select-current-element. Don't put an overlay but return the
6563 (crm--completion-command): Take two new args to bind to the boundaries.
6564 (crm-completion-help): Adjust accordingly.
6565 (crm-complete): Use completion-in-region.
6566 (crm-complete-word): Use completion-in-region--single-word.
6567 (crm-complete-and-exit): Use completion-complete-and-exit.
6569 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
6571 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
6574 2013-09-06 Juri Linkov <juri@jurta.org>
6576 * info.el (Info-display-images-node): When image file doesn't exist
6577 display text version of the image if it's provided in the Info file.
6578 Otherwise, display the location of missing image from SRC attribute.
6579 Add help-echo text property from ALT attribute. (Bug#15279)
6581 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
6583 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
6584 (edit-abbrevs-mode): Use define-derived-mode.
6586 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
6587 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
6589 (epa-key-list-mode, epa-key-mode, epa-info-mode):
6590 Use define-derived-mode.
6592 * epg.el (epg-start-encrypt): Minor CSE simplification.
6594 2013-09-06 William Xu <william.xwl@gmail.com>
6596 * arc-mode.el: Add support for 7za (bug#15264).
6597 (archive-7z-program): New var.
6598 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
6599 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
6600 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
6602 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
6606 * net/tramp.el (tramp-syntax, tramp-prefix-format)
6607 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
6608 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
6609 (tramp-postfix-host-format, tramp-file-name-regexp)
6610 (tramp-completion-file-name-regexp)
6611 (tramp-completion-dissect-file-name)
6612 (tramp-handle-substitute-in-file-name): Remove 'url case.
6613 (tramp-file-name-regexp-url)
6614 (tramp-completion-file-name-regexp-url): Remove constants.
6616 2013-09-06 Glenn Morris <rgm@gnu.org>
6618 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
6620 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
6622 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
6623 keywords" below "here-doc beginnings" (Bug#15270).
6625 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
6627 * subr.el (pop): Use `car-safe'.
6628 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
6629 to detect unused `pop' return value.
6631 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
6633 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
6634 (python-fill-string): Remove unused var `marker'.
6635 (python-skeleton-add-menu-items): Remove unused var `items'.
6637 * international/mule-cmds.el: Require CL.
6638 (find-coding-systems-for-charsets): Avoid add-to-list.
6639 (sanitize-coding-system-list): New function, extracted from
6640 select-safe-coding-system-interactively.
6641 (select-safe-coding-system-interactively): Use it.
6642 (read-input-method-name): Accept symbols for `default'.
6644 * emacs-lisp/advice.el (defadvice): Add indent rule.
6646 2013-09-05 Daniel Hackney <dan@haxney.org>
6650 * net/browse-url.el:
6653 * net/eudcb-ldap.el:
6666 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
6667 byte compiler. Remove some unused let-bound variables.
6669 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
6671 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
6672 a "ref-cell", since it gets better optimized (bug#14883).
6674 2013-09-05 Glenn Morris <rgm@gnu.org>
6676 * progmodes/cc-awk.el (c-forward-sws): Declare.
6678 2013-09-04 Glenn Morris <rgm@gnu.org>
6680 * generic-x.el [rul-generic-mode]: Require cc-mode.
6681 (c++-mode-syntax-table): Declare.
6682 (rul-generic-mode-syntax-table): Init in the defvar.
6684 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
6686 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
6687 (vc-do-command, vc-set-async-update):
6688 * vc/vc-mtn.el (vc-mtn-dir-status):
6689 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
6690 (vc-hg-pull, vc-hg-merge-branch):
6691 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
6692 (vc-git-merge-branch):
6693 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
6694 (vc-cvs-dir-status-files):
6695 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
6696 (vc-bzr-dir-status-files):
6697 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
6698 * vc/vc-annotate.el: Use lexical-binding.
6699 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
6700 (vc-sentinel-movepoint): Declare.
6701 (vc-annotate): Don't use `goto-line'.
6702 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
6703 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
6704 (vc-sentinel-movepoint): Declare.
6705 * vc/vc-svn.el: Use lexical-binding.
6706 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
6708 * vc/vc-rcs.el: Use lexical-binding.
6710 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
6711 `deleted'. Don't drop errors silently.
6713 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
6715 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
6717 * vc/vc.el (vc-ignore): Rewrite.
6718 (vc-default-ignore): New function.
6719 (vc-default-ignore-completion-table): Use find-ignore-file.
6721 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
6722 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
6723 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
6724 Remove. Most code moved to vc.el.
6726 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
6728 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
6729 * net/tramp-smb.el (tramp-smb-get-file-entries):
6730 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
6731 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
6733 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
6735 (eww-change-select): Remove unused var `properties'.
6736 (eww-make-unique-file-name): Remove unused var `base'.
6738 * finder.el (finder-compile-keywords): Don't mess with windows.
6740 * calculator.el (calculator-funcall): Fix typo in last change.
6742 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
6744 * emacs-lisp/package.el (package-activate-1): Don't let a missing
6745 <pkg>-autoloads.el file stop us.
6747 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
6748 warnings, and factor out common code.
6750 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
6752 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
6753 two-character operators and whether the character preceding them
6754 changes their meaning (Bug#15208).
6756 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
6758 Format code sent to Python shell for robustness.
6759 * progmodes/python.el (python-shell-buffer-substring):
6761 (python-shell-send-region, python-shell-send-buffer): Use it.
6763 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
6765 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
6766 * net/tramp.el (tramp-user-error): ... here.
6767 (tramp-find-method, tramp-check-proper-host)
6768 (tramp-dissect-file-name, tramp-debug-message)
6769 (tramp-handle-shell-command):
6770 * net/tramp-adb.el (tramp-adb-handle-shell-command):
6771 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
6773 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
6775 2013-09-02 Martin Rudalics <rudalics@gmx.at>
6777 * avoid.el (mouse-avoidance-point-position)
6778 (mouse-avoidance-too-close-p): Handle case where posn-at-point
6781 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
6783 * progmodes/python.el (python-shell-completion-get-completions):
6784 Drop use of deleted `comint-last-prompt-overlay'.
6785 (python-nav-if-name-main): New command.
6787 2013-09-01 Glenn Morris <rgm@gnu.org>
6789 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
6790 Avoid leading space in $wins. Otherwise the sed command used by
6791 eg compile-main ends up containing "/*.el". (Bug#15170)
6793 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
6795 2013-08-30 Glenn Morris <rgm@gnu.org>
6797 * emacs-lisp/bytecomp.el (byte-recompile-directory):
6798 Fix is-this-a-directory logic. (Bug#15220)
6800 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
6802 * textmodes/css-mode.el: Use SMIE.
6803 (css-smie-grammar): New var.
6804 (css-smie--forward-token, css-smie--backward-token)
6805 (css-smie-rules): New functions.
6806 (css-mode): Use them.
6807 (css-navigation-syntax-table): Remove var.
6808 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
6809 (css-indent-calculate, css-indent-line): Remove functions.
6811 Misc changes to reduce use of `(lambda...); and other cleanups.
6812 * cus-edit.el: Use lexical-binding.
6813 (customize-push-and-save, customize-apropos)
6814 (custom-buffer-create-internal): Use closures.
6815 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
6816 * progmodes/ada-xref.el: Use setq.
6817 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
6818 * dframe.el: Use lexical-binding.
6819 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
6820 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
6821 * descr-text.el: Use lexical-binding.
6822 (describe-text-widget, describe-text-sexp, describe-property-list):
6824 * comint.el (comint-history-isearch-push-state): Use a closure.
6825 * calculator.el: Use lexical-binding.
6826 (calculator-number-to-string): Make it work with lexical-binding.
6827 (calculator-funcall): Same and use cl-letf.
6829 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
6830 (lisp--company-doc-string, lisp--company-location): New functions.
6831 (lisp-completion-at-point): Use them to improve Company support.
6833 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
6834 params of lambda expressions.
6835 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
6836 (ruby-smie--opening-pipe-p): New function.
6837 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
6838 symbols and matched |...| for formal params.
6839 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
6840 from being treated as hanging. Handle "rescue".
6842 2013-08-29 Glenn Morris <rgm@gnu.org>
6844 * progmodes/cc-engine.el (c-pull-open-brace):
6845 Move definition before use.
6847 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
6849 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
6850 are immutable. Don't use `unsafe' any more.
6851 (cl--defsubst-expand): Don't substitute at the same time as keeping
6852 a residual unused let-binding. Don't use `unsafe' any more.
6854 2013-08-29 Glenn Morris <rgm@gnu.org>
6856 * calendar/cal-china.el (calendar-chinese-year-cache):
6859 * nxml/nxml-util.el (nxml-debug-clear-inside):
6860 Use cl-loop rather than loop.
6862 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
6864 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
6866 2013-08-28 Glenn Morris <rgm@gnu.org>
6868 * progmodes/antlr-mode.el: No need to require cc-mode twice.
6870 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
6872 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
6874 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6876 * simple.el (repeat-complex-command--called-interactively-skip):
6878 (repeat-complex-command): Use it (bug#14136).
6880 * progmodes/cc-mode.el: Minor cleanup of var declarations.
6881 (c-define-abbrev-table): Add `doc' argument.
6882 (c-mode-abbrev-table, c++-mode-abbrev-table)
6883 (objc-mode-abbrev-table, java-mode-abbrev-table)
6884 (idl-mode-abbrev-table, pike-mode-abbrev-table)
6885 (awk-mode-abbrev-table): Use it.
6886 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
6887 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
6888 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
6889 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
6890 Move initialization into the declaration; and remove any
6893 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
6894 and dynamic let binding.
6896 * vc/smerge-mode.el: Remove redundant :group args.
6898 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
6901 2013-08-28 Juri Linkov <juri@jurta.org>
6903 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
6904 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
6905 (isearch-other-meta-char): Handle an undefined shifted printing
6906 character by downshifting it. (Bug#15200)
6908 2013-08-28 Juri Linkov <juri@jurta.org>
6910 * isearch.el (isearch-search): Change regexp error message for
6911 non-regexp searches. (Bug#15166)
6913 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
6915 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
6916 for portability to hosts where /bin/sh has problems.
6918 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6920 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
6922 2013-08-27 Juri Linkov <juri@jurta.org>
6924 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
6925 in the keyboard macro. (Bug#15126)
6927 2013-08-27 Juri Linkov <juri@jurta.org>
6929 * isearch.el (isearch-quote-char): Comment out converting unibyte
6930 to multibyte, thus syncing with its `quoted-insert' counterpart.
6933 2013-08-27 Martin Rudalics <rudalics@gmx.at>
6935 * window.el (display-buffer-use-some-window): Add missing
6936 argument in call of get-largest-window (Bug#15185).
6937 Reported by Stephen Leake.
6939 2013-08-27 Glenn Morris <rgm@gnu.org>
6941 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
6943 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
6945 * progmodes/python.el (python-font-lock-keywords): Don't return nil
6946 from a matcher-function unless there's no more matches (bug#15161).
6948 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
6950 * minibuffer.el: Revert change from 2013-08-20.
6952 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
6953 with text property `tramp-default', if appropriate.
6954 (tramp-check-proper-host): New defun.
6955 (tramp-dissect-file-name): Do not check hostname. Revert change
6957 (tramp-backtrace): Make VEC-OR-PROC optional.
6959 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
6960 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6961 * net/tramp-sh.el (tramp-maybe-open-connection):
6962 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
6963 Apply `tramp-check-proper-host'.
6965 2013-08-26 Tassilo Horn <tsdh@gnu.org>
6967 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
6968 lambda expression in order to have `describe-variable' display it.
6970 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
6972 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
6973 BUF can be optional. (Bug#15186)
6975 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
6977 * progmodes/flymake.el (flymake-get-real-file-name-function):
6978 Fix broken customization. (Bug#15184)
6980 2013-08-25 Alan Mackenzie <acm@muc.de>
6982 Improve indentation of bracelists defined by macros (without "=").
6984 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
6985 expansion begins with "{", regard it as bracelist when it doesn't
6988 Parse C++ inher-intro when there's a template split over 2 lines.
6990 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
6991 rigorously the search for "class" etc. followed by ":".
6993 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
6994 random languages a regexp which never matches rather than nil.
6996 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
6998 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
6999 (c-awk-regexp-one-line-possibly-open-char-list-re)
7000 (c-awk-one-line-possibly-open-regexp-re)
7001 (c-awk-one-line-non-syn-ws*-re): Remove.
7002 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
7003 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
7004 (c-awk-space*-unclosed-regexp-/-re): New constants.
7005 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
7006 aren't regexp delimiters.
7008 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
7009 handling for a rare situation in AWK Mode involving unterminated
7012 2013-08-23 Glenn Morris <rgm@gnu.org>
7014 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
7016 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
7018 * files.el (create-file-buffer): If the result would begin with
7019 spaces, prepend a "|" instead of removing them. (Bug#15162)
7021 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
7023 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
7024 text-properties (bug#15155).
7026 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
7028 (calc-keypad-redraw): Remove unused var `pad'.
7029 (calc-keypad-press): Remove unused var `menu'.
7031 2013-08-23 Martin Rudalics <rudalics@gmx.at>
7033 * window.el (display-buffer-pop-up-frame):
7034 Call pop-up-frame-function with BUFFER current so `make-frame' will
7035 use it as the new frame's buffer (Bug#15133).
7037 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
7039 * calendar/timeclock.el: Minor cleanups.
7040 (timeclock-ask-before-exiting, timeclock-use-display-time):
7042 (timeclock-modeline-display): Define as alias before the
7044 (timeclock-mode-line-display): Use define-minor-mode.
7045 (timeclock-day-list-template): Make it a function, add an argument.
7046 (timeclock-day-list-required, timeclock-day-list-length)
7047 (timeclock-day-list-debt, timeclock-day-list-span)
7048 (timeclock-day-list-break): Adjust calls accordingly.
7050 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
7052 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
7053 Use read--expression so that completion works again.
7055 2013-08-21 Sam Steingold <sds@gnu.org>
7057 Add rudimentary inferior shell interaction
7058 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
7059 (sh-set-shell): Reset it.
7060 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
7061 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
7063 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
7065 * align.el: Use lexical-binding.
7066 (align-region): Simplify accordingly.
7068 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
7070 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
7072 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
7075 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
7079 * net/tramp-cmds.el:
7081 * net/tramp-gvfs.el:
7083 * net/tramp-sh.el: Don't wrap external variable declarations by
7084 `eval-when-compile'.
7086 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
7088 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
7089 now that Emacs supports ImageMagick animations.
7091 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
7093 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
7094 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
7096 2013-08-16 Martin Rudalics <rudalics@gmx.at>
7098 * window.el (mouse-autoselect-window-select): Do autoselect when
7099 mouse pointer is on margin.
7101 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
7103 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
7105 2013-08-16 Glenn Morris <rgm@gnu.org>
7107 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
7108 Handle "Remote Directory" response of some clients. (Bug#15058)
7110 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
7111 Tweak warning. (Bug#14926)
7113 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
7114 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
7116 * image-mode.el (image-mode-map): Add menu items to reverse,
7117 increase, decrease, reset animation speed.
7118 (image--set-speed, image-increase-speed, image-decrease-speed)
7119 (image-reverse-speed, image-reset-speed): New functions.
7120 (image-mode-map): Add bindings for speed commands.
7122 * image.el (image-animate-get-speed, image-animate-set-speed):
7124 (image-animate-timeout): Respect image :speed property.
7126 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
7128 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
7129 previous line (bug#15101).
7130 (debugger-eval-expression, debugger-record-expression):
7131 Use read--expression (bug#15102).
7133 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
7135 Remove byte compiler warnings, visible when compiling with
7136 `byte-compile-force-lexical-warnings' set to t.
7138 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
7139 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
7140 (tramp-handle-unhandled-file-name-directory)
7141 (tramp-handle-file-notify-add-watch, tramp-action-login)
7142 (tramp-action-succeed, tramp-action-permission-denied)
7143 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
7146 * net/tramp-adb.el (tramp-adb-parse-device-names)
7147 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
7148 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
7149 (tramp-adb-handle-file-truename): Remove unused arguments.
7151 * net/tramp-cache.el (tramp-flush-directory-property)
7152 (tramp-flush-connection-property, tramp-list-connections)
7153 (tramp-parse-connection-properties): Prefix unused arguments with "_".
7155 * net/tramp-compat.el (tramp-compat-make-temp-file):
7156 Rename FILENAME to F.
7158 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
7159 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
7160 (tramp-zeroconf-parse-workstation-device-names)
7161 (tramp-zeroconf-parse-webdav-device-names)
7162 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
7164 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
7165 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
7167 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
7169 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
7170 (tramp-sh-handle-insert-file-contents-literally)
7171 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
7173 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
7174 Remove unused variables.
7176 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
7177 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
7178 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
7180 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
7181 Make them a defconst.
7182 (tramp-uuencode-region): Remove unused variable.
7184 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
7186 * frameset.el (frameset--prop-setter): New function.
7187 (frameset-prop): Add gv-setter declaration.
7188 (frameset-filter-minibuffer): Deal with the case that the minibuffer
7189 parameter was already set in FILTERED. Doc fix.
7190 (frameset--record-minibuffer-relationships): Allow saving a
7191 minibufferless frame without its corresponding minibuffer frame.
7192 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
7193 frame, if the frame id matches.
7194 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
7195 frames before orphaned ones.
7196 (frameset-restore): Warn about orphaned windows, instead of error out.
7198 2013-08-14 Martin Rudalics <rudalics@gmx.at>
7200 * window.el (window-make-atom): Don't overwrite parameter
7202 (display-buffer-in-atom-window): Handle special case where we
7203 split an already atomic window.
7204 (window--major-non-side-window, display-buffer-in-side-window)
7205 (window--side-check): Ignore minibuffer window when walking
7207 (window-deletable-p): Return 'frame only if no other frame uses
7208 our minibuffer window.
7209 (record-window-buffer): Run buffer-list-update-hook.
7210 (split-window): Make sure window--check-frame won't destroy an
7211 existing atomic window in case the new window gets nested
7213 (display-buffer-at-bottom): Ignore minibuffer window when
7214 walking window tree. Don't split a side window.
7215 (pop-to-buffer): Don't set-buffer here, the select-window call
7217 (mouse-autoselect-window-select): Autoselect only if we are in the
7218 text portion of the window.
7220 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7222 * net/shr.el (shr-parse-image-data): New function to grab both the
7223 data itself and the Content-Type.
7224 (shr-put-image): Use it.
7226 * net/eww.el (eww-display-image): Ditto.
7228 * image.el (image-content-type-suffixes): New variable.
7230 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
7232 * progmodes/python.el (python-imenu--build-tree)
7233 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
7235 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
7237 * simple.el (backward-word): Mention the optional argument.
7239 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
7241 * frameset.el (frameset--make): Rename constructor from make-frameset.
7242 (frameset-p, frameset-valid-p): Don't autoload.
7243 (frameset-valid-p): Use normal accessors.
7245 2013-08-13 Glenn Morris <rgm@gnu.org>
7247 * progmodes/compile.el (compile-command): Tweak example in doc.
7248 * obsolete/scribe.el (scribe-mode):
7249 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
7251 * mail/feedmail.el (feedmail-confirm-outgoing)
7252 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
7254 * cus-start.el (truncate-partial-width-windows): Fix type.
7256 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
7258 * net/shr.el (shr-table-horizontal-line): Fix custom type.
7260 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
7262 * emacs-lisp/timer.el (timer--time-setter): New function.
7263 (timer--time): Use it as gv-setter.
7265 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
7266 setter is not a symbol.
7268 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
7270 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
7271 if sending fails. This makes debugging easier.
7273 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
7275 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
7276 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
7277 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
7279 2013-08-12 Eli Zaretskii <eliz@gnu.org>
7281 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
7283 2013-08-12 Glenn Morris <rgm@gnu.org>
7285 * format.el (format-annotate-function):
7286 Handle read-only text properties in the source. (Bug#14887)
7288 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7290 * net/eww.el (eww-display-html): Ignore coding system errors.
7291 One web site uses "utf-8lias" as the coding system.
7293 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
7295 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
7297 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
7299 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
7300 (tutorial--detailed-help): Remove unused local variables.
7301 (tutorial--save-tutorial-to): Use ignore-errors.
7302 (help-with-tutorial): Use looking-at-p.
7304 * view.el (view-buffer-other-window, view-buffer-other-frame):
7305 Mark unused arguments.
7307 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
7308 (woman-select-symbol-fonts, woman, woman-find-file)
7309 (woman-insert-file-contents, woman-non-underline-faces):
7311 (woman1-unquote): Move declaration.
7313 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
7314 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
7315 argument. Remove unused local variable.
7316 (xml-parse-elem-type): Use string-match-p.
7317 (xml-substitute-numeric-entities): Use ignore-errors.
7319 * calculator.el (calculator): Mark unused argument.
7320 (calculator-paste, calculator-quit, calculator-integer-p):
7322 (calculator-string-to-number, calculator-decimal, calculator-exp)
7323 (calculator-op-or-exp): Use string-match-p.
7325 * dired.el (dired-buffer-more-recently-used-p): Declare.
7326 (dired-insert-set-properties, dired-insert-old-subdirs):
7329 * dired-aux.el (dired-compress): Use ignore-errors.
7330 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
7331 (dired-do-async-shell-command, dired-do-shell-command)
7332 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
7333 (dired-insert-subdir-validate): Use string-match-p.
7334 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
7335 (dired-add-entry): Use string-match-p, looking-at-p.
7336 (dired-insert-subdir-newpos): Remove unused local variable.
7338 * filenotify.el (file-notify-callback): Remove unused local variable.
7340 * filesets.el (filesets-error): Mark unused argument.
7341 (filesets-which-command-p, filesets-filter-dir-names)
7342 (filesets-directory-files, filesets-get-external-viewer)
7343 (filesets-ingroup-get-data): Use string-match-p.
7345 * find-file.el (ff-other-file-name, ff-other-file-name)
7346 (ff-find-the-other-file, ff-cc-hh-converter):
7347 Remove unused local variables.
7348 (ff-get-file-name): Use string-match-p.
7349 (ff-all-dirs-under): Use ignore-errors.
7351 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
7352 (follow-select-if-visible): Remove unused local variable.
7354 * forms.el (read-file-filter): Move declaration.
7355 (forms--make-format, forms--make-parser, forms-insert-record):
7356 Quote function with #'.
7357 (forms--update): Use string-match-p. Quote function with #'.
7359 * help-mode.el (help-dir-local-var-def): Mark unused argument.
7360 (help-make-xrefs): Use looking-at-p.
7361 (help-xref-on-pp): Use looking-at-p, ignore-errors.
7363 * ibuffer.el (ibuffer-ext-visible-p): Declare.
7364 (ibuffer-confirm-operation-on): Use string-match-p.
7366 * msb.el (msb-item-handler, msb-dired-item-handler):
7367 Mark unused arguments.
7369 * ses.el (ses-decode-cell-symbol)
7370 (ses-kill-override): Remove unused local variable.
7371 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
7372 (ses-load): Use ignore-errors, looking-at-p.
7373 (ses-jump-safe): Use ignore-errors.
7374 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
7376 * tabify.el (untabify, tabify): Mark unused arguments.
7378 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
7379 Mark unused argument.
7380 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
7381 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
7383 * emacs-lisp/timer.el (timer--time): Define setter with
7384 gv-define-setter to avoid deprecation warning.
7386 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
7387 (*record-cmpl-statistics-p*): Remove (was commented out).
7388 (cmpl-statistics-block): Remove (body was commented out).
7389 All callers changed.
7390 (add-completions-from-buffer, load-completions-from-file):
7391 Remove unused variables.
7393 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
7395 * filecache.el (file-cache-delete-file-list):
7396 Print message only when told so.
7397 (file-cache-files-matching): Use #' in mapconcat argument.
7399 * ffap.el (ffap-url-at-point): Fix reference to variable
7400 thing-at-point-default-mail-uri-scheme.
7402 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
7404 * subr.el (define-error): New function.
7405 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
7406 error-file-not-found and define with define-error.
7407 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
7408 and define with define-error.
7409 * userlock.el (file-locked, file-supersession):
7410 * simple.el (mark-inactive):
7411 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
7412 * progmodes/ada-mode.el (ada-mode-errors):
7413 * play/life.el (life-extinct):
7414 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
7415 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
7416 * nxml/rng-util.el (rng-error):
7417 * nxml/rng-uri.el (rng-uri-error):
7418 * nxml/rng-match.el (rng-compile-error):
7419 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
7420 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
7421 * nxml/nxml-rap.el (nxml-scan-error):
7422 * nxml/nxml-outln.el (nxml-outline-error):
7423 * net/soap-client.el (soap-error):
7424 * net/gnutls.el (gnutls-error):
7425 * net/ange-ftp.el (ftp-error):
7426 * mpc.el (mpc-proc-error):
7427 * json.el (json-error, json-readtable-error, json-unknown-keyword)
7428 (json-number-format, json-string-escape, json-string-format)
7429 (json-key-format, json-object-format):
7430 * jka-compr.el (compression-error):
7431 * international/quail.el (quail-error):
7432 * international/kkc.el (kkc-error):
7433 * emacs-lisp/ert.el (ert-test-failed):
7434 * calc/calc.el (calc-error, inexact-result, math-overflow)
7436 * bookmark.el (bookmark-error-no-filename):
7437 * epg.el (epg-error): Define with define-error.
7439 * time.el (display-time-event-handler)
7440 (display-time-next-load-average): Don't call sit-for since it seems
7441 unnecessary (bug#15045).
7443 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
7444 Use #' instead of ' to quote functions.
7445 (checkdoc-output-mode): Use setq-local.
7446 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
7447 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
7448 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
7449 (checkdoc-ispell, checkdoc-ispell-current-buffer)
7450 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
7451 (checkdoc-ispell-message-text, checkdoc-ispell-start)
7452 (checkdoc-ispell-continue, checkdoc-ispell-comments)
7453 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
7455 * ido.el (ido-completion-help): Fix up compiler warning.
7457 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
7459 * frameset.el (frameset-p): Add autoload cookie.
7460 (frameset--jump-to-register): New function, based on code moved from
7462 (frameset-to-register): Move from register.el. Adapt to `registerv'.
7464 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
7465 (frameset-restore, frameset-save, frameset-session-filter-alist):
7466 Remove declarations.
7467 (register-alist): Doc fix.
7468 (frameset-to-register): Move to frameset.el.
7469 (jump-to-register, describe-register-1): Remove frameset-specific code.
7471 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
7473 * allout-widgets.el (allout-widgets-pre-command-business)
7474 (allout-widgets-post-command-business)
7475 (allout-widgets-after-change-handler)
7476 (allout-decorate-item-and-context, allout-set-boundary-marker)
7477 (allout-body-modification-handler)
7478 (allout-graphics-modification-handler): Mark ignored arguments.
7479 (allout-widgets-post-command-business)
7480 (allout-widgets-exposure-change-processor)
7481 (allout-widgets-exposure-undo-processor)
7482 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
7483 (allout-parse-item-at-point, allout-decorate-item-guides)
7484 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
7485 * allout.el (epa-passphrase-callback-function): Declare.
7486 (allout-overlay-insert-in-front-handler)
7487 (allout-overlay-interior-modification-handler)
7488 (allout-isearch-end-handler, allout-chart-siblings)
7489 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
7490 (allout-yank-processing, allout-process-exposed)
7491 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
7492 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
7493 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
7494 (lisp-indent-defform): Mark ignored arguments.
7495 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
7496 (calculate-lisp-indent): Remove unused variables.
7497 * international/characters.el (indian-2-column, arabic-2-column)
7498 (tibetan): Mark ignored arguments.
7499 (use-cjk-char-width-table): Mark ignored arguments.
7500 Remove unused variables.
7501 * international/fontset.el (build-default-fontset-data)
7502 (x-compose-font-name, create-fontset-from-fontset-spec):
7503 Mark ignored arguments.
7504 (fontset-plain-name): Remove unused variables.
7505 * international/mule.el (charset-id, charset-bytes, generic-char-p)
7506 (keyboard-coding-system): Mark ignored arguments.
7507 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
7508 * help.el (resize-temp-buffer-window):
7509 * window.el (display-buffer-in-major-side-window)
7510 (display-buffer-in-side-window, display-buffer-in-previous-window):
7511 Remove unused variables.
7512 * isearch.el (isearch-forward-symbol):
7513 * version.el (emacs-bzr-version-bzr):
7514 * international/mule-cmds.el (current-language-environment):
7515 * term/common-win.el (x-handle-iconic, x-handle-geometry)
7517 * term/pc-win.el (x-list-fonts, x-display-planes)
7518 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
7519 (x-server-version, x-display-screens, x-display-mm-height)
7520 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
7521 (x-selection-owner-p, x-own-selection-internal)
7522 (x-disown-selection-internal, x-get-selection-internal)
7523 (msdos-initialize-window-system):
7524 * term/tty-colors.el (tty-color-alist, tty-color-clear):
7525 * term/x-win.el (x-handle-no-bitmap-icon):
7526 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
7527 (vc-default-find-file-hook, vc-default-extra-menu):
7528 Mark ignored arguments.
7530 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
7532 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
7533 break-condition in the context of the debugged code (bug#12685).
7535 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
7538 Do not use an overlay to highlight the last prompt. (Bug#14744)
7539 (comint-mode): Make comint-last-prompt buffer local.
7540 (comint-last-prompt): New variable.
7541 (comint-last-prompt-overlay): Remove. Superseded by
7543 (comint-snapshot-last-prompt, comint-output-filter):
7544 Use comint-last-prompt.
7546 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
7548 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
7549 (frameset-save): Check validity of the resulting frameset.
7551 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
7553 * ido.el (ido-record-command): Add doc string.
7555 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
7557 * frameset.el (frameset): Do not disable creation of the default
7558 frameset-p predicate. Doc fix.
7559 (frameset-valid-p): New function, copied from the old predicate-p.
7560 Add additional checks.
7561 (frameset-restore): Check with frameset-valid-p.
7562 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
7563 (frameset-name, frameset-description, frameset-properties)
7564 (frameset-states): Add docstring.
7565 (frameset-session-filter-alist, frameset-persistent-filter-alist)
7566 (frameset-filter-alist): Doc fixes.
7568 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
7570 * frameset.el (frameset-p, frameset-prop): Doc fixes.
7572 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
7574 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
7575 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
7576 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
7577 (byte-compile-normal-call): Remove obsolescence check.
7579 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
7581 * frameset.el (frameset-restore): Doc fix.
7583 * register.el (frameset-frame-id, frameset-frame-with-id)
7584 (frameset-p, frameset-restore, frameset-save): Declare.
7585 (register-alist): Document framesets.
7586 (frameset-session-filter-alist): Declare.
7587 (frameset-to-register): New function.
7588 (jump-to-register): Implement jumping to framesets. Doc fix.
7589 (describe-register-1): Describe framesets.
7591 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
7593 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
7595 * desktop.el (desktop-save-frameset): Use new frameset-save args.
7596 Use lexical-binding.
7598 * frameset.el (frameset): Use type vector, not list (incompatible
7599 change). Do not declare a new constructor, use the default one.
7600 Upgrade suggested properties `app', `name' and `desc' to slots `app',
7601 `name' and `description', respectively, and add read-only slot
7602 `timestamp'. Doc fixes.
7603 (frameset-copy, frameset-persistent-filter-alist)
7604 (frameset-filter-alist, frameset-switch-to-gui-p)
7605 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
7606 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
7607 (frameset-filter-iconified, frameset-keep-original-display-p):
7609 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
7610 Rename from frameset-filter-(save|restore)-param. All callers changed.
7612 (frameset-p): Adapt to change to vector and be more thorough.
7613 Change arg name to OBJECT. Doc fix.
7614 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
7615 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
7616 All callers changed.
7617 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
7618 All callers changed.
7619 (frameset--record-minibuffer-relationships): Rename from
7620 frameset--process-minibuffer-frames. All callers changed.
7621 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
7622 Use new default constructor (again). Doc fix.
7623 (frameset--find-frame-if): Rename from `frameset--find-frame'.
7624 All callers changed.
7625 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
7626 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
7628 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
7629 PARAMETERS and WINDOW-STATE, respectively.
7630 (frameset-restore): Add new keyword argument PREDICATE.
7631 Reset frameset--target-display to nil. Doc fix.
7633 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
7635 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
7637 (bat-mode-syntax-table): Mark \n as end-of-comment.
7638 (bat-font-lock-keywords): Remove comment rule.
7640 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
7641 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
7643 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
7644 (byte-compile-callargs-warn): Use `push'.
7645 (byte-compile-arglist-warn): Ignore higher-order "calls".
7646 (byte-compile-file-form-autoload): Use `pcase'.
7647 (byte-compile-function-form): If quoting a symbol, check that it exists.
7649 2013-08-07 Eli Zaretskii <eliz@gnu.org>
7651 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
7652 and add a few popular commands found in batch files.
7653 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
7654 (dos-mode): Doc fixes.
7656 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
7658 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
7659 (dos-mode): Use setq-local. Add space after "rem".
7660 (dos-mode-syntax-table): Don't use "w" for symbol chars.
7661 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
7663 2013-08-07 Arni Magnusson <arnima@hafro.is>
7665 * progmodes/dos.el: New file.
7666 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
7669 2013-08-06 Glenn Morris <rgm@gnu.org>
7671 * calendar/calendar.el: Add new faces, and day-header-array.
7672 (calendar-weekday-header, calendar-weekend-header)
7673 (calendar-month-header): New faces.
7674 (calendar-day-header-construct): New function.
7675 (calendar-day-header-width): Also :set calendar-day-header-array.
7676 (calendar-american-month-header, calendar-european-month-header)
7677 (calendar-iso-month-header): Use calendar- faces.
7678 (calendar-generate-month):
7679 Use calendar-day-header-array for day headers; apply faces to them.
7680 (calendar-mode): Check calendar-font-lock-keywords non-nil.
7681 (calendar-abbrev-construct): Add optional maxlen argument.
7682 (calendar-day-name-array): Doc fix.
7683 (calendar-day-name-array, calendar-abbrev-length)
7684 (calendar-day-abbrev-array):
7685 Also :set calendar-day-header-array, and maybe redraw.
7686 (calendar-day-header-array): New option. (Bug#15007)
7687 (calendar-font-lock-keywords): Set to nil and make obsolete.
7688 (calendar-day-name): Add option to use header array.
7690 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
7692 * net/shr.el (shr-render-td): Remove debugging.
7693 (shr-render-td): Make width computation consistent by defaulting
7694 all zero-width columns to 10 characters. This may not be optimal,
7695 but it's at least consistent.
7696 (shr-make-table-1): Redo last change to fix the real problem in
7699 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
7701 * files.el (cache-long-line-scans):
7702 Make obsolete alias to `cache-long-scans'.
7704 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
7706 * frameset.el (frameset, frameset-filter-alist)
7707 (frameset-filter-params, frameset-save, frameset--reuse-frame)
7708 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
7709 (frameset-compute-pos): Rename from frameset--compute-pos,
7711 (frameset-move-onscreen): Use frameset-compute-pos.
7712 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
7714 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
7715 Fix typos in docstrings.
7717 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
7719 * frame.el (get-other-frame): Tiny cleanup.
7721 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
7723 * vc/vc.el (vc-default-ignore-completion-table):
7724 Silence byte-compiler warning.
7726 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
7727 slot, which can indeed be nil.
7728 (frameset-live-filter-alist, frameset-persistent-filter-alist):
7729 Move entry for `left' from persistent to live filter alist.
7730 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
7732 (frameset-filter-params): When restoring a frame, copy items added to
7733 `filtered', to avoid unwittingly modifying the original parameters.
7734 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
7735 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
7737 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
7738 to use looking-at-p instead of looking-at. (Bug#15028)
7740 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
7742 Revert introduction of isearch-filter-predicates (bug#14714).
7743 Rely on add-function instead.
7744 * isearch.el (isearch-filter-predicates): Rename it back to
7745 isearch-filter-predicate.
7746 (isearch-message-prefix): Use advice-function-mapc and advice
7747 properties to get the isearch-message-prefix.
7748 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
7749 instead of run-hook-with-args-until-failure.
7750 (isearch-filter-visible): Not obsolete any more.
7751 * loadup.el: Preload nadvice.
7752 * replace.el (perform-replace): Revert to funcall
7753 instead of run-hook-with-args-until-failure.
7754 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
7755 * dired-aux.el (dired-isearch-filenames-mode): Rename from
7756 dired-isearch-filenames-toggle; make it into a proper minor mode.
7757 Use add/remove-function.
7758 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
7759 Call the minor-mode rather than add/remove-hook.
7760 (dired-isearch-filter-filenames):
7761 Remove isearch-message-prefix property.
7762 * info.el (Info--search-loop): New function, extracted from Info-search.
7763 Funcall isearch-filter-predicate instead of
7764 run-hook-with-args-until-failure isearch-filter-predicates.
7765 (Info-search): Use it.
7766 (Info-mode): Use isearch-filter-predicate instead of
7767 isearch-filter-predicates.
7769 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
7771 Do not call to `selected-window' where it is assumed by default.
7772 Affected functions are `window-minibuffer-p', `window-dedicated-p',
7773 `window-hscroll', `window-width', `window-height', `window-buffer',
7774 `window-frame', `window-start', `window-point', `next-window'
7775 and `window-display-table'.
7776 * abbrev.el (abbrev--default-expand):
7777 * bs.el (bs--show-with-configuration):
7778 * buff-menu.el (Buffer-menu-mouse-select):
7779 * calc/calc.el (calc):
7780 * calendar/calendar.el (calendar-generate-window):
7781 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
7783 * comint.el (send-invisible, comint-dynamic-complete-filename)
7784 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
7785 * completion.el (complete):
7786 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
7787 * disp-table.el (describe-current-display-table):
7788 * doc-view.el (doc-view-insert-image):
7789 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
7790 * ehelp.el (with-electric-help):
7791 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
7792 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
7793 * emacs-lisp/helper.el (Helper-help-scroller):
7794 * emulation/cua-base.el (cua--post-command-handler-1):
7795 * eshell/esh-mode.el (eshell-output-filter):
7796 * ffap.el (ffap-gnus-wrapper):
7797 * help-macro.el (make-help-screen):
7798 * hilit-chg.el (highlight-compare-buffers):
7799 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
7800 * hl-line.el (global-hl-line-highlight):
7801 * icomplete.el (icomplete-simple-completing-p):
7802 * isearch.el (isearch-done):
7803 * jit-lock.el (jit-lock-stealth-fontify):
7804 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
7805 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
7806 * mpc.el (mpc-tagbrowser, mpc):
7807 * net/rcirc.el (rcirc-any-buffer):
7808 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
7809 * play/landmark.el (landmark-max-width, landmark-max-height):
7810 * play/zone.el (zone):
7811 * progmodes/compile.el (compilation-goto-locus):
7812 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
7813 * progmodes/etags.el (find-tag-other-window):
7814 * progmodes/fortran.el (fortran-column-ruler):
7815 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
7816 * progmodes/verilog-mode.el (verilog-point-text):
7817 * reposition.el (reposition-window):
7818 * rot13.el (toggle-rot13-mode):
7819 * server.el (server-switch-buffer):
7820 * shell.el (shell-dynamic-complete-command)
7821 (shell-dynamic-complete-environment-variable):
7822 * simple.el (insert-buffer, set-selective-display)
7823 (delete-completion-window):
7824 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
7825 (speedbar-recenter):
7826 * startup.el (fancy-splash-head):
7827 * textmodes/ispell.el (ispell-command-loop):
7828 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
7829 * tutorial.el (help-with-tutorial):
7830 * vc/add-log.el (add-change-log-entry):
7831 * vc/compare-w.el (compare-windows):
7832 * vc/ediff-help.el (ediff-indent-help-message):
7833 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
7834 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
7835 (ediff-setup-control-frame):
7836 * vc/emerge.el (emerge-position-region):
7837 * vc/pcvs-util.el (cvs-bury-buffer):
7838 * window.el (walk-windows, mouse-autoselect-window-select):
7839 * winner.el (winner-set-conf, winner-undo): Related users changed.
7841 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
7843 * frameset.el (frameset--set-id): Doc fix.
7844 (frameset-frame-id, frameset-frame-id-equal-p)
7845 (frameset-locate-frame-id): New functions.
7846 (frameset--process-minibuffer-frames, frameset--reuse-frame)
7847 (frameset-restore): Use them.
7849 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
7851 Do not call to `selected-frame' where it is assumed by default.
7852 Affected functions are `raise-frame', `redraw-frame',
7853 `frame-first-window', `frame-terminal' and `delete-frame'.
7854 * calendar/appt.el (appt-disp-window):
7855 * epg.el (epg-wait-for-completion):
7856 * follow.el (follow-delete-other-windows-and-split)
7857 (follow-avoid-tail-recenter):
7858 * international/mule.el (set-terminal-coding-system):
7859 * mail/rmail.el (rmail-mail-return):
7860 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
7861 * progmodes/f90.el (f90-add-imenu-menu):
7862 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
7863 * server.el (server-switch-buffer):
7864 * simple.el (delete-completion-window):
7866 * term/xterm.el (terminal-init-xterm-modify-other-keys)
7867 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
7868 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
7869 * vc/ediff.el (ediff-documentation): Related users changed.
7870 * frame.el (selected-terminal): Remove the leftover.
7872 2013-08-05 Glenn Morris <rgm@gnu.org>
7874 * calendar/calendar.el (calendar-generate-month):
7875 Fix for calendar-column-width != 1 + calendar-day-digit-width.
7876 (calendar-generate-month, calendar-font-lock-keywords):
7877 Fix for calendar-day-header-width > length of any day name.
7879 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
7881 * desktop.el (desktop-clear): Use new name of sort predicate.
7883 * frameset.el (frameset): Add docstring. Move :version property to its
7885 (frameset-copy): Rename from copy-frameset.
7886 (frameset-p): Check more thoroughly.
7887 (frameset-prop): Do not check for :version, which is no longer a prop.
7888 (frameset-live-filter-alist, frameset-persistent-filter-alist):
7889 Use new :never value instead of t.
7890 (frameset-filter-alist): Expand and clarify docstring.
7891 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
7892 (frameset-filter-minibuffer, frameset-filter-save-param)
7893 (frameset-filter-restore-param, frameset-filter-iconified):
7894 Add pointer to docstring of frameset-filter-alist.
7895 (frameset-filter-params): Rename filter values to be more meaningful:
7896 :never instead of t, and reverse the meanings of :save and :restore.
7897 (frameset--process-minibuffer-frames): Clarify error message.
7898 (frameset-save): Avoid unnecessary and confusing call to framep.
7899 Use new BOA constructor for framesets.
7900 (frameset--reuse-list): Doc fix.
7901 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
7902 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
7903 (frameset-minibufferless-first-p): Doc fix.
7904 Rename from frameset-sort-frames-for-deletion.
7905 (frameset-restore): Doc fixes. Use new function names.
7906 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
7908 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
7910 * desktop.el (desktop-restore-forces-onscreen)
7911 (desktop-restore-reuses-frames): Document :keyword constant values.
7912 (desktop-filter-parameters-alist): Remove, now identical to
7913 frameset-filter-alist.
7914 (desktop--filter-tty*): Remove, moved to frameset.el.
7915 (desktop-save-frameset, desktop-restore-frameset):
7916 Do not pass :filters argument.
7918 * frameset.el (frameset-live-filter-alist)
7919 (frameset-persistent-filter-alist): New variables.
7920 (frameset-filter-alist): Use them. Add autoload cookie.
7921 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
7922 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
7923 `frameset--id' (it's supposed to be internal to frameset.el).
7924 (frameset--process-minibuffer-frames): Ditto. Doc fix.
7925 (frameset--initial-params): New function.
7926 (frameset--get-frame): Use it. Doc fix.
7927 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
7928 Accept :all, not 'all.
7929 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
7930 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
7931 with fbound symbols. Fix frame id matching, and remove matching ids if
7932 the frame being restored is deleted. Obey :delete.
7934 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
7936 * subr.el (macrop): New function.
7937 (text-clone--maintaining): New var.
7938 (text-clone--maintain): Rename from text-clone-maintain. Use it
7939 instead of inhibit-modification-hooks.
7941 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
7942 a proxy, so as handle autoloads and redefinitions of the target.
7943 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
7945 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
7946 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
7947 (pcase--mutually-exclusive-p): New function.
7948 (pcase--split-consp): Use it.
7949 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
7950 mutually exclusive with the current predicate.
7952 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
7953 (edebug-macrop): Remove. Use `macrop' instead.
7954 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
7956 * eshell/esh-cmd.el (eshell-macrop):
7957 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
7959 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
7961 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
7962 (advice-mapc): New function, using it.
7963 (advice-function-member-p): New function.
7964 (advice--normalize): Store the cdr in advice--saved-rewrite since
7965 that's the part that will be changed.
7966 (advice--symbol-function): New function.
7967 (advice-remove): Handle removal before the function is defined.
7968 Adjust to new advice--saved-rewrite.
7969 (advice-member-p): Use advice-function-member-p and
7970 advice--symbol-function.
7972 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
7974 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
7975 (frameset-filter-minibuffer): Doc fix.
7976 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
7977 (frameset--set-id, frameset--process-minibuffer-frames)
7978 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
7979 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
7981 * desktop.el (desktop-clear): Only delete frames when called
7982 interactively and desktop-restore-frames is non-nil. Doc fix.
7983 (desktop-read): Set desktop-saved-frameset to nil.
7985 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
7987 * vc/vc.el (vc-ignore): Rewrite.
7988 (vc-default-ignore-completion-table, vc--read-lines)
7989 (vc--add-line, vc--remove-regexp): New functions.
7991 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
7992 (vc-svn-ignore-completion-table): New function.
7994 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
7995 (vc-hg-ignore-completion-table)
7996 (vc-hg-find-ignore-file): New functions.
7998 * vc/vc-git.el (vc-git-ignore): Rewrite.
7999 (vc-git-ignore-completion-table)
8000 (vc-git-find-ignore-file): New functions.
8002 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
8004 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
8005 (vc-bzr-ignore-completion-table)
8006 (vc-bzr-find-ignore-file): New functions.
8008 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
8010 * frameset.el (frameset-prop): New function and setter.
8011 (frameset-save): Do not modify frame list passed by the caller.
8013 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
8015 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
8017 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
8019 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
8020 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
8022 * custom.el (custom-initialize-default, custom-initialize-set)
8023 (custom-initialize-reset, custom-initialize-changed): Affect the
8024 toplevel-default-value (bug#6275, bug#14586).
8025 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
8028 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
8030 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
8031 Add cl-def* expressions.
8033 * frameset.el (frameset-filter-params): Fix order of arguments.
8035 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
8037 Move code related to saving frames to frameset.el.
8038 * desktop.el: Require frameset.
8039 (desktop-restore-frames): Doc fix.
8040 (desktop-restore-reuses-frames): Rename from
8041 desktop-restoring-reuses-frames.
8042 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
8043 (desktop-clear): Clear frames too.
8044 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
8045 (desktop--filter-tty*, desktop-save, desktop-read):
8046 Use frameset functions.
8047 (desktop-before-saving-frames-functions, desktop--filter-*-color)
8048 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
8049 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
8050 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
8051 (desktop--process-minibuffer-frames, desktop-save-frames)
8052 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
8053 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
8054 (desktop--sort-states, desktop-restoring-frames-p)
8055 (desktop-restore-frames): Remove. Most code moved to frameset.el.
8056 (desktop-restoring-frameset-p, desktop-restore-frameset)
8057 (desktop--check-dont-save, desktop-save-frameset): New functions.
8058 (desktop--app-id): New constant.
8059 (desktop-first-buffer, desktop-buffer-ok-count)
8060 (desktop-buffer-fail-count): Move before first use.
8061 * frameset.el: New file.
8063 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
8065 * files.el: Use lexical-binding.
8066 (dir-locals-read-from-file): Remove unused `err' variable.
8067 (hack-dir-local-variables--warned-coding): New var.
8068 (hack-dir-local-variables): Use it to avoid repeated warnings.
8069 (make-backup-file-name--default-function): New function.
8070 (make-backup-file-name-function): Use it as default.
8071 (buffer-stale--default-function): New function.
8072 (buffer-stale-function): Use it as default.
8073 (revert-buffer-insert-file-contents--default-function): New function.
8074 (revert-buffer-insert-file-contents-function): Use it as default.
8075 (insert-directory): Avoid add-to-list.
8077 * autorevert.el (auto-revert-handler): Simplify.
8078 Use buffer-stale--default-function.
8080 2013-08-01 Tassilo Horn <tsdh@gnu.org>
8082 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
8084 * whitespace.el (whitespace-ensure-local-variables): New function.
8085 (whitespace-cleanup-region): Call it.
8086 (whitespace-turn-on): Call it.
8088 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
8090 Complete file name handlers.
8092 * net/tramp.el (tramp-handle-set-visited-file-modtime)
8093 (tramp-handle-verify-visited-file-modtime)
8094 (tramp-handle-file-notify-rm-watch): New functions.
8095 (tramp-call-process): Do not bind `default-directory'.
8097 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
8098 Order alphabetically.
8099 <access-file, add-name-to-file, dired-call-process>:
8100 <dired-compress-file, file-acl, file-notify-rm-watch>:
8101 <file-ownership-preserved-p, file-selinux-context>:
8102 <make-directory-internal, make-symbolic-link, set-file-acl>:
8103 <set-file-selinux-context, set-visited-file-modtime>:
8104 <verify-visited-file-modtime>: Add handler.
8105 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
8107 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
8108 <file-notify-add-watch, file-notify-rm-watch>:
8109 <set-file-times, set-visited-file-modtime>:
8110 <verify-visited-file-modtime>: Add handler.
8111 (with-tramp-gvfs-error-message)
8112 (tramp-gvfs-handle-set-visited-file-modtime)
8113 (tramp-gvfs-fuse-file-name): Remove.
8114 (tramp-gvfs-handle-file-notify-add-watch)
8115 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
8116 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
8118 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
8119 Order alphabetically.
8120 <file-notify-rm-watch>: Use default Tramp handler.
8121 <executable-find>: Remove private handler.
8122 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
8123 `default-directory'.
8124 (tramp-sh-handle-executable-find)
8125 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
8126 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8127 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
8128 Do not use `format' in `tramp-message'.
8130 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
8131 <file-notify-rm-watch, set-visited-file-modtime>:
8132 <verify-visited-file-modtime>: Add handler.
8133 (tramp-smb-call-winexe): Do not bind `default-directory'.
8135 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
8137 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
8139 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
8141 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
8143 (log-view-diff-changeset): Same.
8144 (log-view-diff-common): Call backend command `previous-revision'
8145 to find out the previous revision, in both cases. Swap the
8146 variables `to' and `fr', so that `fr' usually refers to the
8147 earlier revision (Bug#14989).
8149 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
8151 * ibuf-ext.el (ibuffer-filter-by-filename):
8152 Make it work with dired buffers too.
8154 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
8156 * emacs-lisp/re-builder.el (reb-color-display-p):
8157 * files.el (save-buffers-kill-terminal):
8158 * net/browse-url.el (browse-url):
8159 * server.el (server-save-buffers-kill-terminal):
8160 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
8161 Prefer nil to selected-frame for the first arg of frame-parameter.
8163 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
8165 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
8167 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
8169 * minibuffer.el (completion--twq-all): Try and preserve each
8170 completion's case choice (bug#14907).
8172 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
8174 * net/network-stream.el (open-network-stream): Mention the new
8175 :nogreeting parameter.
8176 (network-stream-open-starttls): Use the :nogreeting parameter
8179 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
8181 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
8182 more natural than popping.
8184 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
8185 (shr-urlify): Highlight under mouse.
8187 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
8189 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
8191 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
8193 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
8196 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
8197 point-min==1. Fix search string. Fix parentheses missing.
8199 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
8200 assume point-min==1. Fix search string. Fix parentheses missing.
8202 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
8204 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
8207 2013-07-29 Eli Zaretskii <eliz@gnu.org>
8209 * frame.el (frame-notice-user-settings): Avoid inflooping when the
8210 initial frame is minibuffer-less. (Bug#14841)
8212 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
8214 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
8217 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
8218 (tramp-maybe-open-connection): Use it.
8220 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
8222 * desktop.el (desktop--make-frame): Include `minibuffer' in the
8223 minimal set of parameters passed when creating a frame, because
8224 the minibuffer status of a frame cannot be changed later.
8226 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
8228 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
8229 replace-regexp-in-string and inadvertent omissions in previous change.
8230 (todo-filter-items): Ensure only file names are comma-separated in
8231 name of filtered items buffer.
8233 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
8235 * desktop.el: Optionally force offscreen frames back onscreen.
8236 (desktop-restoring-reuses-frames): New option.
8237 (desktop--compute-pos, desktop--move-onscreen): New functions.
8238 (desktop--make-frame): Use desktop--move-onscreen.
8240 2013-07-27 Alan Mackenzie <acm@muc.de>
8242 Fontify a Java generic method as a function.
8243 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
8246 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
8248 * calendar/todo-mode.el: Add command to rename todo files.
8249 (todo-rename-file): New command.
8250 (todo-key-bindings-t): Add key binding for it. Change the
8251 bindings of todo-filter-regexp-items(-multifile) to use `x'
8252 instead of `r', since the latter is better suited to the new
8255 2013-07-27 Alan Mackenzie <acm@muc.de>
8257 Make Java try-with-resources statement parse properly.
8258 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
8259 (c-block-stmt-1-2-key): New language constants/variables.
8260 * progmodes/cc-engine.el (c-beginning-of-statement-1)
8261 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
8262 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
8263 with c-block-stmt-1-2-key.
8265 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
8267 * desktop.el (desktop--make-frame): Apply most frame parameters after
8268 creating the frame to force (partially or totally) offscreen frames to
8269 be restored as such.
8271 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
8273 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
8276 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8278 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
8279 `base' arg of backtrace-frame.
8281 2013-07-26 Eli Zaretskii <eliz@gnu.org>
8283 * simple.el (list-processes): Doc fix.
8285 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
8287 * desktop.el (desktop--select-frame):
8288 Try harder to reuse existing frames.
8290 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8292 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
8293 (edebug-eval): Use backtrace-eval.
8294 (edebug--display, edebug--recursive-edit): Don't let-bind the
8295 edebug-outer-* vars that keep track of variables we locally let-bind.
8296 (edebug-outside-excursion): Don't restore outside values of locally
8298 (edebug--display): Use user-error.
8299 (cl-lexical-debug, cl-debug-env): Remove.
8301 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
8303 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
8304 are restored to be sure that they are visible before deleting any
8307 2013-07-26 Matthias Meulien <orontee@gmail.com>
8309 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
8310 vc-print-root-log. (Bug#14948)
8312 2013-07-26 Richard Stallman <rms@gnu.org>
8314 Add aliases for encrypting mail.
8315 * epa.el (epa-mail-aliases): New option.
8316 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
8317 Bind inhibit-read-only so read-only text doesn't ruin everything.
8318 (epa-mail-default-recipients): New subroutine broken out.
8319 Handle epa-mail-aliases.
8321 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8323 Add support for lexical variables to the debugger's `e' command.
8324 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
8325 vars, except for debugger-outer-match-data.
8326 (debugger-frame-number): Move check for "on a function call" from
8327 callers into it. Add `skip-base' argument.
8328 (debugger-frame, debugger-frame-clear): Simplify accordingly.
8329 (debugger-env-macro): Only reset the state stored in non-variables,
8330 i.e. current-buffer and match-data.
8331 (debugger-eval-expression): Rewrite using backtrace-eval.
8332 * subr.el (internal--called-interactively-p--get-frame): Remove.
8333 (called-interactively-p):
8334 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
8335 `base' arg of backtrace-frame instead.
8337 2013-07-26 Glenn Morris <rgm@gnu.org>
8339 * align.el (align-regexp): Doc fix. (Bug#14857)
8340 (align-region): Explicit error if subexpression missing/does not match.
8342 * simple.el (global-visual-line-mode):
8343 Do not duplicate the mode lighter. (Bug#14858)
8345 2013-07-25 Martin Rudalics <rudalics@gmx.at>
8347 * window.el (display-buffer): In display-buffer bind
8348 split-window-keep-point to t, bug#14829.
8350 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
8352 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
8353 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
8354 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
8355 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
8357 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
8358 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
8360 2013-07-25 Glenn Morris <rgm@gnu.org>
8362 * dired-x.el (dired-mark-extension): Convert comment to doc string.
8364 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
8366 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
8367 parameter to modify-frame-parameters if the value has not changed;
8368 this is a workaround for bug#14949.
8369 (desktop--make-frame): On cl-delete-if call, check parameter name,
8372 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
8374 * vc/vc.el (vc-ignore): New function.
8376 * vc/vc-svn.el (vc-svn-ignore): New function.
8378 * vc/vc-hg.el (vc-hg-ignore): New function.
8380 * vc/vc-git.el (vc-git-ignore): New function.
8382 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
8383 (vc-dir-ignore): New function.
8385 * vc/vc-cvs.el (vc-cvs-ignore): New function.
8386 (cvs-append-to-ignore): Move here from pcvs.el.
8388 * vc/vc-bzr.el (vc-bzr-ignore): New function.
8390 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
8392 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
8394 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
8395 (desktop-restore-frames): Warn when deleting an existing frame failed.
8397 2013-07-24 Glenn Morris <rgm@gnu.org>
8399 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
8401 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
8403 * filenotify.el (file-notify-supported-p):
8404 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
8407 * autorevert.el (auto-revert-use-notify)
8408 (auto-revert-notify-add-watch):
8409 * net/tramp.el (tramp-file-name-for-operation):
8410 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
8411 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8412 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
8413 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
8414 Remove `file-notify-supported-p' entry.
8416 2013-07-24 Glenn Morris <rgm@gnu.org>
8418 * printing.el: Replace all uses of deleted ps-windows-system,
8419 ps-lp-system, ps-flatten-list with lpr- versions.
8421 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
8423 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
8424 checked with memq (bug#14935).
8426 * files.el (revert-buffer-function): Use a non-nil default.
8427 (revert-buffer-preserve-modes): Declare var to
8428 provide access to the `preserve-modes' argument.
8429 (revert-buffer): Let-bind it.
8430 (revert-buffer--default): New function, extracted from revert-buffer.
8432 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
8434 * lpr.el: Signal print errors more prominently.
8435 (print-region-function): Don't default to nil.
8436 (lpr-print-region): New function, extracted from print-region-1.
8437 Check lpr's return value and signal an error in case of problem.
8438 (print-region-1): Use it.
8439 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
8441 (ps-printer-name): Default to nil.
8442 (ps-printer-name-option): Default to lpr-printer-switch.
8443 (ps-print-region-function): Don't default to nil.
8444 (ps-postscript-code-directory): Simplify default.
8445 (ps-do-despool): Use lpr-print-region to properly check the outcome.
8446 (ps-string-list, ps-eval-switch, ps-flatten-list)
8447 (ps-flatten-list-1): Remove.
8448 (ps-multibyte-buffer): Avoid setq.
8449 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
8450 (print-region-function, ps-print-region-function): Don't set them here.
8452 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
8454 * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
8455 (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
8456 (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
8457 (ido-decorations): Doc fix.
8459 * ansi-color.el: Fix old URL.
8461 2013-07-23 Michael R. Mauger <michael@mauger.com>
8463 * progmodes/sql.el: Version 3.3
8464 (sql-product-alist): Improve oracle :prompt-cont-regexp.
8465 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
8466 (sql-interactive-remove-continuation-prompt): Rewrite, use
8467 functions above. Fix continuation prompt and complete output line
8469 (sql-redirect-one, sql-execute): Use `read-only-mode' on
8470 redirected output buffer.
8471 (sql-mode): Restore deleted code (Bug#13591).
8473 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
8475 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
8477 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
8479 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
8481 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
8482 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8483 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
8485 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
8487 * desktop.el (desktop-clear): Simplify; remove useless checks
8488 against invalid buffer names.
8489 (desktop-list*): Use cl-list*.
8490 (desktop-buffer-info, desktop-create-buffer): Simplify.
8492 2013-07-23 Leo Liu <sdl.web@gmail.com>
8494 * bookmark.el (bookmark-make-record): Restore NAME as a default
8497 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
8499 * emacs-lisp/autoload.el (autoload--setup-output): New function,
8500 extracted from autoload--insert-text.
8501 (autoload--insert-text): Remove.
8502 (autoload--print-cookie-text): New function, extracted from
8503 autoload--insert-cookie-text.
8504 (autoload--insert-cookie-text): Remove.
8505 (autoload-generate-file-autoloads): Adjust calls accordingly.
8507 * winner.el (winner-hook-installed-p): Remove.
8508 (winner-mode): Simplify accordingly.
8510 * subr.el (add-to-list): Fix compiler-macro when `append' is
8511 not constant. Don't use `cl-member' for the base case.
8513 * progmodes/subword.el: Fix boundary case (bug#13758).
8514 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
8516 (subword-backward-regexp): Make it a constant.
8517 (subword-forward-internal): Don't treat a trailing capital as the
8518 beginning of a word.
8520 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
8522 * emacs-lisp/package.el (package-menu-mode): Don't modify the
8523 global value of tabulated-list-revert-hook (bug#14930).
8525 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
8527 * desktop.el: Require 'cl-lib.
8528 (desktop-before-saving-frames-functions): New hook.
8529 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
8530 for frames being saved. Rename from desktop--save-minibuffer-frames.
8531 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
8532 Do not save frames with non-nil `desktop-dont-save' parameter.
8533 Filter out deleted frames.
8534 (desktop--find-frame): Use cl-find-if.
8535 (desktop--select-frame): Use cl-(first|second|third) to access values
8537 (desktop--make-frame): Use cl-delete-if.
8538 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
8539 (desktop-restore-frames): Use cl-(first|second|third) to access values
8540 of desktop-mini. Look for visible frame at the end, not while
8543 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
8544 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
8545 Use string-match-p, looking-at-p (bug#14927).
8547 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
8549 * desktop.el (desktop-saved-frame-states):
8550 Rename from desktop--saved-states; all users changed.
8551 (desktop-save-frames): Rename from desktop--save-frames.
8552 Do not save state to desktop file.
8553 (desktop-save): Save desktop-saved-frame-states to desktop file
8555 (desktop-restoring-frames-p): New function.
8556 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
8557 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
8558 buffer-lists when restoring frames. Suggested by Martin Rudalics.
8560 * desktop.el: Correctly restore iconified frames.
8561 (desktop--filter-iconified-position): New function.
8562 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
8564 2013-07-20 Glenn Morris <rgm@gnu.org>
8566 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
8567 Let `message' do the formatting.
8568 (def-gdb-preempt-display-buffer): Add explicit format.
8570 * image-dired.el (image-dired-track-original-file):
8571 Use with-current-buffer.
8572 (image-dired-track-thumbnail): Use with-current-buffer.
8573 Avoid changing point of wrong window.
8575 * image-dired.el (image-dired-track-original-file):
8576 Avoid changing point of wrong window. (Bug#14909)
8578 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
8580 * progmodes/gdb-mi.el (gdb-done-or-error):
8581 Guard against "%" in gdb output. (Bug#14127)
8583 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
8585 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
8588 * international/mule.el (coding-system-iso-2022-flags): Fix last
8591 2013-07-20 Kenichi Handa <handa@gnu.org>
8593 * international/mule.el (coding-system-iso-2022-flags):
8594 Add `8-bit-level-4'. (Bug#8522)
8596 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8598 * net/shr.el (shr-mouse-browse-url): New command and keystroke
8601 * net/eww.el (eww-process-text-input): Allow inputting when the
8602 point is at the start of the line, as the properties aren't
8605 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
8608 2013-07-19 Richard Stallman <rms@gnu.org>
8610 * epa.el (epa-popup-info-window): Doc fix.
8612 * subr.el (split-string): New arg TRIM.
8614 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
8616 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
8617 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
8619 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
8621 * filenotify.el (file-notify--library): Rename from
8622 `file-notify-support'. Do not autoload. Adapt all uses.
8623 (file-notify-supported-p): New defun.
8625 * autorevert.el (auto-revert-use-notify):
8626 Use `file-notify-supported-p' instead of `file-notify-support'.
8628 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
8630 * net/tramp.el (tramp-file-name-for-operation):
8631 Add `file-notify-supported-p'.
8633 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
8635 (tramp-sh-file-name-handler-alist): Add it as handler for
8636 `file-notify-supported-p '.
8638 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
8639 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8640 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
8641 Add `ignore' as handler for `file-notify-*' functions.
8643 2013-07-17 Eli Zaretskii <eliz@gnu.org>
8645 * simple.el (line-move-partial, line-move): Don't start vscroll or
8646 scroll-up if the current line is not taller than the window.
8649 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
8651 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
8652 highlight question marks in the method names as strings.
8653 (ruby-block-beg-keywords): Inline.
8654 (ruby-font-lock-keyword-beg-re): Extract from
8655 `ruby-font-lock-keywords'.
8657 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
8659 * frame.el (blink-cursor-blinks): New defcustom.
8660 (blink-cursor-blinks-done): New defvar.
8661 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
8662 (blink-cursor-timer-function): Check if number of blinks has been
8664 (blink-cursor-suspend, blink-cursor-check): New defuns.
8666 2013-07-15 Glenn Morris <rgm@gnu.org>
8668 * edmacro.el (edmacro-format-keys): Fix previous change.
8670 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
8672 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
8673 The hack didn't work outside English locales anyway.
8675 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
8677 * simple.el (define-alternatives): Rename from alternatives-define,
8678 per RMS' suggestion.
8680 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
8682 * desktop.el (desktop-restore-frames): Change default to t.
8683 (desktop-restore-in-current-display): Now offer more options.
8684 (desktop-restoring-reuses-frames): New customization option.
8685 (desktop--saved-states): Doc fix.
8686 (desktop-filter-parameters-alist): New variable, renamed and expanded
8687 from desktop--excluded-frame-parameters.
8688 (desktop--target-display): New variable.
8689 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
8690 (desktop--filter-tty*, desktop--filter-*-color)
8691 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
8692 (desktop--filter-save-desktop-parm)
8693 (desktop-restore-in-original-display-p): New functions.
8694 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
8695 (desktop--save-minibuffer-frames): New function, inspired by a similar
8696 function from Martin Rudalics.
8697 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
8698 (desktop--restore-in-this-display-p): Remove.
8699 (desktop--find-frame): Rename from desktop--find-frame-in-display
8700 and add predicate argument.
8701 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
8702 (desktop--reuse-list): New variable.
8703 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
8705 (desktop--restore-frames): Add support for "minibuffer-special" frames.
8707 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
8709 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
8711 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
8713 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
8714 Highlight conversion methods on Kernel.
8716 2013-07-13 Alan Mackenzie <acm@muc.de>
8718 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
8719 and comment it out. This out-commenting enables certain C++
8720 declarations to be parsed correctly.
8722 2013-07-13 Eli Zaretskii <eliz@gnu.org>
8724 * international/mule.el (define-coding-system): Doc fix.
8726 * simple.el (default-font-height): Don't call font-info if the
8727 frame's default font didn't change since the frame was created.
8730 2013-07-13 Leo Liu <sdl.web@gmail.com>
8732 * ido.el (ido-read-file-name): Guard against non-symbol value.
8734 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
8736 * progmodes/python.el (python-imenu--build-tree): Fix corner case
8739 2013-07-13 Leo Liu <sdl.web@gmail.com>
8741 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
8742 ido-set-matches call. (Bug#6852)
8744 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
8746 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
8747 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
8749 (ruby-font-lock-keywords): Distinguish calls to functions with
8750 module-like names from module references. Highlight character
8753 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
8755 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
8756 (gdb-send): Handle continued commands. (Bug#14847)
8758 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
8760 * desktop.el (desktop--v2s): Remove unused local variable.
8761 (desktop-save-buffer): Make defvar-local; adjust docstring.
8762 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
8763 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
8765 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
8767 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
8769 2013-07-12 Eli Zaretskii <eliz@gnu.org>
8771 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
8774 2013-07-12 Glenn Morris <rgm@gnu.org>
8776 * doc-view.el: Require cl-lib at runtime too.
8777 (doc-view-remove-if): Remove.
8778 (doc-view-search-next-match, doc-view-search-previous-match):
8781 * edmacro.el: Require cl-lib at runtime too.
8782 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
8783 (edmacro-mismatch, edmacro-subseq): Remove.
8785 * shadowfile.el: Require cl-lib.
8786 (shadow-remove-if): Remove.
8787 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
8790 * wid-edit.el: Require cl-lib.
8791 (widget-choose): Use cl-remove-if.
8792 (widget-remove-if): Remove.
8794 * progmodes/ebrowse.el: Require cl-lib at runtime too.
8795 (ebrowse-delete-if-not): Remove.
8796 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
8797 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
8798 Use cl-delete-if-not.
8800 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
8802 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
8803 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
8805 2013-07-12 Leo Liu <sdl.web@gmail.com>
8807 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
8809 2013-07-11 Glenn Morris <rgm@gnu.org>
8811 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
8812 (edebug-gensym-index, edebug-gensym):
8813 Remove reimplementation of cl-gensym.
8814 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
8816 * thumbs.el: Require cl-lib at run-time too.
8817 (thumbs-gensym-counter, thumbs-gensym):
8818 Remove reimplementation of cl-gensym.
8819 (thumbs-temp-file): Use cl-gensym.
8821 * emacs-lisp/ert.el: Require cl-lib at runtime too.
8822 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
8823 (ert--intersection, ert--set-difference, ert--set-difference-eq)
8824 (ert--union, ert--gensym-counter, ert--gensym-counter)
8825 (ert--coerce-to-vector, ert--remove*, ert--string-position)
8826 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
8827 (ert-make-test-unbound, ert--expand-should-1)
8828 (ert--expand-should, ert--should-error-handle-error)
8829 (should-error, ert--explain-equal-rec)
8830 (ert--plist-difference-explanation, ert-select-tests)
8831 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
8832 Use cl-lib functions rather than reimplementations.
8834 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
8836 * net/tramp.el (tramp-methods): Extend docstring.
8837 (tramp-connection-timeout): New defcustom.
8838 (tramp-error-with-buffer): Reset timestamp only when appropriate.
8839 (with-tramp-progress-reporter): Simplify.
8840 (tramp-process-actions): Improve messages.
8842 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
8843 * net/tramp-sh.el (tramp-maybe-open-connection):
8844 Use `tramp-connection-timeout'.
8845 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
8848 2013-07-11 Leo Liu <sdl.web@gmail.com>
8850 * ido.el (ido-read-file-name): Conform to the requirements of
8851 read-file-name. (Bug#11861)
8852 (ido-read-directory-name): Conform to the requirements of
8853 read-directory-name.
8855 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
8857 * subr.el (delay-warning): New function.
8859 2013-07-10 Eli Zaretskii <eliz@gnu.org>
8861 * simple.el (default-line-height): New function.
8862 (line-move-partial, line-move): Use it instead of computing the
8864 (line-move-partial): Always compute ROWH. If the last line is
8865 partially-visible, but its text is completely visible, allow
8866 cursor to enter such a partially-visible line.
8868 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
8870 Improve error messages. (Bug#14808)
8872 * net/tramp.el (tramp-current-connection): New defvar, moved from
8874 (tramp-message-show-progress-reporter-message): Remove, not
8876 (tramp-error-with-buffer): Show message in minibuffer.
8877 Discard input before waiting. Reset connection timestamp.
8878 (with-tramp-progress-reporter): Improve messages.
8879 (tramp-process-actions): Use progress reporter. Delete process in
8880 case of error. Improve messages.
8882 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
8883 Call `tramp-error-with-buffer' with vector and buffer.
8884 (tramp-current-connection): Remove.
8885 (tramp-maybe-open-connection): The car of
8886 `tramp-current-connection' are the first 3 slots of the vector.
8888 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
8890 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
8891 inside continued strings.
8893 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
8895 Timestamp fixes for undo (Bug#14824).
8896 * files.el (clear-visited-file-modtime): Move here from fileio.c.
8898 2013-07-10 Leo Liu <sdl.web@gmail.com>
8900 * files.el (require-final-newline): Allow safe local value.
8903 2013-07-09 Leo Liu <sdl.web@gmail.com>
8905 * ido.el (ido-read-directory-name): Handle fallback.
8906 (ido-read-file-name): Update DIR to ido-current-directory.
8908 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
8910 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
8912 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
8913 "autoload". Remove "warn lower camel case" section, previously
8914 commented out. Highlight negation char. Do not highlight the
8915 target in singleton method definitions.
8917 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
8919 * faces.el (tty-setup-hook): Declare the hook.
8921 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
8922 and detect when a guard/pred depends on local vars (bug#14773).
8923 (pcase--u1): Adjust caller.
8925 2013-07-08 Eli Zaretskii <eliz@gnu.org>
8927 * simple.el (line-move-partial, line-move): Account for
8929 (line-move-partial): Avoid setting vscroll when the last
8930 partially-visible line in window is of default height.
8932 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
8934 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
8937 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
8939 * subr.el (read-quoted-char): Remove unused local variable `char'.
8941 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
8943 * ediff.el (ediff-version): Version update.
8944 (ediff-files-command, ediff3-files-command, ediff-merge-command)
8945 (ediff-merge-with-ancestor-command, ediff-directories-command)
8946 (ediff-directories3-command, ediff-merge-directories-command)
8947 (ediff-merge-directories-with-ancestor-command): New functions.
8948 All are command-line interfaces to ediff: to facilitate calling
8949 Emacs with the appropriate ediff functions invoked.
8951 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
8952 (viper-save-kill-buffer): Check if buffer is modified.
8954 * viper.el (viper-version): Version update.
8955 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
8957 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
8959 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
8960 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
8961 (viper-intercept-ESC-key): Simplify.
8962 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
8963 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
8964 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
8965 (viper-setup-ESC-to-escape): New functions.
8966 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
8967 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
8969 2013-07-07 Eli Zaretskii <eliz@gnu.org>
8971 * simple.el (default-font-height, window-screen-lines):
8973 (line-move, line-move-partial): Use them instead of
8974 frame-char-height and window-text-height. This makes scrolling
8975 text smoother when the buffer's default face uses a font that is
8976 different from the frame's default font.
8978 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
8980 * files.el (write-file): Do not display confirm dialog for NS,
8981 it does its own dialog, which can't be canceled (Bug#14578).
8983 2013-07-06 Eli Zaretskii <eliz@gnu.org>
8985 * simple.el (line-move-partial): Adjust the row returned by
8986 posn-at-point for the current window-vscroll. (Bug#14567)
8988 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
8990 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
8991 (tramp-sh-file-inotifywait-process-filter): Handle file names with
8994 2013-07-06 Martin Rudalics <rudalics@gmx.at>
8996 * window.el (window-state-put-stale-windows): New variable.
8997 (window--state-put-2): Save list of windows without matching buffer.
8998 (window-state-put): Remove "bufferless" windows if possible.
9000 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
9002 * simple.el (alternatives-define): Remove leftover :group keyword.
9005 2013-07-06 Leo Liu <sdl.web@gmail.com>
9007 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
9008 (ido-enable-virtual-buffers): New variable.
9009 (ido-buffer-internal, ido-toggle-virtual-buffers)
9010 (ido-make-buffer-list): Use it.
9011 (ido-exhibit): Support turning on and off virtual buffers
9014 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
9016 * simple.el (alternatives-define): New macro.
9018 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
9020 * subr.el (read-quoted-char): Use read-key.
9021 (sit-for): Let read-event decode tty input (bug#14782).
9023 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
9025 * calendar/todo-mode.el: Add handling of file deletion, both by
9026 mode command and externally. Fix various related bugs.
9027 Clarify Commentary and improve some documentation strings and code.
9028 (todo-delete-file): New command.
9029 (todo-check-file): New function.
9030 (todo-show): Handle external deletion of the file we're trying to
9031 show (bug#14688). Replace called-interactively-p by an optional
9032 prefix argument to avoid problematic interaction with catch form
9033 when byte compiled (bug#14702).
9034 (todo-quit): Handle external deletion of the archive's todo file.
9035 Make sure the buffer that was visiting the archive file is still
9036 live before trying to bury it.
9037 (todo-category-completions): Handle external deletion of any
9038 category completion files.
9039 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
9040 of todo files, in case of external deletion.
9041 (todo-add-file): Replace unnecessary setq by let-binding.
9042 (todo-find-archive): Check whether there are any archives.
9043 Replace unnecessary setq by let-binding.
9044 (todo-archive-done-item): Use find-file-noselect to get the
9045 archive buffer whether or not the archive already exists.
9046 Remove superfluous code. Use file size instead of buffer-file-name to
9047 check if the archive is new; if it is, update list of archives.
9048 (todo-default-todo-file): Allow nil to be a valid value for when
9049 there are no todo files.
9050 (todo-reevaluate-default-file-defcustom): Use corrected definition
9051 of todo-default-todo-file.
9052 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
9053 (todo-delete-category, todo-show-categories-table)
9054 (todo-category-number): Clarify comment.
9055 (todo-filter-items): Clarify documentation string.
9056 (todo-show-current-file, todo-display-as-todo-file)
9057 (todo-reset-and-enable-done-separator): Tweak documentation string.
9058 (todo-done-separator): Make separator length window-width, since
9059 bug#2749 is now fixed.
9061 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
9063 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
9064 Support both "gvfs-monitor-dir" and "inotifywait".
9065 (tramp-sh-file-inotifywait-process-filter): Rename from
9066 `tramp-sh-file-notify-process-filter'.
9067 (tramp-sh-file-gvfs-monitor-dir-process-filter)
9068 (tramp-get-remote-gvfs-monitor-dir): New defuns.
9070 2013-07-05 Leo Liu <sdl.web@gmail.com>
9072 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
9074 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
9076 * frame.el (display-pixel-height, display-pixel-width)
9077 (display-mm-height, display-mm-width): Mention behavior on
9078 multi-monitor setups in docstrings.
9079 (w32-display-monitor-attributes-list): Declare function.
9080 (display-monitor-attributes-list): Use it.
9082 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
9084 * filenotify.el: New package.
9086 * autorevert.el (top): Require filenotify.el.
9087 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
9089 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
9090 (auto-revert-notify-handler): Use `file-notify-*' functions.
9092 * subr.el (file-notify-handle-event): Move function to filenotify.el.
9094 * net/tramp.el (tramp-file-name-for-operation):
9095 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
9097 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
9098 for `file-notify-add-watch' and `file-notify-rm-watch'.
9099 (tramp-process-sentinel): Improve trace.
9100 (tramp-sh-handle-file-notify-add-watch)
9101 (tramp-sh-file-notify-process-filter)
9102 (tramp-sh-handle-file-notify-rm-watch)
9103 (tramp-get-remote-inotifywait): New defuns.
9105 2013-07-03 Juri Linkov <juri@jurta.org>
9107 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
9108 call of `occur-read-primary-args' to interactive spec.
9110 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
9111 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
9113 2013-07-03 Matthias Meulien <orontee@gmail.com>
9115 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
9116 `Buffer-menu-multi-occur'. Add it to the menu.
9117 (Buffer-menu-mode): Document it in docstring.
9118 (Buffer-menu-multi-occur): New command. (Bug#14673)
9120 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
9122 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
9123 keywords and built-ins.
9125 2013-07-03 Glenn Morris <rgm@gnu.org>
9127 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
9129 Make info-xref checks case-sensitive by default
9130 * info.el (Info-find-node, Info-find-in-tag-table)
9131 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
9132 Add option for exact case matching of nodes.
9133 * info-xref.el (info-xref): New custom group.
9134 (info-xref-case-fold): New option.
9135 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
9137 2013-07-03 Leo Liu <sdl.web@gmail.com>
9139 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
9141 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
9143 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
9144 middle of block statement initially, lower the depth. Remove
9145 FIXME comment, not longer valid. Remove middle of block statement
9146 detection, no need to do that anymore since we've been using
9147 `ruby-parse-region' here.
9149 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
9151 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
9153 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
9155 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
9157 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
9159 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
9160 (desktop-restore-in-current-display): New customization option.
9161 (desktop--excluded-frame-parameters): Add `font'.
9162 (desktop--save-frames): Rename from desktop--save-windows.
9163 (desktop--restore-in-this-display-p): New function.
9164 (desktop--make-full-frame): Remove unwanted width/height from
9165 full(width|height) frames.
9166 (desktop--restore-frames): Rename from desktop--restore-windows.
9167 Obey desktop-restore-current-display. Do not delete old frames or
9168 select a new frame unless we were able to restore at least one frame.
9170 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
9172 * files.el (find-file-noselect): Simplify conditional expression.
9174 * textmodes/remember.el (remember-append-to-file):
9175 Don't mix `find-buffer-visiting' and `get-file-buffer'.
9177 Add `remember-notes' function to store random notes across Emacs
9179 * textmodes/remember.el (remember-data-file): Add :set callback to
9180 affect notes buffer (if any).
9181 (remember-notes): New command.
9182 (remember-notes-buffer-name, bury-remember-notes-on-kill):
9183 New defcustoms for the `remember-notes' function.
9184 (remember-notes-save-and-bury-buffer): New command.
9185 (remember-notes-mode-map): New variable.
9186 (remember-mode): New minor mode.
9187 (remember-notes--kill-buffer-query): New function.
9188 * startup.el (initial-buffer-choice): Add notes to custom type.
9190 2013-06-30 Eli Zaretskii <eliz@gnu.org>
9192 * bindings.el (right-char, left-char): Don't call sit-for, this is
9193 no longer needed. Use arithmetic comparison only for numerical
9196 * international/mule-cmds.el (select-safe-coding-system):
9197 Handle the case of FROM being a string correctly. (Bug#14755)
9199 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
9201 * net/shr.el (shr-make-table-1): Add a sanity check that allows
9202 progression on degenerate tables.
9203 (shr-rescale-image): ImageMagick animated images currently don't work.
9205 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
9207 Some fixes and improvements for desktop frame restoration.
9208 It is still experimental and disabled by default.
9209 * desktop.el (desktop--save-windows): Put the selected frame at
9210 the head of the list.
9211 (desktop--make-full-frame): New function.
9212 (desktop--restore-windows): Try to re-select the frame that was
9213 selected upon saving. Do not abort if some frames fail to restore,
9214 just show an error message and continue. Set up maximized frames
9215 so they have default non-maximized dimensions.
9217 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
9219 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
9220 Don't start heredoc inside a string or comment.
9222 2013-06-29 Eli Zaretskii <eliz@gnu.org>
9224 * bindings.el (visual-order-cursor-movement): New defcustom.
9225 (right-char, left-char): Provide visual-order cursor motion by
9226 calling move-point-visually. Update the doc strings.
9228 2013-06-28 Kenichi Handa <handa@gnu.org>
9230 * international/mule.el (define-coding-system): New coding system
9231 properties :inhibit-null-byte-detection,
9232 :inhibit-iso-escape-detection, and :prefer-utf-8.
9233 (set-buffer-file-coding-system): If :charset-list property of
9234 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
9235 appropriate for setting.
9237 * international/mule-cmds.el (select-safe-coding-system):
9238 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
9239 multibyte characters, return utf-8 (or one of its siblings).
9241 * international/mule-conf.el (prefer-utf-8): New coding system.
9242 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
9245 2013-06-28 Ivan Kanis <ivan@kanis.fr>
9247 * net/shr.el (shr-render-region): New function.
9249 * net/eww.el: Autoload `eww-browse-url'.
9251 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
9253 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9254 Adapt to `package-desc-version' being a list.
9255 Use `package--ac-desc-version' to retrieve version from a package
9258 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
9260 New experimental feature to save&restore window and frame setup.
9261 * desktop.el (desktop-save-windows): New defcustom.
9262 (desktop--saved-states): New var.
9263 (desktop--excluded-frame-parameters): New defconst.
9264 (desktop--filter-frame-parms, desktop--find-frame-in-display)
9265 (desktop--restore-windows, desktop--save-windows): New functions.
9266 (desktop-save): Call `desktop--save-windows'.
9267 (desktop-read): Call `desktop--restore-windows'.
9269 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
9271 * net/shr.el (add-face-text-property): Remove compat definition.
9273 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
9275 * info.el (Info-try-follow-nearest-node): Move search for footnote
9276 above search for node name to prevent missing a footnote (bug#14717).
9278 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
9280 * obsolete/otodo-mode.el: Add obsolescence info to file header.
9282 2013-06-27 Leo Liu <sdl.web@gmail.com>
9284 * net/eww.el (eww-read-bookmarks): Check file size.
9286 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
9288 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
9289 advice--pending if newdef is nil or an autoload (bug#13820).
9290 (advice-mapc): New function.
9292 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
9294 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
9296 (eww-mode-map): Add a menu bar.
9297 (eww-add-bookmark): New command.
9298 (eww-bookmark-mode): New mode and commands.
9299 (eww-add-bookmark): Remove newlines from the title.
9300 (eww-bookmark-browse): Don't bug out if it's the only window.
9302 2013-06-26 Glenn Morris <rgm@gnu.org>
9304 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
9305 (hfy-size): Handle ttys. (Bug#14668)
9307 * info-xref.el: Update for Texinfo 5 change in *note format.
9308 (info-xref-node-re, info-xref-note-re): New constants.
9309 (info-xref-check-buffer): Use info-xref-note-re.
9311 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
9313 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
9315 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
9316 nil terminate the loop (bug#14718).
9318 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9320 * net/eww.el: Rework history traversal. When going forward/back,
9321 put these actions into the history, too, so that they can be
9323 (eww-render): Move the history reset to the correct buffer.
9325 2013-06-25 Juri Linkov <juri@jurta.org>
9327 * files-x.el (modify-dir-local-variable): Change the header comment
9328 in the file with directory local variables. (Bug#14692)
9330 * files-x.el (read-file-local-variable-value): Add `default'.
9333 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9335 * net/eww.el (eww-make-unique-file-name): Create a unique file
9336 name before saving to entering `y' accidentally asynchronously.
9338 2013-06-25 Ivan Kanis <ivan@kanis.fr>
9340 * net/eww.el (eww-download): New command and keystroke.
9342 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9344 * net/eww.el (eww-copy-page-url): Change name of command.
9346 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
9347 be more consistent with Info and dired.
9349 * net/eww.el (eww-mode-map): Ditto.
9351 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
9353 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
9354 packages from archives.
9355 (package-archive-contents): Change format; include obsolete packages.
9356 (package-desc): Use `dir' to mark builtin packages.
9357 (package--from-builtin): Set the `dir' field to `builtin'.
9358 (generated-autoload-file, version-control): Declare.
9359 (package-compute-transaction): Change first arg and return value to be
9360 lists of package-descs. Adjust to new package-archive-contents format.
9361 (package--add-to-archive-contents): Adjust to new
9362 package-archive-contents format.
9363 (package-download-transaction): Arg is now a list of package-descs.
9364 (package-install): If `pkg' is a package name, pass it as
9365 a requirement, so it is subject to the usual (e.g. disabled) checks.
9366 (describe-package): Accept package-desc as well.
9367 (describe-package-1): Describe a specific package-desc. Add links to
9368 other package-descs for the same package name.
9369 (package-menu-describe-package): Pass the actual package-desc.
9370 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
9372 (package-desc-status): New function.
9373 (package-menu--refresh): New function, extracted
9374 from package-menu--generate.
9375 (package-menu--generate): Use it.
9376 (package-delete): Update package-alist.
9377 (package-menu-execute): Don't call package-initialize.
9379 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
9380 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
9381 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
9382 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
9383 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
9384 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
9386 2013-06-25 Martin Rudalics <rudalics@gmx.at>
9388 * window.el (window--state-get-1): Workaround for bug#14527.
9389 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
9391 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9393 * net/eww.el (eww-back-url): Implement the history by stashing all
9394 the data into a list.
9395 (eww-forward-url): Allow going forward in the history, too.
9397 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
9399 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
9400 for values and use read--expression for expressions (bug#14710).
9401 (read-file-local-variable): Avoid setq.
9402 (read-file-local-variable-mode): Use minor-mode-list.
9404 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9406 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
9409 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9411 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
9412 Update imenu-support when dialect changes.
9414 2013-06-25 Leo Liu <sdl.web@gmail.com>
9416 * ido.el (ido-read-internal): Allow forward slash on windows.
9418 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
9420 * net/eww.el (eww): Start of strings is \\`, not ^.
9422 2013-06-24 Ivan Kanis <ivan@kanis.fr>
9424 * net/shr.el (shr-browse-url): Fix interactive spec.
9426 * net/eww.el (eww): Add a trailing slash to domain names.
9428 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
9430 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
9432 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
9434 * net/shr.el (shr-browse-url): Use an external browser if given a
9437 * net/eww.el (eww-external-browser): Move to shr.
9439 2013-06-24 Ivan Kanis <ivan@kanis.fr>
9441 * net/eww.el (eww): Work more correctly for file: URLs.
9442 (eww-detect-charset): Allow quoted charsets.
9443 (eww-yank-page-url): New command and keystroke.
9445 2013-06-24 Daiki Ueno <ueno@gnu.org>
9447 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
9448 file name of gpg executable.
9449 (epg-context-program): New function.
9450 (epg-context-home-directory): New function.
9451 (epg-context-set-program): New function.
9452 (epg-context-set-home-directory): New function.
9453 (epg--start): Use `epg-context-program' instead of
9455 (epg--list-keys-1): Likewise.
9457 2013-06-24 Leo Liu <sdl.web@gmail.com>
9459 * ido.el (ido-read-internal): Fix bug#14620.
9461 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
9463 * faces.el (face-documentation): Simplify.
9464 (read-face-attribute, tty-find-type, x-resolve-font-name):
9465 Use `string-match-p'.
9466 (list-faces-display): Use `string-match-p'. Simplify.
9467 (face-spec-recalc): Check face to avoid face alias loops.
9468 (read-color): Use `string-match-p' and non-capturing parenthesis.
9470 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
9472 * net/shr.el (shr-rescale-image): Use the new
9473 :max-width/:max-height functionality.
9475 2013-06-23 Ivan Kanis <ivan@kanis.fr>
9477 * net/eww.el (eww-search-prefix): New variable.
9479 (eww-external-browser): New variable.
9480 (eww-mode-map): New keystroke.
9481 (eww-browse-with-external-browser): New command.
9483 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
9485 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
9487 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
9488 Don't skip aligning the next header field when padding is 0;
9489 otherwise, field width is not respected unless the title is as
9492 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
9494 * emacs-lisp/package.el (package-el-version): Remove.
9495 (package-process-define-package): Fix inf-loop.
9496 (package-install): Allow symbols as arguments again.
9498 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
9500 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
9501 add some more keyword-like methods.
9502 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
9504 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
9506 * bs.el (bs-buffer-show-mark): Make defvar-local.
9507 (bs-mode): Use setq-local.
9509 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
9510 (emacs-lock--try-unlocking): Make defvar-local.
9512 2013-06-22 Glenn Morris <rgm@gnu.org>
9514 * play/cookie1.el (cookie-apropos): Minor simplification.
9516 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
9518 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
9520 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
9521 `regexp-opt', it breaks the build during dumping.
9523 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
9525 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
9526 Highlight keyword-like methods on Kernel and Module with
9527 font-lock-builtin-face.
9528 (auto-mode-alist): Consolidate different entries into one regexp
9529 and add more *file-s.
9531 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
9533 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
9535 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
9536 (diary-entry): Use it in the action of this button type instead of
9539 * calendar/todo-mode.el: New version.
9540 (todo-add-category): Append new category to end of file and give
9541 it the highest number, instead of putting it at the beginning and
9542 giving it 0. Incorporate noninteractive functionality.
9543 (todo-forward-category): Adapt to 1-based category numbering.
9544 Allow skipping over archived categories.
9545 (todo-backward-category): Derive from todo-forward-category.
9546 (todo-backward-item, todo-forward-item): Make noninteractive and
9547 delegate interactive part to new commands. Make sensitive to done items.
9548 (todo-categories): Make value an alist of category names and
9549 vectors of item counts.
9550 (todo-category-beg): Make a defconst.
9551 (todo-category-number): Use 1 instead of 0 as initial value.
9552 (todo-category-select): Make sensitive to overlays, optional item
9553 highlighting and done items.
9554 (todo-delete-item): Make sensitive to overlays and marked and done items.
9555 (todo-edit-item): Make sensitive to overlays and editing of
9556 date/time header optional. Add format checks.
9557 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
9558 no-op if point is not on an item. Advertise using todo-edit-quit.
9559 (todo-edit-mode): Make sensitive to new format, font-locking, and
9560 multiple todo files.
9561 (todo-insert-item, todo-insert-item-here): Derive from
9562 todo-basic-insert-item and extend functionality.
9563 (todo-item-end, todo-item-start): Make sensitive to done items.
9564 (todo-item-string): Don't return text properties. Restore point.
9565 (todo-jump-to-category): Make sensitive to multiple todo files and
9566 todo archives. Use extended category completion.
9567 (todo-lower-item, todo-raise-item): Rename to *-priority and
9568 derive from todo-set-item-priority.
9569 (todo-mode): Derive from special-mode. Make sensitive to new
9570 format, font-locking and multiple todo files. Make read-only.
9571 (todo-mode-map): Don't suppress digit keys, so they can supply
9572 prefix arguments. Add many new key bindings.
9573 (todo-prefix): Insert as an overlay instead of file text.
9574 Change semantics from diary date expression to purely visual mark.
9575 (todo-print): Rename to todo-print-buffer. Make buffer display
9576 features printable. Remove option to restrict number of items
9577 printed. Add option to print to file.
9578 (todo-print-function): Rename to todo-print-buffer-function.
9579 (todo-quit): Extend to handle exiting new todo modes.
9580 (todo-remove-item): Make sensitive to overlays.
9581 (todo-save): Extend to buffers of filtered items.
9582 (todo-show): Make sensitive to done items, multiple todo files and
9583 new todo modes. Offer to convert legacy todo file before creating
9584 first new todo file.
9585 (todo-show-priorities): Rename to todo-top-priorities.
9586 Change semantics of value 0.
9587 (todo-top-priorities): Rename to todo-filter-top-priorities,
9588 derive from todo-filter-items and extend functionality.
9589 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
9590 and extend functionality to other types of filtered items.
9591 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
9592 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
9593 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
9594 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
9595 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
9596 (todo-edit-mode-hook, todo-entry-prefix-function)
9597 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
9598 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
9599 (todo-initials, todo-insert-threshold, todo-item-string-start)
9600 (todo-line-string, todo-menu, todo-mode-hook)
9601 (todo-more-important-p, todo-previous-answer, todo-previous-line)
9602 (todo-print-priorities, todo-remove-separator)
9603 (todo-save-top-priorities-too, todo-string-count-lines)
9604 (todo-string-multiline-p, todo-time-string-format)
9605 (todo-tmp-buffer-name): Remove.
9606 (todo-add-file, todo-archive-done-item, todo-choose-archive)
9607 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
9608 (todo-edit-category-diary-inclusion)
9609 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
9610 (todo-edit-file, todo-edit-item-date-day)
9611 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
9612 (todo-edit-item-date-month, todo-edit-item-date-to-today)
9613 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
9614 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
9615 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
9616 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
9617 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
9618 (todo-filter-top-priorities-multifile, todo-find-archive)
9619 (todo-find-filtered-items-file, todo-go-to-source-item)
9620 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
9621 (todo-jump-to-archive-category, todo-lower-category)
9622 (todo-mark-category, todo-marked-item-p, todo-merge-category)
9623 (todo-move-category, todo-move-item, todo-next-button)
9624 (todo-next-item, todo-padded-string, todo-powerset)
9625 (todo-previous-button, todo-previous-item)
9626 (todo-print-buffer-to-file, todo-raise-category)
9627 (todo-rename-category, todo-repair-categories-sexp, todo-search)
9628 (todo-set-category-number, todo-set-item-priority)
9629 (todo-set-top-priorities-in-category)
9630 (todo-set-top-priorities-in-file, todo-show-categories-table)
9631 (todo-sort-categories-alphabetically-or-numerically)
9632 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
9633 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
9634 (todo-toggle-item-header, todo-toggle-item-highlighting)
9635 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
9636 (todo-toggle-view-done-items, todo-toggle-view-done-only)
9637 (todo-unarchive-items, todo-unmark-category): New commands.
9638 (todo-absolute-file-name, todo-add-to-buffer-list)
9639 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
9640 (todo-basic-insert-item, todo-category-completions)
9641 (todo-category-number, todo-category-string-matcher-1)
9642 (todo-category-string-matcher-2, todo-check-filtered-items-file)
9643 (todo-check-format, todo-clear-matches)
9644 (todo-comment-string-matcher, todo-convert-legacy-date-time)
9645 (todo-current-category, todo-date-string-matcher)
9646 (todo-define-insertion-command, todo-diary-expired-matcher)
9647 (todo-diary-goto-entry, todo-diary-item-p)
9648 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
9649 (todo-display-categories, todo-display-sorted, todo-done-item-p)
9650 (todo-done-item-section-p, todo-done-separator)
9651 (todo-done-string-matcher, todo-files, todo-filter-items)
9652 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
9653 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
9654 (todo-insert-category-line, todo-insert-item-from-calendar)
9655 (todo-insert-sort-button, todo-insert-with-overlays)
9656 (todo-insertion-command-name, todo-insertion-key-bindings)
9657 (todo-label-to-key, todo-longest-category-name-length)
9658 (todo-make-categories-list, todo-mode-external-set)
9659 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
9660 (todo-modes-set-3, todo-multiple-filter-files)
9661 (todo-nondiary-marker-matcher, todo-prefix-overlays)
9662 (todo-read-category, todo-read-date, todo-read-dayname)
9663 (todo-read-file-name, todo-read-time)
9664 (todo-reevaluate-category-completions-files-defcustom)
9665 (todo-reevaluate-default-file-defcustom)
9666 (todo-reevaluate-filelist-defcustoms)
9667 (todo-reevaluate-filter-files-defcustom)
9668 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
9669 (todo-reset-done-separator, todo-reset-done-separator-string)
9670 (todo-reset-done-string, todo-reset-global-current-todo-file)
9671 (todo-reset-highlight-item, todo-reset-nondiary-marker)
9672 (todo-reset-prefix, todo-set-categories)
9673 (todo-set-date-from-calendar, todo-set-show-current-file)
9674 (todo-set-top-priorities, todo-short-file-name)
9675 (todo-show-current-file, todo-sort, todo-time-string-matcher)
9676 (todo-total-item-counts, todo-update-buffer-list)
9677 (todo-update-categories-display, todo-update-categories-sexp)
9678 (todo-update-count, todo-validate-name, todo-y-or-n-p):
9680 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
9682 (todo-categories, todo-display, todo-edit, todo-faces)
9683 (todo-filtered): New defgroups.
9684 (todo-archived-only, todo-button, todo-category-string, todo-date)
9685 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
9686 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
9687 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
9688 (todo-add-item-if-new-category, todo-always-add-time-string)
9689 (todo-categories-align, todo-categories-archived-label)
9690 (todo-categories-category-label, todo-categories-diary-label)
9691 (todo-categories-done-label, todo-categories-number-separator)
9692 (todo-categories-todo-label, todo-categories-totals-label)
9693 (todo-category-completions-files, todo-completion-ignore-case)
9694 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
9695 (todo-done-separator-string, todo-done-string)
9696 (todo-files-function, todo-filter-done-items, todo-filter-files)
9697 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
9698 (todo-initial-category, todo-initial-file, todo-item-mark)
9699 (todo-legacy-date-time-regexp, todo-mode-line-function)
9700 (todo-nondiary-marker, todo-number-prefix)
9701 (todo-print-buffer-function, todo-show-current-file)
9702 (todo-show-done-only, todo-show-first, todo-show-with-done)
9703 (todo-skip-archived-categories, todo-top-priorities-overrides)
9704 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
9705 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
9707 (todo-category-done, todo-date-pattern, todo-date-string-start)
9708 (todo-diary-items-buffer, todo-done-string-start)
9709 (todo-filtered-items-buffer, todo-item-start)
9710 (todo-month-abbrev-array, todo-month-name-array)
9711 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
9712 (todo-top-priorities-buffer): New defconsts.
9713 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
9714 (todo-categories-with-marks, todo-category-string-face)
9715 (todo-comment-face, todo-comment-string, todo-current-todo-file)
9716 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
9717 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
9718 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
9719 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
9720 (todo-font-lock-keywords, todo-global-current-todo-file)
9721 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
9722 (todo-insertion-commands-args)
9723 (todo-insertion-commands-args-genlist)
9724 (todo-insertion-commands-names, todo-insertion-map)
9725 (todo-key-bindings-t, todo-key-bindings-t+a)
9726 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
9727 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
9728 (todo-nondiary-face, todo-print-buffer, todo-time-face)
9729 (todo-visited): New variables.
9731 2013-06-21 Glenn Morris <rgm@gnu.org>
9733 * play/cookie1.el (cookie-apropos): Add optional display argument.
9734 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
9735 (psychoanalyze-pinhead): Use cookie-doctor.
9737 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
9739 * emacs-lisp/package.el (tar-get-file-descriptor)
9740 (tar--extract): Declare.
9742 2013-06-21 Eduard Wiebe <usenet@pusto.de>
9744 Extend flymake's warning predicate to be a function (bug#14217).
9745 * progmodes/flymake.el (flymake-warning-predicate): New.
9746 (flymake-parse-line): Use it.
9747 (flymake-warning-re): Make obsolete alias to
9748 `flymake-warning-predicate'.
9750 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9752 * emacs-lisp/package.el (package-alist): Include obsolete packages.
9753 (package-obsolete-list): Remove.
9754 (package-activate): Remove min-version argument. Add `force' argument.
9755 Adjust to new package-alist format.
9756 (package-mark-obsolete): Remove.
9757 (package-unpack): Force reload of the package's autoloads.
9758 (package-installed-p): Check builtins if the installed package is not
9760 (package-initialize): Don't reset package-obsolete-list.
9761 Don't specify which package version to activate.
9762 (package-process-define-package, describe-package-1)
9763 (package-menu--generate): Adjust to new package-alist format.
9765 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
9767 * allout-widgets.el (allout-widgets-mode-off)
9768 (allout-widgets-mode-on, allout-widgets-pre-command-business)
9769 (allout-widgets-post-command-business)
9770 (allout-widgets-after-copy-or-kill-function)
9771 (allout-widgets-after-undo-function, allout-test-range-overlaps)
9772 (allout-decorate-item-and-context)
9773 (allout-graphics-modification-handler): Fix typos in docstrings.
9774 (allout-get-or-create-parent-widget): Use `looking-at-p'.
9776 * cmuscheme.el (scheme-start-file): Doc fix.
9777 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
9778 (scheme-input-filter): Use `string-match-p'.
9780 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
9782 * dired-x.el: Use Dired consistently in docstrings.
9784 * dired.el: Use Dired consistently in docstrings.
9785 (dired-readin, dired-mode): Use `setq-local'.
9786 (dired-switches-alist): Make defvar-local.
9787 (dired-buffers-for-dir): Use `zerop'.
9788 (dired-safe-switches-p, dired-switches-escape-p)
9789 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
9790 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
9791 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
9792 (dired-goto-next-nontrivial-file): Use `string-match-p'.
9793 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
9794 (dired-toggle-marks, dired-mark-files-containing-regexp)
9795 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
9796 (dired-flag-auto-save-files, dired-flag-backup-files):
9798 (dired-mark-files-regexp, dired-build-subdir-alist):
9799 Use `string-match-p', `looking-at-p'.
9801 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
9802 (direct-print-region-helper): Use `string-match-p'.
9804 2013-06-21 Leo Liu <sdl.web@gmail.com>
9806 * comint.el (comint-redirect-results-list-from-process):
9809 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
9811 * net/eww.el (eww-update-header-line-format): Quote % characters.
9813 2013-06-21 Glenn Morris <rgm@gnu.org>
9815 * play/cookie1.el (cookie): New custom group.
9816 (cookie-file): New option.
9817 (cookie-check-file): New function.
9818 (cookie): Make it interactive. Make start and end messages optional.
9819 Interactively, display the result. Default to cookie-file.
9820 (cookie-insert): Default to cookie-file.
9821 (cookie-snarf): Make start and end messages optional.
9822 Default to cookie-file. Use with-temp-buffer.
9823 (cookie-read): Rename from read-cookie.
9824 Make start and end messages optional. Default to cookie-file.
9825 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
9827 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
9828 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
9830 2013-06-21 Leo Liu <sdl.web@gmail.com>
9832 * progmodes/octave.el (octave-mode): Backward compatibility fix.
9834 2013-06-21 Glenn Morris <rgm@gnu.org>
9836 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
9838 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9839 Daniel Hackney <dan@haxney.org>
9841 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
9842 Consolidate the single-file vs tarball code.
9843 (package-desc-suffix): New function.
9844 (package-desc-full-name): Don't bother inlining it.
9845 (package-load-descriptor): Return the new package-desc.
9846 (package-mark-obsolete): Remove unused arg `package'.
9847 (package-unpack): Make it work for single files as well.
9848 Make it update package-alist.
9849 (package--make-autoloads-and-stuff): Rename from
9850 package--make-autoloads-and-compile. Don't compile any more.
9851 (package--compile): New function.
9852 (package-generate-description-file): New function, extracted from
9853 package-unpack-single.
9854 (package-unpack-single): Remove.
9855 (package--with-work-buffer): Add indentation and debugging info.
9856 (package-download-single): Remove.
9857 (package-install-from-archive): Rename from package-download-tar, make
9858 it take a pkg-desc, and make it work for single files as well.
9859 (package-download-transaction): Simplify.
9860 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
9861 external tar program.
9862 (package-install-from-buffer): Remove `pkg-desc' argument.
9863 Use package-tar-file-info for tar-mode buffers.
9864 (package-install-file): Simplify accordingly.
9865 (package-archive-base): Change to take a pkg-desc.
9866 * tar-mode.el (tar--check-descriptor): New function, extracted from
9868 (tar-get-descriptor): Use it.
9869 (tar-get-file-descriptor): New function.
9870 (tar--extract): New function, extracted from tar-extract.
9871 (tar--extract): Use it.
9872 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
9873 case the summary uses non-ascii. Adjust to new calling convention of
9874 package-tar-file-info.
9876 2013-06-21 Leo Liu <sdl.web@gmail.com>
9878 * comint.el (comint-redirect-results-list-from-process):
9879 Fix random delay. (Bug#14681)
9881 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
9883 * profiler.el (profiler-format-number): Use log, not log10.
9885 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
9887 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
9889 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
9891 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
9892 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
9894 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
9895 (AUTOGENEL): ... here.
9896 * emacs-lisp/cl-macs.el (cl--sublis): New function.
9897 (cl--defsubst-expand): Use it.
9899 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
9901 * subr.el (log10): Move here from C code, and declare as obsolete.
9902 All uses of (log10 X) replaced with (log X 10).
9904 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
9906 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
9907 Declare with `defvar-local'.
9908 (tabulated-list-use-header-line, tabulated-list-entries)
9909 (tabulated-list-padding, tabulated-list-printer)
9910 (tabulated-list-sort-key): Declare with `defvar-local'.
9911 (tabulated-list-init-header, tabulated-list-print-fake-header):
9914 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
9916 * arc-mode.el (archive-mode): Add `archive-write-file' to
9917 `write-contents-functions' also for remote files. (Bug#14652)
9919 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
9921 * cus-edit.el (custom-commands): Fix typos.
9922 (custom-display): Fix tooltip text.
9923 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
9924 Fix typos in docstrings.
9925 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
9926 (custom-unlispify-menu-entry, custom-magic-value-create)
9927 (custom-add-see-also, custom-group-value-create): Use ?\s.
9928 (custom-guess-type, customize-apropos, editable-field)
9929 (custom-face-value-create): Use `string-match-p'.
9930 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
9932 * custom.el (custom-load-symbol): Use `string-match-p'.
9934 * ansi-color.el: Convert to lexical binding.
9935 (ansi-colors): Fix URL.
9936 (ansi-color-context, ansi-color-context-region): Use defvar-local.
9937 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
9938 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
9940 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9942 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
9944 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
9946 2013-06-19 Tom Tromey <tromey@redhat.com>
9948 * net/eww.el (eww-top-url): Remove.
9949 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
9950 (eww-render): Set new variables. Don't set eww-top-url.
9951 (eww-handle-link): Handle "prev", "home", and "contents".
9952 Downcase the rel text.
9953 (eww-top-url): Choose best top URL.
9955 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9957 * net/eww.el: Rewrite to implement form elements "by hand" instead of
9958 relying in widget.el. Using widget.el leads to too many
9959 user interface inconsistencies.
9960 (eww-self-insert): Implement entering commands in text fields.
9961 (eww-process-text-input): New function to make text input field editing
9963 (eww-submit): Rewrite to use the new-style form methods.
9964 (eww-select-display): Display the correct selected item.
9965 (eww-change-select): Implement changing the select value.
9966 (eww-toggle-checkbox): Implement radio/checkboxes.
9967 (eww-update-field): Fix compilation error.
9968 (eww-tag-textarea): Implement <textarea>.
9970 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
9971 we don't shadow mode-specific bindings.
9973 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
9976 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
9978 2013-06-19 Glenn Morris <rgm@gnu.org>
9980 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
9982 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
9984 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
9987 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
9989 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9991 * net/browse-url.el (browse-url-browser-function):
9992 `eww-browse-url' has the right calling signature, `eww' does not.
9994 2013-06-19 Glenn Morris <rgm@gnu.org>
9996 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
9997 Only eval autoloaded macros.
9998 (byte-compile-autoload): Only give the macro warning for macros.
10000 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
10001 (ps-underlined-faces): Declare.
10003 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
10004 (speedbar-add-supported-extension): Declare.
10006 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
10007 Don't include a date stamp in the header of the generated file;
10008 it leads to needless differences between output files.
10010 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
10012 * net/secrets.el (secrets-struct-secret-content-type):
10013 Replace check of introspection data by a test call of "CreateItem".
10014 Some servers do not offer introspection.
10016 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
10018 * electric.el (electric-pair-mode): Improve interaction with
10019 electric-layout-mode.
10020 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
10021 (electric-pair-syntax): Use text-mode-syntax-table in comments
10023 (electric-pair--insert): New function.
10024 (electric-pair-post-self-insert-function): Use it and
10025 electric--after-char-pos.
10027 2013-06-19 Leo Liu <sdl.web@gmail.com>
10029 * progmodes/octave.el (octave-help): Fix regexp.
10031 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
10033 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
10034 (shr-table-horizontal-line): Allow nil as a value, and change the
10036 (shr-insert-table-ruler): Respect the nil value.
10038 2013-06-18 Tom Tromey <tromey@barimba>
10040 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
10042 (eww-open-file): New defun.
10043 (eww-render): Initialize new variables.
10044 (eww-display-html): Handle "link" and "a".
10045 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
10046 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
10047 (eww-back-url): Rename from eww-previous-url.
10048 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
10051 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
10053 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
10054 Distinguish ternary operator tokens from slash symbol and slash
10057 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
10059 Convert symbol prettification into minor mode and global minor mode.
10061 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
10062 `prog-prettify-symbols', and make a local defvar instead of defcustom.
10063 (prettify-symbols--keywords): Rename from
10064 `prog-prettify-symbols-alist' and make a local defvar.
10065 (prettify-symbols--compose-symbol): Rename from
10066 `prog--prettify-font-lock-compose-symbol'.
10067 (prettify-symbols--make-keywords): Rename from
10068 `prog-prettify-font-lock-symbols-keywords' and simplify.
10069 (prog-prettify-install): Remove.
10070 (prettify-symbols-mode): New minor mode, based on
10071 `prog-prettify-install'.
10072 (turn-on-prettify-symbols-mode): New function.
10073 (global-prettify-symbols-mode): New globalized minor mode.
10075 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
10076 * progmodes/cfengine.el (cfengine3-mode):
10077 * progmodes/perl-mode.el (perl-mode): Don't call
10078 `prog-prettify-install'; set `prettify-symbols-alist' instead.
10080 2013-06-18 Juri Linkov <juri@jurta.org>
10082 * files-x.el (modify-file-local-variable-message): New function.
10083 (modify-file-local-variable)
10084 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
10085 and call `modify-file-local-variable-message' when it's non-nil.
10086 (add-file-local-variable, delete-file-local-variable)
10087 (add-file-local-variable-prop-line)
10088 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
10089 and use it. (Bug#9820)
10091 2013-06-18 Juri Linkov <juri@jurta.org>
10093 * emulation/vi.el (vi-shell-op):
10094 * emulation/vip.el (vip-execute-com, ex-command):
10095 * emulation/viper-cmd.el (viper-exec-bang):
10096 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
10097 the call of `shell-command-on-region'. (Bug#14637)
10099 * simple.el (shell-command-on-region): Doc fix.
10101 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
10103 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
10106 2013-06-18 Glenn Morris <rgm@gnu.org>
10108 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
10110 * newcomment.el (comment-search-forward, comment-search-backward):
10111 Doc fix. (Bug#14376)
10113 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
10115 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
10116 (buffer-face-mode-invoke): Doc fix.
10118 2013-06-18 Matthias Meulien <orontee@gmail.com>
10120 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
10121 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
10123 2013-06-18 Glenn Morris <rgm@gnu.org>
10125 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
10126 Replace obsolete function generic-make-keywords with its expansion.
10128 * progmodes/python.el (ffap-alist): Declare.
10130 * textmodes/reftex.el (bibtex-mode-map): Declare.
10132 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
10134 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
10135 (package-unpack, package-unpack-single): Return the pkg-dir.
10136 (package-download-transaction): Use it to update package-alist.
10138 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
10140 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
10143 2013-06-17 Juri Linkov <juri@jurta.org>
10145 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
10147 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
10149 * emacs-lisp/package.el (package-load-descriptor):
10150 Remove `with-syntax-table' call, `read' doesn't need it.
10151 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
10153 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
10155 * startup.el (command-line): Expand package name returned by
10156 `package--description-file' (bug#14639).
10158 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
10160 * emacs-lisp/package.el (package-load-descriptor): Do not call
10161 `emacs-lisp-mode', just use its syntax table.
10163 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
10165 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
10166 `font-lock-extra-managed-props' if any prettifying keyword is added.
10167 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
10168 (prog-mode): Use `setq-local'.
10170 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
10172 * international/characters.el (standard-case-table): Set syntax of ?»
10173 and ?« to punctuation.
10175 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
10177 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
10178 Save relevant match data before calling `syntax-ppss' (bug#14595).
10180 2013-06-15 Juri Linkov <juri@jurta.org>
10182 * files-x.el (modify-file-local-variable-prop-line): Add local
10183 variables to the end of the existing comment on the first line.
10184 Use `file-auto-mode-skip' to skip interpreter magic line,
10185 and also skip XML declaration.
10187 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
10189 * startup.el (package--builtin-versions): New var.
10190 (package-subdirectory-regexp): Remove.
10191 (package--description-file): Hard code its value instead.
10193 * emacs-lisp/package.el: Don't activate packages older than builtin.
10194 (package-obsolete-list): Rename from package-obsolete-alist, and make
10195 it into a simple list of package-desc.
10196 (package-strip-version): Remove.
10197 (package-built-in-p): Use package--builtin-versions.
10198 (package-mark-obsolete): Simplify.
10199 (package-process-define-package): Mark it obsolete if older than the
10201 (package-handle-response): Use line-end-position.
10202 (package-read-archive-contents, package--download-one-archive):
10204 (package--add-to-archive-contents): Skip if older than the builtin or
10206 (package-menu-describe-package): Fix last change.
10207 (package-list-unversioned): New var.
10208 (package-menu--generate): Use it.
10210 * emacs-lisp/autoload.el: Manage package--builtin-versions.
10211 (autoload--insert-text, autoload--insert-cookie-text): New functions.
10212 (autoload-builtin-package-versions): New variable.
10213 (autoload-generate-file-autoloads): Use them.
10214 Remove the list of autoloaded functions/macros from the
10215 (autoload...) comments.
10217 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
10219 2013-06-15 Eli Zaretskii <eliz@gnu.org>
10221 * simple.el (line-move-partial): Don't jump to the next screen
10222 line as soon as it becomes visible. Instead, continue enlarging
10223 the vscroll until the portion of a tall screen line that's left on
10224 display is about the height of the frame's default font.
10227 2013-06-15 Glenn Morris <rgm@gnu.org>
10229 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
10230 compilation-error-regexp-alist void, or local while let-bound.
10232 * progmodes/make-mode.el (makefile-mode-syntax-table):
10233 Treat "=" as punctuation. (Bug#14614)
10235 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
10237 * help-fns.el (describe-variable):
10238 Add extra line for permanent-local variables.
10240 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
10242 * progmodes/scheme.el (scheme-font-lock-keywords-2):
10243 Add export, import, library. (Bug#9164)
10244 (library): Set indent function.
10246 2013-06-14 Glenn Morris <rgm@gnu.org>
10248 * term/xterm.el (xterm--query):
10249 Stop after first matching handler. (Bug#14615)
10251 2013-06-14 Ivan Kanis <ivan@kanis.fr>
10253 Add support for dired in saveplace.
10254 * dired.el (dired-initial-position-hook): New variable.
10255 (dired-initial-position): Call hook to place cursor position.
10256 * saveplace.el (save-place-to-alist): Add dired position.
10257 (save-place-dired-hook): New function.
10259 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
10261 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
10262 through a symbol rather than letrec.
10264 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
10265 (package-desc): Add `dir' field.
10266 (package-desc-full-name): New function.
10267 (package-load-descriptor): Combine the two arguments. Don't use `load'.
10268 (package-maybe-load-descriptor): Remove.
10269 (package-load-all-descriptors): Just call package-load-descriptor.
10270 (package--disabled-p): New function.
10271 (package-desc-vers, package-desc-doc): Remove aliases.
10272 (package--dir): Remove function.
10273 (package-activate): Check if a package is disabled.
10274 (package-process-define-package): New function, extracted from
10276 (define-package): Turn into a place holder.
10277 (package-unpack-single, package-tar-file-info):
10278 Use package--description-file.
10279 (package-compute-transaction): Use package--disabled-p.
10280 (package-download-transaction): Don't call
10281 package-maybe-load-descriptor since they're all loaded anyway.
10282 (package-install): Change argument to be a pkg-desc.
10283 (package-delete): Use a single pkg-desc argument.
10284 (describe-package-1): Use package-desc-dir instead of package--dir.
10285 Use package-desc property instead of package-symbol.
10286 (package-install-button-action): Adjust accordingly.
10287 (package--push): Rewrite.
10288 (package-menu--print-info): Adjust accordingly. Change the ID format
10290 (package-menu-describe-package, package-menu-get-status)
10291 (package-menu--find-upgrades, package-menu-mark-upgrades)
10292 (package-menu-execute, package-menu--name-predicate):
10293 Adjust accordingly.
10294 * startup.el (package--description-file): New function.
10295 (command-line): Use it.
10296 * emacs-lisp/package-x.el (package-upload-buffer-internal):
10297 Use package-desc-version.
10299 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
10300 (byte-compile-preprocess): Use it.
10301 (byte-compile-file-form-defalias): Try a bit harder to use macros we
10302 can't quite recognize.
10303 (byte-compile-add-to-list): Remove.
10304 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
10305 (cconv-closure-convert): Add assertion.
10307 * emacs-lisp/map-ynp.el: Use lexical-binding.
10308 (map-y-or-n-p): Remove unused vars `tail' and `object'.
10309 Factor out some repeated code.
10311 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
10313 * subr.el (with-eval-after-load): New macro.
10314 (eval-after-load): Allow form to be a function.
10315 take advantage of lexical-binding.
10316 (do-after-load-evaluation): Use dolist and adjust to new format.
10317 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
10319 2013-06-13 Juri Linkov <juri@jurta.org>
10321 * replace.el (perform-replace): Display "symbol " and other search
10322 modes from `isearch-message-prefix' in the *Help* buffer.
10324 * isearch.el (isearch-query-replace): Add " symbol" and other
10325 possible search modes from `isearch-message-prefix' to the prompt.
10326 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
10327 when reading a regexp to collect.
10329 2013-06-13 Juri Linkov <juri@jurta.org>
10331 * isearch.el (word-search-regexp): Match whitespace if the search
10332 string begins or ends in whitespace. The LAX arg is applied to
10333 both ends of the search string. Use `regexp-quote' and explicit
10334 \< and \> instead of \b. Use \` and \' instead of ^ and $.
10335 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
10336 boundaries are replaced with symbol boundaries, and characters
10337 between symbols match non-word non-symbol syntax. (Bug#14602)
10339 2013-06-13 Juri Linkov <juri@jurta.org>
10341 * isearch.el (isearch-del-char): Don't exceed the length of
10342 `isearch-string' by the prefix arg. (Bug#14563)
10344 2013-06-13 Juri Linkov <juri@jurta.org>
10346 * isearch.el (isearch-yank-word, isearch-yank-line)
10347 (isearch-char-by-name, isearch-quote-char)
10348 (isearch-printing-char, isearch-process-search-char):
10349 Add optional count prefix arg. (Bug#14563)
10351 * international/isearch-x.el
10352 (isearch-process-search-multibyte-characters):
10353 Add optional count prefix arg.
10355 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
10357 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
10358 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
10361 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
10363 * subr.el (set-temporary-overlay-map): Add on-exit argument.
10365 2013-06-13 Glenn Morris <rgm@gnu.org>
10367 * startup.el (tty-handle-args):
10368 Don't just discard "--" and anything after. (Bug#14608)
10370 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
10372 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
10374 Implement changes in Secret Service API. Make it backward compatible.
10375 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
10376 (secrets-create-item): Use it. Prefix properties with interface.
10378 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
10380 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
10381 (term-emulate-terminal): Respect term-suppress-hard-newline.
10383 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
10385 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
10386 Only remove a `thumb-file' overlay. (Bug#14548)
10388 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
10390 * mail/reporter.el (reporter-submit-bug-report):
10391 Handle missing package-name. (Bug#14600)
10393 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10395 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
10396 (reftex-citation-prompt, reftex-default-bibliography)
10397 (reftex-bib-or-thebib, reftex-get-bibfile-list)
10398 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
10399 (reftex-bib-sort-author, reftex-bib-sort-year)
10400 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
10401 (reftex-extract-bib-entries-from-thebibliography)
10402 (reftex-get-bibkey-default, reftex-get-bib-names)
10403 (reftex-parse-bibtex-entry, reftex-get-bib-field)
10404 (reftex-format-bib-entry, reftex-parse-bibitem)
10405 (reftex-format-bibitem, reftex-do-citation)
10406 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
10407 (reftex-restrict-bib-matches, reftex-extract-bib-file)
10408 (reftex-insert-bib-matches, reftex-format-citation)
10409 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
10410 (reftex-create-bibtex-file): Add docstrings, mostly by converting
10411 existing comments into docstrings.
10413 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
10415 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
10417 2013-06-12 Andreas Schwab <schwab@suse.de>
10419 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
10420 for auto-save files.
10422 2013-06-12 Glenn Morris <rgm@gnu.org>
10424 * ido.el (ido-delete-ignored-files): Remove.
10425 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
10426 Go back to calling ido-ignore-item-p directly.
10428 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
10430 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
10432 * ido.el (ido-delete-ignored-files): New function,
10433 split from ido-make-file-list-1.
10434 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
10435 (ido-make-file-list-1): Use ido-delete-ignored-files.
10437 2013-06-12 Leo Liu <sdl.web@gmail.com>
10439 * progmodes/octave.el (inferior-octave-startup)
10440 (inferior-octave-completion-table)
10441 (inferior-octave-track-window-width-change)
10442 (octave-eldoc-function-signatures, octave-help)
10443 (octave-find-definition): Use single quoted strings.
10444 (inferior-octave-startup-args): Change default value.
10445 (inferior-octave-startup): Do not hard code "-i" and
10446 "--no-line-editing".
10447 (inferior-octave-resync-dirs): Add optional arg NOERROR.
10448 (inferior-octave-directory-tracker): Use it.
10449 (octave-goto-function-definition): Robustify.
10450 (octave-help): Support highlighting operators in 'See also'.
10451 (octave-find-definition): Find subfunctions only in Octave mode.
10453 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
10455 * help-fns.el (help-fns--compiler-macro): If the handler function is
10456 named, then put a link to it.
10457 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
10458 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
10459 (cl-typep): Use it.
10460 (cl-eval-when): Simplify debug spec.
10461 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
10462 compiler-macro function instead of setting `compiler-macro-file'.
10464 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
10466 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
10467 * vc/vc-hooks.el (vc-stay-local): Doc fix.
10469 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
10470 Daniel Hackney <dan@haxney.org>
10472 First part of Daniel Hackney's patch to package.el.
10473 * emacs-lisp/package.el: Use defstruct.
10474 (package-desc): New, main struct.
10475 (package--bi-desc, package--ac-desc): New structs, used to describe the
10476 format in external files.
10477 (package-desc-vers): Replace with package-desc-version accessor.
10478 (package-desc-doc): Replace with package-desc-summary accessor.
10479 (package-activate-1): Remove `package' arg since the pkg-vec now
10481 (define-package): Use package-desc-from-define.
10482 (package-unpack-single): Change file-name arg to be a symbol.
10483 (package--add-to-archive-contents): Use package-desc-create and new
10484 accessor functions to package--ac-desc.
10485 (package-buffer-info, package-tar-file-info): Return a package-desc.
10486 (package-install-from-buffer): Remove `type' argument. Change pkg-info
10487 arg to be a package-desc.
10488 (package-install-file): Adjust accordingly. Use \' to match EOS.
10489 (package--from-builtin): New function.
10490 (describe-package-1, package-menu--generate): Use it.
10491 (package--make-autoloads-and-compile): Change name arg to be a symbol.
10492 (package-generate-autoloads): Idem and return the name of the file.
10493 * emacs-lisp/package-x.el (package-upload-buffer-internal):
10494 Change pkg-info arg to be a package-desc.
10495 Use package-make-ac-desc.
10496 (package-upload-file): Use \' to match EOS.
10497 * finder.el (finder-compile-keywords): Use package-make-builtin.
10499 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
10501 * vc/vc.el (vc-deduce-fileset): Change error message.
10502 (vc-read-backend): New function.
10503 (vc-next-action): Use it.
10505 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
10507 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
10508 (prolog-font-lock-keywords): Use regexp-opt instead.
10509 Don't manually highlight strings.
10510 (prolog-mode-variables): Simplify comment-start-skip.
10511 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
10513 * emacs-lisp/generic.el (generic--normalise-comments)
10514 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
10515 (generic-mode-set-comments): Use them.
10516 (generic-bracket-support): Use setq-local.
10517 (generic-make-keywords-list): Declare obsolete.
10519 2013-06-11 Glenn Morris <rgm@gnu.org>
10521 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
10522 Prettify after setting font-lock-defaults. (Bug#14574)
10524 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
10526 * replace.el (query-replace, occur-read-regexp-defaults-function)
10528 * subr.el (declare-function, number-sequence, local-set-key)
10529 (substitute-key-definition, locate-user-emacs-file)
10530 (with-silent-modifications, split-string, eval-after-load):
10531 Fix typos, remove unneeded backslashes and reflow some docstrings.
10533 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
10535 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
10536 default for Elisp files.
10538 2013-06-11 Glenn Morris <rgm@gnu.org>
10540 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
10541 although define-derived-mode was doing this anyway. (Bug#14583)
10543 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
10545 * allout.el (allout-encryption-plaintext-sanitization-regexps):
10546 Fix make-variable-buffer-local call to refer to the correct variable.
10548 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
10550 * eshell/em-term.el (eshell-visual-commands)
10551 (eshell-visual-subcommands, eshell-visual-options):
10552 Add summary line to docstrings. Add cross-references.
10554 2013-06-10 Glenn Morris <rgm@gnu.org>
10556 * epa.el (epa-read-file-name): New function. (Bug#14510)
10557 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
10559 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
10561 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
10562 output redirection to be ignored with visual commands.
10564 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
10566 * eshell/em-term.el (eshell-visual-command-p): New function.
10567 (eshell-term-initialize): Move long lambda to separate function
10568 eshell-visual-command-p.
10569 * eshell/em-dirs.el (eshell-dirs-initialise):
10570 * eshell/em-script.el (eshell-script-initialize):
10571 Add missing #' to lambda.
10573 2013-06-08 Leo Liu <sdl.web@gmail.com>
10575 * progmodes/octave.el (octave-add-log-current-defun): New function.
10576 (octave-mode): Set add-log-current-defun-function.
10577 (octave-goto-function-definition): Do not move point if not found.
10578 (octave-find-definition): Enhance to try subfunctions first.
10580 2013-06-08 Glenn Morris <rgm@gnu.org>
10582 * emacs-lisp/bytecomp.el (byte-compile-char-before)
10583 (byte-compile-backward-char, byte-compile-backward-word):
10584 Improve previous change, to handle non-explicit nil.
10586 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
10588 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
10589 (smie--opener/closer-at-point): New function.
10590 (smie--matching-block-data): Use it. Don't match from right after an
10591 opener or right before a closer. Obey smie-blink-matching-inners.
10592 Don't signal a mismatch for repeated inners like "switch..case..case".
10594 2013-06-07 Leo Liu <sdl.web@gmail.com>
10596 * progmodes/octave.el (octave-mode): Set comment-use-global-state
10598 (octave-function-header-regexp): Fix. (Bug#14570)
10599 (octave-help-mode-finish-hook, octave-help-mode-finish):
10600 Remove. Just use temp-buffer-show-hook.
10602 * newcomment.el (comment-search-backward): Revert last change.
10605 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
10607 2013-06-07 Eli Zaretskii <eliz@gnu.org>
10609 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
10610 through xargs, to avoid failure due to MS-Windows limitations on
10611 command-line length.
10613 2013-06-06 Glenn Morris <rgm@gnu.org>
10615 * font-lock.el (lisp-font-lock-keywords-2):
10616 Treat user-error like error.
10618 * emacs-lisp/bytecomp.el (byte-compile-char-before)
10619 (byte-compile-backward-char, byte-compile-backward-word):
10620 Handle explicit nil arguments. (Bug#14565)
10622 2013-06-05 Alan Mackenzie <acm@muc.de>
10624 * isearch.el (isearch-allow-prefix): New user option.
10625 (isearch-other-meta-char): Don't exit isearch when a prefix
10626 argument is typed whilst `isearch-allow-prefix' is non-nil.
10629 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10631 * autorevert.el (auto-revert-notify-handler): Use memq.
10632 Hide assertion failure.
10634 * skeleton.el: Use cl-lib.
10635 (skeleton-further-elements): Use defvar-local.
10636 (skeleton-insert): Use cl-progv.
10638 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
10640 * progmodes/prog-mode.el (prog-prettify-symbols)
10641 (prog-prettify-install): Update docstrings.
10643 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10645 * simple.el: Move all the prog-mode code to prog-mode.el.
10646 * progmodes/prog-mode.el: New file.
10647 * loadup.el: Add prog-mode.el.
10649 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
10651 * simple.el (prog-prettify-symbols): Add version.
10652 (prog-prettify-install): Add convenience function to prettify symbols.
10654 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
10655 (perl--augmented-font-lock-keywords-1)
10656 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
10657 variables and use it.
10659 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
10660 (cfengine3-mode): Remove unneeded variable and use it.
10662 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
10663 (lisp--augmented-font-lock-keywords-1)
10664 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
10665 Remove unneeded variables and use it.
10667 2013-06-05 João Távora <joaotavora@gmail.com>
10669 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
10670 to point when opening the connection. (Bug#14380)
10672 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10674 * subr.el (load-history-regexp, load-history-filename-element)
10675 (eval-after-load, after-load-functions, do-after-load-evaluation)
10676 (eval-next-after-load, display-delayed-warnings)
10677 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
10678 definition of save-match-data.
10679 (overriding-local-map): Remove accidental obsolescence declaration.
10681 * emacs-lisp/edebug.el (edebug-result): Move before first use.
10683 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
10685 Generalize symbol prettify support to prog-mode and implement it
10686 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
10687 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
10688 (prog--prettify-font-lock-compose-symbol)
10689 (prog-prettify-font-lock-symbols-keywords): New variables and
10690 functions to support symbol prettification.
10691 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
10692 (lisp--augmented-font-lock-keywords-1)
10693 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
10694 (lisp--prettify-symbols-alist): Implement prettify of lambda.
10695 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
10696 (cfengine3--prettify-symbols-alist, cfengine3-mode):
10697 Implement prettify of -> => :: strings.
10698 * progmodes/perl-mode.el (perl-prettify-symbols)
10699 (perl--font-lock-compose-symbol)
10700 (perl--font-lock-symbols-keywords): Move to prog-mode.
10701 (perl--prettify-symbols-alist): Prettify -> => :: strings.
10702 (perl-font-lock-keywords-1)
10703 (perl-font-lock-keywords-2): Remove explicit prettify support.
10704 (perl--augmented-font-lock-keywords)
10705 (perl--augmented-font-lock-keywords-1)
10706 (perl--augmented-font-lock-keywords-2, perl-mode):
10707 Implement prettify support.
10709 2013-06-05 Leo Liu <sdl.web@gmail.com>
10711 Re-implement smie matching block highlight using
10712 show-paren-data-function. (Bug#14395)
10713 * emacs-lisp/smie.el (smie-matching-block-highlight)
10714 (smie--highlight-matching-block-overlay)
10715 (smie--highlight-matching-block-lastpos)
10716 (smie-highlight-matching-block)
10717 (smie-highlight-matching-block-mode): Remove.
10718 (smie--matching-block-data-cache): New variable.
10719 (smie--matching-block-data): New function.
10720 (smie-setup): Use smie--matching-block-data for
10721 show-paren-data-function.
10723 * progmodes/octave.el (octave-mode-menu): Fix.
10724 (octave-find-definition): Skip garbage lines.
10726 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10728 Fix compilation error with simultaneous dynamic+lexical scoping.
10729 Add warning when a defvar appears after the first let-binding.
10730 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
10731 (byte-compile-close-variables): Initialize it.
10732 (byte-compile--declare-var): New function.
10733 (byte-compile-file-form-defvar)
10734 (byte-compile-file-form-define-abbrev-table)
10735 (byte-compile-file-form-custom-declare-variable): Use it.
10736 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
10737 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
10738 (byte-compile-bind): Handle dynamic bindings that shadow
10740 (byte-compile-unbind): Make arg non-optional.
10741 (byte-compile-let): Simplify.
10742 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
10743 (cconv--analyse-function, cconv-analyse-form): Populate it.
10744 Protect byte-compile-bound-variables to limit the scope of defvars.
10745 (cconv-analyse-form): Add missing rule for (defvar <foo>).
10746 Remove unneeded rule for `declare'.
10748 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
10749 so as to avoid depending on cl-adjoin at run-time.
10750 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
10752 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
10753 (macroexp--warn-and-return): Use it.
10755 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10757 * subr.el: Convert to lexical binding.
10758 (overriding-local-map): Make obsolete.
10759 (add-to-list): Doc fix. Add compiler macro.
10760 (read-key): Swap values of local maps.
10762 2013-06-05 Leo Liu <sdl.web@gmail.com>
10764 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
10766 2013-06-04 Leo Liu <sdl.web@gmail.com>
10768 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
10769 (compilation-auto-jump): Suppress the "Mark set" message to give
10770 way to exit message.
10772 2013-06-04 Alan Mackenzie <acm@muc.de>
10774 Remove faulty optimisation from indentation calculation.
10775 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
10776 search limit based on 2000 characters back from indent-point.
10778 2013-06-03 Tassilo Horn <tsdh@gnu.org>
10780 * eshell/em-term.el (cl-lib): Require `cl-lib'.
10782 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
10784 * emacs-lisp/lisp.el: Use lexical-binding.
10785 (lisp--local-variables-1, lisp--local-variables): New functions.
10786 (lisp--local-variables-completion-table): New var.
10787 (lisp-completion-at-point): Use it complete let-bound vars.
10789 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
10790 eagerly (bug#14422).
10792 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
10794 * autorevert.el (auto-revert-notify-enabled)
10795 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
10796 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
10797 (auto-revert-notify-handler): Handle also gfilenotify.
10799 * subr.el (file-notify-handle-event): New defun. Replacing ...
10800 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
10803 2013-06-03 Juri Linkov <juri@jurta.org>
10805 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
10806 `M-s h .'. (Bug#14427)
10808 * hi-lock.el (highlight-symbol-at-point): New alias for the new
10809 command `hi-lock-face-symbol-at-point'.
10810 (hi-lock-face-symbol-at-point): New command.
10811 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
10812 (hi-lock-menu): Add `highlight-symbol-at-point'.
10813 (hi-lock-mode): Doc fix.
10815 * isearch.el (isearch-forward-symbol-at-point): New command.
10816 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
10817 (isearch-highlight-regexp): Add a regexp which matches
10818 words/symbols for word/symbol mode.
10820 * subr.el (find-tag-default-bounds): New function with the body
10821 mostly moved from `find-tag-default'.
10822 (find-tag-default): Move most code to `find-tag-default-bounds',
10823 call it and apply `buffer-substring-no-properties' afterwards.
10825 2013-06-03 Tassilo Horn <tsdh@gnu.org>
10827 * eshell/em-term.el (eshell-term-initialize):
10828 Use `cl-intersection' rather than `intersection'.
10830 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
10832 * vc/log-view.el: Doc fix.
10833 (log-view-mode-map): Copy keymap from `special-mode-map'.
10835 2013-06-02 Eric Ludlam <zappo@gnu.org>
10837 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
10838 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
10839 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
10840 (eieio-unbound, eieio-default-superclass)
10841 (eieio--define-field-accessors, method-static, method-before)
10842 (method-primary, method-after, method-num-lists)
10843 (method-generic-before, method-generic-primary)
10844 (method-generic-after, method-num-slots)
10845 (eieio-specialized-key-to-generic-key)
10846 (eieio--check-type, class-v, class-p)
10847 (eieio-class-name, define-obsolete-function-alias)
10848 (eieio-class-parents-fast, eieio-class-children-fast)
10849 (same-class-fast-p, class-constructor, generic-p)
10850 (generic-primary-only-p, generic-primary-only-one-p)
10851 (class-option-assoc, class-option, eieio-object-p)
10852 (class-abstract-p, class-method-invocation-order)
10853 (eieio-defclass-autoload-map, eieio-defclass-autoload)
10854 (eieio-class-un-autoload, eieio-defclass)
10855 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
10856 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
10857 (eieio--defgeneric-init-form, eieio-defgeneric-form)
10858 (eieio-defgeneric-reset-generic-form)
10859 (eieio-defgeneric-form-primary-only)
10860 (eieio-defgeneric-reset-generic-form-primary-only)
10861 (eieio-defgeneric-form-primary-only-one)
10862 (eieio-defgeneric-reset-generic-form-primary-only-one)
10863 (eieio-unbind-method-implementations)
10864 (eieio--defmethod, eieio--typep)
10865 (eieio-perform-slot-validation, eieio-validate-slot-value)
10866 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
10867 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
10868 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
10869 (eieio-slot-name-index, eieio-class-slot-name-index)
10870 (eieio-set-defaults, eieio-initarg-to-attribute)
10871 (eieio-attribute-to-initarg, eieio-c3-candidate)
10872 (eieio-c3-merge-lists, eieio-class-precedence-c3)
10873 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
10874 (eieio-class-precedence-list, eieio-generic-call-methodname)
10875 (eieio-generic-call-arglst, eieio-generic-call-key)
10876 (eieio-generic-call-next-method-list)
10877 (eieio-pre-method-execution-functions, eieio-generic-call)
10878 (eieio-generic-call-primary-only, eieiomt-method-list)
10879 (eieiomt-optimizing-obarray, eieiomt-install)
10880 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
10881 (eieio-generic-form, eieio-defmethod, make-obsolete)
10882 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
10883 (defclass): Remove `eval-and-compile' from macro.
10884 (call-next-method, shared-initialize): Instead of using
10885 `scoped-class' variable, use new eieio--scoped-class, and
10886 eieio--with-scoped-class.
10887 (initialize-instance): Rename local variable 'scoped-class' to
10888 'this-class' to remove ambiguitity from old global.
10890 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
10892 (eieio--scoped-class-stack): New variable.
10893 (eieio--scoped-class): New fcn.
10894 (eieio--with-scoped-class): New scoping macro.
10895 (eieio-defclass): Use pushnew instead of add-to-list.
10896 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
10897 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
10898 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
10899 `scoped-class' variable, use new eieio--scoped-class, and
10900 eieio--with-scoped-class.
10902 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
10904 2013-06-02 Tassilo Horn <tsdh@gnu.org>
10906 * eshell/esh-ext.el (eshell-external-command): Pass args to
10907 `eshell-find-interpreter'.
10908 (eshell-find-interpreter): Add new second parameter ARGS.
10910 * eshell/em-script.el (eshell-script-initialize): Add second arg
10911 to the function added as MATCH to `eshell-interpreter-alist'.
10913 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
10914 the function added as MATCH to `eshell-interpreter-alist'.
10916 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
10917 (eshell-visual-options): New defcustom.
10918 (eshell-escape-control-x): Adapt docstring.
10919 (eshell-term-initialize): Test `eshell-visual-subcommands' and
10920 `eshell-visual-options' in addition to `eshell-visual-commands'.
10921 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
10923 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
10925 * progmodes/python.el (python-indent-block-enders): Add break,
10926 continue and raise keywords.
10928 2013-06-01 Glenn Morris <rgm@gnu.org>
10930 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
10932 Plain (f)boundp silences compilation warnings since Emacs 22.1.
10933 * progmodes/cc-cmds.el (delete-forward-p):
10934 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
10935 * progmodes/cc-engine.el (buffer-syntactic-context):
10936 * progmodes/cc-fonts.el (face-property-instance):
10937 * progmodes/cc-mode.el (set-keymap-parents):
10938 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
10939 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
10940 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
10941 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
10942 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
10944 * progmodes/cc-vars.el (other): Emacs has this widget since
10945 at least 21.1, so don't (re)define it.
10947 * eshell/em-cmpl.el (eshell-cmpl-initialize):
10948 Replace the obsolete alias pcomplete-arg-quote-list.
10950 2013-06-01 Leo Liu <sdl.web@gmail.com>
10952 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
10953 punctuation syntax.
10954 (inferior-octave-minimal-columns)
10955 (inferior-octave-last-column-width): New variables.
10956 (inferior-octave-track-window-width-change): New function.
10957 (inferior-octave-mode): Adjust column width so that Octave output,
10958 for example from 'ls', can fit into the window nicely.
10960 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
10962 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
10963 Highlight expansions inside regexp literals.
10965 2013-05-31 Glenn Morris <rgm@gnu.org>
10967 * obsolete/sym-comp.el (symbol-complete):
10968 Replace obsolete completion-annotate-function.
10970 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
10972 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
10974 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
10975 New function, checks if point is inside a literal that allows
10976 expression expansion.
10977 (ruby-syntax-propertize-expansion): Use it.
10978 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
10981 2013-05-30 Juri Linkov <juri@jurta.org>
10983 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
10985 (isearch-invisible): New variable.
10986 (isearch-forward): Doc fix.
10987 (isearch-mode): Set `isearch-invisible'
10988 to the value of `search-invisible'.
10989 (isearch-toggle-case-fold): Doc fix.
10990 (isearch-toggle-invisible): New command.
10991 (isearch-query-replace): Let-bind `search-invisible'
10992 to the value of `isearch-invisible'.
10993 (isearch-search): Use `isearch-invisible' instead of
10994 `search-invisible'. Let-bind `search-invisible'
10995 to the value of `isearch-invisible'. (Bug#11378)
10997 2013-05-30 Juri Linkov <juri@jurta.org>
10999 * replace.el (perform-replace): Avoid `isearch-range-invisible'
11000 call when `query-flag' is nil and `search-invisible' is non-nil.
11003 2013-05-30 Glenn Morris <rgm@gnu.org>
11005 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
11007 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
11008 (cc-require): Suppress spurious "noruntime" warnings.
11009 (cc-require-when-compile): Use fboundp, for sake of compiler.
11011 * progmodes/cc-mode.el: Move load of cc-vars before that of
11012 cc-langs (which in turn loads cc-vars), to quieten compiler.
11014 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
11016 * paren.el: Simplify the code.
11017 (show-paren-mode): Always start the timer.
11018 (show-paren--idle-timer): Rename from show-paren-idle-timer.
11019 (show-paren--overlay, show-paren--overlay-1): Rename from
11020 show-paren-overlay and show-paren-overlay-1, and initialize to an
11021 overlay rather than to nil.
11022 (show-paren-function): Misc cleanup and simplifications.
11024 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
11026 * paren.el (show-paren-data-function): New hook.
11027 (show-paren--default): New function, extracted from show-paren-function.
11028 (show-paren-function): Use show-paren-data-function.
11030 2013-05-30 Glenn Morris <rgm@gnu.org>
11032 * ielm.el (ielm-map, ielm-complete-symbol):
11033 Use completion-at-point rather than obsolete functions.
11034 (inferior-emacs-lisp-mode): Doc fix.
11035 Set completion-at-point-functions, rather than
11036 comint-dynamic-complete-functions.
11038 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
11039 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
11040 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
11042 * image.el (image-animated-p): Tweak definition.
11044 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
11045 (rlogin-process-connection-type): Tweak default. Add set-after.
11046 (rlogin-host): Doc fix.
11047 (rlogin): Tweak prompt.
11048 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
11050 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
11051 * progmodes/tcl.el (inferior-tcl-mode-map):
11052 Use completion-at-point rather than obsolete alias.
11054 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
11056 * minibuffer.el (read-file-name-completion-ignore-case):
11057 Move before completion--in-region, for eager macro expansion.
11059 2013-05-29 Juri Linkov <juri@jurta.org>
11061 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
11062 for total count of matching lines. Add `global-matches' for total
11063 count of matches. Rename `matches' to `lines' for count of
11064 matching lines. Add `matches' for count of matches.
11065 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
11066 to `prev-line' for line number of prev match endpt.
11067 Increment `matches' for every match. Print the number of
11068 matching lines in the header.
11069 (occur-context-lines): Rename `lines' to `curr-line'.
11070 Rename `prev-lines' to `prev-line'. (Bug#14017)
11072 2013-05-29 Juri Linkov <juri@jurta.org>
11074 * replace.el (perform-replace): Add `skip-read-only-count',
11075 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
11076 Increment them for corresponding conditions and report the number
11077 of skipped occurrences in the final message. (Bug#11746)
11078 (query-replace, query-replace-regexp, query-replace-regexp-eval)
11079 (replace-string, replace-regexp): Doc fix.
11081 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
11083 * emacs-lisp/trace.el (trace--read-args): Provide a default.
11085 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
11086 prog-mode-map (bug#14504).
11088 2013-05-29 Leo Liu <sdl.web@gmail.com>
11090 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
11091 (octave-help): Small simplification.
11093 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
11094 off the highlight first.
11096 2013-05-29 Glenn Morris <rgm@gnu.org>
11098 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
11099 Handle idlwave-last-system-routine-info-cons-cell being nil.
11101 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
11102 (idlwave-write-paths): Simplify via with-temp-buffer.
11104 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
11105 * emulation/cua-rect.el: Also load cua-base at run time.
11107 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
11108 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
11109 (cperl-imenu-on-info): Require imenu.
11111 2013-05-28 Alan Mackenzie <acm@muc.de>
11113 Handle "capitalised keywords" correctly.
11114 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
11116 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
11118 * eshell/em-unix.el: Add -r option to cp.
11120 2013-05-28 Glenn Morris <rgm@gnu.org>
11122 * vc/vc-arch.el (vc-exec-after): Declare.
11123 (vc-switches): Autoload.
11124 * vc/vc-bzr.el: No need to require vc when compiling.
11125 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
11126 (vc-resynch-buffer, vc-dir-refresh): Declare.
11127 (vc-setup-buffer, vc-switches): Autoload.
11128 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
11129 (vc-resynch-buffer): Declare.
11130 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
11131 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
11132 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
11133 (grep-read-regexp, grep-read-files, grep-expand-template)
11134 (vc-dir-refresh): Declare.
11135 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
11136 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
11137 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
11138 * vc/vc-mtn.el (vc-exec-after): Declare.
11139 (vc-switches): Autoload.
11140 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
11141 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
11142 (vc-file-tree-walk): Declare.
11143 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
11144 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
11145 (vc-tag-precondition, vc-rename-master): Autoload.
11146 * vc/vc-svn.el (vc-exec-after): Declare.
11147 (vc-switches, vc-setup-buffer): Autoload.
11148 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
11150 (vc-resynch-buffer): Declare.
11152 * obsolete/fast-lock.el (byte-compile-warnings):
11153 Don't warn about obsolete features in this obsolete file.
11155 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
11156 Move definition before use.
11158 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
11159 (dun-unix-verbs): Remove dun-zippy.
11160 (dun-zippy): Remove function.
11162 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
11164 2013-05-27 Juri Linkov <juri@jurta.org>
11166 * replace.el (replace-search): New function with code moved out
11167 from `perform-replace'.
11168 (replace-highlight, replace-dehighlight): Move function definitions
11169 up closer to `replace-search'. (Bug#11746)
11171 2013-05-27 Juri Linkov <juri@jurta.org>
11173 * replace.el (perform-replace): Ignore invisible matches.
11174 In addition to checking `query-replace-skip-read-only', also
11175 filter out matches by calling `run-hook-with-args-until-failure'
11176 on `isearch-filter-predicates', and also check `search-invisible'
11177 for t or call `isearch-range-invisible'.
11178 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
11180 2013-05-27 Juri Linkov <juri@jurta.org>
11182 * isearch.el (isearch-filter-predicates): Rename from
11183 `isearch-filter-predicate'. Doc fix. (Bug#11378)
11184 (isearch-message-prefix): Display text from the property
11185 `isearch-message-prefix' of the currently active filters.
11186 (isearch-search): Don't compare `isearch-filter-predicate' with
11187 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
11188 on `isearch-filter-predicates'. Also check `search-invisible' for t
11189 or call `isearch-range-invisible'.
11190 (isearch-filter-visible): Make obsolete.
11191 (isearch-lazy-highlight-search):
11192 Call `run-hook-with-args-until-failure' on
11193 `isearch-filter-predicates' and use `isearch-range-invisible'.
11195 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
11196 `isearch-filter-predicates' instead of `funcall'ing
11197 `isearch-filter-predicate'.
11198 (Info-mode): Set `Info-isearch-filter' to
11199 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
11201 * dired-aux.el (dired-isearch-filter-predicate-orig):
11203 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
11204 (dired-isearch-filenames-end): Add and remove
11205 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
11206 instead of changing the value of `isearch-filter-predicate'.
11207 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
11208 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
11209 Put property `isearch-message-prefix' to "filename " on
11210 `dired-isearch-filter-filenames'.
11212 * wdired.el (wdired-change-to-wdired-mode):
11213 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
11214 locally instead of changing `isearch-filter-predicate'.
11215 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
11217 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
11219 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
11220 return the commit hash (Bug#14459). Also set the
11221 `vc-git-detached' property.
11222 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
11223 (vc-git-mode-line-string): Use the same help-echo format whether
11224 in detached mode or not, because we know the actual revision now.
11225 When in detached mode, shorten the revision to 7 chars.
11227 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
11229 * emacs-lisp/easy-mmode.el (define-minor-mode):
11230 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
11231 mode hook and provide a docstring.
11233 2013-05-27 Alan Mackenzie <acm@muc.de>
11235 Remove spurious syntax-table text properties inserted by C-y.
11236 * progmodes/cc-mode.el (c-after-change): Also clear hard
11237 syntax-table property with value nil.
11239 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
11241 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
11242 when reading the events; the buffer layout shall not be changed.
11244 2013-05-27 Leo Liu <sdl.web@gmail.com>
11246 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
11248 (inferior-octave-directory-tracker): Automatically re-sync
11250 (octave-help): Improve handling of 'See also'.
11252 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
11254 * doc-view.el: Minor naming convention tweaks.
11255 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
11257 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
11258 even if there's no `display' property yet (bug#14435).
11260 2013-05-25 Eli Zaretskii <eliz@gnu.org>
11262 * subr.el (unmsys--file-name): Rename from reveal-filename.
11264 * Makefile.in (custom-deps, finder-data, autoloads)
11265 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
11266 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
11267 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
11269 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
11271 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
11272 error-completion on the first 2 args of condition-case (bug#14446).
11275 2013-05-25 Leo Liu <sdl.web@gmail.com>
11277 * comint.el (comint-previous-matching-input): Do not flood the
11278 *Messages* buffer with trivial messages.
11280 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
11282 * progmodes/flymake.el (flymake-nop): Don't return a string.
11283 (flymake-set-at): Fix typo.
11285 * simple.el (read--expression): New function, extracted from
11286 eval-expression. Set completion-at-point-functions (bug#14465).
11287 (eval-expression, eval-minibuffer): Use it.
11289 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
11291 * progmodes/flymake.el (flymake-save-buffer-in-file)
11292 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
11293 (flymake-selected-frame, flymake-log, flymake-ins-after)
11294 (flymake-set-at, flymake-get-buildfile-from-cache)
11295 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
11296 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
11297 Refine the doc string.
11298 (flymake-get-file-name-mode-and-masks): Reformat.
11299 (flymake-get-real-file-name-function): Fix a minor bug.
11301 2013-05-24 Juri Linkov <juri@jurta.org>
11303 * progmodes/grep.el (grep-mode-font-lock-keywords):
11304 Support =linenumber= format used by git-grep for lines with
11305 function names. (Bug#13549)
11307 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
11309 * progmodes/octave.el (octave-smie-rules): Return nil rather than
11310 0 after a semi-colon; it works better for smie-auto-fill.
11311 (octave--indent-new-comment-line): New function.
11312 (octave-indent-new-comment-line): Use it (indirectly).
11313 (octave-mode): Don't disable smie-auto-fill. Use add-function to
11314 modify comment-line-break-function.
11316 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
11317 (smie-setup): Use add-function to set it.
11319 2013-05-24 Sam Steingold <sds@gnu.org>
11321 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
11322 argument (before the `interactive' argument).
11324 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
11326 * image-mode.el (image-mode-winprops): Add winprops to
11327 image-mode-winprops-alist before running
11328 image-mode-new-window-functions.
11329 * doc-view.el (doc-view-new-window-function): Don't delay
11330 doc-view-goto-page via timers (bug#14435).
11332 2013-05-24 Tassilo Horn <tsdh@gnu.org>
11334 * doc-view.el: Integrate with desktop.el. (Bug#14435)
11335 (doc-view-desktop-save-buffer): New function.
11336 (doc-view-restore-desktop-buffer): New function.
11337 (desktop-buffer-mode-handlers):
11338 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
11340 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
11341 `desktop-save-buffer' function.
11343 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
11345 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
11346 (tramp-gvfs-file-name-handler): Raise a user error when
11347 `tramp-gvfs-enabled' is nil.
11348 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
11349 Do not raise a user error when loading package. (Bug#14447)
11351 * net/xesam.el: Move to obsolete/.
11353 2013-05-24 Glenn Morris <rgm@gnu.org>
11355 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
11357 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
11359 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
11360 (Info-find-node, Man-getpage-in-background): Declare.
11362 * mail/unrmail.el (unrmail):
11363 Replace obsolete detect-coding-with-priority.
11365 * net/socks.el (socks-split-string): Use this rather than split-string.
11366 (socks-nslookup-host): Update for above change.
11367 (dynamic-choice, s5-dynamic-choice-match)
11368 (s5-dynamic-choice-match-inline, s5-widget-value-create):
11369 Comment out unused code.
11371 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
11372 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
11373 (gud-tooltip-echo-area): Make obsolete.
11374 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
11376 * progmodes/js.el (js--optimize-arglist): Declare.
11378 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
11380 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
11381 (ediff-window-C): Declare.
11383 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
11384 Tweak requires to silence compiler.
11386 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
11387 (he-search-string, he-tried-table, he-expand-list)
11388 (he-init-string, he-string-member, he-substitute-string)
11389 (he-reset-string): Declare.
11391 * obsolete/options.el (list-options): Use custom-variable-p,
11392 rather than obsolete alias.
11394 2013-05-23 Sam Steingold <sds@gnu.org>
11396 * simple.el (shell-command-on-region): Pass the `replace' argument
11397 down to `call-process-region' to comply with the doc as reported on
11398 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
11400 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
11402 * emacs-lisp/smie.el (smie-indent-forward-token)
11403 (smie-indent-backward-token): Handle string tokens (bug#14381).
11405 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11407 * ielm.el (ielm-menu): New menu.
11408 (inferior-emacs-lisp-mode): Set comment-start.
11410 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11412 * textmodes/reftex.el (reftex-ref-style-toggle):
11413 Fix deactivate action.
11415 * textmodes/reftex-vars.el (reftex-ref-style-alist):
11416 Add cleveref macros.
11418 * textmodes/reftex-parse.el
11419 (reftex-locate-bibliography-files): Accept options for
11420 bibliography commands.
11421 * textmodes/reftex-vars.el (reftex-bibliography-commands):
11422 Add addbibresource. Basic Biblatex support.
11424 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
11426 * net/tramp-gvfs.el (top):
11427 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
11428 when loading package. (Bug#14447)
11430 2013-05-23 Glenn Morris <rgm@gnu.org>
11432 * progmodes/js.el: No need to load comint when compiling.
11433 (ring-insert, comint-send-string, comint-send-input)
11434 (comint-last-input-end, ido-chop): Declare.
11436 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
11437 * vc/ediff-mult.el: Adjust requires.
11438 (ediff-directories-internal, ediff-directory-revisions-internal)
11439 (ediff-patch-file-internal): Declare.
11440 * vc/ediff-ptch.el: Adjust requires.
11441 (ediff-use-last-dir, ediff-buffers-internal): Declare.
11442 (ediff-find-file): Autoload.
11443 * vc/ediff-util.el: No need to load ediff when compiling.
11444 (ediff-regions-internal): Declare.
11445 * vc/ediff-wind.el: Adjust requires.
11446 (ediff-compute-toolbar-width): Define when compiling.
11447 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
11448 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
11449 (dired-get-filename, dired-get-marked-files)
11450 (ediff-last-dir-patch, ediff-patch-default-directory)
11451 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
11452 (ediff-patch-buffer-internal): Declare.
11454 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
11455 (ispell-process, ispell-buffer-local-words, lm-summary)
11456 (lm-section-start, lm-section-end): Declare.
11457 (checkdoc-ispell-init): Simplify.
11459 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
11460 (he-string-member, he-reset-string, he-substitute-string): Declare.
11462 * eshell/em-ls.el: Adjust requires.
11463 (eshell-glob-regexp): Declare.
11464 * eshell/em-tramp.el: Adjust requires.
11465 (eshell-parse-command): Autoload.
11466 * eshell/em-xtra.el: Adjust requires.
11467 (eshell-parse-command): Autoload.
11468 * eshell/esh-ext.el: Adjust requires.
11469 (eshell-parse-command, eshell-close-handles): Autoload.
11470 * eshell/esh-io.el: Adjust requires.
11471 (eshell-output-filter): Autoload.
11472 * eshell/esh-util.el: No need to load tramp when compiling.
11473 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
11475 (eshell-parse-ange-ls): Require ange-ftp and tramp.
11476 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
11477 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
11478 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
11479 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
11480 * eshell/esh-opt.el, eshell/esh-proc.el:
11481 * eshell/esh-var.el: Adjust requires.
11482 * eshell/eshell.el: Do not require esh-util twice.
11483 (eshell-add-input-to-history): Declare.
11484 (eshell-command): Check history module is active before using it.
11486 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
11488 2013-05-22 Leo Liu <sdl.web@gmail.com>
11490 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
11492 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
11494 * autorevert.el (auto-revert-notify-add-watch)
11495 (auto-revert-notify-handler): Add `attrib' for the inotify case,
11496 it indicates changes in file modification time.
11498 2013-05-22 Glenn Morris <rgm@gnu.org>
11500 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
11501 Always delete the autoloaded function from the noruntime and
11502 unresolved functions lists.
11504 * allout.el: No need to load epa, epg, overlay when compiling.
11505 (epg-context-set-passphrase-callback, epg-list-keys)
11506 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
11507 (epg-key-user-id-list): Declare.
11509 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
11510 (viper-set-parsing-style-toggling-macro)
11511 (viper-set-emacs-state-searchstyle-macros):
11512 Use called-interactively-p on Emacs.
11513 (viper-looking-back): Make it an obsolete alias. Update callers.
11514 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
11515 Use looking-back rather than viper-looking-back.
11516 (viper-tmp-insert-at-eob, viper-enlarge-region)
11517 (viper-read-string-with-history, viper-register-to-point)
11518 (viper-append-to-register, viper-change-state-to-vi)
11519 (viper-backward-char-carefully, viper-forward-char-carefully)
11520 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
11521 (viper-change-state-to-emacs): Declare.
11522 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
11523 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
11524 * emulation/viper-mous.el: Do not load viper-cmd.
11525 (viper-backward-char-carefully, viper-forward-char-carefully)
11526 (viper-forward-word, viper-adjust-window): Declare.
11528 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
11530 * progmodes/idlw-help.el (idlwave-help-fontify):
11531 Use called-interactively-p.
11533 * term/w32console.el (w32-get-console-codepage)
11534 (w32-get-console-output-codepage): Declare.
11536 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
11537 Remove unnecessary declarations.
11538 (dframe-message): Doc fix.
11540 * info.el (dframe-select-attached-frame, dframe-current-frame):
11543 * speedbar.el (speedbar-message): Make it an obsolete alias.
11544 Update all callers.
11545 (speedbar-with-attached-buffer)
11546 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
11547 (speedbar-with-writable): Use backquote.
11548 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
11549 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
11550 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
11551 rather than speedbar- aliases.
11552 * mail/rmail.el: Load dframe rather than speedbar when compiling.
11553 (speedbar-make-specialized-keymap, speedbar-insert-button)
11554 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
11555 (speedbar-do-function-pointer): Declare.
11556 (rmail-speedbar-button, rmail-speedbar-find-file)
11557 (rmail-speedbar-move-message):
11558 Use dframe-with-attached-buffer rather than speedbar- alias.
11559 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
11560 (dframe-message, speedbar-make-specialized-keymap)
11561 (speedbar-add-expansion-list, speedbar-mode-functions-list)
11562 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
11563 (speedbar-insert-button, dframe-select-attached-frame)
11564 (dframe-maybee-jump-to-attached-frame)
11565 (speedbar-change-initial-expansion-list)
11566 (speedbar-previously-used-expansion-list-name): Declare.
11567 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
11568 Use dframe-message, dframe-with-attached-buffer rather than
11570 (gud-sentinel): Silence compiler.
11571 * progmodes/vhdl-mode.el (speedbar-refresh)
11572 (speedbar-do-function-pointer, speedbar-add-supported-extension)
11573 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
11574 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
11575 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
11576 (speedbar-file-lists, speedbar-make-tag-line)
11577 (speedbar-line-directory, speedbar-goto-this-file)
11578 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
11579 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
11580 (speedbar-make-button, speedbar-reset-scanners)
11581 (speedbar-files-item-info, speedbar-line-text)
11582 (speedbar-find-file-in-frame, speedbar-set-timer)
11583 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
11584 (speedbar-with-writable): Do not (re)define it.
11585 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
11586 rather than speedbar- alias.
11588 2013-05-21 Leo Liu <sdl.web@gmail.com>
11590 * progmodes/octave.el (octave-mode-menu): Update and re-organize
11592 (octave-mode): Tweak fill-nobreak-predicate.
11593 (inferior-octave-startup): Check process to avoid infinite loop.
11594 (inferior-octave): Pop to buffer first to show abornmal process
11597 2013-05-21 Glenn Morris <rgm@gnu.org>
11599 * printing.el (pr-menu-bar): Define when compiling.
11601 2013-05-21 Leo Liu <sdl.web@gmail.com>
11603 * progmodes/octave.el (octave-auto-fill): Remove.
11604 (octave-indent-new-comment-line): Improve.
11605 (octave-mode): Use auto fill mode through
11606 comment-line-break-function and fill-nobreak-predicate.
11607 (octave-goto-function-definition): Support DEFUN_DLD.
11608 (octave-beginning-of-defun): Small tweak.
11609 (octave-help): Show parent directory.
11611 2013-05-21 Glenn Morris <rgm@gnu.org>
11613 * files.el (dired-unmark):
11614 * progmodes/gud.el (gdb-input): Update declarations.
11616 * calculator.el (electric, ehelp): No need to load when compiling.
11617 (Electric-command-loop, electric-describe-mode): Declare.
11619 * doc-view.el (doc-view-current-converter-processes): Move before use.
11621 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11622 Move MODE-set-explicitly definition before use.
11624 * international/mule-diag.el (mule-diag):
11625 Don't use obsolete window-system-version.
11627 * mail/feedmail.el (smtpmail): No need to load when compiling.
11628 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
11630 * mail/mail-utils.el (rfc822): No need to load when compiling.
11631 (rfc822-addresses): Autoload it.
11632 (mail-strip-quoted-names): Trivial simplification.
11634 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
11635 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
11637 * net/snmp-mode.el (tempo): Don't duplicate requires.
11639 * progmodes/prolog.el (info): No need to load when compiling.
11640 (comint): Require before shell requires it.
11641 (Info-goto-node): Autoload it.
11642 (Info-follow-nearest-node): Declare.
11643 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
11645 * textmodes/artist.el (picture-mode-exit): Declare.
11647 * textmodes/reftex-parse.el (reftex-parse-from-file):
11648 Trivial rewrite so the compiler can parse it better.
11650 2013-05-20 Leo Liu <sdl.web@gmail.com>
11652 * progmodes/octave.el (octave-help-mode-map)
11653 (octave-help-mode-finish-hook): New variables.
11654 (octave-help-mode, octave-help-mode-finish): New functions.
11655 (octave-help): Use octave-help-mode.
11657 2013-05-20 Glenn Morris <rgm@gnu.org>
11659 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
11661 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
11663 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
11664 start at point, so that expansion starting right after opening
11665 slash in a regexp is recognized.
11666 (ruby-syntax-before-regexp-re): New defvar, extracted from
11667 ruby-syntax-propertize-function. Since the value of this regexp
11668 is looked up at runtime now, we should be able to turn
11669 `ruby-syntax-methods-before-regexp' into a defcustom later.
11670 (ruby-syntax-propertize-function): Split regexp matching into two
11671 parts, for opening and closing slashes. That allows us to skip
11672 over string interpolations and support multiline regexps.
11673 Don't call `ruby-syntax-propertize-expansions', instead use another rule
11674 for them, which calls `ruby-syntax-propertize-expansion'.
11675 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
11676 call to `ruby-syntax-propertize-function'.
11677 (ruby-syntax-propertize-expansion): Extracted from
11678 `ruby-syntax-propertize-expansions'. Handles one expansion.
11679 (ruby-syntax-propertize-percent-literal): Leave point right after
11680 the percent symbol, so that the expression expansion rule can
11681 propertize the contents.
11682 (ruby-syntax-propertize-heredoc): Leave point at bol following the
11684 (ruby-syntax-propertize-expansions): Remove.
11686 2013-05-18 Juri Linkov <juri@jurta.org>
11688 * man.el (Man-default-man-entry): Remove `-' from the end
11689 of the default value. (Bug#14400)
11691 2013-05-18 Glenn Morris <rgm@gnu.org>
11693 * comint.el (comint-password-prompt-regexp):
11694 Allow "password for XXX" where XXX contains colons (eg https://...).
11696 2013-05-18 Leo Liu <sdl.web@gmail.com>
11698 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
11699 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
11700 (octave-source-directories): Don't check process.
11701 (octave-source-directories, octave-find-definition): Doc fix.
11703 2013-05-18 Glenn Morris <rgm@gnu.org>
11705 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
11706 Remove backspace/delete bindings. (Bug#14392)
11708 * cus-dep.el (custom-make-dependencies): Sort the output.
11709 (custom-versions-load-alist): Convert comment to doc.
11711 2013-05-17 Leo Liu <sdl.web@gmail.com>
11713 * newcomment.el (comment-search-backward): Stricter in finding
11714 comment start. (Bug#14303)
11716 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
11717 (octave-comment-start-skip): Properly anchored.
11719 2013-05-17 Leo Liu <sdl.web@gmail.com>
11721 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
11722 Clean up when turned off. (Bug#14395)
11723 (smie--highlight-matching-block-overlay): No longer buffer-local.
11724 (smie-highlight-matching-block): Adjust.
11726 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
11728 Doc string fix for "nanoseconds" (Bug#14406).
11729 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
11730 Fix doc string typo that had "nanoseconds" instead of "microseconds".
11732 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
11734 * calc/calc-units.el (math-extract-units): Preserve powers
11737 2013-05-17 Leo Liu <sdl.web@gmail.com>
11739 * subr.el (delete-consecutive-dups): New function.
11740 * ido.el (ido-set-matches-1): Use it.
11741 * progmodes/octave.el (inferior-octave-completion-table): Use it.
11742 * ido.el (ido-remove-consecutive-dups): Remove.
11744 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11746 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
11747 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
11748 regexp-opt's `words'.
11750 2013-05-16 Leo Liu <sdl.web@gmail.com>
11752 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
11753 (smie--highlight-matching-block-overlay)
11754 (smie--highlight-matching-block-lastpos)
11755 (smie--highlight-matching-block-timer): New variables.
11756 (smie-highlight-matching-block): New function.
11757 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
11758 (smie-setup): Conditionally enable smie-blink-matching-open.
11760 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
11762 Sync with upstream verilog-mode r840.
11763 * progmodes/verilog-mode.el (verilog-mode-version)
11764 (verilog-mode-release-date): Update.
11765 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
11766 (verilog-sig-tieoff): Fix string error on
11767 AUTORESET with colon define, bug594. Reported by Andrew Hou.
11768 (verilog-read-decls): Fix parameters confusing
11769 AUTOINST interfaces, bug565. Reported by Leith Johnson.
11771 2013-05-16 Eli Zaretskii <eliz@gnu.org>
11773 * subr.el (reveal-filename): New function.
11775 * loadup.el: Compute Emacs executable versions on MS-Windows,
11776 where executables have the .exe extension. Add a hard link
11777 emacs-XX.YY.ZZ.exe on MS-Windows.
11779 * Makefile.in (XARGS_LIMIT): New variable.
11780 (custom-deps, finder-data, autoloads)
11781 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
11782 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
11783 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
11784 (compile-main): Limit xargs according to $(XARGS_LIMIT).
11786 2013-05-16 Leo Liu <sdl.web@gmail.com>
11788 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
11789 (octave-mode-menu, octave-mode-map): Remove its uses.
11791 2013-05-16 Reto Zimmermann <reto@gnu.org>
11793 Sync with upstream vhdl mode v3.34.2.
11794 * progmodes/vhdl-mode.el: Use `push' throughout.
11795 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
11796 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
11797 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
11798 (vhdl-actual-generic-name): New option to derive actual generic name.
11799 (vhdl-port-paste-signals): Replace formal by actual generics.
11800 (vhdl-beautify): New name for old group vhdl-align. Update users.
11801 (vhdl-beautify-options): New option.
11802 (vhdl-last-input-event): New compat alias. Use throughout.
11803 (vhdl-goto-line): Replace user level function `goto-line'.
11804 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
11805 vhdl-fix-statement-buffer.
11806 (vhdl-create-mode-menu): Add some entries.
11807 (vhdl-align-region-groups): Respect vhdl-beautify-options.
11808 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
11809 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
11810 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
11811 to force statements on one line.
11812 (vhdl-remove-trailing-spaces-region):
11813 New, split from vhdl-remove-trailing-spaces.
11814 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
11815 Respect vhdl-beautify-options.
11816 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
11817 (vhdl-update-sensitivity-list): Not add with index if exists without.
11818 Not include array index with signal. Ignore keywords in comments.
11819 (vhdl-get-visible-signals): Regexp tweaks.
11820 (vhdl-template-component-inst): Handle empty library.
11821 (vhdl-template-type): Add template for 'enum' type.
11822 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
11823 Use vhdl-replace-string.
11824 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
11825 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
11826 (vhdl-speedbar-initialize): Update for above name change.
11827 (vhdl-compose-wire-components): Fix in handling of constants.
11828 (vhdl-error-regexp-emacs-alist): New variable.
11829 (vhdl-error-regexp-add-emacs): New function;
11830 adds support for new compile.el (Emacs 22+)
11831 (vhdl-generate-makefile-1): Change target order for single lib. units.
11832 Allow use of absolute file names.
11834 2013-05-16 Leo Liu <sdl.web@gmail.com>
11836 * simple.el (prog-indent-sexp): Indent enclosing defun.
11838 2013-05-15 Glenn Morris <rgm@gnu.org>
11840 * cus-start.el (show-trailing-whitespace): Move to editing basics.
11841 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
11842 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
11843 (whitespace-highlight): Move to whitespace group.
11845 * comint.el (comint-source):
11846 * pcmpl-linux.el (pcmpl-linux):
11847 * shell.el (shell-faces):
11848 * eshell/esh-opt.el (eshell-opt):
11849 * international/ccl.el (ccl): Remove empty custom groups.
11851 * completion.el (dynamic-completion-mode):
11852 * jit-lock.el (jit-lock-debug-mode):
11853 * minibuffer.el (completion-in-region-mode):
11854 * type-break.el (type-break-mode-line-message-mode)
11855 (type-break-query-mode):
11856 * emulation/tpu-edt.el (tpu-edt-mode):
11857 * progmodes/subword.el (global-subword-mode, global-superword-mode):
11858 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
11859 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
11861 * term/xterm.el (xterm): Change parent group to terminals.
11863 * master.el (master): Remove empty custom group.
11864 (master-mode): Remove unused :group argument.
11865 * textmodes/refill.el (refill): Remove empty custom group.
11866 (refill-mode): Remove unused :group argument.
11868 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
11870 * cus-dep.el: Provide a feature.
11871 (custom-make-dependencies): Ignore dotfiles (dir-locals).
11872 Don't mistakenly ignore files whose basenames match a basename
11873 from preloaded-file-list (eg cedet/ede/simple.el).
11874 Add a fallback method for getting :group.
11876 2013-05-15 Juri Linkov <juri@jurta.org>
11878 * isearch.el (isearch-char-by-name): Rename from
11879 `isearch-insert-char-by-name'. Doc fix.
11880 (isearch-forward): Mention `isearch-char-by-name' in
11881 the docstring. (Bug#13348)
11883 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
11884 `exit-minibuffer' instead of
11885 `isearch-nonincremental-exit-minibuffer'.
11886 (isearch-edit-string): Remove mention of
11887 `isearch-nonincremental-exit-minibuffer' from docstring.
11888 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
11889 (isearch-forward-exit-minibuffer)
11890 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
11892 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
11894 * loadup.el: Just use unversioned DOC.
11896 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
11897 literals as extending to EOB.
11898 (nxml-last-fontify-end): Remove unused variable.
11899 (nxml-after-change1): Use with-silent-modifications.
11900 (nxml-extend-after-change-region): Simplify.
11901 (nxml-extend-after-change-region1): Remove function.
11902 (nxml-after-change1): Don't adjust for dependent regions.
11903 (nxml-fontify-matcher): Simplify.
11904 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
11905 (xmltok-add-dependent): Remove function.
11906 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
11907 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
11908 (xmltok-scan-prolog-after-processing-instruction-open): Treat
11909 unclosed <[[, <?, comment, and other literals as extending to EOB.
11910 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
11911 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
11913 (rng-do-some-validation-1): Don't mark dependent regions.
11914 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
11915 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
11916 (nxml-clear-dependent-regions): Remove functions.
11917 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
11918 (nxml-ensure-scan-up-to-date):
11919 Don't clear&mark dependent regions.
11921 2013-05-15 Leo Liu <sdl.web@gmail.com>
11923 * progmodes/octave.el (octave-goto-function-definition):
11924 Improve and fix callers.
11926 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
11928 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
11929 the setter (bug#14387).
11931 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
11932 surrounding group (bug#14402).
11934 2013-05-14 Juri Linkov <juri@jurta.org>
11936 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
11939 2013-05-14 Glenn Morris <rgm@gnu.org>
11941 * progmodes/f90.el (f90-imenu-generic-expression):
11942 Fix typo in 2013-05-08 change. (Bug#14402)
11944 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
11946 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
11947 Remove signals for which replies are never received.
11949 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
11951 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
11952 (gdb-handler-alist, gdb-handler-number): Remove variables.
11953 (gdb-handler-list): New variable.
11954 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
11955 (gdb-pending-handler-p, gdb-handle-reply)
11956 (gdb-remove-all-pending-triggers): New functions.
11957 (gdb-discard-unordered-replies): New defcustom.
11958 (gdb-handler): New defstruct.
11959 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
11960 instead of gdb-pending-triggers. Update docstring.
11961 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
11962 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
11963 (gdb-var-update-handler, def-gdb-auto-update-trigger)
11964 (def-gdb-auto-update-handler, gdb-get-changed-registers)
11965 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
11966 (gdb-frame-handler): Pending triggers are now automatically managed.
11967 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
11969 (gdb-input): Automatically handles pending triggers. Update docstring.
11970 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
11971 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
11973 (gdb-done-or-error): Now use gdb-handle-reply.
11975 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
11977 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
11980 2013-05-14 Glenn Morris <rgm@gnu.org>
11982 * subr.el (user-emacs-directory-warning): New option.
11983 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
11985 2013-05-14 Leo Liu <sdl.web@gmail.com>
11987 * progmodes/octave.el (octave-font-lock-keywords): Fix error
11989 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
11990 (octave-font-lock-texinfo-comment): Fix invalid search bound
11991 error: wrong side of point.
11993 2013-05-14 Glenn Morris <rgm@gnu.org>
11995 * progmodes/flymake.el (flymake-xml-program): New option.
11996 (flymake-xml-init): Use it.
11998 * term/xterm.el: Provide a feature.
12000 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
12002 2013-05-13 Glenn Morris <rgm@gnu.org>
12004 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
12005 Add compat aliases as a hack workaround. (Bug#14384)
12007 2013-05-13 Leo Liu <sdl.web@gmail.com>
12009 * progmodes/octave.el (octave-indent-comment): Fix indentation for
12011 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
12013 (octave-comment-start-skip): Include %!.
12014 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
12016 2013-05-12 Leo Liu <sdl.web@gmail.com>
12018 * progmodes/octave.el (inferior-octave-startup): Store the value
12019 of __octave_srcdir__ for octave-source-directories.
12020 (inferior-octave-check-process): New function refactored out of
12021 inferior-octave-send-list-and-digest.
12022 (octave-source-directories)
12023 (octave-find-definition-filename-function): New variables.
12024 (octave-source-directories)
12025 (octave-find-definition-default-filename): New functions.
12026 (octave-find-definition): Improve to find functions implemented in C++.
12028 2013-05-12 Glenn Morris <rgm@gnu.org>
12030 * calendar/diary-lib.el (diary-outlook-format-1):
12031 Don't include dayname in the output. (Bug#14349)
12033 2013-05-11 Glenn Morris <rgm@gnu.org>
12035 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
12037 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
12038 Treat cc-provide like provide.
12040 2013-05-11 Kevin Ryde <user42@zip.com.au>
12042 * cus-dep.el (custom-make-dependencies):
12043 Use generated-autoload-load-name for the sake of files such
12044 such cedet/semantic/bovine/c.el, where the base file name
12045 is not in load-path. (Bug#5277)
12047 2013-05-11 Glenn Morris <rgm@gnu.org>
12049 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
12052 2013-05-11 Leo Liu <sdl.web@gmail.com>
12054 * progmodes/octave.el (octave-indent-comment): Improve.
12055 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
12056 (octave-eldoc-function-signatures, octave-eldoc-function):
12058 (octave-mode, inferior-octave-mode): Add eldoc support.
12060 2013-05-11 Richard Stallman <rms@gnu.org>
12062 * epa.el (epa-decrypt-file): Take output file name as argument
12063 and read it using `interactive'.
12065 2013-05-11 Leo Liu <sdl.web@gmail.com>
12067 * progmodes/octave.el (octave-beginning-of-line)
12068 (octave-end-of-line): Check before using up-list because it jumps
12069 out of more syntactic contructs since moving to smie.
12070 (octave-indent-comment): New function.
12071 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
12072 (octave-begin-keywords, octave-end-keywords)
12073 (octave-reserved-words, octave-smie-bnf-table)
12074 (octave-smie-rules): Add new keywords from Octave 3.6.4.
12076 2013-05-11 Glenn Morris <rgm@gnu.org>
12078 * faces.el (internal-face-x-get-resource):
12079 * frame.el (ns-display-monitor-attributes-list):
12080 * calc/calc-aent.el (math-to-radians-2):
12081 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
12084 * calc/calc-menu.el: Make it loadable in isolation.
12086 * net/eudcb-bbdb.el: Make it loadable without bbdb.
12087 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
12088 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
12089 (eudc-bbdb-query-internal): Require 'bbdb.
12091 * lpr.el (lpr-headers-switches):
12092 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
12094 * progmodes/sql.el (sql-login-params): Fix and improve :type.
12096 * emulation/edt-mapper.el: In batch mode, error rather than hang.
12098 * term.el (term-set-escape-char): Make it idempotent.
12100 2013-05-10 Leo Liu <sdl.web@gmail.com>
12102 * progmodes/octave.el (inferior-octave-completion-table):
12103 No longer a function and all uses changed. Use cache to speed up
12104 completion due to bug#11906.
12105 (octave-beginning-of-defun): Re-write to be more general.
12107 2013-05-10 Glenn Morris <rgm@gnu.org>
12109 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
12111 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
12113 * comint.el (comint-redirect-send-command-to-process): Use :around
12114 rather than :override for comint-redirect-filter.
12115 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
12116 Call it instead of comint-redirect-original-filter-function (which
12117 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
12119 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
12121 * frame.el (display-monitor-attributes-list): Add NS case.
12122 (ns-display-monitor-attributes-list): Declare.
12124 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
12126 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
12128 2013-05-09 Glenn Morris <rgm@gnu.org>
12130 * international/fontset.el (vertical-centering-font-regexp):
12131 Set standard-value.
12133 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
12135 * bookmark.el (bookmark-search-delay):
12136 * cus-start.el (vertical-centering-font-regexp):
12137 * ps-mule.el (ps-mule-font-info-database-default):
12138 * ps-print.el (ps-default-fg, ps-default-bg):
12139 * type-break.el (type-break-good-break-interval):
12140 * whitespace.el (whitespace-indentation-regexp)
12141 (whitespace-space-after-tab-regexp):
12142 * emacs-lisp/testcover.el (testcover-1value-functions)
12143 (testcover-noreturn-functions, testcover-progn-functions)
12144 (testcover-prog1-functions):
12145 * emulation/viper-init.el (viper-emacs-state-cursor-color):
12146 * eshell/em-glob.el (eshell-glob-translate-alist):
12147 * play/tetris.el (tetris-tty-colors):
12148 * progmodes/cpp.el (cpp-face-default-list):
12149 * progmodes/flymake.el (flymake-allowed-file-name-masks):
12150 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
12151 (idlwave-help-browser-generic-args):
12152 * progmodes/make-mode.el (makefile-special-targets-list):
12153 * progmodes/python.el (python-shell-virtualenv-path):
12154 * progmodes/verilog-mode.el (verilog-active-low-regexp)
12155 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
12156 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
12157 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
12158 * textmodes/reftex-vars.el (reftex-format-label-function):
12159 * textmodes/remember.el (remember-diary-file): Fix custom types.
12161 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
12164 2013-05-09 Leo Liu <sdl.web@gmail.com>
12166 * progmodes/octave.el (inferior-octave-completion-at-point):
12167 Restore file completion. (Bug#14300)
12168 (inferior-octave-startup): Fix incorrect highlighting for the
12171 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
12173 * progmodes/ruby-mode.el: First cut at SMIE support.
12174 (ruby-use-smie): New var.
12175 (ruby-smie-grammar): New constant.
12176 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
12177 (ruby-smie--forward-token, ruby-smie--backward-token)
12178 (ruby-smie-rules): New functions.
12179 (ruby-mode-variables): Setup SMIE if applicable.
12181 2013-05-08 Eli Zaretskii <eliz@gnu.org>
12183 * simple.el (line-move-visual): Signal beginning/end of buffer
12184 only if vertical-motion moved less than it was requested. Avoids
12185 silly incorrect error messages when there are display strings with
12186 multiple newlines at EOL.
12188 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
12190 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
12191 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
12192 (prolog-char-quote-workaround):
12193 * progmodes/cperl-mode.el (cperl-under-as-char):
12194 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
12196 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
12198 (vhdl-mode-syntax-table-init): Remove.
12200 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
12203 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
12205 (ld-script-font-lock-keywords):
12206 Change regexps to use things like \_< and \_>.
12208 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
12209 Change all regexps to use things like \_< and \_>.
12211 * progmodes/autoconf.el (autoconf-definition-regexp)
12212 (autoconf-font-lock-keywords, autoconf-current-defun-function):
12213 Handle a _ with symbol syntax.
12214 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
12216 * progmodes/ada-mode.el (ada-mode-abbrev-table):
12217 Consolidate declaration.
12218 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
12220 (ada-create-syntax-table): Remove.
12221 (ada-capitalize-word): Don't mess with the syntax of "_" since it
12222 already has the right syntax nowadays.
12223 (ada-goto-next-word): Don't change the syntax of "_".
12225 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
12228 2013-05-08 Sam Steingold <sds@gnu.org>
12230 * thingatpt.el (thing-at-point): Accept optional second argument
12231 NO-PROPERTIES to strip the text properties from the return value.
12232 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
12233 to `thing-at-point' instead of stripping the properties ourselves.
12234 Also, when `thing-at-point' fails to find a url, prepend "http://"
12235 to the filename at point on the assumption that the user is
12236 pointing at something like gnu.org/gnu.
12238 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
12240 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
12241 * faces.el (crm-separator):
12242 Silence byte-compiler.
12244 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
12245 (tool-bar-map): Remove unneeded defvars.
12247 2013-05-08 Leo Liu <sdl.web@gmail.com>
12249 Re-work a fix for bug#10994 based on Le Wang's patch.
12250 * ido.el (ido-remove-consecutive-dups): New helper.
12251 (ido-completing-read): Use it.
12252 (ido-chop): Revert fix for bug#10994.
12254 2013-05-08 Adam Spiers <emacs@adamspiers.org>
12256 * cus-edit.el (custom-save-variables):
12257 Pretty-print long values. (Bug#14187)
12259 2013-05-08 Glenn Morris <rgm@gnu.org>
12261 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
12262 (m4-mode-syntax-table): Init in the defvar.
12263 (m4-mode-abbrev-table): Let define-derived-mode define it.
12265 2013-05-08 Tom Tromey <tromey@redhat.com>
12267 * progmodes/m4-mode.el (m4-mode-syntax-table):
12268 Do not treat "_" as word constituent. (Bug#14167)
12270 2013-05-07 Glenn Morris <rgm@gnu.org>
12272 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
12273 Remove explicit eshell-isearch-cancel-map.
12275 * progmodes/f90.el (f90-smart-end-names): New option.
12276 (f90-smart-end): Doc fix.
12277 (f90-end-block-optional-name): New constant.
12278 (f90-block-match): Respect f90-smart-end-names.
12280 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
12282 * progmodes/octave.el (octave-smie-forward-token): Be more careful
12283 about implicit semi-colons (bug#14218).
12285 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
12287 * frame.el (display-monitor-attributes-list)
12288 (frame-monitor-attributes): New functions.
12290 2013-05-06 Leo Liu <sdl.web@gmail.com>
12292 * progmodes/octave.el (octave-syntax-propertize-function): Change
12293 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
12294 (octave-font-lock-keywords): Use octave-operator-regexp.
12295 (octave-completion-at-point): Rename from
12296 octave-completion-at-point-function.
12297 (inferior-octave-directory-tracker): Robustify.
12298 (octave-text-functions): Remove and fix its uses. No such things
12301 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
12303 * emacs-lisp/trace.el (trace--display-buffer): New function.
12304 (trace-make-advice): Use it.
12306 2013-05-06 Juri Linkov <juri@jurta.org>
12308 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
12309 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
12311 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
12312 in the help string. (Bug#12985)
12314 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
12316 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
12318 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
12320 * progmodes/perl-mode.el: Add support for here documents.
12321 (perl-syntax-propertize-function): Match here-doc markers.
12322 (perl-syntax-propertize-special-constructs): Find their end.
12323 (perl-imenu-generic-expression): Use [:alnum:].
12325 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
12326 (advice--add-function): Refresh the advice if already present
12329 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
12331 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
12333 2013-05-06 Glenn Morris <rgm@gnu.org>
12335 * w32-fns.el (w32-charset-info-alist): Declare.
12337 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
12338 of its defcustom properties.
12339 (eshell-cmpl-initialize): No need to load pcomplete.
12341 * generic-x.el: No need to require comint when compiling.
12343 * net/eudc-export.el: Make it loadable without bbdb.
12344 (top-level): Use require rather than load-library.
12345 (eudc-create-bbdb-record, eudc-bbdbify-phone)
12346 (eudc-batch-export-records-to-bbdb)
12347 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
12350 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
12352 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
12353 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
12354 some tweaks, instead.
12356 2013-05-05 Leo Liu <sdl.web@gmail.com>
12358 * progmodes/octave.el (octave-font-lock-keywords)
12359 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
12360 (inferior-octave-send-list-and-digest): Improve error message.
12361 (octave-mode, inferior-octave-mode): Use setq-local.
12362 (octave-help): Set info-lookup-mode.
12364 2013-05-05 Richard Stallman <rms@gnu.org>
12366 * vc/compare-w.el (compare-windows-whitespace):
12367 Treat no-break space as whitespace.
12369 * mail/rmailsum.el (rmail-summary-rmail-update):
12370 Detect empty summary and don't change selected message.
12371 (rmail-summary-goto-msg): Likewise.
12373 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
12374 Doc fixes, rename args.
12376 2013-05-05 Alan Mackenzie <acm@muc.de>
12378 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
12380 2013-05-05 Juri Linkov <juri@jurta.org>
12382 * info.el (Info-read-subfile): Use (point-min) instead of (point)
12383 to not add the length of the summary segment to the return value.
12386 2013-05-05 Leo Liu <sdl.web@gmail.com>
12388 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
12389 (inferior-octave-output-filter): Remove.
12390 (octave-send-region, inferior-octave-startup): Fix callers.
12391 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
12392 (octave-binary-file-extensions): New user variable.
12393 (octave-find-definition): Confirm if opening binary files.
12394 (octave-help-file): Use octave-find-definition to get the binary
12396 (octave-help): Adjust for octave-help-file change.
12398 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
12400 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
12401 Merge the two entries that handle function definitions.
12402 (pascal--syntax-propertize): New const.
12403 (pascal-mode): Use it. Use setq-local.
12405 2013-05-04 Glenn Morris <rgm@gnu.org>
12407 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
12408 (diary-from-outlook): Respect diary-from-outlook-function.
12410 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
12412 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
12413 Move the declaration from C.
12414 (read-minibuffer, eval-minibuffer): Move from C.
12415 (completion-setup-function): Avoid minibuffer-completion-contents.
12417 2013-05-03 Leo Liu <sdl.web@gmail.com>
12419 * progmodes/octave.el (octave-font-lock-keywords): Do not
12420 dehighlight 'end' in comments or strings.
12421 (octave-completing-read, octave-goto-function-definition):
12423 (octave-help-buffer): New user variable.
12424 (octave-help-file, octave-help-function): New button types.
12425 (octave-help): New command and bind it to C-h ;.
12426 (octave-find-definition): New command and bind it to M-.
12427 (user-error): Alias to error if not defined.
12429 2013-05-02 Leo Liu <sdl.web@gmail.com>
12431 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
12433 (octave-font-lock-keywords): Include [ and {.
12435 2013-05-02 Leo Liu <sdl.web@gmail.com>
12437 * progmodes/octave.el (inferior-octave-startup-file): Change default.
12438 (inferior-octave): Remove calling comint-mode and return the buffer.
12439 (inferior-octave-startup): Cosmetic changes.
12441 2013-05-02 Leo Liu <sdl.web@gmail.com>
12443 * progmodes/octave.el (octave-syntax-propertize-function):
12444 Include the case when ' is at line beginning. (Bug#14336)
12446 2013-05-02 Glenn Morris <rgm@gnu.org>
12448 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
12449 * desktop.el (vc-dir-mode): Just autoload it here.
12451 2013-05-02 Alan Mackenzie <acm@muc.de>
12453 Eliminate variable c-standard-font-lock-fontify-region-function.
12454 * progmodes/cc-mode.el
12455 (c-standard-font-lock-fontify-region-function): Remove.
12456 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
12458 2013-05-01 Leo Liu <sdl.web@gmail.com>
12460 * progmodes/octave.el: Compatible with older emacs-24 releases.
12461 (inferior-octave-has-built-in-variables): Remove. Built-in
12462 variables were removed from Octave in 2007.
12463 (inferior-octave-startup): Fix uses.
12464 (comint-line-beginning-position): Remove compatibility code for
12467 2013-05-01 Juri Linkov <juri@jurta.org>
12469 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
12471 2013-05-01 Juri Linkov <juri@jurta.org>
12473 * comint.el (comint-previous-matching-input): Don't print message
12474 "History item: %d" when `isearch-mode' is active.
12475 (comint-history-isearch-message): Print message "History item: %d"
12476 when `comint-input-ring-index' is not empty and this function is
12477 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
12479 2013-05-01 Leo Liu <sdl.web@gmail.com>
12481 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
12482 definitions. Use completion-at-point to insert keywords.
12483 (octave-abbrev-start): Remove.
12484 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
12486 2013-04-30 Leo Liu <sdl.web@gmail.com>
12488 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
12491 2013-04-30 Alan Mackenzie <acm@muc.de>
12493 Handle arbitrarily long C++ member initialisation lists.
12494 * progmodes/cc-engine.el (c-back-over-member-initializers):
12496 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
12497 (most) member init lists.
12499 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12501 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
12504 2013-04-30 Leo Liu <sdl.web@gmail.com>
12506 * progmodes/octave.el (octave-variables): Remove. No builtin
12507 variables any more. All converted to functions.
12508 (octave-font-lock-keywords, octave-completion-at-point-function):
12510 (octave-font-lock-texinfo-comment): New user variable.
12511 (octave-texinfo-font-lock-keywords): New variable for texinfo
12513 (octave-function-comment-block): New face.
12514 (octave-font-lock-texinfo-comment): New function.
12515 (octave-mode): Font lock texinfo comment block.
12517 2013-04-29 Leo Liu <sdl.web@gmail.com>
12519 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
12520 indexing expression.
12521 (octave-continuation-string): Do not use \.
12522 (inferior-octave-complete-impossible): Remove.
12523 (inferior-octave-completion-table)
12524 (inferior-octave-completion-at-point): Remove its uses.
12525 (inferior-octave-startup): completion_matches was introduced to
12526 Octave in 1996 so safe to assume it.
12527 (octave-function-file-comment): Improve to follow how Octave does it.
12528 (octave-update-function-file-comment): Tweak.
12530 2013-04-29 Leo Liu <sdl.web@gmail.com>
12532 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
12533 (inferior-octave-startup): Remove inferior-octave-startup-hook.
12534 (octave-function-file-comment): Fix typo.
12535 (octave-sync-function-file-names): Use read-char-choice.
12537 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
12539 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
12540 to t for the less important warnings.
12542 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
12544 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
12546 2013-04-27 Glenn Morris <rgm@gnu.org>
12548 * vc/log-view.el (log-view-current-entry):
12549 Treat "---" separator lines as part of the following rev. (Bug#14169)
12551 2013-04-27 Juri Linkov <juri@jurta.org>
12553 * subr.el (read-number): Doc fix about using it by interactive
12554 code letter `n'. (Bug#14254)
12556 2013-04-27 Juri Linkov <juri@jurta.org>
12558 * desktop.el (desktop-auto-save-timeout): New option.
12559 (desktop-file-checksum): New variable.
12560 (desktop-save): Add optional arg `auto-save' and don't auto-save
12561 if nothing changed.
12562 (desktop-auto-save-timer): New variable.
12563 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
12564 (after-init-hook): Call `desktop-auto-save-set-timer'.
12565 Suggested by Reuben Thomas <rrt@sc3d.org> in
12566 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
12568 2013-04-27 Leo Liu <sdl.web@gmail.com>
12570 * progmodes/octave.el (octave-function-file-p)
12571 (octave-skip-comment-forward, octave-function-file-comment)
12572 (octave-update-function-file-comment): New functions.
12573 (octave-mode-map): Bind C-c ; to
12574 octave-update-function-file-comment.
12575 (octave-mode-menu): Add octave-update-function-file-comment.
12576 (octave-mode, inferior-octave-mode): Fix doc-string.
12577 (octave-insert-defun): Conform to Octave's coding convention.
12580 * files.el (basic-save-buffer): Don't let errors in
12581 before-save-hook prevent saving buffer.
12583 2013-04-20 Roland Winkler <winkler@gnu.org>
12585 * faces.el (read-face-name): Use completing-read if arg multiple
12588 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
12590 * ls-lisp.el (ls-lisp-insert-directory): If no files are
12591 displayed, move point to after the totals line.
12592 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
12595 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
12597 * emacs-lisp/package.el (package-autoload-ensure-default-file):
12598 Add current dir to the load-path.
12599 (package-generate-autoloads): Don't rely on
12600 autoload-ensure-default-file.
12602 2013-04-26 Reuben Thomas <rrt@sc3d.org>
12604 * textmodes/remember.el (remember-store-in-files): Document that
12605 the file name format is passed to `format-time-string'.
12607 2013-04-26 Leo Liu <sdl.web@gmail.com>
12609 * progmodes/octave.el (octave-sync-function-file-names): New function.
12610 (octave-mode): Use it in before-save-hook.
12612 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
12614 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
12617 * progmodes/octave.el (octave-smie-forward-token): Properly skip
12618 \n and comment, even if it's not an implicit ; (bug#14218).
12620 2013-04-26 Glenn Morris <rgm@gnu.org>
12622 * subr.el (read-number): Once more use `read' rather than
12623 `string-to-number', to trap non-numeric input. (Bug#14254)
12625 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
12627 * emacs-lisp/syntax.el (syntax-propertize-multiline):
12628 Use `syntax-multiline' text property consistently instead of
12629 `font-lock-multiline'. (Bug#14237)
12631 2013-04-26 Glenn Morris <rgm@gnu.org>
12633 * emacs-lisp/shadow.el (list-load-path-shadows):
12634 No longer necessary to check for duplicate simple.el, since
12635 2012-07-07 change to init_lread to not include installation lisp
12636 directories in load-path when running uninstalled. (Bug#14270)
12638 2013-04-26 Leo Liu <sdl.web@gmail.com>
12640 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
12641 (octave-mode, inferior-octave-mode): Use setq-local.
12642 (octave-not-in-string-or-comment-p): Rename to
12643 octave-in-string-or-comment-p.
12644 (octave-in-comment-p, octave-in-string-p)
12645 (octave-in-string-or-comment-p): Replace defsubst with defun.
12647 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
12649 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
12651 2013-04-25 Bastien Guerry <bzg@gnu.org>
12653 * textmodes/remember.el (remember-data-directory)
12654 (remember-directory-file-name-format): Fix custom types.
12656 2013-04-25 Leo Liu <sdl.web@gmail.com>
12658 * progmodes/octave.el (octave-completion-at-point-function):
12659 Make use of inferior octave process.
12660 (octave-initialize-completions): Remove.
12661 (inferior-octave-completion-table): New function.
12662 (inferior-octave-completion-at-point): Use it.
12663 (octave-completion-alist): Remove.
12665 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12667 * progmodes/opascal.el: Use font-lock and syntax-propertize.
12668 (opascal-mode-syntax-table): New var.
12669 (opascal-literal-kind, opascal-is-literal-end)
12670 (opascal-literal-token-at): Rewrite.
12671 (opascal--literal-start-re, opascal-font-lock-keywords)
12672 (opascal--syntax-propertize): New constants.
12673 (opascal-font-lock-defaults): Adjust.
12674 (opascal-mode): Use them. Set comment-<foo> variables as well.
12675 (delphi-comment-face, opascal-comment-face, delphi-string-face)
12676 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
12677 (delphi-other-face, opascal-other-face): Remove face variables.
12678 (opascal-save-state): Remove macro.
12679 (opascal-fontifying-progress-step): Remove constant.
12680 (opascal--ignore-changes): Remove var.
12681 (opascal-set-token-property, opascal-parse-next-literal)
12682 (opascal-is-stable-literal, opascal-complete-literal)
12683 (opascal-is-literal-start, opascal-face-of)
12684 (opascal-parse-region, opascal-parse-region-until-stable)
12685 (opascal-fontify-region, opascal-after-change)
12686 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
12687 (opascal-debug-parse-region, opascal-debug-parse-window)
12688 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
12689 (opascal-debug-fontify-buffer): Remove.
12690 (opascal-debug-mode-map): Adjust accordingly.
12692 2013-04-25 Leo Liu <sdl.web@gmail.com>
12694 Merge octave-mod.el and octave-inf.el into octave.el with some
12696 * progmodes/octave.el: New file renamed from octave-mod.el.
12697 * progmodes/octave-inf.el: Merged into octave.el.
12698 * progmodes/octave-mod.el: Renamed to octave.el.
12700 2013-04-25 Tassilo Horn <tsdh@gnu.org>
12702 * textmodes/reftex-vars.el
12703 (reftex-label-ignored-macros-and-environments): New defcustom.
12705 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
12707 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12709 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
12710 (smie-indent-keyword): Improve the check to ensure that the next
12711 comment is really on the same line.
12712 (smie-indent-comment): Don't align with a subsequent closer (or eob).
12714 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
12715 semi-colons if the line is not otherwise empty (bug#14218).
12717 2013-04-25 Glenn Morris <rgm@gnu.org>
12719 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
12721 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
12723 * progmodes/opascal.el (opascal-set-token-property): Rename from
12724 opascal-set-text-properties and only set `token' (bug#14134).
12725 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
12726 (opascal-literal-text-properties): Remove.
12727 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
12730 2013-04-24 Reuben Thomas <rrt@sc3d.org>
12732 * textmodes/remember.el (remember-handler-functions): Add an
12733 option for a new handler `remember-store-in-files'.
12734 (remember-data-directory, remember-directory-file-name-format):
12736 (remember-store-in-files): New function to store remember notes
12737 as separate files within a directory.
12739 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
12741 * progmodes/compile.el (compilation-next-error-function):
12742 Pass "formats" to compilation-find-file (bug#11777).
12744 2013-04-24 Glenn Morris <rgm@gnu.org>
12746 * vc/vc-bzr.el (vc-bzr-print-log):
12747 * vc/vc-hg.el (vc-hg-print-log):
12748 * vc/vc-svn.el (vc-svn-print-log):
12749 Fix START-REVISION with LIMIT != 1. (Bug#14168)
12751 * vc/vc-bzr.el (vc-bzr-print-log):
12752 * vc/vc-cvs.el (vc-cvs-print-log):
12753 * vc/vc-git.el (vc-git-print-log):
12754 * vc/vc-hg.el (vc-hg-print-log):
12755 * vc/vc-mtn.el (vc-mtn-print-log):
12756 * vc/vc-rcs.el (vc-rcs-print-log):
12757 * vc/vc-sccs.el (vc-sccs-print-log):
12758 * vc/vc-svn.el (vc-svn-print-log):
12759 * vc/vc.el (vc-print-log-internal): Doc fixes.
12761 2013-04-23 Glenn Morris <rgm@gnu.org>
12763 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
12764 Remove venerable code attempting to avoid substitute-command-keys.
12766 2013-04-23 Tassilo Horn <tsdh@gnu.org>
12768 * textmodes/reftex-vars.el (reftex-label-regexps):
12769 Call `reftex-compile-variables' after changes to this variable.
12771 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
12773 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
12774 Use lexical-binding.
12775 (jit-lock-force-redisplay): Use markers, check buffer's continued
12776 existence and beware narrowed buffers.
12777 (jit-lock-fontify-now): Adjust call accordingly.
12779 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
12781 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
12782 to avoid misleading the user.
12784 2013-04-22 Leo Liu <sdl.web@gmail.com>
12786 * info-look.el: Prefer latex2e.info. (Bug#14240)
12788 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
12790 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
12792 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
12793 * net/tramp.el (tramp-call-process): ... here.
12794 (tramp-set-completion-function, tramp-parse-putty):
12795 * net/tramp-adb.el (tramp-adb-execute-adb-command):
12796 * net/tramp-gvfs.el (tramp-gvfs-send-command):
12797 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
12798 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
12799 (tramp-call-local-coding-command): Use `tramp-call-process'
12800 instead of `tramp-compat-call-process'.
12802 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
12803 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
12804 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
12805 (tramp-find-inline-compress): Improve traces.
12806 (tramp-maybe-send-script): Check for Perl binary.
12807 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
12809 2013-04-22 Daiki Ueno <ueno@gnu.org>
12811 * epg.el (epg-context-pinentry-mode): New function.
12812 (epg-context-set-pinentry-mode): New function.
12813 (epg--start): Pass --pinentry-mode option to gpg command.
12815 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
12817 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
12818 `comint-dynamic-complete' is obsolete since 24.1, replaced by
12819 `completion-at-point'. (Bug#13774)
12821 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
12822 default key binding for `describe-distribution' has been moved to
12823 `C-h C-o'. (Bug#13970)
12825 2013-04-21 Glenn Morris <rgm@gnu.org>
12827 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
12829 (vc-print-log): Clarify interactive prompt.
12831 2013-04-20 Glenn Morris <rgm@gnu.org>
12833 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
12834 No longer include timestamp etc information.
12836 2013-04-20 Roland Winkler <winkler@gnu.org>
12838 * faces.el (read-face-name): Bug fix, return just one face if arg
12839 multiple is nil. (Bug#14209)
12841 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
12843 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
12844 (remove-function): Autoload.
12846 * comint.el (comint-redirect-original-filter-function): Remove.
12847 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
12848 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
12849 (vc-cvs-annotate-command):
12850 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
12851 * progmodes/prolog.el (prolog-consult-compile):
12852 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
12853 Use add/remove-function instead.
12854 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
12855 (gud-tooltip-process-output, gud-tooltip-tips):
12856 Use add/remove-function instead.
12857 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
12858 (scheme-interaction-mode, exit-scheme-interaction-mode):
12859 Use add/remove-function instead.
12861 * vc/vc-dispatcher.el: Use lexical-binding.
12862 (vc--process-sentinel): Rename from vc-process-sentinel.
12863 Change last arg to be the code to run. Don't use vc-previous-sentinel
12864 and vc-sentinel-commands any more.
12865 (vc-exec-after): Allow code to be a function. Use add/remove-function.
12866 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
12868 2013-04-19 Masatake YAMATO <yamato@redhat.com>
12870 * progmodes/sh-script.el (sh-imenu-generic-expression):
12871 Handle function names with a single character. (Bug#14111)
12873 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
12875 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
12876 for subroutines defined in an eval (bug#14182).
12878 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12880 * bookmark.el (bookmark-completing-read): Improve handling of empty
12881 string (bug#14176).
12883 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
12885 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
12887 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
12889 New faster Imenu implementation (bug#14058).
12890 * progmodes/python.el:
12891 (python-imenu-prev-index-position):
12892 (python-imenu-format-item-label-function)
12893 (python-imenu-format-parent-item-label-function)
12894 (python-imenu-format-parent-item-jump-label-function):
12896 (python-imenu-format-item-label)
12897 (python-imenu-format-parent-item-label)
12898 (python-imenu-format-parent-item-jump-label)
12899 (python-imenu--put-parent, python-imenu--build-tree)
12900 (python-imenu-create-index, python-imenu-create-flat-index)
12901 (python-util-popn): New functions.
12902 (python-mode): Set imenu-create-index-function to
12903 python-imenu-create-index.
12905 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
12907 * winner.el (winner-active-region): Use region-active-p, activate-mark
12908 and deactivate-mark (bug#14225).
12910 * simple.el (deactivate-mark): Don't inline it.
12912 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
12914 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
12916 2013-04-18 Tassilo Horn <tsdh@gnu.org>
12918 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
12919 file extensions from the archive-mode entry in order to prefer
12920 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
12922 2013-04-18 Leo Liu <sdl.web@gmail.com>
12924 * bindings.el (help-event-list): Add ?\?.
12926 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
12928 * subr.el (with-wrapper-hook): Declare obsolete.
12929 * simple.el (filter-buffer-substring-function): New hook.
12930 (filter-buffer-substring): Use it.
12931 (filter-buffer-substring-functions): Mark obsolete.
12932 * minibuffer.el (completion-in-region-function): New hook.
12933 (completion-in-region): Use it.
12934 (completion-in-region-functions): Mark obsolete.
12935 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
12936 * abbrev.el (abbrev-expand-function): New hook.
12937 (expand-abbrev): Use it.
12938 (abbrev-expand-functions): Mark obsolete.
12939 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
12940 and :filter-return.
12942 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
12944 * progmodes/python.el (python-nav--syntactically): Fix cornercases
12945 and do not care about match data.
12947 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
12949 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
12950 completion tables when completing error conditions and
12951 `declare' arguments.
12952 (lisp-complete-symbol, field-complete): Mark as obsolete.
12953 (check-parens): Unmatched parens are user errors.
12954 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
12956 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
12958 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
12959 command changed buffer (ie. `flyspell-pre-buffer' is not current
12960 buffer), which prevents making decisions based on invalid value of
12961 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
12962 cause an error when `flyspell-pre-point' was nil after switching
12964 (flyspell-post-command-hook): No longer needs to change buffers when
12965 checking pre-word. While at it remove unnecessary progn.
12967 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
12969 * textmodes/ispell.el (ispell-add-per-file-word-list):
12970 Fix `flyspell-correct-word-before-point' error when accepting
12971 words and `coment-padding' is an integer by using
12972 `comment-normalize-vars' (Bug #14214).
12974 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
12976 New defun movement commands.
12977 * progmodes/python.el (python-nav--syntactically)
12978 (python-nav--forward-defun, python-nav-backward-defun)
12979 (python-nav-forward-defun): New functions.
12981 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
12983 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
12984 (python-syntax-context): Use named compiler-macro for backwards
12985 compatibility with Emacs 24.x.
12987 2013-04-17 Leo Liu <sdl.web@gmail.com>
12989 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
12990 octave-hide-process-buffer.
12992 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
12994 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
12997 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
12999 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
13000 Fix adjustment of offset when receiving incomplete responses from GDB
13003 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
13005 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
13006 python-mode-abbrev-table.
13007 (python-skeleton-define): Adjust accordingly.
13008 (python-mode-abbrev-table): New table that inherits from it so that
13009 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
13011 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
13012 (abbrev-symbol): Use it.
13013 (abbrev--before-point): Use it since we already handle inheritance.
13015 2013-04-16 Leo Liu <sdl.web@gmail.com>
13017 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
13018 binding to info-lookup-symbol.
13020 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
13022 * minibuffer.el (completion--twq-all):
13023 * term/ns-win.el (ns-initialize-window-system):
13024 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
13026 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
13028 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
13031 * doc-view.el (doc-view-start-process): Handle url-handler directories.
13033 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
13035 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
13036 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
13038 (ruby-end-of-defun): Remove the unused arg, change the docstring
13039 to reflect that this function is only used as the value of
13040 `end-of-defun-function'.
13041 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
13042 to reflect an earlier change that beginning/end-of-defun functions
13043 jump between methods in a class definition, as well as top-level
13046 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
13048 * minibuffer.el (minibuffer-complete): Don't just scroll
13049 a *Completions* that's been iconified.
13050 (minibuffer-force-complete): Make sure repetitions do cycle when going
13051 through completion-in-region -> minibuffer-complete.
13053 2013-04-15 Alan Mackenzie <acm@muc.de>
13055 Correct the placement of c-cpp-delimiters when there're #s not at
13058 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
13059 place a submatch around the #.
13060 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
13061 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
13064 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
13066 * emacs-lisp/nadvice.el: Properly test names when adding advice.
13067 (advice--member-p): New arg `name'.
13068 (advice--add-function, advice-member-p): Use it (bug#14202).
13070 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
13072 Reformulate java imenu-generic-expression.
13073 The old expression contained ill formed regexps.
13075 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
13076 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
13077 (cc-imenu-java-method-arg-regexp): New defconsts.
13078 (cc-imenu-java-build-type-args-regex): New defun.
13079 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
13080 handling of spaces in the regexp.
13082 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13084 * textmodes/ispell.el (ispell-command-loop): Remove
13085 flyspell highlight of a word when ispell accepts it (bug #14178).
13087 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
13089 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
13090 uses code from the previous `ange-ftp-run-real-handler'.
13091 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
13092 only in case that function exist. This is needed for proper
13093 unloading of Tramp.
13095 2013-04-15 Tassilo Horn <tsdh@gnu.org>
13097 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
13099 * textmodes/reftex.el (reftex-compile-variables): Use it.
13101 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
13103 * files.el (normal-mode): Only use default major-mode if no other mode
13106 * emacs-lisp/trace.el (trace-values): New function.
13108 * files.el: Allow : in local variables (bug#14089).
13109 (hack-local-variable-regexp): New var.
13110 (hack-local-variables-prop-line, hack-local-variables): Use it.
13112 2013-04-13 Roland Winkler <winkler@gnu.org>
13114 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
13115 data before it gets modified by bibtex-beginning-of-entry.
13117 2013-04-13 Roland Winkler <winkler@gnu.org>
13119 * textmodes/bibtex.el (bibtex-url): Doc fix.
13121 2013-04-13 Roland Winkler <winkler@gnu.org>
13123 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
13124 does not visit a BibTeX file, exclude it from the list of buffers
13125 returned by bibtex-initialize.
13127 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
13129 * window.el (split-window): Remove interactive form, since as a
13130 command this function is a special case of split-window-below.
13131 Correct doc string.
13133 2013-04-12 Roland Winkler <winkler@gnu.org>
13135 * faces.el (read-face-name): Do not override value of arg default.
13136 Allow single faces and strings as default values. Remove those
13137 elements from return value that are not faces.
13138 (describe-face): Simplify.
13139 (face-at-point): New optional args thing and multiple so that this
13140 function can provide the same functionality previously provided by
13142 (make-face-bold, make-face-unbold, make-face-italic)
13143 (make-face-unitalic, make-face-bold-italic, invert-face)
13144 (modify-face, read-face-and-attribute): Use face-at-point.
13146 * cus-edit.el (customize-face, customize-face-other-window)
13147 * cus-theme.el (custom-theme-add-face)
13148 * face-remap.el (buffer-face-set)
13149 * facemenu.el (facemenu-set-face): Use face-at-point.
13151 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
13153 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
13155 2013-04-10 Tassilo Horn <tsdh@gnu.org>
13157 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
13158 off leading { and trailing } from field values.
13160 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
13162 * emacs-lisp/timer.el (timer--check): New function.
13163 (timer--time, timer-set-function, timer-event-handler): Use it.
13164 (timer-set-idle-time): Simplify.
13165 (timer--activate): CSE.
13166 (timer-event-handler): Give more info in error message.
13167 (internal-timer-start-idle): New function, moved from C.
13169 * mpc.el (mpc-proc): Add `restart' argument.
13170 (mpc-proc-cmd): Use it.
13171 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
13172 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
13175 2013-04-10 Masatake YAMATO <yamato@redhat.com>
13177 * progmodes/sh-script.el: Implement `sh-mode' own
13178 `add-log-current-defun-function' (bug#14112).
13179 (sh-current-defun-name): New function.
13180 (sh-mode): Use the function.
13182 2013-04-09 Bastien Guerry <bzg@gnu.org>
13184 * simple.el (choose-completion-string): Fix docstring (bug#14163).
13186 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
13188 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
13190 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
13193 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
13195 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
13198 2013-04-07 Leo Liu <sdl.web@gmail.com>
13200 * pcmpl-x.el: New file.
13202 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
13204 Do not set x-display-name until X connection is established.
13205 This is needed to prevent from weird situation described at
13206 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
13207 * frame.el (make-frame): Set x-display-name after call to
13208 window system initialization function, not before.
13209 * term/x-win.el (x-initialize-window-system): Add optional
13210 display argument and use it.
13211 * term/w32-win.el (w32-initialize-window-system):
13212 * term/ns-win.el (ns-initialize-window-system):
13213 * term/pc-win.el (msdos-initialize-window-system):
13214 Add compatible optional display argument.
13216 2013-04-06 Eli Zaretskii <eliz@gnu.org>
13218 * files.el (normal-backup-enable-predicate): On MS-Windows and
13219 MS-DOS compare truenames of temporary-file-directory and of the
13220 file, so that 8+3 aliases (usually found in $TEMP on Windows)
13221 don't fail comparison by compare-strings. Also, compare file
13222 names case-insensitively on MS-Windows and MS-DOS.
13224 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
13226 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
13227 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
13229 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
13231 * whitespace.el (whitespace-color-on, whitespace-color-off):
13232 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
13234 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
13236 * ispell.el (ispell-set-spellchecker-params):
13237 Really set `ispell-args' for all equivs.
13239 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
13241 * ido.el (ido-completions): Use extra elements of ido-decorations
13243 (ido-decorations): Update docstring.
13245 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
13247 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
13248 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
13249 nil during initialization, in order not to miss changes since the
13250 file was opened. (Bug#14140)
13252 2013-04-05 Leo Liu <sdl.web@gmail.com>
13254 * kmacro.el (kmacro-call-macro): Fix bug#14135.
13256 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
13258 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
13260 2013-04-04 Glenn Morris <rgm@gnu.org>
13262 * electric.el (electric-pair-inhibit-predicate): Add :version.
13264 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
13266 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
13267 when a package is required several times (bug#14082).
13269 2013-04-04 Roland Winkler <winkler@gnu.org>
13271 * faces.el (read-face-name): Behave as promised by the docstring.
13272 Assume that arg default is a list of faces.
13273 (describe-face): Call read-face-name with list of default faces.
13275 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13277 * bookmark.el: Fix deletion of bookmarks (bug#13972).
13278 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
13279 (bookmark-bmenu-execute-deletions): Only skip first line if it's
13281 (bookmark-exit-hook-internal): Save even if list is empty.
13283 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
13285 * emacs-lisp/package.el (package-pinned-packages): New var.
13286 (package--add-to-archive-contents): Obey it (bug#14118).
13288 2013-04-03 Alan Mackenzie <acm@muc.de>
13290 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
13291 Also adapt to the new values of element 7 of a parse state.
13293 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
13294 parameter `not-in-delimiter'. Handle being inside comment opener.
13295 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
13296 character in case we're typing a '*' after a '/'.
13297 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
13298 instead by passing the parameter to c-state-pp-to-literal.
13300 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
13301 for elt. 7 of a parse state.
13303 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
13305 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
13306 * international/latin1-disp.el, international/mule-util.el:
13307 * language/cyril-util.el, language/european.el, language/ind-util.el:
13308 * language/lao-util.el, language/thai.el, language/tibet-util.el:
13309 * language/tibetan.el, language/viet-util.el:
13310 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
13312 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
13314 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
13315 (electric-pair-post-self-insert-function): Use it.
13316 (electric-pair-default-inhibit): New function, extracted from
13317 electric-pair-post-self-insert-function.
13319 2013-03-31 Roland Winkler <winkler@gnu.org>
13321 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
13323 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
13325 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
13327 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
13329 Un-indent after "pass" and "return" statements (Bug#13888)
13330 * progmodes/python.el (python-indent-block-enders): New var.
13331 (python-indent-calculate-indentation): Use it.
13333 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
13335 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
13336 defun. Defining it as defalias could introduce too eager
13337 byte-compiler optimization. (Bug#14030)
13339 2013-03-30 Chong Yidong <cyd@gnu.org>
13341 * iswitchb.el (iswitchb-read-buffer): Fix typo.
13343 2013-03-30 Leo Liu <sdl.web@gmail.com>
13345 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
13346 (kmacro-execute-from-register): Pass the keyboard macro to
13347 kmacro-call-macro or repeating won't work correctly.
13349 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
13351 * progmodes/subword.el: Back to using `forward-symbol'.
13353 * subr.el (forward-whitespace, forward-symbol)
13354 (forward-same-syntax): Move from thingatpt.el.
13356 2013-03-29 Leo Liu <sdl.web@gmail.com>
13358 * kmacro.el (kmacro-to-register): New command.
13359 (kmacro-execute-from-register): New function.
13360 (kmacro-keymap): Bind to 'x'. (Bug#14071)
13362 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
13364 * mpc.el: Use defvar-local and setq-local.
13365 (mpc--proc-connect): Connection failures are not bugs.
13366 (mpc-mode-map): `follow-link' only applies to the buffer's content.
13367 (mpc-volume-map): Bind to the up-events.
13369 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
13371 * progmodes/subword.el (superword-mode): Use `forward-sexp'
13372 instead of `forward-symbol'.
13374 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
13376 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
13377 (edebug--recursive-edit): Use it.
13378 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
13379 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
13381 2013-03-28 Leo Liu <sdl.web@gmail.com>
13383 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
13385 2013-03-27 Eli Zaretskii <eliz@gnu.org>
13387 * facemenu.el (list-colors-callback): New defvar.
13388 (list-colors-redisplay): New function.
13389 (list-colors-display): Install list-colors-redisplay as the
13390 revert-buffer-function. (Bug#14063)
13392 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
13394 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
13395 and suffixes don't overlap (bug#14061).
13397 * case-table.el: Use lexical-binding.
13398 (case-table-get-table): New function.
13399 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
13401 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
13403 * progmodes/subword.el: Add `superword-mode' to do word motion
13404 over symbol_words (parallels and leverages `subword-mode' which
13405 does word motion inside MixedCaseWords).
13407 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
13409 * eshell/em-unix.el: Move su and sudo to...
13410 * eshell/em-tramp.el: ...Eshell tramp module.
13412 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
13414 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
13415 Change return value to be a sexp. Delay `get-buffer' to after
13416 restoring the desktop (bug#13951).
13418 2013-03-26 Leo Liu <sdl.web@gmail.com>
13420 * register.el: Move semantic tag handling back to
13421 cedet/semantic/senator.el. (Bug#14052)
13423 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
13425 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
13426 into the prompt either (bug#13963).
13428 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
13430 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
13431 part of "(error-foo)".
13433 2013-03-24 Juri Linkov <juri@jurta.org>
13435 * replace.el (list-matching-lines-prefix-face): New defcustom.
13436 (occur-1): Pass `list-matching-lines-prefix-face' to the function
13437 `occur-engine' if `face-differs-from-default-p' returns t.
13438 (occur-engine): Add `,' inside backquote construct to evaluate
13439 `prefix-face'. Propertize the prefix with the `prefix-face' face.
13440 Pass `prefix-face' to the functions `occur-context-lines' and
13441 `occur-engine-add-prefix'.
13442 (occur-engine-add-prefix, occur-context-lines): Add optional arg
13443 `prefix-face' and propertize the prefix with `prefix-face'.
13446 2013-03-24 Leo Liu <sdl.web@gmail.com>
13448 * nxml/rng-valid.el (rng-validate-while-idle)
13449 (rng-validate-quick-while-idle): Guard against deleted buffer.
13452 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
13453 is the last entry in kill-buffer-hook.
13455 * files.el (kill-buffer-hook): Doc fix.
13457 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
13459 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
13460 Make it safe-local.
13462 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
13464 2013-03-23 Leo Liu <sdl.web@gmail.com>
13466 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
13469 * nxml/rng-valid.el (rng-validate-mode)
13470 (rng-after-change-function, rng-do-some-validation):
13471 * nxml/rng-maint.el (rng-validate-buffer):
13472 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
13473 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
13474 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
13475 (nxml-extend-after-change-region): Use with-silent-modifications.
13477 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
13480 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
13481 (rng-next-error-1, rng-previous-error-1): Do not let-bind
13482 timer-idle-list. (Bug#13999)
13484 2013-03-23 Juri Linkov <juri@jurta.org>
13486 * info.el (info-index-match): New face.
13487 (Info-index, Info-apropos-matches): Add a nested subgroup to the
13488 main pattern and add text properties with the new face to matches
13489 in index entries relative to the beginning of the index entry.
13492 2013-03-21 Eric Ludlam <zappo@gnu.org>
13494 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
13495 Inhibit read only while inserting objects.
13497 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
13499 * progmodes/cfengine.el: Update docs to mention
13500 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
13501 symbol motion. Remove "_" from the word syntax.
13503 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
13505 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
13506 syntax for both `cfengine2-mode' and `cfengine3-mode'.
13508 2013-03-20 Juri Linkov <juri@jurta.org>
13510 * info.el (Info-next-reference-or-link)
13511 (Info-prev-reference-or-link): New functions.
13512 (Info-next-reference, Info-prev-reference): Use them.
13513 (Info-try-follow-nearest-node): Handle footnote navigation.
13514 (Info-fontify-node): Fontify footnotes. (Bug#13989)
13516 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
13518 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
13519 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
13521 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
13523 Suppress unnecessary non-ASCII chatter during build process.
13524 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
13525 (batch-skkdic-convert): Suppress most of the chatter.
13526 It's not needed so much now that machines are faster,
13527 and its non-ASCII component was confusing; see Dmitry Gutov in
13528 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
13530 2013-03-20 Leo Liu <sdl.web@gmail.com>
13532 * ido.el (ido-chop): Fix bug#10994.
13534 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
13536 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
13538 (whitespace-color-on, whitespace-color-off):
13539 Use `font-lock-fontify-buffer' (Bug#13817).
13541 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
13543 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
13544 remapping in mode-line.
13545 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
13547 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
13549 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
13550 value for `whitespace-line' face (Bug#13875).
13551 (whitespace-font-lock-keywords): Change description.
13552 (whitespace-color-on): Don't save `font-lock-keywords' value, save
13553 the constructed keywords instead.
13554 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
13556 2013-03-19 Leo Liu <sdl.web@gmail.com>
13558 * progmodes/compile.el (compilation-display-error): New command.
13559 (compilation-mode-map, compilation-minor-mode-map): Bind it to
13562 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
13564 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
13566 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
13568 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
13570 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
13572 * net/tramp-compat.el (tramp-compat-user-error): New defun.
13574 * net/tramp-adb.el (tramp-adb-handle-shell-command):
13575 * net/tramp-gvfs.el (top):
13576 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
13577 (tramp-handle-shell-command): Use it.
13578 (tramp-dissect-file-name): Raise an error when hostname is a
13579 method name, and neither method nor user is specified.
13581 * net/trampver.el: Update release number.
13583 2013-03-18 Leo Liu <sdl.web@gmail.com>
13585 Make sure eldoc can be turned off properly.
13586 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
13588 (eldoc-display-message-p): Revert last change.
13589 (eldoc-display-message-no-interference-p)
13590 (eldoc-print-current-symbol-info): Tweak.
13592 2013-03-18 Tassilo Horn <tsdh@gnu.org>
13594 * doc-view.el (doc-view-new-window-function): Check the new window
13595 overlay's display property instead the char property of the
13596 buffer's first char. Use `with-selected-window' instead of
13597 `save-window-excursion' with `select-window'.
13598 (doc-view-document->bitmap): Check the current doc-view overlay's
13599 display property instead the char property of the buffer's first char.
13601 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
13603 Automate the build of ja-dic.el (Bug#13984).
13604 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
13605 from the input, rather than assume that it's been done for us by the
13606 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
13607 the current date into a ja-dic.el comment, as that complicates
13608 regression testing.
13610 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
13612 * whitespace.el: Fix double evaluation.
13613 (whitespace-space, whitespace-hspace, whitespace-tab)
13614 (whitespace-newline, whitespace-trailing, whitespace-line)
13615 (whitespace-space-before-tab, whitespace-indentation)
13616 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
13618 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
13619 (whitespace-color-on): Use a single font-lock-add-keywords call.
13620 Fix double-evaluation of face variables.
13622 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
13624 * net/tramp-adb.el (tramp-adb-parse-device-names):
13625 Use `start-process' instead of `call-process'. Otherwise, the
13626 function might be blocked under MS Windows. (Bug#13299)
13628 2013-03-17 Leo Liu <sdl.web@gmail.com>
13630 Extend eldoc to display info in the mode-line. (Bug#13978)
13631 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
13632 (eldoc-mode-line-string): New variable.
13633 (eldoc-minibuffer-message): New function.
13634 (eldoc-message-function): New variable.
13635 (eldoc-message): Use it.
13636 (eldoc-display-message-p)
13637 (eldoc-display-message-no-interference-p):
13638 Support eldoc-post-insert-mode.
13640 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
13641 (eval-expression): Run it.
13643 2013-03-17 Roland Winkler <winkler@gnu.org>
13645 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
13646 strings in the list of return values.
13648 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
13650 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
13651 radix before checking for HMS forms.
13653 2013-03-16 Leo Liu <sdl.web@gmail.com>
13655 * progmodes/scheme.el: Add indentation and font-locking for λ.
13658 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
13660 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
13661 token before point (bug#13942).
13663 2013-03-16 Leo Liu <sdl.web@gmail.com>
13665 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
13667 2013-03-16 Eli Zaretskii <eliz@gnu.org>
13669 * startup.el (command-line-normalize-file-name): Fix handling of
13670 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
13671 <xfq.free@gmail.com> in
13672 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
13674 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
13676 Sync with Tramp 2.2.7.
13678 * net/trampver.el: Update release number.
13680 2013-03-14 Tassilo Horn <tsdh@gnu.org>
13682 * doc-view.el: Fix bug#13887.
13683 (doc-view-insert-image): Don't modify overlay associated to
13684 non-live windows, and implement horizontal centering of image in
13685 case it's smaller than the window.
13686 (doc-view-new-window-function): Force redisplay of new windows on
13689 2013-03-13 Karl Fogel <kfogel@red-bean.com>
13691 * saveplace.el (save-place-alist-to-file): Don't sort
13692 `save-place-alist', just pretty-print it (bug#13882).
13694 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
13696 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
13697 Check whether `default-file-name-coding-system' is bound.
13698 It isn't in XEmacs.
13700 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
13702 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
13703 backquotes for `obsolete' (bug#13929).
13705 * international/mule.el (find-auto-coding): Include file name in
13706 obsolescence warning (bug#13922).
13708 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
13710 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
13711 for CFEngine 3-specific indentation.
13712 (cfengine3-indent-line): Use it. Fix up category regex.
13713 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
13715 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13717 * type-break.el (type-break-file-name):
13718 * textmodes/remember.el (remember-data-file):
13719 * strokes.el (strokes-file):
13720 * shadowfile.el (shadow-initialize):
13721 * saveplace.el (save-place-file):
13722 * ps-bdf.el (bdf-cache-file):
13723 * progmodes/idlwave.el (idlwave-config-directory):
13724 * net/quickurl.el (quickurl-url-file):
13725 * international/kkc.el (kkc-init-file-name):
13726 * ido.el (ido-save-directory-list-file):
13727 * emulation/viper.el (viper-custom-file-name):
13728 * emulation/vip.el (vip-startup-file):
13729 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
13730 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
13732 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
13734 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
13735 * language/thai-word.el: Switch to UTF-8.
13737 See ChangeLog.16 for earlier changes.
13739 ;; Local Variables:
13743 Copyright (C) 2011-2014 Free Software Foundation, Inc.
13745 This file is part of GNU Emacs.
13747 GNU Emacs is free software: you can redistribute it and/or modify
13748 it under the terms of the GNU General Public License as published by
13749 the Free Software Foundation, either version 3 of the License, or
13750 (at your option) any later version.
13752 GNU Emacs is distributed in the hope that it will be useful,
13753 but WITHOUT ANY WARRANTY; without even the implied warranty of
13754 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13755 GNU General Public License for more details.
13757 You should have received a copy of the GNU General Public License
13758 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.