1 2014-02-28 Martin Rudalics <rudalics@gmx.at>
3 Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
4 * window.el (with-temp-buffer-window): Revert change from
5 2014-02-21. Suggested by Thierry Volpiatto
6 <thierry.volpiatto@gmail.com>. Fix doc-string based on a
7 suggestion by Nicolas Richard <theonewiththeevillook@yahoo.fr>.
8 * help.el (with-help-window): Fix doc-string.
10 2014-02-28 Ivan Kanis <ivan@kanis.fr>
12 * net/shr.el (shr-put-image): Add custom variable
13 `shr-image-animate' to turn off image animation. It is so slow it
14 will render emacs unusable.
16 2014-02-28 Michael Albinus <michael.albinus@gmx.de>
18 * net/tramp-adb.el (tramp-adb-parse-device-names):
19 Use `accept-process-output'.
20 (tramp-adb-handle-file-truename): Cache the localname only.
21 (tramp-adb-handle-make-directory)
22 (tramp-adb-handle-delete-directory): Flush file properties correctly.
23 (tramp-adb-handle-set-file-modes): Do not raise an error when file
24 modes cannot be changed.
26 * net/tramp-cache.el (tramp-flush-directory-property): Remove also
27 file properties of symlinks.
29 2014-02-28 Per Starbäck <starback@stp.lingfil.uu.se>
31 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
32 required/optional fields to match development biblatex. (Bug#16781)
34 2014-02-28 Andy Sawyer <andy.sawyer@gmail.com> (tiny change)
36 * saveplace.el (toggle-save-place):
37 Fix argument handling. (Bug#16673)
39 2014-02-28 Glenn Morris <rgm@gnu.org>
41 * minibuffer.el (completions-first-difference)
42 (completions-common-part, completion-hilit-commonality): Doc fixes.
44 2014-02-28 Karl Berry <karl@gnu.org>
46 * info.el (Info-mode-map): Add H for describe-mode,
47 to synchronize with standalone Info.
49 2014-02-28 Emilio C. Lopes <eclig@gmx.net>
51 * progmodes/sql.el (sql-interactive-mode):
52 Avoid setting global comint-input-ring-separator. (Bug#16814)
54 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
56 * net/dbus.el (dbus--init-bus): Declare function.
57 (dbus-path-local, dbus-interface-local): New defconst.
58 (dbus-init-bus): Use them.
59 (dbus-return-values-table): Extend doc.
60 (dbus-handle-bus-disconnect): Extend error message.
62 2014-02-27 Juanma Barranquero <lekktu@gmail.com>
64 * subr.el (y-or-n-p): Fix double space issue in message.
66 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
68 * net/tramp.el (tramp-call-process): Improve trace message.
69 (tramp-handle-insert-file-contents): Trace error case.
71 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
72 <insert-directory>: Use `tramp-handle-insert-directory'.
73 (tramp-adb-handle-insert-directory): Remove function.
74 (tramp-adb-send-command-and-check): New defun, replacing
75 `tramp-adb-command-exit-status'. Change all callees.
76 (tramp-adb-handle-file-attributes)
77 (tramp-adb-handle-directory-files-and-attributes): Use it.
78 (tramp-adb-ls-output-name-less-p): Use
79 `directory-listing-before-filename-regexp'.
80 (tramp-adb-handle-delete-directory): Flush also file properties of
81 the truename of directory.
82 (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
83 (tramp-adb-handle-file-local-copy): Make the local copy readable.
84 (tramp-adb-handle-write-region): Implement APPEND.
85 (tramp-adb-handle-rename-file): Make it more robust. Flush file
87 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
88 variables. Check for connected devices only when needed.
90 2014-02-27 Glenn Morris <rgm@gnu.org>
92 * minibuffer.el (completion-table-dynamic)
93 (completion-table-with-cache): Doc fixes.
95 * emacs-lisp/crm.el (crm-default-separator, crm-separator)
96 (completing-read-multiple): Doc fixes.
98 2014-02-27 Daniel Colascione <dancol@dancol.org>
100 * minibuffer.el (completion--nth-completion): Fix indentation.
102 * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
103 explicit tramp path is empty.
105 2014-02-27 Glenn Morris <rgm@gnu.org>
107 * emacs-lisp/crm.el (completing-read-multiple):
108 Empower help-enable-auto-load.
110 2014-02-26 Glenn Morris <rgm@gnu.org>
112 * startup.el (command-line): Don't init the tty in daemon mode.
114 Avoid calling tty-setup-hook twice, eg if a term file
115 explicitly calls tty-run-terminal-initialization. (Bug#16859)
116 * faces.el (tty-run-terminal-initialization): Add run-hook argument.
117 (tty-create-frame-with-faces): Use it.
118 * startup.el (command-line): Pass run-hook argument
119 to tty-run-terminal-initialization.
121 * dired.el (dired-restore-desktop-buffer): Demote errors;
122 eg in case a glob match fails. (Bug#16884)
124 2014-02-26 Dmitry Gutov <dgutov@yandex.ru>
126 * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
127 error from `read-from-string'. (Bug#16850)
129 * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
130 result of `completing-read' in the interactive form. (Bug#16854)
132 2014-02-25 Glenn Morris <rgm@gnu.org>
134 * image.el (image-animate, image-animate-timeout):
135 Stop animating images in dead buffers. (Bug#16878)
137 * emacs-lisp/edebug.el (defmacro): Fix debug spec. (Bug#16868)
139 * faces.el (tty-setup-hook, tty-run-terminal-initialization):
141 * startup.el (term-setup-hook): Doc fix. Make obsolete.
142 * term/sun.el (sun-raw-prefix-hooks):
143 Use tty-setup-hook instead of term-setup-hook.
144 (terminal-init-sun): Construct message from bytecomp plist.
145 * term/wyse50.el (enable-arrow-keys): Doc fix.
147 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
149 * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
152 2014-02-24 Michael Albinus <michael.albinus@gmx.de>
154 * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
156 2014-02-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
158 * minibuffer.el (completion--try-word-completion):
159 Fix error when completing M-x commands (bug#16808).
161 2014-02-24 Leo Liu <sdl.web@gmail.com>
163 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
165 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
167 * apropos.el (apropos-print): Avoid formatting error when
168 apropos-do-all and apropos-compact-layout are both t.
170 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
172 * apropos.el (apropos-property, apropos-all-words-regexp)
173 (apropos-true-hit, apropos-variable, apropos-print):
174 Fix docstring typos, and remove obsolete comment.
176 2014-02-23 Michael Albinus <michael.albinus@gmx.de>
178 * net/tramp-sh.el (tramp-sh-handle-file-truename):
179 Preserve trailing "/". (Bug#16851)
181 2014-02-23 Dmitry Gutov <dgutov@yandex.ru>
183 * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
184 after `=>' (bug#16811).
185 (ruby-smie-rules): Handle the inconsistent second element of the
186 list returned by `smie-indent--parent'.
187 (ruby-font-lock-keywords): Disqualify any identifier before `=' as
190 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
192 * elec-pair.el (electric-pair-text-syntax-table)
193 (electric-pair-syntax-info, electric-pair--syntax-ppss)
194 (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
195 (electric-pair--looking-at-unterminated-string-p): Doc fix.
196 (electric-pair--inside-string-p): Doc fix. Use `let', not `let*'.
198 2014-02-22 Glenn Morris <rgm@gnu.org>
200 * imenu.el (imenu--generic-function): Doc fix.
202 * register.el (frame-configuration-to-register): Make obsolete.
204 2014-02-22 Juanma Barranquero <lekktu@gmail.com>
206 * desktop.el (desktop-save-buffer-p): Do not fail when
207 desktop-files-not-to-save is nil. Return t for true result
210 2014-02-22 Daniel Colascione <dancol@dancol.org>
212 * net/secrets.el (secrets-create-item,secrets-search-items): Check
213 that attribute values are strings, avoiding the construction of
214 invalid dbus messages.
216 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
218 * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
219 defun-declarations-alist.
221 2014-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
223 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
226 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
228 * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
229 (whitespace-newline, whitespace-trailing, whitespace-line)
230 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
231 (whitespace-space-after-tab): Fix typo in docstrings.
233 2014-02-21 Dmitry Gutov <dgutov@yandex.ru>
235 * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
237 * electric.el (electric-indent-functions-without-reindent):
238 Add `yaml-indent-line'.
240 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
242 * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
243 It has done nothing for years; should be removed after the release.
245 * simple.el (choose-completion): Fix docstring typo.
246 (read-quoted-char-radix): Remove unneeded * in docstring.
247 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
248 Don't escape parentheses unnecessarily in docstrings.
250 2014-02-21 Martin Rudalics <rudalics@gmx.at>
252 Fix handling of window-min-height/-width (Bug#16738).
253 * window.el (window--dump-window, window--dump-frame):
255 (window--min-size-1): Account for window dividers.
256 When window-resize-pixelwise is nil, delay rounding till after the
257 sum of the window components has been calculated.
258 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
259 nil make sure at least one text line and two text columns remain
261 (window-resize): Signal an error when window-resize-apply fails.
262 (window--resize-child-windows): Fix calculation of by how many
263 pixels a window can still be shrunk via window-new-normal.
264 (adjust-window-trailing-edge): Call window--resizable with
265 correct TRAIL argument.
267 (with-temp-buffer-window): Don't evaluate BODY within
268 with-current-buffer (Bug#16816).
270 2014-02-21 Michael Albinus <michael.albinus@gmx.de>
272 * net/tramp.el (tramp-check-cached-permissions):
273 Call `file-attributes' with `suffix' being a symbol but a string.
275 2014-02-21 Daniel Colascione <dancol@dancol.org>
277 * net/dbus.el (dbus-init-bus-1): Declare new subr.
278 (dbus-init-bus): New function: call into dbus-init-bus-1
279 and installs a handler for the disconnect signal.
280 (dbus-call-method): Rewrite to look for result in cons.
281 (dbus-call-method-handler): Store result in cons.
282 (dbus-check-event): Recognize events with nil sender as valid.
283 (dbus-handle-bus-disconnect): New function. React to bus
284 disconnection signal by synthesizing dbus error for each
285 pending synchronous or asynchronous call.
286 (dbus-notice-synchronous-call-errors): New function.
287 (dbus-handle-event): Raise errors directly only when `dbus-debug'
288 is true, not all the time.
290 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
292 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
293 Remove obsolescence declarations, these variables do not exist anymore.
295 * savehist.el (savehist-save-minibuffer-history)
296 (savehist-additional-variables, savehist-file, savehist-mode-hook)
297 (savehist-save-hook, savehist-coding-system, savehist-loaded)
298 (savehist-load, savehist-install, savehist-autosave): Fix typos;
299 mostly, refer to "Savehist mode" when talking about the mode,
300 and not the function.
302 * saveplace.el (save-place): Remove redundant info in docstring.
303 (save-place-forget-unreadable-files, toggle-save-place)
304 (save-place-forget-unreadable-files, save-place-dired-hook):
305 Fix typos and remove unneeded backslashes.
307 2014-02-20 Michael Albinus <michael.albinus@gmx.de>
309 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
310 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
312 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
313 <insert-directory>: Use `tramp-handle-insert-directory'.
314 (tramp-gvfs-handle-insert-directory): Remove function.
316 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
317 Call `tramp-handle-insert-directory'.
319 2014-02-20 Juanma Barranquero <lekktu@gmail.com>
321 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
322 before the start of buffer/region (bug#16799).
324 2014-02-20 Glenn Morris <rgm@gnu.org>
326 * isearch.el (search-invisible): Doc fix.
328 2014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
330 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
333 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
335 * frameset.el (frameset-restore): Delay removing an old frame's
336 duplicate id until the new frame has been correctly created.
338 2014-02-19 Michael Albinus <michael.albinus@gmx.de>
340 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
341 (tramp-check-cached-permissions): Call `file-attributes' if the
344 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
345 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
347 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
348 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
349 (tramp-gvfs-maybe-open-connection): Set always connection
350 properties, even if target is mounted already.
352 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
353 Set tramp-autoload cookie.
354 (tramp-get-remote-touch): New defun.
355 (tramp-sh-handle-set-file-times): Use it.
356 (tramp-sh-handle-directory-files-and-attributes):
357 Use `tramp-handle-directory-files-and-attributes' if neither stat
358 nor perl are available on the remote host.
360 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
361 "/". Write long listing only when "l" belongs to the switches.
363 * net/trampver.el: Update release number.
365 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
367 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
369 2014-02-19 Martin Rudalics <rudalics@gmx.at>
371 * window.el (window-state-put): Allow WINDOW to refer to an
372 internal window (Bug#16793).
374 2014-02-19 Glenn Morris <rgm@gnu.org>
376 * textmodes/remember.el: Move provide statement to end.
377 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
378 (remember-notes): Doc fixes.
380 2014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
382 * delsel.el (delete-char): Restore incorrectly erased property
385 2014-02-18 Juanma Barranquero <lekktu@gmail.com>
387 * frameset.el (frameset--restore-frame): When a frame is being reused
388 and its root window is not alive, delete all the frame's windows before
389 restoring the window state. This works around the issue in bug#16793.
391 2014-02-18 Glenn Morris <rgm@gnu.org>
393 * textmodes/remember.el (remember-data-directory)
394 (remember-directory-file-name-format, remember-store-in-files)
395 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
396 (remember-notes-save-and-bury-buffer)
397 (remember-notes--kill-buffer-query): Doc fixes.
399 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
401 2014-02-17 Alan Mackenzie <acm@muc.de>
403 Connect electric-indent-mode up with CC Mode. Bug #15478.
404 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
405 to electric-indent-{,local-}-mode.
406 (c-basic-common-init): Set electric-indent-inhibit.
407 Initialise c-electric-flag from electric-indent-mode.
408 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
409 New hook functions which propagate electric-indent-mode to CC mode.
411 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
412 hit, toggle electric-indent-local-mode.
414 * electric.el (electric-indent-mode-has-been-called):
417 2014-02-17 Juanma Barranquero <lekktu@gmail.com>
419 * frameset.el (frameset-cfg-id): New function.
420 (frameset--reuse-frame, frameset-restore): Use it.
421 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
423 2014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
425 * ido.el (ido-file-internal): Remove unused var `d'.
426 Use \` for to match BoS. Fit within 80n columns.
428 2014-02-17 Daniel Colascione <dancol@dancol.org>
430 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
431 dbus-call-method check for completion using a busy-wait loop with
434 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
436 Sync with Tramp 2.2.9.
438 * net/trampver.el: Update release number.
440 2014-02-16 Dmitry Gutov <dgutov@yandex.ru>
442 * ido.el (ido-file-internal): Don't add the name of an existing
443 directory twice. (Bug#16747)
445 2014-02-16 Glenn Morris <rgm@gnu.org>
447 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
448 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
450 2014-02-15 Michael R. Mauger <michael@mauger.com>
452 * progmodes/sql.el: Version 3.4
453 (sql-oracle-options): New default value ("-L").
454 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
455 (sql-placeholders-filter): Correct placeholder pattern.
456 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
457 (sql-login-delay): New variable.
458 (sql-product-interactive): Use it.
460 2014-02-15 Juanma Barranquero <lekktu@gmail.com>
462 * frameset.el (frameset--jump-to-register): Check that buffer is live
465 2014-02-15 Glenn Morris <rgm@gnu.org>
467 * info.el (info-initialize): Revert 2014-01-10 change.
469 2014-02-14 Glenn Morris <rgm@gnu.org>
471 * replace.el (map-query-replace-regexp)
472 (read-regexp-defaults-function, read-regexp): Doc fixes.
474 * dired.el (dired-read-regexp):
475 * faces.el (list-faces-display):
476 * misearch.el (multi-isearch-read-matching-buffers)
477 (multi-isearch-read-matching-files):
478 * play/cookie1.el (cookie-apropos):
479 * progmodes/grep.el (grep-read-regexp): Doc fixes.
481 * textmodes/remember.el (remember): Use frameset-to-register
482 rather than frame-configuration-to-register.
484 2014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
486 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
487 incorrect keybinding.
489 2014-02-13 Daniel Colascione <dancol@dancol.org>
491 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
492 when adding overlays so that line numbers from compiler match line
495 2014-02-13 Glenn Morris <rgm@gnu.org>
497 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
499 * jit-lock.el (jit-lock-mode): Doc fix.
501 2014-02-13 Juanma Barranquero <lekktu@gmail.com>
503 * apropos.el (apropos-read-pattern): When the user passes an empty
504 string, give a more helpful error message than "Wrong type
505 argument: stringp, nil".
507 2014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
509 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
511 2014-02-13 Glenn Morris <rgm@gnu.org>
513 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
515 2014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
517 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
518 shift-select commands.
520 2014-02-12 Dmitry Gutov <dgutov@yandex.ru>
522 * progmodes/js.el (js-indent-line): Don't widen.
523 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
525 2014-02-12 Glenn Morris <rgm@gnu.org>
527 * icomplete.el (icomplete): Add info-link to defgroup.
528 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
529 (icomplete-minibuffer-map, icomplete-mode)
530 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
532 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
533 (package-menu-filter): Rename from package-menu-filter-interactive.
536 2014-02-11 Juanma Barranquero <lekktu@gmail.com>
538 * frameset.el (frameset--jump-to-register): Select the required
539 window and buffer before restoring position (bug#16696).
541 2014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
543 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
545 2014-02-10 Glenn Morris <rgm@gnu.org>
547 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
549 2014-02-10 Eli Zaretskii <eliz@gnu.org>
551 * w32-common-fns.el (x-get-selection): Doc fix.
552 * select.el (x-get-selection): Doc fix. (Bug#15109)
554 * face-remap.el (face-remap-add-relative)
555 (face-remap-remove-relative, face-remap-reset-base)
556 (face-remap-set-base): Call force-mode-line-update to redisplay
557 the current buffer due to potential change in faces. (Bug#16709)
559 2014-02-10 Michael Albinus <michael.albinus@gmx.de>
561 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
562 script more robustly.
564 2014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
566 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
568 * simple.el (choose-completion): Doc fix (bug#14160).
570 * subr.el (event-start): Say what a nil EVENT value means.
572 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
575 * progmodes/grep.el (find-program): Doc fix (bug#14289).
577 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
579 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
581 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
582 predicate function (bug#15455).
584 2014-02-10 Dmitry Gutov <dgutov@yandex.ru>
586 * ielm.el (inferior-emacs-lisp-mode): Instead of
587 `comment-use-global-state', set `comment-use-syntax'.
589 2014-02-10 Glenn Morris <rgm@gnu.org>
591 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
593 2014-02-09 Alan Mackenzie <acm@muc.de>
595 Fix c-invalidate-state-cache on narrowed buffers.
596 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
597 Widen when setting and clearing the CPP delimiter properties.
599 2014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
601 * help.el (describe-bindings): Doc fix (bug#9888).
603 * files.el (save-buffer): Use ARG as the parameter name for
604 consistency (bug#10346).
605 (save-buffer): Clarify the 0 argument (bug#10346).
607 * cus-edit.el (customize-apropos): Fix error string.
608 (custom-buffer-create): Doc fix (bug#11122).
609 (custom-sort-items): Doc fix (bug#11121).
611 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
613 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
614 (icomplete-simple-completing-p): Mention the previous variable.
616 * font-lock.el (font-lock-value-in-major-mode): Clarify the
617 meaning of the parameter (bug#12282).
619 * files.el (find-file-noselect): Clarify prompt when changing
620 readedness (bug#13261).
621 (locate-file): Suffixes aren't returned, so don't say that they
623 (backup-inhibited): Doc clarification (bug#12525).
625 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
626 before we actually start to delete things (bug#16331).
628 * subr.el (event-start): Doc fix (bug#14228).
631 2014-02-09 Glenn Morris <rgm@gnu.org>
633 * emacs-lisp/warnings.el (lwarn):
634 Empower help-enable-auto-load. (Bug#15940)
636 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
638 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
641 2014-02-08 Michael Albinus <michael.albinus@gmx.de>
643 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
644 Insert output at end of buffer. (Bug#16120)
646 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
648 * simple.el (choose-completion-string-functions): Document new
649 calling convention (bug#14153).
650 (execute-extended-command): Clarify doc string (bug#13373).
652 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
654 * find-dired.el (find-name-dired): Doc fix (bug#14290).
655 (find-grep-dired): Doc fix (bug#14288).
657 2014-02-08 Juri Linkov <juri@jurta.org>
659 * isearch.el (isearch-quote-char): Check character validity
660 like in `quoted-insert' (bug#16677).
662 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
664 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
666 * isearch.el (isearch-hide-immediately): Doc clarification
669 * simple.el (line-move): Document utility function used many
670 places in the Emacs sources (bug#14843).
672 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
673 (dired-prev-marked-file): Doc fix (bug#14855).
674 (dired-up-directory): Doc fix (bug#14848).
676 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
678 * files.el (file-relative-name): Doc fix (bug#15159).
680 * fringe.el (fringe-styles): Doc fix (bug#15239).
682 * isearch.el (isearch-filter-predicate): Documentation typo fix
685 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
687 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
689 * replace.el (replace-match-maybe-edit): Doc clarification
692 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
694 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
696 2014-02-08 Glenn Morris <rgm@gnu.org>
698 * help-fns.el (describe-variable):
699 Check {file,dir}-local-variables-alist, and buffer-file-name,
700 in the correct buffer.
702 2014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
704 * help-fns.el (describe-variable): Fix the case where
705 a value is directory-local with no dir-locals file. (Bug#16635)
707 2014-02-08 Glenn Morris <rgm@gnu.org>
709 * abbrev.el (edit-abbrevs-mode):
710 Derive from fundamental-mode. (Bug#16682)
712 2014-02-07 Juanma Barranquero <lekktu@gmail.com>
714 * simple.el (quoted-insert): Check character validity (bug#16677).
716 2014-02-07 Juri Linkov <juri@jurta.org>
718 * desktop.el (desktop-read): Claim the lock when the owner is not
719 the current process. (Bug#16157)
721 2014-02-07 Juri Linkov <juri@jurta.org>
723 * desktop.el (desktop-buffers-not-to-save): Change default from nil
724 to "\\` ". (Bug#16651)
726 2014-02-07 Juri Linkov <juri@jurta.org>
728 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
729 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
730 (desktop-auto-save-cancel-timer): New function with some code from
731 `desktop-auto-save-set-timer'.
732 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
733 Instead of setting `desktop-save-mode' to nil, call
734 `desktop-save-mode' with arg 0. (Bug#16630)
736 2014-02-07 Glenn Morris <rgm@gnu.org>
738 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
739 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
740 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
742 * obsolete/iswitchb.el: Move to obsolete/.
743 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
744 since obsolete/ is not scanned for autoloads.
745 * emacs-lisp/authors.el (authors-valid-file-names):
748 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
749 Disable now non-functional find-file-hook.
751 2014-02-06 Michael Albinus <michael.albinus@gmx.de>
753 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
754 instead of ";" in order to avoid additional prompts. Let heredoc
755 scripts read from tty. (Bug#16582)
756 (tramp-send-command): No special handling of heredocs, it isn't
759 2014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
761 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
762 with a space (bug#16664). Limit the symbols considered to the ones
763 that are bound or fbound (bug#16646).
765 2014-02-06 Glenn Morris <rgm@gnu.org>
767 * epa.el (epa-mail-aliases): Doc fix.
769 2014-02-06 Dmitry Gutov <dgutov@yandex.ru>
771 * emacs-lisp/lisp.el (lisp-completion-at-point):
772 Use `completion-table-merge' instead of `completion-table-in-turn'
775 * minibuffer.el (completion-table-merge): New function.
777 2014-02-05 Michael Albinus <michael.albinus@gmx.de>
779 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
780 (tramp-sh-handle-set-file-acl)
781 (tramp-sh-handle-start-file-process)
782 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
783 (tramp-find-executable, tramp-send-command): Use it.
785 2014-02-05 Glenn Morris <rgm@gnu.org>
787 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
789 2014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
791 * progmodes/python.el (python-shell-send-string):
792 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
794 2014-02-04 Anders Lindgren <andlind@gmail.com>
796 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
797 the names (bug#16620).
799 2014-02-03 Martin Rudalics <rudalics@gmx.at>
801 * faces.el (window-divider): New default value. Rewrite doc-string.
802 (window-divider-first-pixel, window-divider-last-pixel): New faces.
804 2014-02-03 Dmitry Gutov <dgutov@yandex.ru>
806 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
807 `protected' and `public' can also be called without arguments.
809 2014-02-03 Glenn Morris <rgm@gnu.org>
811 * register.el (window-configuration-to-register)
812 (frame-configuration-to-register): Unadvertise unused argument.
813 * frameset.el (frameset-to-register): Remove unused argument.
815 * frameset.el (frameset-to-register):
816 * kmacro.el (kmacro-to-register):
817 * register.el (increment-register):
818 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
819 (calc-append-to-register, calc-prepend-to-register):
820 * play/gametree.el (gametree-layout-to-register)
821 (gametree-apply-register-layout):
822 * textmodes/picture.el (picture-clear-rectangle-to-register)
823 (picture-yank-rectangle-from-register):
824 * vc/emerge.el (emerge-combine-versions-register):
825 Use register-read-with-preview to read registers.
827 2014-02-03 João Távora <joaotavora@gmail.com>
829 * elec-pair.el (electric-pair-backward-delete-char): Don't error
830 when at beginning of (possibly narrowed) buffer.
832 2014-02-02 Daniel Colascione <dancol@dancol.org>
834 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
835 Also try to display local help from just before point.
837 2014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
839 c-parse-state. Don't "append-lower-brace-pair" in certain
840 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
841 recognised as a comment.
843 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
844 as well as normal comment starter.
845 (c-parse-state-get-strategy): Extra return possibility
847 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
848 return value list to indicate replacement of a brace-pair cons
850 (c-parse-state-1): With 'back-and-forward, only call
851 c-append-lower-brace-pair-to state-cache when cons-separated.
853 2014-02-02 Jan Djärv <jan.h.d@swipnet.se>
855 * term/ns-win.el (ns-suspend-error): New function.
856 (ns-initialize-window-system): Add ns-suspend-error to
857 suspend-hook (Bug#16612).
859 2014-02-02 Daniel Colascione <dancol@dancol.org>
861 * progmodes/cc-defs.el (c-find-assignment-for-mode): Make loading cc-mode silent.
863 2014-02-02 Daniel Colascione <dancol@dancol.org>
865 * comint.el (comint-prompt-read-only): Change doc to suggest remap keybinding.
867 2014-02-02 Glenn Morris <rgm@gnu.org>
869 * register.el (register-read-with-preview, point-to-register)
870 (window-configuration-to-register, frame-configuration-to-register)
871 (jump-to-register, number-to-register, view-register, insert-register)
872 (copy-to-register, append-to-register, prepend-to-register)
873 (copy-rectangle-to-register): Doc fixes.
875 2014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
877 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
878 * emacs-lisp/find-func.el (find-function-C-source): Idem.
879 * emacs-lisp/nadvice.el (advice--cd*r): New function.
880 * help-fns.el (describe-function-1): Use it.
882 2014-02-02 Glenn Morris <rgm@gnu.org>
884 * register.el (register-preview-default): New function,
885 split from register-preview.
886 (register-preview-function): Rename from register-preview-functions,
888 (register-preview): Use register-preview-function.
889 (register-read-with-preview): Error on non-character event. (Bug#16595)
891 2014-02-01 Dmitry Gutov <dgutov@yandex.ru>
893 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
894 `:' before binary operators (bug#16609). Don't check for `:'
895 before `[' and `(', or their syntax status. A percent literal
896 can't end with either.
897 (ruby-font-lock-keywords): For built-ins that require arguments,
898 check that they're followed by something that looks like argument
901 2014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
903 * subr.el (butlast): Document what an omitted N means (bug#13437).
906 2014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
908 * net/shr.el (shr-generic): Make into a defsubst to make the stack
909 depth shallower (bug#16587).
910 (shr-tag-svg): Respect `shr-inhibit-images'.
911 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
913 2014-01-31 Dmitry Gutov <dgutov@yandex.ru>
915 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
916 (ruby-smie-grammar): Make "." right-associative. Make its priority
917 lower than the ternary and all binary operators.
918 (ruby-smie-rules): Indent "(" relative to the first non-"."
919 parent, or the first "." parent at indentation.
920 Use `ruby-align-chained-calls' for indentation of "." tokens.
923 2014-01-31 Juri Linkov <juri@jurta.org>
925 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
926 from `make-hash-table'.
928 * textmodes/ispell.el (ispell-init-process): Change message format
929 to be consistent with other messages.
931 2014-01-31 Glenn Morris <rgm@gnu.org>
933 * delsel.el (delete-selection-mode): Doc fix.
935 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
936 (trace-function-background): Doc fixes.
938 * ido.el (ido-use-virtual-buffers): Doc fix.
939 Reset :version, since the default value has not changed.
941 * register.el (register-preview-delay, register-read-with-preview):
944 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
945 do not mess with mail-buffer position (fixes 2009-11-03 change).
946 * progmodes/cc-mode.el (c-submit-bug-report):
947 Check auto-fill-mode is bound. (Bug#16592)
949 2014-01-31 Darren Hoo <darren.hoo@gmail.com>
951 * startup.el (fancy-splash-image-file): New function,
952 split from fancy-splash-head.
953 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
954 so that we are both using the same image. (Bug#16574)
956 2014-01-30 Glenn Morris <rgm@gnu.org>
958 * simple.el (eval-expression): Doc fix.
960 * hexl.el (hexl-mode-hook):
961 * ielm.el (ielm-mode-hook):
962 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
963 (lisp-interaction-mode-hook):
964 * progmodes/cfengine.e (cfengine3-documentation-function):
965 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
967 2014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
969 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
970 is a symbol (bug#16584).
972 2014-01-30 Glenn Morris <rgm@gnu.org>
974 * help.el (help-for-help-internal): Add "P" to text.
976 2014-01-29 Glenn Morris <rgm@gnu.org>
978 * simple.el (just-one-space, cycle-spacing): Doc fixes.
980 2014-01-28 Martin Rudalics <rudalics@gmx.at>
982 * window.el (fit-frame-to-buffer): Fix calculations for margins and
985 2014-01-28 Luke Lee <luke.yx.lee@gmail.com>
987 * progmodes/hideif.el: Extend to full CPP expression syntax.
988 (hif-token-alist): Add missing tokens.
989 (hif-token-regexp): Add support for float/octal/hex immediates.
990 (hif-string-literal-regexp): New const.
991 (hif-tokenize): Recognize strings and float/octal/hex immediates.
992 (hif-exprlist): New function.
993 (hif-parse-if-exp): Use it.
994 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
995 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
996 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
997 (hif-logxor, hif-comma): New functions.
999 2014-01-28 Glenn Morris <rgm@gnu.org>
1001 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
1003 * indent.el (tab-stop-list): Doc fix. Add :version.
1005 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
1006 (cvs-append-to-ignore): Add compatibility alias.
1008 2014-01-27 Glenn Morris <rgm@gnu.org>
1010 * dired.el (dired-hide-details-mode): Don't autoload it,
1011 since it cannot be used outside Dired buffers anyway.
1013 * emulation/cua-base.el (cua-mode): Doc fix.
1015 * dired.el (dired-hide-details-hide-symlink-targets)
1016 (dired-hide-details-hide-information-lines)
1017 (dired-hide-details-mode): Doc fixes.
1019 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
1020 * strokes.el (strokes-file): Doc fix. Bump :version.
1021 (strokes-help): Doc fix.
1022 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
1023 * emulation/viper.el (viper): Doc fix for custom group.
1024 (top-level): Remove oh-so-no-longer-relevant text about vip.
1025 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
1027 * ido.el (ido-save-directory-list-file):
1028 * saveplace.el (save-place-file):
1029 * calendar/timeclock.el (timeclock-file):
1030 * net/quickurl.el (quickurl-url-file):
1031 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
1032 * progmodes/idlwave.el (idlwave-config-directory):
1033 * textmodes/remember.el (remember-data-file):
1036 2014-01-26 Glenn Morris <rgm@gnu.org>
1038 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
1039 Doc fix. Make obsolete.
1040 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
1042 * sort.el (delete-duplicate-lines): Doc fix.
1044 2014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1046 * progmodes/ada-mode.el (ada):
1047 * woman.el (woman): Link to info manual and Commentary section.
1049 * progmodes/flymake.el (flymake):
1050 * nxml/nxml-mode.el (nxml):
1052 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
1053 * htmlfontify.el (htmlfontify):
1056 * ido.el (ido): Link to info manual.
1058 2014-01-25 Leo Liu <sdl.web@gmail.com>
1060 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
1062 2014-01-25 Adam Sjøgren <asjo@koldfront.dk>
1064 * net/shr.el (shr-tag-img): Prefer the title over the alt text
1067 2014-01-24 Juanma Barranquero <lekktu@gmail.com>
1069 * net/eww.el (eww-download-callback):
1070 Fix reference to eww-download-directory.
1072 * emacs-lisp/bytecomp.el (byte-compile-file):
1073 Remove unused local variable `file-name'.
1075 2014-01-24 Glenn Morris <rgm@gnu.org>
1077 * woman.el (woman-default-faces, woman-monochrome-faces):
1078 Fix obsolescence specification.
1080 * subr.el (with-demoted-errors): Doc fix.
1082 2014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
1084 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
1085 (cl--macroexp-fboundp): New function.
1086 (cl--make-type-test): Use it.
1088 2014-01-23 Glenn Morris <rgm@gnu.org>
1090 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
1091 * simple.el (eval-expression): Doc fixes.
1093 2014-01-22 Glenn Morris <rgm@gnu.org>
1095 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
1097 2014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
1099 * emacs-lisp/package.el: Write files silently.
1100 (package-autoload-ensure-default-file, package--write-file-no-coding)
1101 (package-generate-description-file, package--download-one-archive)
1102 (package-install-from-archive): Tell `write-region' to stay quiet.
1103 (package-menu-mode, package-menu--print-info): Omit the Archive column
1104 if there's only one archive.
1105 (package-all-keywords, package--has-keyword-p): Remove dead code.
1107 2014-01-22 Glenn Morris <rgm@gnu.org>
1109 * version.el (emacs-bzr-version-bzr): Fix typo.
1111 * version.el (emacs-repository-get-version):
1112 Check either .bzr or .git, but not both.
1113 Make the git case actually use the DIR argument, and return nil
1114 rather than the empty string.
1115 Avoid error if .git exists but the git executable is not found.
1117 2014-01-22 Martin Rudalics <rudalics@gmx.at>
1119 Fixes in window size functions around Bug#16430 and Bug#16470.
1120 * window.el (window-total-size, window-size): New argument ROUND.
1121 (window--min-delta-1, window-min-delta, window--max-delta-1):
1122 Be more conservative when calculating the numbers of lines or
1123 columns a window can shrink (Bug#16430).
1124 (fit-window-to-buffer): Simplify code.
1125 * term.el (term-window-width): Call window-body-width again.
1127 2014-01-22 Glenn Morris <rgm@gnu.org>
1129 * image.el (image-format-suffixes): Doc fix.
1131 * international/quail.el (quail-define-package): Doc fix.
1133 * emacs-lisp/authors.el (authors-valid-file-names):
1134 (authors-renamed-files-alist): Additions.
1136 * vc/vc-git.el (vc-git-print-log): Remove --follow;
1137 reverts 2014-01-09 change. (Bug#16422)
1139 * calc/calc-embed.el (thing-at-point-looking-at):
1140 * emacs-lisp/map-ynp.el (x-popup-dialog):
1141 * obsolete/lmenu.el (x-popup-dialog):
1142 * emacs-lisp/package.el (url-recreate-url):
1143 * mail/mailclient.el (clipboard-kill-ring-save):
1144 * subr.el (x-popup-dialog): Update declaration.
1145 * mail/rmail.el (rmail-mime-message-p):
1146 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
1148 2014-01-21 Daniel Colascione <dancol@dancol.org>
1150 * progmodes/sh-script.el (sh--inside-noncommand-expression):
1151 Correctly detect when we're inside an arithmetic expansion form
1152 containing nested parenthesis.
1153 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
1154 to detect cases where we shouldn't expand "<<" to a heredoc
1157 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
1159 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
1160 (eldoc--message-command-p): New function.
1161 (eldoc-display-message-p): Use it.
1162 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
1163 message is not automatically erased for us.
1164 (eldoc-print-current-symbol-info): Erase previous message, if any.
1166 2014-01-21 Tassilo Horn <tsdh@gnu.org>
1168 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
1169 specify it's an interactive function.
1171 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
1172 Fix regex used for scanning for citation keys which failed for
1173 citations with optional arguments.
1175 2014-01-21 Leo Liu <sdl.web@gmail.com>
1177 * simple.el (read--expression): Don't enable eldoc-mode.
1179 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
1181 * simple.el (move-beginning-of-line): Make sure we don't move forward
1184 2014-01-20 Juri Linkov <juri@jurta.org>
1186 * saveplace.el (toggle-save-place, save-place-to-alist)
1187 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
1188 'dired-mode) before checking for dired-directory. (Bug#16477)
1190 2014-01-20 Juri Linkov <juri@jurta.org>
1192 * indent.el (indent-line-to): Use backward-to-indentation
1193 instead of back-to-indentation. (Bug#16461)
1195 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
1197 Revert some of the CANNOT_DUMP fix (Bug#16494).
1198 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
1199 but fixing this can wait until after the next release.
1200 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
1202 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
1204 * eshell/esh-mode.el (eshell-password-prompt-regexp):
1205 Use `password-word-equivalents'.
1206 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
1207 to t. (Bug#5664, Bug#13124)
1209 2014-01-19 Alan Mackenzie <acm@muc.de>
1211 Bind open-paren-in-column-0-is-defun-start to nil at some entry
1213 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
1214 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
1215 * progmodes/cc-mode.el (c-before-change, c-after-change)
1216 (c-font-lock-fontify-region): Bind it here.
1218 2014-01-19 Martin Rudalics <rudalics@gmx.at>
1220 * term.el (term-window-width): Call window-text-width instead of
1221 window-width (Bug#16470).
1223 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
1225 * simple.el (password-word-equivalents): Remove duplicates.
1226 Sort, to make this easier next time.
1227 Downcase. Omit ": " after "jelszó".
1229 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
1231 * term/common-win.el (saved-region-selection): Defvar it.
1232 (x-select-text): Set saved-region-selection (Bug#16382).
1234 2014-01-18 Glenn Morris <rgm@gnu.org>
1236 * emacs-lisp/authors.el (authors-aliases)
1237 (authors-renamed-files-alist): Add some entries.
1239 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
1241 * net/tramp.el (tramp-password-prompt-regexp):
1242 Use `password-word-equivalents' if available.
1243 (tramp-action-password, tramp-process-one-action)
1244 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
1246 2014-01-17 Chong Yidong <cyd@gnu.org>
1248 * simple.el (password-word-equivalents): New defcustom.
1249 * comint.el (comint-password-prompt-regexp): Use it. Bump version
1251 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
1254 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
1256 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
1257 (ruby-align-to-stmt-keywords): Change the default value.
1258 Use `ruby-alignable-keywords' to generate the possible customization
1260 (ruby-smie-rules): Instead of using a hardcoded list of alignable
1261 keywords, check against the value of `ruby-alignable-keywords'
1262 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
1264 2014-01-17 Glenn Morris <rgm@gnu.org>
1266 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
1268 Make M-x authors return zero *Authors Errors* from current logs.
1269 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
1270 (authors-ignored-files): Add some entries, remove others.
1271 (authors-ambiguous-files, authors-valid-file-names):
1273 (authors-renamed-files-alist): Add, remove, and adjust entries.
1274 (authors-renamed-files-regexps): Add some entries.
1275 Remove some very broad ones. Make some entries `lax'.
1276 (authors-lax-changelogs): New constant.
1277 (authors-disambiguate-file-name): Treat top-level specially.
1278 (authors-lax-changelog-p): New function.
1279 (authors-canonical-file-name): Check file as written against
1280 authors-valid-file-names. Do not special-case etc/.
1281 Handle `lax' logs and authors-renamed-files-regexps elements.
1283 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
1285 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
1286 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
1289 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
1291 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
1292 Assume we're already in the proper buffer.
1293 Inspired by Anders Lindgren <andlind@gmail.com>.
1294 (follow-post-command-hook): Call it from the right buffer.
1295 (follow-comint-scroll-to-bottom): Adjust call.
1296 (follow-all-followers): Use get-buffer-window-list.
1298 2014-01-15 Daniel Colascione <dancol@dancol.org>
1300 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
1301 `buffer-file-name' in interactive-form so that we don't leave
1302 pathless file names in `file-name-history'.
1304 2014-01-15 Juri Linkov <juri@jurta.org>
1306 * indent.el (indent-rigidly): Set deactivate-mark to nil
1307 in transient indentation mode. (Bug#16438)
1309 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
1311 * emacs-lisp/package.el (package-desc-keywords): New function
1313 (describe-package-1, package-all-keywords)
1314 (package--has-keyword-p): Use it.
1316 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1318 * simple.el (define-alternatives): When creating the
1319 COMMAND-alternatives variable, assign COMMAND as its definition
1320 name so that `describe-variable' can relocate it.
1322 2014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
1324 * font-lock.el (font-lock-keywords): Fix typo in docstring
1327 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1329 * ispell.el (ispell-region): Reset `in-comment' for new line
1330 instead of wrongly reset `add-coment' (bug#13577).
1332 2014-01-14 Daiki Ueno <ueno@gnu.org>
1334 * epa-file.el (epa-file-write-region): Encode the region according
1335 to `buffer-file-format'. Problem reported at:
1336 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
1338 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
1340 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
1341 so it applies in the right buffer (bug#16410).
1343 2014-01-13 Daniel Colascione <dancol@dancol.org>
1345 * textmodes/rst.el (rst-define-key): Provide deprecated
1346 keybindings through named functions instead of anonymous ones so
1347 that "??" doesn't appear in describe-mode output.
1349 2014-01-13 Bastien Guerry <bzg@gnu.org>
1351 * simple.el (define-alternatives): Call the selected command
1352 interactively. When setting `COMMAND--implementation' for the
1353 first time, tell the user how to chose another implementation.
1354 Enhance the docstring.
1356 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
1358 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
1359 (log-edit--match-first-line): New function.
1360 (log-edit-font-lock-keywords): Use it.
1361 (log-edit-mode): Make jit-lock-defer-multiline work.
1363 2014-01-13 Bastien Guerry <bzg@gnu.org>
1365 * rect.el (rectangle-mark-mode): When the region is not active,
1366 display a message saying that the mark as been set and that
1367 rectangle mode is in use.
1368 (rectangle--highlight-for-redisplay): Only put an overlay with a
1369 visible vertical bar when (display-graphic-p) is non-nil.
1370 This partially fixes Bug#16403.
1372 2014-01-13 Juri Linkov <juri@jurta.org>
1374 * info.el (Info-find-file): Go to DIR before displaying the error
1375 about a nonexistent file if no previous Info file is visited.
1376 Use `user-error' instead of `error' for "Info file %s does not exist".
1377 (Info-find-node-2): In case of a nonexistent node in unwind forms
1378 go to the Top node if there is no previous node to revert to.
1381 2014-01-13 Martin Rudalics <rudalics@gmx.at>
1383 fit-frame/window-to-buffer code fixes including one for Bug#14096.
1384 * window.el (fit-frame-to-buffer): Fix doc-string.
1385 Respect window-min-height/-width. Fit pixelwise when
1386 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
1387 when avoiding that frame goes partially off-screen.
1388 (fit-window-to-buffer): Respect window-min-height/-width
1391 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
1393 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
1394 after an empty line.
1396 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
1398 * net/shr.el (shr-render-region): Autoload.
1400 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
1402 * net/eww.el (eww-download-directory): Rename from
1403 `eww-download-path' (Bug#16419).
1405 2014-01-12 Leo Liu <sdl.web@gmail.com>
1407 * dired-x.el (dired-mode-map): Fix last change.
1409 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
1411 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
1414 * emacs-lisp/generic.el (generic--normalize-comments):
1415 Rename from generic--normalise-comments. All uses changed.
1416 * play/bubbles.el (bubbles--neighborhood-score):
1417 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
1418 (bubbles--neighborhood-available)
1419 (bubbles--update-neighborhood-score):
1420 Rename from names with 'neighbourhood'. All uses changed.
1422 2014-01-12 Leo Liu <sdl.web@gmail.com>
1424 Re-implement the feature of showing eldoc info after editing.
1425 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
1426 (eldoc-edit-message-commands): New function.
1427 (eldoc-print-after-edit): New variable.
1428 (eldoc-pre-command-refresh-echo-area): Emit message only by
1429 eldoc-message-commands.
1430 (eldoc-mode): Restrict eldoc-message-commands to editing commands
1431 if eldoc-print-after-edit is set. (Bug#16346)
1432 * simple.el (read--expression): Enable eldoc-mode.
1433 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
1435 2014-01-11 Dani Moncayo <dmoncayo@gmail.com>
1436 Eric S. Raymond <esr@thyrsus.com>
1438 * version.el (emacs-repository-get-version): Enhance so the
1439 function works correctly in either a Bazaar or Git repo.
1441 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
1443 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
1444 Goes with removal of the joke manpages from /etc.
1446 2014-01-10 Kenichi Handa <handa@gnu.org>
1448 * mail/rmail.el (rmail-get-coding-system):
1449 Check rmail-get-coding-function before "funcall"ing it.
1451 2014-01-10 Glenn Morris <rgm@gnu.org>
1453 * emacs-lisp/authors.el (authors-fixed-entries):
1454 Update for files that no longer exist.
1456 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
1458 * version.el (emacs-bzr-get-version): Restore compatibilty with
1461 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
1463 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
1466 2014-01-10 Eli Zaretskii <eliz@gnu.org>
1468 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
1470 2014-01-10 Chong Yidong <cyd@gnu.org>
1472 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
1474 2014-01-10 Anders Lindgren <andlind@gmail.com>
1476 * follow.el (follow-cache-command-list): Include right-char and
1479 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
1482 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
1483 * woman.el (woman-mark-horizontal-position):
1484 Rename from woman-mark-horizonal-position. Use changed.
1486 2014-01-10 Glenn Morris <rgm@gnu.org>
1488 * info.el (info-initialize): If running uninstalled, ensure our
1489 own info files are always found first, even if INFOPATH is set.
1491 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
1493 2014-01-09 David Engster <deng@randomsample.de>
1495 * emacs-lisp/eieio-custom.el:
1496 * emacs-lisp/eieio-opt.el: Set generated autoload file to
1497 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
1498 * emacs-lisp/eieio.el: Regenerate autoloads.
1500 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
1502 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
1503 following renames. (Bug#8756)
1505 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
1507 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
1509 (activate-mark): Add `no-tmm' argument.
1510 (set-mark, push-mark-command): Use it instead of running
1511 activate-mark-hook by hand.
1513 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
1515 In preparation for the move to git, sanitize out some
1516 Bazaar-specific names.
1518 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
1520 * version.el (emacs-bzr-version): Name changed to
1521 emacs-repository-version. Obsolete-variable alias made.
1522 * loadup.el: Follow through on this name change.
1523 * mail/emacsbug.el (report-emacs-bug): Factor out any
1524 assumption about the version control system in use.
1526 2014-01-08 David Engster <deng@randomsample.de>
1528 * help-fns.el (help-fns-describe-function-functions):
1529 New variable to call functions for augmenting help buffers.
1530 (describe-function-1): Remove explicit calls to
1531 `help-fns--compiler-macro', `help-fns--parent-mode' and
1532 `help-fns--obsolete'. Put them in above new variable instead, and
1533 call them through `run-hook-with-args'.
1534 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
1535 `eieio-describe-class'. Not meant for interactive use anymore,
1536 but to augment existing help buffers. Remove optional second
1537 argument. Create proper button for file location.
1538 Rewrite function to use `insert' instead of `princ' and `prin1' where
1540 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
1541 (eieio-method-def, eieio-class-def): Move further up.
1542 (describe-method, describe-generic, eieio-describe-method):
1544 (eieio-help-constructor, eieio-help-generic): Rename from
1545 `eieio-describe-constructor' and `eieio-describe-generic', resp.
1546 Rewrite to use `insert' in the current buffer and use proper help
1548 (eieio-help-find-method-definition)
1549 (eieio-help-find-class-definition): Also accept symbols as
1551 (eieio-help-mode-augmentation-maybee): Remove.
1552 (eieio-describe-class-sb): Use `describe-function'.
1553 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
1554 Add `eieio-help-generic' and `eieio-help-constructor'.
1556 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
1559 * language/china-util.el (hz-ascii-designation):
1560 Rename from hz-ascii-designnation.
1561 (hz-ascii-designation): Rename from hz-ascii-designnation.
1564 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
1566 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
1569 2014-01-08 Bastien Guerry <bzg@gnu.org>
1571 * emacs-lisp/package.el (package-delete):
1572 Correctly delete the package from package-alist.
1574 2014-01-08 Daiki Ueno <ueno@gnu.org>
1576 * emacs-lisp/package.el (url-recreate-url): Declare.
1577 (url-http-target-url): Declare.
1578 (package-handle-response): Include requested URL in the error message.
1579 (package--check-signature): Don't re-signal errors from
1580 package--with-work-buffer. Suggested by Stefan Monnier.
1582 2014-01-07 Bastien Guerry <bzg@gnu.org>
1584 * minibuffer.el (completion--try-word-completion): When both a
1585 hyphen and a space are possible candidates for the character
1586 following a word, display both candidates. (Bug#15980)
1588 2014-01-07 Martin Rudalics <rudalics@gmx.at>
1590 * window.el (balance-windows-2): While rounding don't give a
1591 window more than the remainder. Bug#16351, bug#16383.
1593 2014-01-07 Glenn Morris <rgm@gnu.org>
1595 * menu-bar.el (menu-bar-help-extra-packages): Remove.
1596 (menu-bar-help-menu): Use view-external-packages instead.
1598 2014-01-07 Bastien Guerry <bzg@gnu.org>
1600 * emacs-lisp/package.el (package-delete): Also delete the package
1601 name from `package-alist', not its description only.
1603 2014-01-07 Glenn Morris <rgm@gnu.org>
1605 * help.el (view-external-packages):
1606 * menu-bar.el (menu-bar-help-extra-packages):
1607 Visit efaq.info rather than etc/MORE.STUFF.
1609 2014-01-07 Juri Linkov <juri@jurta.org>
1611 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
1612 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
1614 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
1615 that shadows RET. (Bug#16342)
1617 2014-01-07 Chong Yidong <cyd@gnu.org>
1619 * isearch.el (isearch-yank-char, isearch-yank-word)
1620 (isearch-yank-line): Doc fix.
1622 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
1624 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
1625 * emacs-lisp/elint.el (elint-find-builtins):
1626 * emacs-lisp/eldoc.el (eldoc-symbol-function):
1627 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
1628 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
1629 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
1630 * apropos.el (apropos-safe-documentation):
1631 * subr.el (symbol-file): Remove redundant fboundp.
1632 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
1634 2014-01-06 Bastien Guerry <bzg@gnu.org>
1636 * hl-line.el (global-hl-line-overlay): Make a local variable.
1637 (global-hl-line-overlays): New variable to store all overlays.
1638 (global-hl-line-mode): Don't delete overlays from the current
1639 buffer when `global-hl-line-sticky-flag' is non-nil.
1640 (global-hl-line-highlight): Add new overlays to
1641 `global-hl-line-overlays'.
1642 (global-hl-line-unhighlight-all): New function to delete all
1643 overlays when turning off `global-hl-line-mode'.
1644 This fixes Bug#16183.
1646 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
1648 * subr.el (set-transient-map): Fix nested case and docstring.
1650 2014-01-06 Tassilo Horn <tsdh@gnu.org>
1652 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
1655 2014-01-06 Daniel Colascione <dancol@dancol.org>
1657 Fix defun navigation in vc log view.
1659 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
1660 like `beginning-of-defun'.
1661 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
1662 log-view-end-of-defun to log-view-end-of-defun-1. Replace
1663 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
1664 (log-view-extract-comment): Call `log-view-current-entry' directly
1665 instead of relying on broken `log-view-beginning-of-defun' behavior.
1667 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
1670 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
1671 * emacs-lisp/debug.el (cancel-debug-on-entry):
1672 * epg.el (epg-error-to-string):
1673 * files.el (recover-file):
1674 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
1675 * mail/emacsbug.el (report-emacs-bug-hook):
1676 * mail/sendmail.el (mail-recover):
1677 * ses.el (ses-yank-resize):
1678 * term/ns-win.el (ns-print-buffer):
1679 Spelling fixes in diagnostics, mostly for "canceled" with one L.
1680 * epg.el (epg-key-capability-alist): Rename from misspelled version.
1682 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
1684 2014-01-06 Leo Liu <sdl.web@gmail.com>
1686 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
1687 to avoid shadowing global key. (Bug#16354)
1689 2014-01-06 Daniel Colascione <dancol@dancol.org>
1691 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
1694 2014-01-05 Martin Rudalics <rudalics@gmx.at>
1696 * window.el (balance-windows): Add mising t to fix Bug#16351.
1698 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
1700 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
1702 (shr-insert): If we have a word that's longer than `shr-width',
1703 break after it anyway. Otherwise we'll do no breaking once we get
1706 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1708 * net/eww.el (eww): Support single/double quote for search.
1709 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
1710 (eww-history-quit): Delete and use quit-window.
1711 (eww-history-kill): Delete, because it doesn't work well and
1713 (eww-history-mode-map): Delete some keys and add easy-menu.
1715 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
1717 Fix misspelling of 'chinese' in rx (Bug#16237).
1718 * emacs-lisp/rx.el (rx-categories): Correct spelling of
1721 Change subword regexps back to vars (Bug#16296).
1722 * progmodes/subword.el (subword-forward-regexp)
1723 (subword-backward-regexp): Change these back to variables.
1725 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
1727 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
1728 syntax-begin-function (bug#16247).
1730 2014-01-03 Chong Yidong <cyd@gnu.org>
1732 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
1733 (advice--docstring): Delete variable.
1734 (advice--make-1): Leave the docstring empty.
1735 (advice-add): Use function-documentation for advised docstring.
1737 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
1738 Ignore function-documentation property when getting documentation.
1739 (ad-activate-advised-definition): Use function-documentation
1740 generate the docstring.
1741 (ad-make-advised-definition): Don't call
1742 ad-make-advised-definition-docstring.
1743 (ad-make-advised-definition-docstring, ad-advised-definition-p):
1746 * progmodes/sql.el (sql-help): Use function-documentation instead
1747 of dynamic-docstring-function property. No need to autoload now.
1748 (sql--help-docstring): New variable.
1749 (sql--make-help-docstring): Use it.
1751 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
1753 * ielm.el (ielm-tab): Retarget.
1754 (ielm-map): Use ielm-tab for tab.
1755 (ielm-complete-filename): Use comint-filename-completion.
1756 (ielm-complete-symbol): Remove.
1757 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
1758 remove ielm-tab from completion-at-point-functions (bug#16224).
1760 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
1761 Beware signals raised by predicates (bug#16201).
1763 2014-01-02 Richard Stallman <rms@gnu.org>
1765 * dired-aux.el (dired-do-print): Handle printer-name.
1767 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
1768 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
1769 (rmail-epa-decrypt): Turn off mime processing.
1771 * mail/rmail.el (rmail-make-in-reply-to-field):
1772 Add parens in message-id.
1774 * mail/rmail.el (rmail-get-coding-function): Variable.
1775 (rmail-get-coding-system): Use it.
1777 2013-12-31 Eli Zaretskii <eliz@gnu.org>
1779 * international/mule-conf.el: Unify the charset indian-is13194.
1780 (indian-is13194): Specify unify-map.
1782 2013-12-31 Leo Liu <sdl.web@gmail.com>
1784 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
1786 2013-12-30 Daniel Colascione <dancol@dancol.org>
1788 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
1789 of printing a useless when we resume from sleep.
1791 * progmodes/sh-script.el
1792 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
1793 in indentation code. (Bug#16233)
1795 2013-12-28 João Távora <joaotavora@gmail.com>
1797 * elec-pair.el (electric-pair-post-self-insert-function):
1798 Don't open extra newlines at beginning of buffer. (Bug#16272)
1800 2013-12-28 Eli Zaretskii <eliz@gnu.org>
1802 * frame.el (window-system-for-display): Don't allow to create a
1803 GUI frame from a -nw session on MS-Windows. (Bug#14739)
1805 2013-12-28 Glenn Morris <rgm@gnu.org>
1807 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
1810 * apropos.el (apropos-match-face):
1811 * calculator.el (calculator-displayer):
1812 * dabbrev.el (dabbrev-search-these-buffers-only):
1813 * face-remap.el (buffer-face-mode-face):
1814 * simple.el (yank-handled-properties):
1815 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
1816 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
1817 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
1818 (hashcash-double-spend-database):
1819 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
1820 (ruby-deep-indent-paren-style):
1821 * textmodes/flyspell.el (flyspell-auto-correct-binding):
1822 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
1823 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
1824 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
1825 Specify custom types.
1827 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
1828 * bookmark.el (bookmark-bmenu-use-header-line):
1829 * doc-view.el (doc-view-scale-internally):
1830 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
1831 * register.el (register-preview-delay):
1832 * net/shr.el (shr-bullet):
1833 * progmodes/cfengine.el (cfengine-cf-promises)
1834 (cfengine-parameters-indent):
1835 * progmodes/octave.el (inferior-octave-error-regexp-alist):
1836 * textmodes/reftex-vars.el (reftex-label-regexps):
1837 * vc/log-edit.el (log-edit-setup-add-author): Add version.
1839 * net/tls.el (tls-certtool-program): Fix default value.
1841 * desktop.el (desktop-restore-in-current-display):
1842 * newcomment.el (comment-empty-lines):
1843 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
1844 (idlwave-pad-keyword):
1845 * progmodes/tcl.el (tcl-tab-always-indent):
1846 * textmodes/reftex-vars.el (reftex-index-default-tag):
1847 * elec-pair.el (electric-pair-skip-whitespace):
1848 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
1850 * emacs-lisp/authors.el (authors-ignored-files)
1851 (authors-valid-file-names, authors-renamed-files-alist): Additions.
1853 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
1855 * shell.el (shell-dynamic-complete-command): Doc fix.
1856 (shell--command-completion-data): Shell completion now matches
1857 executable filenames from the current buffer's directory, on
1858 systems in which this behavior is the default (windows-nt, ms-dos).
1860 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
1862 * net/shr.el (shr-insert): Don't infloop if the width is zero.
1864 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
1866 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
1869 * electric.el: Move all electric-pair-* to elec-pair.el.
1870 * elec-pair.el: New file, split from electric.el.
1872 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
1874 * net/shr.el (shr-find-fill-point): Don't try to fill if the
1875 indentation level is larger than the width, because that will
1877 (shr-insert): Fill repeatedly long texts, so that Japanese is
1878 formatted correctly (bug#16263).
1879 (shr-find-fill-point): Off by one error in comparison with the
1882 2013-12-26 João Távora <joaotavora@gmail.com>
1884 * electric.el (electric-pair-mode): More flexible engine for skip-
1885 and inhibit predicates, new options for pairing-related functionality.
1886 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
1887 if that keeps or improves their balance in buffers.
1888 (electric-pair-delete-adjacent-pairs): Delete the pair when
1889 backspacing over adjacent matched delimiters.
1890 (electric-pair-open-extra-newline): Open extra newline when
1891 inserting newlines between adjacent matched delimiters.
1892 (electric--sort-post-self-insertion-hook):
1893 Sort post-self-insert-hook according to priority values when
1894 minor-modes are activated.
1895 * simple.el (newline-and-indent): Call newline with interactive
1897 (blink-paren-post-self-insert-function): Set priority to 100.
1898 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
1899 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
1900 comments. Locally set electric-pair-skip-whitespace to 'chomp and
1901 electric-pair-open-newline-between-pairs to nil.
1903 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
1905 * progmodes/python.el: Use lexical-binding.
1906 (python-nav-beginning-of-defun): Stop searching ASAP.
1908 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
1910 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
1911 Fix interactive spec. Doc fix. (Bug#15754)
1913 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
1915 * emacs-lisp/byte-run.el (eval-when-compile):
1916 * progmodes/cc-defs.el (cc-eval-when-compile):
1917 Fix edebug spec (bug#16184).
1919 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
1921 * net/shr.el (shr-visit-file): Remove debugging function.
1922 (shr-insert): Don't infloop if we can't find a good place to break
1923 the line (bug#16256).
1925 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
1927 * progmodes/python.el:
1928 (python-nav--lisp-forward-sexp): New function.
1929 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
1930 python-nav-lisp-forward-sexp-safe.
1931 (python-nav--forward-sexp): New argument SAFE allows switching
1932 forward sexp movement behavior for parens.
1933 (python-nav-forward-sexp): Throw errors on unterminated parens
1935 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
1936 (python-nav-backward-sexp-safe): New functions.
1937 (python-shell-buffer-substring):
1938 Use `python-nav-forward-sexp-safe'.
1940 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
1942 * net/shr.el (shr-find-fill-point): Don't break lines before a
1944 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
1945 (shr-find-fill-point): Remove the special checks for the quotation
1946 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
1948 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1950 * net/eww.el (eww-form-textarea): Use a different face for
1951 textareas than text input since they have different keymaps
1954 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
1956 * progmodes/python.el (python-nav-beginning-of-statement):
1957 Speed up (Bug#15295).
1959 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
1961 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
1962 the window configuration.
1964 2013-12-24 Eli Zaretskii <eliz@gnu.org>
1966 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
1967 we run on MS-Windows or MS-DOS.
1969 2013-12-24 Martin Rudalics <rudalics@gmx.at>
1971 * window.el (balance-windows-area): Call window-size instead of
1972 window-height and window-width. Bug#16241.
1974 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
1976 * net/eww.el (eww-bookmark-quit): Remove.
1977 (eww-bookmark-browse): Restore the window configuration when you
1978 choose a bookmark (bug#16144).
1980 2013-12-24 Daniel Colascione <dancol@dancol.org>
1982 * icomplete.el: Remove redundant :group arguments to `defcustom'
1984 (icomplete-show-matches-on-no-input): New customizable variable.
1985 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
1986 we have something to show.
1987 (icomplete-exhibit): Compute completions even if we have no user input.
1989 2013-12-23 Daniel Colascione <dancol@dancol.org>
1991 * icomplete.el: Move `provide' to end of file.
1993 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
1995 * net/gnutls.el (gnutls-verify-error): Add version tag.
1997 2013-12-23 Chong Yidong <cyd@gnu.org>
1999 * subr.el (set-transient-map): Rename from
2000 set-temporary-overlay-map. Doc fix.
2002 * face-remap.el (text-scale-adjust):
2003 * indent.el (indent-rigidly):
2004 * kmacro.el (kmacro-call-macro):
2005 * minibuffer.el (minibuffer-force-complete):
2006 * repeat.el (repeat):
2007 * simple.el (universal-argument--mode):
2008 * calendar/todo-mode.el (todo-insert-item--next-param):
2009 * progmodes/f90.el (f90-abbrev-start): Callers changed.
2011 * indent.el (indent-rigidly): Use substitute-command-keys.
2013 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2015 * net/eww.el (eww-tag-select): Add text-property to jump to next
2017 (eww): Add non-supported ftp error.
2019 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
2021 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
2022 comments. Handle electric indent after typing `?' and `!'.
2024 2013-12-22 Chong Yidong <cyd@gnu.org>
2026 * faces.el (face-spec-recalc): If the theme specs are not
2027 applicable to a frame, fall back on the defface spec.
2028 This prevents themes from obliterating faces on low-color terminals.
2030 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
2032 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
2033 after `{'. We need it after block openers, and it doesn't seem
2034 to hurt after hash openers.
2036 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
2038 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
2039 extracted from `ruby-smie-rules'.
2040 (ruby--electric-indent-chars): New variable.
2041 (ruby--electric-indent-p): New function.
2042 (ruby-mode): Use `electric-indent-functions' instead of
2043 `electric-indent-chars'.
2045 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
2047 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
2049 (ruby-smie-rules): Indent plus one level after `=>'.
2051 2013-12-21 Richard Stallman <rms@gnu.org>
2053 * simple.el (newline): Doc fix.
2055 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2057 * net/eww.el (eww-list-histories, eww-list-histories)
2058 (eww-history-browse, eww-history-quit, eww-history-kill)
2059 (eww-history-mode-map, eww-history-mode): New command and
2060 functions to list browser histories.
2061 (eww-form-text): Support text form with disabled
2062 and readonly attributes.
2063 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
2065 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2067 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
2068 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
2069 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
2070 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
2072 (eww-bookmark-mode-map): Add menu.
2073 (eww-render, eww-mode): Use `setq-local'.
2074 (eww-tool-bar-map): New variable.
2075 (eww-mode): Set `tool-bar-map'.
2076 (eww-view-source): Check for `html-mode' with `fboundp'.
2078 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
2080 * net/shr.el (shr--extract-best-source): Don't bug out on audio
2081 elements with text inside. Also remove debugging.
2083 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
2085 * cus-start.el (all): Add ns-use-srgb-colorspace.
2087 2013-12-21 Chong Yidong <cyd@gnu.org>
2089 * custom.el (custom-theme-recalc-face): Do nothing if the face is
2090 undefined. Thus, theme settings for undefined faces do not take
2091 effect until the faces are defined with defface, the same as with
2094 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
2095 (face-spec-reset-face): Don't assign extra properties in temacs.
2096 (face-spec-recalc): Apply X resources too.
2098 2013-12-21 Chong Yidong <cyd@gnu.org>
2100 * faces.el (face-spec-set):
2101 * cus-face.el (custom-theme-set-faces, custom-set-faces):
2102 * custom.el (defface): Doc fixes (Bug#16203).
2104 * indent.el (indent-rigidly-map): Add docstring, and move commands
2105 into named functions.
2106 (indent-rigidly-left, indent-rigidly-right)
2107 (indent-rigidly-left-to-tab-stop)
2108 (indent-rigidly-right-to-tab-stop): New functions. Decide on
2109 indentation direction based on bidi direction, and accumulate
2110 sequential commands in a single undo boundary.
2111 (indent-rigidly--pop-undo): New utility function.
2113 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
2115 * faces.el (read-face-name): Require crm.el when using crm-separator.
2117 2013-12-20 Daniel Colascione <dancol@dancol.org>
2119 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
2120 so that we don't reflow comments into the shebang line.
2122 2013-12-20 Juri Linkov <juri@jurta.org>
2124 * saveplace.el (save-place-to-alist): Add `dired-filename' as
2125 a position when `dired-directory' is non-nil. Check integer
2126 positions with `integerp'.
2127 (toggle-save-place, save-places-to-alist): Add check for
2129 (save-place-find-file-hook): Check integer positions with
2131 (save-place-dired-hook): Use `dired-goto-file' when
2132 `dired-filename' is found in the assoc list. Check integer
2133 positions with `integerp'.
2134 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
2136 * dired.el (dired-initial-position-hook): Rename back from
2137 `dired-initial-point-hook'.
2138 (dired-initial-position): Rename `dired-initial-point-hook' to
2139 `dired-initial-position-hook'.
2140 (dired-file-name-at-point): Doc fix. (Bug#15329)
2142 2013-12-20 Juri Linkov <juri@jurta.org>
2144 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
2145 (read-regexp-suggestions): New function.
2146 (read-regexp): Use `read-regexp-defaults-function' to get default values.
2147 Use `read-regexp-suggestions'. Add non-empty default to history
2149 (occur-read-regexp-defaults-function): Remove function.
2150 (occur-read-primary-args): Use `regexp-history-last' instead of
2151 `occur-read-regexp-defaults-function'.
2153 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
2154 (hi-lock-line-face-buffer, hi-lock-face-buffer)
2155 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
2156 `hi-lock-read-regexp-defaults-function'. Doc fix.
2157 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
2158 with `find-tag-default-as-symbol-regexp'. Doc fix.
2159 (hi-lock-read-regexp-defaults): Remove function.
2160 (hi-lock-regexp-okay): Add check for null.
2162 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
2163 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
2165 * subr.el (find-tag-default-as-symbol-regexp): New function.
2166 (find-tag-default-as-regexp): Move symbol regexp formatting to
2167 `find-tag-default-as-symbol-regexp'.
2169 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
2171 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
2174 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
2176 * calendar/todo-mode.el: New implementation of item insertion
2177 commands and key bindings.
2178 (todo-key-prompt): New face.
2179 (todo-insert-item): New command.
2180 (todo-insert-item--parameters): New defconst, replacing defvar
2181 todo-insertion-commands-args-genlist.
2182 (todo-insert-item--param-key-alist): New defconst, replacing
2183 defvar todo-insertion-commands-arg-key-list.
2184 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
2185 (todo-insert-item--argsleft, todo-insert-item--apply-args)
2186 (todo-insert-item--next-param): New functions.
2187 (todo-insert-item--args, todo-insert-item--argleft)
2188 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
2190 (todo-key-bindings-t): Change binding of "i" from
2191 todo-insertion-map to todo-insert-item.
2192 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
2193 (todo-insertion-command-name, todo-insertion-commands-names)
2194 (todo-define-insertion-command, todo-insertion-commands)
2195 (todo-insertion-key-bindings, todo-insertion-map): Remove.
2197 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
2199 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
2200 (todo-toggle-item-highlighting): Use eval-and-compile instead of
2202 (todo-move-category): Allow choosing a non-existing todo file to
2203 move the category to, and create that file.
2204 (todo-default-priority): New user option.
2205 (todo-set-item-priority): Use it.
2206 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
2207 (desktop-restore-file-buffer): Declare.
2208 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
2209 (todo-modes-set-2): Locally set desktop-save-buffer to
2210 todo-desktop-save-buffer.
2211 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
2212 (auto-mode-alist): Add autoload cookie.
2214 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
2216 * emacs-lisp/subr-x.el: Renamed from helpers.el.
2217 helpers.el was a poor choice of name.
2218 (string-remove-prefix): New function.
2219 (string-remove-suffix): New function.
2221 2013-12-20 Martin Rudalics <rudalics@gmx.at>
2223 Fix assignment for new window total sizes.
2224 * window.el (window--pixel-to-size): Remove function.
2225 (window--pixel-to-total-1, window--pixel-to-total):
2226 Fix calculation of new total sizes.
2228 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
2230 * comint.el (comint-output-filter): Fix rear-nonsticky property
2231 placement (Bug#16010).
2233 2013-12-20 Chong Yidong <cyd@gnu.org>
2235 * faces.el (read-color): Minor fix for completion function.
2237 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
2239 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
2240 New option. (Bug#16182)
2241 (ruby-smie--indent-to-stmt-p): Use it.
2242 (ruby-smie-rules): Revert the logic in the handling of `when'.
2243 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
2244 (ruby-deep-arglist, ruby-deep-indent-paren)
2245 (ruby-deep-indent-paren-style): Update docstrings to note that the
2246 vars don't have any effect with SMIE.
2248 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
2250 * calc/calc.el (calc-enter, calc-pop): Use the variable
2251 `calc-context-sensitive-enter'.
2253 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
2255 * net/shr.el (shr-insert): Protect against infloops in degenerate
2258 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2260 * progmodes/octave.el (octave): Add link to manual and octave
2262 (octave-mode-menu): Link to octave-mode manual.
2264 2013-12-20 Leo Liu <sdl.web@gmail.com>
2266 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
2267 insertion using skeleton-end-newline. (Bug#16138)
2269 2013-12-20 Juri Linkov <juri@jurta.org>
2271 * replace.el (occur-engine): Use `add-face-text-property'
2272 to add the face property to matches and titles. (Bug#14645)
2274 * hi-lock.el (hi-green): Use lighter color "light green" closer to
2275 the palette of other hi-lock colors.
2276 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
2278 2013-12-19 Juri Linkov <juri@jurta.org>
2280 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
2281 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
2282 (minibuffer-history-symbol): Move variable declaration closer to
2285 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
2288 2013-12-19 Juri Linkov <juri@jurta.org>
2290 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
2292 (log-edit-hook): Add it to :options. (Bug#16170)
2294 2013-12-19 Juri Linkov <juri@jurta.org>
2296 * simple.el (eval-expression-print-format): Don't check for
2297 command names and the last command. Always display additional
2298 formats of the integer result in the echo area, and insert them
2299 to the current buffer only with a zero prefix arg.
2300 Display character when char-displayable-p is non-nil.
2301 (eval-expression): With a zero prefix arg, set `print-length' and
2302 `print-level' to nil, and insert the integer values from
2303 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
2305 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
2306 `eval-last-sexp-arg-internal'. Doc fix.
2307 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
2308 `eval-last-sexp-print-value'. Doc fix.
2309 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
2310 Set `print-length' and `print-level' to nil when arg is zero.
2311 (eval-last-sexp): Doc fix.
2312 (eval-defun-2): Print the integer values from
2313 `eval-expression-print-format' at the end.
2315 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
2316 values from `eval-expression-print-format' at the end.
2318 * ielm.el (ielm-eval-input): Print the integer
2319 values from `eval-expression-print-format' at the end.
2321 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
2323 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
2324 2013-12-11T19:01:44Z!tzz@lifelogs.com.
2326 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
2328 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
2329 (hl-line-highlight, global-hl-line-highlight): Use it.
2330 (hl-line-overlay): Use defvar-local.
2332 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
2334 * term/ns-win.el: Require dnd.
2335 (global-map): Remove drag items.
2336 (ns-insert-text, ns-set-foreground-at-mouse)
2337 (ns-set-background-at-mouse):
2338 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
2339 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
2342 2013-12-19 Glenn Morris <rgm@gnu.org>
2344 * emacs-lisp/ert.el (ert-select-tests):
2345 Fix string/symbol mixup. (Bug#16121)
2347 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
2349 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
2350 keywords to their parent.
2352 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
2354 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
2355 first arg to be a string (fixed dead code), or an operator symbol.
2356 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
2358 (ruby-smie-rules): Remove parent token check in the `.' clause, it
2359 did nothing. Don't respond to `(:after ".")', it will be called
2360 with :before anyway. Remove the ` @ ' rule, it didn't seem to
2361 change anything. Only return indentation for binary operators
2362 when they are hanging. De-dent opening paren when its parent is
2363 `.', otherwise it looks bad when the dot is not at bol or eol
2366 2013-12-19 Juri Linkov <juri@jurta.org>
2368 * replace.el (query-replace-read-args): Split a non-negative arg
2369 and a negative arg into separate elements.
2370 (query-replace, query-replace-regexp, replace-string)
2371 (replace-regexp): Add arg `backward'. Doc fix.
2372 (replace-match-maybe-edit): When new arg `backward' is non-nil,
2373 move point to the beginning of the match.
2374 (replace-search, replace-highlight): Use new arg `backward'
2375 to set the value of `isearch-forward'.
2376 (perform-replace): Add arg `backward' and use it to perform
2377 replacement backward. (Bug#14979)
2379 * isearch.el (isearch-query-replace): Use a negative prefix arg
2380 to call `perform-replace' with a non-nil arg `backward'.
2382 2013-12-18 Juri Linkov <juri@jurta.org>
2384 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
2385 to the default list. Move `log-edit-show-files' to the end.
2386 Add more available functions to options.
2387 (log-edit): Move default specific settings to
2388 `log-edit-insert-message-template'. Don't move point.
2389 (log-edit-insert-message-template): New function.
2390 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
2393 2013-12-18 Juri Linkov <juri@jurta.org>
2395 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
2396 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
2398 2013-12-18 Leo Liu <sdl.web@gmail.com>
2400 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
2403 2013-12-18 Eli Zaretskii <eliz@gnu.org>
2405 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
2406 formats for displaying file sizes when the -s switch is given.
2407 Instead, compute a separate format for displaying the size in
2408 blocks, which is displayed in addition to the "regular" size.
2409 When -h is given in addition to -s, produce size in blocks in
2410 human-readable form as well. (Bug#16179)
2412 2013-12-18 Tassilo Horn <tsdh@gnu.org>
2414 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
2415 Reference tables with ~\ref{...} instead of only \ref{...}.
2417 2013-12-18 Chong Yidong <cyd@gnu.org>
2419 * cus-edit.el (custom-magic-alist): Fix "themed" description
2422 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
2423 is non-nil, do not create a new entry in the symbol's theme-value
2424 or theme-face property; update theme-settings only (Bug#14664).
2425 (custom-available-themes): Doc fix.
2427 * cus-theme.el (custom-new-theme-mode-map): Add bindings
2430 * replace.el (occur-engine): Avoid infloop (Bug#7593).
2432 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
2434 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
2437 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
2439 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
2441 2013-12-18 Glenn Morris <rgm@gnu.org>
2443 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
2444 * cus-start.el (load-prefer-newer): New option.
2446 2013-12-18 Le Wang <l26wang@gmail.com>
2448 * comint.el (comint-previous-matching-input-from-input):
2449 Retain point (Bug#13404).
2451 2013-12-18 Chong Yidong <cyd@gnu.org>
2453 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
2455 2013-12-18 Glenn Morris <rgm@gnu.org>
2457 * mail/emacsbug.el (report-emacs-bug):
2458 Only mention enable-multibyte-characters if non-standard.
2460 2013-12-17 Juri Linkov <juri@jurta.org>
2462 * arc-mode.el (archive-extract-by-file): Check if directory exists
2463 before deletion to not show irrelevant errors if it doesn't exist.
2465 2013-12-17 Juri Linkov <juri@jurta.org>
2467 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
2470 * net/eww.el (browse-web): Add alias to `eww'.
2471 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
2472 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
2474 * net/browse-url.el (browse-url-browser-function): Move `eww'
2475 closer to similar functions.
2477 * startup.el (fancy-startup-screen, fancy-about-screen):
2478 Set browse-url-browser-function to eww-browse-url locally.
2481 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
2483 * window.el (window--pixel-to-total): Remove unused `mini' var.
2484 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
2485 (split-window): Remove unused `new' var.
2486 (window--display-buffer): Remove unused `frame' and `delta' vars.
2487 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
2490 2013-12-17 Martin Rudalics <rudalics@gmx.at>
2492 * dired.el (dired-mark-pop-up):
2493 * register.el (register-preview): Don't bind
2494 split-height-threshold here since it's now done in
2495 display-buffer-below-selected.
2497 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
2499 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
2500 xterm-rgb-convert-to-16bit.
2501 (rxvt-register-default-colors): Standardize with
2502 xterm-register-default-colors (Bug#14078).
2504 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
2506 * simple.el (kill-region): Pass mark first, then point, so that
2507 kill-append works right (Bug#12819).
2508 (copy-region-as-kill, kill-ring-save): Likewise.
2510 2013-12-17 Leo Liu <sdl.web@gmail.com>
2512 * net/rcirc.el (rcirc-add-face):
2513 * eshell/em-prompt.el (eshell-emit-prompt):
2514 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
2517 2013-12-17 Chong Yidong <cyd@gnu.org>
2519 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
2520 Suggested by Xue Fuqiao.
2522 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
2524 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
2526 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
2528 * net/shr.el (shr-insert-document): Remove unused var
2529 `shr-preliminary-table-render'.
2530 (shr-rescale-image): Remove unused arg `force'.
2531 (shr-put-image): Update calls accordingly.
2532 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
2534 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
2536 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
2537 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
2538 :close-all, to see which indentation method to use (Bug#16116).
2539 (smie-rules-function): Document the method :close-all.
2541 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
2543 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
2545 * net/eww.el (eww-display-html): If we can't find the anchor we're
2546 looking for, then go to point-min.
2548 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
2550 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
2551 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
2552 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
2553 Expand dir too, in case it's relative.
2555 2013-12-16 Juri Linkov <juri@jurta.org>
2557 * desktop.el (desktop-auto-save-timeout): Change default to
2558 `auto-save-timeout'. Doc fix.
2559 (desktop-save): Skip the timestamp in desktop-saved-frameset
2560 when checking for auto-save changes.
2561 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
2562 `desktop-auto-save' is called repeatedly by the idle timer.
2563 (desktop-auto-save-set-timer): Replace `run-with-timer' with
2564 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
2567 2013-12-16 Juri Linkov <juri@jurta.org>
2569 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
2571 (isearch-pre-command-hook): Check `this-command' for symbolp.
2573 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
2575 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
2577 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
2579 * progmodes/cfengine.el (cfengine3--current-word): Remove.
2580 (cfengine3--current-function): Bring in the current-function
2581 functionality from `cfengine3--current-word'.
2582 (cfengine3-completion-function): Bring in the
2583 bounds-of-current-word functionality from
2584 `cfengine3--current-word'.
2586 2013-12-16 Martin Rudalics <rudalics@gmx.at>
2588 * window.el (display-buffer-below-selected):
2589 Bind split-height-threshold to 0 as suggested by Juri Linkov.
2591 2013-12-16 Leo Liu <sdl.web@gmail.com>
2593 * progmodes/compile.el (compile-goto-error): Do not push-mark.
2594 Remove NOMSG arg and all uses changed.
2596 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
2598 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
2599 (cua--deactivate-rectangle): Don't deactivate the mark.
2600 (cua-set-rectangle-mark): Don't set mark-active since
2601 cua--activate-rectangle already does it for us.
2602 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
2603 non-rectangular region.
2605 * emulation/cua-base.el (cua-repeat-replace-region):
2606 Use with-current-buffer.
2608 * net/gnutls.el: Use cl-lib.
2609 (gnutls-negotiate): `mapcan' -> cl-mapcan.
2611 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
2613 * emacs-lisp/package.el (package-built-in-p): Support both
2614 built-in and the package.el converted package descriptions.
2615 (package-show-package-list): Allow keywords.
2616 (package-keyword-button-action): Use it instead of
2617 `finder-list-matches'.
2618 (package-menu-filter-interactive): Interactive filtering (by
2620 (package-menu--generate): Support keywords and change keymappings
2621 and headers when they are given.
2622 (package--has-keyword-p): Helper function.
2623 (package-menu--refresh): Use it.
2624 (package--mapc): Helper function.
2625 (package-all-keywords): Use it.
2626 (package-menu-mode-map): Set up menu items and keybindings to
2627 provide a filtering UI.
2629 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
2631 * net/gnutls.el (gnutls-verify-error): New defcustom to control
2632 the behavior when a certificate fails validation. Defaults to
2633 old behavior: never abort, just warn.
2634 (gnutls-negotiate): Use it.
2636 2013-12-14 Martin Rudalics <rudalics@gmx.at>
2638 * window.el (display-buffer-below-selected): Never split window
2639 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
2641 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
2643 * emacs-lisp/package.el (package--prepare-dependencies): New function.
2644 (package-buffer-info): Use it (bug#15108).
2646 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
2648 * icomplete.el (icomplete-completions): Make sure the prefix is already
2649 displayed elsewhere before hiding it (bug#16219).
2651 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
2653 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
2654 open-paren tokens when preceded by a open-paren, too.
2655 (ruby-smie-rules): Handle virtual indentation after open-paren
2656 tokens specially. If there is code between it and eol, return the
2657 column where is starts (Bug#16118).
2659 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
2661 * progmodes/cfengine.el: Fix `add-hook' doc.
2662 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
2663 (cfengine3--current-word): Fix parameters.
2664 (cfengine3-make-syntax-cache): Simplify further.
2665 (cfengine3-completion-function, cfengine3--current-function):
2666 Use `assq' for symbols.
2667 (cfengine3--current-function): Fix `cfengine3--current-word' call.
2669 2013-12-13 Glenn Morris <rgm@gnu.org>
2671 * loadup.el (load-path): Warn if site-load or site-init changes it.
2672 No more need to reset it when bootstrapping.
2674 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
2676 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
2677 locations for cf-promises.
2678 (cfengine-mode-syntax-functions-regex): New caching variable.
2679 (cfengine3-fallback-syntax): Fallback syntax for cases where
2680 cf-promises doesn't run.
2681 (cfengine3--current-word): Reimplement using
2682 `cfengine-mode-syntax-functions-regex'.
2683 (cfengine3-completion-function, cfengine3--current-function):
2684 Use `cfengine3-make-syntax-cache' directly.
2685 (cfengine3-clear-syntax-cache): New function.
2686 (cfengine3-make-syntax-cache): Simplify and create
2687 `cfengine-mode-syntax-functions-regex' on demand.
2688 (cfengine3-format-function-docstring): Don't call
2689 `cfengine3-make-syntax-cache' explicitly.
2691 2013-12-13 Martin Rudalics <rudalics@gmx.at>
2693 Fix windmove-find-other-window broken after pixelwise resizing
2695 * windmove.el (windmove-other-window-loc): Revert change from
2697 (windmove-find-other-window): Call window-in-direction.
2698 * window.el (window-in-direction): New arguments SIGN, WRAP and
2699 MINI to emulate original windmove-find-other-window behavior.
2701 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
2703 * simple.el (blink-matching--overlay): New variable.
2704 (blink-matching-open): Instead of moving point, highlight the
2705 matching paren with an overlay
2706 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
2708 * faces.el (paren-showing-faces, show-paren-match)
2709 (show-paren-mismatch): Move from paren.el.
2711 2013-12-13 Leo Liu <sdl.web@gmail.com>
2713 * indent.el (indent-region): Disable progress reporter in
2714 minibuffer. (Bug#16108)
2716 * bindings.el (visual-order-cursor-movement): Fix version.
2718 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
2720 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
2721 Also match after beginning of line.
2722 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
2723 files. Thanks to Russell Sim. (Bug#15378)
2725 2013-12-13 Juri Linkov <juri@jurta.org>
2727 * simple.el <Keypad support>: Remove key bindings duplicated
2728 with bindings.el. (Bug#14397)
2730 2013-12-13 Juri Linkov <juri@jurta.org>
2732 * comint.el (comint-mode-map): Replace `delete-char' with
2733 `delete-forward-char'. (Bug#16109)
2735 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
2737 * progmodes/python.el (python-indent-calculate-indentation):
2738 Fix de-denters cornercase. (Bug#15731)
2740 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
2742 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
2743 (advice--make): Pay attention to `depth'.
2744 (advice--make-1): Don't autoload commands eagerly.
2745 * emacs-lisp/elp.el (elp-instrument-function):
2746 * emacs-lisp/trace.el (trace-function-internal):
2747 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
2749 * iswitchb.el (iswitchb-mode): Don't belittle ido.
2751 2013-12-12 Eli Zaretskii <eliz@gnu.org>
2753 * term/w32-win.el (w32-handle-dropped-file):
2754 * startup.el (normal-top-level):
2755 * net/browse-url.el (browse-url-file-url):
2756 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
2757 decode file names using 'utf-8' rather than
2758 file-name-coding-system.
2760 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
2762 * progmodes/python.el (python-indent-context)
2763 (python-indent-calculate-indentation): Fix auto-identation
2764 behavior for comment blocks. (Bug#15916)
2766 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2768 * progmodes/python.el (python-indent-calculate-indentation):
2769 When determining indentation, don't treat "return", "pass", etc., as
2770 operators when they are just string constituents. (Bug#15812)
2772 2013-12-12 Juri Linkov <juri@jurta.org>
2774 * uniquify.el (uniquify-buffer-name-style): Change default to
2775 `post-forward-angle-brackets'.
2777 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
2778 `uniquify'. Change default to `post-forward-angle-brackets'.
2780 2013-12-11 Glenn Morris <rgm@gnu.org>
2782 * emacs-lisp/package.el (finder-list-matches):
2783 Autoload rather than falsely declaring.
2785 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
2787 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
2788 (eww-mode-map): Use them.
2790 2013-12-11 Martin Rudalics <rudalics@gmx.at>
2792 * window.el (display-buffer-in-side-window): Fix doc-string
2795 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
2797 * vc/vc-git.el: Silence byte-compiler warnings.
2798 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
2799 (log-edit-set-header): Declare.
2801 2013-12-11 Eli Zaretskii <eliz@gnu.org>
2803 * Makefile.in (custom-deps, finder-data): Run output file names
2804 through unmsys--file-name. (Bug#16099)
2806 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
2808 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
2809 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
2811 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
2812 instead of deleting the selection "by hand" (bug#16098).
2813 Rely on insert-for-yank to yank rectangles.
2814 (cua-highlight-region-shift-only): Mark obsolete.
2815 (cua-mode): Don't enable/disable transient-mark-mode,
2816 shift-select-mode (cua-mode works both with and without them), and
2817 pc-selection-mode (obsolete).
2818 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
2819 (cua--deactivate-rectangle): Deactivate it.
2821 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
2822 (delete-selection-helper): Make sure yank starts at the top of the
2824 (minibuffer-keyboard-quit): Use region-active-p.
2826 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
2828 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
2829 to `delete' (bug#16109).
2831 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2833 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
2834 info manual and show keybindings and set `:group' keyword.
2836 2013-12-11 Juri Linkov <juri@jurta.org>
2838 * delsel.el (delete-active-region): Let-bind `this-command'
2839 to prevent `kill-region' from changing its original value.
2840 (delete-selection-helper): Handle `overwrite-mode' for the type
2841 `kill' exactly the same way as for the type `t'.
2842 (insert-char, quoted-insert, reindent-then-newline-and-indent):
2843 Support more commands. (Bug#13312)
2845 2013-12-11 Juri Linkov <juri@jurta.org>
2847 * bindings.el: Map kp keys to non-kp keys systematically
2848 with basic modifiers control, meta and shift. (Bug#14397)
2850 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2852 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
2853 "Close browser" menu items. Fix wrong function of "List
2856 2013-12-11 Juri Linkov <juri@jurta.org>
2858 * misearch.el (multi-isearch-buffers): Set the value of
2859 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
2860 arg of isearch-forward to t.
2861 (multi-isearch-buffers-regexp): Set the value of
2862 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
2863 arg of isearch-forward-regexp to t.
2864 (multi-isearch-files): Set the value of
2865 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
2866 arg of isearch-forward to t.
2867 (multi-isearch-files-regexp): Set the value of
2868 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
2869 arg of isearch-forward-regexp to t. (Bug#16035)
2871 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
2872 arg of isearch-forward to t.
2873 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
2874 arg of isearch-forward-regexp to t.
2875 (dired-isearch-filter-filenames): Remove unnecessary check for
2876 `dired-isearch-filenames'.
2878 * comint.el (comint-history-isearch-backward):
2879 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
2880 (comint-history-isearch-backward-regexp):
2881 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
2883 2013-12-10 Eli Zaretskii <eliz@gnu.org>
2885 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
2886 unmsys--file-name. (Bug#16099)
2888 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
2890 * emacs-lisp/package.el (package-keyword-button-action):
2891 Remove finder.el require dependency.
2893 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
2895 * emacs-lisp/package.el: Require finder.el.
2896 (describe-package-1): Add keyword buttons.
2897 (package-make-button): New convenience function.
2898 (package-keyword-button-action): Keyword button action using
2899 `finder-list-matches'.
2901 2013-12-09 Eli Zaretskii <eliz@gnu.org>
2903 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
2906 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
2908 * autorevert.el (auto-revert-notify-add-watch): Do not handle
2911 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
2913 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
2914 after the end of a percent literal.
2916 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
2918 * progmodes/ruby-mode.el (ruby-forward-string): Document.
2919 Handle caret-delimited strings (Bug#16079).
2921 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
2923 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
2924 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
2925 `ruby-parse-partial' (Bug#16078).
2927 2013-12-09 Leo Liu <sdl.web@gmail.com>
2929 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
2931 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
2933 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
2934 (js-switch-indent-offset): New option.
2935 (js--proper-indentation): Use it. And handle the case when
2936 "default" is actually a key in an object literal.
2937 (js--same-line): New function.
2938 (js--multi-line-declaration-indentation): Use it.
2939 (js--indent-in-array-comp, js--array-comp-indentation):
2941 (js--proper-indentation): Use them, to handle array comprehension
2944 2013-12-08 Leo Liu <sdl.web@gmail.com>
2946 * progmodes/flymake.el (flymake-highlight-line): Re-write.
2947 (flymake-make-overlay): Remove arg MOUSE-FACE.
2948 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
2950 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
2952 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
2954 (redisplay-highlight-region-function): Use it.
2956 * emulation/cua-base.el (cua--explicit-region-start)
2957 (cua--last-region-shifted): Remove.
2958 (cua--deactivate): Use deactivate-mark.
2959 (cua--pre-command-handler-1): Don't handle shift-selection.
2960 (cua--post-command-handler-1): Don't change transient-mark-mode.
2961 (cua--select-keymaps): Use region-active-p rather than
2962 cua--explicit-region-start or cua--last-region-shifted.
2963 (cua-mode): Enable shift-select-mode.
2965 2013-12-08 Leo Liu <sdl.web@gmail.com>
2967 * progmodes/flymake.el (flymake-popup-current-error-menu):
2968 Rename from flymake-display-err-menu-for-current-line. Reimplement.
2969 (flymake-posn-at-point-as-event, flymake-popup-menu)
2970 (flymake-make-emacs-menu): Remove. (Bug#16077)
2972 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
2974 * rect.el (rectangle-mark-mode): Activate mark even if
2975 transient-mark-mode is off (bug#16066).
2976 (rectangle--highlight-for-redisplay): Fix boundary condition when point
2977 is > mark and at bolp.
2979 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
2980 (region-extract-function): Use it.
2981 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
2982 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
2984 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
2985 kill-ring-save, kill-region, delete-char, delete-forward-char.
2986 Ignore self-insert-iso.
2988 * emulation/cua-gmrk.el (cua--init-global-mark):
2989 Ignore `self-insert-iso'.
2991 * emulation/cua-base.el (cua--prefix-copy-handler)
2992 (cua--prefix-cut-handler): Rely on region-extract-function rather than
2993 checking cua--rectangle.
2994 (cua-delete-region): Use region-extract-function.
2995 (cua-replace-region): Delete function.
2996 (cua-copy-region, cua-cut-region): Obey region-extract-function.
2997 (cua--pre-command-handler-1): Don't do the delete-selection thing.
2998 (cua--self-insert-char-p): Ignore `self-insert-iso'.
2999 (cua--init-keymaps): Don't remap delete-selection commands.
3000 (cua-mode): Use delete-selection-mode instead of rolling our own
3003 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
3004 Obey region-extract-function.
3006 Make registers and delete-selection-mode work on rectangles.
3007 * register.el (describe-register-1): Don't modify the register's value.
3008 (copy-to-register): Obey region-extract-function.
3009 * delsel.el (delete-active-region): Obey region-extract-function.
3011 2013-12-08 Leo Liu <sdl.web@gmail.com>
3013 * progmodes/flymake.el (flymake, flymake-error-bitmap)
3014 (flymake-warning-bitmap, flymake-fringe-indicator-position)
3015 (flymake-compilation-prevents-syntax-check)
3016 (flymake-start-syntax-check-on-newline)
3017 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
3018 (flymake-start-syntax-check-on-find-file, flymake-log-level)
3019 (flymake-xml-program, flymake-master-file-dirs)
3020 (flymake-master-file-count-limit)
3021 (flymake-allowed-file-name-masks): Relocate.
3022 (flymake-makehash, flymake-float-time)
3023 (flymake-replace-regexp-in-string, flymake-split-string)
3024 (flymake-get-temp-dir): Remove.
3025 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
3026 (flymake-current-row, flymake-selected-frame)
3027 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
3028 related functions. (Bug#16077)
3030 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
3032 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
3034 2013-12-07 Tassilo Horn <tsdh@gnu.org>
3036 * help-fns.el (describe-function-1): Use new advice-* functions
3037 rather than old ad-* functions. Fix function type description and
3038 source links for advised functions and subrs.
3040 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
3042 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
3044 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
3046 * progmodes/compile.el (compilation-start):
3047 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
3049 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3050 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
3052 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
3054 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
3055 Touch up the last change.
3057 2013-12-06 Leo Liu <sdl.web@gmail.com>
3059 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
3060 (inferior-octave-startup): Always use "octave> " for prompt.
3061 (octave-goto-function-definition)
3062 (octave-sync-function-file-names)
3063 (octave-find-definition-default-filename): Remove redundant backquotes.
3065 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
3067 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
3069 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
3070 where appropriate already.
3071 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
3072 end of method names (Bug#15874).
3074 2013-12-06 Juri Linkov <juri@jurta.org>
3076 * isearch.el (isearch--saved-overriding-local-map):
3077 New internal variable.
3078 (isearch-mode): Set it to the initial value of
3079 `overriding-terminal-local-map'.
3080 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
3081 with `isearch--saved-overriding-local-map'. (Bug#16035)
3083 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
3085 * progmodes/octave.el (inferior-octave-completion-table):
3086 Turn back into function, use `completion-table-with-cache'
3087 (Bug#11906). Update all references.
3089 * minibuffer.el (completion-table-with-cache): New function.
3091 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
3093 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
3095 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
3097 * net/eww.el (eww-current-source): New variable to store page
3099 (eww-display-html, eww-mode, eww-save-history)
3100 (eww-restore-history): Use it.
3101 (eww-view-source): New command to view page source.
3102 Opportunistically uses `html-mode' to highlight the buffer.
3103 (eww-mode-map): Install it.
3105 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
3107 * net/dbus.el (dbus-unregister-service)
3108 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
3110 (dbus-unregister-service): Skip :serial entries in
3111 `dbus-registered-objects-table'.
3112 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
3114 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
3116 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
3117 around keywords with extra `split-string' argument.
3119 2013-12-04 Martin Rudalics <rudalics@gmx.at>
3121 * windmove.el (windmove-other-window-loc): Handle navigation
3122 between windows (excluding the minibuffer window - Bug#16017).
3124 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
3126 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
3127 in D-Bus type syntax.
3128 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
3129 preserve unibyte strings. (Bug#16048)
3131 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
3133 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
3134 Call force-mode-line-update is the proper buffer (bug#16042).
3136 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
3138 * vc/log-edit.el (log-edit-add-new-comment): Rename to
3139 `log-edit-remember-comment', make argument optional. Adjust all
3141 (log-edit-mode): Add `log-edit-remember-comment' to
3142 `kill-buffer-hook' locally.
3143 (log-edit-kill-buffer): Don't remember comment explicitly since
3144 the buffer is killed anyway.
3146 2013-12-04 Juri Linkov <juri@jurta.org>
3148 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
3149 add-hook and remove-hook for multi-buffer search. (Bug#16035)
3151 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
3153 * notifications.el (notifications-close-notification): Call the
3154 D-Bus method with ID being a `:uint32'. (Bug#16030)
3156 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
3158 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
3160 2013-12-03 Juri Linkov <juri@jurta.org>
3162 * progmodes/compile.el (compilation-start): Rename window alist
3163 entry `no-display-ok' to `allow-no-window'.
3165 * simple.el (shell-command): Add window alist entry
3166 `allow-no-window' to `display-buffer'.
3167 (async-shell-command): Doc fix.
3169 * window.el (display-buffer-no-window): New action function.
3170 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
3172 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
3174 * vc/log-edit.el (log-edit-set-header): Extract from
3175 `log-edit-toggle-header'.
3176 (log-edit-extract-headers): Separate the summary, when extracted
3177 from header, from the rest of the message with an empty line.
3179 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
3180 line, if present, to the Summary header.
3182 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
3184 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
3185 in current-buffer (bug#16029).
3187 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
3189 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
3190 (debugger-mode-map): Bind it.
3191 (debugger--backtrace-base): New function.
3192 (debugger-eval-expression): Use it.
3193 (debugger-frame-number): Skip local vars when present.
3194 (debugger--locals-visible-p, debugger--insert-locals)
3195 (debugger--show-locals, debugger--hide-locals): New functions.
3197 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
3199 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
3201 (tramp-get-remote-locale): New defun.
3202 (tramp-open-connection-setup-interactive-shell): Use it.
3204 2013-12-02 Leo Liu <sdl.web@gmail.com>
3206 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
3208 * progmodes/sh-script.el (sh-shell-process):
3209 * progmodes/octave.el (inferior-octave-process-live-p):
3210 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
3211 (gdb-inferior-io-sentinel):
3212 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
3214 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
3216 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
3217 `save-selected-window' to `log-edit-hide-buf'. This makes
3218 `log-edit-show-files' idempotent.
3219 (log-edit-show-files): Mark the new window as dedicated.
3221 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
3223 * vc/log-edit.el (log-edit-mode-map): Add binding for
3224 `log-edit-kill-biffer'.
3225 (log-edit-hide-buf): Add a FIXME comment.
3226 (log-edit-add-new-comment): New function, extracted from
3228 (log-edit-done, log-edit-add-to-changelog): Use it.
3229 (log-edit-kill-buffer): New command.
3231 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
3233 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
3234 instead of killing the buffer.
3236 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
3238 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
3240 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3242 * net/eww.el (eww-form-checkbox-selected-symbol)
3243 (eww-form-checkbox-symbol): New customizable variable.
3244 (eww-form-checkbox, eww-toggle-checkbox):
3245 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
3247 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
3248 (shr--get-media-pref, shr--extract-best-source): New function.
3249 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
3250 no :src tag was specified.
3252 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
3253 (eww-render): Handle `eww-use-external-browser-for-content-type'.
3254 Use \\` to match beginning of string instead of ^.
3255 (eww-browse-with-external-browser): Provide optional URL parameter.
3256 (eww-render): Set `eww-current-title' back to "".
3258 * net/shr.el (shr-tag-video): Display content for video if no
3259 poster is available.
3260 (shr-tag-audio): Add support for <audio> tag.
3262 * net/eww.el (eww-text-input-types): New const.
3263 (eww-process-text-input): Treat input types in
3264 `eww-text-input-types' as text.
3266 * net/shr.el (shr-tag-table): Fix comment typo.
3268 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
3270 * net/eww.el (eww-follow-link): New command to avoid reloading
3271 pages when we follow #target links (bug#15243).
3272 (eww-quit): Special mode buffers shouldn't query before exiting.
3274 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
3276 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
3279 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
3281 * net/eww.el (eww-restore-history): Update the window title after
3282 moving in the history.
3283 (eww-current-dom): New variable used to save the current DOM.
3285 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
3287 * vc/log-edit.el (log-edit-mode-map): Add binding for
3288 `log-edit-beginning-of-line'.
3289 (log-edit-setup-add-author): New user option.
3290 (log-edit-beginning-of-line): New command.
3291 (log-edit): Move major mode call above the contents setup so that
3292 the local variable values are already applied.
3293 (log-edit): Only insert "Author: " when
3294 `log-edit-setup-add-author' is non-nil.
3295 (log-edit): When SETUP is non-nil, position point after ": "
3296 instead of point-min.
3298 2013-12-01 Glenn Morris <rgm@gnu.org>
3300 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
3302 2013-11-30 Eli Zaretskii <eliz@gnu.org>
3304 * startup.el (fancy-splash-frame): On MS-Windows, trigger
3305 redisplay to make sure the initial frame gets a chance to become
3306 visible. (Bug#16014)
3308 2013-11-30 Martin Rudalics <rudalics@gmx.at>
3310 Support resizing frames and windows pixelwise.
3311 * cus-start.el (frame-resize-pixelwise)
3312 (window-resize-pixelwise): New entries.
3313 * emacs-lisp/debug.el (debug): Use window-total-height instead
3314 of window-total-size.
3315 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
3316 * help.el (describe-bindings-internal): Use help-buffer as
3317 argument for with-help-window.
3318 (temp-buffer-max-width): New option.
3319 (resize-temp-buffer-window, help-window-setup)
3320 (with-help-window): Rewrite.
3321 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
3323 * window.el (frame-char-size, window-min-pixel-height)
3324 (window-safe-min-pixel-height, window-safe-min-pixel-width)
3325 (window-min-pixel-width, window-safe-min-pixel-size)
3326 (window-combination-p, window-safe-min-size)
3327 (window-resizable-p, window--size-to-pixel)
3328 (window--pixel-to-size, window--resize-apply-p): New functions.
3329 (window-safe-min-height): Fix doc-string.
3330 (window-size, window-min-size, window--min-size-1)
3331 (window-sizable, window-sizable-p, window--min-delta-1)
3332 (window-min-delta, window--max-delta-1, window-max-delta)
3333 (window--resizable, window--resizable-p, window-resizable)
3334 (window-full-height-p, window-full-width-p, window-at-side-p)
3335 (window--in-direction-2, window-in-direction)
3336 (window--resize-reset-1, window--resize-mini-window)
3337 (window-resize, window-resize-no-error)
3338 (window--resize-child-windows-normal)
3339 (window--resize-child-windows, window--resize-siblings)
3340 (window--resize-this-window, window--resize-root-window)
3341 (window--resize-root-window-vertically)
3342 (adjust-window-trailing-edge, enlarge-window, shrink-window)
3343 (maximize-window, minimize-window, delete-window)
3344 (quit-restore-window, window-split-min-size, split-window)
3345 (balance-windows-2, balance-windows)
3346 (balance-windows-area-adjust, balance-windows-area)
3347 (window--state-get-1, window-state-get, window--state-put-1)
3348 (window--state-put-2, window-state-put)
3349 (display-buffer-record-window, window--display-buffer):
3350 Make functions handle pixelwise sizing of windows.
3351 (display-buffer--action-function-custom-type)
3352 (display-buffer-fallback-action):
3353 Add display-buffer-in-previous-window.
3354 (display-buffer-use-some-window): Resize window to height it had
3356 (fit-window-to-buffer-horizontally): New option.
3357 (fit-frame-to-buffer): Describe new values.
3358 (fit-frame-to-buffer-bottom-margin): Replace with
3359 fit-frame-to-buffer-margins.
3360 (window--sanitize-margin): New function.
3361 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
3362 using window-text-pixel-size.
3364 2013-11-30 Glenn Morris <rgm@gnu.org>
3366 * emacs-lisp/bytecomp.el (byte-compile-form):
3367 Make the `interactive-only' warning like the `obsolete' one.
3368 * comint.el (comint-run):
3369 * files.el (insert-file-literally, insert-file):
3370 * replace.el (replace-string, replace-regexp):
3371 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
3372 (goto-line, insert-buffer, next-line, previous-line):
3373 Tweak `interactive-only' spec.
3375 Stop keeping (most) generated cedet grammar files in the repository.
3376 * Makefile.in (semantic): New.
3377 (compile-main): Depend on semantic.
3379 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
3381 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
3382 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
3384 * uniquify.el (uniquify-buffer-name-style): Change default.
3386 * loadup.el: Preload "uniquify".
3388 * time.el (display-time-update): Update all mode lines (bug#15999).
3390 * electric.el (electric-indent-mode): Enable by default.
3391 * loadup.el: Preload "electric".
3393 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
3395 * emacs-lisp/helpers.el (string-empty-p): New function.
3396 (string-blank-p): New function.
3398 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
3400 * imenu.el (imenu--index-alist): Add missing dot to the docstring
3403 2013-11-29 Andreas Politz <politza@fh-trier.de>
3404 * imenu.el (imenu--subalist-p): Don't error on non-conses and
3405 allow non-lambda lists as functions.
3406 (imenu--in-alist): Don't recurse into non-subalists.
3407 (imenu): Don't pass function itself as an argument (Bug#14029).
3409 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
3411 * progmodes/python.el (python-mode-map): Remove binding for ":".
3412 (python-indent-electric-colon): Remove command.
3413 (python-indent-post-self-insert-function): Integrate the previous code
3414 of python-indent-electric-colon. Make it conditional on
3415 electric-indent-mode.
3416 (python-mode): Add ?: to electric-indent-chars.
3417 Move python-indent-post-self-insert-function to the end of
3418 post-self-insert-hook.
3420 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
3422 * doc-view.el (doc-view-goto-page): Update mode-line.
3424 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
3426 2013-11-27 Glenn Morris <rgm@gnu.org>
3428 * international/charprop.el, international/uni-bidi.el:
3429 * international/uni-category.el, international/uni-combining.el:
3430 * international/uni-comment.el, international/uni-decimal.el:
3431 * international/uni-decomposition.el, international/uni-digit.el:
3432 * international/uni-lowercase.el, international/uni-mirrored.el:
3433 * international/uni-name.el, international/uni-numeric.el:
3434 * international/uni-old-name.el, international/uni-titlecase.el:
3435 * international/uni-uppercase.el:
3436 Remove generated files from VCS repository.
3438 2013-11-27 Eli Zaretskii <eliz@gnu.org>
3440 * filenotify.el (file-notify-add-watch): Don't special-case
3441 w32notify when computing the directory to watch.
3443 2013-11-27 Glenn Morris <rgm@gnu.org>
3445 Make bootstrap without generated uni-*.el files possible again.
3446 * loadup.el: Update command-line-args checking for unidata-gen.
3447 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
3448 * composite.el, international/characters.el:
3449 Handle unicode tables being undefined.
3451 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
3452 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
3453 (compile-main): Depend on leim rule.
3455 * loadup.el: Move leim-list.el to leim/ subdirectory.
3456 * startup.el (normal-top-level): No more leim directory.
3457 * international/ja-dic-cnv.el (skkdic-convert):
3458 Disable version-control and autoloads in output files.
3459 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
3460 Disable version-control and autoloads in output files.
3461 * leim/quail: Move here from ../leim.
3462 * leim/quail/hangul.el (hangul-input-method-activate):
3463 Add autoload cookie.
3464 (generated-autoload-load-name): Set file-local value.
3465 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
3466 (generated-autoload-load-name): Set file-local value.
3468 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
3470 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
3471 (eww-add-bookmark): Ask confirmation when add to bookmarks.
3472 (eww-quit): Ask confirmation before quitting eww.
3474 2013-11-26 Eli Zaretskii <eliz@gnu.org>
3476 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
3477 reading output from Diff on MS-Windows and MS-DOS.
3479 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
3481 * emacs-lisp/helpers.el (string-reverse): New function.
3483 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
3485 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
3486 names on MS Windows, like "/[::1]:".
3488 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
3491 2013-11-26 Glenn Morris <rgm@gnu.org>
3493 * progmodes/python.el (python-indent-guess-indent-offset):
3494 Avoid corner-case error. (Bug#15975)
3496 Preload leim-list.el. (Bug#4789)
3497 * loadup.el: Load leim-list.el when found.
3498 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
3500 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
3502 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
3504 * emacs-lisp/helpers.el (string-join): New function.
3506 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
3508 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
3509 Mark as obsolete and replace it with a symbol property.
3510 (byte-compile-form): Use new 'interactive-only property.
3511 * comint.el, files.el, replace.el, simple.el:
3512 Apply new 'interactive-only properly.
3514 2013-11-25 Martin Rudalics <rudalics@gmx.at>
3516 * window.el (display-buffer-at-bottom): Make sure that
3517 split-window-sensibly creates the new window on bottom
3520 2013-11-23 David Kastrup <dak@gnu.org>
3522 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
3523 on the conflict markers when available.
3524 (smerge--get-marker): New function.
3525 (smerge-end-re, smerge-base-re): Add subgroup.
3527 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
3529 * frame.el (handle-focus-in, handle-focus-out): Add missing
3532 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
3534 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
3535 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
3537 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
3539 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
3540 (gomoku--last-pos): New var.
3541 (gomoku--intangible-chars): New const.
3542 (gomoku--intangible): New function.
3543 (gomoku-mode): Use it. Derive from special-mode.
3544 (gomoku-move-up): Adjust line count.
3545 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
3546 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
3547 Simplify accordingly.
3549 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
3550 Remove blink-cursor code.
3551 (blink-cursor-timer-function, blink-cursor-suspend):
3552 Don't special-case GUIs.
3553 (blink-cursor-mode): Use focus-in/out-hook.
3555 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
3557 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
3558 work when annotation is invisible (Bug#13886).
3560 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
3562 * json.el (json-alist-p): Only return non-nil if the alist has
3563 simple keys (Bug#13518).
3565 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
3567 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
3568 when control-statement is the first statement in a buffer (Bug#15956).
3570 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
3572 * imenu.el (imenu-generic-skip-comments-and-strings):
3573 New option (Bug#15560).
3574 (imenu--generic-function): Use it.
3576 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
3578 * minibuffer.el (completion--in-region-1): Scroll the correct window.
3581 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
3583 * emacs-lisp/helpers.el: Add some string helpers.
3584 (string-trim-left): Removes leading whitespace.
3585 (string-trim-right): Removes trailing whitespace.
3586 (string-trim): Removes leading and trailing whitespace.
3588 * subr.el (string-suffix-p): New function.
3590 2013-11-23 Glenn Morris <rgm@gnu.org>
3592 * progmodes/python.el (python-shell-send-file):
3593 Add option to delete file when done. (Bug#15647)
3594 (python-shell-send-string, python-shell-send-region): Use it.
3596 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
3598 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
3599 to set buffer-read-only to t, never to nil. (Bug#15938)
3601 * textmodes/tex-mode.el (latex-noindent-environments):
3602 Add safe-local-variable property. (Bug#15936)
3604 2013-11-23 Glenn Morris <rgm@gnu.org>
3606 * textmodes/enriched.el (enriched-mode): Doc fix.
3607 * emacs-lisp/authors.el (authors-renamed-files-alist):
3608 Add enriched.doc -> enriched.txt.
3610 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
3612 2013-11-22 Leo Liu <sdl.web@gmail.com>
3614 * progmodes/octave.el (inferior-octave-startup): Spit out error
3617 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
3619 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
3622 (ruby-encoding-magic-comment-style): Add :version.
3624 2013-11-22 Leo Liu <sdl.web@gmail.com>
3626 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
3628 (octave-help-mode): Adapt to change to help-mode-finish to use
3629 derived-mode-p on 2013-09-17.
3630 (inferior-octave-prompt): Also match octave-gui.
3631 (octave-kill-process): Don't ask twice. (Bug#10564)
3633 2013-11-22 Leo Liu <sdl.web@gmail.com>
3635 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
3636 (inferior-octave-startup, inferior-octave-check-process)
3637 (inferior-octave-track-window-width-change)
3638 (octave-completion-at-point, octave-eldoc-function): Use it.
3639 (octave-kill-process): Provide confirmation. (Bug#10564)
3641 2013-11-21 Leo Liu <sdl.web@gmail.com>
3643 * progmodes/octave.el (octave-mode, inferior-octave-mode):
3644 Fix obsolete variable comment-use-global-state.
3646 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3648 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
3649 Add `octave-source-file'.
3650 (octave-source-file): New function. (Bug#15935)
3652 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
3654 * net/eww.el (eww-local-regex): New variable.
3655 (eww): Use it to detect localhost and similar.
3657 2013-11-21 Leo Liu <sdl.web@gmail.com>
3659 Add completion for command `ag'.
3660 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
3661 (pcomplete/ag): New function.
3662 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
3664 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
3666 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
3668 (make-obsolete): Remove interactive spec.
3670 2013-11-21 Glenn Morris <rgm@gnu.org>
3672 * startup.el (command-line-1): Use path-separator with -L.
3674 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
3676 * emacs-lisp/package.el (describe-package-1): Add package archive
3679 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
3681 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
3682 Change default to "# encoding: %s" to differentiate it from the
3683 default Ruby encoding comment template.
3685 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
3687 * ses.el (ses-mode): Doc fix. (Bug#14748)
3689 2013-11-20 Leo Liu <sdl.web@gmail.com>
3691 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
3693 2013-11-19 Dan Nicolaescu <dann@gnu.org>
3695 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
3696 when rebase or bisect are in progress.
3698 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
3700 * filenotify.el (file-notify-add-watch): Doc fix.
3702 2013-11-19 Leo Liu <sdl.web@gmail.com>
3704 * obsolete/rcompile.el: Mark obsolete.
3706 * progmodes/compile.el (compilation-start)
3707 (compilation-goto-locus, compilation-find-file):
3708 Pass no-display-ok and handle nil value from display-buffer.
3711 * window.el (display-buffer-alist, display-buffer): Document the
3712 new parameter no-display-ok. Return either a window or nil
3713 but never a non-window value.
3715 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
3717 * electric.el (electric-indent-mode-map): Remove.
3718 (electric-indent-mode): Change the global-map instead (bug#15915).
3720 * textmodes/text-mode.el (paragraph-indent-minor-mode):
3723 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
3725 * emacs-lisp/nadvice.el (remove-function): Align with
3726 add-function's behavior.
3728 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
3729 (gdb--string-regexp): New constant.
3730 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
3731 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
3732 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
3734 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
3735 Adjust use accordingly.
3736 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
3738 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
3740 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
3741 interpolation curlies (Bug#15914).
3743 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
3745 * calc/calc.el (calc-context-sensitive-enter): New variable.
3746 (calc-enter): Use `calc-context-sensitive-enter'.
3748 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
3750 * progmodes/cfengine.el: Version bump.
3751 (cfengine-cf-promises): New defcustom to locate cf-promises.
3752 (cfengine3-vartypes): Add new "data" type.
3753 (cfengine3--current-word): New function to get current name-like
3755 (cfengine3--current-function): New function to look up a CFEngine
3756 function's definition.
3757 (cfengine3-format-function-docstring): New function.
3758 (cfengine3-make-syntax-cache): New function.
3759 (cfengine3-documentation-function): New function: ElDoc glue.
3760 (cfengine3-completion-function): New function: completion glue.
3761 (cfengine3-mode): Set `compile-command',
3762 `eldoc-documentation-function', and add to
3763 `completion-at-point-functions'.
3765 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
3767 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
3768 `tramp-current-connection'.
3770 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
3772 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
3773 nil/self/true/false with "end of symbol".
3775 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
3777 * subr.el (version-regexp-alist): Fix a typo.
3779 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
3781 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
3782 "en_US.utf8" and "LC_CTYPE" to "".
3783 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
3784 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
3786 2013-11-15 Leo Liu <sdl.web@gmail.com>
3788 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
3790 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3792 * progmodes/gud.el (ctl-x-map):
3793 Remove C-x SPC binding. (Bug#12342)
3794 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
3796 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
3798 * subr.el (version-regexp-alist):
3799 Recognize hg, svn and darcs versions as snapshot versions.
3801 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
3802 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
3803 (ruby--encoding-comment-required-p): Extract from
3804 `ruby-mode-set-encoding'.
3805 (ruby-mode-set-encoding): Add the ability to always insert an
3806 utf-8 encoding comment. Fix and simplify coding comment update
3809 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
3811 * net/tramp-gvfs.el (top): Run init code only when
3812 `tramp-gvfs-enabled' is not nil.
3813 (tramp-gvfs-enabled): Check also :system bus.
3815 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3817 Sync with upstream verilog-mode revision 78e66ba.
3818 * progmodes/verilog-mode.el (verilog-end-of-defun)
3819 (verilog-type-completion, verilog-get-list): Remove unused funcs.
3820 (verilog-get-end-of-defun): Remove unused argument.
3821 (verilog-comment-depth): Remove unused local `e'.
3822 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
3823 Don't pass arg to verilog-get-end-of-defun.
3825 2013-11-14 Glenn Morris <rgm@gnu.org>
3827 * obsolete/assoc.el (aget): Prefix dynamic variable.
3829 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
3831 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3833 * widget.el, hfy-cmap.el: Remove bogus package version number.
3835 2013-11-13 Glenn Morris <rgm@gnu.org>
3837 * replace.el (replace-eval-replacement):
3838 Try to give more helpful error message. (Bug#15836)
3840 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
3841 (archive-7z-update): Avoid custom type mismatches.
3843 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
3845 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
3847 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
3848 address can be empty.
3850 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
3851 Accept nil SWITCHES.
3852 (tramp-gvfs-handle-write-region): Implement APPEND.
3854 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
3856 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
3857 binary "|" operator and closing block args delimiter.
3858 Remove FIXME comment referring to Ruby 1.8-only syntax.
3859 (ruby-smie--implicit-semi-p): Not after "|" operator.
3860 (ruby-smie--closing-pipe-p): New function.
3861 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
3862 (ruby-smie-rules): Indent after "|".
3864 2013-11-12 Glenn Morris <rgm@gnu.org>
3866 * ps-print.el (ps-face-attribute-list):
3867 Handle anonymous faces. (Bug#15827)
3869 2013-11-12 Martin Rudalics <rudalics@gmx.at>
3871 * window.el (display-buffer-other-frame): Fix doc-string.
3874 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3876 * subr.el (force-mode-line-update): Delete, move to buffer.c.
3878 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
3880 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
3881 (tramp-sh-handle-file-local-copy): Don't write a message when
3882 saving temporary files.
3884 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
3885 both directories are remote.
3886 (tramp-smb-handle-directory-files): Do not return double entries.
3887 Do not expand full file names.
3888 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
3889 (tramp-smb-handle-write-region): Implement APPEND.
3890 (tramp-smb-get-stat-capability): Fix a stupid bug.
3892 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3894 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
3896 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3898 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
3899 throwing error over malformed let/let* (bug#15814).
3901 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3903 * iswitchb.el (iswitchb-mode): Mark obsolete.
3905 2013-11-11 Glenn Morris <rgm@gnu.org>
3907 * international/uni-bidi.el, international/uni-category.el:
3908 * international/uni-name.el, international/uni-numeric.el:
3909 Regenerate for Unicode 6.3.0.
3911 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
3913 * net/tramp.el (tramp-methods):
3914 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
3915 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
3917 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
3919 * progmodes/sh-script.el (sh-font-lock-keywords-var):
3920 Force highlighting text after Summary keyword in doc face for rpm.
3922 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
3924 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
3925 available and the word has no wildcards, append one to the grep pattern.
3926 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
3927 (ispell-complete-word): Call `ispell-lookup-words' with the value
3928 independent of `ispell-look-p'.
3930 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3932 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
3934 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
3937 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3939 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
3940 (ruby-font-lock-keywords): Use backquote.
3942 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3944 * progmodes/ruby-mode.el (ruby-smie--forward-token)
3945 (ruby-smie--backward-token): Only consider full-string matches.
3947 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
3949 * faces.el (describe-face): Add distant-foreground.
3951 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
3953 * progmodes/ruby-mode.el: Improve encoding comment handling.
3954 (ruby-encoding-magic-comment-style): New option.
3955 (ruby-custom-encoding-magic-comment-template): New option.
3956 (ruby--insert-coding-comment, ruby--detect-encoding):
3957 New functions extracted from `ruby-mode-set-encoding'.
3958 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
3959 to control the style of the auto-inserted encoding comment.
3961 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3963 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
3964 Use `smie-backward-sexp' with token argument.
3966 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
3968 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
3969 Remove instrumentation code.
3971 2013-11-08 Glenn Morris <rgm@gnu.org>
3973 * progmodes/autoconf.el (autoconf-mode):
3974 Tweak comment-start-skip. (Bug#15822)
3976 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3978 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
3979 at bobp (bug#15826).
3980 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
3982 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
3984 * man.el (Man-start-calling): New macro, extracted from
3985 Man-getpage-in-background.
3986 (Man-getpage-in-background): Use it.
3987 (Man-update-manpage): New command.
3988 (Man-mode-map): Bind it.
3990 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3992 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
3993 of "and", "or", "&&" and "||".
3994 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
3995 argument. Prohibit opening curly brace because it could only be a
3996 block opener in that position.
3997 (ruby-smie--forward-token, ruby-smie--backward-token):
3998 Separate "|" from "&" or "*" going after it. That can happen in block
4000 (ruby-smie--indent-to-stmt): New function, seeks the end of
4001 previous statement or beginning of buffer.
4002 (ruby-smie-rules): Use it.
4003 (ruby-smie-rules): Check if there's a ":" before a curly block
4004 opener candidate; if there is, it's a hash.
4006 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
4008 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
4009 (cl--block-wrapper): Fix last accidental change.
4011 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
4013 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
4014 Instrument, in order to hunt failure on hydra.
4016 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4018 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
4019 malformed bindings form (bug#15814).
4021 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
4023 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
4024 "." compared to " @ ". This incidentally fixes some indentation
4026 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
4027 (ruby-smie-grammar): New tokens: "and" and "or".
4028 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
4029 Exclude "and" and "or". Remove "do" in order to work around token
4031 (ruby-smie-rules): Add all infix tokens. Handle the case of
4032 beginning-of-buffer.
4034 2013-11-06 Glenn Morris <rgm@gnu.org>
4036 * Makefile.in (setwins_almost, setwins_for_subdirs):
4037 Avoid accidental matches.
4039 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
4041 * menu-bar.el (popup-menu): Use key-binding.
4043 2013-11-06 Eli Zaretskii <eliz@gnu.org>
4045 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
4046 menus, support also the menus produced by minor modes.
4049 2013-11-06 Leo Liu <sdl.web@gmail.com>
4051 * thingatpt.el (thing-at-point-looking-at): Add optional arg
4052 DISTANCE to bound the search. All uses changed. (Bug#15808)
4054 2013-11-06 Glenn Morris <rgm@gnu.org>
4056 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
4057 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
4058 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
4060 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
4062 * electric.el (electric-indent-just-newline): New command.
4063 (electric-indent-mode-map): New keymap.
4064 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
4065 Re-add :group which weren't redundant.
4067 * electric.el (electric-indent-local-mode): New minor mode.
4068 (electric-indent-functions-without-reindent): New var.
4069 (electric-indent-post-self-insert-function): Use it.
4070 * emacs-lisp/gv.el (buffer-local-value): Add setter.
4072 2013-11-05 Eli Zaretskii <eliz@gnu.org>
4074 * international/quail.el (quail-help): Be more explicit about the
4075 meaning of the labels shown on the keys. (Bug#15800)
4077 * startup.el (normal-top-level): Load the subdirs.el files before
4078 setting the locale environment. (Bug#15805)
4080 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
4082 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
4083 via arguments so as to get the right ones (bug#15418).
4085 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
4087 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
4089 Fix problems found while writing a test suite.
4091 * net/tramp-compat.el (tramp-compat-load): New defun.
4092 * net/tramp.el (tramp-handle-load): Use it.
4094 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
4095 "(numberp ok-if-already-exists)" correctly.
4097 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
4099 * international/characters.el (glyphless-char-display-control):
4102 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
4104 * progmodes/python.el (python-mode):
4105 * progmodes/scheme.el (scheme-mode):
4106 * progmodes/prolog.el (prolog-mode):
4107 * progmodes/ruby-mode.el (ruby-mode):
4108 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
4109 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
4111 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
4113 * rect.el (rectangle--highlight-for-redisplay):
4114 * emacs-lisp/smie.el (smie--next-indent-change):
4115 Use buffer-chars-modified-tick.
4117 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
4119 * electric.el (electric-indent-post-self-insert-function):
4120 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
4122 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
4124 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
4126 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4128 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
4131 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
4133 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
4135 * progmodes/python.el: Fix up last change.
4136 (python-shell--save-temp-file): New function.
4137 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
4138 `string' comes from the current buffer.
4139 (python-shell-send-string-no-output): Remove `msg' arg.
4140 (python--use-fake-loc): New var.
4141 (python-shell-buffer-substring): Obey it. Try to compensate for the
4142 extra coding line added by python-shell--save-temp-file.
4143 (python-shell-send-region): Use python-shell--save-temp-file and
4144 python-shell-send-file directly. Add `nomain' argument.
4145 (python-shell-send-buffer): Use python-shell-send-region.
4146 (python-electric-pair-string-delimiter): New function.
4147 (python-mode): Use it.
4149 2013-11-04 Eli Zaretskii <eliz@gnu.org>
4151 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
4152 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
4153 environment and decoding all of the default-directory's to here
4155 (command-line): Decode also argv[0].
4157 * loadup.el: Error out if default-directory is a multibyte string
4158 when we are dumping.
4160 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
4162 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
4164 * emacs-lisp/package.el (package-menu-mode)
4165 (package-menu--print-info, package-menu--archive-predicate):
4166 Add Archive column to package list.
4168 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
4170 Fix problems found while writing a test suite.
4172 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
4173 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
4174 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
4175 to nil when running original file name handler. Otherwise,
4176 there are problems with constructs like "$$FOO".
4178 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
4181 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
4183 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
4185 * subr.el (version<, version<=, version=):
4186 Update docstrings with information for snapshot versions.
4188 * helpers.el: New library for misc helper functions.
4189 (hash-table-keys): New function returning a list of hash keys.
4190 (hash-table-values): New function returning a list of hash values.
4192 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
4194 * progmodes/ruby-mode.el (ruby-smie--forward-token)
4195 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
4197 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
4199 * textmodes/fill.el (fill-single-char-nobreak-p): New function
4200 checking whether point is after a 1-letter word.
4202 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4204 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
4205 Don't infloop when expanding region over `multiline' syntax-type that
4206 begins a line (bug#15778).
4208 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
4210 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
4211 Make it into a proper minor mode.
4212 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
4213 (rectangle-mark-mode-map): New keymap.
4214 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
4216 2013-11-04 Glenn Morris <rgm@gnu.org>
4218 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
4220 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
4222 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
4223 (ruby-smie-rules): Use smie-rule-parent instead.
4225 * emacs-lisp/smie.el (smie-rule-parent): Always call
4226 smie-indent-virtual rather than only for hanging tokens.
4227 (smie--next-indent-change): New helper command.
4229 2013-11-03 Glenn Morris <rgm@gnu.org>
4231 * Makefile.in (abs_srcdir): Remove.
4232 (emacs): Unset EMACSLOADPATH.
4234 2013-11-02 Glenn Morris <rgm@gnu.org>
4236 * Makefile.in (EMACS): Use a relative filename.
4237 (abs_top_builddir): Remove.
4238 (custom-deps, finder-data, autoloads): Use --chdir.
4240 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
4242 Use relative filenames in TAGS files.
4243 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
4244 (lisptagsfiles4, TAGS): Use relative file names.
4245 (TAGS-LISP): Remove.
4246 (maintainer-clean): No more TAGS-LISP file.
4248 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
4249 (lisptagsfiles4): Use absolute filenames again.
4250 (TAGS, TAGS-LISP): Not everything needs to run in one line.
4251 Remove all *loaddefs files, not just the first. Remove esh-groups.
4252 (maintainer-clean): Delete TAGS, TAGS-LISP.
4254 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
4256 * emacs-lisp/package.el (package-version-join):
4257 Recognize snapshot versions.
4259 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
4261 * subr.el (version-regexp-alist): Add support for snapshot versions.
4263 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
4265 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
4266 New function, replacement for `smie-rule-parent' for when we want to
4267 skip over our direct parent if it's an assignment token..
4268 (ruby-smie-rules): Use it.
4270 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
4272 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
4273 unconditionally. Remove now unnecessary forward declarations.
4274 Remove XEmacs-specific setup.
4275 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
4276 (ruby-font-lock-syntactic-keywords)
4277 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
4278 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
4279 (ruby-here-doc-end-syntax): Remove.
4280 (ruby-mode): Don't check whether `syntax-propertize-rules' is
4281 defined as function.
4283 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
4285 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
4287 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
4289 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
4290 table and abbrev table, `define-derived-mode' does that for us
4293 2013-11-01 Glenn Morris <rgm@gnu.org>
4295 * Makefile.in: Remove manual mh-e dependencies (writing .elc
4296 files is atomic for some time, so no parallel compilation issues).
4298 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
4300 * faces.el (face-x-resources): Add :distant-foreground.
4301 (region): Use :distant-foreground for gtk and ns.
4303 2013-11-01 Tassilo Horn <tsdh@gnu.org>
4305 Allow multiple bibliographies when BibLaTeX is used rather than
4307 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
4308 (reftex-locate-bibliography-files): Us it.
4310 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
4312 * image.el (image-type-header-regexps): Fix the 'pbm' part to
4313 allow comments in pbm files.
4315 * term/w32-win.el (dynamic-library-alist): Support newer versions
4316 of libjpeg starting with v7: look only for the DLL from the
4317 version against which Emacs was built.
4318 Support versions of libpng beyond 1.4.x.
4319 Support libtiff v4.x.
4321 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
4323 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
4324 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
4326 (ruby-deep-arglist): Add property :type.
4328 2013-10-31 Glenn Morris <rgm@gnu.org>
4330 * Makefile.in (custom-deps, finder-data): No need to setq the target
4331 variables, we are in the right directory and the defaults work fine.
4333 2013-10-30 Glenn Morris <rgm@gnu.org>
4335 * Makefile.in (autoloads): Do not use abs_lisp.
4337 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
4338 `newline' does not respect `standard-output', so use `princ'.
4340 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
4342 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
4343 * buff-menu.el (Buffer-menu--unmark): New function.
4344 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
4346 2013-10-30 Glenn Morris <rgm@gnu.org>
4348 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
4350 * emacs-lisp/package.el (lm-homepage): Declare.
4352 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
4355 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
4357 * Makefile.in (finder-data, autoloads, update-subdirs)
4358 (compile-main, compile-clean, compile-always, bootstrap-clean):
4359 Check return value of cd.
4360 (compile-calc): Remove.
4362 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
4364 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
4366 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
4367 (byte-compile-and-folded): New function.
4368 (=, <, >, <=, >=): Use it.
4370 * dos-w32.el (minibuffer-history-case-insensitive-variables)
4371 (path-separator, null-device, buffer-file-coding-system)
4372 (lpr-headers-switches): Check system-type before modifying them.
4373 (find-buffer-file-type-coding-system): Mark obsolete.
4374 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
4375 find-file-not-found-set-buffer-file-coding-system.
4376 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
4377 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
4378 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
4379 (w32-direct-print-region-helper, w32-direct-print-region-function)
4380 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
4381 * startup.el (normal-top-level-add-subdirs-to-load-path):
4382 * ps-print.el (ps-print-region-function):
4383 * lpr.el (print-region-function): Use new name.
4385 * subr.el (custom-declare-variable-early): Remove function.
4386 (custom-declare-variable-list): Remove var.
4387 (error, user-error): Remove `while' loop.
4388 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
4389 (user-emacs-directory-warning, locate-user-emacs-file):
4391 * simple.el (read-quoted-char-radix, read-quoted-char):
4392 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
4394 * custom.el (custom-declare-variable-list): Don't process
4395 custom-declare-variable-list.
4397 * progmodes/python.el (python-shell-get-buffer): New function.
4398 (python-shell-get-process): Use it.
4399 (python-shell-send-string): Always use utf-8 and add a cookie to tell
4400 Python which encoding was used. Don't split-string since we only care
4401 about the first line. Return the temp-file, if applicable.
4402 (python-shell-send-region): Tell compile.el how to turn locations in
4403 the temp-file into locations in the source buffer.
4405 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
4407 * subr.el (undefined): Add missing behavior from the C code for
4410 * rect.el: Use lexical-binding. Add new rectangular region support.
4411 (rectangle-mark): New command.
4412 (rectangle--region): New var.
4413 (deactivate-mark-hook): Reset rectangle--region.
4414 (rectangle--extract-region, rectangle--insert-for-yank)
4415 (rectangle--highlight-for-redisplay)
4416 (rectangle--unhighlight-for-redisplay): New functions.
4417 (region-extract-function, redisplay-unhighlight-region-function)
4418 (redisplay-highlight-region-function): Use them to handle
4420 * simple.el (region-extract-function): New var.
4421 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
4422 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
4423 (kill-region): Replace obsolete `yank-handler' arg with `region'.
4424 (copy-region-as-kill, kill-ring-save): Add `region' argument.
4425 (redisplay-unhighlight-region-function)
4426 (redisplay-highlight-region-function): New vars.
4427 (redisplay--update-region-highlight): New function.
4428 (pre-redisplay-function): Use it.
4429 (exchange-point-and-mark): Don't deactivate the mark before
4430 reactivate-it anyway.
4431 * comint.el (comint-kill-region): Remove yank-handler argument.
4432 * delsel.el (delete-backward-char, backward-delete-char-untabify)
4433 (delete-char): Remove property, since it's now part of their
4435 (self-insert-iso): Remove property since this command doesn't exist.
4437 * emacs-lisp/package.el (package--download-one-archive)
4438 (describe-package-1): Don't query the user about final newline.
4440 2013-10-29 Daniel Colascione <dancol@dancol.org>
4442 * net/tramp.el (tramp-methods): Document new functionality.
4443 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
4444 tramp-hostname-checker if method provides one instead of scanning
4445 argument list for "%h" to decide hostname acceptability.
4447 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
4449 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
4450 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
4451 Handle COPY-CONTENTS. (Bug#15737)
4453 2013-10-28 Daiki Ueno <ueno@gnu.org>
4456 (epa-file-cache-passphrase-for-symmetric-encryption):
4457 Document that this option has no effect with GnuPG 2.0 (bug#15552).
4459 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
4461 * image.el (defimage):
4462 (image-load-path): Doc fixes.
4464 2013-10-27 Alan Mackenzie <acm@muc.de>
4466 Indent statements in macros following "##" correctly.
4467 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
4468 Modify the "#" arm of a cond form to handle "#" and "##" operators.
4470 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4472 * linum.el (linum-update-window): Fix boundary test (bug#13446).
4474 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
4476 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
4477 after `=' is probably a new expression.
4479 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4481 * man.el (man-imenu-title): New option.
4482 (Man-mode-map): Add menu. (Bug#15722)
4483 (Man-mode): Add imenu to menu.
4485 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
4487 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
4488 specific in what the first arg can be: a non-keyword word,
4489 string/regexp/percent literal opener, opening paren, or unary
4490 operator followed directly by word.
4492 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
4494 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
4495 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
4496 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
4497 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
4498 Remove vars, they do not apply any more.
4499 (prolog-mode-abbrev-table): Remove redundant declaration.
4500 (prolog-upper-case-string, prolog-lower-case-string): Remove.
4501 (prolog-use-smie): Remove.
4502 (prolog-smie-rules): Add indentation rule for the if-then-else layout
4503 supported by prolog-electric-if-then-else-flag.
4504 (prolog-mode-variables, prolog-menu): Use setq-local.
4505 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
4506 Remove binding to `Backspace' since this key doesn't exist anyway.
4507 Remove bindings for electric self-inserting keys.
4508 (prog-mode): Assume it's defined.
4509 (prolog-post-self-insert): New function.
4510 (prolog-mode): Use it.
4511 (prolog-indent-line, prolog-indent-level)
4512 (prolog-find-indent-of-matching-paren)
4513 (prolog-indentation-level-of-line, prolog-goto-comment-column)
4514 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
4515 (prolog-goto-next-paren, prolog-in-string-or-comment)
4516 (prolog-tokenize, prolog-inside-mline-comment)
4517 (prolog-find-start-of-mline-comment): Remove functions.
4518 (prolog-find-unmatched-paren, prolog-clause-end)
4519 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
4520 (prolog-electric--if-then-else): Rename from
4521 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
4522 (prolog-tokenize-searchkey): Remove const.
4523 (prolog-clause-info): Use forward-sexp.
4524 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
4525 (prolog-electric-if-then-else): Remove commands.
4526 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
4527 for use in post-self-insert-hook.
4528 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
4529 for use in post-self-insert-hook.
4530 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
4531 for use in post-self-insert-hook.
4532 (prolog-electric--underscore): Rename from prolog-electric--underscore;
4533 adapt it for use in post-self-insert-hook.
4535 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
4537 * emacs-lisp/ert.el (ert-run-tests-interactively):
4538 Use `completing-read'. (Bug#9756)
4540 2013-10-25 Eli Zaretskii <eliz@gnu.org>
4542 * simple.el (line-move): Call line-move-1 instead of
4543 line-move-visual when the current window hscroll is zero, but
4544 temporary-goal-column indicates we will need to hscroll as result
4545 of the movement. (Bug#15712)
4547 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
4549 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
4550 capitalization. Use :visible instead of :active.
4551 Fix `ruby-indent-exp' reference. Add menu items for the generic
4552 commands that are used with SMIE.
4553 (ruby-do-end-to-brace): Insert space after `{'.
4555 2013-10-25 John Anthony <john@jo.hnanthony.com>
4557 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
4559 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
4561 2013-10-25 Glenn Morris <rgm@gnu.org>
4563 * vc/vc.el (vc-print-log): Don't use a working revision unless
4564 one was explicitly specified. (Bug#15322)
4566 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
4568 * subr.el (add-to-list): Preserve return value in compiler-macro
4571 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4573 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
4574 result. Ask user to retry using '-all' flag. (Bug#15701)
4576 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
4578 * emacs-lisp/smie.el: New smie-config system.
4579 (smie-config): New defcustom.
4580 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
4581 (smie-config-guess, smie-config-save): New commands.
4582 (smie-config--mode-local, smie-config--buffer-local)
4583 (smie-config--trace, smie-config--modefuns): New vars.
4584 (smie-config--advice, smie-config--mode-hook)
4585 (smie-config--setter, smie-config-local, smie-config--get-trace)
4586 (smie-config--guess-value, smie-config--guess): New functions.
4587 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
4588 text properties. Treat "string fence" syntax like string syntax.
4590 * progmodes/sh-script.el (sh-use-smie): Change default.
4591 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
4592 (sh-var-value): Simplify by CSE.
4593 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
4594 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
4596 (sh-guess-basic-offset): Use cl-incf.
4597 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
4599 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
4601 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
4604 2013-10-24 Glenn Morris <rgm@gnu.org>
4606 * Makefile.in (abs_top_srcdir): Remove.
4607 (update-subdirs): Use relative path to update-subdirs.
4609 2013-10-24 Eli Zaretskii <eliz@gnu.org>
4611 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
4612 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
4613 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
4614 Call unmsys--file-name before expand-file-name, not after it.
4616 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
4618 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
4619 (ert-test-skipped): New error.
4620 (ert-skip, ert-stats-skipped): New defuns.
4621 (ert--skip-unless): New macro.
4622 (ert-test-skipped): New struct.
4623 (ert--run-test-debugger, ert-test-result-type-p)
4624 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
4625 (ert--stats-set-test-and-result, ert-char-for-test-result)
4626 (ert-string-for-test-result, ert-run-tests-batch)
4627 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
4628 Handle skipped tests. (Bug#9803)
4630 2013-10-24 Glenn Morris <rgm@gnu.org>
4632 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
4634 * Makefile.in (abs_top_srcdir): New, set by configure.
4635 (update-subdirs): Correct build-aux location.
4637 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
4639 * vc/vc.el (vc-print-root-log): Always set `default-directory'
4640 value, whether we could auto-deduce `backend', or not.
4642 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
4643 with parameters" example. Simplify the "is it block or is it
4644 hash" check, but also make it more thorough.
4646 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
4648 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
4650 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
4652 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
4655 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
4658 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
4660 * progmodes/compile.el (compilation-directory-matcher)
4661 (compilation-page-delimiter):
4662 Support GNU Make-4.0 directory quoting. (Bug#15678)
4664 2013-10-23 Leo Liu <sdl.web@gmail.com>
4666 * ido.el (ido-tidy): Handle read-only text.
4668 2013-10-23 Glenn Morris <rgm@gnu.org>
4670 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
4671 (emacs, compile, compile-always):
4672 Quote entities that might contain whitespace.
4673 (custom-deps, finder-data, autoloads): Use abs_lisp.
4674 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
4675 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
4676 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
4678 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
4680 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
4681 Use `following-char'.
4683 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
4685 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
4686 * progmodes/ruby-mode.el (ruby-smie-rules):
4687 Remove corresponding workaround. Fix indentation rule of ";" so it
4688 also applies when ";" is the parent.
4690 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
4692 * frame.el (display-screens, display-pixel-height)
4693 (display-pixel-width, display-mm-width, display-backing-store)
4694 (display-save-under, display-planes, display-color-cells)
4695 (display-visual-class, display-monitor-attributes-list):
4696 Mention the optional ‘display’ argument in doc strings.
4698 2013-10-22 Michael Gauland <mikelygee@amuri.net>
4700 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
4701 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
4703 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
4705 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
4706 TODO. Add "." after " @ ".
4707 (ruby-smie--at-dot-call): New function. Checks if point at method
4708 call with explicit target.
4709 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
4710 to the method name tokens when it precedes them.
4711 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
4712 (ruby-smie-rules): Add rule for indentation before and after "."
4715 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
4717 * textmodes/remember.el (remember-diary-extract-entries):
4720 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
4723 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
4725 * progmodes/ruby-mode.el (ruby-smie-grammar):
4726 Add (almost) all infix operators.
4727 (ruby-smie--implicit-semi-p): Add new operator chars.
4729 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
4731 (ruby-smie--args-separator-p): Check that there's no newline
4732 between method call and its arguments.
4734 2013-10-20 Alan Mackenzie <acm@muc.de>
4736 Allow comma separated lists after Java "implements".
4738 * progmodes/cc-engine.el (c-backward-over-enum-header):
4740 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
4741 from a "disallowed" list in enum fontification.
4743 2013-10-20 Johan Bockgård <bojohan@gnu.org>
4745 * startup.el (default-frame-background-mode): Remove unused defvar.
4747 * progmodes/verilog-mode.el (verilog-mode): Don't set
4748 comment-indent-function globally.
4750 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
4752 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
4753 Move Info menu item creation to ns-win.el.
4755 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
4758 * menu-bar.el: Move GNUstep specific menus...
4760 * term/ns-win.el (ns-initialize-window-system): ... to here.
4762 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
4764 * simple.el (newline): Only run post-self-insert-hook when
4765 called interactively.
4767 2013-10-19 Johan Bockgård <bojohan@gnu.org>
4769 * icomplete.el (icomplete-with-completion-tables): Add :version.
4771 2013-10-19 Alan Mackenzie <acm@muc.de>
4773 Fix fontification bugs with constructors and const.
4775 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
4776 CASE 2) Remove the check for the absence of a suffix construct
4777 after a function declaration with only types (no identifiers) in
4778 the parentheses. Also, accept a function declaration with just a
4779 type inside the parentheses, if this type can be positively
4780 recognised as such, or if a prefix keyword like "explicit" nails
4781 down the construct as a declaration.
4783 2013-10-19 Eli Zaretskii <eliz@gnu.org>
4785 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
4786 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
4787 the problem whereby selecting a menu item that leads to a
4788 minibuffer prompt moves the cursor out of the minibuffer window,
4789 making it hard to type at the prompt. Suggested by Stefan Monnier
4790 <monnier@iro.umontreal.ca>.
4792 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
4794 * menu-bar.el: Don't make Services menu.
4796 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4798 * ffap.el: Handle "/usr/include/c++/<version>" directories.
4799 (ffap-alist): Use ffap-c++-mode for c++-mode.
4800 (ffap-c++-path): New variable.
4801 (ffap-c++-mode): New function.
4803 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
4805 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
4807 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
4809 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
4810 introduced on 2013-09-08, which results in an infinite loop
4811 requesting a password.
4813 2013-10-18 Glenn Morris <rgm@gnu.org>
4815 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
4817 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
4819 Sync with upstream verilog-mode revision 1a6ecec7.
4820 * progmodes/verilog-mode.el (verilog-mode-version): Update.
4821 (verilog-mode-release-date): Remove.
4822 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
4823 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
4824 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
4825 (verilog-auto-tieoff-ignore-regexp)
4826 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
4827 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
4828 (verilog-signals-with, verilog-dir-cache-preserving)
4829 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
4831 (verilog-case-fold): New option, to control case folding in
4832 regexp searches, bug597.
4833 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
4834 (verilog-string-match-fold, verilog-in-paren-count)
4835 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
4836 (verilog-at-close-struct-p): New functions.
4837 (verilog-beg-block-re-ordered, verilog-extended-case-re)
4838 (verilog-forward-sexp, verilog-set-auto-endcomments):
4839 (verilog-leap-to-case-head): Handle "unique0" case.
4840 (verilog-in-constraint-re): New constant.
4841 (verilog-keywords, verilog-type-font-keywords):
4842 Add some SystemVerilog 1800-2012 keywords.
4843 (verilog-label-be): Remove unimplemented argument, bug669.
4844 (verilog-batch-execute-func): When batch expanding clear
4845 create-lockfiles to prevent spurious user locks when a file ends
4847 (verilog-calculate-indent, verilog-calc-1)
4848 (verilog-at-close-constraint-p, verilog-at-constraint-p)
4849 (verilog-do-indent): Fix indentation of nested constraints
4851 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
4852 (verilog-auto-inst-param): Use verilog-string-match-fold.
4853 (verilog-read-inst-module-matcher):
4854 Fix AUTOINST on gate primitives with #1.
4855 (verilog-read-decls): Fix double-declaring user-defined typed signals.
4856 Reads all user-defined typed variables.
4857 (verilog-read-defines): Fix reading definitions inside comments, bug647.
4858 (verilog-signals-matching-regexp)
4859 (verilog-signals-not-matching-regexp, verilog-auto):
4860 Respect verilog-case-fold.
4861 (verilog-diff-report): Fix line count.
4862 (verilog-auto-assign-modport): Remove unused local `modi'.
4863 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
4864 better handle multidimensional arrays.
4865 Fix packed array ports misadding bit index in AUTOINST, bug637.
4866 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
4867 to not double-declare existing outputs and inputs, respectively.
4868 (verilog-template-map): Bind U to verilog-sk-uvm-component.
4869 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
4870 (verilog-sk-uvm-component): New skeleton.
4871 (verilog-submit-bug-report): Add verilog-case-fold,
4872 remove verilog-mode-release-date.
4874 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
4876 * subr.el (sit-for): Call (input-pending-p t) so as to behave
4879 2013-10-18 Reuben Thomas <rrt@sc3d.org>
4881 * textmodes/remember.el (remember): Set buffer-offer-save in
4882 remember buffers (bug#13566).
4884 2013-10-18 Daniel Colascione <dancol@dancol.org>
4886 When evaluating forms in ielm, direct standard output to ielm
4887 buffer. Add new ielm-return-for-effect command. Remove trailing
4888 whitespace throughout.
4890 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
4891 (ielm-return-for-effect): New command.
4892 (ielm-send-input): Accept optional `for-effect' parameter.
4893 (ielm-eval-input): Accept optional `for-effect' parameter.
4894 Bind `standard-output' to stream we create using
4895 `ielm-standard-output-impl'. Suppress printing result when
4897 (ielm-standard-output-impl): New function.
4898 (inferior-emacs-lisp-mode): Explain new features in documentation.
4900 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
4904 * net/tramp.el (tramp-debug-message): Do not check for connection
4906 (tramp-message): Use "vector" connection property.
4908 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
4909 (tramp-equal-remote, tramp-eshell-directory-change)
4910 * net/tramp-adb.el (tramp-adb-handle-copy-file)
4911 (tramp-adb-handle-rename-file)
4912 * net/tramp-cmds.el (tramp-list-remote-buffers)
4913 (tramp-cleanup-connection, tramp-cleanup-this-connection)
4914 * net/tramp-compat.el (tramp-compat-process-running-p)
4915 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
4916 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
4917 (tramp-gvfs-handle-rename-file)
4918 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
4919 (tramp-set-file-uid-gid)
4920 * net/tramp-smb.el (tramp-smb-handle-copy-file)
4921 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
4924 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
4925 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
4926 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
4927 (tramp-gw-open-network-stream): Suppress unrelated traces.
4929 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
4930 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
4931 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
4932 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
4933 connection property.
4935 * net/tramp-cache.el (top): Suppress traces when reading
4938 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
4939 Refactor common code. Improve debug message.
4940 (tramp-maybe-open-connection)
4941 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
4942 connection buffer too early.
4944 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
4945 from `tramp-smb-actions-with-acl'.
4946 (tramp-smb-actions-set-acl): New defconst.
4947 (tramp-smb-handle-copy-directory)
4948 (tramp-smb-action-get-acl): New defun, renamed from
4949 `tramp-smb-action-with-acl'.
4950 (tramp-smb-action-set-acl): New defun.
4951 (tramp-smb-handle-set-file-acl): Rewrite.
4953 2013-10-17 Glenn Morris <rgm@gnu.org>
4955 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
4957 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
4959 * skeleton.el (skeleton-newline): Remove.
4960 (skeleton-internal-1): Use (insert "\n") instead.
4962 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
4965 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
4966 forward-sexp-function while we redo its job (bug#15613).
4968 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
4970 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
4971 represented by lists.
4973 2013-10-16 Glenn Morris <rgm@gnu.org>
4975 * tmm.el (tmm--history): New dynamic variable.
4976 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
4978 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
4980 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
4981 (tramp-smb-errors): Add error messages.
4982 (tramp-smb-actions-with-acl): New defconst.
4983 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
4984 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
4985 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
4986 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
4987 (tramp-smb-get-stat-capability): Fix tests.
4989 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
4991 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
4994 2013-10-16 Glenn Morris <rgm@gnu.org>
4996 * ansi-color.el (ansi-color-drop-regexp):
4997 Add 1J, 1K, 2K. (Bug#15617)
4999 * files.el (hack-local-variables--warned-lexical): New.
5000 (hack-local-variables):
5001 Warn about misplaced lexical-binding. (Bug#15616)
5003 * net/eww.el (eww-render): Always set eww-current-url,
5004 and update header line. (Bug#15622)
5005 (eww-display-html): ... Rather than just doing it here.
5007 2013-10-15 Eli Zaretskii <eliz@gnu.org>
5009 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
5010 menu navigations commands.
5012 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
5014 * progmodes/subword.el (subword-capitalize): Be careful when
5015 the search for [[:alpha:]] fails (bug#15580).
5017 2013-10-14 Eli Zaretskii <eliz@gnu.org>
5019 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
5020 to commands that scroll the menu.
5022 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
5024 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
5025 Handle methods ending with `?' and `!'.
5027 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
5029 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
5030 `japanese-cp932' to `cp932' to fix the problem where saving a
5031 source file written in Shift_JIS twice would end up having
5032 `coding: japanese-cp932' which Ruby could not recognize.
5033 (ruby-mode-set-encoding): Add support for encodings mapped to nil
5034 in `ruby-encoding-map'.
5035 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
5036 doesn't need to be explicitly declared in magic comment.
5037 (ruby-encoding-map): Add type declaration for better customize UI.
5039 2013-10-13 Glenn Morris <rgm@gnu.org>
5041 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
5042 Occur buffers are read-only. http://bugs.debian.org/720775
5044 * emacs-lisp/authors.el (authors-fixed-entries):
5045 Comment out old alpha stuff.
5047 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
5049 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
5050 to `after-save-hook' instead of `before-save-hook'.
5051 (ruby-mode-set-encoding): Use the value of coding system used to
5052 write the file. Call `basic-save-buffer-1' after modifying the
5055 2013-10-13 Alan Mackenzie <acm@muc.de>
5057 Fix indentation/fontification of Java enum with
5058 "implements"/generic.
5060 * progmodes/cc-engine.el (c-backward-over-enum-header):
5061 Extracted from the three other places and enhanced to handle generics.
5062 (c-inside-bracelist-p): Uses new function above.
5063 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
5065 (c-font-lock-enum-tail): Uses new function above.
5067 2013-10-13 Kenichi Handa <handa@gnu.org>
5069 * international/mule-cmds.el (select-safe-coding-system): Remove a
5070 superfluous condition in chekcing whether a coding system is safe
5073 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
5075 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
5077 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
5079 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
5081 2013-10-13 Glenn Morris <rgm@gnu.org>
5083 * menu-bar.el (menu-bar-update-buffers):
5084 Unify Buffers menu prompt string. (Bug#15576)
5086 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
5088 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
5090 (authors-fixed-entries): Use accented form of name.
5092 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
5094 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
5095 method calls (bug#15594).
5096 (ruby-smie--args-separator-p): New function.
5097 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
5098 recognize paren-free method calls.
5100 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
5101 internals of universal-argument.
5103 2013-10-11 Eli Zaretskii <eliz@gnu.org>
5105 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
5106 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
5107 dropped menu on second mouse click on the menu bar.
5109 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
5111 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
5112 (explicit-shell-file-name): Declare.
5113 (sh--vars-before-point, sh--cmd-completion-table): New functions.
5114 (sh-completion-at-point-function): New function.
5116 (sh-smie--keyword-p): Remove unused argument.
5117 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
5119 (sh-set-shell): Always setup SMIE, even if we use the
5120 old indentation code.
5122 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
5124 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
5126 (ruby-smie-rules): Simplify the "do" rule. The cases when the
5127 predicate would return nil are almost non-existent.
5128 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
5130 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
5131 cache also after commands that modify the buffer but don't move
5134 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
5136 * env.el (substitute-env-in-file-name): New function.
5137 (substitute-env-vars): Extend the meaning of the optional arg.
5139 2013-10-10 Eli Zaretskii <eliz@gnu.org>
5141 * term/w32-win.el (dynamic-library-alist): Define separate lists
5142 of GIF DLLs for versions before and after 5.0.0 of giflib.
5145 2013-10-10 João Távora <joaotavora@gmail.com>
5147 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
5148 not locked, use last revision and current source as
5149 defaults. (Bug#15569)
5151 2013-10-10 Masatake YAMATO <yamato@redhat.com>
5153 * menu-bar.el (menu-bar-open): Don't use popup-menu if
5156 2013-10-10 Martin Rudalics <rudalics@gmx.at>
5158 * window.el (pop-to-buffer-same-window): Fix doc-string.
5161 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
5163 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
5165 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
5167 * calendar/icalendar.el (icalendar-import-file):
5168 Fix interactive spec. (Bug#15482)
5170 2013-10-10 Glenn Morris <rgm@gnu.org>
5172 * desktop.el (desktop-save): Default to saving in .emacs.d,
5173 since PWD is no longer in desktop-path by default. (Bug#15319)
5175 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
5176 now that text mode has a menu with the same entry.
5177 (menu-bar-text-mode-auto-fill): Remove now unused func.
5178 * textmodes/text-mode.el (text-mode-map):
5179 Use auto-fill help text from menu-bar.el.
5181 2013-10-10 John Anthony <john@jo.hnanthony.com>
5183 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
5185 2013-10-09 Juri Linkov <juri@jurta.org>
5187 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
5188 instead of this-command-keys. Add universal-argument-more and
5189 universal-argument-minus to the list of prefix commands. (Bug#15568)
5191 2013-10-09 Glenn Morris <rgm@gnu.org>
5193 * vc/vc-svn.el (vc-svn-create-repo):
5194 Expand paths in file://... url. (Bug#15446)
5196 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
5198 (authors): Remove unused local variables.
5200 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
5202 * profiler.el: Create a more coherent calltree from partial backtraces.
5203 (profiler-format): Hide the tail with `invisible' so that C-s can still
5204 find the hidden elements.
5205 (profiler-calltree-depth): Don't recurse so enthusiastically.
5206 (profiler-function-equal): New hash-table-test.
5207 (profiler-calltree-build-unified): New function.
5208 (profiler-calltree-build): Use it.
5209 (profiler-report-make-name-part): Indent the calltree less.
5210 (profiler-report-mode): Add visibility specs for profiler-format.
5211 (profiler-report-expand-entry, profiler-report-toggle-entry):
5212 Expand the whole subtree when provided with a prefix arg.
5214 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
5216 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
5218 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
5219 hanging iuwu-mod token.
5220 (ruby-smie--forward-token): Do not include a dot after a token in
5222 (ruby-smie--backward-token): Likewise.
5224 2013-10-08 Juri Linkov <juri@jurta.org>
5226 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
5227 to isearch-other-control-char.
5228 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
5229 and isearch-post-command-hook to post-command-hook.
5230 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
5231 and isearch-post-command-hook from post-command-hook.
5232 (isearch-unread-key-sequence)
5233 (isearch-reread-key-sequence-naturally)
5234 (isearch-lookup-scroll-key, isearch-other-control-char)
5235 (isearch-other-meta-char): Remove functions.
5236 (isearch-pre-command-hook, isearch-post-command-hook):
5237 New functions based on isearch-other-meta-char rewritten
5238 relying on the new behavior of overriding-terminal-local-map
5239 that does not replace the local keymaps any more. (Bug#15200)
5241 2013-10-08 Eli Zaretskii <eliz@gnu.org>
5243 Support menus on text-mode terminals.
5244 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
5247 * tooltip.el (tooltip-mode): Don't error out on TTYs.
5249 * menu-bar.el (popup-menu, popup-menu-normalize-position):
5250 Move here from mouse.el.
5251 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
5253 (tty-menu-navigation-map): New map for TTY menu navigation.
5255 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
5257 * frame.el (display-mouse-p): Report text-mode mouse as available
5259 (display-popup-menus-p): Report availability if mouse is
5260 available; don't condition on window-system.
5262 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
5263 (tty-menu-selected-face): New faces.
5265 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
5267 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
5268 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
5269 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
5270 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
5272 (lisp-mode-variables): New `elisp' argument.
5273 (emacs-lisp-mode): Use it.
5274 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
5275 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
5277 * indent.el: Use lexical-binding.
5278 (indent-region): Add progress reporter.
5279 (tab-stop-list): Make it implicitly extend to infinity by repeating the
5281 (indent--next-tab-stop): New function to implement this behavior.
5282 (tab-to-tab-stop, move-to-tab-stop): Use it.
5284 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
5286 * indent.el (indent-rigidly--current-indentation): New function.
5287 (indent-rigidly-map): New var.
5288 (indent-rigidly): Use it to provide interactive mode (bug#8196).
5290 2013-10-08 Bastien Guerry <bzg@gnu.org>
5292 * register.el (insert-register): Fix 2013-10-07 change.
5294 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
5296 * progmodes/perl-mode.el: Use lexical-binding.
5297 Remove redundant :group args.
5298 (perl-nochange): Change default to be closer to other major modes's
5300 (perl-indent-line): Don't consider text on current line as a
5301 valid beginning of function from which to indent.
5303 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
5304 with more than one argument (bug#15538).
5306 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
5308 * vc/pcvs.el: Use lexical-binding.
5309 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
5310 environment of `eval'.
5311 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
5312 than a list of expressions. Adjust callers.
5313 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
5315 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
5317 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
5318 case of the dot in a chained method call being on the following line.
5320 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
5322 * electric.el (electric-indent-inhibit): New var.
5323 (electric-indent-post-self-insert-function): Use it.
5324 * progmodes/python.el (python-mode): Set it.
5326 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
5329 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
5331 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
5332 (css-mode): Use electric-indent-chars.
5334 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
5335 (font-lock-beg, font-lock-end): Move before first use.
5336 (nxml-mode): Use syntax-propertize-function.
5337 (nxml-after-change, nxml-after-change1): Adjust accordingly.
5338 (nxml-extend-after-change-region): Remove.
5339 * nxml/xmltok.el: Use lexical-binding.
5340 (xmltok-save): Use `declare'.
5341 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
5342 * nxml/nxml-util.el: Use lexical-binding.
5343 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
5345 * nxml/nxml-ns.el: Use lexical-binding.
5346 (nxml-ns-save): Use `declare'.
5347 (nxml-ns-prefixes-for): Avoid add-to-list.
5348 * nxml/rng-match.el: Use lexical-binding.
5349 (rng--ipattern): Use cl-defstruct.
5350 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
5351 (rng-cons-group-after, rng-subst-group-after)
5352 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
5353 Use closures instead of `(lambda...).
5355 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
5357 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
5360 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5361 Use `tramp-handle-insert-file-contents'.
5362 (tramp-gvfs-handle-insert-file-contents): Remove function.
5364 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
5365 Use `save-restriction' in order to keep markers.
5367 * net/trampver.el: Update release number.
5369 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
5371 * progmodes/compile.el (compilation-parse-errors):
5372 Use compilation--put-prop.
5373 (compilation--ensure-parse): Check compilation-multiline.
5375 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
5377 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
5380 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
5382 * progmodes/ruby-mode.el: Fix recently added tests.
5383 (ruby-smie-grammar): Add - and +.
5384 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
5385 (ruby-smie--backward-id): New functions.
5386 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
5387 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
5390 2013-10-07 Leo Liu <sdl.web@gmail.com>
5392 * register.el (register-preview-delay)
5393 (register-preview-functions): New variables.
5394 (register-read-with-preview, register-preview)
5395 (register-describe-oneline): New functions.
5396 (point-to-register, window-configuration-to-register)
5397 (frame-configuration-to-register, jump-to-register)
5398 (number-to-register, view-register, insert-register)
5399 (copy-to-register, append-to-register, prepend-to-register)
5400 (copy-rectangle-to-register): Use register-read-with-preview to
5401 read register. (Bug#15525)
5403 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
5405 * net/network-stream.el (network-stream-open-starttls): Don't add
5406 --insecure if it's already present, because that gnutls-cli
5407 rejects getting that parameter twice.
5409 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
5411 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
5414 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
5416 * newcomment.el (comment-use-global-state): Change default value
5417 to t, mark obsolete (Bug#15251).
5418 (comment-beginning): In addition to `comment-to-syntax', check the
5419 value of `comment-use-global-state'.
5421 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
5423 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
5424 (ruby-comment-column): Follow the global default, by default.
5425 (ruby-smie-grammar): Add assignment syntax.
5426 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
5427 open-paren, a comma, or a \.
5428 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
5429 and line continuations.
5430 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
5431 followed by implicit semi-colons. Add rule for string concatenation
5432 and for indentation at BOB.
5433 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
5435 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
5436 calling next-sexp, since next-token may have skipped chars which
5437 next-sexp doesn't know should be skipped!
5439 2013-10-05 Leo Liu <sdl.web@gmail.com>
5441 * progmodes/octave.el (octave-send-region):
5442 Call compilation-forget-errors.
5444 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
5446 * vc/vc-svn.el (vc-svn-find-admin-dir):
5447 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
5448 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
5449 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
5450 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
5452 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
5454 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
5456 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
5458 * subr.el (read-passwd): Hide chars even when called within a context
5459 where after-change-functions is disabled (bug#15501).
5460 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
5461 until we removed ourself from overriding-terminal-local-map.
5463 2013-10-04 Leo Liu <sdl.web@gmail.com>
5465 * progmodes/octave.el (inferior-octave-mode):
5466 Call compilation-forget-errors.
5468 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
5470 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
5472 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
5474 * net/secrets.el (secrets-create-collection): Add optional
5475 argument ALIAS. Use proper Label keyword. Append ALIAS as
5476 dbus-call-method argument. (Bug#15516)
5478 2013-10-04 Leo Liu <sdl.web@gmail.com>
5480 * progmodes/octave.el (inferior-octave-error-regexp-alist)
5481 (inferior-octave-compilation-font-lock-keywords): New variables.
5482 (compilation-error-regexp-alist)
5483 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
5484 (inferior-octave-mode): Use compilation-shell-minor-mode.
5486 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
5488 * minibuffer.el (completion--replace): Be careful that `end' might be
5491 2013-10-03 Daiki Ueno <ueno@gnu.org>
5493 Add support for package signature checking.
5494 * emacs-lisp/package.el (url-http-file-exists-p)
5495 (epg-make-context, epg-context-set-home-directory)
5496 (epg-verify-string, epg-context-result-for)
5497 (epg-signature-status, epg-signature-to-string)
5498 (epg-check-configuration, epg-configuration)
5499 (epg-import-keys-from-file): Declare.
5500 (package-check-signature): New user option.
5501 (package-unsigned-archives): New user option.
5502 (package-desc): Add `signed' field.
5503 (package-load-descriptor): Set `signed' field if .signed file exists.
5504 (package--archive-file-exists-p): New function.
5505 (package--check-signature): New function.
5506 (package-install-from-archive): Check package signature.
5507 (package--download-one-archive): Check archive signature.
5508 (package-delete): Remove .signed file.
5509 (package-import-keyring): New command.
5510 (package-refresh-contents): Import default keyring.
5511 (package-desc-status): Add "unsigned" status.
5512 (describe-package-1, package-menu--print-info)
5513 (package-menu-mark-delete, package-menu--find-upgrades)
5514 (package-menu--status-predicate): Support "unsigned" status.
5516 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
5518 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
5519 the new compilation scheme using the new byte-codes.
5521 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
5522 (byte-pophandler): New byte codes.
5523 (byte-goto-ops): Adjust accordingly.
5524 (byte-compile--use-old-handlers): New var.
5525 (byte-compile-catch): Use new byte codes depending on
5526 byte-compile--use-old-handlers.
5527 (byte-compile-condition-case--old): Rename from
5528 byte-compile-condition-case.
5529 (byte-compile-condition-case--new): New function.
5530 (byte-compile-condition-case): New function that dispatches depending
5531 on byte-compile--use-old-handlers.
5532 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
5535 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
5536 Optimize under `condition-case' and `catch' if
5537 byte-compile--use-old-handlers is nil.
5538 (disassemble-offset): Handle new bytecodes.
5540 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
5542 * subr.el (error): Use `declare'.
5543 (decode-char, encode-char): Use advertised-calling-convention instead
5544 of the docstring to discourage use of the `restriction' arg.
5546 2013-10-03 Daiki Ueno <ueno@gnu.org>
5548 * epg.el (epg-verify-file): Add a comment saying that it does not
5549 notify verification error as a return value nor a signal.
5550 (epg-verify-string): Ditto.
5552 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
5554 * progmodes/compile.el (compilation-start): Try globbing the arg to
5557 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
5559 Sync with Tramp 2.2.8.
5561 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
5562 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
5563 * net/trampver.el: Update release number.
5565 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
5567 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
5568 and default-process-coding-system for darwin only.
5570 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
5572 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
5574 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
5576 * vc/vc-git.el (vc-git-grep): Disable pager.
5578 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
5580 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
5581 Use :url instead of :homepage, as per
5582 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
5584 * newcomment.el (comment-beginning): When `comment-use-syntax' is
5585 non-nil, use `syntax-ppss' (Bug#15251).
5587 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5589 * progmodes/octave.el (inferior-octave-startup-file):
5590 Prefer ~/.emacs.d/init_octave.m.
5592 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
5594 * emacs-lisp/package.el (package-desc-from-define):
5595 Accept additional arguments as plist, convert them to an alist and store
5596 them in the `extras' slot.
5597 (package-generate-description-file): Convert extras alist back to
5598 plist and append to the `define-package' form arguments.
5599 (package--alist-to-plist): New function.
5600 (package--ac-desc): Add `extras' slot.
5601 (package--add-to-archive-contents): Check if the archive-contents
5602 vector is long enough, and if it is, pass its `extras' slot value
5603 to `package-desc-create'.
5604 (package-buffer-info): Call `lm-homepage', pass the returned value
5605 to `package-desc-from-define'.
5606 (describe-package-1): Render the homepage button (Bug#13291).
5608 * emacs-lisp/package-x.el (package-upload-buffer-internal):
5609 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
5611 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
5613 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
5614 and default-process-coding-system to utf-8-unix (Bug#15402).
5616 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
5618 * subr.el (looking-back): Do not recommend using looking-back.
5620 2013-09-28 Alan Mackenzie <acm@muc.de>
5622 Fix indentation/fontification of Java enum with "implements".
5624 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
5625 regexp which matches "implements", etc., in Java.
5626 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
5627 specifier clauses coming after "enum".
5628 * progmodes/cc-fonts.el (c-font-lock-declarations)
5629 (c-font-lock-enum-tail): Check for extra specifier clauses coming
5632 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
5634 * faces.el (region): Change ns_selection_color to
5635 ns_selection_fg_color, add ns_selection_bg_color.
5637 2013-09-28 Leo Liu <sdl.web@gmail.com>
5639 * progmodes/octave.el (inferior-octave-completion-table)
5640 (inferior-octave-completion-at-point): Minor tweaks.
5642 * textmodes/ispell.el (ispell-lookup-words): Rename from
5643 lookup-words. (Bug#15460)
5644 (lookup-words): Obsolete.
5645 (ispell-complete-word, ispell-command-loop): All uses changed.
5647 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5649 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
5650 (octave-mode-menu): Add octave-send-buffer.
5651 (octave-send-buffer): New function.
5653 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5655 * progmodes/octave.el (octave-mode-map): Add key binding for
5657 (octave-mode-menu): Add octave-lookfor.
5658 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
5660 (octave-lookfor): New function.
5662 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
5664 * emacs-lisp/cl-macs.el:
5665 (cl--loop-destr-temps): Remove.
5666 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
5668 (cl--loop-set-iterator-function): New function.
5669 (cl-loop): Adjust accordingly, so as not to use cl-subst.
5670 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
5671 Bind `it' with `let' instead of substituting it with `cl-subst'.
5672 (cl--unused-var-p): New function.
5673 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
5674 Eliminate some unused variable warnings (bug#15326).
5676 2013-09-27 Tassilo Horn <tsdh@gnu.org>
5678 * doc-view.el (doc-view-scale-reset): Rename from
5679 `doc-view-reset-zoom-level'.
5680 (doc-view-scale-adjust): New command.
5681 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
5682 `doc-view-scale-adjust'.
5684 2013-09-26 Tassilo Horn <tsdh@gnu.org>
5686 * doc-view.el (doc-view-reset-zoom-level): New command.
5687 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
5688 zoom commands (bug#15466).
5690 2013-09-26 Kenichi Handa <handa@gnu.org>
5692 * international/quail.el (quail-help): Make it not a command.
5694 2013-09-26 Leo Liu <sdl.web@gmail.com>
5696 * minibuffer.el (completion-all-sorted-completions): Make args
5697 optional as they are.
5699 2013-09-25 Daniel Colascione <dancol@dancol.org>
5701 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
5702 specs are and that they're not evaluated.
5704 2013-09-24 Sam Steingold <sds@gnu.org>
5706 * midnight.el (clean-buffer-list-kill-regexps)
5707 (clean-buffer-list-kill-buffer-names): Update for the new Man
5708 buffer naming which includes the object name.
5710 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
5712 * eshell/esh-cmd.el (eshell--sep-terms): New var.
5713 (eshell-parse-command, eshell-parse-pipeline): Use it since
5714 eshell-separate-commands requires a dynamic scoped var.
5715 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
5717 2013-09-23 Leo Liu <sdl.web@gmail.com>
5719 * autoinsert.el (auto-insert-alist): Make the value of
5720 lexical-binding match its file setting.
5722 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
5724 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
5726 * autoarg.el (autoarg-kp-digit-argument):
5727 * electric.el (Electric-command-loop):
5728 * kmacro.el (kmacro-step-edit-insert):
5729 Do not set universal-argument-num-events.
5731 2013-09-22 Leo Liu <sdl.web@gmail.com>
5733 * files.el (interpreter-mode-alist): Add octave.
5735 2013-09-21 Alan Mackenzie <acm@muc.de>
5737 C++: fontify identifier in declaration following "public:" correctly.
5738 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
5739 to match "public", etc.
5740 (c-decl-prefix-re): Add ":" into the C++ value.
5741 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
5742 bit. Add a check for a ":" preceded by "public", etc.
5744 2013-09-21 Eli Zaretskii <eliz@gnu.org>
5746 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
5747 recognized by GDB 7.5 and later.
5749 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
5751 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
5753 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
5755 * subr.el (internal--call-interactively): New const.
5756 (called-interactively-p): Use it (bug#3984).
5758 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
5760 * vc/pcvs.el (cvs-mode-ignore):
5761 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
5762 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
5764 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5766 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
5767 (eshell-ls-orig-insert-directory): Remove.
5768 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
5769 (eshell-ls-use-in-dired): Use advice-add/remove.
5770 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
5771 Add `orig-fun' arg for use in :around advice.
5772 Make it check (redundantly) eshell-ls-use-in-dired.
5774 2013-09-19 Glenn Morris <rgm@gnu.org>
5776 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
5778 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
5780 * emacs-lisp/eieio.el (class-parent): Undo previous change.
5782 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
5784 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
5785 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
5786 (tramp-get-remote-python): New defuns.
5787 (tramp-get-remote-uid-with-perl)
5788 (tramp-get-remote-gid-with-perl): New defuns. Perl code
5789 contributed by yary <not.com@gmail.com> (tiny change).
5790 (tramp-get-remote-uid-with-python)
5791 (tramp-get-remote-gid-with-python): New defuns. Python code
5792 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
5793 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
5795 2013-09-19 Glenn Morris <rgm@gnu.org>
5797 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
5799 * eshell/em-unix.el (eshell-remove-entries):
5800 Rename argument to avoid name-clash with global `top-level'.
5802 * eshell/esh-proc.el (eshell-kill-process-function):
5803 Remove eshell-reset-after-proc from eshell-kill-hook if present.
5804 (eshell-reset-after-proc): Remove unused arg `proc'.
5806 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
5807 (directory-files-and-attributes): Mark unused arg.
5809 * eshell/em-unix.el (eshell-remove-entries):
5810 Remove unused arg `path'. Update callers.
5812 * eshell/em-hist.el (eshell-hist-parse-arguments):
5813 Remove unused arg `silent'. Update callers.
5815 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
5816 Fix (f)boundp mix-up.
5818 * eshell/em-smart.el (eshell-smart-scroll-window)
5819 (eshell-disable-after-change):
5820 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
5822 2013-09-18 Alan Mackenzie <acm@muc.de>
5824 Fix fontification of type when followed by "const".
5825 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
5826 "known" types from fontification.
5828 2013-09-18 Glenn Morris <rgm@gnu.org>
5830 * emacs-lisp/chart.el (x-display-color-cells): Declare.
5831 (chart-face-list): Drop Emacsen without display-color-p.
5833 * net/eww.el (libxml-parse-html-region): Declare.
5834 (eww-display-html): Explicit error if no libxml2 support.
5836 * doc-view.el (doc-view-mode): Silence --without-x compilation.
5838 * image.el (image-type-from-buffer, image-multi-frame-p):
5839 Remove --without-x warning/error.
5841 * mouse.el (mouse-yank-primary):
5842 * term.el (term-mouse-paste):
5843 Reorder to silence --without-x compilation.
5845 * mpc.el (doc-view-mode): Silence --without-x compilation.
5847 * mail/rmailmm.el (rmail-mime-set-bulk-data):
5848 Silence --without-x compilation.
5850 * progmodes/gud.el (gud-find-file, gud-mode):
5851 Silence --without-x compilation.
5852 (tooltip-mode): Declare.
5854 * wdired.el (dired-backup-overwrite): Remove declaration.
5855 (wdired-mode-map): Add doc string.
5857 * custom.el (x-get-resource): Declare.
5859 * eshell/em-glob.el (ange-cache):
5860 * eshell/em-unix.el (ange-cache): Declare.
5862 * faces.el (x-display-list, x-open-connection, x-get-resource):
5865 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
5866 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
5869 * frame.el (x-display-grayscale-p, x-display-name): Declare.
5871 * net/gnutls.el (gnutls-log-level): Declare.
5873 * net/shr.el (image-size, image-animate): Declare.
5875 * simple.el (font-info): Declare.
5877 * subr.el (x-popup-dialog): Declare.
5879 * term/common-win.el (x-select-enable-primary)
5880 (x-last-selected-text-primary, x-last-selected-text-clipboard):
5883 * term/ns-win.el (x-handle-args): Declare.
5885 * term/x-win.el (x-select-enable-clipboard): Declare.
5887 * term/w32-win.el (create-default-fontset): Declare.
5889 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
5892 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
5893 (fit-frame-to-buffer): Explicit error if --without-x.
5894 (mouse-autoselect-window-select): Silence compiler.
5896 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
5898 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
5899 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
5900 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
5901 * eshell/esh-util.el (eshell-sublist):
5902 Remove unused local variables.
5904 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
5906 * textmodes/two-column.el: Make 2C-split work for --without-x.
5907 (scroll-bar-columns): Autoload.
5908 (top-level): Require fringe when compiling.
5910 2013-09-18 Leo Liu <sdl.web@gmail.com>
5912 * subr.el (add-hook): Robustify to handle closure as well.
5914 2013-09-17 Glenn Morris <rgm@gnu.org>
5916 * simple.el (messages-buffer-mode-map): Unbind "g".
5918 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
5920 * help-mode.el (help-mode-finish): Use derived-mode-p.
5921 Remove obsolete highlighting.
5923 * play/life.el (life-mode): Use define-derived-mode. Derive from
5925 (life): Let-bind inhibit-read-only.
5926 (life-setup): Avoid `setq'. Use `life-mode'.
5928 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
5929 which should not be needed any more.
5930 (package-menu-refresh, package-menu-describe-package): Use user-error.
5932 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
5933 (eshell-post-rewrite-command-hook): Make obsolete.
5934 (eshell-parse-command): Simplify.
5935 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
5936 (eshell--cmd): Declare.
5937 (eshell-parse-pipeline): Remove unused var `final-p'.
5938 Pass a dynvar to eshell-post-rewrite-command-hook.
5939 Implement the new eshell-post-rewrite-command-function.
5940 (eshell-invoke-directly): Remove unused arg `input'.
5941 * eshell/esh-io.el (eshell-io-initialize):
5942 Use eshell-post-rewrite-command-function (bug#15399).
5943 (eshell--apply-redirections): Rename from eshell-apply-redirections;
5944 adjust to new calling convention.
5945 (eshell-create-handles): Rename args to avoid clashing with dynvar
5948 2013-09-17 Glenn Morris <rgm@gnu.org>
5950 * simple.el (messages-buffer-mode): New major mode.
5951 (messages-buffer): New function.
5952 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
5953 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
5954 (ert-run-test): Use `messages-buffer' function.
5955 (ert--force-message-log-buffer-truncation): Ignore read-only.
5956 * help.el (view-echo-area-messages): Use `messages-buffer' function.
5957 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
5959 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
5961 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
5963 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
5965 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
5967 * icomplete.el (icomplete-in-buffer): New var.
5968 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
5969 vars and replace them with functions.
5970 (icomplete-minibuffer-setup): Adjust accordingly.
5971 (icomplete--completion-table, icomplete--completion-predicate)
5972 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
5974 (icomplete-forward-completions, icomplete-backward-completions)
5975 (icomplete-simple-completing-p, icomplete-exhibit)
5976 (icomplete-completions): Use them.
5977 (icomplete--in-region-buffer): New var.
5978 (icomplete--in-region-setup): New function.
5979 (icomplete-mode): Use it.
5981 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
5983 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
5984 return args and options.
5985 (eshell-eval-using-options): Use the new return value of
5986 eshell--do-opts to set the options's vars in their scope.
5987 (eshell--set-option): Rename from eshell-set-option.
5989 (eshell--process-option): Rename from eshell-process-option.
5991 (eshell--process-args): Use an `opt-vals' alist to store the options's
5992 values during their processing and return them additionally to the
5995 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
5997 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
5998 continuation character an operator, as far as indentation is
5999 concerned (Bug#15369).
6001 2013-09-15 Martin Rudalics <rudalics@gmx.at>
6003 * window.el (window--state-put-2): Don't process buffer state
6004 when buffer doesn't exist any more (Bug#15382).
6006 2013-09-15 Glenn Morris <rgm@gnu.org>
6008 * eshell/em-unix.el (eshell/rm):
6009 Make -f ignore missing files. (Bug#15373)
6011 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
6012 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
6013 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
6015 2013-09-14 Glenn Morris <rgm@gnu.org>
6017 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
6019 2013-09-13 Glenn Morris <rgm@gnu.org>
6021 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
6022 (dired-guess-default): Make `file' available in the env. (Bug#15363)
6024 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
6026 * frame.el (x-focus-frame): Mark as declared in frame.c.
6028 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
6030 * ls-lisp.el: Use advice-add.
6031 (original-insert-directory): Remove.
6032 (ls-lisp--insert-directory): Rename from insert-directory; add
6033 `orig-fun' argument.
6034 (insert-directory): Advise.
6036 2013-09-13 Eli Zaretskii <eliz@gnu.org>
6038 * term.el (term-emulate-terminal): Decode the command string
6039 before passing it to term-command-hook. (Bug#15337)
6041 2013-09-13 Glenn Morris <rgm@gnu.org>
6043 * eshell/esh-util.el (ange-cache): Move declaration earlier.
6045 * eshell/esh-ext.el (eshell-search-path): Declare.
6047 * eshell/em-prompt.el (eshell/pwd): Autoload it.
6048 Otherwise an error occurs if eshell-dirs module not loaded.
6050 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
6052 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
6054 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
6055 `tramp-check-proper-host'. Check for a valid method name.
6057 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
6058 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6059 * net/tramp-sh.el (tramp-maybe-open-connection):
6060 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
6062 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
6063 also for hash values.
6065 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6067 * term/ns-win.el (parameters): Don't declare as dynamic.
6068 (before-make-frame-hook): Don't add ineffective function.
6070 * eshell/*.el: Use lexical-binding (bug#15231).
6072 2013-09-12 Kenichi Handa <handa@gnu.org>
6074 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
6076 2013-09-12 Glenn Morris <rgm@gnu.org>
6078 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
6079 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
6081 * subr.el (do-after-load-evaluation): Also give compiler warnings
6082 when obsolete files are used (except by obsolete files).
6084 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
6085 in the status output, assume `filename' is the first. (Bug#15322)
6087 * vc/vc.el (vc-deduce-fileset): Doc fix.
6089 * calc/calc-help.el (Info-goto-node):
6090 * progmodes/cperl-mode.el (Info-find-node):
6091 * vc/ediff.el (Info-goto-node): Update declarations.
6093 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
6095 * vc/vc-bzr.el (vc-compilation-mode): Declare.
6096 (vc-bzr-pull): Require vc-dispatcher.
6097 * vc/vc-git.el (vc-compilation-mode): Declare.
6098 (vc-git-pull): Require vc-dispatcher.
6100 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
6102 * progmodes/octave.el (help-button-action): Declare.
6104 * shell.el (shell-directory-tracker): Output error as a message
6105 rather than just returning it as a string.
6106 (shell-process-pushd): Remove useless use of message.
6108 * dframe.el (dframe-timer-fn):
6109 * files.el (dir-locals-read-from-file):
6110 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
6112 * reveal.el (reveal-post-command):
6113 * saveplace.el (load-save-place-alist-from-file):
6114 * shell.el (shell-resync-dirs):
6115 * w32-common-fns.el (x-get-selection-value):
6116 * emacs-lisp/copyright.el (copyright-find-copyright):
6117 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
6118 * emulation/tpu-edt.el (tpu-copy-keyfile):
6119 * play/bubbles.el (bubbles--mark-neighbourhood):
6120 * progmodes/executable.el
6121 (executable-make-buffer-file-executable-if-script-p):
6122 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
6124 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6126 Cleanup Eshell to rely less on dynamic scoping.
6127 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
6128 last-value, and ext-command here. Bind `args' closer to `body'.
6129 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
6130 (eshell--args): Declare new dynamic var.
6131 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
6132 last-value, and ext-command. Pass `args' to `body'.
6133 (eshell-process-args): Bind eshell--args.
6134 (eshell-set-option): Use eshell--args.
6135 * eshell/eshell.el (eshell): Use derived-mode-p.
6136 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
6137 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
6138 (eshell-glob-function): Declare.
6139 * eshell/esh-util.el: Require cl-lib.
6140 (eshell-read-hosts-file): Avoid add-to-list.
6141 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
6143 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
6145 (eshell/diff): Remove unused var `err'.
6146 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
6148 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
6149 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
6151 * eshell/em-glob.el (eshell-glob-matches, message-shown):
6152 Move declaration before first use.
6153 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
6154 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
6157 2013-09-12 Glenn Morris <rgm@gnu.org>
6159 * term/ns-win.el (global-map): Remove binding for ispell-next,
6160 deleted 1999-05-29. (Bug#15357)
6162 2013-09-11 Glenn Morris <rgm@gnu.org>
6164 * echistory.el (electric-command-history): Remove call to deleted func.
6166 * play/landmark.el (landmark-mode): Fix typos.
6168 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
6169 Check cvs-sort-ignore-file is bound.
6171 * savehist.el: No need for cl when compiling on Emacs.
6173 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
6175 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
6177 (eshell-self-insert-command, eshell-send-invisible):
6178 Remove unused argument.
6179 (eshell-handle-control-codes): Remove unused var `orig'.
6180 Avoid delete-backward-char.
6182 * files.el (set-auto-mode): Simplify a bit further.
6184 2013-09-11 Glenn Morris <rgm@gnu.org>
6186 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
6187 (set-auto-mode): Don't regexp-quote elements.
6188 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
6189 * progmodes/cc-mode.el (interpreter-mode-alist):
6190 * progmodes/ruby-mode.el (interpreter-mode-alist):
6191 Revert previous change.
6193 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
6195 * play/snake.el (snake-mode):
6196 * play/mpuz.el (mpuz-mode):
6197 * play/landmark.el (lm-mode):
6198 * play/blackbox.el (blackbox-mode):
6199 * play/5x5.el (5x5-mode):
6200 * obsolete/options.el (Edit-options-mode):
6201 * net/quickurl.el (quickurl-list-mode):
6202 * net/newst-treeview.el (newsticker-treeview-mode):
6203 * mail/rmailsum.el (rmail-summary-mode):
6204 * mail/mspools.el (mspools-mode):
6205 * locate.el (locate-mode):
6206 * ibuffer.el (ibuffer-mode):
6207 * emulation/ws-mode.el (wordstar-mode):
6208 * emacs-lisp/debug.el (debugger-mode):
6209 * array.el (array-mode):
6210 * net/eudc.el (eudc-mode): Use define-derived-mode.
6211 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
6212 Move initialization into declaration.
6213 (mairix-searches-mode): Use define-derived-mode.
6214 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
6215 (eudc-edit-hotlist): Use dolist.
6216 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
6217 (Man-mode): Use define-derived-mode.
6218 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
6219 (Info-edit-mode): Use define-derived-mode.
6220 (Info-cease-edit): Use Info-mode.
6221 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
6223 (eshell-mode): Use define-derived-mode.
6224 * chistory.el (command-history-mode-map): Rename from
6225 command-history-map.
6226 (command-history-mode): Use define-derived-mode.
6227 (Command-history-setup): Remove function.
6228 * calc/calc.el (calc-trail-mode-map): New var.
6229 (calc-trail-mode): Use define-derived-mode.
6230 (calc-trail-buffer): Set calc-main-buffer manually.
6231 * bookmark.el (bookmark-insert-annotation): New function.
6232 (bookmark-edit-annotation): Use it.
6233 (bookmark-edit-annotation-mode): Make it a proper major mode.
6234 (bookmark-send-edited-annotation): Use derived-mode-p.
6235 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
6236 closer to its ideal place. Use \' to match EOS.
6238 * profiler.el (profiler-calltree-find): Use function-equal.
6240 2013-09-10 Glenn Morris <rgm@gnu.org>
6242 * files.el (interpreter-mode-alist): Convert to regexps.
6243 (set-auto-mode): Adapt for this. (Bug#15306)
6244 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
6245 Comment out unused variable.
6246 * progmodes/cc-mode.el (interpreter-mode-alist):
6247 * progmodes/python.el (interpreter-mode-alist):
6248 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
6249 * progmodes/sh-script.el (sh-set-shell):
6250 No longer use interpreter-mode-alist to get list of shells.
6252 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
6254 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
6256 * simple.el: Use set-temporary-overlay-map for universal-argument.
6257 (universal-argument-map): Don't use default-bindings (bug#15317).
6258 Bind switch-frame explicitly. Replace universal-argument-minus with
6259 a conditional binding.
6260 (universal-argument-num-events, saved-overriding-map): Remove.
6261 (restore-overriding-map): Remove.
6262 (universal-argument--mode): Rename from save&set-overriding-map,
6264 (universal-argument, universal-argument-more, negative-argument)
6265 (digit-argument): Adjust accordingly.
6266 (universal-argument-minus): Remove.
6267 (universal-argument-other-key): Remove.
6269 * subr.el (with-demoted-errors): Add `format' argument.
6271 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
6273 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
6274 `tramp-cleanup-connection'.
6276 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
6277 parameters KEEP-DEBUG and KEEP-PASSWORD.
6279 * net/tramp.el (tramp-file-name-handler):
6280 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
6281 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
6282 (tramp-maybe-open-connection):
6283 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
6284 Use `tramp-cleanup-connection'.
6286 * net/tramp-sh.el (tramp-maybe-open-connection):
6287 Catch 'uname-changed inside the progress reporter.
6289 2013-09-10 Glenn Morris <rgm@gnu.org>
6291 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
6293 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
6294 returns "alternate access method" in mode (eg "-rw-r--r--.").
6296 2013-09-08 Glenn Morris <rgm@gnu.org>
6298 * saveplace.el (load-save-place-alist-from-file):
6299 Demote errors. (Bug#15305)
6301 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
6303 Improve compatibility with older Emacsen, and XEmacs.
6305 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
6306 only if it is bound. It isn't for XEmacs.
6307 (with-tramp-progress-reporter): Do not let-bind `result'.
6308 This yields to scoping errors in XEmacs.
6309 (tramp-handle-make-auto-save-file-name): New function, moved from
6312 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
6313 for `make-auto-save-file-name'.
6314 (tramp-adb--gnu-switches-to-ash):
6315 Use `tramp-compat-replace-regexp-in-string'.
6317 * net/tramp-cache.el (tramp-cache-print): Call
6318 `substring-no-properties' only if it is bound. It isn't for XEmacs.
6320 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
6321 bound. It isn't for XEmacs.
6323 * net/tramp-compat.el (tramp-compat-copy-file):
6324 Catch `wrong-number-of-arguments' error.
6325 (tramp-compat-replace-regexp-in-string): New defun.
6327 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
6328 for `make-auto-save-file-name'.
6329 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
6331 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
6332 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
6333 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
6335 * net/tramp-gw.el (tramp-gw-open-network-stream):
6336 Use `tramp-compat-replace-regexp-in-string'.
6338 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6339 Call `tramp-handle-make-auto-save-file-name'.
6340 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
6341 (tramp-sh-file-gvfs-monitor-dir-process-filter)
6342 (tramp-sh-file-inotifywait-process-filter):
6343 Use `tramp-compat-replace-regexp-in-string'.
6344 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
6346 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
6347 for `make-auto-save-file-name'.
6348 (tramp-smb-handle-copy-directory):
6349 Call `tramp-compat-replace-regexp-in-string'.
6350 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
6351 (tramp-smb-handle-copy-file): Improve error message.
6352 (tramp-smb-handle-rename-file): Rename directly only in case
6353 `newname' does not exist yet. This is a restriction of smbclient.
6354 (tramp-smb-maybe-open-connection): Rerun the function only when
6355 `auth-sources' is non-nil.
6357 2013-09-08 Kenichi Handa <handa@gnu.org>
6359 * international/characters.el: Set category "^" (Combining) for
6362 2013-09-07 Alan Mackenzie <acm@muc.de>
6364 Correctly fontify Java class constructors.
6365 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
6367 (c-recognize-typeless-decls): Set the Java value to t.
6368 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
6369 While handling a "(", add a check for, effectively, Java, and handle a
6370 "typeless" declaration there.
6372 2013-09-07 Roland Winkler <winkler@gnu.org>
6374 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
6375 field subtitle for entry type book.
6377 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
6379 * minibuffer.el: Make minibuffer-complete call completion-in-region
6380 rather than other way around.
6381 (completion--some, completion-pcm--find-all-completions):
6382 Don't delay signals when debugging.
6383 (minibuffer-completion-contents): Beware fields within the
6384 minibuffer contents.
6385 (completion-all-sorted-completions): Use defvar-local.
6386 (completion--do-completion, completion--cache-all-sorted-completions)
6387 (completion-all-sorted-completions, minibuffer-force-complete):
6388 Add args `beg' and `end'.
6389 (completion--in-region-1): New fun, extracted from minibuffer-complete.
6390 (minibuffer-complete): Use completion-in-region.
6391 (completion-complete-and-exit): New fun, extracted from
6392 minibuffer-complete-and-exit.
6393 (minibuffer-complete-and-exit): Use it.
6394 (completion--complete-and-exit): Rename from
6395 minibuffer--complete-and-exit.
6396 (completion-in-region--single-word): New function, extracted from
6397 minibuffer-complete-word.
6398 (minibuffer-complete-word): Use it.
6399 (display-completion-list): Make `common-substring' argument obsolete.
6400 (completion--in-region): Call completion--in-region-1 instead of
6401 minibuffer-complete.
6402 (completion-help-at-point): Pass boundaries to
6403 minibuffer-completion-help as args rather than via an overlay.
6404 (completion-pcm--string->pattern): Use `any-delim'.
6405 (completion-pcm--optimize-pattern): New function.
6406 (completion-pcm--pattern->regex): Handle `any-delim'.
6407 * icomplete.el (icomplete-forward-completions)
6408 (icomplete-backward-completions, icomplete-completions):
6409 Adjust calls to completion-all-sorted-completions and
6410 completion--cache-all-sorted-completions.
6411 (icomplete-with-completion-tables): Default to t.
6412 * emacs-lisp/crm.el (crm--current-element): Rename from
6413 crm--select-current-element. Don't put an overlay but return the
6415 (crm--completion-command): Take two new args to bind to the boundaries.
6416 (crm-completion-help): Adjust accordingly.
6417 (crm-complete): Use completion-in-region.
6418 (crm-complete-word): Use completion-in-region--single-word.
6419 (crm-complete-and-exit): Use completion-complete-and-exit.
6421 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
6423 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
6426 2013-09-06 Juri Linkov <juri@jurta.org>
6428 * info.el (Info-display-images-node): When image file doesn't exist
6429 display text version of the image if it's provided in the Info file.
6430 Otherwise, display the location of missing image from SRC attribute.
6431 Add help-echo text property from ALT attribute. (Bug#15279)
6433 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
6435 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
6436 (edit-abbrevs-mode): Use define-derived-mode.
6438 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
6439 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
6441 (epa-key-list-mode, epa-key-mode, epa-info-mode):
6442 Use define-derived-mode.
6444 * epg.el (epg-start-encrypt): Minor CSE simplification.
6446 2013-09-06 William Xu <william.xwl@gmail.com>
6448 * arc-mode.el: Add support for 7za (bug#15264).
6449 (archive-7z-program): New var.
6450 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
6451 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
6452 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
6454 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
6458 * net/tramp.el (tramp-syntax, tramp-prefix-format)
6459 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
6460 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
6461 (tramp-postfix-host-format, tramp-file-name-regexp)
6462 (tramp-completion-file-name-regexp)
6463 (tramp-completion-dissect-file-name)
6464 (tramp-handle-substitute-in-file-name): Remove 'url case.
6465 (tramp-file-name-regexp-url)
6466 (tramp-completion-file-name-regexp-url): Remove constants.
6468 2013-09-06 Glenn Morris <rgm@gnu.org>
6470 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
6472 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
6474 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
6475 keywords" below "here-doc beginnings" (Bug#15270).
6477 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
6479 * subr.el (pop): Use `car-safe'.
6480 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
6481 to detect unused `pop' return value.
6483 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
6485 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
6486 (python-fill-string): Remove unused var `marker'.
6487 (python-skeleton-add-menu-items): Remove unused var `items'.
6489 * international/mule-cmds.el: Require CL.
6490 (find-coding-systems-for-charsets): Avoid add-to-list.
6491 (sanitize-coding-system-list): New function, extracted from
6492 select-safe-coding-system-interactively.
6493 (select-safe-coding-system-interactively): Use it.
6494 (read-input-method-name): Accept symbols for `default'.
6496 * emacs-lisp/advice.el (defadvice): Add indent rule.
6498 2013-09-05 Daniel Hackney <dan@haxney.org>
6502 * net/browse-url.el:
6505 * net/eudcb-ldap.el:
6518 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
6519 byte compiler. Remove some unused let-bound variables.
6521 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
6523 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
6524 a "ref-cell", since it gets better optimized (bug#14883).
6526 2013-09-05 Glenn Morris <rgm@gnu.org>
6528 * progmodes/cc-awk.el (c-forward-sws): Declare.
6530 2013-09-04 Glenn Morris <rgm@gnu.org>
6532 * generic-x.el [rul-generic-mode]: Require cc-mode.
6533 (c++-mode-syntax-table): Declare.
6534 (rul-generic-mode-syntax-table): Init in the defvar.
6536 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
6538 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
6539 (vc-do-command, vc-set-async-update):
6540 * vc/vc-mtn.el (vc-mtn-dir-status):
6541 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
6542 (vc-hg-pull, vc-hg-merge-branch):
6543 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
6544 (vc-git-merge-branch):
6545 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
6546 (vc-cvs-dir-status-files):
6547 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
6548 (vc-bzr-dir-status-files):
6549 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
6550 * vc/vc-annotate.el: Use lexical-binding.
6551 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
6552 (vc-sentinel-movepoint): Declare.
6553 (vc-annotate): Don't use `goto-line'.
6554 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
6555 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
6556 (vc-sentinel-movepoint): Declare.
6557 * vc/vc-svn.el: Use lexical-binding.
6558 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
6560 * vc/vc-rcs.el: Use lexical-binding.
6562 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
6563 `deleted'. Don't drop errors silently.
6565 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
6567 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
6569 * vc/vc.el (vc-ignore): Rewrite.
6570 (vc-default-ignore): New function.
6571 (vc-default-ignore-completion-table): Use find-ignore-file.
6573 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
6574 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
6575 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
6576 Remove. Most code moved to vc.el.
6578 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
6580 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
6581 * net/tramp-smb.el (tramp-smb-get-file-entries):
6582 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
6583 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
6585 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
6587 (eww-change-select): Remove unused var `properties'.
6588 (eww-make-unique-file-name): Remove unused var `base'.
6590 * finder.el (finder-compile-keywords): Don't mess with windows.
6592 * calculator.el (calculator-funcall): Fix typo in last change.
6594 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
6596 * emacs-lisp/package.el (package-activate-1): Don't let a missing
6597 <pkg>-autoloads.el file stop us.
6599 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
6600 warnings, and factor out common code.
6602 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
6604 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
6605 two-character operators and whether the character preceding them
6606 changes their meaning (Bug#15208).
6608 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
6610 Format code sent to Python shell for robustness.
6611 * progmodes/python.el (python-shell-buffer-substring):
6613 (python-shell-send-region, python-shell-send-buffer): Use it.
6615 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
6617 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
6618 * net/tramp.el (tramp-user-error): ... here.
6619 (tramp-find-method, tramp-check-proper-host)
6620 (tramp-dissect-file-name, tramp-debug-message)
6621 (tramp-handle-shell-command):
6622 * net/tramp-adb.el (tramp-adb-handle-shell-command):
6623 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
6625 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
6627 2013-09-02 Martin Rudalics <rudalics@gmx.at>
6629 * avoid.el (mouse-avoidance-point-position)
6630 (mouse-avoidance-too-close-p): Handle case where posn-at-point
6633 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
6635 * progmodes/python.el (python-shell-completion-get-completions):
6636 Drop use of deleted `comint-last-prompt-overlay'.
6637 (python-nav-if-name-main): New command.
6639 2013-09-01 Glenn Morris <rgm@gnu.org>
6641 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
6642 Avoid leading space in $wins. Otherwise the sed command used by
6643 eg compile-main ends up containing "/*.el". (Bug#15170)
6645 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
6647 2013-08-30 Glenn Morris <rgm@gnu.org>
6649 * emacs-lisp/bytecomp.el (byte-recompile-directory):
6650 Fix is-this-a-directory logic. (Bug#15220)
6652 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
6654 * textmodes/css-mode.el: Use SMIE.
6655 (css-smie-grammar): New var.
6656 (css-smie--forward-token, css-smie--backward-token)
6657 (css-smie-rules): New functions.
6658 (css-mode): Use them.
6659 (css-navigation-syntax-table): Remove var.
6660 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
6661 (css-indent-calculate, css-indent-line): Remove functions.
6663 Misc changes to reduce use of `(lambda...); and other cleanups.
6664 * cus-edit.el: Use lexical-binding.
6665 (customize-push-and-save, customize-apropos)
6666 (custom-buffer-create-internal): Use closures.
6667 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
6668 * progmodes/ada-xref.el: Use setq.
6669 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
6670 * dframe.el: Use lexical-binding.
6671 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
6672 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
6673 * descr-text.el: Use lexical-binding.
6674 (describe-text-widget, describe-text-sexp, describe-property-list):
6676 * comint.el (comint-history-isearch-push-state): Use a closure.
6677 * calculator.el: Use lexical-binding.
6678 (calculator-number-to-string): Make it work with lexical-binding.
6679 (calculator-funcall): Same and use cl-letf.
6681 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
6682 (lisp--company-doc-string, lisp--company-location): New functions.
6683 (lisp-completion-at-point): Use them to improve Company support.
6685 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
6686 params of lambda expressions.
6687 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
6688 (ruby-smie--opening-pipe-p): New function.
6689 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
6690 symbols and matched |...| for formal params.
6691 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
6692 from being treated as hanging. Handle "rescue".
6694 2013-08-29 Glenn Morris <rgm@gnu.org>
6696 * progmodes/cc-engine.el (c-pull-open-brace):
6697 Move definition before use.
6699 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
6701 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
6702 are immutable. Don't use `unsafe' any more.
6703 (cl--defsubst-expand): Don't substitute at the same time as keeping
6704 a residual unused let-binding. Don't use `unsafe' any more.
6706 2013-08-29 Glenn Morris <rgm@gnu.org>
6708 * calendar/cal-china.el (calendar-chinese-year-cache):
6711 * nxml/nxml-util.el (nxml-debug-clear-inside):
6712 Use cl-loop rather than loop.
6714 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
6716 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
6718 2013-08-28 Glenn Morris <rgm@gnu.org>
6720 * progmodes/antlr-mode.el: No need to require cc-mode twice.
6722 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
6724 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
6726 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6728 * simple.el (repeat-complex-command--called-interactively-skip):
6730 (repeat-complex-command): Use it (bug#14136).
6732 * progmodes/cc-mode.el: Minor cleanup of var declarations.
6733 (c-define-abbrev-table): Add `doc' argument.
6734 (c-mode-abbrev-table, c++-mode-abbrev-table)
6735 (objc-mode-abbrev-table, java-mode-abbrev-table)
6736 (idl-mode-abbrev-table, pike-mode-abbrev-table)
6737 (awk-mode-abbrev-table): Use it.
6738 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
6739 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
6740 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
6741 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
6742 Move initialization into the declaration; and remove any
6745 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
6746 and dynamic let binding.
6748 * vc/smerge-mode.el: Remove redundant :group args.
6750 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
6753 2013-08-28 Juri Linkov <juri@jurta.org>
6755 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
6756 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
6757 (isearch-other-meta-char): Handle an undefined shifted printing
6758 character by downshifting it. (Bug#15200)
6760 2013-08-28 Juri Linkov <juri@jurta.org>
6762 * isearch.el (isearch-search): Change regexp error message for
6763 non-regexp searches. (Bug#15166)
6765 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
6767 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
6768 for portability to hosts where /bin/sh has problems.
6770 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6772 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
6774 2013-08-27 Juri Linkov <juri@jurta.org>
6776 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
6777 in the keyboard macro. (Bug#15126)
6779 2013-08-27 Juri Linkov <juri@jurta.org>
6781 * isearch.el (isearch-quote-char): Comment out converting unibyte
6782 to multibyte, thus syncing with its `quoted-insert' counterpart.
6785 2013-08-27 Martin Rudalics <rudalics@gmx.at>
6787 * window.el (display-buffer-use-some-window): Add missing
6788 argument in call of get-largest-window (Bug#15185).
6789 Reported by Stephen Leake.
6791 2013-08-27 Glenn Morris <rgm@gnu.org>
6793 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
6795 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
6797 * progmodes/python.el (python-font-lock-keywords): Don't return nil
6798 from a matcher-function unless there's no more matches (bug#15161).
6800 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
6802 * minibuffer.el: Revert change from 2013-08-20.
6804 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
6805 with text property `tramp-default', if appropriate.
6806 (tramp-check-proper-host): New defun.
6807 (tramp-dissect-file-name): Do not check hostname. Revert change
6809 (tramp-backtrace): Make VEC-OR-PROC optional.
6811 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
6812 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6813 * net/tramp-sh.el (tramp-maybe-open-connection):
6814 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
6815 Apply `tramp-check-proper-host'.
6817 2013-08-26 Tassilo Horn <tsdh@gnu.org>
6819 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
6820 lambda expression in order to have `describe-variable' display it.
6822 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
6824 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
6825 BUF can be optional. (Bug#15186)
6827 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
6829 * progmodes/flymake.el (flymake-get-real-file-name-function):
6830 Fix broken customization. (Bug#15184)
6832 2013-08-25 Alan Mackenzie <acm@muc.de>
6834 Improve indentation of bracelists defined by macros (without "=").
6836 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
6837 expansion begins with "{", regard it as bracelist when it doesn't
6840 Parse C++ inher-intro when there's a template split over 2 lines.
6842 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
6843 rigorously the search for "class" etc. followed by ":".
6845 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
6846 random languages a regexp which never matches rather than nil.
6848 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
6850 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
6851 (c-awk-regexp-one-line-possibly-open-char-list-re)
6852 (c-awk-one-line-possibly-open-regexp-re)
6853 (c-awk-one-line-non-syn-ws*-re): Remove.
6854 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
6855 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
6856 (c-awk-space*-unclosed-regexp-/-re): New constants.
6857 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
6858 aren't regexp delimiters.
6860 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
6861 handling for a rare situation in AWK Mode involving unterminated
6864 2013-08-23 Glenn Morris <rgm@gnu.org>
6866 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
6868 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
6870 * files.el (create-file-buffer): If the result would begin with
6871 spaces, prepend a "|" instead of removing them. (Bug#15162)
6873 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
6875 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
6876 text-properties (bug#15155).
6878 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
6880 (calc-keypad-redraw): Remove unused var `pad'.
6881 (calc-keypad-press): Remove unused var `menu'.
6883 2013-08-23 Martin Rudalics <rudalics@gmx.at>
6885 * window.el (display-buffer-pop-up-frame):
6886 Call pop-up-frame-function with BUFFER current so `make-frame' will
6887 use it as the new frame's buffer (Bug#15133).
6889 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
6891 * calendar/timeclock.el: Minor cleanups.
6892 (timeclock-ask-before-exiting, timeclock-use-display-time):
6894 (timeclock-modeline-display): Define as alias before the
6896 (timeclock-mode-line-display): Use define-minor-mode.
6897 (timeclock-day-list-template): Make it a function, add an argument.
6898 (timeclock-day-list-required, timeclock-day-list-length)
6899 (timeclock-day-list-debt, timeclock-day-list-span)
6900 (timeclock-day-list-break): Adjust calls accordingly.
6902 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
6904 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
6905 Use read--expression so that completion works again.
6907 2013-08-21 Sam Steingold <sds@gnu.org>
6909 Add rudimentary inferior shell interaction
6910 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
6911 (sh-set-shell): Reset it.
6912 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
6913 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
6915 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
6917 * align.el: Use lexical-binding.
6918 (align-region): Simplify accordingly.
6920 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
6922 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
6924 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
6927 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
6931 * net/tramp-cmds.el:
6933 * net/tramp-gvfs.el:
6935 * net/tramp-sh.el: Don't wrap external variable declarations by
6936 `eval-when-compile'.
6938 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
6940 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
6941 now that Emacs supports ImageMagick animations.
6943 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
6945 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
6946 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
6948 2013-08-16 Martin Rudalics <rudalics@gmx.at>
6950 * window.el (mouse-autoselect-window-select): Do autoselect when
6951 mouse pointer is on margin.
6953 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
6955 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
6957 2013-08-16 Glenn Morris <rgm@gnu.org>
6959 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
6960 Handle "Remote Directory" response of some clients. (Bug#15058)
6962 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
6963 Tweak warning. (Bug#14926)
6965 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
6966 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
6968 * image-mode.el (image-mode-map): Add menu items to reverse,
6969 increase, decrease, reset animation speed.
6970 (image--set-speed, image-increase-speed, image-decrease-speed)
6971 (image-reverse-speed, image-reset-speed): New functions.
6972 (image-mode-map): Add bindings for speed commands.
6974 * image.el (image-animate-get-speed, image-animate-set-speed):
6976 (image-animate-timeout): Respect image :speed property.
6978 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
6980 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
6981 previous line (bug#15101).
6982 (debugger-eval-expression, debugger-record-expression):
6983 Use read--expression (bug#15102).
6985 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
6987 Remove byte compiler warnings, visible when compiling with
6988 `byte-compile-force-lexical-warnings' set to t.
6990 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
6991 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
6992 (tramp-handle-unhandled-file-name-directory)
6993 (tramp-handle-file-notify-add-watch, tramp-action-login)
6994 (tramp-action-succeed, tramp-action-permission-denied)
6995 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
6998 * net/tramp-adb.el (tramp-adb-parse-device-names)
6999 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
7000 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
7001 (tramp-adb-handle-file-truename): Remove unused arguments.
7003 * net/tramp-cache.el (tramp-flush-directory-property)
7004 (tramp-flush-connection-property, tramp-list-connections)
7005 (tramp-parse-connection-properties): Prefix unused arguments with "_".
7007 * net/tramp-compat.el (tramp-compat-make-temp-file):
7008 Rename FILENAME to F.
7010 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
7011 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
7012 (tramp-zeroconf-parse-workstation-device-names)
7013 (tramp-zeroconf-parse-webdav-device-names)
7014 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
7016 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
7017 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
7019 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
7021 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
7022 (tramp-sh-handle-insert-file-contents-literally)
7023 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
7025 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
7026 Remove unused variables.
7028 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
7029 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
7030 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
7032 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
7033 Make them a defconst.
7034 (tramp-uuencode-region): Remove unused variable.
7036 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
7038 * frameset.el (frameset--prop-setter): New function.
7039 (frameset-prop): Add gv-setter declaration.
7040 (frameset-filter-minibuffer): Deal with the case that the minibuffer
7041 parameter was already set in FILTERED. Doc fix.
7042 (frameset--record-minibuffer-relationships): Allow saving a
7043 minibufferless frame without its corresponding minibuffer frame.
7044 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
7045 frame, if the frame id matches.
7046 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
7047 frames before orphaned ones.
7048 (frameset-restore): Warn about orphaned windows, instead of error out.
7050 2013-08-14 Martin Rudalics <rudalics@gmx.at>
7052 * window.el (window-make-atom): Don't overwrite parameter
7054 (display-buffer-in-atom-window): Handle special case where we
7055 split an already atomic window.
7056 (window--major-non-side-window, display-buffer-in-side-window)
7057 (window--side-check): Ignore minibuffer window when walking
7059 (window-deletable-p): Return 'frame only if no other frame uses
7060 our minibuffer window.
7061 (record-window-buffer): Run buffer-list-update-hook.
7062 (split-window): Make sure window--check-frame won't destroy an
7063 existing atomic window in case the new window gets nested
7065 (display-buffer-at-bottom): Ignore minibuffer window when
7066 walking window tree. Don't split a side window.
7067 (pop-to-buffer): Don't set-buffer here, the select-window call
7069 (mouse-autoselect-window-select): Autoselect only if we are in the
7070 text portion of the window.
7072 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7074 * net/shr.el (shr-parse-image-data): New function to grab both the
7075 data itself and the Content-Type.
7076 (shr-put-image): Use it.
7078 * net/eww.el (eww-display-image): Ditto.
7080 * image.el (image-content-type-suffixes): New variable.
7082 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
7084 * progmodes/python.el (python-imenu--build-tree)
7085 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
7087 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
7089 * simple.el (backward-word): Mention the optional argument.
7091 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
7093 * frameset.el (frameset--make): Rename constructor from make-frameset.
7094 (frameset-p, frameset-valid-p): Don't autoload.
7095 (frameset-valid-p): Use normal accessors.
7097 2013-08-13 Glenn Morris <rgm@gnu.org>
7099 * progmodes/compile.el (compile-command): Tweak example in doc.
7100 * obsolete/scribe.el (scribe-mode):
7101 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
7103 * mail/feedmail.el (feedmail-confirm-outgoing)
7104 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
7106 * cus-start.el (truncate-partial-width-windows): Fix type.
7108 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
7110 * net/shr.el (shr-table-horizontal-line): Fix custom type.
7112 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
7114 * emacs-lisp/timer.el (timer--time-setter): New function.
7115 (timer--time): Use it as gv-setter.
7117 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
7118 setter is not a symbol.
7120 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
7122 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
7123 if sending fails. This makes debugging easier.
7125 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
7127 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
7128 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
7129 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
7131 2013-08-12 Eli Zaretskii <eliz@gnu.org>
7133 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
7135 2013-08-12 Glenn Morris <rgm@gnu.org>
7137 * format.el (format-annotate-function):
7138 Handle read-only text properties in the source. (Bug#14887)
7140 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7142 * net/eww.el (eww-display-html): Ignore coding system errors.
7143 One web site uses "utf-8lias" as the coding system.
7145 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
7147 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
7149 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
7151 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
7152 (tutorial--detailed-help): Remove unused local variables.
7153 (tutorial--save-tutorial-to): Use ignore-errors.
7154 (help-with-tutorial): Use looking-at-p.
7156 * view.el (view-buffer-other-window, view-buffer-other-frame):
7157 Mark unused arguments.
7159 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
7160 (woman-select-symbol-fonts, woman, woman-find-file)
7161 (woman-insert-file-contents, woman-non-underline-faces):
7163 (woman1-unquote): Move declaration.
7165 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
7166 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
7167 argument. Remove unused local variable.
7168 (xml-parse-elem-type): Use string-match-p.
7169 (xml-substitute-numeric-entities): Use ignore-errors.
7171 * calculator.el (calculator): Mark unused argument.
7172 (calculator-paste, calculator-quit, calculator-integer-p):
7174 (calculator-string-to-number, calculator-decimal, calculator-exp)
7175 (calculator-op-or-exp): Use string-match-p.
7177 * dired.el (dired-buffer-more-recently-used-p): Declare.
7178 (dired-insert-set-properties, dired-insert-old-subdirs):
7181 * dired-aux.el (dired-compress): Use ignore-errors.
7182 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
7183 (dired-do-async-shell-command, dired-do-shell-command)
7184 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
7185 (dired-insert-subdir-validate): Use string-match-p.
7186 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
7187 (dired-add-entry): Use string-match-p, looking-at-p.
7188 (dired-insert-subdir-newpos): Remove unused local variable.
7190 * filenotify.el (file-notify-callback): Remove unused local variable.
7192 * filesets.el (filesets-error): Mark unused argument.
7193 (filesets-which-command-p, filesets-filter-dir-names)
7194 (filesets-directory-files, filesets-get-external-viewer)
7195 (filesets-ingroup-get-data): Use string-match-p.
7197 * find-file.el (ff-other-file-name, ff-other-file-name)
7198 (ff-find-the-other-file, ff-cc-hh-converter):
7199 Remove unused local variables.
7200 (ff-get-file-name): Use string-match-p.
7201 (ff-all-dirs-under): Use ignore-errors.
7203 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
7204 (follow-select-if-visible): Remove unused local variable.
7206 * forms.el (read-file-filter): Move declaration.
7207 (forms--make-format, forms--make-parser, forms-insert-record):
7208 Quote function with #'.
7209 (forms--update): Use string-match-p. Quote function with #'.
7211 * help-mode.el (help-dir-local-var-def): Mark unused argument.
7212 (help-make-xrefs): Use looking-at-p.
7213 (help-xref-on-pp): Use looking-at-p, ignore-errors.
7215 * ibuffer.el (ibuffer-ext-visible-p): Declare.
7216 (ibuffer-confirm-operation-on): Use string-match-p.
7218 * msb.el (msb-item-handler, msb-dired-item-handler):
7219 Mark unused arguments.
7221 * ses.el (ses-decode-cell-symbol)
7222 (ses-kill-override): Remove unused local variable.
7223 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
7224 (ses-load): Use ignore-errors, looking-at-p.
7225 (ses-jump-safe): Use ignore-errors.
7226 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
7228 * tabify.el (untabify, tabify): Mark unused arguments.
7230 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
7231 Mark unused argument.
7232 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
7233 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
7235 * emacs-lisp/timer.el (timer--time): Define setter with
7236 gv-define-setter to avoid deprecation warning.
7238 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
7239 (*record-cmpl-statistics-p*): Remove (was commented out).
7240 (cmpl-statistics-block): Remove (body was commented out).
7241 All callers changed.
7242 (add-completions-from-buffer, load-completions-from-file):
7243 Remove unused variables.
7245 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
7247 * filecache.el (file-cache-delete-file-list):
7248 Print message only when told so.
7249 (file-cache-files-matching): Use #' in mapconcat argument.
7251 * ffap.el (ffap-url-at-point): Fix reference to variable
7252 thing-at-point-default-mail-uri-scheme.
7254 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
7256 * subr.el (define-error): New function.
7257 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
7258 error-file-not-found and define with define-error.
7259 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
7260 and define with define-error.
7261 * userlock.el (file-locked, file-supersession):
7262 * simple.el (mark-inactive):
7263 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
7264 * progmodes/ada-mode.el (ada-mode-errors):
7265 * play/life.el (life-extinct):
7266 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
7267 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
7268 * nxml/rng-util.el (rng-error):
7269 * nxml/rng-uri.el (rng-uri-error):
7270 * nxml/rng-match.el (rng-compile-error):
7271 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
7272 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
7273 * nxml/nxml-rap.el (nxml-scan-error):
7274 * nxml/nxml-outln.el (nxml-outline-error):
7275 * net/soap-client.el (soap-error):
7276 * net/gnutls.el (gnutls-error):
7277 * net/ange-ftp.el (ftp-error):
7278 * mpc.el (mpc-proc-error):
7279 * json.el (json-error, json-readtable-error, json-unknown-keyword)
7280 (json-number-format, json-string-escape, json-string-format)
7281 (json-key-format, json-object-format):
7282 * jka-compr.el (compression-error):
7283 * international/quail.el (quail-error):
7284 * international/kkc.el (kkc-error):
7285 * emacs-lisp/ert.el (ert-test-failed):
7286 * calc/calc.el (calc-error, inexact-result, math-overflow)
7288 * bookmark.el (bookmark-error-no-filename):
7289 * epg.el (epg-error): Define with define-error.
7291 * time.el (display-time-event-handler)
7292 (display-time-next-load-average): Don't call sit-for since it seems
7293 unnecessary (bug#15045).
7295 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
7296 Use #' instead of ' to quote functions.
7297 (checkdoc-output-mode): Use setq-local.
7298 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
7299 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
7300 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
7301 (checkdoc-ispell, checkdoc-ispell-current-buffer)
7302 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
7303 (checkdoc-ispell-message-text, checkdoc-ispell-start)
7304 (checkdoc-ispell-continue, checkdoc-ispell-comments)
7305 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
7307 * ido.el (ido-completion-help): Fix up compiler warning.
7309 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
7311 * frameset.el (frameset-p): Add autoload cookie.
7312 (frameset--jump-to-register): New function, based on code moved from
7314 (frameset-to-register): Move from register.el. Adapt to `registerv'.
7316 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
7317 (frameset-restore, frameset-save, frameset-session-filter-alist):
7318 Remove declarations.
7319 (register-alist): Doc fix.
7320 (frameset-to-register): Move to frameset.el.
7321 (jump-to-register, describe-register-1): Remove frameset-specific code.
7323 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
7325 * allout-widgets.el (allout-widgets-pre-command-business)
7326 (allout-widgets-post-command-business)
7327 (allout-widgets-after-change-handler)
7328 (allout-decorate-item-and-context, allout-set-boundary-marker)
7329 (allout-body-modification-handler)
7330 (allout-graphics-modification-handler): Mark ignored arguments.
7331 (allout-widgets-post-command-business)
7332 (allout-widgets-exposure-change-processor)
7333 (allout-widgets-exposure-undo-processor)
7334 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
7335 (allout-parse-item-at-point, allout-decorate-item-guides)
7336 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
7337 * allout.el (epa-passphrase-callback-function): Declare.
7338 (allout-overlay-insert-in-front-handler)
7339 (allout-overlay-interior-modification-handler)
7340 (allout-isearch-end-handler, allout-chart-siblings)
7341 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
7342 (allout-yank-processing, allout-process-exposed)
7343 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
7344 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
7345 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
7346 (lisp-indent-defform): Mark ignored arguments.
7347 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
7348 (calculate-lisp-indent): Remove unused variables.
7349 * international/characters.el (indian-2-column, arabic-2-column)
7350 (tibetan): Mark ignored arguments.
7351 (use-cjk-char-width-table): Mark ignored arguments.
7352 Remove unused variables.
7353 * international/fontset.el (build-default-fontset-data)
7354 (x-compose-font-name, create-fontset-from-fontset-spec):
7355 Mark ignored arguments.
7356 (fontset-plain-name): Remove unused variables.
7357 * international/mule.el (charset-id, charset-bytes, generic-char-p)
7358 (keyboard-coding-system): Mark ignored arguments.
7359 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
7360 * help.el (resize-temp-buffer-window):
7361 * window.el (display-buffer-in-major-side-window)
7362 (display-buffer-in-side-window, display-buffer-in-previous-window):
7363 Remove unused variables.
7364 * isearch.el (isearch-forward-symbol):
7365 * version.el (emacs-bzr-version-bzr):
7366 * international/mule-cmds.el (current-language-environment):
7367 * term/common-win.el (x-handle-iconic, x-handle-geometry)
7369 * term/pc-win.el (x-list-fonts, x-display-planes)
7370 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
7371 (x-server-version, x-display-screens, x-display-mm-height)
7372 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
7373 (x-selection-owner-p, x-own-selection-internal)
7374 (x-disown-selection-internal, x-get-selection-internal)
7375 (msdos-initialize-window-system):
7376 * term/tty-colors.el (tty-color-alist, tty-color-clear):
7377 * term/x-win.el (x-handle-no-bitmap-icon):
7378 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
7379 (vc-default-find-file-hook, vc-default-extra-menu):
7380 Mark ignored arguments.
7382 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
7384 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
7385 break-condition in the context of the debugged code (bug#12685).
7387 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
7390 Do not use an overlay to highlight the last prompt. (Bug#14744)
7391 (comint-mode): Make comint-last-prompt buffer local.
7392 (comint-last-prompt): New variable.
7393 (comint-last-prompt-overlay): Remove. Superseded by
7395 (comint-snapshot-last-prompt, comint-output-filter):
7396 Use comint-last-prompt.
7398 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
7400 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
7401 (frameset-save): Check validity of the resulting frameset.
7403 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
7405 * ido.el (ido-record-command): Add doc string.
7407 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
7409 * frameset.el (frameset): Do not disable creation of the default
7410 frameset-p predicate. Doc fix.
7411 (frameset-valid-p): New function, copied from the old predicate-p.
7412 Add additional checks.
7413 (frameset-restore): Check with frameset-valid-p.
7414 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
7415 (frameset-name, frameset-description, frameset-properties)
7416 (frameset-states): Add docstring.
7417 (frameset-session-filter-alist, frameset-persistent-filter-alist)
7418 (frameset-filter-alist): Doc fixes.
7420 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
7422 * frameset.el (frameset-p, frameset-prop): Doc fixes.
7424 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
7426 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
7427 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
7428 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
7429 (byte-compile-normal-call): Remove obsolescence check.
7431 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
7433 * frameset.el (frameset-restore): Doc fix.
7435 * register.el (frameset-frame-id, frameset-frame-with-id)
7436 (frameset-p, frameset-restore, frameset-save): Declare.
7437 (register-alist): Document framesets.
7438 (frameset-session-filter-alist): Declare.
7439 (frameset-to-register): New function.
7440 (jump-to-register): Implement jumping to framesets. Doc fix.
7441 (describe-register-1): Describe framesets.
7443 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
7445 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
7447 * desktop.el (desktop-save-frameset): Use new frameset-save args.
7448 Use lexical-binding.
7450 * frameset.el (frameset): Use type vector, not list (incompatible
7451 change). Do not declare a new constructor, use the default one.
7452 Upgrade suggested properties `app', `name' and `desc' to slots `app',
7453 `name' and `description', respectively, and add read-only slot
7454 `timestamp'. Doc fixes.
7455 (frameset-copy, frameset-persistent-filter-alist)
7456 (frameset-filter-alist, frameset-switch-to-gui-p)
7457 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
7458 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
7459 (frameset-filter-iconified, frameset-keep-original-display-p):
7461 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
7462 Rename from frameset-filter-(save|restore)-param. All callers changed.
7464 (frameset-p): Adapt to change to vector and be more thorough.
7465 Change arg name to OBJECT. Doc fix.
7466 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
7467 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
7468 All callers changed.
7469 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
7470 All callers changed.
7471 (frameset--record-minibuffer-relationships): Rename from
7472 frameset--process-minibuffer-frames. All callers changed.
7473 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
7474 Use new default constructor (again). Doc fix.
7475 (frameset--find-frame-if): Rename from `frameset--find-frame'.
7476 All callers changed.
7477 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
7478 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
7480 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
7481 PARAMETERS and WINDOW-STATE, respectively.
7482 (frameset-restore): Add new keyword argument PREDICATE.
7483 Reset frameset--target-display to nil. Doc fix.
7485 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
7487 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
7489 (bat-mode-syntax-table): Mark \n as end-of-comment.
7490 (bat-font-lock-keywords): Remove comment rule.
7492 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
7493 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
7495 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
7496 (byte-compile-callargs-warn): Use `push'.
7497 (byte-compile-arglist-warn): Ignore higher-order "calls".
7498 (byte-compile-file-form-autoload): Use `pcase'.
7499 (byte-compile-function-form): If quoting a symbol, check that it exists.
7501 2013-08-07 Eli Zaretskii <eliz@gnu.org>
7503 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
7504 and add a few popular commands found in batch files.
7505 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
7506 (dos-mode): Doc fixes.
7508 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
7510 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
7511 (dos-mode): Use setq-local. Add space after "rem".
7512 (dos-mode-syntax-table): Don't use "w" for symbol chars.
7513 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
7515 2013-08-07 Arni Magnusson <arnima@hafro.is>
7517 * progmodes/dos.el: New file.
7518 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
7521 2013-08-06 Glenn Morris <rgm@gnu.org>
7523 * calendar/calendar.el: Add new faces, and day-header-array.
7524 (calendar-weekday-header, calendar-weekend-header)
7525 (calendar-month-header): New faces.
7526 (calendar-day-header-construct): New function.
7527 (calendar-day-header-width): Also :set calendar-day-header-array.
7528 (calendar-american-month-header, calendar-european-month-header)
7529 (calendar-iso-month-header): Use calendar- faces.
7530 (calendar-generate-month):
7531 Use calendar-day-header-array for day headers; apply faces to them.
7532 (calendar-mode): Check calendar-font-lock-keywords non-nil.
7533 (calendar-abbrev-construct): Add optional maxlen argument.
7534 (calendar-day-name-array): Doc fix.
7535 (calendar-day-name-array, calendar-abbrev-length)
7536 (calendar-day-abbrev-array):
7537 Also :set calendar-day-header-array, and maybe redraw.
7538 (calendar-day-header-array): New option. (Bug#15007)
7539 (calendar-font-lock-keywords): Set to nil and make obsolete.
7540 (calendar-day-name): Add option to use header array.
7542 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
7544 * net/shr.el (shr-render-td): Remove debugging.
7545 (shr-render-td): Make width computation consistent by defaulting
7546 all zero-width columns to 10 characters. This may not be optimal,
7547 but it's at least consistent.
7548 (shr-make-table-1): Redo last change to fix the real problem in
7551 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
7553 * files.el (cache-long-line-scans):
7554 Make obsolete alias to `cache-long-scans'.
7556 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
7558 * frameset.el (frameset, frameset-filter-alist)
7559 (frameset-filter-params, frameset-save, frameset--reuse-frame)
7560 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
7561 (frameset-compute-pos): Rename from frameset--compute-pos,
7563 (frameset-move-onscreen): Use frameset-compute-pos.
7564 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
7566 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
7567 Fix typos in docstrings.
7569 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
7571 * frame.el (get-other-frame): Tiny cleanup.
7573 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
7575 * vc/vc.el (vc-default-ignore-completion-table):
7576 Silence byte-compiler warning.
7578 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
7579 slot, which can indeed be nil.
7580 (frameset-live-filter-alist, frameset-persistent-filter-alist):
7581 Move entry for `left' from persistent to live filter alist.
7582 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
7584 (frameset-filter-params): When restoring a frame, copy items added to
7585 `filtered', to avoid unwittingly modifying the original parameters.
7586 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
7587 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
7589 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
7590 to use looking-at-p instead of looking-at. (Bug#15028)
7592 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
7594 Revert introduction of isearch-filter-predicates (bug#14714).
7595 Rely on add-function instead.
7596 * isearch.el (isearch-filter-predicates): Rename it back to
7597 isearch-filter-predicate.
7598 (isearch-message-prefix): Use advice-function-mapc and advice
7599 properties to get the isearch-message-prefix.
7600 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
7601 instead of run-hook-with-args-until-failure.
7602 (isearch-filter-visible): Not obsolete any more.
7603 * loadup.el: Preload nadvice.
7604 * replace.el (perform-replace): Revert to funcall
7605 instead of run-hook-with-args-until-failure.
7606 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
7607 * dired-aux.el (dired-isearch-filenames-mode): Rename from
7608 dired-isearch-filenames-toggle; make it into a proper minor mode.
7609 Use add/remove-function.
7610 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
7611 Call the minor-mode rather than add/remove-hook.
7612 (dired-isearch-filter-filenames):
7613 Remove isearch-message-prefix property.
7614 * info.el (Info--search-loop): New function, extracted from Info-search.
7615 Funcall isearch-filter-predicate instead of
7616 run-hook-with-args-until-failure isearch-filter-predicates.
7617 (Info-search): Use it.
7618 (Info-mode): Use isearch-filter-predicate instead of
7619 isearch-filter-predicates.
7621 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
7623 Do not call to `selected-window' where it is assumed by default.
7624 Affected functions are `window-minibuffer-p', `window-dedicated-p',
7625 `window-hscroll', `window-width', `window-height', `window-buffer',
7626 `window-frame', `window-start', `window-point', `next-window'
7627 and `window-display-table'.
7628 * abbrev.el (abbrev--default-expand):
7629 * bs.el (bs--show-with-configuration):
7630 * buff-menu.el (Buffer-menu-mouse-select):
7631 * calc/calc.el (calc):
7632 * calendar/calendar.el (calendar-generate-window):
7633 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
7635 * comint.el (send-invisible, comint-dynamic-complete-filename)
7636 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
7637 * completion.el (complete):
7638 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
7639 * disp-table.el (describe-current-display-table):
7640 * doc-view.el (doc-view-insert-image):
7641 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
7642 * ehelp.el (with-electric-help):
7643 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
7644 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
7645 * emacs-lisp/helper.el (Helper-help-scroller):
7646 * emulation/cua-base.el (cua--post-command-handler-1):
7647 * eshell/esh-mode.el (eshell-output-filter):
7648 * ffap.el (ffap-gnus-wrapper):
7649 * help-macro.el (make-help-screen):
7650 * hilit-chg.el (highlight-compare-buffers):
7651 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
7652 * hl-line.el (global-hl-line-highlight):
7653 * icomplete.el (icomplete-simple-completing-p):
7654 * isearch.el (isearch-done):
7655 * jit-lock.el (jit-lock-stealth-fontify):
7656 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
7657 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
7658 * mpc.el (mpc-tagbrowser, mpc):
7659 * net/rcirc.el (rcirc-any-buffer):
7660 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
7661 * play/landmark.el (landmark-max-width, landmark-max-height):
7662 * play/zone.el (zone):
7663 * progmodes/compile.el (compilation-goto-locus):
7664 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
7665 * progmodes/etags.el (find-tag-other-window):
7666 * progmodes/fortran.el (fortran-column-ruler):
7667 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
7668 * progmodes/verilog-mode.el (verilog-point-text):
7669 * reposition.el (reposition-window):
7670 * rot13.el (toggle-rot13-mode):
7671 * server.el (server-switch-buffer):
7672 * shell.el (shell-dynamic-complete-command)
7673 (shell-dynamic-complete-environment-variable):
7674 * simple.el (insert-buffer, set-selective-display)
7675 (delete-completion-window):
7676 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
7677 (speedbar-recenter):
7678 * startup.el (fancy-splash-head):
7679 * textmodes/ispell.el (ispell-command-loop):
7680 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
7681 * tutorial.el (help-with-tutorial):
7682 * vc/add-log.el (add-change-log-entry):
7683 * vc/compare-w.el (compare-windows):
7684 * vc/ediff-help.el (ediff-indent-help-message):
7685 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
7686 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
7687 (ediff-setup-control-frame):
7688 * vc/emerge.el (emerge-position-region):
7689 * vc/pcvs-util.el (cvs-bury-buffer):
7690 * window.el (walk-windows, mouse-autoselect-window-select):
7691 * winner.el (winner-set-conf, winner-undo): Related users changed.
7693 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
7695 * frameset.el (frameset--set-id): Doc fix.
7696 (frameset-frame-id, frameset-frame-id-equal-p)
7697 (frameset-locate-frame-id): New functions.
7698 (frameset--process-minibuffer-frames, frameset--reuse-frame)
7699 (frameset-restore): Use them.
7701 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
7703 Do not call to `selected-frame' where it is assumed by default.
7704 Affected functions are `raise-frame', `redraw-frame',
7705 `frame-first-window', `frame-terminal' and `delete-frame'.
7706 * calendar/appt.el (appt-disp-window):
7707 * epg.el (epg-wait-for-completion):
7708 * follow.el (follow-delete-other-windows-and-split)
7709 (follow-avoid-tail-recenter):
7710 * international/mule.el (set-terminal-coding-system):
7711 * mail/rmail.el (rmail-mail-return):
7712 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
7713 * progmodes/f90.el (f90-add-imenu-menu):
7714 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
7715 * server.el (server-switch-buffer):
7716 * simple.el (delete-completion-window):
7718 * term/xterm.el (terminal-init-xterm-modify-other-keys)
7719 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
7720 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
7721 * vc/ediff.el (ediff-documentation): Related users changed.
7722 * frame.el (selected-terminal): Remove the leftover.
7724 2013-08-05 Glenn Morris <rgm@gnu.org>
7726 * calendar/calendar.el (calendar-generate-month):
7727 Fix for calendar-column-width != 1 + calendar-day-digit-width.
7728 (calendar-generate-month, calendar-font-lock-keywords):
7729 Fix for calendar-day-header-width > length of any day name.
7731 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
7733 * desktop.el (desktop-clear): Use new name of sort predicate.
7735 * frameset.el (frameset): Add docstring. Move :version property to its
7737 (frameset-copy): Rename from copy-frameset.
7738 (frameset-p): Check more thoroughly.
7739 (frameset-prop): Do not check for :version, which is no longer a prop.
7740 (frameset-live-filter-alist, frameset-persistent-filter-alist):
7741 Use new :never value instead of t.
7742 (frameset-filter-alist): Expand and clarify docstring.
7743 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
7744 (frameset-filter-minibuffer, frameset-filter-save-param)
7745 (frameset-filter-restore-param, frameset-filter-iconified):
7746 Add pointer to docstring of frameset-filter-alist.
7747 (frameset-filter-params): Rename filter values to be more meaningful:
7748 :never instead of t, and reverse the meanings of :save and :restore.
7749 (frameset--process-minibuffer-frames): Clarify error message.
7750 (frameset-save): Avoid unnecessary and confusing call to framep.
7751 Use new BOA constructor for framesets.
7752 (frameset--reuse-list): Doc fix.
7753 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
7754 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
7755 (frameset-minibufferless-first-p): Doc fix.
7756 Rename from frameset-sort-frames-for-deletion.
7757 (frameset-restore): Doc fixes. Use new function names.
7758 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
7760 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
7762 * desktop.el (desktop-restore-forces-onscreen)
7763 (desktop-restore-reuses-frames): Document :keyword constant values.
7764 (desktop-filter-parameters-alist): Remove, now identical to
7765 frameset-filter-alist.
7766 (desktop--filter-tty*): Remove, moved to frameset.el.
7767 (desktop-save-frameset, desktop-restore-frameset):
7768 Do not pass :filters argument.
7770 * frameset.el (frameset-live-filter-alist)
7771 (frameset-persistent-filter-alist): New variables.
7772 (frameset-filter-alist): Use them. Add autoload cookie.
7773 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
7774 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
7775 `frameset--id' (it's supposed to be internal to frameset.el).
7776 (frameset--process-minibuffer-frames): Ditto. Doc fix.
7777 (frameset--initial-params): New function.
7778 (frameset--get-frame): Use it. Doc fix.
7779 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
7780 Accept :all, not 'all.
7781 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
7782 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
7783 with fbound symbols. Fix frame id matching, and remove matching ids if
7784 the frame being restored is deleted. Obey :delete.
7786 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
7788 * subr.el (macrop): New function.
7789 (text-clone--maintaining): New var.
7790 (text-clone--maintain): Rename from text-clone-maintain. Use it
7791 instead of inhibit-modification-hooks.
7793 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
7794 a proxy, so as handle autoloads and redefinitions of the target.
7795 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
7797 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
7798 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
7799 (pcase--mutually-exclusive-p): New function.
7800 (pcase--split-consp): Use it.
7801 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
7802 mutually exclusive with the current predicate.
7804 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
7805 (edebug-macrop): Remove. Use `macrop' instead.
7806 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
7808 * eshell/esh-cmd.el (eshell-macrop):
7809 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
7811 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
7813 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
7814 (advice-mapc): New function, using it.
7815 (advice-function-member-p): New function.
7816 (advice--normalize): Store the cdr in advice--saved-rewrite since
7817 that's the part that will be changed.
7818 (advice--symbol-function): New function.
7819 (advice-remove): Handle removal before the function is defined.
7820 Adjust to new advice--saved-rewrite.
7821 (advice-member-p): Use advice-function-member-p and
7822 advice--symbol-function.
7824 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
7826 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
7827 (frameset-filter-minibuffer): Doc fix.
7828 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
7829 (frameset--set-id, frameset--process-minibuffer-frames)
7830 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
7831 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
7833 * desktop.el (desktop-clear): Only delete frames when called
7834 interactively and desktop-restore-frames is non-nil. Doc fix.
7835 (desktop-read): Set desktop-saved-frameset to nil.
7837 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
7839 * vc/vc.el (vc-ignore): Rewrite.
7840 (vc-default-ignore-completion-table):
7842 (vc--add-line, vc--remove-regexp): New functions.
7844 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
7845 (vc-svn-ignore-completion-table): New function.
7847 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
7848 (vc-hg-ignore-completion-table):
7849 (vc-hg-find-ignore-file): New functions.
7851 * vc/vc-git.el (vc-git-ignore): Rewrite.
7852 (vc-git-ignore-completion-table):
7853 (vc-git-find-ignore-file): New functions.
7855 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
7857 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
7858 (vc-bzr-ignore-completion-table):
7859 (vc-bzr-find-ignore-file): New functions.
7861 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
7863 * frameset.el (frameset-prop): New function and setter.
7864 (frameset-save): Do not modify frame list passed by the caller.
7866 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
7868 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
7870 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
7872 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
7873 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
7875 * custom.el (custom-initialize-default, custom-initialize-set)
7876 (custom-initialize-reset, custom-initialize-changed): Affect the
7877 toplevel-default-value (bug#6275, bug#14586).
7878 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
7881 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
7883 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
7884 Add cl-def* expressions.
7886 * frameset.el (frameset-filter-params): Fix order of arguments.
7888 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
7890 Move code related to saving frames to frameset.el.
7891 * desktop.el: Require frameset.
7892 (desktop-restore-frames): Doc fix.
7893 (desktop-restore-reuses-frames): Rename from
7894 desktop-restoring-reuses-frames.
7895 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
7896 (desktop-clear): Clear frames too.
7897 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
7898 (desktop--filter-tty*, desktop-save, desktop-read):
7899 Use frameset functions.
7900 (desktop-before-saving-frames-functions, desktop--filter-*-color)
7901 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
7902 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
7903 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
7904 (desktop--process-minibuffer-frames, desktop-save-frames)
7905 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
7906 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
7907 (desktop--sort-states, desktop-restoring-frames-p)
7908 (desktop-restore-frames): Remove. Most code moved to frameset.el.
7909 (desktop-restoring-frameset-p, desktop-restore-frameset)
7910 (desktop--check-dont-save, desktop-save-frameset): New functions.
7911 (desktop--app-id): New constant.
7912 (desktop-first-buffer, desktop-buffer-ok-count)
7913 (desktop-buffer-fail-count): Move before first use.
7914 * frameset.el: New file.
7916 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
7918 * files.el: Use lexical-binding.
7919 (dir-locals-read-from-file): Remove unused `err' variable.
7920 (hack-dir-local-variables--warned-coding): New var.
7921 (hack-dir-local-variables): Use it to avoid repeated warnings.
7922 (make-backup-file-name--default-function): New function.
7923 (make-backup-file-name-function): Use it as default.
7924 (buffer-stale--default-function): New function.
7925 (buffer-stale-function): Use it as default.
7926 (revert-buffer-insert-file-contents--default-function): New function.
7927 (revert-buffer-insert-file-contents-function): Use it as default.
7928 (insert-directory): Avoid add-to-list.
7930 * autorevert.el (auto-revert-handler): Simplify.
7931 Use buffer-stale--default-function.
7933 2013-08-01 Tassilo Horn <tsdh@gnu.org>
7935 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
7937 * whitespace.el (whitespace-ensure-local-variables): New function.
7938 (whitespace-cleanup-region): Call it.
7939 (whitespace-turn-on): Call it.
7941 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
7943 Complete file name handlers.
7945 * net/tramp.el (tramp-handle-set-visited-file-modtime)
7946 (tramp-handle-verify-visited-file-modtime)
7947 (tramp-handle-file-notify-rm-watch): New functions.
7948 (tramp-call-process): Do not bind `default-directory'.
7950 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7951 Order alphabetically.
7952 <access-file, add-name-to-file, dired-call-process>:
7953 <dired-compress-file, file-acl, file-notify-rm-watch>:
7954 <file-ownership-preserved-p, file-selinux-context>:
7955 <make-directory-internal, make-symbolic-link, set-file-acl>:
7956 <set-file-selinux-context, set-visited-file-modtime>:
7957 <verify-visited-file-modtime>: Add handler.
7958 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
7960 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
7961 <file-notify-add-watch, file-notify-rm-watch>:
7962 <set-file-times, set-visited-file-modtime>:
7963 <verify-visited-file-modtime>: Add handler.
7964 (with-tramp-gvfs-error-message)
7965 (tramp-gvfs-handle-set-visited-file-modtime)
7966 (tramp-gvfs-fuse-file-name): Remove.
7967 (tramp-gvfs-handle-file-notify-add-watch)
7968 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
7969 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
7971 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
7972 Order alphabetically.
7973 <file-notify-rm-watch>: Use default Tramp handler.
7974 <executable-find>: Remove private handler.
7975 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
7976 `default-directory'.
7977 (tramp-sh-handle-executable-find)
7978 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
7979 (tramp-sh-file-gvfs-monitor-dir-process-filter)
7980 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
7981 Do not use `format' in `tramp-message'.
7983 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
7984 <file-notify-rm-watch, set-visited-file-modtime>:
7985 <verify-visited-file-modtime>: Add handler.
7986 (tramp-smb-call-winexe): Do not bind `default-directory'.
7988 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
7990 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
7992 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
7994 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
7996 (log-view-diff-changeset): Same.
7997 (log-view-diff-common): Call backend command `previous-revision'
7998 to find out the previous revision, in both cases. Swap the
7999 variables `to' and `fr', so that `fr' usually refers to the
8000 earlier revision (Bug#14989).
8002 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
8004 * ibuf-ext.el (ibuffer-filter-by-filename):
8005 Make it work with dired buffers too.
8007 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
8009 * emacs-lisp/re-builder.el (reb-color-display-p):
8010 * files.el (save-buffers-kill-terminal):
8011 * net/browse-url.el (browse-url):
8012 * server.el (server-save-buffers-kill-terminal):
8013 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
8014 Prefer nil to selected-frame for the first arg of frame-parameter.
8016 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
8018 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
8020 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
8022 * minibuffer.el (completion--twq-all): Try and preserve each
8023 completion's case choice (bug#14907).
8025 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
8027 * net/network-stream.el (open-network-stream): Mention the new
8028 :nogreeting parameter.
8029 (network-stream-open-starttls): Use the :nogreeting parameter
8032 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
8034 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
8035 more natural than popping.
8037 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
8038 (shr-urlify): Highlight under mouse.
8040 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
8042 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
8044 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
8046 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
8049 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
8050 point-min==1. Fix search string. Fix parentheses missing.
8052 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
8053 assume point-min==1. Fix search string. Fix parentheses missing.
8055 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
8057 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
8060 2013-07-29 Eli Zaretskii <eliz@gnu.org>
8062 * frame.el (frame-notice-user-settings): Avoid inflooping when the
8063 initial frame is minibuffer-less. (Bug#14841)
8065 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
8067 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
8070 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
8071 (tramp-maybe-open-connection): Use it.
8073 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
8075 * desktop.el (desktop--make-frame): Include `minibuffer' in the
8076 minimal set of parameters passed when creating a frame, because
8077 the minibuffer status of a frame cannot be changed later.
8079 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
8081 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
8082 replace-regexp-in-string and inadvertent omissions in previous change.
8083 (todo-filter-items): Ensure only file names are comma-separated in
8084 name of filtered items buffer.
8086 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
8088 * desktop.el: Optionally force offscreen frames back onscreen.
8089 (desktop-restoring-reuses-frames): New option.
8090 (desktop--compute-pos, desktop--move-onscreen): New functions.
8091 (desktop--make-frame): Use desktop--move-onscreen.
8093 2013-07-27 Alan Mackenzie <acm@muc.de>
8095 Fontify a Java generic method as a function.
8096 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
8099 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
8101 * calendar/todo-mode.el: Add command to rename todo files.
8102 (todo-rename-file): New command.
8103 (todo-key-bindings-t): Add key binding for it. Change the
8104 bindings of todo-filter-regexp-items(-multifile) to use `x'
8105 instead of `r', since the latter is better suited to the new
8108 2013-07-27 Alan Mackenzie <acm@muc.de>
8110 Make Java try-with-resources statement parse properly.
8111 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
8112 (c-block-stmt-1-2-key): New language constants/variables.
8113 * progmodes/cc-engine.el (c-beginning-of-statement-1)
8114 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
8115 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
8116 with c-block-stmt-1-2-key.
8118 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
8120 * desktop.el (desktop--make-frame): Apply most frame parameters after
8121 creating the frame to force (partially or totally) offscreen frames to
8122 be restored as such.
8124 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
8126 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
8129 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8131 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
8132 `base' arg of backtrace-frame.
8134 2013-07-26 Eli Zaretskii <eliz@gnu.org>
8136 * simple.el (list-processes): Doc fix.
8138 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
8140 * desktop.el (desktop--select-frame):
8141 Try harder to reuse existing frames.
8143 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8145 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
8146 (edebug-eval): Use backtrace-eval.
8147 (edebug--display, edebug--recursive-edit): Don't let-bind the
8148 edebug-outer-* vars that keep track of variables we locally let-bind.
8149 (edebug-outside-excursion): Don't restore outside values of locally
8151 (edebug--display): Use user-error.
8152 (cl-lexical-debug, cl-debug-env): Remove.
8154 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
8156 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
8157 are restored to be sure that they are visible before deleting any
8160 2013-07-26 Matthias Meulien <orontee@gmail.com>
8162 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
8163 vc-print-root-log. (Bug#14948)
8165 2013-07-26 Richard Stallman <rms@gnu.org>
8167 Add aliases for encrypting mail.
8168 * epa.el (epa-mail-aliases): New option.
8169 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
8170 Bind inhibit-read-only so read-only text doesn't ruin everything.
8171 (epa-mail-default-recipients): New subroutine broken out.
8172 Handle epa-mail-aliases.
8174 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8176 Add support for lexical variables to the debugger's `e' command.
8177 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
8178 vars, except for debugger-outer-match-data.
8179 (debugger-frame-number): Move check for "on a function call" from
8180 callers into it. Add `skip-base' argument.
8181 (debugger-frame, debugger-frame-clear): Simplify accordingly.
8182 (debugger-env-macro): Only reset the state stored in non-variables,
8183 i.e. current-buffer and match-data.
8184 (debugger-eval-expression): Rewrite using backtrace-eval.
8185 * subr.el (internal--called-interactively-p--get-frame): Remove.
8186 (called-interactively-p):
8187 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
8188 `base' arg of backtrace-frame instead.
8190 2013-07-26 Glenn Morris <rgm@gnu.org>
8192 * align.el (align-regexp): Doc fix. (Bug#14857)
8193 (align-region): Explicit error if subexpression missing/does not match.
8195 * simple.el (global-visual-line-mode):
8196 Do not duplicate the mode lighter. (Bug#14858)
8198 2013-07-25 Martin Rudalics <rudalics@gmx.at>
8200 * window.el (display-buffer): In display-buffer bind
8201 split-window-keep-point to t, bug#14829.
8203 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
8205 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
8206 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
8207 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
8208 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
8210 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
8211 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
8213 2013-07-25 Glenn Morris <rgm@gnu.org>
8215 * dired-x.el (dired-mark-extension): Convert comment to doc string.
8217 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
8219 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
8220 parameter to modify-frame-parameters if the value has not changed;
8221 this is a workaround for bug#14949.
8222 (desktop--make-frame): On cl-delete-if call, check parameter name,
8225 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
8227 * vc/vc.el (vc-ignore): New function.
8229 * vc/vc-svn.el (vc-svn-ignore): New function.
8231 * vc/vc-hg.el (vc-hg-ignore): New function.
8233 * vc/vc-git.el (vc-git-ignore): New function.
8235 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
8236 (vc-dir-ignore): New function.
8238 * vc/vc-cvs.el (vc-cvs-ignore): New function.
8239 (cvs-append-to-ignore): Move here from pcvs.el.
8241 * vc/vc-bzr.el (vc-bzr-ignore): New function.
8243 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
8245 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
8247 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
8248 (desktop-restore-frames): Warn when deleting an existing frame failed.
8250 2013-07-24 Glenn Morris <rgm@gnu.org>
8252 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
8254 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
8256 * filenotify.el (file-notify-supported-p):
8257 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
8260 * autorevert.el (auto-revert-use-notify):
8261 (auto-revert-notify-add-watch):
8262 * net/tramp.el (tramp-file-name-for-operation):
8263 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
8264 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8265 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
8266 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
8267 Remove `file-notify-supported-p' entry.
8269 2013-07-24 Glenn Morris <rgm@gnu.org>
8271 * printing.el: Replace all uses of deleted ps-windows-system,
8272 ps-lp-system, ps-flatten-list with lpr- versions.
8274 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
8276 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
8277 checked with memq (bug#14935).
8279 * files.el (revert-buffer-function): Use a non-nil default.
8280 (revert-buffer-preserve-modes): Declare var to
8281 provide access to the `preserve-modes' argument.
8282 (revert-buffer): Let-bind it.
8283 (revert-buffer--default): New function, extracted from revert-buffer.
8285 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
8287 * lpr.el: Signal print errors more prominently.
8288 (print-region-function): Don't default to nil.
8289 (lpr-print-region): New function, extracted from print-region-1.
8290 Check lpr's return value and signal an error in case of problem.
8291 (print-region-1): Use it.
8292 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
8294 (ps-printer-name): Default to nil.
8295 (ps-printer-name-option): Default to lpr-printer-switch.
8296 (ps-print-region-function): Don't default to nil.
8297 (ps-postscript-code-directory): Simplify default.
8298 (ps-do-despool): Use lpr-print-region to properly check the outcome.
8299 (ps-string-list, ps-eval-switch, ps-flatten-list)
8300 (ps-flatten-list-1): Remove.
8301 (ps-multibyte-buffer): Avoid setq.
8302 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
8303 (print-region-function, ps-print-region-function): Don't set them here.
8305 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
8307 * ido.el (ido-fractionp):
8308 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
8309 (ido-max-file-prompt-width, ido-unc-hosts-cache)
8310 (ido-max-directory-size, ido-max-dir-file-cache)
8311 (ido-decorations): Doc fix.
8313 * ansi-color.el: Fix old URL.
8315 2013-07-23 Michael R. Mauger <michael@mauger.com>
8317 * progmodes/sql.el: Version 3.3
8318 (sql-product-alist): Improve oracle :prompt-cont-regexp.
8319 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
8320 (sql-interactive-remove-continuation-prompt): Rewrite, use
8321 functions above. Fix continuation prompt and complete output line
8323 (sql-redirect-one, sql-execute): Use `read-only-mode' on
8324 redirected output buffer.
8325 (sql-mode): Restore deleted code (Bug#13591).
8327 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
8329 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
8331 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
8333 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
8335 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
8336 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8337 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
8339 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
8341 * desktop.el (desktop-clear): Simplify; remove useless checks
8342 against invalid buffer names.
8343 (desktop-list*): Use cl-list*.
8344 (desktop-buffer-info, desktop-create-buffer): Simplify.
8346 2013-07-23 Leo Liu <sdl.web@gmail.com>
8348 * bookmark.el (bookmark-make-record): Restore NAME as a default
8351 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
8353 * emacs-lisp/autoload.el (autoload--setup-output): New function,
8354 extracted from autoload--insert-text.
8355 (autoload--insert-text): Remove.
8356 (autoload--print-cookie-text): New function, extracted from
8357 autoload--insert-cookie-text.
8358 (autoload--insert-cookie-text): Remove.
8359 (autoload-generate-file-autoloads): Adjust calls accordingly.
8361 * winner.el (winner-hook-installed-p): Remove.
8362 (winner-mode): Simplify accordingly.
8364 * subr.el (add-to-list): Fix compiler-macro when `append' is
8365 not constant. Don't use `cl-member' for the base case.
8367 * progmodes/subword.el: Fix boundary case (bug#13758).
8368 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
8370 (subword-backward-regexp): Make it a constant.
8371 (subword-forward-internal): Don't treat a trailing capital as the
8372 beginning of a word.
8374 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
8376 * emacs-lisp/package.el (package-menu-mode): Don't modify the
8377 global value of tabulated-list-revert-hook (bug#14930).
8379 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
8381 * desktop.el: Require 'cl-lib.
8382 (desktop-before-saving-frames-functions): New hook.
8383 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
8384 for frames being saved. Rename from desktop--save-minibuffer-frames.
8385 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
8386 Do not save frames with non-nil `desktop-dont-save' parameter.
8387 Filter out deleted frames.
8388 (desktop--find-frame): Use cl-find-if.
8389 (desktop--select-frame): Use cl-(first|second|third) to access values
8391 (desktop--make-frame): Use cl-delete-if.
8392 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
8393 (desktop-restore-frames): Use cl-(first|second|third) to access values
8394 of desktop-mini. Look for visible frame at the end, not while
8397 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
8398 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
8399 Use string-match-p, looking-at-p (bug#14927).
8401 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
8403 * desktop.el (desktop-saved-frame-states):
8404 Rename from desktop--saved-states; all users changed.
8405 (desktop-save-frames): Rename from desktop--save-frames.
8406 Do not save state to desktop file.
8407 (desktop-save): Save desktop-saved-frame-states to desktop file
8409 (desktop-restoring-frames-p): New function.
8410 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
8411 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
8412 buffer-lists when restoring frames. Suggested by Martin Rudalics.
8414 * desktop.el: Correctly restore iconified frames.
8415 (desktop--filter-iconified-position): New function.
8416 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
8418 2013-07-20 Glenn Morris <rgm@gnu.org>
8420 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
8421 Let `message' do the formatting.
8422 (def-gdb-preempt-display-buffer): Add explicit format.
8424 * image-dired.el (image-dired-track-original-file):
8425 Use with-current-buffer.
8426 (image-dired-track-thumbnail): Use with-current-buffer.
8427 Avoid changing point of wrong window.
8429 * image-dired.el (image-dired-track-original-file):
8430 Avoid changing point of wrong window. (Bug#14909)
8432 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
8434 * progmodes/gdb-mi.el (gdb-done-or-error):
8435 Guard against "%" in gdb output. (Bug#14127)
8437 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
8439 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
8442 * international/mule.el (coding-system-iso-2022-flags): Fix last
8445 2013-07-20 Kenichi Handa <handa@gnu.org>
8447 * international/mule.el (coding-system-iso-2022-flags):
8448 Add `8-bit-level-4'. (Bug#8522)
8450 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8452 * net/shr.el (shr-mouse-browse-url): New command and keystroke
8455 * net/eww.el (eww-process-text-input): Allow inputting when the
8456 point is at the start of the line, as the properties aren't
8459 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
8462 2013-07-19 Richard Stallman <rms@gnu.org>
8464 * epa.el (epa-popup-info-window): Doc fix.
8466 * subr.el (split-string): New arg TRIM.
8468 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
8470 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
8471 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
8473 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
8475 * filenotify.el (file-notify--library): Rename from
8476 `file-notify-support'. Do not autoload. Adapt all uses.
8477 (file-notify-supported-p): New defun.
8479 * autorevert.el (auto-revert-use-notify):
8480 Use `file-notify-supported-p' instead of `file-notify-support'.
8482 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
8484 * net/tramp.el (tramp-file-name-for-operation):
8485 Add `file-notify-supported-p'.
8487 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
8489 (tramp-sh-file-name-handler-alist): Add it as handler for
8490 `file-notify-supported-p '.
8492 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
8493 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8494 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
8495 Add `ignore' as handler for `file-notify-*' functions.
8497 2013-07-17 Eli Zaretskii <eliz@gnu.org>
8499 * simple.el (line-move-partial, line-move): Don't start vscroll or
8500 scroll-up if the current line is not taller than the window.
8503 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
8505 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
8506 highlight question marks in the method names as strings.
8507 (ruby-block-beg-keywords): Inline.
8508 (ruby-font-lock-keyword-beg-re): Extract from
8509 `ruby-font-lock-keywords'.
8511 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
8513 * frame.el (blink-cursor-blinks): New defcustom.
8514 (blink-cursor-blinks-done): New defvar.
8515 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
8516 (blink-cursor-timer-function): Check if number of blinks has been
8518 (blink-cursor-suspend, blink-cursor-check): New defuns.
8520 2013-07-15 Glenn Morris <rgm@gnu.org>
8522 * edmacro.el (edmacro-format-keys): Fix previous change.
8524 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
8526 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
8527 The hack didn't work outside English locales anyway.
8529 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
8531 * simple.el (define-alternatives): Rename from alternatives-define,
8532 per RMS' suggestion.
8534 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
8536 * desktop.el (desktop-restore-frames): Change default to t.
8537 (desktop-restore-in-current-display): Now offer more options.
8538 (desktop-restoring-reuses-frames): New customization option.
8539 (desktop--saved-states): Doc fix.
8540 (desktop-filter-parameters-alist): New variable, renamed and expanded
8541 from desktop--excluded-frame-parameters.
8542 (desktop--target-display): New variable.
8543 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
8544 (desktop--filter-tty*, desktop--filter-*-color)
8545 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
8546 (desktop--filter-save-desktop-parm)
8547 (desktop-restore-in-original-display-p): New functions.
8548 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
8549 (desktop--save-minibuffer-frames): New function, inspired by a similar
8550 function from Martin Rudalics.
8551 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
8552 (desktop--restore-in-this-display-p): Remove.
8553 (desktop--find-frame): Rename from desktop--find-frame-in-display
8554 and add predicate argument.
8555 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
8556 (desktop--reuse-list): New variable.
8557 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
8559 (desktop--restore-frames): Add support for "minibuffer-special" frames.
8561 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
8563 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
8565 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
8567 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
8568 Highlight conversion methods on Kernel.
8570 2013-07-13 Alan Mackenzie <acm@muc.de>
8572 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
8573 and comment it out. This out-commenting enables certain C++
8574 declarations to be parsed correctly.
8576 2013-07-13 Eli Zaretskii <eliz@gnu.org>
8578 * international/mule.el (define-coding-system): Doc fix.
8580 * simple.el (default-font-height): Don't call font-info if the
8581 frame's default font didn't change since the frame was created.
8584 2013-07-13 Leo Liu <sdl.web@gmail.com>
8586 * ido.el (ido-read-file-name): Guard against non-symbol value.
8588 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
8590 * progmodes/python.el (python-imenu--build-tree): Fix corner case
8593 2013-07-13 Leo Liu <sdl.web@gmail.com>
8595 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
8596 ido-set-matches call. (Bug#6852)
8598 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
8600 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
8601 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
8603 (ruby-font-lock-keywords): Distinguish calls to functions with
8604 module-like names from module references. Highlight character
8607 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
8609 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
8610 (gdb-send): Handle continued commands. (Bug#14847)
8612 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
8614 * desktop.el (desktop--v2s): Remove unused local variable.
8615 (desktop-save-buffer): Make defvar-local; adjust docstring.
8616 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
8617 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
8619 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
8621 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
8623 2013-07-12 Eli Zaretskii <eliz@gnu.org>
8625 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
8628 2013-07-12 Glenn Morris <rgm@gnu.org>
8630 * doc-view.el: Require cl-lib at runtime too.
8631 (doc-view-remove-if): Remove.
8632 (doc-view-search-next-match, doc-view-search-previous-match):
8635 * edmacro.el: Require cl-lib at runtime too.
8636 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
8637 (edmacro-mismatch, edmacro-subseq): Remove.
8639 * shadowfile.el: Require cl-lib.
8640 (shadow-remove-if): Remove.
8641 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
8644 * wid-edit.el: Require cl-lib.
8645 (widget-choose): Use cl-remove-if.
8646 (widget-remove-if): Remove.
8648 * progmodes/ebrowse.el: Require cl-lib at runtime too.
8649 (ebrowse-delete-if-not): Remove.
8650 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
8651 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
8652 Use cl-delete-if-not.
8654 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
8656 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
8657 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
8659 2013-07-12 Leo Liu <sdl.web@gmail.com>
8661 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
8663 2013-07-11 Glenn Morris <rgm@gnu.org>
8665 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
8666 (edebug-gensym-index, edebug-gensym):
8667 Remove reimplementation of cl-gensym.
8668 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
8670 * thumbs.el: Require cl-lib at run-time too.
8671 (thumbs-gensym-counter, thumbs-gensym):
8672 Remove reimplementation of cl-gensym.
8673 (thumbs-temp-file): Use cl-gensym.
8675 * emacs-lisp/ert.el: Require cl-lib at runtime too.
8676 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
8677 (ert--intersection, ert--set-difference, ert--set-difference-eq)
8678 (ert--union, ert--gensym-counter, ert--gensym-counter)
8679 (ert--coerce-to-vector, ert--remove*, ert--string-position)
8680 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
8681 (ert-make-test-unbound, ert--expand-should-1)
8682 (ert--expand-should, ert--should-error-handle-error)
8683 (should-error, ert--explain-equal-rec)
8684 (ert--plist-difference-explanation, ert-select-tests)
8685 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
8686 Use cl-lib functions rather than reimplementations.
8688 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
8690 * net/tramp.el (tramp-methods): Extend docstring.
8691 (tramp-connection-timeout): New defcustom.
8692 (tramp-error-with-buffer): Reset timestamp only when appropriate.
8693 (with-tramp-progress-reporter): Simplify.
8694 (tramp-process-actions): Improve messages.
8696 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
8697 * net/tramp-sh.el (tramp-maybe-open-connection):
8698 Use `tramp-connection-timeout'.
8699 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
8702 2013-07-11 Leo Liu <sdl.web@gmail.com>
8704 * ido.el (ido-read-file-name): Conform to the requirements of
8705 read-file-name. (Bug#11861)
8706 (ido-read-directory-name): Conform to the requirements of
8707 read-directory-name.
8709 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
8711 * subr.el (delay-warning): New function.
8713 2013-07-10 Eli Zaretskii <eliz@gnu.org>
8715 * simple.el (default-line-height): New function.
8716 (line-move-partial, line-move): Use it instead of computing the
8718 (line-move-partial): Always compute ROWH. If the last line is
8719 partially-visible, but its text is completely visible, allow
8720 cursor to enter such a partially-visible line.
8722 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
8724 Improve error messages. (Bug#14808)
8726 * net/tramp.el (tramp-current-connection): New defvar, moved from
8728 (tramp-message-show-progress-reporter-message): Remove, not
8730 (tramp-error-with-buffer): Show message in minibuffer.
8731 Discard input before waiting. Reset connection timestamp.
8732 (with-tramp-progress-reporter): Improve messages.
8733 (tramp-process-actions): Use progress reporter. Delete process in
8734 case of error. Improve messages.
8736 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
8737 Call `tramp-error-with-buffer' with vector and buffer.
8738 (tramp-current-connection): Remove.
8739 (tramp-maybe-open-connection): The car of
8740 `tramp-current-connection' are the first 3 slots of the vector.
8742 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
8744 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
8745 inside continued strings.
8747 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
8749 Timestamp fixes for undo (Bug#14824).
8750 * files.el (clear-visited-file-modtime): Move here from fileio.c.
8752 2013-07-10 Leo Liu <sdl.web@gmail.com>
8754 * files.el (require-final-newline): Allow safe local value.
8757 2013-07-09 Leo Liu <sdl.web@gmail.com>
8759 * ido.el (ido-read-directory-name): Handle fallback.
8760 (ido-read-file-name): Update DIR to ido-current-directory.
8762 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
8764 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
8766 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
8767 "autoload". Remove "warn lower camel case" section, previously
8768 commented out. Highlight negation char. Do not highlight the
8769 target in singleton method definitions.
8771 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
8773 * faces.el (tty-setup-hook): Declare the hook.
8775 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
8776 and detect when a guard/pred depends on local vars (bug#14773).
8777 (pcase--u1): Adjust caller.
8779 2013-07-08 Eli Zaretskii <eliz@gnu.org>
8781 * simple.el (line-move-partial, line-move): Account for
8783 (line-move-partial): Avoid setting vscroll when the last
8784 partially-visible line in window is of default height.
8786 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
8788 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
8791 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
8793 * subr.el (read-quoted-char): Remove unused local variable `char'.
8795 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
8797 * ediff.el (ediff-version): Version update.
8798 (ediff-files-command, ediff3-files-command, ediff-merge-command)
8799 (ediff-merge-with-ancestor-command, ediff-directories-command)
8800 (ediff-directories3-command, ediff-merge-directories-command)
8801 (ediff-merge-directories-with-ancestor-command): New functions.
8802 All are command-line interfaces to ediff: to facilitate calling
8803 Emacs with the appropriate ediff functions invoked.
8805 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
8806 (viper-save-kill-buffer): Check if buffer is modified.
8808 * viper.el (viper-version): Version update.
8809 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
8811 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
8813 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
8814 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
8815 (viper-intercept-ESC-key): Simplify.
8816 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
8817 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
8818 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
8819 (viper-setup-ESC-to-escape): New functions.
8820 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
8821 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
8823 2013-07-07 Eli Zaretskii <eliz@gnu.org>
8825 * simple.el (default-font-height, window-screen-lines):
8827 (line-move, line-move-partial): Use them instead of
8828 frame-char-height and window-text-height. This makes scrolling
8829 text smoother when the buffer's default face uses a font that is
8830 different from the frame's default font.
8832 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
8834 * files.el (write-file): Do not display confirm dialog for NS,
8835 it does its own dialog, which can't be canceled (Bug#14578).
8837 2013-07-06 Eli Zaretskii <eliz@gnu.org>
8839 * simple.el (line-move-partial): Adjust the row returned by
8840 posn-at-point for the current window-vscroll. (Bug#14567)
8842 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
8844 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
8845 (tramp-sh-file-inotifywait-process-filter): Handle file names with
8848 2013-07-06 Martin Rudalics <rudalics@gmx.at>
8850 * window.el (window-state-put-stale-windows): New variable.
8851 (window--state-put-2): Save list of windows without matching buffer.
8852 (window-state-put): Remove "bufferless" windows if possible.
8854 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
8856 * simple.el (alternatives-define): Remove leftover :group keyword.
8859 2013-07-06 Leo Liu <sdl.web@gmail.com>
8861 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
8862 (ido-enable-virtual-buffers): New variable.
8863 (ido-buffer-internal, ido-toggle-virtual-buffers)
8864 (ido-make-buffer-list): Use it.
8865 (ido-exhibit): Support turning on and off virtual buffers
8868 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
8870 * simple.el (alternatives-define): New macro.
8872 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
8874 * subr.el (read-quoted-char): Use read-key.
8875 (sit-for): Let read-event decode tty input (bug#14782).
8877 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
8879 * calendar/todo-mode.el: Add handling of file deletion, both by
8880 mode command and externally. Fix various related bugs.
8881 Clarify Commentary and improve some documentation strings and code.
8882 (todo-delete-file): New command.
8883 (todo-check-file): New function.
8884 (todo-show): Handle external deletion of the file we're trying to
8885 show (bug#14688). Replace called-interactively-p by an optional
8886 prefix argument to avoid problematic interaction with catch form
8887 when byte compiled (bug#14702).
8888 (todo-quit): Handle external deletion of the archive's todo file.
8889 Make sure the buffer that was visiting the archive file is still
8890 live before trying to bury it.
8891 (todo-category-completions): Handle external deletion of any
8892 category completion files.
8893 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
8894 of todo files, in case of external deletion.
8895 (todo-add-file): Replace unnecessary setq by let-binding.
8896 (todo-find-archive): Check whether there are any archives.
8897 Replace unnecessary setq by let-binding.
8898 (todo-archive-done-item): Use find-file-noselect to get the
8899 archive buffer whether or not the archive already exists.
8900 Remove superfluous code. Use file size instead of buffer-file-name to
8901 check if the archive is new; if it is, update list of archives.
8902 (todo-default-todo-file): Allow nil to be a valid value for when
8903 there are no todo files.
8904 (todo-reevaluate-default-file-defcustom): Use corrected definition
8905 of todo-default-todo-file.
8906 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
8907 (todo-delete-category, todo-show-categories-table)
8908 (todo-category-number): Clarify comment.
8909 (todo-filter-items): Clarify documentation string.
8910 (todo-show-current-file, todo-display-as-todo-file)
8911 (todo-reset-and-enable-done-separator): Tweak documentation string.
8912 (todo-done-separator): Make separator length window-width, since
8913 bug#2749 is now fixed.
8915 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
8917 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
8918 Support both "gvfs-monitor-dir" and "inotifywait".
8919 (tramp-sh-file-inotifywait-process-filter): Rename from
8920 `tramp-sh-file-notify-process-filter'.
8921 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8922 (tramp-get-remote-gvfs-monitor-dir): New defuns.
8924 2013-07-05 Leo Liu <sdl.web@gmail.com>
8926 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
8928 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
8930 * frame.el (display-pixel-height, display-pixel-width)
8931 (display-mm-height, display-mm-width): Mention behavior on
8932 multi-monitor setups in docstrings.
8933 (w32-display-monitor-attributes-list): Declare function.
8934 (display-monitor-attributes-list): Use it.
8936 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
8938 * filenotify.el: New package.
8940 * autorevert.el (top): Require filenotify.el.
8941 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
8943 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
8944 (auto-revert-notify-handler): Use `file-notify-*' functions.
8946 * subr.el (file-notify-handle-event): Move function to filenotify.el.
8948 * net/tramp.el (tramp-file-name-for-operation):
8949 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
8951 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
8952 for `file-notify-add-watch' and `file-notify-rm-watch'.
8953 (tramp-process-sentinel): Improve trace.
8954 (tramp-sh-handle-file-notify-add-watch)
8955 (tramp-sh-file-notify-process-filter)
8956 (tramp-sh-handle-file-notify-rm-watch)
8957 (tramp-get-remote-inotifywait): New defuns.
8959 2013-07-03 Juri Linkov <juri@jurta.org>
8961 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
8962 call of `occur-read-primary-args' to interactive spec.
8964 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
8965 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
8967 2013-07-03 Matthias Meulien <orontee@gmail.com>
8969 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
8970 `Buffer-menu-multi-occur'. Add it to the menu.
8971 (Buffer-menu-mode): Document it in docstring.
8972 (Buffer-menu-multi-occur): New command. (Bug#14673)
8974 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
8976 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
8977 keywords and built-ins.
8979 2013-07-03 Glenn Morris <rgm@gnu.org>
8981 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
8983 Make info-xref checks case-sensitive by default
8984 * info.el (Info-find-node, Info-find-in-tag-table)
8985 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
8986 Add option for exact case matching of nodes.
8987 * info-xref.el (info-xref): New custom group.
8988 (info-xref-case-fold): New option.
8989 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
8991 2013-07-03 Leo Liu <sdl.web@gmail.com>
8993 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
8995 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
8997 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
8998 middle of block statement initially, lower the depth. Remove
8999 FIXME comment, not longer valid. Remove middle of block statement
9000 detection, no need to do that anymore since we've been using
9001 `ruby-parse-region' here.
9003 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
9005 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
9007 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
9009 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
9011 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
9013 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
9014 (desktop-restore-in-current-display): New customization option.
9015 (desktop--excluded-frame-parameters): Add `font'.
9016 (desktop--save-frames): Rename from desktop--save-windows.
9017 (desktop--restore-in-this-display-p): New function.
9018 (desktop--make-full-frame): Remove unwanted width/height from
9019 full(width|height) frames.
9020 (desktop--restore-frames): Rename from desktop--restore-windows.
9021 Obey desktop-restore-current-display. Do not delete old frames or
9022 select a new frame unless we were able to restore at least one frame.
9024 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
9026 * files.el (find-file-noselect): Simplify conditional expression.
9028 * textmodes/remember.el (remember-append-to-file):
9029 Don't mix `find-buffer-visiting' and `get-file-buffer'.
9031 Add `remember-notes' function to store random notes across Emacs
9033 * textmodes/remember.el (remember-data-file): Add :set callback to
9034 affect notes buffer (if any).
9035 (remember-notes): New command.
9036 (remember-notes-buffer-name, bury-remember-notes-on-kill):
9037 New defcustoms for the `remember-notes' function.
9038 (remember-notes-save-and-bury-buffer): New command.
9039 (remember-notes-mode-map): New variable.
9040 (remember-mode): New minor mode.
9041 (remember-notes--kill-buffer-query): New function.
9042 * startup.el (initial-buffer-choice): Add notes to custom type.
9044 2013-06-30 Eli Zaretskii <eliz@gnu.org>
9046 * bindings.el (right-char, left-char): Don't call sit-for, this is
9047 no longer needed. Use arithmetic comparison only for numerical
9050 * international/mule-cmds.el (select-safe-coding-system):
9051 Handle the case of FROM being a string correctly. (Bug#14755)
9053 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
9055 * net/shr.el (shr-make-table-1): Add a sanity check that allows
9056 progression on degenerate tables.
9057 (shr-rescale-image): ImageMagick animated images currently don't work.
9059 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
9061 Some fixes and improvements for desktop frame restoration.
9062 It is still experimental and disabled by default.
9063 * desktop.el (desktop--save-windows): Put the selected frame at
9064 the head of the list.
9065 (desktop--make-full-frame): New function.
9066 (desktop--restore-windows): Try to re-select the frame that was
9067 selected upon saving. Do not abort if some frames fail to restore,
9068 just show an error message and continue. Set up maximized frames
9069 so they have default non-maximized dimensions.
9071 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
9073 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
9074 Don't start heredoc inside a string or comment.
9076 2013-06-29 Eli Zaretskii <eliz@gnu.org>
9078 * bindings.el (visual-order-cursor-movement): New defcustom.
9079 (right-char, left-char): Provide visual-order cursor motion by
9080 calling move-point-visually. Update the doc strings.
9082 2013-06-28 Kenichi Handa <handa@gnu.org>
9084 * international/mule.el (define-coding-system): New coding system
9085 properties :inhibit-null-byte-detection,
9086 :inhibit-iso-escape-detection, and :prefer-utf-8.
9087 (set-buffer-file-coding-system): If :charset-list property of
9088 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
9089 appropriate for setting.
9091 * international/mule-cmds.el (select-safe-coding-system):
9092 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
9093 multibyte characters, return utf-8 (or one of its siblings).
9095 * international/mule-conf.el (prefer-utf-8): New coding system.
9096 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
9099 2013-06-28 Ivan Kanis <ivan@kanis.fr>
9101 * net/shr.el (shr-render-region): New function.
9103 * net/eww.el: Autoload `eww-browse-url'.
9105 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
9107 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9108 Adapt to `package-desc-version' being a list.
9109 Use `package--ac-desc-version' to retrieve version from a package
9112 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
9114 New experimental feature to save&restore window and frame setup.
9115 * desktop.el (desktop-save-windows): New defcustom.
9116 (desktop--saved-states): New var.
9117 (desktop--excluded-frame-parameters): New defconst.
9118 (desktop--filter-frame-parms, desktop--find-frame-in-display)
9119 (desktop--restore-windows, desktop--save-windows): New functions.
9120 (desktop-save): Call `desktop--save-windows'.
9121 (desktop-read): Call `desktop--restore-windows'.
9123 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
9125 * net/shr.el (add-face-text-property): Remove compat definition.
9127 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
9129 * info.el (Info-try-follow-nearest-node): Move search for footnote
9130 above search for node name to prevent missing a footnote (bug#14717).
9132 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
9134 * obsolete/otodo-mode.el: Add obsolescence info to file header.
9136 2013-06-27 Leo Liu <sdl.web@gmail.com>
9138 * net/eww.el (eww-read-bookmarks): Check file size.
9140 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
9142 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
9143 advice--pending if newdef is nil or an autoload (bug#13820).
9144 (advice-mapc): New function.
9146 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
9148 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
9150 (eww-mode-map): Add a menu bar.
9151 (eww-add-bookmark): New command.
9152 (eww-bookmark-mode): New mode and commands.
9153 (eww-add-bookmark): Remove newlines from the title.
9154 (eww-bookmark-browse): Don't bug out if it's the only window.
9156 2013-06-26 Glenn Morris <rgm@gnu.org>
9158 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
9159 (hfy-size): Handle ttys. (Bug#14668)
9161 * info-xref.el: Update for Texinfo 5 change in *note format.
9162 (info-xref-node-re, info-xref-note-re): New constants.
9163 (info-xref-check-buffer): Use info-xref-note-re.
9165 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
9167 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
9169 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
9170 nil terminate the loop (bug#14718).
9172 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9174 * net/eww.el: Rework history traversal. When going forward/back,
9175 put these actions into the history, too, so that they can be
9177 (eww-render): Move the history reset to the correct buffer.
9179 2013-06-25 Juri Linkov <juri@jurta.org>
9181 * files-x.el (modify-dir-local-variable): Change the header comment
9182 in the file with directory local variables. (Bug#14692)
9184 * files-x.el (read-file-local-variable-value): Add `default'.
9187 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9189 * net/eww.el (eww-make-unique-file-name): Create a unique file
9190 name before saving to entering `y' accidentally asynchronously.
9192 2013-06-25 Ivan Kanis <ivan@kanis.fr>
9194 * net/eww.el (eww-download): New command and keystroke.
9196 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9198 * net/eww.el (eww-copy-page-url): Change name of command.
9200 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
9201 be more consistent with Info and dired.
9203 * net/eww.el (eww-mode-map): Ditto.
9205 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
9207 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
9208 packages from archives.
9209 (package-archive-contents): Change format; include obsolete packages.
9210 (package-desc): Use `dir' to mark builtin packages.
9211 (package--from-builtin): Set the `dir' field to `builtin'.
9212 (generated-autoload-file, version-control): Declare.
9213 (package-compute-transaction): Change first arg and return value to be
9214 lists of package-descs. Adjust to new package-archive-contents format.
9215 (package--add-to-archive-contents): Adjust to new
9216 package-archive-contents format.
9217 (package-download-transaction): Arg is now a list of package-descs.
9218 (package-install): If `pkg' is a package name, pass it as
9219 a requirement, so it is subject to the usual (e.g. disabled) checks.
9220 (describe-package): Accept package-desc as well.
9221 (describe-package-1): Describe a specific package-desc. Add links to
9222 other package-descs for the same package name.
9223 (package-menu-describe-package): Pass the actual package-desc.
9224 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
9226 (package-desc-status): New function.
9227 (package-menu--refresh): New function, extracted
9228 from package-menu--generate.
9229 (package-menu--generate): Use it.
9230 (package-delete): Update package-alist.
9231 (package-menu-execute): Don't call package-initialize.
9233 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
9234 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
9235 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
9236 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
9237 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
9238 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
9240 2013-06-25 Martin Rudalics <rudalics@gmx.at>
9242 * window.el (window--state-get-1): Workaround for bug#14527.
9243 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
9245 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9247 * net/eww.el (eww-back-url): Implement the history by stashing all
9248 the data into a list.
9249 (eww-forward-url): Allow going forward in the history, too.
9251 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
9253 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
9254 for values and use read--expression for expressions (bug#14710).
9255 (read-file-local-variable): Avoid setq.
9256 (read-file-local-variable-mode): Use minor-mode-list.
9258 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9260 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
9263 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9265 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
9266 Update imenu-support when dialect changes.
9268 2013-06-25 Leo Liu <sdl.web@gmail.com>
9270 * ido.el (ido-read-internal): Allow forward slash on windows.
9272 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
9274 * net/eww.el (eww): Start of strings is \\`, not ^.
9276 2013-06-24 Ivan Kanis <ivan@kanis.fr>
9278 * net/shr.el (shr-browse-url): Fix interactive spec.
9280 * net/eww.el (eww): Add a trailing slash to domain names.
9282 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
9284 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
9286 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
9288 * net/shr.el (shr-browse-url): Use an external browser if given a
9291 * net/eww.el (eww-external-browser): Move to shr.
9293 2013-06-24 Ivan Kanis <ivan@kanis.fr>
9295 * net/eww.el (eww): Work more correctly for file: URLs.
9296 (eww-detect-charset): Allow quoted charsets.
9297 (eww-yank-page-url): New command and keystroke.
9299 2013-06-24 Daiki Ueno <ueno@gnu.org>
9301 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
9302 file name of gpg executable.
9303 (epg-context-program): New function.
9304 (epg-context-home-directory): New function.
9305 (epg-context-set-program): New function.
9306 (epg-context-set-home-directory): New function.
9307 (epg--start): Use `epg-context-program' instead of
9309 (epg--list-keys-1): Likewise.
9311 2013-06-24 Leo Liu <sdl.web@gmail.com>
9313 * ido.el (ido-read-internal): Fix bug#14620.
9315 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
9317 * faces.el (face-documentation): Simplify.
9318 (read-face-attribute, tty-find-type, x-resolve-font-name):
9319 Use `string-match-p'.
9320 (list-faces-display): Use `string-match-p'. Simplify.
9321 (face-spec-recalc): Check face to avoid face alias loops.
9322 (read-color): Use `string-match-p' and non-capturing parenthesis.
9324 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
9326 * net/shr.el (shr-rescale-image): Use the new
9327 :max-width/:max-height functionality.
9329 2013-06-23 Ivan Kanis <ivan@kanis.fr>
9331 * net/eww.el (eww-search-prefix): New variable.
9333 (eww-external-browser): New variable.
9334 (eww-mode-map): New keystroke.
9335 (eww-browse-with-external-browser): New command.
9337 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
9339 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
9341 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
9342 Don't skip aligning the next header field when padding is 0;
9343 otherwise, field width is not respected unless the title is as
9346 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
9348 * emacs-lisp/package.el (package-el-version): Remove.
9349 (package-process-define-package): Fix inf-loop.
9350 (package-install): Allow symbols as arguments again.
9352 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
9354 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
9355 add some more keyword-like methods.
9356 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
9358 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
9360 * bs.el (bs-buffer-show-mark): Make defvar-local.
9361 (bs-mode): Use setq-local.
9363 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
9364 (emacs-lock--try-unlocking): Make defvar-local.
9366 2013-06-22 Glenn Morris <rgm@gnu.org>
9368 * play/cookie1.el (cookie-apropos): Minor simplification.
9370 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
9372 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
9374 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
9375 `regexp-opt', it breaks the build during dumping.
9377 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
9379 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
9380 Highlight keyword-like methods on Kernel and Module with
9381 font-lock-builtin-face.
9382 (auto-mode-alist): Consolidate different entries into one regexp
9383 and add more *file-s.
9385 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
9387 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
9389 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
9390 (diary-entry): Use it in the action of this button type instead of
9393 * calendar/todo-mode.el: New version.
9394 (todo-add-category): Append new category to end of file and give
9395 it the highest number, instead of putting it at the beginning and
9396 giving it 0. Incorporate noninteractive functionality.
9397 (todo-forward-category): Adapt to 1-based category numbering.
9398 Allow skipping over archived categories.
9399 (todo-backward-category): Derive from todo-forward-category.
9400 (todo-backward-item, todo-forward-item): Make noninteractive and
9401 delegate interactive part to new commands. Make sensitive to done items.
9402 (todo-categories): Make value an alist of category names and
9403 vectors of item counts.
9404 (todo-category-beg): Make a defconst.
9405 (todo-category-number): Use 1 instead of 0 as initial value.
9406 (todo-category-select): Make sensitive to overlays, optional item
9407 highlighting and done items.
9408 (todo-delete-item): Make sensitive to overlays and marked and done items.
9409 (todo-edit-item): Make sensitive to overlays and editing of
9410 date/time header optional. Add format checks.
9411 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
9412 no-op if point is not on an item. Advertise using todo-edit-quit.
9413 (todo-edit-mode): Make sensitive to new format, font-locking, and
9414 multiple todo files.
9415 (todo-insert-item, todo-insert-item-here): Derive from
9416 todo-basic-insert-item and extend functionality.
9417 (todo-item-end, todo-item-start): Make sensitive to done items.
9418 (todo-item-string): Don't return text properties. Restore point.
9419 (todo-jump-to-category): Make sensitive to multiple todo files and
9420 todo archives. Use extended category completion.
9421 (todo-lower-item, todo-raise-item): Rename to *-priority and
9422 derive from todo-set-item-priority.
9423 (todo-mode): Derive from special-mode. Make sensitive to new
9424 format, font-locking and multiple todo files. Make read-only.
9425 (todo-mode-map): Don't suppress digit keys, so they can supply
9426 prefix arguments. Add many new key bindings.
9427 (todo-prefix): Insert as an overlay instead of file text.
9428 Change semantics from diary date expression to purely visual mark.
9429 (todo-print): Rename to todo-print-buffer. Make buffer display
9430 features printable. Remove option to restrict number of items
9431 printed. Add option to print to file.
9432 (todo-print-function): Rename to todo-print-buffer-function.
9433 (todo-quit): Extend to handle exiting new todo modes.
9434 (todo-remove-item): Make sensitive to overlays.
9435 (todo-save): Extend to buffers of filtered items.
9436 (todo-show): Make sensitive to done items, multiple todo files and
9437 new todo modes. Offer to convert legacy todo file before creating
9438 first new todo file.
9439 (todo-show-priorities): Rename to todo-top-priorities.
9440 Change semantics of value 0.
9441 (todo-top-priorities): Rename to todo-filter-top-priorities,
9442 derive from todo-filter-items and extend functionality.
9443 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
9444 and extend functionality to other types of filtered items.
9445 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
9446 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
9447 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
9448 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
9449 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
9450 (todo-edit-mode-hook, todo-entry-prefix-function)
9451 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
9452 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
9453 (todo-initials, todo-insert-threshold, todo-item-string-start)
9454 (todo-line-string, todo-menu, todo-mode-hook)
9455 (todo-more-important-p, todo-previous-answer, todo-previous-line)
9456 (todo-print-priorities, todo-remove-separator)
9457 (todo-save-top-priorities-too, todo-string-count-lines)
9458 (todo-string-multiline-p, todo-time-string-format)
9459 (todo-tmp-buffer-name): Remove.
9460 (todo-add-file, todo-archive-done-item, todo-choose-archive)
9461 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
9462 (todo-edit-category-diary-inclusion)
9463 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
9464 (todo-edit-file, todo-edit-item-date-day)
9465 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
9466 (todo-edit-item-date-month, todo-edit-item-date-to-today)
9467 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
9468 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
9469 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
9470 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
9471 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
9472 (todo-filter-top-priorities-multifile, todo-find-archive)
9473 (todo-find-filtered-items-file, todo-go-to-source-item)
9474 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
9475 (todo-jump-to-archive-category, todo-lower-category)
9476 (todo-mark-category, todo-marked-item-p, todo-merge-category)
9477 (todo-move-category, todo-move-item, todo-next-button)
9478 (todo-next-item, todo-padded-string, todo-powerset)
9479 (todo-previous-button, todo-previous-item)
9480 (todo-print-buffer-to-file, todo-raise-category)
9481 (todo-rename-category, todo-repair-categories-sexp, todo-search)
9482 (todo-set-category-number, todo-set-item-priority)
9483 (todo-set-top-priorities-in-category)
9484 (todo-set-top-priorities-in-file, todo-show-categories-table)
9485 (todo-sort-categories-alphabetically-or-numerically)
9486 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
9487 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
9488 (todo-toggle-item-header, todo-toggle-item-highlighting)
9489 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
9490 (todo-toggle-view-done-items, todo-toggle-view-done-only)
9491 (todo-unarchive-items, todo-unmark-category): New commands.
9492 (todo-absolute-file-name, todo-add-to-buffer-list)
9493 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
9494 (todo-basic-insert-item, todo-category-completions)
9495 (todo-category-number, todo-category-string-matcher-1)
9496 (todo-category-string-matcher-2, todo-check-filtered-items-file)
9497 (todo-check-format, todo-clear-matches)
9498 (todo-comment-string-matcher, todo-convert-legacy-date-time)
9499 (todo-current-category, todo-date-string-matcher)
9500 (todo-define-insertion-command, todo-diary-expired-matcher)
9501 (todo-diary-goto-entry, todo-diary-item-p)
9502 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
9503 (todo-display-categories, todo-display-sorted, todo-done-item-p)
9504 (todo-done-item-section-p, todo-done-separator)
9505 (todo-done-string-matcher, todo-files, todo-filter-items)
9506 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
9507 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
9508 (todo-insert-category-line, todo-insert-item-from-calendar)
9509 (todo-insert-sort-button, todo-insert-with-overlays)
9510 (todo-insertion-command-name, todo-insertion-key-bindings)
9511 (todo-label-to-key, todo-longest-category-name-length)
9512 (todo-make-categories-list, todo-mode-external-set)
9513 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
9514 (todo-modes-set-3, todo-multiple-filter-files)
9515 (todo-nondiary-marker-matcher, todo-prefix-overlays)
9516 (todo-read-category, todo-read-date, todo-read-dayname)
9517 (todo-read-file-name, todo-read-time)
9518 (todo-reevaluate-category-completions-files-defcustom)
9519 (todo-reevaluate-default-file-defcustom)
9520 (todo-reevaluate-filelist-defcustoms)
9521 (todo-reevaluate-filter-files-defcustom)
9522 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
9523 (todo-reset-done-separator, todo-reset-done-separator-string)
9524 (todo-reset-done-string, todo-reset-global-current-todo-file)
9525 (todo-reset-highlight-item, todo-reset-nondiary-marker)
9526 (todo-reset-prefix, todo-set-categories)
9527 (todo-set-date-from-calendar, todo-set-show-current-file)
9528 (todo-set-top-priorities, todo-short-file-name)
9529 (todo-show-current-file, todo-sort, todo-time-string-matcher)
9530 (todo-total-item-counts, todo-update-buffer-list)
9531 (todo-update-categories-display, todo-update-categories-sexp)
9532 (todo-update-count, todo-validate-name, todo-y-or-n-p):
9534 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
9536 (todo-categories, todo-display, todo-edit, todo-faces)
9537 (todo-filtered): New defgroups.
9538 (todo-archived-only, todo-button, todo-category-string, todo-date)
9539 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
9540 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
9541 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
9542 (todo-add-item-if-new-category, todo-always-add-time-string)
9543 (todo-categories-align, todo-categories-archived-label)
9544 (todo-categories-category-label, todo-categories-diary-label)
9545 (todo-categories-done-label, todo-categories-number-separator)
9546 (todo-categories-todo-label, todo-categories-totals-label)
9547 (todo-category-completions-files, todo-completion-ignore-case)
9548 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
9549 (todo-done-separator-string, todo-done-string)
9550 (todo-files-function, todo-filter-done-items, todo-filter-files)
9551 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
9552 (todo-initial-category, todo-initial-file, todo-item-mark)
9553 (todo-legacy-date-time-regexp, todo-mode-line-function)
9554 (todo-nondiary-marker, todo-number-prefix)
9555 (todo-print-buffer-function, todo-show-current-file)
9556 (todo-show-done-only, todo-show-first, todo-show-with-done)
9557 (todo-skip-archived-categories, todo-top-priorities-overrides)
9558 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
9559 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
9561 (todo-category-done, todo-date-pattern, todo-date-string-start)
9562 (todo-diary-items-buffer, todo-done-string-start)
9563 (todo-filtered-items-buffer, todo-item-start)
9564 (todo-month-abbrev-array, todo-month-name-array)
9565 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
9566 (todo-top-priorities-buffer): New defconsts.
9567 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
9568 (todo-categories-with-marks, todo-category-string-face)
9569 (todo-comment-face, todo-comment-string, todo-current-todo-file)
9570 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
9571 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
9572 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
9573 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
9574 (todo-font-lock-keywords, todo-global-current-todo-file)
9575 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
9576 (todo-insertion-commands-args)
9577 (todo-insertion-commands-args-genlist)
9578 (todo-insertion-commands-names, todo-insertion-map)
9579 (todo-key-bindings-t, todo-key-bindings-t+a)
9580 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
9581 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
9582 (todo-nondiary-face, todo-print-buffer, todo-time-face)
9583 (todo-visited): New variables.
9585 2013-06-21 Glenn Morris <rgm@gnu.org>
9587 * play/cookie1.el (cookie-apropos): Add optional display argument.
9588 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
9589 (psychoanalyze-pinhead): Use cookie-doctor.
9591 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
9593 * emacs-lisp/package.el (tar-get-file-descriptor)
9594 (tar--extract): Declare.
9596 2013-06-21 Eduard Wiebe <usenet@pusto.de>
9598 Extend flymake's warning predicate to be a function (bug#14217).
9599 * progmodes/flymake.el (flymake-warning-predicate): New.
9600 (flymake-parse-line): Use it.
9601 (flymake-warning-re): Make obsolete alias to
9602 `flymake-warning-predicate'.
9604 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9606 * emacs-lisp/package.el (package-alist): Include obsolete packages.
9607 (package-obsolete-list): Remove.
9608 (package-activate): Remove min-version argument. Add `force' argument.
9609 Adjust to new package-alist format.
9610 (package-mark-obsolete): Remove.
9611 (package-unpack): Force reload of the package's autoloads.
9612 (package-installed-p): Check builtins if the installed package is not
9614 (package-initialize): Don't reset package-obsolete-list.
9615 Don't specify which package version to activate.
9616 (package-process-define-package, describe-package-1)
9617 (package-menu--generate): Adjust to new package-alist format.
9619 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
9621 * allout-widgets.el (allout-widgets-mode-off)
9622 (allout-widgets-mode-on, allout-widgets-pre-command-business)
9623 (allout-widgets-post-command-business)
9624 (allout-widgets-after-copy-or-kill-function)
9625 (allout-widgets-after-undo-function, allout-test-range-overlaps)
9626 (allout-decorate-item-and-context)
9627 (allout-graphics-modification-handler): Fix typos in docstrings.
9628 (allout-get-or-create-parent-widget): Use `looking-at-p'.
9630 * cmuscheme.el (scheme-start-file): Doc fix.
9631 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
9632 (scheme-input-filter): Use `string-match-p'.
9634 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
9636 * dired-x.el: Use Dired consistently in docstrings.
9638 * dired.el: Use Dired consistently in docstrings.
9639 (dired-readin, dired-mode): Use `setq-local'.
9640 (dired-switches-alist): Make defvar-local.
9641 (dired-buffers-for-dir): Use `zerop'.
9642 (dired-safe-switches-p, dired-switches-escape-p)
9643 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
9644 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
9645 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
9646 (dired-goto-next-nontrivial-file): Use `string-match-p'.
9647 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
9648 (dired-toggle-marks, dired-mark-files-containing-regexp)
9649 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
9650 (dired-flag-auto-save-files, dired-flag-backup-files):
9652 (dired-mark-files-regexp, dired-build-subdir-alist):
9653 Use `string-match-p', `looking-at-p'.
9655 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
9656 (direct-print-region-helper): Use `string-match-p'.
9658 2013-06-21 Leo Liu <sdl.web@gmail.com>
9660 * comint.el (comint-redirect-results-list-from-process):
9663 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
9665 * net/eww.el (eww-update-header-line-format): Quote % characters.
9667 2013-06-21 Glenn Morris <rgm@gnu.org>
9669 * play/cookie1.el (cookie): New custom group.
9670 (cookie-file): New option.
9671 (cookie-check-file): New function.
9672 (cookie): Make it interactive. Make start and end messages optional.
9673 Interactively, display the result. Default to cookie-file.
9674 (cookie-insert): Default to cookie-file.
9675 (cookie-snarf): Make start and end messages optional.
9676 Default to cookie-file. Use with-temp-buffer.
9677 (cookie-read): Rename from read-cookie.
9678 Make start and end messages optional. Default to cookie-file.
9679 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
9681 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
9682 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
9684 2013-06-21 Leo Liu <sdl.web@gmail.com>
9686 * progmodes/octave.el (octave-mode): Backward compatibility fix.
9688 2013-06-21 Glenn Morris <rgm@gnu.org>
9690 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
9692 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9693 Daniel Hackney <dan@haxney.org>
9695 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
9696 Consolidate the single-file vs tarball code.
9697 (package-desc-suffix): New function.
9698 (package-desc-full-name): Don't bother inlining it.
9699 (package-load-descriptor): Return the new package-desc.
9700 (package-mark-obsolete): Remove unused arg `package'.
9701 (package-unpack): Make it work for single files as well.
9702 Make it update package-alist.
9703 (package--make-autoloads-and-stuff): Rename from
9704 package--make-autoloads-and-compile. Don't compile any more.
9705 (package--compile): New function.
9706 (package-generate-description-file): New function, extracted from
9707 package-unpack-single.
9708 (package-unpack-single): Remove.
9709 (package--with-work-buffer): Add indentation and debugging info.
9710 (package-download-single): Remove.
9711 (package-install-from-archive): Rename from package-download-tar, make
9712 it take a pkg-desc, and make it work for single files as well.
9713 (package-download-transaction): Simplify.
9714 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
9715 external tar program.
9716 (package-install-from-buffer): Remove `pkg-desc' argument.
9717 Use package-tar-file-info for tar-mode buffers.
9718 (package-install-file): Simplify accordingly.
9719 (package-archive-base): Change to take a pkg-desc.
9720 * tar-mode.el (tar--check-descriptor): New function, extracted from
9722 (tar-get-descriptor): Use it.
9723 (tar-get-file-descriptor): New function.
9724 (tar--extract): New function, extracted from tar-extract.
9725 (tar--extract): Use it.
9726 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
9727 case the summary uses non-ascii. Adjust to new calling convention of
9728 package-tar-file-info.
9730 2013-06-21 Leo Liu <sdl.web@gmail.com>
9732 * comint.el (comint-redirect-results-list-from-process):
9733 Fix random delay. (Bug#14681)
9735 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
9737 * profiler.el (profiler-format-number): Use log, not log10.
9739 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
9741 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
9743 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
9745 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
9746 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
9748 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
9749 (AUTOGENEL): ... here.
9750 * emacs-lisp/cl-macs.el (cl--sublis): New function.
9751 (cl--defsubst-expand): Use it.
9753 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
9755 * subr.el (log10): Move here from C code, and declare as obsolete.
9756 All uses of (log10 X) replaced with (log X 10).
9758 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
9760 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
9761 Declare with `defvar-local'.
9762 (tabulated-list-use-header-line, tabulated-list-entries)
9763 (tabulated-list-padding, tabulated-list-printer)
9764 (tabulated-list-sort-key): Declare with `defvar-local'.
9765 (tabulated-list-init-header, tabulated-list-print-fake-header):
9768 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
9770 * arc-mode.el (archive-mode): Add `archive-write-file' to
9771 `write-contents-functions' also for remote files. (Bug#14652)
9773 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
9775 * cus-edit.el (custom-commands): Fix typos.
9776 (custom-display): Fix tooltip text.
9777 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
9778 Fix typos in docstrings.
9779 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
9780 (custom-unlispify-menu-entry, custom-magic-value-create)
9781 (custom-add-see-also, custom-group-value-create): Use ?\s.
9782 (custom-guess-type, customize-apropos, editable-field)
9783 (custom-face-value-create): Use `string-match-p'.
9784 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
9786 * custom.el (custom-load-symbol): Use `string-match-p'.
9788 * ansi-color.el: Convert to lexical binding.
9789 (ansi-colors): Fix URL.
9790 (ansi-color-context, ansi-color-context-region): Use defvar-local.
9791 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
9792 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
9794 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9796 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
9798 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
9800 2013-06-19 Tom Tromey <tromey@redhat.com>
9802 * net/eww.el (eww-top-url): Remove.
9803 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
9804 (eww-render): Set new variables. Don't set eww-top-url.
9805 (eww-handle-link): Handle "prev", "home", and "contents".
9806 Downcase the rel text.
9807 (eww-top-url): Choose best top URL.
9809 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9811 * net/eww.el: Rewrite to implement form elements "by hand" instead of
9812 relying in widget.el. Using widget.el leads to too many
9813 user interface inconsistencies.
9814 (eww-self-insert): Implement entering commands in text fields.
9815 (eww-process-text-input): New function to make text input field editing
9817 (eww-submit): Rewrite to use the new-style form methods.
9818 (eww-select-display): Display the correct selected item.
9819 (eww-change-select): Implement changing the select value.
9820 (eww-toggle-checkbox): Implement radio/checkboxes.
9821 (eww-update-field): Fix compilation error.
9822 (eww-tag-textarea): Implement <textarea>.
9824 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
9825 we don't shadow mode-specific bindings.
9827 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
9830 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
9832 2013-06-19 Glenn Morris <rgm@gnu.org>
9834 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
9836 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
9838 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
9841 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
9843 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9845 * net/browse-url.el (browse-url-browser-function):
9846 `eww-browse-url' has the right calling signature, `eww' does not.
9848 2013-06-19 Glenn Morris <rgm@gnu.org>
9850 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
9851 Only eval autoloaded macros.
9852 (byte-compile-autoload): Only give the macro warning for macros.
9854 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
9855 (ps-underlined-faces): Declare.
9857 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
9858 (speedbar-add-supported-extension): Declare.
9860 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
9861 Don't include a date stamp in the header of the generated file;
9862 it leads to needless differences between output files.
9864 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
9866 * net/secrets.el (secrets-struct-secret-content-type):
9867 Replace check of introspection data by a test call of "CreateItem".
9868 Some servers do not offer introspection.
9870 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
9872 * electric.el (electric-pair-mode): Improve interaction with
9873 electric-layout-mode.
9874 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
9875 (electric-pair-syntax): Use text-mode-syntax-table in comments
9877 (electric-pair--insert): New function.
9878 (electric-pair-post-self-insert-function): Use it and
9879 electric--after-char-pos.
9881 2013-06-19 Leo Liu <sdl.web@gmail.com>
9883 * progmodes/octave.el (octave-help): Fix regexp.
9885 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
9887 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
9888 (shr-table-horizontal-line): Allow nil as a value, and change the
9890 (shr-insert-table-ruler): Respect the nil value.
9892 2013-06-18 Tom Tromey <tromey@barimba>
9894 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
9896 (eww-open-file): New defun.
9897 (eww-render): Initialize new variables.
9898 (eww-display-html): Handle "link" and "a".
9899 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
9900 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
9901 (eww-back-url): Rename from eww-previous-url.
9902 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
9905 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
9907 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
9908 Distinguish ternary operator tokens from slash symbol and slash
9911 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
9913 Convert symbol prettification into minor mode and global minor mode.
9915 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
9916 `prog-prettify-symbols', and make a local defvar instead of defcustom.
9917 (prettify-symbols--keywords): Rename from
9918 `prog-prettify-symbols-alist' and make a local defvar.
9919 (prettify-symbols--compose-symbol): Rename from
9920 `prog--prettify-font-lock-compose-symbol'.
9921 (prettify-symbols--make-keywords): Rename from
9922 `prog-prettify-font-lock-symbols-keywords' and simplify.
9923 (prog-prettify-install): Remove.
9924 (prettify-symbols-mode): New minor mode, based on
9925 `prog-prettify-install'.
9926 (turn-on-prettify-symbols-mode): New function.
9927 (global-prettify-symbols-mode): New globalized minor mode.
9929 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
9930 * progmodes/cfengine.el (cfengine3-mode):
9931 * progmodes/perl-mode.el (perl-mode): Don't call
9932 `prog-prettify-install'; set `prettify-symbols-alist' instead.
9934 2013-06-18 Juri Linkov <juri@jurta.org>
9936 * files-x.el (modify-file-local-variable-message): New function.
9937 (modify-file-local-variable)
9938 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
9939 and call `modify-file-local-variable-message' when it's non-nil.
9940 (add-file-local-variable, delete-file-local-variable)
9941 (add-file-local-variable-prop-line)
9942 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
9943 and use it. (Bug#9820)
9945 2013-06-18 Juri Linkov <juri@jurta.org>
9947 * emulation/vi.el (vi-shell-op):
9948 * emulation/vip.el (vip-execute-com, ex-command):
9949 * emulation/viper-cmd.el (viper-exec-bang):
9950 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
9951 the call of `shell-command-on-region'. (Bug#14637)
9953 * simple.el (shell-command-on-region): Doc fix.
9955 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9957 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
9960 2013-06-18 Glenn Morris <rgm@gnu.org>
9962 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
9964 * newcomment.el (comment-search-forward, comment-search-backward):
9965 Doc fix. (Bug#14376)
9967 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
9969 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
9970 (buffer-face-mode-invoke): Doc fix.
9972 2013-06-18 Matthias Meulien <orontee@gmail.com>
9974 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
9975 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9977 2013-06-18 Glenn Morris <rgm@gnu.org>
9979 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
9980 Replace obsolete function generic-make-keywords with its expansion.
9982 * progmodes/python.el (ffap-alist): Declare.
9984 * textmodes/reftex.el (bibtex-mode-map): Declare.
9986 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9988 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
9989 (package-unpack, package-unpack-single): Return the pkg-dir.
9990 (package-download-transaction): Use it to update package-alist.
9992 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
9994 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
9997 2013-06-17 Juri Linkov <juri@jurta.org>
9999 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
10001 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
10003 * emacs-lisp/package.el (package-load-descriptor):
10004 Remove `with-syntax-table' call, `read' doesn't need it.
10005 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
10007 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
10009 * startup.el (command-line): Expand package name returned by
10010 `package--description-file' (bug#14639).
10012 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
10014 * emacs-lisp/package.el (package-load-descriptor): Do not call
10015 `emacs-lisp-mode', just use its syntax table.
10017 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
10019 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
10020 `font-lock-extra-managed-props' if any prettifying keyword is added.
10021 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
10022 (prog-mode): Use `setq-local'.
10024 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
10026 * international/characters.el (standard-case-table): Set syntax of ?»
10027 and ?« to punctuation.
10029 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
10031 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
10032 Save relevant match data before calling `syntax-ppss' (bug#14595).
10034 2013-06-15 Juri Linkov <juri@jurta.org>
10036 * files-x.el (modify-file-local-variable-prop-line): Add local
10037 variables to the end of the existing comment on the first line.
10038 Use `file-auto-mode-skip' to skip interpreter magic line,
10039 and also skip XML declaration.
10041 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
10043 * startup.el (package--builtin-versions): New var.
10044 (package-subdirectory-regexp): Remove.
10045 (package--description-file): Hard code its value instead.
10047 * emacs-lisp/package.el: Don't activate packages older than builtin.
10048 (package-obsolete-list): Rename from package-obsolete-alist, and make
10049 it into a simple list of package-desc.
10050 (package-strip-version): Remove.
10051 (package-built-in-p): Use package--builtin-versions.
10052 (package-mark-obsolete): Simplify.
10053 (package-process-define-package): Mark it obsolete if older than the
10055 (package-handle-response): Use line-end-position.
10056 (package-read-archive-contents, package--download-one-archive):
10058 (package--add-to-archive-contents): Skip if older than the builtin or
10060 (package-menu-describe-package): Fix last change.
10061 (package-list-unversioned): New var.
10062 (package-menu--generate): Use it.
10064 * emacs-lisp/autoload.el: Manage package--builtin-versions.
10065 (autoload--insert-text, autoload--insert-cookie-text): New functions.
10066 (autoload-builtin-package-versions): New variable.
10067 (autoload-generate-file-autoloads): Use them.
10068 Remove the list of autoloaded functions/macros from the
10069 (autoload...) comments.
10071 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
10073 2013-06-15 Eli Zaretskii <eliz@gnu.org>
10075 * simple.el (line-move-partial): Don't jump to the next screen
10076 line as soon as it becomes visible. Instead, continue enlarging
10077 the vscroll until the portion of a tall screen line that's left on
10078 display is about the height of the frame's default font.
10081 2013-06-15 Glenn Morris <rgm@gnu.org>
10083 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
10084 compilation-error-regexp-alist void, or local while let-bound.
10086 * progmodes/make-mode.el (makefile-mode-syntax-table):
10087 Treat "=" as punctuation. (Bug#14614)
10089 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
10091 * help-fns.el (describe-variable):
10092 Add extra line for permanent-local variables.
10094 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
10096 * progmodes/scheme.el (scheme-font-lock-keywords-2):
10097 Add export, import, library. (Bug#9164)
10098 (library): Set indent function.
10100 2013-06-14 Glenn Morris <rgm@gnu.org>
10102 * term/xterm.el (xterm--query):
10103 Stop after first matching handler. (Bug#14615)
10105 2013-06-14 Ivan Kanis <ivan@kanis.fr>
10107 Add support for dired in saveplace.
10108 * dired.el (dired-initial-position-hook): New variable.
10109 (dired-initial-position): Call hook to place cursor position.
10110 * saveplace.el (save-place-to-alist): Add dired position.
10111 (save-place-dired-hook): New function.
10113 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
10115 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
10116 through a symbol rather than letrec.
10118 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
10119 (package-desc): Add `dir' field.
10120 (package-desc-full-name): New function.
10121 (package-load-descriptor): Combine the two arguments. Don't use `load'.
10122 (package-maybe-load-descriptor): Remove.
10123 (package-load-all-descriptors): Just call package-load-descriptor.
10124 (package--disabled-p): New function.
10125 (package-desc-vers, package-desc-doc): Remove aliases.
10126 (package--dir): Remove function.
10127 (package-activate): Check if a package is disabled.
10128 (package-process-define-package): New function, extracted from
10130 (define-package): Turn into a place holder.
10131 (package-unpack-single, package-tar-file-info):
10132 Use package--description-file.
10133 (package-compute-transaction): Use package--disabled-p.
10134 (package-download-transaction): Don't call
10135 package-maybe-load-descriptor since they're all loaded anyway.
10136 (package-install): Change argument to be a pkg-desc.
10137 (package-delete): Use a single pkg-desc argument.
10138 (describe-package-1): Use package-desc-dir instead of package--dir.
10139 Use package-desc property instead of package-symbol.
10140 (package-install-button-action): Adjust accordingly.
10141 (package--push): Rewrite.
10142 (package-menu--print-info): Adjust accordingly. Change the ID format
10144 (package-menu-describe-package, package-menu-get-status)
10145 (package-menu--find-upgrades, package-menu-mark-upgrades)
10146 (package-menu-execute, package-menu--name-predicate):
10147 Adjust accordingly.
10148 * startup.el (package--description-file): New function.
10149 (command-line): Use it.
10150 * emacs-lisp/package-x.el (package-upload-buffer-internal):
10151 Use package-desc-version.
10153 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
10154 (byte-compile-preprocess): Use it.
10155 (byte-compile-file-form-defalias): Try a bit harder to use macros we
10156 can't quite recognize.
10157 (byte-compile-add-to-list): Remove.
10158 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
10159 (cconv-closure-convert): Add assertion.
10161 * emacs-lisp/map-ynp.el: Use lexical-binding.
10162 (map-y-or-n-p): Remove unused vars `tail' and `object'.
10163 Factor out some repeated code.
10165 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
10167 * subr.el (with-eval-after-load): New macro.
10168 (eval-after-load): Allow form to be a function.
10169 take advantage of lexical-binding.
10170 (do-after-load-evaluation): Use dolist and adjust to new format.
10171 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
10173 2013-06-13 Juri Linkov <juri@jurta.org>
10175 * replace.el (perform-replace): Display "symbol " and other search
10176 modes from `isearch-message-prefix' in the *Help* buffer.
10178 * isearch.el (isearch-query-replace): Add " symbol" and other
10179 possible search modes from `isearch-message-prefix' to the prompt.
10180 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
10181 when reading a regexp to collect.
10183 2013-06-13 Juri Linkov <juri@jurta.org>
10185 * isearch.el (word-search-regexp): Match whitespace if the search
10186 string begins or ends in whitespace. The LAX arg is applied to
10187 both ends of the search string. Use `regexp-quote' and explicit
10188 \< and \> instead of \b. Use \` and \' instead of ^ and $.
10189 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
10190 boundaries are replaced with symbol boundaries, and characters
10191 between symbols match non-word non-symbol syntax. (Bug#14602)
10193 2013-06-13 Juri Linkov <juri@jurta.org>
10195 * isearch.el (isearch-del-char): Don't exceed the length of
10196 `isearch-string' by the prefix arg. (Bug#14563)
10198 2013-06-13 Juri Linkov <juri@jurta.org>
10200 * isearch.el (isearch-yank-word, isearch-yank-line)
10201 (isearch-char-by-name, isearch-quote-char)
10202 (isearch-printing-char, isearch-process-search-char):
10203 Add optional count prefix arg. (Bug#14563)
10205 * international/isearch-x.el
10206 (isearch-process-search-multibyte-characters):
10207 Add optional count prefix arg.
10209 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
10211 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
10212 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
10215 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
10217 * subr.el (set-temporary-overlay-map): Add on-exit argument.
10219 2013-06-13 Glenn Morris <rgm@gnu.org>
10221 * startup.el (tty-handle-args):
10222 Don't just discard "--" and anything after. (Bug#14608)
10224 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
10226 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
10228 Implement changes in Secret Service API. Make it backward compatible.
10229 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
10230 (secrets-create-item): Use it. Prefix properties with interface.
10232 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
10234 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
10235 (term-emulate-terminal): Respect term-suppress-hard-newline.
10237 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
10239 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
10240 Only remove a `thumb-file' overlay. (Bug#14548)
10242 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
10244 * mail/reporter.el (reporter-submit-bug-report):
10245 Handle missing package-name. (Bug#14600)
10247 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10249 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
10250 (reftex-citation-prompt, reftex-default-bibliography)
10251 (reftex-bib-or-thebib, reftex-get-bibfile-list)
10252 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
10253 (reftex-bib-sort-author, reftex-bib-sort-year)
10254 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
10255 (reftex-extract-bib-entries-from-thebibliography)
10256 (reftex-get-bibkey-default, reftex-get-bib-names)
10257 (reftex-parse-bibtex-entry, reftex-get-bib-field)
10258 (reftex-format-bib-entry, reftex-parse-bibitem)
10259 (reftex-format-bibitem, reftex-do-citation)
10260 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
10261 (reftex-restrict-bib-matches, reftex-extract-bib-file)
10262 (reftex-insert-bib-matches, reftex-format-citation)
10263 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
10264 (reftex-create-bibtex-file): Add docstrings, mostly by converting
10265 existing comments into docstrings.
10267 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
10269 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
10271 2013-06-12 Andreas Schwab <schwab@suse.de>
10273 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
10274 for auto-save files.
10276 2013-06-12 Glenn Morris <rgm@gnu.org>
10278 * ido.el (ido-delete-ignored-files): Remove.
10279 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
10280 Go back to calling ido-ignore-item-p directly.
10282 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
10284 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
10286 * ido.el (ido-delete-ignored-files): New function,
10287 split from ido-make-file-list-1.
10288 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
10289 (ido-make-file-list-1): Use ido-delete-ignored-files.
10291 2013-06-12 Leo Liu <sdl.web@gmail.com>
10293 * progmodes/octave.el (inferior-octave-startup)
10294 (inferior-octave-completion-table)
10295 (inferior-octave-track-window-width-change)
10296 (octave-eldoc-function-signatures, octave-help)
10297 (octave-find-definition): Use single quoted strings.
10298 (inferior-octave-startup-args): Change default value.
10299 (inferior-octave-startup): Do not hard code "-i" and
10300 "--no-line-editing".
10301 (inferior-octave-resync-dirs): Add optional arg NOERROR.
10302 (inferior-octave-directory-tracker): Use it.
10303 (octave-goto-function-definition): Robustify.
10304 (octave-help): Support highlighting operators in 'See also'.
10305 (octave-find-definition): Find subfunctions only in Octave mode.
10307 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
10309 * help-fns.el (help-fns--compiler-macro): If the handler function is
10310 named, then put a link to it.
10311 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
10312 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
10313 (cl-typep): Use it.
10314 (cl-eval-when): Simplify debug spec.
10315 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
10316 compiler-macro function instead of setting `compiler-macro-file'.
10318 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
10320 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
10321 * vc/vc-hooks.el (vc-stay-local): Doc fix.
10323 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
10324 Daniel Hackney <dan@haxney.org>
10326 First part of Daniel Hackney's patch to package.el.
10327 * emacs-lisp/package.el: Use defstruct.
10328 (package-desc): New, main struct.
10329 (package--bi-desc, package--ac-desc): New structs, used to describe the
10330 format in external files.
10331 (package-desc-vers): Replace with package-desc-version accessor.
10332 (package-desc-doc): Replace with package-desc-summary accessor.
10333 (package-activate-1): Remove `package' arg since the pkg-vec now
10335 (define-package): Use package-desc-from-define.
10336 (package-unpack-single): Change file-name arg to be a symbol.
10337 (package--add-to-archive-contents): Use package-desc-create and new
10338 accessor functions to package--ac-desc.
10339 (package-buffer-info, package-tar-file-info): Return a package-desc.
10340 (package-install-from-buffer): Remove `type' argument. Change pkg-info
10341 arg to be a package-desc.
10342 (package-install-file): Adjust accordingly. Use \' to match EOS.
10343 (package--from-builtin): New function.
10344 (describe-package-1, package-menu--generate): Use it.
10345 (package--make-autoloads-and-compile): Change name arg to be a symbol.
10346 (package-generate-autoloads): Idem and return the name of the file.
10347 * emacs-lisp/package-x.el (package-upload-buffer-internal):
10348 Change pkg-info arg to be a package-desc.
10349 Use package-make-ac-desc.
10350 (package-upload-file): Use \' to match EOS.
10351 * finder.el (finder-compile-keywords): Use package-make-builtin.
10353 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
10355 * vc/vc.el (vc-deduce-fileset): Change error message.
10356 (vc-read-backend): New function.
10357 (vc-next-action): Use it.
10359 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
10361 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
10362 (prolog-font-lock-keywords): Use regexp-opt instead.
10363 Don't manually highlight strings.
10364 (prolog-mode-variables): Simplify comment-start-skip.
10365 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
10367 * emacs-lisp/generic.el (generic--normalise-comments)
10368 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
10369 (generic-mode-set-comments): Use them.
10370 (generic-bracket-support): Use setq-local.
10371 (generic-make-keywords-list): Declare obsolete.
10373 2013-06-11 Glenn Morris <rgm@gnu.org>
10375 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
10376 Prettify after setting font-lock-defaults. (Bug#14574)
10378 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
10380 * replace.el (query-replace, occur-read-regexp-defaults-function)
10382 * subr.el (declare-function, number-sequence, local-set-key)
10383 (substitute-key-definition, locate-user-emacs-file)
10384 (with-silent-modifications, split-string, eval-after-load):
10385 Fix typos, remove unneeded backslashes and reflow some docstrings.
10387 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
10389 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
10390 default for Elisp files.
10392 2013-06-11 Glenn Morris <rgm@gnu.org>
10394 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
10395 although define-derived-mode was doing this anyway. (Bug#14583)
10397 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
10399 * allout.el (allout-encryption-plaintext-sanitization-regexps):
10400 Fix make-variable-buffer-local call to refer to the correct variable.
10402 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
10404 * eshell/em-term.el (eshell-visual-commands)
10405 (eshell-visual-subcommands, eshell-visual-options):
10406 Add summary line to docstrings. Add cross-references.
10408 2013-06-10 Glenn Morris <rgm@gnu.org>
10410 * epa.el (epa-read-file-name): New function. (Bug#14510)
10411 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
10413 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
10415 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
10416 output redirection to be ignored with visual commands.
10418 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
10420 * eshell/em-term.el (eshell-visual-command-p): New function.
10421 (eshell-term-initialize): Move long lambda to separate function
10422 eshell-visual-command-p.
10423 * eshell/em-dirs.el (eshell-dirs-initialise):
10424 * eshell/em-script.el (eshell-script-initialize):
10425 Add missing #' to lambda.
10427 2013-06-08 Leo Liu <sdl.web@gmail.com>
10429 * progmodes/octave.el (octave-add-log-current-defun): New function.
10430 (octave-mode): Set add-log-current-defun-function.
10431 (octave-goto-function-definition): Do not move point if not found.
10432 (octave-find-definition): Enhance to try subfunctions first.
10434 2013-06-08 Glenn Morris <rgm@gnu.org>
10436 * emacs-lisp/bytecomp.el (byte-compile-char-before)
10437 (byte-compile-backward-char, byte-compile-backward-word):
10438 Improve previous change, to handle non-explicit nil.
10440 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
10442 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
10443 (smie--opener/closer-at-point): New function.
10444 (smie--matching-block-data): Use it. Don't match from right after an
10445 opener or right before a closer. Obey smie-blink-matching-inners.
10446 Don't signal a mismatch for repeated inners like "switch..case..case".
10448 2013-06-07 Leo Liu <sdl.web@gmail.com>
10450 * progmodes/octave.el (octave-mode): Set comment-use-global-state
10452 (octave-function-header-regexp): Fix. (Bug#14570)
10453 (octave-help-mode-finish-hook, octave-help-mode-finish):
10454 Remove. Just use temp-buffer-show-hook.
10456 * newcomment.el (comment-search-backward): Revert last change.
10459 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
10461 2013-06-07 Eli Zaretskii <eliz@gnu.org>
10463 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
10464 through xargs, to avoid failure due to MS-Windows limitations on
10465 command-line length.
10467 2013-06-06 Glenn Morris <rgm@gnu.org>
10469 * font-lock.el (lisp-font-lock-keywords-2):
10470 Treat user-error like error.
10472 * emacs-lisp/bytecomp.el (byte-compile-char-before)
10473 (byte-compile-backward-char, byte-compile-backward-word):
10474 Handle explicit nil arguments. (Bug#14565)
10476 2013-06-05 Alan Mackenzie <acm@muc.de>
10478 * isearch.el (isearch-allow-prefix): New user option.
10479 (isearch-other-meta-char): Don't exit isearch when a prefix
10480 argument is typed whilst `isearch-allow-prefix' is non-nil.
10483 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10485 * autorevert.el (auto-revert-notify-handler): Use memq.
10486 Hide assertion failure.
10488 * skeleton.el: Use cl-lib.
10489 (skeleton-further-elements): Use defvar-local.
10490 (skeleton-insert): Use cl-progv.
10492 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
10494 * progmodes/prog-mode.el (prog-prettify-symbols)
10495 (prog-prettify-install): Update docstrings.
10497 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10499 * simple.el: Move all the prog-mode code to prog-mode.el.
10500 * progmodes/prog-mode.el: New file.
10501 * loadup.el: Add prog-mode.el.
10503 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
10505 * simple.el (prog-prettify-symbols): Add version.
10506 (prog-prettify-install): Add convenience function to prettify symbols.
10508 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
10509 (perl--augmented-font-lock-keywords-1)
10510 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
10511 variables and use it.
10513 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
10514 (cfengine3-mode): Remove unneeded variable and use it.
10516 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
10517 (lisp--augmented-font-lock-keywords-1)
10518 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
10519 Remove unneeded variables and use it.
10521 2013-06-05 João Távora <joaotavora@gmail.com>
10523 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
10524 to point when opening the connection. (Bug#14380)
10526 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10528 * subr.el (load-history-regexp, load-history-filename-element)
10529 (eval-after-load, after-load-functions, do-after-load-evaluation)
10530 (eval-next-after-load, display-delayed-warnings)
10531 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
10532 definition of save-match-data.
10533 (overriding-local-map): Remove accidental obsolescence declaration.
10535 * emacs-lisp/edebug.el (edebug-result): Move before first use.
10537 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
10539 Generalize symbol prettify support to prog-mode and implement it
10540 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
10541 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
10542 (prog--prettify-font-lock-compose-symbol)
10543 (prog-prettify-font-lock-symbols-keywords): New variables and
10544 functions to support symbol prettification.
10545 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
10546 (lisp--augmented-font-lock-keywords-1)
10547 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
10548 (lisp--prettify-symbols-alist): Implement prettify of lambda.
10549 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
10550 (cfengine3--prettify-symbols-alist, cfengine3-mode):
10551 Implement prettify of -> => :: strings.
10552 * progmodes/perl-mode.el (perl-prettify-symbols)
10553 (perl--font-lock-compose-symbol)
10554 (perl--font-lock-symbols-keywords): Move to prog-mode.
10555 (perl--prettify-symbols-alist): Prettify -> => :: strings.
10556 (perl-font-lock-keywords-1)
10557 (perl-font-lock-keywords-2): Remove explicit prettify support.
10558 (perl--augmented-font-lock-keywords)
10559 (perl--augmented-font-lock-keywords-1)
10560 (perl--augmented-font-lock-keywords-2, perl-mode):
10561 Implement prettify support.
10563 2013-06-05 Leo Liu <sdl.web@gmail.com>
10565 Re-implement smie matching block highlight using
10566 show-paren-data-function. (Bug#14395)
10567 * emacs-lisp/smie.el (smie-matching-block-highlight)
10568 (smie--highlight-matching-block-overlay)
10569 (smie--highlight-matching-block-lastpos)
10570 (smie-highlight-matching-block)
10571 (smie-highlight-matching-block-mode): Remove.
10572 (smie--matching-block-data-cache): New variable.
10573 (smie--matching-block-data): New function.
10574 (smie-setup): Use smie--matching-block-data for
10575 show-paren-data-function.
10577 * progmodes/octave.el (octave-mode-menu): Fix.
10578 (octave-find-definition): Skip garbage lines.
10580 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10582 Fix compilation error with simultaneous dynamic+lexical scoping.
10583 Add warning when a defvar appears after the first let-binding.
10584 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
10585 (byte-compile-close-variables): Initialize it.
10586 (byte-compile--declare-var): New function.
10587 (byte-compile-file-form-defvar)
10588 (byte-compile-file-form-define-abbrev-table)
10589 (byte-compile-file-form-custom-declare-variable): Use it.
10590 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
10591 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
10592 (byte-compile-bind): Handle dynamic bindings that shadow
10594 (byte-compile-unbind): Make arg non-optional.
10595 (byte-compile-let): Simplify.
10596 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
10597 (cconv--analyse-function, cconv-analyse-form): Populate it.
10598 Protect byte-compile-bound-variables to limit the scope of defvars.
10599 (cconv-analyse-form): Add missing rule for (defvar <foo>).
10600 Remove unneeded rule for `declare'.
10602 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
10603 so as to avoid depending on cl-adjoin at run-time.
10604 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
10606 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
10607 (macroexp--warn-and-return): Use it.
10609 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10611 * subr.el: Convert to lexical binding.
10612 (overriding-local-map): Make obsolete.
10613 (add-to-list): Doc fix. Add compiler macro.
10614 (read-key): Swap values of local maps.
10616 2013-06-05 Leo Liu <sdl.web@gmail.com>
10618 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
10620 2013-06-04 Leo Liu <sdl.web@gmail.com>
10622 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
10623 (compilation-auto-jump): Suppress the "Mark set" message to give
10624 way to exit message.
10626 2013-06-04 Alan Mackenzie <acm@muc.de>
10628 Remove faulty optimisation from indentation calculation.
10629 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
10630 search limit based on 2000 characters back from indent-point.
10632 2013-06-03 Tassilo Horn <tsdh@gnu.org>
10634 * eshell/em-term.el (cl-lib): Require `cl-lib'.
10636 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
10638 * emacs-lisp/lisp.el: Use lexical-binding.
10639 (lisp--local-variables-1, lisp--local-variables): New functions.
10640 (lisp--local-variables-completion-table): New var.
10641 (lisp-completion-at-point): Use it complete let-bound vars.
10643 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
10644 eagerly (bug#14422).
10646 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
10648 * autorevert.el (auto-revert-notify-enabled)
10649 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
10650 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
10651 (auto-revert-notify-handler): Handle also gfilenotify.
10653 * subr.el (file-notify-handle-event): New defun. Replacing ...
10654 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
10657 2013-06-03 Juri Linkov <juri@jurta.org>
10659 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
10660 `M-s h .'. (Bug#14427)
10662 * hi-lock.el (highlight-symbol-at-point): New alias for the new
10663 command `hi-lock-face-symbol-at-point'.
10664 (hi-lock-face-symbol-at-point): New command.
10665 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
10666 (hi-lock-menu): Add `highlight-symbol-at-point'.
10667 (hi-lock-mode): Doc fix.
10669 * isearch.el (isearch-forward-symbol-at-point): New command.
10670 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
10671 (isearch-highlight-regexp): Add a regexp which matches
10672 words/symbols for word/symbol mode.
10674 * subr.el (find-tag-default-bounds): New function with the body
10675 mostly moved from `find-tag-default'.
10676 (find-tag-default): Move most code to `find-tag-default-bounds',
10677 call it and apply `buffer-substring-no-properties' afterwards.
10679 2013-06-03 Tassilo Horn <tsdh@gnu.org>
10681 * eshell/em-term.el (eshell-term-initialize):
10682 Use `cl-intersection' rather than `intersection'.
10684 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
10686 * vc/log-view.el: Doc fix.
10687 (log-view-mode-map): Copy keymap from `special-mode-map'.
10689 2013-06-02 Eric Ludlam <zappo@gnu.org>
10691 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
10692 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
10693 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
10694 (eieio-unbound, eieio-default-superclass)
10695 (eieio--define-field-accessors, method-static, method-before)
10696 (method-primary, method-after, method-num-lists)
10697 (method-generic-before, method-generic-primary)
10698 (method-generic-after, method-num-slots)
10699 (eieio-specialized-key-to-generic-key)
10700 (eieio--check-type, class-v, class-p)
10701 (eieio-class-name, define-obsolete-function-alias)
10702 (eieio-class-parents-fast, eieio-class-children-fast)
10703 (same-class-fast-p, class-constructor, generic-p)
10704 (generic-primary-only-p, generic-primary-only-one-p)
10705 (class-option-assoc, class-option, eieio-object-p)
10706 (class-abstract-p, class-method-invocation-order)
10707 (eieio-defclass-autoload-map, eieio-defclass-autoload)
10708 (eieio-class-un-autoload, eieio-defclass)
10709 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
10710 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
10711 (eieio--defgeneric-init-form, eieio-defgeneric-form)
10712 (eieio-defgeneric-reset-generic-form)
10713 (eieio-defgeneric-form-primary-only)
10714 (eieio-defgeneric-reset-generic-form-primary-only)
10715 (eieio-defgeneric-form-primary-only-one)
10716 (eieio-defgeneric-reset-generic-form-primary-only-one)
10717 (eieio-unbind-method-implementations)
10718 (eieio--defmethod, eieio--typep)
10719 (eieio-perform-slot-validation, eieio-validate-slot-value)
10720 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
10721 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
10722 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
10723 (eieio-slot-name-index, eieio-class-slot-name-index)
10724 (eieio-set-defaults, eieio-initarg-to-attribute)
10725 (eieio-attribute-to-initarg, eieio-c3-candidate)
10726 (eieio-c3-merge-lists, eieio-class-precedence-c3)
10727 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
10728 (eieio-class-precedence-list, eieio-generic-call-methodname)
10729 (eieio-generic-call-arglst, eieio-generic-call-key)
10730 (eieio-generic-call-next-method-list)
10731 (eieio-pre-method-execution-functions, eieio-generic-call)
10732 (eieio-generic-call-primary-only, eieiomt-method-list)
10733 (eieiomt-optimizing-obarray, eieiomt-install)
10734 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
10735 (eieio-generic-form, eieio-defmethod, make-obsolete)
10736 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
10737 (defclass): Remove `eval-and-compile' from macro.
10738 (call-next-method, shared-initialize): Instead of using
10739 `scoped-class' variable, use new eieio--scoped-class, and
10740 eieio--with-scoped-class.
10741 (initialize-instance): Rename local variable 'scoped-class' to
10742 'this-class' to remove ambiguitity from old global.
10744 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
10746 (eieio--scoped-class-stack): New variable.
10747 (eieio--scoped-class): New fcn.
10748 (eieio--with-scoped-class): New scoping macro.
10749 (eieio-defclass): Use pushnew instead of add-to-list.
10750 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
10751 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
10752 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
10753 `scoped-class' variable, use new eieio--scoped-class, and
10754 eieio--with-scoped-class.
10756 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
10758 2013-06-02 Tassilo Horn <tsdh@gnu.org>
10760 * eshell/esh-ext.el (eshell-external-command): Pass args to
10761 `eshell-find-interpreter'.
10762 (eshell-find-interpreter): Add new second parameter ARGS.
10764 * eshell/em-script.el (eshell-script-initialize): Add second arg
10765 to the function added as MATCH to `eshell-interpreter-alist'.
10767 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
10768 the function added as MATCH to `eshell-interpreter-alist'.
10770 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
10771 (eshell-visual-options): New defcustom.
10772 (eshell-escape-control-x): Adapt docstring.
10773 (eshell-term-initialize): Test `eshell-visual-subcommands' and
10774 `eshell-visual-options' in addition to `eshell-visual-commands'.
10775 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
10777 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
10779 * progmodes/python.el (python-indent-block-enders): Add break,
10780 continue and raise keywords.
10782 2013-06-01 Glenn Morris <rgm@gnu.org>
10784 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
10786 Plain (f)boundp silences compilation warnings since Emacs 22.1.
10787 * progmodes/cc-cmds.el (delete-forward-p):
10788 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
10789 * progmodes/cc-engine.el (buffer-syntactic-context):
10790 * progmodes/cc-fonts.el (face-property-instance):
10791 * progmodes/cc-mode.el (set-keymap-parents):
10792 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
10793 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
10794 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
10795 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
10796 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
10798 * progmodes/cc-vars.el (other): Emacs has this widget since
10799 at least 21.1, so don't (re)define it.
10801 * eshell/em-cmpl.el (eshell-cmpl-initialize):
10802 Replace the obsolete alias pcomplete-arg-quote-list.
10804 2013-06-01 Leo Liu <sdl.web@gmail.com>
10806 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
10807 punctuation syntax.
10808 (inferior-octave-minimal-columns)
10809 (inferior-octave-last-column-width): New variables.
10810 (inferior-octave-track-window-width-change): New function.
10811 (inferior-octave-mode): Adjust column width so that Octave output,
10812 for example from 'ls', can fit into the window nicely.
10814 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
10816 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
10817 Highlight expansions inside regexp literals.
10819 2013-05-31 Glenn Morris <rgm@gnu.org>
10821 * obsolete/sym-comp.el (symbol-complete):
10822 Replace obsolete completion-annotate-function.
10824 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
10826 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
10828 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
10829 New function, checks if point is inside a literal that allows
10830 expression expansion.
10831 (ruby-syntax-propertize-expansion): Use it.
10832 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
10835 2013-05-30 Juri Linkov <juri@jurta.org>
10837 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
10839 (isearch-invisible): New variable.
10840 (isearch-forward): Doc fix.
10841 (isearch-mode): Set `isearch-invisible'
10842 to the value of `search-invisible'.
10843 (isearch-toggle-case-fold): Doc fix.
10844 (isearch-toggle-invisible): New command.
10845 (isearch-query-replace): Let-bind `search-invisible'
10846 to the value of `isearch-invisible'.
10847 (isearch-search): Use `isearch-invisible' instead of
10848 `search-invisible'. Let-bind `search-invisible'
10849 to the value of `isearch-invisible'. (Bug#11378)
10851 2013-05-30 Juri Linkov <juri@jurta.org>
10853 * replace.el (perform-replace): Avoid `isearch-range-invisible'
10854 call when `query-flag' is nil and `search-invisible' is non-nil.
10857 2013-05-30 Glenn Morris <rgm@gnu.org>
10859 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
10861 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
10862 (cc-require): Suppress spurious "noruntime" warnings.
10863 (cc-require-when-compile): Use fboundp, for sake of compiler.
10865 * progmodes/cc-mode.el: Move load of cc-vars before that of
10866 cc-langs (which in turn loads cc-vars), to quieten compiler.
10868 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10870 * paren.el: Simplify the code.
10871 (show-paren-mode): Always start the timer.
10872 (show-paren--idle-timer): Rename from show-paren-idle-timer.
10873 (show-paren--overlay, show-paren--overlay-1): Rename from
10874 show-paren-overlay and show-paren-overlay-1, and initialize to an
10875 overlay rather than to nil.
10876 (show-paren-function): Misc cleanup and simplifications.
10878 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10880 * paren.el (show-paren-data-function): New hook.
10881 (show-paren--default): New function, extracted from show-paren-function.
10882 (show-paren-function): Use show-paren-data-function.
10884 2013-05-30 Glenn Morris <rgm@gnu.org>
10886 * ielm.el (ielm-map, ielm-complete-symbol):
10887 Use completion-at-point rather than obsolete functions.
10888 (inferior-emacs-lisp-mode): Doc fix.
10889 Set completion-at-point-functions, rather than
10890 comint-dynamic-complete-functions.
10892 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
10893 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
10894 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
10896 * image.el (image-animated-p): Tweak definition.
10898 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
10899 (rlogin-process-connection-type): Tweak default. Add set-after.
10900 (rlogin-host): Doc fix.
10901 (rlogin): Tweak prompt.
10902 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
10904 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
10905 * progmodes/tcl.el (inferior-tcl-mode-map):
10906 Use completion-at-point rather than obsolete alias.
10908 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
10910 * minibuffer.el (read-file-name-completion-ignore-case):
10911 Move before completion--in-region, for eager macro expansion.
10913 2013-05-29 Juri Linkov <juri@jurta.org>
10915 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
10916 for total count of matching lines. Add `global-matches' for total
10917 count of matches. Rename `matches' to `lines' for count of
10918 matching lines. Add `matches' for count of matches.
10919 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
10920 to `prev-line' for line number of prev match endpt.
10921 Increment `matches' for every match. Print the number of
10922 matching lines in the header.
10923 (occur-context-lines): Rename `lines' to `curr-line'.
10924 Rename `prev-lines' to `prev-line'. (Bug#14017)
10926 2013-05-29 Juri Linkov <juri@jurta.org>
10928 * replace.el (perform-replace): Add `skip-read-only-count',
10929 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
10930 Increment them for corresponding conditions and report the number
10931 of skipped occurrences in the final message. (Bug#11746)
10932 (query-replace, query-replace-regexp, query-replace-regexp-eval)
10933 (replace-string, replace-regexp): Doc fix.
10935 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
10937 * emacs-lisp/trace.el (trace--read-args): Provide a default.
10939 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
10940 prog-mode-map (bug#14504).
10942 2013-05-29 Leo Liu <sdl.web@gmail.com>
10944 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
10945 (octave-help): Small simplification.
10947 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
10948 off the highlight first.
10950 2013-05-29 Glenn Morris <rgm@gnu.org>
10952 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
10953 Handle idlwave-last-system-routine-info-cons-cell being nil.
10955 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
10956 (idlwave-write-paths): Simplify via with-temp-buffer.
10958 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
10959 * emulation/cua-rect.el: Also load cua-base at run time.
10961 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
10962 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
10963 (cperl-imenu-on-info): Require imenu.
10965 2013-05-28 Alan Mackenzie <acm@muc.de>
10967 Handle "capitalised keywords" correctly.
10968 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
10970 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
10972 * eshell/em-unix.el: Add -r option to cp.
10974 2013-05-28 Glenn Morris <rgm@gnu.org>
10976 * vc/vc-arch.el (vc-exec-after): Declare.
10977 (vc-switches): Autoload.
10978 * vc/vc-bzr.el: No need to require vc when compiling.
10979 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
10980 (vc-resynch-buffer, vc-dir-refresh): Declare.
10981 (vc-setup-buffer, vc-switches): Autoload.
10982 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
10983 (vc-resynch-buffer): Declare.
10984 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
10985 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
10986 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
10987 (grep-read-regexp, grep-read-files, grep-expand-template)
10988 (vc-dir-refresh): Declare.
10989 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
10990 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
10991 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
10992 * vc/vc-mtn.el (vc-exec-after): Declare.
10993 (vc-switches): Autoload.
10994 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
10995 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
10996 (vc-file-tree-walk): Declare.
10997 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
10998 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
10999 (vc-tag-precondition, vc-rename-master): Autoload.
11000 * vc/vc-svn.el (vc-exec-after): Declare.
11001 (vc-switches, vc-setup-buffer): Autoload.
11002 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
11004 (vc-resynch-buffer): Declare.
11006 * obsolete/fast-lock.el (byte-compile-warnings):
11007 Don't warn about obsolete features in this obsolete file.
11009 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
11010 Move definition before use.
11012 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
11013 (dun-unix-verbs): Remove dun-zippy.
11014 (dun-zippy): Remove function.
11016 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
11018 2013-05-27 Juri Linkov <juri@jurta.org>
11020 * replace.el (replace-search): New function with code moved out
11021 from `perform-replace'.
11022 (replace-highlight, replace-dehighlight): Move function definitions
11023 up closer to `replace-search'. (Bug#11746)
11025 2013-05-27 Juri Linkov <juri@jurta.org>
11027 * replace.el (perform-replace): Ignore invisible matches.
11028 In addition to checking `query-replace-skip-read-only', also
11029 filter out matches by calling `run-hook-with-args-until-failure'
11030 on `isearch-filter-predicates', and also check `search-invisible'
11031 for t or call `isearch-range-invisible'.
11032 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
11034 2013-05-27 Juri Linkov <juri@jurta.org>
11036 * isearch.el (isearch-filter-predicates): Rename from
11037 `isearch-filter-predicate'. Doc fix. (Bug#11378)
11038 (isearch-message-prefix): Display text from the property
11039 `isearch-message-prefix' of the currently active filters.
11040 (isearch-search): Don't compare `isearch-filter-predicate' with
11041 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
11042 on `isearch-filter-predicates'. Also check `search-invisible' for t
11043 or call `isearch-range-invisible'.
11044 (isearch-filter-visible): Make obsolete.
11045 (isearch-lazy-highlight-search):
11046 Call `run-hook-with-args-until-failure' on
11047 `isearch-filter-predicates' and use `isearch-range-invisible'.
11049 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
11050 `isearch-filter-predicates' instead of `funcall'ing
11051 `isearch-filter-predicate'.
11052 (Info-mode): Set `Info-isearch-filter' to
11053 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
11055 * dired-aux.el (dired-isearch-filter-predicate-orig):
11057 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
11058 (dired-isearch-filenames-end): Add and remove
11059 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
11060 instead of changing the value of `isearch-filter-predicate'.
11061 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
11062 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
11063 Put property `isearch-message-prefix' to "filename " on
11064 `dired-isearch-filter-filenames'.
11066 * wdired.el (wdired-change-to-wdired-mode):
11067 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
11068 locally instead of changing `isearch-filter-predicate'.
11069 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
11071 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
11073 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
11074 return the commit hash (Bug#14459). Also set the
11075 `vc-git-detached' property.
11076 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
11077 (vc-git-mode-line-string): Use the same help-echo format whether
11078 in detached mode or not, because we know the actual revision now.
11079 When in detached mode, shorten the revision to 7 chars.
11081 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
11083 * emacs-lisp/easy-mmode.el (define-minor-mode):
11084 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
11085 mode hook and provide a docstring.
11087 2013-05-27 Alan Mackenzie <acm@muc.de>
11089 Remove spurious syntax-table text properties inserted by C-y.
11090 * progmodes/cc-mode.el (c-after-change): Also clear hard
11091 syntax-table property with value nil.
11093 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
11095 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
11096 when reading the events; the buffer layout shall not be changed.
11098 2013-05-27 Leo Liu <sdl.web@gmail.com>
11100 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
11102 (inferior-octave-directory-tracker): Automatically re-sync
11104 (octave-help): Improve handling of 'See also'.
11106 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
11108 * doc-view.el: Minor naming convention tweaks.
11109 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
11111 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
11112 even if there's no `display' property yet (bug#14435).
11114 2013-05-25 Eli Zaretskii <eliz@gnu.org>
11116 * subr.el (unmsys--file-name): Rename from reveal-filename.
11118 * Makefile.in (custom-deps, finder-data, autoloads)
11119 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
11120 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
11121 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
11123 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
11125 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
11126 error-completion on the first 2 args of condition-case (bug#14446).
11129 2013-05-25 Leo Liu <sdl.web@gmail.com>
11131 * comint.el (comint-previous-matching-input): Do not flood the
11132 *Messages* buffer with trivial messages.
11134 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
11136 * progmodes/flymake.el (flymake-nop): Don't return a string.
11137 (flymake-set-at): Fix typo.
11139 * simple.el (read--expression): New function, extracted from
11140 eval-expression. Set completion-at-point-functions (bug#14465).
11141 (eval-expression, eval-minibuffer): Use it.
11143 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
11145 * progmodes/flymake.el (flymake-save-buffer-in-file)
11146 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
11147 (flymake-selected-frame, flymake-log, flymake-ins-after)
11148 (flymake-set-at, flymake-get-buildfile-from-cache)
11149 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
11150 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
11151 Refine the doc string.
11152 (flymake-get-file-name-mode-and-masks): Reformat.
11153 (flymake-get-real-file-name-function): Fix a minor bug.
11155 2013-05-24 Juri Linkov <juri@jurta.org>
11157 * progmodes/grep.el (grep-mode-font-lock-keywords):
11158 Support =linenumber= format used by git-grep for lines with
11159 function names. (Bug#13549)
11161 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
11163 * progmodes/octave.el (octave-smie-rules): Return nil rather than
11164 0 after a semi-colon; it works better for smie-auto-fill.
11165 (octave--indent-new-comment-line): New function.
11166 (octave-indent-new-comment-line): Use it (indirectly).
11167 (octave-mode): Don't disable smie-auto-fill. Use add-function to
11168 modify comment-line-break-function.
11170 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
11171 (smie-setup): Use add-function to set it.
11173 2013-05-24 Sam Steingold <sds@gnu.org>
11175 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
11176 argument (before the `interactive' argument).
11178 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
11180 * image-mode.el (image-mode-winprops): Add winprops to
11181 image-mode-winprops-alist before running
11182 image-mode-new-window-functions.
11183 * doc-view.el (doc-view-new-window-function): Don't delay
11184 doc-view-goto-page via timers (bug#14435).
11186 2013-05-24 Tassilo Horn <tsdh@gnu.org>
11188 * doc-view.el: Integrate with desktop.el. (Bug#14435)
11189 (doc-view-desktop-save-buffer): New function.
11190 (doc-view-restore-desktop-buffer): New function.
11191 (desktop-buffer-mode-handlers):
11192 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
11194 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
11195 `desktop-save-buffer' function.
11197 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
11199 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
11200 (tramp-gvfs-file-name-handler): Raise a user error when
11201 `tramp-gvfs-enabled' is nil.
11202 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
11203 Do not raise a user error when loading package. (Bug#14447)
11205 * net/xesam.el: Move to obsolete/.
11207 2013-05-24 Glenn Morris <rgm@gnu.org>
11209 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
11211 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
11213 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
11214 (Info-find-node, Man-getpage-in-background): Declare.
11216 * mail/unrmail.el (unrmail):
11217 Replace obsolete detect-coding-with-priority.
11219 * net/socks.el (socks-split-string): Use this rather than split-string.
11220 (socks-nslookup-host): Update for above change.
11221 (dynamic-choice, s5-dynamic-choice-match)
11222 (s5-dynamic-choice-match-inline, s5-widget-value-create):
11223 Comment out unused code.
11225 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
11226 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
11227 (gud-tooltip-echo-area): Make obsolete.
11228 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
11230 * progmodes/js.el (js--optimize-arglist): Declare.
11232 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
11234 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
11235 (ediff-window-C): Declare.
11237 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
11238 Tweak requires to silence compiler.
11240 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
11241 (he-search-string, he-tried-table, he-expand-list)
11242 (he-init-string, he-string-member, he-substitute-string)
11243 (he-reset-string): Declare.
11245 * obsolete/options.el (list-options): Use custom-variable-p,
11246 rather than obsolete alias.
11248 2013-05-23 Sam Steingold <sds@gnu.org>
11250 * simple.el (shell-command-on-region): Pass the `replace' argument
11251 down to `call-process-region' to comply with the doc as reported on
11252 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
11254 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
11256 * emacs-lisp/smie.el (smie-indent-forward-token)
11257 (smie-indent-backward-token): Handle string tokens (bug#14381).
11259 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11261 * ielm.el (ielm-menu): New menu.
11262 (inferior-emacs-lisp-mode): Set comment-start.
11264 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11266 * textmodes/reftex.el (reftex-ref-style-toggle):
11267 Fix deactivate action.
11269 * textmodes/reftex-vars.el (reftex-ref-style-alist):
11270 Add cleveref macros.
11272 * textmodes/reftex-parse.el
11273 (reftex-locate-bibliography-files): Accept options for
11274 bibliography commands.
11275 * textmodes/reftex-vars.el (reftex-bibliography-commands):
11276 Add addbibresource. Basic Biblatex support.
11278 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
11280 * net/tramp-gvfs.el (top):
11281 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
11282 when loading package. (Bug#14447)
11284 2013-05-23 Glenn Morris <rgm@gnu.org>
11286 * progmodes/js.el: No need to load comint when compiling.
11287 (ring-insert, comint-send-string, comint-send-input)
11288 (comint-last-input-end, ido-chop): Declare.
11290 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
11291 * vc/ediff-mult.el: Adjust requires.
11292 (ediff-directories-internal, ediff-directory-revisions-internal)
11293 (ediff-patch-file-internal): Declare.
11294 * vc/ediff-ptch.el: Adjust requires.
11295 (ediff-use-last-dir, ediff-buffers-internal): Declare.
11296 (ediff-find-file): Autoload.
11297 * vc/ediff-util.el: No need to load ediff when compiling.
11298 (ediff-regions-internal): Declare.
11299 * vc/ediff-wind.el: Adjust requires.
11300 (ediff-compute-toolbar-width): Define when compiling.
11301 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
11302 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
11303 (dired-get-filename, dired-get-marked-files)
11304 (ediff-last-dir-patch, ediff-patch-default-directory)
11305 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
11306 (ediff-patch-buffer-internal): Declare.
11308 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
11309 (ispell-process, ispell-buffer-local-words, lm-summary)
11310 (lm-section-start, lm-section-end): Declare.
11311 (checkdoc-ispell-init): Simplify.
11313 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
11314 (he-string-member, he-reset-string, he-substitute-string): Declare.
11316 * eshell/em-ls.el: Adjust requires.
11317 (eshell-glob-regexp): Declare.
11318 * eshell/em-tramp.el: Adjust requires.
11319 (eshell-parse-command): Autoload.
11320 * eshell/em-xtra.el: Adjust requires.
11321 (eshell-parse-command): Autoload.
11322 * eshell/esh-ext.el: Adjust requires.
11323 (eshell-parse-command, eshell-close-handles): Autoload.
11324 * eshell/esh-io.el: Adjust requires.
11325 (eshell-output-filter): Autoload.
11326 * eshell/esh-util.el: No need to load tramp when compiling.
11327 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
11329 (eshell-parse-ange-ls): Require ange-ftp and tramp.
11330 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
11331 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
11332 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
11333 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
11334 * eshell/esh-opt.el, eshell/esh-proc.el:
11335 * eshell/esh-var.el: Adjust requires.
11336 * eshell/eshell.el: Do not require esh-util twice.
11337 (eshell-add-input-to-history): Declare.
11338 (eshell-command): Check history module is active before using it.
11340 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
11342 2013-05-22 Leo Liu <sdl.web@gmail.com>
11344 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
11346 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
11348 * autorevert.el (auto-revert-notify-add-watch)
11349 (auto-revert-notify-handler): Add `attrib' for the inotify case,
11350 it indicates changes in file modification time.
11352 2013-05-22 Glenn Morris <rgm@gnu.org>
11354 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
11355 Always delete the autoloaded function from the noruntime and
11356 unresolved functions lists.
11358 * allout.el: No need to load epa, epg, overlay when compiling.
11359 (epg-context-set-passphrase-callback, epg-list-keys)
11360 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
11361 (epg-key-user-id-list): Declare.
11363 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
11364 (viper-set-parsing-style-toggling-macro)
11365 (viper-set-emacs-state-searchstyle-macros):
11366 Use called-interactively-p on Emacs.
11367 (viper-looking-back): Make it an obsolete alias. Update callers.
11368 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
11369 Use looking-back rather than viper-looking-back.
11370 (viper-tmp-insert-at-eob, viper-enlarge-region)
11371 (viper-read-string-with-history, viper-register-to-point)
11372 (viper-append-to-register, viper-change-state-to-vi)
11373 (viper-backward-char-carefully, viper-forward-char-carefully)
11374 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
11375 (viper-change-state-to-emacs): Declare.
11376 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
11377 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
11378 * emulation/viper-mous.el: Do not load viper-cmd.
11379 (viper-backward-char-carefully, viper-forward-char-carefully)
11380 (viper-forward-word, viper-adjust-window): Declare.
11382 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
11384 * progmodes/idlw-help.el (idlwave-help-fontify):
11385 Use called-interactively-p.
11387 * term/w32console.el (w32-get-console-codepage)
11388 (w32-get-console-output-codepage): Declare.
11390 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
11391 Remove unnecessary declarations.
11392 (dframe-message): Doc fix.
11394 * info.el (dframe-select-attached-frame, dframe-current-frame):
11397 * speedbar.el (speedbar-message): Make it an obsolete alias.
11398 Update all callers.
11399 (speedbar-with-attached-buffer)
11400 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
11401 (speedbar-with-writable): Use backquote.
11402 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
11403 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
11404 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
11405 rather than speedbar- aliases.
11406 * mail/rmail.el: Load dframe rather than speedbar when compiling.
11407 (speedbar-make-specialized-keymap, speedbar-insert-button)
11408 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
11409 (speedbar-do-function-pointer): Declare.
11410 (rmail-speedbar-button, rmail-speedbar-find-file)
11411 (rmail-speedbar-move-message):
11412 Use dframe-with-attached-buffer rather than speedbar- alias.
11413 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
11414 (dframe-message, speedbar-make-specialized-keymap)
11415 (speedbar-add-expansion-list, speedbar-mode-functions-list)
11416 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
11417 (speedbar-insert-button, dframe-select-attached-frame)
11418 (dframe-maybee-jump-to-attached-frame)
11419 (speedbar-change-initial-expansion-list)
11420 (speedbar-previously-used-expansion-list-name): Declare.
11421 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
11422 Use dframe-message, dframe-with-attached-buffer rather than
11424 (gud-sentinel): Silence compiler.
11425 * progmodes/vhdl-mode.el (speedbar-refresh)
11426 (speedbar-do-function-pointer, speedbar-add-supported-extension)
11427 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
11428 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
11429 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
11430 (speedbar-file-lists, speedbar-make-tag-line)
11431 (speedbar-line-directory, speedbar-goto-this-file)
11432 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
11433 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
11434 (speedbar-make-button, speedbar-reset-scanners)
11435 (speedbar-files-item-info, speedbar-line-text)
11436 (speedbar-find-file-in-frame, speedbar-set-timer)
11437 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
11438 (speedbar-with-writable): Do not (re)define it.
11439 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
11440 rather than speedbar- alias.
11442 2013-05-21 Leo Liu <sdl.web@gmail.com>
11444 * progmodes/octave.el (octave-mode-menu): Update and re-organize
11446 (octave-mode): Tweak fill-nobreak-predicate.
11447 (inferior-octave-startup): Check process to avoid infinite loop.
11448 (inferior-octave): Pop to buffer first to show abornmal process
11451 2013-05-21 Glenn Morris <rgm@gnu.org>
11453 * printing.el (pr-menu-bar): Define when compiling.
11455 2013-05-21 Leo Liu <sdl.web@gmail.com>
11457 * progmodes/octave.el (octave-auto-fill): Remove.
11458 (octave-indent-new-comment-line): Improve.
11459 (octave-mode): Use auto fill mode through
11460 comment-line-break-function and fill-nobreak-predicate.
11461 (octave-goto-function-definition): Support DEFUN_DLD.
11462 (octave-beginning-of-defun): Small tweak.
11463 (octave-help): Show parent directory.
11465 2013-05-21 Glenn Morris <rgm@gnu.org>
11467 * files.el (dired-unmark):
11468 * progmodes/gud.el (gdb-input): Update declarations.
11470 * calculator.el (electric, ehelp): No need to load when compiling.
11471 (Electric-command-loop, electric-describe-mode): Declare.
11473 * doc-view.el (doc-view-current-converter-processes): Move before use.
11475 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11476 Move MODE-set-explicitly definition before use.
11478 * international/mule-diag.el (mule-diag):
11479 Don't use obsolete window-system-version.
11481 * mail/feedmail.el (smtpmail): No need to load when compiling.
11482 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
11484 * mail/mail-utils.el (rfc822): No need to load when compiling.
11485 (rfc822-addresses): Autoload it.
11486 (mail-strip-quoted-names): Trivial simplification.
11488 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
11489 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
11491 * net/snmp-mode.el (tempo): Don't duplicate requires.
11493 * progmodes/prolog.el (info): No need to load when compiling.
11494 (comint): Require before shell requires it.
11495 (Info-goto-node): Autoload it.
11496 (Info-follow-nearest-node): Declare.
11497 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
11499 * textmodes/artist.el (picture-mode-exit): Declare.
11501 * textmodes/reftex-parse.el (reftex-parse-from-file):
11502 Trivial rewrite so the compiler can parse it better.
11504 2013-05-20 Leo Liu <sdl.web@gmail.com>
11506 * progmodes/octave.el (octave-help-mode-map)
11507 (octave-help-mode-finish-hook): New variables.
11508 (octave-help-mode, octave-help-mode-finish): New functions.
11509 (octave-help): Use octave-help-mode.
11511 2013-05-20 Glenn Morris <rgm@gnu.org>
11513 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
11515 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
11517 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
11518 start at point, so that expansion starting right after opening
11519 slash in a regexp is recognized.
11520 (ruby-syntax-before-regexp-re): New defvar, extracted from
11521 ruby-syntax-propertize-function. Since the value of this regexp
11522 is looked up at runtime now, we should be able to turn
11523 `ruby-syntax-methods-before-regexp' into a defcustom later.
11524 (ruby-syntax-propertize-function): Split regexp matching into two
11525 parts, for opening and closing slashes. That allows us to skip
11526 over string interpolations and support multiline regexps.
11527 Don't call `ruby-syntax-propertize-expansions', instead use another rule
11528 for them, which calls `ruby-syntax-propertize-expansion'.
11529 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
11530 call to `ruby-syntax-propertize-function'.
11531 (ruby-syntax-propertize-expansion): Extracted from
11532 `ruby-syntax-propertize-expansions'. Handles one expansion.
11533 (ruby-syntax-propertize-percent-literal): Leave point right after
11534 the percent symbol, so that the expression expansion rule can
11535 propertize the contents.
11536 (ruby-syntax-propertize-heredoc): Leave point at bol following the
11538 (ruby-syntax-propertize-expansions): Remove.
11540 2013-05-18 Juri Linkov <juri@jurta.org>
11542 * man.el (Man-default-man-entry): Remove `-' from the end
11543 of the default value. (Bug#14400)
11545 2013-05-18 Glenn Morris <rgm@gnu.org>
11547 * comint.el (comint-password-prompt-regexp):
11548 Allow "password for XXX" where XXX contains colons (eg https://...).
11550 2013-05-18 Leo Liu <sdl.web@gmail.com>
11552 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
11553 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
11554 (octave-source-directories): Don't check process.
11555 (octave-source-directories, octave-find-definition): Doc fix.
11557 2013-05-18 Glenn Morris <rgm@gnu.org>
11559 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
11560 Remove backspace/delete bindings. (Bug#14392)
11562 * cus-dep.el (custom-make-dependencies): Sort the output.
11563 (custom-versions-load-alist): Convert comment to doc.
11565 2013-05-17 Leo Liu <sdl.web@gmail.com>
11567 * newcomment.el (comment-search-backward): Stricter in finding
11568 comment start. (Bug#14303)
11570 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
11571 (octave-comment-start-skip): Properly anchored.
11573 2013-05-17 Leo Liu <sdl.web@gmail.com>
11575 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
11576 Clean up when turned off. (Bug#14395)
11577 (smie--highlight-matching-block-overlay): No longer buffer-local.
11578 (smie-highlight-matching-block): Adjust.
11580 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
11582 Doc string fix for "nanoseconds" (Bug#14406).
11583 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
11584 Fix doc string typo that had "nanoseconds" instead of "microseconds".
11586 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
11588 * calc/calc-units.el (math-extract-units): Preserve powers
11591 2013-05-17 Leo Liu <sdl.web@gmail.com>
11593 * subr.el (delete-consecutive-dups): New function.
11594 * ido.el (ido-set-matches-1): Use it.
11595 * progmodes/octave.el (inferior-octave-completion-table): Use it.
11596 * ido.el (ido-remove-consecutive-dups): Remove.
11598 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11600 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
11601 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
11602 regexp-opt's `words'.
11604 2013-05-16 Leo Liu <sdl.web@gmail.com>
11606 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
11607 (smie--highlight-matching-block-overlay)
11608 (smie--highlight-matching-block-lastpos)
11609 (smie--highlight-matching-block-timer): New variables.
11610 (smie-highlight-matching-block): New function.
11611 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
11612 (smie-setup): Conditionally enable smie-blink-matching-open.
11614 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
11616 Sync with upstream verilog-mode r840.
11617 * progmodes/verilog-mode.el (verilog-mode-version)
11618 (verilog-mode-release-date): Update.
11619 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
11620 (verilog-sig-tieoff): Fix string error on
11621 AUTORESET with colon define, bug594. Reported by Andrew Hou.
11622 (verilog-read-decls): Fix parameters confusing
11623 AUTOINST interfaces, bug565. Reported by Leith Johnson.
11625 2013-05-16 Eli Zaretskii <eliz@gnu.org>
11627 * subr.el (reveal-filename): New function.
11629 * loadup.el: Compute Emacs executable versions on MS-Windows,
11630 where executables have the .exe extension. Add a hard link
11631 emacs-XX.YY.ZZ.exe on MS-Windows.
11633 * Makefile.in (XARGS_LIMIT): New variable.
11634 (custom-deps, finder-data, autoloads)
11635 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
11636 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
11637 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
11638 (compile-main): Limit xargs according to $(XARGS_LIMIT).
11640 2013-05-16 Leo Liu <sdl.web@gmail.com>
11642 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
11643 (octave-mode-menu, octave-mode-map): Remove its uses.
11645 2013-05-16 Reto Zimmermann <reto@gnu.org>
11647 Sync with upstream vhdl mode v3.34.2.
11648 * progmodes/vhdl-mode.el: Use `push' throughout.
11649 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
11650 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
11651 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
11652 (vhdl-actual-generic-name): New option to derive actual generic name.
11653 (vhdl-port-paste-signals): Replace formal by actual generics.
11654 (vhdl-beautify): New name for old group vhdl-align. Update users.
11655 (vhdl-beautify-options): New option.
11656 (vhdl-last-input-event): New compat alias. Use throughout.
11657 (vhdl-goto-line): Replace user level function `goto-line'.
11658 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
11659 vhdl-fix-statement-buffer.
11660 (vhdl-create-mode-menu): Add some entries.
11661 (vhdl-align-region-groups): Respect vhdl-beautify-options.
11662 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
11663 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
11664 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
11665 to force statements on one line.
11666 (vhdl-remove-trailing-spaces-region):
11667 New, split from vhdl-remove-trailing-spaces.
11668 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
11669 Respect vhdl-beautify-options.
11670 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
11671 (vhdl-update-sensitivity-list): Not add with index if exists without.
11672 Not include array index with signal. Ignore keywords in comments.
11673 (vhdl-get-visible-signals): Regexp tweaks.
11674 (vhdl-template-component-inst): Handle empty library.
11675 (vhdl-template-type): Add template for 'enum' type.
11676 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
11677 Use vhdl-replace-string.
11678 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
11679 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
11680 (vhdl-speedbar-initialize): Update for above name change.
11681 (vhdl-compose-wire-components): Fix in handling of constants.
11682 (vhdl-error-regexp-emacs-alist): New variable.
11683 (vhdl-error-regexp-add-emacs): New function;
11684 adds support for new compile.el (Emacs 22+)
11685 (vhdl-generate-makefile-1): Change target order for single lib. units.
11686 Allow use of absolute file names.
11688 2013-05-16 Leo Liu <sdl.web@gmail.com>
11690 * simple.el (prog-indent-sexp): Indent enclosing defun.
11692 2013-05-15 Glenn Morris <rgm@gnu.org>
11694 * cus-start.el (show-trailing-whitespace): Move to editing basics.
11695 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
11696 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
11697 (whitespace-highlight): Move to whitespace group.
11699 * comint.el (comint-source):
11700 * pcmpl-linux.el (pcmpl-linux):
11701 * shell.el (shell-faces):
11702 * eshell/esh-opt.el (eshell-opt):
11703 * international/ccl.el (ccl): Remove empty custom groups.
11705 * completion.el (dynamic-completion-mode):
11706 * jit-lock.el (jit-lock-debug-mode):
11707 * minibuffer.el (completion-in-region-mode):
11708 * type-break.el (type-break-mode-line-message-mode)
11709 (type-break-query-mode):
11710 * emulation/tpu-edt.el (tpu-edt-mode):
11711 * progmodes/subword.el (global-subword-mode, global-superword-mode):
11712 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
11713 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
11715 * term/xterm.el (xterm): Change parent group to terminals.
11717 * master.el (master): Remove empty custom group.
11718 (master-mode): Remove unused :group argument.
11719 * textmodes/refill.el (refill): Remove empty custom group.
11720 (refill-mode): Remove unused :group argument.
11722 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
11724 * cus-dep.el: Provide a feature.
11725 (custom-make-dependencies): Ignore dotfiles (dir-locals).
11726 Don't mistakenly ignore files whose basenames match a basename
11727 from preloaded-file-list (eg cedet/ede/simple.el).
11728 Add a fallback method for getting :group.
11730 2013-05-15 Juri Linkov <juri@jurta.org>
11732 * isearch.el (isearch-char-by-name): Rename from
11733 `isearch-insert-char-by-name'. Doc fix.
11734 (isearch-forward): Mention `isearch-char-by-name' in
11735 the docstring. (Bug#13348)
11737 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
11738 `exit-minibuffer' instead of
11739 `isearch-nonincremental-exit-minibuffer'.
11740 (isearch-edit-string): Remove mention of
11741 `isearch-nonincremental-exit-minibuffer' from docstring.
11742 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
11743 (isearch-forward-exit-minibuffer)
11744 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
11746 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
11748 * loadup.el: Just use unversioned DOC.
11750 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
11751 literals as extending to EOB.
11752 (nxml-last-fontify-end): Remove unused variable.
11753 (nxml-after-change1): Use with-silent-modifications.
11754 (nxml-extend-after-change-region): Simplify.
11755 (nxml-extend-after-change-region1): Remove function.
11756 (nxml-after-change1): Don't adjust for dependent regions.
11757 (nxml-fontify-matcher): Simplify.
11758 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
11759 (xmltok-add-dependent): Remove function.
11760 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
11761 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
11762 (xmltok-scan-prolog-after-processing-instruction-open): Treat
11763 unclosed <[[, <?, comment, and other literals as extending to EOB.
11764 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
11765 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
11767 (rng-do-some-validation-1): Don't mark dependent regions.
11768 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
11769 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
11770 (nxml-clear-dependent-regions): Remove functions.
11771 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
11772 (nxml-ensure-scan-up-to-date):
11773 Don't clear&mark dependent regions.
11775 2013-05-15 Leo Liu <sdl.web@gmail.com>
11777 * progmodes/octave.el (octave-goto-function-definition):
11778 Improve and fix callers.
11780 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
11782 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
11783 the setter (bug#14387).
11785 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
11786 surrounding group (bug#14402).
11788 2013-05-14 Juri Linkov <juri@jurta.org>
11790 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
11793 2013-05-14 Glenn Morris <rgm@gnu.org>
11795 * progmodes/f90.el (f90-imenu-generic-expression):
11796 Fix typo in 2013-05-08 change. (Bug#14402)
11798 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
11800 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
11801 Remove signals for which replies are never received.
11803 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
11805 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
11806 (gdb-handler-alist, gdb-handler-number): Remove variables.
11807 (gdb-handler-list): New variable.
11808 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
11809 (gdb-pending-handler-p, gdb-handle-reply)
11810 (gdb-remove-all-pending-triggers): New functions.
11811 (gdb-discard-unordered-replies): New defcustom.
11812 (gdb-handler): New defstruct.
11813 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
11814 instead of gdb-pending-triggers. Update docstring.
11815 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
11816 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
11817 (gdb-var-update-handler, def-gdb-auto-update-trigger)
11818 (def-gdb-auto-update-handler, gdb-get-changed-registers)
11819 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
11820 (gdb-frame-handler): Pending triggers are now automatically managed.
11821 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
11823 (gdb-input): Automatically handles pending triggers. Update docstring.
11824 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
11825 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
11827 (gdb-done-or-error): Now use gdb-handle-reply.
11829 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
11831 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
11834 2013-05-14 Glenn Morris <rgm@gnu.org>
11836 * subr.el (user-emacs-directory-warning): New option.
11837 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
11839 2013-05-14 Leo Liu <sdl.web@gmail.com>
11841 * progmodes/octave.el (octave-font-lock-keywords): Fix error
11843 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
11844 (octave-font-lock-texinfo-comment): Fix invalid search bound
11845 error: wrong side of point.
11847 2013-05-14 Glenn Morris <rgm@gnu.org>
11849 * progmodes/flymake.el (flymake-xml-program): New option.
11850 (flymake-xml-init): Use it.
11852 * term/xterm.el: Provide a feature.
11854 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
11856 2013-05-13 Glenn Morris <rgm@gnu.org>
11858 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
11859 Add compat aliases as a hack workaround. (Bug#14384)
11861 2013-05-13 Leo Liu <sdl.web@gmail.com>
11863 * progmodes/octave.el (octave-indent-comment): Fix indentation for
11865 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
11867 (octave-comment-start-skip): Include %!.
11868 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
11870 2013-05-12 Leo Liu <sdl.web@gmail.com>
11872 * progmodes/octave.el (inferior-octave-startup): Store the value
11873 of __octave_srcdir__ for octave-source-directories.
11874 (inferior-octave-check-process): New function refactored out of
11875 inferior-octave-send-list-and-digest.
11876 (octave-source-directories)
11877 (octave-find-definition-filename-function): New variables.
11878 (octave-source-directories)
11879 (octave-find-definition-default-filename): New functions.
11880 (octave-find-definition): Improve to find functions implemented in C++.
11882 2013-05-12 Glenn Morris <rgm@gnu.org>
11884 * calendar/diary-lib.el (diary-outlook-format-1):
11885 Don't include dayname in the output. (Bug#14349)
11887 2013-05-11 Glenn Morris <rgm@gnu.org>
11889 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
11891 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
11892 Treat cc-provide like provide.
11894 2013-05-11 Kevin Ryde <user42@zip.com.au>
11896 * cus-dep.el (custom-make-dependencies):
11897 Use generated-autoload-load-name for the sake of files such
11898 such cedet/semantic/bovine/c.el, where the base file name
11899 is not in load-path. (Bug#5277)
11901 2013-05-11 Glenn Morris <rgm@gnu.org>
11903 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
11906 2013-05-11 Leo Liu <sdl.web@gmail.com>
11908 * progmodes/octave.el (octave-indent-comment): Improve.
11909 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
11910 (octave-eldoc-function-signatures, octave-eldoc-function):
11912 (octave-mode, inferior-octave-mode): Add eldoc support.
11914 2013-05-11 Richard Stallman <rms@gnu.org>
11916 * epa.el (epa-decrypt-file): Take output file name as argument
11917 and read it using `interactive'.
11919 2013-05-11 Leo Liu <sdl.web@gmail.com>
11921 * progmodes/octave.el (octave-beginning-of-line)
11922 (octave-end-of-line): Check before using up-list because it jumps
11923 out of more syntactic contructs since moving to smie.
11924 (octave-indent-comment): New function.
11925 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
11926 (octave-begin-keywords, octave-end-keywords)
11927 (octave-reserved-words, octave-smie-bnf-table)
11928 (octave-smie-rules): Add new keywords from Octave 3.6.4.
11930 2013-05-11 Glenn Morris <rgm@gnu.org>
11932 * faces.el (internal-face-x-get-resource):
11933 * frame.el (ns-display-monitor-attributes-list):
11934 * calc/calc-aent.el (math-to-radians-2):
11935 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
11938 * calc/calc-menu.el: Make it loadable in isolation.
11940 * net/eudcb-bbdb.el: Make it loadable without bbdb.
11941 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
11942 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
11943 (eudc-bbdb-query-internal): Require 'bbdb.
11945 * lpr.el (lpr-headers-switches):
11946 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
11948 * progmodes/sql.el (sql-login-params): Fix and improve :type.
11950 * emulation/edt-mapper.el: In batch mode, error rather than hang.
11952 * term.el (term-set-escape-char): Make it idempotent.
11954 2013-05-10 Leo Liu <sdl.web@gmail.com>
11956 * progmodes/octave.el (inferior-octave-completion-table):
11957 No longer a function and all uses changed. Use cache to speed up
11958 completion due to bug#11906.
11959 (octave-beginning-of-defun): Re-write to be more general.
11961 2013-05-10 Glenn Morris <rgm@gnu.org>
11963 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
11965 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
11967 * comint.el (comint-redirect-send-command-to-process): Use :around
11968 rather than :override for comint-redirect-filter.
11969 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
11970 Call it instead of comint-redirect-original-filter-function (which
11971 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
11973 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
11975 * frame.el (display-monitor-attributes-list): Add NS case.
11976 (ns-display-monitor-attributes-list): Declare.
11978 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
11980 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
11982 2013-05-09 Glenn Morris <rgm@gnu.org>
11984 * international/fontset.el (vertical-centering-font-regexp):
11985 Set standard-value.
11987 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
11989 * bookmark.el (bookmark-search-delay):
11990 * cus-start.el (vertical-centering-font-regexp):
11991 * ps-mule.el (ps-mule-font-info-database-default):
11992 * ps-print.el (ps-default-fg, ps-default-bg):
11993 * type-break.el (type-break-good-break-interval):
11994 * whitespace.el (whitespace-indentation-regexp)
11995 (whitespace-space-after-tab-regexp):
11996 * emacs-lisp/testcover.el (testcover-1value-functions)
11997 (testcover-noreturn-functions, testcover-progn-functions)
11998 (testcover-prog1-functions):
11999 * emulation/viper-init.el (viper-emacs-state-cursor-color):
12000 * eshell/em-glob.el (eshell-glob-translate-alist):
12001 * play/tetris.el (tetris-tty-colors):
12002 * progmodes/cpp.el (cpp-face-default-list):
12003 * progmodes/flymake.el (flymake-allowed-file-name-masks):
12004 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
12005 (idlwave-help-browser-generic-args):
12006 * progmodes/make-mode.el (makefile-special-targets-list):
12007 * progmodes/python.el (python-shell-virtualenv-path):
12008 * progmodes/verilog-mode.el (verilog-active-low-regexp)
12009 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
12010 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
12011 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
12012 * textmodes/reftex-vars.el (reftex-format-label-function):
12013 * textmodes/remember.el (remember-diary-file): Fix custom types.
12015 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
12018 2013-05-09 Leo Liu <sdl.web@gmail.com>
12020 * progmodes/octave.el (inferior-octave-completion-at-point):
12021 Restore file completion. (Bug#14300)
12022 (inferior-octave-startup): Fix incorrect highlighting for the
12025 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
12027 * progmodes/ruby-mode.el: First cut at SMIE support.
12028 (ruby-use-smie): New var.
12029 (ruby-smie-grammar): New constant.
12030 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
12031 (ruby-smie--forward-token, ruby-smie--backward-token)
12032 (ruby-smie-rules): New functions.
12033 (ruby-mode-variables): Setup SMIE if applicable.
12035 2013-05-08 Eli Zaretskii <eliz@gnu.org>
12037 * simple.el (line-move-visual): Signal beginning/end of buffer
12038 only if vertical-motion moved less than it was requested. Avoids
12039 silly incorrect error messages when there are display strings with
12040 multiple newlines at EOL.
12042 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
12044 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
12045 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
12046 (prolog-char-quote-workaround):
12047 * progmodes/cperl-mode.el (cperl-under-as-char):
12048 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
12050 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
12052 (vhdl-mode-syntax-table-init): Remove.
12054 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
12057 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
12059 (ld-script-font-lock-keywords):
12060 Change regexps to use things like \_< and \_>.
12062 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
12063 Change all regexps to use things like \_< and \_>.
12065 * progmodes/autoconf.el (autoconf-definition-regexp)
12066 (autoconf-font-lock-keywords, autoconf-current-defun-function):
12067 Handle a _ with symbol syntax.
12068 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
12070 * progmodes/ada-mode.el (ada-mode-abbrev-table):
12071 Consolidate declaration.
12072 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
12074 (ada-create-syntax-table): Remove.
12075 (ada-capitalize-word): Don't mess with the syntax of "_" since it
12076 already has the right syntax nowadays.
12077 (ada-goto-next-word): Don't change the syntax of "_".
12079 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
12082 2013-05-08 Sam Steingold <sds@gnu.org>
12084 * thingatpt.el (thing-at-point): Accept optional second argument
12085 NO-PROPERTIES to strip the text properties from the return value.
12086 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
12087 to `thing-at-point' instead of stripping the properties ourselves.
12088 Also, when `thing-at-point' fails to find a url, prepend "http://"
12089 to the filename at point on the assumption that the user is
12090 pointing at something like gnu.org/gnu.
12092 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
12094 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
12095 * faces.el (crm-separator):
12096 Silence byte-compiler.
12098 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
12099 (tool-bar-map): Remove unneeded defvars.
12101 2013-05-08 Leo Liu <sdl.web@gmail.com>
12103 Re-work a fix for bug#10994 based on Le Wang's patch.
12104 * ido.el (ido-remove-consecutive-dups): New helper.
12105 (ido-completing-read): Use it.
12106 (ido-chop): Revert fix for bug#10994.
12108 2013-05-08 Adam Spiers <emacs@adamspiers.org>
12110 * cus-edit.el (custom-save-variables):
12111 Pretty-print long values. (Bug#14187)
12113 2013-05-08 Glenn Morris <rgm@gnu.org>
12115 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
12116 (m4-mode-syntax-table): Init in the defvar.
12117 (m4-mode-abbrev-table): Let define-derived-mode define it.
12119 2013-05-08 Tom Tromey <tromey@redhat.com>
12121 * progmodes/m4-mode.el (m4-mode-syntax-table):
12122 Do not treat "_" as word constituent. (Bug#14167)
12124 2013-05-07 Glenn Morris <rgm@gnu.org>
12126 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
12127 Remove explicit eshell-isearch-cancel-map.
12129 * progmodes/f90.el (f90-smart-end-names): New option.
12130 (f90-smart-end): Doc fix.
12131 (f90-end-block-optional-name): New constant.
12132 (f90-block-match): Respect f90-smart-end-names.
12134 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
12136 * progmodes/octave.el (octave-smie-forward-token): Be more careful
12137 about implicit semi-colons (bug#14218).
12139 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
12141 * frame.el (display-monitor-attributes-list)
12142 (frame-monitor-attributes): New functions.
12144 2013-05-06 Leo Liu <sdl.web@gmail.com>
12146 * progmodes/octave.el (octave-syntax-propertize-function): Change
12147 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
12148 (octave-font-lock-keywords): Use octave-operator-regexp.
12149 (octave-completion-at-point): Rename from
12150 octave-completion-at-point-function.
12151 (inferior-octave-directory-tracker): Robustify.
12152 (octave-text-functions): Remove and fix its uses. No such things
12155 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
12157 * emacs-lisp/trace.el (trace--display-buffer): New function.
12158 (trace-make-advice): Use it.
12160 2013-05-06 Juri Linkov <juri@jurta.org>
12162 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
12163 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
12165 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
12166 in the help string. (Bug#12985)
12168 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
12170 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
12172 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
12174 * progmodes/perl-mode.el: Add support for here documents.
12175 (perl-syntax-propertize-function): Match here-doc markers.
12176 (perl-syntax-propertize-special-constructs): Find their end.
12177 (perl-imenu-generic-expression): Use [:alnum:].
12179 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
12180 (advice--add-function): Refresh the advice if already present
12183 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
12185 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
12187 2013-05-06 Glenn Morris <rgm@gnu.org>
12189 * w32-fns.el (w32-charset-info-alist): Declare.
12191 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
12192 of its defcustom properties.
12193 (eshell-cmpl-initialize): No need to load pcomplete.
12195 * generic-x.el: No need to require comint when compiling.
12197 * net/eudc-export.el: Make it loadable without bbdb.
12198 (top-level): Use require rather than load-library.
12199 (eudc-create-bbdb-record, eudc-bbdbify-phone)
12200 (eudc-batch-export-records-to-bbdb)
12201 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
12204 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
12206 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
12207 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
12208 some tweaks, instead.
12210 2013-05-05 Leo Liu <sdl.web@gmail.com>
12212 * progmodes/octave.el (octave-font-lock-keywords)
12213 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
12214 (inferior-octave-send-list-and-digest): Improve error message.
12215 (octave-mode, inferior-octave-mode): Use setq-local.
12216 (octave-help): Set info-lookup-mode.
12218 2013-05-05 Richard Stallman <rms@gnu.org>
12220 * vc/compare-w.el (compare-windows-whitespace):
12221 Treat no-break space as whitespace.
12223 * mail/rmailsum.el (rmail-summary-rmail-update):
12224 Detect empty summary and don't change selected message.
12225 (rmail-summary-goto-msg): Likewise.
12227 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
12228 Doc fixes, rename args.
12230 2013-05-05 Alan Mackenzie <acm@muc.de>
12232 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
12234 2013-05-05 Juri Linkov <juri@jurta.org>
12236 * info.el (Info-read-subfile): Use (point-min) instead of (point)
12237 to not add the length of the summary segment to the return value.
12240 2013-05-05 Leo Liu <sdl.web@gmail.com>
12242 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
12243 (inferior-octave-output-filter): Remove.
12244 (octave-send-region, inferior-octave-startup): Fix callers.
12245 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
12246 (octave-binary-file-extensions): New user variable.
12247 (octave-find-definition): Confirm if opening binary files.
12248 (octave-help-file): Use octave-find-definition to get the binary
12250 (octave-help): Adjust for octave-help-file change.
12252 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
12254 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
12255 Merge the two entries that handle function definitions.
12256 (pascal--syntax-propertize): New const.
12257 (pascal-mode): Use it. Use setq-local.
12259 2013-05-04 Glenn Morris <rgm@gnu.org>
12261 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
12262 (diary-from-outlook): Respect diary-from-outlook-function.
12264 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
12266 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
12267 Move the declaration from C.
12268 (read-minibuffer, eval-minibuffer): Move from C.
12269 (completion-setup-function): Avoid minibuffer-completion-contents.
12271 2013-05-03 Leo Liu <sdl.web@gmail.com>
12273 * progmodes/octave.el (octave-font-lock-keywords): Do not
12274 dehighlight 'end' in comments or strings.
12275 (octave-completing-read, octave-goto-function-definition):
12277 (octave-help-buffer): New user variable.
12278 (octave-help-file, octave-help-function): New button types.
12279 (octave-help): New command and bind it to C-h ;.
12280 (octave-find-definition): New command and bind it to M-.
12281 (user-error): Alias to error if not defined.
12283 2013-05-02 Leo Liu <sdl.web@gmail.com>
12285 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
12287 (octave-font-lock-keywords): Include [ and {.
12289 2013-05-02 Leo Liu <sdl.web@gmail.com>
12291 * progmodes/octave.el (inferior-octave-startup-file): Change default.
12292 (inferior-octave): Remove calling comint-mode and return the buffer.
12293 (inferior-octave-startup): Cosmetic changes.
12295 2013-05-02 Leo Liu <sdl.web@gmail.com>
12297 * progmodes/octave.el (octave-syntax-propertize-function):
12298 Include the case when ' is at line beginning. (Bug#14336)
12300 2013-05-02 Glenn Morris <rgm@gnu.org>
12302 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
12303 * desktop.el (vc-dir-mode): Just autoload it here.
12305 2013-05-02 Alan Mackenzie <acm@muc.de>
12307 Eliminate variable c-standard-font-lock-fontify-region-function.
12308 * progmodes/cc-mode.el
12309 (c-standard-font-lock-fontify-region-function): Remove.
12310 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
12312 2013-05-01 Leo Liu <sdl.web@gmail.com>
12314 * progmodes/octave.el: Compatible with older emacs-24 releases.
12315 (inferior-octave-has-built-in-variables): Remove. Built-in
12316 variables were removed from Octave in 2007.
12317 (inferior-octave-startup): Fix uses.
12318 (comint-line-beginning-position): Remove compatibility code for
12321 2013-05-01 Juri Linkov <juri@jurta.org>
12323 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
12325 2013-05-01 Juri Linkov <juri@jurta.org>
12327 * comint.el (comint-previous-matching-input): Don't print message
12328 "History item: %d" when `isearch-mode' is active.
12329 (comint-history-isearch-message): Print message "History item: %d"
12330 when `comint-input-ring-index' is not empty and this function is
12331 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
12333 2013-05-01 Leo Liu <sdl.web@gmail.com>
12335 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
12336 definitions. Use completion-at-point to insert keywords.
12337 (octave-abbrev-start): Remove.
12338 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
12340 2013-04-30 Leo Liu <sdl.web@gmail.com>
12342 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
12345 2013-04-30 Alan Mackenzie <acm@muc.de>
12347 Handle arbitrarily long C++ member initialisation lists.
12348 * progmodes/cc-engine.el (c-back-over-member-initializers):
12350 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
12351 (most) member init lists.
12353 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12355 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
12358 2013-04-30 Leo Liu <sdl.web@gmail.com>
12360 * progmodes/octave.el (octave-variables): Remove. No builtin
12361 variables any more. All converted to functions.
12362 (octave-font-lock-keywords, octave-completion-at-point-function):
12364 (octave-font-lock-texinfo-comment): New user variable.
12365 (octave-texinfo-font-lock-keywords): New variable for texinfo
12367 (octave-function-comment-block): New face.
12368 (octave-font-lock-texinfo-comment): New function.
12369 (octave-mode): Font lock texinfo comment block.
12371 2013-04-29 Leo Liu <sdl.web@gmail.com>
12373 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
12374 indexing expression.
12375 (octave-continuation-string): Do not use \.
12376 (inferior-octave-complete-impossible): Remove.
12377 (inferior-octave-completion-table)
12378 (inferior-octave-completion-at-point): Remove its uses.
12379 (inferior-octave-startup): completion_matches was introduced to
12380 Octave in 1996 so safe to assume it.
12381 (octave-function-file-comment): Improve to follow how Octave does it.
12382 (octave-update-function-file-comment): Tweak.
12384 2013-04-29 Leo Liu <sdl.web@gmail.com>
12386 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
12387 (inferior-octave-startup): Remove inferior-octave-startup-hook.
12388 (octave-function-file-comment): Fix typo.
12389 (octave-sync-function-file-names): Use read-char-choice.
12391 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
12393 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
12394 to t for the less important warnings.
12396 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
12398 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
12400 2013-04-27 Glenn Morris <rgm@gnu.org>
12402 * vc/log-view.el (log-view-current-entry):
12403 Treat "---" separator lines as part of the following rev. (Bug#14169)
12405 2013-04-27 Juri Linkov <juri@jurta.org>
12407 * subr.el (read-number): Doc fix about using it by interactive
12408 code letter `n'. (Bug#14254)
12410 2013-04-27 Juri Linkov <juri@jurta.org>
12412 * desktop.el (desktop-auto-save-timeout): New option.
12413 (desktop-file-checksum): New variable.
12414 (desktop-save): Add optional arg `auto-save' and don't auto-save
12415 if nothing changed.
12416 (desktop-auto-save-timer): New variable.
12417 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
12418 (after-init-hook): Call `desktop-auto-save-set-timer'.
12419 Suggested by Reuben Thomas <rrt@sc3d.org> in
12420 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
12422 2013-04-27 Leo Liu <sdl.web@gmail.com>
12424 * progmodes/octave.el (octave-function-file-p)
12425 (octave-skip-comment-forward, octave-function-file-comment)
12426 (octave-update-function-file-comment): New functions.
12427 (octave-mode-map): Bind C-c ; to
12428 octave-update-function-file-comment.
12429 (octave-mode-menu): Add octave-update-function-file-comment.
12430 (octave-mode, inferior-octave-mode): Fix doc-string.
12431 (octave-insert-defun): Conform to Octave's coding convention.
12434 * files.el (basic-save-buffer): Don't let errors in
12435 before-save-hook prevent saving buffer.
12437 2013-04-20 Roland Winkler <winkler@gnu.org>
12439 * faces.el (read-face-name): Use completing-read if arg multiple
12442 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
12444 * ls-lisp.el (ls-lisp-insert-directory): If no files are
12445 displayed, move point to after the totals line.
12446 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
12449 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
12451 * emacs-lisp/package.el (package-autoload-ensure-default-file):
12452 Add current dir to the load-path.
12453 (package-generate-autoloads): Don't rely on
12454 autoload-ensure-default-file.
12456 2013-04-26 Reuben Thomas <rrt@sc3d.org>
12458 * textmodes/remember.el (remember-store-in-files): Document that
12459 the file name format is passed to `format-time-string'.
12461 2013-04-26 Leo Liu <sdl.web@gmail.com>
12463 * progmodes/octave.el (octave-sync-function-file-names): New function.
12464 (octave-mode): Use it in before-save-hook.
12466 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
12468 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
12471 * progmodes/octave.el (octave-smie-forward-token): Properly skip
12472 \n and comment, even if it's not an implicit ; (bug#14218).
12474 2013-04-26 Glenn Morris <rgm@gnu.org>
12476 * subr.el (read-number): Once more use `read' rather than
12477 `string-to-number', to trap non-numeric input. (Bug#14254)
12479 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
12481 * emacs-lisp/syntax.el (syntax-propertize-multiline):
12482 Use `syntax-multiline' text property consistently instead of
12483 `font-lock-multiline'. (Bug#14237)
12485 2013-04-26 Glenn Morris <rgm@gnu.org>
12487 * emacs-lisp/shadow.el (list-load-path-shadows):
12488 No longer necessary to check for duplicate simple.el, since
12489 2012-07-07 change to init_lread to not include installation lisp
12490 directories in load-path when running uninstalled. (Bug#14270)
12492 2013-04-26 Leo Liu <sdl.web@gmail.com>
12494 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
12495 (octave-mode, inferior-octave-mode): Use setq-local.
12496 (octave-not-in-string-or-comment-p): Rename to
12497 octave-in-string-or-comment-p.
12498 (octave-in-comment-p, octave-in-string-p)
12499 (octave-in-string-or-comment-p): Replace defsubst with defun.
12501 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
12503 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
12505 2013-04-25 Bastien Guerry <bzg@gnu.org>
12507 * textmodes/remember.el (remember-data-directory)
12508 (remember-directory-file-name-format): Fix custom types.
12510 2013-04-25 Leo Liu <sdl.web@gmail.com>
12512 * progmodes/octave.el (octave-completion-at-point-function):
12513 Make use of inferior octave process.
12514 (octave-initialize-completions): Remove.
12515 (inferior-octave-completion-table): New function.
12516 (inferior-octave-completion-at-point): Use it.
12517 (octave-completion-alist): Remove.
12519 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12521 * progmodes/opascal.el: Use font-lock and syntax-propertize.
12522 (opascal-mode-syntax-table): New var.
12523 (opascal-literal-kind, opascal-is-literal-end)
12524 (opascal-literal-token-at): Rewrite.
12525 (opascal--literal-start-re, opascal-font-lock-keywords)
12526 (opascal--syntax-propertize): New constants.
12527 (opascal-font-lock-defaults): Adjust.
12528 (opascal-mode): Use them. Set comment-<foo> variables as well.
12529 (delphi-comment-face, opascal-comment-face, delphi-string-face)
12530 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
12531 (delphi-other-face, opascal-other-face): Remove face variables.
12532 (opascal-save-state): Remove macro.
12533 (opascal-fontifying-progress-step): Remove constant.
12534 (opascal--ignore-changes): Remove var.
12535 (opascal-set-token-property, opascal-parse-next-literal)
12536 (opascal-is-stable-literal, opascal-complete-literal)
12537 (opascal-is-literal-start, opascal-face-of)
12538 (opascal-parse-region, opascal-parse-region-until-stable)
12539 (opascal-fontify-region, opascal-after-change)
12540 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
12541 (opascal-debug-parse-region, opascal-debug-parse-window)
12542 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
12543 (opascal-debug-fontify-buffer): Remove.
12544 (opascal-debug-mode-map): Adjust accordingly.
12546 2013-04-25 Leo Liu <sdl.web@gmail.com>
12548 Merge octave-mod.el and octave-inf.el into octave.el with some
12550 * progmodes/octave.el: New file renamed from octave-mod.el.
12551 * progmodes/octave-inf.el: Merged into octave.el.
12552 * progmodes/octave-mod.el: Renamed to octave.el.
12554 2013-04-25 Tassilo Horn <tsdh@gnu.org>
12556 * textmodes/reftex-vars.el
12557 (reftex-label-ignored-macros-and-environments): New defcustom.
12559 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
12561 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12563 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
12564 (smie-indent-keyword): Improve the check to ensure that the next
12565 comment is really on the same line.
12566 (smie-indent-comment): Don't align with a subsequent closer (or eob).
12568 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
12569 semi-colons if the line is not otherwise empty (bug#14218).
12571 2013-04-25 Glenn Morris <rgm@gnu.org>
12573 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
12575 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
12577 * progmodes/opascal.el (opascal-set-token-property): Rename from
12578 opascal-set-text-properties and only set `token' (bug#14134).
12579 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
12580 (opascal-literal-text-properties): Remove.
12581 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
12584 2013-04-24 Reuben Thomas <rrt@sc3d.org>
12586 * textmodes/remember.el (remember-handler-functions): Add an
12587 option for a new handler `remember-store-in-files'.
12588 (remember-data-directory, remember-directory-file-name-format):
12590 (remember-store-in-files): New function to store remember notes
12591 as separate files within a directory.
12593 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
12595 * progmodes/compile.el (compilation-next-error-function):
12596 Pass "formats" to compilation-find-file (bug#11777).
12598 2013-04-24 Glenn Morris <rgm@gnu.org>
12600 * vc/vc-bzr.el (vc-bzr-print-log):
12601 * vc/vc-hg.el (vc-hg-print-log):
12602 * vc/vc-svn.el (vc-svn-print-log):
12603 Fix START-REVISION with LIMIT != 1. (Bug#14168)
12605 * vc/vc-bzr.el (vc-bzr-print-log):
12606 * vc/vc-cvs.el (vc-cvs-print-log):
12607 * vc/vc-git.el (vc-git-print-log):
12608 * vc/vc-hg.el (vc-hg-print-log):
12609 * vc/vc-mtn.el (vc-mtn-print-log):
12610 * vc/vc-rcs.el (vc-rcs-print-log):
12611 * vc/vc-sccs.el (vc-sccs-print-log):
12612 * vc/vc-svn.el (vc-svn-print-log):
12613 * vc/vc.el (vc-print-log-internal): Doc fixes.
12615 2013-04-23 Glenn Morris <rgm@gnu.org>
12617 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
12618 Remove venerable code attempting to avoid substitute-command-keys.
12620 2013-04-23 Tassilo Horn <tsdh@gnu.org>
12622 * textmodes/reftex-vars.el (reftex-label-regexps):
12623 Call `reftex-compile-variables' after changes to this variable.
12625 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
12627 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
12628 Use lexical-binding.
12629 (jit-lock-force-redisplay): Use markers, check buffer's continued
12630 existence and beware narrowed buffers.
12631 (jit-lock-fontify-now): Adjust call accordingly.
12633 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
12635 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
12636 to avoid misleading the user.
12638 2013-04-22 Leo Liu <sdl.web@gmail.com>
12640 * info-look.el: Prefer latex2e.info. (Bug#14240)
12642 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
12644 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
12646 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
12647 * net/tramp.el (tramp-call-process): ... here.
12648 (tramp-set-completion-function, tramp-parse-putty):
12649 * net/tramp-adb.el (tramp-adb-execute-adb-command):
12650 * net/tramp-gvfs.el (tramp-gvfs-send-command):
12651 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
12652 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
12653 (tramp-call-local-coding-command): Use `tramp-call-process'
12654 instead of `tramp-compat-call-process'.
12656 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
12657 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
12658 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
12659 (tramp-find-inline-compress): Improve traces.
12660 (tramp-maybe-send-script): Check for Perl binary.
12661 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
12663 2013-04-22 Daiki Ueno <ueno@gnu.org>
12665 * epg.el (epg-context-pinentry-mode): New function.
12666 (epg-context-set-pinentry-mode): New function.
12667 (epg--start): Pass --pinentry-mode option to gpg command.
12669 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
12671 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
12672 `comint-dynamic-complete' is obsolete since 24.1, replaced by
12673 `completion-at-point'. (Bug#13774)
12675 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
12676 default key binding for `describe-distribution' has been moved to
12677 `C-h C-o'. (Bug#13970)
12679 2013-04-21 Glenn Morris <rgm@gnu.org>
12681 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
12683 (vc-print-log): Clarify interactive prompt.
12685 2013-04-20 Glenn Morris <rgm@gnu.org>
12687 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
12688 No longer include timestamp etc information.
12690 2013-04-20 Roland Winkler <winkler@gnu.org>
12692 * faces.el (read-face-name): Bug fix, return just one face if arg
12693 multiple is nil. (Bug#14209)
12695 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
12697 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
12698 (remove-function): Autoload.
12700 * comint.el (comint-redirect-original-filter-function): Remove.
12701 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
12702 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
12703 (vc-cvs-annotate-command):
12704 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
12705 * progmodes/prolog.el (prolog-consult-compile):
12706 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
12707 Use add/remove-function instead.
12708 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
12709 (gud-tooltip-process-output, gud-tooltip-tips):
12710 Use add/remove-function instead.
12711 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
12712 (scheme-interaction-mode, exit-scheme-interaction-mode):
12713 Use add/remove-function instead.
12715 * vc/vc-dispatcher.el: Use lexical-binding.
12716 (vc--process-sentinel): Rename from vc-process-sentinel.
12717 Change last arg to be the code to run. Don't use vc-previous-sentinel
12718 and vc-sentinel-commands any more.
12719 (vc-exec-after): Allow code to be a function. Use add/remove-function.
12720 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
12722 2013-04-19 Masatake YAMATO <yamato@redhat.com>
12724 * progmodes/sh-script.el (sh-imenu-generic-expression):
12725 Handle function names with a single character. (Bug#14111)
12727 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
12729 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
12730 for subroutines defined in an eval (bug#14182).
12732 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12734 * bookmark.el (bookmark-completing-read): Improve handling of empty
12735 string (bug#14176).
12737 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
12739 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
12741 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
12743 New faster Imenu implementation (bug#14058).
12744 * progmodes/python.el:
12745 (python-imenu-prev-index-position):
12746 (python-imenu-format-item-label-function)
12747 (python-imenu-format-parent-item-label-function)
12748 (python-imenu-format-parent-item-jump-label-function):
12750 (python-imenu-format-item-label)
12751 (python-imenu-format-parent-item-label)
12752 (python-imenu-format-parent-item-jump-label)
12753 (python-imenu--put-parent, python-imenu--build-tree)
12754 (python-imenu-create-index, python-imenu-create-flat-index)
12755 (python-util-popn): New functions.
12756 (python-mode): Set imenu-create-index-function to
12757 python-imenu-create-index.
12759 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
12761 * winner.el (winner-active-region): Use region-active-p, activate-mark
12762 and deactivate-mark (bug#14225).
12764 * simple.el (deactivate-mark): Don't inline it.
12766 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
12768 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
12770 2013-04-18 Tassilo Horn <tsdh@gnu.org>
12772 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
12773 file extensions from the archive-mode entry in order to prefer
12774 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
12776 2013-04-18 Leo Liu <sdl.web@gmail.com>
12778 * bindings.el (help-event-list): Add ?\?.
12780 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
12782 * subr.el (with-wrapper-hook): Declare obsolete.
12783 * simple.el (filter-buffer-substring-function): New hook.
12784 (filter-buffer-substring): Use it.
12785 (filter-buffer-substring-functions): Mark obsolete.
12786 * minibuffer.el (completion-in-region-function): New hook.
12787 (completion-in-region): Use it.
12788 (completion-in-region-functions): Mark obsolete.
12789 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
12790 * abbrev.el (abbrev-expand-function): New hook.
12791 (expand-abbrev): Use it.
12792 (abbrev-expand-functions): Mark obsolete.
12793 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
12794 and :filter-return.
12796 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
12798 * progmodes/python.el (python-nav--syntactically): Fix cornercases
12799 and do not care about match data.
12801 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
12803 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
12804 completion tables when completing error conditions and
12805 `declare' arguments.
12806 (lisp-complete-symbol, field-complete): Mark as obsolete.
12807 (check-parens): Unmatched parens are user errors.
12808 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
12810 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
12812 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
12813 command changed buffer (ie. `flyspell-pre-buffer' is not current
12814 buffer), which prevents making decisions based on invalid value of
12815 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
12816 cause an error when `flyspell-pre-point' was nil after switching
12818 (flyspell-post-command-hook): No longer needs to change buffers when
12819 checking pre-word. While at it remove unnecessary progn.
12821 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
12823 * textmodes/ispell.el (ispell-add-per-file-word-list):
12824 Fix `flyspell-correct-word-before-point' error when accepting
12825 words and `coment-padding' is an integer by using
12826 `comment-normalize-vars' (Bug #14214).
12828 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
12830 New defun movement commands.
12831 * progmodes/python.el (python-nav--syntactically)
12832 (python-nav--forward-defun, python-nav-backward-defun)
12833 (python-nav-forward-defun): New functions.
12835 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
12837 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
12838 (python-syntax-context): Use named compiler-macro for backwards
12839 compatibility with Emacs 24.x.
12841 2013-04-17 Leo Liu <sdl.web@gmail.com>
12843 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
12844 octave-hide-process-buffer.
12846 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
12848 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
12851 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
12853 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
12854 Fix adjustment of offset when receiving incomplete responses from GDB
12857 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
12859 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
12860 python-mode-abbrev-table.
12861 (python-skeleton-define): Adjust accordingly.
12862 (python-mode-abbrev-table): New table that inherits from it so that
12863 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
12865 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
12866 (abbrev-symbol): Use it.
12867 (abbrev--before-point): Use it since we already handle inheritance.
12869 2013-04-16 Leo Liu <sdl.web@gmail.com>
12871 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
12872 binding to info-lookup-symbol.
12874 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
12876 * minibuffer.el (completion--twq-all):
12877 * term/ns-win.el (ns-initialize-window-system):
12878 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
12880 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
12882 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
12885 * doc-view.el (doc-view-start-process): Handle url-handler directories.
12887 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
12889 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
12890 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
12892 (ruby-end-of-defun): Remove the unused arg, change the docstring
12893 to reflect that this function is only used as the value of
12894 `end-of-defun-function'.
12895 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
12896 to reflect an earlier change that beginning/end-of-defun functions
12897 jump between methods in a class definition, as well as top-level
12900 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12902 * minibuffer.el (minibuffer-complete): Don't just scroll
12903 a *Completions* that's been iconified.
12904 (minibuffer-force-complete): Make sure repetitions do cycle when going
12905 through completion-in-region -> minibuffer-complete.
12907 2013-04-15 Alan Mackenzie <acm@muc.de>
12909 Correct the placement of c-cpp-delimiters when there're #s not at
12912 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
12913 place a submatch around the #.
12914 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
12915 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
12918 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12920 * emacs-lisp/nadvice.el: Properly test names when adding advice.
12921 (advice--member-p): New arg `name'.
12922 (advice--add-function, advice-member-p): Use it (bug#14202).
12924 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
12926 Reformulate java imenu-generic-expression.
12927 The old expression contained ill formed regexps.
12929 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
12930 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
12931 (cc-imenu-java-method-arg-regexp): New defconsts.
12932 (cc-imenu-java-build-type-args-regex): New defun.
12933 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
12934 handling of spaces in the regexp.
12936 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12938 * textmodes/ispell.el (ispell-command-loop): Remove
12939 flyspell highlight of a word when ispell accepts it (bug #14178).
12941 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
12943 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
12944 uses code from the previous `ange-ftp-run-real-handler'.
12945 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
12946 only in case that function exist. This is needed for proper
12947 unloading of Tramp.
12949 2013-04-15 Tassilo Horn <tsdh@gnu.org>
12951 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
12953 * textmodes/reftex.el (reftex-compile-variables): Use it.
12955 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12957 * files.el (normal-mode): Only use default major-mode if no other mode
12960 * emacs-lisp/trace.el (trace-values): New function.
12962 * files.el: Allow : in local variables (bug#14089).
12963 (hack-local-variable-regexp): New var.
12964 (hack-local-variables-prop-line, hack-local-variables): Use it.
12966 2013-04-13 Roland Winkler <winkler@gnu.org>
12968 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
12969 data before it gets modified by bibtex-beginning-of-entry.
12971 2013-04-13 Roland Winkler <winkler@gnu.org>
12973 * textmodes/bibtex.el (bibtex-url): Doc fix.
12975 2013-04-13 Roland Winkler <winkler@gnu.org>
12977 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
12978 does not visit a BibTeX file, exclude it from the list of buffers
12979 returned by bibtex-initialize.
12981 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
12983 * window.el (split-window): Remove interactive form, since as a
12984 command this function is a special case of split-window-below.
12985 Correct doc string.
12987 2013-04-12 Roland Winkler <winkler@gnu.org>
12989 * faces.el (read-face-name): Do not override value of arg default.
12990 Allow single faces and strings as default values. Remove those
12991 elements from return value that are not faces.
12992 (describe-face): Simplify.
12993 (face-at-point): New optional args thing and multiple so that this
12994 function can provide the same functionality previously provided by
12996 (make-face-bold, make-face-unbold, make-face-italic)
12997 (make-face-unitalic, make-face-bold-italic, invert-face)
12998 (modify-face, read-face-and-attribute): Use face-at-point.
13000 * cus-edit.el (customize-face, customize-face-other-window)
13001 * cus-theme.el (custom-theme-add-face)
13002 * face-remap.el (buffer-face-set)
13003 * facemenu.el (facemenu-set-face): Use face-at-point.
13005 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
13007 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
13009 2013-04-10 Tassilo Horn <tsdh@gnu.org>
13011 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
13012 off leading { and trailing } from field values.
13014 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
13016 * emacs-lisp/timer.el (timer--check): New function.
13017 (timer--time, timer-set-function, timer-event-handler): Use it.
13018 (timer-set-idle-time): Simplify.
13019 (timer--activate): CSE.
13020 (timer-event-handler): Give more info in error message.
13021 (internal-timer-start-idle): New function, moved from C.
13023 * mpc.el (mpc-proc): Add `restart' argument.
13024 (mpc-proc-cmd): Use it.
13025 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
13026 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
13029 2013-04-10 Masatake YAMATO <yamato@redhat.com>
13031 * progmodes/sh-script.el: Implement `sh-mode' own
13032 `add-log-current-defun-function' (bug#14112).
13033 (sh-current-defun-name): New function.
13034 (sh-mode): Use the function.
13036 2013-04-09 Bastien Guerry <bzg@gnu.org>
13038 * simple.el (choose-completion-string): Fix docstring (bug#14163).
13040 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
13042 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
13044 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
13047 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
13049 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
13052 2013-04-07 Leo Liu <sdl.web@gmail.com>
13054 * pcmpl-x.el: New file.
13056 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
13058 Do not set x-display-name until X connection is established.
13059 This is needed to prevent from weird situation described at
13060 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
13061 * frame.el (make-frame): Set x-display-name after call to
13062 window system initialization function, not before.
13063 * term/x-win.el (x-initialize-window-system): Add optional
13064 display argument and use it.
13065 * term/w32-win.el (w32-initialize-window-system):
13066 * term/ns-win.el (ns-initialize-window-system):
13067 * term/pc-win.el (msdos-initialize-window-system):
13068 Add compatible optional display argument.
13070 2013-04-06 Eli Zaretskii <eliz@gnu.org>
13072 * files.el (normal-backup-enable-predicate): On MS-Windows and
13073 MS-DOS compare truenames of temporary-file-directory and of the
13074 file, so that 8+3 aliases (usually found in $TEMP on Windows)
13075 don't fail comparison by compare-strings. Also, compare file
13076 names case-insensitively on MS-Windows and MS-DOS.
13078 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
13080 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
13081 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
13083 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
13085 * whitespace.el (whitespace-color-on, whitespace-color-off):
13086 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
13088 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
13090 * ispell.el (ispell-set-spellchecker-params):
13091 Really set `ispell-args' for all equivs.
13093 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
13095 * ido.el (ido-completions): Use extra elements of ido-decorations
13097 (ido-decorations): Update docstring.
13099 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
13101 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
13102 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
13103 nil during initialization, in order not to miss changes since the
13104 file was opened. (Bug#14140)
13106 2013-04-05 Leo Liu <sdl.web@gmail.com>
13108 * kmacro.el (kmacro-call-macro): Fix bug#14135.
13110 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
13112 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
13114 2013-04-04 Glenn Morris <rgm@gnu.org>
13116 * electric.el (electric-pair-inhibit-predicate): Add :version.
13118 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
13120 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
13121 when a package is required several times (bug#14082).
13123 2013-04-04 Roland Winkler <winkler@gnu.org>
13125 * faces.el (read-face-name): Behave as promised by the docstring.
13126 Assume that arg default is a list of faces.
13127 (describe-face): Call read-face-name with list of default faces.
13129 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13131 * bookmark.el: Fix deletion of bookmarks (bug#13972).
13132 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
13133 (bookmark-bmenu-execute-deletions): Only skip first line if it's
13135 (bookmark-exit-hook-internal): Save even if list is empty.
13137 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
13139 * emacs-lisp/package.el (package-pinned-packages): New var.
13140 (package--add-to-archive-contents): Obey it (bug#14118).
13142 2013-04-03 Alan Mackenzie <acm@muc.de>
13144 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
13145 Also adapt to the new values of element 7 of a parse state.
13147 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
13148 parameter `not-in-delimiter'. Handle being inside comment opener.
13149 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
13150 character in case we're typing a '*' after a '/'.
13151 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
13152 instead by passing the parameter to c-state-pp-to-literal.
13154 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
13155 for elt. 7 of a parse state.
13157 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
13159 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
13160 * international/latin1-disp.el, international/mule-util.el:
13161 * language/cyril-util.el, language/european.el, language/ind-util.el:
13162 * language/lao-util.el, language/thai.el, language/tibet-util.el:
13163 * language/tibetan.el, language/viet-util.el:
13164 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
13166 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
13168 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
13169 (electric-pair-post-self-insert-function): Use it.
13170 (electric-pair-default-inhibit): New function, extracted from
13171 electric-pair-post-self-insert-function.
13173 2013-03-31 Roland Winkler <winkler@gnu.org>
13175 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
13177 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
13179 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
13181 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
13183 Un-indent after "pass" and "return" statements (Bug#13888)
13184 * progmodes/python.el (python-indent-block-enders): New var.
13185 (python-indent-calculate-indentation): Use it.
13187 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
13189 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
13190 defun. Defining it as defalias could introduce too eager
13191 byte-compiler optimization. (Bug#14030)
13193 2013-03-30 Chong Yidong <cyd@gnu.org>
13195 * iswitchb.el (iswitchb-read-buffer): Fix typo.
13197 2013-03-30 Leo Liu <sdl.web@gmail.com>
13199 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
13200 (kmacro-execute-from-register): Pass the keyboard macro to
13201 kmacro-call-macro or repeating won't work correctly.
13203 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
13205 * progmodes/subword.el: Back to using `forward-symbol'.
13207 * subr.el (forward-whitespace, forward-symbol)
13208 (forward-same-syntax): Move from thingatpt.el.
13210 2013-03-29 Leo Liu <sdl.web@gmail.com>
13212 * kmacro.el (kmacro-to-register): New command.
13213 (kmacro-execute-from-register): New function.
13214 (kmacro-keymap): Bind to 'x'. (Bug#14071)
13216 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
13218 * mpc.el: Use defvar-local and setq-local.
13219 (mpc--proc-connect): Connection failures are not bugs.
13220 (mpc-mode-map): `follow-link' only applies to the buffer's content.
13221 (mpc-volume-map): Bind to the up-events.
13223 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
13225 * progmodes/subword.el (superword-mode): Use `forward-sexp'
13226 instead of `forward-symbol'.
13228 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
13230 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
13231 (edebug--recursive-edit): Use it.
13232 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
13233 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
13235 2013-03-28 Leo Liu <sdl.web@gmail.com>
13237 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
13239 2013-03-27 Eli Zaretskii <eliz@gnu.org>
13241 * facemenu.el (list-colors-callback): New defvar.
13242 (list-colors-redisplay): New function.
13243 (list-colors-display): Install list-colors-redisplay as the
13244 revert-buffer-function. (Bug#14063)
13246 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
13248 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
13249 and suffixes don't overlap (bug#14061).
13251 * case-table.el: Use lexical-binding.
13252 (case-table-get-table): New function.
13253 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
13255 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
13257 * progmodes/subword.el: Add `superword-mode' to do word motion
13258 over symbol_words (parallels and leverages `subword-mode' which
13259 does word motion inside MixedCaseWords).
13261 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
13263 * eshell/em-unix.el: Move su and sudo to...
13264 * eshell/em-tramp.el: ...Eshell tramp module.
13266 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
13268 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
13269 Change return value to be a sexp. Delay `get-buffer' to after
13270 restoring the desktop (bug#13951).
13272 2013-03-26 Leo Liu <sdl.web@gmail.com>
13274 * register.el: Move semantic tag handling back to
13275 cedet/semantic/senator.el. (Bug#14052)
13277 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
13279 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
13280 into the prompt either (bug#13963).
13282 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
13284 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
13285 part of "(error-foo)".
13287 2013-03-24 Juri Linkov <juri@jurta.org>
13289 * replace.el (list-matching-lines-prefix-face): New defcustom.
13290 (occur-1): Pass `list-matching-lines-prefix-face' to the function
13291 `occur-engine' if `face-differs-from-default-p' returns t.
13292 (occur-engine): Add `,' inside backquote construct to evaluate
13293 `prefix-face'. Propertize the prefix with the `prefix-face' face.
13294 Pass `prefix-face' to the functions `occur-context-lines' and
13295 `occur-engine-add-prefix'.
13296 (occur-engine-add-prefix, occur-context-lines): Add optional arg
13297 `prefix-face' and propertize the prefix with `prefix-face'.
13300 2013-03-24 Leo Liu <sdl.web@gmail.com>
13302 * nxml/rng-valid.el (rng-validate-while-idle)
13303 (rng-validate-quick-while-idle): Guard against deleted buffer.
13306 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
13307 is the last entry in kill-buffer-hook.
13309 * files.el (kill-buffer-hook): Doc fix.
13311 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
13313 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
13314 Make it safe-local.
13316 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
13318 2013-03-23 Leo Liu <sdl.web@gmail.com>
13320 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
13323 * nxml/rng-valid.el (rng-validate-mode)
13324 (rng-after-change-function, rng-do-some-validation):
13325 * nxml/rng-maint.el (rng-validate-buffer):
13326 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
13327 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
13328 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
13329 (nxml-extend-after-change-region): Use with-silent-modifications.
13331 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
13334 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
13335 (rng-next-error-1, rng-previous-error-1): Do not let-bind
13336 timer-idle-list. (Bug#13999)
13338 2013-03-23 Juri Linkov <juri@jurta.org>
13340 * info.el (info-index-match): New face.
13341 (Info-index, Info-apropos-matches): Add a nested subgroup to the
13342 main pattern and add text properties with the new face to matches
13343 in index entries relative to the beginning of the index entry.
13346 2013-03-21 Eric Ludlam <zappo@gnu.org>
13348 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
13349 Inhibit read only while inserting objects.
13351 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
13353 * progmodes/cfengine.el: Update docs to mention
13354 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
13355 symbol motion. Remove "_" from the word syntax.
13357 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
13359 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
13360 syntax for both `cfengine2-mode' and `cfengine3-mode'.
13362 2013-03-20 Juri Linkov <juri@jurta.org>
13364 * info.el (Info-next-reference-or-link)
13365 (Info-prev-reference-or-link): New functions.
13366 (Info-next-reference, Info-prev-reference): Use them.
13367 (Info-try-follow-nearest-node): Handle footnote navigation.
13368 (Info-fontify-node): Fontify footnotes. (Bug#13989)
13370 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
13372 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
13373 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
13375 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
13377 Suppress unnecessary non-ASCII chatter during build process.
13378 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
13379 (batch-skkdic-convert): Suppress most of the chatter.
13380 It's not needed so much now that machines are faster,
13381 and its non-ASCII component was confusing; see Dmitry Gutov in
13382 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
13384 2013-03-20 Leo Liu <sdl.web@gmail.com>
13386 * ido.el (ido-chop): Fix bug#10994.
13388 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
13390 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
13392 (whitespace-color-on, whitespace-color-off):
13393 Use `font-lock-fontify-buffer' (Bug#13817).
13395 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
13397 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
13398 remapping in mode-line.
13399 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
13401 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
13403 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
13404 value for `whitespace-line' face (Bug#13875).
13405 (whitespace-font-lock-keywords): Change description.
13406 (whitespace-color-on): Don't save `font-lock-keywords' value, save
13407 the constructed keywords instead.
13408 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
13410 2013-03-19 Leo Liu <sdl.web@gmail.com>
13412 * progmodes/compile.el (compilation-display-error): New command.
13413 (compilation-mode-map, compilation-minor-mode-map): Bind it to
13416 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
13418 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
13420 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
13422 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
13424 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
13426 * net/tramp-compat.el (tramp-compat-user-error): New defun.
13428 * net/tramp-adb.el (tramp-adb-handle-shell-command):
13429 * net/tramp-gvfs.el (top):
13430 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
13431 (tramp-handle-shell-command): Use it.
13432 (tramp-dissect-file-name): Raise an error when hostname is a
13433 method name, and neither method nor user is specified.
13435 * net/trampver.el: Update release number.
13437 2013-03-18 Leo Liu <sdl.web@gmail.com>
13439 Make sure eldoc can be turned off properly.
13440 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
13442 (eldoc-display-message-p): Revert last change.
13443 (eldoc-display-message-no-interference-p)
13444 (eldoc-print-current-symbol-info): Tweak.
13446 2013-03-18 Tassilo Horn <tsdh@gnu.org>
13448 * doc-view.el (doc-view-new-window-function): Check the new window
13449 overlay's display property instead the char property of the
13450 buffer's first char. Use `with-selected-window' instead of
13451 `save-window-excursion' with `select-window'.
13452 (doc-view-document->bitmap): Check the current doc-view overlay's
13453 display property instead the char property of the buffer's first char.
13455 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
13457 Automate the build of ja-dic.el (Bug#13984).
13458 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
13459 from the input, rather than assume that it's been done for us by the
13460 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
13461 the current date into a ja-dic.el comment, as that complicates
13462 regression testing.
13464 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
13466 * whitespace.el: Fix double evaluation.
13467 (whitespace-space, whitespace-hspace, whitespace-tab)
13468 (whitespace-newline, whitespace-trailing, whitespace-line)
13469 (whitespace-space-before-tab, whitespace-indentation)
13470 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
13472 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
13473 (whitespace-color-on): Use a single font-lock-add-keywords call.
13474 Fix double-evaluation of face variables.
13476 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
13478 * net/tramp-adb.el (tramp-adb-parse-device-names):
13479 Use `start-process' instead of `call-process'. Otherwise, the
13480 function might be blocked under MS Windows. (Bug#13299)
13482 2013-03-17 Leo Liu <sdl.web@gmail.com>
13484 Extend eldoc to display info in the mode-line. (Bug#13978)
13485 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
13486 (eldoc-mode-line-string): New variable.
13487 (eldoc-minibuffer-message): New function.
13488 (eldoc-message-function): New variable.
13489 (eldoc-message): Use it.
13490 (eldoc-display-message-p)
13491 (eldoc-display-message-no-interference-p):
13492 Support eldoc-post-insert-mode.
13494 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
13495 (eval-expression): Run it.
13497 2013-03-17 Roland Winkler <winkler@gnu.org>
13499 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
13500 strings in the list of return values.
13502 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
13504 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
13505 radix before checking for HMS forms.
13507 2013-03-16 Leo Liu <sdl.web@gmail.com>
13509 * progmodes/scheme.el: Add indentation and font-locking for λ.
13512 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
13514 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
13515 token before point (bug#13942).
13517 2013-03-16 Leo Liu <sdl.web@gmail.com>
13519 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
13521 2013-03-16 Eli Zaretskii <eliz@gnu.org>
13523 * startup.el (command-line-normalize-file-name): Fix handling of
13524 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
13525 <xfq.free@gmail.com> in
13526 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
13528 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
13530 Sync with Tramp 2.2.7.
13532 * net/trampver.el: Update release number.
13534 2013-03-14 Tassilo Horn <tsdh@gnu.org>
13536 * doc-view.el: Fix bug#13887.
13537 (doc-view-insert-image): Don't modify overlay associated to
13538 non-live windows, and implement horizontal centering of image in
13539 case it's smaller than the window.
13540 (doc-view-new-window-function): Force redisplay of new windows on
13543 2013-03-13 Karl Fogel <kfogel@red-bean.com>
13545 * saveplace.el (save-place-alist-to-file): Don't sort
13546 `save-place-alist', just pretty-print it (bug#13882).
13548 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
13550 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
13551 Check whether `default-file-name-coding-system' is bound.
13552 It isn't in XEmacs.
13554 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
13556 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
13557 backquotes for `obsolete' (bug#13929).
13559 * international/mule.el (find-auto-coding): Include file name in
13560 obsolescence warning (bug#13922).
13562 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
13564 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
13565 for CFEngine 3-specific indentation.
13566 (cfengine3-indent-line): Use it. Fix up category regex.
13567 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
13569 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13571 * type-break.el (type-break-file-name):
13572 * textmodes/remember.el (remember-data-file):
13573 * strokes.el (strokes-file):
13574 * shadowfile.el (shadow-initialize):
13575 * saveplace.el (save-place-file):
13576 * ps-bdf.el (bdf-cache-file):
13577 * progmodes/idlwave.el (idlwave-config-directory):
13578 * net/quickurl.el (quickurl-url-file):
13579 * international/kkc.el (kkc-init-file-name):
13580 * ido.el (ido-save-directory-list-file):
13581 * emulation/viper.el (viper-custom-file-name):
13582 * emulation/vip.el (vip-startup-file):
13583 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
13584 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
13586 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
13588 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
13589 * language/thai-word.el: Switch to UTF-8.
13591 See ChangeLog.16 for earlier changes.
13593 ;; Local Variables:
13597 Copyright (C) 2011-2014 Free Software Foundation, Inc.
13599 This file is part of GNU Emacs.
13601 GNU Emacs is free software: you can redistribute it and/or modify
13602 it under the terms of the GNU General Public License as published by
13603 the Free Software Foundation, either version 3 of the License, or
13604 (at your option) any later version.
13606 GNU Emacs is distributed in the hope that it will be useful,
13607 but WITHOUT ANY WARRANTY; without even the implied warranty of
13608 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13609 GNU General Public License for more details.
13611 You should have received a copy of the GNU General Public License
13612 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.