1 2015-01-01 Eli Zaretskii <eliz@gnu.org>
3 * tool-bar.el (tool-bar-local-item)
4 (tool-bar-local-item-from-menu): Call force-mode-line-update to
5 make sure the tool-bar changes show on display.
7 2015-01-01 Michael Albinus <michael.albinus@gmx.de>
9 Sync with Tramp 2.2.11.
11 * net/tramp-compat.el (top): Require cl-macs for Emacs 22.
12 Make an alias for `default-toplevel-value' if it doesn't exist.
14 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
15 Use `tramp-compat-delete-directory'.
17 * net/trampver.el: Update release number.
19 2015-01-01 Filipp Gunbin <fgunbin@fastmail.fm>
21 * autorevert.el (auto-revert-handler): Fix auto-revert-tail-mode
22 for remote files. (Bug#19449)
24 2015-01-01 Simen Heggestøyl <simenheg@gmail.com> (tiny change)
26 * textmodes/css-mode.el (scss-mode): Fix typo (bug#19446).
28 2014-12-31 Paul Eggert <eggert@cs.ucla.edu>
30 Less 'make' chatter in lisp directory
31 * Makefile.in (AM_DEFAULT_VERBOSITY, AM_V_GEN, am__v_GEN_)
32 (am__v_GEN_0, am__v_GEN_1): New macros, from ../src/Makefile.in.
33 (custom-deps, finder-data, autoloads, update-subdirs): Use them.
35 2014-12-31 Filipp Gunbin <fgunbin@fastmail.fm>
37 * info.el (info-display-manual): Limit the completion alternatives
38 to currently visited manuals if prefix argument is non-nil.
40 2014-12-30 Paul Eggert <eggert@cs.ucla.edu>
42 * Makefile.in (semantic): Simplify.
44 2014-12-30 Juri Linkov <juri@linkov.net>
46 * net/eww.el (eww-isearch-next-buffer): New function.
47 (eww-mode): Set multi-isearch-next-buffer-function to it.
49 2014-12-30 Dmitry Gutov <dgutov@yandex.ru>
51 * progmodes/xref.el (xref-find-definitions): Mention "no
52 identifier at point" case in the docstring.
54 * menu-bar.el (menu-bar-goto-uses-etags-p): New function.
55 (menu-bar-goto-menu): Use it to show or hide the `set-tags-name'
56 and `separator-tag-file' items.
58 2014-12-29 Paul Eggert <eggert@cs.ucla.edu>
60 * obsolete/pc-select.el (pc-selection-mode): Use system-type.
61 This is instead of system-name, which is both wrong here and obsolete.
63 2014-12-29 Dmitry Gutov <dgutov@yandex.ru>
65 * menu-bar.el (menu-bar-next-tag-other-window)
66 (menu-bar-next-tag): Remove.
68 2014-12-29 K. Handa <handa@gnu.org>
70 * international/mule.el (make-translation-table-from-alist):
71 Accept nil or zero-length vector for FROM and TO.
73 2014-12-29 Lars Ingebrigtsen <larsi@gnus.org>
75 * net/eww.el (eww-mode): Truncate overlong lines for prettier
76 display when resizing.
78 * net/shr.el (shr-width): Default to using the window width when
81 2014-12-29 Dmitry Gutov <dgutov@yandex.ru>
83 Unbreak jumping to an alias's definition.
85 * emacs-lisp/find-func.el (find-function-library): Return a pair
86 (ORIG-FUNCTION . LIBRARY) instead of just its second element.
87 (find-function-noselect): Use it.
89 * progmodes/elisp-mode.el (elisp--xref-identifier-file): Rename to
90 `elisp--xref-identifier-location', incorporate logic from
91 `elisp--xref-find-definitions', use the changed
92 `find-function-library' return value.
94 2014-12-29 Juri Linkov <juri@linkov.net>
96 * comint.el (comint-history-isearch-message): Use field-beginning
97 instead of comint-line-beginning-position - that's more fixes for
98 http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg00305.html
99 (comint-history-isearch-message): Fix args of isearch-message-prefix.
101 2014-12-29 Juri Linkov <juri@linkov.net>
103 * vc/vc-dir.el (vc-dir-display-file): New command (bug#19450).
104 (vc-dir-mode-map): Bind it to "\C-o".
105 (vc-dir-menu-map): Add it to menu.
107 2014-12-29 Dmitry Gutov <dgutov@yandex.ru>
109 * progmodes/etags.el (find-tag-other-window)
110 (find-tag-other-frame, find-tag-regexp, tags-loop-continue)
111 (tags-apropos): Declare obsolete.
113 * menu-bar.el (menu-bar-goto-menu): Replace all but one etags item
116 2014-12-28 Eli Zaretskii <eliz@gnu.org>
118 * international/mule.el (define-coding-system): Fix typos in the
121 2014-12-28 Kenichi Handa <handa@gnu.org>
123 * international/mule.el (define-coding-system): Improve the doc
126 2014-12-28 Ivan Shmakov <ivan@siamics.net>
128 * net/shr.el (shr-tag-table): Fix handling of tbody/header/footer
129 elements in tables (bug#19444).
131 * net/eww.el (eww-handle-link): Fix typo in "up" rel handling
134 2014-12-28 Juri Linkov <juri@linkov.net>
136 * vc/compare-w.el: Require diff-mode for diff faces.
137 (compare-windows-removed, compare-windows-added): New faces
138 inheriting from diff faces.
139 (compare-windows): Define obsolete face alias.
140 (compare-windows-highlight): Replace face `compare-windows' with
141 new faces `compare-windows-added' and `compare-windows-removed'
143 (compare-windows-get-recent-window): Signal an error when
144 no other window is found (bug#19170).
146 2014-12-27 Dmitry Gutov <dgutov@yandex.ru>
148 * progmodes/elisp-mode.el (elisp--xref-identifier-file):
149 Skip features that have no sources.
151 * simple.el (execute-extended-command):
152 When `suggest-key-bindings' is nil, don't.
154 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
156 python.el: Native readline completion.
158 * progmodes/python.el (python-shell-completion-native-disabled-interpreters)
159 (python-shell-completion-native-enable)
160 (python-shell-completion-native-output-timeout): New defcustoms.
161 (python-shell-completion-native-interpreter-disabled-p)
162 (python-shell-completion-native-try)
163 (python-shell-completion-native-setup)
164 (python-shell-completion-native-turn-off)
165 (python-shell-completion-native-turn-on)
166 (python-shell-completion-native-turn-on-maybe)
167 (python-shell-completion-native-turn-on-maybe-with-msg)
168 (python-shell-completion-native-toggle): New functions.
169 (python-shell-completion-native-get-completions): New function.
170 (python-shell-completion-at-point): Use it.
172 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
174 python.el: Enhance shell user interaction and deprecate
175 python-shell-get-or-create-process.
177 * progmodes/python.el
178 (python-shell-get-process-or-error): New function.
179 (python-shell-with-shell-buffer): Use it.
180 (python-shell-send-string, python-shell-send-region)
181 (python-shell-send-buffer, python-shell-send-defun)
182 (python-shell-send-file, python-shell-switch-to-shell): Use it.
183 Add argument MSG to display user-friendly message when no process
185 (python-shell-switch-to-shell): Call pop-to-buffer with NORECORD.
186 (python-shell-make-comint): Rename argument SHOW from POP. Use
187 display-buffer instead of pop-to-buffer.
188 (run-python): Doc fix. Return process.
189 (python-shell-get-or-create-process): Make obsolete.
191 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
193 * progmodes/python.el (python-shell-buffer-substring): Handle
194 cornercase when region sent starts at point-min.
196 2014-12-27 Eli Zaretskii <eliz@gnu.org>
198 * language/misc-lang.el (composition-function-table): Add Syriac
199 characters and also ZWJ/ZWNJ. See
200 http://lists.gnu.org/archive/html/help-gnu-emacs/2014-12/msg00248.html
203 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
205 python.el: Fix message when sending region.
207 * progmodes/python.el (python-shell-send-region): Rename argument
208 send-main from nomain. Fix message.
209 (python-shell-send-buffer): Rename argument send-main from arg.
211 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
213 python.el: Cleanup temp files even with eval errors.
215 * progmodes/python.el (python-shell-send-file): Make file-name
216 mandatory. Fix temp file removal in the majority of cases.
218 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
220 python.el: Handle file encoding for shell.
222 * progmodes/python.el (python-rx-constituents): Add coding-cookie.
223 (python-shell--save-temp-file): Write file with proper encoding.
224 (python-shell-buffer-substring): Add coding cookie for detected
225 encoding to generated content. Fix blank lines when removing
227 (python-shell-send-file): Handle file encoding.
228 (python-info-encoding-from-cookie)
229 (python-info-encoding): New functions.
231 2014-12-27 Michael Albinus <michael.albinus@gmx.de>
233 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
234 Use `tramp-rsh-end-of-line', it ought to be more robust.
236 2014-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
238 * progmodes/js.el (js-syntax-propertize): "return" can't be divided
241 2014-12-27 Michael Albinus <michael.albinus@gmx.de>
243 * net/tramp.el (tramp-read-passwd): Ignore errors from `auth-source-*'.
245 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band): Use "\n"
246 as end-of-line delimeter for passwords, when running on MS Windows.
248 2014-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
250 * progmodes/sh-script.el (sh-set-shell): Don't change the global value
251 of indent-line-function (bug#19433).
253 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
255 Fix line numbers on Python shell.
256 * progmodes/python.el (python-shell--save-temp-file): Do not
257 append coding cookie.
258 (python-shell-send-string): Generalize for
259 python-shell-send-region.
260 (python--use-fake-loc): Delete var.
261 (python-shell-buffer-substring): Cleanup fake-loc logic.
262 (python-shell-send-region): Remove fake-loc logic, simplify.
264 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
266 * progmodes/python.el (python-indent-post-self-insert-function):
267 Make colon to re-indent only for dedenters, handling
268 multiline-statements gracefully.
270 2014-12-27 Michael Albinus <michael.albinus@gmx.de>
272 * net/tramp.el (tramp-handle-insert-file-contents):
273 Set `find-file-not-found-functions' in case of errors. (Bug#18623)
275 2014-12-27 Michael Albinus <michael.albinus@gmx.de>
277 * net/tramp-sh.el (tramp-send-command-and-read): New optional
279 (tramp-get-remote-path): Use it.
281 2014-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
283 * lisp/subr.el (redisplay-dont-pause): Mark as obsolete.
285 2014-12-27 Michael Albinus <michael.albinus@gmx.de>
287 * net/tramp.el (tramp-error-with-buffer): Call `message' properly.
288 (tramp-accept-process-output): Use nil as argument for
289 `accept-process-output', when there is a gateway prepended.
291 * net/tramp-gw.el (tramp-gw-open-connection): Suppress traces in
293 (tramp-gw-open-connection): Set process coding system 'binary.
294 (tramp-gw-open-network-stream): Handle HTTP error 403.
296 * net/tramp-sh.el (tramp-compute-multi-hops): Suppress traces in
298 (tramp-maybe-open-connection): Set connection property "gateway".
300 2014-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
302 * subr.el (sit-for): Tweak docstring (bug#19381).
304 2014-12-27 Dmitry Gutov <dgutov@yandex.ru>
306 * vc/vc-git.el (vc-git-after-dir-status-stage): Move `up-to-date'
307 stage to after `diff-index' (bug#19386).
309 2014-12-27 João Távora <joaotavora@gmail.com>
311 * textmodes/tex-mode.el (tex-insert-quote): Consider and respect
312 `electric-pair-mode' (bug#19356).
314 2014-12-27 Dmitry Gutov <dgutov@yandex.ru>
316 elisp-xref-find: Don't create buffers eagerly.
318 * progmodes/elisp-mode.el (elisp--identifier-location): Fold back
319 into `elisp--company-location'.
320 (elisp--identifier-completion-table): Rename to
321 `elisp--identifier-completion-table', and do not include just any
322 symbols with a property list.
323 (elisp-completion-at-point): Revert the 2014-12-25 change.
324 (elisp--xref-identifier-file): New function.
325 (elisp--xref-find-definitions): Use it.
327 * emacs-lisp/find-func.el (find-function-library): New function,
328 extracted from `find-function-noselect'.
330 * progmodes/xref.el (xref-elisp-location): New class.
331 (xref-make-elisp-location): New function.
332 (xref-location-marker): New implementation.
334 2014-12-27 Juri Linkov <juri@linkov.net>
336 * minibuffer.el (minibuffer-completion-help):
337 Use shrink-window-if-larger-than-buffer in window-height
338 when temp-buffer-resize-mode is nil.
340 * window.el (with-displayed-buffer-window): Remove window-height
341 from the action alist in the temp-buffer-window-show call
342 when window-height is handled explicitly afterwards (bug#19355).
344 2014-12-27 Juri Linkov <juri@linkov.net>
346 Support subdirectories when saving places in dired.
347 * saveplace.el (toggle-save-place, save-place-to-alist)
348 (save-places-to-alist, save-place-dired-hook):
349 Use dired-current-directory instead of dired-directory (bug#19436).
350 (save-place-dired-hook): Add check for alist to make the new
351 format future-proof to allow other possible formats.
353 2014-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
355 python.el: Generate clearer shell buffer names.
357 * progmodes/python.el (python-shell-get-process-name)
358 (python-shell-internal-get-process-name): Use `buffer-name`.
359 (python-shell-internal-get-or-create-process): Simplify.
361 2014-12-26 Dmitry Gutov <dgutov@yandex.ru>
363 Add basic xref apropos implementation to elisp-mode.
365 * progmodes/elisp-mode.el (elisp--xref-find-definitions):
366 Filter out nil results.
367 (elisp--xref-find-apropos): New function.
368 (elisp-xref-find): Use it.
370 * progmodes/xref.el (xref--show-xrefs): Use `user-error'.
372 2014-12-25 Filipp Gunbin <fgunbin@fastmail.fm>
374 * dired-aux.el (dired-maybe-insert-subdir): Make
375 dired-maybe-insert-subdir always skip trivial files.
377 2014-12-25 Helmut Eller <eller.helmut@gmail.com>
378 Dmitry Gutov <dgutov@yandex.ru>
380 Consolidate cross-referencing commands.
382 Move autoloaded bindings for `M-.', `M-,', `C-x 4 .' and
383 `C-x 5 .' from etags.el to xref.el.
385 * progmodes/xref.el: New file.
387 * progmodes/elisp-mode.el (elisp--identifier-types): New variable.
388 (elisp--identifier-location): New function, extracted from
389 `elisp--company-location'.
390 (elisp--company-location): Use it.
391 (elisp--identifier-completion-table): New variable.
392 (elisp-completion-at-point): Use it.
393 (emacs-lisp-mode): Set the local values of `xref-find-function'
394 and `xref-identifier-completion-table-function'.
395 (elisp-xref-find, elisp--xref-find-definitions)
396 (elisp--xref-identifier-completion-table): New functions.
398 * progmodes/etags.el (find-tag-marker-ring): Mark obsolete in
399 favor of `xref--marker-ring'.
400 (tags-lazy-completion-table): Autoload.
401 (tags-reset-tags-tables): Use `xref-clear-marker-stack'.
402 (find-tag-noselect): Use `xref-push-marker-stack'.
403 (pop-tag-mark): Make an alias for `xref-pop-marker-stack'.
404 (etags--xref-limit): New constant.
405 (etags-xref-find, etags--xref-find-definitions): New functions.
407 2014-12-25 Martin Rudalics <rudalics@gmx.at>
409 * cus-start.el (resize-mini-windows): Make it customizable.
411 2014-12-24 Stephen Leake <stephen_leake@stephe-leake.org>
413 * startup.el (fancy-about-text): Change buttons for etc/CONTRIBUTE
414 to (info "(emacs)Contributing"). (Bug#19299)
416 2014-12-24 Martin Rudalics <rudalics@gmx.at>
418 * window.el (mouse-autoselect-window-position-1): New variable.
419 (mouse-autoselect-window-cancel)
420 (mouse-autoselect-window-select, handle-select-window): With
421 delayed autoselection select window only if mouse moves after
424 2014-12-24 Michael Albinus <michael.albinus@gmx.de>
426 * eshell/esh-ext.el (eshell-find-interpreter): Expand relative
427 remote file names. (Bug#18782)
429 2014-12-23 Sam Steingold <sds@gnu.org>
431 * shell.el (shell-display-buffer-actions): New user option.
432 (shell): Pass it to `pop-to-buffer' instead of hard-coding
433 `pop-to-buffer-same-window'.
435 2014-12-23 Stefan Monnier <monnier@iro.umontreal.ca>
437 * progmodes/js.el (js--syntax-propertize-regexp-syntax-table): New var.
438 (js-syntax-propertize-regexp): Use it to recognize "slash in
439 a character class" (bug#19397).
441 2014-12-22 Stefan Monnier <monnier@iro.umontreal.ca>
443 * completion.el: Use post-self-insert-hook (bug#19400).
444 (completion-separator-self-insert-command)
445 (completion-separator-self-insert-autofilling): Remove.
446 (completion-separator-chars): New var.
447 (completion-c-mode-hook, completion-setup-fortran-mode): Use it instead
448 of changing the keymap.
449 (completion--post-self-insert): New function.
450 (dynamic-completion-mode): Use it instead of rebinding keys.
451 (cmpl--completion-string): Rename from completion-string.
452 (add-completion-to-head, delete-completion): Let-bind it explicitly.
454 2014-12-22 Bozhidar Batsov <bozhidar@batsov.com>
456 * progmodes/ruby-mode.el (ruby--string-region): Simplify code
457 by leveraging `syntax-ppss'.
459 2014-12-22 Artur Malabarba <bruce.connor.am@gmail.com>
461 * let-alist.el (let-alist): Use `make-symbol' instead of `gensym'.
463 2014-12-20 Michael Albinus <michael.albinus@gmx.de>
465 * net/tramp-sh.el (tramp-histfile-override): Add :version.
467 2014-12-20 Teodor Zlatanov <tzz@lifelogs.com>
469 * net/tramp-sh.el (tramp-histfile-override): Clarify docstring.
471 2014-12-19 Artur Malabarba <bruce.connor.am@gmail.com>
473 * let-alist.el (let-alist): Enable access to deeper alists by
474 using dots inside the dotted symbols.
476 2014-12-19 Alan Mackenzie <acm@muc.de>
478 Make C++11 uniform init syntax work.
479 New keywords "final" and "override"
480 * progmodes/cc-engine.el (c-back-over-member-initializer-braces):
482 (c-guess-basic-syntax): Set `containing-sex' and `lim' using the
484 * progmodes/cc-fonts.el (c-font-lock-declarations): Check more
485 carefully for "are we at a declarator?" using
486 c-back-over-member-initializers.
487 * progmodes/cc-langs.el (c-type-modifier-kwds): Include "final"
488 and "override" in the C++ value.
490 2014-12-19 Martin Rudalics <rudalics@gmx.at>
492 * textmodes/ispell.el (ispell-command-loop): Don't use `next-window'.
494 2014-12-21 Lars Ingebrigtsen <larsi@gnus.org>
496 * net/nsm.el (nsm-save-host): Don't save the host name twice
499 2014-12-18 Sam Steingold <sds@gnu.org>
501 Keyboard interface (C-f10) to `mouse-buffer-menu' (C-down-mouse-1).
502 * mouse.el (mouse-buffer-menu-map): Extract from `mouse-buffer-menu'.
503 (mouse-buffer-menu): Use `mouse-buffer-menu-map'.
504 * menu-bar.el (menu-bar-buffer-vector): Extract from
505 `menu-bar-update-buffers'.
506 (menu-bar-update-buffers): Use `menu-bar-buffer-vector'.
507 (buffer-menu-open): New user command, bound globally to C-f10,
508 provides a keyboard interface to `mouse-buffer-menu' (C-down-mouse-1).
509 (mouse-buffer-menu-keymap): Use `menu-bar-buffer-vector' to
510 convert the value returned by `mouse-buffer-menu-map' to a list
511 acceptable to `popup-menu' for `buffer-menu-open'.
513 2014-12-18 Artur Malabarba <bruce.connor.am@gmail.com>
515 * let-alist.el (let-alist): Evaluate the `alist' argument only
518 2014-12-18 Sam Steingold <sds@gnu.org>
520 * emacs-lisp/package.el: Avoid compilation warning by declaring
521 the `find-library-name' function.
522 (package-activate-1): Fix the `with-demoted-errors' calls:
523 the first argument must be a string literal.
525 2014-12-18 Martin Rudalics <rudalics@gmx.at>
527 Add code for "preserving" window sizes.
528 * dired.el (dired-pop-to-buffer): Call fit-window-to-buffer with
530 (dired-mark-pop-up): Preserve size of window showing marked
532 * electric.el (Electric-pop-up-window):
533 * help.el (resize-temp-buffer-window): Call fit-window-to-buffer
534 with `preserve-size' t.
535 * minibuffer.el (minibuffer-completion-help): Use
536 `resize-temp-buffer-window' instead of `fit-window-to-buffer'
537 (Bug#19355). Preserve size of completions window.
538 * register.el (register-preview): Preserve size of register
540 * tmm.el (tmm-add-prompt): Call fit-window-to-buffer
541 with `preserve-size' t (Bug#1291).
542 * window.el (with-displayed-buffer-window): Add calls to
543 `window-preserve-size'.
544 (window-min-pixel-size, window--preservable-size)
545 (window-preserve-size, window-preserved-size)
546 (window--preserve-size, window--min-size-ignore-p): New
548 (window-min-size, window-min-delta, window--resizable)
549 (window--resize-this-window, split-window-below)
550 (split-window-right): Amend doc-string.
551 (window--min-size-1, window-sizable, window--size-fixed-1)
552 (window-size-fixed-p, window--min-delta-1)
553 (frame-windows-min-size, window--max-delta-1, window-resize)
554 (window--resize-child-windows, window--resize-siblings)
555 (enlarge-window, shrink-window, split-window): Handle preserving
557 (adjust-window-trailing-edge): Handle preserving window
558 sizes. Signal user-error instead of an error when there's no
559 window above or below.
560 (window--state-put-2): Handle horizontal scroll bars.
561 (window--display-buffer): Call `preserve-size' if asked for.
562 (display-buffer): Mention `preserve-size' alist member in
564 (fit-window-to-buffer): New argument PRESERVE-SIZE.
565 * textmodes/ispell.el (ispell-command-loop): Suppress horizontal
566 scroll bar on ispell's windows. Don't count window lines and
567 don't deal with dedicated windows.
568 (ispell-show-choices, ispell-help): Let `ispell-display-buffer'
569 do the window handling.
570 (ispell-adjusted-window-height, ispell-overlay-window): Remove.
571 (ispell-display-buffer): New function to reuse, create and fit
572 window to ispell's buffers. (Bug#3413)
574 2014-12-18 Dmitry Gutov <dgutov@yandex.ru>
576 * emacs-lisp/package.el (package-activate): Do not re-activate or
577 reload the dependencies (bug#19390).
579 2014-12-18 Stefan Monnier <monnier@iro.umontreal.ca>
581 * progmodes/cc-cmds.el (c-subword-mode): Alias to subword-mode.
583 * progmodes/cc-langs.el (c-mode-menu): Use c-subword-mode.
584 * progmodes/cc-mode.el (subword-mode): Move autoload to cc-cmds.el.
585 (c-mode-base-map): Use c-subword-mode.
587 2014-12-18 Eli Zaretskii <eliz@gnu.org>
589 * international/mule-diag.el (describe-font-internal):
590 Display additional info returned by font-info.
592 * linum.el (linum--face-width): Rename from linum--face-height,
593 and use the new functionality of font-info.
594 (linum-update-window): Use linum--face-width and frame-char-width,
595 instead of approximating with height.
597 2014-12-18 Dmitry Gutov <dgutov@yandex.ru>
599 * vc/vc-svn.el (vc-svn-dir-status-files): Revert the 2014-12-02
600 change (bug#19387). Use `apply' on `vc-dir-command' (bug#19405).
602 * emacs-lisp/package.el (package-activate-1): Add RELOAD argument
604 (package-activate): Call itself on dependencies on PACKAGE with
605 the same FORCE argument. Pass FORCE as RELOAD into
606 `package-activate-1' (bug#19390).
608 2014-12-17 Sam Steingold <sds@gnu.org>
610 * emacs-lisp/package.el (package--list-loaded-files):
611 Handle `(nil ...)' elements in `load-history'.
613 2014-12-17 Teodor Zlatanov <tzz@lifelogs.com>
615 * net/tramp-sh.el (tramp-histfile-override): New variable.
616 (tramp-open-shell, tramp-maybe-open-connection): Use it.
618 2014-12-17 Dmitry Gutov <dgutov@yandex.ru>
620 * vc/vc.el: Improve `dir-status-files' description.
622 * emacs-lisp/package.el (package--list-loaded-files): Don't call
623 file-truename on load-history elements (bug#19390).
625 2014-12-16 Nicolas Petton <petton.nicolas@gmail.com>
627 * emacs-lisp/seq.el: New file.
629 2014-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
631 * jit-lock.el (jit-lock-function): Don't defer if jit-lock-defer-time
632 is 0 and there is no input pending.
634 2014-12-15 Juri Linkov <juri@linkov.net>
636 * replace.el (query-replace-read-from): Use query-replace-compile-replacement
637 only on the return value (bug#19383).
639 2014-12-15 Juri Linkov <juri@linkov.net>
641 * isearch.el (isearch-lazy-highlight-search): Extend the bound of
642 the wrapped search by the length of the search string to be able
643 to lazy-highlight the whole search string at point (bug#19353).
645 2014-12-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
647 * net/shr.el (shr-fold-text): Don't bug out on zero-length text.
649 2014-12-14 Alan Mackenzie <acm@muc.de>
651 * lisp/cus-start.el (all): Add fast-but-imprecise-scrolling.
653 2014-12-14 Artur Malabarba <bruce.connor.am@gmail.com>
655 * let-alist.el: Add lexical binding.
657 2014-12-14 Steve Purcell <steve@sanityinc.com> (tiny change)
659 * emacs-lisp/package.el (package-menu-mode): Use an extra column
660 for the "Version" column, to accomodate date-and-time-based
663 2014-12-14 Cameron Desautels <camdez@gmail.com>
665 * cus-edit.el (custom-unsaved-options): New function, extracted
666 from `customize-unsaved'.
667 (custom-unsaved): Use it.
668 (custom-prompt-customize-unsaved-options): New function.
671 2014-12-14 Dmitry Gutov <dgutov@yandex.ru>
673 * fringe.el (fringe-bitmap-p): Fix 2014-12-05 breakage.
675 2014-12-14 Dmitry Gutov <dgutov@yandex.ru>
677 Move ASYNC argument to the `diff' VC command to the fifth
678 position, for better compatibility with existing third-party code,
681 * vc/vc.el (vc-diff-internal): Pass `async' argument to the
682 backend `diff' command in the last position.
684 * vc/vc-svn.el (vc-svn-diff):
685 * vc/vc-src.el (vc-src-diff):
686 * vc/vc-sccs.el (vc-sccs-diff):
687 * vc/vc-rcs.el (vc-rcs-diff):
688 * vc/vc-mtn.el (vc-mtn-diff):
689 * vc/vc-hg.el (vc-hg-diff):
690 * vc/vc-git.el (vc-git-diff):
691 * vc/vc-dav.el (vc-dav-diff):
692 * vc/vc-cvs.el (vc-cvs-diff):
693 * vc/vc-bzr.el (vc-bzr-diff):
694 * obsolete/vc-arch.el (vc-arch-diff): Move ASYNC argument to the end.
696 2014-12-14 Paul Eggert <eggert@cs.ucla.edu>
698 * emacs-lisp/cconv.el (cconv--analyze-use):
699 Rename from cconv--analyse-use.
700 (cconv--analyze-function): Rename from cconv--analyse-function.
701 (cconv-analyze-form): Rename from cconv-analyse-form.
703 2014-12-13 Andreas Schwab <schwab@linux-m68k.org>
705 * net/shr.el (shr-next-link): Don't error out at eob.
707 2014-12-05 Nicolas Richard <theonewiththeevillook@yahoo.fr>
709 * isearch.el (isearch-open-necessary-overlays): Open overlay
710 ending at point (bug#19333).
712 2014-12-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
714 * net/shr.el (shr-fold-text): New function.
715 (shr-show-alt-text, shr-urlify, shr-tag-img): Use it to fold long
717 (shr-fold-text): Inhibit state from being altered.
719 * files.el (directory-files-recursively): Really check whether
721 (directory-name-p): New function.
722 (directory-files-recursively): Use it.
724 2014-12-13 Artur Malabarba <bruce.connor.am@gmail.com>
726 * emacs-lisp/package.el (package--list-loaded-files): New function
727 to list files in a given directory which correspond to already
729 (package-activate-1): Reload files given by `package--list-loaded-files'.
730 Fix bug#10125, bug#18443, and bug#18448.
732 2014-12-13 Eric S. Raymond <esr@snark.thyrsus.com>
734 * vc/vc-svn.el (vc-svn-diff): Fix bug #19312.
736 2014-12-13 Michael Albinus <michael.albinus@gmx.de>
738 * simple.el (password-word-equivalents): Add "passcode", used for
739 numeric secrets like PINs or RSA tokens.
741 2014-12-13 Michael Albinus <michael.albinus@gmx.de>
743 * net/tramp-sh.el (tramp-get-remote-path): Use a login shell in
744 order to determine `tramp-own-remote-path'.
746 2014-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
748 * progmodes/python.el (python-shell-parse-command):
749 Quote `python-shell-interpreter`. (Bug#19289)
751 2014-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
753 * progmodes/python.el (python-indent-line): Use `noindent' in strings.
754 (python-indent-levels): Document extra value.
755 (python-indent-calculate-indentation): Return `noindent' in strings.
756 (python-indent-post-self-insert-function)
757 (python-indent-calculate-levels): Handle new value.
759 2014-12-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
761 * net/network-stream.el (network-stream-open-starttls): No need to
762 check for the availability of `gnutls-available-p'.
764 * files.el (directory-files-recursively): Don't follow symlinks to
767 2014-12-12 Eric S. Raymond <esr@snark.thyrsus.com>
769 * vc/vc-dav.el, vc/vc-git.el, vc/vc-hg.el, vc/vc-src.el:
770 * vc/vc.el: latest-on-branch-p is no longer a public method.
772 * vc/vc.el, vc/vc-hg.el, vc/vc-git.el, vc/vc-hooks.el:
773 * vc/vc-mtn.el, vc/vc-rcs.el, vc/vc-sccs.el, vc/vc-src.el:
774 Remove `rollback' method, to be replaced in the future by uncommit.
776 2014-12-11 Michael Albinus <michael.albinus@gmx.de>
778 * vc/vc-hg.el (vc-hg-state): Make FILE absolute. Handle the case
779 that there is empty output.
781 2014-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
783 * emacs-lisp/eldoc.el (eldoc-documentation-function): Change default.
784 (eldoc-mode, eldoc-schedule-timer): Adjust to new default.
786 2014-12-10 Artur Malabarba <bruce.connor.am@gmail.com>
788 * let-alist.el: Add new package and macro.
790 2014-12-10 Eric S. Raymond <esr@snark.thyrsus.com>
792 * vc/vc-dispatcher.el, vc/vc-hooks.el, vc/vc-rcs.el:
793 * vc/vc-sccs.el, vc/vc.el: Righteous featurectomy of vc-keep-workfiles,
794 it's a shoot-self-in-foot archaism. Workfiles are always kept.
796 2014-12-10 Rasmus Pank Roulund <emacs@pank.eu>
798 * net/ange-ftp.el (ange-ftp-switches-ok): Disallow flags causing
799 trouble with ls over ftp. These flags result in ls returning no
800 output, causing Tramp-breakage. (bug#19192)
802 2014-12-10 Andreas Schwab <schwab@suse.de>
804 * files.el (file-tree-walk): Use file-name-as-directory unconditionally.
806 2014-12-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
808 * files.el (directory-files-recursively):
809 Use `file-name-all-completions' instead of `directory-files' for
812 * net/shr.el (shr-tag-object): Don't bug out on text elements in
815 2014-12-09 Bozhidar Batsov <bozhidar@batsov.com>
817 * progmodes/ruby-mode.el (auto-mode-alist): Add .rabl, Berksfile
819 (ruby-toggle-string-quotes): New command that allows you to quickly
820 toggle between single-quoted and double-quoted string literals.
822 2014-12-09 Eric S. Raymond <esr@snark.thyrsus.com>
824 * vc/vc-src.el (vc-src-do-comand): Prepend -- to file argument
825 list, avoids problems witt names containing hyphens.
827 2014-12-09 Wilson Snyder <wsnyder@wsnyder.org>
829 Sync with upstream verilog-mode revision aa4b777.
830 * progmodes/verilog-mode.el (verilog-mode-version): Update.
831 (verilog-auto-end-comment-lines-re, verilog-end-block-ordered-re)
832 (verilog-set-auto-endcomments): Automatically comment property/
833 endproperty blocks to match other similar blocks like sequence/
834 endsequence, function/endfunction, etc. Reported by Alex Reed.
835 (verilog-set-auto-endcomments): Fix end comments for functions of
836 type void, etc. Detect the function- or task-name when
837 auto-commenting blocks that lack an explicit portlist.
838 Reported by Alex Reed.
839 (verilog-nameable-item-re): Fix nameable items that can have an
840 end-identifier to include endchecker, endgroup, endprogram,
841 endproperty, and endsequence. Reported by Alex Reed.
842 (verilog-preprocessor-re, verilog-beg-of-statement):
843 Fix indentation of property/endproperty around pre-processor
844 directives. Reported by Alex Reed.
845 (verilog-label-be): When auto-commenting a buffer, consider
846 auto-comments on all known keywords (not just a subset thereof).
847 Reported by Alex Reed.
848 (verilog-beg-of-statement): Fix labeling do-while blocks, bug842.
849 Reported by Alex Reed.
850 (verilog-beg-of-statement-1, verilog-at-constraint-p):
851 Fix hanging with many curly-bracket pairs, bug663.
852 (verilog-do-indent): Fix electric tab deleting form-feeds.
853 Note caused by indent-line-to deleting tabls pre 24.5.
854 (verilog-auto-output, verilog-auto-input, verilog-auto-inout)
855 (verilog-auto-inout-module, verilog-auto-inout-in): Doc fixes.
856 (verilog-read-always-signals, verilog-auto-sense-sigs)
857 (verilog-auto-reset): Fix AUTORESET with always_comb and always_latch,
858 bug844. Reported by Greg Hilton.
860 2014-12-09 Alex Reed <acreed4@gmail.com> (tiny change)
862 * progmodes/verilog-mode.el (verilog-no-indent-begin-re):
863 Fix `verilog-indent-begin-after-if' nil not honoring 'forever',
864 'foreach', and 'do' keywords.
865 (verilog-endcomment-reason-re, verilog-beg-of-statement):
866 Fix labeling do-while blocks, bug842.
867 (verilog-backward-token): Fix indenting sensitivity lists with
868 named events, bug840.
870 2014-12-09 Reto Zimmermann <reto@gnu.org>
872 Sync with upstream vhdl mode v3.36.1.
873 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
874 (vhdl-compiler-alist): Anchor all error regexps.
875 (vhdl-compile-use-local-error-regexp): Change default to nil.
876 (vhdl-asort, vhdl-anot-head-p): Remove.
877 (vhdl-aput, vhdl-adelete, vhdl-aget): Simplify.
878 Remove optional argument of vhdl-aget and update all callers.
879 (vhdl-import-project): Also set `vhdl-compiler'.
881 2014-12-09 Lars Magne Ingebrigtsen <larsi@gnus.org>
883 * files.el (find-files): New function.
885 * net/shr.el (shr-dom-print): Don't print comments.
886 (shr-tag-svg): Give inline SVG images the right type.
888 * net/eww.el (eww-update-header-line-format): Mark valid/invalid
889 certificates in the header line.
890 (eww-invalid-certificate, eww-valid-certificate): New faces.
892 2014-12-09 Fabián Ezequiel Gallina <fgallina@gnu.org>
894 * progmodes/python.el (inferior-python-mode):
895 Set `comint-prompt-read-only` to `t` only locally.
897 2014-12-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
899 * net/nsm.el (nsm-check-protocol): Test for RC4 on `high'.
900 (nsm-format-certificate): Include more data about the connection.
901 (nsm-query): Fill the text to that it looks nicer.
902 (nsm-check-protocol): Also warn if using SSL3 or older.
904 2014-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
906 * progmodes/gud.el (gud-gdb-completions): Remove unused var `start'.
908 * obsolete/gulp.el (gulp-create-m-p-alist): Remove unused var `mnt-tm'.
910 * net/tramp.el (tramp-handle-make-symbolic-link): Mark unused arg.
912 * info.el (Info-mode-map): Remove left-over binding.
914 * emacs-lisp/avl-tree.el: Use lexical-binding and cl-lib.
915 (avl-tree--root): Remove redundant defsetf.
917 2014-12-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
919 * net/nsm.el (network-security-level): Remove the detailed
920 description, which was already outdated, and refer the users to
922 (nsm-check-protocol): Check for weak Diffie-Hellman prime bits
925 2014-12-06 Andrey Kotlarski <m00naticus@gmail.com>
927 * net/eww.el (eww-buffers-mode): New major mode.
928 (eww-list-buffers, eww-buffer-select, eww-buffer-show-next)
929 (eww-buffer-show-previous, eww-buffer-kill, eww-buffer-show):
930 New commands/functions (bug#19131).
932 2014-12-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
934 * net/gnutls.el (gnutls-negotiate): Ignore files found via
935 'file-name-handler-alist' since the gnutls library can't use those
938 2014-12-08 Dmitry Gutov <dgutov@yandex.ru>
940 * vc/vc-hg.el (vc-hg-dir-status-files): Only include ignores files
941 when FILES is non-nil (bug#19304).
943 2014-12-08 Eric S. Raymond <esr@snark.thyrsus.com>
945 * vc/vc-arch.el: Move to obsolete directory so a test framework
946 won't trip over bit-rot in it. There has been no Arch snapshot
949 2014-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
951 * net/eww.el (eww-follow-link): Revert prefix behaviour to
953 (eww-copy-page-url): Add doc string.
955 2014-12-07 Ivan Shmakov <ivan@siamics.net>
957 * net/eww.el (eww): Move history recording here...
958 (eww-browse-url): ... from here (bug#19253).
960 * net/eww.el (eww-browse-url): Use generate-new-buffer (was:
961 iterating over possible buffer names.)
963 2014-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
965 * net/eww.el (eww-reload): Take a prefix to work locally (bug#19086).
966 (eww-current-buffer): Compilation fix for bug#18550 patch.
968 2014-12-07 Ivan Shmakov <ivan@siamics.net>
970 * net/eww.el (eww-list-histories): Restore the history in the
971 correct buffer (bug#18550).
973 2014-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
975 * net/eww.el (eww-bookmark-prepare): Display URLs in first by
976 displaying shortened titles first (bug#16398).
978 2014-12-07 Tom Willemse <tom@ryuslash.org> (tiny change)
980 * progmodes/python.el: Recognize docstrings.
981 (python-docstring-at-p, python-font-lock-syntactic-face-function):
983 (python-mode): Use them.
985 2014-12-06 Ulf Jasper <ulf.jasper@web.de>
987 * net/newst-treeview.el (newsticker--treeview-list-add-item)
988 (newsticker--treeview-propertize-tag): Bind tree menu to mouse-3.
989 (newsticker--treeview-create-groups-menu)
990 (newsticker--treeview-create-tree-menu): Remove.
991 (newsticker--treeview-tree-open-menu): New.
992 (newsticker-treeview-tree-click): Pass event to
993 `newsticker-treeview-tree-do-click'.
994 (newsticker-treeview-tree-do-click): Open treemenu on mouse-3.
996 2014-12-05 Juri Linkov <juri@linkov.net>
998 * comint.el (comint-history-isearch-search)
999 (comint-history-isearch-wrap): Use field-beginning instead of
1000 comint-line-beginning-position.
1001 (comint-send-input): Go to the end of the field instead of the end
1002 of the line to accept whole multi-line input.
1003 http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg00305.html
1005 2014-12-05 Juri Linkov <juri@linkov.net>
1007 * minibuffer.el (minibuffer-completion-help):
1008 Compare selected-window with minibuffer-window to check whether
1009 completions should be displayed near the minibuffer. (Bug#17809)
1010 http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg00311.html
1012 2014-12-05 Michael Albinus <michael.albinus@gmx.de>
1014 * vc/vc-mtn.el (vc-mtn-root):
1015 * vc/vc-svn.el (vc-svn-registered): Make FILE absolute.
1017 2014-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
1019 * progmodes/sh-script.el (sh-smie-sh-rules): Go back to the beginning
1020 of the whole pipe when indenting an opening keyword after a |.
1021 Generalize this treatment to opening keywords like "while" (bug#18031).
1023 2014-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
1025 * simple.el (newline): Place the hook buffer-locally,
1026 to make sure it's first.
1028 * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
1029 Fix handling of symbols with different syntax at beginning/end or with
1030 symbol rather than word syntax.
1032 2014-12-05 Eli Zaretskii <eliz@gnu.org>
1034 * simple.el (line-move): If noninteractive, call line-move-1, not
1035 forward-line, since the former is compatible with line-move-visual
1036 both in terms of the column to which it moves and the return
1039 2014-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
1041 * vc/ediff-init.el (ediff-odd-p): Remove.
1042 (ediff-background-face): Use cl-oddp instead.
1043 (ediff-buffer-live-p): Make it a defsubst.
1045 * tooltip.el (tooltip-region-active-p): Remove.
1047 * net/shr.el (shr-char-breakable-p, shr-char-kinsoku-bol-p)
1048 (shr-char-kinsoku-eol-p, shr-char-nospace-p): Use define-inline.
1050 * fringe.el (fringe-bitmap-p): Make it a plain function.
1052 * emacs-lisp/eieio-core.el: Prefer inlinable functions over macros.
1053 (class-p, generic-p, eieio-object-p, class-abstract-p):
1054 Make them defsubst, so as to avoid corner case problems where
1055 the arg might be evaluated in the condition-case, or it can't be passed
1056 to higher-order functions like `cl-some'.
1058 2014-12-05 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1060 * wid-edit.el (widget-choose): Let numeric keypad work (bug#19268)
1061 and remove old menu-related code.
1063 2014-12-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
1065 * net/eww.el (eww-display-pdf): Let mailcap determine how to
1066 display PDF files (bug#19270).
1068 2014-12-05 Juri Linkov <juri@linkov.net>
1070 Compare with the most recent window by default.
1071 * vc/compare-w.el (compare-windows-get-window-function): New defcustom.
1072 (compare-windows-get-recent-window)
1073 (compare-windows-get-next-window): New functions.
1074 (compare-windows, compare-windows-sync-default-function):
1075 Use `compare-windows-get-window-function' instead of `next-window'.
1076 (compare-windows): Add diff/match messages with region boundaries.
1079 2014-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
1081 * subr.el (filter): Remove. Use `cl-remove-if-not' or `seq-filter'.
1083 2014-12-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
1085 * net/shr.el (shr--extract-best-source): Ignore non-text children.
1087 2014-12-04 Eli Zaretskii <eliz@gnu.org>
1089 Implement copying of a buffer portion while preserving visual order.
1090 * simple.el (bidi-directional-controls-chars)
1091 (bidi-directional-non-controls-chars): New variables.
1092 (squeeze-bidi-context-1, squeeze-bidi-context)
1093 (line-substring-with-bidi-context)
1094 (buffer-substring-with-bidi-context): New functions.
1096 * files.el (file-tree-walk): Doc fix.
1098 2014-12-04 Rupert Swarbrick <ruperts@broadcom.com> (tiny change)
1099 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
1101 * autoinsert.el (auto-insert-alist): Update C/C++ header and
1102 program support to match more extensions. Replace non-alnum
1103 characters when generating include guards (headers) and check for
1104 more extensions when generating includes (programs)
1107 2014-12-03 Eric S. Raymond <esr@snark.thyrsus.com>
1109 * files.el (file-tree-walk): Fix docstring.
1111 2014-12-03 Karl Fogel <kfogel@red-bean.com>
1113 Fix bug whereby saving files hung in VC hook.
1115 Saving a buffer visiting a file under SVN control would hang if
1116 the remote repository were unreachable, because the VC hooks tried
1117 to run "svn status -u" on the file, where the "-u" tells svn to
1118 get update information from the remote repository.
1119 http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg00174.html
1121 * vc/vc-svn.el (vc-svn-state): Remove optional `localp'
1122 argument and always pass "-v" to "svn status", never "-u".
1124 2014-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
1126 * emacs-lisp/inline.el: Fix up copyright header.
1127 (inline-quote, inline-const-p, inline-const-val, inline-error):
1128 Silence compiler warnings.
1129 (inline-letevals): Fix edebug spec.
1130 (inline--testconst-p): Consider lambda expressions as const-p.
1131 (inline--getconst-val): Use inline--testconst-p.
1133 * minibuffer.el (completion-table-dynamic): Add arg `switch-buffer'
1134 and change default to stay in the minibuffer when called from
1135 the minibuffer (bug#19250).
1136 (lazy-completion-table): Use this new argument to preserve the
1139 * progmodes/elisp-mode.el (elisp--local-variables): Don't burp on
1140 incorrect lexical elements (bug#19250).
1142 2014-12-03 A. N. Other <none@example.com>
1144 * files.el (file-tree-walk): Lisp translation of ANSI ftw(3).
1146 2014-12-02 Glenn Morris <rgm@gnu.org>
1148 * whitespace.el (whitespace-big-indent-regexp): Add :version.
1150 2014-12-02 Eric S. Raymond <esr@snark.thyrsus.com>
1152 * subr.el (filter): New macro. Because it's just silly for a Lisp
1153 not to have this in 2014. And VC needs it.
1155 * vc.el: All backends: API simplification: Abolish dir-status.
1156 It's replaced by dir-status-files.
1158 * vc.el: All backends: API simplification: Remove 4th
1159 'default-state' argument from vc-dir-status files and its backend
1160 methods - no backend method ever set it. It was used only in the
1161 fallback method to to set a default of 'up-to-date, though a
1162 convoluted call chain obscured this.
1164 * vc-hooks.el: Bind vc-delete-file to Ctrl-x v delete.
1166 * vc.el (vc-expand-dirs): Now takes a second BACKEND argument,
1167 improving behavior on directories using multiple file-oriented VCSes.
1169 * vc/vc.el: All backends: API simplification; clear-headers
1170 is no longer a public method. It is now local to the one place
1171 it's used, in the RCS steal-lock method.
1173 2014-12-01 Eric S. Raymond <esr@snark.thyrsus.com>
1175 * vc/vc.el: In all backends: API simplification; could-register
1176 is no longer a public method. (vc-cvs.el still has a private
1179 * vc/vc.el: In all backends: API cleanup; the backend diff method
1180 takes an explicit async flag. This eliminates a particularly ugly
1183 * vc-bzr.el: Restore vc-bzr-state-heuristic as a private method.
1184 VC randomly/unpredictably fails without it; cause not yet established.
1186 2014-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
1188 Merge some of the differences from the standalone CC-mode.
1189 The main change is to only use the `category' text-property only when
1190 available. For that many calls are changed to use c-get-char-property,
1191 c-next-single-property-change, c-sc-scan-lists,
1192 c-sc-parse-partial-sexp, c-unmark-<->-as-paren.
1194 * progmodes/cc-mode.el (c-just-done-before-change): New var.
1195 (c-basic-common-init): Initialize it.
1196 (c-common-init): Only use mode-require-final-newline when available.
1197 (c-before-change): Check and set c-just-done-before-change.
1198 (c-after-change): Re-set c-just-done-before-change.
1199 (c-advise-fl-for-region): New macro.
1200 (lazy-lock-defer-rest-after-change, lazy-lock-defer-line-after-change)
1201 (font-lock-after-change-function, jit-lock-after-change):
1204 * progmodes/cc-langs.el (c-modified-constant): New lang var.
1205 (c-known-type-key): Don't make a list just to throw it away.
1207 * progmodes/cc-engine.el (c-invalidate-state-cache, c-parse-state):
1208 Handle the case where categories are not available.
1209 (c-record-parse-state-state, c-replay-parse-state-state):
1210 Handle marker values.
1211 (c-before-change-check-<>-operators): Look for the `syntax-table'
1212 property rather than for the corresponding `category'.
1213 (c-looking-at-decl-block): Remove unused var
1214 `c-disallow-comma-in-<>-arglists'.
1215 (c-forward-<>-arglist-recur): Remove unused var
1216 `orig-record-found-types'.
1218 * progmodes/cc-defs.el (c-version): Bump up to 5.33.
1219 (c-use-category): New const.
1220 (c-next-single-property-change): New macro.
1221 (c-region-is-active-p): Prefer region-active-p when available.
1222 (c-search-backward-char-property): Fix old min/max typo; probably
1224 (c-mark-<-as-paren, c-mark->-as-paren, c-unmark-<->-as-paren):
1225 Turn them into macros that obey c-use-category.
1226 (c-sc-scan-lists-no-category+1+1, c-sc-scan-lists-no-category+1-1)
1227 (c-sc-scan-lists-no-category-1+1, c-sc-scan-lists-no-category-1-1)
1228 (c-sc-scan-lists, c-sc-parse-partial-sexp)
1229 (c-looking-at-non-alphnumspace): New macros.
1230 (c-sc-parse-partial-sexp-no-category): New function.
1231 (c-emacs-features): Add `category-properties' element.
1233 * progmodes/cc-cmds.el (c-forward-into-nomenclature)
1234 (c-backward-into-nomenclature): Use cc-subword if subword-mode is
1236 (c-beginning-of-defun, c-end-of-defun, c-mark-function)
1237 (c-indent-line-or-region): Use c-region-is-active-p.
1239 * progmodes/cc-bytecomp.el (cc-bytecomp-unbound-variables)
1240 (cc-bytecomp-original-functions, cc-bytecomp-original-properties)
1241 (cc-bytecomp-loaded-files): Re-set each time the file is loaded.
1242 (cc-bytecomp-obsolete-var, cc-bytecomp-ignore-obsolete)
1243 (cc-bytecomp-obsolete-fun): Delete unused functions.
1245 * progmodes/cc-align.el (c-lineup-respect-col-0): New function.
1247 2014-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1249 * net/shr.el (shr-dom-print): Fix up `shr-dom-print' after the
1252 2014-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
1254 * vc/vc.el (vc-find-conflicted-file): Look for conflicted files in the
1255 current "project" rather than just the current directory.
1256 * vc/vc-git.el (vc-git-conflicted-files): Clarify in which directory
1257 the file names make sense.
1259 * vc/smerge-mode.el (smerge-swap): New command.
1261 * vc/diff-mode.el (diff-kill-applied-hunks): New command.
1263 2014-12-01 Ulf Jasper <ulf.jasper@web.de>
1265 * net/newst-treeview.el (newsticker--treeview-item-show):
1266 Check window liveliness before measuring its width.
1268 * net/newst-backend.el (newsticker--get-news-by-url-callback):
1269 Pass correct status to `newsticker--sentinel-work'.
1270 (newsticker--sentinel-work): Use "newsticker--download-error" as
1271 guid in order to prevent multiple "Could not download..."
1272 messages. Fixes bug#19166.
1274 2014-12-01 Ivan Shmakov <ivan@siamics.net>
1276 * net/eww.el (eww-render): Call `eww-after-render-hook' in the
1277 correct buffer (bug#19225).
1279 2014-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1281 * net/nsm.el (network-security-level): Change the default to `medium'.
1283 * net/eww.el (eww): Leave point in a place that doesn't cause
1284 scrolling when displaying "Loading...".
1286 2014-12-01 Eric S. Raymond <esr@snark.thyrsus.com>
1288 * vc/vc.el, vc/vc-cvs.el, vc/vc-rcs.el, vc/vc-svn.el: The 'merge'
1289 backend method of RCS/CVS/SVN is now 'merge-file', to contrast with
1290 'merge-branch'. Prompting for merge revisions is pushed down to
1291 the back ends; this fixes a layering violation that caused bad
1294 * vc/vc.el, vc-hooks.el: All backends: API simplification;
1295 vc-stay-local-p and repository-hostname are no longer public
1296 methods. Only the CVS and SVN backends used these, and the SVN
1297 support was conditioned out because svn status -v is too slow.
1298 The CVS back end retains this machinery and the vc-stay-local
1299 configuration variable now only affects it.
1301 2014-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
1303 * emacs-lisp/inline.el: New file.
1305 2014-12-01 Eric S. Raymond <esr@snark.thyrsus.com>
1307 * vc/vc.el, vc-hooks.el: All backends: API simplification;
1308 vc-state-heuristic is no longer a public method, having been
1309 removed where it is redundant, unnecessary, or known buggy.
1310 This eliminated all backends except CVS. Eliminates bug#7850.
1312 * vc/vc-cvs.el, vc/vc-hooks.el, vc/vc-rcs.el, vc/vc-sccs.el:
1313 Eliminate vc-mistrust-permissions. It was only relevant to the
1314 RCS and SCCS back ends and defaulted to t. Code now always
1315 mistrusts permissions - by actual measurement the effect on
1316 performance is negligible. As a side effect bug#11490 is now
1319 * vc/vc.el, vc-hooks.el: All backends: API simplification;
1320 vc-workfile-unchanged-p is no longer a public method (but the RCS
1321 and SCCS back ends retain it as a private method used in state
1322 computation). This method was redundant with vc-state and usually
1323 implemented as a trivial call to same. Fixes the failure mode
1324 described in bug#694.
1326 * vc/vc.el: All backends: API simplification; init-revision is
1327 gone, and vc-registered functions no longer take an
1328 initial-revision argument.
1330 2014-11-29 Glenn Morris <rgm@gnu.org>
1332 * vc/vc-src.el (vc-src, vc-src-diff-switches)
1333 (vc-src-master-templates): Fix :version tags.
1335 2014-11-29 Paul Rankin <paul@tilk.co> (tiny change)
1337 * outline.el (outline-move-subtree-down): Refactor and improve code.
1339 2014-11-29 Stephen Berman <stephen.berman@gmx.net>
1340 Stefan Monnier <monnier@iro.umontreal.ca>
1342 * outline.el (outline-move-subtree-down): Make sure we can move
1343 forward to find the end of the subtree and the insertion point
1346 2014-11-29 Fabián Ezequiel Gallina <fgallina@gnu.org>
1348 * progmodes/python.el (python-shell-completion-setup-code):
1349 Use __builtin__ module (or builtins in Python 3) and catch all errors
1350 when importing readline and rlcompleter.
1352 2014-11-29 Stephen Berman <stephen.berman@gmx.net>
1354 * calendar/todo-mode.el: Handle calling revert-buffer (bug#19187).
1355 (todo-revert-buffer): New function.
1356 (todo-modes-set-1): Use it as the buffer-local value of
1357 revert-buffer-function.
1359 2014-11-29 Stephen Berman <stephen.berman@gmx.net>
1361 * calendar/todo-mode.el (todo-mode): If called interactively, just
1362 display a message saying to call todo-show to enter Todo mode
1365 2014-11-29 Dmitry Gutov <dgutov@yandex.ru>
1367 * vc/vc-hg.el (vc-hg-dir-status-files): Include ignored files.
1370 * vc/vc-bzr.el (vc-bzr-after-dir-status): Don't skip ignored
1373 2014-11-29 Michael Albinus <michael.albinus@gmx.de>
1375 * textmodes/makeinfo.el (makeinfo-buffer): Make it work also for
1376 remote `buffer-file-name'.
1378 2014-11-29 Leo Liu <sdl.web@gmail.com>
1380 * calendar/diary-lib.el (calendar-mark-1): Fix thinko.
1382 2014-11-29 Fabián Ezequiel Gallina <fgallina@gnu.org>
1384 Set PYTHONUNBUFFERED on shell startup.
1386 * progmodes/python.el (python-shell-unbuffered): New var.
1387 (python-shell-calculate-process-environment): Use it.
1389 2014-11-29 Michael Albinus <michael.albinus@gmx.de>
1391 * net/tramp.el (tramp-action-password): Clean password on subsequent
1392 attempts even if there was no wrong password indication. (Bug#19047)
1394 * net/tramp-sh.el (tramp-get-remote-locale): Return "LC_ALL=C" as
1396 (tramp-open-connection-setup-interactive-shell): No need to check
1397 for nil as `tramp-get-remote-locale' return value.
1399 2014-11-29 Eli Zaretskii <eliz@gnu.org>
1401 * vc/vc-git.el (vc-git-command, vc-git--call):
1402 Bind coding-system-for-read and coding-system-for-write to
1403 vc-git-commits-coding-system.
1404 (vc-git-previous-revision): Use "~1" instead of "^", since the
1405 latter is a special character for MS-Windows system shells.
1407 2014-11-29 Michael Albinus <michael.albinus@gmx.de>
1409 Improve XEmacs compatibility.
1411 * net/tramp.el (tramp-autoload-file-name-handler):
1412 Wrap `temporary-file-directory' by `symbol-value', it doesn't
1414 (tramp-read-passwd): Don't use `with-timeout-suspend' and
1415 `with-timeout-unsuspend' if they don't exist, like in XEmacs.
1416 (tramp-time-less-p, tramp-time-subtract): Remove functions.
1417 (tramp-handle-file-newer-than-file-p, tramp-time-diff):
1418 * net/tramp-adb.el (tramp-adb-ls-output-time-less-p):
1419 * net/tramp-cache.el (tramp-get-file-property):
1420 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
1421 Use `time-less-p' and `time-subtract, respectively.
1423 * net/tramp-adb.el (top): Do not require time-date.el.
1425 * net/tramp-compat.el (top): Require time-date.el for XEmacs.
1427 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
1428 Check, whether `utf-8' is a valid coding system.
1430 2014-11-29 Eli Zaretskii <eliz@gnu.org>
1432 * vc/vc.el (vc-retrieve-tag): Doc fix.
1434 2014-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
1436 * simple.el (execute-extended-command--shorter): Fix the "M-p" case
1439 2014-11-28 Martin Rudalics <rudalics@gmx.at>
1441 Fix two issues around help-window-select. (Bug#11039) (Bug#19012)
1442 * help.el (help-window-old-frame): New variable.
1443 (help-window-select): Default to nil (Bug#11039).
1445 (help-window-setup): When the help window appears on another
1446 frame and `help-window-select' is non-nil, give that frame input
1447 focus too (Bug#19012).
1448 (with-help-window): Store selected frame in
1449 help-window-old-frame.
1451 2014-11-28 Ulf Jasper <ulf.jasper@web.de>
1453 * net/newst-treeview.el (newsticker--treeview-load): Take care of
1454 nil value for `newsticker-groups-filename'.
1456 2014-11-28 Daiki Ueno <ueno@gnu.org>
1458 * epa.el (epa-sign-file, epa-encrypt-file, epa-decrypt-region)
1459 (epa-sign-region, epa-encrypt-region):
1460 Use `epg-context-set-{passphrase,progress}-callback', instead of
1461 `setf'. This partially reverts commit 9e48a95c (bug#19150).
1462 Reported by José A. Romero L.
1464 2014-11-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
1466 * net/eww.el (eww-restore-history):
1467 Bind `inhibit-modification-hooks' instead of `after-change-functions'.
1469 2014-11-27 Ulf Jasper <ulf.jasper@web.de>
1471 * net/newst-backend.el (newsticker--parse-atom-1.0):
1472 Handle embedded (x)html in summary node.
1474 2014-11-27 Sam Steingold <sds@gnu.org>
1476 * menu-bar.el (menu-bar-open): When everything else fails,
1477 use (mouse-menu-bar-map).
1479 2014-11-27 Ulf Jasper <ulf.jasper@web.de>
1481 * net/newst-treeview.el (newsticker-groups-filename):
1482 Change default value to nil. Point out that variable is obsolete in doc
1484 (newsticker--treeview-load): Change wording of the questions the
1485 user is asked when `newsticker-groups-filename' is found to be
1486 used and we offer to read and remove the groups file. (Bug#19165)
1488 2014-11-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
1490 * net/eww.el (eww): Record the new URL immediately, so that if the
1491 HTTP fetch fails, we have the right URL in the buffer.
1492 (eww-process-text-input): Don't shorten the input field if
1493 deleting at the last character (bug#19085).
1494 (eww-restore-history): Inhibit change functions while restoring
1496 (eww-process-text-input): Fix deletion at the start of the field, too.
1497 (eww-mode): Revert mistanken removal of `buffer-disable-undo'.
1498 (eww-process-text-input): Try to keep track of the size more reliably.
1500 * dom.el (dom-pp): New function.
1502 2014-11-27 Eli Zaretskii <eliz@gnu.org>
1504 * vc/vc-bzr.el (vc-bzr-print-log, vc-bzr-expanded-log-entry):
1505 Don't assume --long is the default for "bzr log", always specify
1506 it explicitly, in case the user defined an alias for 'log' that
1507 uses some other format.
1509 2014-11-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
1511 * progmodes/python.el (python-eldoc--get-doc-at-point):
1512 Strip shell output before returning. (bug#18794)
1514 2014-11-27 Dmitry Gutov <dgutov@yandex.ru>
1516 Fix indentation before `!=' and after `+='. Originally reported
1517 in https://github.com/mooz/js2-mode/issues/174.
1518 * progmodes/js.el (js--indent-operator-re): Make assignments and
1519 (in)equality operator a separate case.
1520 (js--continued-expression-p): Escape the second `+' in the regexp.
1522 2014-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
1524 * window.el (handle-select-window): Deactivate shift-region (bug#19003).
1526 2014-11-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
1528 * net/nsm.el (nsm-new-fingerprint-ok-p): Display the certificate
1529 when querying about new certificates.
1531 * net/shr.el (shr-make-table-1): dom.el changes for table rendering.
1533 * dom.el (dom-by-tag): Use `equal' for comparisons so that tags
1535 (dom-elements): Protect against non-text nodes.
1536 (dom-non-text-children): New function.
1538 * net/eww.el (eww-tag-title): Use `dom-text'.
1540 2014-11-26 Sam Steingold <sds@gnu.org>
1542 * textmodes/sgml-mode.el (sgml-validate-command): Pass -utf8 to tidy.
1544 2014-11-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
1546 * net/eww.el (eww-highest-readability): More dom.el fixes.
1548 2014-11-26 Ulf Jasper <ulf.jasper@web.de>
1550 * net/newst-backend.el (newsticker--parse-generic-items):
1551 Take care of UIDs when adding elements to cache.
1553 2014-11-26 Alan Mackenzie <acm@muc.de>
1555 Remove spurious reference to symbol category_properties.
1556 * progmodes/cc-engine.el (c-state-pp-to-literal): Fix here.
1558 2014-11-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
1560 * net/eww.el: Use the new dom.el accessors throughout.
1562 * net/shr.el: Ditto.
1566 2014-11-26 Glenn Morris <rgm@gnu.org>
1568 * arc-mode.el (archive-visit-single-files): Add :version.
1570 2014-11-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
1572 * net/nsm.el (nsm-format-certificate): Don't bug out on missing
1574 (nsm-warnings-ok-p): The new version of this function always
1575 returned nil when everything was OK.
1577 2014-11-25 Teodor Zlatanov <tzz@lifelogs.com>
1579 * net/gnutls.el (gnutls): Set :group to 'comm so it's near NSM.
1581 * net/nsm.el (nsm-check-tls-connection, nsm-save-host)
1582 (nsm-warnings-ok-p): Use `gnutls-peer-status-warning-describe'.
1584 2014-11-20 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1586 * emacs-lisp/byte-run.el (function-put): Match argument names to
1589 2014-11-24 Sam Steingold <sds@gnu.org>
1591 * vc/vc-hooks.el (vc-directory-exclusion-list):
1592 Fix a trivial typo (bug#19171).
1594 2014-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
1596 * vc/vc-hooks.el (vc-state-base-face): Don't override
1599 2014-11-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
1601 * net/eww.el (eww-set-character-encoding): Use `read-coding-system'.
1602 (eww-process-text-input): Inhibit read only so that input fields
1603 don't get shortened (bug#19085).
1605 2014-11-24 Leo Liu <sdl.web@gmail.com>
1607 * emacs-lisp/macroexp.el (macroexp-let2*): New macro.
1609 * window.el (with-temp-buffer-window)
1610 (with-current-buffer-window, with-displayed-buffer-window):
1611 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin):
1612 * emacs-lisp/cl-lib.el (substring):
1613 * emacs-lisp/cl-extra.el (cl-getf): Use it.
1615 2014-11-24 Eli Zaretskii <eliz@gnu.org>
1617 * isearch.el (isearch-update): Don't assume
1618 pos-visible-in-window-p will return nil when point is hscrolled
1619 out of view. (Bug#19157)
1621 2014-11-20 Andrey Kotlarski <m00naticus@gmail.com>
1623 * net/eww.el (eww-browse-url): Optionally create new eww buffer.
1624 (eww-follow-link): Follow in new buffer in case of prefix
1625 argument, open externally with double prefix (bug#19130).
1627 2014-11-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
1629 * net/eww.el (eww-display-html): Decode the document-defined charset.
1630 (eww): Pop to the *eww* buffer immediately after executing the
1631 `M-x eww' command to avoid having buffers pop up later.
1632 (eww-display-html): Don't pop the *eww* buffer.
1633 (eww-display-raw): Ditto.
1634 (eww-display-image): Ditto.
1635 (eww-follow-link): Make going to #targets in the page work again.
1637 2014-11-23 Ivan Shmakov <ivan@siamics.net>
1639 * net/eww.el (eww-suggest-uris): New variable.
1640 (eww-suggested-uris): New function.
1641 (eww): Default to URL under point.
1642 (eww-links-at-point): New function.
1644 2014-11-20 Mark Oteiza <mvoteiza@udel.edu> (tiny change)
1646 * net/eww.el (eww-add-bookmark): Fix bookmark titles.
1648 2014-11-17 Mark Oteiza <mvoteiza@udel.edu> (tiny change)
1650 * net/eww.el (eww-mode-map): Bind backtab to shr-previous-link.
1652 2014-11-23 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
1654 * net/eww.el (eww-set-character-encoding): New command and keystroke.
1655 (eww-display-raw): Use it (bug#16225).
1657 2014-11-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
1659 * net/nsm.el (network-security-level): Rename from
1660 `nsm-security-level' and documented.
1662 * mail/smtpmail.el (smtpmail-via-smtp): Warn unless encrypted and
1663 we're sending a password.
1665 * net/nsm.el: New file that implements a Network Security Manager.
1667 * net/network-stream.el (open-network-stream): Add a new
1668 :warn-unless-encrypted parameter.
1669 (network-stream-open-plain): Allow warning unless encrypted.
1670 (network-stream-open-starttls): Call the Network Security Manager.
1671 (network-stream-open-tls): Ditto.
1673 2014-11-23 Leo Liu <sdl.web@gmail.com>
1675 * calendar/cal-china.el (calendar-chinese-from-absolute-for-diary)
1676 (calendar-chinese-to-absolute-for-diary)
1677 (calendar-chinese-mark-date-pattern, diary-chinese-anniversary):
1678 Handle leap months in Chinese calendar. (Bug#18953)
1680 2014-11-22 Alan Mackenzie <acm@muc.de>
1682 Fix error with `mark-defun' and "protected:" in C++ Mode.
1683 Fixes: debbugs:19134.
1685 * progmodes/cc-cmds.el (c-where-wrt-brace-construct): Handle a
1686 return code of (label) from c-beginning-of-decl-1.
1688 2014-11-22 Ulf Jasper <ulf.jasper@web.de>
1690 * net/newst-backend.el (newsticker--sentinel-work):
1691 Tell `libxml-parse-xml-region' to discard comments. Fixes bug#18787.
1693 2014-11-22 Michael Albinus <michael.albinus@gmx.de>
1695 * net/tramp-sh.el (tramp-sh-handle-start-file-process)
1696 (tramp-sh-handle-process-file): Propagate `process-environment'.
1698 * vc/vc-hg.el (vc-hg-state): No special handling for remote files;
1699 Tramp propagates environment variables now.
1701 2014-11-22 Eric S. Raymond <esr@snark>
1703 * vc/vc-filewise.el: New file to isolate code used only by the
1704 file-oriented back ends (SCCS/RCS/CVS/SRC) which should not
1705 live in vc.el and certainly not in vc-hooks.el.
1707 * vc/vc-hooks.el, vc-rcs.el, vc-sccs.el: vc-name -> vc-master-name.
1708 This is preparatory to isolating all the 'master' functions
1709 used only by the file-oriented back ends. With this done first,
1710 the substantive diffs will be easier to read.
1712 2014-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
1714 * play/morse.el (nato-alphabet): Mark URL in docstring in a way
1715 that is recognized by `help-mode'.
1717 2014-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
1719 * desktop.el (desktop-create-buffer): Use activate-mark to set
1720 `mark-active' (bug#19058).
1722 2014-11-21 Eric S. Raymond <esr@snark>
1724 * vc/vc-src.el (vc-src-state): Fix bug that produced spurious
1727 2014-11-21 Eli Zaretskii <eliz@gnu.org>
1729 * vc/vc.el (vc-deduce-fileset): Support invocation from
1730 *vc-change-log* buffer. (Bug#19084)
1732 2014-11-13 Matthew Leach <matthew@mattleach.net>
1734 * arc-mode.el (archive-visit-single-files): New.
1735 (archive-mode): Visit file if archive contains a single file.
1738 2014-11-21 Ulrich Müller <ulm@gentoo.org>
1740 * vc/vc.el: Fix a typo in the commentary.
1742 2014-11-20 Eric S. Raymond <esr@snark.thyrsus.com>
1744 * vc/vc-src.el, vc/vc.el: Added support for SRC. Needs more
1745 testing and a real log-view mode.
1747 * vc/vc-bzr.el, vc/vc-cvs.el, vc/vc-dav.el, vc/vc-git.el:
1748 * vc/vc-hg.el, vc/vc-mtn.el, vc/vc-rcs.el, vc/vc-sccs.el:
1749 * vc/vc-svn.el, vc/vc.el: Remove editable argument from the backend
1750 checkout methods; where it matters (which is only in SCCS and RCS)
1751 files are always checked out editable. This may actually have
1752 been dynamically true already - it looks like the vc-next-action
1753 code evolved past visiting the other case. Tested with RCS.
1755 * vc/vc-arch.el, vc/vc-bzr.el, vc/vc-cvs.el, vc/vc-dav.el:
1756 * vc/vc-git.el, vc/vc-hg.el, vc/vc-mtn.el, vc/vc-rcs.el:
1757 * vc/vc-sccs.el, vc/vc-svn.el, vc/vc.el: Remove never-used rev
1758 argument from the backend checkin methods. Only the RCS, SCCS,
1759 and CVS back ends tried to do anything with it, and that code was
1760 never exercised. Chiseling away the cruft of decades...
1762 2014-11-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
1764 * net/eww.el (eww-render): Remove a no-op :title setting.
1766 2014-11-19 Ivan Shmakov <ivan@siamics.net>
1768 * net/eww.el (eww-history-limit): New variable.
1769 (eww-save-history): Use it (bug#19105).
1770 (eww-reload): Reload the page in the right buffer.
1772 2014-11-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
1774 * net/eww.el (eww-desktop-misc-data): Use `cl-remove-duplicates'.
1776 2014-11-19 Ivan Shmakov <ivan@siamics.net>
1778 * net/eww.el (eww-desktop-remove-duplicates)
1779 (eww-restore-desktop, eww-restore-reload-prompt): New variables.
1780 (eww-mode): Set up desktop mode (bug#18010).
1781 (eww-desktop-data-save, eww-desktop-data-1)
1782 (eww-desktop-history-duplicate, eww-desktop-misc-data)
1783 (eww-restore-desktop): New functions.
1785 2014-11-19 Eli Zaretskii <eliz@gnu.org>
1787 * vc/vc.el (vc-log-internal-common): Turn on log-view-mode in the
1788 correct buffer. (Bug#19101)
1790 2014-11-19 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
1792 * vc/vc-git.el (vc-git-diff): Use "difftool -x diff" with
1793 `diff-switches' if `vc-git-diff-switches' is nil. (Bug#19099)
1795 2014-11-19 Artur Malabarba <bruce.connor.am@gmail.com>
1797 * lisp/ido.el (ido-bury-buffer-at-head): New command.
1798 (ido-buffer-completion-map): Bind it to C-S-b.
1800 2014-11-18 Juri Linkov <juri@linkov.net>
1802 * simple.el (next-line-or-history-element): Wrap next-line
1803 in with-no-warnings.
1804 (previous-line-or-history-element): Wrap previous-line
1805 in with-no-warnings.
1807 2014-11-18 Juri Linkov <juri@linkov.net>
1809 * progmodes/grep.el (grep-compute-defaults):
1810 Compute grep-highlight-matches before its use.
1812 2014-11-18 Juri Linkov <juri@linkov.net>
1814 * replace.el (query-replace-from-to-separator): Turn defvar into
1815 defcustom. Wrap char-displayable-p in ignore-errors because an
1816 attempt to autoload char-displayable-p fails during pre-loading.
1817 Move (propertize "\0" ... 'separator t) out of customizable part
1818 to query-replace-read-from.
1819 (query-replace-read-from): Call custom-reevaluate-setting on
1820 query-replace-from-to-separator to reevaluate the separator
1821 depending on the return value of char-displayable-p.
1822 http://lists.gnu.org/archive/html/emacs-devel/2014-11/msg00466.html
1824 2014-11-18 Juri Linkov <juri@linkov.net>
1826 * bindings.el (minibuffer-local-map): Rebind [down] from
1827 next-history-element to next-line-or-history-element, and [up]
1828 from previous-history-element to previous-line-or-history-element.
1830 * simple.el (next-line-or-history-element)
1831 (previous-line-or-history-element): New commands.
1832 http://lists.gnu.org/archive/html/emacs-devel/2014-11/msg00822.html
1834 2014-11-18 Leo Liu <sdl.web@gmail.com>
1836 * emacs-lisp/nadvice.el (define-advice): New macro.
1837 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
1839 (lisp-font-lock-keywords-1): Add define-advice.
1841 2014-11-18 Daiki Ueno <ueno@gnu.org>
1843 * epg.el (epg-context): New slot EDIT-CALLBACK.
1844 (epg--process-filter): Call EDIT-CALLBACK when editing a key.
1845 (epg-reset): Reset EDIT-CALLBACK of the context.
1846 (epg-start-edit-key): New function.
1847 (epg-edit-key): New function.
1849 2014-11-18 Paul Eggert <eggert@cs.ucla.edu>
1851 Port new time stamp handling to Emacs 23.2.
1852 This fix is for Gnus. Problem reported by Katsumi Yamaoka.
1853 * calendar/time-date.el (time-add, time-subtract, time-less-p):
1854 Use eval-and-compile, not eval-when-compile.
1856 2014-11-18 Daiki Ueno <ueno@gnu.org>
1858 * epg.el (epg-context-set-passphrase-callback)
1859 (epg-context-set-progress-callback): Check if the CALLBACK
1860 argument is a function, instead of a cons.
1862 2014-11-18 Daiki Ueno <ueno@gnu.org>
1864 * epa-file.el (epa-file-insert-file-contents)
1865 (epa-file-write-region): Remove redundant check of
1867 * epa.el (epa-sign-file, epa-encrypt-file, epa-decrypt-region)
1868 (epa-sign-region, epa-encrypt-region): Remove redundant check of
1871 2014-11-18 Daiki Ueno <ueno@gnu.org>
1873 * epa-file.el (epa-file-insert-file-contents): Don't show
1874 "*Error*" buffer if input file does not exist.
1875 Reported by Herbert J. Skuhra.
1877 2014-11-18 Paul Pogonyshev <pogonyshev@gmail.com>
1878 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
1880 * progmodes/cc-langs.el: Support some of the new keywords in C++11.
1881 An alternative version of the patch from bug#13871.
1882 (c-operators): Add "alignof".
1883 (c-primitive-type-kwds): Add "char16_t", "char32_t".
1884 (c-type-modifier-kwds): Add "constexpr", "noexcept".
1885 (c-modifier-kwds): Add "thread_local".
1886 (c-constant-kwds): Add "nullptr".
1888 2014-11-17 Michal Nazarewicz <mina86@mina86.com>
1890 * textmodes/tildify.el (tildify-pattern, tildify-space-string):
1891 New variables for specifying tildify pattern and representation of
1892 a hard space -- a no-break space by default -- respectively.
1893 Being buffer-local they are much easier to handle than
1894 `tildify-string-alist' and `tildify-pattern-alist' respectively
1895 that have been used so far. They also works better with derived
1897 (tildify-foreach-region-function): New variable specifying
1898 a function determining portions of buffer that should be
1899 tildified. It allows major modes to create a filtering function
1900 more elaborate than a set of regular expressions. Initialised to
1901 `tildify--deprecated-ignore-evironments' by default to handle now
1902 deprecated `tildify-ignored-environments-alist' variable.
1903 (tildify--foreach-region): A new function that takes
1904 `tildify-foreach-region-function' into account and calls callback
1905 for regions of the buffer that should be tildified.
1906 (tildify-foreach-ignore-environments): A new function which can be
1907 partially applied and used as `tildify-foreach-region-function'.
1908 (tildify-ignored-environments-alist, tildify-pattern)
1909 (tildify-string-alist, tildify--pick-alist-entry): Mark as obsolete.
1910 (tildify--find-env): Rename from `tildify-find-env' and mark as
1912 (tildify--deprecated-ignore-evironments): New function,
1913 immediately marked as obsolete, used to handle deprecated
1914 `tildify-ignored-environments-alist'.
1916 * textmodes/tex-mode.el (tex-common-initialization):
1917 Set `tildify-space-string' and `tildify-foreach-region-function'
1918 variables in all variants of TeX mode since `tildify-string-alist'
1919 and `tildify-ignored-environments-alist' are now empty by default.
1921 * nxml/nxml-mode.el (nxml-mode): Ditto in `nxml-mode'.
1922 If encoding supports it use no-break space instead of character
1923 entity; this changes previous default which used a numeric
1926 * textmodes/sgml-mode.el (sgml-mode): ditto in `sgml-mode'.
1927 If encoding does not support no-break space, use numeric reference;
1928 this changes previous default which used named entity (“ ”)
1931 2014-11-17 Ulf Jasper <ulf.jasper@web.de>
1933 * calendar/icalendar.el (icalendar-export-alarms):
1934 New customizable variable. (Bug#5433)
1935 (icalendar-export-region): Export alarms as specified in
1936 `icalendar-export-alarms'.
1937 (icalendar--create-ical-alarm, icalendar--do-create-ical-alarm):
1938 New functions for exporting alarms.
1940 2014-11-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
1942 * bindings.el (search-map): Move `eww-search-words' to `M-s M-w'.
1944 2014-11-17 Paul Eggert <eggert@cs.ucla.edu>
1946 Port new time stamp handling to old Emacs and to XEmacs.
1947 This is needed for Gnus, which copies time-date.el and which
1948 runs on older Emacs implementations.
1949 * calendar/time-date.el (with-decoded-time-value):
1950 Handle 'nil' and floating-point arg more compatibly with new Emacs.
1951 (encode-time-value, with-decoded-time-value):
1952 Obsolete only if new Emacs.
1953 (time-add, time-subtract, time-less-p): Define if not new Emacs.
1955 Improve time stamp handling, and be more consistent about it.
1956 This implements a suggestion made in:
1957 http://lists.gnu.org/archive/html/emacs-devel/2014-10/msg00587.html
1958 Among other things, this means timer.el no longer needs to
1959 autoload the time-date module.
1960 * allout-widgets.el (allout-elapsed-time-seconds): Doc fix.
1961 * arc-mode.el (archive-ar-summarize):
1962 * calendar/time-date.el (seconds-to-time, days-to-time, time-since):
1963 * emacs-lisp/timer.el (timer-relative-time, timer-event-handler)
1964 (run-at-time, with-timeout-suspend, with-timeout-unsuspend):
1965 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
1966 * proced.el (proced-time-lessp):
1967 * timezone.el (timezone-time-from-absolute):
1968 * type-break.el (type-break-schedule, type-break-time-sum):
1969 Simplify by using new functionality.
1970 * calendar/cal-dst.el (calendar-next-time-zone-transition):
1971 Do not return time values in obsolete and undocumented (HI . LO)
1972 format; use (HI LO) instead.
1973 * calendar/time-date.el (with-decoded-time-value):
1974 Treat 'nil' as current time. This is mostly for XEmacs.
1975 (encode-time-value, with-decoded-time-value): Obsolete.
1976 (time-add, time-subtract, time-less-p): Use no-op autoloads, for
1977 XEmacs. Define only if XEmacs, as they're now C builtins in Emacs.
1978 * ldefs-boot.el: Update to match new time-date.el
1979 * proced.el: Do not require time-date.
1981 2014-11-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
1983 * net/eww.el (eww-mode): Make the buffer read-only.
1984 (eww-form-text): Inhibit read-only-ness in text input fields
1987 2014-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
1989 * simple.el (execute-extended-command--shorter): Cut search here.
1990 (execute-extended-command): Instead of here.
1992 2014-11-16 Fabián Ezequiel Gallina <fgallina@gnu.org>
1994 * progmodes/python.el (python-mode): Avoid use of set-local to
1995 keep Emacs 24.x compatibility.
1997 2014-11-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
1999 * net/shr.el (shr): Move to the new defgroup `web'.
2001 * net/eww.el (eww): Ditto.
2003 * simple.el (execute-extended-command): Don't show the help
2004 message if the binding isn't significantly shorter than the
2005 M-x command the user typed (bug#19013).
2007 2014-11-16 Ulf Jasper <ulf.jasper@web.de>
2009 * calendar/icalendar.el (icalendar--convert-tz-offset):
2010 Return complete cons when offsets of standard time and daylight saving
2012 (icalendar-export-region): Fix unbound variable warning.
2014 2014-11-16 Fabián Ezequiel Gallina <fgallina@gnu.org>
2016 * progmodes/python.el (run-python): Allow CMD to be optional and
2017 default it to a safe command, even for Windows. (bug#18596)
2019 2014-11-16 Fabián Ezequiel Gallina <fgallina@gnu.org>
2021 * progmodes/python.el (python-shell-calculate-command):
2022 Rename from python-shell-parse-command. Cleanup.
2023 (run-python, run-python-internal): Use it.
2024 (python-shell-calculate-pythonpath): Rename from
2025 python-new-pythonpath.
2026 (python-shell-calculate-process-environment): Use it.
2027 (python-shell-calculate-exec-path): Add comment.
2029 2014-11-16 Thierry Banel <tbanelwebmin@free.fr> (tiny change)
2031 * calc/calc-arith.el (math-max-list, math-min-list): Fix bug
2034 2014-11-16 Andreas Schwab <schwab@linux-m68k.org>
2036 * version.el (emacs-repository-get-version): Use git rev-parse
2039 2014-11-16 Fabián Ezequiel Gallina <fgallina@gnu.org>
2041 * progmodes/python.el (python-indent-calculate-levels):
2042 Fix indentation behavior multiline dedenter statement. (Bug#18432)
2044 2014-11-16 Fabián Ezequiel Gallina <fgallina@gnu.org>
2046 * progmodes/python.el (python-indent-region):
2047 Use python-indent-line and skip special cases. (Bug#18843)
2049 2014-11-16 Peder O. Klingenberg <peder@klingenberg.no>
2051 * mail/emacsbug.el (report-emacs-bug): Make a better guess at
2052 envelope-from when reporting through sendmail (bug#19054).
2054 2014-11-16 Oscar Fuentes <ofv@wanadoo.es>
2056 Add faces for the VC modeline state indicator.
2058 (vc-state-faces, vc-state-base-face)
2059 (vc-up-to-date-state, vc-needs-update-state)
2060 (vc-locked-state, vc-locally-added-state)
2061 (vc-conflict-state, vc-removed-state)
2062 (vc-missing-state, vc-edited-state):
2064 (vc-default-mode-line-string): Use them
2066 2014-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
2068 * emacs-lisp/backquote.el (backquote-process): Optimize away ",'".
2070 2014-11-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
2072 * net/eww.el (eww-search-words): Mention `eww-search-prefix'.
2074 2014-11-15 Fabián Ezequiel Gallina <fgallina@gnu.org>
2076 * progmodes/python.el (python-eldoc-setup-code): Enhance string
2077 type checks, simplify printing. (Bug#18962)
2079 2014-11-14 Ivan Andrus <darthandrus@gmail.com>
2081 * progmodes/python.el (python-shell-font-lock-kill-buffer):
2082 (python-shell-font-lock-with-font-lock-buffer)
2083 (python-shell-get-buffer, python-ffap-module-path):
2084 Use `derived-mode-p' instead of equality test on `major-mode'.
2086 2014-11-14 Fabián Ezequiel Gallina <fgallina@gnu.org>
2088 * progmodes/python.el (python-shell-virtualenv-root): Rename from
2089 python-shell-virtualenv-path.
2090 (python-shell-internal-get-process-name)
2091 (python-shell-calculate-process-environment)
2092 (python-shell-calculate-exec-path): Use it.
2094 2014-11-14 Eli Zaretskii <eliz@gnu.org>
2096 * bindings.el (search-map): Fix last change: don't use 'kbd' in
2097 bindings.el, since it is not yet loaded when bindings.el is
2100 2014-11-14 Fabián Ezequiel Gallina <fgallina@gnu.org>
2102 * progmodes/python.el (python-shell-completion-get-completions):
2105 2014-11-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
2107 * net/eww.el (eww-render): Don't set the title to the URL.
2109 2014-11-13 Ulrich Müller <ulm@gentoo.org>
2111 * version.el (emacs-repository-get-version): Call `git log'
2112 command with proper format argument (bug#19049).
2114 2014-11-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
2116 * bindings.el (search-map): Bind M-s M-s to `eww-search-words'.
2118 2014-11-14 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2120 * net/eww.el (eww-search-words): New command (bug#16258).
2122 2014-11-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
2124 * net/shr.el (shr-inhibit-images): Add a doc string.
2126 * net/eww.el (eww-after-render-hook): New variable.
2127 (eww-render): Use it.
2129 * net/shr.el (shr-descend): Don't descend further than
2130 `max-specpdl-size' allows (bug#16587).
2131 (shr-depth): New variable.
2132 (shr-warning): New variable.
2134 2014-11-13 Ivan Shmakov <ivan@siamics.net>
2136 * net/shr.el (shr-parse-base): Handle <base href=""> correctly.
2137 (shr-expand-url): Expand absolute URLs correctly (bug#17958).
2139 2014-11-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
2141 * net/eww.el (eww): Add comment to clarify.
2143 * net/shr.el (shr-parse-image-data): Remove blocked bits from
2144 external SVG images.
2145 (shr-tag-object): Display images in <object> forms (bug#16244).
2146 (shr-tag-table): Also insert <objects> after the tables.
2148 2014-11-13 Michael Albinus <michael.albinus@gmx.de>
2150 * vc/vc-hg.el (vc-hg-state): Disable pager. (Bug#18940)
2152 2014-11-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
2154 * net/eww.el (eww-form-file): Fix version number.
2156 2014-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
2158 * net/eww.el (eww-form-file): :type isn't a valid `defface' keyword.
2160 2014-11-10 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2162 * net/eww.el(eww-form-file(defface)): New defface of file upload form.
2163 (eww-submit-file): New key map of file upload.
2164 (eww-form-file): New file upload button and file name context.
2165 (eww-select-file): Select file and display selected file name.
2166 (eww-tag-input): Handle input tag of file type.
2167 (eww-update-field): Add point offset.
2168 (eww-submit): Add submit with multipart/form-data.
2170 2014-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
2172 * net/eww.el (eww-render, eww-display-html, eww-setup-buffer):
2173 Allow taking a buffer to render data in. This allows using several
2174 eww buffers (bug#16211).
2176 2014-11-10 Charles Rendleman <carendle@gmail.com> (tiny change)
2178 * net/eww.el (eww-download-callback): Save only the file contents,
2181 2014-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
2183 * net/eww.el (eww-data): New plist to store all the data relevant
2184 to a single page, used throughout the file instead of the
2185 variables `eww-current-url', `eww-current-dom',
2186 `eww-current-source', and `eww-current-title'.
2187 (eww-readable): Copy over pertinent data from the parent page.
2188 (eww-save-history): Don't let the history grow infinitely.
2190 * net/eww.el: Remove `eww-next-url', `eww-previous-url',
2191 `eww-up-url', `eww-home-url', `eww-start-url' and
2192 `eww-contents-url' and put the data into the `eww-data' plist.
2193 This allow restoring these values after going back in the history.
2195 2014-11-10 Sylvain Chouleur <sylvain.chouleur@gmail.com> (tiny change)
2197 Allow VTIMEZONE where daylight and standard time zones are equal.
2198 See: http://lists.gnu.org/archive/html/emacs-devel/2014-11/msg00494.html
2199 * calendar/icalendar.el (icalendar--convert-tz-offset):
2200 Support timezone without daylight saving time.
2202 2014-11-10 Glenn Morris <rgm@gnu.org>
2204 * startup.el (command-line): Handle nil elements in load-path.
2206 2014-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
2208 * help.el (view-lossage): Include the actual commands run.
2210 2014-11-10 Dmitry Gutov <dgutov@yandex.ru>
2212 * vc/vc-dir.el (vc-dir-hide-state): Also hide `ignored' items when
2213 no state is specified. (Bug#18964)
2215 2014-11-09 Eric Ludlam <zappo@gnu.org>
2217 * emacs-lisp/eieio-custom.el (eieio-customize-object):
2218 Set eieio-cog (current group) to g, which is an improved form of input
2221 2014-11-09 Juri Linkov <juri@jurta.org>
2223 * isearch.el (isearch-message-prefix): Show "Multi-file" and
2224 "Multi-buffer" instead of "Multi". (Bug#13592)
2226 * misearch.el (multi-isearch-file-list):
2227 Autoload multi-isearch-buffer-list and multi-isearch-file-list.
2228 (multi-isearch-end): Reset multi-isearch-buffer-list and
2229 multi-isearch-file-list to nil.
2231 2014-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
2233 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
2234 Don't call byte-compile-preprocess since the result will go through
2236 (byte-compile-output-docform): Handle uninterned `name' correctly.
2237 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Use interned name
2238 to circumvent byte-compiler bug.
2240 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix typo.
2241 (macroexp--compiler-macro): Remove left-over debug code.
2243 * emacs-lisp/cl-extra.el (cl-get): Silence compiler warning.
2245 2014-11-08 Juri Linkov <juri@jurta.org>
2247 * simple.el (shell-command): Use buffer-name when output-buffer is
2248 a buffer. (Bug#18096)
2250 2014-11-08 Juri Linkov <juri@jurta.org>
2252 * minibuffer.el (minibuffer-completion-help): Compare this-command
2253 with completion-at-point. (Bug#17809)
2255 2014-11-08 Glenn Morris <rgm@gnu.org>
2257 * emacs-lisp/bytecomp.el (byte-compile-report-error):
2258 Allow the argument to be a string. Due to the vague doc,
2259 it was already being used this way.
2261 2014-11-08 Michael Albinus <michael.albinus@gmx.de>
2263 * net/tramp.el (tramp-check-cached-permissions): Include hop in
2264 the constructed Tramp file name. (Bug#18943)
2266 2014-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2268 * emulation/cua-base.el (cua--select-keymaps): Use region-active-p
2270 (cua-set-mark, cua--post-command-handler-1):
2271 * emulation/cua-gmrk.el (cua-cancel-global-mark): Same.
2273 2014-11-08 Michael Albinus <michael.albinus@gmx.de>
2275 * files.el (file-name-non-special): Wrap the call of
2276 `insert-file-contents' by `unwind-protect', in order to set the
2277 buffer's file name anyway. (Bug#18891)
2279 2014-11-08 Alan Mackenzie <acm@muc.de>
2281 Fix wrong bound to c-font-lock-declarators. Fixes bug #18948.
2282 * progmodes/cc-fonts.el (c-font-lock-declarations):
2283 Pass "(point-max)" as bound to c-font-lock-declarators, not "limit", as
2284 the buffer is sometimes narrowed to less than "limit" (e.g., in
2285 the presence of macros).
2287 2014-11-08 Michael Albinus <michael.albinus@gmx.de>
2289 * net/tramp.el (tramp-error-with-buffer): Show connection buffer
2290 only when message appeared in minibuffer. (Bug#18891)
2292 * net/tramp-adb.el (tramp-adb-handle-file-attributes):
2293 * net/tramp-gvfs.el (tramp-gvfs-handle-file-attributes):
2294 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Return nil in
2297 2014-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2299 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
2300 Don't compile before eval in `eval-and-compile'.
2301 (byte-compile-arglist-warn): Add check for defining macros after their
2302 first use. Check call use even if the function is fboundp.
2304 2014-11-08 Richard Stallman <rms@gnu.org>
2306 * mail/rmail.el (rmail-epa-decrypt): Detect armor with line prefixes.
2307 Check more carefully for mime-part specified character set.
2308 Check for mime-part Content Transfer Encoding.
2309 Notify if no armor found.
2311 2014-11-08 Martin Rudalics <rudalics@gmx.at>
2313 * faces.el (face-set-after-frame-default): Enable running
2314 `window-configuration-change-hook'.
2316 2014-11-07 Juri Linkov <juri@jurta.org>
2318 * replace.el: History for query replace pairs.
2319 (query-replace-defaults): Promote to a list of cons cell. Doc fix.
2320 (query-replace-from-to-separator): New variable.
2321 (query-replace-read-from): Let-bind query-replace-from-to-history
2322 to a list of FROM-TO strings created from query-replace-defaults
2323 and separated by query-replace-from-to-separator. Use it as
2324 the history while reading from the minibuffer. Split the returned
2325 string by the separator to get FROM and TO parts, and add them
2326 to the history variables.
2327 (query-replace-read-to): Add FROM-TO pairs to query-replace-defaults.
2328 (query-replace-regexp-eval): Let-bind query-replace-defaults to nil.
2329 http://lists.gnu.org/archive/html/emacs-devel/2014-11/msg00253.html
2331 * isearch.el (isearch-text-char-description): Keep characters
2332 intact and put formatted strings with the `display' property.
2334 2014-11-07 Martin Rudalics <rudalics@gmx.at>
2336 * cus-start.el (frame-resize-pixelwise): Fix group.
2337 (frame-inhibit-implied-resize): Add entry.
2339 2014-11-07 Daiki Ueno <ueno@gnu.org>
2341 * epa.el (epa-pinentry-mode): New user option.
2342 (epa-sign-file, epa-encrypt-file, epa-decrypt-region)
2343 (epa-sign-region, epa-encrypt-region): Respect epa-pinentry-mode.
2344 * epa-file.el (epa-file-insert-file-contents)
2345 (epa-file-write-region): Respect epa-pinentry-mode.
2347 2014-11-07 Daiki Ueno <ueno@gnu.org>
2349 * epg.el (epg--list-keys-1): Ignore fields after the 15th field
2350 (bug#18979). Reported by Hideki Saito.
2352 2014-11-06 Daiki Ueno <ueno@gnu.org>
2354 * emacs-lisp/package.el (package--display-verify-error): New function.
2355 (package--check-signature): Use it to display output sent to stderr.
2357 2014-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
2359 * subr.el (pop): Don't call the getter twice (bug#18968).
2361 * emacs-lisp/macroexp.el (macroexp--expand-all): Optimize away trivial
2364 2014-11-06 Daiki Ueno <ueno@gnu.org>
2366 * epa.el (epa-error-buffer): New variable.
2367 (epa-display-error): New function.
2368 (epa-decrypt-file, epa-verify-file, epa-verify-region)
2369 (epa-delete-keys, epa-import-keys): Display output sent to stderr.
2370 (epa-sign-file, epa-sign-region, epa-encrypt-region)
2371 (epa-export-keys, epa-insert-keys): Display output sent to stderr.
2372 Use setf instead of epg-context-set-*.
2373 * epa-file.el (epa-file-insert-file-contents):
2374 Use epa-display-error instead of epa-display-info. Mimic the behavior
2375 of jka-compr when decryption program is not found.
2376 (epa-file-write-region): Use epa-display-error instead of
2379 2014-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
2381 * vc/vc.el (vc-region-history): New command.
2382 (vc-print-log-internal): Use cl-some.
2384 * vc/vc-git.el (vc-git-region-history): New function.
2385 (vc-git-region-history-mode-map)
2386 (vc-git--log-view-long-font-lock-keywords)
2387 (vc-git-region-history-font-lock-keywords): New vars.
2388 (vc-git-region-history-font-lock): New function.
2389 (vc-git-region-history-mode): New major mode.
2391 2014-11-05 Tassilo Horn <tsdh@gnu.org>
2393 * net/eww.el (subr-x): Require subr-x at compile-time because eww
2396 2014-11-05 Daiki Ueno <ueno@gnu.org>
2398 * epg.el (epg-context): Add new slot ERROR-OUTPUT.
2399 (epg-error-output): New buffer-local variable.
2400 (epg--start): Initialize epg-error-output.
2401 (epg--process-filter): Record output lines sent to stderr, in
2403 (epg-wait-for-completion): Copy epg-error-output to ERROR-OUTPUT
2405 * epa-file.el (epa-file-insert-file-contents): On error, display
2406 output sent to stderr.
2407 (epa-file-write-region): Likewise.
2409 2014-11-05 Eli Zaretskii <eliz@gnu.org>
2411 * jit-lock.el (jit-lock-stealth-fontify): Be tolerant to nil being
2412 returned by load-average.
2414 2014-11-05 Michael Albinus <michael.albinus@gmx.de>
2416 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer): Don't use
2417 a local copy; setting `inhibit-file-name-handlers' proper might be
2418 more performant. (Bug#18751)
2420 2014-11-05 Glenn Morris <rgm@gnu.org>
2422 * mail/emacsbug.el (report-emacs-bug): No longer include
2423 recent-keys in the report. (Bug#18900)
2425 2014-11-04 Paul Eggert <eggert@cs.ucla.edu>
2427 * mouse.el (mouse-drag-line): Fix misspelling of "right-fringe".
2429 2014-11-04 Teodor Zlatanov <tzz@lifelogs.com>
2431 * net/eww.el (eww): Trim URL with `string-trim'.
2432 Suggested by Vibhav Pant <vibhavp@gmail.com>.
2434 2014-11-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
2436 * net/eww.el (eww-score-readability): Don't count comments positively.
2438 * net/shr.el (shr-retransform-dom): Typo fix.
2440 * net/eww.el (eww-score-readability): Parse SVC images correctly.
2441 (eww-display-html): Don't leave point inside forms.
2443 * net/shr.el: Ditto.
2445 2014-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
2447 * emacs-lisp/edebug.el (edebug-safe-prin1-to-string): Assume that
2448 edebug-prin1-to-string already handles circularity.
2450 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix compiler-macro
2451 autoloading when specified as a lambda.
2453 * simple.el (execute-extended-command--last-typed): New var.
2454 (read-extended-command): Set it.
2455 Don't complete obsolete commands.
2456 (execute-extended-command--shorter-1)
2457 (execute-extended-command--shorter): New functions.
2458 (execute-extended-command): Use them to suggest shorter names.
2459 (indicate-copied-region, deactivate-mark): Use region-active-p.
2461 2014-11-03 Michael Albinus <michael.albinus@gmx.de>
2463 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer): Use a
2464 local copy of FILENAME, when it is remote. (Bug#18751)
2466 * net/tramp-adb.el (tramp-adb-handle-process-file): Do not raise
2467 an error when the command fails; the return code must indicate.
2468 (tramp-adb-send-command-and-check): Fix docstring.
2470 2014-11-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
2472 * net/shr.el (shr-retransform-dom): Don't ignore elements that
2473 have no children like <br />.
2475 * net/eww.el (eww-display-html): Clear `url-queue'.
2476 (eww-display-pdf): New function.
2477 (eww-render): Display PDFs with `doc-view'.
2478 (url-queue): Require `url-queue' to avoid compilation warning.
2479 (eww-colorize-region): Remove duplicate function.
2480 (eww-tag-body): Use `shr-colorize-region'.
2482 2014-11-03 Yoni Rabkin <yrk@gnu.org>
2484 * net/eww.el (eww-list-bookmarks): Autoload.
2486 2014-11-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
2488 * net/shr.el (shr-retransform-dom): Allow several text sub-nodes.
2490 * net/eww.el (eww-display-html): The charset is called `utf-8',
2492 (eww-readable): Decode the saved text correctly.
2493 (eww-readable): Save the history before displaying so that we can
2494 go back to the non-readable version.
2495 (eww-display-html): Don't try to decode the text if we've been
2496 passed in a pre-parsed DOM.
2497 (eww-tag-title): Remove newlines and extra whitespace from the
2500 2014-11-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
2502 * net/eww.el (eww-readable): New command and keystroke.
2504 * net/shr.el (shr-retransform-dom): New function.
2506 * net/eww.el (eww-display-html): Set `eww-current-source' in the
2508 (eww-view-source): Use it.
2510 2014-11-02 Ivan Shmakov <ivan@siamics.net>
2512 * net/eww.el (eww): Recognize colon-delimited IPv6 addresses.
2515 2014-11-02 Brian McKenna <brian@brianmckenna.org> (tiny change)
2517 * net/eww.el (eww-submit): Encode empty form values as "". (Bug#17785).
2519 2014-11-02 Ivan Shmakov <ivan@siamics.net>
2521 * net/eww.el (eww): Allow "file:/file/name" URLs. (Bug#18825).
2523 2014-11-02 Ivan Shmakov <ivan@siamics.net>
2525 * net/eww.el (eww-mode-map): Remove mentions of `eww-quit'.
2528 2014-11-02 Eric Abrahamsen <eric@ericabrahamsen.net>
2530 * emacs-lisp/eieio.el (eieio-edebug-prin1-to-string): Adjust for
2532 (edebug-setup-hook): Advise `edebug-prin1-to-string'. (Bug#18897)
2534 2014-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
2536 * emacs-lisp/pp.el (pp-macroexpand-expression): Use macroexpand-1
2538 * progmodes/elisp-mode.el (emacs-lisp-macroexpand): Idem.
2540 2014-11-01 Michael R. Mauger <michael@mauger.com>
2542 * sql.el (sql-mode-oracle-font-lock-keywords): Correct regexp
2543 syntax, add new keywords, and parse longer keywords first.
2544 (sql-redirect-one): Protect against empty command.
2545 (sql-mode, sql-interactive-mode): Set `custom-mode-group' property
2548 2014-11-01 Michael R. Mauger <michael@mauger.com>
2550 * sql.el (sql-interactive-mode, sql-stop): Correct fix for
2551 Bug#16814 with let-bind of comint-input-ring variables around read
2554 2014-11-01 Michael Albinus <michael.albinus@gmx.de>
2556 * net/tramp-cache.el (tramp-get-file-property)
2557 (tramp-set-file-property): Check that `tramp-cache-get-count-*'
2558 and `tramp-cache-set-count-*' are bound. Otherwise, there might
2559 be compiler warnings.
2561 * net/tramp-sh.el (tramp-get-remote-uid, tramp-get-remote-gid):
2562 Return -1 respective "UNKNOWN", if uid or gid cannot be determined.
2564 2014-11-01 Eli Zaretskii <eliz@gnu.org>
2566 * progmodes/compile.el (compilation-mode): Turn off deferred
2567 fontifications locally. (Bug#18856)
2569 2014-11-01 Wolfgang Jenkner <wjenkner@inode.at>
2571 * net/tramp-sh.el (tramp-send-command): Fix the case where the
2572 remote-echo connection property is non-nil (bug#18858).
2574 2014-11-01 Stefan Monnier <monnier@iro.umontreal.ca>
2576 * simple.el (newline): Add assertions to try and help catch bug#18913.
2578 * emulation/cua-base.el (cua-delete-region): Use delete-active-region
2580 (cua--last-deleted-region-pos, cua--last-deleted-region-text): Remove.
2582 2014-11-01 Kim F. Storm <storm@cua.dk>
2584 Restore cua-delete-copy-to-register-0 and M-v command (bug#18886).
2585 * delsel.el (delete-selection-save-to-register)
2586 (delsel--replace-text-or-position): New vars.
2587 (delete-active-region): Use them.
2588 (delete-selection-repeat-replace-region): New command, moved from
2590 * emulation/cua-base.el (cua--repeat-replace-text): Remove var.
2591 (cua-repeat-replace-region): Move command to delsel.el.
2592 (cua--init-keymaps): Update binding accordingly.
2593 (cua-mode): Set delete-selection-save-to-register.
2595 2014-11-01 Alan Mackenzie <acm@muc.de>
2597 Make blink-parens work with a closing template delimiter.
2598 * progmodes/cc-cmds.el (c-electric-lt-gt): Cause a redisplay
2599 before calling blink-paren-function, so as to apply syntax-table
2600 properties to the ">".
2602 2014-11-01 Jan Djärv <jan.h.d@swipnet.se>
2604 * select.el (gui-get-selection): Comment: data-type ignored on NS.
2606 2014-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
2608 * emacs-lisp/macroexp.el (macroexpand-1): New function (bug#18821).
2609 (macroexp--expand-all): Unrelated tweaks.
2611 * emacs-lisp/gv.el (gv-get): Use macroexpand-1.
2613 2014-10-30 Glenn Morris <rgm@gnu.org>
2615 * startup.el (command-line): Remove pointless attempt to avoid
2616 statting the file-system (which expand-file-name doesn't do).
2618 2014-10-30 Daniel Colascione <dancol@dancol.org>
2620 Add "enum class" support to C++ mode.
2621 * progmodes/cc-langs.el (c-after-brace-list-decl-kwds)
2622 (c-after-brace-list-key): New language consts/variables.
2623 * progmodes/cc-engine.el (c-looking-at-decl-block):
2624 Exclude spurious match of "enum struct" from decl-block recognition.
2625 (c-backward-colon-prefixed-type): New function.
2626 (c-backward-over-enum-header): Call above function to extend
2627 recognition of enum structure.
2629 2014-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
2631 * progmodes/cc-defs.el (c--macroexpand-all): New function (bug#18845).
2633 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Use it.
2635 2014-10-30 Eli Zaretskii <eliz@gnu.org>
2637 * progmodes/compile.el (compilation-start):
2638 If compilation-scroll-output is non-nil, don't force window-start of
2639 the compilation buffer to be at beginning of buffer. (Bug#18874)
2641 * startup.el (fancy-about-text): Read the entire tutorial, not
2642 just its first 256 bytes. (Bug#18760)
2644 2014-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
2646 * emacs-lisp/bytecomp.el: Require cl-extra (bug#18804).
2647 * emacs-lisp/cl-extra.el: Add missing provide.
2649 * emacs-lisp/bytecomp.el (byte-compile-and-folded): Optimize case where
2650 all args are copyable (bug#18767).
2651 (=, <, >, <=, >=): Re-enable the optimization.
2653 2014-10-29 Glenn Morris <rgm@gnu.org>
2655 * net/rcirc.el (rcirc-fill-column): Unbump :version. Mark :risky.
2657 * version.el (emacs-bzr-version, emacs-bzr-get-version):
2658 Revert 2014-10-26 change.
2660 2014-10-29 Paul Eggert <eggert@cs.ucla.edu>
2662 Simplify use of current-time and friends.
2663 * allout-widgets.el (allout-widgets-hook-error-handler):
2664 * calendar/appt.el (appt-display-message):
2665 * calendar/icalendar.el (icalendar--convert-float-to-ical):
2666 * calendar/timeclock.el (timeclock-in, timeclock-when-to-leave)
2667 (timeclock-last-period, timeclock-day-base):
2668 * eshell/em-ls.el (eshell-ls-file):
2669 * eshell/esh-util.el (eshell-parse-ange-ls):
2670 * generic-x.el (named-database-print-serial):
2671 * net/newst-backend.el (newsticker--get-news-by-url-callback)
2672 (newsticker-get-news, newsticker--sentinel-work)
2673 (newsticker--image-get, newsticker--image-sentinel):
2674 * net/tramp-sh.el (tramp-get-remote-touch):
2675 * progmodes/opascal.el (opascal-debug-log):
2676 * textmodes/remember.el (remember-mail-date)
2677 (remember-store-in-files):
2678 * vc/vc-annotate.el (vc-annotate-display-autoscale)
2679 (vc-default-annotate-current-time):
2680 * vc/vc-bzr.el (vc-bzr-shelve-snapshot):
2681 * vc/vc-cvs.el (vc-cvs-annotate-current-time):
2682 * vc/vc-rcs.el (vc-rcs-annotate-current-time):
2683 Omit unnecessary call to current-time.
2684 * calendar/time-date.el (time-to-seconds) [!float-time]:
2685 * vc/vc-annotate.el (vc-annotate-convert-time):
2686 Use current time if arg is nil, to be compatible with float-time.
2687 (time-date--day-in-year): New function, with most of the guts of
2688 the old time-to-day-in-year.
2689 (time-to-day-in-year): Use it.
2690 (time-to-days): Use it, to avoid decoding the same time stamp twice.
2691 * calendar/timeclock.el (timeclock-time-to-date):
2692 Arg is now optional, like current-time-string.
2693 (timeclock-update-mode-line):
2694 Don't call current-time twice to get the current time stamp,
2695 as this can lead to inconsistent results.
2696 * completion.el (cmpl-hours-since-origin):
2697 * ido.el (ido-time-stamp):
2698 * vc/vc-annotate.el (vc-annotate-convert-time):
2699 Simplify by using float-time.
2700 * completion.el (save-completions-to-file):
2701 Rename local var to avoid confusion.
2702 * net/rcirc.el (rcirc-float-time): Simplify to an alias because
2703 time-to-seconds now behaves like float-time with respect to nil arg.
2704 * subr.el (progress-reporter-do-update):
2705 Don't call float-time unless needed.
2707 2014-10-29 Leo Liu <sdl.web@gmail.com>
2709 * net/rcirc.el (rcirc-fill-column): Use function.
2710 (rcirc-markup-fill): Remove adjustment.
2712 2014-10-28 Christopher Schmidt <ch@ristopher.com>
2714 * calc/calc.el (quick-calc):
2715 * calc/calc-aent.el (calc-do-quick-calc): New argument INSERT.
2717 2014-10-28 Sam Steingold <sds@gnu.org>
2719 * net/rcirc.el (rcirc-fill-column): Allow any symbolic value for
2720 the sake of `window-body-width' (in addition to `frame-width').
2722 2014-10-26 Eric S. Raymond <esr@thyrsus.com>
2724 * version.el: Fix some fallback values to conform to the actual
2727 2014-10-25 Eric S. Raymond <esr@thyrsus.com>
2729 * Makefile.in: Change some production names so they're neutral
2730 about the repository type.
2732 2014-10-25 Michael Albinus <michael.albinus@gmx.de>
2734 * net/tramp-gvfs.el (tramp-gvfs-methods-mounttracker)
2735 (tramp-gvfs-mountlocation-signature): Check `tramp-gvfs-enabled'
2736 during initialization. (Bug#18774)
2738 2014-10-25 Vincent Belaïche <vincentb1@users.sourceforge.net>
2740 * ses.el (macroexp): Add require for this package, so that
2741 function `ses--cell' gets macroexp-quote --- this change was
2742 supposed to be in my previous commit, but left out by mistake.
2743 (ses--cell): Do not make formula a macroexp-quote of value when
2744 value, not formula, is *skip*.
2746 2014-10-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
2748 * ses.el (macroexp): Add require for this package, so that function
2749 `ses--cell gets macroexp-quote.
2750 (ses--cell): Makes formula a macroexp-quote of value when formula
2751 is nil. The rationale of this changr is to allow in the future
2752 shorter SES files, e.g. we could have only `(ses-cell A1 1.0)'
2753 instead of `(ses-cell A1 1.0 1.0 nil REFLIST)'. In such a case
2754 reference list REFLIST would be re-computed after load --- thus
2755 trading off load time against file size.
2757 * emacs-lisp/package.el (package--alist-to-plist-args):
2758 Use macroexp-quote instead of a lambda expression which has the same
2759 content as macroexp-quote.
2760 (macroexp): Add require for this package, so that function
2761 `package--alist-to-plist-args' gets macroexp-quote.
2763 * emacs-lisp/macroexp.el (macroexp-quote): New defun.
2765 2014-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
2767 * term/ns-win.el (ns-store-cut-buffer-internal)
2768 (ns-copy-including-secondary): Use gui-set-selection (bug#18816).
2770 2014-10-24 Martin Rudalics <rudalics@gmx.at>
2772 * mouse.el (mouse-drag-line): Don't use mouse-pixel-position.
2773 Calculate increment from last position instead of window edge.
2774 Add right- and bottom-divider bindings to transient map.
2776 2014-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
2778 * emacs-lisp/cl-macs.el (cl-defstruct): Define an internal predicate
2779 even if :predicate was nil, for the benefit of typep.
2780 Record the name of the predicate for typep's use.
2781 (cl--make-type-test): Use pcase. Obey new
2782 cl-deftype-satisfies property.
2784 * epg.el: Use cl-defstruct.
2785 (epg-make-data-from-file, epg-make-data-from-string, epg-data-file)
2786 (epg-data-string): Define via cl-defstruct.
2787 (epg--gv-nreverse): New macro.
2788 (epg-context--make): New constructor (provided vi cl-defstruct).
2789 (epg-make-context): Rewrite using it.
2790 (epg-context-protocol, epg-context-program)
2791 (epg-context-home-directory, epg-context-armor, epg-context-textmode)
2792 (epg-context-include-certs, epg-context-cipher-algorithm)
2793 (epg-context-digest-algorithm, epg-context-compress-algorithm)
2794 (epg-context-passphrase-callback, epg-context-progress-callback)
2795 (epg-context-signers, epg-context-sig-notations, epg-context-process)
2796 (epg-context-output-file, epg-context-result, epg-context-operation)
2797 (epg-context-pinentry-mode): Define using cl-defstruct.
2798 (epg-context-set-protocol, epg-context-set-program)
2799 (epg-context-set-include-certs, epg-context-set-cipher-algorithm)
2800 (epg-context-set-digest-algorithm)
2801 (epg-context-set-sig-notations, epg-context-set-process)
2802 (epg-context-set-output-file, epg-context-set-result)
2803 (epg-context-set-operation, epg-context-set-pinentry-mode)
2804 (epg-context-set-compress-algorithm): Remove. Use setf instead.
2805 (epg-context-set-armor, epg-context-set-textmode)
2806 (epg-context-set-signers): Redefine using setf
2807 and declare as obsolete.
2808 (epg-context-set-passphrase-callback)
2809 (epg-context-set-progress-callback): Use setf.
2810 (epg-signature-notations): Rename from epg-sig-notations.
2811 (epg-make-signature, epg-signature-status, epg-signature-key-id)
2812 (epg-signature-validity, epg-signature-fingerprint)
2813 (epg-signature-creation-time, epg-signature-expiration-time)
2814 (epg-signature-pubkey-algorithm, epg-signature-digest-algorithm)
2815 (epg-signature-class, epg-signature-version): Define vi cl-defstruct.
2816 (epg-signature-set-status, epg-signature-set-key-id)
2817 (epg-signature-set-validity, epg-signature-set-fingerprint)
2818 (epg-signature-set-creation-time, epg-signature-set-expiration-time)
2819 (epg-signature-set-pubkey-algorithm)
2820 (epg-signature-set-digest-algorithm, epg-signature-set-class)
2821 (epg-signature-set-version, epg-signature-set-notations): Remove.
2823 (epg-make-new-signature, epg-new-signature-type)
2824 (epg-new-signature-pubkey-algorithm)
2825 (epg-new-signature-digest-algorithm, epg-new-signature-class)
2826 (epg-new-signature-creation-time, epg-new-signature-fingerprint):
2827 Define using cl-defstruct.
2828 (epg-make-key, epg-key-owner-trust, epg-key-sub-key-list)
2829 (epg-key-user-id-list): Define using cl-defstruct.
2830 (epg-key-set-sub-key-list, epg-key-set-user-id-list): Remove.
2832 (epg-make-sub-key, epg-sub-key-validity, epg-sub-key-capability)
2833 (epg-sub-key-secret-p, epg-sub-key-algorithm, epg-sub-key-length)
2834 (epg-sub-key-id, epg-sub-key-creation-time)
2835 (epg-sub-key-expiration-time, epg-sub-key-fingerprint): Define using
2837 (epg-sub-key-set-fingerprint): Remove. Use setf instead.
2838 (epg-make-user-id, epg-user-id-validity, epg-user-id-string)
2839 (epg-user-id-signature-list): Define using cl-defstruct.
2840 (epg-user-id-set-signature-list): Remove. Use setf instead.
2841 (epg-make-key-signature, epg-key-signature-validity)
2842 (epg-key-signature-pubkey-algorithm, epg-key-signature-key-id)
2843 (epg-key-signature-creation-time, epg-key-signature-expiration-time)
2844 (epg-key-signature-user-id, epg-key-signature-class)
2845 (epg-key-signature-exportable-p): Define using cl-defstruct.
2846 (epg-make-sig-notation, epg-sig-notation-name)
2847 (epg-sig-notation-value, epg-sig-notation-human-readable)
2848 (epg-sig-notation-critical): Define using cl-defstruct.
2849 (epg-sig-notation-set-value): Remove. Use setf instead.
2850 (epg-make-import-status, epg-import-status-fingerprint)
2851 (epg-import-status-reason, epg-import-status-new)
2852 (epg-import-status-user-id, epg-import-status-signature)
2853 (epg-import-status-sub-key, epg-import-status-secret): Define using
2855 (epg-make-import-result, epg-import-result-considered)
2856 (epg-import-result-no-user-id, epg-import-result-imported)
2857 (epg-import-result-imported-rsa, epg-import-result-unchanged)
2858 (epg-import-result-new-user-ids, epg-import-result-new-sub-keys)
2859 (epg-import-result-new-signatures, epg-import-result-new-revocations)
2860 (epg-import-result-secret-read, epg-import-result-secret-imported)
2861 (epg-import-result-secret-unchanged, epg-import-result-not-imported)
2862 (epg-import-result-imports): Define using cl-defstruct.
2864 * emacs-lisp/package.el: Require EPG during macroexpansion.
2865 (package--check-signature, package-import-keyring): Use setf instead of
2866 epg-context-set-home-directory.
2868 2014-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
2870 * emacs-lisp/bytecomp.el (byte-compile--use-old-handlers): Change default.
2872 2014-10-23 Leo Liu <sdl.web@gmail.com>
2874 * progmodes/cfengine.el (cfengine3-defun-full-re): New var.
2875 (cfengine3-create-imenu-index): Use it and use ` ' for separation.
2876 (cfengine3-current-defun): New function.
2877 (cfengine3-mode): Set add-log-current-defun-function.
2879 2014-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
2881 * select.el: Use lexical-binding.
2882 (gui-set-selection): Provide an implementation for non-GUI frames
2884 * term/x-win.el: Use lexical-binding.
2885 (x-clipboard-yank): Fix up missed renamings.
2886 * term/w32-win.el (libgif-version, libjpeg-version): Silence compiler.
2887 (w32--set-selection): Fix up var names.
2888 * term/pc-win.el: Use lexical-binding.
2889 (w16-selection-exists-p): Silence compiler warning.
2890 (w16-selection-owner-p): Fix up missed renamings.
2892 * emacs-lisp/bytecomp.el (byte-compile-form): Remove left-over debug.
2894 * frame.el (frame-notice-user-settings): Fix excessive quoting.
2896 2014-10-22 Tassilo Horn <tsdh@gnu.org>
2898 * doc-view.el (doc-view-open-text): View the document's plain text
2899 in the current buffer instead of a new one.
2900 (doc-view-toggle-display): Handle the case where the current
2901 buffer contains the plain text contents of the document.
2902 (doc-view-initiate-display): Don't switch to fallback mode if the
2903 user wants to view the doc's plain text.
2904 (doc-view-set-doc-type): Use assoc-string instead of
2907 2014-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
2909 * subr.el (read-key): Fix clicks on the mode-line.
2910 (set-transient-map): Return exit function.
2912 * mouse.el (mouse-drag-line): Use set-transient-map (bug#18015).
2913 (mouse--down-1-maybe-follows-link): Remove unused var `this-event'.
2914 (mouse-yank-secondary): Use gui-get-selection.
2915 (mouse--down-1-maybe-follows-link): Use read-key.
2917 * xt-mouse.el: Add `event-kind' property on the fly from
2918 xterm-mouse-translate-1 rather than statically at the outset.
2920 2014-10-21 Daniel Colascione <dancol@dancol.org>
2922 * vc/vc-dispatcher.el (vc-resynch-window): Tell view-mode not to
2923 change window configuration when we turn it off.
2925 2014-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
2927 Get rid of backend-dependent selection-handling functions for kill/yank
2928 and make it generic instead by relying on the lower-level selection
2929 management functions.
2931 * select.el (select-enable-clipboard): Rename from
2932 gui-select-enable-clipboard.
2933 (select-enable-primary): Move from x-win.el and rename from
2934 x-select-enable-primary.
2935 (gui-last-selected-text): Remove.
2936 (gui--last-selected-text-clipboard, gui--last-selected-text-primary):
2938 (gui-select-text): Rewrite, based on x-win.el's old x-select-text.
2939 (gui-select-text-alist, gui-selection-value-alist): Remove.
2940 (x-select-request-type): Move from x-win.el.
2941 (gui--selection-value-internal): New function, taken from x-win's
2942 x-selection-value-internal.
2943 (gui-selection-value): Rewrite, based on x-win.el's old x-selection-value.
2944 (gui-set-selection-alist): Rename from gui-own-selection-alist and
2945 extend it to handle a nil value as a "disown" request.
2946 (gui-disown-selection-alist): Remove.
2947 (xselect-convert-to-delete): Adjust accordingly.
2948 (gui-set-selection): Simplify accordingly as well. Use dotimes.
2950 * term/x-win.el (x-last-selected-text-primary)
2951 (x-select-enable-primary): Remove (moved to select.el).
2952 (x-select-request-type): Move to select.el.
2953 (x-selection-value-internal, x--selection-value): Remove functions.
2954 (gui-selection-value, gui-select-text): Remove moethods.
2955 (gui-set-selection): Merge own and disown methods.
2957 * term/w32-win.el (w32--select-text, w32--get-selection-value):
2958 Delete function (move functionality into w32--set-selection and
2959 w32--get-selection).
2960 (gui-select-text, gui-selection-value): Don't define methods.
2961 (w32--set-selection, w32--get-selection, w32--selection-owner-p):
2963 (gui-get-selection, gui-selection-owner-p, gui-selection-exists-p):
2965 (gui-selection-exists-p): Adjust to new name of C primitive.
2967 * term/pc-win.el (w16-get-selection-value): Add dummy argument and drop
2968 test of gui-select-enable-clipboard, to make it usable as
2969 a gui-get-selection method.
2970 (gui-selection-exists-p): Adjust to new name of C primitive.
2971 (gui-set-selection): Merge own and disown methods.
2972 (gui-select-text, gui-selection-value): Delete methods.
2973 (w16--select-text): Delete function.
2975 * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard)
2976 (ns-selection-value): Remove functions.
2977 (gui-select-text, gui-selection-value): Don't define method any more.
2978 (gui-set-selection): Merge the old own and disown methods.
2979 (gui-selection-exists-p, gui-get-selection): Adjust to new name of
2980 underlying C primitive.
2982 * startup.el (command-line): Adjust now that `gui-method' expects nil
2985 * frame.el (gui-method): Use window-system rather than framep.
2986 (gui-method-declare): The tty case is now nil rather than t.
2987 (make-frame): Adjust accordingly.
2989 2014-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
2991 * net/newst-reader.el (newsticker--image-read): Simplify.
2992 (newsticker--icon-read): Use dolist and fix free var error.
2994 * imenu.el (imenu--menubar-keymap): New var.
2995 (imenu-add-to-menubar): Set it to remember the keymap we used.
2996 (imenu-update-menubar): Use it instead of asking lookup-key.
2998 * obsolete/cc-compat.el: Make obsolete (bug#18561).
3000 * epg-config.el (epg-gpg-program): Don't use absolute names by default.
3002 * emacs-lisp/bytecomp.el (=, <, >, <=, >=): Don't optimize multi-arg
3005 2014-10-21 Glenn Morris <rgm@gnu.org>
3007 * Merge in all changes up to version 24.4 release.
3009 2014-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
3011 * emacs-lisp/bytecomp.el (=, <, >, <=, >=): Don't optimize multi-arg
3014 2014-10-20 Glenn Morris <rgm@gnu.org>
3016 * Merge in all changes up to 24.4 release.
3018 2014-10-20 Ulf Jasper <ulf.jasper@web.de>
3020 * net/newst-backend.el
3021 (newsticker--image-download-by-url-callback): Make this function
3022 actually work: Check status properly, then save image.
3024 2014-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
3026 * mouse.el (mouse--down-1-maybe-follows-link): Remove unused var
3028 (mouse-drag-line): Unless there's no actual mouse, use the event's
3031 2014-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
3033 * textmodes/css-mode.el (scss-mode): New major-mode.
3034 (css-mode-syntax-table): Use d style comment, to ease the scss case.
3035 (css-ident-re): Allow things like @-moz-keyframes.
3036 (scss--hash-re): New const.
3037 (css--font-lock-keywords): New function, extracted from
3038 css-font-lock-keywords.
3040 2014-10-19 Ulf Jasper <ulf.jasper@web.de>
3042 * net/newst-backend.el: Require url-parse.
3043 (newsticker--get-news-by-wget): Store feed name as process property.
3044 (newsticker--sentinel): Read feed name from process property.
3045 (newsticker--sentinel-work): Rename argument name to feed-name.
3046 Rename variable imageurl to image-url. Pick icon url from Atom
3047 1.0 data. Launch download of feed icon.
3048 (newsticker--get-icon-url-atom-1.0): New.
3050 (newsticker--unxml-node)
3051 (newsticker--unxml-attribute): Documentation.
3052 (newsticker--icons-dir): New.
3053 (newsticker--image-get): New arguments FILENAME and DIRECTORY.
3054 Use `url-retrieve' if `newsticker-retrieval-method' is 'intern.
3055 (newsticker--image-download-by-wget): New. Use process properties
3056 for storing informations.
3057 (newsticker--image-sentinel): Read informations from process properties.
3058 (newsticker--image-save)
3059 (newsticker--image-remove)
3060 (newsticker--image-download-by-url)
3061 (newsticker--image-download-by-url-callback): New.
3062 (newsticker-opml-export): Handle url list entries containing a
3063 function instead of an url string.
3065 * net/newst-reader.el (newsticker-html-renderer): Whitespace.
3066 (newsticker--print-extra-elements)
3067 (newsticker--do-print-extra-element):
3068 Documentation (newsticker--image-read): Optionally limit image height.
3069 Use imagemagick if possible.
3070 (newsticker--icon-read): New.
3072 * net/newst-treeview.el (newsticker--treeview-item-show): Limit height of feed logo.
3073 (newsticker--treeview-tree-expand): Use feed icons in treeview.
3074 (newsticker--tree-widget-icon-create): New. Set the tree widget icon.
3075 (newsticker--tree-widget-leaf-icon): Use feed icon.
3077 2014-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
3079 * emacs-lisp/eieio-opt.el (eieio-lambda-arglist): Remove.
3080 Use help-function-arglist instead.
3082 * emacs-lisp/eieio-core.el (eieio-compiled-function-arglist): Remove.
3083 (eieio--with-scoped-class): Use `declare'.
3084 (eieio-defclass): Remove compatibility code.
3085 (no-method-definition, no-next-method, inconsistent-class-hierarchy)
3086 (invalid-slot-type, unbound-slot, invalid-slot-name): Use define-error.
3088 2014-10-18 Jan Djärv <jan.h.d@swipnet.se>
3090 * cus-start.el (x-gtk-whole-detached-tool-bar): Remove.
3092 * term/x-win.el (x-gtk-stock-map): Add icon names suggested as
3093 replacements to stock names before stock names in a list.
3094 Cdr may be a list, each name is tried in turn until one is found.
3096 2014-10-18 Alan Mackenzie <acm@muc.de>
3098 Check that a "macro" found near point-min isn't a ## operator.
3100 * progmodes/cc-engine.el (c-macro-is-genuine-p): New function.
3101 (c-beginning-of-macro): Use the above new function.
3103 2014-10-18 Teodor Zlatanov <tzz@lifelogs.com>
3105 * net/gnutls.el (gnutls-negotiate): Don't use cl-mapcan; pass
3106 correct data to `gnutls-boot' (Bug#18664).
3107 Reported by Toke Høiland-Jørgensen <toke@toke.dk>.
3109 2014-10-18 Michal Nazarewicz <mina86@mina86.com>
3111 * whitespace.el (whitespace-style, whitespace-big-indent)
3112 (whitespace-big-indent-regexp, whitespace-style-value-list)
3113 (whitespace-toggle-option-alist, whitespace-interactive-char)
3114 (whitespace-toggle-options)
3115 (global-whitespace-toggle-options, whitespace-help-text)
3116 (whitespace-style-face-p, whitespace-color-on): Add a 'big-indent
3117 style to `whitespace-mode' to indicate that the line indentation
3118 is too deep. By default, 32 SPACEs or four TABs are considered
3119 too many but `whitespace-big-indent-regexp' can be configured.
3121 2014-10-17 Michal Nazarewicz <mina86@mina86.com>
3123 * textmodes/tildify.el (tildify--pick-alist-entry): Rename from
3126 2014-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
3128 * emacs-lisp/eieio.el: Use lexical-binding drop non-GV fallback.
3129 (defclass, defgeneric, defmethod): Add doc-string position.
3130 (with-slots): Require cl-lib.
3132 * emacs-lisp/eieio-core.el: Use lexical-binding and cl-lib.
3133 (list-of): New type.
3134 (eieio--typep): Remove.
3135 (eieio-perform-slot-validation): Use cl-typep instead.
3137 * emacs-lisp/eieio-base.el: Use lexical-binding and cl-lib.
3139 * emacs-lisp/cl-macs.el (cl--make-type-test): Avoid ((lambda ..) ..).
3141 2014-10-16 Alan Mackenzie <acm@muc.de>
3143 Trigger showing when point is in the "periphery" of a line or just
3145 * paren.el (show-paren-style, show-paren-delay)
3146 (show-paren-priority, show-paren-ring-bell-on-mismatch):
3147 Remove superfluous :group specifications.
3148 (show-paren-when-point-inside-paren)
3149 (show-paren-when-point-in-periphery): New customizable variables.
3150 (show-paren-highlight-openparen): Make into a defcustom.
3151 (show-paren--unescaped-p, show-paren--categorize-paren)
3152 (show-paren--locate-near-paren): New defuns.
3153 (show-paren--default): Refaactor and trigger on more paren
3155 (show-paren-function): Small consequential changes.
3157 2014-10-16 Tom Tromey <tom@tromey.com>
3159 * files.el (auto-mode-alist): Use javascript-mode for .jsm
3162 2014-10-16 Eli Zaretskii <eliz@gnu.org>
3164 * international/characters.el (bracket-type): Force pre-loading of
3167 2014-10-16 Alan Mackenzie <acm@muc.de>
3169 * cus-edit.el (custom-command-apply): Specify the return value in
3171 (Custom-reset-standard): Save custom-file (e.g. .emacs) only when
3172 custom-command-apply has returned non-nil.
3174 2014-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
3176 * emacs-lisp/eldoc.el (global-eldoc-mode): Enable by default.
3177 Remove incorrect handling of eldoc-print-after-edit.
3178 (eldoc-message-commands, eldoc-last-data): Use defvar.
3179 * loadup.el (emacs-lisp/eldoc): Load it.
3181 * progmodes/m4-mode.el (m4-syntax-propertize): New var.
3183 (m4--quoted-p): New function.
3184 (m4-font-lock-keywords): Don't handle #..\n comments any more.
3185 (m4-mode-syntax-table): Use punctuation syntax (according to m4 manual)
3186 for most special characters.
3188 * progmodes/compile.el (compilation--previous-directory): Simplify.
3189 (compilation-next-error): Ensure the parse before we look at
3190 compilation-message property.
3192 2014-10-15 Eli Zaretskii <eliz@gnu.org>
3194 * simple.el (what-cursor-position):
3195 * descr-text.el (describe-char): Update to support the new bidi
3198 * emacs-lisp/tabulated-list.el (tabulated-list-mode):
3199 Force bidi-paragraph-direction to 'left-to-right'. This fixes
3200 buffer-menu display when the first buffer happens to start with
3203 2014-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
3205 * progmodes/elisp-mode.el (elisp--local-variables-1):
3206 Handle quoted expressions (bug#18688).
3208 2014-10-14 Jérémy Compostella <jeremy.compostella@intel.com>
3209 Michael Albinus <michael.albinus@gmx.de>
3211 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
3212 Reduce the amount of set environment variable commands.
3214 2014-10-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
3216 Fix import completion. (Bug#18582)
3217 * progmodes/python.el (python-shell-completion-get-completions):
3218 Fix import case regexp.
3220 2014-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
3222 * progmodes/bat-mode.el (bat-font-lock-keywords): Fix \\<_ typo
3223 (bug#18622). Reported by Arni Magnusson <arnima@hafro.is>.
3224 * progmodes/prolog.el (prolog-electric--underscore): Same.
3226 2014-10-12 Michael Albinus <michael.albinus@gmx.de>
3228 * net/tramp-sh.el (tramp-get-remote-id): Check also for "gid".
3230 2014-10-11 Jan Djärv <jan.h.d@swipnet.se>
3232 * cus-start.el (all): Add missing ns and boolean to
3233 ns-use-fullscreen-animation.
3235 2014-10-11 Leo Liu <sdl.web@gmail.com>
3237 * progmodes/cfengine.el (cfengine3-defuns, cfengine3-vartypes):
3239 (cfengine3-create-imenu-index): New function.
3240 (cfengine3-mode): Use it for `imenu-create-index-function'.
3241 (cfengine-auto-mode): Improve and prefer cfengine3-mode when
3244 2014-10-11 Jan Djärv <jan.h.d@swipnet.se>
3246 * cus-start.el (all): Add ns-use-fullscreen-animation.
3248 2014-10-11 Glenn Morris <rgm@gnu.org>
3250 * calendar/diary-lib.el (diary-display-function):
3251 Drop support for deprecated nil and list forms.
3252 (diary-list-entries): Update for the above.
3253 * calendar/cal-x.el (calendar-dedicate-diary): Simplify accordingly.
3255 2014-10-10 Leo Liu <sdl.web@gmail.com>
3257 * window.el (temp-buffer-window-show): Make BUFFER a required arg.
3260 2014-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
3262 * select.el (gui-selection-exists-p-alist): New method.
3263 * menu-bar.el (menu-bar-edit-menu, clipboard-yank):
3264 * simple.el (deactivate-mark): Use it.
3265 * term/x-win.el (gui-selection-exists-p):
3266 * term/w32-win.el (gui-selection-exists-p):
3267 * term/pc-win.el (gui-selection-exists-p):
3268 * term/ns-win.el (gui-selection-exists-p): Provide a backend instance.
3270 2014-10-10 Glenn Morris <rgm@gnu.org>
3272 * info.el (Info-fontify-maximum-menu-size): Bump to 400k. (Bug#16227)
3273 Fix :type. Allow t to mean no limit.
3274 (Info-fontify-node): Handle Info-fontify-maximum-menu-size = t.
3276 2014-10-09 Glenn Morris <rgm@gnu.org>
3278 * frame.el (display-monitor-attributes-list): Doc tweaks.
3280 2014-10-09 Eli Zaretskii <eliz@gnu.org>
3282 * faces.el (display-grayscale-p): Mention in the doc string that
3283 the argument can be either a display name or a frame.
3285 * frame.el (display-pixel-height, display-pixel-width)
3286 (display-mm-height, display-mm-width, display-backing-store)
3287 (display-save-under, display-planes, display-color-cells)
3288 (display-visual-class, display-monitor-attributes-list)
3289 (display-screens): Mention in the doc string that the argument can
3290 be either a display name or a frame. Improve the docs of the
3291 monitor attributes. (Bug#18636)
3293 2014-10-09 Martin Rudalics <rudalics@gmx.at>
3295 * term.el (term-window-width): Subtract 1 from the width when
3296 any fringe has zero width, not just the right fringe. (Bug#18601)
3298 2014-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
3300 * frame.el (make-frame): Use t rather than nil for `w' (bug#18653).
3302 2014-10-08 Leo Liu <sdl.web@gmail.com>
3304 * emacs-lisp/cl-extra.el (cl-fresh-line): New function.
3306 2014-10-08 Glenn Morris <rgm@gnu.org>
3308 * calendar/cal-x.el (calendar-dedicate-diary):
3309 Drop support for recently deleted aliases.
3311 2014-10-08 Leo Liu <sdl.web@gmail.com>
3313 * progmodes/cfengine.el (cfengine3-make-syntax-cache):
3314 Always return a syntax. Replace call-process-shell-command with
3315 process-file. Ensure cfengine-mode-syntax-functions-regex is
3316 always set. Ensure cache when cfengine-cf-promises fails.
3319 2014-10-07 Glenn Morris <rgm@gnu.org>
3321 * font-lock.el (font-lock-fontify-buffer): Fix interactive-only markup.
3323 2014-10-07 Wilson Snyder <wsnyder@wsnyder.org>
3325 Sync with upstream verilog-mode revision c075a492.
3326 * progmodes/verilog-mode.el (verilog-mode-version): Bump.
3327 (verilog-menu): Add AUTOINSERTLAST.
3328 (verilog-no-indent-begin-re): When `verilog-indent-begin-after-if'
3329 is nil, fix indenting initial/final to match always statements, bug825.
3330 Reported by Tim Clapp.
3331 (verilog-extended-complete-re): Fix indentation of DPI-C imports,
3332 bug557. Reported by ZeDong Mao and Jason Forkey.
3333 (verilog-read-decls): Fix parsing typed interfaces.
3334 Fix AUTOINOUTMODPORT missing types. Reported by Stephan Bourduas.
3335 (verilog-auto-arg-ports): Fix verilog-auto-arg-format single.
3336 (verilog-auto-output-every): Add regexp to AUTOOUTPUTEVERY, bug793.
3337 Reported by Pierre-David Pfister.
3338 (verilog-auto-insert-lisp): Doc fix.
3339 (verilog-auto-insert-last, verilog-auto): Add AUTOINSERTLAST to
3340 allow post-AUTO user fixups, bug826. Reported by Dennis Muhlestein.
3341 (verilog-sk-ovm-class, verilog-sk-uvm-object)
3342 (verilog-sk-uvm-component): Fix missing string keyword in class
3343 skeletons, bug824. Reported by eldad faruhi.
3345 2014-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
3347 * term/w32-win.el: Move all code from 32-common-fns.el here.
3348 (gui-select-text, gui-selection-value): Use w32 handlers in the w32
3349 console as well (bug#18629).
3350 * w32-common-fns.el: Remove.
3351 * loadup.el: Don't load w32-common-fns.el.
3352 * w32-fns.elc: Don't require w32-common-fns.
3354 * icomplete.el: Move Iswitchb autoload here. Much simpler.
3355 * obsolete/iswitchb.el (iswitchb-mode): Use normal autoload cookie.
3356 Remove redundant obsolescence thingy.
3357 * loadup.el: Don't load obsolete/loaddefs.el.
3358 * Makefile.in (obsolete-autoloads): Remove.
3359 (AUTOGENEL): Remove obsolete/loaddefs.el.
3361 2014-10-06 Glenn Morris <rgm@gnu.org>
3363 * Makefile.in (obsolete-autoloads): Write to a separate file,
3364 to workaround autoloads bug. (Bug#17407)
3365 (AUTOGENEL): Add obsolete/loaddefs.el.
3366 * loadup.el: Load obsolete/loaddefs.el if present.
3367 * subr.el (do-after-load-evaluation):
3368 Don't warn about obsolete/loaddefs.el.
3370 * menu-bar.el (menu-bar-games-menu): Remove landmark.
3371 It has zero relationship to a game.
3373 2014-10-06 Leo Liu <sdl.web@gmail.com>
3375 * imenu.el (imenu): Re-write for clarity.
3377 2014-10-06 Glenn Morris <rgm@gnu.org>
3379 Remove calendar code obsolete since at least version 23.1.
3380 * calendar/cal-bahai.el (calendar-absolute-from-bahai)
3381 (calendar-print-bahai-date, calendar-bahai-prompt-for-date)
3382 (calendar-goto-bahai-date, list-bahai-diary-entries)
3383 (mark-bahai-calendar-date-pattern, mark-bahai-diary-entries)
3384 (insert-bahai-diary-entry, insert-monthly-bahai-diary-entry)
3385 (insert-yearly-bahai-diary-entry):
3386 * calendar/cal-china.el (chinese-calendar-time-zone)
3387 (chinese-calendar-location-name)
3388 (chinese-calendar-daylight-time-offset)
3389 (chinese-calendar-standard-time-zone-name)
3390 (chinese-calendar-daylight-time-zone-name)
3391 (chinese-calendar-daylight-savings-starts)
3392 (chinese-calendar-daylight-savings-ends)
3393 (chinese-calendar-daylight-savings-starts-time)
3394 (chinese-calendar-daylight-savings-ends-time)
3395 (chinese-calendar-celestial-stem)
3396 (chinese-calendar-terrestrial-branch)
3397 (calendar-absolute-from-chinese, calendar-print-chinese-date)
3398 (calendar-goto-chinese-date):
3399 * calendar/cal-coptic.el (calendar-absolute-from-coptic)
3400 (calendar-print-coptic-date, coptic-prompt-for-date)
3401 (calendar-goto-coptic-date, calendar-absolute-from-ethiopic)
3402 (calendar-print-ethiopic-date, calendar-goto-ethiopic-date):
3403 * calendar/cal-french.el (calendar-absolute-from-french)
3404 (calendar-print-french-date, calendar-goto-french-date):
3405 * calendar/cal-hebrew.el (diary-sabbath-candles-minutes)
3406 (calendar-absolute-from-hebrew, calendar-print-hebrew-date)
3407 (hebrew-calendar-yahrzeit, calendar-goto-hebrew-date)
3408 (holiday-rosh-hashanah-etc, holiday-hanukkah)
3409 (holiday-passover-etc, holiday-tisha-b-av-etc)
3410 (list-hebrew-diary-entries, mark-hebrew-calendar-date-pattern)
3411 (mark-hebrew-diary-entries, insert-hebrew-diary-entry)
3412 (insert-monthly-hebrew-diary-entry)
3413 (insert-yearly-hebrew-diary-entry, list-yahrzeit-dates)
3414 (diary-omer, diary-yahrzeit, diary-rosh-hodesh, diary-parasha)
3415 (diary-sabbath-candles):
3416 * calendar/cal-islam.el (calendar-absolute-from-islamic)
3417 (calendar-print-islamic-date, calendar-goto-islamic-date)
3418 (list-islamic-diary-entries, mark-islamic-calendar-date-pattern)
3419 (mark-islamic-diary-entries, insert-islamic-diary-entry)
3420 (insert-monthly-islamic-diary-entry)
3421 (insert-yearly-islamic-diary-entry):
3422 * calendar/cal-iso.el (calendar-absolute-from-iso)
3423 (calendar-print-iso-date, calendar-iso-read-args)
3424 (calendar-goto-iso-date, calendar-goto-iso-week):
3425 * calendar/cal-julian.el (calendar-absolute-from-julian)
3426 (calendar-print-julian-date, calendar-goto-julian-date)
3427 (calendar-absolute-from-astro, calendar-print-astro-day-number)
3428 (calendar-goto-astro-day-number):
3429 * calendar/cal-mayan.el (calendar-print-mayan-date)
3430 (calendar-next-haab-date, calendar-previous-haab-date)
3431 (calendar-next-tzolkin-date, calendar-previous-tzolkin-date)
3432 (calendar-next-calendar-round-date)
3433 (calendar-previous-calendar-round-date)
3434 (calendar-absolute-from-mayan-long-count)
3435 (calendar-goto-mayan-long-count-date):
3436 * calendar/cal-move.el (scroll-calendar-left)
3437 (scroll-calendar-right, scroll-calendar-left-three-months)
3438 (scroll-calendar-right-three-months):
3439 * calendar/cal-persia.el (calendar-absolute-from-persian)
3440 (calendar-print-persian-date, persian-prompt-for-date)
3441 (calendar-goto-persian-date):
3442 * calendar/cal-x.el (calendar-after-frame-setup-hooks):
3443 * calendar/calendar.el (view-diary-entries-initially)
3444 (mark-diary-entries-in-calendar, calendar-today-face)
3445 (diary-face, holiday-face, view-calendar-holidays-initially)
3446 (mark-holidays-in-calendar, initial-calendar-window-hook)
3447 (today-visible-calendar-hook, today-invisible-calendar-hook)
3448 (hebrew-diary-entry-symbol, islamic-diary-entry-symbol)
3449 (bahai-diary-entry-symbol, american-date-diary-pattern)
3450 (european-date-diary-pattern, european-calendar-display-form)
3451 (american-calendar-display-form, holidays-in-diary-buffer)
3452 (all-hebrew-calendar-holidays, all-christian-calendar-holidays)
3453 (all-islamic-calendar-holidays, all-bahai-calendar-holidays)
3454 (fancy-diary-buffer, increment-calendar-month)
3455 (extract-calendar-month, extract-calendar-day)
3456 (extract-calendar-year, exit-calendar, calendar-date-is-legal-p)
3457 (mark-visible-calendar-date, calendar-version):
3458 * calendar/diary-lib.el (diary-button-face, sexp-diary-entry-symbol)
3459 (diary-display-hook, list-diary-entries-hook)
3460 (mark-diary-entries-hook, nongregorian-diary-listing-hook)
3461 (nongregorian-diary-marking-hook, print-diary-entries-hook)
3462 (abbreviated-calendar-year, number-of-diary-entries)
3463 (view-other-diary-entries, add-to-diary-list)
3464 (include-other-diary-files, simple-diary-display)
3465 (fancy-diary-display, print-diary-entries, mark-diary-entries)
3466 (mark-sexp-diary-entries, mark-included-diary-files)
3467 (mark-calendar-days-named, mark-calendar-month)
3468 (mark-calendar-date-pattern, sort-diary-entries)
3469 (list-sexp-diary-entries, make-diary-entry, insert-diary-entry)
3470 (insert-weekly-diary-entry, insert-monthly-diary-entry)
3471 (insert-yearly-diary-entry, insert-anniversary-diary-entry)
3472 (insert-block-diary-entry, insert-cyclic-diary-entry)
3473 (fancy-diary-font-lock-keywords, fancy-diary-display-mode):
3474 * calendar/holidays.el (general-holidays, oriental-holidays)
3475 (local-holidays, other-holidays, hebrew-holidays)
3476 (christian-holidays, islamic-holidays, bahai-holidays)
3477 (solar-holidays, list-calendar-holidays)
3478 (check-calendar-holidays, mark-calendar-holidays)
3479 (filter-visible-calendar-holidays):
3480 * calendar/lunar.el (calendar-phases-of-moon, phases-of-moon)
3481 (diary-phases-of-moon): Remove obsolete aliases.
3482 * calendar/cal-menu.el (cal-menu-load-hook): Remove obsolete hook.
3483 * calendar/cal-x.el (calendar-one-frame-setup)
3484 (calendar-only-one-frame-setup, calendar-two-frame-setup):
3485 Remove obsolete functions.
3486 (cal-x-load-hook): Remove obsolete hook.
3487 * calendar/calendar.el (european-calendar-style):
3488 Remove obsolete variable.
3489 (calendar-date-style): No longer consult european-calendar-style.
3490 * calendar/calendar.el (european-calendar, american-calendar):
3491 Remove obsolete commands.
3492 * calendar/calendar.el (calendar-for-loop): Remove obsolete macro.
3493 * calendar/diary-lib.el (diary-face): Remove obsolete variable.
3494 (diary-font-lock-date-forms, diary-fancy-font-lock-keywords):
3495 Use the face `diary' instead of the variable `diary-face'.
3496 * calendar/holidays.el (hebrew-holidays-1, hebrew-holidays-2)
3497 (hebrew-holidays-3, hebrew-holidays-4): Remove obsolete variables.
3498 * calendar/icalendar.el (icalendar--date-style): Remove function.
3499 Replace all uses with calendar-date-style.
3500 * textmodes/remember.el (calendar-date-style): Declare.
3501 (remember-diary-convert-entry):
3502 No longer consult european-calendar-style.
3504 2014-10-05 Leo Liu <sdl.web@gmail.com>
3506 * imenu.el (imenu-default-goto-function): Fix typo.
3508 2014-10-04 Thomas Fitzsimmons <fitzsim@fitzsim.org>
3510 * net/ntlm.el (ntlm-build-auth-request):
3511 Add NTLM2 Session support. (Bug#15603)
3513 2014-10-04 Glenn Morris <rgm@gnu.org>
3515 * apropos.el (apropos-symbols-internal):
3516 Avoid error with non-symbol properties. (Bug#18337#16)
3518 * startup.el (command-line):
3519 Handle altered user-emacs-directory in load-path warning. (Bug#18512)
3521 2014-10-04 Martin Rudalics <rudalics@gmx.at>
3523 * window.el (window-full-height-p): Make it behave correctly for
3525 (window-current-scroll-bars): Fix code.
3526 (fit-frame-to-buffer): Use window-scroll-bar-height instead of
3528 * frame.el (frame-current-scroll-bars): Fix doc-string.
3529 * scroll-bar.el (toggle-horizontal-scroll-bar): New command.
3531 2014-10-04 Mark Oteiza <mvoteiza@udel.edu> (tiny change)
3533 * files.el (auto-mode-alist): Use sh-mode for .zsh files. (Bug#18488)
3535 2014-10-04 Glenn Morris <rgm@gnu.org>
3537 * frame.el (frame-monitor-attributes)
3538 (display-monitor-attributes-list): Doc fixes.
3540 2014-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
3542 Merge trivially safe differences from standalone CC-mode.
3543 * progmodes/cc-mode.el (c-initialize-cc-mode): Don't quote a symbol
3544 just to then pass it to `symbol-value'.
3545 (prog-mode): Provide fallback definition, if needed.
3546 * progmodes/cc-langs.el: Always load `cl'. Don't load `cl-lib'.
3547 Remove "cl-" prefix accordingly.
3548 * progmodes/cc-fonts.el (c-font-lock-invalid-string): Use integerp or
3549 characterp depending on the type of characters.
3550 (c-font-lock-enum-tail): Remove unused var `start'.
3551 * progmodes/cc-engine.el: Load CL at compile-time.
3552 (c-declare-lang-variables): Use mapcan.
3553 (c-append-to-state-cache): Remove unused var `ce+1'.
3554 (c-parse-state-state): Make buffer-local.
3555 (c-ssb-lit-begin): Remove unused var `pps-end-pos'.
3556 (c-just-after-func-arglist-p): Remove unused var `end'.
3557 * progmodes/cc-defs.el: Load cc-fix if delete-dups is undefined.
3558 (c-<-as-paren-syntax, c->-as-paren-syntax): Move definition earlier.
3559 (c-make-keywords-re): Use delete-dups.
3560 (c-get-current-file): Avoid file-name-base.
3561 * progmodes/cc-cmds.el (c-electric-lt-gt): Remove unused var
3562 `close-paren-inserted'.
3563 * progmodes/cc-awk.el (c-forward-sws): Remove unused declaration.
3565 * progmodes/python.el: Avoid building unneeded markers.
3566 (python-font-lock-keywords, python-indent-dedent-line)
3567 (python-fill-paren, python-shell-completion-complete-or-indent):
3568 Prefer point over point-marker.
3569 (inferior-python-mode): Remove redundant completion settings.
3571 2014-10-03 Dmitry Gutov <dgutov@yandex.ru>
3573 * vc/vc-svn.el (vc-svn-ignore-completion-table): Implement.
3574 (vc-svn-ignore): Use it. (Bug#18619)
3576 2014-10-03 Martin Rudalics <rudalics@gmx.at>
3578 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
3579 In doc-string mention need to set `frame-resize-pixelwise'.
3581 2014-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
3583 * vc/vc-svn.el (vc-svn-after-dir-status): Fix the non-remote regexp,
3584 similarly to Rogers's 2010-06-16 change for the remote case
3587 2014-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
3589 New gui-selection-value consolidating x-selection-value.
3590 * select.el (gui-selection-value-alist): New method.
3591 (gui-selection-value): New function.
3592 (x-selection-value): Make it an obsolete alias.
3593 * simple.el (interprogram-paste-function): Default to
3594 gui-selection-value.
3595 * w32-common-fns.el (w32-get-selection-value): Simplify.
3596 (x-selection-value): Remove alias.
3597 (interprogram-paste-function): Don't set.
3598 (gui-selection-value): Define for w32.
3599 * term/x-win.el (gui-selection-value): Define for x.
3600 (x--selection-value): Rename from x--selection-value.
3601 (interprogram-paste-function): Don't set.
3602 * term/pc-win.el (w16-get-selection-value): Simplify.
3603 (msdos-initialize-window-system): Don't set
3604 interprogram-paste-function.
3605 (gui-selection-value): Define for pc.
3606 * term/ns-win.el (x-selection-value): Remove.
3607 (gui-selection-value): Define for ns, instead.
3608 * term/common-win.el (x-setup-function-keys): Don't set
3609 interprogram-paste-function.
3610 * obsolete/mouse-sel.el (mouse-sel-get-selection-function):
3611 Use gui-selection-value.
3613 2014-10-02 David Raynes <rayners@gmail.com> (tiny change)
3615 * term/ns-win.el: Add functions to ns frame, not x frame (bug#18614).
3617 2014-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
3619 * obsolete/lucid.el (read-number): Remove, redundant.
3620 * obsolete/cl-compat.el (cl-floor, cl-ceiling, cl-round, cl-truncate):
3623 2014-10-02 Glenn Morris <rgm@gnu.org>
3625 * emacs-lisp/package.el (package-import-keyring):
3626 Create gnupg directory private. (Bug#17625#155)
3628 2014-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
3630 * progmodes/python.el (python-shell-completion-get-completions):
3631 Use python-shell--prompt-calculated-input-regexp from the
3632 process buffer (bug#18582).
3633 Don't assume that `line' comes from the process buffer.
3635 2014-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
3637 * frame.el: Use lexical-binding (bug#18598).
3638 (make-frame): Use t rather than nil for tty's window-system.
3639 * startup.el (command-line): Use gui-method.
3641 Consolidate management/ownership of selections.
3642 * select.el (gui-get-selection-alist): New method.
3643 (gui-get-selection): Use it. Rename from x-get-selection.
3644 (x-get-selection): Define as obsolete alias.
3645 (x-get-clipboard): Mark obsolete.
3646 (gui-get-primary-selection): New function.
3647 (x-get-selection-value): Mark obsolete.
3648 (gui-own-selection-alist, gui-disown-selection-alist)
3649 (gui-selection-owner-p-alist): New methods.
3650 (gui-set-selection): Use them. Rename from x-set-selection.
3651 (x-set-selection): Define as obsolete alias.
3652 (gui--valid-simple-selection-p): Rename from
3653 x-valid-simple-selection-p.
3654 * w32-common-fns.el (gui-own-selection, gui-disown-selection)
3655 (gui-selection-owner-p, gui-get-selection): Define for w32.
3656 (w32-get-selection-value): Rename from x-get-selection-value.
3657 Use the new gui-last-selected-text.
3658 * term/x-win.el (x-get-selection-value): Remove.
3659 (x-clipboard-yank): Declare obsolete.
3660 (gui-own-selection, gui-disown-selection, gui-get-selection)
3661 (gui-selection-owner-p): Define for x.
3662 * term/w32-win.el (w32-win-suspend-error): Rename from
3663 x-win-suspend-error.
3664 * term/pc-win.el (w16-get-selection-value): Rename from
3665 x-get-selection-value.
3666 (w16-selection-owner-p): Rename from x-selection-owner-p.
3667 (gui-own-selection, gui-disown-selection, gui-get-selection)
3668 (gui-selection-owner-p): Define for pc.
3669 (w16--select-text): New function.
3670 * term/ns-win.el (gui-own-selection, gui-disown-selection)
3671 (gui-get-selection, gui-selection-owner-p): Define for ns.
3672 * term.el (term-mouse-paste):
3673 * mouse.el (mouse-yank-primary): Use gui-get-primary-selection.
3675 2014-10-02 H. Dieter Wilhelm <dieter@duenenhof-wilhelm.de>
3677 * calc/calc-help.el (calc-describe-thing): Quote strings
3678 which could look like regexps.
3680 2014-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
3682 Consolidate x-select-text.
3683 * frame.el (gui-method, gui-method-define, gui-method-declare)
3684 (gui-call): New macros.
3685 (gui-method--name): New function.
3686 (frame-creation-function-alist): Use gui-method-declare.
3687 (make-frame): Use gui-method.
3688 * select.el (gui-select-enable-clipboard): Rename from
3689 x-select-enable-clipboard and move here.
3690 (x-select-enable-clipboard): Define as obsolete alias.
3691 (gui-last-selected-text): New var, to replace x-last-selected-text.
3692 (gui-select-text): New GUI method.
3693 (gui-select-text): New function.
3694 (x-select-text): Define as obsolete alias.
3695 * term/common-win.el (x-select-enable-clipboard, x-select-text):
3697 * simple.el (interprogram-cut-function): Change default to
3699 (interprogram-paste-function): Change default to `ignore'.
3700 * w32-common-fns.el (interprogram-cut-function): Don't modify.
3701 * term/x-win.el (interprogram-cut-function): Don't modify.
3702 (gui-select-text): Add method for x.
3703 * term/w32-win.el (gui-select-text): Add method for w32.
3704 * term/pc-win.el (x-last-selected-text): Remove, use
3705 gui-last-selected-text instead.
3706 (msdos-initialize-window-system): Don't set interprogram-cut-function.
3707 (gui-select-text): Add method for pc.
3708 * term/ns-win.el (ns-last-selected-text): Remove, use
3709 gui-last-selected-text instead.
3710 (gui-select-text): Add method for ns.
3711 (x-setup-function-keys): Don't change interprogram-cut-function.
3712 * loadup.el ("startup"): Load after "frame".
3713 * subr.el (package--builtin-versions, package--description-file):
3714 Move from startup.el.
3715 * startup.el (package--builtin-versions, package--description-file):
3717 (handle-args-function-alist, window-system-initialization-alist):
3718 Use gui-method-declare.
3719 (command-line): Use gui-method.
3721 2014-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
3723 * subr.el (alist-get): New accessor.
3724 * emacs-lisp/gv.el (alist-get): Provide expander.
3725 * winner.el (winner-remember):
3726 * tempo.el (tempo-use-tag-list):
3727 * progmodes/gud.el (minor-mode-map-alist):
3728 * international/mule-cmds.el (define-char-code-property):
3729 * frameset.el (frameset-filter-params):
3730 * files.el (dir-locals-set-class-variables):
3731 * register.el (get-register, set-register):
3732 * calc/calc-yank.el (calc-set-register): Use it.
3733 * ps-print.el (ps-get, ps-put, ps-del): Mark as obsolete.
3734 * tooltip.el (tooltip-set-param): Mark as obsolete.
3735 (tooltip-show): Use alist-get instead.
3736 * ses.el (ses--alist-get): Remove. Use alist-get instead.
3738 2014-10-01 Ulf Jasper <ulf.jasper@web.de>
3740 * net/newst-backend.el: Remove Time-stamp. Rename variable
3741 `newsticker--download-logos' to `newsticker-download-logos' and
3742 make it customizable.
3743 (newsticker--sentinel-work): Move xml-workarounds to function
3744 `newsticker--do-xml-workarounds', call unless libxml-parser is
3745 used. Allow single quote in regexp for encoding.
3746 Use libxml-parser if available, else fall back to `xml-parse-region'.
3747 Take care of possibly missing namespace prefixes (like "RDF"
3748 instead of "rdf:RDF") when checking xml nodes and attributes (as
3749 libxml correctly removes the prefixes). Always use Atom 1.0 as
3750 fallback feed type. Rename `newsticker--download-logos' to
3751 `newsticker-download-logos'
3752 (newsticker--unxml, newsticker--unxml-node)
3753 (newsticker--unxml-attribute): New.
3754 (newsticker--parse-atom-1.0): Call `unxml' in case that embedded
3755 HTML code has become part of the xml parse tree.
3756 (newsticker--parse-rss-1.0, newsticker--parse-rss-2.0): Take care
3757 of possibly missing namespace prefixes.
3758 (newsticker--parse-generic-items): Code formatting. Typo.
3759 (newsticker--images-dir): Add trailing slash.
3760 (newsticker--image-get): Fix error message.
3762 * net/newst-plainview.el: Remove Time-stamp.
3764 * net/newst-reader.el: Remove Time-stamp.
3765 (newsticker-download-logos): Rename variable
3766 `newsticker--download-logos' to `newsticker-download-logos' and
3767 make it customizable.
3768 (newsticker--print-extra-elements): Add optional parameter
3769 'htmlish for using html markup. Amend list of ignored elements.
3770 (newsticker--do-print-extra-element): Add parameter 'htmlish for
3773 * net/newst-ticker.el: Remove Time-stamp.
3775 * net/newst-treeview.el (newsticker--treeview-item-show): Use html
3776 for formatting extra elements.
3778 * net/newsticker.el: Remove Time-stamp, Version.
3779 (newsticker-version): Make obsolete.
3781 2014-09-30 Leonardo Nobrega <leonobr@gmail.com> (tiny change)
3783 * progmodes/python.el (python-fill-paren): Don't inf-loop at EOB
3786 2014-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
3788 * emacs-lisp/package.el (package-check-signature): Default to nil if
3789 GPG is not available.
3790 (package-refresh-contents): Don't mess with the keyring if we won't
3791 check the signatures anyway.
3793 2014-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
3795 * ses.el (ses--row, ses--col): New dyn-scoped vars, to replace row&col.
3796 (ses-center, ses-center-span): Use them.
3797 (ses-print-cell): Bind them while calling the printer.
3798 (row, col, maxrow, maxcol): Don't declare as dynamically scoped.
3799 (ses-dorange): Revert last change.
3800 (ses-calculate-cell): Don't bind row&col dynamically while evaluating
3802 (ses-set-cell): Avoid `eval'.
3803 (ses--time-check): Rename it from ses-time-check and turn it into
3806 * ses.el (ses-setup): Don't assume modifying the iteration var of
3807 dotimes affects the iteration (bug#18191).
3809 2014-09-30 Vincent Belaïche <vincentb1@users.sourceforge.net>
3811 * ses.el (ses-calculate-cell): Bind row and col dynamically to
3812 their values with 'cl-progv'.
3813 (ses-dorange): Bind row, col, maxrow and maxcol dynamically to
3814 their values with 'cl-progv', also use non-interned symbols for
3815 row, minrow, maxrow, mincol and maxcol.
3816 (maxrow maxcol): New defvar, to make the compiler happy.
3818 2014-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
3820 * minibuffer.el (completion-at-point): Emit warning for ill-behaved
3821 completion functions.
3823 2014-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
3825 * ses.el (ses--letref): Quote value before it gets re-evaluated.
3827 2014-09-28 Thien-Thi Nguyen <ttn@gnu.org>
3829 Font-lock `cl-flet*', too.
3830 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2):
3831 Add "flet*" to intermediate var `cl-lib-kw'.
3833 2014-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
3835 * epg-config.el (epg-gpg-program): Use the plain program names rather
3836 than their absolute file name.
3838 * subr.el (track-mouse): New macro.
3839 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
3840 Remove track-mouse case.
3841 * emacs-lisp/bytecomp.el (byte-compile-track-mouse): Remove.
3843 2014-09-27 Leo Liu <sdl.web@gmail.com>
3845 * progmodes/elisp-mode.el (elisp--eldoc-last-data): Use defvar.
3847 * emacs-lisp/eldoc.el (eldoc-mode): Fix thinko.
3849 2014-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
3851 * emacs-lisp/pcase.el (pcase--split-match, pcase--app-subst-match):
3852 Handle the case where `match' is :pcase--succeed or :pcase--fail
3855 Introduce global-eldoc-mode. Move Elisp-specific code to elisp-mode.el.
3856 * emacs-lisp/eldoc.el (global-eldoc-mode): New minor mode.
3857 (eldoc-schedule-timer): Obey it.
3858 (eldoc-documentation-function): Default to nil.
3859 (eldoc-mode): Don't enable if eldoc-documentation-function is not set.
3860 (eldoc-documentation-function-default, eldoc-get-fnsym-args-string)
3861 (eldoc-highlight-function-argument, eldoc-get-var-docstring)
3862 (eldoc-last-data-store, eldoc-docstring-first-line)
3863 (eldoc-docstring-format-sym-doc, eldoc-fnsym-in-current-sexp)
3864 (eldoc-beginning-of-sexp, eldoc-current-symbol)
3865 (eldoc-function-argstring): Move to elisp-mode.el.
3866 (eldoc-symbol-function): Remove, unused.
3867 * progmodes/elisp-mode.el: New file. Rename all "eldoc-*" to "elisp--*".
3868 (elisp-completion-at-point): Rename from lisp-completion-at-point.
3869 (elisp--preceding-sexp): Rename from preceding-sexp.
3870 * loadup.el: Load new file progmodes/elisp-mode.
3871 * ielm.el (inferior-emacs-lisp-mode): Set eldoc-documentation-function.
3872 * emacs-lisp/lisp.el (lisp--local-variables-1, lisp--local-variables)
3873 (lisp--local-variables-completion-table, lisp--expect-function-p)
3874 (lisp--form-quoted-p, lisp--company-doc-buffer)
3875 (lisp--company-doc-string, lisp--company-location)
3876 (lisp-completion-at-point): Move to elisp-mode.el.
3877 * emacs-lisp/lisp-mode.el (lisp--mode-syntax-table): New syntax-table,
3878 extracted from emacs-lisp-mode-syntax-table.
3879 (emacs-lisp-mode-abbrev-table, emacs-lisp-mode-syntax-table): Move to
3881 (lisp-imenu-generic-expression): Add comments to document what comes
3882 from which Lisp dialect.
3883 (emacs-lisp-mode-map, emacs-lisp-byte-compile)
3884 (emacs-lisp-byte-compile-and-load, emacs-lisp-mode-hook)
3885 (emacs-lisp-mode, emacs-list-byte-code-comment-re)
3886 (emacs-lisp-byte-code-comment)
3887 (emacs-lisp-byte-code-syntax-propertize, emacs-lisp-byte-code-mode)
3888 (lisp-interaction-mode-map, lisp-interaction-mode)
3889 (eval-print-last-sexp, last-sexp-setup-props)
3890 (last-sexp-toggle-display, prin1-char, preceding-sexp)
3891 (eval-last-sexp-1, eval-last-sexp-print-value)
3892 (eval-last-sexp-fake-value, eval-sexp-add-defvars, eval-last-sexp)
3893 (eval-defun-1, eval-defun-2, eval-defun): Move to elisp-mode.el.
3895 2014-09-26 Paul Eggert <eggert@cs.ucla.edu>
3897 * progmodes/grep.el (grep-regexp-alist): Use more-accurate regexp.
3898 Do not match file names that end in '/', as they cannot be 'grep'
3899 hits nowadays. This prevents confusion when 'grep -r' reports a
3900 match in a file whose basename is ':12345:'. Conversely, do not
3901 require exactly the same sequence of spaces and tabs after both
3902 colons, and allow spaces or tabs before the second colon, as per
3903 the POSIX spec for 'grep' output.
3905 2014-09-26 Leo Liu <sdl.web@gmail.com>
3907 Add cl-parse-integer based on parse-integer (Bug#18557)
3908 * calendar/parse-time.el (parse-time-digits): Remove.
3909 (digit-char-p, parse-integer) Moved to cl-lib.el.
3910 (parse-time-tokenize, parse-time-rules, parse-time-string):
3911 Use cl-parse-integer.
3913 * emacs-lisp/cl-extra.el (cl-parse-integer): New function.
3915 * emacs-lisp/cl-lib.el (cl-digit-char-table): New var.
3916 (cl-digit-char-p): New function.
3918 2014-09-25 Juri Linkov <juri@jurta.org>
3920 * vc/add-log.el (change-log-next-buffer): Don't create an empty
3921 buffer "ChangeLog" when the current buffer doesn't match ChangeLog.[0-9].
3922 Return the current buffer if no files match the default pattern
3923 ChangeLog.[0-9]. Signal "end of multi" when file is nil. (Bug#18547)
3925 2014-09-25 Stefan Monnier <monnier@iro.umontreal.ca>
3927 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Don't modify
3928 the global vc-handled-backends (bug#18535).
3930 2014-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
3932 * find-cmd.el (find-cmd): Use grep's `find-program' (bug#18518).
3933 Suggested by <lompik@voila.fr>.
3935 2014-09-24 Ulf Jasper <ulf.jasper@web.de>
3937 * net/newst-treeview.el (newsticker--treeview-do-get-node-by-id):
3938 Rename from `newsticker--treeview-do-get-node'.
3939 (newsticker--treeview-get-node-by-id):
3940 Rename from `newsticker--treeview-get-node'.
3941 (newsticker--treeview-buffer-init)
3942 (newsticker--treeview-buffer-init): Disable buffer undo.
3943 (newsticker--treeview-unfold-node): Adapt to modified
3944 `newsticker--group-find-parent-group'.
3945 (newsticker--group-do-find-group):
3946 Rename from `newsticker--group-do-find-group-for-feed'.
3947 Now works for both, groups and feeds.
3948 (newsticker--group-find-parent-group):
3949 Rename from `newsticker--group-find-group-for-feed'.
3950 Now works for both, groups and feeds.
3951 (newsticker--group-do-get-parent-group)
3952 (newsticker--group-get-parent-group): Remove.
3953 (newsticker-group-add-group): Change interactive prompts.
3954 (newsticker-group-add-group): Finally jump to added group.
3955 (newsticker-group-delete-group): Finally jump to current feed.
3956 (newsticker--group-do-rename-group, newsticker-group-rename-group)
3957 (newsticker--get-group-names, newsticker--group-names): New.
3958 (newsticker-group-move-feed): Finally jump to moved feed.
3959 (newsticker-group-shift-feed-down, newsticker-group-shift-feed-up)
3960 (newsticker-group-shift-group-down)
3961 (newsticker-group-shift-group-up, newsticker--group-shift): New.
3962 (newsticker-treeview-mode-map): New keybindings for new shift commands.
3964 * net/newst-backend.el (newsticker--item-list)
3965 (newsticker--item-position, newsticker--prev-message)
3966 (newsticker--scrollable-text): Move to newst-ticker.el.
3968 * net/newst-ticker.el (newsticker--item-list)
3969 (newsticker--item-position, newsticker--prev-message)
3970 (newsticker--scrollable-text): Move from newst-backend.el.
3972 2014-09-22 Kan-Ru Chen <kanru@kanru.info>
3974 * window.el (fit-window-to-buffer): When counting buffer width,
3975 count the whole visible buffer. Correctly convert the body-height
3976 to pixel size for window-text-pixel-size (Bug#18498).
3978 2014-09-22 Sam Steingold <sds@gnu.org>
3980 * progmodes/sql.el (sql-product-alist): Improve the Vertica entry.
3981 (sql-execute): Use `special-mode'.
3983 2014-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
3985 Add pcase-defmacro, as well as `quote' and `app' patterns.
3986 * loadup.el: Increase max-lisp-eval-depth when macroexpanding macroexp.
3987 * emacs-lisp/pcase.el: Allow (F . ARGS) in `app' patterns.
3988 (pcase--funcall, pcase--eval): New functions.
3989 (pcase--u1): Use them for guard, pred, let, and app.
3990 (\`): Use the new feature to generate better code for vector patterns.
3991 * emacs-lisp/pcase.el: Use pcase-defmacro to handle backquote.
3992 (pcase--upat): Remove.
3993 (pcase--macroexpand): Don't hardcode handling of `.
3994 (pcase--split-consp, pcase--split-vector): Remove.
3995 (pcase--split-equal): Disregard ` since it's expanded away.
3996 (pcase--split-member): Optimize for quote rather than for `.
3997 (pcase--split-pred): Optimize for quote rather than for `.
3998 (pcase--u1): Remove handling of ` (and of `or' and `and').
3999 Quote non-selfquoting values when passing them to `eq'.
4000 Drop `app's let-binding if the variable is not used.
4001 (pcase--q1): Remove.
4002 (`): Define as a pattern macro.
4003 * emacs-lisp/pcase.el (pcase--match): New smart-constructor function.
4004 (pcase--expand pcase--q1, pcase--app-subst-match): Use it.
4005 (pcase--macroexpand): Handle self-quoting patterns here, expand them to
4007 (pcase--split-match): Don't hoist or/and here any more.
4008 (pcase--split-equal): Optimize quote patterns as well as ` patterns.
4009 (pcase--flip): New helper macro.
4010 (pcase--u1): Optimize the memq case directly.
4011 Don't handle neither self-quoting nor and/or patterns any more.
4012 * emacs-lisp/pcase.el (pcase-defmacro): New macro.
4013 (pcase--macroexpand): New function.
4014 (pcase--expand): Use it.
4015 * emacs-lisp/pcase.el (pcase--app-subst-match, pcase--app-subst-rest):
4016 New optimization functions.
4017 (pcase--u1): Add support for `quote' and `app'.
4018 (pcase): Document them in the docstring.
4020 2014-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
4022 Use lexical-bindin in Ibuffer.
4023 * ibuffer.el (ibuffer-do-toggle-read-only): `arg' is unused.
4024 (ibuffer-compile-format): Simplify.
4025 (ibuffer-clear-summary-columns): Simplify.
4026 * ibuf-ext.el (ibuffer-generate-filter-groups): Don't use the third
4027 elem of dotimes when we don't refer to the iteration var from it.
4028 (ibuffer-toggle-sorting-mode): Avoid add-to-list.
4029 * ibuf-macs.el (define-ibuffer-column, define-ibuffer-op):
4030 Silence byte-compiler.
4032 2014-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
4034 * font-lock.el (font-lock-compile-keyword): Don't confuse a lambda
4035 expression for a list.
4037 * emacs-lisp/bytecomp.el (byte-compile-lambda): Don't add fundoc usage
4038 for functions with no arguments.
4040 * mpc.el (mpc-data-directory): Use locate-user-emacs-file.
4041 (mpc-volume-refresh): Make sure the corresponding header-line is updated.
4043 2014-09-17 Tom Willemse <tom@ryuslash.org> (tiny change)
4045 * simple.el (clone-indirect-buffer): Mention the return value
4048 * progmodes/prog-mode.el (prog-mode-hook): Replace reference to
4049 Text mode in docstring (bug#18464).
4051 2014-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
4053 * progmodes/perl-mode.el (perl-syntax-propertize-function):
4054 Accept underscores in identifiers after "sub" (bug#18502).
4056 2014-09-21 Tassilo Horn <tsdh@gnu.org>
4058 * textmodes/reftex-sel.el (reftex-select-label-mode)
4059 (reftex-select-bib-mode, reftex-insert-docstruct): Derive modes
4060 from special-mode (instead of fundamental-mode) and propertize
4061 with font-lock-face instead of just face. (Bug#18496)
4063 * textmodes/reftex-toc.el (reftex-toc-mode, reftex-toc): Ditto.
4065 2014-09-19 Dmitry Gutov <dgutov@yandex.ru>
4067 * emacs-lisp/lisp.el (lisp-completion-at-point): Only calculate
4068 `table-etc' when `end' is non-nil.
4069 (lisp-completion-at-point): Move `end' back if it's after quote.
4070 If in comment or string, only complete when after backquote.
4072 (lisp-completion-at-point): Don't use
4073 `lisp--local-variables-completion-table' in the
4074 `lisp--form-quoted-p' case.
4076 2014-09-19 Dmitry Gutov <dgutov@yandex.ru>
4078 * emacs-lisp/lisp.el (lisp--expect-function-p)
4079 (lisp--form-quoted-p): New functions.
4080 (lisp-completion-at-point): Use them to see if we're completing a
4081 variable reference, a function name, or just any symbol.
4082 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00229.html
4084 2014-09-18 Ivan Kanis <ivan@kanis.fr>
4086 * net/shr.el, net/eww.el: Don't override `shr-width', but
4087 introduce a new variable `shr-internal-width'. This allows users
4088 to specify a width themselves.
4090 2014-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
4092 * image-mode.el (image-toggle-display-image): If we have a
4093 `fit-width' or a `fit-height', don't limit the size of the image
4094 to the window size, because that doesn't preserve the aspect ratio.
4095 * image-mode.el: Move defvars earlier to avoid a byte-compilation
4098 2014-09-17 Reuben Thomas <rrt@sc3d.org>
4100 * progmodes/js.el: Add interpreter-mode-alist support for various
4101 JavaScript interpreters.
4103 2014-09-17 Paul Eggert <eggert@cs.ucla.edu>
4105 Don't assume 'grep' supports GREP_OPTIONS.
4106 The GREP_OPTIONS environment variable is planned to be marked
4107 obsolescent in GNU grep, due to problems in its use, so stop
4109 * progmodes/grep.el (grep-highlight-matches): Document this.
4110 (grep-process-setup): Do not set GREP_OPTIONS.
4111 (grep-compute-defaults): Use an explicit --color option if supported.
4113 2014-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
4115 * msb.el (msb--make-keymap-menu, msb-menu-bar-update-buffers):
4116 Don't add outdated key-shortcut cache (bug#18482).
4118 2014-09-15 Glenn Morris <rgm@gnu.org>
4120 * image.el (image-multi-frame-p): Fix thinko - do not force
4121 a delay if none was specified. (Bug#18334)
4123 2014-09-15 Kan-Ru Chen <kanru@kanru.info>
4125 * window.el (fit-window-to-buffer): Doc fix.
4127 2014-09-15 Ivan Shmakov <ivan@siamics.net>
4129 * desktop.el (desktop-create-buffer): Check that buffers are still live
4130 before burying them (bug#18373).
4132 2014-09-15 Glenn Morris <rgm@gnu.org>
4134 * calendar/diary-lib.el (diary-list-entries):
4135 Restore 24.3 display behavior. (Bug#18381)
4137 2014-09-15 Eli Zaretskii <eliz@gnu.org>
4139 * mouse.el (mouse-drag-line): On text-mode frames, count the mode
4140 line and header line as 1 pixel. This fixes the 1-"pixel" (row)
4141 discrepancy between window-pixel-edges and mouse events, and
4142 avoids moving mode line up when the mouse click is on the modeline
4143 and no drag is attempted.
4145 2014-09-14 Daniel Colascione <dancol@dancol.org>
4147 * register.el (insert-register): Change default interactive
4150 2014-09-14 Michael Albinus <michael.albinus@gmx.de>
4152 * net/tramp-cache.el (tramp-flush-file-function): Simplify check.
4153 Suppress debug messages.
4155 * net/tramp.el (tramp-file-name-handler):
4156 * net/tramp-gvfs.el (tramp-gvfs-url-file-name): Apply `cons' where
4159 2014-09-13 Christopher Schmidt <ch@ristopher.com>
4161 * calendar/calendar.el (calendar-update-mode-line):
4162 Do not overwrite mode-line-format if calendar-mode-line-format is
4165 2014-09-13 Leo Liu <sdl.web@gmail.com>
4167 * emacs-lisp/pcase.el (pcase--dontwarn-upats): New var.
4168 (pcase--expand): Use it.
4169 (pcase-exhaustive): New macro. (Bug#16567)
4171 * emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2):
4172 Add pcase-exhaustive.
4174 2014-09-13 Eli Zaretskii <eliz@gnu.org>
4176 * mail/rmailmm.el (rmail-mime-insert-html): Decode the HTML part
4177 using the specified transfer-encoding, if any, or 'undecided'.
4178 (rmail-mime-render-html-shr): Bind shr-width to nil, so lines are
4179 broken at the window margin.
4181 2013-12-27 Ken Olum <kdo@cosmos.phy.tufts.edu>
4183 Support rendering of HTML parts in Rmail (bug#4258).
4184 * mail/rmailmm.el (rmail-mime-process): Handle text/html
4185 separately from other text/ types. Suppress tagline for
4187 (rmail-mime-parse): Don't change visibility of tagline here.
4188 (rmail-mime-set-bulk-data, rmail-mime-insert-bulk):
4189 Handle text/html specially.
4190 (rmail-mime-render-html-function,rmail-mime-prefer-html): New variables.
4191 (rmail-mime-insert-html, rmail-mime-render-html-shr)
4192 (rmail-mime-render-html-lynx): New functions.
4193 (rmail-mime-fix-inserted-faces): New function.
4194 (rmail-mime-process-multipart): Find the best part to show
4195 following rmail-mime-prefer-html if set.
4196 (rmail-mime-searching): New variable.
4197 (rmail-search-mime-message): Bind rmail-mime-searching to
4198 suppress rendering while searching.
4200 2014-09-12 Sam Steingold <sds@gnu.org>
4202 * progmodes/sql.el (sql-product-alist): Add vertica.
4203 (sql-vertica-program, sql-vertica-options)
4204 (sql-vertica-login-params, sql-comint-vertica, sql-vertica):
4205 New functions and variables to support Vertica.
4206 Inspired by code by Roman Scherer <roman@burningswell.com>.
4208 2014-09-11 Paul Eggert <eggert@cs.ucla.edu>
4210 * ses.el (ses-file-format-extend-parameter-list): Rename from
4211 ses-file-format-extend-paramter-list, to correct a misspelling.
4214 2014-09-10 Alan Mackenzie <acm@muc.de>
4216 CC Mode: revert recent changes and fix bug 17463 (cc-langs.elc
4217 gets loaded at run-time).
4218 * progmodes/cc-langs.el (c-no-parens-syntax-table): Rename the
4219 c-lang-const to c-make-no-parens-syntax-table and correct the
4221 (c-no-parens-syntax-table): Correct the logic of the
4224 2014-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
4226 CC-mode: Set open-paren-in-column-0-is-defun-start to nil;
4228 * progmodes/cc-mode.el (c-basic-common-init):
4229 Set open-paren-in-column-0-is-defun-start.
4230 (adaptive-fill-first-line-regexp, font-lock-syntactic-keywords):
4231 Remove declarations, unused.
4232 (run-mode-hooks): Remove declaration.
4233 (font-lock-defaults): Use plain `defvar' to declare.
4234 (c-run-mode-hooks): Test existence of run-mode-hooks with fboundp.
4235 * progmodes/cc-langs.el (c-filter-ops): Avoid `setq'.
4236 (c-make-mode-syntax-table): Don't micro-optimize.
4237 (c-keywords, c-keyword-member-alist): Simplify.
4238 (c-kwds-lang-consts): Don't eval at compile-time.
4239 (c-primary-expr-regexp): Comment out unused vars.
4240 * progmodes/cc-fonts.el (c-font-lock-context): Declare at top-level.
4241 (c-font-byte-compile): New var.
4242 (c--compile): New function. Use it instead of `byte-compile'.
4243 (c-cpp-matchers): Quote the value returned by
4244 `c-make-syntactic-matcher' in case it's not self-evaluating.
4245 (c-basic-matchers-before): Avoid a plain MATCHER as keyword, wrap it in
4246 parentheses instead (in case MATCHER happens to be a list).
4247 (c-font-lock-enum-tail): Remove unused var `start'.
4248 (c-font-lock-objc-methods): Silence byte-compiler warnings.
4249 * progmodes/cc-engine.el (c-syntactic-re-search-forward): Sink an `if'
4250 test into an argument.
4251 * progmodes/cc-defs.el (c-point, c-major-mode-is, c-put-char-property)
4252 (c-get-char-property): Don't use `eval' just to unquote a constant.
4253 (c-use-extents): Remove. Use (featurep 'xemacs), compiled
4255 (c-put-char-property-fun): Don't call `byte-compile' by hand.
4256 (c-clear-char-property, c-clear-char-properties): Check that `property'
4257 is a quoted constant.
4258 (c-emacs-features): Remove `infodock', `syntax-properties', and
4259 `pps-extended-state' (never used), `8-bit' and `1-bit' (use (featurep
4260 'xemacs) instead). Use `with-temp-buffer' and let-bind vars after
4261 changing buffer, so we don't have to setq them again afterwards.
4262 (c-lang-const): Remove redundant symbolp assertions.
4263 (c-find-assignment-for-mode): Use `or'.
4264 * Makefile.in (compile-one-process): Remove cc-mode dependency.
4266 2014-09-09 Sam Steingold <sds@gnu.org>
4268 * progmodes/sql.el (sql-default-directory): Fix type annotation.
4270 2014-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
4272 * progmodes/cc-awk.el: Remove unneeded cc-bytecomp use.
4273 Change doc comments into docstrings.
4274 * Makefile.in: Remove cc-awk dependency.
4276 2014-09-08 Sam Steingold <sds@gnu.org>
4278 * progmodes/sql.el (sql-send-line-and-next): New command,
4280 (sql-show-sqli-buffer): Display the buffer instead of its name and
4281 bind the command to C-c C-z.
4282 (sql-default-directory): New user option.
4283 (sql-product-interactive): Bind `default-directory' to it to
4284 enable remote connections using Tramp.
4285 (sql-set-sqli-buffer): Call `sql-product-interactive' when no
4286 suitable buffer is available.
4288 2014-09-08 Glenn Morris <rgm@gnu.org>
4290 * calendar/calendar.el (calendar-basic-setup):
4291 Fix calendar-view-holidays-initially-flag and fancy display.
4292 * calendar/diary-lib.el (diary-live-p): Doc fix.
4294 * calendar/calendar.el (calendar-basic-setup):
4295 Avoid clobbering calendar with diary. (Bug#18381)
4297 2014-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
4299 * vc/vc-dir.el (vc-dir-update): Don't burp in corner case.
4301 2014-09-08 Lars Ljung <lars@matholka.se> (tiny change)
4303 * isearch.el (isearch-yank-word-or-char): Obey superword-mode
4304 as well (bug#18400).
4306 2014-09-08 Eli Zaretskii <eliz@gnu.org>
4308 * subr.el (posn-actual-col-row): Doc fix. (Bug#18385)
4310 2014-09-06 Leo Liu <sdl.web@gmail.com>
4312 * emacs-lisp/pcase.el (pcase): Doc fix.
4313 (pcase--split-vector): New function.
4314 (pcase--q1): Support vector qpattern. (Bug#18327)
4316 2014-09-05 Sam Steingold <sds@gnu.org>
4318 * textmodes/tex-mode.el (tex-print-file-extension): New user
4320 (tex-print): Use it instead of the hard-coded string.
4322 2014-09-05 Michael Albinus <michael.albinus@gmx.de>
4324 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
4325 Expand `default-directory'.
4327 2014-09-05 Martin Rudalics <rudalics@gmx.at>
4329 * scroll-bar.el (horizontal-scroll-bars-available-p):
4331 (horizontal-scroll-bar-mode): Rewrite using
4332 horizontal-scroll-bars-available-p.
4333 * menu-bar.el (menu-bar-showhide-scroll-bar-menu): Rewrite using
4334 horizontal-scroll-bars-available-p.
4336 2014-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
4338 * subr.el (call-process-shell-command, process-file-shell-command):
4339 Make the `args' obsolete (bug#18409).
4340 (start-process-shell-command, start-file-process-shell-command):
4343 2014-09-05 Jay Belanger <jay.p.belanger@gmail.com>
4345 * calc/calc-forms.el (math-normalize-hms): Do a better check for
4346 "negative" hms forms.
4348 2014-09-04 Rasmus Pank Roulund <emacs@pank.eu>
4350 * vc/vc-git.el (vc-git-conflicted-files): Fix bug when git status
4351 returns nil (bug#18391).
4353 2014-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
4355 * emacs-lisp/eldoc.el (eldoc-function-argstring): Don't strip
4356 terminating paren (bug#18352).
4357 (eldoc-last-data-store): Return cached data.
4358 (eldoc-get-var-docstring): Avoid setq.
4359 (eldoc-get-fnsym-args-string): Clarify data flow.
4361 2014-09-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4363 * emacs-lisp/eldoc.el (eldoc-highlight-function-argument): Handle the
4364 case where we're currently providing part of the &rest arg after some
4365 &key args, as in define-ibuffer-op (bug#18048).
4367 2014-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
4369 * progmodes/which-func.el (which-func-ff-hook): Obey pre-existing
4370 buffer-local setting of which-func-mode.
4371 (which-func-mode): Use defvar-local.
4372 (which-function-mode): Don't reset which-func-mode in each buffer since
4373 it might have been set by someone else.
4374 (which-func-update-ediff-windows): Check which-function-mode.
4376 2014-09-03 Martin Rudalics <rudalics@gmx.at>
4378 * frame.el (frame-initialize): Remove horizontal-scroll-bars
4379 from frame-initial-frame-alist.
4380 * scroll-bar.el (previous-horizontal-scroll-bar-mode)
4381 (horizontal-scroll-bar-mode-explicit)
4382 (set-horizontal-scroll-bar-mode, get-horizontal-scroll-bar-mode)
4383 (toggle-horizontal-scroll-bar): Remove.
4384 (horizontal-scroll-bar-mode): Remove defcustom.
4385 (horizontal-scroll-bar-mode): Fix doc-string.
4386 (scroll-bar-toolkit-scroll)
4387 (scroll-bar-toolkit-horizontal-scroll): Add doc-strings stubs.
4389 2014-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
4391 * emacs-lisp/package.el (package-generate-description-file):
4392 Properly quote the arguments (bug#18332). Change second arg.
4393 (package--alist-to-plist-args): Rename from package--alist-to-plist and
4395 (package--make-autoloads-and-stuff): Fix the test for pre-existence of
4396 the *-pkg.el file. Adjust to new calling convention of
4397 package-generate-description-file.
4399 * progmodes/gud.el (gud-gdb-completion-at-point): Add hack (bug#18282).
4400 (gud-gdb-completions): Remove obsolete workaround.
4402 2014-09-03 Eli Zaretskii <eliz@gnu.org>
4404 * subr.el (posn-col-row): Revert the change from commit
4405 2010-11-13T21:07:58Z!eliz@gnu.org, which
4406 was inadvertently merged from emacs-23 release branch in 2010-11-18T03:54:14Z!monnier@iro.umontreal.ca
4407 monnier@iro.umontreal.ca-20101118035414-yvlg7k7dk4k4l3q, and
4408 introduced an off-by-one error in the reported row when there is a
4409 header line. (Bug#18384)
4411 2014-09-03 Fabián Ezequiel Gallina <fgallina@gnu.org>
4413 * progmodes/python.el (python-indent-post-self-insert-function):
4414 Avoid electric colon at beginning-of-defun. (Bug#18228)
4416 2014-09-03 Glenn Morris <rgm@gnu.org>
4418 * tutorial.el (tutorial--display-changes):
4419 Fix 2014-08-01 change. (Bug#18382)
4421 2014-09-03 Ken Brown <kbrown@cornell.edu>
4423 * startup.el (fancy-splash-frame): Extend the fix for Bug#16014 to
4424 the Cygwin-w32 build. (Bug#18347)
4426 2014-09-03 Glenn Morris <rgm@gnu.org>
4428 * tar-mode.el (tar--extract, tar-extract):
4429 Avoid permanently disabling undo in extracted buffers. (Bug#18344)
4431 2014-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
4433 * progmodes/sh-script.el (sh-font-lock-quoted-subshell): Try to better
4434 handle multiline elements (bug#18380).
4436 2014-09-01 Eli Zaretskii <eliz@gnu.org>
4438 * ls-lisp.el (ls-lisp-use-string-collate)
4439 (ls-lisp-UCA-like-collation): New defcustoms.
4440 (ls-lisp-string-lessp): Use them to control sorting by file
4442 (ls-lisp-version-lessp): New function.
4443 (ls-lisp-handle-switches): Use it to implement the -v switch of
4445 (ls-lisp--insert-directory): Mention the -v switch in the doc string.
4447 2014-08-31 Christoph Scholtes <cschol2112@gmail.com>
4449 * ibuffer.el: Replace mode-specific quit function with
4450 `quit-window' via `special-mode'.
4451 (ibuffer-mode-map): Use keybindings from special-mode-map instead
4453 (ibuffer): Don't store previous windows configuration.
4454 Let `quit-window' handle restoring.
4455 (ibuffer-quit): Remove function. Use `quit-window' instead.
4456 (ibuffer-restore-window-config-on-quit): Remove variable.
4457 (ibuffer-prev-window-config): Remove variable.
4459 2014-08-29 Michael Heerdegen <michael_heerdegen@web.de>
4461 * emacs-lisp/easy-mmode.el (define-minor-mode): Use mode function
4462 name instead of variable name in hook docstring. (Bug#18349)
4464 2014-08-29 Martin Rudalics <rudalics@gmx.at>
4466 * window.el (display-buffer-at-bottom): Prefer bottom-left
4467 window to other bottom windows. Reuse a bottom window if it
4468 shows the buffer already. Suggested by Juri Linkov
4469 <juri@jurta.org> in discussion of (Bug#18181).
4471 2014-08-29 Leo Liu <sdl.web@gmail.com>
4473 * files.el (minibuffer-with-setup-hook): Allow (:append FUN) to
4474 append to minibuffer-setup-hook. (Bug#18341)
4476 2014-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4478 * progmodes/cc-defs.el: Expose c-lanf-defconst's expressions to the
4480 (lookup-syntax-properties): Silence byte-compiler.
4481 (c-lang-defconst): Quote the code with `lambda' rather than with
4483 (c-lang-const): Avoid unneeded setq.
4484 (c-lang-constants-under-evaluation): Add docstring.
4485 (c-lang--novalue): New constant.
4486 (c-find-assignment-for-mode): Use it instead of c-lang-constants.
4487 (c-get-lang-constant): Same here.
4488 Get the mode's value using `funcall' now that the code is quoted
4491 2014-08-28 Michael Albinus <michael.albinus@gmx.de>
4493 * net/tramp.el (tramp-handle-shell-command): Use `display-buffer'.
4496 2014-08-28 Martin Rudalics <rudalics@gmx.at>
4498 * scroll-bar.el (scroll-bar-horizontal-drag-1): Handle new
4499 interpretation of `portion-whole'.
4501 2014-08-28 Michael Albinus <michael.albinus@gmx.de>
4503 * net/tramp-adb.el: Spell author name correctly.
4505 2014-08-28 João Távora <joaotavora@gmail.com>
4507 * net/shr.el (shr-expand-url): Plain expand-file-name is not enough;
4508 use url-expand-file-name. (Bug#18310)
4510 2014-08-28 Glenn Morris <rgm@gnu.org>
4512 * emulation/cua-rect.el (cua--highlight-rectangle):
4513 Avoid error at point-min. (Bug#18309)
4515 2014-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4517 * progmodes/python.el (python-shell-prompt-detect): Remove redundant
4518 executable-find (bug#18244).
4520 * simple.el (self-insert-uses-region-functions): Defvar.
4522 2014-08-28 Glenn Morris <rgm@gnu.org>
4524 * subr.el (remq): Revert 2014-08-25 doc change (not always true).
4526 2014-08-27 Dmitry Antipov <dmantipov@yandex.ru>
4528 * startup.el (normal-top-level): Now use internal--top-level-message.
4530 2014-08-26 Dmitry Antipov <dmantipov@yandex.ru>
4532 * startup.el (normal-top-level): Use top-level-message.
4534 2014-08-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
4536 * net/shr.el (shr-copy-url): Encode copied URL to avoid getting
4537 URLs containing spaces and the like.
4539 2014-08-25 Christoph Scholtes <cschol2112@gmail.com>
4541 * subr.el (remq): Fix docstring (Bug#18253).
4543 2014-08-25 Christoph Scholtes <cschol2112@gmail.com>
4545 * replace.el (query-replace): Fix typo in docstring (Bug#18320).
4547 2014-08-24 Alan Mackenzie <acm@muc.de>
4549 Handle C++11's "auto" and "decltype" constructions.
4550 * progmodes/cc-engine.el (c-forward-type): Enhance to recognise
4551 and return 'decltype.
4552 (c-forward-decl-or-cast-1): New let variables backup-kwd-sym,
4553 prev-kwd-sym, new-style-auto. Enhance to handle the new "auto"
4555 * progmodes/cc-fonts.el (c-font-lock-declarations): Handle the
4557 (c-font-lock-c++-new): Handle "decltype" constructions.
4558 * progmodes/cc-langs.el (c-auto-ops, c-auto-ops-re):
4559 New c-lang-defconsts/defvars.
4560 (c-haskell-op, c-haskell-op-re): New c-lang-defconsts/defvars.
4561 (c-typeof-kwds, c-typeof-key): New c-lang-defconsts/defvars.
4562 (c-typeless-decl-kwds): Append "auto" onto the C++ value.
4563 (c-not-decl-init-keywords): Also exclude c-typeof-kwds from value.
4565 Make ">>" act as double template ender in C++ Mode. (Bug#11386)
4566 * progmodes/cc-langs.el (c->-op-cont-tokens): New lang-const split
4567 off from c->-op-cont-re.
4568 (c->-op-cont-tokens): Change to use the above.
4569 (c->-op-without->-cont-regexp): New lang-const.
4570 * progmodes/cc-engine.el (c-forward-<>-arglist-recur):
4571 Use c->-op-without->-cont-regexp in place of c->-op-cont-tokens.
4574 2014-08-23 Alan Mackenzie <acm@muc.de>
4576 * progmodes/cc-fonts.el (c-font-lock-declarators): Fix infinite
4577 loop, bug #18306. The bug was introduced on 2014-08-02.
4579 2014-08-21 Eli Zaretskii <eliz@gnu.org>
4581 * textmodes/texnfo-upd.el (texinfo-specific-section-type):
4582 Don't recognize a Top node if there are other sectioning commands
4583 earlier in the Texinfo file. This fixes a bug in
4584 texinfo-make-menu and avoids inflooping in
4585 texinfo-all-menus-update when they are invoked on texinfo.texi.
4587 2014-08-21 Martin Rudalics <rudalics@gmx.at>
4589 * window.el (window--side-window-p): New function.
4590 (split-window, window-splittable-p): Use window--side-window-p to
4591 determine whether WINDOW can be split (Bug#18304).
4592 * calendar/calendar.el (calendar-basic-setup): Fix one call of
4593 `window-splittable-p' and add another (Bug#18304).
4595 2014-08-20 Sam Steingold <sds@gnu.org>
4597 * progmodes/python.el (python-new-pythonpath): Extract from
4598 `python-shell-calculate-process-environment'.
4600 2014-08-18 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4602 * emacs-lisp/eldoc.el (eldoc-highlight-function-argument): Add support
4603 for &key args (bug#18048).
4605 2014-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
4607 * emacs-lisp/eldoc.el (eldoc-argument-case): Obsolete and change default.
4608 (eldoc-function-argstring-format): Remove.
4609 (eldoc-function-argstring): Always return upcase args.
4610 Use help-make-usage. Don't add parens.
4611 (eldoc-get-fnsym-args-string): Don't obey eldoc-argument-case since
4612 it's too late to do it right (bug#18048).
4614 2014-08-18 Eli Zaretskii <eliz@gnu.org>
4616 * scroll-bar.el (scroll-bar-horizontal-drag-1)
4617 (scroll-bar-toolkit-horizontal-scroll): When determining the
4618 paragraph direction, use the buffer of the window designated in
4621 2014-08-16 Andreas Schwab <schwab@linux-m68k.org>
4623 * vc/diff-mode.el (diff-fixup-modifs): Handle empty line in
4624 context of unified diff.
4626 2014-08-16 Paul Eggert <eggert@cs.ucla.edu>
4628 Add dependencies to fix loaddefs race during parallel builds.
4629 Without this, for example, 'make -j bootstrap' can fail and report
4630 "Opening input file: no such file or directory,
4631 .../lisp/calendar/diary-loaddefs.el ... recipe for target
4632 'calendar/hol-loaddefs.el' failed", where the hol-loaddefs.el rule
4633 got confused because diary-loaddefs.el was being built in parallel.
4634 * Makefile.in ($(CAL_DIR)/diary-loaddefs.el):
4635 Depend on $(CAL_DIR)/cal-loaddefs.el.
4636 ($(CAL_DIR)/hol-loaddefs.el): Depend on $(CAL_DIR)/diary-loaddefs.el.
4638 2014-08-16 Martin Rudalics <rudalics@gmx.at>
4640 * scroll-bar.el (scroll-bar-horizontal-drag-1): Use cdr of
4641 portion-whole for scrolling right-to-left text.
4643 2014-08-15 Leo Liu <sdl.web@gmail.com>
4645 * speedbar.el (speedbar-generic-list-tag-p): Allow special
4646 elements from imenu.
4648 2014-08-15 Glenn Morris <rgm@gnu.org>
4650 * subr.el (with-output-to-temp-buffer): Doc fix; from elisp manual.
4652 2014-08-13 Jan Nieuwenhuizen <janneke@gnu.org>
4654 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4655 Add Guile regexpses.
4657 2014-08-13 Jan Nieuwenhuizen <janneke@gnu.org>
4659 * progmodes/gud.el (guiler): New function. Starts the Guile REPL;
4660 add Guile debugger support for GUD.
4662 2014-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
4664 * obsolete/mouse-sel.el (mouse-sel-mode): Use add/remove-function.
4665 (mouse-sel--ignore): New function.
4666 (mouse-sel-has-been-enabled, mouse-sel-original-bindings)
4667 (mouse-sel-original-interprogram-cut-function)
4668 (mouse-sel-original-interprogram-paste-function): Remove.
4670 2014-08-13 Eric S. Raymond <esr@thyrsus.com>
4672 * vc/vc-git.el (vc-git-resolve-when-done): New function.
4673 Call "git add" when there are no longer conflict markers.
4675 2014-08-13 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4677 * vc/vc-git.el (vc-git-find-file-hook): New function.
4678 Adds support for calling smerge (and resolve) on a conflicted file.
4679 (vc-git-conflicted-files): New function.
4680 Useful in itself and a step towards better smerge support.
4682 2014-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
4684 * mpc.el (mpc-reorder): Don't bother splitting the "active" elements
4685 to the first part if they're the same as the selection.
4687 2014-08-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
4689 * image-mode.el (image-transform-reset): New command and menu item.
4690 (image-mode-map): Rearrange the menu items to put presumably more
4691 obscure items at the end.
4693 2014-08-12 Juri Linkov <juri@jurta.org>
4695 * vc/vc-annotate.el (vc-annotate-background-mode):
4696 Use `with-demoted-errors' instead of `ignore-errors'. (Bug#18189)
4698 2014-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
4700 * files.el (out-of-memory-warning-percentage): Turn it off by default.
4702 2014-08-11 Sam Steingold <sds@gnu.org>
4704 * textmodes/sgml-mode.el (sgml-validate-command): Set depending on
4705 the presence of known validators (tidy, (o)nsgmls).
4707 2014-08-11 Ulf Jasper <ulf.jasper@web.de>
4709 Newsticker: introduce `newsticker-treeview-date-format'. (Bug#17227)
4710 * net/newst-treeview.el (newsticker-treeview-date-format): New.
4711 (newsticker--treeview-list-add-item):
4712 Use `newsticker-treeview-date-format'.
4714 2014-08-11 Glenn Morris <rgm@gnu.org>
4716 * files.el (basic-save-buffer-2): Revert 2013-01-31 change, which
4717 chose coding system for writing before backing up, since it causes
4718 a more serious problem than the one it solves. (Closes Bug#18141,
4721 2014-08-11 Martin Rudalics <rudalics@gmx.at>
4723 * window.el (window-total-size): Make doc-string more self-contained.
4725 * window.el (display-buffer-below-selected): Restore original
4726 behavior if buffer is already displayed in the window below the
4727 selected one (Bug#18181).
4729 2014-08-11 Stefan Monnier <monnier@iro.umontreal.ca>
4731 * mouse.el (mouse--down-1-maybe-follows-link): Don't convert the down
4734 2014-08-11 Eli Zaretskii <eliz@gnu.org>
4736 * info.el (info): Doc fix.
4738 2014-08-11 Stefan Monnier <monnier@iro.umontreal.ca>
4740 * info.el (Info-mode-map): Override a global down-mouse-2 binding
4743 2014-08-11 Eli Zaretskii <eliz@gnu.org>
4745 * simple.el (default-line-height): A floating-point value of
4746 line-spacing means a fraction of the default frame font's height,
4747 not of the font currently used by the 'default' face.
4748 Truncate the pixel value, like the display engine does.
4749 (window-screen-lines): Use window-inside-pixel-edges for
4750 determining the window height in pixels. (Bug#18195)
4752 2014-08-11 Grégoire Jadi <daimrod@gmail.com>
4754 * leim/quail/latin-post.el: Transform " __" into " _". (Bug#18023)
4756 2014-08-10 Ulf Jasper <ulf.jasper@web.de>
4758 Enumerate evaluated sexp diary entries (Bug#7911).
4759 * calendar/icalendar.el (icalendar-export-sexp-enumerate-all)
4760 (icalendar-export-sexp-enumeration-days): New.
4761 (icalendar-export-region): Now `icalendar--convert-to-ical'
4762 returns a cons cell or a list of cons cells.
4763 (icalendar--convert-to-ical): Take care of
4764 `icalendar-export-sexp-enumerate-all'. Return (a list of) cons cells.
4765 (icalendar--convert-ordinary-to-ical)
4766 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
4767 (icalendar--convert-block-to-ical, icalendar--convert-block-to-ical)
4768 (icalendar--convert-float-to-ical, icalendar--convert-cyclic-to-ical)
4769 (icalendar--convert-anniversary-to-ical): Return cons cell.
4770 (icalendar--convert-sexp-to-ical): Enumerate evaluated sexp
4771 entries. Return (list of) cons cells.
4773 2014-08-09 Juri Linkov <juri@jurta.org>
4775 * vc/vc-annotate.el (vc-annotate-background-mode): Add :set
4776 to reevaluate `vc-annotate-color-map'. (Bug#18189)
4778 2014-08-09 Alan Mackenzie <acm@muc.de>
4780 * progmodes/cc-fonts.el (c-font-lock-declarators): Remove check
4781 for top-level that can cause unacceptable slow-down in scrolling.
4782 See email Subject: Huge {...} blocks in C/C++ again, from Dmitry
4783 Antipov from 2013-10-14 in emacs-devel.
4785 2014-08-08 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4787 * ibuffer.el (ibuffer-mode-map): Use toggle button for
4788 `ibuffer-auto-mode' menu entry.
4789 (ibuffer-mode-hook): Add `ibuffer-auto-mode' customization option.
4791 2014-08-08 Matthias Meulien <orontee@gmail.com>
4793 * progmodes/prog-mode.el (prog-mode-hook): Make customizable.
4796 2014-08-07 Martin Rudalics <rudalics@gmx.at>
4798 * window.el (window--min-size-1): Explicitly set WINDOW arg in
4799 calls of window-min-pixel-height and window-min-pixel-width.
4801 2014-08-07 Reuben Thomas <rrt@sc3d.org>
4803 * progmodes/ada-mode.el:
4804 * net/tramp.el (tramp-handle-file-symlink-p):
4805 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Remove a comment
4806 about VMS, which we no longer support.
4807 * progmodes/ada-xref.el (ada-xref-current): Remove mention of VMS,
4808 and fix a FIXME, using convert-standard-filename in place of
4809 removed ada-convert-file-name.
4811 2014-08-07 Eli Zaretskii <eliz@gnu.org>
4813 * files.el (auto-mode-alist): Remove support for VMS from a pattern.
4815 2014-08-07 Reuben Thomas <rrt@sc3d.org>
4817 Refer to MS-DOS using the same name everywhere.
4818 * arc-mode.el, files.el, frame.el: ``MS-DOG'', ``MSDOG'' and
4819 ``msdog'' become ``MS-DOS''.
4821 2014-08-07 Michael Albinus <michael.albinus@gmx.de>
4823 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
4824 Use cached "remote-copy-args" value, if available. (Bug#18199)
4826 2014-08-07 Leo Liu <sdl.web@gmail.com>
4828 * help.el (temp-buffer-setup-hook,temp-buffer-show-hook):
4829 Revert change on 2014-03-22.
4831 2014-08-06 Ulf Jasper <ulf.jasper@web.de>
4833 * calendar/icalendar.el (icalendar--diarytime-to-isotime)
4834 (icalendar--convert-ordinary-to-ical): Allow for missing minutes
4838 2014-08-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
4840 * image-mode.el (image-toggle-display-image): Always rescale images
4841 to not be bigger than the current window.
4843 2014-08-05 Eric Brown <brown@fastmail.fm> (tiny change)
4845 * net/eww.el (eww-bookmarks-directory): New variable.
4846 (eww-write-bookmarks): Use it.
4847 (eww-read-bookmarks): Ditto.
4849 2014-08-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
4851 * net/shr.el (shr-copy-url): Also copy the image URL.
4853 2014-08-05 Michael Albinus <michael.albinus@gmx.de>
4855 * net/tramp-cache.el (tramp-flush-file-function): Suppress function
4856 also for Tramp working buffers.
4858 2014-08-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
4860 * progmodes/python.el: Fix completions inside (i)pdb.
4861 (python-shell-completion-pdb-string-code): Make obsolete.
4862 (python-shell-completion-get-completions):
4863 Use python-shell-completion-string-code resending setup code
4864 continuously for (i)pdb.
4866 2014-08-04 Paul Eggert <eggert@cs.ucla.edu>
4868 * rect.el (rectangle--default-line-number-format): Rename
4869 from misspelled rectange--default-line-number-format (Bug#18045).
4872 2014-08-03 Paul Eggert <eggert@cs.ucla.edu>
4874 Don't mishandle year-9999 dates (Bug#18176).
4875 * calendar/parse-time.el (parse-time-rules):
4876 Allow years up to most-positive-fixnum.
4877 * calendar/time-date.el (date-to-time):
4878 Pass "Specified time is not representable" errors through.
4880 2014-08-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
4882 * progmodes/python.el: Completion code cleanups.
4883 (python-shell-completion-get-completions): Detect and send import
4884 statements directly to completion function.
4885 (python-shell-completion-at-point): Simplify prompt calculation
4886 and import vs input completion logic.
4888 2014-08-02 Alan Mackenzie <acm@muc.de>
4890 Fix confusion in C++ file caused by comma in "= {1,2},".
4892 * progmodes/cc-engine.el (c-beginning-of-statement-1): In checking
4893 for a statement boundary marked by "}", check there's no "="
4895 (c-guess-basic-syntax CASE 9B): Call c-beginning-of-statement with
4896 non-nil `comma-delim' argument.
4897 * progmodes/cc-fonts.el (c-font-lock-declarators): Parse an
4898 initializer expression more accurately.
4900 Correct loop termination condition in c-syntactic-skip-backward.
4901 * progmodes/cc-engine.el (c-syntactic-skip-backward): Correct for
4902 the situation where, after moving back out of a literal,
4903 skip-chars-backward doesn't move further, yet checks have still to
4906 2014-08-01 Eli Zaretskii <eliz@gnu.org>
4908 * tutorial.el (tutorial--display-changes): Accept punctuation
4909 characters before the key binding. (Bug#18146)
4911 2014-07-31 Fabián Ezequiel Gallina <fgallina@gnu.org>
4913 * progmodes/python.el: Shell output capture enhancements.
4914 (python-shell-accept-process-output): New function.
4915 (inferior-python-mode)
4916 (python-shell-send-setup-code): Use it.
4918 2014-07-30 Christophe Deleuze <christophe.deleuze@free.fr> (tiny change)
4920 * calendar/icalendar.el (icalendar--decode-isodatetime):
4921 Use actual current-time-zone when converting to local time. (Bug#15408)
4923 2014-07-29 Martin Rudalics <rudalics@gmx.at>
4925 * window.el (window--state-put-2): Handle horizontal scroll
4928 2014-07-29 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4930 * menu-bar.el (menu-bar-update-buffers): Update item list format
4931 in `buffers-menu' to confirm with changes to `get_keyelt'
4932 (r117463). (Bug#18016)
4934 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
4936 * progmodes/python.el (inferior-python-mode): Make input prompts
4939 2014-07-28 Emilio C. Lopes <eclig@gmx.net>
4941 * net/tramp-sh.el (tramp-get-remote-python): Also search for
4942 executables named "python2" or "python3".
4943 (tramp-get-remote-uid-with-python): Use parentheses around
4944 arguments to `print' to make it compatible with Python 3.
4945 (tramp-get-remote-gid-with-python): Ditto. (Bug#18118)
4947 2014-07-28 Eli Zaretskii <eliz@gnu.org>
4949 * window.el (window--pixel-to-total): Use FRAME's root window, not
4950 that of the selected frame. (Bug#18112, Bug#16674)
4952 2014-07-28 Andreas Schwab <schwab@linux-m68k.org>
4954 * textmodes/tex-mode.el (tex-font-lock-verb): Doc fix.
4957 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
4959 * progmodes/python.el (inferior-python-mode): Doc fix.
4961 2014-07-28 Stephen Berman <stephen.berman@gmx.net>
4963 * calendar/todo-mode.el (todo-edit-item--next-key): If next key is
4964 not a character, ignore it instead of raising an error.
4966 * calendar/todo-mode.el: Fix handling of marked items and make
4967 minor code improvements.
4968 (todo-edit-item): If there are marked items, ensure user can only
4969 invoke editing commands that work with marked items.
4970 (todo-edit-item--text): When there are marked items, make it a
4971 noop if invoked with point not on an item; otherwise, ensure it
4972 applies only to item at point.
4973 (todo-item-undone): If there are marked not-done items, return
4974 point to its original position before signaling user error.
4975 (todo--user-error-if-marked-done-item): New function.
4976 (todo-edit-item--header, todo-edit-item--diary-inclusion)
4977 (todo-item-done): Use it.
4979 2014-07-28 Glenn Morris <rgm@gnu.org>
4981 * files.el (toggle-read-only): Re-add basic doc-string.
4982 * vc/vc-hooks.el (vc-toggle-read-only): Tweak obsolescence mesage.
4984 * progmodes/prolog.el (prolog-mode-keybindings-edit):
4985 Replace missing `switch-to-prolog' with `run-prolog'.
4986 (switch-to-prolog): Define as (obsolete) alias, as in 23.4.
4988 2014-07-28 Stephen Berman <stephen.berman@gmx.net>
4990 * calendar/todo-mode.el (todo-set-top-priorities): Fix overwriting
4991 of file-wide setting when changing category-wide setting.
4993 2014-07-28 Stephen Berman <stephen.berman@gmx.net>
4995 * doc-view.el (doc-view-open-text): Don't require that the
4996 document is saved in a file (e.g., email attachment).
4998 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
5000 Parse completion input in a iPython friendly way. (Bug#18084)
5001 * progmodes/python.el
5002 (python-shell-completion-at-point): Rename from
5003 python-shell-completion-complete-at-point.
5004 (inferior-python-mode): Use it.
5005 (python-completion-at-point): Rename from
5006 python-completion-complete-at-point. Parse input up to first
5007 backward occurrence of whitespace, open-paren, close-paren or
5009 (python-mode): Use it.
5011 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
5013 * progmodes/python.el
5014 (python-shell-with-shell-buffer): New macro.
5015 (python-shell-font-lock-get-or-create-buffer)
5016 (python-shell-font-lock-kill-buffer)
5017 (python-shell-font-lock-with-font-lock-buffer)
5018 (python-shell-font-lock-cleanup-buffer)
5019 (python-shell-font-lock-toggle): Use it.
5020 (python-shell-font-lock-turn-on)
5021 (python-shell-font-lock-turn-off): Use it. Make command.
5023 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
5025 Grab all Python process output before inferior-python-mode hooks.
5026 * progmodes/python.el (inferior-python-mode):
5027 Call accept-process-output and sit-for to ensure all output for process
5028 has been received before running hooks.
5029 (python-shell-internal-get-or-create-process):
5030 Cleanup accept-process-output and sit-for calls.
5032 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
5034 More robust shell startup and code setup.
5035 * progmodes/python.el (python-shell-make-comint):
5036 Remove accept-process-output call.
5037 (python-shell-get-buffer): Return current buffer if major-mode is
5038 inferior-python-mode.
5039 (python-shell-get-or-create-process): Use it.
5040 (python-shell-send-setup-code): Send all setup code in one string,
5041 output success message and accept-process-output.
5043 2014-07-27 Eli Zaretskii <eliz@gnu.org>
5045 * scroll-bar.el (scroll-bar-toolkit-horizontal-scroll):
5046 Add rudimentary support for bidirectional text.
5048 2014-07-27 Martin Rudalics <rudalics@gmx.at>
5050 * frame.el (frame-notice-user-settings): Rewrite using
5051 frame-initial-frame-tool-bar-height.
5052 * menu-bar.el (menu-bar-horizontal-scroll-bar)
5053 (menu-bar-no-horizontal-scroll-bar): New functions.
5054 (menu-bar-showhide-scroll-bar-menu): Add bindings for horizontal
5056 * scroll-bar.el (scroll-bar-lines)
5057 (set-horizontal-scroll-bar-mode)
5058 (get-horizontal-scroll-bar-mode, horizontal-scroll-bar-mode)
5059 (scroll-bar-horizontal-drag-1, scroll-bar-horizontal-drag)
5060 (scroll-bar-toolkit-horizontal-scroll): New functions.
5061 (horizontal-scroll-bar-mode)
5062 (previous-horizontal-scroll-bar-mode)
5063 (horizontal-scroll-bar-mode-explicit): New variables.
5064 (horizontal-scroll-bar-mode): New option.
5065 (toggle-horizontal-scroll-bar): Do something.
5066 (top-level): Bind horizontal-scroll-bar mouse-1.
5067 * startup.el (tool-bar-originally-present): Remove variable.
5068 (command-line): Don't set tool-bar-originally-present.
5069 * window.el (window-min-height): Update doc-string.
5070 (window--dump-frame): Dump horizontal scroll bar values.
5071 (window--min-size-1): Handle minibuffer window separately.
5072 Count in margins and horizontal scroll bar. Return safe value
5073 iff IGNORE equals 'safe.
5074 (frame-windows-min-size): New function (used by frame resizing
5076 (fit-frame-to-buffer, fit-window-to-buffer): Count in horizontal
5078 (window--sanitize-window-sizes): New function.
5079 (window-split-min-size): Remove.
5080 (split-window): Count divider-width. Don't use
5081 `window-split-min-size' any more. Reword error messages.
5082 Sanitize windows sizes after splitting.
5084 2014-07-27 Thien-Thi Nguyen <ttn@gnu.org>
5086 Use `defvar-local' more.
5087 * progmodes/hideshow.el
5088 (hs-c-start-regexp, hs-block-start-regexp)
5089 (hs-block-start-mdata-select, hs-block-end-regexp)
5090 (hs-forward-sexp-func, hs-adjust-block-beginning): ...here;
5091 remove corresponding `make-variable-buffer-local' top-level calls.
5093 2014-07-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
5095 Cleanup error signals. (Bug#18067)
5096 * progmodes/python.el
5097 (python-indent-shift-left): Use user-error instead.
5098 (python-shell-prompt-detect): Use lwarn with python group.
5099 (python-completion-complete-at-point)
5100 (python-eldoc--get-doc-at-point): Don't signal error.
5102 2014-07-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
5104 Support for packages in Python shell. (Bug#13570)
5105 * progmodes/python.el (python-shell--package-depth): New var.
5106 (python-shell-package-enable): New command.
5107 (python-util-list-directories, python-util-list-files)
5108 (python-util-list-packages): New functions.
5110 2014-07-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
5112 Faster comint output. (Bug#16875)
5113 * progmodes/python.el:
5114 (python-comint-output-filter-function): Make obsolete.
5115 (python-comint-postoutput-scroll-to-bottom): New function.
5116 (inferior-python-mode): Set comint-output-filter-functions to a
5119 2014-07-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
5121 * progmodes/python.el (python-shell-font-lock-post-command-hook):
5122 Safeguard current point and undo history.
5124 2014-07-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
5126 Robust shell syntax highlighting. (Bug#18084, Bug#16875)
5127 * progmodes/python.el:
5128 (python-shell-prompt-input-regexps): Add iPython block prompt.
5129 (python-shell-output-syntax-table): Delete var.
5130 (python-shell-font-lock-with-font-lock-buffer): New macro.
5131 (python-shell-font-lock-get-or-create-buffer)
5132 (python-shell-font-lock-kill-buffer)
5133 (python-shell-font-lock-cleanup-buffer)
5134 (python-shell-font-lock-post-command-hook)
5135 (python-shell-font-lock-turn-off): New functions.
5136 (python-shell-font-lock-turn-on): New function.
5137 (inferior-python-mode): Use it.
5138 (python-shell-font-lock-toggle): New command.
5139 (python-shell-font-lock-enable): Rename from
5140 python-shell-enable-font-lock.
5141 (run-python-internal): Use it.
5142 (python-shell-font-lock-comint-output-filter-function): New function.
5143 (python-shell-comint-end-of-output-p): New function.
5144 (python-shell-output-filter): Use it.
5145 (python-util-comint-last-prompt): New function.
5146 (python-util-text-properties-replace-name): New function.
5148 2014-07-25 Glenn Morris <rgm@gnu.org>
5150 * vc/ediff-init.el (ediff-toggle-read-only-function):
5151 * vc/ediff-util.el (ediff-toggle-read-only):
5152 Replace obsolete toggle-read-only with read-only-mode.
5154 2014-07-24 Michael Albinus <michael.albinus@gmx.de>
5156 * net/tramp-cache.el (tramp-flush-file-function): Wrap the code
5157 with `save-match-data'. (Bug#18095)
5159 2014-07-21 Vincent Belaïche <vincentb1@users.sourceforge.net>
5161 * ses.el (ses-truncate-cell): Use cl-progv instead of eval in
5162 order to ensure that row and col are lexically bound inside the
5165 2014-07-21 Glenn Morris <rgm@gnu.org>
5167 * progmodes/hideif.el (hide-ifdef-mode-submap):
5168 Also substitute read-only-mode.
5169 * bindings.el (mode-line-toggle-read-only):
5170 * bs.el (bs-toggle-readonly):
5171 * buff-menu.el (Buffer-menu-toggle-read-only):
5172 * dired.el (dired-toggle-read-only):
5173 * files.el (view-read-only, find-file-read-only)
5174 (find-file-read-only-other-window)
5175 (find-file-read-only-other-frame):
5176 * progmodes/hideif.el (hide-ifdef-toggle-outside-read-only):
5177 Doc fixes re toggle-read-only.
5179 2014-07-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
5181 * progmodes/python.el: Add comment about pipe buffering and
5182 solutions for missing/delayed output in inferior Python shells.
5185 * progmodes/python.el (python-mode): Don't set
5186 mode-require-final-newline. (Bug#17990)
5188 Make python.el work with IPython automatically. (Bug#15510)
5189 * progmodes/python.el:
5190 (python-shell-completion-setup-code): New value supporting iPython.
5191 (python-shell-completion-string-code): New value supporting iPython.
5192 (python-shell-completion-get-completions): Use them.
5193 (python-shell-completion-module-string-code): Make obsolete.
5194 (python-shell-prompt-input-regexps)
5195 (python-shell-prompt-output-regexps): Add safeguard for ipdb.
5196 (python-shell-output-filter): Fix comment typo.
5198 Fix Python shell prompts detection for remote hosts.
5199 * progmodes/python.el (python-shell-prompt-detect):
5200 Replace call-process with process-file and make it more robust.
5202 Autodetect Python shell prompts. (Bug#17370)
5203 * progmodes/python.el:
5204 (python-shell-interpreter-interactive-arg)
5205 (python-shell-prompt-detect-enabled)
5206 (python-shell-prompt-detect-failure-warning)
5207 (python-shell-prompt-input-regexps)
5208 (python-shell-prompt-output-regexps): New vars.
5209 (python-shell-prompt-calculated-input-regexp)
5210 (python-shell-prompt-calculated-output-regexp): New vars.
5211 (python-shell-get-process-name)
5212 (python-shell-internal-get-process-name)
5213 (python-shell-output-filter)
5214 (python-shell-completion-get-completions): Use them.
5215 (python-shell-prompt-detect)
5216 (python-shell-prompt-validate-regexps): New functions.
5217 (python-shell-prompt-set-calculated-regexps): New function.
5218 (inferior-python-mode): Use it. Also honor overriden
5219 python-shell-interpreter and python-shell-interpreter-args.
5220 (python-shell-make-comint): Honor overriden
5221 python-shell-interpreter and python-shell-interpreter-args.
5222 (python-shell-get-or-create-process): Make it testable by allowing
5223 to call run-python non-interactively.
5224 (python-util-valid-regexp-p): New function.
5225 (python-shell-prompt-regexp, python-shell-prompt-block-regexp)
5226 (python-shell-prompt-output-regexp)
5227 (python-shell-prompt-pdb-regexp): Use it as defcustom :safe.
5229 2014-07-21 Stefan Monnier <monnier@iro.umontreal.ca>
5231 * emacs-lisp/smie.el (smie-config--guess-1): Split from
5233 (smie-config--guess): Use it.
5235 * emacs-lisp/edebug.el: Use nadvice.
5236 (edebug-original-read): Remove.
5237 (edebug--read): Rename from edebug-read and add `orig' arg.
5238 (edebug-uninstall-read-eval-functions)
5239 (edebug-install-read-eval-functions): Use nadvice.
5240 (edebug-read-sexp, edebug-read-storing-offsets, edebug-read-symbol)
5241 (edebug-read-and-maybe-wrap-form1, edebug-instrument-callee)
5242 (edebug-read-string, edebug-read-function): Use just `read'.
5243 (edebug-original-debug-on-entry): Remove.
5244 (edebug--debug-on-entry): Rename from edebug-debug-on-entry and add
5246 (debug-on-entry): Override with nadvice.
5248 * mouse.el (tear-off-window): Rename from mouse-tear-off-window since
5249 it also makes sense to bind it to a non-mouse event.
5251 * vc/vc-bzr.el (vc-bzr-shelve): Make it operate on fileset.
5253 2014-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
5255 * xt-mouse.el (xterm-mouse-event): Don't assume last-click is non-nil
5258 * rect.el (rectangle--string-preview): Don't assume there
5259 a non-nil default (bug#17984).
5261 2014-07-16 Glenn Morris <rgm@gnu.org>
5263 * desktop.el (after-init-hook): Disable startup frame restoration
5264 in non-graphical situations. (Bug#17693)
5266 * vc/vc-dispatcher.el (vc-log-edit): Do set up the log buffer
5267 if it was "empty", or used for a different set of files. (Bug#17884)
5269 2014-07-16 Eli Zaretskii <eliz@gnu.org>
5271 * bindings.el (mode-line-remote): If default-directory is not a
5272 string, don't call file-remote-p on it; instead state in the
5273 help-echo that it is nil. (Bug#17986)
5275 2014-07-14 Daniel Colascione <dancol@dancol.org>
5277 * progmodes/cc-langs.el: Change comments from `cl-macroexpand-all'
5278 to `macroexpand-all'
5280 * progmodes/cc-defs.el (c-lang-defconst-eval-immediately):
5281 Use `macroexpand-all' instead of `cl-macroexpand-all'.
5283 2014-07-12 Paul Eggert <eggert@cs.ucla.edu>
5285 Fix bug: C-x v v discarded existing log message (Bug#17884).
5286 * vc/vc-dispatcher.el (vc-log-edit):
5287 Don't clobber an already-existing log message.
5289 2014-07-12 Glenn Morris <rgm@gnu.org>
5291 * vc/log-edit.el (log-edit-changelog-entries):
5292 Check for a visited-but-never-saved ChangeLog.
5294 2014-07-12 Stefan Monnier <monnier@iro.umontreal.ca>
5296 * vc/log-edit.el (log-edit-changelog-entries): Don't both visiting
5297 a non-existing file (bug#17970).
5299 * faces.el (face-name): Undo last change.
5300 (x-resolve-font-name): Don't call face-name (bug#17956).
5302 2014-07-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
5304 Fix dedenters and electric colon handling. (Bug#15163)
5305 * progmodes/python.el
5306 (python-rx-constituents): Add dedenter and block-ender.
5307 (python-indent-dedenters, python-indent-block-enders): Delete.
5308 (python-indent-context): Return new case for dedenter-statement.
5309 (python-indent-calculate-indentation): Handle new case.
5310 (python-indent-calculate-levels): Fix levels calculation for
5311 dedenter statements.
5312 (python-indent-post-self-insert-function): Fix colon handling.
5313 (python-info-dedenter-opening-block-message): New function.
5314 (python-indent-line): Use it.
5315 (python-info-closing-block)
5316 (python-info-closing-block-message): Remove.
5317 (python-info-dedenter-opening-block-position)
5318 (python-info-dedenter-opening-block-positions)
5319 (python-info-dedenter-statement-p): New functions.
5321 2014-07-11 Dmitry Antipov <dmantipov@yandex.ru>
5323 * files.el (out-of-memory-warning-percentage): New defcustom.
5324 (warn-maybe-out-of-memory): Use it.
5326 2014-07-11 Michael Albinus <michael.albinus@gmx.de>
5328 * subr.el (read-passwd): Use `read-hide-char' if non-nil. Bind it
5329 when calling `read-string'. (Bug#17839)
5331 2014-07-10 Eli Zaretskii <eliz@gnu.org>
5333 * files.el (warn-maybe-out-of-memory): Fix the wording of the
5336 2014-07-10 Dmitry Antipov <dmantipov@yandex.ru>
5338 * files.el (warn-maybe-out-of-memory): New function.
5339 (find-file-noselect): Use it.
5341 2014-07-09 Sam Steingold <sds@gnu.org>
5343 * progmodes/cperl-mode.el (cperl-block-p): Treat the perl keyword
5344 `constant' like `bless', `return' &c
5346 2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
5348 * rect.el (apply-on-rectangle): Check forward-line really moved to the
5351 2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
5353 * progmodes/sh-script.el (sh-smie-sh-rules): Don't align with a && in
5354 the middle of a line (bug#17896).
5356 2014-07-09 Juri Linkov <juri@jurta.org>
5358 * startup.el (command-line): Append displaying the warning about
5359 the errors in the init file to the end of `after-init-hook'.
5362 * faces.el (face-name): Return input arg `face' as-is
5363 when it's not a symbol.
5364 (x-resolve-font-name): Don't check if the face is a symbol.
5367 * facemenu.el (list-colors-print): In help-echo format use %.2f
5368 instead of %d because now HSV values are floating-point components
5369 between 0.0 and 1.0.
5371 2014-07-09 Glenn Morris <rgm@gnu.org>
5373 * emulation/cua-rect.el (cua--activate-rectangle):
5374 Avoid setting cua--rectangle to nil. (Bug#17877)
5376 2014-07-09 Stephen Berman <stephen.berman@gmx.net>
5378 * calendar/todo-mode.el: Fix wrong-type-argument error when
5379 marking multiple consecutive items.
5380 (todo-toggle-mark-item): Don't try to mark the empty lines at the
5381 end of the todo and done items sections. Note in doc string that
5382 items marked by passing a numeric prefix argument can include the
5383 last todo and first done items.
5384 (todo-mark-category): Don't try to mark the empty line between the
5385 todo and done items sections.
5387 2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
5389 * emacs-lisp/edebug.el (edebug-eval-defun): Print result using
5390 proper Lisp quoting (bug#17934).
5392 * progmodes/ruby-mode.el (ruby-mode-variables): Don't meddle with
5393 require-final-newline since prog-mode already took care of it (bug#17947).
5395 2014-07-09 Stephen Berman <stephen.berman@gmx.net>
5397 * calendar/todo-mode.el: Fix two bugs. Shorten Commentary and
5398 refer to the Todo mode Info manual. Update the comment on
5400 (todo-find-filtered-items-file): Add todo-prefix overlays.
5401 (todo-filter-items): Reorder a let-bound variable to avoid a
5402 wrong-type-argument error on canceling the file choice dialog.
5404 2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
5406 * progmodes/octave.el (inferior-octave-mode):
5407 Set comint-input-ring-size to a number (bug#17912).
5409 2014-07-09 Juri Linkov <juri@jurta.org>
5411 * desktop.el (desktop-minor-mode-table): Add `defining-kbd-macro'
5412 and `isearch-mode' associated with nil. (Bug#17849)
5414 2014-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
5416 * linum.el (linum--face-height): New function (bug#17813).
5417 (linum-update-window): Use it to adjust margin to linum's width.
5419 * leim/quail/sisheng.el (sisheng-list): Don't bother with-case-table.
5420 * eshell/em-smart.el (eshell-smart-scroll-window):
5421 Use with-selected-window.
5423 * xt-mouse.el (xterm-mouse-translate-1): Intern drag event (bug#17894).
5424 Remove also pointless window&mark manipulation.
5426 * progmodes/perl-mode.el: Use syntax-ppss; fix one indentation case.
5427 (perl-indent-line): Use syntax-ppss to detect we're in a doc-section.
5428 (perl-continuation-line-p): Don't skip over anything else than labels.
5429 Return the previous char.
5430 (perl-calculate-indent): Use syntax-ppss instead of parse-start
5431 and update callers accordingly. For continuation lines, check the
5432 the case of array hashes.
5433 (perl-backward-to-noncomment): Make it non-interactive.
5434 (perl-backward-to-start-of-continued-exp): Rewrite.
5436 2014-07-08 Sam Steingold <sds@gnu.org>
5438 * progmodes/inf-lisp.el (lisp-eval-paragraph, lisp-eval-form-and-next):
5441 2014-07-08 Juri Linkov <juri@jurta.org>
5443 * vc/vc-annotate.el (vc-annotate-background-mode): New defcustom.
5444 (vc-annotate-color-map): Use less saturated colors (20%) for
5446 (vc-annotate-very-old-color): Add default value for background-mode.
5447 (vc-annotate-background): Set default value to nil since now text on
5448 the default backgrounds should be legible in light and dark modes.
5449 (vc-annotate-lines): Use `vc-annotate-background-mode'. Doc fix.
5452 2014-07-08 Juri Linkov <juri@jurta.org>
5454 * simple.el (transpose-chars): Don't move point into read-only area.
5457 2014-07-08 Juri Linkov <juri@jurta.org>
5459 * window.el (with-displayed-buffer-window): New macro.
5460 (with-temp-buffer-window, with-current-buffer-window):
5461 Use `macroexp-let2' to evaluate and bind variables
5462 in the same order as macro arguments.
5463 (display-buffer--action-function-custom-type):
5464 Add `display-buffer-below-selected' and `display-buffer-at-bottom'.
5466 * minibuffer.el (minibuffer-completion-help): Replace
5467 `with-output-to-temp-buffer' with `with-displayed-buffer-window'
5468 with actions that display *Completions* at-bottom when called
5469 from the minibuffer, or below-selected in a normal buffer.
5470 Associate `window-height' with `fit-window-to-buffer'.
5471 Let-bind `pop-up-windows' to nil.
5473 * dired.el (dired-mark-pop-up): Use `with-displayed-buffer-window'
5474 instead of `with-current-buffer-window'. (Bug#17809)
5476 2014-07-07 Luke Lee <luke.yx.lee@gmail.com>
5478 * progmodes/hideif.el (hide-ifdef-env): Change to global.
5479 (hide-ifdef-env-backup): New variable.
5480 (hide-ifdef-expand-reinclusion-protection, hide-ifdef-header-regexp):
5481 New customizable variables.
5482 (hif-clear-all-ifdef-defined): New defun.
5483 (hif-merge-ifdef-region, hide-ifdef-region-internal, hide-ifdef-region)
5484 (hif-show-ifdef-region): Merge hidden regions to prevent continuous "...".
5485 (hif-tokenize): Fix for MS-DOS/Win EOL style.
5486 (hif-endif-to-ifdef, hif-make-range, hif-find-range, hif-possibly-hide):
5487 Fix bug to hide the correct #elif region(s).
5488 (hif-range-elif): New defun.
5489 (hif-recurse-level): New var.
5490 (hif-evaluate-region, hif-evaluate-macro): New defun.
5491 (hide-ifdef-guts): Prevent reinclusion protected C/C++ headers from
5493 (hide-ifdef-define, hide-ifdefs, hide-ifdef-block, show-ifdef-block):
5496 2014-07-04 Michael Albinus <michael.albinus@gmx.de>
5498 * net/dbus.el (dbus-peer-handler): New defun.
5499 (dbus-register-service): Register it. (Bug#17858)
5500 (dbus-managed-objects-handler): Fix docstring.
5502 2014-07-04 Phil Sainty <psainty@orcon.net.nz>
5504 * emacs-lisp/lisp.el (narrow-to-defun-include-comments): New var.
5505 (narrow-to-defun): New arg include-comments, defaulting to it
5508 2014-07-03 Stefan Monnier <monnier@iro.umontreal.ca>
5510 * rect.el (rectangle--highlight-for-redisplay): Don't pass `orig' with
5511 different calling convention to rectangle--unhighlight-for-redisplay.
5513 2014-07-03 Michael Albinus <michael.albinus@gmx.de>
5515 * net/tramp.el (tramp-call-process): Handle error strings.
5517 * net/tramp-adb.el (tramp-adb-sh-fix-ls-output): Use `bolp'.
5519 * net/tramp-sh.el (tramp-sh-handle-set-visited-file-modtime)
5520 (tramp-sh-handle-verify-visited-file-modtime): Use `point-at-eol'.
5522 * net/trampver.el: Update release number.
5524 2014-07-03 Juri Linkov <juri@jurta.org>
5526 * desktop.el (desktop-save): Rename arg `auto-save' to
5527 `only-if-changed'. Doc fix. (Bug#17873)
5529 2014-07-03 Stefan Monnier <monnier@iro.umontreal.ca>
5531 * mouse.el (mouse-yank-primary, mouse-yank-secondary):
5532 Use insert-for-yank (bug#17271).
5534 2014-07-03 Leo Liu <sdl.web@gmail.com>
5536 * emacs-lisp/pp.el (pp-eval-expression, pp-eval-last-sexp):
5537 Support lexical-binding.
5539 2014-07-03 Stefan Monnier <monnier@iro.umontreal.ca>
5541 * vc/log-edit.el (log-edit-goto-eoh): New function.
5542 (log-edit--match-first-line): Use it (bug#17861).
5544 2014-07-03 Glenn Morris <rgm@gnu.org>
5546 * vc/log-edit.el (log-edit-hook): Add missing :version.
5548 2014-07-03 Fabián Ezequiel Gallina <fgallina@gnu.org>
5550 * progmodes/python.el (python-indent-post-self-insert-function):
5551 Enhancements to electric indentation behavior inside
5554 2014-07-03 Stefan Monnier <monnier@iro.umontreal.ca>
5556 * ps-def.el (ps-generate-postscript-with-faces1): Don't mess with
5557 buffer-invisibility-spec (bug#17867).
5559 2014-07-03 Andreas Schwab <schwab@linux-m68k.org>
5561 * vc/vc-git.el (vc-git-checkin): When operating on the whole tree
5564 2014-07-03 Glenn Morris <rgm@gnu.org>
5566 * cus-edit.el (help):
5567 * finder.el (finder-known-keywords):
5568 * help.el (help-for-help-internal):
5569 * vc/ediff-mult.el (ediff-meta-buffer-verbose-message)
5570 (ediff-redraw-registry-buffer):
5571 * vc/ediff-ptch.el (ediff-patch-file-internal):
5572 Doc fixes re "online" help. (Bug#17803)
5574 * progmodes/idlwave.el (idlwave): Update url-link for custom group.
5575 (idlwave-mode): Doc URL update.
5577 2014-07-01 Juri Linkov <juri@jurta.org>
5579 * man.el: Display man pages immediately and use process-filter
5580 to format them asynchronously.
5581 (Man-width): Doc fix.
5583 (Man-start-calling): Use `with-selected-window' to get
5584 `frame-width' and `window-width'.
5585 (Man-getpage-in-background): Call `Man-notify-when-ready'
5586 immediately after creating a new buffer. Call `Man-mode' and set
5587 `mode-line-process' in the created buffer. Set process-filter to
5588 `Man-bgproc-filter' in start-process branch. In call-process branch
5589 call either `Man-fontify-manpage' or `Man-cleanup-manpage'.
5590 Use `Man-start-calling' inside `with-current-buffer'.
5591 (Man-fontify-manpage): Don't print messages. Fix boundary condition.
5592 (Man-cleanup-manpage): Don't print messages.
5593 (Man-bgproc-filter): New function.
5594 (Man-bgproc-sentinel): Add `save-excursion' to keep point when
5595 user moved it during asynchronous formatting. Move calls of
5596 `Man-fontify-manpage' and `Man-cleanup-manpage' to
5597 `Man-bgproc-filter'. Move the call of `Man-mode' to
5598 `Man-getpage-in-background'. Use `quit-restore-window'
5599 instead of `kill-buffer'. Use `message' instead of `error'
5600 because errors are caught by process sentinel.
5601 (Man-mode): Move calls of `Man-build-page-list',
5602 `Man-strip-page-headers', `Man-unindent', `Man-goto-page' to
5603 `Man-bgproc-sentinel'. Doc fix. (Bug#2588, bug#5054, bug#9084, bug#17831)
5605 * man.el (Man-bgproc-sentinel): Use `Man-page-from-arguments'
5606 for the message about the man page cleaned up.
5608 2014-07-01 Mario Lang <mlang@delysid.org>
5610 * net/gnutls.el (gnutls-negotiate): Prevent destructive modification of
5611 cosutomization option `gnutls-verify-error'.
5613 2014-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
5615 * simple.el (deactivate-mark, set-mark-command, handle-shift-selection):
5616 Don't keep transient-mark-mode buffer-local when not needed (bug#6316).
5618 * xt-mouse.el (turn-on-xterm-mouse-tracking-on-terminal)
5619 (turn-off-xterm-mouse-tracking-on-terminal): Don't burp if the terminal
5620 is suspended (bug#17857).
5622 2014-07-01 Michael Albinus <michael.albinus@gmx.de>
5624 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
5625 Prefer utf-8 coding. (Bug#17859)
5627 2014-06-30 Fabián Ezequiel Gallina <fgallina@gnu.org>
5629 * emacs-lisp/subr-x.el (string-reverse): Define as obsolete alias
5632 2014-06-30 Glenn Morris <rgm@gnu.org>
5634 * emacs-lisp/autoload.el (autoload-ensure-writable): New variable.
5635 (autoload-ensure-default-file): Maybe make existing output writable.
5636 * Makefile.in (AUTOGEN_VCS): Remove.
5637 (autoloads): Use autoload-ensure-writable rather than AUTOGEN_VCS.
5639 2014-06-30 Fabián Ezequiel Gallina <fgallina@gnu.org>
5641 * emacs-lisp/subr-x.el (string-reverse): Use `reverse'.
5643 2014-06-30 Fabián Ezequiel Gallina <fgallina@gnu.org>
5645 New if-let, when-let, thread-first and thread-last macros.
5647 * emacs-lisp/subr-x.el
5648 (internal--listify, internal--check-binding)
5649 (internal--build-binding-value-form, internal--build-binding)
5650 (internal--build-bindings): New functions.
5651 (internal--thread-argument, thread-first, thread-last)
5652 (if-let, when-let): New macros.
5654 2014-06-30 Grégoire Jadi <daimrod@gmail.com>
5656 * net/rcirc.el (rcirc-buffer-process): Restore previous
5657 behaviour. (Bug#17772)
5659 2014-06-29 Alan Mackenzie <acm@muc.de>
5661 Don't call c-parse-state when c++-template-syntax-table is active.
5662 * progmodes/cc-engine.el (c-guess-continued-construct CASE G)
5663 (c-guess-basic-syntax CASE 5D.3): Rearrange so that
5664 c-syntactic-skip-backwards isn't called with the pertinent syntax table.
5666 2014-06-28 Stephen Berman <stephen.berman@gmx.net>
5668 * calendar/todo-mode.el (todo-set-top-priorities): Fix logic to
5669 account for file-wide setting of todo-top-priorities-overrides.
5670 Make code a bit cleaner.
5672 2014-06-28 Glenn Morris <rgm@gnu.org>
5674 * net/eww.el (eww-mode) <eww-current-title>: Make local. (Bug#17860)
5676 2014-06-28 Stephen Berman <stephen.berman@gmx.net>
5678 * calendar/todo-mode.el (todo-prefix-overlays): If there is no
5679 category-wide setting of todo-top-priorities-overrides, check for
5680 a file-wide setting and fontify accordingly.
5682 2014-06-28 Glenn Morris <rgm@gnu.org>
5684 * subr.el (read-passwd): Warn about batch mode. (Bug#17839)
5686 2014-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
5688 * progmodes/hideif.el: Use lexical-binding. Fix up cl-lib usage.
5690 2014-06-28 K. Handa <handa@gnu.org>
5694 * composite.el: Setup composition-function-table for dotted circle.
5695 (compose-gstring-for-dotted-circle): New function.
5697 * international/characters.el: Add category "^" to all
5698 non-spacing characters.
5700 2014-06-28 Glenn Morris <rgm@gnu.org>
5702 * Makefile.in (doit): Remove force rule.
5703 (custom-deps, finder-data, autoloads, update-subdirs)
5704 (compile-one-process): PHONY targets do not need force rules.
5706 * Makefile.in (compile-main, compile, compile-always):
5707 No need to explicitly pass variables to ourself in recursive calls.
5709 2014-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
5711 * files.el (minibuffer-with-setup-hook): Evaluate the first arg eagerly.
5713 2014-06-26 Glenn Morris <rgm@gnu.org>
5715 * Makefile.in (update-authors): Update for moved authors.el.
5717 2014-06-26 Leo Liu <sdl.web@gmail.com>
5719 * skeleton.el (skeleton-end-hook): Default to nil and move the
5720 work to skeleton-insert. (Bug#17850)
5722 2014-06-26 Dmitry Antipov <dmantipov@yandex.ru>
5724 * calc/calc-alg.el (math-beforep):
5725 * progmodes/cc-guess.el (c-guess-view-reorder-offsets-alist-in-style):
5726 Simplify because string-lessp can accept symbols as args.
5728 2014-06-26 Daiki Ueno <ueno@gnu.org>
5730 * emacs-lisp/package.el (package--check-signature):
5731 If package-check-signature is allow-unsigned, don't signal error when
5732 we can't verify signature because of missing public key
5735 2014-06-26 Glenn Morris <rgm@gnu.org>
5737 * emacs-lisp/cl-macs.el (help-add-fundoc-usage):
5738 Remove outdated declaration.
5740 * emacs-lisp/authors.el (authors-valid-file-names)
5741 (authors-renamed-files-alist): Additions.
5743 2014-06-26 Leo Liu <sdl.web@gmail.com>
5745 * textmodes/picture.el (picture-set-tab-stops):
5746 * ruler-mode.el (ruler-mode-mouse-add-tab-stop)
5747 (ruler-mode-ruler): Fix to work with nil tab-stop-list.
5749 * progmodes/asm-mode.el (asm-calculate-indentation):
5750 Use indent-next-tab-stop.
5752 * indent.el (indent-accumulate-tab-stops): New function.
5754 2014-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
5756 * emacs-lisp/package.el (package-list-unsigned): New var (bug#17625).
5757 (package-desc-status): Obey it.
5759 2014-06-26 Stephen Berman <stephen.berman@gmx.net>
5761 * calendar/todo-mode.el: Fix two bugs.
5762 (todo-insert-item--basic): If user cancels item insertion to
5763 another category before setting priority, show original category
5764 whether it is in the same or a different file.
5765 (todo-set-item-priority): After selecting category, instead of
5766 moving point to top, which extends an active region, restore it.
5768 2014-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
5770 * help-fns.el (describe-function-1): Check file-name is a string before
5771 calling help-fns--autoloaded-p (bug#17564).
5773 2014-06-26 Juri Linkov <juri@jurta.org>
5775 * desktop.el (desktop-auto-save-enable)
5776 (desktop-auto-save-disable): New functions.
5777 (desktop-save-mode, desktop-auto-save-timeout): Use them.
5778 (desktop-read): Disable the autosave before loading the desktop,
5779 and enable afterwards. (Bug#17351)
5781 2014-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
5783 Fix some indentation problem with \; and pipes (bug#17842).
5784 * progmodes/sh-script.el (sh-mode-syntax-table): Set syntax of ;|&.
5785 (sh-smie--default-forward-token, sh-smie--default-backward-token):
5787 (sh-smie-sh-forward-token, sh-smie-sh-backward-token)
5788 (sh-smie-rc-forward-token, sh-smie-rc-backward-token): Use them.
5789 (sh-smie-sh-rules): Fix indentation of a pipe at BOL.
5791 2014-06-26 Glenn Morris <rgm@gnu.org>
5793 * emacs-lisp/find-func.el (find-function-C-source-directory):
5794 Use file-accessible-directory-p.
5796 * ps-samp.el: Make it slightly less awful.
5797 (ps-rmail-mode-hook, ps-gnus-article-prepare-hook, ps-vm-mode-hook):
5798 (ps-gnus-summary-setup, ps-info-mode-hook): Use [print] key.
5799 Only set local values.
5800 (ps-article-subject, ps-article-author): Use standard functions
5801 like mail-fetch-field.
5802 (ps-info-file, ps-info-node): Use match-string.
5803 (ps-jts-ps-setup, ps-jack-setup): Remove, merging into...
5804 (ps-samp-ps-setup): ... new function.
5806 * progmodes/idlw-shell.el (idlwave-shell-make-temp-file):
5807 Optimize away code unneeded on any modern Emacs.
5809 * emacs-lisp/authors.el: Move to ../admin.
5811 * emacs-lisp/ert.el (ert-summarize-tests-batch-and-exit): New.
5813 2014-06-26 Luke Lee <luke.yx.lee@gmail.com>
5815 * progmodes/hideif.el (hif-string-to-number): Fix return value bug.
5816 (hif-simple-token-only, hif-tokenize): Comment in detail mainly for
5817 performance enhancements.
5818 (hif-parse-if-exp): Rename to `hif-parse-exp'. Enhance for macro
5820 (hif-factor, hif-string-concatenation, intern-safe): Support string
5821 concatenation and argumented macro expansion.
5822 (hif-if-valid-identifier-p, hif-define-operator, hif-flatten)
5823 (hif-expand-token-list, hif-get-argument-list, hif-define-macro)
5824 (hif-delimit, hif-macro-supply-arguments, hif-invoke, hif-canonicalize)
5825 (hif-canonicalize-tokens, hif-place-macro-invocation)
5826 (hif-parse-macro-arglist): Mostly new functions for supporting
5827 argumented macro expansion.
5828 (hif-string-concatenation, hif-stringify, hif-token-concat)
5829 (hif-token-stringification, hif-token-concatenation):
5830 Stringification and concatenation.
5831 (hif-find-next-relevant): Fix comments.
5832 (hif-ifdef-to-endif, hif-looking-at-elif, hif-hide-line): Bug fix for
5833 some cases involving #elif.
5834 (hif-find-define, hif-add-new-defines): New functions for automatically
5835 scanning of defined symbols.
5836 (hide-ifdef-guts): Fix for defined symbol auto scanning.
5837 (hide-ifdef-undef): Fix behavior to match CPP.
5839 2014-06-25 Glenn Morris <rgm@gnu.org>
5841 * Makefile.in ($(lisp)/progmodes/cc-defs.elc)
5842 ($(lisp)/progmodes/cc-fonts.elc, $(lisp)/progmodes/cc-langs.elc)
5843 ($(lisp)/progmodes/cc-vars.elc): Drop hand-written deps on non-cc
5844 files. They are not relevant to the original issue (bug#1004),
5845 and cause unnecessary recompilation (bug#2151).
5847 2014-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
5849 * play/landmark.el: Use lexical-binding and avoid `intangible'.
5850 (landmark--last-pos): New var.
5851 (landmark--intangible-chars): New const.
5852 (landmark--intangible): New function.
5853 (landmark-mode, landmark-move): Use it.
5854 (landmark-mode): Remove properties.
5855 (landmark-plot-square, landmark-point-square, landmark-goto-xy)
5856 (landmark-cross-qtuple):
5857 Don't worry about `intangible' any more.
5858 (landmark-click, landmark-point-y): Same; and don't assume point-min==1.
5859 (landmark-init-display): Don't set `intangible' and `point-entered'.
5860 (square): Remove. Inline it instead.
5861 (landmark--distance): Rename from `distance'.
5862 (landmark-calc-distance-of-robot-from): Rename from
5863 calc-distance-of-robot-from.
5864 (landmark-calc-smell-internal): Rename from calc-smell-internal.
5866 2014-06-25 Dmitry Antipov <dmantipov@yandex.ru>
5868 * files.el (dir-locals-find-file, file-relative-name):
5869 * info.el (Info-complete-menu-item):
5870 * minibuffer.el (completion-table-subvert): Prefer string-prefix-p
5871 to compare-strings to avoid out-of-range errors.
5872 * subr.el (string-prefix-p): Adjust to match strict range
5873 checking in compare-strings.
5875 2014-06-24 Leonard Randall <leonard.a.randall@gmail.com> (tiny change)
5877 * textmodes/reftex-parse.el (reftex-using-biblatex-p): Make search
5878 for comment lines non-greedy and stopping at newlines to fix stack
5879 overflows with large files.
5881 2014-06-24 Eli Barzilay <eli@barzilay.org>
5883 * calculator.el (calculator-last-input): Drop 'ascii-character property
5886 2014-06-24 Leo Liu <sdl.web@gmail.com>
5888 * align.el (align-adjust-col-for-rule): Unbreak due to defaulting
5889 tab-stop-list to nil. (Bug#16381)
5891 * indent.el (indent-next-tab-stop): Rename from indent--next-tab-stop.
5892 (indent-rigidly-left-to-tab-stop)
5893 (indent-rigidly-right-to-tab-stop, tab-to-tab-stop)
5894 (move-to-tab-stop): Change callers.
5896 2014-06-24 Eli Zaretskii <eliz@gnu.org>
5898 * skeleton.el (skeleton-insert): Yet another fix of the doc string
5899 wrt behavior of \n as the first/last element of a skeleton.
5901 2014-06-24 Michael Albinus <michael.albinus@gmx.de>
5903 * net/tramp-adb.el (tramp-adb-handle-process-file):
5904 * net/tramp-sh.el (tramp-sh-handle-process-file):
5905 * net/tramp-smb.el (tramp-smb-handle-process-file): Do not raise
5906 the output buffer when DISPLAY is non-nil. (Bug#17815)
5908 2014-06-24 Glenn Morris <rgm@gnu.org>
5910 * play/landmark.el (landmark-move-down, landmark-move-up):
5911 Fix 2007-10-20 change - preserve horizontal position.
5913 2014-06-23 Sam Steingold <sds@gnu.org>
5915 * simple.el (kill-append): Remove undo boundary depending on ...
5916 (kill-append-merge-undo): New user option.
5918 2014-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
5920 * simple.el (handle-shift-selection, exchange-point-and-mark)
5921 (activate-mark): Set transient-mark-mode buffer-locally (bug#6316).
5922 (transient-mark-mode): Use&set the global value.
5923 * mouse.el (mouse-set-region-1, mouse-drag-track): Idem.
5924 * emulation/edt.el (edt-emulation-off): Save&restore the global
5925 transient-mark-mode setting.
5926 * obsolete/pc-select.el (pc-selection-mode): Use the
5927 transient-mark-mode function.
5929 2014-06-23 Eli Zaretskii <eliz@gnu.org>
5931 * international/fontset.el (script-representative-chars):
5932 Add representative characters for scripts added in Unicode 7.0.
5933 (otf-script-alist): Synchronize with the latest registry of OTF
5936 * international/characters.el (char-script-table): Update for
5937 scripts added and codepoint ranges changed in Unicode 7.0.
5939 2014-06-23 Eli Barzilay <eli@barzilay.org>
5941 * calculator.el (calculator-standard-displayer): Fix bug in use of
5942 `calculator-groupize-number'.
5943 (calculator-funcall): Fix broken `cl-flet' use by moving it into the
5944 `eval' code, so it works in v24.3.1 too.
5945 (calculator-last-input): Comment to clarify purpose.
5947 2014-06-22 Mario Lang <mlang@delysid.org>
5949 * textmodes/rst.el (rst-comment-region): From from -> from.
5951 * net/tramp-adb.el (tramp-adb-send-command-and-check): And and -> and.
5953 2013-06-22 Dmitry Antipov <dmantipov@yandex.ru>
5955 * electric.el (electric-layout-post-self-insert-function):
5956 * emacs-lisp/ert.el (ert--insert-infos):
5957 * obsolete/vi.el (vi-set-mark):
5958 * term.el (term-handle-scroll):
5959 * textmodes/bibtex.el (bibtex-fill-field, bibtex-fill-entry):
5960 * wid-edit.el (widget-editable-list-value-create):
5961 Prefer point-marker to copy-marker of point.
5963 2014-06-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
5965 Fix completion retrieval parsing (bug#17209).
5966 * progmodes/python.el (python-mode):
5967 (python-util-strip-string): New function.
5968 (python-shell-completion-get-completions): Use it.
5970 2014-06-21 Eli Zaretskii <eliz@gnu.org>
5972 * skeleton.el (skeleton-insert): Fix last change.
5974 2014-06-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
5976 Enhancements for outline integration (bug#17796).
5977 * progmodes/python.el (python-mode): Properly set
5978 outline-heading-end-regexp so that comments after colons for
5979 defuns are supported.
5981 2014-06-21 Eli Zaretskii <eliz@gnu.org>
5983 * skeleton.el (skeleton-insert): Doc fix.
5985 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
5987 * emacs-lisp/smie.el (smie-config--guess): Fix typo.
5988 (smie-config-guess): Use smie-config-local so the rules are obeyed
5991 * mouse.el (mouse-drag-line): Don't re-add to unread-comment-events,
5992 since it's already done inside the loop (bug#17819).
5994 2014-06-21 Martin Rudalics <rudalics@gmx.at>
5996 * mouse.el (mouse-drag-line): Re-remove code initially removed
5997 on 2013-03-09 and inadvertently reintroduced on 2013-11-30
6000 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
6002 * progmodes/sh-script.el (sh-smie-sh-rules): For { after &&, don't
6003 align with the surrounding parent (bug#17721).
6005 2014-06-21 Eli Zaretskii <eliz@gnu.org>
6007 * textmodes/texinfo.el (texinfo-mode): Set skeleton-end-newline
6009 (texinfo-insert-block, texinfo-insert-@end)
6010 (texinfo-insert-@example, texinfo-insert-@quotation): Adjust to
6011 local setting of skeleton-end-newline by adding an explicit \n to
6012 the skeletons where appropriate. (Bug#17801)
6014 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
6016 * emacs-lisp/smie.el (smie--hanging-eolp-function): New var.
6017 (smie-indent--hanging-p): Use it.
6018 * progmodes/sh-script.el (sh-set-shell): Set it (bug#17621).
6020 2014-06-21 Leo Liu <sdl.web@gmail.com>
6022 * simple.el (read-quoted-char): Don't let help chars pop up help
6025 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
6027 * progmodes/sh-script.el (sh-smie-sh-rules): Use same rule for && as
6030 * xt-mouse.el (xterm-mouse--read-event-sequence-1000):
6031 Drop unknown events instead of burping.
6033 2014-06-21 Eli Zaretskii <eliz@gnu.org>
6035 * term/w32-win.el (dynamic-library-alist): Support giflib 5.1.0
6036 and later. (Bug#17790)
6038 2014-06-21 Juri Linkov <juri@jurta.org>
6040 * dired.el (dired-mark-pop-up): Let-bind display-buffer-mark-dedicated
6041 to `soft'. (Bug#17554)
6043 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
6045 * delsel.el (electric-newline-and-maybe-indent): Mark it as well
6048 2014-06-21 Dmitry Gutov <dgutov@yandex.ru>
6050 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Don't fontify
6051 `!' in `!~' with `font-lock-negation-char-face'. (Bug#17732)
6053 2014-06-21 Michael Albinus <michael.albinus@gmx.de>
6055 * net/dbus.el (dbus-call-method): Push only non D-Bus events into
6056 `unread-command-events'.
6058 2014-06-19 William Xu <william.xwl@gmail.com>
6060 * progmodes/hideif.el (hif-string-to-number): Don't return float for
6061 hex integer constants (bug#17807).
6063 2014-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
6065 * international/mule-util.el (truncate-string-ellipsis): New var.
6066 (truncate-string-to-width): Use it.
6068 2014-06-19 Robert Brown <robert.brown@gmail.com> (tiny change)
6070 * emacs-lisp/lisp-mode.el (lisp-string-after-doc-keyword-p): New fun.
6071 (lisp-string-in-doc-position-p): New function, extracted from
6072 lisp-font-lock-syntactic-face-function.
6073 (lisp-font-lock-syntactic-face-function): Use them (bug#9130).
6075 2014-06-19 Grégoire Jadi <daimrod@gmail.com>
6077 * net/rcirc.el (rcirc-omit-mode): Fix recenter error. (Bug#17769)
6079 2014-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
6081 * play/bubbles.el (bubbles--initialize, bubbles--show-scores)
6082 (bubbles--game-over): Don't add `intangible' properties since they
6085 2014-06-18 Juri Linkov <juri@jurta.org>
6087 * vc/ediff-init.el (ediff-current-diff-Ancestor)
6088 (ediff-fine-diff-Ancestor, ediff-even-diff-A, ediff-even-diff-B)
6089 (ediff-even-diff-C, ediff-even-diff-Ancestor, ediff-odd-diff-A)
6090 (ediff-odd-diff-B, ediff-odd-diff-C, ediff-odd-diff-Ancestor):
6091 Add `min-colors 88' version with removed black/white foregrounds.
6094 2014-06-18 Juri Linkov <juri@jurta.org>
6096 * vc/diff-mode.el (diff-changed): Empty face definition to use
6097 `diff-removed' and `diff-added' on tty as well. (Bug#10181)
6098 (diff-context): Use darker color on light background and
6099 lighter color on dark background.
6101 2014-06-18 Juri Linkov <juri@jurta.org>
6103 * vc/diff-mode.el (diff-refine-changed): Rename from
6104 `diff-refine-change' for consistency with `diff-changed'.
6105 (diff-refine-change): Add obsolete face alias. (Bug#10181)
6107 * vc/smerge-mode.el (smerge-refined-changed): Rename from
6108 `smerge-refined-change'.
6109 (smerge-refined-change): Add obsolete face alias.
6111 2014-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
6113 * rect.el (rectangle-preview): New custom.
6114 (rectangle): New group.
6115 (rectangle--pos-cols): Add `window' argument.
6116 (rectangle--string-preview-state, rectangle--string-preview-window):
6118 (rectangle--string-flush-preview, rectangle--string-erase-preview)
6119 (rectangle--space-to, rectangle--string-preview): New functions.
6120 (string-rectangle): Use them.
6121 (rectangle--inhibit-region-highlight): New var.
6122 (rectangle--highlight-for-redisplay): Obey it. Make sure
6123 `apply-on-region' uses the point-crutches of the right window.
6124 Use :align-to rather than multiple spaces.
6126 2014-06-16 Andrea Rossetti <andrea.rossetti@gmail.com> (tiny change)
6128 * ruler-mode.el (ruler-mode-window-col)
6129 (ruler-mode-mouse-set-left-margin)
6130 (ruler-mode-mouse-set-right-margin): Fix calculation of column
6131 from mouse position (Bug#17768).
6133 2014-06-16 Ron Schnell <ronnie@driver-aces.com>
6135 * play/dunnet.el (dun-doassign): Fix bug where UNIX variable assignment
6136 without varname or rhs causes crash.
6137 (dun-ftp): Fix bug where blank ftp password is allowed, making it
6138 impossible to win endgame.
6139 (dun-unix-verbs): Add ssh as alias to rlogin, because nobody knows what
6141 (dun-help): Bump version number; update contact info.
6143 2014-06-15 Eli Barzilay <eli@barzilay.org>
6145 * calculator.el (calculator-prompt, calculator-remove-zeros)
6146 (calculator-mode-hook, calculator-operators, calculator-stack)
6147 (calculator-mode): Tweak docstring.
6148 (calculator-user-operators): Tweak docstring, fix a bug in the last
6150 (calculator-displayer): `std' case has an optional boolean.
6151 (calculator-displayers): Use the new boolean to group in decimal mode.
6152 (calculator-mode-map, calculator, calculator-message)
6153 (calculator-op-arity, calculator-add-operators)
6154 (calculator-string-to-number, calculator-displayer-prev)
6155 (calculator-displayer-next, calculator-remove-zeros)
6156 (calculator-eng-display, calculator-number-to-string)
6157 (calculator-update-display, calculator-last-input)
6158 (calculator-clear-fragile, calculator-digit, calculator-decimal)
6159 (calculator-exp, calculator-saved-move, calculator-clear)
6160 (calculator-copy, calculator-put-value, calculator-help)
6161 (calculator-expt, calculator-truncate): Minor code improvements.
6162 (calculator-need-3-lines): New function pulling out code from
6164 (calculator-get-display): Rename from `calculator-get-prompt', and
6166 (calculator-push-curnum): Rename from `calculator-curnum-value', and
6167 extended for all uses of it. All callers changed.
6168 (calculator-groupize-number): New utility for splitting a number into
6170 (calculator-standard-displayer): Improve code, new optional argument to
6171 use comma-split groups, make second argument optional too to use with
6172 'left/'right inputs. All callers changed.
6173 (calculator-reduce-stack-once): New utility, doing the meat of what
6174 `calculator-reduce-stack' used to do, much improved (mostly using
6175 `pcase' for conciseness and clarity).
6176 (calculator-reduce-stack): Now doing just the reduction loop using
6177 `calculator-reduce-stack-once'.
6178 (calculator-funcall): Improve code, make it work in v24.3.1 too.
6179 (calculator-last-input): Improve code, remove some old cruft.
6180 (calculator-quit): Kill `calculator-buffer' in electric mode too.
6181 (calculator-integer-p): Remove.
6182 (calculator-fact): Improve code, make it work on non-integer values
6183 too (using truncated numbers).
6185 2014-06-15 Michael Albinus <michael.albinus@gmx.de>
6187 Sync with Tramp 2.2.10.
6189 * net/tramp.el (tramp-methods): Tweak docstring.
6190 (tramp-handle-file-accessible-directory-p): Check for
6191 `file-readable-p' instead of `file-executable-p'.
6192 (tramp-check-cached-permissions):
6193 Use `tramp-compat-file-attributes'.
6194 (tramp-call-process): Add new argument VEC. Adapt callees in all
6197 * net/tramp-adb.el (tramp-adb-handle-write-region): Improve messages.
6198 (tramp-adb-maybe-open-connection): Don't set
6199 `tramp-current-*' variables.
6201 * net/tramp-cache.el (tramp-flush-file-function): Do not flush
6202 file properties of temporary buffers.
6204 * net/tramp-ftp.el (top): Remove special handling for URL syntax.
6206 * net/tramp-gvfs.el (tramp-gvfs-methods) <sftp>: Add.
6207 (tramp-gvfs-handle-delete-file): Flush file
6208 properties, not directory properties.
6209 (tramp-gvfs-handle-file-attributes): Use `string-to-number' when
6210 reading "unix::mode".
6211 (tramp-gvfs-handle-file-name-all-completions):
6212 Use "-h" option for "gvfs-ls".
6213 (tramp-gvfs-url-file-name): `user' and `localname' could be nil.
6214 (tramp-gvfs-send-command): Simplify traces.
6216 * net/tramp-sh.el (vc-handled-backends, vc-bzr-program)
6217 (vc-git-program, vc-hg-program): Declare.
6218 (tramp-methods) <sftp>: Remove. It has never worked satisfactorily.
6219 (tramp-methods) <nc>: Add new method.
6220 (tramp-methods) <telnet>: Redirect stderr to "/dev/null".
6221 (tramp-methods) <plink, plinkx, pscp, psftp>: Improve
6223 (tramp-default-user-alist): Add "nc".
6224 (top): Remove completion function for "sftp". Add completion
6225 functions for "nc" and "psftp".
6226 (tramp-do-copy-or-rename-file-out-of-band): Tweak docstring.
6227 Implement support for "nc" method.
6228 (tramp-sh-handle-expand-file-name, tramp-local-coding-commands)
6229 (tramp-remote-coding-commands, tramp-call-local-coding-command):
6231 (tramp-sh-handle-write-region): Tweak error message.
6232 (tramp-sh-handle-vc-registered): Remove backends when the remote
6233 binary does not exist.
6234 (tramp-find-inline-encoding): Do not raise an error.
6235 (tramp-make-copy-program-file-name): Tweak docstring. Handle also
6236 the "nc" case. Quote result also locally.
6238 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
6239 (tramp-smb-handle-set-file-acl): Use `start-process'.
6240 (tramp-smb-handle-insert-directory): Use progress reporter.
6241 (tramp-smb-handle-rename-file): Flush also file properties of
6244 * net/trampver.el: Update release number.
6246 2014-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
6248 * ses.el: Miscellaneous cleanups; use lexical-binding; avoid
6250 (ses-localvars): Remove ses--local-printer-list, unused.
6251 (ses--metaprogramming): New macro. Use it to defvar variables.
6252 (ses-set-localvars): Simplify.
6253 (ses--locprn, ses-cell): Use defstruct. Change ses-cell's
6254 property-list into an alist.
6255 (ses-locprn-get-compiled, ses-locprn-compiled-aset)
6256 (ses-locprn-get-def, ses-locprn-def-aset, ses-locprn-get-number):
6257 Remove; use defstruct accessors/setters instead.
6258 (ses-cell-formula-aset, ses-cell-printer-aset)
6259 (ses-cell-references-aset): Remove, use setf instead.
6260 (ses--alist-get): New function.
6261 (ses-cell-property): Rename from ses-cell-property-get and rewrite.
6262 Use an alist instead of a plist and don't do move-to-front since the
6263 list is always short.
6264 (ses-cell-property-get-fun, ses-cell-property-delq-fun)
6265 (ses-cell-property-set-fun, ses-cell-property-set)
6266 (ses-cell-property-pop-fun, ses-cell-property-get-handle)
6267 (ses-cell-property-handle-car, ses-cell-property-handle-setcar): Remove.
6268 (ses--letref): New macro.
6269 (ses-cell-property-pop): Rewrite.
6270 (ses--cell): Rename from ses-cell and make it into a function.
6271 Make `formula' fallback on `value' if nil.
6272 (ses--local-printer): Rename from ses-local-printer and make it into
6274 (ses-set-cell): Turn it into a macro so finding the accessor from the
6275 field name is done at compile time.
6276 (ses-repair-cell-reference-all): Test presence of `sym' rather than
6277 `ref' before adding `sym' to :ses-repair-reference.
6278 (ses-calculate-cell): Use ses--letref rather than
6279 ses-cell-property-get-handle.
6280 (ses-write-cells): Use a single prin1-to-string.
6281 (ses-setter-with-undo): New function.
6282 (ses-aset-with-undo, ses-set-with-undo): Rewrite using it.
6283 (ses-unset-with-undo): Remove.
6284 (ses-load): Prefer apply' over `eval'.
6285 (ses-read-printer, ses-set-column-width): Use standard "(default
6288 2014-06-15 Glenn Morris <rgm@gnu.org>
6290 * Makefile.in (leim, semantic): Use `make -C' rather than `cd && make'.
6292 * progmodes/cc-langs.el: Require cl-lib. (Bug#17463)
6293 Replace delete-duplicates and mapcan by cl- versions throughout.
6294 And cl-macroexpand-all by macroexpand-all.
6295 (delete-duplicates, mapcan, cl-macroexpand-all): No need to declare.
6297 2014-06-15 Eli Zaretskii <eliz@gnu.org>
6299 * subr.el (posn-col-row): Doc fix. (Bug#17768)
6301 2014-06-15 Juri Linkov <juri@jurta.org>
6303 * bindings.el: Put `ascii-character' property on keypad keys
6304 mapped to characters. (Bug#17759)
6306 2014-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
6308 * emacs-lisp/smie.el (smie-next-sexp): Fix up "other-end" info when
6309 bumping forward into a closing paren (bug#17761).
6311 * term/xterm.el (xterm--version-handler): Work around for OSX
6312 Terminal.app (bug#17607).
6314 2014-06-14 Ron Schnell <ronnie@driver-aces.com>
6316 * play/dunnet.el (dun-describe-room, dun-mode):
6317 If a lamp is in the room, you won't be eaten by a grue.
6319 2014-06-13 Glenn Morris <rgm@gnu.org>
6321 * Makefile.in ($(lisp)/cus-load.el, $(lisp)/finder-inf.el)
6322 (autoloads, $(lisp)/subdirs.el, compile-main, leim, semantic, compile)
6323 (compile-always): GNU make automatically passes
6324 command-line arguments to sub-makes.
6326 * calendar/calendar.el (calendar-generate-window):
6327 Remove pointless call to font-lock-fontify-buffer.
6329 2014-06-13 Matthias Meulien <orontee@gmail.com>
6331 * simple.el (completion-list-mode-map): Navigate with tab and backtab
6334 2014-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
6336 * simple.el (set-mark-command): Simplify a bit.
6338 2014-06-12 Nicolas Richard <theonewiththeevillook@yahoo.fr>
6340 * help.el (help--key-binding-keymap): New function.
6341 (help--binding-locus): New function.
6342 (describe-key): Mention the keymap in which the binding was
6345 2014-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
6347 * hippie-exp.el (he--all-buffers): New function.
6348 (try-expand-line-all-buffers, try-expand-list-all-buffers)
6349 (try-expand-dabbrev-all-buffers): Use it.
6351 2014-06-12 Emilio C. Lopes <eclig@gmx.net>
6353 * hippie-exp.el (try-expand-line-all-buffers)
6354 (try-expand-list-all-buffers, try-expand-dabbrev-all-buffers):
6355 Read hippie-expand-only-buffers and hippie-expand-ignore-buffers in the
6356 original buffer, in case they're buffer-local.
6358 2014-06-12 Vincent Belaïche <vincentb1@users.sourceforge.net>
6360 * ses.el (ses-initial-global-parameters-re): New defconst, a
6361 specific regexp is needed now that ses.el can handle both
6362 file-format 2 --- ie. no local printers --- and 3 --- i.e. may have
6364 (ses-localvars): Add local variables needed for local printer handling.
6365 (ses-set-localvars): Handle hashmap initialisation.
6366 (ses-paramlines-plist): Add param-line for number of local printers.
6367 (ses-paramfmt-plist): New defconst, needed for code factorization
6368 between functions `ses-set-parameter' and
6369 `ses-file-format-extend-paramter-list'
6370 (ses-make-local-printer-info): New defsubst.
6371 (ses-locprn-get-compiled, ses-locprn-compiled-aset)
6372 (ses-locprn-get-def, ses-locprn-def-aset, ses-locprn-get-number)
6373 (ses-cell-printer-aset): New defmacro.
6374 (ses-local-printer-compile): New defun.
6375 (ses-local-printer): New defmacro.
6376 (ses-printer-validate, ses-call-printer): Add support for local
6378 (ses-file-format-extend-paramter-list): New defun.
6379 (ses-set-parameter): Use const `ses-paramfmt-plist' for code
6381 (ses-load): Add support for local printer functions.
6382 (ses-read-printer): Update docstring and add support for local printer
6384 (ses-refresh-local-printer, ses-define-local-printer): New defun.
6385 (ses-safe-printer): Add support for local printer functions.
6387 2014-06-12 Ivan Andrus <darthandrus@gmail.com>
6389 * ffap.el (ffap-lax-url): New var (bug#17723).
6390 (ffap-url-at-point): Use it.
6391 (ffap-file-at-point): Avoid returning just "/".
6393 2014-06-12 Matthias Meulien <orontee@gmail.com>
6395 * progmodes/python.el (import skeleton): New skeleton (bug#17672).
6396 (python-mode-map): Bind it.
6398 * progmodes/python.el (class skeleton): Don't erase last char of class
6401 2014-06-12 Cameron Desautels <camdez@gmail.com> (tiny change)
6403 * help.el (where-is): Use `default' arg of completing-read (bug#17705).
6405 2014-06-12 Kevin Ryde <user42_kevin@yahoo.com.au>
6407 * files.el (auto-mode-alist): Map .ad files to xdefaults-mode
6410 2014-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
6412 * international/mule-cmds.el: Use lexical-binding.
6413 (ucs-names): Simplify.
6415 2014-05-18 Eric Hanchrow <eric.hanchrow@gmail.com>
6417 * progmodes/python.el (run-python): Use read-shell-command.
6419 2014-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6421 * rect.el: Make it possible to move bounds past EOL or into TABs.
6422 (operate-on-rectangle): Use apply-on-rectangle.
6423 (rectangle--mark-crutches): New var.
6424 (rectangle--pos-cols, rectangle--col-pos, rectangle--point-col)
6425 (rectangle--crutches, rectangle--reset-crutches): New functions.
6426 (apply-on-rectangle): Obey crutches. Avoid setq.
6427 Fix missing final iteration if end is at EOB&BOL.
6428 (rectangle-mark-mode-map): Add remap bindings for
6429 exchange-point-and-mark and char/line movements.
6430 (rectangle--*-char): New function.
6431 (rectangle-exchange-point-and-mark, rectangle-right-char)
6432 (rectangle-left-char, rectangle-forward-char)
6433 (rectangle-backward-char, rectangle-next-line)
6434 (rectangle-previous-line): New commands.
6435 (rectangle--place-cursor): New function.
6436 (rectangle--highlight-for-redisplay): Use it. Use apply-on-rectangle.
6438 2014-06-08 Glenn Morris <rgm@gnu.org>
6440 * startup.el (initial-buffer-choice): Doc fix.
6441 Reset :version (adding an option does not merit a :version bump).
6443 * bookmark.el (bookmark-load):
6444 * uniquify.el (uniquify-buffer-name-style): Doc fixes.
6446 2014-06-08 Juri Linkov <juri@jurta.org>
6448 * desktop.el: Activate auto-saving on window configuration changes.
6449 (desktop-save-mode, desktop-auto-save-timeout): Add/remove
6450 `desktop-auto-save-set-timer' to/from
6451 `window-configuration-change-hook'.
6452 (desktop-auto-save-set-timer): Change REPEAT arg of
6453 `run-with-idle-timer' from t to nil.
6454 http://lists.gnu.org/archive/html/emacs-devel/2014-06/msg00147.html
6456 2014-06-08 Santiago Payà i Miralta <santiagopim@gmail.com>
6458 * vc/vc-hg.el (vc-hg-working-revision): Use "hg parent" and
6459 vc-hg-command (bug#17570).
6461 2014-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
6463 * international/mule-cmds.el (ucs-names): Add special entry for BEL
6466 2014-06-08 Glenn Morris <rgm@gnu.org>
6468 * startup.el (window-setup-hook): Doc fix.
6470 * emacs-lisp/package.el (package-check-signature)
6471 (package-unsigned-archives): Doc fixes.
6473 2014-06-08 Martin Rudalics <rudalics@gmx.at>
6475 * window.el (display-buffer-use-some-window): Don't make window
6476 used smaller than it was before (Bug#17671).
6478 2014-06-08 Eli Zaretskii <eliz@gnu.org>
6480 * menu-bar.el (menu-bar-open): Fix last change: use the PC
6481 'redisplay' instead of '(sit-for 0)'.
6483 2014-06-08 Michael Albinus <michael.albinus@gmx.de>
6485 * net/tramp.el (tramp-ssh-controlmaster-options):
6486 Improve search regexp. (Bug#17653)
6488 2014-06-08 Glenn Morris <rgm@gnu.org>
6490 * emacs-lisp/package.el (package-pinned-packages): Doc fix.
6492 2014-06-08 Eli Zaretskii <eliz@gnu.org>
6494 * menu-bar.el (menu-bar-open): Fix invocation via M-x.
6496 2014-06-06 Santiago Payà i Miralta <santiagopim@gmail.com>
6498 * vc/vc-hg.el (vc-hg-create-tag, vc-hg-retrieve-tag): New functions
6501 * vc/vc-hg.el (vc-hg-log-graph): New var.
6502 (vc-hg-print-log): Use it.
6503 (vc-hg-root-log-format): Include branch name and bookmarks; ignore
6504 graph output (bug#17515).
6506 2014-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
6508 * mouse.el (mouse-posn-property): Ignore buffer position info when the
6509 even happened elsewhere.
6511 2014-06-06 Mario Lang <mlang@delysid.org>
6513 * emacs-lisp/tabulated-list.el (tabulated-list-print): Only call
6514 `recenter' if `current-buffer' is equal to `window-buffer'.
6516 2014-06-05 Leo Liu <sdl.web@gmail.com>
6518 * emacs-lisp/cl-macs.el (cl-macrolet): Avoid excessive progn's.
6520 2014-06-05 Michal Nazarewicz <mina86@mina86.com>
6522 * textmodes/tildify.el (tildify-foreach-region-outside-env):
6523 New function which calls a callback on portions of the buffer that are
6524 outside of ignored environments.
6525 (tildify-build-regexp): Remove function since it is now
6526 incorporated in `tildify-foreach-region-outside-env' where it is
6527 optimized and simplified by the use of `mapconcat'.
6528 (tildify-tildify): Return number of substitutions made so that…
6529 (tildify-count): …can be removed.
6530 (tildify-find-env): Accept a new PAIRS argument which was
6531 previously looked up in `tildify-ignored-environments-alist' each
6532 time the function was called. With this change, the lookup is
6533 performed only once in `tildify-foreach-region-outside-env'.
6534 (tildify-region): Greatly simplify the function since now most of
6535 the work is done by `tildify-foreach-region-outside-env'.
6536 (tildify-mode-alist): Simplify slightly by avoiding if and setq
6537 and instead using or.
6539 * textmodes/tildify.el (tildify-ignored-environments-alist):
6540 Optimize environments regexes
6542 Each time beginning of an environment to ignore is found,
6543 `tildify-find-env' needs to identify regexp for the ending
6544 of the environment. This is done by trying all the opening
6545 regexes on matched text in a loop, so to speed that up, this
6546 loop should have fewer things to match, which can be done by
6547 using alternatives in the opening regexes.
6549 Coincidentally, this should make matching of the opening
6550 regexp faster as well thanks to the use of `regexp-opt' and
6551 having common prefix pulled from many regexes.
6553 * textmodes/tildify.el (tildify-string-alist)
6554 (tildify-ignored-environments-alist): Add `nxml-mode' to the list
6555 of supported modes since `xml-mode' is no longer a thing but just
6556 an alias to the former. Also include comments and insides of tags
6557 in `tildify-ignored-environments-alist' for XML modes. Finally,
6558 since XML does not define “ ”[1], use a numeric reference for
6559 a no-break space (namely “ ”)
6561 [1] XML specification defines only a handful of predefined entities.
6562 The list is at <http://www.w3.org/TR/REC-xml/#sec-predefined-ent>
6563 and includes only <, >, &, ' and " (meaning <,
6564 >, &, ' and " respectively). This is in contrast to HTML and even
6565 XHTML which defined a whole bunch of entities including “ ”.
6567 * textmodes/tildify.el (tildify-pattern-alist)
6568 (tildify-string-alist, tildify-ignored-environments-alist):
6569 Improve defcustom's types by adding more tags explaining what each
6570 value means and replace “sexp” used in
6571 `tildify-ignored-environments-alist' with a full type declaration.
6573 * textmodes/tildify.el (tildify-find-env): Fix matched group
6574 indexes in end-regex building
6576 When looking for a start of an ignore-environment, the regex is built
6577 by concatenating regexes of all the environments configured in
6578 `tildify-ignored-environments-alist'. So for example, the following
6579 list could be used to match TeX's \verb and \verb* commands:
6581 (("\\\\verb\\(.\\)" . (1))
6582 ("\\\\verb\\*\\(.\\)" . (1)))
6584 This would result in the following regex being used to find the start
6585 of any of the variants of the \verb command:
6587 \\\\verb\\(.\\)\\|\\\\verb\\*\\(.\\)
6589 But now, if “\\\\verb\\*\\(.\\)” matches, the first capture group
6590 won't match anything, and thus (match-string 1) will be nil, which
6591 will cause building of the end-matching regex to fail.
6593 Fix this by using capture groups from the time when the opening
6594 regexes are matched individually.
6596 * textmodes/tildify.el (tildify-find-env): Fix end-regex building
6597 in `tildify-find-env'
6599 The `tildify-ignored-environments-alist' allows the end-regex to
6600 be provided not as a static string but mix of strings and indexes
6601 of groups matched the begin-regex. For example, the “\verb!…!”
6602 TeX-command (where “!” is an arbitrary character) is handled
6605 ("\\\\verb\\*?\\(.\\)" . (1))
6607 In the same way, the following should be supported as well:
6609 ("open-\\(.\\)" . ("end-" 1))
6611 However the tildify-find-env function fails at
6614 (if (stringp (setq aux (car expression)))
6615 expression ; BUG: expression is a list
6616 (regexp-quote (match-string aux))))
6618 where the string part is handled incorrectly.
6620 The most trivial fix would be to replace `expression' in the
6621 true-part of the if-statement with `aux', but instead, this commit
6622 optimizes `tildify-find-env' by changing it to use `mapconcat'
6623 rather than open-coded while-loop.
6625 2014-06-05 Mario Lang <mlang@delysid.org>
6627 * woman.el (woman-mapcan): Remove.
6628 (woman-parse-colon-path): Use cl-mapcan instead.
6630 2014-06-03 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6632 * register.el: Add link to Emacs manual in Commentary.
6634 2014-06-02 Sam Steingold <sds@gnu.org>
6636 * menu-bar.el (lookup-key-ignore-too-long): Extract from...
6637 (popup-menu): ...here.
6638 (menu-bar-open): Use it to avoid an error when `lookup-key'
6641 2014-06-02 Michael Albinus <michael.albinus@gmx.de>
6643 * net/tramp.el (tramp-call-process): Add traces.
6644 (tramp-handle-unhandled-file-name-directory): Return "/".
6646 2014-06-02 Wilson Snyder <wsnyder@wsnyder.org>
6648 Sync with upstream verilog-mode revision 3cd8144.
6649 * progmodes/verilog-mode.el (verilog-mode-version): Bump.
6650 (verilog-auto-arg-format): New option, to support newlines in AUTOARG.
6651 (verilog-type-font-keywords): Add nor.
6652 (verilog-batch-execute-func): Force reading of Local Variables.
6653 Fix printing "no changes to be saved" with verilog-batch.
6654 (verilog-auto-arg-ports): Doc fix.
6655 Add verilog-auto-arg-format to support newlines in AUTOARG.
6656 (verilog-auto-arg): Doc fix.
6658 2014-06-02 Glenn Morris <rgm@gnu.org>
6660 * emulation/crisp.el, emulation/tpu-edt.el, emulation/tpu-extras.el:
6661 * emulation/tpu-mapper.el, emulation/vi.el, emulation/vip.el:
6662 * emulation/ws-mode.el: Move to obsolete/.
6663 * Makefile.in (AUTOGEN_VCS): Update for moved tpu-edu.el.
6665 2014-06-02 Eli Zaretskii <eliz@gnu.org>
6667 * simple.el (keyboard-quit): Force update of mode lines, to remove
6668 the "Def" indicator, if we were defining a macro. (Bug#17615)
6670 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
6672 * minibuffer.el (minibuffer-force-complete-and-exit):
6673 Obey minibuffer-default (bug#17545).
6675 * progmodes/js.el (js-indent-line): Don't mix columns and chars
6678 * subr.el (set-transient-map): Don't wait for some "nested"
6679 transient-map to finish if we're only supposed to be active for
6680 the next command (bug#17642).
6682 2014-06-02 Leo Liu <sdl.web@gmail.com>
6684 * emacs-lisp/gv.el (window-buffer, window-display-table)
6685 (window-dedicated-p, window-hscroll, window-point, window-start):
6686 Fix gv-expander. (Bug#17630)
6688 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
6690 * mouse.el (mouse-posn-property): Ignore posn-point for mode-line
6693 * leim/quail/latin-pre.el ("latin-2-prefix"): Use ",," rather than ", "
6694 for the single comma, since ", " is *very* common in normal French text
6697 2014-06-02 Glenn Morris <rgm@gnu.org>
6699 * emacs-lisp/package.el (package-check-signature)
6700 (package-unsigned-archives): Fix :version.
6702 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
6704 * subr.el (sit-for): Don't run input-methods (bug#15614).
6706 2014-06-02 Glenn Morris <rgm@gnu.org>
6708 * cus-start.el: Fix some :version numbers.
6710 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
6712 * simple.el (deactivate-mark): Set mark-active to nil even if
6713 deactivation is done via setting transient-mark-mode to nil,
6714 since one is buffer-local and the other is global.
6716 * emacs-lisp/byte-opt.el (byte-optimize-binary-predicate): Don't assume
6717 there can't be more than 2 arguments (bug#17584).
6719 2014-06-02 Glenn Morris <rgm@gnu.org>
6721 * simple.el (filter-buffer-substring-functions)
6722 (filter-buffer-substring-function, buffer-substring-filters)
6723 (filter-buffer-substring, buffer-substring--filter): Doc fixes.
6725 * minibuffer.el (completion-in-region-functions, completion-in-region)
6726 (completion--in-region): Doc fixes.
6728 * abbrev.el (abbrev-expand-functions, abbrev-expand-function)
6729 (expand-abbrev, abbrev--default-expand): Doc fixes.
6731 2014-06-02 Paul Eggert <eggert@cs.ucla.edu>
6733 Include sources used to create macuvs.h.
6734 * international/README: Refer to the Unicode Terms of Use rather
6735 than copying it bodily here, as that simplifies maintenance.
6737 2014-06-01 Glenn Morris <rgm@gnu.org>
6739 * loadup.el (load-prefer-newer): Set non-nil when dumping. (Bug#17629)
6741 2014-05-31 Glenn Morris <rgm@gnu.org>
6743 * files.el (locate-dominating-file): Expand file argument. (Bug#17641)
6745 2014-05-30 Glenn Morris <rgm@gnu.org>
6747 * loadup.el: Treat `command-line-args' more flexibly.
6749 2014-05-30 Alan Mackenzie <acm@muc.de>
6751 Guard (looking-at "\\s!") from XEmacs.
6752 * progmodes/cc-engine.el (c-state-pp-to-literal): Add guard form.
6754 2014-05-30 Ken Olum <kdo@cosmos.phy.tufts.edu>
6756 * mail/rmail.el (rmail-delete-forward, rmail-delete-backward):
6757 The argument COUNT is now optional, to be more backward-compatible.
6758 Doc fix. (Bug#17560)
6760 2014-05-29 Reuben Thomas <rrt@sc3d.org>
6762 * whitespace.el (whitespace-report-region):
6763 Simplify documentation.
6764 (whitespace-report-region): Allow report-if-bogus to take the
6765 value `never', for non-interactive use.
6766 (whitespace-report): Refer to whitespace-report-region's
6769 2014-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
6771 * whitespace.el: Use font-lock-flush. Minimize refontifications.
6772 Side benefit: it works without jit-lock.
6773 (whitespace-point--used): New buffer-local var.
6774 (whitespace-color-on): Initialize it and flush it. Use font-lock-flush.
6775 (whitespace-color-off): Use font-lock-flush.
6776 (whitespace-point--used, whitespace-point--flush-used): New functions.
6777 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
6778 (whitespace-empty-at-eob-regexp): Use them.
6779 (whitespace-post-command-hook): Rewrite.
6781 * font-lock.el (font-lock-flush, font-lock-ensure): New functions.
6782 (font-lock-fontify-buffer): Mark interactive-only.
6783 (font-lock-multiline, font-lock-fontified, font-lock-set-defaults):
6785 (font-lock-specified-p): Remove redundant boundp check.
6786 (font-lock-flush-function, font-lock-ensure-function): New vars.
6787 (font-lock-turn-on-thing-lock): Set them.
6788 (font-lock-default-fontify-buffer): Obey font-lock-dont-widen.
6789 (font-lock-after-change-function): Make `old-len' optional.
6790 (font-lock-set-defaults): Remove redundant `set' of font-lock-defaults.
6791 Call font-lock-flush, just in case.
6792 * progmodes/verilog-mode.el (verilog-preprocess): Disable workaround in
6794 * progmodes/vera-mode.el (vera-fontify-buffer): Declare obsolete.
6795 (vera-mode-map, vera-mode-menu): Remove bindings to it.
6796 * progmodes/idlw-help.el (idlwave-help-fontify): Use font-lock-ensure
6797 and with-syntax-table.
6798 * textmodes/conf-mode.el (conf-quote-normal):
6799 * progmodes/sh-script.el (sh-set-shell):
6800 * progmodes/prog-mode.el (prettify-symbols-mode):
6801 * progmodes/f90.el (f90-font-lock-n):
6802 * progmodes/cwarn.el (cwarn-mode):
6803 * nxml/nxml-mode.el (nxml-toggle-char-ref-extra-display):
6804 * progmodes/compile.el (compilation-setup, compilation--unsetup):
6805 * hi-lock.el (hi-lock-mode, hi-lock-unface-buffer)
6806 (hi-lock-set-pattern, hi-lock-set-file-patterns): Use font-lock-flush.
6807 * mail/rmail.el (rmail-variables): Set font-lock-dont-widen instead of
6808 font-lock-fontify-buffer-function and
6809 font-lock-unfontify-buffer-function.
6810 (rmail-unfontify-buffer-function, rmail-fontify-message):
6811 Use with-silent-modifications.
6812 * htmlfontify.el (hfy-force-fontification): Use jit-lock-fontify-now
6813 and font-lock-ensure.
6814 * bs.el (bs-show-in-buffer): Use font-lock-ensure.
6816 2014-05-28 Thien-Thi Nguyen <ttn@gnu.org>
6818 * emacs-lisp/package.el (package-generate-autoloads):
6819 Inhibit backup files.
6821 2014-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
6823 * progmodes/hideshow.el (hs-hide-all): Call syntax-propertize
6826 2014-05-21 Michal Nazarewicz <mina86@mina86.com>
6828 * textmodes/tildify.el (tildify-buffer, tildify-region):
6829 Add dont-ask option.
6831 2014-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
6833 * subr.el (zerop): Move from C. Add compiler-macro (bug#17475).
6834 * emacs-lisp/byte-opt.el (byte-optimize-zerop): Remove.
6836 * subr.el (internal--funcall-interactively): New.
6837 (internal--call-interactively): Remove.
6838 (called-interactively-p): Detect funcall-interactively instead of
6840 * simple.el (repeat-complex-command): Use funcall-interactively.
6841 (repeat-complex-command--called-interactively-skip): Remove.
6843 2014-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
6845 * register.el (register-read-with-preview): Don't burp on
6846 frame switches (e.g. due to the frame we just popped).
6848 * mouse.el (mouse-set-region): Handle spurious drag events (bug#17562).
6849 (mouse-drag-track): Annotate `mouse-drag-start' so we know we moved.
6851 2014-05-26 Andreas Schwab <schwab@linux-m68k.org>
6853 * cus-face.el (custom-face-attributes): Add :distant-foreground.
6855 2014-05-26 Martin Rudalics <rudalics@gmx.at>
6857 * window.el (window--dump-frame): Remove interactive specification.
6859 2014-05-26 Glenn Morris <rgm@gnu.org>
6861 * hippie-exp.el (he-line-search-regexp):
6862 Handle comint-prompt-regexp containing subgroups. (Bug#17529)
6864 2014-05-26 Stephen Berman <stephen.berman@gmx.net>
6866 * calendar/todo-mode.el: Remove dependence on auto-mode-alist,
6867 to avoid errors when trying to create or visit a file foo.todo
6868 located outside to todo-directory, and to allow having such files
6869 without them being tied to Todo mode (bug#17482).
6870 (todo-show, todo-move-category, todo-merge-category, todo-find-archive)
6871 (todo-archive-done-item, todo-find-filtered-items-file)
6872 (todo-filter-items, todo-find-item, todo-diary-goto-entry)
6873 (todo-category-completions, todo-read-category): When visiting a
6874 Todo file, make sure we're in the right mode and the buffer local
6876 (todo-make-categories-list, todo-reset-nondiary-marker)
6877 (todo-reset-done-string, todo-reset-comment-string):
6878 After processing all Todo files, kill the buffers of those files that
6879 weren't being visited before the processing.
6880 (todo-display-as-todo-file, todo-add-to-buffer-list)
6881 (todo-visit-files-commands): Comment out.
6882 (todo-modes-set-3, todo-mode): Comment out additions to find-file-hook.
6883 (auto-mode-alist): Remove add-to-list calls making Todo file
6884 extensions unrestrictedly tied to Todo modes.
6886 2014-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
6888 * emacs-lisp/nadvice.el (advice--member-p): Change second arg.
6889 (advice-function-member-p): Tell it to check both names and functions
6891 (advice--add-function): Adjust call accordingly.
6893 2014-05-26 Stephen Berman <stephen.berman@gmx.net>
6895 * calendar/todo-mode.el: Miscellaneous bug fixes.
6896 (todo-delete-file): When deleting an archive but not its todo
6897 file, make sure to update the todo file's category sexp.
6898 (todo-move-category): Keep the moved category's name unless the
6899 file moved to already has a category with that name. If the
6900 numerically last category of the source file was moved, make the
6901 first category current to avoid selecting a nonexisting category.
6902 (todo-merge-category): Fix implementation to make merging to a
6903 category in another file work as documented. Eliminate now
6904 insufficient and unnecessary renaming of archive category, correct
6905 document string accordingly, and clarify it. If the numerically
6906 last category of the source file was merged, make the first
6907 category current to avoid selecting a nonexisting category.
6908 (todo-archive-done-item): When there are marked items and point
6909 happens to be on an unmarked item, ignore the latter. Don't leave
6910 point below last item after archiving marked items.
6911 (todo-unarchive-items): Fix logic to ensure unarchiving an item
6912 from an archive with only one category deletes the archive only
6913 when the category is empty after unarchiving. Make sure the todo
6914 file's category sexp is updated.
6915 (todo-read-file-name): Allow an existing file name even when it is
6916 not required (todo-move-category needs this to work as documented).
6917 (todo-add-file): Call todo-validate-name to reject the name of an
6918 existing todo file (needed due to fix in todo-read-file-name).
6919 (todo-reset-nondiary-marker): Also reset in filtered items files.
6920 (todo-reset-done-string, todo-reset-comment-string): Also reset in
6921 regexp filtered items files.
6922 (todo-reset-highlight-item): Also reset in filtered items files.
6923 Fix incorrect variable reference in document string.
6925 2014-05-26 Glenn Morris <rgm@gnu.org>
6927 * window.el (window--dump-frame): Avoid error in --without-x builds.
6929 2014-05-26 Glenn Morris <rgm@gnu.org>
6931 * nxml/nxml-mode.el (xml-mode): Only define this alias once.
6933 2014-05-26 Eli Zaretskii <eliz@gnu.org>
6935 * frame.el (set-frame-font): Doc fix.
6937 * menu-bar.el (menu-set-font): Doc fix. (Bug#17532)
6939 2014-05-26 Dmitry Gutov <dgutov@yandex.ru>
6941 * emacs-lisp/package.el (package--download-one-archive):
6942 Use `write-region' instead of `save-buffer' to avoid running various
6944 (describe-package-1): Same. Insert newline at the end of the
6945 buffer if appropriate.
6947 2014-05-26 Juri Linkov <juri@jurta.org>
6949 * avoid.el (mouse-avoidance-set-mouse-position): Don't raise frame.
6950 (mouse-avoidance-ignore-p): Remove `switch-frame', add `focus-out'.
6951 Add more modifiers: meta, control, shift, hyper, super, alt.
6954 * avoid.el (mouse-avoidance-banish-position): Fix defcustom :options
6955 to allow changing its value with `set-variable'.
6957 2014-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
6959 * progmodes/scheme.el (scheme-mode-syntax-table): Remove hack for
6961 (scheme-syntax-propertize, scheme-syntax-propertize-sexp-comment):
6963 (scheme-mode-variables): Set syntax-propertize-function instead of
6964 font-lock-syntactic-face-function.
6965 (scheme-font-lock-syntactic-face-function): Delete.
6967 * emacs-lisp/lisp.el (end-of-defun): Ensure we move (bug#17274).
6969 * emacs-lisp/timer.el (timer-event-handler): Don't run if canceled
6972 2014-05-26 Michael Albinus <michael.albinus@gmx.de>
6974 * net/tramp-sh.el (tramp-find-inline-encoding): Do not match "%%t"
6975 for a temporary file name.
6977 2014-05-26 Eli Zaretskii <eliz@gnu.org>
6979 * simple.el (line-move-ignore-invisible): Doc fix. (Bug#17511)
6981 2014-05-26 Michael Albinus <michael.albinus@gmx.de>
6983 * net/dbus.el (dbus-init-bus, dbus-call-method)
6984 (dbus-call-method-asynchronously, dbus-send-signal)
6985 (dbus-method-return-internal, dbus-method-error-internal):
6986 Check, whether Emacs has been compiled with D-Bus support. (Bug#17508)
6988 2014-05-26 Nicolas Richard <theonewiththeevillook@yahoo.fr>
6990 * emacs-lisp/eieio-opt.el (eieio-help-class): Correctly deal with
6991 methods which do not have a doc string. (Bug#17490)
6993 2014-05-25 Tassilo Horn <tsdh@gnu.org>
6995 * textmodes/reftex-ref.el (reftex-format-special): Make it work
6996 also for AMS Math's \eqref macro.
6998 2014-05-25 Thien-Thi Nguyen <ttn@gnu.org>
7000 Arrange to never byte-compile the generated -pkg.el file.
7002 * emacs-lisp/package.el (package-generate-description-file):
7003 Output first-line comment to set buffer-local var `no-byte-compile'.
7004 Suggested by Dmitry Gutov:
7005 <http://lists.gnu.org/archive/html/emacs-devel/2014-05/msg00401.html>.
7007 2014-05-25 Thien-Thi Nguyen <ttn@gnu.org>
7009 Fix bug: Properly quote args to generated -pkg.el `define-package'.
7011 * emacs-lisp/package.el (package-generate-description-file):
7012 Inline `package--alist-to-plist'; rewrite to selectively
7013 quote alist values that are not self-quoting.
7014 (package--alist-to-plist): Delete func.
7016 2014-05-25 Andreas Schwab <schwab@linux-m68k.org>
7018 * term/xterm.el (xterm-function-map): Add mapping for shifted
7021 2014-05-24 Daniel Colascione <dancol@dancol.org>
7023 * progmodes/subword.el (subword-find-word-boundary): Move point to
7024 correct spot before search. (Bug#17580)
7026 * emacs-lisp/nadvice.el (defun): Write in eval-and-compile to avoid
7029 2014-05-24 Leo Liu <sdl.web@gmail.com>
7031 * calc/calc.el (math-bignum): Handle most-negative-fixnum. (Bug#17556)
7033 2014-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
7035 * minibuffer.el (completion--sreverse): Remove.
7036 (completion--common-suffix): Use `reverse' instead.
7037 * emacs-lisp/regexp-opt.el (regexp-opt-group): Use `reverse' on strings.
7039 2014-05-22 Glenn Morris <rgm@gnu.org>
7041 * shell.el (shell-mode) <shell-dirstack-query>: Bypass bash aliases.
7043 2014-05-21 Daniel Colascione <dancol@dancol.org>
7045 * files.el (interpreter-mode-alist): Add mksh.
7047 * progmodes/sh-script.el (sh-ancestor-alist): Add mksh, a pdksh
7049 (sh-alias-alist): Alias /system/bin/sh (Android's system shell) to
7050 mksh. Improve custom spec; allow regular expressions.
7051 (sh-shell): Delegate name splitting to `sh-canonicalize-shell'.
7052 (sh-after-hack-local-variables): New function.
7053 (sh-mode): Use it; respect file-local `sh-shell' variable. (Bug#17333)
7054 (sh-set-shell): Use `sh-canonicalize-shell' instead of open-coding
7056 (sh-canonicalize-shell): Rewrite to support regexes.
7058 2014-05-21 Leo Liu <sdl.web@gmail.com>
7060 * emacs-lisp/cl-lib.el (cl-endp): Fix last change.
7062 2014-05-19 Leo Liu <sdl.web@gmail.com>
7064 * emacs-lisp/cl-lib.el (cl-endp): Conform to CL's semantics.
7066 2014-05-18 Glenn Morris <rgm@gnu.org>
7069 * play/gametree.el: `track-mouse' is always defined since 2012-11-24.
7071 2014-05-14 Sam Steingold <sds@gnu.org>
7073 * progmodes/python.el (python-shell-get-or-create-process):
7074 Do not bind `current-prefix-arg' so that C-c C-z does not talk
7075 back unless requested.
7077 2014-05-14 Glenn Morris <rgm@gnu.org>
7079 * subr.el (with-file-modes): New macro.
7080 * printing.el (pr-save-file-modes): Make obsolete.
7081 * eshell/esh-util.el (eshell-with-file-modes): Make obsolete.
7082 * emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2):
7083 Add with-file-modes.
7084 * doc-view.el (doc-view-make-safe-dir):
7085 * epg.el (epg--start):
7086 * files.el (locate-user-emacs-file, make-temp-file)
7087 (backup-buffer-copy, move-file-to-trash):
7088 * printing.el (pr-despool-print, pr-call-process, pr-text2ps):
7089 * eshell/esh-util.el (eshell-with-private-file-modes)
7090 (eshell-make-private-directory):
7091 * net/browse-url.el (browse-url-mosaic):
7092 * obsolete/mailpost.el (post-mail-send-it):
7093 * obsolete/pgg-pgp.el (pgg-pgp-verify-region):
7094 * obsolete/pgg-pgp5.el (pgg-pgp5-verify-region):
7095 Use with-file-modes.
7097 * vc/emerge.el (emerge-make-temp-file): Simplify.
7099 2014-05-14 Stephen Berman <stephen.berman@gmx.net>
7100 Stefan Monnier <monnier@iro.umontreal.ca>
7102 * minibuffer.el (completion-pcm--merge-try): Merge trailing / with
7105 2014-05-14 Glenn Morris <rgm@gnu.org>
7107 * vc/emerge.el (emerge-temp-file-prefix):
7108 Make pointless option obsolete.
7109 (emerge-temp-file-mode): Make non-functional option obsolete.
7111 2014-05-14 Michael Albinus <michael.albinus@gmx.de>
7113 * net/browse-url.el (browse-url):
7114 Use `unhandled-file-name-directory' when setting `default-directory',
7115 in order to circumvent stalled remote connections. (Bug#17425)
7117 2014-05-14 Glenn Morris <rgm@gnu.org>
7119 * printing.el (subst-char-in-string, make-temp-file, pr-get-symbol):
7120 Optimize on Emacs, which has the relevant functions for ages.
7122 2014-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
7124 * simple.el (undo-make-selective-list): Obey undo-no-redo.
7126 2014-05-12 Sam Steingold <sds@gnu.org>
7128 * calendar/time-date.el (seconds-to-string): New function to
7129 pretty print time delay in seconds.
7131 2014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
7133 * mpc.el (mpc-format): Trim Date to the year.
7134 (mpc-songs-hashcons): Shorten the Date field.
7136 * emacs-lisp/nadvice.el (advice--interactive-form): Don't get fooled
7137 into autoloading just because of a silly indirection.
7139 2014-05-12 Santiago Payà i Miralta <santiagopim@gmail.com>
7141 * vc/vc-hg.el (vc-hg-unregister): New function. (Bug#17454)
7143 2014-05-12 Glenn Morris <rgm@gnu.org>
7145 * emacs-lisp/find-gc.el: Move to ../admin.
7147 * printing.el (pr-version):
7148 * ps-print.el (ps-print-version): Also mention bug-gnu-emacs.
7150 * net/browse-url.el (browse-url-mosaic):
7151 Create /tmp/Mosaic.PID as a private file.
7153 2014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
7155 * emacs-lisp/nadvice.el: Support adding a given function multiple times.
7156 (advice--member-p): If name is given, only compare the name.
7157 (advice--remove-function): Don't stop at the first match.
7158 (advice--normalize-place): New function.
7159 (add-function, remove-function): Use it.
7160 (advice--add-function): Pass the name, if any, to
7161 advice--remove-function.
7163 2014-05-12 Philipp Rumpf <prumpf@gmail.com> (tiny change)
7165 * electric.el (electric-indent-post-self-insert-function): Don't use
7166 `pos' after modifying the buffer (bug#17449).
7168 2014-05-12 Stephen Berman <stephen.berman@gmx.net>
7170 * calendar/todo-mode.el (todo-insert-item-from-calendar):
7171 Correct argument list to conform to todo-insert-item--basic.
7173 2014-05-12 Glenn Morris <rgm@gnu.org>
7175 * files.el (cd-absolute): Test if directory is accessible
7176 rather than executable. (Bug#17330)
7178 * progmodes/compile.el (recompile):
7179 Handle C-u M-x recompile from a non-compilation buffer. (Bug#17444)
7181 * net/browse-url.el (browse-url-mosaic):
7182 Be careful when writing /tmp/Mosaic.PID. (Bug#17428)
7183 This is CVE-2014-3423.
7185 2014-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
7187 * mouse.el: Use the normal toplevel loop while dragging.
7188 (mouse-set-point): Handle multi-clicks.
7189 (mouse-set-region): Handle multi-clicks for drags.
7190 (mouse-drag-region): Update call accordingly.
7191 (mouse-drag-track): Remove `do-mouse-drag-region-post-process' hack.
7192 Use the normal event loop instead of a local while/read-event loop.
7193 (global-map): Remove redundant bindings for double/triple-mouse-1.
7194 * xt-mouse.el (xterm-mouse-translate-1): Only process one event at a time.
7195 Generate synthetic down events when the protocol only sends up events.
7196 (xterm-mouse-last): Remove.
7197 (xterm-mouse--read-event-sequence-1000): Use xterm-mouse-last-down
7198 terminal parameter instead.
7199 (xterm-mouse--set-click-count): New function.
7200 (xterm-mouse-event): Detect/generate double/triple clicks.
7201 * reveal.el (reveal-close-old-overlays): Don't close while dragging.
7203 * info.el (Info-quoted): New face.
7204 (Info-mode-font-lock-keywords): New var.
7205 (Info-mode): Use it.
7207 * emacs-lisp/lisp-mode.el (preceding-sexp): Exclude leading "," which
7208 are a hindrance for C-x C-e.
7210 2014-05-11 Leo Liu <sdl.web@gmail.com>
7212 * net/rcirc.el (rcirc-sentinel): Fix last change.
7214 2014-05-08 Sam Steingold <sds@gnu.org>
7216 * net/rcirc.el (rcirc-reconnect-delay): New user option.
7217 (rcirc-sentinel): Auto-reconnect to the server if
7218 `rcirc-reconnect-delay' is non-0 (but not more often than its
7219 value in case the host is off-line).
7221 2014-05-09 Eli Zaretskii <eliz@gnu.org>
7223 * progmodes/grep.el (lgrep): Fix a typo in last commit.
7225 2014-05-09 Glenn Morris <rgm@gnu.org>
7227 * files.el (file-expand-wildcards):
7228 * man.el (Man-support-local-filenames):
7229 * printing.el (pr-i-directory, pr-interface-directory):
7230 * progmodes/grep.el (lgrep, rgrep):
7231 * textmodes/ispell.el (ispell-call-process)
7232 (ispell-call-process-region, ispell-start-process)
7233 (ispell-init-process): Use file-accessible-directory-p.
7235 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
7237 * xt-mouse.el: Drop spurious/oddly shaped events (bug#17378).
7238 (xterm-mouse--read-event-sequence-1000): Return nil if something
7240 (xterm-mouse-event): Propagate it.
7241 (xterm-mouse-translate-1): Handle it.
7243 2014-05-08 Stephen Berman <stephen.berman@gmx.net>
7245 * calendar/todo-mode.el (todo-insert-item--apply-args): When all
7246 four slots of the parameter list are filled, make sure to pass it
7247 to the argument list of todo-insert-item--basic.
7249 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
7251 * emacs-lisp/package.el (package-compute-transaction): Topological sort.
7252 Add optional `seen' argument to detect and break infinite loops.
7254 2014-05-08 Eli Zaretskii <eliz@gnu.org>
7256 * emacs-lisp/find-gc.el (find-gc-unsafe, find-unsafe-funcs)
7257 (trace-unsafe, trace-use-tree): Make parentheses style be
7258 according to Emacs style.
7260 2014-05-08 Michael Albinus <michael.albinus@gmx.de>
7262 * net/tramp-sh.el (tramp-remote-process-environment):
7263 Remove HISTFILE and HISTSIZE; it's too late to set them here.
7265 (tramp-open-shell): Do not let-bind `tramp-end-of-output'.
7266 Add "HISTFILE=/dev/null" to the shell's env arguments. Do not send
7267 extra "PSx=..." commands.
7268 (tramp-maybe-open-connection): Setenv HISTFILE to /dev/null.
7271 (tramp-uudecode): Replace the hard-coded temporary file name by a
7273 (tramp-remote-coding-commands): Enhance docstring.
7274 (tramp-find-inline-encoding): Replace "%t" by a temporary file
7276 This is CVE-2014-3424.
7278 2014-05-08 Glenn Morris <rgm@gnu.org>
7280 * emacs-lisp/find-gc.el (find-gc-source-directory): Give it a value.
7281 (find-gc-source-files): Update some names.
7282 (trace-call-tree): Simplify and update.
7283 Avoid predictable temp-file names. (http://bugs.debian.org/747100)
7284 This is CVE-2014-3422.
7286 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
7288 * minibuffer.el (completion--try-word-completion): Revert fix for
7289 Bug#15980 (bug#17375).
7291 * xt-mouse.el (xterm-mouse--read-event-sequence-1000): (bug#17378)
7292 Always store button numbers in the same way in xterm-mouse-last;
7293 Don't burp is xterm-mouse-last is not set as expected.
7294 Never return negative indices.
7296 2014-05-08 Dmitry Gutov <dgutov@yandex.ru>
7298 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
7299 Backtrack one char if the global/char-literal var matcher hits
7300 inside a string. The next char could be the beginning of an
7301 expression expansion.
7303 2014-05-08 Glenn Morris <rgm@gnu.org>
7305 * help-fns.el (describe-function-1): Test for an autoload before a
7306 macro, since `macrop' works on autoloads. (Bug#17410)
7308 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
7310 * electric.el (electric-indent-functions-without-reindent): Add yaml.
7312 * minibuffer.el (completion-table-with-quoting) <completion--unquote>:
7313 Make sure the new point we return is within the new string (bug#17239).
7315 2014-05-05 Daniel Colascione <dancol@dancol.org>
7317 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7318 Port `gnu' pattern to rx.
7320 2014-05-05 Jarek Czekalski <jarekczek@poczta.onet.pl>
7322 Remove unneeded prompt when closing a buffer with active
7323 emacsclient ("Buffer ... still has clients"), #16548.
7324 * server.el (server-start): Remove the only call to:
7325 (server-kill-buffer-query-function): Remove.
7327 2014-05-04 Leo Liu <sdl.web@gmail.com>
7329 * calendar/diary-lib.el (calendar-chinese-month-name-array):
7330 Defvar to pacify compiler.
7332 2014-05-04 Eli Zaretskii <eliz@gnu.org>
7334 * mail/rmailsum.el (rmail-new-summary-1): Fix a typo in a comment.
7336 2014-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
7338 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
7339 Use nil rather than `default' for the "default" appearance (bug#17388).
7340 * vc/ediff-util.el (ediff-inferior-compare-regions)
7341 (ediff-toggle-autorefine, ediff-unselect-difference): Don't use
7342 a misleading `default' value when it's really a boolean.
7343 * vc/ediff-init.el (ediff-set-overlay-face): Don't set help-echo if the
7344 overlay is not visible.
7346 2014-05-04 Stephen Berman <stephen.berman@gmx.net>
7348 * calendar/todo-mode.el (todo-edit-file): Use display-warning.
7349 (todo-menu): Uncomment and update.
7351 2014-05-04 Stephen Berman <stephen.berman@gmx.net>
7353 * calendar/todo-mode.el: Reimplement item editing to have the same
7354 basic user interface as item insertion, and make small UI and
7355 larger internal improvements to the latter.
7356 (todo-insert-item): Add reference to the Todo mode user manual to
7357 the documentation string.
7358 (todo-insert-item--basic): Rename from todo-basic-insert-item and
7359 adjust all callers. Change signature to combine diary and
7360 nonmarking arguments. Incorporate functionality of deleted item
7361 copying command and add error checking. Remove detailed
7362 descriptions of the arguments from the documentation string, since
7363 this is treated in the Todo mode user manual.
7364 (todo-copy-item, todo-edit-multiline-item)
7365 (todo-edit-done-item-comment, todo-edit-item-header)
7366 (todo-edit-item-time, todo-edit-item-date-from-calendar)
7367 (todo-edit-item-date-to-today, todo-edit-item-date-day-name)
7368 (todo-edit-item-date-year, todo-edit-item-date-month)
7369 (todo-edit-item-date-day, todo-edit-item-diary-nonmarking):
7371 (todo-edit-item): Reimplement as wrapper command for
7372 todo-edit-item--next-key and make it distinguish done and not done
7374 (todo-edit-item--text): New function, replacing old command
7375 todo-edit-item and incorporating deleted commands
7376 todo-edit-multiline-item and todo-edit-done-item-comment.
7377 (todo-edit-item--header): Rename from todo-basic-edit-item-header.
7378 Use only numeric value of prefix argument. Remove detailed
7379 descriptions of the arguments from the documentation string, since
7380 this is treated in the Todo mode user manual.
7381 (todo-edit-item--diary-inclusion): New function, replacing old
7382 command todo-edit-item-diary-inclusion and incorporating and fixing
7383 functionality of deleted command todo-edit-item-diary-nonmarking,
7384 making sure to remove todo-nondiary-marker when adding
7385 diary-nonmarking-symbol.
7386 (todo-edit-category-diary-inclusion): Make sure to delete
7387 diary-nonmarking-symbol when adding todo-nondiary-marker.
7388 (todo-edit-category-diary-nonmarking): Fix indentation.
7389 (todo-insert-item--parameters): Group diary and nonmarking
7390 parameters together.
7391 (todo-insert-item--apply-args): Adjust to signature of
7392 todo-insert-item--basic and incorporate copy parameter.
7393 Make small code improvements.
7394 (todo-insert-item--next-param): Improve prompt and adjust it to
7395 new parameter grouping. Remove obsolete code.
7396 (todo-edit-item--param-key-alist)
7397 (todo-edit-item--date-param-key-alist)
7398 (todo-edit-done-item--param-key-alist): New defconsts.
7399 (todo-edit-item--prompt): New variable.
7400 (todo-edit-item--next-key): New function.
7401 (todo-key-bindings-t): Bind "e" to todo-edit-item.
7402 Remove bindings of deleted commands.
7404 2014-05-04 Leo Liu <sdl.web@gmail.com>
7406 * emacs-lisp/cl-macs.el (cl-deftype): Fix indentation.
7408 2014-05-04 Glenn Morris <rgm@gnu.org>
7410 * allout-widgets.el (allout-widgets-tally)
7411 (allout-decorate-item-guides):
7412 * menu-bar.el (menu-bar-positive-p):
7413 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
7414 * progmodes/gdb-mi.el (gdbmi-same-start, gdbmi-is-number):
7415 * progmodes/js.el (js--inside-param-list-p)
7416 (js--inside-dojo-class-list-p, js--forward-destructuring-spec):
7417 * progmodes/prolog.el (region-exists-p):
7418 * progmodes/verilog-mode.el (verilog-scan-cache-ok-p):
7419 * textmodes/reftex-parse.el (reftex-using-biblatex-p):
7420 Doc fixes (replace `iff').
7422 2014-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
7424 * mpc.el (mpc-volume-mouse-set): Don't burp at the boundaries.
7426 2014-05-04 Leo Liu <sdl.web@gmail.com>
7428 Support Chinese diary entries in calendar and diary. (Bug#17393)
7429 * calendar/cal-china.el (calendar-chinese-month-name-array): New var.
7430 (calendar-chinese-from-absolute-for-diary)
7431 (calendar-chinese-to-absolute-for-diary)
7432 (calendar-chinese-mark-date-pattern, diary-chinese-mark-entries)
7433 (diary-chinese-list-entries): New functions to list and mark
7434 Chinese diary entries in the calendar window.
7435 (diary-chinese-anniversary)
7436 (diary-chinese-insert-anniversary-entry)
7437 (diary-chinese-insert-entry, diary-chinese-insert-monthly-entry)
7438 (diary-chinese-insert-yearly-entry): New commands to insert
7439 Chinese diary entries.
7441 * calendar/diary-lib.el (diary-font-lock-keywords):
7442 Support font-locking Chinese dates.
7444 * calendar/cal-menu.el (cal-menu-diary-menu): Add entries for
7445 inserting Chinese diary entries.
7447 * calendar/calendar.el (diary-chinese-entry-symbol):
7448 New customizable variable.
7449 (calendar-mode-map): Add bindings for inserting Chinese diary
7452 2014-05-03 Juri Linkov <juri@jurta.org>
7454 * dired.el (dired-check-switches, dired-switches-recursive-p):
7455 New functions. (Bug#17218)
7456 (dired-switches-escape-p, dired-move-to-end-of-filename):
7457 Use `dired-check-switches'.
7458 (dired-insert-old-subdirs, dired-build-subdir-alist)
7459 (dired-sort-R-check): Use `dired-switches-recursive-p'.
7461 2014-05-01 Barry O'Reilly <gundaetiapo@gmail.com>
7463 * simple.el (undo-make-selective-list): New algorithm fixes
7464 incorrectness of position adjustments when undoing in region.
7466 (undo-elt-crosses-region): Make obsolete.
7467 (undo-adjust-elt, undo-adjust-beg-end, undo-adjust-pos):
7468 New functions to adjust positions using undo-deltas.
7470 2014-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
7472 * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): Only highlight past
7473 the last consecutive closing paren (bug#17345).
7475 2014-04-30 Reuben Thomas <rrt@sc3d.org>
7477 * dired.el (dired-mode): make terminology for eXpunge command
7478 consistent. (Bug#17276)
7480 2014-04-30 Eli Zaretskii <eliz@gnu.org>
7482 * dired.el (dired-initial-position-hook, dired-initial-position):
7485 2014-04-30 Glenn Morris <rgm@gnu.org>
7487 * mail/rmail.el (rmail-quit): Handle killed summaries. (Bug#17283)
7489 2014-04-30 Matthias Dahl <matthias.dahl@binary-island.eu>
7491 * faces.el (face-spec-recalc): Apply X resources only after the
7492 defface spec has been applied. Thus, X resources are no longer
7493 overriden by the defface spec which also fixes issues on win32 where
7494 the toolbar coloring was wrong because it is set through X resources
7495 and was (wrongfully) overriden. (Bug#16694)
7497 2014-04-30 Stefan Monnier <monnier@iro.umontreal.ca>
7499 * textmodes/rst.el (electric-pair-pairs): Declare.
7500 (rst-mode): Set it (bug#17131).
7502 2014-04-30 Juri Linkov <juri@jurta.org>
7504 * desktop.el (desktop-value-to-string): Let-bind `print-length'
7505 and `print-level' to nil. (Bug#17351)
7507 2014-04-30 Nicolas Richard <theonewiththeevillook@yahoo.fr>
7509 * battery.el (battery-update): Handle the case where battery
7510 status is "N/A" (bug#17319).
7512 2014-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
7514 * progmodes/ps-mode.el: Use SMIE. Move string and comment recognition
7515 to syntax-propertize.
7516 (ps-mode-auto-indent): Mark as obsolete.
7517 (ps-mode-font-lock-keywords-1): Remove string-or-comment handling.
7518 (ps-mode-font-lock-keywords-3): Use symbol regexp operators instead of
7519 word regexp operators.
7520 (ps-mode-map): Move initialization into declaration. Remove binding
7521 for TAB, RET, >, ], and }.
7522 (ps-mode-syntax-table): Move initialization into declaration.
7523 Don't give word syntax to non-word chars.
7524 (ps-run-mode-map): Move initialization into declaration.
7525 (ps-mode-menu-main): Remove auto-indent entry.
7526 (ps-mode-smie-rules): New function.
7527 (ps-mode): Setup smie, syntax-propertize, and electric-indent-mode.
7528 (ps-mode-looking-at-nested, ps-mode-match-string-or-comment): Remove.
7529 (ps-mode--string-syntax-table): New const.
7530 (ps-mode--syntax-propertize-special, ps-mode-syntax-propertize):
7532 (ps-mode-newline, ps-mode-tabkey, ps-mode-r-brace, ps-mode-r-angle)
7533 (ps-mode-r-gt, ps-mode-r-balance): Remove functions.
7535 2014-04-27 Daniel Colascione <dancol@dancol.org>
7537 * term/xterm.el (xterm-paste): Use large finite timeout when
7538 reading event to avoid putting keys in this-command-keys.
7540 2014-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
7542 * progmodes/perl-mode.el (perl--syntax-exp-intro-regexp): New var.
7543 (perl-syntax-propertize-function): Use it. Extend handling of
7544 here-docs to the unquoted case.
7546 2014-04-25 Eli Zaretskii <eliz@gnu.org>
7548 * tooltip.el (tooltip-show-help-non-mode, tooltip-show-help):
7549 Use equal-including-properties to compare help-echo strings (bug#17331).
7551 2014-04-25 Leo Liu <sdl.web@gmail.com>
7553 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
7554 Fix syntax for @. (Bug#17325)
7556 2014-04-25 Daniel Colascione <dancol@dancol.org>
7558 * emacs-lisp/cl.el (gv): Require gv early to break eager
7559 macro-expansion cycles.
7561 2014-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
7563 * simple.el (region-active-p): Check there's a mark (bug#17324).
7565 * simple.el (completion-list-mode-map): Use choose-completion for the
7566 mouse binding as well (bug#17302).
7567 (completion-list-mode, completion-setup-function): Adjust docstring and
7568 echo area message accordingly.
7569 * progmodes/idlwave.el (idlwave-choose-completion): Adjust to new
7570 calling convention of choose-completion.
7571 * comint.el (comint-dynamic-list-completions):
7572 * term.el (term-dynamic-list-completions): Accept choose-completion.
7574 * progmodes/perl-mode.el (perl-syntax-propertize-function): Slash after
7575 &, |, +, - and * can't be a division (bug#17317).
7577 * term/xterm.el (xterm--version-handler): Don't use modern xterm
7578 features on gnome-terminal (bug#16988).
7580 2014-04-25 Thien-Thi Nguyen <ttn@gnu.org>
7582 Improve Scheme font-locking for (define ((foo ...) ...) ...).
7584 * progmodes/scheme.el (scheme-font-lock-keywords-1): To find
7585 the declared object, ignore zero or more parens, not zero or one.
7587 2014-04-24 Leo Liu <sdl.web@gmail.com>
7589 * progmodes/xscheme.el (xscheme-expressions-ring)
7590 (xscheme-expressions-ring-yank-pointer, xscheme-running-p)
7591 (xscheme-control-g-disabled-p, xscheme-process-filter-state)
7592 (xscheme-allow-output-p, xscheme-prompt)
7593 (xscheme-string-accumulator, xscheme-mode-string): Use defvar-local.
7595 * progmodes/scheme.el (would-be-symbol, next-sexp-as-string):
7596 Comment out unused functions.
7598 2014-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
7600 * info.el: Use lexical-binding and cl-lib.
7601 Use defvar-local and setq-local instead of make-local-variable.
7602 (Info-apropos-matches): Avoid add-to-list.
7603 (Info-edit-mode-map): Fix obsolescence call to Info-edit-map.
7605 2014-04-24 Daniel Colascione <dancol@dancol.org>
7607 * progmodes/sh-script.el (sh-builtins): Add coproc to list of bash builtins.
7609 2014-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
7611 * emacs-lisp/cl-macs.el (cl--loop-let): Fix last merge.
7613 2014-04-22 Michael Heerdegen <michael_heerdegen@web.de>
7615 * dired.el (dired-insert-set-properties): Do not consider
7616 subdirectory headings and empty lines to be information that
7617 `dired-hide-details-mode' should hide. (Bug#17228)
7619 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
7621 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
7622 Remove test messages.
7623 (tramp-do-copy-or-rename-file-out-of-band): Do not quote `source'
7626 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
7628 * dframe.el (dframe-get-focus): Remove `hook' argument (bug#17311).
7629 * speedbar.el (speedbar-get-focus): Run the "hook" afterwards instead.
7631 * emacs-lisp/cl-macs.el (cl--loop-let): Avoid `nil' as var name.
7633 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
7635 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
7636 Set "IFS=" when using read builtin, in order to preserve spaces in
7637 the file name. Add test messages for hunting a bug on hydra.
7638 (tramp-get-ls-command): Undo using "-b" argument. It doesn't help.
7640 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
7642 * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
7643 Don't prettify a word within a symbol.
7645 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
7647 * net/tramp-sh.el (tramp-get-ls-command): Use "-b" argument if
7650 2014-04-22 Daniel Colascione <dancol@dancol.org>
7652 * emacs-lisp/byte-run.el (function-put): Unbreak build: don't
7653 use defun to define `function-put'.
7655 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
7657 * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): New function.
7658 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords-2): Use it.
7659 (lisp-mode-variables): Set font-lock-extra-managed-props.
7661 * emacs-lisp/byte-run.el (function-put): New function.
7662 (defun-declarations-alist): Use it. Add `pure' and `side-effect-free'.
7663 * emacs-lisp/cl-macs.el (cl-defstruct, cl-struct-sequence-type)
7664 (cl-struct-slot-info, cl-struct-slot-offset, cl-struct-slot-value):
7667 2014-04-22 Daniel Colascione <dancol@dancol.org>
7669 * emacs-lisp/macroexp.el (internal-macroexpand-for-load):
7670 Add `full-p' parameter; when nil, call `macroexpand' instead of
7673 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
7676 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
7677 Use lambda function values, not quoted lambdas.
7678 (byte-compile-recurse-toplevel): Remove extraneous &optional.
7680 * emacs-lisp/cl-macs.el
7681 (cl-struct-sequence-type, cl-struct-slot-info): Declare pure.
7682 (cl-struct-slot-value): Conditionally use aref or nth so that the
7683 compiler produces optimal code.
7685 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
7687 * emacs-lisp/cl-macs.el (cl-struct-slot-offset): Mark as pure.
7688 (inline): Don't inline cl--set-elt.
7689 (cl-struct-slot-value): Remove explicit gv-setter and compiler-macro.
7690 Define as inlinable instead.
7691 (cl-struct-set-slot-value): Remove.
7693 * emacs-lisp/cl-lib.el (cl--set-elt): Remove.
7694 * emacs-lisp/cl-seq.el (cl-replace, cl-substitute, cl-nsubstitute):
7697 2014-04-21 Daniel Colascione <dancol@dancol.org>
7699 * emacs-lisp/cl-macs.el (cl--const-expr-val): We didn't need the
7700 last two parameters after all.
7701 (cl--expr-contains,cl--compiler-macro-typep,cl--compiler-macro-member)
7702 (cl--compiler-macro-assoc,cl-struct-slot-value)
7703 (cl-struct-set-slot-value): Stop using them.
7705 (2014-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
7707 * image-mode.el (image-mode-window-put): Don't assume there's a `t'
7708 entry in image-mode-winprops-alist.
7710 2014-04-21 Daniel Colascione <dancol@dancol.org>
7712 * emacs-lisp/bytecomp.el (byte-compile-recurse-toplevel): New function.
7713 (byte-compile-recurse-toplevel, byte-compile-initial-macro-environment)
7714 (byte-compile-toplevel-file-form): Use it.
7716 * emacs-lisp/cl-macs.el:
7717 (cl--loop-let): Properly destructure `while' clauses.
7719 2014-04-20 Daniel Colascione <dancol@dancol.org>
7721 * vc/vc.el (vc-root-dir): New public autoloaded function for
7722 generically finding the current VC root.
7723 * vc/vc-hooks.el (vc-not-supported): New error.
7724 (vc-call-backend): Signal `vc-not-supported' instead of generic error.
7726 2014-04-20 Daniel Colascione <dancol@dancol.org>
7728 * emacs-lisp/cl-macs.el (cl-the): Make `cl-the' assert its type
7730 (cl--const-expr-val): cl--const-expr-val should macroexpand its
7731 argument in case we're inside a symbol-macrolet.
7732 (cl--do-arglist, cl--compiler-macro-typep)
7733 (cl--compiler-macro-member, cl--compiler-macro-assoc): Pass macro
7734 environment to `cl--const-expr-val'.
7735 (cl-struct-sequence-type,cl-struct-slot-info)
7736 (cl-struct-slot-offset, cl-struct-slot-value)
7737 (cl-struct-set-slot-value): New functions.
7739 2014-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
7741 * progmodes/sh-script.el (sh-smie--sh-keyword-p): Handle variable
7742 assignments such as "case=hello" (bug#17297).
7744 2014-04-18 Michael Albinus <michael.albinus@gmx.de>
7746 * net/tramp.el (tramp-run-real-handler, tramp-file-name-handler):
7748 (tramp-file-name-handler, tramp-completion-file-name-handler):
7749 Revert patch from 2014-04-10, it isn't necessary anymore.
7750 (tramp-autoload-file-name-handler)
7751 (tramp-register-autoload-file-name-handlers): New defuns.
7752 (top): Autoload call of `tramp-register-autoload-file-name-handlers'.
7753 (tramp-register-file-name-handlers): Remove also
7754 `tramp-autoload-file-name-handler' from `file-name-handler-list'.
7755 Do not autoload its invocation, but eval it after loading of 'tramp.
7757 * net/tramp-adb.el (tramp-unload-hook): Unload `tramp-adb'.
7759 * net/tramp-compat.el (tramp-unload-hook): Unload `tramp-loaddefs'.
7761 2014-04-17 Daniel Colascione <dancol@dancol.org>
7763 Add support for bracketed paste mode; add infrastructure for
7764 managing terminal mode enabling and disabling automatically.
7767 (xterm-mouse-mode): Simplify.
7768 (xterm-mouse-tracking-enable-sequence)
7769 (xterm-mouse-tracking-disable-sequence): New constants.
7770 (turn-on-xterm-mouse-tracking-on-terminal)
7771 (turn-off-xterm-mouse-tracking-on-terminal):
7772 Use tty-mode-set-strings and tty-mode-reset-strings terminal
7773 parameters instead of random hooks.
7774 (turn-on-xterm-mouse-tracking)
7775 (turn-off-xterm-mouse-tracking): Delete.
7777 * term/xterm.el (xterm-extra-capabilities): Fix bitrotted comment.
7778 (xterm-paste-ending-sequence): New constant.
7779 (xterm-paste): New command used for bracketed paste support.
7781 (xterm-modify-other-keys-terminal-list): Delete obsolete variable.
7782 (terminal-init-xterm-bracketed-paste-mode): New function.
7783 (terminal-init-xterm): Call it.
7784 (terminal-init-xterm-modify-other-keys): Use tty-mode-set-strings
7785 and tty-mode-reset-strings instead of random hooks.
7786 (xterm-turn-on-modify-other-keys)
7787 (xterm-turn-off-modify-other-keys)
7788 (xterm-remove-modify-other-keys): Delete obsolete functions.
7790 * term/screen.el: Rewrite to just use the xterm code.
7791 Add copyright notice. Mention tmux.
7793 2014-04-17 Ian D <dunni@gnu.org> (tiny change)
7795 * image-mode.el (image-mode-window-put): Also update the property of
7796 the "default window".
7797 * doc-view.el (doc-view-new-window-function): If no window
7798 exists, move to the last known page.
7800 2014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
7802 * progmodes/perl-mode.el (perl-calculate-indent): Don't auto-indent in
7803 here-documents (bug#17262).
7805 2014-04-16 Eli Zaretskii <eliz@gnu.org>
7807 * term/pc-win.el (x-list-fonts, x-get-selection-value):
7808 Provide doc strings, as required by snarf-documentation.
7810 2014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
7812 * ps-def.el (ps-generate-postscript-with-faces1): Use the new `sorted'
7813 arg of overlays-at. Use `invisible-p'.
7815 * obsolete/lucid.el (extent-at):
7816 * htmlfontify.el (hfy-overlay-props-at): Use the new `sorted' arg of
7818 (hfy-fontify-buffer): Remove unused var `orig-ovls'.
7820 2014-04-16 João Távora <joaotavora@gmail.com>
7822 * net/shr.el (shr-expand-url): Use `expand-file-name' for relative
7825 2014-04-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
7827 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
7828 Use mapc to loop over a vector. (Bug#17257).
7830 2014-04-16 Michael Albinus <michael.albinus@gmx.de>
7832 * net/tramp-sh.el (tramp-sh-handle-file-truename): Revert previous
7833 patch, there are new problems with file names containing spaces.
7834 Get rid of backticks. (Bug#17238)
7836 2014-04-16 João Távora <joaotavora@gmail.com>
7838 * elec-pair.el (electric-pair--syntax-ppss): Simplify and fix
7841 2014-04-16 Eli Zaretskii <eliz@gnu.org>
7843 * frame.el (blink-cursor-blinks, blink-cursor-blinks-done): Doc fixes.
7844 (blink-cursor-mode): Mention customization variables and the
7845 effect of 'blink-cursor-blinks'.
7847 2014-04-16 Barry O'Reilly <gundaetiapo@gmail.com>
7849 * simple.el (undo): Prevent insertion of identity mapping into
7850 undo-equiv-table so as undo-only does not inf loop in the presence
7851 of consecutive nils in undo list.
7853 2014-04-16 Matthias Dahl <matthias.dahl@binary-island.eu>
7855 * faces.el (make-face): Deprecate optional argument as it is no
7856 longer needed/used since the conditional X resources handling
7857 has been pushed down to make-face-x-resource-internal itself.
7858 (make-empty-face): Don't pass optional argument to make-face.
7860 2014-04-16 Karl Fogel <kfogel@red-bean.com>
7862 * savehist.el (savehist-save): Remove workaround for a read-passwd
7863 bug that was fixed before 24.3. Thanks to Juanma Barranquero for
7864 noticing that the shim was still present.
7866 2014-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
7868 * doc-view.el (doc-view-set-doc-type): Ignore file name case; add .pps.
7870 2014-04-14 Juanma Barranquero <lekktu@gmail.com>
7872 * faces.el (face-set-after-frame-default): Remove unused local variable.
7874 2014-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
7876 * progmodes/grep.el: Use lexical-binding.
7877 (grep-expand-template): Pass explicit lexical env to `eval'.
7878 (zrgrep): Let-bind grep-find-template explicitly.
7880 * emacs-lisp/cl-lib.el (current-case-table): Remove setter.
7881 * leim/quail/sisheng.el (sisheng-list): Use with-case-table.
7883 2014-04-12 Eli Zaretskii <eliz@gnu.org>
7885 * international/characters.el <standard-case-table>: Add entries
7886 for letters from the Coptic block u+2C80-u+2CFF. (Bug#17243)
7887 Set category of Coptic characters be 'g' (Greek).
7889 2014-04-12 Leo Liu <sdl.web@gmail.com>
7891 * progmodes/octave.el (completion-table-with-cache):
7892 Define if not available.
7893 (octave-goto-function-definition, octave-sync-function-file-names)
7894 (octave-find-definition-default-filename):
7895 Backquote upattern for compatibility.
7897 2014-04-12 Michael Albinus <michael.albinus@gmx.de>
7899 * net/tramp-sh.el (tramp-sh-handle-file-truename): Quote the file
7900 name twice due to backticks. (Bug#17238)
7902 2014-04-12 Glenn Morris <rgm@gnu.org>
7904 * term/w32-win.el (x-win-suspend-error):
7905 * term/x-win.el (x-win-suspend-error): Sync docs.
7907 2014-04-12 Matthias Dahl <matthias.dahl@binary-island.eu>
7909 * faces.el (make-face): Remove deprecated optional argument.
7910 The conditional application of X resources is handled directly by
7911 make-face-x-resource-internal since Emacs 24.4.
7912 (make-empty-face): Don't pass optional argument to make-face.
7914 2014-04-11 Glenn Morris <rgm@gnu.org>
7916 * Makefile.in (EMACSDATA, EMACSDOC, EMACSPATH): Unexport. (Bug#16429)
7918 2014-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
7920 Ediff's overlay priorities cause more trouble than they solve.
7921 * vc/ediff-init.el (ediff-shadow-overlay-priority): Remove variable.
7922 (ediff-highest-priority): Remove function (bug#17234).
7923 * vc/ediff-util.el (ediff-highlight-diff-in-one-buffer):
7924 * vc/ediff-diff.el (ediff-set-diff-overlays-in-one-buffer)
7925 (ediff-set-fine-diff-properties-in-one-buffer): Don't mess with
7928 2014-04-11 Feng Li <fengli@gmail.com> (tiny change)
7930 * progmodes/pascal.el (pascal-font-lock-keywords): Fix incorrect format
7931 entry; use symbol boundaries to avoid mis-matches.
7933 2014-04-11 Michael Albinus <michael.albinus@gmx.de>
7935 * net/tramp.el (tramp-file-name-handler)
7936 (tramp-completion-file-name-handler): Avoid recursive loading.
7938 * net/tramp-sh.el (tramp-make-copy-program-file-name):
7939 Quote result also locally.
7941 2014-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
7943 * emulation/cua-base.el (<toplevel>, cua--pre-command-handler-1):
7944 Remove left-over code.
7946 * newcomment.el (comment-indent-new-line): Sink code where it's used.
7947 Reuse the previous comment's indentation unconditionally if it's on its
7950 2014-04-09 Daniel Colascione <dancol@dancol.org>
7952 * emacs-lisp/lisp.el (backward-up-list): Add `escape-strings',
7953 `no-syntax-crossing' arguments. Forward to `up-list'.
7954 (up-list): Add `escape-strings', `no-syntax-crossing' arguments.
7955 Implement logic for escaping from strings. Use narrowing to deal
7958 2014-04-09 Leo Liu <sdl.web@gmail.com>
7960 * net/rcirc.el (rcirc-connection-info): New variable.
7961 (rcirc-connect): Use it to store connection info.
7962 (rcirc-buffer-process): Avoid get-buffer-process which returns nil
7964 (rcirc-cmd-reconnect): New command. (Bug#17045)
7965 (rcirc-mode, set-rcirc-encode-coding-system)
7966 (set-rcirc-decode-coding-system, rcirc-connect): Use setq-local.
7968 2014-04-09 Daniel Colascione <dancol@dancol.org>
7970 * emacs-lisp/cl-indent.el: Add comment claiming
7971 facility is also good for elisp.
7972 (lisp-indent-find-method): New function.
7973 (common-lisp-indent-function): Recognize cl-loop.
7974 (common-lisp-indent-function-1): Recognize cl constructs; use
7975 `lisp-indent-find-method' instead of `get' directly.
7976 (if): Use else-body style for elisp.
7978 2014-04-09 Dmitry Gutov <dgutov@yandex.ru>
7980 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
7981 Module methods. (Bug#17216)
7983 2014-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
7985 * help.el (describe-bindings): Fix buffer handling (bug#17210).
7986 (describe-bindings-internal): Mark obsolete.
7988 2014-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
7990 * subr.el (with-silent-modifications): Don't bind deactivate-mark,
7991 buffer-file-name, and buffer-file-truename any more.
7993 2014-04-08 Leo Liu <sdl.web@gmail.com>
7995 Use lexical-binding and require cl-lib.
7996 * net/rcirc.el (rcirc, rcirc-handler-ctcp-KEEPALIVE)
7997 (rcirc-handler-generic, rcirc-fill-paragraph)
7998 (rcirc-format-response-string, rcirc-target-buffer)
7999 (rcirc-last-line, rcirc-record-activity, rcirc-split-activity)
8000 (rcirc-activity-string, rcirc-make-trees, rcirc-cmd-ctcp)
8001 (rcirc-ctcp-sender-PING, rcirc-browse-url)
8002 (rcirc-markup-timestamp, rcirc-markup-attributes)
8003 (rcirc-markup-my-nick, rcirc-markup-urls)
8004 (rcirc-markup-bright-nicks, rcirc-markup-fill)
8005 (rcirc-check-auth-status, rcirc-handler-WALLOPS)
8006 (rcirc-handler-JOIN, rcirc-handler-PART-or-KICK)
8007 (rcirc-handler-PART, rcirc-handler-KICK, rcirc-handler-QUIT)
8008 (rcirc-handler-NICK, rcirc-handler-PING, rcirc-handler-PONG)
8009 (rcirc-handler-TOPIC, rcirc-handler-301, rcirc-handler-317)
8010 (rcirc-handler-332, rcirc-handler-333, rcirc-handler-477)
8011 (rcirc-handler-MODE, rcirc-handler-353, rcirc-handler-366)
8012 (rcirc-authenticate, rcirc-handler-INVITE, rcirc-handler-ERROR)
8013 (rcirc-handler-ctcp-VERSION, rcirc-handler-ctcp-TIME)
8014 (rcirc-handler-CTCP-response): Fix unused arguments warnings and
8017 2014-04-07 João Távora <joaotavora@gmail.com>
8019 * elec-pair.el (electric-pair--syntax-ppss):
8020 When inside comments parse from comment beginning.
8021 (electric-pair--balance-info): Fix typo in comment.
8022 (electric-pair--in-unterminated-string-p): Delete.
8023 (electric-pair--unbalanced-strings-p): New function.
8024 (electric-pair-string-bound-function): New var.
8025 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
8026 according to `electric-pair--in-unterminated-string-p'
8028 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
8029 Inhibit quote pairing if point-max is inside an unterminated string.
8030 (electric-pair--looking-at-unterminated-string-p): Delete.
8031 (electric-pair--in-unterminated-string-p): New function.
8033 2014-04-07 Glenn Morris <rgm@gnu.org>
8035 * shell.el (shell-directory-tracker):
8036 Go back to just ignoring failures. (Bug#17159)
8038 2014-04-07 João Távora <joaotavora@gmail.com>
8040 Fix `electric-pair-delete-adjacent-pairs' in modes binding
8041 backspace. (Bug#16981)
8042 * elec-pair.el (electric-pair-backward-delete-char): Delete.
8043 (electric-pair-backward-delete-char-untabify): Delete.
8044 (electric-pair-mode-map): Bind backspace to a menu item filtering
8045 a new `electric-pair-delete-pair' command.
8046 (electric-pair-delete-pair): New command.
8048 * progmodes/python.el (python-electric-pair-string-delimiter):
8049 Fix triple-quoting electricity. (Bug#17192)
8051 * elec-pair.el (electric-pair-post-self-insert-function):
8052 Don't skip whitespace when `electric-pair-text-pairs' and
8053 `electric-pair-pairs' were used. syntax to
8054 electric-pair--skip-whitespace. (Bug#17183)
8056 2014-04-07 Eli Zaretskii <eliz@gnu.org>
8058 * leim/quail/ipa.el (ipa-x-sampa): Fix the character produced for
8061 2014-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
8063 * mpc.el (mpc--status-timer-run): Disable timer if not displayed.
8064 (mpc--status-idle-timer-run): Use mpc--status-timer-run.
8066 2014-04-07 Glenn Morris <rgm@gnu.org>
8068 * help.el (view-lossage): Doc tweak.
8070 2014-04-07 Matthias Dahl <ml_emacs-lists@binary-island.eu>
8072 * faces.el (face-spec-recalc): Call make-face-x-resource-internal
8073 only when inhibit-x-resources is nil, and do that earlier in the
8074 function. Doc fix. (Bug#16694)
8075 (face-spec-choose): Accept additional optional argument, whose
8076 value is returned if no matching attributes are found.
8077 (face-spec-recalc): Use the new optional argument when calling
8078 face-spec-choose. (Bug#16378)
8079 (make-face-x-resource-internal): Do nothing when
8080 inhibit-x-resources is non-nil. Don't touch the default face if
8081 reversed video is given--as was done in previous versions of Emacs.
8082 (face-set-after-frame-default): Don't call
8083 make-face-x-resource-internal here. (Bug#16434)
8085 2014-04-07 Tassilo Horn <tsdh@gnu.org>
8087 * doc-view.el (doc-view-bookmark-jump):
8088 Use `bookmark-after-jump-hook' to jump to the right page after the
8089 buffer is shown in a window. (bug#16090)
8091 2014-04-07 Eli Zaretskii <eliz@gnu.org>
8093 * international/characters.el (mirroring): Fix last change:
8094 instead of loading uni-mirrored.el explicitly, do that implicitly
8095 by creating the 'mirroring' uniprop table. This avoids announcing
8096 the loading of uni-mirrored.el.
8098 2014-04-07 Glenn Morris <rgm@gnu.org>
8100 * files.el (buffer-stale--default-function)
8101 (buffer-stale-function, revert-buffer--default):
8102 * autorevert.el (auto-revert-buffers): Doc tweaks.
8104 2014-04-07 Eli Zaretskii <eliz@gnu.org>
8106 * international/characters.el: Preload uni-mirrored.el. (Bug#17169)
8108 2014-04-07 Glenn Morris <rgm@gnu.org>
8110 * files.el (make-backup-file-name-function)
8111 (make-backup-file-name, make-backup-file-name--default-function)
8112 (make-backup-file-name-1, find-backup-file-name)
8113 (revert-buffer-function, revert-buffer-insert-file-contents-function)
8114 (buffer-stale--default-function, buffer-stale-function)
8115 (before-revert-hook, after-revert-hook, revert-buffer-in-progress-p)
8116 (revert-buffer, revert-buffer--default)
8117 (revert-buffer-insert-file-contents--default-function):
8118 Doc fixes related to defaults no longer being nil.
8119 (make-backup-file-name-function): Bump :version.
8120 Restore nil as a valid but deprecated custom type.
8122 2014-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
8124 * progmodes/perl-mode.el (perl-syntax-propertize-function):
8125 Handle $' used as a variable (bug#17174).
8127 * progmodes/perl-mode.el (perl-indent-new-calculate):
8128 Handle forward-sexp failure (bug#16985).
8129 (perl-syntax-propertize-function): Add "foreach" and "for" statement
8130 modifiers introducing expressions (bug#17116).
8132 2014-04-06 Stefan Monnier <monnier@iro.umontreal.ca>
8134 * dired-aux.el (dired-file-set-difference): Use lexical-scoping.
8136 2014-04-05 Leo Liu <sdl.web@gmail.com>
8138 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
8139 Add define-compilation-mode.
8141 2014-04-04 João Távora <joaotavora@gmail.com>
8143 * elec-pair.el (electric-pair--syntax-ppss): When inside comments
8144 parse from comment beginning.
8145 (electric-pair--balance-info): Fix typo in comment.
8146 (electric-pair--in-unterminated-string-p): Delete.
8147 (electric-pair--unbalanced-strings-p): New function.
8148 (electric-pair-string-bound-function): New var.
8149 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
8150 according to `electric-pair--in-unterminated-string-p'.
8152 2014-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
8154 * textmodes/reftex-parse.el (reftex--index-tags): Rename `index-tags'.
8155 Move declaration before first use.
8156 (reftex-move-to-next-arg): Silence compiler warning.
8158 2014-04-04 Joost Kremers <joostkremers@fastmail.fm> (tiny change)
8160 * textmodes/reftex-toc.el (reftex-toc, reftex-re-enlarge):
8161 Use `window-total-width' instead of `window-width'.
8163 2014-04-03 Daniel Colascione <dancol@dancol.org>
8165 * subr.el (set-transient-map): Remove rms's workaround entirely;
8166 use new `suspicious-object' subr to mark our lambda for closer
8169 2014-04-02 Richard Stallman <rms@gnu.org>
8171 * subr.el (set-transient-map): Comment out previous change.
8173 2014-04-02 Glenn Morris <rgm@gnu.org>
8175 * menu-bar.el (menu-bar-file-menu):
8176 * vc/ediff.el (ediff-current-file):
8177 Update for revert-buffer-function no longer being nil by default.
8179 * simple.el (command-execute): Respect nil disabled-command-function.
8181 2014-04-02 Nicolas Richard <theonewiththeevillook@yahoo.fr>
8183 * simple.el (command-execute): Do not execute the command when it
8184 is disabled; fixes thinko in 2013-02-20 conversion from C. (Bug#17151)
8186 2014-04-02 Juri Linkov <juri@jurta.org>
8188 * dired-aux.el (dired-compress-file): Don't use string-match-p
8189 because its match data is used afterwards.
8191 2014-04-02 Stefan Monnier <monnier@iro.umontreal.ca>
8193 * emacs-lisp/package.el (package-built-in-p): Treat a min-version of
8196 2014-04-02 João Távora <joaotavora@gmail.com>
8198 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
8199 Inhibit quote pairing if point-max is inside an unterminated string.
8200 (electric-pair--looking-at-unterminated-string-p):
8202 (electric-pair--in-unterminated-string-p): New function.
8204 2014-04-01 Daniel Colascione <dancol@dancol.org>
8206 * minibuffer.el (minibuffer-complete): Prevent assertion failure
8207 when trying to complete the prompt.
8209 2014-03-31 Leo Liu <sdl.web@gmail.com>
8211 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
8212 Refactor out eldoc-documentation-function-default.
8213 (eldoc-documentation-function-default): New function.
8214 (eldoc-documentation-function): Change value.
8216 2014-03-31 Glenn Morris <rgm@gnu.org>
8218 * simple.el (cycle-spacing--context, cycle-spacing): Doc tweaks.
8220 * progmodes/vhdl-mode.el (vhdl-speedbar-select-mra)
8221 (vhdl-compose-components-package, vhdl-compose-configuration):
8222 Abbreviate default-directory (missing from some previous upstream sync).
8224 2014-03-31 Reto Zimmermann <reto@gnu.org>
8226 Sync with upstream vhdl mode v3.35.2.
8227 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
8228 (top-level): No longer require assoc.
8229 (vhdl-asort, vhdl-anot-head-p, vhdl-aput, vhdl-adelete, vhdl-aget):
8230 New functions. Use throughout to replace aget etc.
8231 (vhdl-aput-delete-if-nil): Rename from vhdl-aput.
8232 (vhdl-update-file-contents): Update for vhdl-aput-delete-if-nil rename.
8233 (vhdl-template-replace-header-keywords): Fix bug for "<title string>".
8234 (vhdl-compile-init): Do not initialize regexps for Emacs 22+.
8235 (vhdl-error-regexp-emacs-alist): Remove regexps from all compilers
8236 except `vhdl-compiler'.
8237 (vhdl-error-regexp-add-emacs): Remove all other compilers,
8240 2014-03-31 Glenn Morris <rgm@gnu.org>
8242 * progmodes/vhdl-mode.el (vhdl-expand-abbrev, vhdl-expand-paren):
8243 Revert 2014-03-26 merge goof; go back to using defalias.
8245 2014-03-30 Daniel Colascione <dancol@dancol.org>
8247 * comint.el (comint-send-input):
8248 Deactivate completion-in-region-mode before we send comint input.
8251 * simple.el (keyboard-quit): Deactivate completion-in-region-mode
8254 2014-03-29 Glenn Morris <rgm@gnu.org>
8256 * textmodes/reftex.el: Manage most autoloads automatically.
8257 * textmodes/reftex-auc.el, textmodes/reftex-cite.el:
8258 * textmodes/reftex-dcr.el, textmodes/reftex-global.el:
8259 * textmodes/reftex-index.el, textmodes/reftex-parse.el:
8260 * textmodes/reftex-ref.el, textmodes/reftex-sel.el:
8261 * textmodes/reftex-toc.el: Set generated-autoload-file,
8262 and add autoload cookies for reftex.el.
8263 * Makefile.in (AUTOGEN_VCS): Add textmodes/reftex.el.
8265 2014-03-28 Glenn Morris <rgm@gnu.org>
8267 * cus-start.el (report-emacs-bug-address): Set custom properties.
8268 * mail/emacsbug.el (report-emacs-bug-address):
8269 Variable is now defined in emacs.c.
8271 * mail/emacsbug.el (report-emacs-bug):
8272 Include system-configuration-features.
8274 2014-03-28 Michal Nazarewicz <mina86@mina86.com>
8276 * simple.el (cycle-spacing): Never delete spaces on first run by
8277 default, but do so in a new 'fast mode and if there are already
8278 N spaces (the previous behavior).
8279 Compare N with its value in previous invocation so that changing
8280 prefix argument restarts `cycle-spacing' sequence.
8281 The idea is that with this change, binding M-SPC to
8282 `cycle-spacing' should not introduce any changes in behavior of
8283 the binding so long as users do not type M-SPC twice in a raw with
8284 the same prefix argument or lack thereof.
8286 2014-03-28 Glenn Morris <rgm@gnu.org>
8288 * faces.el (term-file-aliases): New variable.
8289 (tty-run-terminal-initialization): Respect term-file-aliases.
8290 * term/apollo.el, term/vt102.el, term/vt125.el, term/vt201.el:
8291 * term/vt220.el, term/vt240.el, term/vt300.el, term/vt320.el:
8292 * term/vt400.el, term/vt420.el: Remove files, replaced by aliases.
8294 2014-03-27 Glenn Morris <rgm@gnu.org>
8296 * startup.el (inhibit-startup-hooks): Doc tweak.
8297 (normal-top-level): Simplify running of hooks.
8298 For window-setup-hook, respect inhibit-startup-hooks.
8299 (command-line-1): Don't set window-setup-hook to nil.
8301 Allow selective autoloading from obsolete/ directory.
8302 * Makefile.in (obsolete-autoloads): New rule.
8303 (autoloads): Run obsolete-autoloads.
8304 * obsolete/iswitchb.el (iswitchb-mode): Use obsolete-autoload.
8305 * simple.el (iswitchb-mode): Remove hand-written autoloads.
8307 2014-03-27 Dmitry Gutov <dgutov@yandex.ru>
8309 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
8310 Highlight special globals with font-lock-builtin-face. (Bug#17057)
8312 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
8313 Don't propertize `?' or `!' as symbol constituent when after
8316 2014-03-27 Juanma Barranquero <lekktu@gmail.com>
8318 * frameset.el (frameset--restore-frame): Remove workaround for bug#14795
8319 which is no longer needed and causes trouble in GTK builds (bug#17046).
8321 * emacs-lisp/package-x.el (package--archive-contents-from-url):
8322 Use url-insert-file-contents; package-handle-response no longer exists.
8324 2014-03-26 Daniel Colascione <dancol@dancol.org>
8326 * simple.el (process-menu-mode-map): New variable.
8327 (process-menu-delete-process): New command.
8329 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
8331 * emacs-lisp/package.el: Fix bug#16733 (again).
8332 (url-http-parse-response, url-http-end-of-headers, url-recreate-url)
8333 (url-http-target-url): Remove unused declarations.
8334 (package-handle-response): Remove.
8335 (package--with-work-buffer): Use url-insert-file-contents and simplify.
8336 (package--download-one-archive): Use current-buffer instead of
8337 dynamic binding of `buffer'.
8338 (describe-package-1): Do not decode readme-string.
8340 2014-03-26 Michael Albinus <michael.albinus@gmx.de>
8342 * net/tramp.el (tramp-methods, tramp-connection-timeout): Fix docstring.
8344 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Revert change
8345 from 2014-03-07, it decreases performance unnecessarily. Let-bind
8346 `remote-file-name-inhibit-cache' to nil in the second pass.
8347 (tramp-find-executable): Do not call "which" on SunOS.
8348 (tramp-send-command-and-check): Fix docstring.
8349 (tramp-do-copy-or-rename-file-directly): In the `rename' case,
8350 check whether source directory has set the sticky bit.
8352 2014-03-26 Barry O'Reilly <gundaetiapo@gmail.com>
8354 * simple.el (primitive-undo): Only process marker adjustments
8355 validated against their corresponding (TEXT . POS). Issue warning
8356 for lone marker adjustments in undo history. (Bug#16818)
8357 (undo-make-selective-list): Add marker adjustments to selective
8358 undo list based on whether their corresponding (TEXT . POS) is in
8359 the region. Remove variable adjusted-markers, which was unused
8360 and only non nil during undo-make-selective-list.
8361 (undo-elt-in-region): Return nil when passed a marker adjustment
8362 and explain in function doc.
8364 2014-03-26 Nicolas Richard <theonewiththeevillook@yahoo.fr>
8366 * align.el (align-region): Do not fail when end-mark is nil (bug#17088).
8368 2014-03-26 Dmitry Gutov <dgutov@yandex.ru>
8370 * progmodes/ruby-mode.el (ruby-expression-expansion-re):
8371 Match special global variables without curlies, too.
8372 (ruby-font-lock-keywords): Simplify the matcher for special global
8373 variables. Don't require a non-word character after the variable.
8376 2014-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
8378 * simple.el (redisplay-highlight-region-function): Increase priority of
8379 overlay to make sure boundaries are visible (bug#15899).
8381 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
8383 * frameset.el (frameset--initial-params): Fix typo in parameter name.
8384 (frameset-restore): Compare display strings with equal.
8386 * frame.el (make-frame): Don't quote display name in error message,
8387 it is already a string.
8389 2014-03-26 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8391 * net/tramp.el (tramp-read-passwd): Suspend the timers while reading
8394 2014-03-26 Dmitry Gutov <dgutov@yandex.ru>
8396 * emacs-lisp/package.el (package--add-to-archive-contents):
8397 Include already installed and built-in packages in
8398 `package-archive-contents'.
8399 (package-install): Don't include already installed packages in the
8400 options during interactive invocation. (Bug#16762)
8401 (package-show-package-list): If the buffer is already displayed in
8402 another window, switch to that window.
8404 2014-03-26 Reto Zimmermann <reto@gnu.org>
8406 Sync with upstream vhdl mode v3.35.1.
8407 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
8408 (vhdl-compiler-alist): Doc fix.
8409 (vhdl-goto-line): Remove.
8410 (vhdl-mode-abbrev-table-init): Add XEmacs compat.
8411 (vhdl-mode) <paragraph-start>: Fix value.
8412 (vhdl-fix-statement-region): Not `for' in wait-statement.
8413 (vhdl-beautify-region): Also (un)tabify.
8414 (vhdl-get-visible-signals):
8415 Scan declarative part of generate statements.
8416 (vhdl-template-record): Fix indentation for record type declaration.
8417 (vhdl-expand-abbrev, vhdl-expand-paren):
8418 Revert to using fset again rather than defalias.
8419 (vhdl-scan-directory-contents): Tweak.
8420 (vhdl-speedbar-find-file, vhdl-speedbar-port-copy)
8421 (vhdl-compose-components-package):
8422 Replace vhdl-goto-line with forward-line.
8423 (top-level): Tweak speedbar frame selection.
8424 (vhdl-generate-makefile-1): Support for compilers with no
8425 unit-to-file name mapping (create directory with dummy files).
8427 2014-03-26 Wilson Snyder <wsnyder@wsnyder.org>
8429 Sync with upstream verilog-mode revision 702457d.
8430 * progmodes/verilog-mode.el (verilog-mode-version): Update.
8431 (create-lockfiles): Declare.
8432 (verilog-read-decls): Fix module header imports, bug709.
8433 Reported by Victor Lau.
8434 Fix parsing 'var' in AUTOs, msg1294. Reported by Dominique Chen.
8435 (verilog-auto-inout-module): Fix AUTOINOUTMODULE not inserting
8436 interface-only modules, bug721. Reported by Dean Hoyt.
8438 2014-03-26 Glenn Morris <rgm@gnu.org>
8440 * obsolete/gulp.el: Move here from emacs-lisp/.
8442 * files.el (lock-buffer, unlock-buffer, file-locked-p):
8443 Remove fallback aliases, since they are always defined now.
8445 2014-03-24 Daniel Colascione <dancol@dancol.org>
8447 * emacs-lisp/cl-macs.el (cl--do-arglist): Use `plist-member'
8448 instead of cl-loop search function.
8450 2014-03-23 Lars Ingebrigtsen <larsi@gnus.org>
8452 * calendar/parse-time.el (parse-time-iso8601-regexp)
8453 (parse-iso8601-time-string): Copy from `url-dav' so that we can use
8456 2014-03-23 Lars Ingebrigtsen <larsi@gnus.org>
8458 * net/dns.el (network-interface-list): Define for XEmacs.
8460 2014-03-23 Magnus Henoch <magnus.henoch@gmail.com>
8462 * net/dns.el (dns-servers-up-to-date-p): New function to see whether
8463 the network interfaces changed.
8464 (dns-query): Use it to flush the data.
8466 2014-03-23 Juanma Barranquero <lekktu@gmail.com>
8468 * vc/vc.el (vc-rollback): Use set-buffer-modified-p.
8470 2014-03-23 Daniel Colascione <dancol@dancol.org>
8472 Change subword-mode to use `find-word-boundary-function-table' and
8473 replace `capitalized-words-mode'. Also, convert to lexical binding.
8474 * progmodes/cap-words.el: Delete now-obsolete file.
8475 * progmodes/subword.el: Reimplement using
8476 `find-word-boundary-function-table'.
8477 (subword-mode-map): Hollow out.
8478 (capitalized-words-mode): Define as obsolete alias for
8480 (subword-mode, superword-mode): Tweak documentation to reflect new
8481 implementation; call `subword-setup-buffer'.
8482 (subword-forward, subword-capitalize): Add underscore to indicate
8484 (subword-find-word-boundary-function-table): New constant.
8485 (subword-empty-char-table): New constant.
8486 (subword-setup-buffer): New function.
8487 (subword-find-word-boundary): New function.
8489 2014-03-23 Daniel Colascione <dancol@dancol.org>
8491 * emacs-lisp/cl-macs.el (cl--do-arglist): Use a little `cl-loop'
8492 list to look for keyword arguments instead of `memq', fixing
8493 (Bug#3647) --- unfortunately, only for freshly-compiled code.
8494 Please make bootstrap.
8496 2014-03-22 Glenn Morris <rgm@gnu.org>
8498 * dired.el (dired-read-regexp): Make obsolete.
8499 (dired-mark-files-regexp, dired-mark-files-containing-regexp)
8500 (dired-flag-files-regexp):
8501 * dired-aux.el (dired-mark-read-regexp):
8502 * dired-x.el (dired-mark-unmarked-files): Use read-regexp directly.
8504 * startup.el (fancy-startup-text):
8505 * help.el (describe-gnu-project): Visit online info about GNU project.
8507 * help-fns.el (help-fns--interactive-only): New function.
8508 (help-fns-describe-function-functions): Add the above function.
8509 * simple.el (beginning-of-buffer, end-of-buffer, insert-buffer)
8510 (next-line, previous-line): Remove hand-written interactive-only
8511 information from doc strings, it is auto-generated now.
8512 * bookmark.el (bookmark-write):
8513 * epa-mail.el (epa-mail-decrypt, epa-mail-verify, epa-mail-sign)
8514 (epa-mail-import-keys): Mark interactive-only,
8515 and remove hand-written interactive-only information from doc strings.
8516 * epa.el (epa-decrypt-armor-in-region, epa-verify-region)
8517 (epa-verify-cleartext-in-region, epa-sign-region, epa-encrypt-region):
8518 * files.el (not-modified):
8519 * simple.el (mark-whole-buffer): Mark interactive-only.
8521 * emacs-lisp/byte-run.el (defun-declarations-alist):
8522 Add interactive-only. Doc tweak.
8523 (macro-declarations-alist): Doc tweak.
8524 * subr.el (declare): Doc tweak (add xref to manual).
8525 * comint.el (comint-run):
8526 * files.el (insert-file-literally, insert-file):
8527 * replace.el (replace-string, replace-regexp):
8528 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
8529 (delete-forward-char, goto-line, insert-buffer, next-line)
8530 (previous-line): Set interactive-only via declare.
8532 2014-03-22 Dmitry Gutov <dgutov@yandex.ru>
8534 * emacs-lisp/package.el (package-desc): Use the contents of the
8535 quoted form, not its cdr. (Bug#16873)
8537 2014-03-22 Juanma Barranquero <lekktu@gmail.com>
8539 * w32-common-fns.el (x-selection-owner-p): Add empty docstring for the
8540 benefit of doc.c; change parameter profile to match the X function.
8542 2014-03-22 Leo Liu <sdl.web@gmail.com>
8544 * help.el (temp-buffer-setup-hook): Remove help-mode-setup.
8545 (temp-buffer-show-hook): Remove help-mode-finish. (Bug#16038)
8547 2014-03-21 Richard Stallman <rms@gnu.org>
8549 * battery.el (battery-linux-sysfs): Search for each field
8550 from the beginning of the buffer.
8552 * subr.el (set-transient-map): Clear out function and value
8553 of the temporary symbol when we're done with it.
8555 * mail/rmailsum.el (rmail-summary-delete-forward):
8556 Optimize case of reaching end and handling count.
8557 (rmail-summary-mark-deleted): Optimize when N is current msg.
8558 Don't create new summary line.
8559 (rmail-summary-undelete): Pass arg to rmail-undelete-previous-message.
8560 (rmail-summary-undelete-many): Rewrite for speed.
8561 (rmail-summary-msg-number): New function.
8563 * mail/rmail.el (rmail-delete-message): Update summary.
8564 (rmail-undelete-previous-message): Handle repeat count arg.
8565 (rmail-delete-backward, rmail-delete-forward): Likewise.
8567 2014-03-21 Daniel Colascione <dancol@dancol.org>
8569 * mail/emacsbug.el (report-emacs-bug): Include memory usage
8570 information in bug reports.
8572 2014-03-21 Michael Albinus <michael.albinus@gmx.de>
8574 * net/tramp.el (tramp-methods): Add docstring for `tramp-login-env'
8575 and `tramp-copy-env'.
8577 * net/tramp-sh.el (tramp-methods) <sudo>: Add `tramp-login-env'.
8578 (tramp-maybe-open-connection): Handle `tramp-login-env'.
8580 2014-03-21 Glenn Morris <rgm@gnu.org>
8582 * electric.el (electric-indent-post-self-insert-function): Add doc.
8584 2014-03-21 Dmitry Gutov <dgutov@yandex.ru>
8586 * emacs-lisp/package.el (package-compute-transaction):
8587 Use `version-list-<=' to compare the requirement version against
8588 the version of package already to be installed. Update the error
8589 message. (Bug#16826)
8591 * progmodes/ruby-mode.el (ruby-smie-rules):
8592 Add indentation rule for ` @ '. (Bug#17050)
8594 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
8596 * align.el (align-regexp): Remove superfluous backslash.
8598 * ffap.el (ffap-ftp-default-user, ffap-url-regexp)
8599 (ffap-pass-wildcards-to-dired, dired-at-point-require-prefix)
8600 (ffap-rfc-path, ffap-ftp-sans-slash-regexp, ffap-menu-regexp):
8601 Fix docstring typos.
8602 (ffap-next): Use C-u in docstring.
8603 (ffap-machine-p, ffap-list-env, ffap-alist, ffap-alist)
8604 (ffap-string-at-point-mode-alist, ffap-menu, ffap-menu-ask):
8605 Remove superfluous backslashes.
8606 (ffap-string-at-point): Reflow docstring.
8608 * server.el (server-host): Reflow docstring.
8609 (server-unload-function): Fix docstring typo.
8610 (server-eval-at): Remove superfluous backslash.
8612 * skeleton.el (skeleton-insert): Remove superfluous backslash.
8613 (skeleton-insert): Doc fix.
8614 (skeleton-insert): Reflow docstring.
8616 * term/tty-colors.el (tty-color-alist, tty-modify-color-alist)
8617 (tty-color-approximate, tty-color-by-index, tty-color-values)
8618 (tty-color-desc): Remove superfluous backslashes.
8620 2014-03-21 Glenn Morris <rgm@gnu.org>
8622 * cus-start.el (history-length): Bump :version.
8624 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
8625 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
8626 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
8627 Don't set `make-backup-files'.
8629 * info.el (info--prettify-description): New function,
8630 to give info-finder descriptions consistent case, punctuation.
8631 (Info-finder-find-node): Use it. Sort packages.
8632 Refer to "description" rather than "commentary".
8634 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
8636 * frameset.el (frameset--print-register): New function.
8637 (frameset-to-register): Use it.
8639 2014-03-20 Juanma Barranquero <lekktu@gmail.com>
8641 * progmodes/hideif.el (hif-string-to-number): New function.
8642 (hif-tokenize): Use it to understand non-decimal floats.
8644 * emacs-lisp/cl-extra.el (cl--map-overlays): Remove obsolete code.
8646 * skeleton.el (skeleton-autowrap): Mark as obsolete. Doc fix.
8648 2014-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
8650 * electric.el (electric-newline-and-maybe-indent): New command.
8651 Bind it globally to C-j.
8652 (electric-indent-mode): Don't mess with the global map any more.
8653 Don't drop the post-self-insert-hook is some buffer is still using it
8656 * bindings.el (global-map): Remove C-j binding.
8658 * emacs-lisp/nadvice.el (advice--make-docstring): Try harder to find
8659 the docstring of functions advised before dumping (bug#16993).
8661 2014-03-19 Stefan-W. Hahn <stefan.hahn@s-hahn.de> (tiny change)
8663 * ps-print.el (ps-generate-postscript-with-faces):
8664 Explicitly deactivate the mark (bug#16866).
8665 * simple.el (deactivate-mark): Update region highlight.
8667 2014-03-19 Juanma Barranquero <lekktu@gmail.com>
8669 * emacs-lisp/package.el (describe-package-1):
8670 Decode commentary (bug#16733).
8672 2014-03-18 Juanma Barranquero <lekktu@gmail.com>
8674 * custom.el (defcustom): Doc fix: recommend avoiding destructive
8675 modification of the value argument of :set (bug#16755).
8677 2014-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
8679 * simple.el (newline-and-indent): Do autofill (bug#17031).
8681 2014-03-18 Dmitry Gutov <dgutov@yandex.ru>
8683 * newcomment.el (comment-normalize-vars): Only add escaping check
8684 to `comment-start-skip' if not `comment-use-syntax'. (Bug#16971)
8685 (comment-beginning): Use `narrow-to-region' instead of moving back
8687 (http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00488.html)
8688 (comment-start-skip): Update the docstring.
8690 2014-03-18 Richard Stallman <rms@gnu.org>
8692 * dired.el (dired-display-file): Force use of other window.
8694 2014-03-18 Daniel Colascione <dancol@dancol.org>
8696 * startup.el (tty-handle-args): Remove debug message from 2007.
8698 2014-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
8700 * emacs-lisp/nadvice.el (advice--interactive-form): New function.
8701 (advice--make-interactive-form): Use it to avoid (auto)loading function.
8702 (advice--make-1, advice-add, advice-remove):
8703 Remove braindead :advice-pending hack.
8705 2014-03-17 Glenn Morris <rgm@gnu.org>
8707 * calendar/calendar.el (calendar-generate-month): Apply weekend
8708 face to the right days; fixes 2013-08-06 change. (Bug#17028)
8710 2014-03-17 Michael Albinus <michael.albinus@gmx.de>
8712 * net/tramp.el (tramp-action-out-of-band): Read pending output.
8713 (tramp-call-process): Trace also DESTINATION.
8715 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
8716 Quote file names when they are local. Remove superfluous trace.
8718 2014-03-17 Dmitry Gutov <dgutov@yandex.ru>
8720 * newcomment.el (comment-beginning): If `comment-start-skip'
8721 doesn't match, move back one char and try again. (Bug#16971)
8723 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
8724 Set `comment-use-syntax' to t to avoid the unnecessary runtime check.
8725 Set `comment-start-skip' to a simpler value that doesn't try to
8726 check if the semicolon is escaped (this is handled by
8727 `syntax-ppss' now). (Bug#16971)
8729 * progmodes/scheme.el (scheme-mode-variables): Same.
8731 2014-03-16 Martin Rudalics <rudalics@gmx.at>
8733 Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007).
8734 * window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME
8735 current (Bug#16816, Bug#17007).
8736 (with-current-buffer-window): New macro doing the same as
8737 `with-temp-buffer-window' but with BUFFER-OR-NAME current.
8738 * help.el (help-print-return-message): Warn in doc-string to not
8739 use this in `with-help-window'.
8740 (describe-bindings-internal): Call `describe-buffer-bindings'
8741 from within help buffer. See Juanma's scenario in (Bug#16816).
8742 (with-help-window): Update doc-string.
8743 * dired.el (dired-mark-pop-up):
8744 * files.el (save-buffers-kill-emacs):
8745 * register.el (register-preview): Use `with-current-buffer-window'
8746 instead of `with-temp-buffer-window'.
8748 2014-03-16 Juanma Barranquero <lekktu@gmail.com>
8750 * textmodes/rst.el (rst-arabic-to-roman, rst-roman-to-arabic):
8751 Implement inserting into current buffer, documented in their docstrings.
8752 (rst-define-key, rst-compare-adornments, rst-insert-list-new-item)
8753 (rst-section-tree-point, rst-forward-section, rst-indent)
8754 (rst-compute-tabs, rst-font-lock-find-unindented-line-end)
8755 (rst-font-lock-find-unindented-line-limit, rst-adornment-level)
8756 (rst-font-lock-handle-adornment-pre-match-form)
8757 (rst-repeat-last-character): Reflow docstrings.
8758 (rst-preferred-adornments, rst-update-section, rst-find-title-line)
8759 (rst-adjust-adornment-work, rst-initial-items, rst-insert-list)
8760 (rst-toc-insert-style, rst-toc-insert-node, rst-goto-section)
8761 (rst-compile, rst-imenu-convert-cell, rst-imenu-create-index):
8762 Fix docstring typos.
8763 (rst-all-sections, rst-section-hierarchy, rst-adjust): Doc fixes.
8764 (rst-uncomment-region, rst-font-lock-find-unindented-line-match)
8765 (rst-font-lock-handle-adornment-matcher): Mark unused arguments.
8767 2014-03-15 Juanma Barranquero <lekktu@gmail.com>
8769 * term/ns-win.el (x-command-line-resources): Rename from ns-... version,
8770 for compatibility with other ports.
8771 (ns-initialize-window-system): Use it. It is set in term/common-win.el
8772 from the -xrm command line argument, but in the Nextstep port its value
8773 is irrelevant because nsfns.m:Fx_open_connection ignores it for now.
8775 * progmodes/python.el (defconst, python-syntax-count-quotes)
8776 (python-indent-region, python-indent-shift-right)
8777 (python-indent-dedent-line-backspace, python-nav-backward-sexp)
8778 (python-nav-backward-sexp-safe, python-nav-backward-up-list)
8779 (python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
8780 (python-shell-prompt-pdb-regexp, python-shell-enable-font-lock)
8781 (inferior-python-mode, python-shell-make-comint, run-python-internal)
8782 (python-shell-buffer-substring, python-shell-send-buffer)
8783 (python-pdbtrack-activate, python-pdbtrack-stacktrace-info-regexp)
8784 (python-completion-complete-at-point, python-fill-docstring-style)
8785 (python-eldoc-function, python-imenu-format-item-label)
8786 (python-imenu-format-parent-item-label)
8787 (python-imenu-format-parent-item-jump-label)
8788 (python-imenu--build-tree, python-imenu-create-index)
8789 (python-imenu-create-flat-index): Fix docstring typos.
8790 (python-indent-context, python-shell-prompt-regexp, run-python):
8791 Remove superfluous backslashes.
8792 (python-indent-line, python-nav-beginning-of-defun)
8793 (python-shell-get-buffer, python-shell-get-process)
8794 (python-info-current-defun, python-info-current-line-comment-p)
8795 (python-info-current-line-empty-p, python-util-popn): Doc fixes.
8796 (python-indent-post-self-insert-function, python-shell-send-file)
8797 (python-shell-completion-get-completions)
8798 (python-shell-completion-complete-or-indent)
8799 (python-eldoc--get-doc-at-point): Reflow docstrings.
8801 2014-03-14 Glenn Morris <rgm@gnu.org>
8803 * emacs-lisp/package.el (package-menu-mode-map):
8804 Replace use of obsolete function alias. Tweak menu item text.
8806 * info.el (Info-finder-find-node):
8807 Ignore the `emacs' metapackage. (Bug#10813)
8809 * finder.el (finder-list-matches): Include unversioned packages
8810 in the result of a keyword search.
8812 * finder.el (finder--builtins-descriptions): New constant.
8813 (finder-compile-keywords): Use finder--builtins-descriptions.
8815 2014-03-14 Dmitry Gutov <dgutov@yandex.ru>
8817 * simple.el (blink-matching-paren): Describe the new value,
8818 `jump', enabling the old behavior.
8819 (blink-matching-open): Use that value. (Bug#17008)
8821 2014-03-14 Glenn Morris <rgm@gnu.org>
8823 * finder.el (finder-no-scan-regexp): Add leim-list.
8824 (finder-compile-keywords):
8825 Don't skip files with same basename. (Bug#14010)
8826 * Makefile.in (setwins_finder): New, excluding leim.
8827 (finder-data): Use setwins_finder.
8829 * help-fns.el (help-split-fundoc, help-add-fundoc-usage)
8830 (help-function-arglist, help-make-usage): Move from here...
8831 * help.el (help-split-fundoc, help-add-fundoc-usage)
8832 (help-function-arglist, help-make-usage): ... to here. (Bug#17001)
8833 * emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns.
8835 2014-03-14 Juanma Barranquero <lekktu@gmail.com>
8837 * net/socks.el (socks, socks-override-functions)
8838 (socks-find-services-entry):
8839 * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
8840 (hif-find-ifdef-block):
8841 * progmodes/modula2.el (m2-indent): Fix docstring typos.
8843 * net/tls.el (tls-program): Reflow docstring.
8845 * progmodes/pascal.el (pascal-mode-abbrev-table)
8846 (pascal-imenu-generic-expression, pascal-auto-endcomments)
8847 (pascal-mark-defun, pascal-comment-area, pascal-indent-level)
8848 (pascal-outline-mode): Fix docstring typos.
8849 (pascal-mode): Let define-derived-mode document mode hook.
8850 (pascal-uncomment-area): Reflow.
8851 (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
8853 * progmodes/opascal.el (opascal-compound-block-indent)
8854 (opascal-case-label-indent): Fix docstring typos.
8855 (opascal-mode): Fix typos; let defined-derived-mode document mode hook.
8857 2014-03-13 Dmitry Gutov <dgutov@yandex.ru>
8859 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
8860 Fontify multiple adjacent negation chars. (Bug#17004)
8862 2014-03-13 Tom Willemse <tom@ryuslash.org> (tiny change)
8864 * emacs-lisp/package.el (package--prepare-dependencies):
8865 Accept requirements without explicit version (bug#14941).
8867 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
8869 * register.el (register-separator, copy-to-register): Doc fixes.
8870 (register-preview-default): Remove unnecessary call to concat.
8872 * frameset.el (frameset-restore): When checking for a visible frame,
8873 use the action map instead of calling visible-frame-list.
8875 2014-03-12 Jonas Bernoulli <jonas@bernoul.li>
8877 * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
8879 2014-03-12 Martin Rudalics <rudalics@gmx.at>
8881 * window.el (fit-frame-to-buffer): Get maximum width from
8882 display's width instead of height.
8884 2014-03-12 Glenn Morris <rgm@gnu.org>
8886 * desktop.el (desktop-restore-frames)
8887 (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
8888 (desktop-restore-reuses-frames): Doc tweaks.
8890 * electric.el (electric-indent-mode): Doc fix.
8892 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
8894 * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
8895 (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
8896 (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
8897 (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
8898 (cvs-dired-use-hook): Fix docstring typos.
8899 (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
8902 * vc/pcvs-defs.el (cvs-auto-remove-handled)
8903 (cvs-auto-remove-directories, cvs-default-ignore-marks)
8904 (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
8905 (cvs-execute-single-dir): Fix docstring typos.
8907 * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
8908 (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
8910 * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
8912 * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
8913 Fix docstring typos.
8915 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
8917 * frameset.el (frameset--jump-to-register): Add autoload; it could be
8918 called from jump-to-register after unloading the frameset package.
8920 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
8922 * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
8923 (bug#16975). Deactivate the mark before setting it to nil.
8924 (activate-mark): Do nothing if region is already active.
8926 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
8928 * frameset.el (frameset--target-display): Remove definition; declare.
8929 (frameset-save, frameset-restore): Let-bind frameset--target-display.
8931 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
8933 * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
8934 (advice-add): Add a :advice--pending marker, so advice--make-1 knows
8935 when the advice is pending.
8936 (advice-remove): Remove this marker when not needed any more.
8938 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
8940 * frameset.el: Separate options for reusing frames and cleaning up.
8941 (frameset--reuse-list): Remove definition; declare.
8942 (frameset--action-map): Declare.
8943 (frameset--find-frame-if): Doc fix.
8944 (frameset--restore-frame): Cache frame action.
8945 (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
8946 how to clean up the frame list after restoring. Remove cleaning
8947 options from REUSE-FRAMES. Change all keyword values to symbols.
8948 (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
8950 * desktop.el (desktop-restore-forces-onscreen)
8951 (desktop-restore-reuses-frames): Use non-keyword values.
8952 (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
8954 2014-03-10 Glenn Morris <rgm@gnu.org>
8956 * files.el (find-file): Doc fix: update info node name.
8958 * emacs-lisp/advice.el (ad-add-advice, defadvice):
8959 Doc fix: remove references to deleted info nodes.
8961 2014-03-10 Michael Albinus <michael.albinus@gmx.de>
8963 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
8964 Do not add nil to the environment, when there's no remote `locale'.
8965 (tramp-find-inline-encoding): Check, that the remote host has
8966 installed perl, before sending scripts.
8968 2014-03-10 Leo Liu <sdl.web@gmail.com>
8970 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
8971 Clear eldoc-last-message. (Bug#16920)
8973 2014-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
8975 * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
8978 2014-03-09 Juri Linkov <juri@jurta.org>
8980 * ansi-color.el (ansi-color-names-vector): Copy default colors
8981 from `xterm-standard-colors' that look well on the default white
8982 background (and also on the black background) to avoid illegible
8983 color combinations like yellow-on-white and white-on-white.
8984 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
8986 2014-03-08 Juanma Barranquero <lekktu@gmail.com>
8988 * frameset.el (frameset-restore): When no frame is visible, do not
8989 generate a list of frames, just make visible the selected one.
8991 2014-03-08 Dmitry Gutov <dgutov@yandex.ru>
8993 * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
8994 it only contains the repository root. (Bug#16897)
8996 2014-03-07 Michael Albinus <michael.albinus@gmx.de>
8998 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
8999 only when `remote-file-name-inhibit-cache' is nil.
9000 (tramp-sh-file-name-handler): Use `tramp-error'. Simplify code.
9002 2014-03-06 Martin Rudalics <rudalics@gmx.at>
9004 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
9006 (fit-frame-to-buffer): New argument ONLY. Remove dependency on
9007 fit-frame-to-buffer variable. Fix doc-string.
9008 (fit-window-to-buffer): Set ONLY argument in call of
9009 fit-frame-to-buffer. Fix doc-string.
9011 2014-03-06 Michael Albinus <michael.albinus@gmx.de>
9013 * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
9014 (tramp-action-password): Clear password cache if needed.
9015 (tramp-read-passwd): Do not clear password cache.
9017 * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
9018 cache unless it is the first password request.
9020 2014-03-06 Glenn Morris <rgm@gnu.org>
9022 * simple.el (newline): Doc tweak.
9024 * emacs-lisp/shadow.el (load-path-shadows-find):
9025 Ignore dir-locals. (Bug#12357)
9027 2014-03-05 Glenn Morris <rgm@gnu.org>
9029 * files.el (interpreter-mode-alist):
9030 * progmodes/sh-script.el (sh-ancestor-alist): Add dash. (Bug#16938)
9032 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
9034 * frameset.el (frameset--initial-params): Filter out null entries.
9036 2014-03-05 Martin Rudalics <rudalics@gmx.at>
9038 * window.el (window-min-height, window-min-width):
9039 Rewrite doc-strings.
9040 (window-body-size): Add PIXELWISE argument to make it consistent
9043 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
9045 * finder.el (finder-mode-map, finder-mode-syntax-table):
9046 Revert part of 2014-02-28 change.
9048 2014-03-05 Lars Ingebrigtsen <larsi@gnus.org>
9050 * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
9051 (eww-setup-buffer): Clear next/prev/etc more reliably.
9052 (eww-textarea-map): [tab] doesn't work on tty.
9053 Reported by Mario Lang.
9055 * net/shr.el (shr-map): Ditto.
9057 2014-03-04 Glenn Morris <rgm@gnu.org>
9059 * minibuffer.el (completion-hilit-commonality):
9060 Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
9062 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
9064 * hilit-chg.el (hilit-chg-unload-function): New function.
9065 (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
9066 (hilit-chg-map-changes): Prefer cardinal number to digit.
9067 (hilit-chg-display-changes): Reflow docstring.
9068 (highlight-changes-rotate-faces): Remove superfluous backslash.
9070 2014-03-04 Michael Albinus <michael.albinus@gmx.de>
9072 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
9073 `tramp-send-command-and-check'.
9075 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
9077 * hexl.el (hexl-address-region, hexl-ascii-region)
9078 (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
9079 (hexl-backward-short, hexl-forward-short, hexl-backward-word)
9080 (hexl-forward-word, hexl-previous-line, hexl-next-line):
9081 Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
9082 (hexl-mode): Doc fix.
9083 (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
9084 (hexl-mode-ruler): Fix typos in docstrings.
9086 * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
9087 (strokes-character, strokes-get-grid-position, strokes-list-strokes):
9088 Remove superfluous backslashes.
9089 (strokes-last-stroke, strokes-global-map, strokes-mode):
9091 (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
9092 (strokes-xpm-for-compressed-string): Use quotes with buffer name.
9093 (strokes-distance-squared, strokes-global-set-stroke)
9094 (strokes-global-set-stroke-string): Doc fixes.
9095 (strokes-help): Fix typos; reflow docstring.
9097 2014-03-04 Martin Rudalics <rudalics@gmx.at>
9099 * window.el (window-in-direction): Fix doc-string.
9101 2014-03-04 Glenn Morris <rgm@gnu.org>
9103 * emacs-lisp/smie.el (smie-config-guess): Doc fix.
9104 Explicit error if no grammar.
9105 (smie-config-save): Doc fix. Fix quote typo.
9107 2014-03-04 Stefan Monnier <monnier@iro.umontreal.ca>
9109 * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
9110 electric-indent-mode-hook if we obey electric-indent-mode.
9111 (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
9112 decide whether we obey electric-indent-mode.
9113 (c-change-set-fl-decl-start, c-extend-after-change-region):
9115 (c-electric-indent-mode-hook): Assume we do want to obey
9116 electric-indent-mode.
9118 * electric.el (electric-indent-mode-has-been-called): Remove.
9119 (electric-indent-mode): Fix accordingly.
9121 * files.el (hack-local-variables): Mention file name in warning.
9123 * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
9125 2014-03-04 Michal Nazarewicz <mina86@mina86.com>
9127 * bindings.el: Add comment describing why C-d binds to `delete-char'.
9128 * simple.el (delete-forward-char): Mark as interactive-only.
9130 2014-03-03 Juanma Barranquero <lekktu@gmail.com>
9132 * icomplete.el (icomplete-completions):
9133 Follow-up to 2014-03-01 change.
9135 * icomplete.el: Miscellaneous doc fixes.
9136 Use Icomplete everywhere instead of icomplete for consistency.
9137 (icomplete-max-delay-chars): Fix typo.
9138 (icomplete-mode): Use \[].
9139 (icomplete-tidy, icomplete-exhibit): Reflow.
9140 (icomplete-minibuffer-setup-hook, icomplete-completions):
9141 Remove superfluous backlashes.
9143 * ido.el: Miscellaneous doc fixes.
9144 Use Ido everywhere instead of ido or `ido' for consistency.
9145 (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
9146 (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
9147 (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
9148 (ido-separator): Extract obsolescence info from docstring and declare
9149 with make-obsolete-variable.
9150 (ido-minibuffer-setup-hook): Simplify example.
9151 (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
9152 (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
9153 (ido-completion-help, ido-completing-read): Fix typos in docstrings.
9154 (ido-everywhere): Reflow docstring.
9155 (ido-toggle-vc): Doc fix.
9156 (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
9157 of long list of keybindings.
9159 2014-03-03 Glenn Morris <rgm@gnu.org>
9161 * frame.el (display-pixel-height, display-pixel-width)
9162 (display-mm-dimensions-alist, display-mm-height)
9163 (display-mm-width): Doc tweaks.
9165 2014-03-02 Barry O'Reilly <gundaetiapo@gmail.com>
9167 * simple.el (undo-elt-in-region): Fix buffer corruption for edge
9168 case of undo in region.
9170 2014-03-02 Martin Rudalics <rudalics@gmx.at>
9172 * window.el (fit-window-to-buffer): Fix argument in window-size
9173 call when window is horizontally combined.
9175 2014-03-02 Juanma Barranquero <lekktu@gmail.com>
9177 * icomplete.el (icomplete-completions): Use string-width.
9178 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
9180 2014-03-01 Dmitry Gutov <dgutov@yandex.ru>
9182 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
9183 Highlight regexp options. (Bug#16914)
9185 2014-03-01 Martin Rudalics <rudalics@gmx.at>
9187 * window.el (window--max-delta-1): Round down when calculating
9188 how many lines/columns we can get from a window.
9190 2014-03-01 Glenn Morris <rgm@gnu.org>
9192 * isearch.el (search-invisible): Doc fix.
9194 * minibuffer.el (completion-hilit-commonality):
9195 Make `base-size' argument optional. Short-cut if `prefix-len' is 0.
9196 * comint.el (comint-dynamic-list-completions): Doc fix.
9197 * comint.el (comint-dynamic-list-completions):
9198 * filecache.el (file-cache-minibuffer-complete):
9199 * tempo.el (tempo-display-completions):
9200 * eshell/em-hist.el (eshell-list-history):
9201 Replace use of obsolete argument of display-completion-list.
9203 2014-03-01 Juanma Barranquero <lekktu@gmail.com>
9205 * icomplete.el (icomplete-completions):
9206 Revert back to using "..." when ?… cannot be displayed.
9208 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
9210 * finder.el (finder-unload-function): New function.
9212 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
9214 * dframe.el (dframe-detach):
9215 * find-dired.el (find-dired, find-name-dired):
9216 * finder.el (finder-mode-map, finder-mode-syntax-table)
9217 (finder-headmark, finder-select, finder-mouse-select):
9218 Fix docstring typos.
9220 2014-02-28 Martin Rudalics <rudalics@gmx.at>
9222 Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
9223 * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
9224 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
9225 Fix doc-string based on a suggestion by Nicolas Richard
9226 <theonewiththeevillook@yahoo.fr>.
9227 * help.el (with-help-window): Fix doc-string.
9229 2014-02-28 Ivan Kanis <ivan@kanis.fr>
9231 * net/shr.el (shr-image-animate): New option.
9232 (shr-put-image): Respect shr-image-animate.
9234 2014-02-28 Michael Albinus <michael.albinus@gmx.de>
9236 * net/tramp-adb.el (tramp-adb-parse-device-names):
9237 Use `accept-process-output'.
9238 (tramp-adb-handle-file-truename): Cache the localname only.
9239 (tramp-adb-handle-make-directory)
9240 (tramp-adb-handle-delete-directory): Flush file properties correctly.
9241 (tramp-adb-handle-set-file-modes): Do not raise an error when file
9242 modes cannot be changed.
9244 * net/tramp-cache.el (tramp-flush-directory-property): Remove also
9245 file properties of symlinks.
9247 2014-02-28 Per Starbäck <starback@stp.lingfil.uu.se>
9249 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
9250 required/optional fields to match development biblatex. (Bug#16781)
9252 2014-02-28 Andy Sawyer <andy.sawyer@gmail.com> (tiny change)
9254 * saveplace.el (toggle-save-place):
9255 Fix argument handling. (Bug#16673)
9257 2014-02-28 Glenn Morris <rgm@gnu.org>
9259 * minibuffer.el (completions-first-difference)
9260 (completions-common-part, completion-hilit-commonality): Doc fixes.
9262 2014-02-28 Karl Berry <karl@gnu.org>
9264 * info.el (Info-mode-map): Add H for describe-mode,
9265 to synchronize with standalone Info.
9267 2014-02-28 Emilio C. Lopes <eclig@gmx.net>
9269 * progmodes/sql.el (sql-interactive-mode):
9270 Avoid setting global comint-input-ring-separator. (Bug#16814)
9272 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
9274 * net/dbus.el (dbus--init-bus): Declare function.
9275 (dbus-path-local, dbus-interface-local): New defconst.
9276 (dbus-init-bus): Use them.
9277 (dbus-return-values-table): Extend doc.
9278 (dbus-handle-bus-disconnect): Extend error message.
9280 2014-02-27 Juanma Barranquero <lekktu@gmail.com>
9282 * subr.el (y-or-n-p): Fix double space issue in message.
9284 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
9286 * net/tramp.el (tramp-call-process): Improve trace message.
9287 (tramp-handle-insert-file-contents): Trace error case.
9289 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
9290 <insert-directory>: Use `tramp-handle-insert-directory'.
9291 (tramp-adb-handle-insert-directory): Remove function.
9292 (tramp-adb-send-command-and-check): New defun, replacing
9293 `tramp-adb-command-exit-status'. Change all callees.
9294 (tramp-adb-handle-file-attributes)
9295 (tramp-adb-handle-directory-files-and-attributes): Use it.
9296 (tramp-adb-ls-output-name-less-p):
9297 Use `directory-listing-before-filename-regexp'.
9298 (tramp-adb-handle-delete-directory): Flush also file properties of
9299 the truename of directory.
9300 (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
9301 (tramp-adb-handle-file-local-copy): Make the local copy readable.
9302 (tramp-adb-handle-write-region): Implement APPEND.
9303 (tramp-adb-handle-rename-file): Make it more robust. Flush file
9304 properties correctly.
9305 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
9306 variables. Check for connected devices only when needed.
9308 2014-02-27 Glenn Morris <rgm@gnu.org>
9310 * minibuffer.el (completion-table-dynamic)
9311 (completion-table-with-cache): Doc fixes.
9313 * emacs-lisp/crm.el (crm-default-separator, crm-separator)
9314 (completing-read-multiple): Doc fixes.
9316 2014-02-27 Daniel Colascione <dancol@dancol.org>
9318 * minibuffer.el (completion--nth-completion): Fix indentation.
9320 * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
9321 explicit tramp path is empty.
9323 2014-02-27 Glenn Morris <rgm@gnu.org>
9325 * emacs-lisp/crm.el (completing-read-multiple):
9326 Empower help-enable-auto-load.
9328 2014-02-26 Glenn Morris <rgm@gnu.org>
9330 * startup.el (command-line): Don't init the tty in daemon mode.
9332 Avoid calling tty-setup-hook twice, eg if a term file
9333 explicitly calls tty-run-terminal-initialization. (Bug#16859)
9334 * faces.el (tty-run-terminal-initialization): Add run-hook argument.
9335 (tty-create-frame-with-faces): Use it.
9336 * startup.el (command-line): Pass run-hook argument
9337 to tty-run-terminal-initialization.
9339 * dired.el (dired-restore-desktop-buffer): Demote errors;
9340 eg in case a glob match fails. (Bug#16884)
9342 2014-02-26 Dmitry Gutov <dgutov@yandex.ru>
9344 * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
9345 error from `read-from-string'. (Bug#16850)
9347 * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
9348 result of `completing-read' in the interactive form. (Bug#16854)
9350 2014-02-25 Glenn Morris <rgm@gnu.org>
9352 * image.el (image-animate, image-animate-timeout):
9353 Stop animating images in dead buffers. (Bug#16878)
9355 * emacs-lisp/edebug.el (defmacro): Fix debug spec. (Bug#16868)
9357 * faces.el (tty-setup-hook, tty-run-terminal-initialization):
9359 * startup.el (term-setup-hook): Doc fix. Make obsolete.
9360 * term/sun.el (sun-raw-prefix-hooks):
9361 Use tty-setup-hook instead of term-setup-hook.
9362 (terminal-init-sun): Construct message from bytecomp plist.
9363 * term/wyse50.el (enable-arrow-keys): Doc fix.
9365 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
9367 * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
9368 Fix docstring typos.
9370 2014-02-24 Michael Albinus <michael.albinus@gmx.de>
9372 * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
9374 2014-02-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
9376 * minibuffer.el (completion--try-word-completion):
9377 Fix error when completing M-x commands (bug#16808).
9379 2014-02-24 Leo Liu <sdl.web@gmail.com>
9381 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
9383 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
9385 * apropos.el (apropos-print): Avoid formatting error when
9386 apropos-do-all and apropos-compact-layout are both t.
9388 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
9390 * apropos.el (apropos-property, apropos-all-words-regexp)
9391 (apropos-true-hit, apropos-variable, apropos-print):
9392 Fix docstring typos, and remove obsolete comment.
9394 2014-02-23 Michael Albinus <michael.albinus@gmx.de>
9396 * net/tramp-sh.el (tramp-sh-handle-file-truename):
9397 Preserve trailing "/". (Bug#16851)
9399 2014-02-23 Dmitry Gutov <dgutov@yandex.ru>
9401 * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
9402 after `=>' (bug#16811).
9403 (ruby-smie-rules): Handle the inconsistent second element of the
9404 list returned by `smie-indent--parent'.
9405 (ruby-font-lock-keywords): Disqualify any identifier before `=' as
9408 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
9410 * elec-pair.el (electric-pair-text-syntax-table)
9411 (electric-pair-syntax-info, electric-pair--syntax-ppss)
9412 (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
9413 (electric-pair--looking-at-unterminated-string-p): Doc fix.
9414 (electric-pair--inside-string-p): Doc fix. Use `let', not `let*'.
9416 2014-02-22 Glenn Morris <rgm@gnu.org>
9418 * imenu.el (imenu--generic-function): Doc fix.
9420 * register.el (frame-configuration-to-register): Make obsolete.
9422 2014-02-22 Juanma Barranquero <lekktu@gmail.com>
9424 * desktop.el (desktop-save-buffer-p): Do not fail when
9425 desktop-files-not-to-save is nil. Return t for true result
9428 2014-02-22 Daniel Colascione <dancol@dancol.org>
9430 * net/secrets.el (secrets-create-item, secrets-search-items):
9431 Check that attribute values are strings, avoiding the construction
9432 of invalid dbus messages.
9434 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
9436 * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
9437 defun-declarations-alist.
9439 2014-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
9441 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
9444 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
9446 * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
9447 (whitespace-newline, whitespace-trailing, whitespace-line)
9448 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
9449 (whitespace-space-after-tab): Fix typo in docstrings.
9451 2014-02-21 Dmitry Gutov <dgutov@yandex.ru>
9453 * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
9455 * electric.el (electric-indent-functions-without-reindent):
9456 Add `yaml-indent-line'.
9458 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
9460 * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
9461 It has done nothing for years; should be removed after the release.
9463 * simple.el (choose-completion): Fix docstring typo.
9464 (read-quoted-char-radix): Remove unneeded * in docstring.
9465 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
9466 Don't escape parentheses unnecessarily in docstrings.
9468 2014-02-21 Martin Rudalics <rudalics@gmx.at>
9470 Fix handling of window-min-height/-width (Bug#16738).
9471 * window.el (window--dump-window, window--dump-frame):
9473 (window--min-size-1): Account for window dividers.
9474 When window-resize-pixelwise is nil, delay rounding till after the
9475 sum of the window components has been calculated.
9476 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
9477 nil make sure at least one text line and two text columns remain
9479 (window-resize): Signal an error when window-resize-apply fails.
9480 (window--resize-child-windows): Fix calculation of by how many
9481 pixels a window can still be shrunk via window-new-normal.
9482 (adjust-window-trailing-edge): Call window--resizable with
9483 correct TRAIL argument.
9485 (with-temp-buffer-window): Don't evaluate BODY within
9486 with-current-buffer (Bug#16816).
9488 2014-02-21 Michael Albinus <michael.albinus@gmx.de>
9490 * net/tramp.el (tramp-check-cached-permissions):
9491 Call `file-attributes' with `suffix' being a symbol but a string.
9493 2014-02-21 Daniel Colascione <dancol@dancol.org>
9495 * net/dbus.el (dbus-init-bus-1): Declare new subr.
9496 (dbus-init-bus): New function: call into dbus-init-bus-1
9497 and installs a handler for the disconnect signal.
9498 (dbus-call-method): Rewrite to look for result in cons.
9499 (dbus-call-method-handler): Store result in cons.
9500 (dbus-check-event): Recognize events with nil sender as valid.
9501 (dbus-handle-bus-disconnect): New function. React to bus
9502 disconnection signal by synthesizing dbus error for each
9503 pending synchronous or asynchronous call.
9504 (dbus-notice-synchronous-call-errors): New function.
9505 (dbus-handle-event): Raise errors directly only when `dbus-debug'
9506 is true, not all the time.
9508 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
9510 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
9511 Remove obsolescence declarations, these variables do not exist anymore.
9513 * savehist.el (savehist-save-minibuffer-history)
9514 (savehist-additional-variables, savehist-file, savehist-mode-hook)
9515 (savehist-save-hook, savehist-coding-system, savehist-loaded)
9516 (savehist-load, savehist-install, savehist-autosave): Fix typos;
9517 mostly, refer to "Savehist mode" when talking about the mode,
9518 and not the function.
9520 * saveplace.el (save-place): Remove redundant info in docstring.
9521 (save-place-forget-unreadable-files, toggle-save-place)
9522 (save-place-forget-unreadable-files, save-place-dired-hook):
9523 Fix typos and remove unneeded backslashes.
9525 2014-02-20 Michael Albinus <michael.albinus@gmx.de>
9527 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
9528 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
9530 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
9531 <insert-directory>: Use `tramp-handle-insert-directory'.
9532 (tramp-gvfs-handle-insert-directory): Remove function.
9534 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
9535 Call `tramp-handle-insert-directory'.
9537 2014-02-20 Juanma Barranquero <lekktu@gmail.com>
9539 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
9540 before the start of buffer/region (bug#16799).
9542 2014-02-20 Glenn Morris <rgm@gnu.org>
9544 * isearch.el (search-invisible): Doc fix.
9546 2014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
9548 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
9551 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
9553 * frameset.el (frameset-restore): Delay removing an old frame's
9554 duplicate id until the new frame has been correctly created.
9556 2014-02-19 Michael Albinus <michael.albinus@gmx.de>
9558 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
9559 (tramp-check-cached-permissions): Call `file-attributes' if the
9562 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
9563 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
9565 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
9566 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
9567 (tramp-gvfs-maybe-open-connection): Set always connection
9568 properties, even if target is mounted already.
9570 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
9571 Set tramp-autoload cookie.
9572 (tramp-get-remote-touch): New defun.
9573 (tramp-sh-handle-set-file-times): Use it.
9574 (tramp-sh-handle-directory-files-and-attributes):
9575 Use `tramp-handle-directory-files-and-attributes' if neither stat
9576 nor perl are available on the remote host.
9578 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
9579 "/". Write long listing only when "l" belongs to the switches.
9581 * net/trampver.el: Update release number.
9583 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
9585 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
9587 2014-02-19 Martin Rudalics <rudalics@gmx.at>
9589 * window.el (window-state-put): Allow WINDOW to refer to an
9590 internal window (Bug#16793).
9592 2014-02-19 Glenn Morris <rgm@gnu.org>
9594 * textmodes/remember.el: Move provide statement to end.
9595 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
9596 (remember-notes): Doc fixes.
9598 2014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
9600 * delsel.el (delete-char): Restore incorrectly erased property
9603 2014-02-18 Juanma Barranquero <lekktu@gmail.com>
9605 * frameset.el (frameset--restore-frame): When a frame is being reused
9606 and its root window is not alive, delete all the frame's windows before
9607 restoring the window state. This works around the issue in bug#16793.
9609 2014-02-18 Glenn Morris <rgm@gnu.org>
9611 * textmodes/remember.el (remember-data-directory)
9612 (remember-directory-file-name-format, remember-store-in-files)
9613 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
9614 (remember-notes-save-and-bury-buffer)
9615 (remember-notes--kill-buffer-query): Doc fixes.
9617 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
9619 2014-02-17 Alan Mackenzie <acm@muc.de>
9621 Connect electric-indent-mode up with CC Mode. Bug #15478.
9622 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
9623 to electric-indent-{,local-}-mode.
9624 (c-basic-common-init): Set electric-indent-inhibit.
9625 Initialise c-electric-flag from electric-indent-mode.
9626 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
9627 New hook functions which propagate electric-indent-mode to CC mode.
9629 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
9630 hit, toggle electric-indent-local-mode.
9632 * electric.el (electric-indent-mode-has-been-called):
9635 2014-02-17 Juanma Barranquero <lekktu@gmail.com>
9637 * frameset.el (frameset-cfg-id): New function.
9638 (frameset--reuse-frame, frameset-restore): Use it.
9639 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
9641 2014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
9643 * ido.el (ido-file-internal): Remove unused var `d'.
9644 Use \` for to match BoS. Fit within 80n columns.
9646 2014-02-17 Daniel Colascione <dancol@dancol.org>
9648 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
9649 dbus-call-method check for completion using a busy-wait loop with
9652 2014-02-16 Michael Albinus <michael.albinus@gmx.de>
9654 Sync with Tramp 2.2.9.
9656 * net/trampver.el: Update release number.
9658 2014-02-16 Dmitry Gutov <dgutov@yandex.ru>
9660 * ido.el (ido-file-internal): Don't add the name of an existing
9661 directory twice. (Bug#16747)
9663 2014-02-16 Glenn Morris <rgm@gnu.org>
9665 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
9666 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
9668 2014-02-15 Michael R. Mauger <michael@mauger.com>
9670 * progmodes/sql.el: Version 3.4
9671 (sql-oracle-options): New default value ("-L").
9672 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
9673 (sql-placeholders-filter): Correct placeholder pattern.
9674 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
9675 (sql-login-delay): New variable.
9676 (sql-product-interactive): Use it.
9678 2014-02-15 Juanma Barranquero <lekktu@gmail.com>
9680 * frameset.el (frameset--jump-to-register): Check that buffer is live
9683 2014-02-15 Glenn Morris <rgm@gnu.org>
9685 * info.el (info-initialize): Revert 2014-01-10 change.
9687 2014-02-14 Glenn Morris <rgm@gnu.org>
9689 * replace.el (map-query-replace-regexp)
9690 (read-regexp-defaults-function, read-regexp): Doc fixes.
9692 * dired.el (dired-read-regexp):
9693 * faces.el (list-faces-display):
9694 * misearch.el (multi-isearch-read-matching-buffers)
9695 (multi-isearch-read-matching-files):
9696 * play/cookie1.el (cookie-apropos):
9697 * progmodes/grep.el (grep-read-regexp): Doc fixes.
9699 * textmodes/remember.el (remember): Use frameset-to-register
9700 rather than frame-configuration-to-register.
9702 2014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
9704 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
9705 incorrect keybinding.
9707 2014-02-13 Daniel Colascione <dancol@dancol.org>
9709 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
9710 when adding overlays so that line numbers from compiler match line
9713 2014-02-13 Glenn Morris <rgm@gnu.org>
9715 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
9717 * jit-lock.el (jit-lock-mode): Doc fix.
9719 2014-02-13 Juanma Barranquero <lekktu@gmail.com>
9721 * apropos.el (apropos-read-pattern): When the user passes an empty
9722 string, give a more helpful error message than "Wrong type
9723 argument: stringp, nil".
9725 2014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
9727 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
9729 2014-02-13 Glenn Morris <rgm@gnu.org>
9731 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
9733 2014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
9735 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
9736 shift-select commands.
9738 2014-02-12 Dmitry Gutov <dgutov@yandex.ru>
9740 * progmodes/js.el (js-indent-line): Don't widen.
9741 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
9743 2014-02-12 Glenn Morris <rgm@gnu.org>
9745 * icomplete.el (icomplete): Add info-link to defgroup.
9746 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
9747 (icomplete-minibuffer-map, icomplete-mode)
9748 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
9750 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
9751 (package-menu-filter): Rename from package-menu-filter-interactive.
9754 2014-02-11 Juanma Barranquero <lekktu@gmail.com>
9756 * frameset.el (frameset--jump-to-register): Select the required
9757 window and buffer before restoring position (bug#16696).
9759 2014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
9761 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
9763 2014-02-10 Glenn Morris <rgm@gnu.org>
9765 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
9767 2014-02-10 Eli Zaretskii <eliz@gnu.org>
9769 * w32-common-fns.el (x-get-selection): Doc fix.
9770 * select.el (x-get-selection): Doc fix. (Bug#15109)
9772 * face-remap.el (face-remap-add-relative)
9773 (face-remap-remove-relative, face-remap-reset-base)
9774 (face-remap-set-base): Call force-mode-line-update to redisplay
9775 the current buffer due to potential change in faces. (Bug#16709)
9777 2014-02-10 Michael Albinus <michael.albinus@gmx.de>
9779 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
9780 script more robustly.
9782 2014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
9784 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
9786 * simple.el (choose-completion): Doc fix (bug#14160).
9788 * subr.el (event-start): Say what a nil EVENT value means.
9790 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
9793 * progmodes/grep.el (find-program): Doc fix (bug#14289).
9795 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
9797 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
9799 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
9800 predicate function (bug#15455).
9802 2014-02-10 Dmitry Gutov <dgutov@yandex.ru>
9804 * ielm.el (inferior-emacs-lisp-mode): Instead of
9805 `comment-use-global-state', set `comment-use-syntax'.
9807 2014-02-10 Glenn Morris <rgm@gnu.org>
9809 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
9811 2014-02-09 Alan Mackenzie <acm@muc.de>
9813 Fix c-invalidate-state-cache on narrowed buffers.
9814 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
9815 Widen when setting and clearing the CPP delimiter properties.
9817 2014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
9819 * help.el (describe-bindings): Doc fix (bug#9888).
9821 * files.el (save-buffer): Use ARG as the parameter name for
9822 consistency (bug#10346).
9823 (save-buffer): Clarify the 0 argument (bug#10346).
9825 * cus-edit.el (customize-apropos): Fix error string.
9826 (custom-buffer-create): Doc fix (bug#11122).
9827 (custom-sort-items): Doc fix (bug#11121).
9829 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
9831 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
9832 (icomplete-simple-completing-p): Mention the previous variable.
9834 * font-lock.el (font-lock-value-in-major-mode): Clarify the
9835 meaning of the parameter (bug#12282).
9837 * files.el (find-file-noselect): Clarify prompt when changing
9838 readedness (bug#13261).
9839 (locate-file): Suffixes aren't returned, so don't say that they
9841 (backup-inhibited): Doc clarification (bug#12525).
9843 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
9844 before we actually start to delete things (bug#16331).
9846 * subr.el (event-start): Doc fix (bug#14228).
9849 2014-02-09 Glenn Morris <rgm@gnu.org>
9851 * emacs-lisp/warnings.el (lwarn):
9852 Empower help-enable-auto-load. (Bug#15940)
9854 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
9856 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
9859 2014-02-08 Michael Albinus <michael.albinus@gmx.de>
9861 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
9862 Insert output at end of buffer. (Bug#16120)
9864 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
9866 * simple.el (choose-completion-string-functions): Document new
9867 calling convention (bug#14153).
9868 (execute-extended-command): Clarify doc string (bug#13373).
9870 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
9872 * find-dired.el (find-name-dired): Doc fix (bug#14290).
9873 (find-grep-dired): Doc fix (bug#14288).
9875 2014-02-08 Juri Linkov <juri@jurta.org>
9877 * isearch.el (isearch-quote-char): Check character validity
9878 like in `quoted-insert' (bug#16677).
9880 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
9882 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
9884 * isearch.el (isearch-hide-immediately): Doc clarification
9887 * simple.el (line-move): Document utility function used many
9888 places in the Emacs sources (bug#14843).
9890 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
9891 (dired-prev-marked-file): Doc fix (bug#14855).
9892 (dired-up-directory): Doc fix (bug#14848).
9894 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
9896 * files.el (file-relative-name): Doc fix (bug#15159).
9898 * fringe.el (fringe-styles): Doc fix (bug#15239).
9900 * isearch.el (isearch-filter-predicate): Documentation typo fix
9903 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
9905 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
9907 * replace.el (replace-match-maybe-edit): Doc clarification
9910 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
9912 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
9914 2014-02-08 Glenn Morris <rgm@gnu.org>
9916 * help-fns.el (describe-variable):
9917 Check {file,dir}-local-variables-alist, and buffer-file-name,
9918 in the correct buffer.
9920 2014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
9922 * help-fns.el (describe-variable): Fix the case where
9923 a value is directory-local with no dir-locals file. (Bug#16635)
9925 2014-02-08 Glenn Morris <rgm@gnu.org>
9927 * abbrev.el (edit-abbrevs-mode):
9928 Derive from fundamental-mode. (Bug#16682)
9930 2014-02-07 Juanma Barranquero <lekktu@gmail.com>
9932 * simple.el (quoted-insert): Check character validity (bug#16677).
9934 2014-02-07 Juri Linkov <juri@jurta.org>
9936 * desktop.el (desktop-read): Claim the lock when the owner is not
9937 the current process. (Bug#16157)
9939 2014-02-07 Juri Linkov <juri@jurta.org>
9941 * desktop.el (desktop-buffers-not-to-save): Change default from nil
9942 to "\\` ". (Bug#16651)
9944 2014-02-07 Juri Linkov <juri@jurta.org>
9946 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
9947 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
9948 (desktop-auto-save-cancel-timer): New function with some code from
9949 `desktop-auto-save-set-timer'.
9950 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
9951 Instead of setting `desktop-save-mode' to nil, call
9952 `desktop-save-mode' with arg 0. (Bug#16630)
9954 2014-02-07 Glenn Morris <rgm@gnu.org>
9956 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
9957 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
9958 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
9960 * obsolete/iswitchb.el: Move to obsolete/.
9961 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
9962 since obsolete/ is not scanned for autoloads.
9963 * emacs-lisp/authors.el (authors-valid-file-names):
9966 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
9967 Disable now non-functional find-file-hook.
9969 2014-02-06 Michael Albinus <michael.albinus@gmx.de>
9971 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
9972 instead of ";" in order to avoid additional prompts. Let heredoc
9973 scripts read from tty. (Bug#16582)
9974 (tramp-send-command): No special handling of heredocs, it isn't
9977 2014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
9979 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
9980 with a space (bug#16664). Limit the symbols considered to the ones
9981 that are bound or fbound (bug#16646).
9983 2014-02-06 Glenn Morris <rgm@gnu.org>
9985 * epa.el (epa-mail-aliases): Doc fix.
9987 2014-02-06 Dmitry Gutov <dgutov@yandex.ru>
9989 * emacs-lisp/lisp.el (lisp-completion-at-point):
9990 Use `completion-table-merge' instead of `completion-table-in-turn'
9993 * minibuffer.el (completion-table-merge): New function.
9995 2014-02-05 Michael Albinus <michael.albinus@gmx.de>
9997 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
9998 (tramp-sh-handle-set-file-acl)
9999 (tramp-sh-handle-start-file-process)
10000 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
10001 (tramp-find-executable, tramp-send-command): Use it.
10003 2014-02-05 Glenn Morris <rgm@gnu.org>
10005 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
10007 2014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
10009 * progmodes/python.el (python-shell-send-string)
10010 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
10012 2014-02-04 Anders Lindgren <andlind@gmail.com>
10014 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
10015 the names (bug#16620).
10017 2014-02-03 Martin Rudalics <rudalics@gmx.at>
10019 * faces.el (window-divider): New default value. Rewrite doc-string.
10020 (window-divider-first-pixel, window-divider-last-pixel): New faces.
10022 2014-02-03 Dmitry Gutov <dgutov@yandex.ru>
10024 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
10025 `protected' and `public' can also be called without arguments.
10027 2014-02-03 Glenn Morris <rgm@gnu.org>
10029 * register.el (window-configuration-to-register)
10030 (frame-configuration-to-register): Unadvertise unused argument.
10031 * frameset.el (frameset-to-register): Remove unused argument.
10033 * frameset.el (frameset-to-register):
10034 * kmacro.el (kmacro-to-register):
10035 * register.el (increment-register):
10036 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
10037 (calc-append-to-register, calc-prepend-to-register):
10038 * play/gametree.el (gametree-layout-to-register)
10039 (gametree-apply-register-layout):
10040 * textmodes/picture.el (picture-clear-rectangle-to-register)
10041 (picture-yank-rectangle-from-register):
10042 * vc/emerge.el (emerge-combine-versions-register):
10043 Use register-read-with-preview to read registers.
10045 2014-02-03 João Távora <joaotavora@gmail.com>
10047 * elec-pair.el (electric-pair-backward-delete-char): Don't error
10048 when at beginning of (possibly narrowed) buffer.
10050 2014-02-02 Daniel Colascione <dancol@dancol.org>
10052 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
10053 Also try to display local help from just before point.
10055 2014-02-02 Alan Mackenzie <acm@muc.de>
10057 c-parse-state. Don't "append-lower-brace-pair" in certain
10058 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
10059 recognised as a comment.
10061 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
10062 as well as normal comment starter.
10063 (c-parse-state-get-strategy): Extra return possibility
10065 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
10066 return value list to indicate replacement of a brace-pair cons
10068 (c-parse-state-1): With 'back-and-forward, only call
10069 c-append-lower-brace-pair-to state-cache when cons-separated.
10071 2014-02-02 Jan Djärv <jan.h.d@swipnet.se>
10073 * term/ns-win.el (ns-suspend-error): New function.
10074 (ns-initialize-window-system): Add ns-suspend-error to
10075 suspend-hook (Bug#16612).
10077 2014-02-02 Daniel Colascione <dancol@dancol.org>
10079 * progmodes/cc-defs.el (c-find-assignment-for-mode):
10080 Make loading cc-mode silent.
10082 2014-02-02 Daniel Colascione <dancol@dancol.org>
10084 * comint.el (comint-prompt-read-only): Change doc to suggest
10087 2014-02-02 Glenn Morris <rgm@gnu.org>
10089 * register.el (register-read-with-preview, point-to-register)
10090 (window-configuration-to-register, frame-configuration-to-register)
10091 (jump-to-register, number-to-register, view-register, insert-register)
10092 (copy-to-register, append-to-register, prepend-to-register)
10093 (copy-rectangle-to-register): Doc fixes.
10095 2014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
10097 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
10098 * emacs-lisp/find-func.el (find-function-C-source): Idem.
10099 * emacs-lisp/nadvice.el (advice--cd*r): New function.
10100 * help-fns.el (describe-function-1): Use it.
10102 2014-02-02 Glenn Morris <rgm@gnu.org>
10104 * register.el (register-preview-default): New function,
10105 split from register-preview.
10106 (register-preview-function): Rename from register-preview-functions,
10107 make it not a hook.
10108 (register-preview): Use register-preview-function.
10109 (register-read-with-preview): Error on non-character event. (Bug#16595)
10111 2014-02-01 Dmitry Gutov <dgutov@yandex.ru>
10113 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
10114 `:' before binary operators (bug#16609). Don't check for `:'
10115 before `[' and `(', or their syntax status. A percent literal
10116 can't end with either.
10117 (ruby-font-lock-keywords): For built-ins that require arguments,
10118 check that they're followed by something that looks like argument
10121 2014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
10123 * subr.el (butlast): Document what an omitted N means (bug#13437).
10126 2014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
10128 * net/shr.el (shr-generic): Make into a defsubst to make the stack
10129 depth shallower (bug#16587).
10130 (shr-tag-svg): Respect `shr-inhibit-images'.
10131 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
10133 2014-01-31 Dmitry Gutov <dgutov@yandex.ru>
10135 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
10136 (ruby-smie-grammar): Make "." right-associative. Make its priority
10137 lower than the ternary and all binary operators.
10138 (ruby-smie-rules): Indent "(" relative to the first non-"."
10139 parent, or the first "." parent at indentation.
10140 Use `ruby-align-chained-calls' for indentation of "." tokens.
10143 2014-01-31 Juri Linkov <juri@jurta.org>
10145 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
10146 from `make-hash-table'.
10148 * textmodes/ispell.el (ispell-init-process): Change message format
10149 to be consistent with other messages.
10151 2014-01-31 Glenn Morris <rgm@gnu.org>
10153 * delsel.el (delete-selection-mode): Doc fix.
10155 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
10156 (trace-function-background): Doc fixes.
10158 * ido.el (ido-use-virtual-buffers): Doc fix.
10159 Reset :version, since the default value has not changed.
10161 * register.el (register-preview-delay, register-read-with-preview):
10164 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
10165 do not mess with mail-buffer position (fixes 2009-11-03 change).
10166 * progmodes/cc-mode.el (c-submit-bug-report):
10167 Check auto-fill-mode is bound. (Bug#16592)
10169 2014-01-31 Darren Hoo <darren.hoo@gmail.com>
10171 * startup.el (fancy-splash-image-file): New function,
10172 split from fancy-splash-head.
10173 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
10174 so that we are both using the same image. (Bug#16574)
10176 2014-01-30 Glenn Morris <rgm@gnu.org>
10178 * simple.el (eval-expression): Doc fix.
10180 * hexl.el (hexl-mode-hook):
10181 * ielm.el (ielm-mode-hook):
10182 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
10183 (lisp-interaction-mode-hook):
10184 * progmodes/cfengine.el (cfengine3-documentation-function):
10185 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
10187 2014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
10189 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
10190 is a symbol (bug#16584).
10192 2014-01-30 Glenn Morris <rgm@gnu.org>
10194 * help.el (help-for-help-internal): Add "P" to text.
10196 2014-01-29 Glenn Morris <rgm@gnu.org>
10198 * simple.el (just-one-space, cycle-spacing): Doc fixes.
10200 2014-01-28 Martin Rudalics <rudalics@gmx.at>
10202 * window.el (fit-frame-to-buffer): Fix calculations for margins and
10203 height constraints.
10205 2014-01-28 Luke Lee <luke.yx.lee@gmail.com>
10207 * progmodes/hideif.el: Extend to full CPP expression syntax.
10208 (hif-token-alist): Add missing tokens.
10209 (hif-token-regexp): Add support for float/octal/hex immediates.
10210 (hif-string-literal-regexp): New const.
10211 (hif-tokenize): Recognize strings and float/octal/hex immediates.
10212 (hif-exprlist): New function.
10213 (hif-parse-if-exp): Use it.
10214 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
10215 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
10216 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
10217 (hif-logxor, hif-comma): New functions.
10219 2014-01-28 Glenn Morris <rgm@gnu.org>
10221 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
10223 * indent.el (tab-stop-list): Doc fix. Add :version.
10225 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
10226 (cvs-append-to-ignore): Add compatibility alias.
10228 2014-01-27 Glenn Morris <rgm@gnu.org>
10230 * dired.el (dired-hide-details-mode): Don't autoload it,
10231 since it cannot be used outside Dired buffers anyway.
10233 * emulation/cua-base.el (cua-mode): Doc fix.
10235 * dired.el (dired-hide-details-hide-symlink-targets)
10236 (dired-hide-details-hide-information-lines)
10237 (dired-hide-details-mode): Doc fixes.
10239 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
10240 * strokes.el (strokes-file): Doc fix. Bump :version.
10241 (strokes-help): Doc fix.
10242 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
10243 * emulation/viper.el (viper): Doc fix for custom group.
10244 (top-level): Remove oh-so-no-longer-relevant text about vip.
10245 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
10247 * ido.el (ido-save-directory-list-file):
10248 * saveplace.el (save-place-file):
10249 * calendar/timeclock.el (timeclock-file):
10250 * net/quickurl.el (quickurl-url-file):
10251 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
10252 * progmodes/idlwave.el (idlwave-config-directory):
10253 * textmodes/remember.el (remember-data-file):
10256 2014-01-26 Glenn Morris <rgm@gnu.org>
10258 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
10259 Doc fix. Make obsolete.
10260 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
10262 * sort.el (delete-duplicate-lines): Doc fix.
10264 2014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10266 * progmodes/ada-mode.el (ada):
10267 * woman.el (woman): Link to info manual and Commentary section.
10269 * progmodes/flymake.el (flymake):
10270 * nxml/nxml-mode.el (nxml):
10271 * net/eww.el (eww):
10272 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
10273 * htmlfontify.el (htmlfontify):
10276 * ido.el (ido): Link to info manual.
10278 2014-01-25 Leo Liu <sdl.web@gmail.com>
10280 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
10282 2014-01-25 Adam Sjøgren <asjo@koldfront.dk>
10284 * net/shr.el (shr-tag-img): Prefer the title over the alt text
10287 2014-01-24 Juanma Barranquero <lekktu@gmail.com>
10289 * net/eww.el (eww-download-callback):
10290 Fix reference to eww-download-directory.
10292 * emacs-lisp/bytecomp.el (byte-compile-file):
10293 Remove unused local variable `file-name'.
10295 2014-01-24 Glenn Morris <rgm@gnu.org>
10297 * woman.el (woman-default-faces, woman-monochrome-faces):
10298 Fix obsolescence specification.
10300 * subr.el (with-demoted-errors): Doc fix.
10302 2014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
10304 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
10305 (cl--macroexp-fboundp): New function.
10306 (cl--make-type-test): Use it.
10308 2014-01-23 Glenn Morris <rgm@gnu.org>
10310 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
10311 * simple.el (eval-expression): Doc fixes.
10313 2014-01-22 Glenn Morris <rgm@gnu.org>
10315 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
10317 2014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
10319 * emacs-lisp/package.el: Write files silently.
10320 (package-autoload-ensure-default-file, package--write-file-no-coding)
10321 (package-generate-description-file, package--download-one-archive)
10322 (package-install-from-archive): Tell `write-region' to stay quiet.
10323 (package-menu-mode, package-menu--print-info): Omit the Archive column
10324 if there's only one archive.
10325 (package-all-keywords, package--has-keyword-p): Remove dead code.
10327 2014-01-22 Glenn Morris <rgm@gnu.org>
10329 * version.el (emacs-bzr-version-bzr): Fix typo.
10331 * version.el (emacs-repository-get-version):
10332 Check either .bzr or .git, but not both.
10333 Make the git case actually use the DIR argument, and return nil
10334 rather than the empty string.
10335 Avoid error if .git exists but the git executable is not found.
10337 2014-01-22 Martin Rudalics <rudalics@gmx.at>
10339 Fixes in window size functions around Bug#16430 and Bug#16470.
10340 * window.el (window-total-size, window-size): New argument ROUND.
10341 (window--min-delta-1, window-min-delta, window--max-delta-1):
10342 Be more conservative when calculating the numbers of lines or
10343 columns a window can shrink (Bug#16430).
10344 (fit-window-to-buffer): Simplify code.
10345 * term.el (term-window-width): Call window-body-width again.
10347 2014-01-22 Glenn Morris <rgm@gnu.org>
10349 * image.el (image-format-suffixes): Doc fix.
10351 * international/quail.el (quail-define-package): Doc fix.
10353 * emacs-lisp/authors.el (authors-valid-file-names)
10354 (authors-renamed-files-alist): Additions.
10356 * vc/vc-git.el (vc-git-print-log): Remove --follow;
10357 reverts 2014-01-09 change. (Bug#16422)
10359 * calc/calc-embed.el (thing-at-point-looking-at):
10360 * emacs-lisp/map-ynp.el (x-popup-dialog):
10361 * obsolete/lmenu.el (x-popup-dialog):
10362 * emacs-lisp/package.el (url-recreate-url):
10363 * mail/mailclient.el (clipboard-kill-ring-save):
10364 * subr.el (x-popup-dialog): Update declaration.
10365 * mail/rmail.el (rmail-mime-message-p):
10366 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
10368 2014-01-21 Daniel Colascione <dancol@dancol.org>
10370 * progmodes/sh-script.el (sh--inside-noncommand-expression):
10371 Correctly detect when we're inside an arithmetic expansion form
10372 containing nested parenthesis.
10373 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
10374 to detect cases where we shouldn't expand "<<" to a heredoc
10377 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
10379 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
10380 (eldoc--message-command-p): New function.
10381 (eldoc-display-message-p): Use it.
10382 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
10383 message is not automatically erased for us.
10384 (eldoc-print-current-symbol-info): Erase previous message, if any.
10386 2014-01-21 Tassilo Horn <tsdh@gnu.org>
10388 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
10389 specify it's an interactive function.
10391 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
10392 Fix regex used for scanning for citation keys which failed for
10393 citations with optional arguments.
10395 2014-01-21 Leo Liu <sdl.web@gmail.com>
10397 * simple.el (read--expression): Don't enable eldoc-mode.
10399 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
10401 * simple.el (move-beginning-of-line): Make sure we don't move forward
10404 2014-01-20 Juri Linkov <juri@jurta.org>
10406 * saveplace.el (toggle-save-place, save-place-to-alist)
10407 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
10408 'dired-mode) before checking for dired-directory. (Bug#16477)
10410 2014-01-20 Juri Linkov <juri@jurta.org>
10412 * indent.el (indent-line-to): Use backward-to-indentation
10413 instead of back-to-indentation. (Bug#16461)
10415 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
10417 Revert some of the CANNOT_DUMP fix (Bug#16494).
10418 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
10419 but fixing this can wait until after the next release.
10420 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
10422 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
10424 * eshell/esh-mode.el (eshell-password-prompt-regexp):
10425 Use `password-word-equivalents'.
10426 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
10427 to t. (Bug#5664, Bug#13124)
10429 2014-01-19 Alan Mackenzie <acm@muc.de>
10431 Bind open-paren-in-column-0-is-defun-start to nil at some entry
10433 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
10434 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
10435 * progmodes/cc-mode.el (c-before-change, c-after-change)
10436 (c-font-lock-fontify-region): Bind it here.
10438 2014-01-19 Martin Rudalics <rudalics@gmx.at>
10440 * term.el (term-window-width): Call window-text-width instead of
10441 window-width (Bug#16470).
10443 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
10445 * simple.el (password-word-equivalents): Remove duplicates.
10446 Sort, to make this easier next time.
10447 Downcase. Omit ": " after "jelszó".
10449 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
10451 * term/common-win.el (saved-region-selection): Defvar it.
10452 (x-select-text): Set saved-region-selection (Bug#16382).
10454 2014-01-18 Glenn Morris <rgm@gnu.org>
10456 * emacs-lisp/authors.el (authors-aliases)
10457 (authors-renamed-files-alist): Add some entries.
10459 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
10461 * net/tramp.el (tramp-password-prompt-regexp):
10462 Use `password-word-equivalents' if available.
10463 (tramp-action-password, tramp-process-one-action)
10464 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
10466 2014-01-17 Chong Yidong <cyd@gnu.org>
10468 * simple.el (password-word-equivalents): New defcustom.
10469 * comint.el (comint-password-prompt-regexp): Use it. Bump version
10471 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
10474 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
10476 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
10477 (ruby-align-to-stmt-keywords): Change the default value.
10478 Use `ruby-alignable-keywords' to generate the possible customization
10480 (ruby-smie-rules): Instead of using a hardcoded list of alignable
10481 keywords, check against the value of `ruby-alignable-keywords'
10482 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
10484 2014-01-17 Glenn Morris <rgm@gnu.org>
10486 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
10488 Make M-x authors return zero *Authors Errors* from current logs.
10489 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
10490 (authors-ignored-files): Add some entries, remove others.
10491 (authors-ambiguous-files, authors-valid-file-names):
10493 (authors-renamed-files-alist): Add, remove, and adjust entries.
10494 (authors-renamed-files-regexps): Add some entries.
10495 Remove some very broad ones. Make some entries `lax'.
10496 (authors-lax-changelogs): New constant.
10497 (authors-disambiguate-file-name): Treat top-level specially.
10498 (authors-lax-changelog-p): New function.
10499 (authors-canonical-file-name): Check file as written against
10500 authors-valid-file-names. Do not special-case etc/.
10501 Handle `lax' logs and authors-renamed-files-regexps elements.
10503 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
10505 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
10506 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
10509 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
10511 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
10512 Assume we're already in the proper buffer.
10513 Inspired by Anders Lindgren <andlind@gmail.com>.
10514 (follow-post-command-hook): Call it from the right buffer.
10515 (follow-comint-scroll-to-bottom): Adjust call.
10516 (follow-all-followers): Use get-buffer-window-list.
10518 2014-01-15 Daniel Colascione <dancol@dancol.org>
10520 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
10521 `buffer-file-name' in interactive-form so that we don't leave
10522 pathless file names in `file-name-history'.
10524 2014-01-15 Juri Linkov <juri@jurta.org>
10526 * indent.el (indent-rigidly): Set deactivate-mark to nil
10527 in transient indentation mode. (Bug#16438)
10529 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
10531 * emacs-lisp/package.el (package-desc-keywords): New function
10533 (describe-package-1, package-all-keywords)
10534 (package--has-keyword-p): Use it.
10536 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
10538 * simple.el (define-alternatives): When creating the
10539 COMMAND-alternatives variable, assign COMMAND as its definition
10540 name so that `describe-variable' can relocate it.
10542 2014-01-14 Matthew Leach <matthew@mattleach.net>
10544 * font-lock.el (font-lock-keywords): Fix typo in docstring
10547 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10549 * textmodes/ispell.el (ispell-region): Reset `in-comment' for new
10550 line instead of wrongly reset `add-coment' (bug#13577).
10552 2014-01-14 Daiki Ueno <ueno@gnu.org>
10554 * epa-file.el (epa-file-write-region): Encode the region according
10555 to `buffer-file-format'. Problem reported at:
10556 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
10558 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
10560 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
10561 so it applies in the right buffer (bug#16410).
10563 2014-01-13 Daniel Colascione <dancol@dancol.org>
10565 * textmodes/rst.el (rst-define-key): Provide deprecated
10566 keybindings through named functions instead of anonymous ones so
10567 that "??" doesn't appear in describe-mode output.
10569 2014-01-13 Bastien Guerry <bzg@gnu.org>
10571 * simple.el (define-alternatives): Call the selected command
10572 interactively. When setting `COMMAND--implementation' for the
10573 first time, tell the user how to chose another implementation.
10574 Enhance the docstring.
10576 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
10578 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
10579 (log-edit--match-first-line): New function.
10580 (log-edit-font-lock-keywords): Use it.
10581 (log-edit-mode): Make jit-lock-defer-multiline work.
10583 2014-01-13 Bastien Guerry <bzg@gnu.org>
10585 * rect.el (rectangle-mark-mode): When the region is not active,
10586 display a message saying that the mark as been set and that
10587 rectangle mode is in use.
10588 (rectangle--highlight-for-redisplay): Only put an overlay with a
10589 visible vertical bar when (display-graphic-p) is non-nil.
10590 This partially fixes Bug#16403.
10592 2014-01-13 Juri Linkov <juri@jurta.org>
10594 * info.el (Info-find-file): Go to DIR before displaying the error
10595 about a nonexistent file if no previous Info file is visited.
10596 Use `user-error' instead of `error' for "Info file %s does not exist".
10597 (Info-find-node-2): In case of a nonexistent node in unwind forms
10598 go to the Top node if there is no previous node to revert to.
10601 2014-01-13 Martin Rudalics <rudalics@gmx.at>
10603 fit-frame/window-to-buffer code fixes including one for Bug#14096.
10604 * window.el (fit-frame-to-buffer): Fix doc-string.
10605 Respect window-min-height/-width. Fit pixelwise when
10606 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
10607 when avoiding that frame goes partially off-screen.
10608 (fit-window-to-buffer): Respect window-min-height/-width
10611 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
10613 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
10614 after an empty line.
10616 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
10618 * net/shr.el (shr-render-region): Autoload.
10620 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
10622 * net/eww.el (eww-download-directory): Rename from
10623 `eww-download-path' (Bug#16419).
10625 2014-01-12 Leo Liu <sdl.web@gmail.com>
10627 * dired-x.el (dired-mode-map): Fix last change.
10629 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
10631 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
10634 * emacs-lisp/generic.el (generic--normalize-comments):
10635 Rename from generic--normalise-comments. All uses changed.
10636 * play/bubbles.el (bubbles--neighborhood-score)
10637 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
10638 (bubbles--neighborhood-available)
10639 (bubbles--update-neighborhood-score):
10640 Rename from names with 'neighbourhood'. All uses changed.
10642 2014-01-12 Leo Liu <sdl.web@gmail.com>
10644 Re-implement the feature of showing eldoc info after editing.
10645 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
10646 (eldoc-edit-message-commands): New function.
10647 (eldoc-print-after-edit): New variable.
10648 (eldoc-pre-command-refresh-echo-area): Emit message only by
10649 eldoc-message-commands.
10650 (eldoc-mode): Restrict eldoc-message-commands to editing commands
10651 if eldoc-print-after-edit is set. (Bug#16346)
10652 * simple.el (read--expression): Enable eldoc-mode.
10653 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
10655 2014-01-11 Dani Moncayo <dmoncayo@gmail.com>
10656 Eric S. Raymond <esr@thyrsus.com>
10658 * version.el (emacs-repository-get-version): Enhance so the
10659 function works correctly in either a Bazaar or Git repo.
10661 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
10663 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
10664 Goes with removal of the joke manpages from /etc.
10666 2014-01-10 Kenichi Handa <handa@gnu.org>
10668 * mail/rmail.el (rmail-get-coding-system):
10669 Check rmail-get-coding-function before "funcall"ing it.
10671 2014-01-10 Glenn Morris <rgm@gnu.org>
10673 * emacs-lisp/authors.el (authors-fixed-entries):
10674 Update for files that no longer exist.
10676 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
10678 * version.el (emacs-bzr-get-version): Restore compatibilty with
10681 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
10683 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
10686 2014-01-10 Eli Zaretskii <eliz@gnu.org>
10688 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
10690 2014-01-10 Chong Yidong <cyd@gnu.org>
10692 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
10694 2014-01-10 Anders Lindgren <andlind@gmail.com>
10696 * follow.el (follow-cache-command-list): Include right-char and
10699 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
10702 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
10703 * woman.el (woman-mark-horizontal-position):
10704 Rename from woman-mark-horizonal-position. Use changed.
10706 2014-01-10 Glenn Morris <rgm@gnu.org>
10708 * info.el (info-initialize): If running uninstalled, ensure our
10709 own info files are always found first, even if INFOPATH is set.
10711 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
10713 2014-01-09 David Engster <deng@randomsample.de>
10715 * emacs-lisp/eieio-custom.el:
10716 * emacs-lisp/eieio-opt.el: Set generated autoload file to
10717 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
10718 * emacs-lisp/eieio.el: Regenerate autoloads.
10720 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
10722 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
10723 following renames. (Bug#8756)
10725 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
10727 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
10729 (activate-mark): Add `no-tmm' argument.
10730 (set-mark, push-mark-command): Use it instead of running
10731 activate-mark-hook by hand.
10733 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
10735 In preparation for the move to git, sanitize out some
10736 Bazaar-specific names.
10738 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
10740 * version.el (emacs-bzr-version): Name changed to
10741 emacs-repository-version. Obsolete-variable alias made.
10742 * loadup.el: Follow through on this name change.
10743 * mail/emacsbug.el (report-emacs-bug): Factor out any
10744 assumption about the version control system in use.
10746 2014-01-08 David Engster <deng@randomsample.de>
10748 * help-fns.el (help-fns-describe-function-functions):
10749 New variable to call functions for augmenting help buffers.
10750 (describe-function-1): Remove explicit calls to
10751 `help-fns--compiler-macro', `help-fns--parent-mode' and
10752 `help-fns--obsolete'. Put them in above new variable instead, and
10753 call them through `run-hook-with-args'.
10754 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
10755 `eieio-describe-class'. Not meant for interactive use anymore,
10756 but to augment existing help buffers. Remove optional second
10757 argument. Create proper button for file location.
10758 Rewrite function to use `insert' instead of `princ' and `prin1' where
10760 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
10761 (eieio-method-def, eieio-class-def): Move further up.
10762 (describe-method, describe-generic, eieio-describe-method):
10764 (eieio-help-constructor, eieio-help-generic): Rename from
10765 `eieio-describe-constructor' and `eieio-describe-generic', resp.
10766 Rewrite to use `insert' in the current buffer and use proper help
10768 (eieio-help-find-method-definition)
10769 (eieio-help-find-class-definition): Also accept symbols as
10771 (eieio-help-mode-augmentation-maybee): Remove.
10772 (eieio-describe-class-sb): Use `describe-function'.
10773 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
10774 Add `eieio-help-generic' and `eieio-help-constructor'.
10776 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
10779 * language/china-util.el (hz-ascii-designation):
10780 Rename from hz-ascii-designnation.
10781 (hz-ascii-designation): Rename from hz-ascii-designnation.
10784 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
10786 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
10789 2014-01-08 Bastien Guerry <bzg@gnu.org>
10791 * emacs-lisp/package.el (package-delete):
10792 Correctly delete the package from package-alist.
10794 2014-01-08 Daiki Ueno <ueno@gnu.org>
10796 * emacs-lisp/package.el (url-recreate-url): Declare.
10797 (url-http-target-url): Declare.
10798 (package-handle-response): Include requested URL in the error message.
10799 (package--check-signature): Don't re-signal errors from
10800 package--with-work-buffer. Suggested by Stefan Monnier.
10802 2014-01-07 Bastien Guerry <bzg@gnu.org>
10804 * minibuffer.el (completion--try-word-completion): When both a
10805 hyphen and a space are possible candidates for the character
10806 following a word, display both candidates. (Bug#15980)
10808 2014-01-07 Martin Rudalics <rudalics@gmx.at>
10810 * window.el (balance-windows-2): While rounding don't give a
10811 window more than the remainder. Bug#16351, bug#16383.
10813 2014-01-07 Glenn Morris <rgm@gnu.org>
10815 * menu-bar.el (menu-bar-help-extra-packages): Remove.
10816 (menu-bar-help-menu): Use view-external-packages instead.
10818 2014-01-07 Bastien Guerry <bzg@gnu.org>
10820 * emacs-lisp/package.el (package-delete): Also delete the package
10821 name from `package-alist', not its description only.
10823 2014-01-07 Glenn Morris <rgm@gnu.org>
10825 * help.el (view-external-packages):
10826 * menu-bar.el (menu-bar-help-extra-packages):
10827 Visit efaq.info rather than etc/MORE.STUFF.
10829 2014-01-07 Juri Linkov <juri@jurta.org>
10831 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
10832 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
10834 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
10835 that shadows RET. (Bug#16342)
10837 2014-01-07 Chong Yidong <cyd@gnu.org>
10839 * isearch.el (isearch-yank-char, isearch-yank-word)
10840 (isearch-yank-line): Doc fix.
10842 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
10844 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
10845 * emacs-lisp/elint.el (elint-find-builtins):
10846 * emacs-lisp/eldoc.el (eldoc-symbol-function):
10847 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
10848 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
10849 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
10850 * apropos.el (apropos-safe-documentation):
10851 * subr.el (symbol-file): Remove redundant fboundp.
10852 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
10854 2014-01-06 Bastien Guerry <bzg@gnu.org>
10856 * hl-line.el (global-hl-line-overlay): Make a local variable.
10857 (global-hl-line-overlays): New variable to store all overlays.
10858 (global-hl-line-mode): Don't delete overlays from the current
10859 buffer when `global-hl-line-sticky-flag' is non-nil.
10860 (global-hl-line-highlight): Add new overlays to
10861 `global-hl-line-overlays'.
10862 (global-hl-line-unhighlight-all): New function to delete all
10863 overlays when turning off `global-hl-line-mode'.
10864 This fixes Bug#16183.
10866 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
10868 * subr.el (set-transient-map): Fix nested case and docstring.
10870 2014-01-06 Tassilo Horn <tsdh@gnu.org>
10872 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
10875 2014-01-06 Daniel Colascione <dancol@dancol.org>
10877 Fix defun navigation in vc log view.
10879 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
10880 like `beginning-of-defun'.
10881 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
10882 log-view-end-of-defun to log-view-end-of-defun-1. Replace
10883 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
10884 (log-view-extract-comment): Call `log-view-current-entry' directly
10885 instead of relying on broken `log-view-beginning-of-defun' behavior.
10887 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
10890 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
10891 * emacs-lisp/debug.el (cancel-debug-on-entry):
10892 * epg.el (epg-error-to-string):
10893 * files.el (recover-file):
10894 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
10895 * mail/emacsbug.el (report-emacs-bug-hook):
10896 * mail/sendmail.el (mail-recover):
10897 * ses.el (ses-yank-resize):
10898 * term/ns-win.el (ns-print-buffer):
10899 Spelling fixes in diagnostics, mostly for "canceled" with one L.
10900 * epg.el (epg-key-capability-alist): Rename from misspelled version.
10902 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
10904 2014-01-06 Leo Liu <sdl.web@gmail.com>
10906 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
10907 to avoid shadowing global key. (Bug#16354)
10909 2014-01-06 Daniel Colascione <dancol@dancol.org>
10911 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
10914 2014-01-05 Martin Rudalics <rudalics@gmx.at>
10916 * window.el (balance-windows): Add mising t to fix Bug#16351.
10918 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
10920 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
10922 (shr-insert): If we have a word that's longer than `shr-width',
10923 break after it anyway. Otherwise we'll do no breaking once we get
10926 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
10928 * net/eww.el (eww): Support single/double quote for search.
10929 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
10930 (eww-history-quit): Delete and use quit-window.
10931 (eww-history-kill): Delete, because it doesn't work well and
10933 (eww-history-mode-map): Delete some keys and add easy-menu.
10935 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
10937 Fix misspelling of 'chinese' in rx (Bug#16237).
10938 * emacs-lisp/rx.el (rx-categories): Correct spelling of
10941 Change subword regexps back to vars (Bug#16296).
10942 * progmodes/subword.el (subword-forward-regexp)
10943 (subword-backward-regexp): Change these back to variables.
10945 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
10947 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
10948 syntax-begin-function (bug#16247).
10950 2014-01-03 Chong Yidong <cyd@gnu.org>
10952 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
10953 (advice--docstring): Delete variable.
10954 (advice--make-1): Leave the docstring empty.
10955 (advice-add): Use function-documentation for advised docstring.
10957 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
10958 Ignore function-documentation property when getting documentation.
10959 (ad-activate-advised-definition): Use function-documentation
10960 generate the docstring.
10961 (ad-make-advised-definition): Don't call
10962 ad-make-advised-definition-docstring.
10963 (ad-make-advised-definition-docstring, ad-advised-definition-p):
10966 * progmodes/sql.el (sql-help): Use function-documentation instead
10967 of dynamic-docstring-function property. No need to autoload now.
10968 (sql--help-docstring): New variable.
10969 (sql--make-help-docstring): Use it.
10971 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
10973 * ielm.el (ielm-tab): Retarget.
10974 (ielm-map): Use ielm-tab for tab.
10975 (ielm-complete-filename): Use comint-filename-completion.
10976 (ielm-complete-symbol): Remove.
10977 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
10978 remove ielm-tab from completion-at-point-functions (bug#16224).
10980 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
10981 Beware signals raised by predicates (bug#16201).
10983 2014-01-02 Richard Stallman <rms@gnu.org>
10985 * dired-aux.el (dired-do-print): Handle printer-name.
10987 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
10988 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
10989 (rmail-epa-decrypt): Turn off mime processing.
10991 * mail/rmail.el (rmail-make-in-reply-to-field):
10992 Add parens in message-id.
10994 * mail/rmail.el (rmail-get-coding-function): Variable.
10995 (rmail-get-coding-system): Use it.
10997 2013-12-31 Eli Zaretskii <eliz@gnu.org>
10999 * international/mule-conf.el: Unify the charset indian-is13194.
11000 (indian-is13194): Specify unify-map.
11002 2013-12-31 Leo Liu <sdl.web@gmail.com>
11004 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
11006 2013-12-30 Daniel Colascione <dancol@dancol.org>
11008 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
11009 of printing a useless when we resume from sleep.
11011 * progmodes/sh-script.el
11012 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
11013 in indentation code. (Bug#16233)
11015 2013-12-28 João Távora <joaotavora@gmail.com>
11017 * elec-pair.el (electric-pair-post-self-insert-function):
11018 Don't open extra newlines at beginning of buffer. (Bug#16272)
11020 2013-12-28 Eli Zaretskii <eliz@gnu.org>
11022 * frame.el (window-system-for-display): Don't allow to create a
11023 GUI frame from a -nw session on MS-Windows. (Bug#14739)
11025 2013-12-28 Glenn Morris <rgm@gnu.org>
11027 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
11030 * apropos.el (apropos-match-face):
11031 * calculator.el (calculator-displayer):
11032 * dabbrev.el (dabbrev-search-these-buffers-only):
11033 * face-remap.el (buffer-face-mode-face):
11034 * simple.el (yank-handled-properties):
11035 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
11036 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
11037 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
11038 (hashcash-double-spend-database):
11039 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
11040 (ruby-deep-indent-paren-style):
11041 * textmodes/flyspell.el (flyspell-auto-correct-binding):
11042 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
11043 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
11044 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
11045 Specify custom types.
11047 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
11048 * bookmark.el (bookmark-bmenu-use-header-line):
11049 * doc-view.el (doc-view-scale-internally):
11050 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
11051 * register.el (register-preview-delay):
11052 * net/shr.el (shr-bullet):
11053 * progmodes/cfengine.el (cfengine-cf-promises)
11054 (cfengine-parameters-indent):
11055 * progmodes/octave.el (inferior-octave-error-regexp-alist):
11056 * textmodes/reftex-vars.el (reftex-label-regexps):
11057 * vc/log-edit.el (log-edit-setup-add-author): Add version.
11059 * net/tls.el (tls-certtool-program): Fix default value.
11061 * desktop.el (desktop-restore-in-current-display):
11062 * newcomment.el (comment-empty-lines):
11063 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
11064 (idlwave-pad-keyword):
11065 * progmodes/tcl.el (tcl-tab-always-indent):
11066 * textmodes/reftex-vars.el (reftex-index-default-tag):
11067 * elec-pair.el (electric-pair-skip-whitespace):
11068 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
11070 * emacs-lisp/authors.el (authors-ignored-files)
11071 (authors-valid-file-names, authors-renamed-files-alist): Additions.
11073 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
11075 * shell.el (shell-dynamic-complete-command): Doc fix.
11076 (shell--command-completion-data): Shell completion now matches
11077 executable filenames from the current buffer's directory, on
11078 systems in which this behavior is the default (windows-nt, ms-dos).
11080 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
11082 * net/shr.el (shr-insert): Don't infloop if the width is zero.
11084 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
11086 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
11089 * electric.el: Move all electric-pair-* to elec-pair.el.
11090 * elec-pair.el: New file, split from electric.el.
11092 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
11094 * net/shr.el (shr-find-fill-point): Don't try to fill if the
11095 indentation level is larger than the width, because that will
11097 (shr-insert): Fill repeatedly long texts, so that Japanese is
11098 formatted correctly (bug#16263).
11099 (shr-find-fill-point): Off by one error in comparison with the
11102 2013-12-26 João Távora <joaotavora@gmail.com>
11104 * electric.el (electric-pair-mode): More flexible engine for skip-
11105 and inhibit predicates, new options for pairing-related functionality.
11106 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
11107 if that keeps or improves their balance in buffers.
11108 (electric-pair-delete-adjacent-pairs): Delete the pair when
11109 backspacing over adjacent matched delimiters.
11110 (electric-pair-open-extra-newline): Open extra newline when
11111 inserting newlines between adjacent matched delimiters.
11112 (electric--sort-post-self-insertion-hook):
11113 Sort post-self-insert-hook according to priority values when
11114 minor-modes are activated.
11115 * simple.el (newline-and-indent): Call newline with interactive
11117 (blink-paren-post-self-insert-function): Set priority to 100.
11118 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
11119 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
11120 comments. Locally set electric-pair-skip-whitespace to 'chomp and
11121 electric-pair-open-newline-between-pairs to nil.
11123 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
11125 * progmodes/python.el: Use lexical-binding.
11126 (python-nav-beginning-of-defun): Stop searching ASAP.
11128 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
11130 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
11131 Fix interactive spec. Doc fix. (Bug#15754)
11133 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
11135 * emacs-lisp/byte-run.el (eval-when-compile):
11136 * progmodes/cc-defs.el (cc-eval-when-compile):
11137 Fix edebug spec (bug#16184).
11139 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
11141 * net/shr.el (shr-visit-file): Remove debugging function.
11142 (shr-insert): Don't infloop if we can't find a good place to break
11143 the line (bug#16256).
11145 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
11147 * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
11148 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
11149 python-nav-lisp-forward-sexp-safe.
11150 (python-nav--forward-sexp): New argument SAFE allows switching
11151 forward sexp movement behavior for parens.
11152 (python-nav-forward-sexp): Throw errors on unterminated parens
11154 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
11155 (python-nav-backward-sexp-safe): New functions.
11156 (python-shell-buffer-substring):
11157 Use `python-nav-forward-sexp-safe'.
11159 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
11161 * net/shr.el (shr-find-fill-point): Don't break lines before a
11163 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
11164 (shr-find-fill-point): Remove the special checks for the quotation
11165 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
11167 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
11169 * net/eww.el (eww-form-textarea): Use a different face for
11170 textareas than text input since they have different keymaps
11173 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
11175 * progmodes/python.el (python-nav-beginning-of-statement):
11176 Speed up (Bug#15295).
11178 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
11180 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
11181 the window configuration.
11183 2013-12-24 Eli Zaretskii <eliz@gnu.org>
11185 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
11186 we run on MS-Windows or MS-DOS.
11188 2013-12-24 Martin Rudalics <rudalics@gmx.at>
11190 * window.el (balance-windows-area): Call window-size instead of
11191 window-height and window-width. Bug#16241.
11193 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
11195 * net/eww.el (eww-bookmark-quit): Remove.
11196 (eww-bookmark-browse): Restore the window configuration when you
11197 choose a bookmark (bug#16144).
11199 2013-12-24 Daniel Colascione <dancol@dancol.org>
11201 * icomplete.el: Remove redundant :group arguments to `defcustom'
11203 (icomplete-show-matches-on-no-input): New customizable variable.
11204 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
11205 we have something to show.
11206 (icomplete-exhibit): Compute completions even if we have no user input.
11208 2013-12-23 Daniel Colascione <dancol@dancol.org>
11210 * icomplete.el: Move `provide' to end of file.
11212 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
11214 * net/gnutls.el (gnutls-verify-error): Add version tag.
11216 2013-12-23 Chong Yidong <cyd@gnu.org>
11218 * subr.el (set-transient-map): Rename from
11219 set-temporary-overlay-map. Doc fix.
11221 * face-remap.el (text-scale-adjust):
11222 * indent.el (indent-rigidly):
11223 * kmacro.el (kmacro-call-macro):
11224 * minibuffer.el (minibuffer-force-complete):
11225 * repeat.el (repeat):
11226 * simple.el (universal-argument--mode):
11227 * calendar/todo-mode.el (todo-insert-item--next-param):
11228 * progmodes/f90.el (f90-abbrev-start): Callers changed.
11230 * indent.el (indent-rigidly): Use substitute-command-keys.
11232 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
11234 * net/eww.el (eww-tag-select): Add text-property to jump to next
11236 (eww): Add non-supported ftp error.
11238 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
11240 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
11241 comments. Handle electric indent after typing `?' and `!'.
11243 2013-12-22 Chong Yidong <cyd@gnu.org>
11245 * faces.el (face-spec-recalc): If the theme specs are not
11246 applicable to a frame, fall back on the defface spec.
11247 This prevents themes from obliterating faces on low-color terminals.
11249 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
11251 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
11252 after `{'. We need it after block openers, and it doesn't seem
11253 to hurt after hash openers.
11255 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
11257 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
11258 extracted from `ruby-smie-rules'.
11259 (ruby--electric-indent-chars): New variable.
11260 (ruby--electric-indent-p): New function.
11261 (ruby-mode): Use `electric-indent-functions' instead of
11262 `electric-indent-chars'.
11264 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
11266 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
11268 (ruby-smie-rules): Indent plus one level after `=>'.
11270 2013-12-21 Richard Stallman <rms@gnu.org>
11272 * simple.el (newline): Doc fix.
11274 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
11276 * net/eww.el (eww-list-histories, eww-list-histories)
11277 (eww-history-browse, eww-history-quit, eww-history-kill)
11278 (eww-history-mode-map, eww-history-mode): New command and
11279 functions to list browser histories.
11280 (eww-form-text): Support text form with disabled
11281 and readonly attributes.
11282 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
11284 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11286 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
11287 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
11288 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
11289 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
11291 (eww-bookmark-mode-map): Add menu.
11292 (eww-render, eww-mode): Use `setq-local'.
11293 (eww-tool-bar-map): New variable.
11294 (eww-mode): Set `tool-bar-map'.
11295 (eww-view-source): Check for `html-mode' with `fboundp'.
11297 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
11299 * net/shr.el (shr--extract-best-source): Don't bug out on audio
11300 elements with text inside. Also remove debugging.
11302 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
11304 * cus-start.el (all): Add ns-use-srgb-colorspace.
11306 2013-12-21 Chong Yidong <cyd@gnu.org>
11308 * custom.el (custom-theme-recalc-face): Do nothing if the face is
11309 undefined. Thus, theme settings for undefined faces do not take
11310 effect until the faces are defined with defface, the same as with
11313 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
11314 (face-spec-reset-face): Don't assign extra properties in temacs.
11315 (face-spec-recalc): Apply X resources too.
11317 2013-12-21 Chong Yidong <cyd@gnu.org>
11319 * faces.el (face-spec-set):
11320 * cus-face.el (custom-theme-set-faces, custom-set-faces):
11321 * custom.el (defface): Doc fixes (Bug#16203).
11323 * indent.el (indent-rigidly-map): Add docstring, and move commands
11324 into named functions.
11325 (indent-rigidly-left, indent-rigidly-right)
11326 (indent-rigidly-left-to-tab-stop)
11327 (indent-rigidly-right-to-tab-stop): New functions. Decide on
11328 indentation direction based on bidi direction, and accumulate
11329 sequential commands in a single undo boundary.
11330 (indent-rigidly--pop-undo): New utility function.
11332 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
11334 * faces.el (read-face-name): Require crm.el when using crm-separator.
11336 2013-12-20 Daniel Colascione <dancol@dancol.org>
11338 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
11339 so that we don't reflow comments into the shebang line.
11341 2013-12-20 Juri Linkov <juri@jurta.org>
11343 * saveplace.el (save-place-to-alist): Add `dired-filename' as
11344 a position when `dired-directory' is non-nil. Check integer
11345 positions with `integerp'.
11346 (toggle-save-place, save-places-to-alist): Add check for
11348 (save-place-find-file-hook): Check integer positions with
11350 (save-place-dired-hook): Use `dired-goto-file' when
11351 `dired-filename' is found in the assoc list. Check integer
11352 positions with `integerp'.
11353 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
11355 * dired.el (dired-initial-position-hook): Rename back from
11356 `dired-initial-point-hook'.
11357 (dired-initial-position): Rename `dired-initial-point-hook' to
11358 `dired-initial-position-hook'.
11359 (dired-file-name-at-point): Doc fix. (Bug#15329)
11361 2013-12-20 Juri Linkov <juri@jurta.org>
11363 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
11364 (read-regexp-suggestions): New function.
11365 (read-regexp): Use `read-regexp-defaults-function' to get default values.
11366 Use `read-regexp-suggestions'. Add non-empty default to history
11368 (occur-read-regexp-defaults-function): Remove function.
11369 (occur-read-primary-args): Use `regexp-history-last' instead of
11370 `occur-read-regexp-defaults-function'.
11372 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
11373 (hi-lock-line-face-buffer, hi-lock-face-buffer)
11374 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
11375 `hi-lock-read-regexp-defaults-function'. Doc fix.
11376 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
11377 with `find-tag-default-as-symbol-regexp'. Doc fix.
11378 (hi-lock-read-regexp-defaults): Remove function.
11379 (hi-lock-regexp-okay): Add check for null.
11381 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
11382 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
11384 * subr.el (find-tag-default-as-symbol-regexp): New function.
11385 (find-tag-default-as-regexp): Move symbol regexp formatting to
11386 `find-tag-default-as-symbol-regexp'.
11388 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
11390 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
11393 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
11395 * calendar/todo-mode.el: New implementation of item insertion
11396 commands and key bindings.
11397 (todo-key-prompt): New face.
11398 (todo-insert-item): New command.
11399 (todo-insert-item--parameters): New defconst, replacing defvar
11400 todo-insertion-commands-args-genlist.
11401 (todo-insert-item--param-key-alist): New defconst, replacing
11402 defvar todo-insertion-commands-arg-key-list.
11403 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
11404 (todo-insert-item--argsleft, todo-insert-item--apply-args)
11405 (todo-insert-item--next-param): New functions.
11406 (todo-insert-item--args, todo-insert-item--argleft)
11407 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
11409 (todo-key-bindings-t): Change binding of "i" from
11410 todo-insertion-map to todo-insert-item.
11411 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
11412 (todo-insertion-command-name, todo-insertion-commands-names)
11413 (todo-define-insertion-command, todo-insertion-commands)
11414 (todo-insertion-key-bindings, todo-insertion-map): Remove.
11416 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
11418 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
11419 (todo-toggle-item-highlighting): Use eval-and-compile instead of
11421 (todo-move-category): Allow choosing a non-existing todo file to
11422 move the category to, and create that file.
11423 (todo-default-priority): New user option.
11424 (todo-set-item-priority): Use it.
11425 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
11426 (desktop-restore-file-buffer): Declare.
11427 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
11428 (todo-modes-set-2): Locally set desktop-save-buffer to
11429 todo-desktop-save-buffer.
11430 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
11431 (auto-mode-alist): Add autoload cookie.
11433 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
11435 * emacs-lisp/subr-x.el: Renamed from helpers.el.
11436 helpers.el was a poor choice of name.
11437 (string-remove-prefix): New function.
11438 (string-remove-suffix): New function.
11440 2013-12-20 Martin Rudalics <rudalics@gmx.at>
11442 Fix assignment for new window total sizes.
11443 * window.el (window--pixel-to-size): Remove function.
11444 (window--pixel-to-total-1, window--pixel-to-total):
11445 Fix calculation of new total sizes.
11447 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
11449 * comint.el (comint-output-filter): Fix rear-nonsticky property
11450 placement (Bug#16010).
11452 2013-12-20 Chong Yidong <cyd@gnu.org>
11454 * faces.el (read-color): Minor fix for completion function.
11456 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
11458 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
11459 New option. (Bug#16182)
11460 (ruby-smie--indent-to-stmt-p): Use it.
11461 (ruby-smie-rules): Revert the logic in the handling of `when'.
11462 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
11463 (ruby-deep-arglist, ruby-deep-indent-paren)
11464 (ruby-deep-indent-paren-style): Update docstrings to note that the
11465 vars don't have any effect with SMIE.
11467 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
11469 * calc/calc.el (calc-enter, calc-pop): Use the variable
11470 `calc-context-sensitive-enter'.
11472 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
11474 * net/shr.el (shr-insert): Protect against infloops in degenerate
11477 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11479 * progmodes/octave.el (octave): Add link to manual and octave
11481 (octave-mode-menu): Link to octave-mode manual.
11483 2013-12-20 Leo Liu <sdl.web@gmail.com>
11485 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
11486 insertion using skeleton-end-newline. (Bug#16138)
11488 2013-12-20 Juri Linkov <juri@jurta.org>
11490 * replace.el (occur-engine): Use `add-face-text-property'
11491 to add the face property to matches and titles. (Bug#14645)
11493 * hi-lock.el (hi-green): Use lighter color "light green" closer to
11494 the palette of other hi-lock colors.
11495 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
11497 2013-12-19 Juri Linkov <juri@jurta.org>
11499 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
11500 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
11501 (minibuffer-history-symbol): Move variable declaration closer to
11504 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
11507 2013-12-19 Juri Linkov <juri@jurta.org>
11509 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
11511 (log-edit-hook): Add it to :options. (Bug#16170)
11513 2013-12-19 Juri Linkov <juri@jurta.org>
11515 * simple.el (eval-expression-print-format): Don't check for
11516 command names and the last command. Always display additional
11517 formats of the integer result in the echo area, and insert them
11518 to the current buffer only with a zero prefix arg.
11519 Display character when char-displayable-p is non-nil.
11520 (eval-expression): With a zero prefix arg, set `print-length' and
11521 `print-level' to nil, and insert the integer values from
11522 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
11524 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
11525 `eval-last-sexp-arg-internal'. Doc fix.
11526 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
11527 `eval-last-sexp-print-value'. Doc fix.
11528 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
11529 Set `print-length' and `print-level' to nil when arg is zero.
11530 (eval-last-sexp): Doc fix.
11531 (eval-defun-2): Print the integer values from
11532 `eval-expression-print-format' at the end.
11534 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
11535 values from `eval-expression-print-format' at the end.
11537 * ielm.el (ielm-eval-input): Print the integer
11538 values from `eval-expression-print-format' at the end.
11540 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
11542 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
11543 2013-12-11T19:01:44Z!tzz@lifelogs.com.
11545 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
11547 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
11548 (hl-line-highlight, global-hl-line-highlight): Use it.
11549 (hl-line-overlay): Use defvar-local.
11551 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
11553 * term/ns-win.el: Require dnd.
11554 (global-map): Remove drag items.
11555 (ns-insert-text, ns-set-foreground-at-mouse)
11556 (ns-set-background-at-mouse):
11557 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
11558 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
11561 2013-12-19 Glenn Morris <rgm@gnu.org>
11563 * emacs-lisp/ert.el (ert-select-tests):
11564 Fix string/symbol mixup. (Bug#16121)
11566 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
11568 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
11569 keywords to their parent.
11571 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
11573 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
11574 first arg to be a string (fixed dead code), or an operator symbol.
11575 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
11577 (ruby-smie-rules): Remove parent token check in the `.' clause, it
11578 did nothing. Don't respond to `(:after ".")', it will be called
11579 with :before anyway. Remove the ` @ ' rule, it didn't seem to
11580 change anything. Only return indentation for binary operators
11581 when they are hanging. De-dent opening paren when its parent is
11582 `.', otherwise it looks bad when the dot is not at bol or eol
11585 2013-12-19 Juri Linkov <juri@jurta.org>
11587 * replace.el (query-replace-read-args): Split a non-negative arg
11588 and a negative arg into separate elements.
11589 (query-replace, query-replace-regexp, replace-string)
11590 (replace-regexp): Add arg `backward'. Doc fix.
11591 (replace-match-maybe-edit): When new arg `backward' is non-nil,
11592 move point to the beginning of the match.
11593 (replace-search, replace-highlight): Use new arg `backward'
11594 to set the value of `isearch-forward'.
11595 (perform-replace): Add arg `backward' and use it to perform
11596 replacement backward. (Bug#14979)
11598 * isearch.el (isearch-query-replace): Use a negative prefix arg
11599 to call `perform-replace' with a non-nil arg `backward'.
11601 2013-12-18 Juri Linkov <juri@jurta.org>
11603 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
11604 to the default list. Move `log-edit-show-files' to the end.
11605 Add more available functions to options.
11606 (log-edit): Move default specific settings to
11607 `log-edit-insert-message-template'. Don't move point.
11608 (log-edit-insert-message-template): New function.
11609 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
11612 2013-12-18 Juri Linkov <juri@jurta.org>
11614 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
11615 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
11617 2013-12-18 Leo Liu <sdl.web@gmail.com>
11619 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
11622 2013-12-18 Eli Zaretskii <eliz@gnu.org>
11624 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
11625 formats for displaying file sizes when the -s switch is given.
11626 Instead, compute a separate format for displaying the size in
11627 blocks, which is displayed in addition to the "regular" size.
11628 When -h is given in addition to -s, produce size in blocks in
11629 human-readable form as well. (Bug#16179)
11631 2013-12-18 Tassilo Horn <tsdh@gnu.org>
11633 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
11634 Reference tables with ~\ref{...} instead of only \ref{...}.
11636 2013-12-18 Chong Yidong <cyd@gnu.org>
11638 * cus-edit.el (custom-magic-alist): Fix "themed" description
11641 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
11642 is non-nil, do not create a new entry in the symbol's theme-value
11643 or theme-face property; update theme-settings only (Bug#14664).
11644 (custom-available-themes): Doc fix.
11646 * cus-theme.el (custom-new-theme-mode-map): Add bindings
11649 * replace.el (occur-engine): Avoid infloop (Bug#7593).
11651 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
11653 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
11656 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
11658 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
11660 2013-12-18 Glenn Morris <rgm@gnu.org>
11662 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
11663 * cus-start.el (load-prefer-newer): New option.
11665 2013-12-18 Le Wang <l26wang@gmail.com>
11667 * comint.el (comint-previous-matching-input-from-input):
11668 Retain point (Bug#13404).
11670 2013-12-18 Chong Yidong <cyd@gnu.org>
11672 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
11674 2013-12-18 Glenn Morris <rgm@gnu.org>
11676 * mail/emacsbug.el (report-emacs-bug):
11677 Only mention enable-multibyte-characters if non-standard.
11679 2013-12-17 Juri Linkov <juri@jurta.org>
11681 * arc-mode.el (archive-extract-by-file): Check if directory exists
11682 before deletion to not show irrelevant errors if it doesn't exist.
11684 2013-12-17 Juri Linkov <juri@jurta.org>
11686 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
11689 * net/eww.el (browse-web): Add alias to `eww'.
11690 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
11691 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
11693 * net/browse-url.el (browse-url-browser-function): Move `eww'
11694 closer to similar functions.
11696 * startup.el (fancy-startup-screen, fancy-about-screen):
11697 Set browse-url-browser-function to eww-browse-url locally.
11700 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
11702 * window.el (window--pixel-to-total): Remove unused `mini' var.
11703 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
11704 (split-window): Remove unused `new' var.
11705 (window--display-buffer): Remove unused `frame' and `delta' vars.
11706 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
11707 and display-width'.
11709 2013-12-17 Martin Rudalics <rudalics@gmx.at>
11711 * dired.el (dired-mark-pop-up):
11712 * register.el (register-preview): Don't bind
11713 split-height-threshold here since it's now done in
11714 display-buffer-below-selected.
11716 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
11718 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
11719 xterm-rgb-convert-to-16bit.
11720 (rxvt-register-default-colors): Standardize with
11721 xterm-register-default-colors (Bug#14078).
11723 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
11725 * simple.el (kill-region): Pass mark first, then point, so that
11726 kill-append works right (Bug#12819).
11727 (copy-region-as-kill, kill-ring-save): Likewise.
11729 2013-12-17 Leo Liu <sdl.web@gmail.com>
11731 * net/rcirc.el (rcirc-add-face):
11732 * eshell/em-prompt.el (eshell-emit-prompt):
11733 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
11736 2013-12-17 Chong Yidong <cyd@gnu.org>
11738 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
11739 Suggested by Xue Fuqiao.
11741 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
11743 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
11745 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
11747 * net/shr.el (shr-insert-document): Remove unused var
11748 `shr-preliminary-table-render'.
11749 (shr-rescale-image): Remove unused arg `force'.
11750 (shr-put-image): Update calls accordingly.
11751 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
11753 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
11755 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
11756 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
11757 :close-all, to see which indentation method to use (Bug#16116).
11758 (smie-rules-function): Document the method :close-all.
11760 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
11762 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
11764 * net/eww.el (eww-display-html): If we can't find the anchor we're
11765 looking for, then go to point-min.
11767 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
11769 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
11770 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
11771 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
11772 Expand dir too, in case it's relative.
11774 2013-12-16 Juri Linkov <juri@jurta.org>
11776 * desktop.el (desktop-auto-save-timeout): Change default to
11777 `auto-save-timeout'. Doc fix.
11778 (desktop-save): Skip the timestamp in desktop-saved-frameset
11779 when checking for auto-save changes.
11780 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
11781 `desktop-auto-save' is called repeatedly by the idle timer.
11782 (desktop-auto-save-set-timer): Replace `run-with-timer' with
11783 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
11786 2013-12-16 Juri Linkov <juri@jurta.org>
11788 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
11790 (isearch-pre-command-hook): Check `this-command' for symbolp.
11792 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
11794 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
11796 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
11798 * progmodes/cfengine.el (cfengine3--current-word): Remove.
11799 (cfengine3--current-function): Bring in the current-function
11800 functionality from `cfengine3--current-word'.
11801 (cfengine3-completion-function): Bring in the
11802 bounds-of-current-word functionality from
11803 `cfengine3--current-word'.
11805 2013-12-16 Martin Rudalics <rudalics@gmx.at>
11807 * window.el (display-buffer-below-selected):
11808 Bind split-height-threshold to 0 as suggested by Juri Linkov.
11810 2013-12-16 Leo Liu <sdl.web@gmail.com>
11812 * progmodes/compile.el (compile-goto-error): Do not push-mark.
11813 Remove NOMSG arg and all uses changed.
11815 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
11817 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
11818 (cua--deactivate-rectangle): Don't deactivate the mark.
11819 (cua-set-rectangle-mark): Don't set mark-active since
11820 cua--activate-rectangle already does it for us.
11821 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
11822 non-rectangular region.
11824 * emulation/cua-base.el (cua-repeat-replace-region):
11825 Use with-current-buffer.
11827 * net/gnutls.el: Use cl-lib.
11828 (gnutls-negotiate): `mapcan' -> cl-mapcan.
11830 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
11832 * emacs-lisp/package.el (package-built-in-p): Support both
11833 built-in and the package.el converted package descriptions.
11834 (package-show-package-list): Allow keywords.
11835 (package-keyword-button-action): Use it instead of
11836 `finder-list-matches'.
11837 (package-menu-filter-interactive): Interactive filtering (by
11839 (package-menu--generate): Support keywords and change keymappings
11840 and headers when they are given.
11841 (package--has-keyword-p): Helper function.
11842 (package-menu--refresh): Use it.
11843 (package--mapc): Helper function.
11844 (package-all-keywords): Use it.
11845 (package-menu-mode-map): Set up menu items and keybindings to
11846 provide a filtering UI.
11848 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
11850 * net/gnutls.el (gnutls-verify-error): New defcustom to control
11851 the behavior when a certificate fails validation. Defaults to
11852 old behavior: never abort, just warn.
11853 (gnutls-negotiate): Use it.
11855 2013-12-14 Martin Rudalics <rudalics@gmx.at>
11857 * window.el (display-buffer-below-selected): Never split window
11858 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
11860 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
11862 * emacs-lisp/package.el (package--prepare-dependencies): New function.
11863 (package-buffer-info): Use it (bug#15108).
11865 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
11867 * icomplete.el (icomplete-completions): Make sure the prefix is already
11868 displayed elsewhere before hiding it (bug#16219).
11870 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
11872 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
11873 open-paren tokens when preceded by a open-paren, too.
11874 (ruby-smie-rules): Handle virtual indentation after open-paren
11875 tokens specially. If there is code between it and eol, return the
11876 column where is starts (Bug#16118).
11878 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
11880 * progmodes/cfengine.el: Fix `add-hook' doc.
11881 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
11882 (cfengine3--current-word): Fix parameters.
11883 (cfengine3-make-syntax-cache): Simplify further.
11884 (cfengine3-completion-function, cfengine3--current-function):
11885 Use `assq' for symbols.
11886 (cfengine3--current-function): Fix `cfengine3--current-word' call.
11888 2013-12-13 Glenn Morris <rgm@gnu.org>
11890 * loadup.el (load-path): Warn if site-load or site-init changes it.
11891 No more need to reset it when bootstrapping.
11893 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
11895 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
11896 locations for cf-promises.
11897 (cfengine-mode-syntax-functions-regex): New caching variable.
11898 (cfengine3-fallback-syntax): Fallback syntax for cases where
11899 cf-promises doesn't run.
11900 (cfengine3--current-word): Reimplement using
11901 `cfengine-mode-syntax-functions-regex'.
11902 (cfengine3-completion-function, cfengine3--current-function):
11903 Use `cfengine3-make-syntax-cache' directly.
11904 (cfengine3-clear-syntax-cache): New function.
11905 (cfengine3-make-syntax-cache): Simplify and create
11906 `cfengine-mode-syntax-functions-regex' on demand.
11907 (cfengine3-format-function-docstring): Don't call
11908 `cfengine3-make-syntax-cache' explicitly.
11910 2013-12-13 Martin Rudalics <rudalics@gmx.at>
11912 Fix windmove-find-other-window broken after pixelwise resizing
11914 * windmove.el (windmove-other-window-loc): Revert change from
11916 (windmove-find-other-window): Call window-in-direction.
11917 * window.el (window-in-direction): New arguments SIGN, WRAP and
11918 MINI to emulate original windmove-find-other-window behavior.
11920 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
11922 * simple.el (blink-matching--overlay): New variable.
11923 (blink-matching-open): Instead of moving point, highlight the
11924 matching paren with an overlay
11925 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
11927 * faces.el (paren-showing-faces, show-paren-match)
11928 (show-paren-mismatch): Move from paren.el.
11930 2013-12-13 Leo Liu <sdl.web@gmail.com>
11932 * indent.el (indent-region): Disable progress reporter in
11933 minibuffer. (Bug#16108)
11935 * bindings.el (visual-order-cursor-movement): Fix version.
11937 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
11939 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
11940 Also match after beginning of line.
11941 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
11942 files. Thanks to Russell Sim. (Bug#15378)
11944 2013-12-13 Juri Linkov <juri@jurta.org>
11946 * simple.el <Keypad support>: Remove key bindings duplicated
11947 with bindings.el. (Bug#14397)
11949 2013-12-13 Juri Linkov <juri@jurta.org>
11951 * comint.el (comint-mode-map): Replace `delete-char' with
11952 `delete-forward-char'. (Bug#16109)
11954 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
11956 * progmodes/python.el (python-indent-calculate-indentation):
11957 Fix de-denters cornercase. (Bug#15731)
11959 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
11961 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
11962 (advice--make): Pay attention to `depth'.
11963 (advice--make-1): Don't autoload commands eagerly.
11964 * emacs-lisp/elp.el (elp-instrument-function):
11965 * emacs-lisp/trace.el (trace-function-internal):
11966 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
11968 * iswitchb.el (iswitchb-mode): Don't belittle ido.
11970 2013-12-12 Eli Zaretskii <eliz@gnu.org>
11972 * term/w32-win.el (w32-handle-dropped-file):
11973 * startup.el (normal-top-level):
11974 * net/browse-url.el (browse-url-file-url):
11975 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
11976 decode file names using 'utf-8' rather than
11977 file-name-coding-system.
11979 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
11981 * progmodes/python.el (python-indent-context)
11982 (python-indent-calculate-indentation): Fix auto-identation
11983 behavior for comment blocks. (Bug#15916)
11985 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
11987 * progmodes/python.el (python-indent-calculate-indentation):
11988 When determining indentation, don't treat "return", "pass", etc., as
11989 operators when they are just string constituents. (Bug#15812)
11991 2013-12-12 Juri Linkov <juri@jurta.org>
11993 * uniquify.el (uniquify-buffer-name-style): Change default to
11994 `post-forward-angle-brackets'.
11996 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
11997 `uniquify'. Change default to `post-forward-angle-brackets'.
11999 2013-12-11 Glenn Morris <rgm@gnu.org>
12001 * emacs-lisp/package.el (finder-list-matches):
12002 Autoload rather than falsely declaring.
12004 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
12006 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
12007 (eww-mode-map): Use them.
12009 2013-12-11 Martin Rudalics <rudalics@gmx.at>
12011 * window.el (display-buffer-in-side-window): Fix doc-string
12014 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
12016 * vc/vc-git.el: Silence byte-compiler warnings.
12017 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
12018 (log-edit-set-header): Declare.
12020 2013-12-11 Eli Zaretskii <eliz@gnu.org>
12022 * Makefile.in (custom-deps, finder-data): Run output file names
12023 through unmsys--file-name. (Bug#16099)
12025 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
12027 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
12028 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
12030 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
12031 instead of deleting the selection "by hand" (bug#16098).
12032 Rely on insert-for-yank to yank rectangles.
12033 (cua-highlight-region-shift-only): Mark obsolete.
12034 (cua-mode): Don't enable/disable transient-mark-mode,
12035 shift-select-mode (cua-mode works both with and without them), and
12036 pc-selection-mode (obsolete).
12037 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
12038 (cua--deactivate-rectangle): Deactivate it.
12040 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
12041 (delete-selection-helper): Make sure yank starts at the top of the
12043 (minibuffer-keyboard-quit): Use region-active-p.
12045 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
12047 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
12048 to `delete' (bug#16109).
12050 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12052 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
12053 info manual and show keybindings and set `:group' keyword.
12055 2013-12-11 Juri Linkov <juri@jurta.org>
12057 * delsel.el (delete-active-region): Let-bind `this-command'
12058 to prevent `kill-region' from changing its original value.
12059 (delete-selection-helper): Handle `overwrite-mode' for the type
12060 `kill' exactly the same way as for the type `t'.
12061 (insert-char, quoted-insert, reindent-then-newline-and-indent):
12062 Support more commands. (Bug#13312)
12064 2013-12-11 Juri Linkov <juri@jurta.org>
12066 * bindings.el: Map kp keys to non-kp keys systematically
12067 with basic modifiers control, meta and shift. (Bug#14397)
12069 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
12071 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
12072 "Close browser" menu items. Fix wrong function of "List
12075 2013-12-11 Juri Linkov <juri@jurta.org>
12077 * misearch.el (multi-isearch-buffers): Set the value of
12078 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
12079 arg of isearch-forward to t.
12080 (multi-isearch-buffers-regexp): Set the value of
12081 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
12082 arg of isearch-forward-regexp to t.
12083 (multi-isearch-files): Set the value of
12084 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
12085 arg of isearch-forward to t.
12086 (multi-isearch-files-regexp): Set the value of
12087 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
12088 arg of isearch-forward-regexp to t. (Bug#16035)
12090 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
12091 arg of isearch-forward to t.
12092 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
12093 arg of isearch-forward-regexp to t.
12094 (dired-isearch-filter-filenames): Remove unnecessary check for
12095 `dired-isearch-filenames'.
12097 * comint.el (comint-history-isearch-backward):
12098 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
12099 (comint-history-isearch-backward-regexp):
12100 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
12102 2013-12-10 Eli Zaretskii <eliz@gnu.org>
12104 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
12105 unmsys--file-name. (Bug#16099)
12107 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
12109 * emacs-lisp/package.el (package-keyword-button-action):
12110 Remove finder.el require dependency.
12112 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
12114 * emacs-lisp/package.el: Require finder.el.
12115 (describe-package-1): Add keyword buttons.
12116 (package-make-button): New convenience function.
12117 (package-keyword-button-action): Keyword button action using
12118 `finder-list-matches'.
12120 2013-12-09 Eli Zaretskii <eliz@gnu.org>
12122 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
12125 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
12127 * autorevert.el (auto-revert-notify-add-watch): Do not handle
12130 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
12132 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
12133 after the end of a percent literal.
12135 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
12137 * progmodes/ruby-mode.el (ruby-forward-string): Document.
12138 Handle caret-delimited strings (Bug#16079).
12140 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
12142 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
12143 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
12144 `ruby-parse-partial' (Bug#16078).
12146 2013-12-09 Leo Liu <sdl.web@gmail.com>
12148 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
12150 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
12152 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
12153 (js-switch-indent-offset): New option.
12154 (js--proper-indentation): Use it. And handle the case when
12155 "default" is actually a key in an object literal.
12156 (js--same-line): New function.
12157 (js--multi-line-declaration-indentation): Use it.
12158 (js--indent-in-array-comp, js--array-comp-indentation):
12160 (js--proper-indentation): Use them, to handle array comprehension
12163 2013-12-08 Leo Liu <sdl.web@gmail.com>
12165 * progmodes/flymake.el (flymake-highlight-line): Re-write.
12166 (flymake-make-overlay): Remove arg MOUSE-FACE.
12167 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
12169 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
12171 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
12173 (redisplay-highlight-region-function): Use it.
12175 * emulation/cua-base.el (cua--explicit-region-start)
12176 (cua--last-region-shifted): Remove.
12177 (cua--deactivate): Use deactivate-mark.
12178 (cua--pre-command-handler-1): Don't handle shift-selection.
12179 (cua--post-command-handler-1): Don't change transient-mark-mode.
12180 (cua--select-keymaps): Use region-active-p rather than
12181 cua--explicit-region-start or cua--last-region-shifted.
12182 (cua-mode): Enable shift-select-mode.
12184 2013-12-08 Leo Liu <sdl.web@gmail.com>
12186 * progmodes/flymake.el (flymake-popup-current-error-menu):
12187 Rename from flymake-display-err-menu-for-current-line. Reimplement.
12188 (flymake-posn-at-point-as-event, flymake-popup-menu)
12189 (flymake-make-emacs-menu): Remove. (Bug#16077)
12191 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
12193 * rect.el (rectangle-mark-mode): Activate mark even if
12194 transient-mark-mode is off (bug#16066).
12195 (rectangle--highlight-for-redisplay): Fix boundary condition when point
12196 is > mark and at bolp.
12198 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
12199 (region-extract-function): Use it.
12200 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
12201 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
12203 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
12204 kill-ring-save, kill-region, delete-char, delete-forward-char.
12205 Ignore self-insert-iso.
12207 * emulation/cua-gmrk.el (cua--init-global-mark):
12208 Ignore `self-insert-iso'.
12210 * emulation/cua-base.el (cua--prefix-copy-handler)
12211 (cua--prefix-cut-handler): Rely on region-extract-function rather than
12212 checking cua--rectangle.
12213 (cua-delete-region): Use region-extract-function.
12214 (cua-replace-region): Delete function.
12215 (cua-copy-region, cua-cut-region): Obey region-extract-function.
12216 (cua--pre-command-handler-1): Don't do the delete-selection thing.
12217 (cua--self-insert-char-p): Ignore `self-insert-iso'.
12218 (cua--init-keymaps): Don't remap delete-selection commands.
12219 (cua-mode): Use delete-selection-mode instead of rolling our own
12222 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
12223 Obey region-extract-function.
12225 Make registers and delete-selection-mode work on rectangles.
12226 * register.el (describe-register-1): Don't modify the register's value.
12227 (copy-to-register): Obey region-extract-function.
12228 * delsel.el (delete-active-region): Obey region-extract-function.
12230 2013-12-08 Leo Liu <sdl.web@gmail.com>
12232 * progmodes/flymake.el (flymake, flymake-error-bitmap)
12233 (flymake-warning-bitmap, flymake-fringe-indicator-position)
12234 (flymake-compilation-prevents-syntax-check)
12235 (flymake-start-syntax-check-on-newline)
12236 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
12237 (flymake-start-syntax-check-on-find-file, flymake-log-level)
12238 (flymake-xml-program, flymake-master-file-dirs)
12239 (flymake-master-file-count-limit)
12240 (flymake-allowed-file-name-masks): Relocate.
12241 (flymake-makehash, flymake-float-time)
12242 (flymake-replace-regexp-in-string, flymake-split-string)
12243 (flymake-get-temp-dir): Remove.
12244 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
12245 (flymake-current-row, flymake-selected-frame)
12246 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
12247 related functions. (Bug#16077)
12249 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
12251 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
12253 2013-12-07 Tassilo Horn <tsdh@gnu.org>
12255 * help-fns.el (describe-function-1): Use new advice-* functions
12256 rather than old ad-* functions. Fix function type description and
12257 source links for advised functions and subrs.
12259 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
12261 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
12263 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
12265 * progmodes/compile.el (compilation-start):
12266 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
12268 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
12269 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
12271 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
12273 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
12274 Touch up the last change.
12276 2013-12-06 Leo Liu <sdl.web@gmail.com>
12278 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
12279 (inferior-octave-startup): Always use "octave> " for prompt.
12280 (octave-goto-function-definition)
12281 (octave-sync-function-file-names)
12282 (octave-find-definition-default-filename): Remove redundant backquotes.
12284 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
12286 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
12288 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
12289 where appropriate already.
12290 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
12291 end of method names (Bug#15874).
12293 2013-12-06 Juri Linkov <juri@jurta.org>
12295 * isearch.el (isearch--saved-overriding-local-map):
12296 New internal variable.
12297 (isearch-mode): Set it to the initial value of
12298 `overriding-terminal-local-map'.
12299 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
12300 with `isearch--saved-overriding-local-map'. (Bug#16035)
12302 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
12304 * progmodes/octave.el (inferior-octave-completion-table):
12305 Turn back into function, use `completion-table-with-cache'
12306 (Bug#11906). Update all references.
12308 * minibuffer.el (completion-table-with-cache): New function.
12310 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
12312 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
12314 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
12316 * net/eww.el (eww-current-source): New variable to store page
12318 (eww-display-html, eww-mode, eww-save-history)
12319 (eww-restore-history): Use it.
12320 (eww-view-source): New command to view page source.
12321 Opportunistically uses `html-mode' to highlight the buffer.
12322 (eww-mode-map): Install it.
12324 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
12326 * net/dbus.el (dbus-unregister-service)
12327 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
12329 (dbus-unregister-service): Skip :serial entries in
12330 `dbus-registered-objects-table'.
12331 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
12333 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
12335 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
12336 around keywords with extra `split-string' argument.
12338 2013-12-04 Martin Rudalics <rudalics@gmx.at>
12340 * windmove.el (windmove-other-window-loc): Handle navigation
12341 between windows (excluding the minibuffer window - Bug#16017).
12343 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
12345 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
12346 in D-Bus type syntax.
12347 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
12348 preserve unibyte strings. (Bug#16048)
12350 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
12352 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
12353 Call force-mode-line-update is the proper buffer (bug#16042).
12355 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
12357 * vc/log-edit.el (log-edit-add-new-comment): Rename to
12358 `log-edit-remember-comment', make argument optional. Adjust all
12360 (log-edit-mode): Add `log-edit-remember-comment' to
12361 `kill-buffer-hook' locally.
12362 (log-edit-kill-buffer): Don't remember comment explicitly since
12363 the buffer is killed anyway.
12365 2013-12-04 Juri Linkov <juri@jurta.org>
12367 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
12368 add-hook and remove-hook for multi-buffer search. (Bug#16035)
12370 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
12372 * notifications.el (notifications-close-notification): Call the
12373 D-Bus method with ID being a `:uint32'. (Bug#16030)
12375 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
12377 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
12379 2013-12-03 Juri Linkov <juri@jurta.org>
12381 * progmodes/compile.el (compilation-start): Rename window alist
12382 entry `no-display-ok' to `allow-no-window'.
12384 * simple.el (shell-command): Add window alist entry
12385 `allow-no-window' to `display-buffer'.
12386 (async-shell-command): Doc fix.
12388 * window.el (display-buffer-no-window): New action function.
12389 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
12391 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
12393 * vc/log-edit.el (log-edit-set-header): Extract from
12394 `log-edit-toggle-header'.
12395 (log-edit-extract-headers): Separate the summary, when extracted
12396 from header, from the rest of the message with an empty line.
12398 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
12399 line, if present, to the Summary header.
12401 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
12403 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
12404 in current-buffer (bug#16029).
12406 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
12408 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
12409 (debugger-mode-map): Bind it.
12410 (debugger--backtrace-base): New function.
12411 (debugger-eval-expression): Use it.
12412 (debugger-frame-number): Skip local vars when present.
12413 (debugger--locals-visible-p, debugger--insert-locals)
12414 (debugger--show-locals, debugger--hide-locals): New functions.
12416 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
12418 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
12420 (tramp-get-remote-locale): New defun.
12421 (tramp-open-connection-setup-interactive-shell): Use it.
12423 2013-12-02 Leo Liu <sdl.web@gmail.com>
12425 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
12427 * progmodes/sh-script.el (sh-shell-process):
12428 * progmodes/octave.el (inferior-octave-process-live-p):
12429 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
12430 (gdb-inferior-io-sentinel):
12431 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
12433 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
12435 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
12436 `save-selected-window' to `log-edit-hide-buf'. This makes
12437 `log-edit-show-files' idempotent.
12438 (log-edit-show-files): Mark the new window as dedicated.
12440 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
12442 * vc/log-edit.el (log-edit-mode-map): Add binding for
12443 `log-edit-kill-biffer'.
12444 (log-edit-hide-buf): Add a FIXME comment.
12445 (log-edit-add-new-comment): New function, extracted from
12447 (log-edit-done, log-edit-add-to-changelog): Use it.
12448 (log-edit-kill-buffer): New command.
12450 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
12452 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
12453 instead of killing the buffer.
12455 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
12457 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
12459 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12461 * net/eww.el (eww-form-checkbox-selected-symbol)
12462 (eww-form-checkbox-symbol): New customizable variable.
12463 (eww-form-checkbox, eww-toggle-checkbox):
12464 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
12466 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
12467 (shr--get-media-pref, shr--extract-best-source): New function.
12468 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
12469 no :src tag was specified.
12471 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
12472 (eww-render): Handle `eww-use-external-browser-for-content-type'.
12473 Use \\` to match beginning of string instead of ^.
12474 (eww-browse-with-external-browser): Provide optional URL parameter.
12475 (eww-render): Set `eww-current-title' back to "".
12477 * net/shr.el (shr-tag-video): Display content for video if no
12478 poster is available.
12479 (shr-tag-audio): Add support for <audio> tag.
12481 * net/eww.el (eww-text-input-types): New const.
12482 (eww-process-text-input): Treat input types in
12483 `eww-text-input-types' as text.
12485 * net/shr.el (shr-tag-table): Fix comment typo.
12487 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
12489 * net/eww.el (eww-follow-link): New command to avoid reloading
12490 pages when we follow #target links (bug#15243).
12491 (eww-quit): Special mode buffers shouldn't query before exiting.
12493 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
12495 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
12498 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
12500 * net/eww.el (eww-restore-history): Update the window title after
12501 moving in the history.
12502 (eww-current-dom): New variable used to save the current DOM.
12504 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
12506 * vc/log-edit.el (log-edit-mode-map): Add binding for
12507 `log-edit-beginning-of-line'.
12508 (log-edit-setup-add-author): New user option.
12509 (log-edit-beginning-of-line): New command.
12510 (log-edit): Move major mode call above the contents setup so that
12511 the local variable values are already applied.
12512 (log-edit): Only insert "Author: " when
12513 `log-edit-setup-add-author' is non-nil.
12514 (log-edit): When SETUP is non-nil, position point after ": "
12515 instead of point-min.
12517 2013-12-01 Glenn Morris <rgm@gnu.org>
12519 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
12521 2013-11-30 Eli Zaretskii <eliz@gnu.org>
12523 * startup.el (fancy-splash-frame): On MS-Windows, trigger
12524 redisplay to make sure the initial frame gets a chance to become
12525 visible. (Bug#16014)
12527 2013-11-30 Martin Rudalics <rudalics@gmx.at>
12529 Support resizing frames and windows pixelwise.
12530 * cus-start.el (frame-resize-pixelwise)
12531 (window-resize-pixelwise): New entries.
12532 * emacs-lisp/debug.el (debug): Use window-total-height instead
12533 of window-total-size.
12534 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
12535 * help.el (describe-bindings-internal): Use help-buffer as
12536 argument for with-help-window.
12537 (temp-buffer-max-width): New option.
12538 (resize-temp-buffer-window, help-window-setup)
12539 (with-help-window): Rewrite.
12540 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
12542 * window.el (frame-char-size, window-min-pixel-height)
12543 (window-safe-min-pixel-height, window-safe-min-pixel-width)
12544 (window-min-pixel-width, window-safe-min-pixel-size)
12545 (window-combination-p, window-safe-min-size)
12546 (window-resizable-p, window--size-to-pixel)
12547 (window--pixel-to-size, window--resize-apply-p): New functions.
12548 (window-safe-min-height): Fix doc-string.
12549 (window-size, window-min-size, window--min-size-1)
12550 (window-sizable, window-sizable-p, window--min-delta-1)
12551 (window-min-delta, window--max-delta-1, window-max-delta)
12552 (window--resizable, window--resizable-p, window-resizable)
12553 (window-full-height-p, window-full-width-p, window-at-side-p)
12554 (window--in-direction-2, window-in-direction)
12555 (window--resize-reset-1, window--resize-mini-window)
12556 (window-resize, window-resize-no-error)
12557 (window--resize-child-windows-normal)
12558 (window--resize-child-windows, window--resize-siblings)
12559 (window--resize-this-window, window--resize-root-window)
12560 (window--resize-root-window-vertically)
12561 (adjust-window-trailing-edge, enlarge-window, shrink-window)
12562 (maximize-window, minimize-window, delete-window)
12563 (quit-restore-window, window-split-min-size, split-window)
12564 (balance-windows-2, balance-windows)
12565 (balance-windows-area-adjust, balance-windows-area)
12566 (window--state-get-1, window-state-get, window--state-put-1)
12567 (window--state-put-2, window-state-put)
12568 (display-buffer-record-window, window--display-buffer):
12569 Make functions handle pixelwise sizing of windows.
12570 (display-buffer--action-function-custom-type)
12571 (display-buffer-fallback-action):
12572 Add display-buffer-in-previous-window.
12573 (display-buffer-use-some-window): Resize window to height it had
12575 (fit-window-to-buffer-horizontally): New option.
12576 (fit-frame-to-buffer): Describe new values.
12577 (fit-frame-to-buffer-bottom-margin): Replace with
12578 fit-frame-to-buffer-margins.
12579 (window--sanitize-margin): New function.
12580 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
12581 using window-text-pixel-size.
12583 2013-11-30 Glenn Morris <rgm@gnu.org>
12585 * emacs-lisp/bytecomp.el (byte-compile-form):
12586 Make the `interactive-only' warning like the `obsolete' one.
12587 * comint.el (comint-run):
12588 * files.el (insert-file-literally, insert-file):
12589 * replace.el (replace-string, replace-regexp):
12590 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
12591 (goto-line, insert-buffer, next-line, previous-line):
12592 Tweak `interactive-only' spec.
12594 Stop keeping (most) generated cedet grammar files in the repository.
12595 * Makefile.in (semantic): New.
12596 (compile-main): Depend on semantic.
12598 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
12600 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
12601 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
12603 * uniquify.el (uniquify-buffer-name-style): Change default.
12605 * loadup.el: Preload "uniquify".
12607 * time.el (display-time-update): Update all mode lines (bug#15999).
12609 * electric.el (electric-indent-mode): Enable by default.
12610 * loadup.el: Preload "electric".
12612 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
12614 * emacs-lisp/helpers.el (string-empty-p): New function.
12615 (string-blank-p): New function.
12617 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
12619 * imenu.el (imenu--index-alist): Add missing dot to the docstring
12622 2013-11-29 Andreas Politz <politza@fh-trier.de>
12623 * imenu.el (imenu--subalist-p): Don't error on non-conses and
12624 allow non-lambda lists as functions.
12625 (imenu--in-alist): Don't recurse into non-subalists.
12626 (imenu): Don't pass function itself as an argument (Bug#14029).
12628 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
12630 * progmodes/python.el (python-mode-map): Remove binding for ":".
12631 (python-indent-electric-colon): Remove command.
12632 (python-indent-post-self-insert-function): Integrate the previous code
12633 of python-indent-electric-colon. Make it conditional on
12634 electric-indent-mode.
12635 (python-mode): Add ?: to electric-indent-chars.
12636 Move python-indent-post-self-insert-function to the end of
12637 post-self-insert-hook.
12639 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
12641 * doc-view.el (doc-view-goto-page): Update mode-line.
12643 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
12645 2013-11-27 Glenn Morris <rgm@gnu.org>
12647 * international/charprop.el, international/uni-bidi.el:
12648 * international/uni-category.el, international/uni-combining.el:
12649 * international/uni-comment.el, international/uni-decimal.el:
12650 * international/uni-decomposition.el, international/uni-digit.el:
12651 * international/uni-lowercase.el, international/uni-mirrored.el:
12652 * international/uni-name.el, international/uni-numeric.el:
12653 * international/uni-old-name.el, international/uni-titlecase.el:
12654 * international/uni-uppercase.el:
12655 Remove generated files from VCS repository.
12657 2013-11-27 Eli Zaretskii <eliz@gnu.org>
12659 * filenotify.el (file-notify-add-watch): Don't special-case
12660 w32notify when computing the directory to watch.
12662 2013-11-27 Glenn Morris <rgm@gnu.org>
12664 Make bootstrap without generated uni-*.el files possible again.
12665 * loadup.el: Update command-line-args checking for unidata-gen.
12666 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
12667 * composite.el, international/characters.el:
12668 Handle unicode tables being undefined.
12670 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
12671 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
12672 (compile-main): Depend on leim rule.
12674 * loadup.el: Move leim-list.el to leim/ subdirectory.
12675 * startup.el (normal-top-level): No more leim directory.
12676 * international/ja-dic-cnv.el (skkdic-convert):
12677 Disable version-control and autoloads in output files.
12678 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
12679 Disable version-control and autoloads in output files.
12680 * leim/quail: Move here from ../leim.
12681 * leim/quail/hangul.el (hangul-input-method-activate):
12682 Add autoload cookie.
12683 (generated-autoload-load-name): Set file-local value.
12684 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
12685 (generated-autoload-load-name): Set file-local value.
12687 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
12689 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
12690 (eww-add-bookmark): Ask confirmation when add to bookmarks.
12691 (eww-quit): Ask confirmation before quitting eww.
12693 2013-11-26 Eli Zaretskii <eliz@gnu.org>
12695 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
12696 reading output from Diff on MS-Windows and MS-DOS.
12698 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
12700 * emacs-lisp/helpers.el (string-reverse): New function.
12702 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
12704 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
12705 names on MS Windows, like "/[::1]:".
12707 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
12710 2013-11-26 Glenn Morris <rgm@gnu.org>
12712 * progmodes/python.el (python-indent-guess-indent-offset):
12713 Avoid corner-case error. (Bug#15975)
12715 Preload leim-list.el. (Bug#4789)
12716 * loadup.el: Load leim-list.el when found.
12717 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
12719 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
12721 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
12723 * emacs-lisp/helpers.el (string-join): New function.
12725 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
12727 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
12728 Mark as obsolete and replace it with a symbol property.
12729 (byte-compile-form): Use new 'interactive-only property.
12730 * comint.el, files.el, replace.el, simple.el:
12731 Apply new 'interactive-only properly.
12733 2013-11-25 Martin Rudalics <rudalics@gmx.at>
12735 * window.el (display-buffer-at-bottom): Make sure that
12736 split-window-sensibly creates the new window on bottom
12739 2013-11-23 David Kastrup <dak@gnu.org>
12741 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
12742 on the conflict markers when available.
12743 (smerge--get-marker): New function.
12744 (smerge-end-re, smerge-base-re): Add subgroup.
12746 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
12748 * frame.el (handle-focus-in, handle-focus-out): Add missing
12751 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
12753 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
12754 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
12756 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
12758 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
12759 (gomoku--last-pos): New var.
12760 (gomoku--intangible-chars): New const.
12761 (gomoku--intangible): New function.
12762 (gomoku-mode): Use it. Derive from special-mode.
12763 (gomoku-move-up): Adjust line count.
12764 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
12765 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
12766 Simplify accordingly.
12768 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
12769 Remove blink-cursor code.
12770 (blink-cursor-timer-function, blink-cursor-suspend):
12771 Don't special-case GUIs.
12772 (blink-cursor-mode): Use focus-in/out-hook.
12774 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
12776 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
12777 work when annotation is invisible (Bug#13886).
12779 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
12781 * json.el (json-alist-p): Only return non-nil if the alist has
12782 simple keys (Bug#13518).
12784 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
12786 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
12787 when control-statement is the first statement in a buffer (Bug#15956).
12789 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
12791 * imenu.el (imenu-generic-skip-comments-and-strings):
12792 New option (Bug#15560).
12793 (imenu--generic-function): Use it.
12795 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
12797 * minibuffer.el (completion--in-region-1): Scroll the correct window.
12800 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
12802 * emacs-lisp/helpers.el: Add some string helpers.
12803 (string-trim-left): Removes leading whitespace.
12804 (string-trim-right): Removes trailing whitespace.
12805 (string-trim): Removes leading and trailing whitespace.
12807 * subr.el (string-suffix-p): New function.
12809 2013-11-23 Glenn Morris <rgm@gnu.org>
12811 * progmodes/python.el (python-shell-send-file):
12812 Add option to delete file when done. (Bug#15647)
12813 (python-shell-send-string, python-shell-send-region): Use it.
12815 2013-11-23 Ivan Shmakov <ivan@siamics.net>
12817 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
12818 to set buffer-read-only to t, never to nil. (Bug#15938)
12820 * textmodes/tex-mode.el (latex-noindent-environments):
12821 Add safe-local-variable property. (Bug#15936)
12823 2013-11-23 Glenn Morris <rgm@gnu.org>
12825 * textmodes/enriched.el (enriched-mode): Doc fix.
12826 * emacs-lisp/authors.el (authors-renamed-files-alist):
12827 Add enriched.doc -> enriched.txt.
12829 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
12831 2013-11-22 Leo Liu <sdl.web@gmail.com>
12833 * progmodes/octave.el (inferior-octave-startup): Spit out error
12836 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
12838 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
12841 (ruby-encoding-magic-comment-style): Add :version.
12843 2013-11-22 Leo Liu <sdl.web@gmail.com>
12845 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
12847 (octave-help-mode): Adapt to change to help-mode-finish to use
12848 derived-mode-p on 2013-09-17.
12849 (inferior-octave-prompt): Also match octave-gui.
12850 (octave-kill-process): Don't ask twice. (Bug#10564)
12852 2013-11-22 Leo Liu <sdl.web@gmail.com>
12854 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
12855 (inferior-octave-startup, inferior-octave-check-process)
12856 (inferior-octave-track-window-width-change)
12857 (octave-completion-at-point, octave-eldoc-function): Use it.
12858 (octave-kill-process): Provide confirmation. (Bug#10564)
12860 2013-11-21 Leo Liu <sdl.web@gmail.com>
12862 * progmodes/octave.el (octave-mode, inferior-octave-mode):
12863 Fix obsolete variable comment-use-global-state.
12865 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12867 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
12868 Add `octave-source-file'.
12869 (octave-source-file): New function. (Bug#15935)
12871 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
12873 * net/eww.el (eww-local-regex): New variable.
12874 (eww): Use it to detect localhost and similar.
12876 2013-11-21 Leo Liu <sdl.web@gmail.com>
12878 Add completion for command `ag'.
12879 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
12880 (pcomplete/ag): New function.
12881 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
12883 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
12885 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
12887 (make-obsolete): Remove interactive spec.
12889 2013-11-21 Glenn Morris <rgm@gnu.org>
12891 * startup.el (command-line-1): Use path-separator with -L.
12893 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
12895 * emacs-lisp/package.el (describe-package-1): Add package archive
12898 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
12900 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
12901 Change default to "# encoding: %s" to differentiate it from the
12902 default Ruby encoding comment template.
12904 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
12906 * ses.el (ses-mode): Doc fix. (Bug#14748)
12908 2013-11-20 Leo Liu <sdl.web@gmail.com>
12910 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
12912 2013-11-19 Dan Nicolaescu <dann@gnu.org>
12914 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
12915 when rebase or bisect are in progress.
12917 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
12919 * filenotify.el (file-notify-add-watch): Doc fix.
12921 2013-11-19 Leo Liu <sdl.web@gmail.com>
12923 * obsolete/rcompile.el: Mark obsolete.
12925 * progmodes/compile.el (compilation-start)
12926 (compilation-goto-locus, compilation-find-file):
12927 Pass no-display-ok and handle nil value from display-buffer.
12930 * window.el (display-buffer-alist, display-buffer): Document the
12931 new parameter no-display-ok. Return either a window or nil
12932 but never a non-window value.
12934 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
12936 * electric.el (electric-indent-mode-map): Remove.
12937 (electric-indent-mode): Change the global-map instead (bug#15915).
12939 * textmodes/text-mode.el (paragraph-indent-minor-mode):
12942 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
12944 * emacs-lisp/nadvice.el (remove-function): Align with
12945 add-function's behavior.
12947 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
12948 (gdb--string-regexp): New constant.
12949 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
12950 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
12951 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
12953 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
12954 Adjust use accordingly.
12955 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
12957 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
12959 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
12960 interpolation curlies (Bug#15914).
12962 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
12964 * calc/calc.el (calc-context-sensitive-enter): New variable.
12965 (calc-enter): Use `calc-context-sensitive-enter'.
12967 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
12969 * progmodes/cfengine.el: Version bump.
12970 (cfengine-cf-promises): New defcustom to locate cf-promises.
12971 (cfengine3-vartypes): Add new "data" type.
12972 (cfengine3--current-word): New function to get current name-like
12973 word or its bounds.
12974 (cfengine3--current-function): New function to look up a CFEngine
12975 function's definition.
12976 (cfengine3-format-function-docstring): New function.
12977 (cfengine3-make-syntax-cache): New function.
12978 (cfengine3-documentation-function): New function: ElDoc glue.
12979 (cfengine3-completion-function): New function: completion glue.
12980 (cfengine3-mode): Set `compile-command',
12981 `eldoc-documentation-function', and add to
12982 `completion-at-point-functions'.
12984 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
12986 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
12987 `tramp-current-connection'.
12989 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
12991 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
12992 nil/self/true/false with "end of symbol".
12994 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
12996 * subr.el (version-regexp-alist): Fix a typo.
12998 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
13000 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
13001 "en_US.utf8" and "LC_CTYPE" to "".
13002 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
13003 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
13005 2013-11-15 Leo Liu <sdl.web@gmail.com>
13007 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
13009 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
13011 * progmodes/gud.el (ctl-x-map):
13012 Remove C-x SPC binding. (Bug#12342)
13013 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
13015 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
13017 * subr.el (version-regexp-alist):
13018 Recognize hg, svn and darcs versions as snapshot versions.
13020 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
13021 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
13022 (ruby--encoding-comment-required-p): Extract from
13023 `ruby-mode-set-encoding'.
13024 (ruby-mode-set-encoding): Add the ability to always insert an
13025 utf-8 encoding comment. Fix and simplify coding comment update
13028 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
13030 * net/tramp-gvfs.el (top): Run init code only when
13031 `tramp-gvfs-enabled' is not nil.
13032 (tramp-gvfs-enabled): Check also :system bus.
13034 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
13036 Sync with upstream verilog-mode revision 78e66ba.
13037 * progmodes/verilog-mode.el (verilog-end-of-defun)
13038 (verilog-type-completion, verilog-get-list): Remove unused funcs.
13039 (verilog-get-end-of-defun): Remove unused argument.
13040 (verilog-comment-depth): Remove unused local `e'.
13041 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
13042 Don't pass arg to verilog-get-end-of-defun.
13044 2013-11-14 Glenn Morris <rgm@gnu.org>
13046 * obsolete/assoc.el (aget): Prefix dynamic variable.
13048 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
13050 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
13052 * widget.el, hfy-cmap.el: Remove bogus package version number.
13054 2013-11-13 Glenn Morris <rgm@gnu.org>
13056 * replace.el (replace-eval-replacement):
13057 Try to give more helpful error message. (Bug#15836)
13059 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
13060 (archive-7z-update): Avoid custom type mismatches.
13062 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
13064 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
13066 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
13067 address can be empty.
13069 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
13070 Accept nil SWITCHES.
13071 (tramp-gvfs-handle-write-region): Implement APPEND.
13073 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
13075 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
13076 binary "|" operator and closing block args delimiter.
13077 Remove FIXME comment referring to Ruby 1.8-only syntax.
13078 (ruby-smie--implicit-semi-p): Not after "|" operator.
13079 (ruby-smie--closing-pipe-p): New function.
13080 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
13081 (ruby-smie-rules): Indent after "|".
13083 2013-11-12 Glenn Morris <rgm@gnu.org>
13085 * ps-print.el (ps-face-attribute-list):
13086 Handle anonymous faces. (Bug#15827)
13088 2013-11-12 Martin Rudalics <rudalics@gmx.at>
13090 * window.el (display-buffer-other-frame): Fix doc-string.
13093 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
13095 * subr.el (force-mode-line-update): Delete, move to buffer.c.
13097 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
13099 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
13100 (tramp-sh-handle-file-local-copy): Don't write a message when
13101 saving temporary files.
13103 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
13104 both directories are remote.
13105 (tramp-smb-handle-directory-files): Do not return double entries.
13106 Do not expand full file names.
13107 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
13108 (tramp-smb-handle-write-region): Implement APPEND.
13109 (tramp-smb-get-stat-capability): Fix a stupid bug.
13111 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
13113 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
13115 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
13117 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
13118 throwing error over malformed let/let* (bug#15814).
13120 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
13122 * iswitchb.el (iswitchb-mode): Mark obsolete.
13124 2013-11-11 Glenn Morris <rgm@gnu.org>
13126 * international/uni-bidi.el, international/uni-category.el:
13127 * international/uni-name.el, international/uni-numeric.el:
13128 Regenerate for Unicode 6.3.0.
13130 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
13132 * net/tramp.el (tramp-methods):
13133 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
13134 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
13136 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
13138 * progmodes/sh-script.el (sh-font-lock-keywords-var):
13139 Force highlighting text after Summary keyword in doc face for rpm.
13141 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
13143 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
13144 available and the word has no wildcards, append one to the grep pattern.
13145 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
13146 (ispell-complete-word): Call `ispell-lookup-words' with the value
13147 independent of `ispell-look-p'.
13149 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
13151 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
13153 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
13156 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
13158 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
13159 (ruby-font-lock-keywords): Use backquote.
13161 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
13163 * progmodes/ruby-mode.el (ruby-smie--forward-token)
13164 (ruby-smie--backward-token): Only consider full-string matches.
13166 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
13168 * faces.el (describe-face): Add distant-foreground.
13170 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
13172 * progmodes/ruby-mode.el: Improve encoding comment handling.
13173 (ruby-encoding-magic-comment-style): New option.
13174 (ruby-custom-encoding-magic-comment-template): New option.
13175 (ruby--insert-coding-comment, ruby--detect-encoding):
13176 New functions extracted from `ruby-mode-set-encoding'.
13177 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
13178 to control the style of the auto-inserted encoding comment.
13180 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
13182 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
13183 Use `smie-backward-sexp' with token argument.
13185 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
13187 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
13188 Remove instrumentation code.
13190 2013-11-08 Glenn Morris <rgm@gnu.org>
13192 * progmodes/autoconf.el (autoconf-mode):
13193 Tweak comment-start-skip. (Bug#15822)
13195 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
13197 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
13198 at bobp (bug#15826).
13199 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
13201 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
13203 * man.el (Man-start-calling): New macro, extracted from
13204 Man-getpage-in-background.
13205 (Man-getpage-in-background): Use it.
13206 (Man-update-manpage): New command.
13207 (Man-mode-map): Bind it.
13209 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
13211 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
13212 of "and", "or", "&&" and "||".
13213 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
13214 argument. Prohibit opening curly brace because it could only be a
13215 block opener in that position.
13216 (ruby-smie--forward-token, ruby-smie--backward-token):
13217 Separate "|" from "&" or "*" going after it. That can happen in block
13219 (ruby-smie--indent-to-stmt): New function, seeks the end of
13220 previous statement or beginning of buffer.
13221 (ruby-smie-rules): Use it.
13222 (ruby-smie-rules): Check if there's a ":" before a curly block
13223 opener candidate; if there is, it's a hash.
13225 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
13227 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
13228 (cl--block-wrapper): Fix last accidental change.
13230 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
13232 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
13233 Instrument, in order to hunt failure on hydra.
13235 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
13237 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
13238 malformed bindings form (bug#15814).
13240 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
13242 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
13243 "." compared to " @ ". This incidentally fixes some indentation
13244 examples with "do".
13245 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
13246 (ruby-smie-grammar): New tokens: "and" and "or".
13247 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
13248 Exclude "and" and "or". Remove "do" in order to work around token
13250 (ruby-smie-rules): Add all infix tokens. Handle the case of
13251 beginning-of-buffer.
13253 2013-11-06 Glenn Morris <rgm@gnu.org>
13255 * Makefile.in (setwins_almost, setwins_for_subdirs):
13256 Avoid accidental matches.
13258 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
13260 * menu-bar.el (popup-menu): Use key-binding.
13262 2013-11-06 Eli Zaretskii <eliz@gnu.org>
13264 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
13265 menus, support also the menus produced by minor modes.
13268 2013-11-06 Leo Liu <sdl.web@gmail.com>
13270 * thingatpt.el (thing-at-point-looking-at): Add optional arg
13271 DISTANCE to bound the search. All uses changed. (Bug#15808)
13273 2013-11-06 Glenn Morris <rgm@gnu.org>
13275 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
13276 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
13277 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
13279 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
13281 * electric.el (electric-indent-just-newline): New command.
13282 (electric-indent-mode-map): New keymap.
13283 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
13284 Re-add :group which weren't redundant.
13286 * electric.el (electric-indent-local-mode): New minor mode.
13287 (electric-indent-functions-without-reindent): New var.
13288 (electric-indent-post-self-insert-function): Use it.
13289 * emacs-lisp/gv.el (buffer-local-value): Add setter.
13291 2013-11-05 Eli Zaretskii <eliz@gnu.org>
13293 * international/quail.el (quail-help): Be more explicit about the
13294 meaning of the labels shown on the keys. (Bug#15800)
13296 * startup.el (normal-top-level): Load the subdirs.el files before
13297 setting the locale environment. (Bug#15805)
13299 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
13301 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
13302 via arguments so as to get the right ones (bug#15418).
13304 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
13306 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
13308 Fix problems found while writing a test suite.
13310 * net/tramp-compat.el (tramp-compat-load): New defun.
13311 * net/tramp.el (tramp-handle-load): Use it.
13313 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
13314 "(numberp ok-if-already-exists)" correctly.
13316 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
13318 * international/characters.el (glyphless-char-display-control):
13321 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
13323 * progmodes/python.el (python-mode):
13324 * progmodes/scheme.el (scheme-mode):
13325 * progmodes/prolog.el (prolog-mode):
13326 * progmodes/ruby-mode.el (ruby-mode):
13327 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
13328 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
13330 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
13332 * rect.el (rectangle--highlight-for-redisplay):
13333 * emacs-lisp/smie.el (smie--next-indent-change):
13334 Use buffer-chars-modified-tick.
13336 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
13338 * electric.el (electric-indent-post-self-insert-function):
13339 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
13341 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
13343 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
13345 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
13347 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
13350 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
13352 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
13354 * progmodes/python.el: Fix up last change.
13355 (python-shell--save-temp-file): New function.
13356 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
13357 `string' comes from the current buffer.
13358 (python-shell-send-string-no-output): Remove `msg' arg.
13359 (python--use-fake-loc): New var.
13360 (python-shell-buffer-substring): Obey it. Try to compensate for the
13361 extra coding line added by python-shell--save-temp-file.
13362 (python-shell-send-region): Use python-shell--save-temp-file and
13363 python-shell-send-file directly. Add `nomain' argument.
13364 (python-shell-send-buffer): Use python-shell-send-region.
13365 (python-electric-pair-string-delimiter): New function.
13366 (python-mode): Use it.
13368 2013-11-04 Eli Zaretskii <eliz@gnu.org>
13370 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
13371 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
13372 environment and decoding all of the default-directory's to here
13374 (command-line): Decode also argv[0].
13376 * loadup.el: Error out if default-directory is a multibyte string
13377 when we are dumping.
13379 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
13381 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
13383 * emacs-lisp/package.el (package-menu-mode)
13384 (package-menu--print-info, package-menu--archive-predicate):
13385 Add Archive column to package list.
13387 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
13389 Fix problems found while writing a test suite.
13391 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
13392 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
13393 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
13394 to nil when running original file name handler. Otherwise,
13395 there are problems with constructs like "$$FOO".
13397 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
13400 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
13402 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
13404 * subr.el (version<, version<=, version=):
13405 Update docstrings with information for snapshot versions.
13407 * helpers.el: New library for misc helper functions.
13408 (hash-table-keys): New function returning a list of hash keys.
13409 (hash-table-values): New function returning a list of hash values.
13411 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
13413 * progmodes/ruby-mode.el (ruby-smie--forward-token)
13414 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
13416 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
13418 * textmodes/fill.el (fill-single-char-nobreak-p): New function
13419 checking whether point is after a 1-letter word.
13421 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
13423 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
13424 Don't infloop when expanding region over `multiline' syntax-type that
13425 begins a line (bug#15778).
13427 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
13429 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
13430 Make it into a proper minor mode.
13431 (rectangle--region): (Implicitly) rename to rectangle-mark-mode.
13432 (rectangle-mark-mode-map): New keymap.
13433 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
13435 2013-11-04 Glenn Morris <rgm@gnu.org>
13437 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
13439 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
13441 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
13442 (ruby-smie-rules): Use smie-rule-parent instead.
13444 * emacs-lisp/smie.el (smie-rule-parent): Always call
13445 smie-indent-virtual rather than only for hanging tokens.
13446 (smie--next-indent-change): New helper command.
13448 2013-11-03 Glenn Morris <rgm@gnu.org>
13450 * Makefile.in (abs_srcdir): Remove.
13451 (emacs): Unset EMACSLOADPATH.
13453 2013-11-02 Glenn Morris <rgm@gnu.org>
13455 * Makefile.in (EMACS): Use a relative filename.
13456 (abs_top_builddir): Remove.
13457 (custom-deps, finder-data, autoloads): Use --chdir.
13459 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
13461 Use relative filenames in TAGS files.
13462 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
13463 (lisptagsfiles4, TAGS): Use relative file names.
13464 (TAGS-LISP): Remove.
13465 (maintainer-clean): No more TAGS-LISP file.
13467 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
13468 (lisptagsfiles4): Use absolute filenames again.
13469 (TAGS, TAGS-LISP): Not everything needs to run in one line.
13470 Remove all *loaddefs files, not just the first. Remove esh-groups.
13471 (maintainer-clean): Delete TAGS, TAGS-LISP.
13473 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
13475 * emacs-lisp/package.el (package-version-join):
13476 Recognize snapshot versions.
13478 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
13480 * subr.el (version-regexp-alist): Add support for snapshot versions.
13482 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
13484 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
13485 New function, replacement for `smie-rule-parent' for when we want to
13486 skip over our direct parent if it's an assignment token..
13487 (ruby-smie-rules): Use it.
13489 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
13491 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
13492 unconditionally. Remove now unnecessary forward declarations.
13493 Remove XEmacs-specific setup.
13494 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
13495 (ruby-font-lock-syntactic-keywords)
13496 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
13497 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
13498 (ruby-here-doc-end-syntax): Remove.
13499 (ruby-mode): Don't check whether `syntax-propertize-rules' is
13500 defined as function.
13502 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
13504 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
13506 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
13508 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
13509 table and abbrev table, `define-derived-mode' does that for us
13512 2013-11-01 Glenn Morris <rgm@gnu.org>
13514 * Makefile.in: Remove manual mh-e dependencies (writing .elc
13515 files is atomic for some time, so no parallel compilation issues).
13517 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
13519 * faces.el (face-x-resources): Add :distant-foreground.
13520 (region): Use :distant-foreground for gtk and ns.
13522 2013-11-01 Tassilo Horn <tsdh@gnu.org>
13524 Allow multiple bibliographies when BibLaTeX is used rather than
13526 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
13527 (reftex-locate-bibliography-files): Us it.
13529 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
13531 * image.el (image-type-header-regexps): Fix the 'pbm' part to
13532 allow comments in pbm files.
13534 * term/w32-win.el (dynamic-library-alist): Support newer versions
13535 of libjpeg starting with v7: look only for the DLL from the
13536 version against which Emacs was built.
13537 Support versions of libpng beyond 1.4.x.
13538 Support libtiff v4.x.
13540 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
13542 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
13543 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
13544 Add property :safe.
13545 (ruby-deep-arglist): Add property :type.
13547 2013-10-31 Glenn Morris <rgm@gnu.org>
13549 * Makefile.in (custom-deps, finder-data): No need to setq the target
13550 variables, we are in the right directory and the defaults work fine.
13552 2013-10-30 Glenn Morris <rgm@gnu.org>
13554 * Makefile.in (autoloads): Do not use abs_lisp.
13556 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
13557 `newline' does not respect `standard-output', so use `princ'.
13559 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
13561 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
13562 * buff-menu.el (Buffer-menu--unmark): New function.
13563 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
13565 2013-10-30 Glenn Morris <rgm@gnu.org>
13567 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
13569 * emacs-lisp/package.el (lm-homepage): Declare.
13571 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
13574 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
13576 * Makefile.in (finder-data, autoloads, update-subdirs)
13577 (compile-main, compile-clean, compile-always, bootstrap-clean):
13578 Check return value of cd.
13579 (compile-calc): Remove.
13581 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
13583 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
13585 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
13586 (byte-compile-and-folded): New function.
13587 (=, <, >, <=, >=): Use it.
13589 * dos-w32.el (minibuffer-history-case-insensitive-variables)
13590 (path-separator, null-device, buffer-file-coding-system)
13591 (lpr-headers-switches): Check system-type before modifying them.
13592 (find-buffer-file-type-coding-system): Mark obsolete.
13593 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
13594 find-file-not-found-set-buffer-file-coding-system.
13595 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
13596 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
13597 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
13598 (w32-direct-print-region-helper, w32-direct-print-region-function)
13599 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
13600 * startup.el (normal-top-level-add-subdirs-to-load-path):
13601 * ps-print.el (ps-print-region-function):
13602 * lpr.el (print-region-function): Use new name.
13604 * subr.el (custom-declare-variable-early): Remove function.
13605 (custom-declare-variable-list): Remove var.
13606 (error, user-error): Remove `while' loop.
13607 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
13608 (user-emacs-directory-warning, locate-user-emacs-file):
13610 * simple.el (read-quoted-char-radix, read-quoted-char):
13611 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
13613 * custom.el (custom-declare-variable-list): Don't process
13614 custom-declare-variable-list.
13616 * progmodes/python.el (python-shell-get-buffer): New function.
13617 (python-shell-get-process): Use it.
13618 (python-shell-send-string): Always use utf-8 and add a cookie to tell
13619 Python which encoding was used. Don't split-string since we only care
13620 about the first line. Return the temp-file, if applicable.
13621 (python-shell-send-region): Tell compile.el how to turn locations in
13622 the temp-file into locations in the source buffer.
13624 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
13626 * subr.el (undefined): Add missing behavior from the C code for
13629 * rect.el: Use lexical-binding. Add new rectangular region support.
13630 (rectangle-mark): New command.
13631 (rectangle--region): New var.
13632 (deactivate-mark-hook): Reset rectangle--region.
13633 (rectangle--extract-region, rectangle--insert-for-yank)
13634 (rectangle--highlight-for-redisplay)
13635 (rectangle--unhighlight-for-redisplay): New functions.
13636 (region-extract-function, redisplay-unhighlight-region-function)
13637 (redisplay-highlight-region-function): Use them to handle
13638 rectangular region.
13639 * simple.el (region-extract-function): New var.
13640 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
13641 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
13642 (kill-region): Replace obsolete `yank-handler' arg with `region'.
13643 (copy-region-as-kill, kill-ring-save): Add `region' argument.
13644 (redisplay-unhighlight-region-function)
13645 (redisplay-highlight-region-function): New vars.
13646 (redisplay--update-region-highlight): New function.
13647 (pre-redisplay-function): Use it.
13648 (exchange-point-and-mark): Don't deactivate the mark before
13649 reactivate-it anyway.
13650 * comint.el (comint-kill-region): Remove yank-handler argument.
13651 * delsel.el (delete-backward-char, backward-delete-char-untabify)
13652 (delete-char): Remove property, since it's now part of their
13654 (self-insert-iso): Remove property since this command doesn't exist.
13656 * emacs-lisp/package.el (package--download-one-archive)
13657 (describe-package-1): Don't query the user about final newline.
13659 2013-10-29 Daniel Colascione <dancol@dancol.org>
13661 * net/tramp.el (tramp-methods): Document new functionality.
13662 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
13663 tramp-hostname-checker if method provides one instead of scanning
13664 argument list for "%h" to decide hostname acceptability.
13666 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
13668 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
13669 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
13670 Handle COPY-CONTENTS. (Bug#15737)
13672 2013-10-28 Daiki Ueno <ueno@gnu.org>
13674 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
13675 Document that this option has no effect with GnuPG 2.0 (bug#15552).
13677 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
13679 * image.el (defimage, image-load-path): Doc fixes.
13681 2013-10-27 Alan Mackenzie <acm@muc.de>
13683 Indent statements in macros following "##" correctly.
13684 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
13685 Modify the "#" arm of a cond form to handle "#" and "##" operators.
13687 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
13689 * linum.el (linum-update-window): Fix boundary test (bug#13446).
13691 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
13693 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
13694 after `=' is probably a new expression.
13696 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13698 * man.el (man-imenu-title): New option.
13699 (Man-mode-map): Add menu. (Bug#15722)
13700 (Man-mode): Add imenu to menu.
13702 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
13704 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
13705 specific in what the first arg can be: a non-keyword word,
13706 string/regexp/percent literal opener, opening paren, or unary
13707 operator followed directly by word.
13709 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
13711 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
13712 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
13713 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
13714 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
13715 Remove vars, they do not apply any more.
13716 (prolog-mode-abbrev-table): Remove redundant declaration.
13717 (prolog-upper-case-string, prolog-lower-case-string): Remove.
13718 (prolog-use-smie): Remove.
13719 (prolog-smie-rules): Add indentation rule for the if-then-else layout
13720 supported by prolog-electric-if-then-else-flag.
13721 (prolog-mode-variables, prolog-menu): Use setq-local.
13722 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
13723 Remove binding to `Backspace' since this key doesn't exist anyway.
13724 Remove bindings for electric self-inserting keys.
13725 (prog-mode): Assume it's defined.
13726 (prolog-post-self-insert): New function.
13727 (prolog-mode): Use it.
13728 (prolog-indent-line, prolog-indent-level)
13729 (prolog-find-indent-of-matching-paren)
13730 (prolog-indentation-level-of-line, prolog-goto-comment-column)
13731 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
13732 (prolog-goto-next-paren, prolog-in-string-or-comment)
13733 (prolog-tokenize, prolog-inside-mline-comment)
13734 (prolog-find-start-of-mline-comment): Remove functions.
13735 (prolog-find-unmatched-paren, prolog-clause-end)
13736 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
13737 (prolog-electric--if-then-else): Rename from
13738 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
13739 (prolog-tokenize-searchkey): Remove const.
13740 (prolog-clause-info): Use forward-sexp.
13741 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
13742 (prolog-electric-if-then-else): Remove commands.
13743 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
13744 for use in post-self-insert-hook.
13745 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
13746 for use in post-self-insert-hook.
13747 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
13748 for use in post-self-insert-hook.
13749 (prolog-electric--underscore): Rename from prolog-electric--underscore;
13750 adapt it for use in post-self-insert-hook.
13752 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
13754 * emacs-lisp/ert.el (ert-run-tests-interactively):
13755 Use `completing-read'. (Bug#9756)
13757 2013-10-25 Eli Zaretskii <eliz@gnu.org>
13759 * simple.el (line-move): Call line-move-1 instead of
13760 line-move-visual when the current window hscroll is zero, but
13761 temporary-goal-column indicates we will need to hscroll as result
13762 of the movement. (Bug#15712)
13764 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
13766 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
13767 capitalization. Use :visible instead of :active.
13768 Fix `ruby-indent-exp' reference. Add menu items for the generic
13769 commands that are used with SMIE.
13770 (ruby-do-end-to-brace): Insert space after `{'.
13772 2013-10-25 John Anthony <john@jo.hnanthony.com>
13774 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
13776 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
13778 2013-10-25 Glenn Morris <rgm@gnu.org>
13780 * vc/vc.el (vc-print-log): Don't use a working revision unless
13781 one was explicitly specified. (Bug#15322)
13783 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
13785 * subr.el (add-to-list): Preserve return value in compiler-macro
13788 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13790 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
13791 result. Ask user to retry using '-all' flag. (Bug#15701)
13793 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
13795 * emacs-lisp/smie.el: New smie-config system.
13796 (smie-config): New defcustom.
13797 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
13798 (smie-config-guess, smie-config-save): New commands.
13799 (smie-config--mode-local, smie-config--buffer-local)
13800 (smie-config--trace, smie-config--modefuns): New vars.
13801 (smie-config--advice, smie-config--mode-hook)
13802 (smie-config--setter, smie-config-local, smie-config--get-trace)
13803 (smie-config--guess-value, smie-config--guess): New functions.
13804 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
13805 text properties. Treat "string fence" syntax like string syntax.
13807 * progmodes/sh-script.el (sh-use-smie): Change default.
13808 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
13809 (sh-var-value): Simplify by CSE.
13810 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
13811 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
13813 (sh-guess-basic-offset): Use cl-incf.
13814 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
13816 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
13818 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
13821 2013-10-24 Glenn Morris <rgm@gnu.org>
13823 * Makefile.in (abs_top_srcdir): Remove.
13824 (update-subdirs): Use relative path to update-subdirs.
13826 2013-10-24 Eli Zaretskii <eliz@gnu.org>
13828 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
13829 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
13830 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
13831 Call unmsys--file-name before expand-file-name, not after it.
13833 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
13835 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
13836 (ert-test-skipped): New error.
13837 (ert-skip, ert-stats-skipped): New defuns.
13838 (ert--skip-unless): New macro.
13839 (ert-test-skipped): New struct.
13840 (ert--run-test-debugger, ert-test-result-type-p)
13841 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
13842 (ert--stats-set-test-and-result, ert-char-for-test-result)
13843 (ert-string-for-test-result, ert-run-tests-batch)
13844 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
13845 Handle skipped tests. (Bug#9803)
13847 2013-10-24 Glenn Morris <rgm@gnu.org>
13849 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
13851 * Makefile.in (abs_top_srcdir): New, set by configure.
13852 (update-subdirs): Correct build-aux location.
13854 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
13856 * vc/vc.el (vc-print-root-log): Always set `default-directory'
13857 value, whether we could auto-deduce `backend', or not.
13859 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
13860 with parameters" example. Simplify the "is it block or is it
13861 hash" check, but also make it more thorough.
13863 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
13865 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
13867 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
13869 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
13870 { if it is hanging.
13872 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
13875 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
13877 * progmodes/compile.el (compilation-directory-matcher)
13878 (compilation-page-delimiter):
13879 Support GNU Make-4.0 directory quoting. (Bug#15678)
13881 2013-10-23 Leo Liu <sdl.web@gmail.com>
13883 * ido.el (ido-tidy): Handle read-only text.
13885 2013-10-23 Glenn Morris <rgm@gnu.org>
13887 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
13888 (emacs, compile, compile-always):
13889 Quote entities that might contain whitespace.
13890 (custom-deps, finder-data, autoloads): Use abs_lisp.
13891 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
13892 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
13893 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
13895 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
13897 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
13898 Use `following-char'.
13900 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
13902 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
13903 * progmodes/ruby-mode.el (ruby-smie-rules):
13904 Remove corresponding workaround. Fix indentation rule of ";" so it
13905 also applies when ";" is the parent.
13907 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
13909 * frame.el (display-screens, display-pixel-height)
13910 (display-pixel-width, display-mm-width, display-backing-store)
13911 (display-save-under, display-planes, display-color-cells)
13912 (display-visual-class, display-monitor-attributes-list):
13913 Mention the optional ‘display’ argument in doc strings.
13915 2013-10-22 Michael Gauland <mikelygee@amuri.net>
13917 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
13918 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
13920 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
13922 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
13923 TODO. Add "." after " @ ".
13924 (ruby-smie--at-dot-call): New function. Checks if point at method
13925 call with explicit target.
13926 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
13927 to the method name tokens when it precedes them.
13928 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
13929 (ruby-smie-rules): Add rule for indentation before and after "."
13932 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
13934 * textmodes/remember.el (remember-diary-extract-entries):
13937 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
13940 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
13942 * progmodes/ruby-mode.el (ruby-smie-grammar):
13943 Add (almost) all infix operators.
13944 (ruby-smie--implicit-semi-p): Add new operator chars.
13946 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
13948 (ruby-smie--args-separator-p): Check that there's no newline
13949 between method call and its arguments.
13951 2013-10-20 Alan Mackenzie <acm@muc.de>
13953 Allow comma separated lists after Java "implements".
13955 * progmodes/cc-engine.el (c-backward-over-enum-header):
13957 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
13958 from a "disallowed" list in enum fontification.
13960 2013-10-20 Johan Bockgård <bojohan@gnu.org>
13962 * startup.el (default-frame-background-mode): Remove unused defvar.
13964 * progmodes/verilog-mode.el (verilog-mode): Don't set
13965 comment-indent-function globally.
13967 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
13969 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
13970 Move Info menu item creation to ns-win.el.
13972 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
13975 * menu-bar.el: Move GNUstep specific menus...
13977 * term/ns-win.el (ns-initialize-window-system): ... to here.
13979 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
13981 * simple.el (newline): Only run post-self-insert-hook when
13982 called interactively.
13984 2013-10-19 Johan Bockgård <bojohan@gnu.org>
13986 * icomplete.el (icomplete-with-completion-tables): Add :version.
13988 2013-10-19 Alan Mackenzie <acm@muc.de>
13990 Fix fontification bugs with constructors and const.
13992 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
13993 CASE 2) Remove the check for the absence of a suffix construct
13994 after a function declaration with only types (no identifiers) in
13995 the parentheses. Also, accept a function declaration with just a
13996 type inside the parentheses, if this type can be positively
13997 recognised as such, or if a prefix keyword like "explicit" nails
13998 down the construct as a declaration.
14000 2013-10-19 Eli Zaretskii <eliz@gnu.org>
14002 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
14003 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
14004 the problem whereby selecting a menu item that leads to a
14005 minibuffer prompt moves the cursor out of the minibuffer window,
14006 making it hard to type at the prompt. Suggested by Stefan Monnier
14007 <monnier@iro.umontreal.ca>.
14009 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
14011 * menu-bar.el: Don't make Services menu.
14013 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14015 * ffap.el: Handle "/usr/include/c++/<version>" directories.
14016 (ffap-alist): Use ffap-c++-mode for c++-mode.
14017 (ffap-c++-path): New variable.
14018 (ffap-c++-mode): New function.
14020 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
14022 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
14024 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
14026 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
14027 introduced on 2013-09-08, which results in an infinite loop
14028 requesting a password.
14030 2013-10-18 Glenn Morris <rgm@gnu.org>
14032 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
14034 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
14036 Sync with upstream verilog-mode revision 1a6ecec7.
14037 * progmodes/verilog-mode.el (verilog-mode-version): Update.
14038 (verilog-mode-release-date): Remove.
14039 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
14040 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
14041 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
14042 (verilog-auto-tieoff-ignore-regexp)
14043 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
14044 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
14045 (verilog-signals-with, verilog-dir-cache-preserving)
14046 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
14048 (verilog-case-fold): New option, to control case folding in
14049 regexp searches, bug597.
14050 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
14051 (verilog-string-match-fold, verilog-in-paren-count)
14052 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
14053 (verilog-at-close-struct-p): New functions.
14054 (verilog-beg-block-re-ordered, verilog-extended-case-re)
14055 (verilog-forward-sexp, verilog-set-auto-endcomments)
14056 (verilog-leap-to-case-head): Handle "unique0" case.
14057 (verilog-in-constraint-re): New constant.
14058 (verilog-keywords, verilog-type-font-keywords):
14059 Add some SystemVerilog 1800-2012 keywords.
14060 (verilog-label-be): Remove unimplemented argument, bug669.
14061 (verilog-batch-execute-func): When batch expanding clear
14062 create-lockfiles to prevent spurious user locks when a file ends
14064 (verilog-calculate-indent, verilog-calc-1)
14065 (verilog-at-close-constraint-p, verilog-at-constraint-p)
14066 (verilog-do-indent): Fix indentation of nested constraints
14068 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
14069 (verilog-auto-inst-param): Use verilog-string-match-fold.
14070 (verilog-read-inst-module-matcher):
14071 Fix AUTOINST on gate primitives with #1.
14072 (verilog-read-decls): Fix double-declaring user-defined typed signals.
14073 Reads all user-defined typed variables.
14074 (verilog-read-defines): Fix reading definitions inside comments, bug647.
14075 (verilog-signals-matching-regexp)
14076 (verilog-signals-not-matching-regexp, verilog-auto):
14077 Respect verilog-case-fold.
14078 (verilog-diff-report): Fix line count.
14079 (verilog-auto-assign-modport): Remove unused local `modi'.
14080 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
14081 better handle multidimensional arrays.
14082 Fix packed array ports misadding bit index in AUTOINST, bug637.
14083 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
14084 to not double-declare existing outputs and inputs, respectively.
14085 (verilog-template-map): Bind U to verilog-sk-uvm-component.
14086 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
14087 (verilog-sk-uvm-component): New skeleton.
14088 (verilog-submit-bug-report): Add verilog-case-fold,
14089 remove verilog-mode-release-date.
14091 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
14093 * subr.el (sit-for): Call (input-pending-p t) so as to behave
14096 2013-10-18 Reuben Thomas <rrt@sc3d.org>
14098 * textmodes/remember.el (remember): Set buffer-offer-save in
14099 remember buffers (bug#13566).
14101 2013-10-18 Daniel Colascione <dancol@dancol.org>
14103 When evaluating forms in ielm, direct standard output to ielm
14104 buffer. Add new ielm-return-for-effect command. Remove trailing
14105 whitespace throughout.
14107 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
14108 (ielm-return-for-effect): New command.
14109 (ielm-send-input): Accept optional `for-effect' parameter.
14110 (ielm-eval-input): Accept optional `for-effect' parameter.
14111 Bind `standard-output' to stream we create using
14112 `ielm-standard-output-impl'. Suppress printing result when
14114 (ielm-standard-output-impl): New function.
14115 (inferior-emacs-lisp-mode): Explain new features in documentation.
14117 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
14121 * net/tramp.el (tramp-debug-message): Do not check for connection
14123 (tramp-message): Use "vector" connection property.
14125 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
14126 (tramp-equal-remote, tramp-eshell-directory-change)
14127 * net/tramp-adb.el (tramp-adb-handle-copy-file)
14128 (tramp-adb-handle-rename-file)
14129 * net/tramp-cmds.el (tramp-list-remote-buffers)
14130 (tramp-cleanup-connection, tramp-cleanup-this-connection)
14131 * net/tramp-compat.el (tramp-compat-process-running-p)
14132 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
14133 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
14134 (tramp-gvfs-handle-rename-file)
14135 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
14136 (tramp-set-file-uid-gid)
14137 * net/tramp-smb.el (tramp-smb-handle-copy-file)
14138 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
14139 of `file-remote-p'.
14141 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
14142 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
14143 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
14144 (tramp-gw-open-network-stream): Suppress unrelated traces.
14146 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
14147 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
14148 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
14149 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
14150 connection property.
14152 * net/tramp-cache.el (top): Suppress traces when reading
14155 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
14156 Refactor common code. Improve debug message.
14157 (tramp-maybe-open-connection)
14158 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
14159 connection buffer too early.
14161 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
14162 from `tramp-smb-actions-with-acl'.
14163 (tramp-smb-actions-set-acl): New defconst.
14164 (tramp-smb-handle-copy-directory)
14165 (tramp-smb-action-get-acl): New defun, renamed from
14166 `tramp-smb-action-with-acl'.
14167 (tramp-smb-action-set-acl): New defun.
14168 (tramp-smb-handle-set-file-acl): Rewrite.
14170 2013-10-17 Glenn Morris <rgm@gnu.org>
14172 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
14174 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
14176 * skeleton.el (skeleton-newline): Remove.
14177 (skeleton-internal-1): Use (insert "\n") instead.
14179 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
14182 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
14183 forward-sexp-function while we redo its job (bug#15613).
14185 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
14187 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
14188 represented by lists.
14190 2013-10-16 Glenn Morris <rgm@gnu.org>
14192 * tmm.el (tmm--history): New dynamic variable.
14193 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
14195 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
14197 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
14198 (tramp-smb-errors): Add error messages.
14199 (tramp-smb-actions-with-acl): New defconst.
14200 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
14201 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
14202 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
14203 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
14204 (tramp-smb-get-stat-capability): Fix tests.
14206 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
14208 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
14211 2013-10-16 Glenn Morris <rgm@gnu.org>
14213 * ansi-color.el (ansi-color-drop-regexp):
14214 Add 1J, 1K, 2K. (Bug#15617)
14216 * files.el (hack-local-variables--warned-lexical): New.
14217 (hack-local-variables):
14218 Warn about misplaced lexical-binding. (Bug#15616)
14220 * net/eww.el (eww-render): Always set eww-current-url,
14221 and update header line. (Bug#15622)
14222 (eww-display-html): ... Rather than just doing it here.
14224 2013-10-15 Eli Zaretskii <eliz@gnu.org>
14226 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
14227 menu navigations commands.
14229 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
14231 * progmodes/subword.el (subword-capitalize): Be careful when
14232 the search for [[:alpha:]] fails (bug#15580).
14234 2013-10-14 Eli Zaretskii <eliz@gnu.org>
14236 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
14237 to commands that scroll the menu.
14239 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
14241 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
14242 Handle methods ending with `?' and `!'.
14244 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
14246 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
14247 `japanese-cp932' to `cp932' to fix the problem where saving a
14248 source file written in Shift_JIS twice would end up having
14249 `coding: japanese-cp932' which Ruby could not recognize.
14250 (ruby-mode-set-encoding): Add support for encodings mapped to nil
14251 in `ruby-encoding-map'.
14252 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
14253 doesn't need to be explicitly declared in magic comment.
14254 (ruby-encoding-map): Add type declaration for better customize UI.
14256 2013-10-13 Glenn Morris <rgm@gnu.org>
14258 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
14259 Occur buffers are read-only. http://bugs.debian.org/720775
14261 * emacs-lisp/authors.el (authors-fixed-entries):
14262 Comment out old alpha stuff.
14264 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
14266 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
14267 to `after-save-hook' instead of `before-save-hook'.
14268 (ruby-mode-set-encoding): Use the value of coding system used to
14269 write the file. Call `basic-save-buffer-1' after modifying the
14272 2013-10-13 Alan Mackenzie <acm@muc.de>
14274 Fix indentation/fontification of Java enum with
14275 "implements"/generic.
14277 * progmodes/cc-engine.el (c-backward-over-enum-header):
14278 Extracted from the three other places and enhanced to handle generics.
14279 (c-inside-bracelist-p): Uses new function above.
14280 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
14282 (c-font-lock-enum-tail): Uses new function above.
14284 2013-10-13 Kenichi Handa <handa@gnu.org>
14286 * international/mule-cmds.el (select-safe-coding-system): Remove a
14287 superfluous condition in chekcing whether a coding system is safe
14290 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
14292 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
14294 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
14296 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
14298 2013-10-13 Glenn Morris <rgm@gnu.org>
14300 * menu-bar.el (menu-bar-update-buffers):
14301 Unify Buffers menu prompt string. (Bug#15576)
14303 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
14305 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
14307 (authors-fixed-entries): Use accented form of name.
14309 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
14311 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
14312 method calls (bug#15594).
14313 (ruby-smie--args-separator-p): New function.
14314 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
14315 recognize paren-free method calls.
14317 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
14318 internals of universal-argument.
14320 2013-10-11 Eli Zaretskii <eliz@gnu.org>
14322 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
14323 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
14324 dropped menu on second mouse click on the menu bar.
14326 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
14328 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
14329 (explicit-shell-file-name): Declare.
14330 (sh--vars-before-point, sh--cmd-completion-table): New functions.
14331 (sh-completion-at-point-function): New function.
14333 (sh-smie--keyword-p): Remove unused argument.
14334 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
14336 (sh-set-shell): Always setup SMIE, even if we use the
14337 old indentation code.
14339 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
14341 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
14343 (ruby-smie-rules): Simplify the "do" rule. The cases when the
14344 predicate would return nil are almost non-existent.
14345 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
14347 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
14348 cache also after commands that modify the buffer but don't move
14351 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
14353 * env.el (substitute-env-in-file-name): New function.
14354 (substitute-env-vars): Extend the meaning of the optional arg.
14356 2013-10-10 Eli Zaretskii <eliz@gnu.org>
14358 * term/w32-win.el (dynamic-library-alist): Define separate lists
14359 of GIF DLLs for versions before and after 5.0.0 of giflib.
14362 2013-10-10 João Távora <joaotavora@gmail.com>
14364 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
14365 not locked, use last revision and current source as
14366 defaults. (Bug#15569)
14368 2013-10-10 Masatake YAMATO <yamato@redhat.com>
14370 * menu-bar.el (menu-bar-open): Don't use popup-menu if
14371 menu-bar is hidden.
14373 2013-10-10 Martin Rudalics <rudalics@gmx.at>
14375 * window.el (pop-to-buffer-same-window): Fix doc-string.
14378 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
14380 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
14382 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
14384 * calendar/icalendar.el (icalendar-import-file):
14385 Fix interactive spec. (Bug#15482)
14387 2013-10-10 Glenn Morris <rgm@gnu.org>
14389 * desktop.el (desktop-save): Default to saving in .emacs.d,
14390 since PWD is no longer in desktop-path by default. (Bug#15319)
14392 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
14393 now that text mode has a menu with the same entry.
14394 (menu-bar-text-mode-auto-fill): Remove now unused func.
14395 * textmodes/text-mode.el (text-mode-map):
14396 Use auto-fill help text from menu-bar.el.
14398 2013-10-10 John Anthony <john@jo.hnanthony.com>
14400 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
14402 2013-10-09 Juri Linkov <juri@jurta.org>
14404 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
14405 instead of this-command-keys. Add universal-argument-more and
14406 universal-argument-minus to the list of prefix commands. (Bug#15568)
14408 2013-10-09 Glenn Morris <rgm@gnu.org>
14410 * vc/vc-svn.el (vc-svn-create-repo):
14411 Expand paths in file://... url. (Bug#15446)
14413 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
14415 (authors): Remove unused local variables.
14417 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
14419 * profiler.el: Create a more coherent calltree from partial backtraces.
14420 (profiler-format): Hide the tail with `invisible' so that C-s can still
14421 find the hidden elements.
14422 (profiler-calltree-depth): Don't recurse so enthusiastically.
14423 (profiler-function-equal): New hash-table-test.
14424 (profiler-calltree-build-unified): New function.
14425 (profiler-calltree-build): Use it.
14426 (profiler-report-make-name-part): Indent the calltree less.
14427 (profiler-report-mode): Add visibility specs for profiler-format.
14428 (profiler-report-expand-entry, profiler-report-toggle-entry):
14429 Expand the whole subtree when provided with a prefix arg.
14431 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
14433 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
14435 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
14436 hanging iuwu-mod token.
14437 (ruby-smie--forward-token): Do not include a dot after a token in
14439 (ruby-smie--backward-token): Likewise.
14441 2013-10-08 Juri Linkov <juri@jurta.org>
14443 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
14444 to isearch-other-control-char.
14445 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
14446 and isearch-post-command-hook to post-command-hook.
14447 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
14448 and isearch-post-command-hook from post-command-hook.
14449 (isearch-unread-key-sequence)
14450 (isearch-reread-key-sequence-naturally)
14451 (isearch-lookup-scroll-key, isearch-other-control-char)
14452 (isearch-other-meta-char): Remove functions.
14453 (isearch-pre-command-hook, isearch-post-command-hook):
14454 New functions based on isearch-other-meta-char rewritten
14455 relying on the new behavior of overriding-terminal-local-map
14456 that does not replace the local keymaps any more. (Bug#15200)
14458 2013-10-08 Eli Zaretskii <eliz@gnu.org>
14460 Support menus on text-mode terminals.
14461 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
14464 * tooltip.el (tooltip-mode): Don't error out on TTYs.
14466 * menu-bar.el (popup-menu, popup-menu-normalize-position):
14467 Move here from mouse.el.
14468 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
14470 (tty-menu-navigation-map): New map for TTY menu navigation.
14472 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
14474 * frame.el (display-mouse-p): Report text-mode mouse as available
14476 (display-popup-menus-p): Report availability if mouse is
14477 available; don't condition on window-system.
14479 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
14480 (tty-menu-selected-face): New faces.
14482 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
14484 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
14485 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
14486 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
14487 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
14489 (lisp-mode-variables): New `elisp' argument.
14490 (emacs-lisp-mode): Use it.
14491 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
14492 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
14494 * indent.el: Use lexical-binding.
14495 (indent-region): Add progress reporter.
14496 (tab-stop-list): Make it implicitly extend to infinity by repeating the
14498 (indent--next-tab-stop): New function to implement this behavior.
14499 (tab-to-tab-stop, move-to-tab-stop): Use it.
14501 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
14503 * indent.el (indent-rigidly--current-indentation): New function.
14504 (indent-rigidly-map): New var.
14505 (indent-rigidly): Use it to provide interactive mode (bug#8196).
14507 2013-10-08 Bastien Guerry <bzg@gnu.org>
14509 * register.el (insert-register): Fix 2013-10-07 change.
14511 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
14513 * progmodes/perl-mode.el: Use lexical-binding.
14514 Remove redundant :group args.
14515 (perl-nochange): Change default to be closer to other major modes's
14517 (perl-indent-line): Don't consider text on current line as a
14518 valid beginning of function from which to indent.
14520 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
14521 with more than one argument (bug#15538).
14523 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
14525 * vc/pcvs.el: Use lexical-binding.
14526 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
14527 environment of `eval'.
14528 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
14529 than a list of expressions. Adjust callers.
14530 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
14532 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
14534 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
14535 case of the dot in a chained method call being on the following line.
14537 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
14539 * electric.el (electric-indent-inhibit): New var.
14540 (electric-indent-post-self-insert-function): Use it.
14541 * progmodes/python.el (python-mode): Set it.
14543 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
14546 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
14548 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
14549 (css-mode): Use electric-indent-chars.
14551 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
14552 (font-lock-beg, font-lock-end): Move before first use.
14553 (nxml-mode): Use syntax-propertize-function.
14554 (nxml-after-change, nxml-after-change1): Adjust accordingly.
14555 (nxml-extend-after-change-region): Remove.
14556 * nxml/xmltok.el: Use lexical-binding.
14557 (xmltok-save): Use `declare'.
14558 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
14559 * nxml/nxml-util.el: Use lexical-binding.
14560 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
14562 * nxml/nxml-ns.el: Use lexical-binding.
14563 (nxml-ns-save): Use `declare'.
14564 (nxml-ns-prefixes-for): Avoid add-to-list.
14565 * nxml/rng-match.el: Use lexical-binding.
14566 (rng--ipattern): Use cl-defstruct.
14567 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
14568 (rng-cons-group-after, rng-subst-group-after)
14569 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
14570 Use closures instead of `(lambda...).
14572 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
14574 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
14577 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
14578 Use `tramp-handle-insert-file-contents'.
14579 (tramp-gvfs-handle-insert-file-contents): Remove function.
14581 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
14582 Use `save-restriction' in order to keep markers.
14584 * net/trampver.el: Update release number.
14586 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
14588 * progmodes/compile.el (compilation-parse-errors):
14589 Use compilation--put-prop.
14590 (compilation--ensure-parse): Check compilation-multiline.
14592 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
14594 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
14597 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
14599 * progmodes/ruby-mode.el: Fix recently added tests.
14600 (ruby-smie-grammar): Add - and +.
14601 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
14602 (ruby-smie--backward-id): New functions.
14603 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
14604 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
14607 2013-10-07 Leo Liu <sdl.web@gmail.com>
14609 * register.el (register-preview-delay)
14610 (register-preview-functions): New variables.
14611 (register-read-with-preview, register-preview)
14612 (register-describe-oneline): New functions.
14613 (point-to-register, window-configuration-to-register)
14614 (frame-configuration-to-register, jump-to-register)
14615 (number-to-register, view-register, insert-register)
14616 (copy-to-register, append-to-register, prepend-to-register)
14617 (copy-rectangle-to-register): Use register-read-with-preview to
14618 read register. (Bug#15525)
14620 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
14622 * net/network-stream.el (network-stream-open-starttls): Don't add
14623 --insecure if it's already present, because that gnutls-cli
14624 rejects getting that parameter twice.
14626 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
14628 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
14631 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
14633 * newcomment.el (comment-use-global-state): Change default value
14634 to t, mark obsolete (Bug#15251).
14635 (comment-beginning): In addition to `comment-to-syntax', check the
14636 value of `comment-use-global-state'.
14638 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
14640 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
14641 (ruby-comment-column): Follow the global default, by default.
14642 (ruby-smie-grammar): Add assignment syntax.
14643 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
14644 open-paren, a comma, or a \.
14645 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
14646 and line continuations.
14647 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
14648 followed by implicit semi-colons. Add rule for string concatenation
14649 and for indentation at BOB.
14650 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
14652 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
14653 calling next-sexp, since next-token may have skipped chars which
14654 next-sexp doesn't know should be skipped!
14656 2013-10-05 Leo Liu <sdl.web@gmail.com>
14658 * progmodes/octave.el (octave-send-region):
14659 Call compilation-forget-errors.
14661 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
14663 * vc/vc-svn.el (vc-svn-find-admin-dir):
14664 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
14665 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
14666 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
14667 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
14669 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
14671 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
14673 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
14675 * subr.el (read-passwd): Hide chars even when called within a context
14676 where after-change-functions is disabled (bug#15501).
14677 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
14678 until we removed ourself from overriding-terminal-local-map.
14680 2013-10-04 Leo Liu <sdl.web@gmail.com>
14682 * progmodes/octave.el (inferior-octave-mode):
14683 Call compilation-forget-errors.
14685 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
14687 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
14689 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
14691 * net/secrets.el (secrets-create-collection): Add optional
14692 argument ALIAS. Use proper Label keyword. Append ALIAS as
14693 dbus-call-method argument. (Bug#15516)
14695 2013-10-04 Leo Liu <sdl.web@gmail.com>
14697 * progmodes/octave.el (inferior-octave-error-regexp-alist)
14698 (inferior-octave-compilation-font-lock-keywords): New variables.
14699 (compilation-error-regexp-alist)
14700 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
14701 (inferior-octave-mode): Use compilation-shell-minor-mode.
14703 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
14705 * minibuffer.el (completion--replace): Be careful that `end' might be
14708 2013-10-03 Daiki Ueno <ueno@gnu.org>
14710 Add support for package signature checking.
14711 * emacs-lisp/package.el (url-http-file-exists-p)
14712 (epg-make-context, epg-context-set-home-directory)
14713 (epg-verify-string, epg-context-result-for)
14714 (epg-signature-status, epg-signature-to-string)
14715 (epg-check-configuration, epg-configuration)
14716 (epg-import-keys-from-file): Declare.
14717 (package-check-signature): New user option.
14718 (package-unsigned-archives): New user option.
14719 (package-desc): Add `signed' field.
14720 (package-load-descriptor): Set `signed' field if .signed file exists.
14721 (package--archive-file-exists-p): New function.
14722 (package--check-signature): New function.
14723 (package-install-from-archive): Check package signature.
14724 (package--download-one-archive): Check archive signature.
14725 (package-delete): Remove .signed file.
14726 (package-import-keyring): New command.
14727 (package-refresh-contents): Import default keyring.
14728 (package-desc-status): Add "unsigned" status.
14729 (describe-package-1, package-menu--print-info)
14730 (package-menu-mark-delete, package-menu--find-upgrades)
14731 (package-menu--status-predicate): Support "unsigned" status.
14733 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
14735 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
14736 the new compilation scheme using the new byte-codes.
14738 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
14739 (byte-pophandler): New byte codes.
14740 (byte-goto-ops): Adjust accordingly.
14741 (byte-compile--use-old-handlers): New var.
14742 (byte-compile-catch): Use new byte codes depending on
14743 byte-compile--use-old-handlers.
14744 (byte-compile-condition-case--old): Rename from
14745 byte-compile-condition-case.
14746 (byte-compile-condition-case--new): New function.
14747 (byte-compile-condition-case): New function that dispatches depending
14748 on byte-compile--use-old-handlers.
14749 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
14752 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
14753 Optimize under `condition-case' and `catch' if
14754 byte-compile--use-old-handlers is nil.
14755 (disassemble-offset): Handle new bytecodes.
14757 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
14759 * subr.el (error): Use `declare'.
14760 (decode-char, encode-char): Use advertised-calling-convention instead
14761 of the docstring to discourage use of the `restriction' arg.
14763 2013-10-03 Daiki Ueno <ueno@gnu.org>
14765 * epg.el (epg-verify-file): Add a comment saying that it does not
14766 notify verification error as a return value nor a signal.
14767 (epg-verify-string): Ditto.
14769 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
14771 * progmodes/compile.el (compilation-start): Try globbing the arg to
14774 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
14776 Sync with Tramp 2.2.8.
14778 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
14779 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
14780 * net/trampver.el: Update release number.
14782 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
14784 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
14785 and default-process-coding-system for darwin only.
14787 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
14789 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
14791 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
14793 * vc/vc-git.el (vc-git-grep): Disable pager.
14795 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
14797 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
14798 Use :url instead of :homepage, as per
14799 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
14801 * newcomment.el (comment-beginning): When `comment-use-syntax' is
14802 non-nil, use `syntax-ppss' (Bug#15251).
14804 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14806 * progmodes/octave.el (inferior-octave-startup-file):
14807 Prefer ~/.emacs.d/init_octave.m.
14809 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
14811 * emacs-lisp/package.el (package-desc-from-define):
14812 Accept additional arguments as plist, convert them to an alist and store
14813 them in the `extras' slot.
14814 (package-generate-description-file): Convert extras alist back to
14815 plist and append to the `define-package' form arguments.
14816 (package--alist-to-plist): New function.
14817 (package--ac-desc): Add `extras' slot.
14818 (package--add-to-archive-contents): Check if the archive-contents
14819 vector is long enough, and if it is, pass its `extras' slot value
14820 to `package-desc-create'.
14821 (package-buffer-info): Call `lm-homepage', pass the returned value
14822 to `package-desc-from-define'.
14823 (describe-package-1): Render the homepage button (Bug#13291).
14825 * emacs-lisp/package-x.el (package-upload-buffer-internal):
14826 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
14828 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
14830 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
14831 and default-process-coding-system to utf-8-unix (Bug#15402).
14833 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
14835 * subr.el (looking-back): Do not recommend using looking-back.
14837 2013-09-28 Alan Mackenzie <acm@muc.de>
14839 Fix indentation/fontification of Java enum with "implements".
14841 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
14842 regexp which matches "implements", etc., in Java.
14843 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
14844 specifier clauses coming after "enum".
14845 * progmodes/cc-fonts.el (c-font-lock-declarations)
14846 (c-font-lock-enum-tail): Check for extra specifier clauses coming
14849 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
14851 * faces.el (region): Change ns_selection_color to
14852 ns_selection_fg_color, add ns_selection_bg_color.
14854 2013-09-28 Leo Liu <sdl.web@gmail.com>
14856 * progmodes/octave.el (inferior-octave-completion-table)
14857 (inferior-octave-completion-at-point): Minor tweaks.
14859 * textmodes/ispell.el (ispell-lookup-words): Rename from
14860 lookup-words. (Bug#15460)
14861 (lookup-words): Obsolete.
14862 (ispell-complete-word, ispell-command-loop): All uses changed.
14864 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14866 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
14867 (octave-mode-menu): Add octave-send-buffer.
14868 (octave-send-buffer): New function.
14870 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14872 * progmodes/octave.el (octave-mode-map): Add key binding for
14874 (octave-mode-menu): Add octave-lookfor.
14875 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
14877 (octave-lookfor): New function.
14879 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
14881 * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
14882 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
14884 (cl--loop-set-iterator-function): New function.
14885 (cl-loop): Adjust accordingly, so as not to use cl-subst.
14886 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
14887 Bind `it' with `let' instead of substituting it with `cl-subst'.
14888 (cl--unused-var-p): New function.
14889 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
14890 Eliminate some unused variable warnings (bug#15326).
14892 2013-09-27 Tassilo Horn <tsdh@gnu.org>
14894 * doc-view.el (doc-view-scale-reset): Rename from
14895 `doc-view-reset-zoom-level'.
14896 (doc-view-scale-adjust): New command.
14897 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
14898 `doc-view-scale-adjust'.
14900 2013-09-26 Tassilo Horn <tsdh@gnu.org>
14902 * doc-view.el (doc-view-reset-zoom-level): New command.
14903 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
14904 zoom commands (bug#15466).
14906 2013-09-26 Kenichi Handa <handa@gnu.org>
14908 * international/quail.el (quail-help): Make it not a command.
14910 2013-09-26 Leo Liu <sdl.web@gmail.com>
14912 * minibuffer.el (completion-all-sorted-completions): Make args
14913 optional as they are.
14915 2013-09-25 Daniel Colascione <dancol@dancol.org>
14917 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
14918 specs are and that they're not evaluated.
14920 2013-09-24 Sam Steingold <sds@gnu.org>
14922 * midnight.el (clean-buffer-list-kill-regexps)
14923 (clean-buffer-list-kill-buffer-names): Update for the new Man
14924 buffer naming which includes the object name.
14926 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
14928 * eshell/esh-cmd.el (eshell--sep-terms): New var.
14929 (eshell-parse-command, eshell-parse-pipeline): Use it since
14930 eshell-separate-commands requires a dynamic scoped var.
14931 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
14933 2013-09-23 Leo Liu <sdl.web@gmail.com>
14935 * autoinsert.el (auto-insert-alist): Make the value of
14936 lexical-binding match its file setting.
14938 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
14940 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
14942 * autoarg.el (autoarg-kp-digit-argument):
14943 * electric.el (Electric-command-loop):
14944 * kmacro.el (kmacro-step-edit-insert):
14945 Do not set universal-argument-num-events.
14947 2013-09-22 Leo Liu <sdl.web@gmail.com>
14949 * files.el (interpreter-mode-alist): Add octave.
14951 2013-09-21 Alan Mackenzie <acm@muc.de>
14953 C++: fontify identifier in declaration following "public:" correctly.
14954 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
14955 to match "public", etc.
14956 (c-decl-prefix-re): Add ":" into the C++ value.
14957 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
14958 bit. Add a check for a ":" preceded by "public", etc.
14960 2013-09-21 Eli Zaretskii <eliz@gnu.org>
14962 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
14963 recognized by GDB 7.5 and later.
14965 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
14967 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
14969 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
14971 * subr.el (internal--call-interactively): New const.
14972 (called-interactively-p): Use it (bug#3984).
14974 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
14976 * vc/pcvs.el (cvs-mode-ignore):
14977 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
14978 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
14980 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
14982 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
14983 (eshell-ls-orig-insert-directory): Remove.
14984 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
14985 (eshell-ls-use-in-dired): Use advice-add/remove.
14986 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
14987 Add `orig-fun' arg for use in :around advice.
14988 Make it check (redundantly) eshell-ls-use-in-dired.
14990 2013-09-19 Glenn Morris <rgm@gnu.org>
14992 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
14994 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
14996 * emacs-lisp/eieio.el (class-parent): Undo previous change.
14998 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
15000 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
15001 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
15002 (tramp-get-remote-python): New defuns.
15003 (tramp-get-remote-uid-with-perl)
15004 (tramp-get-remote-gid-with-perl): New defuns. Perl code
15005 contributed by yary <not.com@gmail.com> (tiny change).
15006 (tramp-get-remote-uid-with-python)
15007 (tramp-get-remote-gid-with-python): New defuns. Python code
15008 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
15009 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
15011 2013-09-19 Glenn Morris <rgm@gnu.org>
15013 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
15015 * eshell/em-unix.el (eshell-remove-entries):
15016 Rename argument to avoid name-clash with global `top-level'.
15018 * eshell/esh-proc.el (eshell-kill-process-function):
15019 Remove eshell-reset-after-proc from eshell-kill-hook if present.
15020 (eshell-reset-after-proc): Remove unused arg `proc'.
15022 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
15023 (directory-files-and-attributes): Mark unused arg.
15025 * eshell/em-unix.el (eshell-remove-entries):
15026 Remove unused arg `path'. Update callers.
15028 * eshell/em-hist.el (eshell-hist-parse-arguments):
15029 Remove unused arg `silent'. Update callers.
15031 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
15032 Fix (f)boundp mix-up.
15034 * eshell/em-smart.el (eshell-smart-scroll-window)
15035 (eshell-disable-after-change):
15036 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
15038 2013-09-18 Alan Mackenzie <acm@muc.de>
15040 Fix fontification of type when followed by "const".
15041 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
15042 "known" types from fontification.
15044 2013-09-18 Glenn Morris <rgm@gnu.org>
15046 * emacs-lisp/chart.el (x-display-color-cells): Declare.
15047 (chart-face-list): Drop Emacsen without display-color-p.
15049 * net/eww.el (libxml-parse-html-region): Declare.
15050 (eww-display-html): Explicit error if no libxml2 support.
15052 * doc-view.el (doc-view-mode): Silence --without-x compilation.
15054 * image.el (image-type-from-buffer, image-multi-frame-p):
15055 Remove --without-x warning/error.
15057 * mouse.el (mouse-yank-primary):
15058 * term.el (term-mouse-paste):
15059 Reorder to silence --without-x compilation.
15061 * mpc.el (doc-view-mode): Silence --without-x compilation.
15063 * mail/rmailmm.el (rmail-mime-set-bulk-data):
15064 Silence --without-x compilation.
15066 * progmodes/gud.el (gud-find-file, gud-mode):
15067 Silence --without-x compilation.
15068 (tooltip-mode): Declare.
15070 * wdired.el (dired-backup-overwrite): Remove declaration.
15071 (wdired-mode-map): Add doc string.
15073 * custom.el (x-get-resource): Declare.
15075 * eshell/em-glob.el (ange-cache):
15076 * eshell/em-unix.el (ange-cache): Declare.
15078 * faces.el (x-display-list, x-open-connection, x-get-resource):
15081 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
15082 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
15085 * frame.el (x-display-grayscale-p, x-display-name): Declare.
15087 * net/gnutls.el (gnutls-log-level): Declare.
15089 * net/shr.el (image-size, image-animate): Declare.
15091 * simple.el (font-info): Declare.
15093 * subr.el (x-popup-dialog): Declare.
15095 * term/common-win.el (x-select-enable-primary)
15096 (x-last-selected-text-primary, x-last-selected-text-clipboard):
15099 * term/ns-win.el (x-handle-args): Declare.
15101 * term/x-win.el (x-select-enable-clipboard): Declare.
15103 * term/w32-win.el (create-default-fontset): Declare.
15105 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
15108 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
15109 (fit-frame-to-buffer): Explicit error if --without-x.
15110 (mouse-autoselect-window-select): Silence compiler.
15112 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
15114 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
15115 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
15116 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
15117 * eshell/esh-util.el (eshell-sublist):
15118 Remove unused local variables.
15120 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
15122 * textmodes/two-column.el: Make 2C-split work for --without-x.
15123 (scroll-bar-columns): Autoload.
15124 (top-level): Require fringe when compiling.
15126 2013-09-18 Leo Liu <sdl.web@gmail.com>
15128 * subr.el (add-hook): Robustify to handle closure as well.
15130 2013-09-17 Glenn Morris <rgm@gnu.org>
15132 * simple.el (messages-buffer-mode-map): Unbind "g".
15134 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
15136 * help-mode.el (help-mode-finish): Use derived-mode-p.
15137 Remove obsolete highlighting.
15139 * play/life.el (life-mode): Use define-derived-mode. Derive from
15141 (life): Let-bind inhibit-read-only.
15142 (life-setup): Avoid `setq'. Use `life-mode'.
15144 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
15145 which should not be needed any more.
15146 (package-menu-refresh, package-menu-describe-package): Use user-error.
15148 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
15149 (eshell-post-rewrite-command-hook): Make obsolete.
15150 (eshell-parse-command): Simplify.
15151 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
15152 (eshell--cmd): Declare.
15153 (eshell-parse-pipeline): Remove unused var `final-p'.
15154 Pass a dynvar to eshell-post-rewrite-command-hook.
15155 Implement the new eshell-post-rewrite-command-function.
15156 (eshell-invoke-directly): Remove unused arg `input'.
15157 * eshell/esh-io.el (eshell-io-initialize):
15158 Use eshell-post-rewrite-command-function (bug#15399).
15159 (eshell--apply-redirections): Rename from eshell-apply-redirections;
15160 adjust to new calling convention.
15161 (eshell-create-handles): Rename args to avoid clashing with dynvar
15164 2013-09-17 Glenn Morris <rgm@gnu.org>
15166 * simple.el (messages-buffer-mode): New major mode.
15167 (messages-buffer): New function.
15168 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
15169 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
15170 (ert-run-test): Use `messages-buffer' function.
15171 (ert--force-message-log-buffer-truncation): Ignore read-only.
15172 * help.el (view-echo-area-messages): Use `messages-buffer' function.
15173 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
15175 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
15177 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
15179 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
15181 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
15183 * icomplete.el (icomplete-in-buffer): New var.
15184 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
15185 vars and replace them with functions.
15186 (icomplete-minibuffer-setup): Adjust accordingly.
15187 (icomplete--completion-table, icomplete--completion-predicate)
15188 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
15190 (icomplete-forward-completions, icomplete-backward-completions)
15191 (icomplete-simple-completing-p, icomplete-exhibit)
15192 (icomplete-completions): Use them.
15193 (icomplete--in-region-buffer): New var.
15194 (icomplete--in-region-setup): New function.
15195 (icomplete-mode): Use it.
15197 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
15199 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
15200 return args and options.
15201 (eshell-eval-using-options): Use the new return value of
15202 eshell--do-opts to set the options's vars in their scope.
15203 (eshell--set-option): Rename from eshell-set-option.
15204 Add arg `opt-vals'.
15205 (eshell--process-option): Rename from eshell-process-option.
15206 Add arg `opt-vals'.
15207 (eshell--process-args): Use an `opt-vals' alist to store the options's
15208 values during their processing and return them additionally to the
15211 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
15213 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
15214 continuation character an operator, as far as indentation is
15215 concerned (Bug#15369).
15217 2013-09-15 Martin Rudalics <rudalics@gmx.at>
15219 * window.el (window--state-put-2): Don't process buffer state
15220 when buffer doesn't exist any more (Bug#15382).
15222 2013-09-15 Glenn Morris <rgm@gnu.org>
15224 * eshell/em-unix.el (eshell/rm):
15225 Make -f ignore missing files. (Bug#15373)
15227 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
15228 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
15229 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
15231 2013-09-14 Glenn Morris <rgm@gnu.org>
15233 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
15235 2013-09-13 Glenn Morris <rgm@gnu.org>
15237 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
15238 (dired-guess-default): Make `file' available in the env. (Bug#15363)
15240 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
15242 * frame.el (x-focus-frame): Mark as declared in frame.c.
15244 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
15246 * ls-lisp.el: Use advice-add.
15247 (original-insert-directory): Remove.
15248 (ls-lisp--insert-directory): Rename from insert-directory; add
15249 `orig-fun' argument.
15250 (insert-directory): Advise.
15252 2013-09-13 Eli Zaretskii <eliz@gnu.org>
15254 * term.el (term-emulate-terminal): Decode the command string
15255 before passing it to term-command-hook. (Bug#15337)
15257 2013-09-13 Glenn Morris <rgm@gnu.org>
15259 * eshell/esh-util.el (ange-cache): Move declaration earlier.
15261 * eshell/esh-ext.el (eshell-search-path): Declare.
15263 * eshell/em-prompt.el (eshell/pwd): Autoload it.
15264 Otherwise an error occurs if eshell-dirs module not loaded.
15266 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
15268 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
15270 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
15271 `tramp-check-proper-host'. Check for a valid method name.
15273 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
15274 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
15275 * net/tramp-sh.el (tramp-maybe-open-connection):
15276 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
15278 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
15279 also for hash values.
15281 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
15283 * term/ns-win.el (parameters): Don't declare as dynamic.
15284 (before-make-frame-hook): Don't add ineffective function.
15286 * eshell/*.el: Use lexical-binding (bug#15231).
15288 2013-09-12 Kenichi Handa <handa@gnu.org>
15290 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
15292 2013-09-12 Glenn Morris <rgm@gnu.org>
15294 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
15295 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
15297 * subr.el (do-after-load-evaluation): Also give compiler warnings
15298 when obsolete files are used (except by obsolete files).
15300 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
15301 in the status output, assume `filename' is the first. (Bug#15322)
15303 * vc/vc.el (vc-deduce-fileset): Doc fix.
15305 * calc/calc-help.el (Info-goto-node):
15306 * progmodes/cperl-mode.el (Info-find-node):
15307 * vc/ediff.el (Info-goto-node): Update declarations.
15309 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
15311 * vc/vc-bzr.el (vc-compilation-mode): Declare.
15312 (vc-bzr-pull): Require vc-dispatcher.
15313 * vc/vc-git.el (vc-compilation-mode): Declare.
15314 (vc-git-pull): Require vc-dispatcher.
15316 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
15318 * progmodes/octave.el (help-button-action): Declare.
15320 * shell.el (shell-directory-tracker): Output error as a message
15321 rather than just returning it as a string.
15322 (shell-process-pushd): Remove useless use of message.
15324 * dframe.el (dframe-timer-fn):
15325 * files.el (dir-locals-read-from-file):
15326 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
15328 * reveal.el (reveal-post-command):
15329 * saveplace.el (load-save-place-alist-from-file):
15330 * shell.el (shell-resync-dirs):
15331 * w32-common-fns.el (x-get-selection-value):
15332 * emacs-lisp/copyright.el (copyright-find-copyright):
15333 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
15334 * emulation/tpu-edt.el (tpu-copy-keyfile):
15335 * play/bubbles.el (bubbles--mark-neighbourhood):
15336 * progmodes/executable.el
15337 (executable-make-buffer-file-executable-if-script-p):
15338 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
15340 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
15342 Cleanup Eshell to rely less on dynamic scoping.
15343 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
15344 last-value, and ext-command here. Bind `args' closer to `body'.
15345 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
15346 (eshell--args): Declare new dynamic var.
15347 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
15348 last-value, and ext-command. Pass `args' to `body'.
15349 (eshell-process-args): Bind eshell--args.
15350 (eshell-set-option): Use eshell--args.
15351 * eshell/eshell.el (eshell): Use derived-mode-p.
15352 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
15353 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
15354 (eshell-glob-function): Declare.
15355 * eshell/esh-util.el: Require cl-lib.
15356 (eshell-read-hosts-file): Avoid add-to-list.
15357 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
15359 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
15361 (eshell/diff): Remove unused var `err'.
15362 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
15364 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
15365 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
15367 * eshell/em-glob.el (eshell-glob-matches, message-shown):
15368 Move declaration before first use.
15369 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
15370 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
15373 2013-09-12 Glenn Morris <rgm@gnu.org>
15375 * term/ns-win.el (global-map): Remove binding for ispell-next,
15376 deleted 1999-05-29. (Bug#15357)
15378 2013-09-11 Glenn Morris <rgm@gnu.org>
15380 * echistory.el (electric-command-history): Remove call to deleted func.
15382 * play/landmark.el (landmark-mode): Fix typos.
15384 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
15385 Check cvs-sort-ignore-file is bound.
15387 * savehist.el: No need for cl when compiling on Emacs.
15389 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
15391 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
15393 (eshell-self-insert-command, eshell-send-invisible):
15394 Remove unused argument.
15395 (eshell-handle-control-codes): Remove unused var `orig'.
15396 Avoid delete-backward-char.
15398 * files.el (set-auto-mode): Simplify a bit further.
15400 2013-09-11 Glenn Morris <rgm@gnu.org>
15402 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
15403 (set-auto-mode): Don't regexp-quote elements.
15404 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
15405 * progmodes/cc-mode.el (interpreter-mode-alist):
15406 * progmodes/ruby-mode.el (interpreter-mode-alist):
15407 Revert previous change.
15409 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
15411 * play/snake.el (snake-mode):
15412 * play/mpuz.el (mpuz-mode):
15413 * play/landmark.el (lm-mode):
15414 * play/blackbox.el (blackbox-mode):
15415 * play/5x5.el (5x5-mode):
15416 * obsolete/options.el (Edit-options-mode):
15417 * net/quickurl.el (quickurl-list-mode):
15418 * net/newst-treeview.el (newsticker-treeview-mode):
15419 * mail/rmailsum.el (rmail-summary-mode):
15420 * mail/mspools.el (mspools-mode):
15421 * locate.el (locate-mode):
15422 * ibuffer.el (ibuffer-mode):
15423 * emulation/ws-mode.el (wordstar-mode):
15424 * emacs-lisp/debug.el (debugger-mode):
15425 * array.el (array-mode):
15426 * net/eudc.el (eudc-mode): Use define-derived-mode.
15427 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
15428 Move initialization into declaration.
15429 (mairix-searches-mode): Use define-derived-mode.
15430 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
15431 (eudc-edit-hotlist): Use dolist.
15432 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
15433 (Man-mode): Use define-derived-mode.
15434 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
15435 (Info-edit-mode): Use define-derived-mode.
15436 (Info-cease-edit): Use Info-mode.
15437 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
15439 (eshell-mode): Use define-derived-mode.
15440 * chistory.el (command-history-mode-map): Rename from
15441 command-history-map.
15442 (command-history-mode): Use define-derived-mode.
15443 (Command-history-setup): Remove function.
15444 * calc/calc.el (calc-trail-mode-map): New var.
15445 (calc-trail-mode): Use define-derived-mode.
15446 (calc-trail-buffer): Set calc-main-buffer manually.
15447 * bookmark.el (bookmark-insert-annotation): New function.
15448 (bookmark-edit-annotation): Use it.
15449 (bookmark-edit-annotation-mode): Make it a proper major mode.
15450 (bookmark-send-edited-annotation): Use derived-mode-p.
15451 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
15452 closer to its ideal place. Use \' to match EOS.
15454 * profiler.el (profiler-calltree-find): Use function-equal.
15456 2013-09-10 Glenn Morris <rgm@gnu.org>
15458 * files.el (interpreter-mode-alist): Convert to regexps.
15459 (set-auto-mode): Adapt for this. (Bug#15306)
15460 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
15461 Comment out unused variable.
15462 * progmodes/cc-mode.el (interpreter-mode-alist):
15463 * progmodes/python.el (interpreter-mode-alist):
15464 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
15465 * progmodes/sh-script.el (sh-set-shell):
15466 No longer use interpreter-mode-alist to get list of shells.
15468 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
15470 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
15472 * simple.el: Use set-temporary-overlay-map for universal-argument.
15473 (universal-argument-map): Don't use default-bindings (bug#15317).
15474 Bind switch-frame explicitly. Replace universal-argument-minus with
15475 a conditional binding.
15476 (universal-argument-num-events, saved-overriding-map): Remove.
15477 (restore-overriding-map): Remove.
15478 (universal-argument--mode): Rename from save&set-overriding-map,
15480 (universal-argument, universal-argument-more, negative-argument)
15481 (digit-argument): Adjust accordingly.
15482 (universal-argument-minus): Remove.
15483 (universal-argument-other-key): Remove.
15485 * subr.el (with-demoted-errors): Add `format' argument.
15487 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
15489 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
15490 `tramp-cleanup-connection'.
15492 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
15493 parameters KEEP-DEBUG and KEEP-PASSWORD.
15495 * net/tramp.el (tramp-file-name-handler):
15496 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
15497 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
15498 (tramp-maybe-open-connection):
15499 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
15500 Use `tramp-cleanup-connection'.
15502 * net/tramp-sh.el (tramp-maybe-open-connection):
15503 Catch 'uname-changed inside the progress reporter.
15505 2013-09-10 Glenn Morris <rgm@gnu.org>
15507 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
15509 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
15510 returns "alternate access method" in mode (eg "-rw-r--r--.").
15512 2013-09-08 Glenn Morris <rgm@gnu.org>
15514 * saveplace.el (load-save-place-alist-from-file):
15515 Demote errors. (Bug#15305)
15517 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
15519 Improve compatibility with older Emacsen, and XEmacs.
15521 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
15522 only if it is bound. It isn't for XEmacs.
15523 (with-tramp-progress-reporter): Do not let-bind `result'.
15524 This yields to scoping errors in XEmacs.
15525 (tramp-handle-make-auto-save-file-name): New function, moved from
15528 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
15529 for `make-auto-save-file-name'.
15530 (tramp-adb--gnu-switches-to-ash):
15531 Use `tramp-compat-replace-regexp-in-string'.
15533 * net/tramp-cache.el (tramp-cache-print): Call
15534 `substring-no-properties' only if it is bound. It isn't for XEmacs.
15536 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
15537 bound. It isn't for XEmacs.
15539 * net/tramp-compat.el (tramp-compat-copy-file):
15540 Catch `wrong-number-of-arguments' error.
15541 (tramp-compat-replace-regexp-in-string): New defun.
15543 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
15544 for `make-auto-save-file-name'.
15545 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
15547 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
15548 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
15549 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
15551 * net/tramp-gw.el (tramp-gw-open-network-stream):
15552 Use `tramp-compat-replace-regexp-in-string'.
15554 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
15555 Call `tramp-handle-make-auto-save-file-name'.
15556 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
15557 (tramp-sh-file-gvfs-monitor-dir-process-filter)
15558 (tramp-sh-file-inotifywait-process-filter):
15559 Use `tramp-compat-replace-regexp-in-string'.
15560 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
15562 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
15563 for `make-auto-save-file-name'.
15564 (tramp-smb-handle-copy-directory):
15565 Call `tramp-compat-replace-regexp-in-string'.
15566 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
15567 (tramp-smb-handle-copy-file): Improve error message.
15568 (tramp-smb-handle-rename-file): Rename directly only in case
15569 `newname' does not exist yet. This is a restriction of smbclient.
15570 (tramp-smb-maybe-open-connection): Rerun the function only when
15571 `auth-sources' is non-nil.
15573 2013-09-08 Kenichi Handa <handa@gnu.org>
15575 * international/characters.el: Set category "^" (Combining) for
15578 2013-09-07 Alan Mackenzie <acm@muc.de>
15580 Correctly fontify Java class constructors.
15581 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
15583 (c-recognize-typeless-decls): Set the Java value to t.
15584 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
15585 While handling a "(", add a check for, effectively, Java, and handle a
15586 "typeless" declaration there.
15588 2013-09-07 Roland Winkler <winkler@gnu.org>
15590 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
15591 field subtitle for entry type book.
15593 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
15595 * minibuffer.el: Make minibuffer-complete call completion-in-region
15596 rather than other way around.
15597 (completion--some, completion-pcm--find-all-completions):
15598 Don't delay signals when debugging.
15599 (minibuffer-completion-contents): Beware fields within the
15600 minibuffer contents.
15601 (completion-all-sorted-completions): Use defvar-local.
15602 (completion--do-completion, completion--cache-all-sorted-completions)
15603 (completion-all-sorted-completions, minibuffer-force-complete):
15604 Add args `beg' and `end'.
15605 (completion--in-region-1): New fun, extracted from minibuffer-complete.
15606 (minibuffer-complete): Use completion-in-region.
15607 (completion-complete-and-exit): New fun, extracted from
15608 minibuffer-complete-and-exit.
15609 (minibuffer-complete-and-exit): Use it.
15610 (completion--complete-and-exit): Rename from
15611 minibuffer--complete-and-exit.
15612 (completion-in-region--single-word): New function, extracted from
15613 minibuffer-complete-word.
15614 (minibuffer-complete-word): Use it.
15615 (display-completion-list): Make `common-substring' argument obsolete.
15616 (completion--in-region): Call completion--in-region-1 instead of
15617 minibuffer-complete.
15618 (completion-help-at-point): Pass boundaries to
15619 minibuffer-completion-help as args rather than via an overlay.
15620 (completion-pcm--string->pattern): Use `any-delim'.
15621 (completion-pcm--optimize-pattern): New function.
15622 (completion-pcm--pattern->regex): Handle `any-delim'.
15623 * icomplete.el (icomplete-forward-completions)
15624 (icomplete-backward-completions, icomplete-completions):
15625 Adjust calls to completion-all-sorted-completions and
15626 completion--cache-all-sorted-completions.
15627 (icomplete-with-completion-tables): Default to t.
15628 * emacs-lisp/crm.el (crm--current-element): Rename from
15629 crm--select-current-element. Don't put an overlay but return the
15630 boundaries instead.
15631 (crm--completion-command): Take two new args to bind to the boundaries.
15632 (crm-completion-help): Adjust accordingly.
15633 (crm-complete): Use completion-in-region.
15634 (crm-complete-word): Use completion-in-region--single-word.
15635 (crm-complete-and-exit): Use completion-complete-and-exit.
15637 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
15639 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
15642 2013-09-06 Juri Linkov <juri@jurta.org>
15644 * info.el (Info-display-images-node): When image file doesn't exist
15645 display text version of the image if it's provided in the Info file.
15646 Otherwise, display the location of missing image from SRC attribute.
15647 Add help-echo text property from ALT attribute. (Bug#15279)
15649 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
15651 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
15652 (edit-abbrevs-mode): Use define-derived-mode.
15654 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
15655 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
15657 (epa-key-list-mode, epa-key-mode, epa-info-mode):
15658 Use define-derived-mode.
15660 * epg.el (epg-start-encrypt): Minor CSE simplification.
15662 2013-09-06 William Xu <william.xwl@gmail.com>
15664 * arc-mode.el: Add support for 7za (bug#15264).
15665 (archive-7z-program): New var.
15666 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
15667 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
15668 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
15670 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
15674 * net/tramp.el (tramp-syntax, tramp-prefix-format)
15675 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
15676 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
15677 (tramp-postfix-host-format, tramp-file-name-regexp)
15678 (tramp-completion-file-name-regexp)
15679 (tramp-completion-dissect-file-name)
15680 (tramp-handle-substitute-in-file-name): Remove 'url case.
15681 (tramp-file-name-regexp-url)
15682 (tramp-completion-file-name-regexp-url): Remove constants.
15684 2013-09-06 Glenn Morris <rgm@gnu.org>
15686 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
15688 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
15690 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
15691 keywords" below "here-doc beginnings" (Bug#15270).
15693 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
15695 * subr.el (pop): Use `car-safe'.
15696 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
15697 to detect unused `pop' return value.
15699 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
15700 var `block-regexp'.
15701 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
15702 (python-fill-string): Remove unused var `marker'.
15703 (python-skeleton-add-menu-items): Remove unused var `items'.
15705 * international/mule-cmds.el: Require CL.
15706 (find-coding-systems-for-charsets): Avoid add-to-list.
15707 (sanitize-coding-system-list): New function, extracted from
15708 select-safe-coding-system-interactively.
15709 (select-safe-coding-system-interactively): Use it.
15710 (read-input-method-name): Accept symbols for `default'.
15712 * emacs-lisp/advice.el (defadvice): Add indent rule.
15714 2013-09-05 Daniel Hackney <dan@haxney.org>
15718 * net/browse-url.el:
15721 * net/eudcb-ldap.el:
15725 * vc/ediff-diff.el:
15726 * vc/ediff-init.el:
15727 * vc/ediff-merg.el:
15728 * vc/ediff-mult.el:
15729 * vc/ediff-util.el:
15730 * vc/ediff-wind.el:
15734 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
15735 byte compiler. Remove some unused let-bound variables.
15737 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
15739 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
15740 a "ref-cell", since it gets better optimized (bug#14883).
15742 2013-09-05 Glenn Morris <rgm@gnu.org>
15744 * progmodes/cc-awk.el (c-forward-sws): Declare.
15746 2013-09-04 Glenn Morris <rgm@gnu.org>
15748 * generic-x.el [rul-generic-mode]: Require cc-mode.
15749 (c++-mode-syntax-table): Declare.
15750 (rul-generic-mode-syntax-table): Init in the defvar.
15752 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
15754 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
15755 (vc-do-command, vc-set-async-update):
15756 * vc/vc-mtn.el (vc-mtn-dir-status):
15757 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
15758 (vc-hg-pull, vc-hg-merge-branch):
15759 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
15760 (vc-git-merge-branch):
15761 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
15762 (vc-cvs-dir-status-files):
15763 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
15764 (vc-bzr-dir-status-files):
15765 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
15766 * vc/vc-annotate.el: Use lexical-binding.
15767 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
15768 (vc-sentinel-movepoint): Declare.
15769 (vc-annotate): Don't use `goto-line'.
15770 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
15771 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
15772 (vc-sentinel-movepoint): Declare.
15773 * vc/vc-svn.el: Use lexical-binding.
15774 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
15776 * vc/vc-rcs.el: Use lexical-binding.
15778 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
15779 `deleted'. Don't drop errors silently.
15781 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
15783 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
15785 * vc/vc.el (vc-ignore): Rewrite.
15786 (vc-default-ignore): New function.
15787 (vc-default-ignore-completion-table): Use find-ignore-file.
15789 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
15790 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
15791 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
15792 Remove. Most code moved to vc.el.
15794 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
15796 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
15797 * net/tramp-smb.el (tramp-smb-get-file-entries):
15798 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
15799 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
15801 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
15803 (eww-change-select): Remove unused var `properties'.
15804 (eww-make-unique-file-name): Remove unused var `base'.
15806 * finder.el (finder-compile-keywords): Don't mess with windows.
15808 * calculator.el (calculator-funcall): Fix typo in last change.
15810 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
15812 * emacs-lisp/package.el (package-activate-1): Don't let a missing
15813 <pkg>-autoloads.el file stop us.
15815 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
15816 warnings, and factor out common code.
15818 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
15820 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
15821 two-character operators and whether the character preceding them
15822 changes their meaning (Bug#15208).
15824 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
15826 Format code sent to Python shell for robustness.
15827 * progmodes/python.el (python-shell-buffer-substring):
15829 (python-shell-send-region, python-shell-send-buffer): Use it.
15831 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
15833 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
15834 * net/tramp.el (tramp-user-error): ... here.
15835 (tramp-find-method, tramp-check-proper-host)
15836 (tramp-dissect-file-name, tramp-debug-message)
15837 (tramp-handle-shell-command):
15838 * net/tramp-adb.el (tramp-adb-handle-shell-command):
15839 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
15841 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
15843 2013-09-02 Martin Rudalics <rudalics@gmx.at>
15845 * avoid.el (mouse-avoidance-point-position)
15846 (mouse-avoidance-too-close-p): Handle case where posn-at-point
15849 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
15851 * progmodes/python.el (python-shell-completion-get-completions):
15852 Drop use of deleted `comint-last-prompt-overlay'.
15853 (python-nav-if-name-main): New command.
15855 2013-09-01 Glenn Morris <rgm@gnu.org>
15857 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
15858 Avoid leading space in $wins. Otherwise the sed command used by
15859 eg compile-main ends up containing "/*.el". (Bug#15170)
15861 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
15863 2013-08-30 Glenn Morris <rgm@gnu.org>
15865 * emacs-lisp/bytecomp.el (byte-recompile-directory):
15866 Fix is-this-a-directory logic. (Bug#15220)
15868 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
15870 * textmodes/css-mode.el: Use SMIE.
15871 (css-smie-grammar): New var.
15872 (css-smie--forward-token, css-smie--backward-token)
15873 (css-smie-rules): New functions.
15874 (css-mode): Use them.
15875 (css-navigation-syntax-table): Remove var.
15876 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
15877 (css-indent-calculate, css-indent-line): Remove functions.
15879 Misc changes to reduce use of `(lambda...); and other cleanups.
15880 * cus-edit.el: Use lexical-binding.
15881 (customize-push-and-save, customize-apropos)
15882 (custom-buffer-create-internal): Use closures.
15883 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
15884 * progmodes/ada-xref.el: Use setq.
15885 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
15886 * dframe.el: Use lexical-binding.
15887 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
15888 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
15889 * descr-text.el: Use lexical-binding.
15890 (describe-text-widget, describe-text-sexp, describe-property-list):
15892 * comint.el (comint-history-isearch-push-state): Use a closure.
15893 * calculator.el: Use lexical-binding.
15894 (calculator-number-to-string): Make it work with lexical-binding.
15895 (calculator-funcall): Same and use cl-letf.
15897 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
15898 (lisp--company-doc-string, lisp--company-location): New functions.
15899 (lisp-completion-at-point): Use them to improve Company support.
15901 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
15902 params of lambda expressions.
15903 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
15904 (ruby-smie--opening-pipe-p): New function.
15905 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
15906 symbols and matched |...| for formal params.
15907 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
15908 from being treated as hanging. Handle "rescue".
15910 2013-08-29 Glenn Morris <rgm@gnu.org>
15912 * progmodes/cc-engine.el (c-pull-open-brace):
15913 Move definition before use.
15915 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
15917 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
15918 are immutable. Don't use `unsafe' any more.
15919 (cl--defsubst-expand): Don't substitute at the same time as keeping
15920 a residual unused let-binding. Don't use `unsafe' any more.
15922 2013-08-29 Glenn Morris <rgm@gnu.org>
15924 * calendar/cal-china.el (calendar-chinese-year-cache):
15927 * nxml/nxml-util.el (nxml-debug-clear-inside):
15928 Use cl-loop rather than loop.
15930 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
15932 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
15934 2013-08-28 Glenn Morris <rgm@gnu.org>
15936 * progmodes/antlr-mode.el: No need to require cc-mode twice.
15938 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
15940 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
15942 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
15944 * simple.el (repeat-complex-command--called-interactively-skip):
15946 (repeat-complex-command): Use it (bug#14136).
15948 * progmodes/cc-mode.el: Minor cleanup of var declarations.
15949 (c-define-abbrev-table): Add `doc' argument.
15950 (c-mode-abbrev-table, c++-mode-abbrev-table)
15951 (objc-mode-abbrev-table, java-mode-abbrev-table)
15952 (idl-mode-abbrev-table, pike-mode-abbrev-table)
15953 (awk-mode-abbrev-table): Use it.
15954 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
15955 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
15956 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
15957 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
15958 Move initialization into the declaration; and remove any
15961 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
15962 and dynamic let binding.
15964 * vc/smerge-mode.el: Remove redundant :group args.
15966 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
15969 2013-08-28 Juri Linkov <juri@jurta.org>
15971 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
15972 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
15973 (isearch-other-meta-char): Handle an undefined shifted printing
15974 character by downshifting it. (Bug#15200)
15976 2013-08-28 Juri Linkov <juri@jurta.org>
15978 * isearch.el (isearch-search): Change regexp error message for
15979 non-regexp searches. (Bug#15166)
15981 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
15983 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
15984 for portability to hosts where /bin/sh has problems.
15986 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
15988 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
15990 2013-08-27 Juri Linkov <juri@jurta.org>
15992 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
15993 in the keyboard macro. (Bug#15126)
15995 2013-08-27 Juri Linkov <juri@jurta.org>
15997 * isearch.el (isearch-quote-char): Comment out converting unibyte
15998 to multibyte, thus syncing with its `quoted-insert' counterpart.
16001 2013-08-27 Martin Rudalics <rudalics@gmx.at>
16003 * window.el (display-buffer-use-some-window): Add missing
16004 argument in call of get-largest-window (Bug#15185).
16005 Reported by Stephen Leake.
16007 2013-08-27 Glenn Morris <rgm@gnu.org>
16009 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
16011 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
16013 * progmodes/python.el (python-font-lock-keywords): Don't return nil
16014 from a matcher-function unless there's no more matches (bug#15161).
16016 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
16018 * minibuffer.el: Revert change from 2013-08-20.
16020 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
16021 with text property `tramp-default', if appropriate.
16022 (tramp-check-proper-host): New defun.
16023 (tramp-dissect-file-name): Do not check hostname. Revert change
16025 (tramp-backtrace): Make VEC-OR-PROC optional.
16027 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
16028 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
16029 * net/tramp-sh.el (tramp-maybe-open-connection):
16030 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
16031 Apply `tramp-check-proper-host'.
16033 2013-08-26 Tassilo Horn <tsdh@gnu.org>
16035 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
16036 lambda expression in order to have `describe-variable' display it.
16038 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
16040 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
16041 BUF can be optional. (Bug#15186)
16043 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
16045 * progmodes/flymake.el (flymake-get-real-file-name-function):
16046 Fix broken customization. (Bug#15184)
16048 2013-08-25 Alan Mackenzie <acm@muc.de>
16050 Improve indentation of bracelists defined by macros (without "=").
16052 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
16053 expansion begins with "{", regard it as bracelist when it doesn't
16056 Parse C++ inher-intro when there's a template split over 2 lines.
16058 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
16059 rigorously the search for "class" etc. followed by ":".
16061 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
16062 random languages a regexp which never matches rather than nil.
16064 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
16066 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
16067 (c-awk-regexp-one-line-possibly-open-char-list-re)
16068 (c-awk-one-line-possibly-open-regexp-re)
16069 (c-awk-one-line-non-syn-ws*-re): Remove.
16070 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
16071 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
16072 (c-awk-space*-unclosed-regexp-/-re): New constants.
16073 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
16074 aren't regexp delimiters.
16076 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
16077 handling for a rare situation in AWK Mode involving unterminated
16080 2013-08-23 Glenn Morris <rgm@gnu.org>
16082 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
16084 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
16086 * files.el (create-file-buffer): If the result would begin with
16087 spaces, prepend a "|" instead of removing them. (Bug#15162)
16089 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
16091 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
16092 text-properties (bug#15155).
16094 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
16096 (calc-keypad-redraw): Remove unused var `pad'.
16097 (calc-keypad-press): Remove unused var `menu'.
16099 2013-08-23 Martin Rudalics <rudalics@gmx.at>
16101 * window.el (display-buffer-pop-up-frame):
16102 Call pop-up-frame-function with BUFFER current so `make-frame' will
16103 use it as the new frame's buffer (Bug#15133).
16105 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
16107 * calendar/timeclock.el: Minor cleanups.
16108 (timeclock-ask-before-exiting, timeclock-use-display-time):
16110 (timeclock-modeline-display): Define as alias before the
16112 (timeclock-mode-line-display): Use define-minor-mode.
16113 (timeclock-day-list-template): Make it a function, add an argument.
16114 (timeclock-day-list-required, timeclock-day-list-length)
16115 (timeclock-day-list-debt, timeclock-day-list-span)
16116 (timeclock-day-list-break): Adjust calls accordingly.
16118 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
16120 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
16121 Use read--expression so that completion works again.
16123 2013-08-21 Sam Steingold <sds@gnu.org>
16125 Add rudimentary inferior shell interaction
16126 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
16127 (sh-set-shell): Reset it.
16128 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
16129 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
16131 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
16133 * align.el: Use lexical-binding.
16134 (align-region): Simplify accordingly.
16136 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
16138 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
16140 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
16141 `non-essential' up.
16143 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
16146 * net/tramp-adb.el:
16147 * net/tramp-cmds.el:
16148 * net/tramp-ftp.el:
16149 * net/tramp-gvfs.el:
16151 * net/tramp-sh.el: Don't wrap external variable declarations by
16152 `eval-when-compile'.
16154 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
16156 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
16157 now that Emacs supports ImageMagick animations.
16159 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
16161 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
16162 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
16164 2013-08-16 Martin Rudalics <rudalics@gmx.at>
16166 * window.el (mouse-autoselect-window-select): Do autoselect when
16167 mouse pointer is on margin.
16169 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
16171 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
16173 2013-08-16 Glenn Morris <rgm@gnu.org>
16175 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
16176 Handle "Remote Directory" response of some clients. (Bug#15058)
16178 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
16179 Tweak warning. (Bug#14926)
16181 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
16182 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
16184 * image-mode.el (image-mode-map): Add menu items to reverse,
16185 increase, decrease, reset animation speed.
16186 (image--set-speed, image-increase-speed, image-decrease-speed)
16187 (image-reverse-speed, image-reset-speed): New functions.
16188 (image-mode-map): Add bindings for speed commands.
16190 * image.el (image-animate-get-speed, image-animate-set-speed):
16192 (image-animate-timeout): Respect image :speed property.
16194 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
16196 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
16197 previous line (bug#15101).
16198 (debugger-eval-expression, debugger-record-expression):
16199 Use read--expression (bug#15102).
16201 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
16203 Remove byte compiler warnings, visible when compiling with
16204 `byte-compile-force-lexical-warnings' set to t.
16206 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
16207 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
16208 (tramp-handle-unhandled-file-name-directory)
16209 (tramp-handle-file-notify-add-watch, tramp-action-login)
16210 (tramp-action-succeed, tramp-action-permission-denied)
16211 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
16212 arguments with "_".
16214 * net/tramp-adb.el (tramp-adb-parse-device-names)
16215 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
16216 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
16217 (tramp-adb-handle-file-truename): Remove unused arguments.
16219 * net/tramp-cache.el (tramp-flush-directory-property)
16220 (tramp-flush-connection-property, tramp-list-connections)
16221 (tramp-parse-connection-properties): Prefix unused arguments with "_".
16223 * net/tramp-compat.el (tramp-compat-make-temp-file):
16224 Rename FILENAME to F.
16226 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
16227 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
16228 (tramp-zeroconf-parse-workstation-device-names)
16229 (tramp-zeroconf-parse-webdav-device-names)
16230 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
16232 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
16233 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
16235 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
16237 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
16238 (tramp-sh-handle-insert-file-contents-literally)
16239 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
16241 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
16242 Remove unused variables.
16244 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
16245 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
16246 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
16248 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
16249 Make them a defconst.
16250 (tramp-uuencode-region): Remove unused variable.
16252 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
16254 * frameset.el (frameset--prop-setter): New function.
16255 (frameset-prop): Add gv-setter declaration.
16256 (frameset-filter-minibuffer): Deal with the case that the minibuffer
16257 parameter was already set in FILTERED. Doc fix.
16258 (frameset--record-minibuffer-relationships): Allow saving a
16259 minibufferless frame without its corresponding minibuffer frame.
16260 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
16261 frame, if the frame id matches.
16262 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
16263 frames before orphaned ones.
16264 (frameset-restore): Warn about orphaned windows, instead of error out.
16266 2013-08-14 Martin Rudalics <rudalics@gmx.at>
16268 * window.el (window-make-atom): Don't overwrite parameter
16270 (display-buffer-in-atom-window): Handle special case where we
16271 split an already atomic window.
16272 (window--major-non-side-window, display-buffer-in-side-window)
16273 (window--side-check): Ignore minibuffer window when walking
16275 (window-deletable-p): Return 'frame only if no other frame uses
16276 our minibuffer window.
16277 (record-window-buffer): Run buffer-list-update-hook.
16278 (split-window): Make sure window--check-frame won't destroy an
16279 existing atomic window in case the new window gets nested
16281 (display-buffer-at-bottom): Ignore minibuffer window when
16282 walking window tree. Don't split a side window.
16283 (pop-to-buffer): Don't set-buffer here, the select-window call
16285 (mouse-autoselect-window-select): Autoselect only if we are in the
16286 text portion of the window.
16288 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
16290 * net/shr.el (shr-parse-image-data): New function to grab both the
16291 data itself and the Content-Type.
16292 (shr-put-image): Use it.
16294 * net/eww.el (eww-display-image): Ditto.
16296 * image.el (image-content-type-suffixes): New variable.
16298 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
16300 * progmodes/python.el (python-imenu--build-tree)
16301 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
16303 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
16305 * simple.el (backward-word): Mention the optional argument.
16307 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
16309 * frameset.el (frameset--make): Rename constructor from make-frameset.
16310 (frameset-p, frameset-valid-p): Don't autoload.
16311 (frameset-valid-p): Use normal accessors.
16313 2013-08-13 Glenn Morris <rgm@gnu.org>
16315 * progmodes/compile.el (compile-command): Tweak example in doc.
16316 * obsolete/scribe.el (scribe-mode):
16317 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
16319 * mail/feedmail.el (feedmail-confirm-outgoing)
16320 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
16322 * cus-start.el (truncate-partial-width-windows): Fix type.
16324 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
16326 * net/shr.el (shr-table-horizontal-line): Fix custom type.
16328 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
16330 * emacs-lisp/timer.el (timer--time-setter): New function.
16331 (timer--time): Use it as gv-setter.
16333 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
16334 setter is not a symbol.
16336 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
16338 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
16339 if sending fails. This makes debugging easier.
16341 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
16343 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
16344 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
16345 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
16347 2013-08-12 Eli Zaretskii <eliz@gnu.org>
16349 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
16351 2013-08-12 Glenn Morris <rgm@gnu.org>
16353 * format.el (format-annotate-function):
16354 Handle read-only text properties in the source. (Bug#14887)
16356 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
16358 * net/eww.el (eww-display-html): Ignore coding system errors.
16359 One web site uses "utf-8lias" as the coding system.
16361 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
16363 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
16365 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
16367 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
16368 (tutorial--detailed-help): Remove unused local variables.
16369 (tutorial--save-tutorial-to): Use ignore-errors.
16370 (help-with-tutorial): Use looking-at-p.
16372 * view.el (view-buffer-other-window, view-buffer-other-frame):
16373 Mark unused arguments.
16375 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
16376 (woman-select-symbol-fonts, woman, woman-find-file)
16377 (woman-insert-file-contents, woman-non-underline-faces):
16378 Use string-match-p.
16379 (woman1-unquote): Move declaration.
16381 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
16382 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
16383 argument. Remove unused local variable.
16384 (xml-parse-elem-type): Use string-match-p.
16385 (xml-substitute-numeric-entities): Use ignore-errors.
16387 * calculator.el (calculator): Mark unused argument.
16388 (calculator-paste, calculator-quit, calculator-integer-p):
16390 (calculator-string-to-number, calculator-decimal, calculator-exp)
16391 (calculator-op-or-exp): Use string-match-p.
16393 * dired.el (dired-buffer-more-recently-used-p): Declare.
16394 (dired-insert-set-properties, dired-insert-old-subdirs):
16397 * dired-aux.el (dired-compress): Use ignore-errors.
16398 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
16399 (dired-do-async-shell-command, dired-do-shell-command)
16400 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
16401 (dired-insert-subdir-validate): Use string-match-p.
16402 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
16403 (dired-add-entry): Use string-match-p, looking-at-p.
16404 (dired-insert-subdir-newpos): Remove unused local variable.
16406 * filenotify.el (file-notify-callback): Remove unused local variable.
16408 * filesets.el (filesets-error): Mark unused argument.
16409 (filesets-which-command-p, filesets-filter-dir-names)
16410 (filesets-directory-files, filesets-get-external-viewer)
16411 (filesets-ingroup-get-data): Use string-match-p.
16413 * find-file.el (ff-other-file-name, ff-other-file-name)
16414 (ff-find-the-other-file, ff-cc-hh-converter):
16415 Remove unused local variables.
16416 (ff-get-file-name): Use string-match-p.
16417 (ff-all-dirs-under): Use ignore-errors.
16419 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
16420 (follow-select-if-visible): Remove unused local variable.
16422 * forms.el (read-file-filter): Move declaration.
16423 (forms--make-format, forms--make-parser, forms-insert-record):
16424 Quote function with #'.
16425 (forms--update): Use string-match-p. Quote function with #'.
16427 * help-mode.el (help-dir-local-var-def): Mark unused argument.
16428 (help-make-xrefs): Use looking-at-p.
16429 (help-xref-on-pp): Use looking-at-p, ignore-errors.
16431 * ibuffer.el (ibuffer-ext-visible-p): Declare.
16432 (ibuffer-confirm-operation-on): Use string-match-p.
16434 * msb.el (msb-item-handler, msb-dired-item-handler):
16435 Mark unused arguments.
16437 * ses.el (ses-decode-cell-symbol)
16438 (ses-kill-override): Remove unused local variable.
16439 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
16440 (ses-load): Use ignore-errors, looking-at-p.
16441 (ses-jump-safe): Use ignore-errors.
16442 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
16444 * tabify.el (untabify, tabify): Mark unused arguments.
16446 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
16447 Mark unused argument.
16448 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
16449 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
16451 * emacs-lisp/timer.el (timer--time): Define setter with
16452 gv-define-setter to avoid deprecation warning.
16454 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
16455 (*record-cmpl-statistics-p*): Remove (was commented out).
16456 (cmpl-statistics-block): Remove (body was commented out).
16457 All callers changed.
16458 (add-completions-from-buffer, load-completions-from-file):
16459 Remove unused variables.
16461 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
16463 * filecache.el (file-cache-delete-file-list):
16464 Print message only when told so.
16465 (file-cache-files-matching): Use #' in mapconcat argument.
16467 * ffap.el (ffap-url-at-point): Fix reference to variable
16468 thing-at-point-default-mail-uri-scheme.
16470 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
16472 * subr.el (define-error): New function.
16473 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
16474 error-file-not-found and define with define-error.
16475 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
16476 and define with define-error.
16477 * userlock.el (file-locked, file-supersession):
16478 * simple.el (mark-inactive):
16479 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
16480 * progmodes/ada-mode.el (ada-mode-errors):
16481 * play/life.el (life-extinct):
16482 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
16483 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
16484 * nxml/rng-util.el (rng-error):
16485 * nxml/rng-uri.el (rng-uri-error):
16486 * nxml/rng-match.el (rng-compile-error):
16487 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
16488 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
16489 * nxml/nxml-rap.el (nxml-scan-error):
16490 * nxml/nxml-outln.el (nxml-outline-error):
16491 * net/soap-client.el (soap-error):
16492 * net/gnutls.el (gnutls-error):
16493 * net/ange-ftp.el (ftp-error):
16494 * mpc.el (mpc-proc-error):
16495 * json.el (json-error, json-readtable-error, json-unknown-keyword)
16496 (json-number-format, json-string-escape, json-string-format)
16497 (json-key-format, json-object-format):
16498 * jka-compr.el (compression-error):
16499 * international/quail.el (quail-error):
16500 * international/kkc.el (kkc-error):
16501 * emacs-lisp/ert.el (ert-test-failed):
16502 * calc/calc.el (calc-error, inexact-result, math-overflow)
16504 * bookmark.el (bookmark-error-no-filename):
16505 * epg.el (epg-error): Define with define-error.
16507 * time.el (display-time-event-handler)
16508 (display-time-next-load-average): Don't call sit-for since it seems
16509 unnecessary (bug#15045).
16511 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
16512 Use #' instead of ' to quote functions.
16513 (checkdoc-output-mode): Use setq-local.
16514 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
16515 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
16516 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
16517 (checkdoc-ispell, checkdoc-ispell-current-buffer)
16518 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
16519 (checkdoc-ispell-message-text, checkdoc-ispell-start)
16520 (checkdoc-ispell-continue, checkdoc-ispell-comments)
16521 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
16523 * ido.el (ido-completion-help): Fix up compiler warning.
16525 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
16527 * frameset.el (frameset-p): Add autoload cookie.
16528 (frameset--jump-to-register): New function, based on code moved from
16530 (frameset-to-register): Move from register.el. Adapt to `registerv'.
16532 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
16533 (frameset-restore, frameset-save, frameset-session-filter-alist):
16534 Remove declarations.
16535 (register-alist): Doc fix.
16536 (frameset-to-register): Move to frameset.el.
16537 (jump-to-register, describe-register-1): Remove frameset-specific code.
16539 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
16541 * allout-widgets.el (allout-widgets-pre-command-business)
16542 (allout-widgets-post-command-business)
16543 (allout-widgets-after-change-handler)
16544 (allout-decorate-item-and-context, allout-set-boundary-marker)
16545 (allout-body-modification-handler)
16546 (allout-graphics-modification-handler): Mark ignored arguments.
16547 (allout-widgets-post-command-business)
16548 (allout-widgets-exposure-change-processor)
16549 (allout-widgets-exposure-undo-processor)
16550 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
16551 (allout-parse-item-at-point, allout-decorate-item-guides)
16552 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
16553 * allout.el (epa-passphrase-callback-function): Declare.
16554 (allout-overlay-insert-in-front-handler)
16555 (allout-overlay-interior-modification-handler)
16556 (allout-isearch-end-handler, allout-chart-siblings)
16557 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
16558 (allout-yank-processing, allout-process-exposed)
16559 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
16560 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
16561 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
16562 (lisp-indent-defform): Mark ignored arguments.
16563 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
16564 (calculate-lisp-indent): Remove unused variables.
16565 * international/characters.el (indian-2-column, arabic-2-column)
16566 (tibetan): Mark ignored arguments.
16567 (use-cjk-char-width-table): Mark ignored arguments.
16568 Remove unused variables.
16569 * international/fontset.el (build-default-fontset-data)
16570 (x-compose-font-name, create-fontset-from-fontset-spec):
16571 Mark ignored arguments.
16572 (fontset-plain-name): Remove unused variables.
16573 * international/mule.el (charset-id, charset-bytes, generic-char-p)
16574 (keyboard-coding-system): Mark ignored arguments.
16575 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
16576 * help.el (resize-temp-buffer-window):
16577 * window.el (display-buffer-in-major-side-window)
16578 (display-buffer-in-side-window, display-buffer-in-previous-window):
16579 Remove unused variables.
16580 * isearch.el (isearch-forward-symbol):
16581 * version.el (emacs-bzr-version-bzr):
16582 * international/mule-cmds.el (current-language-environment):
16583 * term/common-win.el (x-handle-iconic, x-handle-geometry)
16584 (x-handle-display):
16585 * term/pc-win.el (x-list-fonts, x-display-planes)
16586 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
16587 (x-server-version, x-display-screens, x-display-mm-height)
16588 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
16589 (x-selection-owner-p, x-own-selection-internal)
16590 (x-disown-selection-internal, x-get-selection-internal)
16591 (msdos-initialize-window-system):
16592 * term/tty-colors.el (tty-color-alist, tty-color-clear):
16593 * term/x-win.el (x-handle-no-bitmap-icon):
16594 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
16595 (vc-default-find-file-hook, vc-default-extra-menu):
16596 Mark ignored arguments.
16598 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
16600 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
16601 break-condition in the context of the debugged code (bug#12685).
16603 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
16606 Do not use an overlay to highlight the last prompt. (Bug#14744)
16607 (comint-mode): Make comint-last-prompt buffer local.
16608 (comint-last-prompt): New variable.
16609 (comint-last-prompt-overlay): Remove. Superseded by
16610 comint-last-prompt.
16611 (comint-snapshot-last-prompt, comint-output-filter):
16612 Use comint-last-prompt.
16614 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
16616 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
16617 (frameset-save): Check validity of the resulting frameset.
16619 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
16621 * ido.el (ido-record-command): Add doc string.
16623 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
16625 * frameset.el (frameset): Do not disable creation of the default
16626 frameset-p predicate. Doc fix.
16627 (frameset-valid-p): New function, copied from the old predicate-p.
16628 Add additional checks.
16629 (frameset-restore): Check with frameset-valid-p.
16630 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
16631 (frameset-name, frameset-description, frameset-properties)
16632 (frameset-states): Add docstring.
16633 (frameset-session-filter-alist, frameset-persistent-filter-alist)
16634 (frameset-filter-alist): Doc fixes.
16636 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
16638 * frameset.el (frameset-p, frameset-prop): Doc fixes.
16640 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
16642 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
16643 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
16644 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
16645 (byte-compile-normal-call): Remove obsolescence check.
16647 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
16649 * frameset.el (frameset-restore): Doc fix.
16651 * register.el (frameset-frame-id, frameset-frame-with-id)
16652 (frameset-p, frameset-restore, frameset-save): Declare.
16653 (register-alist): Document framesets.
16654 (frameset-session-filter-alist): Declare.
16655 (frameset-to-register): New function.
16656 (jump-to-register): Implement jumping to framesets. Doc fix.
16657 (describe-register-1): Describe framesets.
16659 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
16661 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
16663 * desktop.el (desktop-save-frameset): Use new frameset-save args.
16664 Use lexical-binding.
16666 * frameset.el (frameset): Use type vector, not list (incompatible
16667 change). Do not declare a new constructor, use the default one.
16668 Upgrade suggested properties `app', `name' and `desc' to slots `app',
16669 `name' and `description', respectively, and add read-only slot
16670 `timestamp'. Doc fixes.
16671 (frameset-copy, frameset-persistent-filter-alist)
16672 (frameset-filter-alist, frameset-switch-to-gui-p)
16673 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
16674 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
16675 (frameset-filter-iconified, frameset-keep-original-display-p):
16677 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
16678 Rename from frameset-filter-(save|restore)-param. All callers changed.
16680 (frameset-p): Adapt to change to vector and be more thorough.
16681 Change arg name to OBJECT. Doc fix.
16682 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
16683 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
16684 All callers changed.
16685 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
16686 All callers changed.
16687 (frameset--record-minibuffer-relationships): Rename from
16688 frameset--process-minibuffer-frames. All callers changed.
16689 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
16690 Use new default constructor (again). Doc fix.
16691 (frameset--find-frame-if): Rename from `frameset--find-frame'.
16692 All callers changed.
16693 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
16694 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
16696 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
16697 PARAMETERS and WINDOW-STATE, respectively.
16698 (frameset-restore): Add new keyword argument PREDICATE.
16699 Reset frameset--target-display to nil. Doc fix.
16701 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
16703 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
16704 (bat-mode): Use it.
16705 (bat-mode-syntax-table): Mark \n as end-of-comment.
16706 (bat-font-lock-keywords): Remove comment rule.
16708 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
16709 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
16711 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
16712 (byte-compile-callargs-warn): Use `push'.
16713 (byte-compile-arglist-warn): Ignore higher-order "calls".
16714 (byte-compile-file-form-autoload): Use `pcase'.
16715 (byte-compile-function-form): If quoting a symbol, check that it exists.
16717 2013-08-07 Eli Zaretskii <eliz@gnu.org>
16719 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
16720 and add a few popular commands found in batch files.
16721 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
16722 (dos-mode): Doc fixes.
16724 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
16726 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
16727 (dos-mode): Use setq-local. Add space after "rem".
16728 (dos-mode-syntax-table): Don't use "w" for symbol chars.
16729 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
16731 2013-08-07 Arni Magnusson <arnima@hafro.is>
16733 * progmodes/dos.el: New file.
16734 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
16737 2013-08-06 Glenn Morris <rgm@gnu.org>
16739 * calendar/calendar.el: Add new faces, and day-header-array.
16740 (calendar-weekday-header, calendar-weekend-header)
16741 (calendar-month-header): New faces.
16742 (calendar-day-header-construct): New function.
16743 (calendar-day-header-width): Also :set calendar-day-header-array.
16744 (calendar-american-month-header, calendar-european-month-header)
16745 (calendar-iso-month-header): Use calendar- faces.
16746 (calendar-generate-month):
16747 Use calendar-day-header-array for day headers; apply faces to them.
16748 (calendar-mode): Check calendar-font-lock-keywords non-nil.
16749 (calendar-abbrev-construct): Add optional maxlen argument.
16750 (calendar-day-name-array): Doc fix.
16751 (calendar-day-name-array, calendar-abbrev-length)
16752 (calendar-day-abbrev-array):
16753 Also :set calendar-day-header-array, and maybe redraw.
16754 (calendar-day-header-array): New option. (Bug#15007)
16755 (calendar-font-lock-keywords): Set to nil and make obsolete.
16756 (calendar-day-name): Add option to use header array.
16758 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
16760 * net/shr.el (shr-render-td): Remove debugging.
16761 (shr-render-td): Make width computation consistent by defaulting
16762 all zero-width columns to 10 characters. This may not be optimal,
16763 but it's at least consistent.
16764 (shr-make-table-1): Redo last change to fix the real problem in
16767 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
16769 * files.el (cache-long-line-scans):
16770 Make obsolete alias to `cache-long-scans'.
16772 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
16774 * frameset.el (frameset, frameset-filter-alist)
16775 (frameset-filter-params, frameset-save, frameset--reuse-frame)
16776 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
16777 (frameset-compute-pos): Rename from frameset--compute-pos,
16779 (frameset-move-onscreen): Use frameset-compute-pos.
16780 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
16782 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
16783 Fix typos in docstrings.
16785 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
16787 * frame.el (get-other-frame): Tiny cleanup.
16789 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
16791 * vc/vc.el (vc-default-ignore-completion-table):
16792 Silence byte-compiler warning.
16794 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
16795 slot, which can indeed be nil.
16796 (frameset-live-filter-alist, frameset-persistent-filter-alist):
16797 Move entry for `left' from persistent to live filter alist.
16798 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
16800 (frameset-filter-params): When restoring a frame, copy items added to
16801 `filtered', to avoid unwittingly modifying the original parameters.
16802 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
16803 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
16805 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
16806 to use looking-at-p instead of looking-at. (Bug#15028)
16808 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
16810 Revert introduction of isearch-filter-predicates (bug#14714).
16811 Rely on add-function instead.
16812 * isearch.el (isearch-filter-predicates): Rename it back to
16813 isearch-filter-predicate.
16814 (isearch-message-prefix): Use advice-function-mapc and advice
16815 properties to get the isearch-message-prefix.
16816 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
16817 instead of run-hook-with-args-until-failure.
16818 (isearch-filter-visible): Not obsolete any more.
16819 * loadup.el: Preload nadvice.
16820 * replace.el (perform-replace): Revert to funcall
16821 instead of run-hook-with-args-until-failure.
16822 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
16823 * dired-aux.el (dired-isearch-filenames-mode): Rename from
16824 dired-isearch-filenames-toggle; make it into a proper minor mode.
16825 Use add/remove-function.
16826 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
16827 Call the minor-mode rather than add/remove-hook.
16828 (dired-isearch-filter-filenames):
16829 Remove isearch-message-prefix property.
16830 * info.el (Info--search-loop): New function, extracted from Info-search.
16831 Funcall isearch-filter-predicate instead of
16832 run-hook-with-args-until-failure isearch-filter-predicates.
16833 (Info-search): Use it.
16834 (Info-mode): Use isearch-filter-predicate instead of
16835 isearch-filter-predicates.
16837 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
16839 Do not call to `selected-window' where it is assumed by default.
16840 Affected functions are `window-minibuffer-p', `window-dedicated-p',
16841 `window-hscroll', `window-width', `window-height', `window-buffer',
16842 `window-frame', `window-start', `window-point', `next-window'
16843 and `window-display-table'.
16844 * abbrev.el (abbrev--default-expand):
16845 * bs.el (bs--show-with-configuration):
16846 * buff-menu.el (Buffer-menu-mouse-select):
16847 * calc/calc.el (calc):
16848 * calendar/calendar.el (calendar-generate-window):
16849 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
16850 (diary-make-entry):
16851 * comint.el (send-invisible, comint-dynamic-complete-filename)
16852 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
16853 * completion.el (complete):
16854 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
16855 * disp-table.el (describe-current-display-table):
16856 * doc-view.el (doc-view-insert-image):
16857 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
16858 * ehelp.el (with-electric-help):
16859 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
16860 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
16861 * emacs-lisp/helper.el (Helper-help-scroller):
16862 * emulation/cua-base.el (cua--post-command-handler-1):
16863 * eshell/esh-mode.el (eshell-output-filter):
16864 * ffap.el (ffap-gnus-wrapper):
16865 * help-macro.el (make-help-screen):
16866 * hilit-chg.el (highlight-compare-buffers):
16867 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
16868 * hl-line.el (global-hl-line-highlight):
16869 * icomplete.el (icomplete-simple-completing-p):
16870 * isearch.el (isearch-done):
16871 * jit-lock.el (jit-lock-stealth-fontify):
16872 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
16873 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
16874 * mpc.el (mpc-tagbrowser, mpc):
16875 * net/rcirc.el (rcirc-any-buffer):
16876 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
16877 * play/landmark.el (landmark-max-width, landmark-max-height):
16878 * play/zone.el (zone):
16879 * progmodes/compile.el (compilation-goto-locus):
16880 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
16881 * progmodes/etags.el (find-tag-other-window):
16882 * progmodes/fortran.el (fortran-column-ruler):
16883 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
16884 * progmodes/verilog-mode.el (verilog-point-text):
16885 * reposition.el (reposition-window):
16886 * rot13.el (toggle-rot13-mode):
16887 * server.el (server-switch-buffer):
16888 * shell.el (shell-dynamic-complete-command)
16889 (shell-dynamic-complete-environment-variable):
16890 * simple.el (insert-buffer, set-selective-display)
16891 (delete-completion-window):
16892 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
16893 (speedbar-recenter):
16894 * startup.el (fancy-splash-head):
16895 * textmodes/ispell.el (ispell-command-loop):
16896 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
16897 * tutorial.el (help-with-tutorial):
16898 * vc/add-log.el (add-change-log-entry):
16899 * vc/compare-w.el (compare-windows):
16900 * vc/ediff-help.el (ediff-indent-help-message):
16901 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
16902 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
16903 (ediff-setup-control-frame):
16904 * vc/emerge.el (emerge-position-region):
16905 * vc/pcvs-util.el (cvs-bury-buffer):
16906 * window.el (walk-windows, mouse-autoselect-window-select):
16907 * winner.el (winner-set-conf, winner-undo): Related users changed.
16909 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
16911 * frameset.el (frameset--set-id): Doc fix.
16912 (frameset-frame-id, frameset-frame-id-equal-p)
16913 (frameset-locate-frame-id): New functions.
16914 (frameset--process-minibuffer-frames, frameset--reuse-frame)
16915 (frameset-restore): Use them.
16917 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
16919 Do not call to `selected-frame' where it is assumed by default.
16920 Affected functions are `raise-frame', `redraw-frame',
16921 `frame-first-window', `frame-terminal' and `delete-frame'.
16922 * calendar/appt.el (appt-disp-window):
16923 * epg.el (epg-wait-for-completion):
16924 * follow.el (follow-delete-other-windows-and-split)
16925 (follow-avoid-tail-recenter):
16926 * international/mule.el (set-terminal-coding-system):
16927 * mail/rmail.el (rmail-mail-return):
16928 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
16929 * progmodes/f90.el (f90-add-imenu-menu):
16930 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
16931 * server.el (server-switch-buffer):
16932 * simple.el (delete-completion-window):
16934 * term/xterm.el (terminal-init-xterm-modify-other-keys)
16935 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
16936 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
16937 * vc/ediff.el (ediff-documentation): Related users changed.
16938 * frame.el (selected-terminal): Remove the leftover.
16940 2013-08-05 Glenn Morris <rgm@gnu.org>
16942 * calendar/calendar.el (calendar-generate-month):
16943 Fix for calendar-column-width != 1 + calendar-day-digit-width.
16944 (calendar-generate-month, calendar-font-lock-keywords):
16945 Fix for calendar-day-header-width > length of any day name.
16947 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
16949 * desktop.el (desktop-clear): Use new name of sort predicate.
16951 * frameset.el (frameset): Add docstring. Move :version property to its
16952 own `version' slot.
16953 (frameset-copy): Rename from copy-frameset.
16954 (frameset-p): Check more thoroughly.
16955 (frameset-prop): Do not check for :version, which is no longer a prop.
16956 (frameset-live-filter-alist, frameset-persistent-filter-alist):
16957 Use new :never value instead of t.
16958 (frameset-filter-alist): Expand and clarify docstring.
16959 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
16960 (frameset-filter-minibuffer, frameset-filter-save-param)
16961 (frameset-filter-restore-param, frameset-filter-iconified):
16962 Add pointer to docstring of frameset-filter-alist.
16963 (frameset-filter-params): Rename filter values to be more meaningful:
16964 :never instead of t, and reverse the meanings of :save and :restore.
16965 (frameset--process-minibuffer-frames): Clarify error message.
16966 (frameset-save): Avoid unnecessary and confusing call to framep.
16967 Use new BOA constructor for framesets.
16968 (frameset--reuse-list): Doc fix.
16969 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
16970 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
16971 (frameset-minibufferless-first-p): Doc fix.
16972 Rename from frameset-sort-frames-for-deletion.
16973 (frameset-restore): Doc fixes. Use new function names.
16974 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
16976 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
16978 * desktop.el (desktop-restore-forces-onscreen)
16979 (desktop-restore-reuses-frames): Document :keyword constant values.
16980 (desktop-filter-parameters-alist): Remove, now identical to
16981 frameset-filter-alist.
16982 (desktop--filter-tty*): Remove, moved to frameset.el.
16983 (desktop-save-frameset, desktop-restore-frameset):
16984 Do not pass :filters argument.
16986 * frameset.el (frameset-live-filter-alist)
16987 (frameset-persistent-filter-alist): New variables.
16988 (frameset-filter-alist): Use them. Add autoload cookie.
16989 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
16990 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
16991 `frameset--id' (it's supposed to be internal to frameset.el).
16992 (frameset--process-minibuffer-frames): Ditto. Doc fix.
16993 (frameset--initial-params): New function.
16994 (frameset--get-frame): Use it. Doc fix.
16995 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
16996 Accept :all, not 'all.
16997 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
16998 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
16999 with fbound symbols. Fix frame id matching, and remove matching ids if
17000 the frame being restored is deleted. Obey :delete.
17002 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
17004 * subr.el (macrop): New function.
17005 (text-clone--maintaining): New var.
17006 (text-clone--maintain): Rename from text-clone-maintain. Use it
17007 instead of inhibit-modification-hooks.
17009 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
17010 a proxy, so as handle autoloads and redefinitions of the target.
17011 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
17013 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
17014 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
17015 (pcase--mutually-exclusive-p): New function.
17016 (pcase--split-consp): Use it.
17017 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
17018 mutually exclusive with the current predicate.
17020 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
17021 (edebug-macrop): Remove. Use `macrop' instead.
17022 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
17024 * eshell/esh-cmd.el (eshell-macrop):
17025 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
17027 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
17029 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
17030 (advice-mapc): New function, using it.
17031 (advice-function-member-p): New function.
17032 (advice--normalize): Store the cdr in advice--saved-rewrite since
17033 that's the part that will be changed.
17034 (advice--symbol-function): New function.
17035 (advice-remove): Handle removal before the function is defined.
17036 Adjust to new advice--saved-rewrite.
17037 (advice-member-p): Use advice-function-member-p and
17038 advice--symbol-function.
17040 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
17042 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
17043 (frameset-filter-minibuffer): Doc fix.
17044 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
17045 (frameset--set-id, frameset--process-minibuffer-frames)
17046 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
17047 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
17049 * desktop.el (desktop-clear): Only delete frames when called
17050 interactively and desktop-restore-frames is non-nil. Doc fix.
17051 (desktop-read): Set desktop-saved-frameset to nil.
17053 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
17055 * vc/vc.el (vc-ignore): Rewrite.
17056 (vc-default-ignore-completion-table, vc--read-lines)
17057 (vc--add-line, vc--remove-regexp): New functions.
17059 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
17060 (vc-svn-ignore-completion-table): New function.
17062 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
17063 (vc-hg-ignore-completion-table)
17064 (vc-hg-find-ignore-file): New functions.
17066 * vc/vc-git.el (vc-git-ignore): Rewrite.
17067 (vc-git-ignore-completion-table)
17068 (vc-git-find-ignore-file): New functions.
17070 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
17072 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
17073 (vc-bzr-ignore-completion-table)
17074 (vc-bzr-find-ignore-file): New functions.
17076 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
17078 * frameset.el (frameset-prop): New function and setter.
17079 (frameset-save): Do not modify frame list passed by the caller.
17081 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
17083 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
17085 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
17087 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
17088 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
17090 * custom.el (custom-initialize-default, custom-initialize-set)
17091 (custom-initialize-reset, custom-initialize-changed): Affect the
17092 toplevel-default-value (bug#6275, bug#14586).
17093 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
17096 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
17098 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
17099 Add cl-def* expressions.
17101 * frameset.el (frameset-filter-params): Fix order of arguments.
17103 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
17105 Move code related to saving frames to frameset.el.
17106 * desktop.el: Require frameset.
17107 (desktop-restore-frames): Doc fix.
17108 (desktop-restore-reuses-frames): Rename from
17109 desktop-restoring-reuses-frames.
17110 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
17111 (desktop-clear): Clear frames too.
17112 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
17113 (desktop--filter-tty*, desktop-save, desktop-read):
17114 Use frameset functions.
17115 (desktop-before-saving-frames-functions, desktop--filter-*-color)
17116 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
17117 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
17118 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
17119 (desktop--process-minibuffer-frames, desktop-save-frames)
17120 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
17121 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
17122 (desktop--sort-states, desktop-restoring-frames-p)
17123 (desktop-restore-frames): Remove. Most code moved to frameset.el.
17124 (desktop-restoring-frameset-p, desktop-restore-frameset)
17125 (desktop--check-dont-save, desktop-save-frameset): New functions.
17126 (desktop--app-id): New constant.
17127 (desktop-first-buffer, desktop-buffer-ok-count)
17128 (desktop-buffer-fail-count): Move before first use.
17129 * frameset.el: New file.
17131 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
17133 * files.el: Use lexical-binding.
17134 (dir-locals-read-from-file): Remove unused `err' variable.
17135 (hack-dir-local-variables--warned-coding): New var.
17136 (hack-dir-local-variables): Use it to avoid repeated warnings.
17137 (make-backup-file-name--default-function): New function.
17138 (make-backup-file-name-function): Use it as default.
17139 (buffer-stale--default-function): New function.
17140 (buffer-stale-function): Use it as default.
17141 (revert-buffer-insert-file-contents--default-function): New function.
17142 (revert-buffer-insert-file-contents-function): Use it as default.
17143 (insert-directory): Avoid add-to-list.
17145 * autorevert.el (auto-revert-handler): Simplify.
17146 Use buffer-stale--default-function.
17148 2013-08-01 Tassilo Horn <tsdh@gnu.org>
17150 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
17152 * whitespace.el (whitespace-ensure-local-variables): New function.
17153 (whitespace-cleanup-region): Call it.
17154 (whitespace-turn-on): Call it.
17156 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
17158 Complete file name handlers.
17160 * net/tramp.el (tramp-handle-set-visited-file-modtime)
17161 (tramp-handle-verify-visited-file-modtime)
17162 (tramp-handle-file-notify-rm-watch): New functions.
17163 (tramp-call-process): Do not bind `default-directory'.
17165 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
17166 Order alphabetically.
17167 <access-file, add-name-to-file, dired-call-process>:
17168 <dired-compress-file, file-acl, file-notify-rm-watch>:
17169 <file-ownership-preserved-p, file-selinux-context>:
17170 <make-directory-internal, make-symbolic-link, set-file-acl>:
17171 <set-file-selinux-context, set-visited-file-modtime>:
17172 <verify-visited-file-modtime>: Add handler.
17173 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
17175 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
17176 <file-notify-add-watch, file-notify-rm-watch>:
17177 <set-file-times, set-visited-file-modtime>:
17178 <verify-visited-file-modtime>: Add handler.
17179 (with-tramp-gvfs-error-message)
17180 (tramp-gvfs-handle-set-visited-file-modtime)
17181 (tramp-gvfs-fuse-file-name): Remove.
17182 (tramp-gvfs-handle-file-notify-add-watch)
17183 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
17184 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
17186 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
17187 Order alphabetically.
17188 <file-notify-rm-watch>: Use default Tramp handler.
17189 <executable-find>: Remove private handler.
17190 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
17191 `default-directory'.
17192 (tramp-sh-handle-executable-find)
17193 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
17194 (tramp-sh-file-gvfs-monitor-dir-process-filter)
17195 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
17196 Do not use `format' in `tramp-message'.
17198 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
17199 <file-notify-rm-watch, set-visited-file-modtime>:
17200 <verify-visited-file-modtime>: Add handler.
17201 (tramp-smb-call-winexe): Do not bind `default-directory'.
17203 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
17205 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
17207 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
17209 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
17211 (log-view-diff-changeset): Same.
17212 (log-view-diff-common): Call backend command `previous-revision'
17213 to find out the previous revision, in both cases. Swap the
17214 variables `to' and `fr', so that `fr' usually refers to the
17215 earlier revision (Bug#14989).
17217 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
17219 * ibuf-ext.el (ibuffer-filter-by-filename):
17220 Make it work with dired buffers too.
17222 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
17224 * emacs-lisp/re-builder.el (reb-color-display-p):
17225 * files.el (save-buffers-kill-terminal):
17226 * net/browse-url.el (browse-url):
17227 * server.el (server-save-buffers-kill-terminal):
17228 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
17229 Prefer nil to selected-frame for the first arg of frame-parameter.
17231 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
17233 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
17235 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
17237 * minibuffer.el (completion--twq-all): Try and preserve each
17238 completion's case choice (bug#14907).
17240 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
17242 * net/network-stream.el (open-network-stream): Mention the new
17243 :nogreeting parameter.
17244 (network-stream-open-starttls): Use the :nogreeting parameter
17247 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
17249 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
17250 more natural than popping.
17252 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
17253 (shr-urlify): Highlight under mouse.
17255 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
17257 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
17259 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
17261 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
17264 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
17265 point-min==1. Fix search string. Fix parentheses missing.
17267 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
17268 assume point-min==1. Fix search string. Fix parentheses missing.
17270 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
17272 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
17275 2013-07-29 Eli Zaretskii <eliz@gnu.org>
17277 * frame.el (frame-notice-user-settings): Avoid inflooping when the
17278 initial frame is minibuffer-less. (Bug#14841)
17280 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
17282 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
17285 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
17286 (tramp-maybe-open-connection): Use it.
17288 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
17290 * desktop.el (desktop--make-frame): Include `minibuffer' in the
17291 minimal set of parameters passed when creating a frame, because
17292 the minibuffer status of a frame cannot be changed later.
17294 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
17296 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
17297 replace-regexp-in-string and inadvertent omissions in previous change.
17298 (todo-filter-items): Ensure only file names are comma-separated in
17299 name of filtered items buffer.
17301 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
17303 * desktop.el: Optionally force offscreen frames back onscreen.
17304 (desktop-restoring-reuses-frames): New option.
17305 (desktop--compute-pos, desktop--move-onscreen): New functions.
17306 (desktop--make-frame): Use desktop--move-onscreen.
17308 2013-07-27 Alan Mackenzie <acm@muc.de>
17310 Fontify a Java generic method as a function.
17311 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
17314 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
17316 * calendar/todo-mode.el: Add command to rename todo files.
17317 (todo-rename-file): New command.
17318 (todo-key-bindings-t): Add key binding for it. Change the
17319 bindings of todo-filter-regexp-items(-multifile) to use `x'
17320 instead of `r', since the latter is better suited to the new
17323 2013-07-27 Alan Mackenzie <acm@muc.de>
17325 Make Java try-with-resources statement parse properly.
17326 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
17327 (c-block-stmt-1-2-key): New language constants/variables.
17328 * progmodes/cc-engine.el (c-beginning-of-statement-1)
17329 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
17330 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
17331 with c-block-stmt-1-2-key.
17333 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
17335 * desktop.el (desktop--make-frame): Apply most frame parameters after
17336 creating the frame to force (partially or totally) offscreen frames to
17337 be restored as such.
17339 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
17341 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
17344 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
17346 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
17347 `base' arg of backtrace-frame.
17349 2013-07-26 Eli Zaretskii <eliz@gnu.org>
17351 * simple.el (list-processes): Doc fix.
17353 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
17355 * desktop.el (desktop--select-frame):
17356 Try harder to reuse existing frames.
17358 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
17360 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
17361 (edebug-eval): Use backtrace-eval.
17362 (edebug--display, edebug--recursive-edit): Don't let-bind the
17363 edebug-outer-* vars that keep track of variables we locally let-bind.
17364 (edebug-outside-excursion): Don't restore outside values of locally
17366 (edebug--display): Use user-error.
17367 (cl-lexical-debug, cl-debug-env): Remove.
17369 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
17371 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
17372 are restored to be sure that they are visible before deleting any
17375 2013-07-26 Matthias Meulien <orontee@gmail.com>
17377 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
17378 vc-print-root-log. (Bug#14948)
17380 2013-07-26 Richard Stallman <rms@gnu.org>
17382 Add aliases for encrypting mail.
17383 * epa.el (epa-mail-aliases): New option.
17384 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
17385 Bind inhibit-read-only so read-only text doesn't ruin everything.
17386 (epa-mail-default-recipients): New subroutine broken out.
17387 Handle epa-mail-aliases.
17389 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
17391 Add support for lexical variables to the debugger's `e' command.
17392 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
17393 vars, except for debugger-outer-match-data.
17394 (debugger-frame-number): Move check for "on a function call" from
17395 callers into it. Add `skip-base' argument.
17396 (debugger-frame, debugger-frame-clear): Simplify accordingly.
17397 (debugger-env-macro): Only reset the state stored in non-variables,
17398 i.e. current-buffer and match-data.
17399 (debugger-eval-expression): Rewrite using backtrace-eval.
17400 * subr.el (internal--called-interactively-p--get-frame): Remove.
17401 (called-interactively-p):
17402 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
17403 `base' arg of backtrace-frame instead.
17405 2013-07-26 Glenn Morris <rgm@gnu.org>
17407 * align.el (align-regexp): Doc fix. (Bug#14857)
17408 (align-region): Explicit error if subexpression missing/does not match.
17410 * simple.el (global-visual-line-mode):
17411 Do not duplicate the mode lighter. (Bug#14858)
17413 2013-07-25 Martin Rudalics <rudalics@gmx.at>
17415 * window.el (display-buffer): In display-buffer bind
17416 split-window-keep-point to t, bug#14829.
17418 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
17420 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
17421 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
17422 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
17423 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
17424 Change accordingly.
17425 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
17426 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
17428 2013-07-25 Glenn Morris <rgm@gnu.org>
17430 * dired-x.el (dired-mark-extension): Convert comment to doc string.
17432 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
17434 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
17435 parameter to modify-frame-parameters if the value has not changed;
17436 this is a workaround for bug#14949.
17437 (desktop--make-frame): On cl-delete-if call, check parameter name,
17438 not full parameter.
17440 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
17442 * vc/vc.el (vc-ignore): New function.
17444 * vc/vc-svn.el (vc-svn-ignore): New function.
17446 * vc/vc-hg.el (vc-hg-ignore): New function.
17448 * vc/vc-git.el (vc-git-ignore): New function.
17450 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
17451 (vc-dir-ignore): New function.
17453 * vc/vc-cvs.el (vc-cvs-ignore): New function.
17454 (cvs-append-to-ignore): Move here from pcvs.el.
17456 * vc/vc-bzr.el (vc-bzr-ignore): New function.
17458 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
17460 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
17462 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
17463 (desktop-restore-frames): Warn when deleting an existing frame failed.
17465 2013-07-24 Glenn Morris <rgm@gnu.org>
17467 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
17469 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
17471 * filenotify.el (file-notify-supported-p):
17472 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
17475 * autorevert.el (auto-revert-use-notify)
17476 (auto-revert-notify-add-watch):
17477 * net/tramp.el (tramp-file-name-for-operation):
17478 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
17479 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
17480 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
17481 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
17482 Remove `file-notify-supported-p' entry.
17484 2013-07-24 Glenn Morris <rgm@gnu.org>
17486 * printing.el: Replace all uses of deleted ps-windows-system,
17487 ps-lp-system, ps-flatten-list with lpr- versions.
17489 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
17491 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
17492 checked with memq (bug#14935).
17494 * files.el (revert-buffer-function): Use a non-nil default.
17495 (revert-buffer-preserve-modes): Declare var to
17496 provide access to the `preserve-modes' argument.
17497 (revert-buffer): Let-bind it.
17498 (revert-buffer--default): New function, extracted from revert-buffer.
17500 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
17502 * lpr.el: Signal print errors more prominently.
17503 (print-region-function): Don't default to nil.
17504 (lpr-print-region): New function, extracted from print-region-1.
17505 Check lpr's return value and signal an error in case of problem.
17506 (print-region-1): Use it.
17507 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
17509 (ps-printer-name): Default to nil.
17510 (ps-printer-name-option): Default to lpr-printer-switch.
17511 (ps-print-region-function): Don't default to nil.
17512 (ps-postscript-code-directory): Simplify default.
17513 (ps-do-despool): Use lpr-print-region to properly check the outcome.
17514 (ps-string-list, ps-eval-switch, ps-flatten-list)
17515 (ps-flatten-list-1): Remove.
17516 (ps-multibyte-buffer): Avoid setq.
17517 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
17518 (print-region-function, ps-print-region-function): Don't set them here.
17520 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
17522 * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
17523 (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
17524 (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
17525 (ido-decorations): Doc fix.
17527 * ansi-color.el: Fix old URL.
17529 2013-07-23 Michael R. Mauger <michael@mauger.com>
17531 * progmodes/sql.el: Version 3.3
17532 (sql-product-alist): Improve oracle :prompt-cont-regexp.
17533 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
17534 (sql-interactive-remove-continuation-prompt): Rewrite, use
17535 functions above. Fix continuation prompt and complete output line
17537 (sql-redirect-one, sql-execute): Use `read-only-mode' on
17538 redirected output buffer.
17539 (sql-mode): Restore deleted code (Bug#13591).
17541 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
17543 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
17545 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
17547 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
17549 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
17550 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
17551 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
17553 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
17555 * desktop.el (desktop-clear): Simplify; remove useless checks
17556 against invalid buffer names.
17557 (desktop-list*): Use cl-list*.
17558 (desktop-buffer-info, desktop-create-buffer): Simplify.
17560 2013-07-23 Leo Liu <sdl.web@gmail.com>
17562 * bookmark.el (bookmark-make-record): Restore NAME as a default
17565 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
17567 * emacs-lisp/autoload.el (autoload--setup-output): New function,
17568 extracted from autoload--insert-text.
17569 (autoload--insert-text): Remove.
17570 (autoload--print-cookie-text): New function, extracted from
17571 autoload--insert-cookie-text.
17572 (autoload--insert-cookie-text): Remove.
17573 (autoload-generate-file-autoloads): Adjust calls accordingly.
17575 * winner.el (winner-hook-installed-p): Remove.
17576 (winner-mode): Simplify accordingly.
17578 * subr.el (add-to-list): Fix compiler-macro when `append' is
17579 not constant. Don't use `cl-member' for the base case.
17581 * progmodes/subword.el: Fix boundary case (bug#13758).
17582 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
17584 (subword-backward-regexp): Make it a constant.
17585 (subword-forward-internal): Don't treat a trailing capital as the
17586 beginning of a word.
17588 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
17590 * emacs-lisp/package.el (package-menu-mode): Don't modify the
17591 global value of tabulated-list-revert-hook (bug#14930).
17593 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
17595 * desktop.el: Require 'cl-lib.
17596 (desktop-before-saving-frames-functions): New hook.
17597 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
17598 for frames being saved. Rename from desktop--save-minibuffer-frames.
17599 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
17600 Do not save frames with non-nil `desktop-dont-save' parameter.
17601 Filter out deleted frames.
17602 (desktop--find-frame): Use cl-find-if.
17603 (desktop--select-frame): Use cl-(first|second|third) to access values
17605 (desktop--make-frame): Use cl-delete-if.
17606 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
17607 (desktop-restore-frames): Use cl-(first|second|third) to access values
17608 of desktop-mini. Look for visible frame at the end, not while
17611 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
17612 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
17613 Use string-match-p, looking-at-p (bug#14927).
17615 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
17617 * desktop.el (desktop-saved-frame-states):
17618 Rename from desktop--saved-states; all users changed.
17619 (desktop-save-frames): Rename from desktop--save-frames.
17620 Do not save state to desktop file.
17621 (desktop-save): Save desktop-saved-frame-states to desktop file
17623 (desktop-restoring-frames-p): New function.
17624 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
17625 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
17626 buffer-lists when restoring frames. Suggested by Martin Rudalics.
17628 * desktop.el: Correctly restore iconified frames.
17629 (desktop--filter-iconified-position): New function.
17630 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
17632 2013-07-20 Glenn Morris <rgm@gnu.org>
17634 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
17635 Let `message' do the formatting.
17636 (def-gdb-preempt-display-buffer): Add explicit format.
17638 * image-dired.el (image-dired-track-original-file):
17639 Use with-current-buffer.
17640 (image-dired-track-thumbnail): Use with-current-buffer.
17641 Avoid changing point of wrong window.
17643 * image-dired.el (image-dired-track-original-file):
17644 Avoid changing point of wrong window. (Bug#14909)
17646 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
17648 * progmodes/gdb-mi.el (gdb-done-or-error):
17649 Guard against "%" in gdb output. (Bug#14127)
17651 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
17653 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
17656 * international/mule.el (coding-system-iso-2022-flags): Fix last
17659 2013-07-20 Kenichi Handa <handa@gnu.org>
17661 * international/mule.el (coding-system-iso-2022-flags):
17662 Add `8-bit-level-4'. (Bug#8522)
17664 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
17666 * net/shr.el (shr-mouse-browse-url): New command and keystroke
17669 * net/eww.el (eww-process-text-input): Allow inputting when the
17670 point is at the start of the line, as the properties aren't
17673 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
17676 2013-07-19 Richard Stallman <rms@gnu.org>
17678 * epa.el (epa-popup-info-window): Doc fix.
17680 * subr.el (split-string): New arg TRIM.
17682 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
17684 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
17685 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
17687 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
17689 * filenotify.el (file-notify--library): Rename from
17690 `file-notify-support'. Do not autoload. Adapt all uses.
17691 (file-notify-supported-p): New defun.
17693 * autorevert.el (auto-revert-use-notify):
17694 Use `file-notify-supported-p' instead of `file-notify-support'.
17696 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
17698 * net/tramp.el (tramp-file-name-for-operation):
17699 Add `file-notify-supported-p'.
17701 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
17703 (tramp-sh-file-name-handler-alist): Add it as handler for
17704 `file-notify-supported-p '.
17706 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
17707 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
17708 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
17709 Add `ignore' as handler for `file-notify-*' functions.
17711 2013-07-17 Eli Zaretskii <eliz@gnu.org>
17713 * simple.el (line-move-partial, line-move): Don't start vscroll or
17714 scroll-up if the current line is not taller than the window.
17717 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
17719 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
17720 highlight question marks in the method names as strings.
17721 (ruby-block-beg-keywords): Inline.
17722 (ruby-font-lock-keyword-beg-re): Extract from
17723 `ruby-font-lock-keywords'.
17725 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
17727 * frame.el (blink-cursor-blinks): New defcustom.
17728 (blink-cursor-blinks-done): New defvar.
17729 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
17730 (blink-cursor-timer-function): Check if number of blinks has been
17732 (blink-cursor-suspend, blink-cursor-check): New defuns.
17734 2013-07-15 Glenn Morris <rgm@gnu.org>
17736 * edmacro.el (edmacro-format-keys): Fix previous change.
17738 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
17740 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
17741 The hack didn't work outside English locales anyway.
17743 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
17745 * simple.el (define-alternatives): Rename from alternatives-define,
17746 per RMS' suggestion.
17748 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
17750 * desktop.el (desktop-restore-frames): Change default to t.
17751 (desktop-restore-in-current-display): Now offer more options.
17752 (desktop-restoring-reuses-frames): New customization option.
17753 (desktop--saved-states): Doc fix.
17754 (desktop-filter-parameters-alist): New variable, renamed and expanded
17755 from desktop--excluded-frame-parameters.
17756 (desktop--target-display): New variable.
17757 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
17758 (desktop--filter-tty*, desktop--filter-*-color)
17759 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
17760 (desktop--filter-save-desktop-parm)
17761 (desktop-restore-in-original-display-p): New functions.
17762 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
17763 (desktop--save-minibuffer-frames): New function, inspired by a similar
17764 function from Martin Rudalics.
17765 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
17766 (desktop--restore-in-this-display-p): Remove.
17767 (desktop--find-frame): Rename from desktop--find-frame-in-display
17768 and add predicate argument.
17769 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
17770 (desktop--reuse-list): New variable.
17771 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
17773 (desktop--restore-frames): Add support for "minibuffer-special" frames.
17775 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
17777 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
17779 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
17781 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
17782 Highlight conversion methods on Kernel.
17784 2013-07-13 Alan Mackenzie <acm@muc.de>
17786 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
17787 and comment it out. This out-commenting enables certain C++
17788 declarations to be parsed correctly.
17790 2013-07-13 Eli Zaretskii <eliz@gnu.org>
17792 * international/mule.el (define-coding-system): Doc fix.
17794 * simple.el (default-font-height): Don't call font-info if the
17795 frame's default font didn't change since the frame was created.
17798 2013-07-13 Leo Liu <sdl.web@gmail.com>
17800 * ido.el (ido-read-file-name): Guard against non-symbol value.
17802 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
17804 * progmodes/python.el (python-imenu--build-tree): Fix corner case
17807 2013-07-13 Leo Liu <sdl.web@gmail.com>
17809 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
17810 ido-set-matches call. (Bug#6852)
17812 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
17814 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
17815 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
17817 (ruby-font-lock-keywords): Distinguish calls to functions with
17818 module-like names from module references. Highlight character
17821 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
17823 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
17824 (gdb-send): Handle continued commands. (Bug#14847)
17826 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
17828 * desktop.el (desktop--v2s): Remove unused local variable.
17829 (desktop-save-buffer): Make defvar-local; adjust docstring.
17830 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
17831 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
17833 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
17835 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
17837 2013-07-12 Eli Zaretskii <eliz@gnu.org>
17839 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
17842 2013-07-12 Glenn Morris <rgm@gnu.org>
17844 * doc-view.el: Require cl-lib at runtime too.
17845 (doc-view-remove-if): Remove.
17846 (doc-view-search-next-match, doc-view-search-previous-match):
17849 * edmacro.el: Require cl-lib at runtime too.
17850 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
17851 (edmacro-mismatch, edmacro-subseq): Remove.
17853 * shadowfile.el: Require cl-lib.
17854 (shadow-remove-if): Remove.
17855 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
17858 * wid-edit.el: Require cl-lib.
17859 (widget-choose): Use cl-remove-if.
17860 (widget-remove-if): Remove.
17862 * progmodes/ebrowse.el: Require cl-lib at runtime too.
17863 (ebrowse-delete-if-not): Remove.
17864 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
17865 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
17866 Use cl-delete-if-not.
17868 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
17870 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
17871 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
17873 2013-07-12 Leo Liu <sdl.web@gmail.com>
17875 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
17877 2013-07-11 Glenn Morris <rgm@gnu.org>
17879 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
17880 (edebug-gensym-index, edebug-gensym):
17881 Remove reimplementation of cl-gensym.
17882 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
17884 * thumbs.el: Require cl-lib at run-time too.
17885 (thumbs-gensym-counter, thumbs-gensym):
17886 Remove reimplementation of cl-gensym.
17887 (thumbs-temp-file): Use cl-gensym.
17889 * emacs-lisp/ert.el: Require cl-lib at runtime too.
17890 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
17891 (ert--intersection, ert--set-difference, ert--set-difference-eq)
17892 (ert--union, ert--gensym-counter, ert--gensym-counter)
17893 (ert--coerce-to-vector, ert--remove*, ert--string-position)
17894 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
17895 (ert-make-test-unbound, ert--expand-should-1)
17896 (ert--expand-should, ert--should-error-handle-error)
17897 (should-error, ert--explain-equal-rec)
17898 (ert--plist-difference-explanation, ert-select-tests)
17899 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
17900 Use cl-lib functions rather than reimplementations.
17902 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
17904 * net/tramp.el (tramp-methods): Extend docstring.
17905 (tramp-connection-timeout): New defcustom.
17906 (tramp-error-with-buffer): Reset timestamp only when appropriate.
17907 (with-tramp-progress-reporter): Simplify.
17908 (tramp-process-actions): Improve messages.
17910 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
17911 * net/tramp-sh.el (tramp-maybe-open-connection):
17912 Use `tramp-connection-timeout'.
17913 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
17916 2013-07-11 Leo Liu <sdl.web@gmail.com>
17918 * ido.el (ido-read-file-name): Conform to the requirements of
17919 read-file-name. (Bug#11861)
17920 (ido-read-directory-name): Conform to the requirements of
17921 read-directory-name.
17923 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
17925 * subr.el (delay-warning): New function.
17927 2013-07-10 Eli Zaretskii <eliz@gnu.org>
17929 * simple.el (default-line-height): New function.
17930 (line-move-partial, line-move): Use it instead of computing the
17931 line height inline.
17932 (line-move-partial): Always compute ROWH. If the last line is
17933 partially-visible, but its text is completely visible, allow
17934 cursor to enter such a partially-visible line.
17936 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
17938 Improve error messages. (Bug#14808)
17940 * net/tramp.el (tramp-current-connection): New defvar, moved from
17942 (tramp-message-show-progress-reporter-message): Remove, not
17944 (tramp-error-with-buffer): Show message in minibuffer.
17945 Discard input before waiting. Reset connection timestamp.
17946 (with-tramp-progress-reporter): Improve messages.
17947 (tramp-process-actions): Use progress reporter. Delete process in
17948 case of error. Improve messages.
17950 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
17951 Call `tramp-error-with-buffer' with vector and buffer.
17952 (tramp-current-connection): Remove.
17953 (tramp-maybe-open-connection): The car of
17954 `tramp-current-connection' are the first 3 slots of the vector.
17956 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
17958 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
17959 inside continued strings.
17961 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
17963 Timestamp fixes for undo (Bug#14824).
17964 * files.el (clear-visited-file-modtime): Move here from fileio.c.
17966 2013-07-10 Leo Liu <sdl.web@gmail.com>
17968 * files.el (require-final-newline): Allow safe local value.
17971 2013-07-09 Leo Liu <sdl.web@gmail.com>
17973 * ido.el (ido-read-directory-name): Handle fallback.
17974 (ido-read-file-name): Update DIR to ido-current-directory.
17976 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
17978 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
17980 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
17981 "autoload". Remove "warn lower camel case" section, previously
17982 commented out. Highlight negation char. Do not highlight the
17983 target in singleton method definitions.
17985 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
17987 * faces.el (tty-setup-hook): Declare the hook.
17989 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
17990 and detect when a guard/pred depends on local vars (bug#14773).
17991 (pcase--u1): Adjust caller.
17993 2013-07-08 Eli Zaretskii <eliz@gnu.org>
17995 * simple.el (line-move-partial, line-move): Account for
17997 (line-move-partial): Avoid setting vscroll when the last
17998 partially-visible line in window is of default height.
18000 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
18002 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
18005 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
18007 * subr.el (read-quoted-char): Remove unused local variable `char'.
18009 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
18011 * vc/ediff.el (ediff-version): Version update.
18012 (ediff-files-command, ediff3-files-command, ediff-merge-command)
18013 (ediff-merge-with-ancestor-command, ediff-directories-command)
18014 (ediff-directories3-command, ediff-merge-directories-command)
18015 (ediff-merge-directories-with-ancestor-command): New functions.
18016 All are command-line interfaces to ediff: to facilitate calling
18017 Emacs with the appropriate ediff functions invoked.
18019 * emulation/viper-cmd.el (viper-del-forward-char-in-insert):
18021 (viper-save-kill-buffer): Check if buffer is modified.
18023 * emulation/viper.el (viper-version): Version update.
18024 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
18026 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
18028 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
18029 * emulation/viper-cmd.el (viper-envelop-ESC-key): Remove function.
18030 (viper-intercept-ESC-key): Simplify.
18031 * emulation/viper-keym.el (viper-ESC-key): Make it a constant,
18033 * emulation/viper.el (viper--tty-ESC-filter, viper--lookup-key)
18034 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
18035 (viper-setup-ESC-to-escape): New functions.
18036 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
18037 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
18039 2013-07-07 Eli Zaretskii <eliz@gnu.org>
18041 * simple.el (default-font-height, window-screen-lines):
18043 (line-move, line-move-partial): Use them instead of
18044 frame-char-height and window-text-height. This makes scrolling
18045 text smoother when the buffer's default face uses a font that is
18046 different from the frame's default font.
18048 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
18050 * files.el (write-file): Do not display confirm dialog for NS,
18051 it does its own dialog, which can't be canceled (Bug#14578).
18053 2013-07-06 Eli Zaretskii <eliz@gnu.org>
18055 * simple.el (line-move-partial): Adjust the row returned by
18056 posn-at-point for the current window-vscroll. (Bug#14567)
18058 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
18060 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
18061 (tramp-sh-file-inotifywait-process-filter): Handle file names with
18064 2013-07-06 Martin Rudalics <rudalics@gmx.at>
18066 * window.el (window-state-put-stale-windows): New variable.
18067 (window--state-put-2): Save list of windows without matching buffer.
18068 (window-state-put): Remove "bufferless" windows if possible.
18070 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
18072 * simple.el (alternatives-define): Remove leftover :group keyword.
18075 2013-07-06 Leo Liu <sdl.web@gmail.com>
18077 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
18078 (ido-enable-virtual-buffers): New variable.
18079 (ido-buffer-internal, ido-toggle-virtual-buffers)
18080 (ido-make-buffer-list): Use it.
18081 (ido-exhibit): Support turning on and off virtual buffers
18084 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
18086 * simple.el (alternatives-define): New macro.
18088 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
18090 * subr.el (read-quoted-char): Use read-key.
18091 (sit-for): Let read-event decode tty input (bug#14782).
18093 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
18095 * calendar/todo-mode.el: Add handling of file deletion, both by
18096 mode command and externally. Fix various related bugs.
18097 Clarify Commentary and improve some documentation strings and code.
18098 (todo-delete-file): New command.
18099 (todo-check-file): New function.
18100 (todo-show): Handle external deletion of the file we're trying to
18101 show (bug#14688). Replace called-interactively-p by an optional
18102 prefix argument to avoid problematic interaction with catch form
18103 when byte compiled (bug#14702).
18104 (todo-quit): Handle external deletion of the archive's todo file.
18105 Make sure the buffer that was visiting the archive file is still
18106 live before trying to bury it.
18107 (todo-category-completions): Handle external deletion of any
18108 category completion files.
18109 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
18110 of todo files, in case of external deletion.
18111 (todo-add-file): Replace unnecessary setq by let-binding.
18112 (todo-find-archive): Check whether there are any archives.
18113 Replace unnecessary setq by let-binding.
18114 (todo-archive-done-item): Use find-file-noselect to get the
18115 archive buffer whether or not the archive already exists.
18116 Remove superfluous code. Use file size instead of buffer-file-name to
18117 check if the archive is new; if it is, update list of archives.
18118 (todo-default-todo-file): Allow nil to be a valid value for when
18119 there are no todo files.
18120 (todo-reevaluate-default-file-defcustom): Use corrected definition
18121 of todo-default-todo-file.
18122 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
18123 (todo-delete-category, todo-show-categories-table)
18124 (todo-category-number): Clarify comment.
18125 (todo-filter-items): Clarify documentation string.
18126 (todo-show-current-file, todo-display-as-todo-file)
18127 (todo-reset-and-enable-done-separator): Tweak documentation string.
18128 (todo-done-separator): Make separator length window-width, since
18129 bug#2749 is now fixed.
18131 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
18133 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
18134 Support both "gvfs-monitor-dir" and "inotifywait".
18135 (tramp-sh-file-inotifywait-process-filter): Rename from
18136 `tramp-sh-file-notify-process-filter'.
18137 (tramp-sh-file-gvfs-monitor-dir-process-filter)
18138 (tramp-get-remote-gvfs-monitor-dir): New defuns.
18140 2013-07-05 Leo Liu <sdl.web@gmail.com>
18142 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
18144 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
18146 * frame.el (display-pixel-height, display-pixel-width)
18147 (display-mm-height, display-mm-width): Mention behavior on
18148 multi-monitor setups in docstrings.
18149 (w32-display-monitor-attributes-list): Declare function.
18150 (display-monitor-attributes-list): Use it.
18152 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
18154 * filenotify.el: New package.
18156 * autorevert.el (top): Require filenotify.el.
18157 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
18159 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
18160 (auto-revert-notify-handler): Use `file-notify-*' functions.
18162 * subr.el (file-notify-handle-event): Move function to filenotify.el.
18164 * net/tramp.el (tramp-file-name-for-operation):
18165 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
18167 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
18168 for `file-notify-add-watch' and `file-notify-rm-watch'.
18169 (tramp-process-sentinel): Improve trace.
18170 (tramp-sh-handle-file-notify-add-watch)
18171 (tramp-sh-file-notify-process-filter)
18172 (tramp-sh-handle-file-notify-rm-watch)
18173 (tramp-get-remote-inotifywait): New defuns.
18175 2013-07-03 Juri Linkov <juri@jurta.org>
18177 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
18178 call of `occur-read-primary-args' to interactive spec.
18180 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
18181 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
18183 2013-07-03 Matthias Meulien <orontee@gmail.com>
18185 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
18186 `Buffer-menu-multi-occur'. Add it to the menu.
18187 (Buffer-menu-mode): Document it in docstring.
18188 (Buffer-menu-multi-occur): New command. (Bug#14673)
18190 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
18192 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
18193 keywords and built-ins.
18195 2013-07-03 Glenn Morris <rgm@gnu.org>
18197 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
18199 Make info-xref checks case-sensitive by default
18200 * info.el (Info-find-node, Info-find-in-tag-table)
18201 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
18202 Add option for exact case matching of nodes.
18203 * info-xref.el (info-xref): New custom group.
18204 (info-xref-case-fold): New option.
18205 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
18207 2013-07-03 Leo Liu <sdl.web@gmail.com>
18209 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
18211 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
18213 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
18214 middle of block statement initially, lower the depth. Remove
18215 FIXME comment, not longer valid. Remove middle of block statement
18216 detection, no need to do that anymore since we've been using
18217 `ruby-parse-region' here.
18219 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
18221 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
18223 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
18225 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
18227 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
18229 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
18230 (desktop-restore-in-current-display): New customization option.
18231 (desktop--excluded-frame-parameters): Add `font'.
18232 (desktop--save-frames): Rename from desktop--save-windows.
18233 (desktop--restore-in-this-display-p): New function.
18234 (desktop--make-full-frame): Remove unwanted width/height from
18235 full(width|height) frames.
18236 (desktop--restore-frames): Rename from desktop--restore-windows.
18237 Obey desktop-restore-current-display. Do not delete old frames or
18238 select a new frame unless we were able to restore at least one frame.
18240 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
18242 * files.el (find-file-noselect): Simplify conditional expression.
18244 * textmodes/remember.el (remember-append-to-file):
18245 Don't mix `find-buffer-visiting' and `get-file-buffer'.
18247 Add `remember-notes' function to store random notes across Emacs
18249 * textmodes/remember.el (remember-data-file): Add :set callback to
18250 affect notes buffer (if any).
18251 (remember-notes): New command.
18252 (remember-notes-buffer-name, bury-remember-notes-on-kill):
18253 New defcustoms for the `remember-notes' function.
18254 (remember-notes-save-and-bury-buffer): New command.
18255 (remember-notes-mode-map): New variable.
18256 (remember-mode): New minor mode.
18257 (remember-notes--kill-buffer-query): New function.
18258 * startup.el (initial-buffer-choice): Add notes to custom type.
18260 2013-06-30 Eli Zaretskii <eliz@gnu.org>
18262 * bindings.el (right-char, left-char): Don't call sit-for, this is
18263 no longer needed. Use arithmetic comparison only for numerical
18266 * international/mule-cmds.el (select-safe-coding-system):
18267 Handle the case of FROM being a string correctly. (Bug#14755)
18269 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
18271 * net/shr.el (shr-make-table-1): Add a sanity check that allows
18272 progression on degenerate tables.
18273 (shr-rescale-image): ImageMagick animated images currently don't work.
18275 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
18277 Some fixes and improvements for desktop frame restoration.
18278 It is still experimental and disabled by default.
18279 * desktop.el (desktop--save-windows): Put the selected frame at
18280 the head of the list.
18281 (desktop--make-full-frame): New function.
18282 (desktop--restore-windows): Try to re-select the frame that was
18283 selected upon saving. Do not abort if some frames fail to restore,
18284 just show an error message and continue. Set up maximized frames
18285 so they have default non-maximized dimensions.
18287 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
18289 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
18290 Don't start heredoc inside a string or comment.
18292 2013-06-29 Eli Zaretskii <eliz@gnu.org>
18294 * bindings.el (visual-order-cursor-movement): New defcustom.
18295 (right-char, left-char): Provide visual-order cursor motion by
18296 calling move-point-visually. Update the doc strings.
18298 2013-06-28 Kenichi Handa <handa@gnu.org>
18300 * international/mule.el (define-coding-system): New coding system
18301 properties :inhibit-null-byte-detection,
18302 :inhibit-iso-escape-detection, and :prefer-utf-8.
18303 (set-buffer-file-coding-system): If :charset-list property of
18304 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
18305 appropriate for setting.
18307 * international/mule-cmds.el (select-safe-coding-system):
18308 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
18309 multibyte characters, return utf-8 (or one of its siblings).
18311 * international/mule-conf.el (prefer-utf-8): New coding system.
18312 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
18315 2013-06-28 Ivan Kanis <ivan@kanis.fr>
18317 * net/shr.el (shr-render-region): New function.
18319 * net/eww.el: Autoload `eww-browse-url'.
18321 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
18323 * emacs-lisp/package-x.el (package-upload-buffer-internal):
18324 Adapt to `package-desc-version' being a list.
18325 Use `package--ac-desc-version' to retrieve version from a package
18328 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
18330 New experimental feature to save&restore window and frame setup.
18331 * desktop.el (desktop-save-windows): New defcustom.
18332 (desktop--saved-states): New var.
18333 (desktop--excluded-frame-parameters): New defconst.
18334 (desktop--filter-frame-parms, desktop--find-frame-in-display)
18335 (desktop--restore-windows, desktop--save-windows): New functions.
18336 (desktop-save): Call `desktop--save-windows'.
18337 (desktop-read): Call `desktop--restore-windows'.
18339 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
18341 * net/shr.el (add-face-text-property): Remove compat definition.
18343 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
18345 * info.el (Info-try-follow-nearest-node): Move search for footnote
18346 above search for node name to prevent missing a footnote (bug#14717).
18348 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
18350 * obsolete/otodo-mode.el: Add obsolescence info to file header.
18352 2013-06-27 Leo Liu <sdl.web@gmail.com>
18354 * net/eww.el (eww-read-bookmarks): Check file size.
18356 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
18358 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
18359 advice--pending if newdef is nil or an autoload (bug#13820).
18360 (advice-mapc): New function.
18362 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
18364 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
18366 (eww-mode-map): Add a menu bar.
18367 (eww-add-bookmark): New command.
18368 (eww-bookmark-mode): New mode and commands.
18369 (eww-add-bookmark): Remove newlines from the title.
18370 (eww-bookmark-browse): Don't bug out if it's the only window.
18372 2013-06-26 Glenn Morris <rgm@gnu.org>
18374 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
18375 (hfy-size): Handle ttys. (Bug#14668)
18377 * info-xref.el: Update for Texinfo 5 change in *note format.
18378 (info-xref-node-re, info-xref-note-re): New constants.
18379 (info-xref-check-buffer): Use info-xref-note-re.
18381 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
18383 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
18385 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
18386 nil terminate the loop (bug#14718).
18388 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
18390 * net/eww.el: Rework history traversal. When going forward/back,
18391 put these actions into the history, too, so that they can be
18393 (eww-render): Move the history reset to the correct buffer.
18395 2013-06-25 Juri Linkov <juri@jurta.org>
18397 * files-x.el (modify-dir-local-variable): Change the header comment
18398 in the file with directory local variables. (Bug#14692)
18400 * files-x.el (read-file-local-variable-value): Add `default'.
18403 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
18405 * net/eww.el (eww-make-unique-file-name): Create a unique file
18406 name before saving to entering `y' accidentally asynchronously.
18408 2013-06-25 Ivan Kanis <ivan@kanis.fr>
18410 * net/eww.el (eww-download): New command and keystroke.
18412 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
18414 * net/eww.el (eww-copy-page-url): Change name of command.
18416 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
18417 be more consistent with Info and dired.
18419 * net/eww.el (eww-mode-map): Ditto.
18421 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
18423 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
18424 packages from archives.
18425 (package-archive-contents): Change format; include obsolete packages.
18426 (package-desc): Use `dir' to mark builtin packages.
18427 (package--from-builtin): Set the `dir' field to `builtin'.
18428 (generated-autoload-file, version-control): Declare.
18429 (package-compute-transaction): Change first arg and return value to be
18430 lists of package-descs. Adjust to new package-archive-contents format.
18431 (package--add-to-archive-contents): Adjust to new
18432 package-archive-contents format.
18433 (package-download-transaction): Arg is now a list of package-descs.
18434 (package-install): If `pkg' is a package name, pass it as
18435 a requirement, so it is subject to the usual (e.g. disabled) checks.
18436 (describe-package): Accept package-desc as well.
18437 (describe-package-1): Describe a specific package-desc. Add links to
18438 other package-descs for the same package name.
18439 (package-menu-describe-package): Pass the actual package-desc.
18440 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
18442 (package-desc-status): New function.
18443 (package-menu--refresh): New function, extracted
18444 from package-menu--generate.
18445 (package-menu--generate): Use it.
18446 (package-delete): Update package-alist.
18447 (package-menu-execute): Don't call package-initialize.
18449 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
18450 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
18451 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
18452 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
18453 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
18454 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
18456 2013-06-25 Martin Rudalics <rudalics@gmx.at>
18458 * window.el (window--state-get-1): Workaround for bug#14527.
18459 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
18461 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
18463 * net/eww.el (eww-back-url): Implement the history by stashing all
18464 the data into a list.
18465 (eww-forward-url): Allow going forward in the history, too.
18467 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
18469 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
18470 for values and use read--expression for expressions (bug#14710).
18471 (read-file-local-variable): Avoid setq.
18472 (read-file-local-variable-mode): Use minor-mode-list.
18474 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
18476 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
18479 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
18481 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
18482 Update imenu-support when dialect changes.
18484 2013-06-25 Leo Liu <sdl.web@gmail.com>
18486 * ido.el (ido-read-internal): Allow forward slash on windows.
18488 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
18490 * net/eww.el (eww): Start of strings is \\`, not ^.
18492 2013-06-24 Ivan Kanis <ivan@kanis.fr>
18494 * net/shr.el (shr-browse-url): Fix interactive spec.
18496 * net/eww.el (eww): Add a trailing slash to domain names.
18498 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
18500 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
18502 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
18504 * net/shr.el (shr-browse-url): Use an external browser if given a
18507 * net/eww.el (eww-external-browser): Move to shr.
18509 2013-06-24 Ivan Kanis <ivan@kanis.fr>
18511 * net/eww.el (eww): Work more correctly for file: URLs.
18512 (eww-detect-charset): Allow quoted charsets.
18513 (eww-yank-page-url): New command and keystroke.
18515 2013-06-24 Daiki Ueno <ueno@gnu.org>
18517 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
18518 file name of gpg executable.
18519 (epg-context-program): New function.
18520 (epg-context-home-directory): New function.
18521 (epg-context-set-program): New function.
18522 (epg-context-set-home-directory): New function.
18523 (epg--start): Use `epg-context-program' instead of
18525 (epg--list-keys-1): Likewise.
18527 2013-06-24 Leo Liu <sdl.web@gmail.com>
18529 * ido.el (ido-read-internal): Fix bug#14620.
18531 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
18533 * faces.el (face-documentation): Simplify.
18534 (read-face-attribute, tty-find-type, x-resolve-font-name):
18535 Use `string-match-p'.
18536 (list-faces-display): Use `string-match-p'. Simplify.
18537 (face-spec-recalc): Check face to avoid face alias loops.
18538 (read-color): Use `string-match-p' and non-capturing parenthesis.
18540 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
18542 * net/shr.el (shr-rescale-image): Use the new
18543 :max-width/:max-height functionality.
18545 2013-06-23 Ivan Kanis <ivan@kanis.fr>
18547 * net/eww.el (eww-search-prefix): New variable.
18549 (eww-external-browser): New variable.
18550 (eww-mode-map): New keystroke.
18551 (eww-browse-with-external-browser): New command.
18553 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
18555 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
18557 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
18558 Don't skip aligning the next header field when padding is 0;
18559 otherwise, field width is not respected unless the title is as
18562 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
18564 * emacs-lisp/package.el (package-el-version): Remove.
18565 (package-process-define-package): Fix inf-loop.
18566 (package-install): Allow symbols as arguments again.
18568 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
18570 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
18571 add some more keyword-like methods.
18572 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
18574 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
18576 * bs.el (bs-buffer-show-mark): Make defvar-local.
18577 (bs-mode): Use setq-local.
18579 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
18580 (emacs-lock--try-unlocking): Make defvar-local.
18582 2013-06-22 Glenn Morris <rgm@gnu.org>
18584 * play/cookie1.el (cookie-apropos): Minor simplification.
18586 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
18588 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
18590 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
18591 `regexp-opt', it breaks the build during dumping.
18593 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
18595 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
18596 Highlight keyword-like methods on Kernel and Module with
18597 font-lock-builtin-face.
18598 (auto-mode-alist): Consolidate different entries into one regexp
18599 and add more *file-s.
18601 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
18603 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
18605 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
18606 (diary-entry): Use it in the action of this button type instead of
18609 * calendar/todo-mode.el: New version.
18610 (todo-add-category): Append new category to end of file and give
18611 it the highest number, instead of putting it at the beginning and
18612 giving it 0. Incorporate noninteractive functionality.
18613 (todo-forward-category): Adapt to 1-based category numbering.
18614 Allow skipping over archived categories.
18615 (todo-backward-category): Derive from todo-forward-category.
18616 (todo-backward-item, todo-forward-item): Make noninteractive and
18617 delegate interactive part to new commands. Make sensitive to done items.
18618 (todo-categories): Make value an alist of category names and
18619 vectors of item counts.
18620 (todo-category-beg): Make a defconst.
18621 (todo-category-number): Use 1 instead of 0 as initial value.
18622 (todo-category-select): Make sensitive to overlays, optional item
18623 highlighting and done items.
18624 (todo-delete-item): Make sensitive to overlays and marked and done items.
18625 (todo-edit-item): Make sensitive to overlays and editing of
18626 date/time header optional. Add format checks.
18627 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
18628 no-op if point is not on an item. Advertise using todo-edit-quit.
18629 (todo-edit-mode): Make sensitive to new format, font-locking, and
18630 multiple todo files.
18631 (todo-insert-item, todo-insert-item-here): Derive from
18632 todo-basic-insert-item and extend functionality.
18633 (todo-item-end, todo-item-start): Make sensitive to done items.
18634 (todo-item-string): Don't return text properties. Restore point.
18635 (todo-jump-to-category): Make sensitive to multiple todo files and
18636 todo archives. Use extended category completion.
18637 (todo-lower-item, todo-raise-item): Rename to *-priority and
18638 derive from todo-set-item-priority.
18639 (todo-mode): Derive from special-mode. Make sensitive to new
18640 format, font-locking and multiple todo files. Make read-only.
18641 (todo-mode-map): Don't suppress digit keys, so they can supply
18642 prefix arguments. Add many new key bindings.
18643 (todo-prefix): Insert as an overlay instead of file text.
18644 Change semantics from diary date expression to purely visual mark.
18645 (todo-print): Rename to todo-print-buffer. Make buffer display
18646 features printable. Remove option to restrict number of items
18647 printed. Add option to print to file.
18648 (todo-print-function): Rename to todo-print-buffer-function.
18649 (todo-quit): Extend to handle exiting new todo modes.
18650 (todo-remove-item): Make sensitive to overlays.
18651 (todo-save): Extend to buffers of filtered items.
18652 (todo-show): Make sensitive to done items, multiple todo files and
18653 new todo modes. Offer to convert legacy todo file before creating
18654 first new todo file.
18655 (todo-show-priorities): Rename to todo-top-priorities.
18656 Change semantics of value 0.
18657 (todo-top-priorities): Rename to todo-filter-top-priorities,
18658 derive from todo-filter-items and extend functionality.
18659 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
18660 and extend functionality to other types of filtered items.
18661 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
18662 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
18663 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
18664 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
18665 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
18666 (todo-edit-mode-hook, todo-entry-prefix-function)
18667 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
18668 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
18669 (todo-initials, todo-insert-threshold, todo-item-string-start)
18670 (todo-line-string, todo-menu, todo-mode-hook)
18671 (todo-more-important-p, todo-previous-answer, todo-previous-line)
18672 (todo-print-priorities, todo-remove-separator)
18673 (todo-save-top-priorities-too, todo-string-count-lines)
18674 (todo-string-multiline-p, todo-time-string-format)
18675 (todo-tmp-buffer-name): Remove.
18676 (todo-add-file, todo-archive-done-item, todo-choose-archive)
18677 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
18678 (todo-edit-category-diary-inclusion)
18679 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
18680 (todo-edit-file, todo-edit-item-date-day)
18681 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
18682 (todo-edit-item-date-month, todo-edit-item-date-to-today)
18683 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
18684 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
18685 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
18686 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
18687 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
18688 (todo-filter-top-priorities-multifile, todo-find-archive)
18689 (todo-find-filtered-items-file, todo-go-to-source-item)
18690 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
18691 (todo-jump-to-archive-category, todo-lower-category)
18692 (todo-mark-category, todo-marked-item-p, todo-merge-category)
18693 (todo-move-category, todo-move-item, todo-next-button)
18694 (todo-next-item, todo-padded-string, todo-powerset)
18695 (todo-previous-button, todo-previous-item)
18696 (todo-print-buffer-to-file, todo-raise-category)
18697 (todo-rename-category, todo-repair-categories-sexp, todo-search)
18698 (todo-set-category-number, todo-set-item-priority)
18699 (todo-set-top-priorities-in-category)
18700 (todo-set-top-priorities-in-file, todo-show-categories-table)
18701 (todo-sort-categories-alphabetically-or-numerically)
18702 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
18703 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
18704 (todo-toggle-item-header, todo-toggle-item-highlighting)
18705 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
18706 (todo-toggle-view-done-items, todo-toggle-view-done-only)
18707 (todo-unarchive-items, todo-unmark-category): New commands.
18708 (todo-absolute-file-name, todo-add-to-buffer-list)
18709 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
18710 (todo-basic-insert-item, todo-category-completions)
18711 (todo-category-number, todo-category-string-matcher-1)
18712 (todo-category-string-matcher-2, todo-check-filtered-items-file)
18713 (todo-check-format, todo-clear-matches)
18714 (todo-comment-string-matcher, todo-convert-legacy-date-time)
18715 (todo-current-category, todo-date-string-matcher)
18716 (todo-define-insertion-command, todo-diary-expired-matcher)
18717 (todo-diary-goto-entry, todo-diary-item-p)
18718 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
18719 (todo-display-categories, todo-display-sorted, todo-done-item-p)
18720 (todo-done-item-section-p, todo-done-separator)
18721 (todo-done-string-matcher, todo-files, todo-filter-items)
18722 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
18723 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
18724 (todo-insert-category-line, todo-insert-item-from-calendar)
18725 (todo-insert-sort-button, todo-insert-with-overlays)
18726 (todo-insertion-command-name, todo-insertion-key-bindings)
18727 (todo-label-to-key, todo-longest-category-name-length)
18728 (todo-make-categories-list, todo-mode-external-set)
18729 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
18730 (todo-modes-set-3, todo-multiple-filter-files)
18731 (todo-nondiary-marker-matcher, todo-prefix-overlays)
18732 (todo-read-category, todo-read-date, todo-read-dayname)
18733 (todo-read-file-name, todo-read-time)
18734 (todo-reevaluate-category-completions-files-defcustom)
18735 (todo-reevaluate-default-file-defcustom)
18736 (todo-reevaluate-filelist-defcustoms)
18737 (todo-reevaluate-filter-files-defcustom)
18738 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
18739 (todo-reset-done-separator, todo-reset-done-separator-string)
18740 (todo-reset-done-string, todo-reset-global-current-todo-file)
18741 (todo-reset-highlight-item, todo-reset-nondiary-marker)
18742 (todo-reset-prefix, todo-set-categories)
18743 (todo-set-date-from-calendar, todo-set-show-current-file)
18744 (todo-set-top-priorities, todo-short-file-name)
18745 (todo-show-current-file, todo-sort, todo-time-string-matcher)
18746 (todo-total-item-counts, todo-update-buffer-list)
18747 (todo-update-categories-display, todo-update-categories-sexp)
18748 (todo-update-count, todo-validate-name, todo-y-or-n-p):
18750 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
18752 (todo-categories, todo-display, todo-edit, todo-faces)
18753 (todo-filtered): New defgroups.
18754 (todo-archived-only, todo-button, todo-category-string, todo-date)
18755 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
18756 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
18757 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
18758 (todo-add-item-if-new-category, todo-always-add-time-string)
18759 (todo-categories-align, todo-categories-archived-label)
18760 (todo-categories-category-label, todo-categories-diary-label)
18761 (todo-categories-done-label, todo-categories-number-separator)
18762 (todo-categories-todo-label, todo-categories-totals-label)
18763 (todo-category-completions-files, todo-completion-ignore-case)
18764 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
18765 (todo-done-separator-string, todo-done-string)
18766 (todo-files-function, todo-filter-done-items, todo-filter-files)
18767 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
18768 (todo-initial-category, todo-initial-file, todo-item-mark)
18769 (todo-legacy-date-time-regexp, todo-mode-line-function)
18770 (todo-nondiary-marker, todo-number-prefix)
18771 (todo-print-buffer-function, todo-show-current-file)
18772 (todo-show-done-only, todo-show-first, todo-show-with-done)
18773 (todo-skip-archived-categories, todo-top-priorities-overrides)
18774 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
18775 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
18777 (todo-category-done, todo-date-pattern, todo-date-string-start)
18778 (todo-diary-items-buffer, todo-done-string-start)
18779 (todo-filtered-items-buffer, todo-item-start)
18780 (todo-month-abbrev-array, todo-month-name-array)
18781 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
18782 (todo-top-priorities-buffer): New defconsts.
18783 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
18784 (todo-categories-with-marks, todo-category-string-face)
18785 (todo-comment-face, todo-comment-string, todo-current-todo-file)
18786 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
18787 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
18788 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
18789 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
18790 (todo-font-lock-keywords, todo-global-current-todo-file)
18791 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
18792 (todo-insertion-commands-args)
18793 (todo-insertion-commands-args-genlist)
18794 (todo-insertion-commands-names, todo-insertion-map)
18795 (todo-key-bindings-t, todo-key-bindings-t+a)
18796 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
18797 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
18798 (todo-nondiary-face, todo-print-buffer, todo-time-face)
18799 (todo-visited): New variables.
18801 2013-06-21 Glenn Morris <rgm@gnu.org>
18803 * play/cookie1.el (cookie-apropos): Add optional display argument.
18804 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
18805 (psychoanalyze-pinhead): Use cookie-doctor.
18807 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
18809 * emacs-lisp/package.el (tar-get-file-descriptor)
18810 (tar--extract): Declare.
18812 2013-06-21 Eduard Wiebe <usenet@pusto.de>
18814 Extend flymake's warning predicate to be a function (bug#14217).
18815 * progmodes/flymake.el (flymake-warning-predicate): New.
18816 (flymake-parse-line): Use it.
18817 (flymake-warning-re): Make obsolete alias to
18818 `flymake-warning-predicate'.
18820 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
18822 * emacs-lisp/package.el (package-alist): Include obsolete packages.
18823 (package-obsolete-list): Remove.
18824 (package-activate): Remove min-version argument. Add `force' argument.
18825 Adjust to new package-alist format.
18826 (package-mark-obsolete): Remove.
18827 (package-unpack): Force reload of the package's autoloads.
18828 (package-installed-p): Check builtins if the installed package is not
18830 (package-initialize): Don't reset package-obsolete-list.
18831 Don't specify which package version to activate.
18832 (package-process-define-package, describe-package-1)
18833 (package-menu--generate): Adjust to new package-alist format.
18835 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
18837 * allout-widgets.el (allout-widgets-mode-off)
18838 (allout-widgets-mode-on, allout-widgets-pre-command-business)
18839 (allout-widgets-post-command-business)
18840 (allout-widgets-after-copy-or-kill-function)
18841 (allout-widgets-after-undo-function, allout-test-range-overlaps)
18842 (allout-decorate-item-and-context)
18843 (allout-graphics-modification-handler): Fix typos in docstrings.
18844 (allout-get-or-create-parent-widget): Use `looking-at-p'.
18846 * cmuscheme.el (scheme-start-file): Doc fix.
18847 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
18848 (scheme-input-filter): Use `string-match-p'.
18850 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
18852 * dired-x.el: Use Dired consistently in docstrings.
18854 * dired.el: Use Dired consistently in docstrings.
18855 (dired-readin, dired-mode): Use `setq-local'.
18856 (dired-switches-alist): Make defvar-local.
18857 (dired-buffers-for-dir): Use `zerop'.
18858 (dired-safe-switches-p, dired-switches-escape-p)
18859 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
18860 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
18861 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
18862 (dired-goto-next-nontrivial-file): Use `string-match-p'.
18863 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
18864 (dired-toggle-marks, dired-mark-files-containing-regexp)
18865 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
18866 (dired-flag-auto-save-files, dired-flag-backup-files):
18867 Use `looking-at-p'.
18868 (dired-mark-files-regexp, dired-build-subdir-alist):
18869 Use `string-match-p', `looking-at-p'.
18871 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
18872 (direct-print-region-helper): Use `string-match-p'.
18874 2013-06-21 Leo Liu <sdl.web@gmail.com>
18876 * comint.el (comint-redirect-results-list-from-process):
18879 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
18881 * net/eww.el (eww-update-header-line-format): Quote % characters.
18883 2013-06-21 Glenn Morris <rgm@gnu.org>
18885 * play/cookie1.el (cookie): New custom group.
18886 (cookie-file): New option.
18887 (cookie-check-file): New function.
18888 (cookie): Make it interactive. Make start and end messages optional.
18889 Interactively, display the result. Default to cookie-file.
18890 (cookie-insert): Default to cookie-file.
18891 (cookie-snarf): Make start and end messages optional.
18892 Default to cookie-file. Use with-temp-buffer.
18893 (cookie-read): Rename from read-cookie.
18894 Make start and end messages optional. Default to cookie-file.
18895 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
18896 Do not autoload it.
18897 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
18898 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
18900 2013-06-21 Leo Liu <sdl.web@gmail.com>
18902 * progmodes/octave.el (octave-mode): Backward compatibility fix.
18904 2013-06-21 Glenn Morris <rgm@gnu.org>
18906 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
18908 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
18909 Daniel Hackney <dan@haxney.org>
18911 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
18912 Consolidate the single-file vs tarball code.
18913 (package-desc-suffix): New function.
18914 (package-desc-full-name): Don't bother inlining it.
18915 (package-load-descriptor): Return the new package-desc.
18916 (package-mark-obsolete): Remove unused arg `package'.
18917 (package-unpack): Make it work for single files as well.
18918 Make it update package-alist.
18919 (package--make-autoloads-and-stuff): Rename from
18920 package--make-autoloads-and-compile. Don't compile any more.
18921 (package--compile): New function.
18922 (package-generate-description-file): New function, extracted from
18923 package-unpack-single.
18924 (package-unpack-single): Remove.
18925 (package--with-work-buffer): Add indentation and debugging info.
18926 (package-download-single): Remove.
18927 (package-install-from-archive): Rename from package-download-tar, make
18928 it take a pkg-desc, and make it work for single files as well.
18929 (package-download-transaction): Simplify.
18930 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
18931 external tar program.
18932 (package-install-from-buffer): Remove `pkg-desc' argument.
18933 Use package-tar-file-info for tar-mode buffers.
18934 (package-install-file): Simplify accordingly.
18935 (package-archive-base): Change to take a pkg-desc.
18936 * tar-mode.el (tar--check-descriptor): New function, extracted from
18937 tar-get-descriptor.
18938 (tar-get-descriptor): Use it.
18939 (tar-get-file-descriptor): New function.
18940 (tar--extract): New function, extracted from tar-extract.
18941 (tar--extract): Use it.
18942 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
18943 case the summary uses non-ascii. Adjust to new calling convention of
18944 package-tar-file-info.
18946 2013-06-21 Leo Liu <sdl.web@gmail.com>
18948 * comint.el (comint-redirect-results-list-from-process):
18949 Fix random delay. (Bug#14681)
18951 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
18953 * profiler.el (profiler-format-number): Use log, not log10.
18955 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
18957 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
18959 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
18961 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
18962 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
18964 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
18965 (AUTOGENEL): ... here.
18966 * emacs-lisp/cl-macs.el (cl--sublis): New function.
18967 (cl--defsubst-expand): Use it.
18969 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
18971 * subr.el (log10): Move here from C code, and declare as obsolete.
18972 All uses of (log10 X) replaced with (log X 10).
18974 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
18976 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
18977 Declare with `defvar-local'.
18978 (tabulated-list-use-header-line, tabulated-list-entries)
18979 (tabulated-list-padding, tabulated-list-printer)
18980 (tabulated-list-sort-key): Declare with `defvar-local'.
18981 (tabulated-list-init-header, tabulated-list-print-fake-header):
18984 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
18986 * arc-mode.el (archive-mode): Add `archive-write-file' to
18987 `write-contents-functions' also for remote files. (Bug#14652)
18989 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
18991 * cus-edit.el (custom-commands): Fix typos.
18992 (custom-display): Fix tooltip text.
18993 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
18994 Fix typos in docstrings.
18995 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
18996 (custom-unlispify-menu-entry, custom-magic-value-create)
18997 (custom-add-see-also, custom-group-value-create): Use ?\s.
18998 (custom-guess-type, customize-apropos, editable-field)
18999 (custom-face-value-create): Use `string-match-p'.
19000 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
19002 * custom.el (custom-load-symbol): Use `string-match-p'.
19004 * ansi-color.el: Convert to lexical binding.
19005 (ansi-colors): Fix URL.
19006 (ansi-color-context, ansi-color-context-region): Use defvar-local.
19007 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
19008 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
19010 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
19012 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
19014 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
19016 2013-06-19 Tom Tromey <tromey@redhat.com>
19018 * net/eww.el (eww-top-url): Remove.
19019 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
19020 (eww-render): Set new variables. Don't set eww-top-url.
19021 (eww-handle-link): Handle "prev", "home", and "contents".
19022 Downcase the rel text.
19023 (eww-top-url): Choose best top URL.
19025 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
19027 * net/eww.el: Rewrite to implement form elements "by hand" instead of
19028 relying in widget.el. Using widget.el leads to too many
19029 user interface inconsistencies.
19030 (eww-self-insert): Implement entering commands in text fields.
19031 (eww-process-text-input): New function to make text input field editing
19033 (eww-submit): Rewrite to use the new-style form methods.
19034 (eww-select-display): Display the correct selected item.
19035 (eww-change-select): Implement changing the select value.
19036 (eww-toggle-checkbox): Implement radio/checkboxes.
19037 (eww-update-field): Fix compilation error.
19038 (eww-tag-textarea): Implement <textarea>.
19040 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
19041 we don't shadow mode-specific bindings.
19043 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
19046 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
19048 2013-06-19 Glenn Morris <rgm@gnu.org>
19050 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
19052 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
19054 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
19057 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
19059 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
19061 * net/browse-url.el (browse-url-browser-function):
19062 `eww-browse-url' has the right calling signature, `eww' does not.
19064 2013-06-19 Glenn Morris <rgm@gnu.org>
19066 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
19067 Only eval autoloaded macros.
19068 (byte-compile-autoload): Only give the macro warning for macros.
19070 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
19071 (ps-underlined-faces): Declare.
19073 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
19074 (speedbar-add-supported-extension): Declare.
19076 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
19077 Don't include a date stamp in the header of the generated file;
19078 it leads to needless differences between output files.
19080 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
19082 * net/secrets.el (secrets-struct-secret-content-type):
19083 Replace check of introspection data by a test call of "CreateItem".
19084 Some servers do not offer introspection.
19086 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
19088 * electric.el (electric-pair-mode): Improve interaction with
19089 electric-layout-mode.
19090 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
19091 (electric-pair-syntax): Use text-mode-syntax-table in comments
19093 (electric-pair--insert): New function.
19094 (electric-pair-post-self-insert-function): Use it and
19095 electric--after-char-pos.
19097 2013-06-19 Leo Liu <sdl.web@gmail.com>
19099 * progmodes/octave.el (octave-help): Fix regexp.
19101 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
19103 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
19104 (shr-table-horizontal-line): Allow nil as a value, and change the
19106 (shr-insert-table-ruler): Respect the nil value.
19108 2013-06-18 Tom Tromey <tromey@barimba>
19110 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
19112 (eww-open-file): New defun.
19113 (eww-render): Initialize new variables.
19114 (eww-display-html): Handle "link" and "a".
19115 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
19116 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
19117 (eww-back-url): Rename from eww-previous-url.
19118 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
19121 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
19123 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
19124 Distinguish ternary operator tokens from slash symbol and slash
19127 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
19129 Convert symbol prettification into minor mode and global minor mode.
19131 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
19132 `prog-prettify-symbols', and make a local defvar instead of defcustom.
19133 (prettify-symbols--keywords): Rename from
19134 `prog-prettify-symbols-alist' and make a local defvar.
19135 (prettify-symbols--compose-symbol): Rename from
19136 `prog--prettify-font-lock-compose-symbol'.
19137 (prettify-symbols--make-keywords): Rename from
19138 `prog-prettify-font-lock-symbols-keywords' and simplify.
19139 (prog-prettify-install): Remove.
19140 (prettify-symbols-mode): New minor mode, based on
19141 `prog-prettify-install'.
19142 (turn-on-prettify-symbols-mode): New function.
19143 (global-prettify-symbols-mode): New globalized minor mode.
19145 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
19146 * progmodes/cfengine.el (cfengine3-mode):
19147 * progmodes/perl-mode.el (perl-mode): Don't call
19148 `prog-prettify-install'; set `prettify-symbols-alist' instead.
19150 2013-06-18 Juri Linkov <juri@jurta.org>
19152 * files-x.el (modify-file-local-variable-message): New function.
19153 (modify-file-local-variable)
19154 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
19155 and call `modify-file-local-variable-message' when it's non-nil.
19156 (add-file-local-variable, delete-file-local-variable)
19157 (add-file-local-variable-prop-line)
19158 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
19159 and use it. (Bug#9820)
19161 2013-06-18 Juri Linkov <juri@jurta.org>
19163 * emulation/vi.el (vi-shell-op):
19164 * emulation/vip.el (vip-execute-com, ex-command):
19165 * emulation/viper-cmd.el (viper-exec-bang):
19166 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
19167 the call of `shell-command-on-region'. (Bug#14637)
19169 * simple.el (shell-command-on-region): Doc fix.
19171 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
19173 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
19176 2013-06-18 Glenn Morris <rgm@gnu.org>
19178 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
19180 * newcomment.el (comment-search-forward, comment-search-backward):
19181 Doc fix. (Bug#14376)
19183 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
19185 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
19186 (buffer-face-mode-invoke): Doc fix.
19188 2013-06-18 Matthias Meulien <orontee@gmail.com>
19190 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
19191 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
19193 2013-06-18 Glenn Morris <rgm@gnu.org>
19195 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
19196 Replace obsolete function generic-make-keywords with its expansion.
19198 * progmodes/python.el (ffap-alist): Declare.
19200 * textmodes/reftex.el (bibtex-mode-map): Declare.
19202 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
19204 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
19205 (package-unpack, package-unpack-single): Return the pkg-dir.
19206 (package-download-transaction): Use it to update package-alist.
19208 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
19210 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
19213 2013-06-17 Juri Linkov <juri@jurta.org>
19215 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
19217 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
19219 * emacs-lisp/package.el (package-load-descriptor):
19220 Remove `with-syntax-table' call, `read' doesn't need it.
19221 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
19223 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
19225 * startup.el (command-line): Expand package name returned by
19226 `package--description-file' (bug#14639).
19228 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
19230 * emacs-lisp/package.el (package-load-descriptor): Do not call
19231 `emacs-lisp-mode', just use its syntax table.
19233 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
19235 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
19236 `font-lock-extra-managed-props' if any prettifying keyword is added.
19237 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
19238 (prog-mode): Use `setq-local'.
19240 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
19242 * international/characters.el (standard-case-table): Set syntax of ?»
19243 and ?« to punctuation.
19245 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
19247 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
19248 Save relevant match data before calling `syntax-ppss' (bug#14595).
19250 2013-06-15 Juri Linkov <juri@jurta.org>
19252 * files-x.el (modify-file-local-variable-prop-line): Add local
19253 variables to the end of the existing comment on the first line.
19254 Use `file-auto-mode-skip' to skip interpreter magic line,
19255 and also skip XML declaration.
19257 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
19259 * startup.el (package--builtin-versions): New var.
19260 (package-subdirectory-regexp): Remove.
19261 (package--description-file): Hard code its value instead.
19263 * emacs-lisp/package.el: Don't activate packages older than builtin.
19264 (package-obsolete-list): Rename from package-obsolete-alist, and make
19265 it into a simple list of package-desc.
19266 (package-strip-version): Remove.
19267 (package-built-in-p): Use package--builtin-versions.
19268 (package-mark-obsolete): Simplify.
19269 (package-process-define-package): Mark it obsolete if older than the
19271 (package-handle-response): Use line-end-position.
19272 (package-read-archive-contents, package--download-one-archive):
19274 (package--add-to-archive-contents): Skip if older than the builtin or
19276 (package-menu-describe-package): Fix last change.
19277 (package-list-unversioned): New var.
19278 (package-menu--generate): Use it.
19280 * emacs-lisp/autoload.el: Manage package--builtin-versions.
19281 (autoload--insert-text, autoload--insert-cookie-text): New functions.
19282 (autoload-builtin-package-versions): New variable.
19283 (autoload-generate-file-autoloads): Use them.
19284 Remove the list of autoloaded functions/macros from the
19285 (autoload...) comments.
19287 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
19289 2013-06-15 Eli Zaretskii <eliz@gnu.org>
19291 * simple.el (line-move-partial): Don't jump to the next screen
19292 line as soon as it becomes visible. Instead, continue enlarging
19293 the vscroll until the portion of a tall screen line that's left on
19294 display is about the height of the frame's default font.
19297 2013-06-15 Glenn Morris <rgm@gnu.org>
19299 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
19300 compilation-error-regexp-alist void, or local while let-bound.
19302 * progmodes/make-mode.el (makefile-mode-syntax-table):
19303 Treat "=" as punctuation. (Bug#14614)
19305 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
19307 * help-fns.el (describe-variable):
19308 Add extra line for permanent-local variables.
19310 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
19312 * progmodes/scheme.el (scheme-font-lock-keywords-2):
19313 Add export, import, library. (Bug#9164)
19314 (library): Set indent function.
19316 2013-06-14 Glenn Morris <rgm@gnu.org>
19318 * term/xterm.el (xterm--query):
19319 Stop after first matching handler. (Bug#14615)
19321 2013-06-14 Ivan Kanis <ivan@kanis.fr>
19323 Add support for dired in saveplace.
19324 * dired.el (dired-initial-position-hook): New variable.
19325 (dired-initial-position): Call hook to place cursor position.
19326 * saveplace.el (save-place-to-alist): Add dired position.
19327 (save-place-dired-hook): New function.
19329 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
19331 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
19332 through a symbol rather than letrec.
19334 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
19335 (package-desc): Add `dir' field.
19336 (package-desc-full-name): New function.
19337 (package-load-descriptor): Combine the two arguments. Don't use `load'.
19338 (package-maybe-load-descriptor): Remove.
19339 (package-load-all-descriptors): Just call package-load-descriptor.
19340 (package--disabled-p): New function.
19341 (package-desc-vers, package-desc-doc): Remove aliases.
19342 (package--dir): Remove function.
19343 (package-activate): Check if a package is disabled.
19344 (package-process-define-package): New function, extracted from
19346 (define-package): Turn into a place holder.
19347 (package-unpack-single, package-tar-file-info):
19348 Use package--description-file.
19349 (package-compute-transaction): Use package--disabled-p.
19350 (package-download-transaction): Don't call
19351 package-maybe-load-descriptor since they're all loaded anyway.
19352 (package-install): Change argument to be a pkg-desc.
19353 (package-delete): Use a single pkg-desc argument.
19354 (describe-package-1): Use package-desc-dir instead of package--dir.
19355 Use package-desc property instead of package-symbol.
19356 (package-install-button-action): Adjust accordingly.
19357 (package--push): Rewrite.
19358 (package-menu--print-info): Adjust accordingly. Change the ID format
19360 (package-menu-describe-package, package-menu-get-status)
19361 (package-menu--find-upgrades, package-menu-mark-upgrades)
19362 (package-menu-execute, package-menu--name-predicate):
19363 Adjust accordingly.
19364 * startup.el (package--description-file): New function.
19365 (command-line): Use it.
19366 * emacs-lisp/package-x.el (package-upload-buffer-internal):
19367 Use package-desc-version.
19369 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
19370 (byte-compile-preprocess): Use it.
19371 (byte-compile-file-form-defalias): Try a bit harder to use macros we
19372 can't quite recognize.
19373 (byte-compile-add-to-list): Remove.
19374 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
19375 (cconv-closure-convert): Add assertion.
19377 * emacs-lisp/map-ynp.el: Use lexical-binding.
19378 (map-y-or-n-p): Remove unused vars `tail' and `object'.
19379 Factor out some repeated code.
19381 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
19383 * subr.el (with-eval-after-load): New macro.
19384 (eval-after-load): Allow form to be a function.
19385 take advantage of lexical-binding.
19386 (do-after-load-evaluation): Use dolist and adjust to new format.
19387 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
19389 2013-06-13 Juri Linkov <juri@jurta.org>
19391 * replace.el (perform-replace): Display "symbol " and other search
19392 modes from `isearch-message-prefix' in the *Help* buffer.
19394 * isearch.el (isearch-query-replace): Add " symbol" and other
19395 possible search modes from `isearch-message-prefix' to the prompt.
19396 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
19397 when reading a regexp to collect.
19399 2013-06-13 Juri Linkov <juri@jurta.org>
19401 * isearch.el (word-search-regexp): Match whitespace if the search
19402 string begins or ends in whitespace. The LAX arg is applied to
19403 both ends of the search string. Use `regexp-quote' and explicit
19404 \< and \> instead of \b. Use \` and \' instead of ^ and $.
19405 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
19406 boundaries are replaced with symbol boundaries, and characters
19407 between symbols match non-word non-symbol syntax. (Bug#14602)
19409 2013-06-13 Juri Linkov <juri@jurta.org>
19411 * isearch.el (isearch-del-char): Don't exceed the length of
19412 `isearch-string' by the prefix arg. (Bug#14563)
19414 2013-06-13 Juri Linkov <juri@jurta.org>
19416 * isearch.el (isearch-yank-word, isearch-yank-line)
19417 (isearch-char-by-name, isearch-quote-char)
19418 (isearch-printing-char, isearch-process-search-char):
19419 Add optional count prefix arg. (Bug#14563)
19421 * international/isearch-x.el
19422 (isearch-process-search-multibyte-characters):
19423 Add optional count prefix arg.
19425 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
19427 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
19428 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
19431 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
19433 * subr.el (set-temporary-overlay-map): Add on-exit argument.
19435 2013-06-13 Glenn Morris <rgm@gnu.org>
19437 * startup.el (tty-handle-args):
19438 Don't just discard "--" and anything after. (Bug#14608)
19440 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
19442 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
19444 Implement changes in Secret Service API. Make it backward compatible.
19445 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
19446 (secrets-create-item): Use it. Prefix properties with interface.
19448 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
19450 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
19451 (term-emulate-terminal): Respect term-suppress-hard-newline.
19453 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
19455 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
19456 Only remove a `thumb-file' overlay. (Bug#14548)
19458 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
19460 * mail/reporter.el (reporter-submit-bug-report):
19461 Handle missing package-name. (Bug#14600)
19463 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
19465 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
19466 (reftex-citation-prompt, reftex-default-bibliography)
19467 (reftex-bib-or-thebib, reftex-get-bibfile-list)
19468 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
19469 (reftex-bib-sort-author, reftex-bib-sort-year)
19470 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
19471 (reftex-extract-bib-entries-from-thebibliography)
19472 (reftex-get-bibkey-default, reftex-get-bib-names)
19473 (reftex-parse-bibtex-entry, reftex-get-bib-field)
19474 (reftex-format-bib-entry, reftex-parse-bibitem)
19475 (reftex-format-bibitem, reftex-do-citation)
19476 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
19477 (reftex-restrict-bib-matches, reftex-extract-bib-file)
19478 (reftex-insert-bib-matches, reftex-format-citation)
19479 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
19480 (reftex-create-bibtex-file): Add docstrings, mostly by converting
19481 existing comments into docstrings.
19483 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
19485 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
19487 2013-06-12 Andreas Schwab <schwab@suse.de>
19489 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
19490 for auto-save files.
19492 2013-06-12 Glenn Morris <rgm@gnu.org>
19494 * ido.el (ido-delete-ignored-files): Remove.
19495 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
19496 Go back to calling ido-ignore-item-p directly.
19498 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
19500 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
19502 * ido.el (ido-delete-ignored-files): New function,
19503 split from ido-make-file-list-1.
19504 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
19505 (ido-make-file-list-1): Use ido-delete-ignored-files.
19507 2013-06-12 Leo Liu <sdl.web@gmail.com>
19509 * progmodes/octave.el (inferior-octave-startup)
19510 (inferior-octave-completion-table)
19511 (inferior-octave-track-window-width-change)
19512 (octave-eldoc-function-signatures, octave-help)
19513 (octave-find-definition): Use single quoted strings.
19514 (inferior-octave-startup-args): Change default value.
19515 (inferior-octave-startup): Do not hard code "-i" and
19516 "--no-line-editing".
19517 (inferior-octave-resync-dirs): Add optional arg NOERROR.
19518 (inferior-octave-directory-tracker): Use it.
19519 (octave-goto-function-definition): Robustify.
19520 (octave-help): Support highlighting operators in 'See also'.
19521 (octave-find-definition): Find subfunctions only in Octave mode.
19523 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
19525 * help-fns.el (help-fns--compiler-macro): If the handler function is
19526 named, then put a link to it.
19527 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
19528 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
19529 (cl-typep): Use it.
19530 (cl-eval-when): Simplify debug spec.
19531 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
19532 compiler-macro function instead of setting `compiler-macro-file'.
19534 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
19536 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
19537 * vc/vc-hooks.el (vc-stay-local): Doc fix.
19539 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
19540 Daniel Hackney <dan@haxney.org>
19542 First part of Daniel Hackney's patch to package.el.
19543 * emacs-lisp/package.el: Use defstruct.
19544 (package-desc): New, main struct.
19545 (package--bi-desc, package--ac-desc): New structs, used to describe the
19546 format in external files.
19547 (package-desc-vers): Replace with package-desc-version accessor.
19548 (package-desc-doc): Replace with package-desc-summary accessor.
19549 (package-activate-1): Remove `package' arg since the pkg-vec now
19551 (define-package): Use package-desc-from-define.
19552 (package-unpack-single): Change file-name arg to be a symbol.
19553 (package--add-to-archive-contents): Use package-desc-create and new
19554 accessor functions to package--ac-desc.
19555 (package-buffer-info, package-tar-file-info): Return a package-desc.
19556 (package-install-from-buffer): Remove `type' argument. Change pkg-info
19557 arg to be a package-desc.
19558 (package-install-file): Adjust accordingly. Use \' to match EOS.
19559 (package--from-builtin): New function.
19560 (describe-package-1, package-menu--generate): Use it.
19561 (package--make-autoloads-and-compile): Change name arg to be a symbol.
19562 (package-generate-autoloads): Idem and return the name of the file.
19563 * emacs-lisp/package-x.el (package-upload-buffer-internal):
19564 Change pkg-info arg to be a package-desc.
19565 Use package-make-ac-desc.
19566 (package-upload-file): Use \' to match EOS.
19567 * finder.el (finder-compile-keywords): Use package-make-builtin.
19569 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
19571 * vc/vc.el (vc-deduce-fileset): Change error message.
19572 (vc-read-backend): New function.
19573 (vc-next-action): Use it.
19575 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
19577 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
19578 (prolog-font-lock-keywords): Use regexp-opt instead.
19579 Don't manually highlight strings.
19580 (prolog-mode-variables): Simplify comment-start-skip.
19581 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
19583 * emacs-lisp/generic.el (generic--normalise-comments)
19584 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
19585 (generic-mode-set-comments): Use them.
19586 (generic-bracket-support): Use setq-local.
19587 (generic-make-keywords-list): Declare obsolete.
19589 2013-06-11 Glenn Morris <rgm@gnu.org>
19591 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
19592 Prettify after setting font-lock-defaults. (Bug#14574)
19594 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
19596 * replace.el (query-replace, occur-read-regexp-defaults-function)
19598 * subr.el (declare-function, number-sequence, local-set-key)
19599 (substitute-key-definition, locate-user-emacs-file)
19600 (with-silent-modifications, split-string, eval-after-load):
19601 Fix typos, remove unneeded backslashes and reflow some docstrings.
19603 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
19605 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
19606 default for Elisp files.
19608 2013-06-11 Glenn Morris <rgm@gnu.org>
19610 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
19611 although define-derived-mode was doing this anyway. (Bug#14583)
19613 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
19615 * allout.el (allout-encryption-plaintext-sanitization-regexps):
19616 Fix make-variable-buffer-local call to refer to the correct variable.
19618 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
19620 * eshell/em-term.el (eshell-visual-commands)
19621 (eshell-visual-subcommands, eshell-visual-options):
19622 Add summary line to docstrings. Add cross-references.
19624 2013-06-10 Glenn Morris <rgm@gnu.org>
19626 * epa.el (epa-read-file-name): New function. (Bug#14510)
19627 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
19629 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
19631 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
19632 output redirection to be ignored with visual commands.
19634 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
19636 * eshell/em-term.el (eshell-visual-command-p): New function.
19637 (eshell-term-initialize): Move long lambda to separate function
19638 eshell-visual-command-p.
19639 * eshell/em-dirs.el (eshell-dirs-initialize):
19640 * eshell/em-script.el (eshell-script-initialize):
19641 Add missing #' to lambda.
19643 2013-06-08 Leo Liu <sdl.web@gmail.com>
19645 * progmodes/octave.el (octave-add-log-current-defun): New function.
19646 (octave-mode): Set add-log-current-defun-function.
19647 (octave-goto-function-definition): Do not move point if not found.
19648 (octave-find-definition): Enhance to try subfunctions first.
19650 2013-06-08 Glenn Morris <rgm@gnu.org>
19652 * emacs-lisp/bytecomp.el (byte-compile-char-before)
19653 (byte-compile-backward-char, byte-compile-backward-word):
19654 Improve previous change, to handle non-explicit nil.
19656 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
19658 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
19659 (smie--opener/closer-at-point): New function.
19660 (smie--matching-block-data): Use it. Don't match from right after an
19661 opener or right before a closer. Obey smie-blink-matching-inners.
19662 Don't signal a mismatch for repeated inners like "switch..case..case".
19664 2013-06-07 Leo Liu <sdl.web@gmail.com>
19666 * progmodes/octave.el (octave-mode): Set comment-use-global-state
19668 (octave-function-header-regexp): Fix. (Bug#14570)
19669 (octave-help-mode-finish-hook, octave-help-mode-finish):
19670 Remove. Just use temp-buffer-show-hook.
19672 * newcomment.el (comment-search-backward): Revert last change.
19675 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
19677 2013-06-07 Eli Zaretskii <eliz@gnu.org>
19679 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
19680 through xargs, to avoid failure due to MS-Windows limitations on
19681 command-line length.
19683 2013-06-06 Glenn Morris <rgm@gnu.org>
19685 * font-lock.el (lisp-font-lock-keywords-2):
19686 Treat user-error like error.
19688 * emacs-lisp/bytecomp.el (byte-compile-char-before)
19689 (byte-compile-backward-char, byte-compile-backward-word):
19690 Handle explicit nil arguments. (Bug#14565)
19692 2013-06-05 Alan Mackenzie <acm@muc.de>
19694 * isearch.el (isearch-allow-prefix): New user option.
19695 (isearch-other-meta-char): Don't exit isearch when a prefix
19696 argument is typed whilst `isearch-allow-prefix' is non-nil.
19699 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
19701 * autorevert.el (auto-revert-notify-handler): Use memq.
19702 Hide assertion failure.
19704 * skeleton.el: Use cl-lib.
19705 (skeleton-further-elements): Use defvar-local.
19706 (skeleton-insert): Use cl-progv.
19708 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
19710 * progmodes/prog-mode.el (prog-prettify-symbols)
19711 (prog-prettify-install): Update docstrings.
19713 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
19715 * simple.el: Move all the prog-mode code to prog-mode.el.
19716 * progmodes/prog-mode.el: New file.
19717 * loadup.el: Add prog-mode.el.
19719 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
19721 * simple.el (prog-prettify-symbols): Add version.
19722 (prog-prettify-install): Add convenience function to prettify symbols.
19724 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
19725 (perl--augmented-font-lock-keywords-1)
19726 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
19727 variables and use it.
19729 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
19730 (cfengine3-mode): Remove unneeded variable and use it.
19732 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
19733 (lisp--augmented-font-lock-keywords-1)
19734 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
19735 Remove unneeded variables and use it.
19737 2013-06-05 João Távora <joaotavora@gmail.com>
19739 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
19740 to point when opening the connection. (Bug#14380)
19742 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
19744 * subr.el (load-history-regexp, load-history-filename-element)
19745 (eval-after-load, after-load-functions, do-after-load-evaluation)
19746 (eval-next-after-load, display-delayed-warnings)
19747 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
19748 definition of save-match-data.
19749 (overriding-local-map): Remove accidental obsolescence declaration.
19751 * emacs-lisp/edebug.el (edebug-result): Move before first use.
19753 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
19755 Generalize symbol prettify support to prog-mode and implement it
19756 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
19757 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
19758 (prog--prettify-font-lock-compose-symbol)
19759 (prog-prettify-font-lock-symbols-keywords): New variables and
19760 functions to support symbol prettification.
19761 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
19762 (lisp--augmented-font-lock-keywords-1)
19763 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
19764 (lisp--prettify-symbols-alist): Implement prettify of lambda.
19765 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
19766 (cfengine3--prettify-symbols-alist, cfengine3-mode):
19767 Implement prettify of -> => :: strings.
19768 * progmodes/perl-mode.el (perl-prettify-symbols)
19769 (perl--font-lock-compose-symbol)
19770 (perl--font-lock-symbols-keywords): Move to prog-mode.
19771 (perl--prettify-symbols-alist): Prettify -> => :: strings.
19772 (perl-font-lock-keywords-1)
19773 (perl-font-lock-keywords-2): Remove explicit prettify support.
19774 (perl--augmented-font-lock-keywords)
19775 (perl--augmented-font-lock-keywords-1)
19776 (perl--augmented-font-lock-keywords-2, perl-mode):
19777 Implement prettify support.
19779 2013-06-05 Leo Liu <sdl.web@gmail.com>
19781 Re-implement SMIE matching block highlight using
19782 show-paren-data-function. (Bug#14395)
19783 * emacs-lisp/smie.el (smie-matching-block-highlight)
19784 (smie--highlight-matching-block-overlay)
19785 (smie--highlight-matching-block-lastpos)
19786 (smie-highlight-matching-block)
19787 (smie-highlight-matching-block-mode): Remove.
19788 (smie--matching-block-data-cache): New variable.
19789 (smie--matching-block-data): New function.
19790 (smie-setup): Use smie--matching-block-data for
19791 show-paren-data-function.
19793 * progmodes/octave.el (octave-mode-menu): Fix.
19794 (octave-find-definition): Skip garbage lines.
19796 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
19798 Fix compilation error with simultaneous dynamic+lexical scoping.
19799 Add warning when a defvar appears after the first let-binding.
19800 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
19801 (byte-compile-close-variables): Initialize it.
19802 (byte-compile--declare-var): New function.
19803 (byte-compile-file-form-defvar)
19804 (byte-compile-file-form-define-abbrev-table)
19805 (byte-compile-file-form-custom-declare-variable): Use it.
19806 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
19807 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
19808 (byte-compile-bind): Handle dynamic bindings that shadow
19810 (byte-compile-unbind): Make arg non-optional.
19811 (byte-compile-let): Simplify.
19812 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
19813 (cconv--analyse-function, cconv-analyse-form): Populate it.
19814 Protect byte-compile-bound-variables to limit the scope of defvars.
19815 (cconv-analyse-form): Add missing rule for (defvar <foo>).
19816 Remove unneeded rule for `declare'.
19818 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
19819 so as to avoid depending on cl-adjoin at run-time.
19820 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
19822 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
19823 (macroexp--warn-and-return): Use it.
19825 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
19827 * subr.el: Convert to lexical binding.
19828 (overriding-local-map): Make obsolete.
19829 (add-to-list): Doc fix. Add compiler macro.
19830 (read-key): Swap values of local maps.
19832 2013-06-05 Leo Liu <sdl.web@gmail.com>
19834 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
19836 2013-06-04 Leo Liu <sdl.web@gmail.com>
19838 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
19839 (compilation-auto-jump): Suppress the "Mark set" message to give
19840 way to exit message.
19842 2013-06-04 Alan Mackenzie <acm@muc.de>
19844 Remove faulty optimization from indentation calculation.
19845 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
19846 search limit based on 2000 characters back from indent-point.
19848 2013-06-03 Tassilo Horn <tsdh@gnu.org>
19850 * eshell/em-term.el (cl-lib): Require `cl-lib'.
19852 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
19854 * emacs-lisp/lisp.el: Use lexical-binding.
19855 (lisp--local-variables-1, lisp--local-variables): New functions.
19856 (lisp--local-variables-completion-table): New var.
19857 (lisp-completion-at-point): Use it complete let-bound vars.
19859 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
19860 eagerly (bug#14422).
19862 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
19864 * autorevert.el (auto-revert-notify-enabled)
19865 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
19866 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
19867 (auto-revert-notify-handler): Handle also gfilenotify.
19869 * subr.el (file-notify-handle-event): New defun. Replacing ...
19870 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
19873 2013-06-03 Juri Linkov <juri@jurta.org>
19875 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
19876 `M-s h .'. (Bug#14427)
19878 * hi-lock.el (highlight-symbol-at-point): New alias for the new
19879 command `hi-lock-face-symbol-at-point'.
19880 (hi-lock-face-symbol-at-point): New command.
19881 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
19882 (hi-lock-menu): Add `highlight-symbol-at-point'.
19883 (hi-lock-mode): Doc fix.
19885 * isearch.el (isearch-forward-symbol-at-point): New command.
19886 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
19887 (isearch-highlight-regexp): Add a regexp which matches
19888 words/symbols for word/symbol mode.
19890 * subr.el (find-tag-default-bounds): New function with the body
19891 mostly moved from `find-tag-default'.
19892 (find-tag-default): Move most code to `find-tag-default-bounds',
19893 call it and apply `buffer-substring-no-properties' afterwards.
19895 2013-06-03 Tassilo Horn <tsdh@gnu.org>
19897 * eshell/em-term.el (eshell-term-initialize):
19898 Use `cl-intersection' rather than `intersection'.
19900 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
19902 * vc/log-view.el: Doc fix.
19903 (log-view-mode-map): Copy keymap from `special-mode-map'.
19905 2013-06-02 Eric Ludlam <zappo@gnu.org>
19907 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
19908 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
19909 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
19910 (eieio-unbound, eieio-default-superclass)
19911 (eieio--define-field-accessors, method-static, method-before)
19912 (method-primary, method-after, method-num-lists)
19913 (method-generic-before, method-generic-primary)
19914 (method-generic-after, method-num-slots)
19915 (eieio-specialized-key-to-generic-key)
19916 (eieio--check-type, class-v, class-p)
19917 (eieio-class-name, define-obsolete-function-alias)
19918 (eieio-class-parents-fast, eieio-class-children-fast)
19919 (same-class-fast-p, class-constructor, generic-p)
19920 (generic-primary-only-p, generic-primary-only-one-p)
19921 (class-option-assoc, class-option, eieio-object-p)
19922 (class-abstract-p, class-method-invocation-order)
19923 (eieio-defclass-autoload-map, eieio-defclass-autoload)
19924 (eieio-class-un-autoload, eieio-defclass)
19925 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
19926 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
19927 (eieio--defgeneric-init-form, eieio-defgeneric-form)
19928 (eieio-defgeneric-reset-generic-form)
19929 (eieio-defgeneric-form-primary-only)
19930 (eieio-defgeneric-reset-generic-form-primary-only)
19931 (eieio-defgeneric-form-primary-only-one)
19932 (eieio-defgeneric-reset-generic-form-primary-only-one)
19933 (eieio-unbind-method-implementations)
19934 (eieio--defmethod, eieio--typep)
19935 (eieio-perform-slot-validation, eieio-validate-slot-value)
19936 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
19937 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
19938 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
19939 (eieio-slot-name-index, eieio-class-slot-name-index)
19940 (eieio-set-defaults, eieio-initarg-to-attribute)
19941 (eieio-attribute-to-initarg, eieio-c3-candidate)
19942 (eieio-c3-merge-lists, eieio-class-precedence-c3)
19943 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
19944 (eieio-class-precedence-list, eieio-generic-call-methodname)
19945 (eieio-generic-call-arglst, eieio-generic-call-key)
19946 (eieio-generic-call-next-method-list)
19947 (eieio-pre-method-execution-functions, eieio-generic-call)
19948 (eieio-generic-call-primary-only, eieiomt-method-list)
19949 (eieiomt-optimizing-obarray, eieiomt-install)
19950 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
19951 (eieio-generic-form, eieio-defmethod, make-obsolete)
19952 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
19953 (defclass): Remove `eval-and-compile' from macro.
19954 (call-next-method, shared-initialize): Instead of using
19955 `scoped-class' variable, use new eieio--scoped-class, and
19956 eieio--with-scoped-class.
19957 (initialize-instance): Rename local variable 'scoped-class' to
19958 'this-class' to remove ambiguitity from old global.
19960 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
19962 (eieio--scoped-class-stack): New variable.
19963 (eieio--scoped-class): New fcn.
19964 (eieio--with-scoped-class): New scoping macro.
19965 (eieio-defclass): Use pushnew instead of add-to-list.
19966 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
19967 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
19968 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
19969 `scoped-class' variable, use new eieio--scoped-class, and
19970 eieio--with-scoped-class.
19972 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
19974 2013-06-02 Tassilo Horn <tsdh@gnu.org>
19976 * eshell/esh-ext.el (eshell-external-command): Pass args to
19977 `eshell-find-interpreter'.
19978 (eshell-find-interpreter): Add new second parameter ARGS.
19980 * eshell/em-script.el (eshell-script-initialize): Add second arg
19981 to the function added as MATCH to `eshell-interpreter-alist'.
19983 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
19984 the function added as MATCH to `eshell-interpreter-alist'.
19986 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
19987 (eshell-visual-options): New defcustom.
19988 (eshell-escape-control-x): Adapt docstring.
19989 (eshell-term-initialize): Test `eshell-visual-subcommands' and
19990 `eshell-visual-options' in addition to `eshell-visual-commands'.
19991 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
19993 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
19995 * progmodes/python.el (python-indent-block-enders): Add break,
19996 continue and raise keywords.
19998 2013-06-01 Glenn Morris <rgm@gnu.org>
20000 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
20002 Plain (f)boundp silences compilation warnings since Emacs 22.1.
20003 * progmodes/cc-cmds.el (delete-forward-p):
20004 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
20005 * progmodes/cc-engine.el (buffer-syntactic-context):
20006 * progmodes/cc-fonts.el (face-property-instance):
20007 * progmodes/cc-mode.el (set-keymap-parents):
20008 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
20009 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
20010 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
20011 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
20012 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
20014 * progmodes/cc-vars.el (other): Emacs has this widget since
20015 at least 21.1, so don't (re)define it.
20017 * eshell/em-cmpl.el (eshell-cmpl-initialize):
20018 Replace the obsolete alias pcomplete-arg-quote-list.
20020 2013-06-01 Leo Liu <sdl.web@gmail.com>
20022 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
20023 punctuation syntax.
20024 (inferior-octave-minimal-columns)
20025 (inferior-octave-last-column-width): New variables.
20026 (inferior-octave-track-window-width-change): New function.
20027 (inferior-octave-mode): Adjust column width so that Octave output,
20028 for example from 'ls', can fit into the window nicely.
20030 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
20032 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
20033 Highlight expansions inside regexp literals.
20035 2013-05-31 Glenn Morris <rgm@gnu.org>
20037 * obsolete/sym-comp.el (symbol-complete):
20038 Replace obsolete completion-annotate-function.
20040 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
20042 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
20044 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
20045 New function, checks if point is inside a literal that allows
20046 expression expansion.
20047 (ruby-syntax-propertize-expansion): Use it.
20048 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
20051 2013-05-30 Juri Linkov <juri@jurta.org>
20053 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
20055 (isearch-invisible): New variable.
20056 (isearch-forward): Doc fix.
20057 (isearch-mode): Set `isearch-invisible'
20058 to the value of `search-invisible'.
20059 (isearch-toggle-case-fold): Doc fix.
20060 (isearch-toggle-invisible): New command.
20061 (isearch-query-replace): Let-bind `search-invisible'
20062 to the value of `isearch-invisible'.
20063 (isearch-search): Use `isearch-invisible' instead of
20064 `search-invisible'. Let-bind `search-invisible'
20065 to the value of `isearch-invisible'. (Bug#11378)
20067 2013-05-30 Juri Linkov <juri@jurta.org>
20069 * replace.el (perform-replace): Avoid `isearch-range-invisible'
20070 call when `query-flag' is nil and `search-invisible' is non-nil.
20073 2013-05-30 Glenn Morris <rgm@gnu.org>
20075 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
20077 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
20078 (cc-require): Suppress spurious "noruntime" warnings.
20079 (cc-require-when-compile): Use fboundp, for sake of compiler.
20081 * progmodes/cc-mode.el: Move load of cc-vars before that of
20082 cc-langs (which in turn loads cc-vars), to quieten compiler.
20084 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
20086 * paren.el: Simplify the code.
20087 (show-paren-mode): Always start the timer.
20088 (show-paren--idle-timer): Rename from show-paren-idle-timer.
20089 (show-paren--overlay, show-paren--overlay-1): Rename from
20090 show-paren-overlay and show-paren-overlay-1, and initialize to an
20091 overlay rather than to nil.
20092 (show-paren-function): Misc cleanup and simplifications.
20094 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
20096 * paren.el (show-paren-data-function): New hook.
20097 (show-paren--default): New function, extracted from show-paren-function.
20098 (show-paren-function): Use show-paren-data-function.
20100 2013-05-30 Glenn Morris <rgm@gnu.org>
20102 * ielm.el (ielm-map, ielm-complete-symbol):
20103 Use completion-at-point rather than obsolete functions.
20104 (inferior-emacs-lisp-mode): Doc fix.
20105 Set completion-at-point-functions, rather than
20106 comint-dynamic-complete-functions.
20108 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
20109 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
20110 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
20112 * image.el (image-animated-p): Tweak definition.
20114 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
20115 (rlogin-process-connection-type): Tweak default. Add set-after.
20116 (rlogin-host): Doc fix.
20117 (rlogin): Tweak prompt.
20118 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
20120 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
20121 * progmodes/tcl.el (inferior-tcl-mode-map):
20122 Use completion-at-point rather than obsolete alias.
20124 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
20126 * minibuffer.el (read-file-name-completion-ignore-case):
20127 Move before completion--in-region, for eager macro expansion.
20129 2013-05-29 Juri Linkov <juri@jurta.org>
20131 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
20132 for total count of matching lines. Add `global-matches' for total
20133 count of matches. Rename `matches' to `lines' for count of
20134 matching lines. Add `matches' for count of matches.
20135 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
20136 to `prev-line' for line number of prev match endpt.
20137 Increment `matches' for every match. Print the number of
20138 matching lines in the header.
20139 (occur-context-lines): Rename `lines' to `curr-line'.
20140 Rename `prev-lines' to `prev-line'. (Bug#14017)
20142 2013-05-29 Juri Linkov <juri@jurta.org>
20144 * replace.el (perform-replace): Add `skip-read-only-count',
20145 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
20146 Increment them for corresponding conditions and report the number
20147 of skipped occurrences in the final message. (Bug#11746)
20148 (query-replace, query-replace-regexp, query-replace-regexp-eval)
20149 (replace-string, replace-regexp): Doc fix.
20151 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
20153 * emacs-lisp/trace.el (trace--read-args): Provide a default.
20155 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
20156 prog-mode-map (bug#14504).
20158 2013-05-29 Leo Liu <sdl.web@gmail.com>
20160 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
20161 (octave-help): Small simplification.
20163 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
20164 off the highlight first.
20166 2013-05-29 Glenn Morris <rgm@gnu.org>
20168 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
20169 Handle idlwave-last-system-routine-info-cons-cell being nil.
20171 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
20172 (idlwave-write-paths): Simplify via with-temp-buffer.
20174 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
20175 * emulation/cua-rect.el: Also load cua-base at run time.
20177 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
20178 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
20179 (cperl-imenu-on-info): Require imenu.
20181 2013-05-28 Alan Mackenzie <acm@muc.de>
20183 Handle "capitalised keywords" correctly.
20184 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
20186 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
20188 * eshell/em-unix.el: Add -r option to cp.
20190 2013-05-28 Glenn Morris <rgm@gnu.org>
20192 * vc/vc-arch.el (vc-exec-after): Declare.
20193 (vc-switches): Autoload.
20194 * vc/vc-bzr.el: No need to require vc when compiling.
20195 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
20196 (vc-resynch-buffer, vc-dir-refresh): Declare.
20197 (vc-setup-buffer, vc-switches): Autoload.
20198 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
20199 (vc-resynch-buffer): Declare.
20200 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
20201 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
20202 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
20203 (grep-read-regexp, grep-read-files, grep-expand-template)
20204 (vc-dir-refresh): Declare.
20205 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
20206 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
20207 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
20208 * vc/vc-mtn.el (vc-exec-after): Declare.
20209 (vc-switches): Autoload.
20210 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
20211 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
20212 (vc-file-tree-walk): Declare.
20213 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
20214 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
20215 (vc-tag-precondition, vc-rename-master): Autoload.
20216 * vc/vc-svn.el (vc-exec-after): Declare.
20217 (vc-switches, vc-setup-buffer): Autoload.
20218 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
20220 (vc-resynch-buffer): Declare.
20222 * obsolete/fast-lock.el (byte-compile-warnings):
20223 Don't warn about obsolete features in this obsolete file.
20225 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
20226 Move definition before use.
20228 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
20229 (dun-unix-verbs): Remove dun-zippy.
20230 (dun-zippy): Remove function.
20232 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
20234 2013-05-27 Juri Linkov <juri@jurta.org>
20236 * replace.el (replace-search): New function with code moved out
20237 from `perform-replace'.
20238 (replace-highlight, replace-dehighlight): Move function definitions
20239 up closer to `replace-search'. (Bug#11746)
20241 2013-05-27 Juri Linkov <juri@jurta.org>
20243 * replace.el (perform-replace): Ignore invisible matches.
20244 In addition to checking `query-replace-skip-read-only', also
20245 filter out matches by calling `run-hook-with-args-until-failure'
20246 on `isearch-filter-predicates', and also check `search-invisible'
20247 for t or call `isearch-range-invisible'.
20248 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
20250 2013-05-27 Juri Linkov <juri@jurta.org>
20252 * isearch.el (isearch-filter-predicates): Rename from
20253 `isearch-filter-predicate'. Doc fix. (Bug#11378)
20254 (isearch-message-prefix): Display text from the property
20255 `isearch-message-prefix' of the currently active filters.
20256 (isearch-search): Don't compare `isearch-filter-predicate' with
20257 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
20258 on `isearch-filter-predicates'. Also check `search-invisible' for t
20259 or call `isearch-range-invisible'.
20260 (isearch-filter-visible): Make obsolete.
20261 (isearch-lazy-highlight-search):
20262 Call `run-hook-with-args-until-failure' on
20263 `isearch-filter-predicates' and use `isearch-range-invisible'.
20265 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
20266 `isearch-filter-predicates' instead of `funcall'ing
20267 `isearch-filter-predicate'.
20268 (Info-mode): Set `Info-isearch-filter' to
20269 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
20271 * dired-aux.el (dired-isearch-filter-predicate-orig):
20273 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
20274 (dired-isearch-filenames-end): Add and remove
20275 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
20276 instead of changing the value of `isearch-filter-predicate'.
20277 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
20278 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
20279 Put property `isearch-message-prefix' to "filename " on
20280 `dired-isearch-filter-filenames'.
20282 * wdired.el (wdired-change-to-wdired-mode):
20283 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
20284 locally instead of changing `isearch-filter-predicate'.
20285 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
20287 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
20289 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
20290 return the commit hash (Bug#14459). Also set the
20291 `vc-git-detached' property.
20292 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
20293 (vc-git-mode-line-string): Use the same help-echo format whether
20294 in detached mode or not, because we know the actual revision now.
20295 When in detached mode, shorten the revision to 7 chars.
20297 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
20299 * emacs-lisp/easy-mmode.el (define-minor-mode):
20300 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
20301 mode hook and provide a docstring.
20303 2013-05-27 Alan Mackenzie <acm@muc.de>
20305 Remove spurious syntax-table text properties inserted by C-y.
20306 * progmodes/cc-mode.el (c-after-change): Also clear hard
20307 syntax-table property with value nil.
20309 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
20311 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
20312 when reading the events; the buffer layout shall not be changed.
20314 2013-05-27 Leo Liu <sdl.web@gmail.com>
20316 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
20318 (inferior-octave-directory-tracker): Automatically re-sync
20320 (octave-help): Improve handling of 'See also'.
20322 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
20324 * doc-view.el: Minor naming convention tweaks.
20325 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
20327 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
20328 even if there's no `display' property yet (bug#14435).
20330 2013-05-25 Eli Zaretskii <eliz@gnu.org>
20332 * subr.el (unmsys--file-name): Rename from reveal-filename.
20334 * Makefile.in (custom-deps, finder-data, autoloads)
20335 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
20336 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
20337 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
20339 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
20341 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
20342 error-completion on the first 2 args of condition-case (bug#14446).
20345 2013-05-25 Leo Liu <sdl.web@gmail.com>
20347 * comint.el (comint-previous-matching-input): Do not flood the
20348 *Messages* buffer with trivial messages.
20350 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
20352 * progmodes/flymake.el (flymake-nop): Don't return a string.
20353 (flymake-set-at): Fix typo.
20355 * simple.el (read--expression): New function, extracted from
20356 eval-expression. Set completion-at-point-functions (bug#14465).
20357 (eval-expression, eval-minibuffer): Use it.
20359 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
20361 * progmodes/flymake.el (flymake-save-buffer-in-file)
20362 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
20363 (flymake-selected-frame, flymake-log, flymake-ins-after)
20364 (flymake-set-at, flymake-get-buildfile-from-cache)
20365 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
20366 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
20367 Refine the doc string.
20368 (flymake-get-file-name-mode-and-masks): Reformat.
20369 (flymake-get-real-file-name-function): Fix a minor bug.
20371 2013-05-24 Juri Linkov <juri@jurta.org>
20373 * progmodes/grep.el (grep-mode-font-lock-keywords):
20374 Support =linenumber= format used by git-grep for lines with
20375 function names. (Bug#13549)
20377 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
20379 * progmodes/octave.el (octave-smie-rules): Return nil rather than
20380 0 after a semi-colon; it works better for smie-auto-fill.
20381 (octave--indent-new-comment-line): New function.
20382 (octave-indent-new-comment-line): Use it (indirectly).
20383 (octave-mode): Don't disable smie-auto-fill. Use add-function to
20384 modify comment-line-break-function.
20386 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
20387 (smie-setup): Use add-function to set it.
20389 2013-05-24 Sam Steingold <sds@gnu.org>
20391 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
20392 argument (before the `interactive' argument).
20394 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
20396 * image-mode.el (image-mode-winprops): Add winprops to
20397 image-mode-winprops-alist before running
20398 image-mode-new-window-functions.
20399 * doc-view.el (doc-view-new-window-function): Don't delay
20400 doc-view-goto-page via timers (bug#14435).
20402 2013-05-24 Tassilo Horn <tsdh@gnu.org>
20404 * doc-view.el: Integrate with desktop.el. (Bug#14435)
20405 (doc-view-desktop-save-buffer): New function.
20406 (doc-view-restore-desktop-buffer): New function.
20407 (desktop-buffer-mode-handlers):
20408 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
20410 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
20411 `desktop-save-buffer' function.
20413 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
20415 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
20416 (tramp-gvfs-file-name-handler): Raise a user error when
20417 `tramp-gvfs-enabled' is nil.
20418 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
20419 Do not raise a user error when loading package. (Bug#14447)
20421 * net/xesam.el: Move to obsolete/.
20423 2013-05-24 Glenn Morris <rgm@gnu.org>
20425 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
20427 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
20429 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
20430 (Info-find-node, Man-getpage-in-background): Declare.
20432 * mail/unrmail.el (unrmail):
20433 Replace obsolete detect-coding-with-priority.
20435 * net/socks.el (socks-split-string): Use this rather than split-string.
20436 (socks-nslookup-host): Update for above change.
20437 (dynamic-choice, s5-dynamic-choice-match)
20438 (s5-dynamic-choice-match-inline, s5-widget-value-create):
20439 Comment out unused code.
20441 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
20442 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
20443 (gud-tooltip-echo-area): Make obsolete.
20444 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
20446 * progmodes/js.el (js--optimize-arglist): Declare.
20448 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
20450 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
20451 (ediff-window-C): Declare.
20453 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
20454 Tweak requires to silence compiler.
20456 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
20457 (he-search-string, he-tried-table, he-expand-list)
20458 (he-init-string, he-string-member, he-substitute-string)
20459 (he-reset-string): Declare.
20461 * obsolete/options.el (list-options): Use custom-variable-p,
20462 rather than obsolete alias.
20464 2013-05-23 Sam Steingold <sds@gnu.org>
20466 * simple.el (shell-command-on-region): Pass the `replace' argument
20467 down to `call-process-region' to comply with the doc as reported on
20468 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
20470 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
20472 * emacs-lisp/smie.el (smie-indent-forward-token)
20473 (smie-indent-backward-token): Handle string tokens (bug#14381).
20475 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
20477 * ielm.el (ielm-menu): New menu.
20478 (inferior-emacs-lisp-mode): Set comment-start.
20480 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
20482 * textmodes/reftex.el (reftex-ref-style-toggle):
20483 Fix deactivate action.
20485 * textmodes/reftex-vars.el (reftex-ref-style-alist):
20486 Add cleveref macros.
20488 * textmodes/reftex-parse.el (reftex-locate-bibliography-files):
20489 Accept options for bibliography commands.
20490 * textmodes/reftex-vars.el (reftex-bibliography-commands):
20491 Add addbibresource. Basic Biblatex support.
20493 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
20495 * net/tramp-gvfs.el (top):
20496 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
20497 when loading package. (Bug#14447)
20499 2013-05-23 Glenn Morris <rgm@gnu.org>
20501 * progmodes/js.el: No need to load comint when compiling.
20502 (ring-insert, comint-send-string, comint-send-input)
20503 (comint-last-input-end, ido-chop): Declare.
20505 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
20506 * vc/ediff-mult.el: Adjust requires.
20507 (ediff-directories-internal, ediff-directory-revisions-internal)
20508 (ediff-patch-file-internal): Declare.
20509 * vc/ediff-ptch.el: Adjust requires.
20510 (ediff-use-last-dir, ediff-buffers-internal): Declare.
20511 (ediff-find-file): Autoload.
20512 * vc/ediff-util.el: No need to load ediff when compiling.
20513 (ediff-regions-internal): Declare.
20514 * vc/ediff-wind.el: Adjust requires.
20515 (ediff-compute-toolbar-width): Define when compiling.
20516 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
20517 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
20518 (dired-get-filename, dired-get-marked-files)
20519 (ediff-last-dir-patch, ediff-patch-default-directory)
20520 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
20521 (ediff-patch-buffer-internal): Declare.
20523 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
20524 (ispell-process, ispell-buffer-local-words, lm-summary)
20525 (lm-section-start, lm-section-end): Declare.
20526 (checkdoc-ispell-init): Simplify.
20528 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
20529 (he-string-member, he-reset-string, he-substitute-string): Declare.
20531 * eshell/em-ls.el: Adjust requires.
20532 (eshell-glob-regexp): Declare.
20533 * eshell/em-tramp.el: Adjust requires.
20534 (eshell-parse-command): Autoload.
20535 * eshell/em-xtra.el: Adjust requires.
20536 (eshell-parse-command): Autoload.
20537 * eshell/esh-ext.el: Adjust requires.
20538 (eshell-parse-command, eshell-close-handles): Autoload.
20539 * eshell/esh-io.el: Adjust requires.
20540 (eshell-output-filter): Autoload.
20541 * eshell/esh-util.el: No need to load tramp when compiling.
20542 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
20544 (eshell-parse-ange-ls): Require ange-ftp and tramp.
20545 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
20546 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
20547 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
20548 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
20549 * eshell/esh-opt.el, eshell/esh-proc.el:
20550 * eshell/esh-var.el: Adjust requires.
20551 * eshell/eshell.el: Do not require esh-util twice.
20552 (eshell-add-input-to-history): Declare.
20553 (eshell-command): Check history module is active before using it.
20555 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
20557 2013-05-22 Leo Liu <sdl.web@gmail.com>
20559 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
20561 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
20563 * autorevert.el (auto-revert-notify-add-watch)
20564 (auto-revert-notify-handler): Add `attrib' for the inotify case,
20565 it indicates changes in file modification time.
20567 2013-05-22 Glenn Morris <rgm@gnu.org>
20569 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
20570 Always delete the autoloaded function from the noruntime and
20571 unresolved functions lists.
20573 * allout.el: No need to load epa, epg, overlay when compiling.
20574 (epg-context-set-passphrase-callback, epg-list-keys)
20575 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
20576 (epg-key-user-id-list): Declare.
20578 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
20579 (viper-set-parsing-style-toggling-macro)
20580 (viper-set-emacs-state-searchstyle-macros):
20581 Use called-interactively-p on Emacs.
20582 (viper-looking-back): Make it an obsolete alias. Update callers.
20583 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
20584 Use looking-back rather than viper-looking-back.
20585 (viper-tmp-insert-at-eob, viper-enlarge-region)
20586 (viper-read-string-with-history, viper-register-to-point)
20587 (viper-append-to-register, viper-change-state-to-vi)
20588 (viper-backward-char-carefully, viper-forward-char-carefully)
20589 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
20590 (viper-change-state-to-emacs): Declare.
20591 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
20592 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
20593 * emulation/viper-mous.el: Do not load viper-cmd.
20594 (viper-backward-char-carefully, viper-forward-char-carefully)
20595 (viper-forward-word, viper-adjust-window): Declare.
20597 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
20599 * progmodes/idlw-help.el (idlwave-help-fontify):
20600 Use called-interactively-p.
20602 * term/w32console.el (w32-get-console-codepage)
20603 (w32-get-console-output-codepage): Declare.
20605 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
20606 Remove unnecessary declarations.
20607 (dframe-message): Doc fix.
20609 * info.el (dframe-select-attached-frame, dframe-current-frame):
20612 * speedbar.el (speedbar-message): Make it an obsolete alias.
20613 Update all callers.
20614 (speedbar-with-attached-buffer)
20615 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
20616 (speedbar-with-writable): Use backquote.
20617 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
20618 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
20619 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
20620 rather than speedbar- aliases.
20621 * mail/rmail.el: Load dframe rather than speedbar when compiling.
20622 (speedbar-make-specialized-keymap, speedbar-insert-button)
20623 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
20624 (speedbar-do-function-pointer): Declare.
20625 (rmail-speedbar-button, rmail-speedbar-find-file)
20626 (rmail-speedbar-move-message):
20627 Use dframe-with-attached-buffer rather than speedbar- alias.
20628 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
20629 (dframe-message, speedbar-make-specialized-keymap)
20630 (speedbar-add-expansion-list, speedbar-mode-functions-list)
20631 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
20632 (speedbar-insert-button, dframe-select-attached-frame)
20633 (dframe-maybee-jump-to-attached-frame)
20634 (speedbar-change-initial-expansion-list)
20635 (speedbar-previously-used-expansion-list-name): Declare.
20636 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
20637 Use dframe-message, dframe-with-attached-buffer rather than
20639 (gud-sentinel): Silence compiler.
20640 * progmodes/vhdl-mode.el (speedbar-refresh)
20641 (speedbar-do-function-pointer, speedbar-add-supported-extension)
20642 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
20643 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
20644 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
20645 (speedbar-file-lists, speedbar-make-tag-line)
20646 (speedbar-line-directory, speedbar-goto-this-file)
20647 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
20648 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
20649 (speedbar-make-button, speedbar-reset-scanners)
20650 (speedbar-files-item-info, speedbar-line-text)
20651 (speedbar-find-file-in-frame, speedbar-set-timer)
20652 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
20653 (speedbar-with-writable): Do not (re)define it.
20654 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
20655 rather than speedbar- alias.
20657 2013-05-21 Leo Liu <sdl.web@gmail.com>
20659 * progmodes/octave.el (octave-mode-menu): Update and re-organize
20661 (octave-mode): Tweak fill-nobreak-predicate.
20662 (inferior-octave-startup): Check process to avoid infinite loop.
20663 (inferior-octave): Pop to buffer first to show abornmal process
20666 2013-05-21 Glenn Morris <rgm@gnu.org>
20668 * printing.el (pr-menu-bar): Define when compiling.
20670 2013-05-21 Leo Liu <sdl.web@gmail.com>
20672 * progmodes/octave.el (octave-auto-fill): Remove.
20673 (octave-indent-new-comment-line): Improve.
20674 (octave-mode): Use auto fill mode through
20675 comment-line-break-function and fill-nobreak-predicate.
20676 (octave-goto-function-definition): Support DEFUN_DLD.
20677 (octave-beginning-of-defun): Small tweak.
20678 (octave-help): Show parent directory.
20680 2013-05-21 Glenn Morris <rgm@gnu.org>
20682 * files.el (dired-unmark):
20683 * progmodes/gud.el (gdb-input): Update declarations.
20685 * calculator.el (electric, ehelp): No need to load when compiling.
20686 (Electric-command-loop, electric-describe-mode): Declare.
20688 * doc-view.el (doc-view-current-converter-processes): Move before use.
20690 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
20691 Move MODE-set-explicitly definition before use.
20693 * international/mule-diag.el (mule-diag):
20694 Don't use obsolete window-system-version.
20696 * mail/feedmail.el (smtpmail): No need to load when compiling.
20697 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
20699 * mail/mail-utils.el (rfc822): No need to load when compiling.
20700 (rfc822-addresses): Autoload it.
20701 (mail-strip-quoted-names): Trivial simplification.
20703 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
20704 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
20706 * net/snmp-mode.el (tempo): Don't duplicate requires.
20708 * progmodes/prolog.el (info): No need to load when compiling.
20709 (comint): Require before shell requires it.
20710 (Info-goto-node): Autoload it.
20711 (Info-follow-nearest-node): Declare.
20712 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
20714 * textmodes/artist.el (picture-mode-exit): Declare.
20716 * textmodes/reftex-parse.el (reftex-parse-from-file):
20717 Trivial rewrite so the compiler can parse it better.
20719 2013-05-20 Leo Liu <sdl.web@gmail.com>
20721 * progmodes/octave.el (octave-help-mode-map)
20722 (octave-help-mode-finish-hook): New variables.
20723 (octave-help-mode, octave-help-mode-finish): New functions.
20724 (octave-help): Use octave-help-mode.
20726 2013-05-20 Glenn Morris <rgm@gnu.org>
20728 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
20730 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
20732 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
20733 start at point, so that expansion starting right after opening
20734 slash in a regexp is recognized.
20735 (ruby-syntax-before-regexp-re): New defvar, extracted from
20736 ruby-syntax-propertize-function. Since the value of this regexp
20737 is looked up at runtime now, we should be able to turn
20738 `ruby-syntax-methods-before-regexp' into a defcustom later.
20739 (ruby-syntax-propertize-function): Split regexp matching into two
20740 parts, for opening and closing slashes. That allows us to skip
20741 over string interpolations and support multiline regexps.
20742 Don't call `ruby-syntax-propertize-expansions', instead use another rule
20743 for them, which calls `ruby-syntax-propertize-expansion'.
20744 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
20745 call to `ruby-syntax-propertize-function'.
20746 (ruby-syntax-propertize-expansion): Extracted from
20747 `ruby-syntax-propertize-expansions'. Handles one expansion.
20748 (ruby-syntax-propertize-percent-literal): Leave point right after
20749 the percent symbol, so that the expression expansion rule can
20750 propertize the contents.
20751 (ruby-syntax-propertize-heredoc): Leave point at bol following the
20753 (ruby-syntax-propertize-expansions): Remove.
20755 2013-05-18 Juri Linkov <juri@jurta.org>
20757 * man.el (Man-default-man-entry): Remove `-' from the end
20758 of the default value. (Bug#14400)
20760 2013-05-18 Glenn Morris <rgm@gnu.org>
20762 * comint.el (comint-password-prompt-regexp):
20763 Allow "password for XXX" where XXX contains colons (eg https://...).
20765 2013-05-18 Leo Liu <sdl.web@gmail.com>
20767 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
20768 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
20769 (octave-source-directories): Don't check process.
20770 (octave-source-directories, octave-find-definition): Doc fix.
20772 2013-05-18 Glenn Morris <rgm@gnu.org>
20774 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
20775 Remove backspace/delete bindings. (Bug#14392)
20777 * cus-dep.el (custom-make-dependencies): Sort the output.
20778 (custom-versions-load-alist): Convert comment to doc.
20780 2013-05-17 Leo Liu <sdl.web@gmail.com>
20782 * newcomment.el (comment-search-backward): Stricter in finding
20783 comment start. (Bug#14303)
20785 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
20786 (octave-comment-start-skip): Properly anchored.
20788 2013-05-17 Leo Liu <sdl.web@gmail.com>
20790 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
20791 Clean up when turned off. (Bug#14395)
20792 (smie--highlight-matching-block-overlay): No longer buffer-local.
20793 (smie-highlight-matching-block): Adjust.
20795 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
20797 Doc string fix for "nanoseconds" (Bug#14406).
20798 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
20799 Fix doc string typo that had "nanoseconds" instead of "microseconds".
20801 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
20803 * calc/calc-units.el (math-extract-units): Preserve powers
20806 2013-05-17 Leo Liu <sdl.web@gmail.com>
20808 * subr.el (delete-consecutive-dups): New function.
20809 * ido.el (ido-set-matches-1): Use it.
20810 * progmodes/octave.el (inferior-octave-completion-table): Use it.
20811 * ido.el (ido-remove-consecutive-dups): Remove.
20813 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
20815 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
20816 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
20817 regexp-opt's `words'.
20819 2013-05-16 Leo Liu <sdl.web@gmail.com>
20821 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
20822 (smie--highlight-matching-block-overlay)
20823 (smie--highlight-matching-block-lastpos)
20824 (smie--highlight-matching-block-timer): New variables.
20825 (smie-highlight-matching-block): New function.
20826 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
20827 (smie-setup): Conditionally enable smie-blink-matching-open.
20829 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
20831 Sync with upstream verilog-mode r840.
20832 * progmodes/verilog-mode.el (verilog-mode-version)
20833 (verilog-mode-release-date): Update.
20834 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
20835 (verilog-sig-tieoff): Fix string error on
20836 AUTORESET with colon define, bug594. Reported by Andrew Hou.
20837 (verilog-read-decls): Fix parameters confusing
20838 AUTOINST interfaces, bug565. Reported by Leith Johnson.
20840 2013-05-16 Eli Zaretskii <eliz@gnu.org>
20842 * subr.el (reveal-filename): New function.
20844 * loadup.el: Compute Emacs executable versions on MS-Windows,
20845 where executables have the .exe extension. Add a hard link
20846 emacs-XX.YY.ZZ.exe on MS-Windows.
20848 * Makefile.in (XARGS_LIMIT): New variable.
20849 (custom-deps, finder-data, autoloads)
20850 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
20851 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
20852 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
20853 (compile-main): Limit xargs according to $(XARGS_LIMIT).
20855 2013-05-16 Leo Liu <sdl.web@gmail.com>
20857 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
20858 (octave-mode-menu, octave-mode-map): Remove its uses.
20860 2013-05-16 Reto Zimmermann <reto@gnu.org>
20862 Sync with upstream vhdl mode v3.34.2.
20863 * progmodes/vhdl-mode.el: Use `push' throughout.
20864 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
20865 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
20866 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
20867 (vhdl-actual-generic-name): New option to derive actual generic name.
20868 (vhdl-port-paste-signals): Replace formal by actual generics.
20869 (vhdl-beautify): New name for old group vhdl-align. Update users.
20870 (vhdl-beautify-options): New option.
20871 (vhdl-last-input-event): New compat alias. Use throughout.
20872 (vhdl-goto-line): Replace user level function `goto-line'.
20873 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
20874 vhdl-fix-statement-buffer.
20875 (vhdl-create-mode-menu): Add some entries.
20876 (vhdl-align-region-groups): Respect vhdl-beautify-options.
20877 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
20878 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
20879 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
20880 to force statements on one line.
20881 (vhdl-remove-trailing-spaces-region):
20882 New, split from vhdl-remove-trailing-spaces.
20883 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
20884 Respect vhdl-beautify-options.
20885 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
20886 (vhdl-update-sensitivity-list): Not add with index if exists without.
20887 Not include array index with signal. Ignore keywords in comments.
20888 (vhdl-get-visible-signals): Regexp tweaks.
20889 (vhdl-template-component-inst): Handle empty library.
20890 (vhdl-template-type): Add template for 'enum' type.
20891 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
20892 Use vhdl-replace-string.
20893 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
20894 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
20895 (vhdl-speedbar-initialize): Update for above name change.
20896 (vhdl-compose-wire-components): Fix in handling of constants.
20897 (vhdl-error-regexp-emacs-alist): New variable.
20898 (vhdl-error-regexp-add-emacs): New function;
20899 adds support for new compile.el (Emacs 22+)
20900 (vhdl-generate-makefile-1): Change target order for single lib. units.
20901 Allow use of absolute file names.
20903 2013-05-16 Leo Liu <sdl.web@gmail.com>
20905 * simple.el (prog-indent-sexp): Indent enclosing defun.
20907 2013-05-15 Glenn Morris <rgm@gnu.org>
20909 * cus-start.el (show-trailing-whitespace): Move to editing basics.
20910 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
20911 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
20912 (whitespace-highlight): Move to whitespace group.
20914 * comint.el (comint-source):
20915 * pcmpl-linux.el (pcmpl-linux):
20916 * shell.el (shell-faces):
20917 * eshell/esh-opt.el (eshell-opt):
20918 * international/ccl.el (ccl): Remove empty custom groups.
20920 * completion.el (dynamic-completion-mode):
20921 * jit-lock.el (jit-lock-debug-mode):
20922 * minibuffer.el (completion-in-region-mode):
20923 * type-break.el (type-break-mode-line-message-mode)
20924 (type-break-query-mode):
20925 * emulation/tpu-edt.el (tpu-edt-mode):
20926 * progmodes/subword.el (global-subword-mode, global-superword-mode):
20927 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
20928 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
20930 * term/xterm.el (xterm): Change parent group to terminals.
20932 * master.el (master): Remove empty custom group.
20933 (master-mode): Remove unused :group argument.
20934 * textmodes/refill.el (refill): Remove empty custom group.
20935 (refill-mode): Remove unused :group argument.
20937 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
20939 * cus-dep.el: Provide a feature.
20940 (custom-make-dependencies): Ignore dotfiles (dir-locals).
20941 Don't mistakenly ignore files whose basenames match a basename
20942 from preloaded-file-list (eg cedet/ede/simple.el).
20943 Add a fallback method for getting :group.
20945 2013-05-15 Juri Linkov <juri@jurta.org>
20947 * isearch.el (isearch-char-by-name): Rename from
20948 `isearch-insert-char-by-name'. Doc fix.
20949 (isearch-forward): Mention `isearch-char-by-name' in
20950 the docstring. (Bug#13348)
20952 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
20953 `exit-minibuffer' instead of
20954 `isearch-nonincremental-exit-minibuffer'.
20955 (isearch-edit-string): Remove mention of
20956 `isearch-nonincremental-exit-minibuffer' from docstring.
20957 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
20958 (isearch-forward-exit-minibuffer)
20959 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
20961 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
20963 * loadup.el: Just use unversioned DOC.
20965 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
20966 literals as extending to EOB.
20967 (nxml-last-fontify-end): Remove unused variable.
20968 (nxml-after-change1): Use with-silent-modifications.
20969 (nxml-extend-after-change-region): Simplify.
20970 (nxml-extend-after-change-region1): Remove function.
20971 (nxml-after-change1): Don't adjust for dependent regions.
20972 (nxml-fontify-matcher): Simplify.
20973 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
20974 (xmltok-add-dependent): Remove function.
20975 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
20976 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
20977 (xmltok-scan-prolog-after-processing-instruction-open): Treat
20978 unclosed <[[, <?, comment, and other literals as extending to EOB.
20979 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
20980 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
20982 (rng-do-some-validation-1): Don't mark dependent regions.
20983 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
20984 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
20985 (nxml-clear-dependent-regions): Remove functions.
20986 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
20987 (nxml-ensure-scan-up-to-date):
20988 Don't clear&mark dependent regions.
20990 2013-05-15 Leo Liu <sdl.web@gmail.com>
20992 * progmodes/octave.el (octave-goto-function-definition):
20993 Improve and fix callers.
20995 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
20997 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
20998 the setter (bug#14387).
21000 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
21001 surrounding group (bug#14402).
21003 2013-05-14 Juri Linkov <juri@jurta.org>
21005 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
21008 2013-05-14 Glenn Morris <rgm@gnu.org>
21010 * progmodes/f90.el (f90-imenu-generic-expression):
21011 Fix typo in 2013-05-08 change. (Bug#14402)
21013 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
21015 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
21016 Remove signals for which replies are never received.
21018 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
21020 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
21021 (gdb-handler-alist, gdb-handler-number): Remove variables.
21022 (gdb-handler-list): New variable.
21023 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
21024 (gdb-pending-handler-p, gdb-handle-reply)
21025 (gdb-remove-all-pending-triggers): New functions.
21026 (gdb-discard-unordered-replies): New defcustom.
21027 (gdb-handler): New defstruct.
21028 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
21029 instead of gdb-pending-triggers. Update docstring.
21030 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
21031 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
21032 (gdb-var-update-handler, def-gdb-auto-update-trigger)
21033 (def-gdb-auto-update-handler, gdb-get-changed-registers)
21034 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
21035 (gdb-frame-handler): Pending triggers are now automatically managed.
21036 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
21038 (gdb-input): Automatically handles pending triggers. Update docstring.
21039 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
21040 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
21042 (gdb-done-or-error): Now use gdb-handle-reply.
21044 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
21046 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
21049 2013-05-14 Glenn Morris <rgm@gnu.org>
21051 * subr.el (user-emacs-directory-warning): New option.
21052 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
21054 2013-05-14 Leo Liu <sdl.web@gmail.com>
21056 * progmodes/octave.el (octave-font-lock-keywords): Fix error
21058 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
21059 (octave-font-lock-texinfo-comment): Fix invalid search bound
21060 error: wrong side of point.
21062 2013-05-14 Glenn Morris <rgm@gnu.org>
21064 * progmodes/flymake.el (flymake-xml-program): New option.
21065 (flymake-xml-init): Use it.
21067 * term/xterm.el: Provide a feature.
21069 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
21071 2013-05-13 Glenn Morris <rgm@gnu.org>
21073 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
21074 Add compat aliases as a hack workaround. (Bug#14384)
21076 2013-05-13 Leo Liu <sdl.web@gmail.com>
21078 * progmodes/octave.el (octave-indent-comment): Fix indentation for
21080 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
21082 (octave-comment-start-skip): Include %!.
21083 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
21085 2013-05-12 Leo Liu <sdl.web@gmail.com>
21087 * progmodes/octave.el (inferior-octave-startup): Store the value
21088 of __octave_srcdir__ for octave-source-directories.
21089 (inferior-octave-check-process): New function refactored out of
21090 inferior-octave-send-list-and-digest.
21091 (octave-source-directories)
21092 (octave-find-definition-filename-function): New variables.
21093 (octave-source-directories)
21094 (octave-find-definition-default-filename): New functions.
21095 (octave-find-definition): Improve to find functions implemented in C++.
21097 2013-05-12 Glenn Morris <rgm@gnu.org>
21099 * calendar/diary-lib.el (diary-outlook-format-1):
21100 Don't include dayname in the output. (Bug#14349)
21102 2013-05-11 Glenn Morris <rgm@gnu.org>
21104 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
21106 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
21107 Treat cc-provide like provide.
21109 2013-05-11 Kevin Ryde <user42@zip.com.au>
21111 * cus-dep.el (custom-make-dependencies):
21112 Use generated-autoload-load-name for the sake of files such
21113 such cedet/semantic/bovine/c.el, where the base file name
21114 is not in load-path. (Bug#5277)
21116 2013-05-11 Glenn Morris <rgm@gnu.org>
21118 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
21121 2013-05-11 Leo Liu <sdl.web@gmail.com>
21123 * progmodes/octave.el (octave-indent-comment): Improve.
21124 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
21125 (octave-eldoc-function-signatures, octave-eldoc-function):
21127 (octave-mode, inferior-octave-mode): Add eldoc support.
21129 2013-05-11 Richard Stallman <rms@gnu.org>
21131 * epa.el (epa-decrypt-file): Take output file name as argument
21132 and read it using `interactive'.
21134 2013-05-11 Leo Liu <sdl.web@gmail.com>
21136 * progmodes/octave.el (octave-beginning-of-line)
21137 (octave-end-of-line): Check before using up-list because it jumps
21138 out of more syntactic contructs since moving to smie.
21139 (octave-indent-comment): New function.
21140 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
21141 (octave-begin-keywords, octave-end-keywords)
21142 (octave-reserved-words, octave-smie-bnf-table)
21143 (octave-smie-rules): Add new keywords from Octave 3.6.4.
21145 2013-05-11 Glenn Morris <rgm@gnu.org>
21147 * faces.el (internal-face-x-get-resource):
21148 * frame.el (ns-display-monitor-attributes-list):
21149 * calc/calc-aent.el (math-to-radians-2):
21150 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
21153 * calc/calc-menu.el: Make it loadable in isolation.
21155 * net/eudcb-bbdb.el: Make it loadable without bbdb.
21156 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
21157 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
21158 (eudc-bbdb-query-internal): Require 'bbdb.
21160 * lpr.el (lpr-headers-switches):
21161 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
21163 * progmodes/sql.el (sql-login-params): Fix and improve :type.
21165 * emulation/edt-mapper.el: In batch mode, error rather than hang.
21167 * term.el (term-set-escape-char): Make it idempotent.
21169 2013-05-10 Leo Liu <sdl.web@gmail.com>
21171 * progmodes/octave.el (inferior-octave-completion-table):
21172 No longer a function and all uses changed. Use cache to speed up
21173 completion due to bug#11906.
21174 (octave-beginning-of-defun): Re-write to be more general.
21176 2013-05-10 Glenn Morris <rgm@gnu.org>
21178 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
21180 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
21182 * comint.el (comint-redirect-send-command-to-process): Use :around
21183 rather than :override for comint-redirect-filter.
21184 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
21185 Call it instead of comint-redirect-original-filter-function (which
21186 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
21188 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
21190 * frame.el (display-monitor-attributes-list): Add NS case.
21191 (ns-display-monitor-attributes-list): Declare.
21193 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
21195 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
21197 2013-05-09 Glenn Morris <rgm@gnu.org>
21199 * international/fontset.el (vertical-centering-font-regexp):
21200 Set standard-value.
21202 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
21204 * bookmark.el (bookmark-search-delay):
21205 * cus-start.el (vertical-centering-font-regexp):
21206 * ps-mule.el (ps-mule-font-info-database-default):
21207 * ps-print.el (ps-default-fg, ps-default-bg):
21208 * type-break.el (type-break-good-break-interval):
21209 * whitespace.el (whitespace-indentation-regexp)
21210 (whitespace-space-after-tab-regexp):
21211 * emacs-lisp/testcover.el (testcover-1value-functions)
21212 (testcover-noreturn-functions, testcover-progn-functions)
21213 (testcover-prog1-functions):
21214 * emulation/viper-init.el (viper-emacs-state-cursor-color):
21215 * eshell/em-glob.el (eshell-glob-translate-alist):
21216 * play/tetris.el (tetris-tty-colors):
21217 * progmodes/cpp.el (cpp-face-default-list):
21218 * progmodes/flymake.el (flymake-allowed-file-name-masks):
21219 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
21220 (idlwave-help-browser-generic-args):
21221 * progmodes/make-mode.el (makefile-special-targets-list):
21222 * progmodes/python.el (python-shell-virtualenv-path):
21223 * progmodes/verilog-mode.el (verilog-active-low-regexp)
21224 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
21225 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
21226 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
21227 * textmodes/reftex-vars.el (reftex-format-label-function):
21228 * textmodes/remember.el (remember-diary-file): Fix custom types.
21230 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
21233 2013-05-09 Leo Liu <sdl.web@gmail.com>
21235 * progmodes/octave.el (inferior-octave-completion-at-point):
21236 Restore file completion. (Bug#14300)
21237 (inferior-octave-startup): Fix incorrect highlighting for the
21240 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
21242 * progmodes/ruby-mode.el: First cut at SMIE support.
21243 (ruby-use-smie): New var.
21244 (ruby-smie-grammar): New constant.
21245 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
21246 (ruby-smie--forward-token, ruby-smie--backward-token)
21247 (ruby-smie-rules): New functions.
21248 (ruby-mode-variables): Setup SMIE if applicable.
21250 2013-05-08 Eli Zaretskii <eliz@gnu.org>
21252 * simple.el (line-move-visual): Signal beginning/end of buffer
21253 only if vertical-motion moved less than it was requested. Avoids
21254 silly incorrect error messages when there are display strings with
21255 multiple newlines at EOL.
21257 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
21259 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
21260 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
21261 (prolog-char-quote-workaround):
21262 * progmodes/cperl-mode.el (cperl-under-as-char):
21263 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
21265 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
21267 (vhdl-mode-syntax-table-init): Remove.
21269 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
21272 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
21274 (ld-script-font-lock-keywords):
21275 Change regexps to use things like \_< and \_>.
21277 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
21278 Change all regexps to use things like \_< and \_>.
21280 * progmodes/autoconf.el (autoconf-definition-regexp)
21281 (autoconf-font-lock-keywords, autoconf-current-defun-function):
21282 Handle a _ with symbol syntax.
21283 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
21285 * progmodes/ada-mode.el (ada-mode-abbrev-table):
21286 Consolidate declaration.
21287 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
21289 (ada-create-syntax-table): Remove.
21290 (ada-capitalize-word): Don't mess with the syntax of "_" since it
21291 already has the right syntax nowadays.
21292 (ada-goto-next-word): Don't change the syntax of "_".
21294 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
21297 2013-05-08 Sam Steingold <sds@gnu.org>
21299 * thingatpt.el (thing-at-point): Accept optional second argument
21300 NO-PROPERTIES to strip the text properties from the return value.
21301 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
21302 to `thing-at-point' instead of stripping the properties ourselves.
21303 Also, when `thing-at-point' fails to find a url, prepend "http://"
21304 to the filename at point on the assumption that the user is
21305 pointing at something like gnu.org/gnu.
21307 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
21309 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
21310 * faces.el (crm-separator):
21311 Silence byte-compiler.
21313 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
21314 (tool-bar-map): Remove unneeded defvars.
21316 2013-05-08 Leo Liu <sdl.web@gmail.com>
21318 Re-work a fix for bug#10994 based on Le Wang's patch.
21319 * ido.el (ido-remove-consecutive-dups): New helper.
21320 (ido-completing-read): Use it.
21321 (ido-chop): Revert fix for bug#10994.
21323 2013-05-08 Adam Spiers <emacs@adamspiers.org>
21325 * cus-edit.el (custom-save-variables):
21326 Pretty-print long values. (Bug#14187)
21328 2013-05-08 Glenn Morris <rgm@gnu.org>
21330 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
21331 (m4-mode-syntax-table): Init in the defvar.
21332 (m4-mode-abbrev-table): Let define-derived-mode define it.
21334 2013-05-08 Tom Tromey <tromey@redhat.com>
21336 * progmodes/m4-mode.el (m4-mode-syntax-table):
21337 Do not treat "_" as word constituent. (Bug#14167)
21339 2013-05-07 Glenn Morris <rgm@gnu.org>
21341 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
21342 Remove explicit eshell-isearch-cancel-map.
21344 * progmodes/f90.el (f90-smart-end-names): New option.
21345 (f90-smart-end): Doc fix.
21346 (f90-end-block-optional-name): New constant.
21347 (f90-block-match): Respect f90-smart-end-names.
21349 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
21351 * progmodes/octave.el (octave-smie-forward-token): Be more careful
21352 about implicit semi-colons (bug#14218).
21354 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
21356 * frame.el (display-monitor-attributes-list)
21357 (frame-monitor-attributes): New functions.
21359 2013-05-06 Leo Liu <sdl.web@gmail.com>
21361 * progmodes/octave.el (octave-syntax-propertize-function): Change
21362 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
21363 (octave-font-lock-keywords): Use octave-operator-regexp.
21364 (octave-completion-at-point): Rename from
21365 octave-completion-at-point-function.
21366 (inferior-octave-directory-tracker): Robustify.
21367 (octave-text-functions): Remove and fix its uses. No such things
21370 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
21372 * emacs-lisp/trace.el (trace--display-buffer): New function.
21373 (trace-make-advice): Use it.
21375 2013-05-06 Juri Linkov <juri@jurta.org>
21377 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
21378 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
21380 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
21381 in the help string. (Bug#12985)
21383 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
21385 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
21387 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
21389 * progmodes/perl-mode.el: Add support for here documents.
21390 (perl-syntax-propertize-function): Match here-doc markers.
21391 (perl-syntax-propertize-special-constructs): Find their end.
21392 (perl-imenu-generic-expression): Use [:alnum:].
21394 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
21395 (advice--add-function): Refresh the advice if already present
21398 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
21400 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
21402 2013-05-06 Glenn Morris <rgm@gnu.org>
21404 * w32-fns.el (w32-charset-info-alist): Declare.
21406 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
21407 of its defcustom properties.
21408 (eshell-cmpl-initialize): No need to load pcomplete.
21410 * generic-x.el: No need to require comint when compiling.
21412 * net/eudc-export.el: Make it loadable without bbdb.
21413 (top-level): Use require rather than load-library.
21414 (eudc-create-bbdb-record, eudc-bbdbify-phone)
21415 (eudc-batch-export-records-to-bbdb)
21416 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
21419 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
21421 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
21422 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
21423 some tweaks, instead.
21425 2013-05-05 Leo Liu <sdl.web@gmail.com>
21427 * progmodes/octave.el (octave-font-lock-keywords)
21428 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
21429 (inferior-octave-send-list-and-digest): Improve error message.
21430 (octave-mode, inferior-octave-mode): Use setq-local.
21431 (octave-help): Set info-lookup-mode.
21433 2013-05-05 Richard Stallman <rms@gnu.org>
21435 * vc/compare-w.el (compare-windows-whitespace):
21436 Treat no-break space as whitespace.
21438 * mail/rmailsum.el (rmail-summary-rmail-update):
21439 Detect empty summary and don't change selected message.
21440 (rmail-summary-goto-msg): Likewise.
21442 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
21443 Doc fixes, rename args.
21445 2013-05-05 Alan Mackenzie <acm@muc.de>
21447 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
21449 2013-05-05 Juri Linkov <juri@jurta.org>
21451 * info.el (Info-read-subfile): Use (point-min) instead of (point)
21452 to not add the length of the summary segment to the return value.
21455 2013-05-05 Leo Liu <sdl.web@gmail.com>
21457 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
21458 (inferior-octave-output-filter): Remove.
21459 (octave-send-region, inferior-octave-startup): Fix callers.
21460 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
21461 (octave-binary-file-extensions): New user variable.
21462 (octave-find-definition): Confirm if opening binary files.
21463 (octave-help-file): Use octave-find-definition to get the binary
21465 (octave-help): Adjust for octave-help-file change.
21467 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
21469 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
21470 Merge the two entries that handle function definitions.
21471 (pascal--syntax-propertize): New const.
21472 (pascal-mode): Use it. Use setq-local.
21474 2013-05-04 Glenn Morris <rgm@gnu.org>
21476 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
21477 (diary-from-outlook): Respect diary-from-outlook-function.
21479 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
21481 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
21482 Move the declaration from C.
21483 (read-minibuffer, eval-minibuffer): Move from C.
21484 (completion-setup-function): Avoid minibuffer-completion-contents.
21486 2013-05-03 Leo Liu <sdl.web@gmail.com>
21488 * progmodes/octave.el (octave-font-lock-keywords): Do not
21489 dehighlight 'end' in comments or strings.
21490 (octave-completing-read, octave-goto-function-definition):
21492 (octave-help-buffer): New user variable.
21493 (octave-help-file, octave-help-function): New button types.
21494 (octave-help): New command and bind it to C-h ;.
21495 (octave-find-definition): New command and bind it to M-.
21496 (user-error): Alias to error if not defined.
21498 2013-05-02 Leo Liu <sdl.web@gmail.com>
21500 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
21502 (octave-font-lock-keywords): Include [ and {.
21504 2013-05-02 Leo Liu <sdl.web@gmail.com>
21506 * progmodes/octave.el (inferior-octave-startup-file): Change default.
21507 (inferior-octave): Remove calling comint-mode and return the buffer.
21508 (inferior-octave-startup): Cosmetic changes.
21510 2013-05-02 Leo Liu <sdl.web@gmail.com>
21512 * progmodes/octave.el (octave-syntax-propertize-function):
21513 Include the case when ' is at line beginning. (Bug#14336)
21515 2013-05-02 Glenn Morris <rgm@gnu.org>
21517 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
21518 * desktop.el (vc-dir-mode): Just autoload it here.
21520 2013-05-02 Alan Mackenzie <acm@muc.de>
21522 Eliminate variable c-standard-font-lock-fontify-region-function.
21523 * progmodes/cc-mode.el
21524 (c-standard-font-lock-fontify-region-function): Remove.
21525 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
21527 2013-05-01 Leo Liu <sdl.web@gmail.com>
21529 * progmodes/octave.el: Compatible with older emacs-24 releases.
21530 (inferior-octave-has-built-in-variables): Remove. Built-in
21531 variables were removed from Octave in 2007.
21532 (inferior-octave-startup): Fix uses.
21533 (comint-line-beginning-position): Remove compatibility code for
21536 2013-05-01 Juri Linkov <juri@jurta.org>
21538 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
21540 2013-05-01 Juri Linkov <juri@jurta.org>
21542 * comint.el (comint-previous-matching-input): Don't print message
21543 "History item: %d" when `isearch-mode' is active.
21544 (comint-history-isearch-message): Print message "History item: %d"
21545 when `comint-input-ring-index' is not empty and this function is
21546 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
21548 2013-05-01 Leo Liu <sdl.web@gmail.com>
21550 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
21551 definitions. Use completion-at-point to insert keywords.
21552 (octave-abbrev-start): Remove.
21553 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
21555 2013-04-30 Leo Liu <sdl.web@gmail.com>
21557 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
21560 2013-04-30 Alan Mackenzie <acm@muc.de>
21562 Handle arbitrarily long C++ member initialisation lists.
21563 * progmodes/cc-engine.el (c-back-over-member-initializers):
21565 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
21566 (most) member init lists.
21568 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
21570 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
21573 2013-04-30 Leo Liu <sdl.web@gmail.com>
21575 * progmodes/octave.el (octave-variables): Remove. No builtin
21576 variables any more. All converted to functions.
21577 (octave-font-lock-keywords, octave-completion-at-point-function):
21579 (octave-font-lock-texinfo-comment): New user variable.
21580 (octave-texinfo-font-lock-keywords): New variable for texinfo
21582 (octave-function-comment-block): New face.
21583 (octave-font-lock-texinfo-comment): New function.
21584 (octave-mode): Font lock texinfo comment block.
21586 2013-04-29 Leo Liu <sdl.web@gmail.com>
21588 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
21589 indexing expression.
21590 (octave-continuation-string): Do not use \.
21591 (inferior-octave-complete-impossible): Remove.
21592 (inferior-octave-completion-table)
21593 (inferior-octave-completion-at-point): Remove its uses.
21594 (inferior-octave-startup): completion_matches was introduced to
21595 Octave in 1996 so safe to assume it.
21596 (octave-function-file-comment): Improve to follow how Octave does it.
21597 (octave-update-function-file-comment): Tweak.
21599 2013-04-29 Leo Liu <sdl.web@gmail.com>
21601 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
21602 (inferior-octave-startup): Remove inferior-octave-startup-hook.
21603 (octave-function-file-comment): Fix typo.
21604 (octave-sync-function-file-names): Use read-char-choice.
21606 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
21608 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
21609 to t for the less important warnings.
21611 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
21613 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
21615 2013-04-27 Glenn Morris <rgm@gnu.org>
21617 * vc/log-view.el (log-view-current-entry):
21618 Treat "---" separator lines as part of the following rev. (Bug#14169)
21620 2013-04-27 Juri Linkov <juri@jurta.org>
21622 * subr.el (read-number): Doc fix about using it by interactive
21623 code letter `n'. (Bug#14254)
21625 2013-04-27 Juri Linkov <juri@jurta.org>
21627 * desktop.el (desktop-auto-save-timeout): New option.
21628 (desktop-file-checksum): New variable.
21629 (desktop-save): Add optional arg `auto-save' and don't auto-save
21630 if nothing changed.
21631 (desktop-auto-save-timer): New variable.
21632 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
21633 (after-init-hook): Call `desktop-auto-save-set-timer'.
21634 Suggested by Reuben Thomas <rrt@sc3d.org> in
21635 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
21637 2013-04-27 Leo Liu <sdl.web@gmail.com>
21639 * progmodes/octave.el (octave-function-file-p)
21640 (octave-skip-comment-forward, octave-function-file-comment)
21641 (octave-update-function-file-comment): New functions.
21642 (octave-mode-map): Bind C-c ; to
21643 octave-update-function-file-comment.
21644 (octave-mode-menu): Add octave-update-function-file-comment.
21645 (octave-mode, inferior-octave-mode): Fix doc-string.
21646 (octave-insert-defun): Conform to Octave's coding convention.
21649 * files.el (basic-save-buffer): Don't let errors in
21650 before-save-hook prevent saving buffer.
21652 2013-04-20 Roland Winkler <winkler@gnu.org>
21654 * faces.el (read-face-name): Use completing-read if arg multiple
21657 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
21659 * ls-lisp.el (ls-lisp-insert-directory): If no files are
21660 displayed, move point to after the totals line.
21661 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
21664 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
21666 * emacs-lisp/package.el (package-autoload-ensure-default-file):
21667 Add current dir to the load-path.
21668 (package-generate-autoloads): Don't rely on
21669 autoload-ensure-default-file.
21671 2013-04-26 Reuben Thomas <rrt@sc3d.org>
21673 * textmodes/remember.el (remember-store-in-files): Document that
21674 the file name format is passed to `format-time-string'.
21676 2013-04-26 Leo Liu <sdl.web@gmail.com>
21678 * progmodes/octave.el (octave-sync-function-file-names): New function.
21679 (octave-mode): Use it in before-save-hook.
21681 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
21683 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
21686 * progmodes/octave.el (octave-smie-forward-token): Properly skip
21687 \n and comment, even if it's not an implicit ; (bug#14218).
21689 2013-04-26 Glenn Morris <rgm@gnu.org>
21691 * subr.el (read-number): Once more use `read' rather than
21692 `string-to-number', to trap non-numeric input. (Bug#14254)
21694 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
21696 * emacs-lisp/syntax.el (syntax-propertize-multiline):
21697 Use `syntax-multiline' text property consistently instead of
21698 `font-lock-multiline'. (Bug#14237)
21700 2013-04-26 Glenn Morris <rgm@gnu.org>
21702 * emacs-lisp/shadow.el (list-load-path-shadows):
21703 No longer necessary to check for duplicate simple.el, since
21704 2012-07-07 change to init_lread to not include installation lisp
21705 directories in load-path when running uninstalled. (Bug#14270)
21707 2013-04-26 Leo Liu <sdl.web@gmail.com>
21709 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
21710 (octave-mode, inferior-octave-mode): Use setq-local.
21711 (octave-not-in-string-or-comment-p): Rename to
21712 octave-in-string-or-comment-p.
21713 (octave-in-comment-p, octave-in-string-p)
21714 (octave-in-string-or-comment-p): Replace defsubst with defun.
21716 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
21718 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
21720 2013-04-25 Bastien Guerry <bzg@gnu.org>
21722 * textmodes/remember.el (remember-data-directory)
21723 (remember-directory-file-name-format): Fix custom types.
21725 2013-04-25 Leo Liu <sdl.web@gmail.com>
21727 * progmodes/octave.el (octave-completion-at-point-function):
21728 Make use of inferior octave process.
21729 (octave-initialize-completions): Remove.
21730 (inferior-octave-completion-table): New function.
21731 (inferior-octave-completion-at-point): Use it.
21732 (octave-completion-alist): Remove.
21734 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
21736 * progmodes/opascal.el: Use font-lock and syntax-propertize.
21737 (opascal-mode-syntax-table): New var.
21738 (opascal-literal-kind, opascal-is-literal-end)
21739 (opascal-literal-token-at): Rewrite.
21740 (opascal--literal-start-re, opascal-font-lock-keywords)
21741 (opascal--syntax-propertize): New constants.
21742 (opascal-font-lock-defaults): Adjust.
21743 (opascal-mode): Use them. Set comment-<foo> variables as well.
21744 (delphi-comment-face, opascal-comment-face, delphi-string-face)
21745 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
21746 (delphi-other-face, opascal-other-face): Remove face variables.
21747 (opascal-save-state): Remove macro.
21748 (opascal-fontifying-progress-step): Remove constant.
21749 (opascal--ignore-changes): Remove var.
21750 (opascal-set-token-property, opascal-parse-next-literal)
21751 (opascal-is-stable-literal, opascal-complete-literal)
21752 (opascal-is-literal-start, opascal-face-of)
21753 (opascal-parse-region, opascal-parse-region-until-stable)
21754 (opascal-fontify-region, opascal-after-change)
21755 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
21756 (opascal-debug-parse-region, opascal-debug-parse-window)
21757 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
21758 (opascal-debug-fontify-buffer): Remove.
21759 (opascal-debug-mode-map): Adjust accordingly.
21761 2013-04-25 Leo Liu <sdl.web@gmail.com>
21763 Merge octave-mod.el and octave-inf.el into octave.el with some
21765 * progmodes/octave.el: New file renamed from octave-mod.el.
21766 * progmodes/octave-inf.el: Merged into octave.el.
21767 * progmodes/octave-mod.el: Renamed to octave.el.
21769 2013-04-25 Tassilo Horn <tsdh@gnu.org>
21771 * textmodes/reftex-vars.el
21772 (reftex-label-ignored-macros-and-environments): New defcustom.
21774 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
21776 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
21778 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
21779 (smie-indent-keyword): Improve the check to ensure that the next
21780 comment is really on the same line.
21781 (smie-indent-comment): Don't align with a subsequent closer (or eob).
21783 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
21784 semi-colons if the line is not otherwise empty (bug#14218).
21786 2013-04-25 Glenn Morris <rgm@gnu.org>
21788 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
21790 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
21792 * progmodes/opascal.el (opascal-set-token-property): Rename from
21793 opascal-set-text-properties and only set `token' (bug#14134).
21794 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
21795 (opascal-literal-text-properties): Remove.
21796 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
21799 2013-04-24 Reuben Thomas <rrt@sc3d.org>
21801 * textmodes/remember.el (remember-handler-functions): Add an
21802 option for a new handler `remember-store-in-files'.
21803 (remember-data-directory, remember-directory-file-name-format):
21805 (remember-store-in-files): New function to store remember notes
21806 as separate files within a directory.
21808 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
21810 * progmodes/compile.el (compilation-next-error-function):
21811 Pass "formats" to compilation-find-file (bug#11777).
21813 2013-04-24 Glenn Morris <rgm@gnu.org>
21815 * vc/vc-bzr.el (vc-bzr-print-log):
21816 * vc/vc-hg.el (vc-hg-print-log):
21817 * vc/vc-svn.el (vc-svn-print-log):
21818 Fix START-REVISION with LIMIT != 1. (Bug#14168)
21820 * vc/vc-bzr.el (vc-bzr-print-log):
21821 * vc/vc-cvs.el (vc-cvs-print-log):
21822 * vc/vc-git.el (vc-git-print-log):
21823 * vc/vc-hg.el (vc-hg-print-log):
21824 * vc/vc-mtn.el (vc-mtn-print-log):
21825 * vc/vc-rcs.el (vc-rcs-print-log):
21826 * vc/vc-sccs.el (vc-sccs-print-log):
21827 * vc/vc-svn.el (vc-svn-print-log):
21828 * vc/vc.el (vc-print-log-internal): Doc fixes.
21830 2013-04-23 Glenn Morris <rgm@gnu.org>
21832 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
21833 Remove venerable code attempting to avoid substitute-command-keys.
21835 2013-04-23 Tassilo Horn <tsdh@gnu.org>
21837 * textmodes/reftex-vars.el (reftex-label-regexps):
21838 Call `reftex-compile-variables' after changes to this variable.
21840 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
21842 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
21843 Use lexical-binding.
21844 (jit-lock-force-redisplay): Use markers, check buffer's continued
21845 existence and beware narrowed buffers.
21846 (jit-lock-fontify-now): Adjust call accordingly.
21848 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
21850 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
21851 to avoid misleading the user.
21853 2013-04-22 Leo Liu <sdl.web@gmail.com>
21855 * info-look.el: Prefer latex2e.info. (Bug#14240)
21857 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
21859 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
21861 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
21862 * net/tramp.el (tramp-call-process): ... here.
21863 (tramp-set-completion-function, tramp-parse-putty):
21864 * net/tramp-adb.el (tramp-adb-execute-adb-command):
21865 * net/tramp-gvfs.el (tramp-gvfs-send-command):
21866 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
21867 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
21868 (tramp-call-local-coding-command): Use `tramp-call-process'
21869 instead of `tramp-compat-call-process'.
21871 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
21872 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
21873 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
21874 (tramp-find-inline-compress): Improve traces.
21875 (tramp-maybe-send-script): Check for Perl binary.
21876 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
21878 2013-04-22 Daiki Ueno <ueno@gnu.org>
21880 * epg.el (epg-context-pinentry-mode): New function.
21881 (epg-context-set-pinentry-mode): New function.
21882 (epg--start): Pass --pinentry-mode option to gpg command.
21884 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
21886 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
21887 `comint-dynamic-complete' is obsolete since 24.1, replaced by
21888 `completion-at-point'. (Bug#13774)
21890 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
21891 default key binding for `describe-distribution' has been moved to
21892 `C-h C-o'. (Bug#13970)
21894 2013-04-21 Glenn Morris <rgm@gnu.org>
21896 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
21898 (vc-print-log): Clarify interactive prompt.
21900 2013-04-20 Glenn Morris <rgm@gnu.org>
21902 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
21903 No longer include timestamp etc information.
21905 2013-04-20 Roland Winkler <winkler@gnu.org>
21907 * faces.el (read-face-name): Bug fix, return just one face if arg
21908 multiple is nil. (Bug#14209)
21910 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
21912 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
21913 (remove-function): Autoload.
21915 * comint.el (comint-redirect-original-filter-function): Remove.
21916 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
21917 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
21918 (vc-cvs-annotate-command):
21919 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
21920 * progmodes/prolog.el (prolog-consult-compile):
21921 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
21922 Use add/remove-function instead.
21923 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
21924 (gud-tooltip-process-output, gud-tooltip-tips):
21925 Use add/remove-function instead.
21926 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
21927 (scheme-interaction-mode, exit-scheme-interaction-mode):
21928 Use add/remove-function instead.
21930 * vc/vc-dispatcher.el: Use lexical-binding.
21931 (vc--process-sentinel): Rename from vc-process-sentinel.
21932 Change last arg to be the code to run. Don't use vc-previous-sentinel
21933 and vc-sentinel-commands any more.
21934 (vc-exec-after): Allow code to be a function. Use add/remove-function.
21935 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
21937 2013-04-19 Masatake YAMATO <yamato@redhat.com>
21939 * progmodes/sh-script.el (sh-imenu-generic-expression):
21940 Handle function names with a single character. (Bug#14111)
21942 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
21944 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
21945 for subroutines defined in an eval (bug#14182).
21947 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
21949 * bookmark.el (bookmark-completing-read): Improve handling of empty
21950 string (bug#14176).
21952 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
21954 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
21956 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
21958 New faster Imenu implementation (bug#14058).
21959 * progmodes/python.el (python-imenu-prev-index-position)
21960 (python-imenu-format-item-label-function)
21961 (python-imenu-format-parent-item-label-function)
21962 (python-imenu-format-parent-item-jump-label-function):
21964 (python-imenu-format-item-label)
21965 (python-imenu-format-parent-item-label)
21966 (python-imenu-format-parent-item-jump-label)
21967 (python-imenu--put-parent, python-imenu--build-tree)
21968 (python-imenu-create-index, python-imenu-create-flat-index)
21969 (python-util-popn): New functions.
21970 (python-mode): Set imenu-create-index-function to
21971 python-imenu-create-index.
21973 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
21975 * winner.el (winner-active-region): Use region-active-p, activate-mark
21976 and deactivate-mark (bug#14225).
21978 * simple.el (deactivate-mark): Don't inline it.
21980 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
21982 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
21984 2013-04-18 Tassilo Horn <tsdh@gnu.org>
21986 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
21987 file extensions from the archive-mode entry in order to prefer
21988 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
21990 2013-04-18 Leo Liu <sdl.web@gmail.com>
21992 * bindings.el (help-event-list): Add ?\?.
21994 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
21996 * subr.el (with-wrapper-hook): Declare obsolete.
21997 * simple.el (filter-buffer-substring-function): New hook.
21998 (filter-buffer-substring): Use it.
21999 (filter-buffer-substring-functions): Mark obsolete.
22000 * minibuffer.el (completion-in-region-function): New hook.
22001 (completion-in-region): Use it.
22002 (completion-in-region-functions): Mark obsolete.
22003 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
22004 * abbrev.el (abbrev-expand-function): New hook.
22005 (expand-abbrev): Use it.
22006 (abbrev-expand-functions): Mark obsolete.
22007 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
22008 and :filter-return.
22010 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
22012 * progmodes/python.el (python-nav--syntactically): Fix cornercases
22013 and do not care about match data.
22015 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
22017 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
22018 completion tables when completing error conditions and
22019 `declare' arguments.
22020 (lisp-complete-symbol, field-complete): Mark as obsolete.
22021 (check-parens): Unmatched parens are user errors.
22022 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
22024 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
22026 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
22027 command changed buffer (ie. `flyspell-pre-buffer' is not current
22028 buffer), which prevents making decisions based on invalid value of
22029 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
22030 cause an error when `flyspell-pre-point' was nil after switching
22032 (flyspell-post-command-hook): No longer needs to change buffers when
22033 checking pre-word. While at it remove unnecessary progn.
22035 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
22037 * textmodes/ispell.el (ispell-add-per-file-word-list):
22038 Fix `flyspell-correct-word-before-point' error when accepting
22039 words and `coment-padding' is an integer by using
22040 `comment-normalize-vars' (Bug #14214).
22042 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
22044 New defun movement commands.
22045 * progmodes/python.el (python-nav--syntactically)
22046 (python-nav--forward-defun, python-nav-backward-defun)
22047 (python-nav-forward-defun): New functions.
22049 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
22051 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
22052 (python-syntax-context): Use named compiler-macro for backwards
22053 compatibility with Emacs 24.x.
22055 2013-04-17 Leo Liu <sdl.web@gmail.com>
22057 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
22058 octave-hide-process-buffer.
22060 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
22062 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
22065 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
22067 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
22068 Fix adjustment of offset when receiving incomplete responses from GDB
22071 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
22073 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
22074 python-mode-abbrev-table.
22075 (python-skeleton-define): Adjust accordingly.
22076 (python-mode-abbrev-table): New table that inherits from it so that
22077 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
22079 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
22080 (abbrev-symbol): Use it.
22081 (abbrev--before-point): Use it since we already handle inheritance.
22083 2013-04-16 Leo Liu <sdl.web@gmail.com>
22085 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
22086 binding to info-lookup-symbol.
22088 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
22090 * minibuffer.el (completion--twq-all):
22091 * term/ns-win.el (ns-initialize-window-system):
22092 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
22094 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
22096 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
22099 * doc-view.el (doc-view-start-process): Handle url-handler directories.
22101 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
22103 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
22104 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
22106 (ruby-end-of-defun): Remove the unused arg, change the docstring
22107 to reflect that this function is only used as the value of
22108 `end-of-defun-function'.
22109 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
22110 to reflect an earlier change that beginning/end-of-defun functions
22111 jump between methods in a class definition, as well as top-level
22114 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
22116 * minibuffer.el (minibuffer-complete): Don't just scroll
22117 a *Completions* that's been iconified.
22118 (minibuffer-force-complete): Make sure repetitions do cycle when going
22119 through completion-in-region -> minibuffer-complete.
22121 2013-04-15 Alan Mackenzie <acm@muc.de>
22123 Correct the placement of c-cpp-delimiters when there're #s not at
22126 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
22127 place a submatch around the #.
22128 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
22129 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
22132 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
22134 * emacs-lisp/nadvice.el: Properly test names when adding advice.
22135 (advice--member-p): New arg `name'.
22136 (advice--add-function, advice-member-p): Use it (bug#14202).
22138 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
22140 Reformulate java imenu-generic-expression.
22141 The old expression contained ill formed regexps.
22143 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
22144 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
22145 (cc-imenu-java-method-arg-regexp): New defconsts.
22146 (cc-imenu-java-build-type-args-regex): New defun.
22147 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
22148 handling of spaces in the regexp.
22150 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
22152 * textmodes/ispell.el (ispell-command-loop): Remove
22153 flyspell highlight of a word when ispell accepts it (bug #14178).
22155 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
22157 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
22158 uses code from the previous `ange-ftp-run-real-handler'.
22159 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
22160 only in case that function exist. This is needed for proper
22161 unloading of Tramp.
22163 2013-04-15 Tassilo Horn <tsdh@gnu.org>
22165 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
22167 * textmodes/reftex.el (reftex-compile-variables): Use it.
22169 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
22171 * files.el (normal-mode): Only use default major-mode if no other mode
22174 * emacs-lisp/trace.el (trace-values): New function.
22176 * files.el: Allow : in local variables (bug#14089).
22177 (hack-local-variable-regexp): New var.
22178 (hack-local-variables-prop-line, hack-local-variables): Use it.
22180 2013-04-13 Roland Winkler <winkler@gnu.org>
22182 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
22183 data before it gets modified by bibtex-beginning-of-entry.
22185 2013-04-13 Roland Winkler <winkler@gnu.org>
22187 * textmodes/bibtex.el (bibtex-url): Doc fix.
22189 2013-04-13 Roland Winkler <winkler@gnu.org>
22191 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
22192 does not visit a BibTeX file, exclude it from the list of buffers
22193 returned by bibtex-initialize.
22195 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
22197 * window.el (split-window): Remove interactive form, since as a
22198 command this function is a special case of split-window-below.
22199 Correct doc string.
22201 2013-04-12 Roland Winkler <winkler@gnu.org>
22203 * faces.el (read-face-name): Do not override value of arg default.
22204 Allow single faces and strings as default values. Remove those
22205 elements from return value that are not faces.
22206 (describe-face): Simplify.
22207 (face-at-point): New optional args thing and multiple so that this
22208 function can provide the same functionality previously provided by
22210 (make-face-bold, make-face-unbold, make-face-italic)
22211 (make-face-unitalic, make-face-bold-italic, invert-face)
22212 (modify-face, read-face-and-attribute): Use face-at-point.
22214 * cus-edit.el (customize-face, customize-face-other-window)
22215 * cus-theme.el (custom-theme-add-face)
22216 * face-remap.el (buffer-face-set)
22217 * facemenu.el (facemenu-set-face): Use face-at-point.
22219 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
22221 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
22223 2013-04-10 Tassilo Horn <tsdh@gnu.org>
22225 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
22226 off leading { and trailing } from field values.
22228 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
22230 * emacs-lisp/timer.el (timer--check): New function.
22231 (timer--time, timer-set-function, timer-event-handler): Use it.
22232 (timer-set-idle-time): Simplify.
22233 (timer--activate): CSE.
22234 (timer-event-handler): Give more info in error message.
22235 (internal-timer-start-idle): New function, moved from C.
22237 * mpc.el (mpc-proc): Add `restart' argument.
22238 (mpc-proc-cmd): Use it.
22239 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
22240 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
22243 2013-04-10 Masatake YAMATO <yamato@redhat.com>
22245 * progmodes/sh-script.el: Implement `sh-mode' own
22246 `add-log-current-defun-function' (bug#14112).
22247 (sh-current-defun-name): New function.
22248 (sh-mode): Use the function.
22250 2013-04-09 Bastien Guerry <bzg@gnu.org>
22252 * simple.el (choose-completion-string): Fix docstring (bug#14163).
22254 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
22256 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
22258 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
22261 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
22263 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
22266 2013-04-07 Leo Liu <sdl.web@gmail.com>
22268 * pcmpl-x.el: New file.
22270 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
22272 Do not set x-display-name until X connection is established.
22273 This is needed to prevent from weird situation described at
22274 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
22275 * frame.el (make-frame): Set x-display-name after call to
22276 window system initialization function, not before.
22277 * term/x-win.el (x-initialize-window-system): Add optional
22278 display argument and use it.
22279 * term/w32-win.el (w32-initialize-window-system):
22280 * term/ns-win.el (ns-initialize-window-system):
22281 * term/pc-win.el (msdos-initialize-window-system):
22282 Add compatible optional display argument.
22284 2013-04-06 Eli Zaretskii <eliz@gnu.org>
22286 * files.el (normal-backup-enable-predicate): On MS-Windows and
22287 MS-DOS compare truenames of temporary-file-directory and of the
22288 file, so that 8+3 aliases (usually found in $TEMP on Windows)
22289 don't fail comparison by compare-strings. Also, compare file
22290 names case-insensitively on MS-Windows and MS-DOS.
22292 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
22294 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
22295 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
22297 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
22299 * whitespace.el (whitespace-color-on, whitespace-color-off):
22300 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
22302 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
22304 * ispell.el (ispell-set-spellchecker-params):
22305 Really set `ispell-args' for all equivs.
22307 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
22309 * ido.el (ido-completions): Use extra elements of ido-decorations
22311 (ido-decorations): Update docstring.
22313 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
22315 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
22316 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
22317 nil during initialization, in order not to miss changes since the
22318 file was opened. (Bug#14140)
22320 2013-04-05 Leo Liu <sdl.web@gmail.com>
22322 * kmacro.el (kmacro-call-macro): Fix bug#14135.
22324 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
22326 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
22328 2013-04-04 Glenn Morris <rgm@gnu.org>
22330 * electric.el (electric-pair-inhibit-predicate): Add :version.
22332 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
22334 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
22335 when a package is required several times (bug#14082).
22337 2013-04-04 Roland Winkler <winkler@gnu.org>
22339 * faces.el (read-face-name): Behave as promised by the docstring.
22340 Assume that arg default is a list of faces.
22341 (describe-face): Call read-face-name with list of default faces.
22343 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
22345 * bookmark.el: Fix deletion of bookmarks (bug#13972).
22346 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
22347 (bookmark-bmenu-execute-deletions): Only skip first line if it's
22349 (bookmark-exit-hook-internal): Save even if list is empty.
22351 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
22353 * emacs-lisp/package.el (package-pinned-packages): New var.
22354 (package--add-to-archive-contents): Obey it (bug#14118).
22356 2013-04-03 Alan Mackenzie <acm@muc.de>
22358 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
22359 Also adapt to the new values of element 7 of a parse state.
22361 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
22362 parameter `not-in-delimiter'. Handle being inside comment opener.
22363 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
22364 character in case we're typing a '*' after a '/'.
22365 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
22366 instead by passing the parameter to c-state-pp-to-literal.
22368 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
22369 for elt. 7 of a parse state.
22371 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
22373 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
22374 * international/latin1-disp.el, international/mule-util.el:
22375 * language/cyril-util.el, language/european.el, language/ind-util.el:
22376 * language/lao-util.el, language/thai.el, language/tibet-util.el:
22377 * language/tibetan.el, language/viet-util.el:
22378 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
22380 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
22382 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
22383 (electric-pair-post-self-insert-function): Use it.
22384 (electric-pair-default-inhibit): New function, extracted from
22385 electric-pair-post-self-insert-function.
22387 2013-03-31 Roland Winkler <winkler@gnu.org>
22389 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
22391 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
22393 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
22395 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
22397 Un-indent after "pass" and "return" statements (Bug#13888)
22398 * progmodes/python.el (python-indent-block-enders): New var.
22399 (python-indent-calculate-indentation): Use it.
22401 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
22403 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
22404 defun. Defining it as defalias could introduce too eager
22405 byte-compiler optimization. (Bug#14030)
22407 2013-03-30 Chong Yidong <cyd@gnu.org>
22409 * iswitchb.el (iswitchb-read-buffer): Fix typo.
22411 2013-03-30 Leo Liu <sdl.web@gmail.com>
22413 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
22414 (kmacro-execute-from-register): Pass the keyboard macro to
22415 kmacro-call-macro or repeating won't work correctly.
22417 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
22419 * progmodes/subword.el: Back to using `forward-symbol'.
22421 * subr.el (forward-whitespace, forward-symbol)
22422 (forward-same-syntax): Move from thingatpt.el.
22424 2013-03-29 Leo Liu <sdl.web@gmail.com>
22426 * kmacro.el (kmacro-to-register): New command.
22427 (kmacro-execute-from-register): New function.
22428 (kmacro-keymap): Bind to 'x'. (Bug#14071)
22430 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
22432 * mpc.el: Use defvar-local and setq-local.
22433 (mpc--proc-connect): Connection failures are not bugs.
22434 (mpc-mode-map): `follow-link' only applies to the buffer's content.
22435 (mpc-volume-map): Bind to the up-events.
22437 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
22439 * progmodes/subword.el (superword-mode): Use `forward-sexp'
22440 instead of `forward-symbol'.
22442 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
22444 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
22445 (edebug--recursive-edit): Use it.
22446 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
22447 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
22449 2013-03-28 Leo Liu <sdl.web@gmail.com>
22451 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
22453 2013-03-27 Eli Zaretskii <eliz@gnu.org>
22455 * facemenu.el (list-colors-callback): New defvar.
22456 (list-colors-redisplay): New function.
22457 (list-colors-display): Install list-colors-redisplay as the
22458 revert-buffer-function. (Bug#14063)
22460 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
22462 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
22463 and suffixes don't overlap (bug#14061).
22465 * case-table.el: Use lexical-binding.
22466 (case-table-get-table): New function.
22467 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
22469 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
22471 * progmodes/subword.el: Add `superword-mode' to do word motion
22472 over symbol_words (parallels and leverages `subword-mode' which
22473 does word motion inside MixedCaseWords).
22475 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
22477 * eshell/em-unix.el: Move su and sudo to...
22478 * eshell/em-tramp.el: ...Eshell tramp module.
22480 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
22482 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
22483 Change return value to be a sexp. Delay `get-buffer' to after
22484 restoring the desktop (bug#13951).
22486 2013-03-26 Leo Liu <sdl.web@gmail.com>
22488 * register.el: Move semantic tag handling back to
22489 cedet/semantic/senator.el. (Bug#14052)
22491 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
22493 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
22494 into the prompt either (bug#13963).
22496 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
22498 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
22499 part of "(error-foo)".
22501 2013-03-24 Juri Linkov <juri@jurta.org>
22503 * replace.el (list-matching-lines-prefix-face): New defcustom.
22504 (occur-1): Pass `list-matching-lines-prefix-face' to the function
22505 `occur-engine' if `face-differs-from-default-p' returns t.
22506 (occur-engine): Add `,' inside backquote construct to evaluate
22507 `prefix-face'. Propertize the prefix with the `prefix-face' face.
22508 Pass `prefix-face' to the functions `occur-context-lines' and
22509 `occur-engine-add-prefix'.
22510 (occur-engine-add-prefix, occur-context-lines): Add optional arg
22511 `prefix-face' and propertize the prefix with `prefix-face'.
22514 2013-03-24 Leo Liu <sdl.web@gmail.com>
22516 * nxml/rng-valid.el (rng-validate-while-idle)
22517 (rng-validate-quick-while-idle): Guard against deleted buffer.
22520 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
22521 is the last entry in kill-buffer-hook.
22523 * files.el (kill-buffer-hook): Doc fix.
22525 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
22527 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
22528 Make it safe-local.
22530 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
22532 2013-03-23 Leo Liu <sdl.web@gmail.com>
22534 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
22537 * nxml/rng-valid.el (rng-validate-mode)
22538 (rng-after-change-function, rng-do-some-validation):
22539 * nxml/rng-maint.el (rng-validate-buffer):
22540 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
22541 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
22542 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
22543 (nxml-extend-after-change-region): Use with-silent-modifications.
22545 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
22548 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
22549 (rng-next-error-1, rng-previous-error-1): Do not let-bind
22550 timer-idle-list. (Bug#13999)
22552 2013-03-23 Juri Linkov <juri@jurta.org>
22554 * info.el (info-index-match): New face.
22555 (Info-index, Info-apropos-matches): Add a nested subgroup to the
22556 main pattern and add text properties with the new face to matches
22557 in index entries relative to the beginning of the index entry.
22560 2013-03-21 Eric Ludlam <zappo@gnu.org>
22562 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
22563 Inhibit read only while inserting objects.
22565 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
22567 * progmodes/cfengine.el: Update docs to mention
22568 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
22569 symbol motion. Remove "_" from the word syntax.
22571 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
22573 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
22574 syntax for both `cfengine2-mode' and `cfengine3-mode'.
22576 2013-03-20 Juri Linkov <juri@jurta.org>
22578 * info.el (Info-next-reference-or-link)
22579 (Info-prev-reference-or-link): New functions.
22580 (Info-next-reference, Info-prev-reference): Use them.
22581 (Info-try-follow-nearest-node): Handle footnote navigation.
22582 (Info-fontify-node): Fontify footnotes. (Bug#13989)
22584 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
22586 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
22587 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
22589 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
22591 Suppress unnecessary non-ASCII chatter during build process.
22592 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
22593 (batch-skkdic-convert): Suppress most of the chatter.
22594 It's not needed so much now that machines are faster,
22595 and its non-ASCII component was confusing; see Dmitry Gutov in
22596 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
22598 2013-03-20 Leo Liu <sdl.web@gmail.com>
22600 * ido.el (ido-chop): Fix bug#10994.
22602 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
22604 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
22606 (whitespace-color-on, whitespace-color-off):
22607 Use `font-lock-fontify-buffer' (Bug#13817).
22609 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
22611 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
22612 remapping in mode-line.
22613 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
22615 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
22617 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
22618 value for `whitespace-line' face (Bug#13875).
22619 (whitespace-font-lock-keywords): Change description.
22620 (whitespace-color-on): Don't save `font-lock-keywords' value, save
22621 the constructed keywords instead.
22622 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
22624 2013-03-19 Leo Liu <sdl.web@gmail.com>
22626 * progmodes/compile.el (compilation-display-error): New command.
22627 (compilation-mode-map, compilation-minor-mode-map): Bind it to
22630 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
22632 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
22634 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
22636 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
22638 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
22640 * net/tramp-compat.el (tramp-compat-user-error): New defun.
22642 * net/tramp-adb.el (tramp-adb-handle-shell-command):
22643 * net/tramp-gvfs.el (top):
22644 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
22645 (tramp-handle-shell-command): Use it.
22646 (tramp-dissect-file-name): Raise an error when hostname is a
22647 method name, and neither method nor user is specified.
22649 * net/trampver.el: Update release number.
22651 2013-03-18 Leo Liu <sdl.web@gmail.com>
22653 Make sure eldoc can be turned off properly.
22654 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
22656 (eldoc-display-message-p): Revert last change.
22657 (eldoc-display-message-no-interference-p)
22658 (eldoc-print-current-symbol-info): Tweak.
22660 2013-03-18 Tassilo Horn <tsdh@gnu.org>
22662 * doc-view.el (doc-view-new-window-function): Check the new window
22663 overlay's display property instead the char property of the
22664 buffer's first char. Use `with-selected-window' instead of
22665 `save-window-excursion' with `select-window'.
22666 (doc-view-document->bitmap): Check the current doc-view overlay's
22667 display property instead the char property of the buffer's first char.
22669 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
22671 Automate the build of ja-dic.el (Bug#13984).
22672 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
22673 from the input, rather than assume that it's been done for us by the
22674 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
22675 the current date into a ja-dic.el comment, as that complicates
22676 regression testing.
22678 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
22680 * whitespace.el: Fix double evaluation.
22681 (whitespace-space, whitespace-hspace, whitespace-tab)
22682 (whitespace-newline, whitespace-trailing, whitespace-line)
22683 (whitespace-space-before-tab, whitespace-indentation)
22684 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
22686 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
22687 (whitespace-color-on): Use a single font-lock-add-keywords call.
22688 Fix double-evaluation of face variables.
22690 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
22692 * net/tramp-adb.el (tramp-adb-parse-device-names):
22693 Use `start-process' instead of `call-process'. Otherwise, the
22694 function might be blocked under MS Windows. (Bug#13299)
22696 2013-03-17 Leo Liu <sdl.web@gmail.com>
22698 Extend eldoc to display info in the mode-line. (Bug#13978)
22699 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
22700 (eldoc-mode-line-string): New variable.
22701 (eldoc-minibuffer-message): New function.
22702 (eldoc-message-function): New variable.
22703 (eldoc-message): Use it.
22704 (eldoc-display-message-p)
22705 (eldoc-display-message-no-interference-p):
22706 Support eldoc-post-insert-mode.
22708 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
22709 (eval-expression): Run it.
22711 2013-03-17 Roland Winkler <winkler@gnu.org>
22713 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
22714 strings in the list of return values.
22716 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
22718 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
22719 radix before checking for HMS forms.
22721 2013-03-16 Leo Liu <sdl.web@gmail.com>
22723 * progmodes/scheme.el: Add indentation and font-locking for λ.
22726 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
22728 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
22729 token before point (bug#13942).
22731 2013-03-16 Leo Liu <sdl.web@gmail.com>
22733 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
22735 2013-03-16 Eli Zaretskii <eliz@gnu.org>
22737 * startup.el (command-line-normalize-file-name): Fix handling of
22738 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
22739 <xfq.free@gmail.com> in
22740 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
22742 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
22744 Sync with Tramp 2.2.7.
22746 * net/trampver.el: Update release number.
22748 2013-03-14 Tassilo Horn <tsdh@gnu.org>
22750 * doc-view.el: Fix bug#13887.
22751 (doc-view-insert-image): Don't modify overlay associated to
22752 non-live windows, and implement horizontal centering of image in
22753 case it's smaller than the window.
22754 (doc-view-new-window-function): Force redisplay of new windows on
22757 2013-03-13 Karl Fogel <kfogel@red-bean.com>
22759 * saveplace.el (save-place-alist-to-file): Don't sort
22760 `save-place-alist', just pretty-print it (bug#13882).
22762 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
22764 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
22765 Check whether `default-file-name-coding-system' is bound.
22766 It isn't in XEmacs.
22768 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
22770 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
22771 backquotes for `obsolete' (bug#13929).
22773 * international/mule.el (find-auto-coding): Include file name in
22774 obsolescence warning (bug#13922).
22776 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
22778 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
22779 for CFEngine 3-specific indentation.
22780 (cfengine3-indent-line): Use it. Fix up category regex.
22781 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
22783 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
22785 * type-break.el (type-break-file-name):
22786 * textmodes/remember.el (remember-data-file):
22787 * strokes.el (strokes-file):
22788 * shadowfile.el (shadow-initialize):
22789 * saveplace.el (save-place-file):
22790 * ps-bdf.el (bdf-cache-file):
22791 * progmodes/idlwave.el (idlwave-config-directory):
22792 * net/quickurl.el (quickurl-url-file):
22793 * international/kkc.el (kkc-init-file-name):
22794 * ido.el (ido-save-directory-list-file):
22795 * emulation/viper.el (viper-custom-file-name):
22796 * emulation/vip.el (vip-startup-file):
22797 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
22798 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
22800 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
22802 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
22803 * language/thai-word.el: Switch to UTF-8.
22805 See ChangeLog.16 for earlier changes.
22807 ;; Local Variables:
22811 Copyright (C) 2011-2015 Free Software Foundation, Inc.
22813 This file is part of GNU Emacs.
22815 GNU Emacs is free software: you can redistribute it and/or modify
22816 it under the terms of the GNU General Public License as published by
22817 the Free Software Foundation, either version 3 of the License, or
22818 (at your option) any later version.
22820 GNU Emacs is distributed in the hope that it will be useful,
22821 but WITHOUT ANY WARRANTY; without even the implied warranty of
22822 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22823 GNU General Public License for more details.
22825 You should have received a copy of the GNU General Public License
22826 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.