1 2014-01-07 Martin Rudalics <rudalics@gmx.at>
3 * window.el (balance-windows-2): While rounding don't give a
4 window more than the remainder. Bug#16351, Bug#16383.
6 2014-01-07 Glenn Morris <rgm@gnu.org>
8 * menu-bar.el (menu-bar-help-extra-packages): Remove.
9 (menu-bar-help-menu): Use view-external-packages instead.
11 2014-01-07 Bastien Guerry <bzg@gnu.org>
13 * emacs-lisp/package.el (package-delete): Also delete the package
14 name from `package-alist', not its description only.
16 2014-01-07 Glenn Morris <rgm@gnu.org>
18 * help.el (view-external-packages):
19 * menu-bar.el (menu-bar-help-extra-packages):
20 Visit efaq.info rather than etc/MORE.STUFF.
22 2014-01-07 Juri Linkov <juri@jurta.org>
24 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
25 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
27 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
28 that shadows RET. (Bug#16342)
30 2014-01-07 Chong Yidong <cyd@gnu.org>
32 * isearch.el (isearch-yank-char, isearch-yank-word)
33 (isearch-yank-line): Doc fix.
35 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
37 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
38 * emacs-lisp/elint.el (elint-find-builtins):
39 * emacs-lisp/eldoc.el (eldoc-symbol-function):
40 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
41 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
42 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
43 * apropos.el (apropos-safe-documentation):
44 * subr.el (symbol-file): Remove redundant fboundp.
45 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
47 2014-01-06 Bastien Guerry <bzg@gnu.org>
49 * hl-line.el (global-hl-line-overlay): Make a local variable.
50 (global-hl-line-overlays): New variable to store all overlays.
51 (global-hl-line-mode): Don't delete overlays from the current
52 buffer when `global-hl-line-sticky-flag' is non-nil.
53 (global-hl-line-highlight): Add new overlays to
54 `global-hl-line-overlays'.
55 (global-hl-line-unhighlight-all): New function to delete all
56 overlays when turning off `global-hl-line-mode'.
59 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
61 * subr.el (set-transient-map): Fix nested case and docstring.
63 2014-01-06 Tassilo Horn <tsdh@gnu.org>
65 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
68 2014-01-06 Daniel Colascione <dancol@dancol.org>
70 Fix defun navigation in vc log view.
72 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
73 like `beginning-of-defun'.
74 (log-view-end-of-defun,log-view-end-of-defun-1): Rename old
75 log-view-end-of-defun to log-view-end-of-defun-1. Replace
76 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
77 (log-view-extract-comment): Call `log-view-current-entry' directly
78 instead of relying on broken `log-view-beginning-of-defun' behavior.
80 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
83 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
84 * emacs-lisp/debug.el (cancel-debug-on-entry):
85 * epg.el (epg-error-to-string):
86 * files.el (recover-file):
87 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
88 * mail/emacsbug.el (report-emacs-bug-hook):
89 * mail/sendmail.el (mail-recover):
90 * ses.el (ses-yank-resize):
91 * term/ns-win.el (ns-print-buffer):
92 Spelling fixes in diagnostics, mostly for "canceled" with one L.
93 * epg.el (epg-key-capability-alist): Rename from misspelled version.
95 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
97 2014-01-06 Leo Liu <sdl.web@gmail.com>
99 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
100 to avoid shadowning global key. (Bug#16354)
102 2014-01-06 Daniel Colascione <dancol@dancol.org>
104 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
107 2014-01-05 Martin Rudalics <rudalics@gmx.at>
109 * window.el (balance-windows): Add mising t to fix Bug#16351.
111 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
113 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
115 (shr-insert): If we have a word that's longer than `shr-width',
116 break after it anyway. Otherwise we'll do no breaking once we get
119 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
121 * net/eww.el (eww): Support single/double quote for search.
122 * net/eww.el (eww-list-histories,eww-history-browse): Fixup.
123 (eww-history-quit): Delete and use quit-window.
124 (eww-history-kill): Delete, because it doesn't work well and
126 (eww-history-mode-map): Delete some keys and add easy-menu.
128 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
130 Fix misspelling of 'chinese' in rx (Bug#16237).
131 * emacs-lisp/rx.el (rx-categories): Correct spelling of
134 Change subword regexps back to vars (Bug#16296).
135 * progmodes/subword.el (subword-forward-regexp)
136 (subword-backward-regexp): Change these back to variables.
138 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
140 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
141 syntax-begin-function (bug#16247).
143 2014-01-03 Chong Yidong <cyd@gnu.org>
145 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
146 (advice--docstring): Delete variable.
147 (advice--make-1): Leave the docstring empty.
148 (advice-add): Use function-documentation for advised docstring.
150 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
151 Ignore function-documentation property when getting documentation.
152 (ad-activate-advised-definition): Use function-documentation
153 generate the docstring.
154 (ad-make-advised-definition): Don't call
155 ad-make-advised-definition-docstring.
156 (ad-make-advised-definition-docstring, ad-advised-definition-p):
159 * progmodes/sql.el (sql-help): Use function-documentation instead
160 of dynamic-docstring-function property. No need to autoload now.
161 (sql--help-docstring): New variable.
162 (sql--make-help-docstring): Use it.
164 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
166 * ielm.el (ielm-tab): Retarget.
167 (ielm-map): Use ielm-tab for tab.
168 (ielm-complete-filename): Use comint-filename-completion.
169 (ielm-complete-symbol): Remove.
170 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
171 remove ielm-tab from completion-at-point-functions (bug#16224).
173 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
174 Beware signals raised by predicates (bug#16201).
176 2014-01-02 Richard Stallman <rms@gnu.org>
178 * dired-aux.el (dired-do-print): Handle printer-name.
180 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
181 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
182 (rmail-epa-decrypt): Turn off mime processing.
184 * mail/rmail.el (rmail-make-in-reply-to-field):
185 Add parens in message-id.
187 * mail/rmail.el (rmail-get-coding-function): Variable.
188 (rmail-get-coding-system): Use it.
190 2013-12-31 Eli Zaretskii <eliz@gnu.org>
192 * international/mule-conf.el: Unify the charset indian-is13194.
193 (indian-is13194): Specify unify-map.
195 2013-12-31 Leo Liu <sdl.web@gmail.com>
197 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
199 2013-12-30 Daniel Colascione <dancol@dancol.org>
201 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
202 of printing a useless when we resume from sleep.
204 * progmodes/sh-script.el
205 (sh-smie-sh-forward-token,sh-smie-rc-forward-token): Fix infloop
206 in indentation code. (Bug#16233)
208 2013-12-28 João Távora <joaotavora@gmail.com>
210 * elec-pair.el (electric-pair-post-self-insert-function):
211 Don't open extra newlines at beginning of buffer. (Bug#16272)
213 2013-12-28 Eli Zaretskii <eliz@gnu.org>
215 * frame.el (window-system-for-display): Don't allow to create a
216 GUI frame from a -nw session on MS-Windows. (Bug#14739)
218 2013-12-28 Glenn Morris <rgm@gnu.org>
220 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
223 * apropos.el (apropos-match-face):
224 * calculator.el (calculator-displayer):
225 * dabbrev.el (dabbrev-search-these-buffers-only):
226 * face-remap.el (buffer-face-mode-face):
227 * simple.el (yank-handled-properties):
228 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
229 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
230 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
231 (hashcash-double-spend-database):
232 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
233 (ruby-deep-indent-paren-style):
234 * textmodes/flyspell.el (flyspell-auto-correct-binding):
235 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
236 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
237 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
238 Specify custom types.
240 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
241 * bookmark.el (bookmark-bmenu-use-header-line):
242 * doc-view.el (doc-view-scale-internally):
243 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
244 * register.el (register-preview-delay):
245 * net/shr.el (shr-bullet):
246 * progmodes/cfengine.el (cfengine-cf-promises)
247 (cfengine-parameters-indent):
248 * progmodes/octave.el (inferior-octave-error-regexp-alist):
249 * textmodes/reftex-vars.el (reftex-label-regexps):
250 * vc/log-edit.el (log-edit-setup-add-author): Add version.
252 * net/tls.el (tls-certtool-program): Fix default value.
254 * desktop.el (desktop-restore-in-current-display):
255 * newcomment.el (comment-empty-lines):
256 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
257 (idlwave-pad-keyword):
258 * progmodes/tcl.el (tcl-tab-always-indent):
259 * textmodes/reftex-vars.el (reftex-index-default-tag):
260 * elec-pair.el (electric-pair-skip-whitespace):
261 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
263 * emacs-lisp/authors.el (authors-ignored-files)
264 (authors-valid-file-names, authors-renamed-files-alist): Additions.
266 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
268 * shell.el (shell-dynamic-complete-command): Doc fix.
269 (shell--command-completion-data): Shell completion now matches
270 executable filenames from the current buffer's directory, on
271 systems in which this behavior is the default (windows-nt, ms-dos).
273 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
275 * net/shr.el (shr-insert): Don't infloop if the width is zero.
277 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
279 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
282 * electric.el: Move all electric-pair-* to elec-pair.el.
283 * elec-pair.el: New file, split from electric.el.
285 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
287 * net/shr.el (shr-find-fill-point): Don't try to fill if the
288 indentation level is larger than the width, because that will
290 (shr-insert): Fill repeatedly long texts, so that Japanese is
291 formatted correctly (bug#16263).
292 (shr-find-fill-point): Off by one error in comparison with the
295 2013-12-26 João Távora <joaotavora@gmail.com>
297 * electric.el (electric-pair-mode): More flexible engine for skip-
298 and inhibit predicates, new options for pairing-related functionality.
299 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
300 if that keeps or improves their balance in buffers.
301 (electric-pair-delete-adjacent-pairs): Delete the pair when
302 backspacing over adjacent matched delimiters.
303 (electric-pair-open-extra-newline): Open extra newline when
304 inserting newlines between adjacent matched delimiters.
305 (electric--sort-post-self-insertion-hook):
306 Sort post-self-insert-hook according to priority values when
307 minor-modes are activated.
308 * simple.el (newline-and-indent): Call newline with interactive
310 (blink-paren-post-self-insert-function): Set priority to 100.
311 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
312 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
313 comments. Locally set electric-pair-skip-whitespace to 'chomp and
314 electric-pair-open-newline-between-pairs to nil.
316 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
318 * progmodes/python.el: Use lexical-binding.
319 (python-nav-beginning-of-defun): Stop searching ASAP.
321 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
323 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
324 Fix interactive spec. Doc fix. (Bug#15754)
326 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
328 * emacs-lisp/byte-run.el (eval-when-compile):
329 * progmodes/cc-defs.el (cc-eval-when-compile):
330 Fix edebug spec (bug#16184).
332 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
334 * net/shr.el (shr-visit-file): Remove debugging function.
335 (shr-insert): Don't infloop if we can't find a good place to break
336 the line (bug#16256).
338 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
340 * progmodes/python.el:
341 (python-nav--lisp-forward-sexp): New function.
342 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
343 python-nav-lisp-forward-sexp-safe.
344 (python-nav--forward-sexp): New argument SAFE allows switching
345 forward sexp movement behavior for parens.
346 (python-nav-forward-sexp): Throw errors on unterminated parens
348 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
349 (python-nav-backward-sexp-safe): New functions.
350 (python-shell-buffer-substring):
351 Use `python-nav-forward-sexp-safe'.
353 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
355 * net/shr.el (shr-find-fill-point): Don't break lines before a
357 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
358 (shr-find-fill-point): Remove the special checks for the quotation
359 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
361 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
363 * net/eww.el (eww-form-textarea): Use a different face for
364 textareas than text input since they have different keymaps
367 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
369 * progmodes/python.el (python-nav-beginning-of-statement):
370 Speed up (Bug#15295).
372 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
374 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
375 the window configuration.
377 2013-12-24 Eli Zaretskii <eliz@gnu.org>
379 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
380 we run on MS-Windows or MS-DOS.
382 2013-12-24 Martin Rudalics <rudalics@gmx.at>
384 * window.el (balance-windows-area): Call window-size instead of
385 window-height and window-width. Bug#16241.
387 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
389 * net/eww.el (eww-bookmark-quit): Remove.
390 (eww-bookmark-browse): Restore the window configuration when you
391 choose a bookmark (bug#16144).
393 2013-12-24 Daniel Colascione <dancol@dancol.org>
395 * icomplete.el: Remove redundant :group arguments to `defcustom'
397 (icomplete-show-matches-on-no-input): New customizable variable.
398 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
399 we have something to show.
400 (icomplete-exhibit): Compute completions even if we have no user input.
402 2013-12-23 Daniel Colascione <dancol@dancol.org>
404 * icomplete.el: Move `provide' to end of file.
406 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
408 * net/gnutls.el (gnutls-verify-error): Add version tag.
410 2013-12-23 Chong Yidong <cyd@gnu.org>
412 * subr.el (set-transient-map): Rename from
413 set-temporary-overlay-map. Doc fix.
415 * face-remap.el (text-scale-adjust):
416 * indent.el (indent-rigidly):
417 * kmacro.el (kmacro-call-macro):
418 * minibuffer.el (minibuffer-force-complete):
419 * repeat.el (repeat):
420 * simple.el (universal-argument--mode):
421 * calendar/todo-mode.el (todo-insert-item--next-param):
422 * progmodes/f90.el (f90-abbrev-start): Callers changed.
424 * indent.el (indent-rigidly): Use substitute-command-keys.
426 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
428 * net/eww.el (eww-tag-select): Add text-property to jump to next
430 (eww): Add non-supported ftp error.
432 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
434 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
435 comments. Handle electric indent after typing `?' and `!'.
437 2013-12-22 Chong Yidong <cyd@gnu.org>
439 * faces.el (face-spec-recalc): If the theme specs are not
440 applicable to a frame, fall back on the defface spec.
441 This prevents themes from obliterating faces on low-color terminals.
443 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
445 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
446 after `{'. We need it after block openers, and it doesn't seem
447 to hurt after hash openers.
449 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
451 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
452 extracted from `ruby-smie-rules'.
453 (ruby--electric-indent-chars): New variable.
454 (ruby--electric-indent-p): New function.
455 (ruby-mode): Use `electric-indent-functions' instead of
456 `electric-indent-chars'.
458 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
460 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
462 (ruby-smie-rules): Indent plus one level after `=>'.
464 2013-12-21 Richard Stallman <rms@gnu.org>
466 * simple.el (newline): Doc fix.
468 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
470 * net/eww.el (eww-list-histories, eww-list-histories)
471 (eww-history-browse, eww-history-quit, eww-history-kill)
472 (eww-history-mode-map, eww-history-mode): New command and
473 functions to list browser histories.
474 (eww-form-text): Support text form with disabled
475 and readonly attributes.
476 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
478 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
480 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
481 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
482 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
483 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
485 (eww-bookmark-mode-map): Add menu.
486 (eww-render, eww-mode): Use `setq-local'.
487 (eww-tool-bar-map): New variable.
488 (eww-mode): Set `tool-bar-map'.
489 (eww-view-source): Check for `html-mode' with `fboundp'.
491 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
493 * net/shr.el (shr--extract-best-source): Don't bug out on audio
494 elements with text inside. Also remove debugging.
496 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
498 * cus-start.el (all): Add ns-use-srgb-colorspace.
500 2013-12-21 Chong Yidong <cyd@gnu.org>
502 * custom.el (custom-theme-recalc-face): Do nothing if the face is
503 undefined. Thus, theme settings for undefined faces do not take
504 effect until the faces are defined with defface, the same as with
507 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
508 (face-spec-reset-face): Don't assign extra properties in temacs.
509 (face-spec-recalc): Apply X resources too.
511 2013-12-21 Chong Yidong <cyd@gnu.org>
513 * faces.el (face-spec-set):
514 * cus-face.el (custom-theme-set-faces, custom-set-faces):
515 * custom.el (defface): Doc fixes (Bug#16203).
517 * indent.el (indent-rigidly-map): Add docstring, and move commands
518 into named functions.
519 (indent-rigidly-left, indent-rigidly-right)
520 (indent-rigidly-left-to-tab-stop)
521 (indent-rigidly-right-to-tab-stop): New functions. Decide on
522 indentation direction based on bidi direction, and accumulate
523 sequential commands in a single undo boundary.
524 (indent-rigidly--pop-undo): New utility function.
526 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
528 * faces.el (read-face-name): Require crm.el when using crm-separator.
530 2013-12-20 Daniel Colascione <dancol@dancol.org>
532 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
533 so that we don't reflow comments into the shebang line.
535 2013-12-20 Juri Linkov <juri@jurta.org>
537 * saveplace.el (save-place-to-alist): Add `dired-filename' as
538 a position when `dired-directory' is non-nil. Check integer
539 positions with `integerp'.
540 (toggle-save-place, save-places-to-alist): Add check for
542 (save-place-find-file-hook): Check integer positions with
544 (save-place-dired-hook): Use `dired-goto-file' when
545 `dired-filename' is found in the assoc list. Check integer
546 positions with `integerp'.
547 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
549 * dired.el (dired-initial-position-hook): Rename back from
550 `dired-initial-point-hook'.
551 (dired-initial-position): Rename `dired-initial-point-hook' to
552 `dired-initial-position-hook'.
553 (dired-file-name-at-point): Doc fix. (Bug#15329)
555 2013-12-20 Juri Linkov <juri@jurta.org>
557 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
558 (read-regexp-suggestions): New function.
559 (read-regexp): Use `read-regexp-defaults-function' to get default values.
560 Use `read-regexp-suggestions'. Add non-empty default to history
562 (occur-read-regexp-defaults-function): Remove function.
563 (occur-read-primary-args): Use `regexp-history-last' instead of
564 `occur-read-regexp-defaults-function'.
566 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
567 (hi-lock-line-face-buffer, hi-lock-face-buffer)
568 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
569 `hi-lock-read-regexp-defaults-function'. Doc fix.
570 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
571 with `find-tag-default-as-symbol-regexp'. Doc fix.
572 (hi-lock-read-regexp-defaults): Remove function.
573 (hi-lock-regexp-okay): Add check for null.
575 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
576 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
578 * subr.el (find-tag-default-as-symbol-regexp): New function.
579 (find-tag-default-as-regexp): Move symbol regexp formatting to
580 `find-tag-default-as-symbol-regexp'.
582 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
584 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
587 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
589 * calendar/todo-mode.el: New implementation of item insertion
590 commands and key bindings.
591 (todo-key-prompt): New face.
592 (todo-insert-item): New command.
593 (todo-insert-item--parameters): New defconst, replacing defvar
594 todo-insertion-commands-args-genlist.
595 (todo-insert-item--param-key-alist): New defconst, replacing
596 defvar todo-insertion-commands-arg-key-list.
597 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
598 (todo-insert-item--argsleft, todo-insert-item--apply-args)
599 (todo-insert-item--next-param): New functions.
600 (todo-insert-item--args, todo-insert-item--argleft)
601 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
603 (todo-key-bindings-t): Change binding of "i" from
604 todo-insertion-map to todo-insert-item.
605 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
606 (todo-insertion-command-name, todo-insertion-commands-names)
607 (todo-define-insertion-command, todo-insertion-commands)
608 (todo-insertion-key-bindings, todo-insertion-map): Remove.
610 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
612 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
613 (todo-toggle-item-highlighting): Use eval-and-compile instead of
615 (todo-move-category): Allow choosing a non-existing todo file to
616 move the category to, and create that file.
617 (todo-default-priority): New user option.
618 (todo-set-item-priority): Use it.
619 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
620 (desktop-restore-file-buffer): Declare.
621 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
622 (todo-modes-set-2): Locally set desktop-save-buffer to
623 todo-desktop-save-buffer.
624 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
625 (auto-mode-alist): Add autoload cookie.
627 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
629 * emacs-lisp/subr-x.el: Renamed from helpers.el.
630 helpers.el was a poor choice of name.
631 (string-remove-prefix): New function.
632 (string-remove-suffix): New function.
634 2013-12-20 Martin Rudalics <rudalics@gmx.at>
636 Fix assignment for new window total sizes.
637 * window.el (window--pixel-to-size): Remove function.
638 (window--pixel-to-total-1, window--pixel-to-total):
639 Fix calculation of new total sizes.
641 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
643 * comint.el (comint-output-filter): Fix rear-nonsticky property
644 placement (Bug#16010).
646 2013-12-20 Chong Yidong <cyd@gnu.org>
648 * faces.el (read-color): Minor fix for completion function.
650 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
652 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
653 New option. (Bug#16182)
654 (ruby-smie--indent-to-stmt-p): Use it.
655 (ruby-smie-rules): Revert the logic in the handling of `when'.
656 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
657 (ruby-deep-arglist, ruby-deep-indent-paren)
658 (ruby-deep-indent-paren-style): Update docstrings to note that the
659 vars don't have any effect with SMIE.
661 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
663 * calc/calc.el (calc-enter, calc-pop): Use the variable
664 `calc-context-sensitive-enter'.
666 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
668 * net/shr.el (shr-insert): Protect against infloops in degenerate
671 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
673 * progmodes/octave.el (octave): Add link to manual and octave
675 (octave-mode-menu): Link to octave-mode manual.
677 2013-12-20 Leo Liu <sdl.web@gmail.com>
679 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
680 insertion using skeleton-end-newline. (Bug#16138)
682 2013-12-20 Juri Linkov <juri@jurta.org>
684 * replace.el (occur-engine): Use `add-face-text-property'
685 to add the face property to matches and titles. (Bug#14645)
687 * hi-lock.el (hi-green): Use lighter color "light green" closer to
688 the palette of other hi-lock colors.
689 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
691 2013-12-19 Juri Linkov <juri@jurta.org>
693 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
694 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
695 (minibuffer-history-symbol): Move variable declaration closer to
698 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
701 2013-12-19 Juri Linkov <juri@jurta.org>
703 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
705 (log-edit-hook): Add it to :options. (Bug#16170)
707 2013-12-19 Juri Linkov <juri@jurta.org>
709 * simple.el (eval-expression-print-format): Don't check for
710 command names and the last command. Always display additional
711 formats of the integer result in the echo area, and insert them
712 to the current buffer only with a zero prefix arg.
713 Display character when char-displayable-p is non-nil.
714 (eval-expression): With a zero prefix arg, set `print-length' and
715 `print-level' to nil, and insert the integer values from
716 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
718 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
719 `eval-last-sexp-arg-internal'. Doc fix.
720 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
721 `eval-last-sexp-print-value'. Doc fix.
722 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
723 Set `print-length' and `print-level' to nil when arg is zero.
724 (eval-last-sexp): Doc fix.
725 (eval-defun-2): Print the integer values from
726 `eval-expression-print-format' at the end.
728 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
729 values from `eval-expression-print-format' at the end.
731 * ielm.el (ielm-eval-input): Print the integer
732 values from `eval-expression-print-format' at the end.
734 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
736 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
737 2013-12-11T19:01:44Z!tzz@lifelogs.com.
739 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
741 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
742 (hl-line-highlight, global-hl-line-highlight): Use it.
743 (hl-line-overlay): Use defvar-local.
745 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
747 * term/ns-win.el: Require dnd.
748 (global-map): Remove drag items.
749 (ns-insert-text, ns-set-foreground-at-mouse)
750 (ns-set-background-at-mouse):
751 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
752 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
755 2013-12-19 Glenn Morris <rgm@gnu.org>
757 * emacs-lisp/ert.el (ert-select-tests):
758 Fix string/symbol mixup. (Bug#16121)
760 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
762 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
763 keywords to their parent.
765 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
767 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
768 first arg to be a string (fixed dead code), or an operator symbol.
769 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
771 (ruby-smie-rules): Remove parent token check in the `.' clause, it
772 did nothing. Don't respond to `(:after ".")', it will be called
773 with :before anyway. Remove the ` @ ' rule, it didn't seem to
774 change anything. Only return indentation for binary operators
775 when they are hanging. De-dent opening paren when its parent is
776 `.', otherwise it looks bad when the dot is not at bol or eol
779 2013-12-19 Juri Linkov <juri@jurta.org>
781 * replace.el (query-replace-read-args): Split a non-negative arg
782 and a negative arg into separate elements.
783 (query-replace, query-replace-regexp, replace-string)
784 (replace-regexp): Add arg `backward'. Doc fix.
785 (replace-match-maybe-edit): When new arg `backward' is non-nil,
786 move point to the beginning of the match.
787 (replace-search, replace-highlight): Use new arg `backward'
788 to set the value of `isearch-forward'.
789 (perform-replace): Add arg `backward' and use it to perform
790 replacement backward. (Bug#14979)
792 * isearch.el (isearch-query-replace): Use a negative prefix arg
793 to call `perform-replace' with a non-nil arg `backward'.
795 2013-12-18 Juri Linkov <juri@jurta.org>
797 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
798 to the default list. Move `log-edit-show-files' to the end.
799 Add more available functions to options.
800 (log-edit): Move default specific settings to
801 `log-edit-insert-message-template'. Don't move point.
802 (log-edit-insert-message-template): New function.
803 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
806 2013-12-18 Juri Linkov <juri@jurta.org>
808 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
809 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
811 2013-12-18 Leo Liu <sdl.web@gmail.com>
813 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
816 2013-12-18 Eli Zaretskii <eliz@gnu.org>
818 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
819 formats for displaying file sizes when the -s switch is given.
820 Instead, compute a separate format for displaying the size in
821 blocks, which is displayed in addition to the "regular" size.
822 When -h is given in addition to -s, produce size in blocks in
823 human-readable form as well. (Bug#16179)
825 2013-12-18 Tassilo Horn <tsdh@gnu.org>
827 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
828 Reference tables with ~\ref{...} instead of only \ref{...}.
830 2013-12-18 Chong Yidong <cyd@gnu.org>
832 * cus-edit.el (custom-magic-alist): Fix "themed" description
835 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
836 is non-nil, do not create a new entry in the symbol's theme-value
837 or theme-face property; update theme-settings only (Bug#14664).
838 (custom-available-themes): Doc fix.
840 * cus-theme.el (custom-new-theme-mode-map): Add bindings
843 * replace.el (occur-engine): Avoid infloop (Bug#7593).
845 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
847 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
850 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
852 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
854 2013-12-18 Glenn Morris <rgm@gnu.org>
856 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
857 * cus-start.el (load-prefer-newer): New option.
859 2013-12-18 Le Wang <l26wang@gmail.com>
861 * comint.el (comint-previous-matching-input-from-input):
862 Retain point (Bug#13404).
864 2013-12-18 Chong Yidong <cyd@gnu.org>
866 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
868 2013-12-18 Glenn Morris <rgm@gnu.org>
870 * mail/emacsbug.el (report-emacs-bug):
871 Only mention enable-multibyte-characters if non-standard.
873 2013-12-17 Juri Linkov <juri@jurta.org>
875 * arc-mode.el (archive-extract-by-file): Check if directory exists
876 before deletion to not show irrelevant errors if it doesn't exist.
878 2013-12-17 Juri Linkov <juri@jurta.org>
880 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
883 * net/eww.el (browse-web): Add alias to `eww'.
884 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
885 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
887 * net/browse-url.el (browse-url-browser-function): Move `eww'
888 closer to similar functions.
890 * startup.el (fancy-startup-screen, fancy-about-screen):
891 Set browse-url-browser-function to eww-browse-url locally.
894 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
896 * window.el (window--pixel-to-total): Remove unused `mini' var.
897 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
898 (split-window): Remove unused `new' var.
899 (window--display-buffer): Remove unused `frame' and `delta' vars.
900 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
903 2013-12-17 Martin Rudalics <rudalics@gmx.at>
905 * dired.el (dired-mark-pop-up):
906 * register.el (register-preview): Don't bind
907 split-height-threshold here since it's now done in
908 display-buffer-below-selected.
910 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
912 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
913 xterm-rgb-convert-to-16bit.
914 (rxvt-register-default-colors): Standardize with
915 xterm-register-default-colors (Bug#14078).
917 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
919 * simple.el (kill-region): Pass mark first, then point, so that
920 kill-append works right (Bug#12819).
921 (copy-region-as-kill, kill-ring-save): Likewise.
923 2013-12-17 Leo Liu <sdl.web@gmail.com>
925 * net/rcirc.el (rcirc-add-face):
926 * eshell/em-prompt.el (eshell-emit-prompt):
927 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
930 2013-12-17 Chong Yidong <cyd@gnu.org>
932 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
933 Suggested by Xue Fuqiao.
935 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
937 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
939 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
941 * net/shr.el (shr-insert-document): Remove unused var
942 `shr-preliminary-table-render'.
943 (shr-rescale-image): Remove unused arg `force'.
944 (shr-put-image): Update calls accordingly.
945 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
947 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
949 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
950 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
951 :close-all, to see which indentation method to use (Bug#16116).
952 (smie-rules-function): Document the method :close-all.
954 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
956 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
958 * net/eww.el (eww-display-html): If we can't find the anchor we're
959 looking for, then go to point-min.
961 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
963 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
964 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
965 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
966 Expand dir too, in case it's relative.
968 2013-12-16 Juri Linkov <juri@jurta.org>
970 * desktop.el (desktop-auto-save-timeout): Change default to
971 `auto-save-timeout'. Doc fix.
972 (desktop-save): Skip the timestamp in desktop-saved-frameset
973 when checking for auto-save changes.
974 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
975 `desktop-auto-save' is called repeatedly by the idle timer.
976 (desktop-auto-save-set-timer): Replace `run-with-timer' with
977 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
980 2013-12-16 Juri Linkov <juri@jurta.org>
982 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
984 (isearch-pre-command-hook): Check `this-command' for symbolp.
986 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
988 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
990 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
992 * progmodes/cfengine.el (cfengine3--current-word): Remove.
993 (cfengine3--current-function): Bring in the current-function
994 functionality from `cfengine3--current-word'.
995 (cfengine3-completion-function): Bring in the
996 bounds-of-current-word functionality from
997 `cfengine3--current-word'.
999 2013-12-16 Martin Rudalics <rudalics@gmx.at>
1001 * window.el (display-buffer-below-selected):
1002 Bind split-height-threshold to 0 as suggested by Juri Linkov.
1004 2013-12-16 Leo Liu <sdl.web@gmail.com>
1006 * progmodes/compile.el (compile-goto-error): Do not push-mark.
1007 Remove NOMSG arg and all uses changed.
1009 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
1011 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
1012 (cua--deactivate-rectangle): Don't deactivate the mark.
1013 (cua-set-rectangle-mark): Don't set mark-active since
1014 cua--activate-rectangle already does it for us.
1015 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
1016 non-rectangular region.
1018 * emulation/cua-base.el (cua-repeat-replace-region):
1019 Use with-current-buffer.
1021 * net/gnutls.el: Use cl-lib.
1022 (gnutls-negotiate): `mapcan' -> cl-mapcan.
1024 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
1026 * emacs-lisp/package.el (package-built-in-p): Support both
1027 built-in and the package.el converted package descriptions.
1028 (package-show-package-list): Allow keywords.
1029 (package-keyword-button-action): Use it instead of
1030 `finder-list-matches'.
1031 (package-menu-filter-interactive): Interactive filtering (by
1033 (package-menu--generate): Support keywords and change keymappings
1034 and headers when they are given.
1035 (package--has-keyword-p): Helper function.
1036 (package-menu--refresh): Use it.
1037 (package--mapc): Helper function.
1038 (package-all-keywords): Use it.
1039 (package-menu-mode-map): Set up menu items and keybindings to
1040 provide a filtering UI.
1042 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
1044 * net/gnutls.el (gnutls-verify-error): New defcustom to control
1045 the behavior when a certificate fails validation. Defaults to
1046 old behavior: never abort, just warn.
1047 (gnutls-negotiate): Use it.
1049 2013-12-14 Martin Rudalics <rudalics@gmx.at>
1051 * window.el (display-buffer-below-selected): Never split window
1052 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
1054 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
1056 * emacs-lisp/package.el (package--prepare-dependencies): New function.
1057 (package-buffer-info): Use it (bug#15108).
1059 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
1061 * icomplete.el (icomplete-completions): Make sure the prefix is already
1062 displayed elsewhere before hiding it (bug#16219).
1064 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
1066 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
1067 open-paren tokens when preceded by a open-paren, too.
1068 (ruby-smie-rules): Handle virtual indentation after open-paren
1069 tokens specially. If there is code between it and eol, return the
1070 column where is starts (Bug#16118).
1072 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
1074 * progmodes/cfengine.el: Fix `add-hook' doc.
1075 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
1076 (cfengine3--current-word): Fix parameters.
1077 (cfengine3-make-syntax-cache): Simplify further.
1078 (cfengine3-completion-function, cfengine3--current-function):
1079 Use `assq' for symbols.
1080 (cfengine3--current-function): Fix `cfengine3--current-word' call.
1082 2013-12-13 Glenn Morris <rgm@gnu.org>
1084 * loadup.el (load-path): Warn if site-load or site-init changes it.
1085 No more need to reset it when bootstrapping.
1087 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
1089 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
1090 locations for cf-promises.
1091 (cfengine-mode-syntax-functions-regex): New caching variable.
1092 (cfengine3-fallback-syntax): Fallback syntax for cases where
1093 cf-promises doesn't run.
1094 (cfengine3--current-word): Reimplement using
1095 `cfengine-mode-syntax-functions-regex'.
1096 (cfengine3-completion-function, cfengine3--current-function):
1097 Use `cfengine3-make-syntax-cache' directly.
1098 (cfengine3-clear-syntax-cache): New function.
1099 (cfengine3-make-syntax-cache): Simplify and create
1100 `cfengine-mode-syntax-functions-regex' on demand.
1101 (cfengine3-format-function-docstring): Don't call
1102 `cfengine3-make-syntax-cache' explicitly.
1104 2013-12-13 Martin Rudalics <rudalics@gmx.at>
1106 Fix windmove-find-other-window broken after pixelwise resizing
1108 * windmove.el (windmove-other-window-loc): Revert change from
1110 (windmove-find-other-window): Call window-in-direction.
1111 * window.el (window-in-direction): New arguments SIGN, WRAP and
1112 MINI to emulate original windmove-find-other-window behavior.
1114 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
1116 * simple.el (blink-matching--overlay): New variable.
1117 (blink-matching-open): Instead of moving point, highlight the
1118 matching paren with an overlay
1119 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
1121 * faces.el (paren-showing-faces, show-paren-match)
1122 (show-paren-mismatch): Move from paren.el.
1124 2013-12-13 Leo Liu <sdl.web@gmail.com>
1126 * indent.el (indent-region): Disable progress reporter in
1127 minibuffer. (Bug#16108)
1129 * bindings.el (visual-order-cursor-movement): Fix version.
1131 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
1133 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
1134 Also match after beginning of line.
1135 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
1136 files. Thanks to Russell Sim. (Bug#15378)
1138 2013-12-13 Juri Linkov <juri@jurta.org>
1140 * simple.el <Keypad support>: Remove key bindings duplicated
1141 with bindings.el. (Bug#14397)
1143 2013-12-13 Juri Linkov <juri@jurta.org>
1145 * comint.el (comint-mode-map): Replace `delete-char' with
1146 `delete-forward-char'. (Bug#16109)
1148 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
1150 * progmodes/python.el (python-indent-calculate-indentation):
1151 Fix de-denters cornercase. (Bug#15731)
1153 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
1155 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
1156 (advice--make): Pay attention to `depth'.
1157 (advice--make-1): Don't autoload commands eagerly.
1158 * emacs-lisp/elp.el (elp-instrument-function):
1159 * emacs-lisp/trace.el (trace-function-internal):
1160 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
1162 * iswitchb.el (iswitchb-mode): Don't belittle ido.
1164 2013-12-12 Eli Zaretskii <eliz@gnu.org>
1166 * term/w32-win.el (w32-handle-dropped-file):
1167 * startup.el (normal-top-level):
1168 * net/browse-url.el (browse-url-file-url):
1169 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
1170 decode file names using 'utf-8' rather than
1171 file-name-coding-system.
1173 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
1175 * progmodes/python.el (python-indent-context)
1176 (python-indent-calculate-indentation): Fix auto-identation
1177 behavior for comment blocks. (Bug#15916)
1179 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1181 * progmodes/python.el (python-indent-calculate-indentation):
1182 When determining indentation, don't treat "return", "pass", etc., as
1183 operators when they are just string constituents. (Bug#15812)
1185 2013-12-12 Juri Linkov <juri@jurta.org>
1187 * uniquify.el (uniquify-buffer-name-style): Change default to
1188 `post-forward-angle-brackets'.
1190 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
1191 `uniquify'. Change default to `post-forward-angle-brackets'.
1193 2013-12-11 Glenn Morris <rgm@gnu.org>
1195 * emacs-lisp/package.el (finder-list-matches):
1196 Autoload rather than falsely declaring.
1198 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
1200 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
1201 (eww-mode-map): Use them.
1203 2013-12-11 Martin Rudalics <rudalics@gmx.at>
1205 * window.el (display-buffer-in-side-window): Fix doc-string
1208 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
1210 * vc/vc-git.el: Silence byte-compiler warnings.
1211 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
1212 (log-edit-set-header): Declare.
1214 2013-12-11 Eli Zaretskii <eliz@gnu.org>
1216 * Makefile.in (custom-deps, finder-data): Run output file names
1217 through unmsys--file-name. (Bug#16099)
1219 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
1221 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
1222 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
1224 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
1225 instead of deleting the selection "by hand" (bug#16098).
1226 Rely on insert-for-yank to yank rectangles.
1227 (cua-highlight-region-shift-only): Mark obsolete.
1228 (cua-mode): Don't enable/disable transient-mark-mode,
1229 shift-select-mode (cua-mode works both with and without them), and
1230 pc-selection-mode (obsolete).
1231 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
1232 (cua--deactivate-rectangle): Deactivate it.
1234 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
1235 (delete-selection-helper): Make sure yank starts at the top of the
1237 (minibuffer-keyboard-quit): Use region-active-p.
1239 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
1241 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
1242 to `delete' (bug#16109).
1244 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1246 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
1247 info manual and show keybindings and set `:group' keyword.
1249 2013-12-11 Juri Linkov <juri@jurta.org>
1251 * delsel.el (delete-active-region): Let-bind `this-command'
1252 to prevent `kill-region' from changing its original value.
1253 (delete-selection-helper): Handle `overwrite-mode' for the type
1254 `kill' exactly the same way as for the type `t'.
1255 (insert-char, quoted-insert, reindent-then-newline-and-indent):
1256 Support more commands. (Bug#13312)
1258 2013-12-11 Juri Linkov <juri@jurta.org>
1260 * bindings.el: Map kp keys to non-kp keys systematically
1261 with basic modifiers control, meta and shift. (Bug#14397)
1263 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1265 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
1266 "Close browser" menu items. Fix wrong function of "List
1269 2013-12-11 Juri Linkov <juri@jurta.org>
1271 * misearch.el (multi-isearch-buffers): Set the value of
1272 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
1273 arg of isearch-forward to t.
1274 (multi-isearch-buffers-regexp): Set the value of
1275 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
1276 arg of isearch-forward-regexp to t.
1277 (multi-isearch-files): Set the value of
1278 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
1279 arg of isearch-forward to t.
1280 (multi-isearch-files-regexp): Set the value of
1281 `multi-isearch-file-list globally. Set NO-RECURSIVE-EDIT
1282 arg of isearch-forward-regexp to t. (Bug#16035)
1284 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
1285 arg of isearch-forward to t.
1286 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
1287 arg of isearch-forward-regexp to t.
1288 (dired-isearch-filter-filenames): Remove unnecessary check for
1289 `dired-isearch-filenames'.
1291 * comint.el (comint-history-isearch-backward):
1292 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
1293 (comint-history-isearch-backward-regexp):
1294 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
1296 2013-12-10 Eli Zaretskii <eliz@gnu.org>
1298 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
1299 unmsys--file-name. (Bug#16099)
1301 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
1303 * emacs-lisp/package.el (package-keyword-button-action):
1304 Remove finder.el require dependency.
1306 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
1308 * emacs-lisp/package.el: Require finder.el.
1309 (describe-package-1): Add keyword buttons.
1310 (package-make-button): New convenience function.
1311 (package-keyword-button-action): Keyword button action using
1312 `finder-list-matches'.
1314 2013-12-09 Eli Zaretskii <eliz@gnu.org>
1316 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
1319 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
1321 * autorevert.el (auto-revert-notify-add-watch): Do not handle
1324 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
1326 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
1327 after the end of a percent literal.
1329 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
1331 * progmodes/ruby-mode.el (ruby-forward-string): Document.
1332 Handle caret-delimited strings (Bug#16079).
1334 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
1336 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
1337 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
1338 `ruby-parse-partial' (Bug#16078).
1340 2013-12-09 Leo Liu <sdl.web@gmail.com>
1342 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
1344 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
1346 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
1347 (js-switch-indent-offset): New option.
1348 (js--proper-indentation): Use it. And handle the case when
1349 "default" is actually a key in an object literal.
1350 (js--same-line): New function.
1351 (js--multi-line-declaration-indentation): Use it.
1352 (js--indent-in-array-comp, js--array-comp-indentation):
1354 (js--proper-indentation): Use them, to handle array comprehension
1357 2013-12-08 Leo Liu <sdl.web@gmail.com>
1359 * progmodes/flymake.el (flymake-highlight-line): Re-write.
1360 (flymake-make-overlay): Remove arg MOUSE-FACE.
1361 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
1363 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
1365 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
1367 (redisplay-highlight-region-function): Use it.
1369 * emulation/cua-base.el (cua--explicit-region-start)
1370 (cua--last-region-shifted): Remove.
1371 (cua--deactivate): Use deactivate-mark.
1372 (cua--pre-command-handler-1): Don't handle shift-selection.
1373 (cua--post-command-handler-1): Don't change transient-mark-mode.
1374 (cua--select-keymaps): Use region-active-p rather than
1375 cua--explicit-region-start or cua--last-region-shifted.
1376 (cua-mode): Enable shift-select-mode.
1378 2013-12-08 Leo Liu <sdl.web@gmail.com>
1380 * progmodes/flymake.el (flymake-popup-current-error-menu):
1381 Rename from flymake-display-err-menu-for-current-line. Reimplement.
1382 (flymake-posn-at-point-as-event, flymake-popup-menu)
1383 (flymake-make-emacs-menu): Remove. (Bug#16077)
1385 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
1387 * rect.el (rectangle-mark-mode): Activate mark even if
1388 transient-mark-mode is off (bug#16066).
1389 (rectangle--highlight-for-redisplay): Fix boundary condition when point
1390 is > mark and at bolp.
1392 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
1393 (region-extract-function): Use it.
1394 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
1395 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
1397 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
1398 kill-ring-save, kill-region, delete-char, delete-forward-char.
1399 Ignore self-insert-iso.
1401 * emulation/cua-gmrk.el (cua--init-global-mark):
1402 Ignore `self-insert-iso'.
1404 * emulation/cua-base.el (cua--prefix-copy-handler)
1405 (cua--prefix-cut-handler): Rely on region-extract-function rather than
1406 checking cua--rectangle.
1407 (cua-delete-region): Use region-extract-function.
1408 (cua-replace-region): Delete function.
1409 (cua-copy-region, cua-cut-region): Obey region-extract-function.
1410 (cua--pre-command-handler-1): Don't do the delete-selection thing.
1411 (cua--self-insert-char-p): Ignore `self-insert-iso'.
1412 (cua--init-keymaps): Don't remap delete-selection commands.
1413 (cua-mode): Use delete-selection-mode instead of rolling our own
1416 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
1417 Obey region-extract-function.
1419 Make registers and delete-selection-mode work on rectangles.
1420 * register.el (describe-register-1): Don't modify the register's value.
1421 (copy-to-register): Obey region-extract-function.
1422 * delsel.el (delete-active-region): Obey region-extract-function.
1424 2013-12-08 Leo Liu <sdl.web@gmail.com>
1426 * progmodes/flymake.el (flymake, flymake-error-bitmap)
1427 (flymake-warning-bitmap, flymake-fringe-indicator-position)
1428 (flymake-compilation-prevents-syntax-check)
1429 (flymake-start-syntax-check-on-newline)
1430 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
1431 (flymake-start-syntax-check-on-find-file, flymake-log-level)
1432 (flymake-xml-program, flymake-master-file-dirs)
1433 (flymake-master-file-count-limit)
1434 (flymake-allowed-file-name-masks): Relocate.
1435 (flymake-makehash, flymake-float-time)
1436 (flymake-replace-regexp-in-string, flymake-split-string)
1437 (flymake-get-temp-dir): Remove.
1438 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
1439 (flymake-current-row, flymake-selected-frame)
1440 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
1441 related functions. (Bug#16077)
1443 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
1445 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
1447 2013-12-07 Tassilo Horn <tsdh@gnu.org>
1449 * help-fns.el (describe-function-1): Use new advice-* functions
1450 rather than old ad-* functions. Fix function type description and
1451 source links for advised functions and subrs.
1453 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
1455 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
1457 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
1459 * progmodes/compile.el (compilation-start):
1460 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
1462 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1463 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
1465 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1467 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1468 Touch up the last change.
1470 2013-12-06 Leo Liu <sdl.web@gmail.com>
1472 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
1473 (inferior-octave-startup): Always use "octave> " for prompt.
1474 (octave-goto-function-definition)
1475 (octave-sync-function-file-names)
1476 (octave-find-definition-default-filename): Remove redundant backquotes.
1478 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1480 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
1482 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
1483 where appropriate already.
1484 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
1485 end of method names (Bug#15874).
1487 2013-12-06 Juri Linkov <juri@jurta.org>
1489 * isearch.el (isearch--saved-overriding-local-map):
1490 New internal variable.
1491 (isearch-mode): Set it to the initial value of
1492 `overriding-terminal-local-map'.
1493 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
1494 with `isearch--saved-overriding-local-map'. (Bug#16035)
1496 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1498 * progmodes/octave.el (inferior-octave-completion-table):
1499 Turn back into function, use `completion-table-with-cache'
1500 (Bug#11906). Update all references.
1502 * minibuffer.el (completion-table-with-cache): New function.
1504 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
1506 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
1508 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
1510 * net/eww.el (eww-current-source): New variable to store page
1512 (eww-display-html, eww-mode, eww-save-history)
1513 (eww-restore-history): Use it.
1514 (eww-view-source): New command to view page source.
1515 Opportunistically uses `html-mode' to highlight the buffer.
1516 (eww-mode-map): Install it.
1518 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
1520 * net/dbus.el (dbus-unregister-service)
1521 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
1523 (dbus-unregister-service): Skip :serial entries in
1524 `dbus-registered-objects-table'.
1525 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
1527 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
1529 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
1530 around keywords with extra `split-string' argument.
1532 2013-12-04 Martin Rudalics <rudalics@gmx.at>
1534 * windmove.el (windmove-other-window-loc): Handle navigation
1535 between windows (excluding the minibuffer window - Bug#16017).
1537 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
1539 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
1540 in D-Bus type syntax.
1541 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
1542 preserve unibyte strings. (Bug#16048)
1544 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
1546 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
1547 Call force-mode-line-update is the proper buffer (bug#16042).
1549 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
1551 * vc/log-edit.el (log-edit-add-new-comment): Rename to
1552 `log-edit-remember-comment', make argument optional. Adjust all
1554 (log-edit-mode): Add `log-edit-remember-comment' to
1555 `kill-buffer-hook' locally.
1556 (log-edit-kill-buffer): Don't remember comment explicitly since
1557 the buffer is killed anyway.
1559 2013-12-04 Juri Linkov <juri@jurta.org>
1561 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
1562 add-hook and remove-hook for multi-buffer search. (Bug#16035)
1564 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
1566 * notifications.el (notifications-close-notification): Call the
1567 D-Bus method with ID being a `:uint32'. (Bug#16030)
1569 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
1571 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
1573 2013-12-03 Juri Linkov <juri@jurta.org>
1575 * progmodes/compile.el (compilation-start): Rename window alist
1576 entry `no-display-ok' to `allow-no-window'.
1578 * simple.el (shell-command): Add window alist entry
1579 `allow-no-window' to `display-buffer'.
1580 (async-shell-command): Doc fix.
1582 * window.el (display-buffer-no-window): New action function.
1583 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
1585 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1587 * vc/log-edit.el (log-edit-set-header): Extract from
1588 `log-edit-toggle-header'.
1589 (log-edit-extract-headers): Separate the summary, when extracted
1590 from header, from the rest of the message with an empty line.
1592 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
1593 line, if present, to the Summary header.
1595 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
1597 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
1598 in current-buffer (bug#16029).
1600 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
1602 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
1603 (debugger-mode-map): Bind it.
1604 (debugger--backtrace-base): New function.
1605 (debugger-eval-expression): Use it.
1606 (debugger-frame-number): Skip local vars when present.
1607 (debugger--locals-visible-p, debugger--insert-locals)
1608 (debugger--show-locals, debugger--hide-locals): New functions.
1610 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
1612 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
1614 (tramp-get-remote-locale): New defun.
1615 (tramp-open-connection-setup-interactive-shell): Use it.
1617 2013-12-02 Leo Liu <sdl.web@gmail.com>
1619 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
1621 * progmodes/sh-script.el (sh-shell-process):
1622 * progmodes/octave.el (inferior-octave-process-live-p):
1623 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
1624 (gdb-inferior-io-sentinel):
1625 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
1627 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1629 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
1630 `save-selected-window' to `log-edit-hide-buf'. This makes
1631 `log-edit-show-files' idempotent.
1632 (log-edit-show-files): Mark the new window as dedicated.
1634 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1636 * vc/log-edit.el (log-edit-mode-map): Add binding for
1637 `log-edit-kill-biffer'.
1638 (log-edit-hide-buf): Add a FIXME comment.
1639 (log-edit-add-new-comment): New function, extracted from
1641 (log-edit-done, log-edit-add-to-changelog): Use it.
1642 (log-edit-kill-buffer): New command.
1644 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1646 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
1647 instead of killing the buffer.
1649 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
1651 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
1653 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1655 * net/eww.el (eww-form-checkbox-selected-symbol)
1656 (eww-form-checkbox-symbol): New customizable variable.
1657 (eww-form-checkbox, eww-toggle-checkbox):
1658 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
1660 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
1661 (shr--get-media-pref, shr--extract-best-source): New function.
1662 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
1663 no :src tag was specified.
1665 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
1666 (eww-render): Handle `eww-use-external-browser-for-content-type'.
1667 Use \\` to match beginning of string instead of ^.
1668 (eww-browse-with-external-browser): Provide optional URL parameter.
1669 (eww-render): Set `eww-current-title' back to "".
1671 * net/shr.el (shr-tag-video): Display content for video if no
1672 poster is available.
1673 (shr-tag-audio): Add support for <audio> tag.
1675 * net/eww.el (eww-text-input-types): New const.
1676 (eww-process-text-input): Treat input types in
1677 `eww-text-input-types' as text.
1679 * net/shr.el (shr-tag-table): Fix comment typo.
1681 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1683 * net/eww.el (eww-follow-link): New command to avoid reloading
1684 pages when we follow #target links (bug#15243).
1685 (eww-quit): Special mode buffers shouldn't query before exiting.
1687 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1689 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
1692 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1694 * net/eww.el (eww-restore-history): Update the window title after
1695 moving in the history.
1696 (eww-current-dom): New variable used to save the current DOM.
1698 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
1700 * vc/log-edit.el (log-edit-mode-map): Add binding for
1701 `log-edit-beginning-of-line'.
1702 (log-edit-setup-add-author): New user option.
1703 (log-edit-beginning-of-line): New command.
1704 (log-edit): Move major mode call above the contents setup so that
1705 the local variable values are already applied.
1706 (log-edit): Only insert "Author: " when
1707 `log-edit-setup-add-author' is non-nil.
1708 (log-edit): When SETUP is non-nil, position point after ": "
1709 instead of point-min.
1711 2013-12-01 Glenn Morris <rgm@gnu.org>
1713 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
1715 2013-11-30 Eli Zaretskii <eliz@gnu.org>
1717 * startup.el (fancy-splash-frame): On MS-Windows, trigger
1718 redisplay to make sure the initial frame gets a chance to become
1719 visible. (Bug#16014)
1721 2013-11-30 Martin Rudalics <rudalics@gmx.at>
1723 Support resizing frames and windows pixelwise.
1724 * cus-start.el (frame-resize-pixelwise)
1725 (window-resize-pixelwise): New entries.
1726 * emacs-lisp/debug.el (debug): Use window-total-height instead
1727 of window-total-size.
1728 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
1729 * help.el (describe-bindings-internal): Call help-buffer
1730 (temp-buffer-max-width): New option.
1731 (resize-temp-buffer-window, help-window-setup)
1732 (with-help-window): Rewrite.
1733 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
1735 * window.el (frame-char-size, window-min-pixel-height)
1736 (window-safe-min-pixel-height, window-safe-min-pixel-width)
1737 (window-min-pixel-width, window-safe-min-pixel-size)
1738 (window-combination-p, window-safe-min-size)
1739 (window-resizable-p, window--size-to-pixel)
1740 (window--pixel-to-size, window--resize-apply-p): New functions.
1741 (window-safe-min-height): Fix doc-string.
1742 (window-size, window-min-size, window--min-size-1)
1743 (window-sizable, window-sizable-p, window--min-delta-1)
1744 (window-min-delta, window--max-delta-1, window-max-delta)
1745 (window--resizable, window--resizable-p, window-resizable)
1746 (window-full-height-p, window-full-width-p, window-at-side-p)
1747 (window--in-direction-2, window-in-direction)
1748 (window--resize-reset-1, window--resize-mini-window)
1749 (window-resize, window-resize-no-error)
1750 (window--resize-child-windows-normal)
1751 (window--resize-child-windows, window--resize-siblings)
1752 (window--resize-this-window, window--resize-root-window)
1753 (window--resize-root-window-vertically)
1754 (adjust-window-trailing-edge, enlarge-window, shrink-window)
1755 (maximize-window, minimize-window, delete-window)
1756 (quit-restore-window, window-split-min-size, split-window)
1757 (balance-windows-2, balance-windows)
1758 (balance-windows-area-adjust, balance-windows-area)
1759 (window--state-get-1, window-state-get, window--state-put-1)
1760 (window--state-put-2, window-state-put)
1761 (display-buffer-record-window, window--display-buffer):
1762 Make functions handle pixelwise sizing of windows.
1763 (display-buffer--action-function-custom-type)
1764 (display-buffer-fallback-action):
1765 Add display-buffer-in-previous-window.
1766 (display-buffer-use-some-window): Resize window to height it had
1768 (fit-window-to-buffer-horizontally): New option.
1769 (fit-frame-to-buffer): Describe new values.
1770 (fit-frame-to-buffer-bottom-margin): Replace with
1771 fit-frame-to-buffer-margins.
1772 (window--sanitize-margin): New function.
1773 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
1774 using window-text-pixel-size.
1776 2013-11-30 Glenn Morris <rgm@gnu.org>
1778 * emacs-lisp/bytecomp.el (byte-compile-form):
1779 Make the `interactive-only' warning like the `obsolete' one.
1780 * comint.el (comint-run):
1781 * files.el (insert-file-literally, insert-file):
1782 * replace.el (replace-string, replace-regexp):
1783 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
1784 (goto-line, insert-buffer, next-line, previous-line):
1785 Tweak `interactive-only' spec.
1787 Stop keeping (most) generated cedet grammar files in the repository.
1788 * Makefile.in (semantic): New.
1789 (compile-main): Depend on semantic.
1791 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
1793 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
1794 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
1796 * uniquify.el (uniquify-buffer-name-style): Change default.
1798 * loadup.el: Preload "uniquify".
1800 * time.el (display-time-update): Update all mode lines (bug#15999).
1802 * electric.el (electric-indent-mode): Enable by default.
1803 * loadup.el: Preload "electric".
1805 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
1807 * emacs-lisp/helpers.el (string-empty-p): New function.
1808 (string-blank-p): New function.
1810 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
1812 * imenu.el (imenu--index-alist): Add missing dot to the docstring
1815 2013-11-29 Andreas Politz <politza@fh-trier.de>
1816 * imenu.el (imenu--subalist-p): Don't error on non-conses and
1817 allow non-lambda lists as functions.
1818 (imenu--in-alist): Don't recurse into non-subalists.
1819 (imenu): Don't pass function itself as an argument (Bug#14029).
1821 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
1823 * progmodes/python.el (python-mode-map): Remove binding for ":".
1824 (python-indent-electric-colon): Remove command.
1825 (python-indent-post-self-insert-function): Integrate the previous code
1826 of python-indent-electric-colon. Make it conditional on
1827 electric-indent-mode.
1828 (python-mode): Add ?: to electric-indent-chars.
1829 Move python-indent-post-self-insert-function to the end of
1830 post-self-insert-hook.
1832 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
1834 * doc-view.el (doc-view-goto-page): Update mode-line.
1836 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
1838 2013-11-27 Glenn Morris <rgm@gnu.org>
1840 * international/charprop.el, international/uni-bidi.el:
1841 * international/uni-category.el, international/uni-combining.el:
1842 * international/uni-comment.el, international/uni-decimal.el:
1843 * international/uni-decomposition.el, international/uni-digit.el:
1844 * international/uni-lowercase.el, international/uni-mirrored.el:
1845 * international/uni-name.el, international/uni-numeric.el:
1846 * international/uni-old-name.el, international/uni-titlecase.el:
1847 * international/uni-uppercase.el:
1848 Remove generated files from VCS repository.
1850 2013-11-27 Eli Zaretskii <eliz@gnu.org>
1852 * filenotify.el (file-notify-add-watch): Don't special-case
1853 w32notify when computing the directory to watch.
1855 2013-11-27 Glenn Morris <rgm@gnu.org>
1857 Make bootstrap without generated uni-*.el files possible again.
1858 * loadup.el: Update command-line-args checking for unidata-gen.
1859 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
1860 * composite.el, international/characters.el:
1861 Handle unicode tables being undefined.
1863 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
1864 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
1865 (compile-main): Depend on leim rule.
1867 * loadup.el: Move leim-list.el to leim/ subdirectory.
1868 * startup.el (normal-top-level): No more leim directory.
1869 * international/ja-dic-cnv.el (skkdic-convert):
1870 Disable version-control and autoloads in output files.
1871 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
1872 Disable version-control and autoloads in output files.
1873 * leim/quail: Move here from ../leim.
1874 * leim/quail/hangul.el (hangul-input-method-activate):
1875 Add autoload cookie.
1876 (generated-autoload-load-name): Set file-local value.
1877 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
1878 (generated-autoload-load-name): Set file-local value.
1880 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
1882 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
1883 (eww-add-bookmark): Ask confirmation when add to bookmarks.
1884 (eww-quit): Ask confirmation before quitting eww.
1886 2013-11-26 Eli Zaretskii <eliz@gnu.org>
1888 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
1889 reading output from Diff on MS-Windows and MS-DOS.
1891 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
1893 * emacs-lisp/helpers.el (string-reverse): New function.
1895 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
1897 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
1898 names on MS Windows, like "/[::1]:".
1900 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
1903 2013-11-26 Glenn Morris <rgm@gnu.org>
1905 * progmodes/python.el (python-indent-guess-indent-offset):
1906 Avoid corner-case error. (Bug#15975)
1908 Preload leim-list.el. (Bug#4789)
1909 * loadup.el: Load leim-list.el when found.
1910 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
1912 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
1914 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
1916 * emacs-lisp/helpers.el (string-join): New function.
1918 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
1920 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
1921 Mark as obsolete and replace it with a symbol property.
1922 (byte-compile-form): Use new 'interactive-only property.
1923 * comint.el, files.el, replace.el, simple.el:
1924 Apply new 'interactive-only properly.
1926 2013-11-25 Martin Rudalics <rudalics@gmx.at>
1928 * window.el (display-buffer-at-bottom): Make sure that
1929 split-window-sensibly creates the new window on bottom
1932 2013-11-23 David Kastrup <dak@gnu.org>
1934 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
1935 on the conflict markers when available.
1936 (smerge--get-marker): New function.
1937 (smerge-end-re, smerge-base-re): Add subgroup.
1939 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
1941 * frame.el (handle-focus-in, handle-focus-out): Add missing
1944 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
1946 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
1947 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
1949 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
1951 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
1952 (gomoku--last-pos): New var.
1953 (gomoku--intangible-chars): New const.
1954 (gomoku--intangible): New function.
1955 (gomoku-mode): Use it. Derive from special-mode.
1956 (gomoku-move-up): Adjust line count.
1957 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
1958 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
1959 Simplify accordingly.
1961 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
1962 Remove blink-cursor code.
1963 (blink-cursor-timer-function, blink-cursor-suspend):
1964 Don't special-case GUIs.
1965 (blink-cursor-mode): Use focus-in/out-hook.
1967 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
1969 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
1970 work when annotation is invisible (Bug#13886).
1972 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
1974 * json.el (json-alist-p): Only return non-nil if the alist has
1975 simple keys (Bug#13518).
1977 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
1979 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
1980 when control-statement is the first statement in a buffer (Bug#15956).
1982 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
1984 * imenu.el (imenu-generic-skip-comments-and-strings):
1985 New option (Bug#15560).
1986 (imenu--generic-function): Use it.
1988 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
1990 * minibuffer.el (completion--in-region-1): Scroll the correct window.
1993 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
1995 * emacs-lisp/helpers.el: Add some string helpers.
1996 (string-trim-left): Removes leading whitespace.
1997 (string-trim-right): Removes trailing whitespace.
1998 (string-trim): Removes leading and trailing whitespace.
2000 * subr.el (string-suffix-p): New function.
2002 2013-11-23 Glenn Morris <rgm@gnu.org>
2004 * progmodes/python.el (python-shell-send-file):
2005 Add option to delete file when done. (Bug#15647)
2006 (python-shell-send-string, python-shell-send-region): Use it.
2008 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
2010 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
2011 to set buffer-read-only to t, never to nil. (Bug#15938)
2013 * textmodes/tex-mode.el (latex-noindent-environments):
2014 Add safe-local-variable property. (Bug#15936)
2016 2013-11-23 Glenn Morris <rgm@gnu.org>
2018 * textmodes/enriched.el (enriched-mode): Doc fix.
2019 * emacs-lisp/authors.el (authors-renamed-files-alist):
2020 Add enriched.doc -> enriched.txt.
2022 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
2024 2013-11-22 Leo Liu <sdl.web@gmail.com>
2026 * progmodes/octave.el (inferior-octave-startup): Spit out error
2029 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
2031 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
2034 (ruby-encoding-magic-comment-style): Add :version.
2036 2013-11-22 Leo Liu <sdl.web@gmail.com>
2038 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
2040 (octave-help-mode): Adapt to change to help-mode-finish to use
2041 derived-mode-p on 2013-09-17.
2042 (inferior-octave-prompt): Also match octave-gui.
2043 (octave-kill-process): Don't ask twice. (Bug#10564)
2045 2013-11-22 Leo Liu <sdl.web@gmail.com>
2047 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
2048 (inferior-octave-startup, inferior-octave-check-process)
2049 (inferior-octave-track-window-width-change)
2050 (octave-completion-at-point, octave-eldoc-function): Use it.
2051 (octave-kill-process): Provide confirmation. (Bug#10564)
2053 2013-11-21 Leo Liu <sdl.web@gmail.com>
2055 * progmodes/octave.el (octave-mode, inferior-octave-mode):
2056 Fix obsolete variable comment-use-global-state.
2058 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2060 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
2061 Add `octave-source-file'.
2062 (octave-source-file): New function. (Bug#15935)
2064 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
2066 * net/eww.el (eww-local-regex): New variable.
2067 (eww): Use it to detect localhost and similar.
2069 2013-11-21 Leo Liu <sdl.web@gmail.com>
2071 Add completion for command `ag'.
2072 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
2073 (pcomplete/ag): New function.
2074 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
2076 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
2078 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
2080 (make-obsolete): Remove interactive spec.
2082 2013-11-21 Glenn Morris <rgm@gnu.org>
2084 * startup.el (command-line-1): Use path-separator with -L.
2086 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
2088 * emacs-lisp/package.el (describe-package-1): Add package archive
2091 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
2093 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
2094 Change default to "# encoding: %s" to differentiate it from the
2095 default Ruby encoding comment template.
2097 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
2099 * ses.el (ses-mode): Doc fix. (Bug#14748)
2101 2013-11-20 Leo Liu <sdl.web@gmail.com>
2103 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
2105 2013-11-19 Dan Nicolaescu <dann@gnu.org>
2107 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
2108 when rebase or bisect are in progress.
2110 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
2112 * filenotify.el (file-notify-add-watch): Doc fix.
2114 2013-11-19 Leo Liu <sdl.web@gmail.com>
2116 * obsolete/rcompile.el: Mark obsolete.
2118 * progmodes/compile.el (compilation-start)
2119 (compilation-goto-locus, compilation-find-file):
2120 Pass no-display-ok and handle nil value from display-buffer.
2123 * window.el (display-buffer-alist, display-buffer): Document the
2124 new parameter no-display-ok. Return either a window or nil
2125 but never a non-window value.
2127 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2129 * electric.el (electric-indent-mode-map): Remove.
2130 (electric-indent-mode): Change the global-map instead (bug#15915).
2132 * textmodes/text-mode.el (paragraph-indent-minor-mode):
2135 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
2137 * emacs-lisp/nadvice.el (remove-function): Align with
2138 add-function's behavior.
2140 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
2141 (gdb--string-regexp): New constant.
2142 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
2143 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
2144 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
2146 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
2147 Adjust use accordingly.
2148 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
2150 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
2152 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
2153 interpolation curlies (Bug#15914).
2155 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
2157 * calc/calc.el (calc-context-sensitive-enter): New variable.
2158 (calc-enter): Use `calc-context-sensitive-enter'.
2160 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
2162 * progmodes/cfengine.el: Version bump.
2163 (cfengine-cf-promises): New defcustom to locate cf-promises.
2164 (cfengine3-vartypes): Add new "data" type.
2165 (cfengine3--current-word): New function to get current name-like
2167 (cfengine3--current-function): New function to look up a CFEngine
2168 function's definition.
2169 (cfengine3-format-function-docstring): New function.
2170 (cfengine3-make-syntax-cache): New function.
2171 (cfengine3-documentation-function): New function: ElDoc glue.
2172 (cfengine3-completion-function): New function: completion glue.
2173 (cfengine3-mode): Set `compile-command',
2174 `eldoc-documentation-function', and add to
2175 `completion-at-point-functions'.
2177 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
2179 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
2180 `tramp-current-connection'.
2182 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
2184 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
2185 nil/self/true/false with "end of symbol".
2187 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
2189 * subr.el (version-regexp-alist): Fix a typo.
2191 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
2193 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
2194 "en_US.utf8" and "LC_CTYPE" to "".
2195 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
2196 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
2198 2013-11-15 Leo Liu <sdl.web@gmail.com>
2200 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
2202 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2204 * progmodes/gud.el (ctl-x-map):
2205 Remove C-x SPC binding. (Bug#12342)
2206 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
2208 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
2210 * subr.el (version-regexp-alist):
2211 Recognize hg, svn and darcs versions as snapshot versions.
2213 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
2214 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
2215 (ruby--encoding-comment-required-p): Extract from
2216 `ruby-mode-set-encoding'.
2217 (ruby-mode-set-encoding): Add the ability to always insert an
2218 utf-8 encoding comment. Fix and simplify coding comment update
2221 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
2223 * net/tramp-gvfs.el (top): Run init code only when
2224 `tramp-gvfs-enabled' is not nil.
2225 (tramp-gvfs-enabled): Check also :system bus.
2227 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2229 Sync with upstream verilog-mode revision 78e66ba.
2230 * progmodes/verilog-mode.el (verilog-end-of-defun)
2231 (verilog-type-completion, verilog-get-list): Remove unused funcs.
2232 (verilog-get-end-of-defun): Remove unused argument.
2233 (verilog-comment-depth): Remove unused local `e'.
2234 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
2235 Don't pass arg to verilog-get-end-of-defun.
2237 2013-11-14 Glenn Morris <rgm@gnu.org>
2239 * obsolete/assoc.el (aget): Prefix dynamic variable.
2241 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
2243 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2245 * widget.el, hfy-cmap.el: Remove bogus package version number.
2247 2013-11-13 Glenn Morris <rgm@gnu.org>
2249 * replace.el (replace-eval-replacement):
2250 Try to give more helpful error message. (Bug#15836)
2252 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
2253 (archive-7z-update): Avoid custom type mismatches.
2255 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
2257 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
2259 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
2260 address can be empty.
2262 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
2263 Accept nil SWITCHES.
2264 (tramp-gvfs-handle-write-region): Implement APPEND.
2266 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
2268 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
2269 binary "|" operator and closing block args delimiter.
2270 Remove FIXME comment referring to Ruby 1.8-only syntax.
2271 (ruby-smie--implicit-semi-p): Not after "|" operator.
2272 (ruby-smie--closing-pipe-p): New function.
2273 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
2274 (ruby-smie-rules): Indent after "|".
2276 2013-11-12 Glenn Morris <rgm@gnu.org>
2278 * ps-print.el (ps-face-attribute-list):
2279 Handle anonymous faces. (Bug#15827)
2281 2013-11-12 Martin Rudalics <rudalics@gmx.at>
2283 * window.el (display-buffer-other-frame): Fix doc-string.
2286 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2288 * subr.el (force-mode-line-update): Delete, move to buffer.c.
2290 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
2292 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
2293 (tramp-sh-handle-file-local-copy): Don't write a message when
2294 saving temporary files.
2296 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
2297 both directories are remote.
2298 (tramp-smb-handle-directory-files): Do not return double entries.
2299 Do not expand full file names.
2300 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
2301 (tramp-smb-handle-write-region): Implement APPEND.
2302 (tramp-smb-get-stat-capability): Fix a stupid bug.
2304 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2306 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
2308 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2310 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
2311 throwing error over malformed let/let* (bug#15814).
2313 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2315 * iswitchb.el (iswitchb-mode): Mark obsolete.
2317 2013-11-11 Glenn Morris <rgm@gnu.org>
2319 * international/uni-bidi.el, international/uni-category.el:
2320 * international/uni-name.el, international/uni-numeric.el:
2321 Regenerate for Unicode 6.3.0.
2323 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
2325 * net/tramp.el (tramp-methods):
2326 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
2327 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
2329 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
2331 * progmodes/sh-script.el (sh-font-lock-keywords-var):
2332 Force highlighting text after Summary keyword in doc face for rpm.
2334 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
2336 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
2337 available and the word has no wildcards, append one to the grep pattern.
2338 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
2339 (ispell-complete-word): Call `ispell-lookup-words' with the value
2340 independent of `ispell-look-p'.
2342 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2344 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
2346 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
2349 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2351 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
2352 (ruby-font-lock-keywords): Use backquote.
2354 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2356 * progmodes/ruby-mode.el (ruby-smie--forward-token)
2357 (ruby-smie--backward-token): Only consider full-string matches.
2359 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
2361 * faces.el (describe-face): Add distant-foreground.
2363 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
2365 * progmodes/ruby-mode.el: Improve encoding comment handling.
2366 (ruby-encoding-magic-comment-style): New option.
2367 (ruby-custom-encoding-magic-comment-template): New option.
2368 (ruby--insert-coding-comment, ruby--detect-encoding):
2369 New functions extracted from `ruby-mode-set-encoding'.
2370 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
2371 to control the style of the auto-inserted encoding comment.
2373 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2375 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
2376 Use `smie-backward-sexp' with token argument.
2378 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
2380 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
2381 Remove instrumentation code.
2383 2013-11-08 Glenn Morris <rgm@gnu.org>
2385 * progmodes/autoconf.el (autoconf-mode):
2386 Tweak comment-start-skip. (Bug#15822)
2388 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2390 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
2391 at bobp (bug#15826).
2392 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
2394 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
2396 * man.el (Man-start-calling): New macro, extracted from
2397 Man-getpage-in-background.
2398 (Man-getpage-in-background): Use it.
2399 (Man-update-manpage): New command.
2400 (Man-mode-map): Bind it.
2402 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2404 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
2405 of "and", "or", "&&" and "||".
2406 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
2407 argument. Prohibit opening curly brace because it could only be a
2408 block opener in that position.
2409 (ruby-smie--forward-token, ruby-smie--backward-token):
2410 Separate "|" from "&" or "*" going after it. That can happen in block
2412 (ruby-smie--indent-to-stmt): New function, seeks the end of
2413 previous statement or beginning of buffer.
2414 (ruby-smie-rules): Use it.
2415 (ruby-smie-rules): Check if there's a ":" before a curly block
2416 opener candidate; if there is, it's a hash.
2418 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
2420 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
2421 (cl--block-wrapper): Fix last accidental change.
2423 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
2425 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
2426 Instrument, in order to hunt failure on hydra.
2428 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2430 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
2431 malformed bindings form (bug#15814).
2433 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
2435 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
2436 "." compared to " @ ". This incidentally fixes some indentation
2438 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
2439 (ruby-smie-grammar): New tokens: "and" and "or".
2440 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
2441 Exclude "and" and "or". Remove "do" in order to work around token
2443 (ruby-smie-rules): Add all infix tokens. Handle the case of
2444 beginning-of-buffer.
2446 2013-11-06 Glenn Morris <rgm@gnu.org>
2448 * Makefile.in (setwins_almost, setwins_for_subdirs):
2449 Avoid accidental matches.
2451 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
2453 * menu-bar.el (popup-menu): Use key-binding.
2455 2013-11-06 Eli Zaretskii <eliz@gnu.org>
2457 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
2458 menus, support also the menus produced by minor modes.
2461 2013-11-06 Leo Liu <sdl.web@gmail.com>
2463 * thingatpt.el (thing-at-point-looking-at): Add optional arg
2464 DISTANCE to bound the search. All uses changed. (Bug#15808)
2466 2013-11-06 Glenn Morris <rgm@gnu.org>
2468 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
2469 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
2470 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
2472 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
2474 * electric.el (electric-indent-just-newline): New command.
2475 (electric-indent-mode-map): New keymap.
2476 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
2477 Re-add :group which weren't redundant.
2479 * electric.el (electric-indent-local-mode): New minor mode.
2480 (electric-indent-functions-without-reindent): New var.
2481 (electric-indent-post-self-insert-function): Use it.
2482 * emacs-lisp/gv.el (buffer-local-value): Add setter.
2484 2013-11-05 Eli Zaretskii <eliz@gnu.org>
2486 * international/quail.el (quail-help): Be more explicit about the
2487 meaning of the labels shown on the keys. (Bug#15800)
2489 * startup.el (normal-top-level): Load the subdirs.el files before
2490 setting the locale environment. (Bug#15805)
2492 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
2494 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
2495 via arguments so as to get the right ones (bug#15418).
2497 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
2499 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
2501 Fix problems found while writing a test suite.
2503 * net/tramp-compat.el (tramp-compat-load): New defun.
2504 * net/tramp.el (tramp-handle-load): Use it.
2506 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
2507 "(numberp ok-if-already-exists)" correctly.
2509 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
2511 * international/characters.el (glyphless-char-display-control):
2514 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
2516 * progmodes/python.el (python-mode):
2517 * progmodes/scheme.el (scheme-mode):
2518 * progmodes/prolog.el (prolog-mode):
2519 * progmodes/ruby-mode.el (ruby-mode):
2520 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
2521 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
2523 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2525 * rect.el (rectangle--highlight-for-redisplay):
2526 * emacs-lisp/smie.el (smie--next-indent-change):
2527 Use buffer-chars-modified-tick.
2529 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
2531 * electric.el (electric-indent-post-self-insert-function):
2532 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
2534 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
2536 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
2538 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2540 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
2543 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2545 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
2547 * progmodes/python.el: Fix up last change.
2548 (python-shell--save-temp-file): New function.
2549 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
2550 `string' comes from the current buffer.
2551 (python-shell-send-string-no-output): Remove `msg' arg.
2552 (python--use-fake-loc): New var.
2553 (python-shell-buffer-substring): Obey it. Try to compensate for the
2554 extra coding line added by python-shell--save-temp-file.
2555 (python-shell-send-region): Use python-shell--save-temp-file and
2556 python-shell-send-file directly. Add `nomain' argument.
2557 (python-shell-send-buffer): Use python-shell-send-region.
2558 (python-electric-pair-string-delimiter): New function.
2559 (python-mode): Use it.
2561 2013-11-04 Eli Zaretskii <eliz@gnu.org>
2563 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
2564 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
2565 environment and decoding all of the default-directory's to here
2567 (command-line): Decode also argv[0].
2569 * loadup.el: Error out if default-directory is a multibyte string
2570 when we are dumping.
2572 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
2574 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
2576 * emacs-lisp/package.el (package-menu-mode)
2577 (package-menu--print-info, package-menu--archive-predicate):
2578 Add Archive column to package list.
2580 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
2582 Fix problems found while writing a test suite.
2584 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
2585 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
2586 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
2587 to nil when running original file name handler. Otherwise,
2588 there are problems with constructs like "$$FOO".
2590 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
2593 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
2595 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
2597 * subr.el (version<, version<=, version=):
2598 Update docstrings with information for snapshot versions.
2600 * helpers.el: New library for misc helper functions.
2601 (hash-table-keys): New function returning a list of hash keys.
2602 (hash-table-values): New function returning a list of hash values.
2604 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
2606 * progmodes/ruby-mode.el (ruby-smie--forward-token)
2607 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
2609 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
2611 * textmodes/fill.el (fill-single-char-nobreak-p): New function
2612 checking whether point is after a 1-letter word.
2614 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2616 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
2617 Don't infloop when expanding region over `multiline' syntax-type that
2618 begins a line (bug#15778).
2620 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2622 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
2623 Make it into a proper minor mode.
2624 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
2625 (rectangle-mark-mode-map): New keymap.
2626 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
2628 2013-11-04 Glenn Morris <rgm@gnu.org>
2630 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
2632 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
2634 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
2635 (ruby-smie-rules): Use smie-rule-parent instead.
2637 * emacs-lisp/smie.el (smie-rule-parent): Always call
2638 smie-indent-virtual rather than only for hanging tokens.
2639 (smie--next-indent-change): New helper command.
2641 2013-11-03 Glenn Morris <rgm@gnu.org>
2643 * Makefile.in (abs_srcdir): Remove.
2644 (emacs): Unset EMACSLOADPATH.
2646 2013-11-02 Glenn Morris <rgm@gnu.org>
2648 * Makefile.in (EMACS): Use a relative filename.
2649 (abs_top_builddir): Remove.
2650 (custom-deps, finder-data, autoloads): Use --chdir.
2652 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
2654 Use relative filenames in TAGS files.
2655 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
2656 (lisptagsfiles4, TAGS): Use relative file names.
2657 (TAGS-LISP): Remove.
2658 (maintainer-clean): No more TAGS-LISP file.
2660 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
2661 (lisptagsfiles4): Use absolute filenames again.
2662 (TAGS, TAGS-LISP): Not everything needs to run in one line.
2663 Remove all *loaddefs files, not just the first. Remove esh-groups.
2664 (maintainer-clean): Delete TAGS, TAGS-LISP.
2666 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2668 * emacs-lisp/package.el (package-version-join):
2669 Recognize snapshot versions.
2671 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2673 * subr.el (version-regexp-alist): Add support for snapshot versions.
2675 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
2677 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
2678 New function, replacement for `smie-rule-parent' for when we want to
2679 skip over our direct parent if it's an assignment token..
2680 (ruby-smie-rules): Use it.
2682 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
2684 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
2685 unconditionally. Remove now unnecessary forward declarations.
2686 Remove XEmacs-specific setup.
2687 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
2688 (ruby-font-lock-syntactic-keywords)
2689 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
2690 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
2691 (ruby-here-doc-end-syntax): Remove.
2692 (ruby-mode): Don't check whether `syntax-propertize-rules' is
2693 defined as function.
2695 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2697 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
2699 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
2701 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
2702 table and abbrev table, `define-derived-mode' does that for us
2705 2013-11-01 Glenn Morris <rgm@gnu.org>
2707 * Makefile.in: Remove manual mh-e dependencies (writing .elc
2708 files is atomic for some time, so no parallel compilation issues).
2710 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
2712 * faces.el (face-x-resources): Add :distant-foreground.
2713 (region): Use :distant-foreground for gtk and ns.
2715 2013-11-01 Tassilo Horn <tsdh@gnu.org>
2717 Allow multiple bibliographies when BibLaTeX is used rather than
2719 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
2720 (reftex-locate-bibliography-files): Us it.
2722 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
2724 * image.el (image-type-header-regexps): Fix the 'pbm' part to
2725 allow comments in pbm files.
2727 * term/w32-win.el (dynamic-library-alist): Support newer versions
2728 of libjpeg starting with v7: look only for the DLL from the
2729 version against which Emacs was built.
2730 Support versions of libpng beyond 1.4.x.
2731 Support libtiff v4.x.
2733 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
2735 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
2736 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
2738 (ruby-deep-arglist): Add property :type.
2740 2013-10-31 Glenn Morris <rgm@gnu.org>
2742 * Makefile.in (custom-deps, finder-data): No need to setq the target
2743 variables, we are in the right directory and the defaults work fine.
2745 2013-10-30 Glenn Morris <rgm@gnu.org>
2747 * Makefile.in (autoloads): Do not use abs_lisp.
2749 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
2750 `newline' does not respect `standard-output', so use `princ'.
2752 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
2754 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
2755 * buff-menu.el (Buffer-menu--unmark): New function.
2756 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
2758 2013-10-30 Glenn Morris <rgm@gnu.org>
2760 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
2762 * emacs-lisp/package.el (lm-homepage): Declare.
2764 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
2767 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
2769 * Makefile.in (finder-data, autoloads, update-subdirs)
2770 (compile-main, compile-clean, compile-always, bootstrap-clean):
2771 Check return value of cd.
2772 (compile-calc): Remove.
2774 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
2776 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
2778 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
2779 (byte-compile-and-folded): New function.
2780 (=, <, >, <=, >=): Use it.
2782 * dos-w32.el (minibuffer-history-case-insensitive-variables)
2783 (path-separator, null-device, buffer-file-coding-system)
2784 (lpr-headers-switches): Check system-type before modifying them.
2785 (find-buffer-file-type-coding-system): Mark obsolete.
2786 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
2787 find-file-not-found-set-buffer-file-coding-system.
2788 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
2789 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
2790 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
2791 (w32-direct-print-region-helper, w32-direct-print-region-function)
2792 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
2793 * startup.el (normal-top-level-add-subdirs-to-load-path):
2794 * ps-print.el (ps-print-region-function):
2795 * lpr.el (print-region-function): Use new name.
2797 * subr.el (custom-declare-variable-early): Remove function.
2798 (custom-declare-variable-list): Remove var.
2799 (error, user-error): Remove `while' loop.
2800 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
2801 (user-emacs-directory-warning, locate-user-emacs-file):
2803 * simple.el (read-quoted-char-radix, read-quoted-char):
2804 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
2806 * custom.el (custom-declare-variable-list): Don't process
2807 custom-declare-variable-list.
2809 * progmodes/python.el (python-shell-get-buffer): New function.
2810 (python-shell-get-process): Use it.
2811 (python-shell-send-string): Always use utf-8 and add a cookie to tell
2812 Python which encoding was used. Don't split-string since we only care
2813 about the first line. Return the temp-file, if applicable.
2814 (python-shell-send-region): Tell compile.el how to turn locations in
2815 the temp-file into locations in the source buffer.
2817 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
2819 * subr.el (undefined): Add missing behavior from the C code for
2822 * rect.el: Use lexical-binding. Add new rectangular region support.
2823 (rectangle-mark): New command.
2824 (rectangle--region): New var.
2825 (deactivate-mark-hook): Reset rectangle--region.
2826 (rectangle--extract-region, rectangle--insert-for-yank)
2827 (rectangle--highlight-for-redisplay)
2828 (rectangle--unhighlight-for-redisplay): New functions.
2829 (region-extract-function, redisplay-unhighlight-region-function)
2830 (redisplay-highlight-region-function): Use them to handle
2832 * simple.el (region-extract-function): New var.
2833 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
2834 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
2835 (kill-region): Replace obsolete `yank-handler' arg with `region'.
2836 (copy-region-as-kill, kill-ring-save): Add `region' argument.
2837 (redisplay-unhighlight-region-function)
2838 (redisplay-highlight-region-function): New vars.
2839 (redisplay--update-region-highlight): New function.
2840 (pre-redisplay-function): Use it.
2841 (exchange-point-and-mark): Don't deactivate the mark before
2842 reactivate-it anyway.
2843 * comint.el (comint-kill-region): Remove yank-handler argument.
2844 * delsel.el (delete-backward-char, backward-delete-char-untabify)
2845 (delete-char): Remove property, since it's now part of their
2847 (self-insert-iso): Remove property since this command doesn't exist.
2849 * emacs-lisp/package.el (package--download-one-archive)
2850 (describe-package-1): Don't query the user about final newline.
2852 2013-10-29 Daniel Colascione <dancol@dancol.org>
2854 * net/tramp.el (tramp-methods): Document new functionality.
2855 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
2856 tramp-hostname-checker if method provides one instead of scanning
2857 argument list for "%h" to decide hostname acceptability.
2859 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
2861 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
2862 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
2863 Handle COPY-CONTENTS. (Bug#15737)
2865 2013-10-28 Daiki Ueno <ueno@gnu.org>
2868 (epa-file-cache-passphrase-for-symmetric-encryption):
2869 Document that this option has no effect with GnuPG 2.0 (bug#15552).
2871 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
2873 * image.el (defimage):
2874 (image-load-path): Doc fixes.
2876 2013-10-27 Alan Mackenzie <acm@muc.de>
2878 Indent statements in macros following "##" correctly.
2879 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
2880 Modify the "#" arm of a cond form to handle "#" and "##" operators.
2882 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2884 * linum.el (linum-update-window): Fix boundary test (bug#13446).
2886 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
2888 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
2889 after `=' is probably a new expression.
2891 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2893 * man.el (man-imenu-title): New option.
2894 (Man-mode-map): Add menu. (Bug#15722)
2895 (Man-mode): Add imenu to menu.
2897 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
2899 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
2900 specific in what the first arg can be: a non-keyword word,
2901 string/regexp/percent literal opener, opening paren, or unary
2902 operator followed directly by word.
2904 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
2906 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
2907 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
2908 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
2909 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
2910 Remove vars, they do not apply any more.
2911 (prolog-mode-abbrev-table): Remove redundant declaration.
2912 (prolog-upper-case-string, prolog-lower-case-string): Remove.
2913 (prolog-use-smie): Remove.
2914 (prolog-smie-rules): Add indentation rule for the if-then-else layout
2915 supported by prolog-electric-if-then-else-flag.
2916 (prolog-mode-variables, prolog-menu): Use setq-local.
2917 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
2918 Remove binding to `Backspace' since this key doesn't exist anyway.
2919 Remove bindings for electric self-inserting keys.
2920 (prog-mode): Assume it's defined.
2921 (prolog-post-self-insert): New function.
2922 (prolog-mode): Use it.
2923 (prolog-indent-line, prolog-indent-level)
2924 (prolog-find-indent-of-matching-paren)
2925 (prolog-indentation-level-of-line, prolog-goto-comment-column)
2926 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
2927 (prolog-goto-next-paren, prolog-in-string-or-comment)
2928 (prolog-tokenize, prolog-inside-mline-comment)
2929 (prolog-find-start-of-mline-comment): Remove functions.
2930 (prolog-find-unmatched-paren, prolog-clause-end)
2931 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
2932 (prolog-electric--if-then-else): Rename from
2933 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
2934 (prolog-tokenize-searchkey): Remove const.
2935 (prolog-clause-info): Use forward-sexp.
2936 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
2937 (prolog-electric-if-then-else): Remove commands.
2938 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
2939 for use in post-self-insert-hook.
2940 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
2941 for use in post-self-insert-hook.
2942 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
2943 for use in post-self-insert-hook.
2944 (prolog-electric--underscore): Rename from prolog-electric--underscore;
2945 adapt it for use in post-self-insert-hook.
2947 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
2949 * emacs-lisp/ert.el (ert-run-tests-interactively):
2950 Use `completing-read'. (Bug#9756)
2952 2013-10-25 Eli Zaretskii <eliz@gnu.org>
2954 * simple.el (line-move): Call line-move-1 instead of
2955 line-move-visual when the current window hscroll is zero, but
2956 temporary-goal-column indicates we will need to hscroll as result
2957 of the movement. (Bug#15712)
2959 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
2961 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
2962 capitalization. Use :visible instead of :active.
2963 Fix `ruby-indent-exp' reference. Add menu items for the generic
2964 commands that are used with SMIE.
2965 (ruby-do-end-to-brace): Insert space after `{'.
2967 2013-10-25 John Anthony <john@jo.hnanthony.com>
2969 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
2971 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
2973 2013-10-25 Glenn Morris <rgm@gnu.org>
2975 * vc/vc.el (vc-print-log): Don't use a working revision unless
2976 one was explicitly specified. (Bug#15322)
2978 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
2980 * subr.el (add-to-list): Preserve return value in compiler-macro
2983 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2985 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
2986 result. Ask user to retry using '-all' flag. (Bug#15701)
2988 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
2990 * emacs-lisp/smie.el: New smie-config system.
2991 (smie-config): New defcustom.
2992 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
2993 (smie-config-guess, smie-config-save): New commands.
2994 (smie-config--mode-local, smie-config--buffer-local)
2995 (smie-config--trace, smie-config--modefuns): New vars.
2996 (smie-config--advice, smie-config--mode-hook)
2997 (smie-config--setter, smie-config-local, smie-config--get-trace)
2998 (smie-config--guess-value, smie-config--guess): New functions.
2999 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
3000 text properties. Treat "string fence" syntax like string syntax.
3002 * progmodes/sh-script.el (sh-use-smie): Change default.
3003 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
3004 (sh-var-value): Simplify by CSE.
3005 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
3006 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
3008 (sh-guess-basic-offset): Use cl-incf.
3009 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
3011 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
3013 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
3016 2013-10-24 Glenn Morris <rgm@gnu.org>
3018 * Makefile.in (abs_top_srcdir): Remove.
3019 (update-subdirs): Use relative path to update-subdirs.
3021 2013-10-24 Eli Zaretskii <eliz@gnu.org>
3023 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
3024 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
3025 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
3026 Call unmsys--file-name before expand-file-name, not after it.
3028 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
3030 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
3031 (ert-test-skipped): New error.
3032 (ert-skip, ert-stats-skipped): New defuns.
3033 (ert--skip-unless): New macro.
3034 (ert-test-skipped): New struct.
3035 (ert--run-test-debugger, ert-test-result-type-p)
3036 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
3037 (ert--stats-set-test-and-result, ert-char-for-test-result)
3038 (ert-string-for-test-result, ert-run-tests-batch)
3039 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
3040 Handle skipped tests. (Bug#9803)
3042 2013-10-24 Glenn Morris <rgm@gnu.org>
3044 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
3046 * Makefile.in (abs_top_srcdir): New, set by configure.
3047 (update-subdirs): Correct build-aux location.
3049 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
3051 * vc/vc.el (vc-print-root-log): Always set `default-directory'
3052 value, whether we could auto-deduce `backend', or not.
3054 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
3055 with parameters" example. Simplify the "is it block or is it
3056 hash" check, but also make it more thorough.
3058 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
3060 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
3062 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
3064 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
3067 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
3070 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
3072 * progmodes/compile.el (compilation-directory-matcher)
3073 (compilation-page-delimiter):
3074 Support GNU Make-4.0 directory quoting. (Bug#15678)
3076 2013-10-23 Leo Liu <sdl.web@gmail.com>
3078 * ido.el (ido-tidy): Handle read-only text.
3080 2013-10-23 Glenn Morris <rgm@gnu.org>
3082 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
3083 (emacs, compile, compile-always):
3084 Quote entities that might contain whitespace.
3085 (custom-deps, finder-data, autoloads): Use abs_lisp.
3086 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
3087 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
3088 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
3090 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
3092 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
3093 Use `following-char'.
3095 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
3097 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
3098 * progmodes/ruby-mode.el (ruby-smie-rules):
3099 Remove corresponding workaround. Fix indentation rule of ";" so it
3100 also applies when ";" is the parent.
3102 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
3104 * frame.el (display-screens, display-pixel-height)
3105 (display-pixel-width, display-mm-width, display-backing-store)
3106 (display-save-under, display-planes, display-color-cells)
3107 (display-visual-class, display-monitor-attributes-list):
3108 Mention the optional ‘display’ argument in doc strings.
3110 2013-10-22 Michael Gauland <mikelygee@amuri.net>
3112 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
3113 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
3115 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
3117 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
3118 TODO. Add "." after " @ ".
3119 (ruby-smie--at-dot-call): New function. Checks if point at method
3120 call with explicit target.
3121 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
3122 to the method name tokens when it precedes them.
3123 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
3124 (ruby-smie-rules): Add rule for indentation before and after "."
3127 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
3129 * textmodes/remember.el (remember-diary-extract-entries):
3132 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
3135 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
3137 * progmodes/ruby-mode.el (ruby-smie-grammar):
3138 Add (almost) all infix operators.
3139 (ruby-smie--implicit-semi-p): Add new operator chars.
3141 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
3143 (ruby-smie--args-separator-p): Check that there's no newline
3144 between method call and its arguments.
3146 2013-10-20 Alan Mackenzie <acm@muc.de>
3148 Allow comma separated lists after Java "implements".
3150 * progmodes/cc-engine.el (c-backward-over-enum-header):
3152 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
3153 from a "disallowed" list in enum fontification.
3155 2013-10-20 Johan Bockgård <bojohan@gnu.org>
3157 * startup.el (default-frame-background-mode): Remove unused defvar.
3159 * progmodes/verilog-mode.el (verilog-mode): Don't set
3160 comment-indent-function globally.
3162 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
3164 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
3165 Move Info menu item creation to ns-win.el.
3167 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
3170 * menu-bar.el: Move GNUStep specific menus...
3172 * term/ns-win.el (ns-initialize-window-system): ... to here.
3174 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
3176 * simple.el (newline): Only run post-self-insert-hook when
3177 called interactively.
3179 2013-10-19 Johan Bockgård <bojohan@gnu.org>
3181 * icomplete.el (icomplete-with-completion-tables): Add :version.
3183 2013-10-19 Alan Mackenzie <acm@muc.de>
3185 Fix fontification bugs with constructors and const.
3187 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
3188 CASE 2) Remove the check for the absence of a suffix construct
3189 after a function declaration with only types (no identifiers) in
3190 the parentheses. Also, accept a function declaration with just a
3191 type inside the parentheses, if this type can be positively
3192 recognised as such, or if a prefix keyword like "explicit" nails
3193 down the construct as a declaration.
3195 2013-10-19 Eli Zaretskii <eliz@gnu.org>
3197 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
3198 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
3199 the problem whereby selecting a menu item that leads to a
3200 minibuffer prompt moves the cursor out of the minibuffer window,
3201 making it hard to type at the prompt. Suggested by Stefan Monnier
3202 <monnier@iro.umontreal.ca>.
3204 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
3206 * menu-bar.el: Don't make Services menu.
3208 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3210 * ffap.el: Handle "/usr/include/c++/<version>" directories.
3211 (ffap-alist): Use ffap-c++-mode for c++-mode.
3212 (ffap-c++-path): New variable.
3213 (ffap-c++-mode): New function.
3215 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
3217 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
3219 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
3221 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
3222 introduced on 2013-09-08, which results in an infinite loop
3223 requesting a password.
3225 2013-10-18 Glenn Morris <rgm@gnu.org>
3227 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
3229 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
3231 Sync with upstream verilog-mode revision 1a6ecec7.
3232 * progmodes/verilog-mode.el (verilog-mode-version): Update.
3233 (verilog-mode-release-date): Remove.
3234 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
3235 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
3236 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
3237 (verilog-auto-tieoff-ignore-regexp)
3238 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
3239 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
3240 (verilog-signals-with, verilog-dir-cache-preserving)
3241 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
3243 (verilog-case-fold): New option, to control case folding in
3244 regexp searches, bug597.
3245 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
3246 (verilog-string-match-fold, verilog-in-paren-count)
3247 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
3248 (verilog-at-close-struct-p): New functions.
3249 (verilog-beg-block-re-ordered, verilog-extended-case-re)
3250 (verilog-forward-sexp, verilog-set-auto-endcomments):
3251 (verilog-leap-to-case-head): Handle "unique0" case.
3252 (verilog-in-constraint-re): New constant.
3253 (verilog-keywords, verilog-type-font-keywords):
3254 Add some SystemVerilog 1800-2012 keywords.
3255 (verilog-label-be): Remove unimplemented argument, bug669.
3256 (verilog-batch-execute-func): When batch expanding clear
3257 create-lockfiles to prevent spurious user locks when a file ends
3259 (verilog-calculate-indent, verilog-calc-1)
3260 (verilog-at-close-constraint-p, verilog-at-constraint-p)
3261 (verilog-do-indent): Fix indentation of nested constraints
3263 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
3264 (verilog-auto-inst-param): Use verilog-string-match-fold.
3265 (verilog-read-inst-module-matcher):
3266 Fix AUTOINST on gate primitives with #1.
3267 (verilog-read-decls): Fix double-declaring user-defined typed signals.
3268 Reads all user-defined typed variables.
3269 (verilog-read-defines): Fix reading definitions inside comments, bug647.
3270 (verilog-signals-matching-regexp)
3271 (verilog-signals-not-matching-regexp, verilog-auto):
3272 Respect verilog-case-fold.
3273 (verilog-diff-report): Fix line count.
3274 (verilog-auto-assign-modport): Remove unused local `modi'.
3275 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
3276 better handle multidimensional arrays.
3277 Fix packed array ports misadding bit index in AUTOINST, bug637.
3278 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
3279 to not double-declare existing outputs and inputs, respectively.
3280 (verilog-template-map): Bind U to verilog-sk-uvm-component.
3281 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
3282 (verilog-sk-uvm-component): New skeleton.
3283 (verilog-submit-bug-report): Add verilog-case-fold,
3284 remove verilog-mode-release-date.
3286 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
3288 * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
3291 2013-10-18 Reuben Thomas <rrt@sc3d.org>
3293 * textmodes/remember.el (remember): Set buffer-offer-save in
3294 remember buffers (bug#13566).
3296 2013-10-18 Daniel Colascione <dancol@dancol.org>
3298 When evaluating forms in ielm, direct standard output to ielm
3299 buffer. Add new ielm-return-for-effect command. Remove trailing
3300 whitespace throughout.
3302 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
3303 (ielm-return-for-effect): New command.
3304 (ielm-send-input): Accept optional `for-effect' parameter.
3305 (ielm-eval-input): Accept optional `for-effect' parameter.
3306 Bind `standard-output' to stream we create using
3307 `ielm-standard-output-impl'. Suppress printing result when
3309 (ielm-standard-output-impl): New function.
3310 (inferior-emacs-lisp-mode): Explain new features in documentation.
3312 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
3316 * net/tramp.el (tramp-debug-message): Do not check for connection
3318 (tramp-message): Use "vector" connection property.
3320 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
3321 (tramp-equal-remote, tramp-eshell-directory-change)
3322 * net/tramp-adb.el (tramp-adb-handle-copy-file)
3323 (tramp-adb-handle-rename-file)
3324 * net/tramp-cmds.el (tramp-list-remote-buffers)
3325 (tramp-cleanup-connection, tramp-cleanup-this-connection)
3326 * net/tramp-compat.el (tramp-compat-process-running-p)
3327 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
3328 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
3329 (tramp-gvfs-handle-rename-file)
3330 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
3331 (tramp-set-file-uid-gid)
3332 * net/tramp-smb.el (tramp-smb-handle-copy-file)
3333 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
3336 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
3337 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
3338 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
3339 (tramp-gw-open-network-stream): Suppress unrelated traces.
3341 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
3342 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
3343 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
3344 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
3345 connection property.
3347 * net/tramp-cache.el (top): Suppress traces when reading
3350 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
3351 Refactor common code. Improve debug message.
3352 (tramp-maybe-open-connection)
3353 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
3354 connection buffer too early.
3356 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
3357 from `tramp-smb-actions-with-acl'.
3358 (tramp-smb-actions-set-acl): New defconst.
3359 (tramp-smb-handle-copy-directory)
3360 (tramp-smb-action-get-acl): New defun, renamed from
3361 `tramp-smb-action-with-acl'.
3362 (tramp-smb-action-set-acl): New defun.
3363 (tramp-smb-handle-set-file-acl): Rewrite.
3365 2013-10-17 Glenn Morris <rgm@gnu.org>
3367 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
3369 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
3371 * skeleton.el (skeleton-newline): Remove.
3372 (skeleton-internal-1): Use (insert "\n") instead.
3374 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
3377 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
3378 forward-sexp-function while we redo its job (bug#15613).
3380 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
3382 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
3383 represented by lists.
3385 2013-10-16 Glenn Morris <rgm@gnu.org>
3387 * tmm.el (tmm--history): New dynamic variable.
3388 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
3390 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
3392 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
3393 (tramp-smb-errors): Add error messages.
3394 (tramp-smb-actions-with-acl): New defconst.
3395 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
3396 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
3397 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
3398 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
3399 (tramp-smb-get-stat-capability): Fix tests.
3401 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
3403 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
3406 2013-10-16 Glenn Morris <rgm@gnu.org>
3408 * ansi-color.el (ansi-color-drop-regexp):
3409 Add 1J, 1K, 2K. (Bug#15617)
3411 * files.el (hack-local-variables--warned-lexical): New.
3412 (hack-local-variables):
3413 Warn about misplaced lexical-binding. (Bug#15616)
3415 * net/eww.el (eww-render): Always set eww-current-url,
3416 and update header line. (Bug#15622)
3417 (eww-display-html): ... Rather than just doing it here.
3419 2013-10-15 Eli Zaretskii <eliz@gnu.org>
3421 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
3422 menu navigations commands.
3424 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
3426 * progmodes/subword.el (subword-capitalize): Be careful when
3427 the search for [[:alpha:]] fails (bug#15580).
3429 2013-10-14 Eli Zaretskii <eliz@gnu.org>
3431 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
3432 to commands that scroll the menu.
3434 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
3436 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
3437 Handle methods ending with `?' and `!'.
3439 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
3441 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
3442 `japanese-cp932' to `cp932' to fix the problem where saving a
3443 source file written in Shift_JIS twice would end up having
3444 `coding: japanese-cp932' which Ruby could not recognize.
3445 (ruby-mode-set-encoding): Add support for encodings mapped to nil
3446 in `ruby-encoding-map'.
3447 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
3448 doesn't need to be explicitly declared in magic comment.
3449 (ruby-encoding-map): Add type declaration for better customize UI.
3451 2013-10-13 Glenn Morris <rgm@gnu.org>
3453 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
3454 Occur buffers are read-only. http://bugs.debian.org/720775
3456 * emacs-lisp/authors.el (authors-fixed-entries):
3457 Comment out old alpha stuff.
3459 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
3461 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
3462 to `after-save-hook' instead of `before-save-hook'.
3463 (ruby-mode-set-encoding): Use the value of coding system used to
3464 write the file. Call `basic-save-buffer-1' after modifying the
3467 2013-10-13 Alan Mackenzie <acm@muc.de>
3469 Fix indentation/fontification of Java enum with
3470 "implements"/generic.
3472 * progmodes/cc-engine.el (c-backward-over-enum-header):
3473 Extracted from the three other places and enhanced to handle generics.
3474 (c-inside-bracelist-p): Uses new function above.
3475 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
3477 (c-font-lock-enum-tail): Uses new function above.
3479 2013-10-13 Kenichi Handa <handa@gnu.org>
3481 * international/mule-cmds.el (select-safe-coding-system): Remove a
3482 superfluous condition in chekcing whether a coding system is safe
3485 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
3487 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
3489 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
3491 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
3493 2013-10-13 Glenn Morris <rgm@gnu.org>
3495 * menu-bar.el (menu-bar-update-buffers):
3496 Unify Buffers menu prompt string. (Bug#15576)
3498 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
3500 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
3502 (authors-fixed-entries): Use accented form of name.
3504 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
3506 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
3507 method calls (bug#15594).
3508 (ruby-smie--args-separator-p): New function.
3509 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
3510 recognize paren-free method calls.
3512 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
3513 internals of universal-argument.
3515 2013-10-11 Eli Zaretskii <eliz@gnu.org>
3517 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
3518 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
3519 dropped menu on second mouse click on the menu bar.
3521 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
3523 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
3524 (explicit-shell-file-name): Declare.
3525 (sh--vars-before-point, sh--cmd-completion-table): New functions.
3526 (sh-completion-at-point-function): New function.
3528 (sh-smie--keyword-p): Remove unused argument.
3529 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
3531 (sh-set-shell): Always setup SMIE, even if we use the
3532 old indentation code.
3534 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
3536 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
3538 (ruby-smie-rules): Simplify the "do" rule. The cases when the
3539 predicate would return nil are almost non-existent.
3540 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
3542 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
3543 cache also after commands that modify the buffer but don't move
3546 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
3548 * env.el (substitute-env-in-file-name): New function.
3549 (substitute-env-vars): Extend the meaning of the optional arg.
3551 2013-10-10 Eli Zaretskii <eliz@gnu.org>
3553 * term/w32-win.el (dynamic-library-alist): Define separate lists
3554 of GIF DLLs for versions before and after 5.0.0 of giflib.
3557 2013-10-10 João Távora <joaotavora@gmail.com>
3559 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
3560 not locked, use last revision and current source as
3561 defaults. (Bug#15569)
3563 2013-10-10 Masatake YAMATO <yamato@redhat.com>
3565 * menu-bar.el (menu-bar-open): Don't use popup-menu if
3568 2013-10-10 Martin Rudalics <rudalics@gmx.at>
3570 * window.el (pop-to-buffer-same-window): Fix doc-string.
3573 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
3575 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
3577 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
3579 * calendar/icalendar.el (icalendar-import-file):
3580 Fix interactive spec. (Bug#15482)
3582 2013-10-10 Glenn Morris <rgm@gnu.org>
3584 * desktop.el (desktop-save): Default to saving in .emacs.d,
3585 since PWD is no longer in desktop-path by default. (Bug#15319)
3587 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
3588 now that text mode has a menu with the same entry.
3589 (menu-bar-text-mode-auto-fill): Remove now unused func.
3590 * textmodes/text-mode.el (text-mode-map):
3591 Use auto-fill help text from menu-bar.el.
3593 2013-10-10 John Anthony <john@jo.hnanthony.com>
3595 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
3597 2013-10-09 Juri Linkov <juri@jurta.org>
3599 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
3600 instead of this-command-keys. Add universal-argument-more and
3601 universal-argument-minus to the list of prefix commands. (Bug#15568)
3603 2013-10-09 Glenn Morris <rgm@gnu.org>
3605 * vc/vc-svn.el (vc-svn-create-repo):
3606 Expand paths in file://... url. (Bug#15446)
3608 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
3610 (authors): Remove unused local variables.
3612 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
3614 * profiler.el: Create a more coherent calltree from partial backtraces.
3615 (profiler-format): Hide the tail with `invisible' so that C-s can still
3616 find the hidden elements.
3617 (profiler-calltree-depth): Don't recurse so enthusiastically.
3618 (profiler-function-equal): New hash-table-test.
3619 (profiler-calltree-build-unified): New function.
3620 (profiler-calltree-build): Use it.
3621 (profiler-report-make-name-part): Indent the calltree less.
3622 (profiler-report-mode): Add visibility specs for profiler-format.
3623 (profiler-report-expand-entry, profiler-report-toggle-entry):
3624 Expand the whole subtree when provided with a prefix arg.
3626 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
3628 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
3630 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
3631 hanging iuwu-mod token.
3632 (ruby-smie--forward-token): Do not include a dot after a token in
3634 (ruby-smie--backward-token): Likewise.
3636 2013-10-08 Juri Linkov <juri@jurta.org>
3638 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
3639 to isearch-other-control-char.
3640 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
3641 and isearch-post-command-hook to post-command-hook.
3642 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
3643 and isearch-post-command-hook from post-command-hook.
3644 (isearch-unread-key-sequence)
3645 (isearch-reread-key-sequence-naturally)
3646 (isearch-lookup-scroll-key, isearch-other-control-char)
3647 (isearch-other-meta-char): Remove functions.
3648 (isearch-pre-command-hook, isearch-post-command-hook):
3649 New functions based on isearch-other-meta-char rewritten
3650 relying on the new behavior of overriding-terminal-local-map
3651 that does not replace the local keymaps any more. (Bug#15200)
3653 2013-10-08 Eli Zaretskii <eliz@gnu.org>
3655 Support menus on text-mode terminals.
3656 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
3659 * tooltip.el (tooltip-mode): Don't error out on TTYs.
3661 * menu-bar.el (popup-menu, popup-menu-normalize-position):
3662 Move here from mouse.el.
3663 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
3665 (tty-menu-navigation-map): New map for TTY menu navigation.
3667 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
3669 * frame.el (display-mouse-p): Report text-mode mouse as available
3671 (display-popup-menus-p): Report availability if mouse is
3672 available; don't condition on window-system.
3674 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
3675 (tty-menu-selected-face): New faces.
3677 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
3679 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
3680 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
3681 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
3682 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
3684 (lisp-mode-variables): New `elisp' argument.
3685 (emacs-lisp-mode): Use it.
3686 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
3687 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
3689 * indent.el: Use lexical-binding.
3690 (indent-region): Add progress reporter.
3691 (tab-stop-list): Make it implicitly extend to infinity by repeating the
3693 (indent--next-tab-stop): New function to implement this behavior.
3694 (tab-to-tab-stop, move-to-tab-stop): Use it.
3696 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
3698 * indent.el (indent-rigidly--current-indentation): New function.
3699 (indent-rigidly-map): New var.
3700 (indent-rigidly): Use it to provide interactive mode (bug#8196).
3702 2013-10-08 Bastien Guerry <bzg@gnu.org>
3704 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
3706 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
3708 * progmodes/perl-mode.el: Use lexical-binding.
3709 Remove redundant :group args.
3710 (perl-nochange): Change default to be closer to other major modes's
3712 (perl-indent-line): Don't consider text on current line as a
3713 valid beginning of function from which to indent.
3715 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
3716 with more than one argument (bug#15538).
3718 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
3720 * vc/pcvs.el: Use lexical-binding.
3721 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
3722 environment of `eval'.
3723 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
3724 than a list of expressions. Adjust callers.
3725 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
3727 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
3729 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
3730 case of the dot in a chained method call being on the following line.
3732 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3734 * electric.el (electric-indent-inhibit): New var.
3735 (electric-indent-post-self-insert-function): Use it.
3736 * progmodes/python.el (python-mode): Set it.
3738 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
3741 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
3743 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
3744 (css-mode): Use electric-indent-chars.
3746 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
3747 (font-lock-beg, font-lock-end): Move before first use.
3748 (nxml-mode): Use syntax-propertize-function.
3749 (nxml-after-change, nxml-after-change1): Adjust accordingly.
3750 (nxml-extend-after-change-region): Remove.
3751 * nxml/xmltok.el: Use lexical-binding.
3752 (xmltok-save): Use `declare'.
3753 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
3754 * nxml/nxml-util.el: Use lexical-binding.
3755 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
3757 * nxml/nxml-ns.el: Use lexical-binding.
3758 (nxml-ns-save): Use `declare'.
3759 (nxml-ns-prefixes-for): Avoid add-to-list.
3760 * nxml/rng-match.el: Use lexical-binding.
3761 (rng--ipattern): Use cl-defstruct.
3762 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
3763 (rng-cons-group-after, rng-subst-group-after)
3764 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
3765 Use closures instead of `(lambda...).
3767 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
3769 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
3772 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3773 Use `tramp-handle-insert-file-contents'.
3774 (tramp-gvfs-handle-insert-file-contents): Remove function.
3776 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
3777 Use `save-restriction' in order to keep markers.
3779 * net/trampver.el: Update release number.
3781 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3783 * progmodes/compile.el (compilation-parse-errors):
3784 Use compilation--put-prop.
3785 (compilation--ensure-parse): Check compilation-multiline.
3787 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
3789 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
3792 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
3794 * progmodes/ruby-mode.el: Fix recently added tests.
3795 (ruby-smie-grammar): Add - and +.
3796 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
3797 (ruby-smie--backward-id): New functions.
3798 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
3799 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
3802 2013-10-07 Leo Liu <sdl.web@gmail.com>
3804 * register.el (register-preview-delay)
3805 (register-preview-functions): New variables.
3806 (register-read-with-preview, register-preview)
3807 (register-describe-oneline): New functions.
3808 (point-to-register, window-configuration-to-register)
3809 (frame-configuration-to-register, jump-to-register)
3810 (number-to-register, view-register, insert-register)
3811 (copy-to-register, append-to-register, prepend-to-register)
3812 (copy-rectangle-to-register): Use register-read-with-preview to
3813 read register. (Bug#15525)
3815 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
3817 * net/network-stream.el (network-stream-open-starttls): Don't add
3818 --insecure if it's already present, because that gnutls-cli
3819 rejects getting that parameter twice.
3821 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
3823 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
3826 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
3828 * newcomment.el (comment-use-global-state): Change default value
3829 to t, mark obsolete (Bug#15251).
3830 (comment-beginning): In addition to `comment-to-syntax', check the
3831 value of `comment-use-global-state'.
3833 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
3835 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
3836 (ruby-comment-column): Follow the global default, by default.
3837 (ruby-smie-grammar): Add assignment syntax.
3838 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
3839 open-paren, a comma, or a \.
3840 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
3841 and line continuations.
3842 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
3843 followed by implicit semi-colons. Add rule for string concatenation
3844 and for indentation at BOB.
3845 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
3847 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
3848 calling next-sexp, since next-token may have skipped chars which
3849 next-sexp doesn't know should be skipped!
3851 2013-10-05 Leo Liu <sdl.web@gmail.com>
3853 * progmodes/octave.el (octave-send-region):
3854 Call compilation-forget-errors.
3856 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
3858 * vc/vc-svn.el (vc-svn-find-admin-dir):
3859 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
3860 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
3861 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
3862 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
3864 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
3866 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
3868 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
3870 * subr.el (read-passwd): Hide chars even when called within a context
3871 where after-change-functions is disabled (bug#15501).
3872 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
3873 until we removed ourself from overriding-terminal-local-map.
3875 2013-10-04 Leo Liu <sdl.web@gmail.com>
3877 * progmodes/octave.el (inferior-octave-mode):
3878 Call compilation-forget-errors.
3880 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
3882 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
3884 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
3886 * net/secrets.el (secrets-create-collection): Add optional
3887 argument ALIAS. Use proper Label keyword. Append ALIAS as
3888 dbus-call-method argument. (Bug#15516)
3890 2013-10-04 Leo Liu <sdl.web@gmail.com>
3892 * progmodes/octave.el (inferior-octave-error-regexp-alist)
3893 (inferior-octave-compilation-font-lock-keywords): New variables.
3894 (compilation-error-regexp-alist)
3895 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
3896 (inferior-octave-mode): Use compilation-shell-minor-mode.
3898 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
3900 * minibuffer.el (completion--replace): Be careful that `end' might be
3903 2013-10-03 Daiki Ueno <ueno@gnu.org>
3905 Add support for package signature checking.
3906 * emacs-lisp/package.el (url-http-file-exists-p)
3907 (epg-make-context, epg-context-set-home-directory)
3908 (epg-verify-string, epg-context-result-for)
3909 (epg-signature-status, epg-signature-to-string)
3910 (epg-check-configuration, epg-configuration)
3911 (epg-import-keys-from-file): Declare.
3912 (package-check-signature): New user option.
3913 (package-unsigned-archives): New user option.
3914 (package-desc): Add `signed' field.
3915 (package-load-descriptor): Set `signed' field if .signed file exists.
3916 (package--archive-file-exists-p): New function.
3917 (package--check-signature): New function.
3918 (package-install-from-archive): Check package signature.
3919 (package--download-one-archive): Check archive signature.
3920 (package-delete): Remove .signed file.
3921 (package-import-keyring): New command.
3922 (package-refresh-contents): Import default keyring.
3923 (package-desc-status): Add "unsigned" status.
3924 (describe-package-1, package-menu--print-info)
3925 (package-menu-mark-delete, package-menu--find-upgrades)
3926 (package-menu--status-predicate): Support "unsigned" status.
3928 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
3930 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
3931 the new compilation scheme using the new byte-codes.
3933 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
3934 (byte-pophandler): New byte codes.
3935 (byte-goto-ops): Adjust accordingly.
3936 (byte-compile--use-old-handlers): New var.
3937 (byte-compile-catch): Use new byte codes depending on
3938 byte-compile--use-old-handlers.
3939 (byte-compile-condition-case--old): Rename from
3940 byte-compile-condition-case.
3941 (byte-compile-condition-case--new): New function.
3942 (byte-compile-condition-case): New function that dispatches depending
3943 on byte-compile--use-old-handlers.
3944 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
3947 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
3948 Optimize under `condition-case' and `catch' if
3949 byte-compile--use-old-handlers is nil.
3950 (disassemble-offset): Handle new bytecodes.
3952 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
3954 * subr.el (error): Use `declare'.
3955 (decode-char, encode-char): Use advertised-calling-convention instead
3956 of the docstring to discourage use of the `restriction' arg.
3958 2013-10-03 Daiki Ueno <ueno@gnu.org>
3960 * epg.el (epg-verify-file): Add a comment saying that it does not
3961 notify verification error as a return value nor a signal.
3962 (epg-verify-string): Ditto.
3964 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
3966 * progmodes/compile.el (compilation-start): Try globbing the arg to
3969 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
3971 Sync with Tramp 2.2.8.
3973 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
3974 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
3975 * net/trampver.el: Update release number.
3977 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
3979 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
3980 and default-process-coding-system for darwin only.
3982 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
3984 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
3986 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
3988 * vc/vc-git.el (vc-git-grep): Disable pager.
3990 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
3992 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
3993 Use :url instead of :homepage, as per
3994 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
3996 * newcomment.el (comment-beginning): When `comment-use-syntax' is
3997 non-nil, use `syntax-ppss' (Bug#15251).
3999 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4001 * progmodes/octave.el (inferior-octave-startup-file):
4002 Prefer ~/.emacs.d/init_octave.m.
4004 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
4006 * emacs-lisp/package.el (package-desc-from-define):
4007 Accept additional arguments as plist, convert them to an alist and store
4008 them in the `extras' slot.
4009 (package-generate-description-file): Convert extras alist back to
4010 plist and append to the `define-package' form arguments.
4011 (package--alist-to-plist): New function.
4012 (package--ac-desc): Add `extras' slot.
4013 (package--add-to-archive-contents): Check if the archive-contents
4014 vector is long enough, and if it is, pass its `extras' slot value
4015 to `package-desc-create'.
4016 (package-buffer-info): Call `lm-homepage', pass the returned value
4017 to `package-desc-from-define'.
4018 (describe-package-1): Render the homepage button (Bug#13291).
4020 * emacs-lisp/package-x.el (package-upload-buffer-internal):
4021 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
4023 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
4025 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
4026 and default-process-coding-system to utf-8-unix (Bug#15402).
4028 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
4030 * subr.el (looking-back): Do not recommend using looking-back.
4032 2013-09-28 Alan Mackenzie <acm@muc.de>
4034 Fix indentation/fontification of Java enum with "implements".
4036 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
4037 regexp which matches "implements", etc., in Java.
4038 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
4039 specifier clauses coming after "enum".
4040 * progmodes/cc-fonts.el (c-font-lock-declarations)
4041 (c-font-lock-enum-tail): Check for extra specifier clauses coming
4044 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
4046 * faces.el (region): Change ns_selection_color to
4047 ns_selection_fg_color, add ns_selection_bg_color.
4049 2013-09-28 Leo Liu <sdl.web@gmail.com>
4051 * progmodes/octave.el (inferior-octave-completion-table)
4052 (inferior-octave-completion-at-point): Minor tweaks.
4054 * textmodes/ispell.el (ispell-lookup-words): Rename from
4055 lookup-words. (Bug#15460)
4056 (lookup-words): Obsolete.
4057 (ispell-complete-word, ispell-command-loop): All uses changed.
4059 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4061 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
4062 (octave-mode-menu): Add octave-send-buffer.
4063 (octave-send-buffer): New function.
4065 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4067 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
4069 (octave-mode-menu): Add octave-lookfor.
4070 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
4072 (octave-lookfor): New function.
4074 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
4076 * emacs-lisp/cl-macs.el:
4077 (cl--loop-destr-temps): Remove.
4078 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
4080 (cl--loop-set-iterator-function): New function.
4081 (cl-loop): Adjust accordingly, so as not to use cl-subst.
4082 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
4083 Bind `it' with `let' instead of substituting it with `cl-subst'.
4084 (cl--unused-var-p): New function.
4085 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
4086 Eliminate some unused variable warnings (bug#15326).
4088 2013-09-27 Tassilo Horn <tsdh@gnu.org>
4090 * doc-view.el (doc-view-scale-reset): Rename from
4091 `doc-view-reset-zoom-level'.
4092 (doc-view-scale-adjust): New command.
4093 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
4094 `doc-view-scale-adjust'.
4096 2013-09-26 Tassilo Horn <tsdh@gnu.org>
4098 * doc-view.el (doc-view-reset-zoom-level): New command.
4099 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
4100 zoom commands (bug#15466).
4102 2013-09-26 Kenichi Handa <handa@gnu.org>
4104 * international/quail.el (quail-help): Make it not a command.
4106 2013-09-26 Leo Liu <sdl.web@gmail.com>
4108 * minibuffer.el (completion-all-sorted-completions): Make args
4109 optional as they are.
4111 2013-09-25 Daniel Colascione <dancol@dancol.org>
4113 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
4114 specs are and that they're not evaluated.
4116 2013-09-24 Sam Steingold <sds@gnu.org>
4118 * midnight.el (clean-buffer-list-kill-regexps)
4119 (clean-buffer-list-kill-buffer-names): Update for the new Man
4120 buffer naming which includes the object name.
4122 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
4124 * eshell/esh-cmd.el (eshell--sep-terms): New var.
4125 (eshell-parse-command, eshell-parse-pipeline): Use it since
4126 eshell-separate-commands requires a dynamic scoped var.
4127 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
4129 2013-09-23 Leo Liu <sdl.web@gmail.com>
4131 * autoinsert.el (auto-insert-alist): Make the value of
4132 lexical-binding match its file setting.
4134 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
4136 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
4138 * autoarg.el (autoarg-kp-digit-argument):
4139 * electric.el (Electric-command-loop):
4140 * kmacro.el (kmacro-step-edit-insert):
4141 Do not set universal-argument-num-events.
4143 2013-09-22 Leo Liu <sdl.web@gmail.com>
4145 * files.el (interpreter-mode-alist): Add octave.
4147 2013-09-21 Alan Mackenzie <acm@muc.de>
4149 C++: fontify identifier in declaration following "public:" correctly.
4150 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
4151 to match "public", etc.
4152 (c-decl-prefix-re): Add ":" into the C++ value.
4153 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
4154 bit. Add a check for a ":" preceded by "public", etc.
4156 2013-09-21 Eli Zaretskii <eliz@gnu.org>
4158 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
4159 recognized by GDB 7.5 and later.
4161 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
4163 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
4165 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
4167 * subr.el (internal--call-interactively): New const.
4168 (called-interactively-p): Use it (bug#3984).
4170 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
4172 * vc/pcvs.el (cvs-mode-ignore):
4173 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
4174 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
4176 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
4178 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
4179 (eshell-ls-orig-insert-directory): Remove.
4180 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
4181 (eshell-ls-use-in-dired): Use advice-add/remove.
4182 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
4183 Add `orig-fun' arg for use in :around advice.
4184 Make it check (redundantly) eshell-ls-use-in-dired.
4186 2013-09-19 Glenn Morris <rgm@gnu.org>
4188 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
4190 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
4192 * emacs-lisp/eieio.el (class-parent): Undo previous change.
4194 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
4196 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
4197 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
4198 (tramp-get-remote-python): New defuns.
4199 (tramp-get-remote-uid-with-perl)
4200 (tramp-get-remote-gid-with-perl): New defuns. Perl code
4201 contributed by yary <not.com@gmail.com> (tiny change).
4202 (tramp-get-remote-uid-with-python)
4203 (tramp-get-remote-gid-with-python): New defuns. Python code
4204 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
4205 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
4207 2013-09-19 Glenn Morris <rgm@gnu.org>
4209 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
4211 * eshell/em-unix.el (eshell-remove-entries):
4212 Rename argument to avoid name-clash with global `top-level'.
4214 * eshell/esh-proc.el (eshell-kill-process-function):
4215 Remove eshell-reset-after-proc from eshell-kill-hook if present.
4216 (eshell-reset-after-proc): Remove unused arg `proc'.
4218 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
4219 (directory-files-and-attributes): Mark unused arg.
4221 * eshell/em-unix.el (eshell-remove-entries):
4222 Remove unused arg `path'. Update callers.
4224 * eshell/em-hist.el (eshell-hist-parse-arguments):
4225 Remove unused arg `silent'. Update callers.
4227 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
4228 Fix (f)boundp mix-up.
4230 * eshell/em-smart.el (eshell-smart-scroll-window)
4231 (eshell-disable-after-change):
4232 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
4234 2013-09-18 Alan Mackenzie <acm@muc.de>
4236 Fix fontification of type when followed by "const".
4237 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
4238 "known" types from fontification.
4240 2013-09-18 Glenn Morris <rgm@gnu.org>
4242 * emacs-lisp/chart.el (x-display-color-cells): Declare.
4243 (chart-face-list): Drop Emacsen without display-color-p.
4245 * net/eww.el (libxml-parse-html-region): Declare.
4246 (eww-display-html): Explicit error if no libxml2 support.
4248 * doc-view.el (doc-view-mode): Silence --without-x compilation.
4250 * image.el (image-type-from-buffer, image-multi-frame-p):
4251 Remove --without-x warning/error.
4253 * mouse.el (mouse-yank-primary):
4254 * term.el (term-mouse-paste):
4255 Reorder to silence --without-x compilation.
4257 * mpc.el (doc-view-mode): Silence --without-x compilation.
4259 * mail/rmailmm.el (rmail-mime-set-bulk-data):
4260 Silence --without-x compilation.
4262 * progmodes/gud.el (gud-find-file, gud-mode):
4263 Silence --without-x compilation.
4264 (tooltip-mode): Declare.
4266 * wdired.el (dired-backup-overwrite): Remove declaration.
4267 (wdired-mode-map): Add doc string.
4269 * custom.el (x-get-resource): Declare.
4271 * eshell/em-glob.el (ange-cache):
4272 * eshell/em-unix.el (ange-cache): Declare.
4274 * faces.el (x-display-list, x-open-connection, x-get-resource):
4277 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
4278 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
4281 * frame.el (x-display-grayscale-p, x-display-name): Declare.
4283 * net/gnutls.el (gnutls-log-level): Declare.
4285 * net/shr.el (image-size, image-animate): Declare.
4287 * simple.el (font-info): Declare.
4289 * subr.el (x-popup-dialog): Declare.
4291 * term/common-win.el (x-select-enable-primary)
4292 (x-last-selected-text-primary, x-last-selected-text-clipboard):
4295 * term/ns-win.el (x-handle-args): Declare.
4297 * term/x-win.el (x-select-enable-clipboard): Declare.
4299 * term/w32-win.el (create-default-fontset): Declare.
4301 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
4304 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
4305 (fit-frame-to-buffer): Explicit error if --without-x.
4306 (mouse-autoselect-window-select): Silence compiler.
4308 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
4310 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
4311 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
4312 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
4313 * eshell/esh-util.el (eshell-sublist):
4314 Remove unused local variables.
4316 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
4318 * textmodes/two-column.el: Make 2C-split work for --without-x.
4319 (scroll-bar-columns): Autoload.
4320 (top-level): Require fringe when compiling.
4322 2013-09-18 Leo Liu <sdl.web@gmail.com>
4324 * subr.el (add-hook): Robustify to handle closure as well.
4326 2013-09-17 Glenn Morris <rgm@gnu.org>
4328 * simple.el (messages-buffer-mode-map): Unbind "g".
4330 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
4332 * help-mode.el (help-mode-finish): Use derived-mode-p.
4333 Remove obsolete highlighting.
4335 * play/life.el (life-mode): Use define-derived-mode. Derive from
4337 (life): Let-bind inhibit-read-only.
4338 (life-setup): Avoid `setq'. Use `life-mode'.
4340 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
4341 which should not be needed any more.
4342 (package-menu-refresh, package-menu-describe-package): Use user-error.
4344 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
4345 (eshell-post-rewrite-command-hook): Make obsolete.
4346 (eshell-parse-command): Simplify.
4347 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
4348 (eshell--cmd): Declare.
4349 (eshell-parse-pipeline): Remove unused var `final-p'.
4350 Pass a dynvar to eshell-post-rewrite-command-hook.
4351 Implement the new eshell-post-rewrite-command-function.
4352 (eshell-invoke-directly): Remove unused arg `input'.
4353 * eshell/esh-io.el (eshell-io-initialize):
4354 Use eshell-post-rewrite-command-function (bug#15399).
4355 (eshell--apply-redirections): Rename from eshell-apply-redirections;
4356 adjust to new calling convention.
4357 (eshell-create-handles): Rename args to avoid clashing with dynvar
4360 2013-09-17 Glenn Morris <rgm@gnu.org>
4362 * simple.el (messages-buffer-mode): New major mode.
4363 (messages-buffer): New function.
4364 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
4365 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
4366 (ert-run-test): Use `messages-buffer' function.
4367 (ert--force-message-log-buffer-truncation): Ignore read-only.
4368 * help.el (view-echo-area-messages): Use `messages-buffer' function.
4369 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
4371 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
4373 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
4375 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
4377 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
4379 * icomplete.el (icomplete-in-buffer): New var.
4380 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
4381 vars and replace them with functions.
4382 (icomplete-minibuffer-setup): Adjust accordingly.
4383 (icomplete--completion-table, icomplete--completion-predicate)
4384 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
4386 (icomplete-forward-completions, icomplete-backward-completions)
4387 (icomplete-simple-completing-p, icomplete-exhibit)
4388 (icomplete-completions): Use them.
4389 (icomplete--in-region-buffer): New var.
4390 (icomplete--in-region-setup): New function.
4391 (icomplete-mode): Use it.
4393 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
4395 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
4396 return args and options.
4397 (eshell-eval-using-options): Use the new return value of
4398 eshell--do-opts to set the options's vars in their scope.
4399 (eshell--set-option): Rename from eshell-set-option.
4401 (eshell--process-option): Rename from eshell-process-option.
4403 (eshell--process-args): Use an `opt-vals' alist to store the options's
4404 values during their processing and return them additionally to the
4407 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
4409 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
4410 continuation character an operator, as far as indentation is
4411 concerned (Bug#15369).
4413 2013-09-15 Martin Rudalics <rudalics@gmx.at>
4415 * window.el (window--state-put-2): Don't process buffer state
4416 when buffer doesn't exist any more (Bug#15382).
4418 2013-09-15 Glenn Morris <rgm@gnu.org>
4420 * eshell/em-unix.el (eshell/rm):
4421 Make -f ignore missing files. (Bug#15373)
4423 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
4424 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
4425 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
4427 2013-09-14 Glenn Morris <rgm@gnu.org>
4429 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
4431 2013-09-13 Glenn Morris <rgm@gnu.org>
4433 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
4434 (dired-guess-default): Make `file' available in the env. (Bug#15363)
4436 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
4438 * frame.el (x-focus-frame): Mark as declared in frame.c.
4440 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
4442 * ls-lisp.el: Use advice-add.
4443 (original-insert-directory): Remove.
4444 (ls-lisp--insert-directory): Rename from insert-directory; add
4445 `orig-fun' argument.
4446 (insert-directory): Advise.
4448 2013-09-13 Eli Zaretskii <eliz@gnu.org>
4450 * term.el (term-emulate-terminal): Decode the command string
4451 before passing it to term-command-hook. (Bug#15337)
4453 2013-09-13 Glenn Morris <rgm@gnu.org>
4455 * eshell/esh-util.el (ange-cache): Move declaration earlier.
4457 * eshell/esh-ext.el (eshell-search-path): Declare.
4459 * eshell/em-prompt.el (eshell/pwd): Autoload it.
4460 Otherwise an error occurs if eshell-dirs module not loaded.
4462 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
4464 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
4466 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
4467 `tramp-check-proper-host'. Check for a valid method name.
4469 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4470 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4471 * net/tramp-sh.el (tramp-maybe-open-connection):
4472 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
4474 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
4475 also for hash values.
4477 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4479 * term/ns-win.el (parameters): Don't declare as dynamic.
4480 (before-make-frame-hook): Don't add ineffective function.
4482 * eshell/*.el: Use lexical-binding (bug#15231).
4484 2013-09-12 Kenichi Handa <handa@gnu.org>
4486 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
4488 2013-09-12 Glenn Morris <rgm@gnu.org>
4490 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
4491 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
4493 * subr.el (do-after-load-evaluation): Also give compiler warnings
4494 when obsolete files are used (except by obsolete files).
4496 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
4497 in the status output, assume `filename' is the first. (Bug#15322)
4499 * vc/vc.el (vc-deduce-fileset): Doc fix.
4501 * calc/calc-help.el (Info-goto-node):
4502 * progmodes/cperl-mode.el (Info-find-node):
4503 * vc/ediff.el (Info-goto-node): Update declarations.
4505 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
4507 * vc/vc-bzr.el (vc-compilation-mode): Declare.
4508 (vc-bzr-pull): Require vc-dispatcher.
4509 * vc/vc-git.el (vc-compilation-mode): Declare.
4510 (vc-git-pull): Require vc-dispatcher.
4512 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
4514 * progmodes/octave.el (help-button-action): Declare.
4516 * shell.el (shell-directory-tracker): Output error as a message
4517 rather than just returning it as a string.
4518 (shell-process-pushd): Remove useless use of message.
4520 * dframe.el (dframe-timer-fn):
4521 * files.el (dir-locals-read-from-file):
4522 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
4524 * reveal.el (reveal-post-command):
4525 * saveplace.el (load-save-place-alist-from-file):
4526 * shell.el (shell-resync-dirs):
4527 * w32-common-fns.el (x-get-selection-value):
4528 * emacs-lisp/copyright.el (copyright-find-copyright):
4529 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
4530 * emulation/tpu-edt.el (tpu-copy-keyfile):
4531 * play/bubbles.el (bubbles--mark-neighbourhood):
4532 * progmodes/executable.el
4533 (executable-make-buffer-file-executable-if-script-p):
4534 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
4536 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4538 Cleanup Eshell to rely less on dynamic scoping.
4539 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
4540 last-value, and ext-command here. Bind `args' closer to `body'.
4541 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
4542 (eshell--args): Declare new dynamic var.
4543 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
4544 last-value, and ext-command. Pass `args' to `body'.
4545 (eshell-process-args): Bind eshell--args.
4546 (eshell-set-option): Use eshell--args.
4547 * eshell/eshell.el (eshell): Use derived-mode-p.
4548 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
4549 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
4550 (eshell-glob-function): Declare.
4551 * eshell/esh-util.el: Require cl-lib.
4552 (eshell-read-hosts-file): Avoid add-to-list.
4553 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
4555 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
4557 (eshell/diff): Remove unused var `err'.
4558 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
4560 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
4561 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
4563 * eshell/em-glob.el (eshell-glob-matches, message-shown):
4564 Move declaration before first use.
4565 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
4566 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
4569 2013-09-12 Glenn Morris <rgm@gnu.org>
4571 * term/ns-win.el (global-map): Remove binding for ispell-next,
4572 deleted 1999-05-29. (Bug#15357)
4574 2013-09-11 Glenn Morris <rgm@gnu.org>
4576 * echistory.el (electric-command-history): Remove call to deleted func.
4578 * play/landmark.el (landmark-mode): Fix typos.
4580 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
4581 Check cvs-sort-ignore-file is bound.
4583 * savehist.el: No need for cl when compiling on Emacs.
4585 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
4587 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
4589 (eshell-self-insert-command, eshell-send-invisible):
4590 Remove unused argument.
4591 (eshell-handle-control-codes): Remove unused var `orig'.
4592 Avoid delete-backward-char.
4594 * files.el (set-auto-mode): Simplify a bit further.
4596 2013-09-11 Glenn Morris <rgm@gnu.org>
4598 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
4599 (set-auto-mode): Don't regexp-quote elements.
4600 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
4601 * progmodes/cc-mode.el (interpreter-mode-alist):
4602 * progmodes/ruby-mode.el (interpreter-mode-alist):
4603 Revert previous change.
4605 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
4607 * play/snake.el (snake-mode):
4608 * play/mpuz.el (mpuz-mode):
4609 * play/landmark.el (lm-mode):
4610 * play/blackbox.el (blackbox-mode):
4611 * play/5x5.el (5x5-mode):
4612 * obsolete/options.el (Edit-options-mode):
4613 * net/quickurl.el (quickurl-list-mode):
4614 * net/newst-treeview.el (newsticker-treeview-mode):
4615 * mail/rmailsum.el (rmail-summary-mode):
4616 * mail/mspools.el (mspools-mode):
4617 * locate.el (locate-mode):
4618 * ibuffer.el (ibuffer-mode):
4619 * emulation/ws-mode.el (wordstar-mode):
4620 * emacs-lisp/debug.el (debugger-mode):
4621 * array.el (array-mode):
4622 * net/eudc.el (eudc-mode): Use define-derived-mode.
4623 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
4624 Move initialization into declaration.
4625 (mairix-searches-mode): Use define-derived-mode.
4626 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
4627 (eudc-edit-hotlist): Use dolist.
4628 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
4629 (Man-mode): Use define-derived-mode.
4630 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
4631 (Info-edit-mode): Use define-derived-mode.
4632 (Info-cease-edit): Use Info-mode.
4633 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
4635 (eshell-mode): Use define-derived-mode.
4636 * chistory.el (command-history-mode-map): Rename from
4637 command-history-map.
4638 (command-history-mode): Use define-derived-mode.
4639 (Command-history-setup): Remove function.
4640 * calc/calc.el (calc-trail-mode-map): New var.
4641 (calc-trail-mode): Use define-derived-mode.
4642 (calc-trail-buffer): Set calc-main-buffer manually.
4643 * bookmark.el (bookmark-insert-annotation): New function.
4644 (bookmark-edit-annotation): Use it.
4645 (bookmark-edit-annotation-mode): Make it a proper major mode.
4646 (bookmark-send-edited-annotation): Use derived-mode-p.
4647 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
4648 closer to its ideal place. Use \' to match EOS.
4650 * profiler.el (profiler-calltree-find): Use function-equal.
4652 2013-09-10 Glenn Morris <rgm@gnu.org>
4654 * files.el (interpreter-mode-alist): Convert to regexps.
4655 (set-auto-mode): Adapt for this. (Bug#15306)
4656 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
4657 Comment out unused variable.
4658 * progmodes/cc-mode.el (interpreter-mode-alist):
4659 * progmodes/python.el (interpreter-mode-alist):
4660 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
4661 * progmodes/sh-script.el (sh-set-shell):
4662 No longer use interpreter-mode-alist to get list of shells.
4664 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
4666 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
4668 * simple.el: Use set-temporary-overlay-map for universal-argument.
4669 (universal-argument-map): Don't use default-bindings (bug#15317).
4670 Bind switch-frame explicitly. Replace universal-argument-minus with
4671 a conditional binding.
4672 (universal-argument-num-events, saved-overriding-map): Remove.
4673 (restore-overriding-map): Remove.
4674 (universal-argument--mode): Rename from save&set-overriding-map,
4676 (universal-argument, universal-argument-more, negative-argument)
4677 (digit-argument): Adjust accordingly.
4678 (universal-argument-minus): Remove.
4679 (universal-argument-other-key): Remove.
4681 * subr.el (with-demoted-errors): Add `format' argument.
4683 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
4685 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
4686 `tramp-cleanup-connection'.
4688 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
4689 parameters KEEP-DEBUG and KEEP-PASSWORD.
4691 * net/tramp.el (tramp-file-name-handler):
4692 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4693 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
4694 (tramp-maybe-open-connection):
4695 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
4696 Use `tramp-cleanup-connection'.
4698 * net/tramp-sh.el (tramp-maybe-open-connection):
4699 Catch 'uname-changed inside the progress reporter.
4701 2013-09-10 Glenn Morris <rgm@gnu.org>
4703 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
4705 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
4706 returns "alternate access method" in mode (eg "-rw-r--r--.").
4708 2013-09-08 Glenn Morris <rgm@gnu.org>
4710 * saveplace.el (load-save-place-alist-from-file):
4711 Demote errors. (Bug#15305)
4713 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
4715 Improve compatibility with older Emacsen, and XEmacs.
4717 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
4718 only if it is bound. It isn't for XEmacs.
4719 (with-tramp-progress-reporter): Do not let-bind `result'.
4720 This yields to scoping errors in XEmacs.
4721 (tramp-handle-make-auto-save-file-name): New function, moved from
4724 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
4725 for `make-auto-save-file-name'.
4726 (tramp-adb--gnu-switches-to-ash):
4727 Use `tramp-compat-replace-regexp-in-string'.
4729 * net/tramp-cache.el (tramp-cache-print): Call
4730 `substring-no-properties' only if it is bound. It isn't for XEmacs.
4732 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
4733 bound. It isn't for XEmacs.
4735 * net/tramp-compat.el (tramp-compat-copy-file):
4736 Catch `wrong-number-of-arguments' error.
4737 (tramp-compat-replace-regexp-in-string): New defun.
4739 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
4740 for `make-auto-save-file-name'.
4741 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
4743 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
4744 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
4745 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
4747 * net/tramp-gw.el (tramp-gw-open-network-stream):
4748 Use `tramp-compat-replace-regexp-in-string'.
4750 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4751 Call `tramp-handle-make-auto-save-file-name'.
4752 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
4753 (tramp-sh-file-gvfs-monitor-dir-process-filter)
4754 (tramp-sh-file-inotifywait-process-filter):
4755 Use `tramp-compat-replace-regexp-in-string'.
4756 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
4758 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
4759 for `make-auto-save-file-name'.
4760 (tramp-smb-handle-copy-directory):
4761 Call `tramp-compat-replace-regexp-in-string'.
4762 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
4763 (tramp-smb-handle-copy-file): Improve error message.
4764 (tramp-smb-handle-rename-file): Rename directly only in case
4765 `newname' does not exist yet. This is a restriction of smbclient.
4766 (tramp-smb-maybe-open-connection): Rerun the function only when
4767 `auth-sources' is non-nil.
4769 2013-09-08 Kenichi Handa <handa@gnu.org>
4771 * international/characters.el: Set category "^" (Combining) for
4774 2013-09-07 Alan Mackenzie <acm@muc.de>
4776 Correctly fontify Java class constructors.
4777 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
4779 (c-recognize-typeless-decls): Set the Java value to t.
4780 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
4781 While handling a "(", add a check for, effectively, Java, and handle a
4782 "typeless" declaration there.
4784 2013-09-07 Roland Winkler <winkler@gnu.org>
4786 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
4787 field subtitle for entry type book.
4789 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4791 * minibuffer.el: Make minibuffer-complete call completion-in-region
4792 rather than other way around.
4793 (completion--some, completion-pcm--find-all-completions):
4794 Don't delay signals when debugging.
4795 (minibuffer-completion-contents): Beware fields within the
4796 minibuffer contents.
4797 (completion-all-sorted-completions): Use defvar-local.
4798 (completion--do-completion, completion--cache-all-sorted-completions)
4799 (completion-all-sorted-completions, minibuffer-force-complete):
4800 Add args `beg' and `end'.
4801 (completion--in-region-1): New fun, extracted from minibuffer-complete.
4802 (minibuffer-complete): Use completion-in-region.
4803 (completion-complete-and-exit): New fun, extracted from
4804 minibuffer-complete-and-exit.
4805 (minibuffer-complete-and-exit): Use it.
4806 (completion--complete-and-exit): Rename from
4807 minibuffer--complete-and-exit.
4808 (completion-in-region--single-word): New function, extracted from
4809 minibuffer-complete-word.
4810 (minibuffer-complete-word): Use it.
4811 (display-completion-list): Make `common-substring' argument obsolete.
4812 (completion--in-region): Call completion--in-region-1 instead of
4813 minibuffer-complete.
4814 (completion-help-at-point): Pass boundaries to
4815 minibuffer-completion-help as args rather than via an overlay.
4816 (completion-pcm--string->pattern): Use `any-delim'.
4817 (completion-pcm--optimize-pattern): New function.
4818 (completion-pcm--pattern->regex): Handle `any-delim'.
4819 * icomplete.el (icomplete-forward-completions)
4820 (icomplete-backward-completions, icomplete-completions):
4821 Adjust calls to completion-all-sorted-completions and
4822 completion--cache-all-sorted-completions.
4823 (icomplete-with-completion-tables): Default to t.
4824 * emacs-lisp/crm.el (crm--current-element): Rename from
4825 crm--select-current-element. Don't put an overlay but return the
4827 (crm--completion-command): Take two new args to bind to the boundaries.
4828 (crm-completion-help): Adjust accordingly.
4829 (crm-complete): Use completion-in-region.
4830 (crm-complete-word): Use completion-in-region--single-word.
4831 (crm-complete-and-exit): Use completion-complete-and-exit.
4833 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4835 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
4838 2013-09-06 Juri Linkov <juri@jurta.org>
4840 * info.el (Info-display-images-node): When image file doesn't exist
4841 display text version of the image if it's provided in the Info file.
4842 Otherwise, display the location of missing image from SRC attribute.
4843 Add help-echo text property from ALT attribute. (Bug#15279)
4845 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4847 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
4848 (edit-abbrevs-mode): Use define-derived-mode.
4850 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
4851 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
4853 (epa-key-list-mode, epa-key-mode, epa-info-mode):
4854 Use define-derived-mode.
4856 * epg.el (epg-start-encrypt): Minor CSE simplification.
4858 2013-09-06 William Xu <william.xwl@gmail.com>
4860 * arc-mode.el: Add support for 7za (bug#15264).
4861 (archive-7z-program): New var.
4862 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
4863 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
4864 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
4866 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
4870 * net/tramp.el (tramp-syntax, tramp-prefix-format)
4871 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
4872 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
4873 (tramp-postfix-host-format, tramp-file-name-regexp)
4874 (tramp-completion-file-name-regexp)
4875 (tramp-completion-dissect-file-name)
4876 (tramp-handle-substitute-in-file-name): Remove 'url case.
4877 (tramp-file-name-regexp-url)
4878 (tramp-completion-file-name-regexp-url): Remove constants.
4880 2013-09-06 Glenn Morris <rgm@gnu.org>
4882 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
4884 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
4886 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
4887 keywords" below "here-doc beginnings" (Bug#15270).
4889 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
4891 * subr.el (pop): Use `car-safe'.
4892 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
4893 to detect unused `pop' return value.
4895 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
4897 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
4898 (python-fill-string): Remove unused var `marker'.
4899 (python-skeleton-add-menu-items): Remove unused var `items'.
4901 * international/mule-cmds.el: Require CL.
4902 (find-coding-systems-for-charsets): Avoid add-to-list.
4903 (sanitize-coding-system-list): New function, extracted from
4904 select-safe-coding-system-interactively.
4905 (select-safe-coding-system-interactively): Use it.
4906 (read-input-method-name): Accept symbols for `default'.
4908 * emacs-lisp/advice.el (defadvice): Add indent rule.
4910 2013-09-05 Daniel Hackney <dan@haxney.org>
4914 * net/browse-url.el:
4917 * net/eudcb-ldap.el:
4930 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
4931 byte compiler. Remove some unused let-bound variables.
4933 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
4935 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
4936 a "ref-cell", since it gets better optimized (bug#14883).
4938 2013-09-05 Glenn Morris <rgm@gnu.org>
4940 * progmodes/cc-awk.el (c-forward-sws): Declare.
4942 2013-09-04 Glenn Morris <rgm@gnu.org>
4944 * generic-x.el [rul-generic-mode]: Require cc-mode.
4945 (c++-mode-syntax-table): Declare.
4946 (rul-generic-mode-syntax-table): Init in the defvar.
4948 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
4950 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
4951 (vc-do-command, vc-set-async-update):
4952 * vc/vc-mtn.el (vc-mtn-dir-status):
4953 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
4954 (vc-hg-pull, vc-hg-merge-branch):
4955 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
4956 (vc-git-merge-branch):
4957 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
4958 (vc-cvs-dir-status-files):
4959 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
4960 (vc-bzr-dir-status-files):
4961 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
4962 * vc/vc-annotate.el: Use lexical-binding.
4963 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
4964 (vc-sentinel-movepoint): Declare.
4965 (vc-annotate): Don't use `goto-line'.
4966 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
4967 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
4968 (vc-sentinel-movepoint): Declare.
4969 * vc/vc-svn.el: Use lexical-binding.
4970 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
4972 * vc/vc-rcs.el: Use lexical-binding.
4974 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
4975 `deleted'. Don't drop errors silently.
4977 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
4979 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
4981 * vc/vc.el (vc-ignore): Rewrite.
4982 (vc-default-ignore): New function.
4983 (vc-default-ignore-completion-table): Use find-ignore-file.
4985 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
4986 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
4987 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
4988 Remove. Most code moved to vc.el.
4990 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
4992 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
4993 * net/tramp-smb.el (tramp-smb-get-file-entries):
4994 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
4995 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
4997 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
4999 (eww-change-select): Remove unused var `properties'.
5000 (eww-make-unique-file-name): Remove unused var `base'.
5002 * finder.el (finder-compile-keywords): Don't mess with windows.
5004 * calculator.el (calculator-funcall): Fix typo in last change.
5006 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
5008 * emacs-lisp/package.el (package-activate-1): Don't let a missing
5009 <pkg>-autoloads.el file stop us.
5011 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
5012 warnings, and factor out common code.
5014 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
5016 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
5017 two-character operators and whether the character preceding them
5018 changes their meaning (Bug#15208).
5020 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
5022 Format code sent to Python shell for robustness.
5023 * progmodes/python.el (python-shell-buffer-substring):
5025 (python-shell-send-region, python-shell-send-buffer): Use it.
5027 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
5029 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
5030 * net/tramp.el (tramp-user-error): ... here.
5031 (tramp-find-method, tramp-check-proper-host)
5032 (tramp-dissect-file-name, tramp-debug-message)
5033 (tramp-handle-shell-command):
5034 * net/tramp-adb.el (tramp-adb-handle-shell-command):
5035 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
5037 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
5039 2013-09-02 Martin Rudalics <rudalics@gmx.at>
5041 * avoid.el (mouse-avoidance-point-position)
5042 (mouse-avoidance-too-close-p): Handle case where posn-at-point
5045 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
5047 * progmodes/python.el (python-shell-completion-get-completions):
5048 Drop use of deleted `comint-last-prompt-overlay'.
5049 (python-nav-if-name-main): New command.
5051 2013-09-01 Glenn Morris <rgm@gnu.org>
5053 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
5054 Avoid leading space in $wins. Otherwise the sed command used by
5055 eg compile-main ends up containing "/*.el". (Bug#15170)
5057 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
5059 2013-08-30 Glenn Morris <rgm@gnu.org>
5061 * emacs-lisp/bytecomp.el (byte-recompile-directory):
5062 Fix is-this-a-directory logic. (Bug#15220)
5064 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
5066 * textmodes/css-mode.el: Use SMIE.
5067 (css-smie-grammar): New var.
5068 (css-smie--forward-token, css-smie--backward-token)
5069 (css-smie-rules): New functions.
5070 (css-mode): Use them.
5071 (css-navigation-syntax-table): Remove var.
5072 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
5073 (css-indent-calculate, css-indent-line): Remove functions.
5075 Misc changes to reduce use of `(lambda...); and other cleanups.
5076 * cus-edit.el: Use lexical-binding.
5077 (customize-push-and-save, customize-apropos)
5078 (custom-buffer-create-internal): Use closures.
5079 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
5080 * progmodes/ada-xref.el: Use setq.
5081 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
5082 * dframe.el: Use lexical-binding.
5083 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
5084 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
5085 * descr-text.el: Use lexical-binding.
5086 (describe-text-widget, describe-text-sexp, describe-property-list):
5088 * comint.el (comint-history-isearch-push-state): Use a closure.
5089 * calculator.el: Use lexical-binding.
5090 (calculator-number-to-string): Make it work with lexical-binding.
5091 (calculator-funcall): Same and use cl-letf.
5093 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
5094 (lisp--company-doc-string, lisp--company-location): New functions.
5095 (lisp-completion-at-point): Use them to improve Company support.
5097 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
5098 params of lambda expressions.
5099 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
5100 (ruby-smie--opening-pipe-p): New function.
5101 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
5102 symbols and matched |...| for formal params.
5103 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
5104 from being treated as hanging. Handle "rescue".
5106 2013-08-29 Glenn Morris <rgm@gnu.org>
5108 * progmodes/cc-engine.el (c-pull-open-brace):
5109 Move definition before use.
5111 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
5113 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
5114 are immutable. Don't use `unsafe' any more.
5115 (cl--defsubst-expand): Don't substitute at the same time as keeping
5116 a residual unused let-binding. Don't use `unsafe' any more.
5118 2013-08-29 Glenn Morris <rgm@gnu.org>
5120 * calendar/cal-china.el (calendar-chinese-year-cache):
5123 * nxml/nxml-util.el (nxml-debug-clear-inside):
5124 Use cl-loop rather than loop.
5126 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
5128 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
5130 2013-08-28 Glenn Morris <rgm@gnu.org>
5132 * progmodes/antlr-mode.el: No need to require cc-mode twice.
5134 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
5136 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
5138 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5140 * simple.el (repeat-complex-command--called-interactively-skip):
5142 (repeat-complex-command): Use it (bug#14136).
5144 * progmodes/cc-mode.el: Minor cleanup of var declarations.
5145 (c-define-abbrev-table): Add `doc' argument.
5146 (c-mode-abbrev-table, c++-mode-abbrev-table)
5147 (objc-mode-abbrev-table, java-mode-abbrev-table)
5148 (idl-mode-abbrev-table, pike-mode-abbrev-table)
5149 (awk-mode-abbrev-table): Use it.
5150 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
5151 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
5152 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
5153 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
5154 Move initialization into the declaration; and remove any
5157 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
5158 and dynamic let binding.
5160 * vc/smerge-mode.el: Remove redundant :group args.
5162 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
5165 2013-08-28 Juri Linkov <juri@jurta.org>
5167 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
5168 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
5169 (isearch-other-meta-char): Handle an undefined shifted printing
5170 character by downshifting it. (Bug#15200)
5172 2013-08-28 Juri Linkov <juri@jurta.org>
5174 * isearch.el (isearch-search): Change regexp error message for
5175 non-regexp searches. (Bug#15166)
5177 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
5179 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
5180 for portability to hosts where /bin/sh has problems.
5182 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5184 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
5186 2013-08-27 Juri Linkov <juri@jurta.org>
5188 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
5189 in the keyboard macro. (Bug#15126)
5191 2013-08-27 Juri Linkov <juri@jurta.org>
5193 * isearch.el (isearch-quote-char): Comment out converting unibyte
5194 to multibyte, thus syncing with its `quoted-insert' counterpart.
5197 2013-08-27 Martin Rudalics <rudalics@gmx.at>
5199 * window.el (display-buffer-use-some-window): Add missing
5200 argument in call of get-largest-window (Bug#15185).
5201 Reported by Stephen Leake.
5203 2013-08-27 Glenn Morris <rgm@gnu.org>
5205 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
5207 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
5209 * progmodes/python.el (python-font-lock-keywords): Don't return nil
5210 from a matcher-function unless there's no more matches (bug#15161).
5212 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
5214 * minibuffer.el: Revert change from 2013-08-20.
5216 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
5217 with text property `tramp-default', if appropriate.
5218 (tramp-check-proper-host): New defun.
5219 (tramp-dissect-file-name): Do not check hostname. Revert change
5221 (tramp-backtrace): Make VEC-OR-PROC optional.
5223 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5224 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5225 * net/tramp-sh.el (tramp-maybe-open-connection):
5226 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
5227 Apply `tramp-check-proper-host'.
5229 2013-08-26 Tassilo Horn <tsdh@gnu.org>
5231 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
5232 lambda expression in order to have `describe-variable' display it.
5234 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
5236 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
5237 BUF can be optional. (Bug#15186)
5239 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
5241 * progmodes/flymake.el (flymake-get-real-file-name-function):
5242 Fix broken customization. (Bug#15184)
5244 2013-08-25 Alan Mackenzie <acm@muc.de>
5246 Improve indentation of bracelists defined by macros (without "=").
5248 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
5249 expansion begins with "{", regard it as bracelist when it doesn't
5252 Parse C++ inher-intro when there's a template split over 2 lines.
5254 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
5255 rigorously the search for "class" etc. followed by ":".
5257 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
5258 random languages a regexp which never matches rather than nil.
5260 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
5262 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
5263 (c-awk-regexp-one-line-possibly-open-char-list-re)
5264 (c-awk-one-line-possibly-open-regexp-re)
5265 (c-awk-one-line-non-syn-ws*-re): Remove.
5266 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
5267 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
5268 (c-awk-space*-unclosed-regexp-/-re): New constants.
5269 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
5270 aren't regexp delimiters.
5272 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
5273 handling for a rare situation in AWK Mode involving unterminated
5276 2013-08-23 Glenn Morris <rgm@gnu.org>
5278 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
5280 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
5282 * files.el (create-file-buffer): If the result would begin with
5283 spaces, prepend a "|" instead of removing them. (Bug#15162)
5285 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
5287 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
5288 text-properties (bug#15155).
5290 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
5292 (calc-keypad-redraw): Remove unused var `pad'.
5293 (calc-keypad-press): Remove unused var `menu'.
5295 2013-08-23 Martin Rudalics <rudalics@gmx.at>
5297 * window.el (display-buffer-pop-up-frame):
5298 Call pop-up-frame-function with BUFFER current so `make-frame' will
5299 use it as the new frame's buffer (Bug#15133).
5301 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
5303 * calendar/timeclock.el: Minor cleanups.
5304 (timeclock-ask-before-exiting, timeclock-use-display-time):
5306 (timeclock-modeline-display): Define as alias before the
5308 (timeclock-mode-line-display): Use define-minor-mode.
5309 (timeclock-day-list-template): Make it a function, add an argument.
5310 (timeclock-day-list-required, timeclock-day-list-length)
5311 (timeclock-day-list-debt, timeclock-day-list-span)
5312 (timeclock-day-list-break): Adjust calls accordingly.
5314 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
5316 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
5317 Use read--expression so that completion works again.
5319 2013-08-21 Sam Steingold <sds@gnu.org>
5321 Add rudimentary inferior shell interaction
5322 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
5323 (sh-set-shell): Reset it.
5324 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
5325 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
5327 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
5329 * align.el: Use lexical-binding.
5330 (align-region): Simplify accordingly.
5332 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
5334 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
5336 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
5339 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
5343 * net/tramp-cmds.el:
5345 * net/tramp-gvfs.el:
5347 * net/tramp-sh.el: Don't wrap external variable declarations by
5348 `eval-when-compile'.
5350 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
5352 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
5353 now that Emacs supports ImageMagick animations.
5355 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
5357 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
5358 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
5360 2013-08-16 Martin Rudalics <rudalics@gmx.at>
5362 * window.el (mouse-autoselect-window-select): Do autoselect when
5363 mouse pointer is on margin.
5365 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
5367 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
5369 2013-08-16 Glenn Morris <rgm@gnu.org>
5371 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
5372 Handle "Remote Directory" response of some clients. (Bug#15058)
5374 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
5375 Tweak warning. (Bug#14926)
5377 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
5378 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
5380 * image-mode.el (image-mode-map): Add menu items to reverse,
5381 increase, decrease, reset animation speed.
5382 (image--set-speed, image-increase-speed, image-decrease-speed)
5383 (image-reverse-speed, image-reset-speed): New functions.
5384 (image-mode-map): Add bindings for speed commands.
5386 * image.el (image-animate-get-speed, image-animate-set-speed):
5388 (image-animate-timeout): Respect image :speed property.
5390 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
5392 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
5393 previous line (bug#15101).
5394 (debugger-eval-expression, debugger-record-expression):
5395 Use read--expression (bug#15102).
5397 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
5399 Remove byte compiler warnings, visible when compiling with
5400 `byte-compile-force-lexical-warnings' set to t.
5402 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
5403 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
5404 (tramp-handle-unhandled-file-name-directory)
5405 (tramp-handle-file-notify-add-watch, tramp-action-login)
5406 (tramp-action-succeed, tramp-action-permission-denied)
5407 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
5410 * net/tramp-adb.el (tramp-adb-parse-device-names)
5411 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
5412 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
5413 (tramp-adb-handle-file-truename): Remove unused arguments.
5415 * net/tramp-cache.el (tramp-flush-directory-property)
5416 (tramp-flush-connection-property, tramp-list-connections)
5417 (tramp-parse-connection-properties): Prefix unused arguments with "_".
5419 * net/tramp-compat.el (tramp-compat-make-temp-file):
5420 Rename FILENAME to F.
5422 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
5423 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
5424 (tramp-zeroconf-parse-workstation-device-names)
5425 (tramp-zeroconf-parse-webdav-device-names)
5426 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
5428 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
5429 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
5431 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
5433 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
5434 (tramp-sh-handle-insert-file-contents-literally)
5435 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
5437 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
5438 Remove unused variables.
5440 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
5441 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
5442 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
5444 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
5445 Make them a defconst.
5446 (tramp-uuencode-region): Remove unused variable.
5448 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
5450 * frameset.el (frameset--prop-setter): New function.
5451 (frameset-prop): Add gv-setter declaration.
5452 (frameset-filter-minibuffer): Deal with the case that the minibuffer
5453 parameter was already set in FILTERED. Doc fix.
5454 (frameset--record-minibuffer-relationships): Allow saving a
5455 minibufferless frame without its corresponding minibuffer frame.
5456 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
5457 frame, if the frame id matches.
5458 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
5459 frames before orphaned ones.
5460 (frameset-restore): Warn about orphaned windows, instead of error out.
5462 2013-08-14 Martin Rudalics <rudalics@gmx.at>
5464 * window.el (window-make-atom): Don't overwrite parameter
5466 (display-buffer-in-atom-window): Handle special case where we
5467 split an already atomic window.
5468 (window--major-non-side-window, display-buffer-in-side-window)
5469 (window--side-check): Ignore minibuffer window when walking
5471 (window-deletable-p): Return 'frame only if no other frame uses
5472 our minibuffer window.
5473 (record-window-buffer): Run buffer-list-update-hook.
5474 (split-window): Make sure window--check-frame won't destroy an
5475 existing atomic window in case the new window gets nested
5477 (display-buffer-at-bottom): Ignore minibuffer window when
5478 walking window tree. Don't split a side window.
5479 (pop-to-buffer): Don't set-buffer here, the select-window call
5481 (mouse-autoselect-window-select): Autoselect only if we are in the
5482 text portion of the window.
5484 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
5486 * net/shr.el (shr-parse-image-data): New function to grab both the
5487 data itself and the Content-Type.
5488 (shr-put-image): Use it.
5490 * net/eww.el (eww-display-image): Ditto.
5492 * image.el (image-content-type-suffixes): New variable.
5494 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
5496 * progmodes/python.el (python-imenu--build-tree)
5497 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
5499 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
5501 * simple.el (backward-word): Mention the optional argument.
5503 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
5505 * frameset.el (frameset--make): Rename constructor from make-frameset.
5506 (frameset-p, frameset-valid-p): Don't autoload.
5507 (frameset-valid-p): Use normal accessors.
5509 2013-08-13 Glenn Morris <rgm@gnu.org>
5511 * progmodes/compile.el (compile-command): Tweak example in doc.
5512 * obsolete/scribe.el (scribe-mode):
5513 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
5515 * mail/feedmail.el (feedmail-confirm-outgoing)
5516 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
5518 * cus-start.el (truncate-partial-width-windows): Fix type.
5520 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
5522 * net/shr.el (shr-table-horizontal-line): Fix custom type.
5524 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
5526 * emacs-lisp/timer.el (timer--time-setter): New function.
5527 (timer--time): Use it as gv-setter.
5529 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
5530 setter is not a symbol.
5532 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
5534 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
5535 if sending fails. This makes debugging easier.
5537 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
5539 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
5540 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
5541 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
5543 2013-08-12 Eli Zaretskii <eliz@gnu.org>
5545 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
5547 2013-08-12 Glenn Morris <rgm@gnu.org>
5549 * format.el (format-annotate-function):
5550 Handle read-only text properties in the source. (Bug#14887)
5552 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5554 * net/eww.el (eww-display-html): Ignore coding system errors.
5555 One web site uses "utf-8lias" as the coding system.
5557 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
5559 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
5561 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
5563 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
5564 (tutorial--detailed-help): Remove unused local variables.
5565 (tutorial--save-tutorial-to): Use ignore-errors.
5566 (help-with-tutorial): Use looking-at-p.
5568 * view.el (view-buffer-other-window, view-buffer-other-frame):
5569 Mark unused arguments.
5571 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
5572 (woman-select-symbol-fonts, woman, woman-find-file)
5573 (woman-insert-file-contents, woman-non-underline-faces):
5575 (woman1-unquote): Move declaration.
5577 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
5578 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
5579 argument. Remove unused local variable.
5580 (xml-parse-elem-type): Use string-match-p.
5581 (xml-substitute-numeric-entities): Use ignore-errors.
5583 * calculator.el (calculator): Mark unused argument.
5584 (calculator-paste, calculator-quit, calculator-integer-p):
5586 (calculator-string-to-number, calculator-decimal, calculator-exp)
5587 (calculator-op-or-exp): Use string-match-p.
5589 * dired.el (dired-buffer-more-recently-used-p): Declare.
5590 (dired-insert-set-properties, dired-insert-old-subdirs):
5593 * dired-aux.el (dired-compress): Use ignore-errors.
5594 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
5595 (dired-do-async-shell-command, dired-do-shell-command)
5596 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
5597 (dired-insert-subdir-validate): Use string-match-p.
5598 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
5599 (dired-add-entry): Use string-match-p, looking-at-p.
5600 (dired-insert-subdir-newpos): Remove unused local variable.
5602 * filenotify.el (file-notify-callback): Remove unused local variable.
5604 * filesets.el (filesets-error): Mark unused argument.
5605 (filesets-which-command-p, filesets-filter-dir-names)
5606 (filesets-directory-files, filesets-get-external-viewer)
5607 (filesets-ingroup-get-data): Use string-match-p.
5609 * find-file.el (ff-other-file-name, ff-other-file-name)
5610 (ff-find-the-other-file, ff-cc-hh-converter):
5611 Remove unused local variables.
5612 (ff-get-file-name): Use string-match-p.
5613 (ff-all-dirs-under): Use ignore-errors.
5615 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
5616 (follow-select-if-visible): Remove unused local variable.
5618 * forms.el (read-file-filter): Move declaration.
5619 (forms--make-format, forms--make-parser, forms-insert-record):
5620 Quote function with #'.
5621 (forms--update): Use string-match-p. Quote function with #'.
5623 * help-mode.el (help-dir-local-var-def): Mark unused argument.
5624 (help-make-xrefs): Use looking-at-p.
5625 (help-xref-on-pp): Use looking-at-p, ignore-errors.
5627 * ibuffer.el (ibuffer-ext-visible-p): Declare.
5628 (ibuffer-confirm-operation-on): Use string-match-p.
5630 * msb.el (msb-item-handler, msb-dired-item-handler):
5631 Mark unused arguments.
5633 * ses.el (ses-decode-cell-symbol)
5634 (ses-kill-override): Remove unused local variable.
5635 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
5636 (ses-load): Use ignore-errors, looking-at-p.
5637 (ses-jump-safe): Use ignore-errors.
5638 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
5640 * tabify.el (untabify, tabify): Mark unused arguments.
5642 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
5643 Mark unused argument.
5644 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
5645 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
5647 * emacs-lisp/timer.el (timer--time): Define setter with
5648 gv-define-setter to avoid deprecation warning.
5650 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
5651 (*record-cmpl-statistics-p*): Remove (was commented out).
5652 (cmpl-statistics-block): Remove (body was commented out).
5653 All callers changed.
5654 (add-completions-from-buffer, load-completions-from-file):
5655 Remove unused variables.
5657 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
5659 * filecache.el (file-cache-delete-file-list):
5660 Print message only when told so.
5661 (file-cache-files-matching): Use #' in mapconcat argument.
5663 * ffap.el (ffap-url-at-point): Fix reference to variable
5664 thing-at-point-default-mail-uri-scheme.
5666 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
5668 * subr.el (define-error): New function.
5669 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
5670 error-file-not-found and define with define-error.
5671 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
5672 and define with define-error.
5673 * userlock.el (file-locked, file-supersession):
5674 * simple.el (mark-inactive):
5675 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
5676 * progmodes/ada-mode.el (ada-mode-errors):
5677 * play/life.el (life-extinct):
5678 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
5679 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
5680 * nxml/rng-util.el (rng-error):
5681 * nxml/rng-uri.el (rng-uri-error):
5682 * nxml/rng-match.el (rng-compile-error):
5683 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
5684 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
5685 * nxml/nxml-rap.el (nxml-scan-error):
5686 * nxml/nxml-outln.el (nxml-outline-error):
5687 * net/soap-client.el (soap-error):
5688 * net/gnutls.el (gnutls-error):
5689 * net/ange-ftp.el (ftp-error):
5690 * mpc.el (mpc-proc-error):
5691 * json.el (json-error, json-readtable-error, json-unknown-keyword)
5692 (json-number-format, json-string-escape, json-string-format)
5693 (json-key-format, json-object-format):
5694 * jka-compr.el (compression-error):
5695 * international/quail.el (quail-error):
5696 * international/kkc.el (kkc-error):
5697 * emacs-lisp/ert.el (ert-test-failed):
5698 * calc/calc.el (calc-error, inexact-result, math-overflow)
5700 * bookmark.el (bookmark-error-no-filename):
5701 * epg.el (epg-error): Define with define-error.
5703 * time.el (display-time-event-handler)
5704 (display-time-next-load-average): Don't call sit-for since it seems
5705 unnecessary (bug#15045).
5707 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
5708 Use #' instead of ' to quote functions.
5709 (checkdoc-output-mode): Use setq-local.
5710 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
5711 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
5712 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
5713 (checkdoc-ispell, checkdoc-ispell-current-buffer)
5714 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
5715 (checkdoc-ispell-message-text, checkdoc-ispell-start)
5716 (checkdoc-ispell-continue, checkdoc-ispell-comments)
5717 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
5719 * ido.el (ido-completion-help): Fix up compiler warning.
5721 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
5723 * frameset.el (frameset-p): Add autoload cookie.
5724 (frameset--jump-to-register): New function, based on code moved from
5726 (frameset-to-register): Move from register.el. Adapt to `registerv'.
5728 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
5729 (frameset-restore, frameset-save, frameset-session-filter-alist):
5730 Remove declarations.
5731 (register-alist): Doc fix.
5732 (frameset-to-register): Move to frameset.el.
5733 (jump-to-register, describe-register-1): Remove frameset-specific code.
5735 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5737 * allout-widgets.el (allout-widgets-pre-command-business)
5738 (allout-widgets-post-command-business)
5739 (allout-widgets-after-change-handler)
5740 (allout-decorate-item-and-context, allout-set-boundary-marker)
5741 (allout-body-modification-handler)
5742 (allout-graphics-modification-handler): Mark ignored arguments.
5743 (allout-widgets-post-command-business)
5744 (allout-widgets-exposure-change-processor)
5745 (allout-widgets-exposure-undo-processor)
5746 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
5747 (allout-parse-item-at-point, allout-decorate-item-guides)
5748 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
5749 * allout.el (epa-passphrase-callback-function): Declare.
5750 (allout-overlay-insert-in-front-handler)
5751 (allout-overlay-interior-modification-handler)
5752 (allout-isearch-end-handler, allout-chart-siblings)
5753 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
5754 (allout-yank-processing, allout-process-exposed)
5755 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5756 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
5757 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
5758 (lisp-indent-defform): Mark ignored arguments.
5759 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
5760 (calculate-lisp-indent): Remove unused variables.
5761 * international/characters.el (indian-2-column, arabic-2-column)
5762 (tibetan): Mark ignored arguments.
5763 (use-cjk-char-width-table): Mark ignored arguments.
5764 Remove unused variables.
5765 * international/fontset.el (build-default-fontset-data)
5766 (x-compose-font-name, create-fontset-from-fontset-spec):
5767 Mark ignored arguments.
5768 (fontset-plain-name): Remove unused variables.
5769 * international/mule.el (charset-id, charset-bytes, generic-char-p)
5770 (keyboard-coding-system): Mark ignored arguments.
5771 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
5772 * help.el (resize-temp-buffer-window):
5773 * window.el (display-buffer-in-major-side-window)
5774 (display-buffer-in-side-window, display-buffer-in-previous-window):
5775 Remove unused variables.
5776 * isearch.el (isearch-forward-symbol):
5777 * version.el (emacs-bzr-version-bzr):
5778 * international/mule-cmds.el (current-language-environment):
5779 * term/common-win.el (x-handle-iconic, x-handle-geometry)
5781 * term/pc-win.el (x-list-fonts, x-display-planes)
5782 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
5783 (x-server-version, x-display-screens, x-display-mm-height)
5784 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
5785 (x-selection-owner-p, x-own-selection-internal)
5786 (x-disown-selection-internal, x-get-selection-internal)
5787 (msdos-initialize-window-system):
5788 * term/tty-colors.el (tty-color-alist, tty-color-clear):
5789 * term/x-win.el (x-handle-no-bitmap-icon):
5790 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
5791 (vc-default-find-file-hook, vc-default-extra-menu):
5792 Mark ignored arguments.
5794 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5796 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
5797 break-condition in the context of the debugged code (bug#12685).
5799 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
5802 Do not use an overlay to highlight the last prompt. (Bug#14744)
5803 (comint-mode): Make comint-last-prompt buffer local.
5804 (comint-last-prompt): New variable.
5805 (comint-last-prompt-overlay): Remove. Superseded by
5807 (comint-snapshot-last-prompt, comint-output-filter):
5808 Use comint-last-prompt.
5810 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5812 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
5813 (frameset-save): Check validity of the resulting frameset.
5815 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
5817 * ido.el (ido-record-command): Add doc string.
5819 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5821 * frameset.el (frameset): Do not disable creation of the default
5822 frameset-p predicate. Doc fix.
5823 (frameset-valid-p): New function, copied from the old predicate-p.
5824 Add additional checks.
5825 (frameset-restore): Check with frameset-valid-p.
5826 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
5827 (frameset-name, frameset-description, frameset-properties)
5828 (frameset-states): Add docstring.
5829 (frameset-session-filter-alist, frameset-persistent-filter-alist)
5830 (frameset-filter-alist): Doc fixes.
5832 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5834 * frameset.el (frameset-p, frameset-prop): Doc fixes.
5836 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5838 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
5839 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
5840 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
5841 (byte-compile-normal-call): Remove obsolescence check.
5843 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5845 * frameset.el (frameset-restore): Doc fix.
5847 * register.el (frameset-frame-id, frameset-frame-with-id)
5848 (frameset-p, frameset-restore, frameset-save): Declare.
5849 (register-alist): Document framesets.
5850 (frameset-session-filter-alist): Declare.
5851 (frameset-to-register): New function.
5852 (jump-to-register): Implement jumping to framesets. Doc fix.
5853 (describe-register-1): Describe framesets.
5855 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
5857 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
5859 * desktop.el (desktop-save-frameset): Use new frameset-save args.
5860 Use lexical-binding.
5862 * frameset.el (frameset): Use type vector, not list (incompatible
5863 change). Do not declare a new constructor, use the default one.
5864 Upgrade suggested properties `app', `name' and `desc' to slots `app',
5865 `name' and `description', respectively, and add read-only slot
5866 `timestamp'. Doc fixes.
5867 (frameset-copy, frameset-persistent-filter-alist)
5868 (frameset-filter-alist, frameset-switch-to-gui-p)
5869 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
5870 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
5871 (frameset-filter-iconified, frameset-keep-original-display-p):
5873 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
5874 Rename from frameset-filter-(save|restore)-param. All callers changed.
5876 (frameset-p): Adapt to change to vector and be more thorough.
5877 Change arg name to OBJECT. Doc fix.
5878 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
5879 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
5880 All callers changed.
5881 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
5882 All callers changed.
5883 (frameset--record-minibuffer-relationships): Rename from
5884 frameset--process-minibuffer-frames. All callers changed.
5885 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
5886 Use new default constructor (again). Doc fix.
5887 (frameset--find-frame-if): Rename from `frameset--find-frame.
5888 All callers changed.
5889 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
5890 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
5892 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
5893 PARAMETERS and WINDOW-STATE, respectively.
5894 (frameset-restore): Add new keyword argument PREDICATE.
5895 Reset frameset--target-display to nil. Doc fix.
5897 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
5899 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
5901 (bat-mode-syntax-table): Mark \n as end-of-comment.
5902 (bat-font-lock-keywords): Remove comment rule.
5904 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
5905 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
5907 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
5908 (byte-compile-callargs-warn): Use `push'.
5909 (byte-compile-arglist-warn): Ignore higher-order "calls".
5910 (byte-compile-file-form-autoload): Use `pcase'.
5911 (byte-compile-function-form): If quoting a symbol, check that it exists.
5913 2013-08-07 Eli Zaretskii <eliz@gnu.org>
5915 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
5916 and add a few popular commands found in batch files.
5917 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
5918 (dos-mode): Doc fixes.
5920 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
5922 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
5923 (dos-mode): Use setq-local. Add space after "rem".
5924 (dos-mode-syntax-table): Don't use "w" for symbol chars.
5925 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
5927 2013-08-07 Arni Magnusson <arnima@hafro.is>
5929 * progmodes/dos.el: New file.
5930 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
5933 2013-08-06 Glenn Morris <rgm@gnu.org>
5935 * calendar/calendar.el: Add new faces, and day-header-array.
5936 (calendar-weekday-header, calendar-weekend-header)
5937 (calendar-month-header): New faces.
5938 (calendar-day-header-construct): New function.
5939 (calendar-day-header-width): Also :set calendar-day-header-array.
5940 (calendar-american-month-header, calendar-european-month-header)
5941 (calendar-iso-month-header): Use calendar- faces.
5942 (calendar-generate-month):
5943 Use calendar-day-header-array for day headers; apply faces to them.
5944 (calendar-mode): Check calendar-font-lock-keywords non-nil.
5945 (calendar-abbrev-construct): Add optional maxlen argument.
5946 (calendar-day-name-array): Doc fix.
5947 (calendar-day-name-array, calendar-abbrev-length)
5948 (calendar-day-abbrev-array):
5949 Also :set calendar-day-header-array, and maybe redraw.
5950 (calendar-day-header-array): New option. (Bug#15007)
5951 (calendar-font-lock-keywords): Set to nil and make obsolete.
5952 (calendar-day-name): Add option to use header array.
5954 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
5956 * net/shr.el (shr-render-td): Remove debugging.
5957 (shr-render-td): Make width computation consistent by defaulting
5958 all zero-width columns to 10 characters. This may not be optimal,
5959 but it's at least consistent.
5960 (shr-make-table-1): Redo last change to fix the real problem in
5963 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
5965 * files.el (cache-long-line-scans):
5966 Make obsolete alias to `cache-long-scans'.
5968 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
5970 * frameset.el (frameset, frameset-filter-alist)
5971 (frameset-filter-params, frameset-save, frameset--reuse-frame)
5972 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
5973 (frameset-compute-pos): Rename from frameset--compute-pos,
5975 (frameset-move-onscreen): Use frameset-compute-pos.
5976 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
5978 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
5979 Fix typos in docstrings.
5981 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
5983 * frame.el (get-other-frame): Tiny cleanup.
5985 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
5987 * vc/vc.el (vc-default-ignore-completion-table):
5988 Silence byte-compiler warning.
5990 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
5991 slot , which can indeed be nil.
5992 (frameset-live-filter-alist, frameset-persistent-filter-alist):
5993 Move entry for `left' from persistent to live filter alist.
5994 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
5996 (frameset-filter-params): When restoring a frame, copy items added to
5997 `filtered', to avoid unwittingly modifying the original parameters.
5998 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
5999 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
6001 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
6002 to use looking-at-p instead of looking-at. (Bug#15028)
6004 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
6006 Revert introduction of isearch-filter-predicates (bug#14714).
6007 Rely on add-function instead.
6008 * isearch.el (isearch-filter-predicates): Rename it back to
6009 isearch-filter-predicate.
6010 (isearch-message-prefix): Use advice-function-mapc and advice
6011 properties to get the isearch-message-prefix.
6012 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
6013 instead of run-hook-with-args-until-failure.
6014 (isearch-filter-visible): Not obsolete any more.
6015 * loadup.el: Preload nadvice.
6016 * replace.el (perform-replace): Revert to funcall
6017 instead of run-hook-with-args-until-failure.
6018 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
6019 * dired-aux.el (dired-isearch-filenames-mode): Rename from
6020 dired-isearch-filenames-toggle; make it into a proper minor mode.
6021 Use add/remove-function.
6022 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
6023 Call the minor-mode rather than add/remove-hook.
6024 (dired-isearch-filter-filenames):
6025 Remove isearch-message-prefix property.
6026 * info.el (Info--search-loop): New function, extracted from Info-search.
6027 Funcall isearch-filter-predicate instead of
6028 run-hook-with-args-until-failure isearch-filter-predicates.
6029 (Info-search): Use it.
6030 (Info-mode): Use isearch-filter-predicate instead of
6031 isearch-filter-predicates.
6033 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
6035 Do not call to `selected-window' where it is assumed by default.
6036 Affected functions are `window-minibuffer-p', `window-dedicated-p',
6037 `window-hscroll', `window-width', `window-height', `window-buffer',
6038 `window-frame', `window-start', `window-point', `next-window'
6039 and `window-display-table'.
6040 * abbrev.el (abbrev--default-expand):
6041 * bs.el (bs--show-with-configuration):
6042 * buff-menu.el (Buffer-menu-mouse-select):
6043 * calc/calc.el (calc):
6044 * calendar/calendar.el (calendar-generate-window):
6045 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
6047 * comint.el (send-invisible, comint-dynamic-complete-filename)
6048 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
6049 * completion.el (complete):
6050 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
6051 * disp-table.el (describe-current-display-table):
6052 * doc-view.el (doc-view-insert-image):
6053 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
6054 * ehelp.el (with-electric-help):
6055 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
6056 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
6057 * emacs-lisp/helper.el (Helper-help-scroller):
6058 * emulation/cua-base.el (cua--post-command-handler-1):
6059 * eshell/esh-mode.el (eshell-output-filter):
6060 * ffap.el (ffap-gnus-wrapper):
6061 * help-macro.el (make-help-screen):
6062 * hilit-chg.el (highlight-compare-buffers):
6063 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
6064 * hl-line.el (global-hl-line-highlight):
6065 * icomplete.el (icomplete-simple-completing-p):
6066 * isearch.el (isearch-done):
6067 * jit-lock.el (jit-lock-stealth-fontify):
6068 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
6069 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
6070 * mpc.el (mpc-tagbrowser, mpc):
6071 * net/rcirc.el (rcirc-any-buffer):
6072 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
6073 * play/landmark.el (landmark-max-width, landmark-max-height):
6074 * play/zone.el (zone):
6075 * progmodes/compile.el (compilation-goto-locus):
6076 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
6077 * progmodes/etags.el (find-tag-other-window):
6078 * progmodes/fortran.el (fortran-column-ruler):
6079 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
6080 * progmodes/verilog-mode.el (verilog-point-text):
6081 * reposition.el (reposition-window):
6082 * rot13.el (toggle-rot13-mode):
6083 * server.el (server-switch-buffer):
6084 * shell.el (shell-dynamic-complete-command)
6085 (shell-dynamic-complete-environment-variable):
6086 * simple.el (insert-buffer, set-selective-display)
6087 (delete-completion-window):
6088 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
6089 (speedbar-recenter):
6090 * startup.el (fancy-splash-head):
6091 * textmodes/ispell.el (ispell-command-loop):
6092 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
6093 * tutorial.el (help-with-tutorial):
6094 * vc/add-log.el (add-change-log-entry):
6095 * vc/compare-w.el (compare-windows):
6096 * vc/ediff-help.el (ediff-indent-help-message):
6097 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
6098 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
6099 (ediff-setup-control-frame):
6100 * vc/emerge.el (emerge-position-region):
6101 * vc/pcvs-util.el (cvs-bury-buffer):
6102 * window.el (walk-windows, mouse-autoselect-window-select):
6103 * winner.el (winner-set-conf, winner-undo): Related users changed.
6105 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
6107 * frameset.el (frameset--set-id): Doc fix.
6108 (frameset-frame-id, frameset-frame-id-equal-p)
6109 (frameset-locate-frame-id): New functions.
6110 (frameset--process-minibuffer-frames, frameset--reuse-frame)
6111 (frameset-restore): Use them.
6113 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
6115 Do not call to `selected-frame' where it is assumed by default.
6116 Affected functions are `raise-frame', `redraw-frame',
6117 `frame-first-window', `frame-terminal' and `delete-frame'.
6118 * calendar/appt.el (appt-disp-window):
6119 * epg.el (epg-wait-for-completion):
6120 * follow.el (follow-delete-other-windows-and-split)
6121 (follow-avoid-tail-recenter):
6122 * international/mule.el (set-terminal-coding-system):
6123 * mail/rmail.el (rmail-mail-return):
6124 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
6125 * progmodes/f90.el (f90-add-imenu-menu):
6126 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
6127 * server.el (server-switch-buffer):
6128 * simple.el (delete-completion-window):
6130 * term/xterm.el (terminal-init-xterm-modify-other-keys)
6131 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
6132 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
6133 * vc/ediff.el (ediff-documentation): Related users changed.
6134 * frame.el (selected-terminal): Remove the leftover.
6136 2013-08-05 Glenn Morris <rgm@gnu.org>
6138 * calendar/calendar.el (calendar-generate-month):
6139 Fix for calendar-column-width != 1 + calendar-day-digit-width.
6140 (calendar-generate-month, calendar-font-lock-keywords):
6141 Fix for calendar-day-header-width > length of any day name.
6143 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
6145 * desktop.el (desktop-clear): Use new name of sort predicate.
6147 * frameset.el (frameset): Add docstring. Move :version property to its
6149 (frameset-copy): Rename from copy-frameset.
6150 (frameset-p): Check more thoroughly.
6151 (frameset-prop): Do not check for :version, which is no longer a prop.
6152 (frameset-live-filter-alist, frameset-persistent-filter-alist):
6153 Use new :never value instead of t.
6154 (frameset-filter-alist): Expand and clarify docstring.
6155 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
6156 (frameset-filter-minibuffer, frameset-filter-save-param)
6157 (frameset-filter-restore-param, frameset-filter-iconified):
6158 Add pointer to docstring of frameset-filter-alist.
6159 (frameset-filter-params): Rename filter values to be more meaningful:
6160 :never instead of t, and reverse the meanings of :save and :restore.
6161 (frameset--process-minibuffer-frames): Clarify error message.
6162 (frameset-save): Avoid unnecessary and confusing call to framep.
6163 Use new BOA constructor for framesets.
6164 (frameset--reuse-list): Doc fix.
6165 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
6166 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
6167 (frameset-minibufferless-first-p): Doc fix.
6168 Rename from frameset-sort-frames-for-deletion.
6169 (frameset-restore): Doc fixes. Use new function names.
6170 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
6172 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
6174 * desktop.el (desktop-restore-forces-onscreen)
6175 (desktop-restore-reuses-frames): Document :keyword constant values.
6176 (desktop-filter-parameters-alist): Remove, now identical to
6177 frameset-filter-alist.
6178 (desktop--filter-tty*): Remove, moved to frameset.el.
6179 (desktop-save-frameset, desktop-restore-frameset):
6180 Do not pass :filters argument.
6182 * frameset.el (frameset-live-filter-alist)
6183 (frameset-persistent-filter-alist): New variables.
6184 (frameset-filter-alist): Use them. Add autoload cookie.
6185 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
6186 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
6187 `frameset--id' (it's supposed to be internal to frameset.el).
6188 (frameset--process-minibuffer-frames): Ditto. Doc fix.
6189 (frameset--initial-params): New function.
6190 (frameset--get-frame): Use it. Doc fix.
6191 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
6192 Accept :all, not 'all.
6193 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
6194 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
6195 with fbound symbols. Fix frame id matching, and remove matching ids if
6196 the frame being restored is deleted. Obey :delete.
6198 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
6200 * subr.el (macrop): New function.
6201 (text-clone--maintaining): New var.
6202 (text-clone--maintain): Rename from text-clone-maintain. Use it
6203 instead of inhibit-modification-hooks.
6205 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
6206 a proxy, so as handle autoloads and redefinitions of the target.
6207 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
6209 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
6210 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
6211 (pcase--mutually-exclusive-p): New function.
6212 (pcase--split-consp): Use it.
6213 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
6214 mutually exclusive with the current predicate.
6216 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
6217 (edebug-macrop): Remove. Use `macrop' instead.
6218 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
6220 * eshell/esh-cmd.el (eshell-macrop):
6221 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
6223 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
6225 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
6226 (advice-mapc): New function, using it.
6227 (advice-function-member-p): New function.
6228 (advice--normalize): Store the cdr in advice--saved-rewrite since
6229 that's the part that will be changed.
6230 (advice--symbol-function): New function.
6231 (advice-remove): Handle removal before the function is defined.
6232 Adjust to new advice--saved-rewrite.
6233 (advice-member-p): Use advice-function-member-p and
6234 advice--symbol-function.
6236 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
6238 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
6239 (frameset-filter-minibuffer): Doc fix.
6240 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
6241 (frameset--set-id, frameset--process-minibuffer-frames)
6242 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
6243 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
6245 * desktop.el (desktop-clear): Only delete frames when called
6246 interactively and desktop-restore-frames is non-nil. Doc fix.
6247 (desktop-read): Set desktop-saved-frameset to nil.
6249 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
6251 * vc/vc.el (vc-ignore): Rewrite.
6252 (vc-default-ignore-completion-table):
6254 (vc--add-line, vc--remove-regexp): New functions.
6256 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
6257 (vc-svn-ignore-completion-table): New function.
6259 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
6260 (vc-hg-ignore-completion-table):
6261 (vc-hg-find-ignore-file): New functions.
6263 * vc/vc-git.el (vc-git-ignore): Rewrite.
6264 (vc-git-ignore-completion-table):
6265 (vc-git-find-ignore-file): New functions.
6267 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
6269 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
6270 (vc-bzr-ignore-completion-table):
6271 (vc-bzr-find-ignore-file): New functions.
6273 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
6275 * frameset.el (frameset-prop): New function and setter.
6276 (frameset-save): Do not modify frame list passed by the caller.
6278 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
6280 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
6282 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
6284 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
6285 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
6287 * custom.el (custom-initialize-default, custom-initialize-set)
6288 (custom-initialize-reset, custom-initialize-changed): Affect the
6289 toplevel-default-value (bug#6275, bug#14586).
6290 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
6293 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
6295 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
6296 Add cl-def* expressions.
6298 * frameset.el (frameset-filter-params): Fix order of arguments.
6300 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
6302 Move code related to saving frames to frameset.el.
6303 * desktop.el: Require frameset.
6304 (desktop-restore-frames): Doc fix.
6305 (desktop-restore-reuses-frames): Rename from
6306 desktop-restoring-reuses-frames.
6307 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
6308 (desktop-clear): Clear frames too.
6309 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
6310 (desktop--filter-tty*, desktop-save, desktop-read):
6311 Use frameset functions.
6312 (desktop-before-saving-frames-functions, desktop--filter-*-color)
6313 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
6314 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
6315 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
6316 (desktop--process-minibuffer-frames, desktop-save-frames)
6317 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
6318 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
6319 (desktop--sort-states, desktop-restoring-frames-p)
6320 (desktop-restore-frames): Remove. Most code moved to frameset.el.
6321 (desktop-restoring-frameset-p, desktop-restore-frameset)
6322 (desktop--check-dont-save, desktop-save-frameset): New functions.
6323 (desktop--app-id): New constant.
6324 (desktop-first-buffer, desktop-buffer-ok-count)
6325 (desktop-buffer-fail-count): Move before first use.
6326 * frameset.el: New file.
6328 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
6330 * files.el: Use lexical-binding.
6331 (dir-locals-read-from-file): Remove unused `err' variable.
6332 (hack-dir-local-variables--warned-coding): New var.
6333 (hack-dir-local-variables): Use it to avoid repeated warnings.
6334 (make-backup-file-name--default-function): New function.
6335 (make-backup-file-name-function): Use it as default.
6336 (buffer-stale--default-function): New function.
6337 (buffer-stale-function): Use it as default.
6338 (revert-buffer-insert-file-contents--default-function): New function.
6339 (revert-buffer-insert-file-contents-function): Use it as default.
6340 (insert-directory): Avoid add-to-list.
6342 * autorevert.el (auto-revert-handler): Simplify.
6343 Use buffer-stale--default-function.
6345 2013-08-01 Tassilo Horn <tsdh@gnu.org>
6347 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
6349 * whitespace.el (whitespace-ensure-local-variables): New function.
6350 (whitespace-cleanup-region): Call it.
6351 (whitespace-turn-on): Call it.
6353 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
6355 Complete file name handlers.
6357 * net/tramp.el (tramp-handle-set-visited-file-modtime)
6358 (tramp-handle-verify-visited-file-modtime)
6359 (tramp-handle-file-notify-rm-watch): New functions.
6360 (tramp-call-process): Do not bind `default-directory'.
6362 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6363 Order alphabetically.
6364 [access-file, add-name-to-file, dired-call-process]:
6365 [dired-compress-file, file-acl, file-notify-rm-watch]:
6366 [file-ownership-preserved-p, file-selinux-context]:
6367 [make-directory-internal, make-symbolic-link, set-file-acl]:
6368 [set-file-selinux-context, set-visited-file-modtime]:
6369 [verify-visited-file-modtime]: Add handler.
6370 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
6372 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
6373 [file-notify-add-watch, file-notify-rm-watch]:
6374 [set-file-times, set-visited-file-modtime]:
6375 [verify-visited-file-modtime]: Add handler.
6376 (with-tramp-gvfs-error-message)
6377 (tramp-gvfs-handle-set-visited-file-modtime)
6378 (tramp-gvfs-fuse-file-name): Remove.
6379 (tramp-gvfs-handle-file-notify-add-watch)
6380 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
6381 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
6383 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6384 Order alphabetically.
6385 [file-notify-rm-watch ]: Use default Tramp handler.
6386 [executable-find]: Remove private handler.
6387 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
6388 `default-directory'.
6389 (tramp-sh-handle-executable-find)
6390 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
6391 (tramp-sh-file-gvfs-monitor-dir-process-filter)
6392 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
6393 Do not use `format' in `tramp-message'.
6395 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
6396 [file-notify-rm-watch, set-visited-file-modtime]:
6397 [verify-visited-file-modtime]: Add handler.
6398 (tramp-smb-call-winexe): Do not bind `default-directory'.
6400 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
6402 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
6404 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
6406 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
6408 (log-view-diff-changeset): Same.
6409 (log-view-diff-common): Call backend command `previous-revision'
6410 to find out the previous revision, in both cases. Swap the
6411 variables `to' and `fr', so that `fr' usually refers to the
6412 earlier revision (Bug#14989).
6414 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
6416 * ibuf-ext.el (ibuffer-filter-by-filename):
6417 Make it work with dired buffers too.
6419 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
6421 * emacs-lisp/re-builder.el (reb-color-display-p):
6422 * files.el (save-buffers-kill-terminal):
6423 * net/browse-url.el (browse-url):
6424 * server.el (server-save-buffers-kill-terminal):
6425 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
6426 Prefer nil to selected-frame for the first arg of frame-parameter.
6428 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
6430 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
6432 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
6434 * minibuffer.el (completion--twq-all): Try and preserve each
6435 completion's case choice (bug#14907).
6437 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
6439 * net/network-stream.el (open-network-stream): Mention the new
6440 :nogreeting parameter.
6441 (network-stream-open-starttls): Use the :nogreeting parameter
6444 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
6446 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
6447 more natural than popping.
6449 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
6450 (shr-urlify): Highlight under mouse.
6452 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
6454 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
6456 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
6458 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
6461 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
6462 point-min==1. Fix search string. Fix parentheses missing.
6464 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
6465 assume point-min==1. Fix search string. Fix parentheses missing.
6467 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
6469 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
6472 2013-07-29 Eli Zaretskii <eliz@gnu.org>
6474 * frame.el (frame-notice-user-settings): Avoid inflooping when the
6475 initial frame is minibuffer-less. (Bug#14841)
6477 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
6479 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
6482 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
6483 (tramp-maybe-open-connection): Use it.
6485 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
6487 * desktop.el (desktop--make-frame): Include `minibuffer' in the
6488 minimal set of parameters passed when creating a frame, because
6489 the minibuffer status of a frame cannot be changed later.
6491 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
6493 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
6494 replace-regexp-in-string and inadvertent omissions in previous change.
6495 (todo-filter-items): Ensure only file names are comma-separated in
6496 name of filtered items buffer.
6498 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
6500 * desktop.el: Optionally force offscreen frames back onscreen.
6501 (desktop-restoring-reuses-frames): New option.
6502 (desktop--compute-pos, desktop--move-onscreen): New functions.
6503 (desktop--make-frame): Use desktop--move-onscreen.
6505 2013-07-27 Alan Mackenzie <acm@muc.de>
6507 Fontify a Java generic method as a function.
6508 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
6511 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
6513 * calendar/todo-mode.el: Add command to rename todo files.
6514 (todo-rename-file): New command.
6515 (todo-key-bindings-t): Add key binding for it. Change the
6516 bindings of todo-filter-regexp-items(-multifile) to use `x'
6517 instead of `r', since the latter is better suited to the new
6520 2013-07-27 Alan Mackenzie <acm@muc.de>
6522 Make Java try-with-resources statement parse properly.
6523 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
6524 (c-block-stmt-1-2-key): New language constants/variables.
6525 * progmodes/cc-engine.el (c-beginning-of-statement-1)
6526 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
6527 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
6528 with c-block-stmt-1-2-key.
6530 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
6532 * desktop.el (desktop--make-frame): Apply most frame parameters after
6533 creating the frame to force (partially or totally) offscreen frames to
6534 be restored as such.
6536 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
6538 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
6541 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6543 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
6544 `base' arg of backtrace-frame.
6546 2013-07-26 Eli Zaretskii <eliz@gnu.org>
6548 * simple.el (list-processes): Doc fix.
6550 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
6552 * desktop.el (desktop--select-frame):
6553 Try harder to reuse existing frames.
6555 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6557 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
6558 (edebug-eval): Use backtrace-eval.
6559 (edebug--display, edebug--recursive-edit): Don't let-bind the
6560 edebug-outer-* vars that keep track of variables we locally let-bind.
6561 (edebug-outside-excursion): Don't restore outside values of locally
6563 (edebug--display): Use user-error.
6564 (cl-lexical-debug, cl-debug-env): Remove.
6566 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
6568 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
6569 are restored to be sure that they are visible before deleting any
6572 2013-07-26 Matthias Meulien <orontee@gmail.com>
6574 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
6575 vc-print-root-log. (Bug#14948)
6577 2013-07-26 Richard Stallman <rms@gnu.org>
6579 Add aliases for encrypting mail.
6580 * epa.el (epa-mail-aliases): New option.
6581 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
6582 Bind inhibit-read-only so read-only text doesn't ruin everything.
6583 (epa-mail-default-recipients): New subroutine broken out.
6584 Handle epa-mail-aliases.
6586 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6588 Add support for lexical variables to the debugger's `e' command.
6589 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
6590 vars, except for debugger-outer-match-data.
6591 (debugger-frame-number): Move check for "on a function call" from
6592 callers into it. Add `skip-base' argument.
6593 (debugger-frame, debugger-frame-clear): Simplify accordingly.
6594 (debugger-env-macro): Only reset the state stored in non-variables,
6595 i.e. current-buffer and match-data.
6596 (debugger-eval-expression): Rewrite using backtrace-eval.
6597 * subr.el (internal--called-interactively-p--get-frame): Remove.
6598 (called-interactively-p):
6599 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
6600 `base' arg of backtrace-frame instead.
6602 2013-07-26 Glenn Morris <rgm@gnu.org>
6604 * align.el (align-regexp): Doc fix. (Bug#14857)
6605 (align-region): Explicit error if subexpression missing/does not match.
6607 * simple.el (global-visual-line-mode):
6608 Do not duplicate the mode lighter. (Bug#14858)
6610 2013-07-25 Martin Rudalics <rudalics@gmx.at>
6612 * window.el (display-buffer): In display-buffer bind
6613 split-window-keep-point to t, bug#14829.
6615 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
6617 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
6618 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
6619 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
6620 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
6622 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
6623 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
6625 2013-07-25 Glenn Morris <rgm@gnu.org>
6627 * dired-x.el (dired-mark-extension): Convert comment to doc string.
6629 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
6631 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
6632 parameter to modify-frame-parameters if the value has not changed;
6633 this is a workaround for bug#14949.
6634 (desktop--make-frame): On cl-delete-if call, check parameter name,
6637 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
6639 * vc/vc.el (vc-ignore): New function.
6641 * vc/vc-svn.el (vc-svn-ignore): New function.
6643 * vc/vc-hg.el (vc-hg-ignore): New function.
6645 * vc/vc-git.el (vc-git-ignore): New function.
6647 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
6648 (vc-dir-ignore): New function.
6650 * vc/vc-cvs.el (vc-cvs-ignore): New function.
6651 (cvs-append-to-ignore): Move here from pcvs.el.
6653 * vc/vc-bzr.el (vc-bzr-ignore): New function.
6655 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
6657 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
6659 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
6660 (desktop-restore-frames): Warn when deleting an existing frame failed.
6662 2013-07-24 Glenn Morris <rgm@gnu.org>
6664 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
6666 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
6668 * filenotify.el (file-notify-supported-p):
6669 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
6672 * autorevert.el (auto-revert-use-notify):
6673 (auto-revert-notify-add-watch):
6674 * net/tramp.el (tramp-file-name-for-operation):
6675 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6676 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6677 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6678 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6679 Remove `file-notify-supported-p' entry.
6681 2013-07-24 Glenn Morris <rgm@gnu.org>
6683 * printing.el: Replace all uses of deleted ps-windows-system,
6684 ps-lp-system, ps-flatten-list with lpr- versions.
6686 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
6688 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
6689 checked with memq (bug#14935).
6691 * files.el (revert-buffer-function): Use a non-nil default.
6692 (revert-buffer-preserve-modes): Declare var to
6693 provide access to the `preserve-modes' argument.
6694 (revert-buffer): Let-bind it.
6695 (revert-buffer--default): New function, extracted from revert-buffer.
6697 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
6699 * lpr.el: Signal print errors more prominently.
6700 (print-region-function): Don't default to nil.
6701 (lpr-print-region): New function, extracted from print-region-1.
6702 Check lpr's return value and signal an error in case of problem.
6703 (print-region-1): Use it.
6704 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
6706 (ps-printer-name): Default to nil.
6707 (ps-printer-name-option): Default to lpr-printer-switch.
6708 (ps-print-region-function): Don't default to nil.
6709 (ps-postscript-code-directory): Simplify default.
6710 (ps-do-despool): Use lpr-print-region to properly check the outcome.
6711 (ps-string-list, ps-eval-switch, ps-flatten-list)
6712 (ps-flatten-list-1): Remove.
6713 (ps-multibyte-buffer): Avoid setq.
6714 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
6715 (print-region-function, ps-print-region-function): Don't set them here.
6717 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
6719 * ido.el (ido-fractionp):
6720 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
6721 (ido-max-file-prompt-width, ido-unc-hosts-cache)
6722 (ido-max-directory-size, ido-max-dir-file-cache)
6723 (ido-decorations): Doc fix.
6725 * ansi-color.el: Fix old URL.
6727 2013-07-23 Michael R. Mauger <michael@mauger.com>
6729 * progmodes/sql.el: Version 3.3
6730 (sql-product-alist): Improve oracle :prompt-cont-regexp.
6731 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
6732 (sql-interactive-remove-continuation-prompt): Rewrite, use
6733 functions above. Fix continuation prompt and complete output line
6735 (sql-redirect-one, sql-execute): Use `read-only-mode' on
6736 redirected output buffer.
6737 (sql-mode): Restore deleted code (Bug#13591).
6739 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
6741 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
6743 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
6745 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
6747 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6748 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6749 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
6751 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
6753 * desktop.el (desktop-clear): Simplify; remove useless checks
6754 against invalid buffer names.
6755 (desktop-list*): Use cl-list*.
6756 (desktop-buffer-info, desktop-create-buffer): Simplify.
6758 2013-07-23 Leo Liu <sdl.web@gmail.com>
6760 * bookmark.el (bookmark-make-record): Restore NAME as a default
6763 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
6765 * emacs-lisp/autoload.el (autoload--setup-output): New function,
6766 extracted from autoload--insert-text.
6767 (autoload--insert-text): Remove.
6768 (autoload--print-cookie-text): New function, extracted from
6769 autoload--insert-cookie-text.
6770 (autoload--insert-cookie-text): Remove.
6771 (autoload-generate-file-autoloads): Adjust calls accordingly.
6773 * winner.el (winner-hook-installed-p): Remove.
6774 (winner-mode): Simplify accordingly.
6776 * subr.el (add-to-list): Fix compiler-macro when `append' is
6777 not constant. Don't use `cl-member' for the base case.
6779 * progmodes/subword.el: Fix boundary case (bug#13758).
6780 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
6782 (subword-backward-regexp): Make it a constant.
6783 (subword-forward-internal): Don't treat a trailing capital as the
6784 beginning of a word.
6786 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
6788 * emacs-lisp/package.el (package-menu-mode): Don't modify the
6789 global value of tabulated-list-revert-hook (bug#14930).
6791 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
6793 * desktop.el: Require 'cl-lib.
6794 (desktop-before-saving-frames-functions): New hook.
6795 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
6796 for frames being saved. Rename from desktop--save-minibuffer-frames.
6797 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
6798 Do not save frames with non-nil `desktop-dont-save' parameter.
6799 Filter out deleted frames.
6800 (desktop--find-frame): Use cl-find-if.
6801 (desktop--select-frame): Use cl-(first|second|third) to access values
6803 (desktop--make-frame): Use cl-delete-if.
6804 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
6805 (desktop-restore-frames): Use cl-(first|second|third) to access values
6806 of desktop-mini. Look for visible frame at the end, not while
6809 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
6810 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
6811 Use string-match-p, looking-at-p (bug#14927).
6813 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
6815 * desktop.el (desktop-saved-frame-states):
6816 Rename from desktop--saved-states; all users changed.
6817 (desktop-save-frames): Rename from desktop--save-frames.
6818 Do not save state to desktop file.
6819 (desktop-save): Save desktop-saved-frame-states to desktop file
6821 (desktop-restoring-frames-p): New function.
6822 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
6823 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
6824 buffer-lists when restoring frames. Suggested by Martin Rudalics.
6826 * desktop.el: Correctly restore iconified frames.
6827 (desktop--filter-iconified-position): New function.
6828 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
6830 2013-07-20 Glenn Morris <rgm@gnu.org>
6832 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
6833 Let `message' do the formatting.
6834 (def-gdb-preempt-display-buffer): Add explicit format.
6836 * image-dired.el (image-dired-track-original-file):
6837 Use with-current-buffer.
6838 (image-dired-track-thumbnail): Use with-current-buffer.
6839 Avoid changing point of wrong window.
6841 * image-dired.el (image-dired-track-original-file):
6842 Avoid changing point of wrong window. (Bug#14909)
6844 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
6846 * progmodes/gdb-mi.el (gdb-done-or-error):
6847 Guard against "%" in gdb output. (Bug#14127)
6849 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
6851 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
6854 * international/mule.el (coding-system-iso-2022-flags): Fix last
6857 2013-07-20 Kenichi Handa <handa@gnu.org>
6859 * international/mule.el (coding-system-iso-2022-flags):
6860 Add `8-bit-level-4'. (Bug#8522)
6862 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6864 * net/shr.el (shr-mouse-browse-url): New command and keystroke
6867 * net/eww.el (eww-process-text-input): Allow inputting when the
6868 point is at the start of the line, as the properties aren't
6871 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
6874 2013-07-19 Richard Stallman <rms@gnu.org>
6876 * epa.el (epa-popup-info-window): Doc fix.
6878 * subr.el (split-string): New arg TRIM.
6880 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
6882 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
6883 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
6885 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
6887 * filenotify.el (file-notify--library): Rename from
6888 `file-notify-support'. Do not autoload. Adapt all uses.
6889 (file-notify-supported-p): New defun.
6891 * autorevert.el (auto-revert-use-notify):
6892 Use `file-notify-supported-p' instead of `file-notify-support'.
6894 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
6896 * net/tramp.el (tramp-file-name-for-operation):
6897 Add `file-notify-supported-p'.
6899 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
6901 (tramp-sh-file-name-handler-alist): Add it as handler for
6902 `file-notify-supported-p '.
6904 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6905 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6906 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6907 Add `ignore' as handler for `file-notify-*' functions.
6909 2013-07-17 Eli Zaretskii <eliz@gnu.org>
6911 * simple.el (line-move-partial, line-move): Don't start vscroll or
6912 scroll-up if the current line is not taller than the window.
6915 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
6917 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
6918 highlight question marks in the method names as strings.
6919 (ruby-block-beg-keywords): Inline.
6920 (ruby-font-lock-keyword-beg-re): Extract from
6921 `ruby-font-lock-keywords'.
6923 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
6925 * frame.el (blink-cursor-blinks): New defcustom.
6926 (blink-cursor-blinks-done): New defvar.
6927 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
6928 (blink-cursor-timer-function): Check if number of blinks has been
6930 (blink-cursor-suspend, blink-cursor-check): New defuns.
6932 2013-07-15 Glenn Morris <rgm@gnu.org>
6934 * edmacro.el (edmacro-format-keys): Fix previous change.
6936 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
6938 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
6939 The hack didn't work outside English locales anyway.
6941 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
6943 * simple.el (define-alternatives): Rename from alternatives-define,
6944 per RMS' suggestion.
6946 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
6948 * desktop.el (desktop-restore-frames): Change default to t.
6949 (desktop-restore-in-current-display): Now offer more options.
6950 (desktop-restoring-reuses-frames): New customization option.
6951 (desktop--saved-states): Doc fix.
6952 (desktop-filter-parameters-alist): New variable, renamed and expanded
6953 from desktop--excluded-frame-parameters.
6954 (desktop--target-display): New variable.
6955 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
6956 (desktop--filter-tty*, desktop--filter-*-color)
6957 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
6958 (desktop--filter-save-desktop-parm)
6959 (desktop-restore-in-original-display-p): New functions.
6960 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
6961 (desktop--save-minibuffer-frames): New function, inspired by a similar
6962 function from Martin Rudalics.
6963 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
6964 (desktop--restore-in-this-display-p): Remove.
6965 (desktop--find-frame): Rename from desktop--find-frame-in-display
6966 and add predicate argument.
6967 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
6968 (desktop--reuse-list): New variable.
6969 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
6971 (desktop--restore-frames): Add support for "minibuffer-special" frames.
6973 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
6975 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
6977 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
6979 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6980 Highlight conversion methods on Kernel.
6982 2013-07-13 Alan Mackenzie <acm@muc.de>
6984 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
6985 and comment it out. This out-commenting enables certain C++
6986 declarations to be parsed correctly.
6988 2013-07-13 Eli Zaretskii <eliz@gnu.org>
6990 * international/mule.el (define-coding-system): Doc fix.
6992 * simple.el (default-font-height): Don't call font-info if the
6993 frame's default font didn't change since the frame was created.
6996 2013-07-13 Leo Liu <sdl.web@gmail.com>
6998 * ido.el (ido-read-file-name): Guard against non-symbol value.
7000 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
7002 * progmodes/python.el (python-imenu--build-tree): Fix corner case
7005 2013-07-13 Leo Liu <sdl.web@gmail.com>
7007 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
7008 ido-set-matches call. (Bug#6852)
7010 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
7012 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
7013 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
7015 (ruby-font-lock-keywords): Distinguish calls to functions with
7016 module-like names from module references. Highlight character
7019 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
7021 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
7022 (gdb-send): Handle continued commands. (Bug#14847)
7024 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
7026 * desktop.el (desktop--v2s): Remove unused local variable.
7027 (desktop-save-buffer): Make defvar-local; adjust docstring.
7028 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
7029 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
7031 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
7033 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
7035 2013-07-12 Eli Zaretskii <eliz@gnu.org>
7037 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
7040 2013-07-12 Glenn Morris <rgm@gnu.org>
7042 * doc-view.el: Require cl-lib at runtime too.
7043 (doc-view-remove-if): Remove.
7044 (doc-view-search-next-match, doc-view-search-previous-match):
7047 * edmacro.el: Require cl-lib at runtime too.
7048 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
7049 (edmacro-mismatch, edmacro-subseq): Remove.
7051 * shadowfile.el: Require cl-lib.
7052 (shadow-remove-if): Remove.
7053 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
7056 * wid-edit.el: Require cl-lib.
7057 (widget-choose): Use cl-remove-if.
7058 (widget-remove-if): Remove.
7060 * progmodes/ebrowse.el: Require cl-lib at runtime too.
7061 (ebrowse-delete-if-not): Remove.
7062 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
7063 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
7064 Use cl-delete-if-not.
7066 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
7068 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
7069 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
7071 2013-07-12 Leo Liu <sdl.web@gmail.com>
7073 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
7075 2013-07-11 Glenn Morris <rgm@gnu.org>
7077 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
7078 (edebug-gensym-index, edebug-gensym):
7079 Remove reimplementation of cl-gensym.
7080 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
7082 * thumbs.el: Require cl-lib at run-time too.
7083 (thumbs-gensym-counter, thumbs-gensym):
7084 Remove reimplementation of cl-gensym.
7085 (thumbs-temp-file): Use cl-gensym.
7087 * emacs-lisp/ert.el: Require cl-lib at runtime too.
7088 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
7089 (ert--intersection, ert--set-difference, ert--set-difference-eq)
7090 (ert--union, ert--gensym-counter, ert--gensym-counter)
7091 (ert--coerce-to-vector, ert--remove*, ert--string-position)
7092 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
7093 (ert-make-test-unbound, ert--expand-should-1)
7094 (ert--expand-should, ert--should-error-handle-error)
7095 (should-error, ert--explain-equal-rec)
7096 (ert--plist-difference-explanation, ert-select-tests)
7097 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
7098 Use cl-lib functions rather than reimplementations.
7100 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
7102 * net/tramp.el (tramp-methods): Extend docstring.
7103 (tramp-connection-timeout): New defcustom.
7104 (tramp-error-with-buffer): Reset timestamp only when appropriate.
7105 (with-tramp-progress-reporter): Simplify.
7106 (tramp-process-actions): Improve messages.
7108 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
7109 * net/tramp-sh.el (tramp-maybe-open-connection):
7110 Use `tramp-connection-timeout'.
7111 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
7114 2013-07-11 Leo Liu <sdl.web@gmail.com>
7116 * ido.el (ido-read-file-name): Conform to the requirements of
7117 read-file-name. (Bug#11861)
7118 (ido-read-directory-name): Conform to the requirements of
7119 read-directory-name.
7121 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
7123 * subr.el (delay-warning): New function.
7125 2013-07-10 Eli Zaretskii <eliz@gnu.org>
7127 * simple.el (default-line-height): New function.
7128 (line-move-partial, line-move): Use it instead of computing the
7130 (line-move-partial): Always compute ROWH. If the last line is
7131 partially-visible, but its text is completely visible, allow
7132 cursor to enter such a partially-visible line.
7134 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
7136 Improve error messages. (Bug#14808)
7138 * net/tramp.el (tramp-current-connection): New defvar, moved from
7140 (tramp-message-show-progress-reporter-message): Remove, not
7142 (tramp-error-with-buffer): Show message in minibuffer.
7143 Discard input before waiting. Reset connection timestamp.
7144 (with-tramp-progress-reporter): Improve messages.
7145 (tramp-process-actions): Use progress reporter. Delete process in
7146 case of error. Improve messages.
7148 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
7149 Call `tramp-error-with-buffer' with vector and buffer.
7150 (tramp-current-connection): Remove.
7151 (tramp-maybe-open-connection): The car of
7152 `tramp-current-connection' are the first 3 slots of the vector.
7154 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
7156 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
7157 inside continued strings.
7159 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
7161 Timestamp fixes for undo (Bug#14824).
7162 * files.el (clear-visited-file-modtime): Move here from fileio.c.
7164 2013-07-10 Leo Liu <sdl.web@gmail.com>
7166 * files.el (require-final-newline): Allow safe local value.
7169 2013-07-09 Leo Liu <sdl.web@gmail.com>
7171 * ido.el (ido-read-directory-name): Handle fallback.
7172 (ido-read-file-name): Update DIR to ido-current-directory.
7174 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
7176 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
7178 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
7179 "autoload". Remove "warn lower camel case" section, previously
7180 commented out. Highlight negation char. Do not highlight the
7181 target in singleton method definitions.
7183 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
7185 * faces.el (tty-setup-hook): Declare the hook.
7187 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
7188 and detect when a guard/pred depends on local vars (bug#14773).
7189 (pcase--u1): Adjust caller.
7191 2013-07-08 Eli Zaretskii <eliz@gnu.org>
7193 * simple.el (line-move-partial, line-move): Account for
7195 (line-move-partial): Avoid setting vscroll when the last
7196 partially-visible line in window is of default height.
7198 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
7200 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
7203 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
7205 * subr.el (read-quoted-char): Remove unused local variable `char'.
7207 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
7209 * ediff.el (ediff-version): Version update.
7210 (ediff-files-command, ediff3-files-command, ediff-merge-command)
7211 (ediff-merge-with-ancestor-command, ediff-directories-command)
7212 (ediff-directories3-command, ediff-merge-directories-command)
7213 (ediff-merge-directories-with-ancestor-command): New functions.
7214 All are command-line interfaces to ediff: to facilitate calling
7215 Emacs with the appropriate ediff functions invoked.
7217 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
7218 (viper-save-kill-buffer): Check if buffer is modified.
7220 * viper.el (viper-version): Version update.
7221 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
7223 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
7225 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
7226 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
7227 (viper-intercept-ESC-key): Simplify.
7228 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
7229 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
7230 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
7231 (viper-setup-ESC-to-escape): New functions.
7232 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
7233 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
7235 2013-07-07 Eli Zaretskii <eliz@gnu.org>
7237 * simple.el (default-font-height, window-screen-lines):
7239 (line-move, line-move-partial): Use them instead of
7240 frame-char-height and window-text-height. This makes scrolling
7241 text smoother when the buffer's default face uses a font that is
7242 different from the frame's default font.
7244 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
7246 * files.el (write-file): Do not display confirm dialog for NS,
7247 it does its own dialog, which can't be canceled (Bug#14578).
7249 2013-07-06 Eli Zaretskii <eliz@gnu.org>
7251 * simple.el (line-move-partial): Adjust the row returned by
7252 posn-at-point for the current window-vscroll. (Bug#14567)
7254 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
7256 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
7257 (tramp-sh-file-inotifywait-process-filter): Handle file names with
7260 2013-07-06 Martin Rudalics <rudalics@gmx.at>
7262 * window.el (window-state-put-stale-windows): New variable.
7263 (window--state-put-2): Save list of windows without matching buffer.
7264 (window-state-put): Remove "bufferless" windows if possible.
7266 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
7268 * simple.el (alternatives-define): Remove leftover :group keyword.
7271 2013-07-06 Leo Liu <sdl.web@gmail.com>
7273 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
7274 (ido-enable-virtual-buffers): New variable.
7275 (ido-buffer-internal, ido-toggle-virtual-buffers)
7276 (ido-make-buffer-list): Use it.
7277 (ido-exhibit): Support turning on and off virtual buffers
7280 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
7282 * simple.el (alternatives-define): New macro.
7284 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
7286 * subr.el (read-quoted-char): Use read-key.
7287 (sit-for): Let read-event decode tty input (bug#14782).
7289 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
7291 * calendar/todo-mode.el: Add handling of file deletion, both by
7292 mode command and externally. Fix various related bugs.
7293 Clarify Commentary and improve some documentation strings and code.
7294 (todo-delete-file): New command.
7295 (todo-check-file): New function.
7296 (todo-show): Handle external deletion of the file we're trying to
7297 show (bug#14688). Replace called-interactively-p by an optional
7298 prefix argument to avoid problematic interaction with catch form
7299 when byte compiled (bug#14702).
7300 (todo-quit): Handle external deletion of the archive's todo file.
7301 Make sure the buffer that was visiting the archive file is still
7302 live before trying to bury it.
7303 (todo-category-completions): Handle external deletion of any
7304 category completion files.
7305 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
7306 of todo files, in case of external deletion.
7307 (todo-add-file): Replace unnecessary setq by let-binding.
7308 (todo-find-archive): Check whether there are any archives.
7309 Replace unnecessary setq by let-binding.
7310 (todo-archive-done-item): Use find-file-noselect to get the
7311 archive buffer whether or not the archive already exists.
7312 Remove superfluous code. Use file size instead of buffer-file-name to
7313 check if the archive is new; if it is, update list of archives.
7314 (todo-default-todo-file): Allow nil to be a valid value for when
7315 there are no todo files.
7316 (todo-reevaluate-default-file-defcustom): Use corrected definition
7317 of todo-default-todo-file.
7318 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
7319 (todo-delete-category, todo-show-categories-table)
7320 (todo-category-number): Clarify comment.
7321 (todo-filter-items): Clarify documentation string.
7322 (todo-show-current-file, todo-display-as-todo-file)
7323 (todo-reset-and-enable-done-separator): Tweak documentation string.
7324 (todo-done-separator): Make separator length window-width, since
7325 bug#2749 is now fixed.
7327 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
7329 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
7330 Support both "gvfs-monitor-dir" and "inotifywait".
7331 (tramp-sh-file-inotifywait-process-filter): Rename from
7332 `tramp-sh-file-notify-process-filter'.
7333 (tramp-sh-file-gvfs-monitor-dir-process-filter)
7334 (tramp-get-remote-gvfs-monitor-dir): New defuns.
7336 2013-07-05 Leo Liu <sdl.web@gmail.com>
7338 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
7340 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
7342 * frame.el (display-pixel-height, display-pixel-width)
7343 (display-mm-height, display-mm-width): Mention behavior on
7344 multi-monitor setups in docstrings.
7345 (w32-display-monitor-attributes-list): Declare function.
7346 (display-monitor-attributes-list): Use it.
7348 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
7350 * filenotify.el: New package.
7352 * autorevert.el (top): Require filenotify.el.
7353 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
7355 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
7356 (auto-revert-notify-handler): Use `file-notify-*' functions.
7358 * subr.el (file-notify-handle-event): Move function to filenotify.el.
7360 * net/tramp.el (tramp-file-name-for-operation):
7361 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
7363 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
7364 for `file-notify-add-watch' and `file-notify-rm-watch'.
7365 (tramp-process-sentinel): Improve trace.
7366 (tramp-sh-handle-file-notify-add-watch)
7367 (tramp-sh-file-notify-process-filter)
7368 (tramp-sh-handle-file-notify-rm-watch)
7369 (tramp-get-remote-inotifywait): New defuns.
7371 2013-07-03 Juri Linkov <juri@jurta.org>
7373 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
7374 call of `occur-read-primary-args' to interactive spec.
7376 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
7377 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
7379 2013-07-03 Matthias Meulien <orontee@gmail.com>
7381 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
7382 `Buffer-menu-multi-occur'. Add it to the menu.
7383 (Buffer-menu-mode): Document it in docstring.
7384 (Buffer-menu-multi-occur): New command. (Bug#14673)
7386 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
7388 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
7389 keywords and built-ins.
7391 2013-07-03 Glenn Morris <rgm@gnu.org>
7393 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
7395 Make info-xref checks case-sensitive by default
7396 * info.el (Info-find-node, Info-find-in-tag-table)
7397 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
7398 Add option for exact case matching of nodes.
7399 * info-xref.el (info-xref): New custom group.
7400 (info-xref-case-fold): New option.
7401 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
7403 2013-07-03 Leo Liu <sdl.web@gmail.com>
7405 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
7407 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
7409 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
7410 middle of block statement initially, lower the depth. Remove
7411 FIXME comment, not longer valid. Remove middle of block statement
7412 detection, no need to do that anymore since we've been using
7413 `ruby-parse-region' here.
7415 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
7417 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
7419 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
7421 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
7423 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
7425 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
7426 (desktop-restore-in-current-display): New customization option.
7427 (desktop--excluded-frame-parameters): Add `font'.
7428 (desktop--save-frames): Rename from desktop--save-windows.
7429 (desktop--restore-in-this-display-p): New function.
7430 (desktop--make-full-frame): Remove unwanted width/height from
7431 full(width|height) frames.
7432 (desktop--restore-frames): Rename from desktop--restore-windows.
7433 Obey desktop-restore-current-display. Do not delete old frames or
7434 select a new frame unless we were able to restore at least one frame.
7436 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
7438 * files.el (find-file-noselect): Simplify conditional expression.
7440 * remember.el (remember-append-to-file):
7441 Don't mix `find-buffer-visiting' and `get-file-buffer'.
7443 Add `remember-notes' function to store random notes across Emacs
7445 * remember.el (remember-data-file): Add :set callback to affect
7446 notes buffer (if any).
7447 (remember-notes): New command.
7448 (remember-notes-buffer-name, bury-remember-notes-on-kill):
7449 New defcustoms for the `remember-notes' function.
7450 (remember-notes-save-and-bury-buffer): New command.
7451 (remember-notes-mode-map): New variable.
7452 (remember-mode): New minor mode.
7453 (remember-notes--kill-buffer-query): New function.
7454 * startup.el (initial-buffer-choice): Add notes to custom type.
7456 2013-06-30 Eli Zaretskii <eliz@gnu.org>
7458 * bindings.el (right-char, left-char): Don't call sit-for, this is
7459 no longer needed. Use arithmetic comparison only for numerical
7462 * international/mule-cmds.el (select-safe-coding-system):
7463 Handle the case of FROM being a string correctly. (Bug#14755)
7465 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7467 * net/shr.el (shr-make-table-1): Add a sanity check that allows
7468 progression on degenerate tables.
7469 (shr-rescale-image): ImageMagick animated images currently don't work.
7471 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
7473 Some fixes and improvements for desktop frame restoration.
7474 It is still experimental and disabled by default.
7475 * desktop.el (desktop--save-windows): Put the selected frame at
7476 the head of the list.
7477 (desktop--make-full-frame): New function.
7478 (desktop--restore-windows): Try to re-select the frame that was
7479 selected upon saving. Do not abort if some frames fail to restore,
7480 just show an error message and continue. Set up maximized frames
7481 so they have default non-maximized dimensions.
7483 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
7485 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
7486 Don't start heredoc inside a string or comment.
7488 2013-06-29 Eli Zaretskii <eliz@gnu.org>
7490 * bindings.el (visual-order-cursor-movement): New defcustom.
7491 (right-char, left-char): Provide visual-order cursor motion by
7492 calling move-point-visually. Update the doc strings.
7494 2013-06-28 Kenichi Handa <handa@gnu.org>
7496 * international/mule.el (define-coding-system): New coding system
7497 properties :inhibit-null-byte-detection,
7498 :inhibit-iso-escape-detection, and :prefer-utf-8.
7499 (set-buffer-file-coding-system): If :charset-list property of
7500 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
7501 appropriate for setting.
7503 * international/mule-cmds.el (select-safe-coding-system):
7504 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
7505 multibyte characters, return utf-8 (or one of its siblings).
7507 * international/mule-conf.el (prefer-utf-8): New coding system.
7508 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
7511 2013-06-28 Ivan Kanis <ivan@kanis.fr>
7513 * net/shr.el (shr-render-region): New function.
7515 * net/eww.el: Autoload `eww-browse-url'.
7517 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
7519 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7520 Adapt to `package-desc-version' being a list.
7521 Use `package--ac-desc-version' to retrieve version from a package
7524 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
7526 New experimental feature to save&restore window and frame setup.
7527 * desktop.el (desktop-save-windows): New defcustom.
7528 (desktop--saved-states): New var.
7529 (desktop--excluded-frame-parameters): New defconst.
7530 (desktop--filter-frame-parms, desktop--find-frame-in-display)
7531 (desktop--restore-windows, desktop--save-windows): New functions.
7532 (desktop-save): Call `desktop--save-windows'.
7533 (desktop-read): Call `desktop--restore-windows'.
7535 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
7537 * net/shr.el (add-face-text-property): Remove compat definition.
7539 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
7541 * info.el (Info-try-follow-nearest-node): Move search for footnote
7542 above search for node name to prevent missing a footnote (bug#14717).
7544 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
7546 * obsolete/otodo-mode.el: Add obsolescence info to file header.
7548 2013-06-27 Leo Liu <sdl.web@gmail.com>
7550 * net/eww.el (eww-read-bookmarks): Check file size.
7552 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
7554 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
7555 advice--pending if newdef is nil or an autoload (bug#13820).
7556 (advice-mapc): New function.
7558 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
7560 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
7562 (eww-mode-map): Add a menu bar.
7563 (eww-add-bookmark): New command.
7564 (eww-bookmark-mode): New mode and commands.
7565 (eww-add-bookmark): Remove newlines from the title.
7566 (eww-bookmark-browse): Don't bug out if it's the only window.
7568 2013-06-26 Glenn Morris <rgm@gnu.org>
7570 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
7571 (hfy-size): Handle ttys. (Bug#14668)
7573 * info-xref.el: Update for Texinfo 5 change in *note format.
7574 (info-xref-node-re, info-xref-note-re): New constants.
7575 (info-xref-check-buffer): Use info-xref-note-re.
7577 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
7579 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
7581 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
7582 nil terminate the loop (bug#14718).
7584 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7586 * net/eww.el: Rework history traversal. When going forward/back,
7587 put these actions into the history, too, so that they can be
7589 (eww-render): Move the history reset to the correct buffer.
7591 2013-06-25 Juri Linkov <juri@jurta.org>
7593 * files-x.el (modify-dir-local-variable): Change the header comment
7594 in the file with directory local variables. (Bug#14692)
7596 * files-x.el (read-file-local-variable-value): Add `default'.
7599 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7601 * net/eww.el (eww-make-unique-file-name): Create a unique file
7602 name before saving to entering `y' accidentally asynchronously.
7604 2013-06-25 Ivan Kanis <ivan@kanis.fr>
7606 * net/eww.el (eww-download): New command and keystroke.
7608 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7610 * net/eww.el (eww-copy-page-url): Change name of command.
7612 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
7613 be more consistent with Info and dired.
7615 * net/eww.el (eww-mode-map): Ditto.
7617 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
7619 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
7620 packages from archives.
7621 (package-archive-contents): Change format; include obsolete packages.
7622 (package-desc): Use `dir' to mark builtin packages.
7623 (package--from-builtin): Set the `dir' field to `builtin'.
7624 (generated-autoload-file, version-control): Declare.
7625 (package-compute-transaction): Change first arg and return value to be
7626 lists of package-descs. Adjust to new package-archive-contents format.
7627 (package--add-to-archive-contents): Adjust to new
7628 package-archive-contents format.
7629 (package-download-transaction): Arg is now a list of package-descs.
7630 (package-install): If `pkg' is a package name, pass it as
7631 a requirement, so it is subject to the usual (e.g. disabled) checks.
7632 (describe-package): Accept package-desc as well.
7633 (describe-package-1): Describe a specific package-desc. Add links to
7634 other package-descs for the same package name.
7635 (package-menu-describe-package): Pass the actual package-desc.
7636 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
7638 (package-desc-status): New function.
7639 (package-menu--refresh): New function, extracted
7640 from package-menu--generate.
7641 (package-menu--generate): Use it.
7642 (package-delete): Update package-alist.
7643 (package-menu-execute): Don't call package-initialize.
7645 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
7646 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
7647 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
7648 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
7649 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
7650 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
7652 2013-06-25 Martin Rudalics <rudalics@gmx.at>
7654 * window.el (window--state-get-1): Workaround for bug#14527.
7655 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
7657 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7659 * net/eww.el (eww-back-url): Implement the history by stashing all
7660 the data into a list.
7661 (eww-forward-url): Allow going forward in the history, too.
7663 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
7665 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
7666 for values and use read--expression for expressions (bug#14710).
7667 (read-file-local-variable): Avoid setq.
7668 (read-file-local-variable-mode): Use minor-mode-list.
7670 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7672 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
7675 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7677 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
7678 Update imenu-support when dialect changes.
7680 2013-06-25 Leo Liu <sdl.web@gmail.com>
7682 * ido.el (ido-read-internal): Allow forward slash on windows.
7684 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
7686 * net/eww.el (eww): Start of strings is \\`, not ^.
7688 2013-06-24 Ivan Kanis <ivan@kanis.fr>
7690 * net/shr.el (shr-browse-url): Fix interactive spec.
7692 * net/eww.el (eww): Add a trailing slash to domain names.
7694 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
7696 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
7698 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
7700 * net/shr.el (shr-browse-url): Use an external browser if given a
7703 * net/eww.el (eww-external-browser): Move to shr.
7705 2013-06-24 Ivan Kanis <ivan@kanis.fr>
7707 * net/eww.el (eww): Work more correctly for file: URLs.
7708 (eww-detect-charset): Allow quoted charsets.
7709 (eww-yank-page-url): New command and keystroke.
7711 2013-06-24 Daiki Ueno <ueno@gnu.org>
7713 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
7714 file name of gpg executable.
7715 (epg-context-program): New function.
7716 (epg-context-home-directory): New function.
7717 (epg-context-set-program): New function.
7718 (epg-context-set-home-directory): New function.
7719 (epg--start): Use `epg-context-program' instead of
7721 (epg--list-keys-1): Likewise.
7723 2013-06-24 Leo Liu <sdl.web@gmail.com>
7725 * ido.el (ido-read-internal): Fix bug#14620.
7727 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
7729 * faces.el (face-documentation): Simplify.
7730 (read-face-attribute, tty-find-type, x-resolve-font-name):
7731 Use `string-match-p'.
7732 (list-faces-display): Use `string-match-p'. Simplify.
7733 (face-spec-recalc): Check face to avoid face alias loops.
7734 (read-color): Use `string-match-p' and non-capturing parenthesis.
7736 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
7738 * net/shr.el (shr-rescale-image): Use the new
7739 :max-width/:max-height functionality.
7741 2013-06-23 Ivan Kanis <ivan@kanis.fr>
7743 * net/eww.el (eww-search-prefix): New variable.
7745 (eww-external-browser): New variable.
7746 (eww-mode-map): New keystroke.
7747 (eww-browse-with-external-browser): New command.
7749 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
7751 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
7753 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
7754 Don't skip aligning the next header field when padding is 0;
7755 otherwise, field width is not respected unless the title is as
7758 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
7760 * emacs-lisp/package.el (package-el-version): Remove.
7761 (package-process-define-package): Fix inf-loop.
7762 (package-install): Allow symbols as arguments again.
7764 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
7766 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
7767 add some more keyword-like methods.
7768 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
7770 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
7772 * bs.el (bs-buffer-show-mark): Make defvar-local.
7773 (bs-mode): Use setq-local.
7775 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
7776 (emacs-lock--try-unlocking): Make defvar-local.
7778 2013-06-22 Glenn Morris <rgm@gnu.org>
7780 * play/cookie1.el (cookie-apropos): Minor simplification.
7782 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
7784 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
7786 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
7787 `regexp-opt', it breaks the build during dumping.
7789 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
7791 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7792 Highlight keyword-like methods on Kernel and Module with
7793 font-lock-builtin-face.
7794 (auto-mode-alist): Consolidate different entries into one regexp
7795 and add more *file-s.
7797 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
7799 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
7801 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
7802 (diary-entry): Use it in the action of this button type instead of
7805 * calendar/todo-mode.el: New version.
7806 (todo-add-category): Append new category to end of file and give
7807 it the highest number, instead of putting it at the beginning and
7808 giving it 0. Incorporate noninteractive functionality.
7809 (todo-forward-category): Adapt to 1-based category numbering.
7810 Allow skipping over archived categories.
7811 (todo-backward-category): Derive from todo-forward-category.
7812 (todo-backward-item, todo-forward-item): Make noninteractive and
7813 delegate interactive part to new commands. Make sensitive to done items.
7814 (todo-categories): Make value an alist of category names and
7815 vectors of item counts.
7816 (todo-category-beg): Make a defconst.
7817 (todo-category-number): Use 1 instead of 0 as initial value.
7818 (todo-category-select): Make sensitive to overlays, optional item
7819 highlighting and done items.
7820 (todo-delete-item): Make sensitive to overlays and marked and done items.
7821 (todo-edit-item): Make sensitive to overlays and editing of
7822 date/time header optional. Add format checks.
7823 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
7824 no-op if point is not on an item. Advertise using todo-edit-quit.
7825 (todo-edit-mode): Make sensitive to new format, font-locking, and
7826 multiple todo files.
7827 (todo-insert-item, todo-insert-item-here): Derive from
7828 todo-basic-insert-item and extend functionality.
7829 (todo-item-end, todo-item-start): Make sensitive to done items.
7830 (todo-item-string): Don't return text properties. Restore point.
7831 (todo-jump-to-category): Make sensitive to multiple todo files and
7832 todo archives. Use extended category completion.
7833 (todo-lower-item, todo-raise-item): Rename to *-priority and
7834 derive from todo-set-item-priority.
7835 (todo-mode): Derive from special-mode. Make sensitive to new
7836 format, font-locking and multiple todo files. Make read-only.
7837 (todo-mode-map): Don't suppress digit keys, so they can supply
7838 prefix arguments. Add many new key bindings.
7839 (todo-prefix): Insert as an overlay instead of file text.
7840 Change semantics from diary date expression to purely visual mark.
7841 (todo-print): Rename to todo-print-buffer. Make buffer display
7842 features printable. Remove option to restrict number of items
7843 printed. Add option to print to file.
7844 (todo-print-function): Rename to todo-print-buffer-function.
7845 (todo-quit): Extend to handle exiting new todo modes.
7846 (todo-remove-item): Make sensitive to overlays.
7847 (todo-save): Extend to buffers of filtered items.
7848 (todo-show): Make sensitive to done items, multiple todo files and
7849 new todo modes. Offer to convert legacy todo file before creating
7850 first new todo file.
7851 (todo-show-priorities): Rename to todo-top-priorities.
7852 Change semantics of value 0.
7853 (todo-top-priorities): Rename to todo-filter-top-priorities,
7854 derive from todo-filter-items and extend functionality.
7855 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
7856 and extend functionality to other types of filtered items.
7857 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
7858 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
7859 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
7860 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
7861 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
7862 (todo-edit-mode-hook, todo-entry-prefix-function)
7863 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
7864 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
7865 (todo-initials, todo-insert-threshold, todo-item-string-start)
7866 (todo-line-string, todo-menu, todo-mode-hook)
7867 (todo-more-important-p, todo-previous-answer, todo-previous-line)
7868 (todo-print-priorities, todo-remove-separator)
7869 (todo-save-top-priorities-too, todo-string-count-lines)
7870 (todo-string-multiline-p, todo-time-string-format)
7871 (todo-tmp-buffer-name): Remove.
7872 (todo-add-file, todo-archive-done-item, todo-choose-archive)
7873 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
7874 (todo-edit-category-diary-inclusion)
7875 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
7876 (todo-edit-file, todo-edit-item-date-day)
7877 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
7878 (todo-edit-item-date-month, todo-edit-item-date-to-today)
7879 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
7880 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
7881 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
7882 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
7883 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
7884 (todo-filter-top-priorities-multifile, todo-find-archive)
7885 (todo-find-filtered-items-file, todo-go-to-source-item)
7886 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
7887 (todo-jump-to-archive-category, todo-lower-category)
7888 (todo-mark-category, todo-marked-item-p, todo-merge-category)
7889 (todo-move-category, todo-move-item, todo-next-button)
7890 (todo-next-item, todo-padded-string, todo-powerset)
7891 (todo-previous-button, todo-previous-item)
7892 (todo-print-buffer-to-file, todo-raise-category)
7893 (todo-rename-category, todo-repair-categories-sexp, todo-search)
7894 (todo-set-category-number, todo-set-item-priority)
7895 (todo-set-top-priorities-in-category)
7896 (todo-set-top-priorities-in-file, todo-show-categories-table)
7897 (todo-sort-categories-alphabetically-or-numerically)
7898 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
7899 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
7900 (todo-toggle-item-header, todo-toggle-item-highlighting)
7901 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
7902 (todo-toggle-view-done-items, todo-toggle-view-done-only)
7903 (todo-unarchive-items, todo-unmark-category): New commands.
7904 (todo-absolute-file-name, todo-add-to-buffer-list)
7905 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
7906 (todo-basic-insert-item, todo-category-completions)
7907 (todo-category-number, todo-category-string-matcher-1)
7908 (todo-category-string-matcher-2, todo-check-filtered-items-file)
7909 (todo-check-format, todo-clear-matches)
7910 (todo-comment-string-matcher, todo-convert-legacy-date-time)
7911 (todo-current-category, todo-date-string-matcher)
7912 (todo-define-insertion-command, todo-diary-expired-matcher)
7913 (todo-diary-goto-entry, todo-diary-item-p)
7914 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
7915 (todo-display-categories, todo-display-sorted, todo-done-item-p)
7916 (todo-done-item-section-p, todo-done-separator)
7917 (todo-done-string-matcher, todo-files, todo-filter-items)
7918 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
7919 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
7920 (todo-insert-category-line, todo-insert-item-from-calendar)
7921 (todo-insert-sort-button, todo-insert-with-overlays)
7922 (todo-insertion-command-name, todo-insertion-key-bindings)
7923 (todo-label-to-key, todo-longest-category-name-length)
7924 (todo-make-categories-list, todo-mode-external-set)
7925 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
7926 (todo-modes-set-3, todo-multiple-filter-files)
7927 (todo-nondiary-marker-matcher, todo-prefix-overlays)
7928 (todo-read-category, todo-read-date, todo-read-dayname)
7929 (todo-read-file-name, todo-read-time)
7930 (todo-reevaluate-category-completions-files-defcustom)
7931 (todo-reevaluate-default-file-defcustom)
7932 (todo-reevaluate-filelist-defcustoms)
7933 (todo-reevaluate-filter-files-defcustom)
7934 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
7935 (todo-reset-done-separator, todo-reset-done-separator-string)
7936 (todo-reset-done-string, todo-reset-global-current-todo-file)
7937 (todo-reset-highlight-item, todo-reset-nondiary-marker)
7938 (todo-reset-prefix, todo-set-categories)
7939 (todo-set-date-from-calendar, todo-set-show-current-file)
7940 (todo-set-top-priorities, todo-short-file-name)
7941 (todo-show-current-file, todo-sort, todo-time-string-matcher)
7942 (todo-total-item-counts, todo-update-buffer-list)
7943 (todo-update-categories-display, todo-update-categories-sexp)
7944 (todo-update-count, todo-validate-name, todo-y-or-n-p):
7946 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
7948 (todo-categories, todo-display, todo-edit, todo-faces)
7949 (todo-filtered): New defgroups.
7950 (todo-archived-only, todo-button, todo-category-string, todo-date)
7951 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
7952 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
7953 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
7954 (todo-add-item-if-new-category, todo-always-add-time-string)
7955 (todo-categories-align, todo-categories-archived-label)
7956 (todo-categories-category-label, todo-categories-diary-label)
7957 (todo-categories-done-label, todo-categories-number-separator)
7958 (todo-categories-todo-label, todo-categories-totals-label)
7959 (todo-category-completions-files, todo-completion-ignore-case)
7960 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
7961 (todo-done-separator-string, todo-done-string)
7962 (todo-files-function, todo-filter-done-items, todo-filter-files)
7963 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
7964 (todo-initial-category, todo-initial-file, todo-item-mark)
7965 (todo-legacy-date-time-regexp, todo-mode-line-function)
7966 (todo-nondiary-marker, todo-number-prefix)
7967 (todo-print-buffer-function, todo-show-current-file)
7968 (todo-show-done-only, todo-show-first, todo-show-with-done)
7969 (todo-skip-archived-categories, todo-top-priorities-overrides)
7970 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
7971 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
7973 (todo-category-done, todo-date-pattern, todo-date-string-start)
7974 (todo-diary-items-buffer, todo-done-string-start)
7975 (todo-filtered-items-buffer, todo-item-start)
7976 (todo-month-abbrev-array, todo-month-name-array)
7977 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
7978 (todo-top-priorities-buffer): New defconsts.
7979 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
7980 (todo-categories-with-marks, todo-category-string-face)
7981 (todo-comment-face, todo-comment-string, todo-current-todo-file)
7982 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
7983 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
7984 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
7985 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
7986 (todo-font-lock-keywords, todo-global-current-todo-file)
7987 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
7988 (todo-insertion-commands-args)
7989 (todo-insertion-commands-args-genlist)
7990 (todo-insertion-commands-names, todo-insertion-map)
7991 (todo-key-bindings-t, todo-key-bindings-t+a)
7992 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
7993 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
7994 (todo-nondiary-face, todo-print-buffer, todo-time-face)
7995 (todo-visited): New variables.
7997 2013-06-21 Glenn Morris <rgm@gnu.org>
7999 * play/cookie1.el (cookie-apropos): Add optional display argument.
8000 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
8001 (psychoanalyze-pinhead): Use cookie-doctor.
8003 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
8005 * emacs-lisp/package.el (tar-get-file-descriptor)
8006 (tar--extract): Declare.
8008 2013-06-21 Eduard Wiebe <usenet@pusto.de>
8010 Extend flymake's warning predicate to be a function (bug#14217).
8011 * progmodes/flymake.el (flymake-warning-predicate): New.
8012 (flymake-parse-line): Use it.
8013 (flymake-warning-re): Make obsolete alias to
8014 `flymake-warning-predicate'.
8016 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8018 * emacs-lisp/package.el (package-alist): Include obsolete packages.
8019 (package-obsolete-list): Remove.
8020 (package-activate): Remove min-version argument. Add `force' argument.
8021 Adjust to new package-alist format.
8022 (package-mark-obsolete): Remove.
8023 (package-unpack): Force reload of the package's autoloads.
8024 (package-installed-p): Check builtins if the installed package is not
8026 (package-initialize): Don't reset package-obsolete-list.
8027 Don't specify which package version to activate.
8028 (package-process-define-package, describe-package-1)
8029 (package-menu--generate): Adjust to new package-alist format.
8031 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
8033 * allout-widgets.el (allout-widgets-mode-off)
8034 (allout-widgets-mode-on, allout-widgets-pre-command-business)
8035 (allout-widgets-post-command-business)
8036 (allout-widgets-after-copy-or-kill-function)
8037 (allout-widgets-after-undo-function, allout-test-range-overlaps)
8038 (allout-decorate-item-and-context)
8039 (allout-graphics-modification-handler): Fix typos in docstrings.
8040 (allout-get-or-create-parent-widget): Use `looking-at-p'.
8042 * cmuscheme.el (scheme-start-file): Doc fix.
8043 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
8044 (scheme-input-filter): Use `string-match-p'.
8046 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
8048 * dired-x.el: Use Dired consistently in docstrings.
8050 * dired.el: Use Dired consistently in docstrings.
8051 (dired-readin, dired-mode): Use `setq-local'.
8052 (dired-switches-alist): Make defvar-local.
8053 (dired-buffers-for-dir): Use `zerop'.
8054 (dired-safe-switches-p, dired-switches-escape-p)
8055 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
8056 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
8057 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
8058 (dired-goto-next-nontrivial-file): Use `string-match-p'.
8059 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
8060 (dired-toggle-marks, dired-mark-files-containing-regexp)
8061 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
8062 (dired-flag-auto-save-files, dired-flag-backup-files):
8064 (dired-mark-files-regexp, dired-build-subdir-alist):
8065 Use `string-match-p', `looking-at-p'.
8067 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
8068 (direct-print-region-helper): Use `string-match-p'.
8070 2013-06-21 Leo Liu <sdl.web@gmail.com>
8072 * comint.el (comint-redirect-results-list-from-process):
8075 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8077 * net/eww.el (eww-update-header-line-format): Quote % characters.
8079 2013-06-21 Glenn Morris <rgm@gnu.org>
8081 * play/cookie1.el (cookie): New custom group.
8082 (cookie-file): New option.
8083 (cookie-check-file): New function.
8084 (cookie): Make it interactive. Make start and end messages optional.
8085 Interactively, display the result. Default to cookie-file.
8086 (cookie-insert): Default to cookie-file.
8087 (cookie-snarf): Make start and end messages optional.
8088 Default to cookie-file. Use with-temp-buffer.
8089 (cookie-read): Rename from read-cookie.
8090 Make start and end messages optional. Default to cookie-file.
8091 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
8093 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
8094 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
8096 2013-06-21 Leo Liu <sdl.web@gmail.com>
8098 * progmodes/octave.el (octave-mode): Backward compatibility fix.
8100 2013-06-21 Glenn Morris <rgm@gnu.org>
8102 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
8104 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8105 Daniel Hackney <dan@haxney.org>
8107 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
8108 Consolidate the single-file vs tarball code.
8109 (package-desc-suffix): New function.
8110 (package-desc-full-name): Don't bother inlining it.
8111 (package-load-descriptor): Return the new package-desc.
8112 (package-mark-obsolete): Remove unused arg `package'.
8113 (package-unpack): Make it work for single files as well.
8114 Make it update package-alist.
8115 (package--make-autoloads-and-stuff): Rename from
8116 package--make-autoloads-and-compile. Don't compile any more.
8117 (package--compile): New function.
8118 (package-generate-description-file): New function, extracted from
8119 package-unpack-single.
8120 (package-unpack-single): Remove.
8121 (package--with-work-buffer): Add indentation and debugging info.
8122 (package-download-single): Remove.
8123 (package-install-from-archive): Rename from package-download-tar, make
8124 it take a pkg-desc, and make it work for single files as well.
8125 (package-download-transaction): Simplify.
8126 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
8127 external tar program.
8128 (package-install-from-buffer): Remove `pkg-desc' argument.
8129 Use package-tar-file-info for tar-mode buffers.
8130 (package-install-file): Simplify accordingly.
8131 (package-archive-base): Change to take a pkg-desc.
8132 * tar-mode.el (tar--check-descriptor): New function, extracted from
8134 (tar-get-descriptor): Use it.
8135 (tar-get-file-descriptor): New function.
8136 (tar--extract): New function, extracted from tar-extract.
8137 (tar--extract): Use it.
8138 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
8139 case the summary uses non-ascii. Adjust to new calling convention of
8140 package-tar-file-info.
8142 2013-06-21 Leo Liu <sdl.web@gmail.com>
8144 * comint.el (comint-redirect-results-list-from-process):
8145 Fix random delay. (Bug#14681)
8147 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
8149 * profiler.el (profiler-format-number): Use log, not log10.
8151 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
8153 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
8155 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
8157 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
8158 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
8160 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
8161 (AUTOGENEL): ... here.
8162 * emacs-lisp/cl-macs.el (cl--sublis): New function.
8163 (cl--defsubst-expand): Use it.
8165 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
8167 * subr.el (log10): Move here from C code, and declare as obsolete.
8168 All uses of (log10 X) replaced with (log X 10).
8170 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
8172 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
8173 Declare with `defvar-local'.
8174 (tabulated-list-use-header-line, tabulated-list-entries)
8175 (tabulated-list-padding, tabulated-list-printer)
8176 (tabulated-list-sort-key): Declare with `defvar-local'.
8177 (tabulated-list-init-header, tabulated-list-print-fake-header):
8180 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
8182 * arc-mode.el (archive-mode): Add `archive-write-file' to
8183 `write-contents-functions' also for remote files. (Bug#14652)
8185 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
8187 * cus-edit.el (custom-commands): Fix typos.
8188 (custom-display): Fix tooltip text.
8189 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
8190 Fix typos in docstrings.
8191 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
8192 (custom-unlispify-menu-entry, custom-magic-value-create)
8193 (custom-add-see-also, custom-group-value-create): Use ?\s.
8194 (custom-guess-type, customize-apropos, editable-field)
8195 (custom-face-value-create): Use `string-match-p'.
8196 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
8198 * custom.el (custom-load-symbol): Use `string-match-p'.
8200 * ansi-color.el: Convert to lexical binding.
8201 (ansi-colors): Fix URL.
8202 (ansi-color-context, ansi-color-context-region): Use defvar-local.
8203 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
8204 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
8206 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8208 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
8210 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
8212 2013-06-19 Tom Tromey <tromey@redhat.com>
8214 * net/eww.el (eww-top-url): Remove.
8215 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
8216 (eww-render): Set new variables. Don't set eww-top-url.
8217 (eww-handle-link): Handle "prev", "home", and "contents".
8218 Downcase the rel text.
8219 (eww-top-url): Choose best top URL.
8221 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8223 * net/eww.el: Rewrite to implement form elements "by hand" instead of
8224 relying in widget.el. Using widget.el leads to too many
8225 user interface inconsistencies.
8226 (eww-self-insert): Implement entering commands in text fields.
8227 (eww-process-text-input): New function to make text input field editing
8229 (eww-submit): Rewrite to use the new-style form methods.
8230 (eww-select-display): Display the correct selected item.
8231 (eww-change-select): Implement changing the select value.
8232 (eww-toggle-checkbox): Implement radio/checkboxes.
8233 (eww-update-field): Fix compilation error.
8234 (eww-tag-textarea): Implement <textarea>.
8236 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
8237 we don't shadow mode-specific bindings.
8239 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
8242 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
8244 2013-06-19 Glenn Morris <rgm@gnu.org>
8246 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
8248 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
8250 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
8253 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
8255 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8257 * net/browse-url.el (browse-url-browser-function):
8258 `eww-browse-url' has the right calling signature, `eww' does not.
8260 2013-06-19 Glenn Morris <rgm@gnu.org>
8262 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
8263 Only eval autoloaded macros.
8264 (byte-compile-autoload): Only give the macro warning for macros.
8266 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
8267 (ps-underlined-faces): Declare.
8269 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
8270 (speedbar-add-supported-extension): Declare.
8272 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
8273 Don't include a date stamp in the header of the generated file;
8274 it leads to needless differences between output files.
8276 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
8278 * net/secrets.el (secrets-struct-secret-content-type):
8279 Replace check of introspection data by a test call of "CreateItem".
8280 Some servers do not offer introspection.
8282 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
8284 * electric.el (electric-pair-mode): Improve interaction with
8285 electric-layout-mode.
8286 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
8287 (electric-pair-syntax): Use text-mode-syntax-table in comments
8289 (electric-pair--insert): New function.
8290 (electric-pair-post-self-insert-function): Use it and
8291 electric--after-char-pos.
8293 2013-06-19 Leo Liu <sdl.web@gmail.com>
8295 * progmodes/octave.el (octave-help): Fix regexp.
8297 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
8299 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
8300 (shr-table-horizontal-line): Allow nil as a value, and change the
8302 (shr-insert-table-ruler): Respect the nil value.
8304 2013-06-18 Tom Tromey <tromey@barimba>
8306 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
8308 (eww-open-file): New defun.
8309 (eww-render): Initialize new variables.
8310 (eww-display-html): Handle "link" and "a".
8311 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
8312 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
8313 (eww-back-url): Rename from eww-previous-url.
8314 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
8317 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
8319 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
8320 Distinguish ternary operator tokens from slash symbol and slash
8323 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
8325 Convert symbol prettification into minor mode and global minor mode.
8327 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
8328 `prog-prettify-symbols', and make a local defvar instead of defcustom.
8329 (prettify-symbols--keywords): Rename from
8330 `prog-prettify-symbols-alist' and make a local defvar.
8331 (prettify-symbols--compose-symbol): Rename from
8332 `prog--prettify-font-lock-compose-symbol'.
8333 (prettify-symbols--make-keywords): Rename from
8334 `prog-prettify-font-lock-symbols-keywords' and simplify.
8335 (prog-prettify-install): Remove.
8336 (prettify-symbols-mode): New minor mode, based on
8337 `prog-prettify-install'.
8338 (turn-on-prettify-symbols-mode): New function.
8339 (global-prettify-symbols-mode): New globalized minor mode.
8341 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
8342 * progmodes/cfengine.el (cfengine3-mode):
8343 * progmodes/perl-mode.el (perl-mode): Don't call
8344 `prog-prettify-install'; set `prettify-symbols-alist' instead.
8346 2013-06-18 Juri Linkov <juri@jurta.org>
8348 * files-x.el (modify-file-local-variable-message): New function.
8349 (modify-file-local-variable)
8350 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
8351 and call `modify-file-local-variable-message' when it's non-nil.
8352 (add-file-local-variable, delete-file-local-variable)
8353 (add-file-local-variable-prop-line)
8354 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
8355 and use it. (Bug#9820)
8357 2013-06-18 Juri Linkov <juri@jurta.org>
8359 * emulation/vi.el (vi-shell-op):
8360 * emulation/vip.el (vip-execute-com, ex-command):
8361 * emulation/viper-cmd.el (viper-exec-bang):
8362 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
8363 the call of `shell-command-on-region'. (Bug#14637)
8365 * simple.el (shell-command-on-region): Doc fix.
8367 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8369 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
8372 2013-06-18 Glenn Morris <rgm@gnu.org>
8374 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
8376 * newcomment.el (comment-search-forward, comment-search-backward):
8377 Doc fix. (Bug#14376)
8379 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
8381 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
8382 (buffer-face-mode-invoke): Doc fix.
8384 2013-06-18 Matthias Meulien <orontee@gmail.com>
8386 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
8387 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
8389 2013-06-18 Glenn Morris <rgm@gnu.org>
8391 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
8392 Replace obsolete function generic-make-keywords with its expansion.
8394 * progmodes/python.el (ffap-alist): Declare.
8396 * textmodes/reftex.el (bibtex-mode-map): Declare.
8398 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8400 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
8401 (package-unpack, package-unpack-single): Return the pkg-dir.
8402 (package-download-transaction): Use it to update package-alist.
8404 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
8406 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
8409 2013-06-17 Juri Linkov <juri@jurta.org>
8411 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
8413 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
8415 * emacs-lisp/package.el (package-load-descriptor):
8416 Remove `with-syntax-table' call, `read' doesn't need it.
8417 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
8419 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
8421 * startup.el (command-line): Expand package name returned by
8422 `package--description-file' (bug#14639).
8424 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
8426 * emacs-lisp/package.el (package-load-descriptor): Do not call
8427 `emacs-lisp-mode', just use its syntax table.
8429 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
8431 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
8432 `font-lock-extra-managed-props' if any prettifying keyword is added.
8433 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
8434 (prog-mode): Use `setq-local'.
8436 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
8438 * international/characters.el (standard-case-table): Set syntax of ?»
8439 and ?« to punctuation.
8441 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
8443 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
8444 Save relevant match data before calling `syntax-ppss' (bug#14595).
8446 2013-06-15 Juri Linkov <juri@jurta.org>
8448 * files-x.el (modify-file-local-variable-prop-line): Add local
8449 variables to the end of the existing comment on the first line.
8450 Use `file-auto-mode-skip' to skip interpreter magic line,
8451 and also skip XML declaration.
8453 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
8455 * startup.el (package--builtin-versions): New var.
8456 (package-subdirectory-regexp): Remove.
8457 (package--description-file): Hard code its value instead.
8459 * emacs-lisp/package.el: Don't activate packages older than builtin.
8460 (package-obsolete-list): Rename from package-obsolete-alist, and make
8461 it into a simple list of package-desc.
8462 (package-strip-version): Remove.
8463 (package-built-in-p): Use package--builtin-versions.
8464 (package-mark-obsolete): Simplify.
8465 (package-process-define-package): Mark it obsolete if older than the
8467 (package-handle-response): Use line-end-position.
8468 (package-read-archive-contents, package--download-one-archive):
8470 (package--add-to-archive-contents): Skip if older than the builtin or
8472 (package-menu-describe-package): Fix last change.
8473 (package-list-unversioned): New var.
8474 (package-menu--generate): Use it.
8476 * emacs-lisp/autoload.el: Manage package--builtin-versions.
8477 (autoload--insert-text, autoload--insert-cookie-text): New functions.
8478 (autoload-builtin-package-versions): New variable.
8479 (autoload-generate-file-autoloads): Use them.
8480 Remove the list of autoloaded functions/macros from the
8481 (autoload...) comments.
8483 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
8485 2013-06-15 Eli Zaretskii <eliz@gnu.org>
8487 * simple.el (line-move-partial): Don't jump to the next screen
8488 line as soon as it becomes visible. Instead, continue enlarging
8489 the vscroll until the portion of a tall screen line that's left on
8490 display is about the height of the frame's default font.
8493 2013-06-15 Glenn Morris <rgm@gnu.org>
8495 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
8496 compilation-error-regexp-alist void, or local while let-bound.
8498 * progmodes/make-mode.el (makefile-mode-syntax-table):
8499 Treat "=" as punctuation. (Bug#14614)
8501 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
8503 * help-fns.el (describe-variable):
8504 Add extra line for permanent-local variables.
8506 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
8508 * progmodes/scheme.el (scheme-font-lock-keywords-2):
8509 Add export, import, library. (Bug#9164)
8510 (library): Set indent function.
8512 2013-06-14 Glenn Morris <rgm@gnu.org>
8514 * term/xterm.el (xterm--query):
8515 Stop after first matching handler. (Bug#14615)
8517 2013-06-14 Ivan Kanis <ivan@kanis.fr>
8519 Add support for dired in saveplace.
8520 * dired.el (dired-initial-position-hook): New variable.
8521 (dired-initial-position): Call hook to place cursor position.
8522 * saveplace.el (save-place-to-alist): Add dired position.
8523 (save-place-dired-hook): New function.
8525 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
8527 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
8528 through a symbol rather than letrec.
8530 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
8531 (package-desc): Add `dir' field.
8532 (package-desc-full-name): New function.
8533 (package-load-descriptor): Combine the two arguments. Don't use `load'.
8534 (package-maybe-load-descriptor): Remove.
8535 (package-load-all-descriptors): Just call package-load-descriptor.
8536 (package--disabled-p): New function.
8537 (package-desc-vers, package-desc-doc): Remove aliases.
8538 (package--dir): Remove function.
8539 (package-activate): Check if a package is disabled.
8540 (package-process-define-package): New function, extracted from
8542 (define-package): Turn into a place holder.
8543 (package-unpack-single, package-tar-file-info):
8544 Use package--description-file.
8545 (package-compute-transaction): Use package--disabled-p.
8546 (package-download-transaction): Don't call
8547 package-maybe-load-descriptor since they're all loaded anyway.
8548 (package-install): Change argument to be a pkg-desc.
8549 (package-delete): Use a single pkg-desc argument.
8550 (describe-package-1): Use package-desc-dir instead of package--dir.
8551 Use package-desc property instead of package-symbol.
8552 (package-install-button-action): Adjust accordingly.
8553 (package--push): Rewrite.
8554 (package-menu--print-info): Adjust accordingly. Change the ID format
8556 (package-menu-describe-package, package-menu-get-status)
8557 (package-menu--find-upgrades, package-menu-mark-upgrades)
8558 (package-menu-execute, package-menu--name-predicate):
8560 * startup.el (package--description-file): New function.
8561 (command-line): Use it.
8562 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8563 Use package-desc-version.
8565 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
8566 (byte-compile-preprocess): Use it.
8567 (byte-compile-file-form-defalias): Try a bit harder to use macros we
8568 can't quite recognize.
8569 (byte-compile-add-to-list): Remove.
8570 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
8571 (cconv-closure-convert): Add assertion.
8573 * emacs-lisp/map-ynp.el: Use lexical-binding.
8574 (map-y-or-n-p): Remove unused vars `tail' and `object'.
8575 Factor out some repeated code.
8577 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
8579 * subr.el (with-eval-after-load): New macro.
8580 (eval-after-load): Allow form to be a function.
8581 take advantage of lexical-binding.
8582 (do-after-load-evaluation): Use dolist and adjust to new format.
8583 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
8585 2013-06-13 Juri Linkov <juri@jurta.org>
8587 * replace.el (perform-replace): Display "symbol " and other search
8588 modes from `isearch-message-prefix' in the *Help* buffer.
8590 * isearch.el (isearch-query-replace): Add " symbol" and other
8591 possible search modes from `isearch-message-prefix' to the prompt.
8592 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
8593 when reading a regexp to collect.
8595 2013-06-13 Juri Linkov <juri@jurta.org>
8597 * isearch.el (word-search-regexp): Match whitespace if the search
8598 string begins or ends in whitespace. The LAX arg is applied to
8599 both ends of the search string. Use `regexp-quote' and explicit
8600 \< and \> instead of \b. Use \` and \' instead of ^ and $.
8601 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
8602 boundaries are replaced with symbol boundaries, and characters
8603 between symbols match non-word non-symbol syntax. (Bug#14602)
8605 2013-06-13 Juri Linkov <juri@jurta.org>
8607 * isearch.el (isearch-del-char): Don't exceed the length of
8608 `isearch-string' by the prefix arg. (Bug#14563)
8610 2013-06-13 Juri Linkov <juri@jurta.org>
8612 * isearch.el (isearch-yank-word, isearch-yank-line)
8613 (isearch-char-by-name, isearch-quote-char)
8614 (isearch-printing-char, isearch-process-search-char):
8615 Add optional count prefix arg. (Bug#14563)
8617 * international/isearch-x.el
8618 (isearch-process-search-multibyte-characters):
8619 Add optional count prefix arg.
8621 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
8623 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
8624 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
8627 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
8629 * subr.el (set-temporary-overlay-map): Add on-exit argument.
8631 2013-06-13 Glenn Morris <rgm@gnu.org>
8633 * startup.el (tty-handle-args):
8634 Don't just discard "--" and anything after. (Bug#14608)
8636 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
8638 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
8640 Implement changes in Secret Service API. Make it backward compatible.
8641 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
8642 (secrets-create-item): Use it. Prefix properties with interface.
8644 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
8646 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
8647 (term-emulate-terminal): Respect term-suppress-hard-newline.
8649 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
8651 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
8652 Only remove a `thumb-file' overlay. (Bug#14548)
8654 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
8656 * mail/reporter.el (reporter-submit-bug-report):
8657 Handle missing package-name. (Bug#14600)
8659 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8661 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
8662 (reftex-citation-prompt, reftex-default-bibliography)
8663 (reftex-bib-or-thebib, reftex-get-bibfile-list)
8664 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
8665 (reftex-bib-sort-author, reftex-bib-sort-year)
8666 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
8667 (reftex-extract-bib-entries-from-thebibliography)
8668 (reftex-get-bibkey-default, reftex-get-bib-names)
8669 (reftex-parse-bibtex-entry, reftex-get-bib-field)
8670 (reftex-format-bib-entry, reftex-parse-bibitem)
8671 (reftex-format-bibitem, reftex-do-citation)
8672 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
8673 (reftex-restrict-bib-matches, reftex-extract-bib-file)
8674 (reftex-insert-bib-matches, reftex-format-citation)
8675 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
8676 (reftex-create-bibtex-file): Add docstrings, mostly by converting
8677 existing comments into docstrings.
8679 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
8681 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
8683 2013-06-12 Andreas Schwab <schwab@suse.de>
8685 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
8686 for auto-save files.
8688 2013-06-12 Glenn Morris <rgm@gnu.org>
8690 * ido.el (ido-delete-ignored-files): Remove.
8691 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
8692 Go back to calling ido-ignore-item-p directly.
8694 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
8696 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
8698 * ido.el (ido-delete-ignored-files): New function,
8699 split from ido-make-file-list-1.
8700 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
8701 (ido-make-file-list-1): Use ido-delete-ignored-files.
8703 2013-06-12 Leo Liu <sdl.web@gmail.com>
8705 * progmodes/octave.el (inferior-octave-startup)
8706 (inferior-octave-completion-table)
8707 (inferior-octave-track-window-width-change)
8708 (octave-eldoc-function-signatures, octave-help)
8709 (octave-find-definition): Use single quoted strings.
8710 (inferior-octave-startup-args): Change default value.
8711 (inferior-octave-startup): Do not hard code "-i" and
8712 "--no-line-editing".
8713 (inferior-octave-resync-dirs): Add optional arg NOERROR.
8714 (inferior-octave-directory-tracker): Use it.
8715 (octave-goto-function-definition): Robustify.
8716 (octave-help): Support highlighting operators in 'See also'.
8717 (octave-find-definition): Find subfunctions only in Octave mode.
8719 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
8721 * help-fns.el (help-fns--compiler-macro): If the handler function is
8722 named, then put a link to it.
8723 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
8724 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
8726 (cl-eval-when): Simplify debug spec.
8727 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
8728 compiler-macro function instead of setting `compiler-macro-file'.
8730 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
8732 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
8733 * vc/vc-hooks.el (vc-stay-local): Doc fix.
8735 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
8736 Daniel Hackney <dan@haxney.org>
8738 First part of Daniel Hackney's patch to package.el.
8739 * emacs-lisp/package.el: Use defstruct.
8740 (package-desc): New, main struct.
8741 (package--bi-desc, package--ac-desc): New structs, used to describe the
8742 format in external files.
8743 (package-desc-vers): Replace with package-desc-version accessor.
8744 (package-desc-doc): Replace with package-desc-summary accessor.
8745 (package-activate-1): Remove `package' arg since the pkg-vec now
8747 (define-package): Use package-desc-from-define.
8748 (package-unpack-single): Change file-name arg to be a symbol.
8749 (package--add-to-archive-contents): Use package-desc-create and new
8750 accessor functions to package--ac-desc.
8751 (package-buffer-info, package-tar-file-info): Return a package-desc.
8752 (package-install-from-buffer): Remove `type' argument. Change pkg-info
8753 arg to be a package-desc.
8754 (package-install-file): Adjust accordingly. Use \' to match EOS.
8755 (package--from-builtin): New function.
8756 (describe-package-1, package-menu--generate): Use it.
8757 (package--make-autoloads-and-compile): Change name arg to be a symbol.
8758 (package-generate-autoloads): Idem and return the name of the file.
8759 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8760 Change pkg-info arg to be a package-desc.
8761 Use package-make-ac-desc.
8762 (package-upload-file): Use \' to match EOS.
8763 * finder.el (finder-compile-keywords): Use package-make-builtin.
8765 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8767 * vc/vc.el (vc-deduce-fileset): Change error message.
8768 (vc-read-backend): New function.
8769 (vc-next-action): Use it.
8771 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
8773 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
8774 (prolog-font-lock-keywords): Use regexp-opt instead.
8775 Don't manually highlight strings.
8776 (prolog-mode-variables): Simplify comment-start-skip.
8777 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
8779 * emacs-lisp/generic.el (generic--normalise-comments)
8780 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
8781 (generic-mode-set-comments): Use them.
8782 (generic-bracket-support): Use setq-local.
8783 (generic-make-keywords-list): Declare obsolete.
8785 2013-06-11 Glenn Morris <rgm@gnu.org>
8787 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
8788 Prettify after setting font-lock-defaults. (Bug#14574)
8790 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
8792 * replace.el (query-replace, occur-read-regexp-defaults-function)
8794 * subr.el (declare-function, number-sequence, local-set-key)
8795 (substitute-key-definition, locate-user-emacs-file)
8796 (with-silent-modifications, split-string, eval-after-load):
8797 Fix typos, remove unneeded backslashes and reflow some docstrings.
8799 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8801 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
8802 default for Elisp files.
8804 2013-06-11 Glenn Morris <rgm@gnu.org>
8806 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
8807 although define-derived-mode was doing this anyway. (Bug#14583)
8809 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
8811 * allout.el (allout-encryption-plaintext-sanitization-regexps):
8812 Fix make-variable-buffer-local call to refer to the correct variable.
8814 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
8816 * eshell/em-term.el (eshell-visual-commands)
8817 (eshell-visual-subcommands, eshell-visual-options):
8818 Add summary line to docstrings. Add cross-references.
8820 2013-06-10 Glenn Morris <rgm@gnu.org>
8822 * epa.el (epa-read-file-name): New function. (Bug#14510)
8823 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
8825 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
8827 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
8828 output redirection to be ignored with visual commands.
8830 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
8832 * eshell/em-term.el (eshell-visual-command-p): New function.
8833 (eshell-term-initialize): Move long lambda to separate function
8834 eshell-visual-command-p.
8835 * eshell/em-dirs.el (eshell-dirs-initialise):
8836 * eshell/em-script.el (eshell-script-initialize):
8837 Add missing #' to lambda.
8839 2013-06-08 Leo Liu <sdl.web@gmail.com>
8841 * progmodes/octave.el (octave-add-log-current-defun): New function.
8842 (octave-mode): Set add-log-current-defun-function.
8843 (octave-goto-function-definition): Do not move point if not found.
8844 (octave-find-definition): Enhance to try subfunctions first.
8846 2013-06-08 Glenn Morris <rgm@gnu.org>
8848 * emacs-lisp/bytecomp.el (byte-compile-char-before)
8849 (byte-compile-backward-char, byte-compile-backward-word):
8850 Improve previous change, to handle non-explicit nil.
8852 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
8854 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
8855 (smie--opener/closer-at-point): New function.
8856 (smie--matching-block-data): Use it. Don't match from right after an
8857 opener or right before a closer. Obey smie-blink-matching-inners.
8858 Don't signal a mismatch for repeated inners like "switch..case..case".
8860 2013-06-07 Leo Liu <sdl.web@gmail.com>
8862 * progmodes/octave.el (octave-mode): Set comment-use-global-state
8864 (octave-function-header-regexp): Fix. (Bug#14570)
8865 (octave-help-mode-finish-hook, octave-help-mode-finish):
8866 Remove. Just use temp-buffer-show-hook.
8868 * newcomment.el (comment-search-backward): Revert last change.
8871 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
8873 2013-06-07 Eli Zaretskii <eliz@gnu.org>
8875 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
8876 through xargs, to avoid failure due to MS-Windows limitations on
8877 command-line length.
8879 2013-06-06 Glenn Morris <rgm@gnu.org>
8881 * font-lock.el (lisp-font-lock-keywords-2):
8882 Treat user-error like error.
8884 * emacs-lisp/bytecomp.el (byte-compile-char-before)
8885 (byte-compile-backward-char, byte-compile-backward-word):
8886 Handle explicit nil arguments. (Bug#14565)
8888 2013-06-05 Alan Mackenzie <acm@muc.de>
8890 * isearch.el (isearch-allow-prefix): New user option.
8891 (isearch-other-meta-char): Don't exit isearch when a prefix
8892 argument is typed whilst `isearch-allow-prefix' is non-nil.
8895 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8897 * autorevert.el (auto-revert-notify-handler): Use memq.
8898 Hide assertion failure.
8900 * skeleton.el: Use cl-lib.
8901 (skeleton-further-elements): Use defvar-local.
8902 (skeleton-insert): Use cl-progv.
8904 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8906 * progmodes/prog-mode.el (prog-prettify-symbols)
8907 (prog-prettify-install): Update docstrings.
8909 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8911 * simple.el: Move all the prog-mode code to prog-mode.el.
8912 * progmodes/prog-mode.el: New file.
8913 * loadup.el: Add prog-mode.el.
8915 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8917 * simple.el (prog-prettify-symbols): Add version.
8918 (prog-prettify-install): Add convenience function to prettify symbols.
8920 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
8921 (perl--augmented-font-lock-keywords-1)
8922 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
8923 variables and use it.
8925 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
8926 (cfengine3-mode): Remove unneeded variable and use it.
8928 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
8929 (lisp--augmented-font-lock-keywords-1)
8930 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
8931 Remove unneeded variables and use it.
8933 2013-06-05 João Távora <joaotavora@gmail.com>
8935 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
8936 to point when opening the connection. (Bug#14380)
8938 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8940 * subr.el (load-history-regexp, load-history-filename-element)
8941 (eval-after-load, after-load-functions, do-after-load-evaluation)
8942 (eval-next-after-load, display-delayed-warnings)
8943 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
8944 definition of save-match-data.
8945 (overriding-local-map): Remove accidental obsolescence declaration.
8947 * emacs-lisp/edebug.el (edebug-result): Move before first use.
8949 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8951 Generalize symbol prettify support to prog-mode and implement it
8952 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
8953 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
8954 (prog--prettify-font-lock-compose-symbol)
8955 (prog-prettify-font-lock-symbols-keywords): New variables and
8956 functions to support symbol prettification.
8957 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
8958 (lisp--augmented-font-lock-keywords-1)
8959 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
8960 (lisp--prettify-symbols-alist): Implement prettify of lambda.
8961 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
8962 (cfengine3--prettify-symbols-alist, cfengine3-mode):
8963 Implement prettify of -> => :: strings.
8964 * progmodes/perl-mode.el (perl-prettify-symbols)
8965 (perl--font-lock-compose-symbol)
8966 (perl--font-lock-symbols-keywords): Move to prog-mode.
8967 (perl--prettify-symbols-alist): Prettify -> => :: strings.
8968 (perl-font-lock-keywords-1)
8969 (perl-font-lock-keywords-2): Remove explicit prettify support.
8970 (perl--augmented-font-lock-keywords)
8971 (perl--augmented-font-lock-keywords-1)
8972 (perl--augmented-font-lock-keywords-2, perl-mode):
8973 Implement prettify support.
8975 2013-06-05 Leo Liu <sdl.web@gmail.com>
8977 Re-implement smie matching block highlight using
8978 show-paren-data-function. (Bug#14395)
8979 * emacs-lisp/smie.el (smie-matching-block-highlight)
8980 (smie--highlight-matching-block-overlay)
8981 (smie--highlight-matching-block-lastpos)
8982 (smie-highlight-matching-block)
8983 (smie-highlight-matching-block-mode): Remove.
8984 (smie--matching-block-data-cache): New variable.
8985 (smie--matching-block-data): New function.
8986 (smie-setup): Use smie--matching-block-data for
8987 show-paren-data-function.
8989 * progmodes/octave.el (octave-mode-menu): Fix.
8990 (octave-find-definition): Skip garbage lines.
8992 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8994 Fix compilation error with simultaneous dynamic+lexical scoping.
8995 Add warning when a defvar appears after the first let-binding.
8996 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
8997 (byte-compile-close-variables): Initialize it.
8998 (byte-compile--declare-var): New function.
8999 (byte-compile-file-form-defvar)
9000 (byte-compile-file-form-define-abbrev-table)
9001 (byte-compile-file-form-custom-declare-variable): Use it.
9002 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
9003 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
9004 (byte-compile-bind): Handle dynamic bindings that shadow
9006 (byte-compile-unbind): Make arg non-optional.
9007 (byte-compile-let): Simplify.
9008 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
9009 (cconv--analyse-function, cconv-analyse-form): Populate it.
9010 Protect byte-compile-bound-variables to limit the scope of defvars.
9011 (cconv-analyse-form): Add missing rule for (defvar <foo>).
9012 Remove unneeded rule for `declare'.
9014 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
9015 so as to avoid depending on cl-adjoin at run-time.
9016 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
9018 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
9019 (macroexp--warn-and-return): Use it.
9021 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9023 * lisp/subr.el: Convert to lexical binding.
9024 (overriding-local-map): Make obsolete.
9025 (add-to-list): Doc fix. Add compiler macro.
9026 (read-key): Swap values of local maps.
9028 2013-06-05 Leo Liu <sdl.web@gmail.com>
9030 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
9032 2013-06-04 Leo Liu <sdl.web@gmail.com>
9034 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
9035 (compilation-auto-jump): Suppress the "Mark set" message to give
9036 way to exit message.
9038 2013-06-04 Alan Mackenzie <acm@muc.de>
9040 Remove faulty optimisation from indentation calculation.
9041 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
9042 search limit based on 2000 characters back from indent-point.
9044 2013-06-03 Tassilo Horn <tsdh@gnu.org>
9046 * eshell/em-term.el (cl-lib): Require `cl-lib'.
9048 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
9050 * emacs-lisp/lisp.el: Use lexical-binding.
9051 (lisp--local-variables-1, lisp--local-variables): New functions.
9052 (lisp--local-variables-completion-table): New var.
9053 (lisp-completion-at-point): Use it complete let-bound vars.
9055 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
9056 eagerly (bug#14422).
9058 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
9060 * autorevert.el (auto-revert-notify-enabled)
9061 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
9062 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
9063 (auto-revert-notify-handler): Handle also gfilenotify.
9065 * subr.el (file-notify-handle-event): New defun. Replacing ...
9066 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
9069 2013-06-03 Juri Linkov <juri@jurta.org>
9071 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
9072 `M-s h .'. (Bug#14427)
9074 * hi-lock.el (highlight-symbol-at-point): New alias for the new
9075 command `hi-lock-face-symbol-at-point'.
9076 (hi-lock-face-symbol-at-point): New command.
9077 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
9078 (hi-lock-menu): Add `highlight-symbol-at-point'.
9079 (hi-lock-mode): Doc fix.
9081 * isearch.el (isearch-forward-symbol-at-point): New command.
9082 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
9083 (isearch-highlight-regexp): Add a regexp which matches
9084 words/symbols for word/symbol mode.
9086 * subr.el (find-tag-default-bounds): New function with the body
9087 mostly moved from `find-tag-default'.
9088 (find-tag-default): Move most code to `find-tag-default-bounds',
9089 call it and apply `buffer-substring-no-properties' afterwards.
9091 2013-06-03 Tassilo Horn <tsdh@gnu.org>
9093 * eshell/em-term.el (eshell-term-initialize):
9094 Use `cl-intersection' rather than `intersection'.
9096 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
9098 * vc/log-view.el: Doc fix.
9099 (log-view-mode-map): Copy keymap from `special-mode-map'.
9101 2013-06-02 Eric Ludlam <zappo@gnu.org>
9103 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
9104 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
9105 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
9106 (eieio-unbound, eieio-default-superclass)
9107 (eieio--define-field-accessors, method-static, method-before)
9108 (method-primary, method-after, method-num-lists)
9109 (method-generic-before, method-generic-primary)
9110 (method-generic-after, method-num-slots)
9111 (eieio-specialized-key-to-generic-key)
9112 (eieio--check-type, class-v, class-p)
9113 (eieio-class-name, define-obsolete-function-alias)
9114 (eieio-class-parents-fast, eieio-class-children-fast)
9115 (same-class-fast-p, class-constructor, generic-p)
9116 (generic-primary-only-p, generic-primary-only-one-p)
9117 (class-option-assoc, class-option, eieio-object-p)
9118 (class-abstract-p, class-method-invocation-order)
9119 (eieio-defclass-autoload-map, eieio-defclass-autoload)
9120 (eieio-class-un-autoload, eieio-defclass)
9121 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
9122 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
9123 (eieio--defgeneric-init-form, eieio-defgeneric-form)
9124 (eieio-defgeneric-reset-generic-form)
9125 (eieio-defgeneric-form-primary-only)
9126 (eieio-defgeneric-reset-generic-form-primary-only)
9127 (eieio-defgeneric-form-primary-only-one)
9128 (eieio-defgeneric-reset-generic-form-primary-only-one)
9129 (eieio-unbind-method-implementations)
9130 (eieio--defmethod, eieio--typep)
9131 (eieio-perform-slot-validation, eieio-validate-slot-value)
9132 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
9133 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
9134 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
9135 (eieio-slot-name-index, eieio-class-slot-name-index)
9136 (eieio-set-defaults, eieio-initarg-to-attribute)
9137 (eieio-attribute-to-initarg, eieio-c3-candidate)
9138 (eieio-c3-merge-lists, eieio-class-precedence-c3)
9139 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
9140 (eieio-class-precedence-list, eieio-generic-call-methodname)
9141 (eieio-generic-call-arglst, eieio-generic-call-key)
9142 (eieio-generic-call-next-method-list)
9143 (eieio-pre-method-execution-functions, eieio-generic-call)
9144 (eieio-generic-call-primary-only, eieiomt-method-list)
9145 (eieiomt-optimizing-obarray, eieiomt-install)
9146 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
9147 (eieio-generic-form, eieio-defmethod, make-obsolete)
9148 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
9149 (defclass): Remove `eval-and-compile' from macro.
9150 (call-next-method, shared-initialize): Instead of using
9151 `scoped-class' variable, use new eieio--scoped-class, and
9152 eieio--with-scoped-class.
9153 (initialize-instance): Rename local variable 'scoped-class' to
9154 'this-class' to remove ambiguitity from old global.
9156 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
9158 (eieio--scoped-class-stack): New variable.
9159 (eieio--scoped-class): New fcn.
9160 (eieio--with-scoped-class): New scoping macro.
9161 (eieio-defclass): Use pushnew instead of add-to-list.
9162 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
9163 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
9164 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
9165 `scoped-class' variable, use new eieio--scoped-class, and
9166 eieio--with-scoped-class.
9168 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
9170 2013-06-02 Tassilo Horn <tsdh@gnu.org>
9172 * eshell/esh-ext.el (eshell-external-command): Pass args to
9173 `eshell-find-interpreter'.
9174 (eshell-find-interpreter): Add new second parameter ARGS.
9176 * eshell/em-script.el (eshell-script-initialize): Add second arg
9177 to the function added as MATCH to `eshell-interpreter-alist'.
9179 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
9180 the function added as MATCH to `eshell-interpreter-alist'.
9182 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
9183 (eshell-visual-options): New defcustom.
9184 (eshell-escape-control-x): Adapt docstring.
9185 (eshell-term-initialize): Test `eshell-visual-subcommands' and
9186 `eshell-visual-options' in addition to `eshell-visual-commands'.
9187 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
9189 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
9191 * progmodes/python.el (python-indent-block-enders): Add break,
9192 continue and raise keywords.
9194 2013-06-01 Glenn Morris <rgm@gnu.org>
9196 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
9198 Plain (f)boundp silences compilation warnings since Emacs 22.1.
9199 * progmodes/cc-cmds.el (delete-forward-p):
9200 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
9201 * progmodes/cc-engine.el (buffer-syntactic-context):
9202 * progmodes/cc-fonts.el (face-property-instance):
9203 * progmodes/cc-mode.el (set-keymap-parents):
9204 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
9205 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
9206 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
9207 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
9208 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
9210 * progmodes/cc-vars.el (other): Emacs has this widget since
9211 at least 21.1, so don't (re)define it.
9213 * eshell/em-cmpl.el (eshell-cmpl-initialize):
9214 Replace the obsolete alias pcomplete-arg-quote-list.
9216 2013-06-01 Leo Liu <sdl.web@gmail.com>
9218 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
9220 (inferior-octave-minimal-columns)
9221 (inferior-octave-last-column-width): New variables.
9222 (inferior-octave-track-window-width-change): New function.
9223 (inferior-octave-mode): Adjust column width so that Octave output,
9224 for example from 'ls', can fit into the window nicely.
9226 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
9228 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
9229 Highlight expansions inside regexp literals.
9231 2013-05-31 Glenn Morris <rgm@gnu.org>
9233 * obsolete/sym-comp.el (symbol-complete):
9234 Replace obsolete completion-annotate-function.
9236 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
9238 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
9240 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
9241 New function, checks if point is inside a literal that allows
9242 expression expansion.
9243 (ruby-syntax-propertize-expansion): Use it.
9244 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
9247 2013-05-30 Juri Linkov <juri@jurta.org>
9249 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
9251 (isearch-invisible): New variable.
9252 (isearch-forward): Doc fix.
9253 (isearch-mode): Set `isearch-invisible'
9254 to the value of `search-invisible'.
9255 (isearch-toggle-case-fold): Doc fix.
9256 (isearch-toggle-invisible): New command.
9257 (isearch-query-replace): Let-bind `search-invisible'
9258 to the value of `isearch-invisible'.
9259 (isearch-search): Use `isearch-invisible' instead of
9260 `search-invisible'. Let-bind `search-invisible'
9261 to the value of `isearch-invisible'. (Bug#11378)
9263 2013-05-30 Juri Linkov <juri@jurta.org>
9265 * replace.el (perform-replace): Avoid `isearch-range-invisible'
9266 call when `query-flag' is nil and `search-invisible' is non-nil.
9269 2013-05-30 Glenn Morris <rgm@gnu.org>
9271 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
9273 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
9274 (cc-require): Suppress spurious "noruntime" warnings.
9275 (cc-require-when-compile): Use fboundp, for sake of compiler.
9277 * progmodes/cc-mode.el: Move load of cc-vars before that of
9278 cc-langs (which in turn loads cc-vars), to quieten compiler.
9280 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9282 * paren.el: Simplify the code.
9283 (show-paren-mode): Always start the timer.
9284 (show-paren--idle-timer): Rename from show-paren-idle-timer.
9285 (show-paren--overlay, show-paren--overlay-1): Rename from
9286 show-paren-overlay and show-paren-overlay-1, and initialize to an
9287 overlay rather than to nil.
9288 (show-paren-function): Misc cleanup and simplifications.
9290 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9292 * paren.el (show-paren-data-function): New hook.
9293 (show-paren--default): New function, extracted from show-paren-function.
9294 (show-paren-function): Use show-paren-data-function.
9296 2013-05-30 Glenn Morris <rgm@gnu.org>
9298 * ielm.el (ielm-map, ielm-complete-symbol):
9299 Use completion-at-point rather than obsolete functions.
9300 (inferior-emacs-lisp-mode): Doc fix.
9301 Set completion-at-point-functions, rather than
9302 comint-dynamic-complete-functions.
9304 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
9305 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
9306 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
9308 * image.el (image-animated-p): Tweak definition.
9310 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
9311 (rlogin-process-connection-type): Tweak default. Add set-after.
9312 (rlogin-host): Doc fix.
9313 (rlogin): Tweak prompt.
9314 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
9316 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
9317 * progmodes/tcl.el (inferior-tcl-mode-map):
9318 Use completion-at-point rather than obsolete alias.
9320 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
9322 * minibuffer.el (read-file-name-completion-ignore-case):
9323 Move before completion--in-region, for eager macro expansion.
9325 2013-05-29 Juri Linkov <juri@jurta.org>
9327 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
9328 for total count of matching lines. Add `global-matches' for total
9329 count of matches. Rename `matches' to `lines' for count of
9330 matching lines. Add `matches' for count of matches.
9331 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
9332 to `prev-line' for line number of prev match endpt.
9333 Increment `matches' for every match. Print the number of
9334 matching lines in the header.
9335 (occur-context-lines): Rename `lines' to `curr-line'.
9336 Rename `prev-lines' to `prev-line'. (Bug#14017)
9338 2013-05-29 Juri Linkov <juri@jurta.org>
9340 * replace.el (perform-replace): Add `skip-read-only-count',
9341 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
9342 Increment them for corresponding conditions and report the number
9343 of skipped occurrences in the final message. (Bug#11746)
9344 (query-replace, query-replace-regexp, query-replace-regexp-eval)
9345 (replace-string, replace-regexp): Doc fix.
9347 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
9349 * emacs-lisp/trace.el (trace--read-args): Provide a default.
9351 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
9352 prog-mode-map (bug#14504).
9354 2013-05-29 Leo Liu <sdl.web@gmail.com>
9356 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
9357 (octave-help): Small simplification.
9359 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
9360 off the highlight first.
9362 2013-05-29 Glenn Morris <rgm@gnu.org>
9364 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
9365 Handle idlwave-last-system-routine-info-cons-cell being nil.
9367 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
9368 (idlwave-write-paths): Simplify via with-temp-buffer.
9370 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
9371 * emulation/cua-rect.el: Also load cua-base at run time.
9373 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
9374 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
9375 (cperl-imenu-on-info): Require imenu.
9377 2013-05-28 Alan Mackenzie <acm@muc.de>
9379 Handle "capitalised keywords" correctly.
9380 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
9382 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
9384 * eshell/em-unix.el: Add -r option to cp.
9386 2013-05-28 Glenn Morris <rgm@gnu.org>
9388 * vc/vc-arch.el (vc-exec-after): Declare.
9389 (vc-switches): Autoload.
9390 * vc/vc-bzr.el: No need to require vc when compiling.
9391 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
9392 (vc-resynch-buffer, vc-dir-refresh): Declare.
9393 (vc-setup-buffer, vc-switches): Autoload.
9394 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
9395 (vc-resynch-buffer): Declare.
9396 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
9397 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
9398 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
9399 (grep-read-regexp, grep-read-files, grep-expand-template)
9400 (vc-dir-refresh): Declare.
9401 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
9402 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
9403 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
9404 * vc/vc-mtn.el (vc-exec-after): Declare.
9405 (vc-switches): Autoload.
9406 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
9407 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
9408 (vc-file-tree-walk): Declare.
9409 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
9410 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
9411 (vc-tag-precondition, vc-rename-master): Autoload.
9412 * vc/vc-svn.el (vc-exec-after): Declare.
9413 (vc-switches, vc-setup-buffer): Autoload.
9414 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
9416 (vc-resynch-buffer): Declare.
9418 * obsolete/fast-lock.el (byte-compile-warnings):
9419 Don't warn about obsolete features in this obsolete file.
9421 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
9422 Move definition before use.
9424 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
9425 (dun-unix-verbs): Remove dun-zippy.
9426 (dun-zippy): Remove function.
9428 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
9430 2013-05-27 Juri Linkov <juri@jurta.org>
9432 * replace.el (replace-search): New function with code moved out
9433 from `perform-replace'.
9434 (replace-highlight, replace-dehighlight): Move function definitions
9435 up closer to `replace-search'. (Bug#11746)
9437 2013-05-27 Juri Linkov <juri@jurta.org>
9439 * replace.el (perform-replace): Ignore invisible matches.
9440 In addition to checking `query-replace-skip-read-only', also
9441 filter out matches by calling `run-hook-with-args-until-failure'
9442 on `isearch-filter-predicates', and also check `search-invisible'
9443 for t or call `isearch-range-invisible'.
9444 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
9446 2013-05-27 Juri Linkov <juri@jurta.org>
9448 * isearch.el (isearch-filter-predicates): Rename from
9449 `isearch-filter-predicate'. Doc fix. (Bug#11378)
9450 (isearch-message-prefix): Display text from the property
9451 `isearch-message-prefix' of the currently active filters.
9452 (isearch-search): Don't compare `isearch-filter-predicate' with
9453 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
9454 on `isearch-filter-predicates'. Also check `search-invisible' for t
9455 or call `isearch-range-invisible'.
9456 (isearch-filter-visible): Make obsolete.
9457 (isearch-lazy-highlight-search):
9458 Call `run-hook-with-args-until-failure' on
9459 `isearch-filter-predicates' and use `isearch-range-invisible'.
9461 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
9462 `isearch-filter-predicates' instead of `funcall'ing
9463 `isearch-filter-predicate'.
9464 (Info-mode): Set `Info-isearch-filter' to
9465 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
9467 * dired-aux.el (dired-isearch-filter-predicate-orig):
9469 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
9470 (dired-isearch-filenames-end): Add and remove
9471 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
9472 instead of changing the value of `isearch-filter-predicate'.
9473 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
9474 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
9475 Put property `isearch-message-prefix' to "filename " on
9476 `dired-isearch-filter-filenames'.
9478 * wdired.el (wdired-change-to-wdired-mode):
9479 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
9480 locally instead of changing `isearch-filter-predicate'.
9481 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
9483 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
9485 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
9486 return the commit hash (Bug#14459). Also set the
9487 `vc-git-detached' property.
9488 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
9489 (vc-git-mode-line-string): Use the same help-echo format whether
9490 in detached mode or not, because we know the actual revision now.
9491 When in detached mode, shorten the revision to 7 chars.
9493 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
9495 * emacs-lisp/easy-mmode.el (define-minor-mode):
9496 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
9497 mode hook and provide a docstring.
9499 2013-05-27 Alan Mackenzie <acm@muc.de>
9501 Remove spurious syntax-table text properties inserted by C-y.
9502 * progmodes/cc-mode.el (c-after-change): Also clear hard
9503 syntax-table property with value nil.
9505 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
9507 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
9508 when reading the events; the buffer layout shall not be changed.
9510 2013-05-27 Leo Liu <sdl.web@gmail.com>
9512 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
9514 (inferior-octave-directory-tracker): Automatically re-sync
9516 (octave-help): Improve handling of 'See also'.
9518 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
9520 * doc-view.el: Minor naming convention tweaks.
9521 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
9523 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
9524 even if there's no `display' property yet (bug#14435).
9526 2013-05-25 Eli Zaretskii <eliz@gnu.org>
9528 * subr.el (unmsys--file-name): Rename from reveal-filename.
9530 * Makefile.in (custom-deps, finder-data, autoloads)
9531 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
9532 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
9533 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
9535 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9537 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
9538 error-completion on the first 2 args of condition-case (bug#14446).
9541 2013-05-25 Leo Liu <sdl.web@gmail.com>
9543 * comint.el (comint-previous-matching-input): Do not flood the
9544 *Messages* buffer with trivial messages.
9546 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9548 * progmodes/flymake.el (flymake-nop): Don't return a string.
9549 (flymake-set-at): Fix typo.
9551 * simple.el (read--expression): New function, extracted from
9552 eval-expression. Set completion-at-point-functions (bug#14465).
9553 (eval-expression, eval-minibuffer): Use it.
9555 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
9557 * progmodes/flymake.el (flymake-save-buffer-in-file)
9558 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
9559 (flymake-selected-frame, flymake-log, flymake-ins-after)
9560 (flymake-set-at, flymake-get-buildfile-from-cache)
9561 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
9562 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
9563 Refine the doc string.
9564 (flymake-get-file-name-mode-and-masks): Reformat.
9565 (flymake-get-real-file-name-function): Fix a minor bug.
9567 2013-05-24 Juri Linkov <juri@jurta.org>
9569 * progmodes/grep.el (grep-mode-font-lock-keywords):
9570 Support =linenumber= format used by git-grep for lines with
9571 function names. (Bug#13549)
9573 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
9575 * progmodes/octave.el (octave-smie-rules): Return nil rather than
9576 0 after a semi-colon; it works better for smie-auto-fill.
9577 (octave--indent-new-comment-line): New function.
9578 (octave-indent-new-comment-line): Use it (indirectly).
9579 (octave-mode): Don't disable smie-auto-fill. Use add-function to
9580 modify comment-line-break-function.
9582 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
9583 (smie-setup): Use add-function to set it.
9585 2013-05-24 Sam Steingold <sds@gnu.org>
9587 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
9588 argument (before the `interactive' argument).
9590 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
9592 * image-mode.el (image-mode-winprops): Add winprops to
9593 image-mode-winprops-alist before running
9594 image-mode-new-window-functions.
9595 * doc-view.el (doc-view-new-window-function): Don't delay
9596 doc-view-goto-page via timers (bug#14435).
9598 2013-05-24 Tassilo Horn <tsdh@gnu.org>
9600 * doc-view.el: Integrate with desktop.el. (Bug#14435)
9601 (doc-view-desktop-save-buffer): New function.
9602 (doc-view-restore-desktop-buffer): New function.
9603 (desktop-buffer-mode-handlers):
9604 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
9606 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
9607 `desktop-save-buffer' function.
9609 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
9611 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
9612 (tramp-gvfs-file-name-handler): Raise a user error when
9613 `tramp-gvfs-enabled' is nil.
9614 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
9615 Do not raise a user error when loading package. (Bug#14447)
9617 * net/xesam.el: Move to obsolete/.
9619 2013-05-24 Glenn Morris <rgm@gnu.org>
9621 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
9623 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
9625 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
9626 (Info-find-node, Man-getpage-in-background): Declare.
9628 * mail/unrmail.el (unrmail):
9629 Replace obsolete detect-coding-with-priority.
9631 * net/socks.el (socks-split-string): Use this rather than split-string.
9632 (socks-nslookup-host): Update for above change.
9633 (dynamic-choice, s5-dynamic-choice-match)
9634 (s5-dynamic-choice-match-inline, s5-widget-value-create):
9635 Comment out unused code.
9637 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
9638 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
9639 (gud-tooltip-echo-area): Make obsolete.
9640 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
9642 * progmodes/js.el (js--optimize-arglist): Declare.
9644 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
9646 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
9647 (ediff-window-C): Declare.
9649 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
9650 Tweak requires to silence compiler.
9652 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
9653 (he-search-string, he-tried-table, he-expand-list)
9654 (he-init-string, he-string-member, he-substitute-string)
9655 (he-reset-string): Declare.
9657 * obsolete/options.el (list-options): Use custom-variable-p,
9658 rather than obsolete alias.
9660 2013-05-23 Sam Steingold <sds@gnu.org>
9662 * simple.el (shell-command-on-region): Pass the `replace' argument
9663 down to `call-process-region' to comply with the doc as reported on
9664 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
9666 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
9668 * emacs-lisp/smie.el (smie-indent-forward-token)
9669 (smie-indent-backward-token): Handle string tokens (bug#14381).
9671 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9673 * ielm.el (ielm-menu): New menu.
9674 (inferior-emacs-lisp-mode): Set comment-start.
9676 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9678 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
9679 Fix deactivate action.
9681 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
9682 Add cleveref macros.
9684 * lisp/textmodes/reftex-parse.el
9685 (reftex-locate-bibliography-files): Accept options for
9686 bibliography commands.
9687 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
9688 Add addbibresource. Basic Biblatex support.
9690 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
9692 * net/tramp-gvfs.el (top):
9693 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
9694 when loading package. (Bug#14447)
9696 2013-05-23 Glenn Morris <rgm@gnu.org>
9698 * progmodes/js.el: No need to load comint when compiling.
9699 (ring-insert, comint-send-string, comint-send-input)
9700 (comint-last-input-end, ido-chop): Declare.
9702 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
9703 * vc/ediff-mult.el: Adjust requires.
9704 (ediff-directories-internal, ediff-directory-revisions-internal)
9705 (ediff-patch-file-internal): Declare.
9706 * vc/ediff-ptch.el: Adjust requires.
9707 (ediff-use-last-dir, ediff-buffers-internal): Declare.
9708 (ediff-find-file): Autoload.
9709 * vc/ediff-util.el: No need to load ediff when compiling.
9710 (ediff-regions-internal): Declare.
9711 * vc/ediff-wind.el: Adjust requires.
9712 (ediff-compute-toolbar-width): Define when compiling.
9713 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
9714 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
9715 (dired-get-filename, dired-get-marked-files)
9716 (ediff-last-dir-patch, ediff-patch-default-directory)
9717 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
9718 (ediff-patch-buffer-internal): Declare.
9720 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
9721 (ispell-process, ispell-buffer-local-words, lm-summary)
9722 (lm-section-start, lm-section-end): Declare.
9723 (checkdoc-ispell-init): Simplify.
9725 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
9726 (he-string-member, he-reset-string, he-substitute-string): Declare.
9728 * eshell/em-ls.el: Adjust requires.
9729 (eshell-glob-regexp): Declare.
9730 * eshell/em-tramp.el: Adjust requires.
9731 (eshell-parse-command): Autoload.
9732 * eshell/em-xtra.el: Adjust requires.
9733 (eshell-parse-command): Autoload.
9734 * eshell/esh-ext.el: Adjust requires.
9735 (eshell-parse-command, eshell-close-handles): Autoload.
9736 * eshell/esh-io.el: Adjust requires.
9737 (eshell-output-filter): Autoload.
9738 * eshell/esh-util.el: No need to load tramp when compiling.
9739 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
9741 (eshell-parse-ange-ls): Require ange-ftp and tramp.
9742 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
9743 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
9744 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
9745 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
9746 * eshell/esh-opt.el, eshell/esh-proc.el:
9747 * eshell/esh-var.el: Adjust requires.
9748 * eshell/eshell.el: Do not require esh-util twice.
9749 (eshell-add-input-to-history): Declare.
9750 (eshell-command): Check history module is active before using it.
9752 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
9754 2013-05-22 Leo Liu <sdl.web@gmail.com>
9756 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
9758 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
9760 * autorevert.el (auto-revert-notify-add-watch)
9761 (auto-revert-notify-handler): Add `attrib' for the inotify case,
9762 it indicates changes in file modification time.
9764 2013-05-22 Glenn Morris <rgm@gnu.org>
9766 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
9767 Always delete the autoloaded function from the noruntime and
9768 unresolved functions lists.
9770 * allout.el: No need to load epa, epg, overlay when compiling.
9771 (epg-context-set-passphrase-callback, epg-list-keys)
9772 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
9773 (epg-key-user-id-list): Declare.
9775 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
9776 (viper-set-parsing-style-toggling-macro)
9777 (viper-set-emacs-state-searchstyle-macros):
9778 Use called-interactively-p on Emacs.
9779 (viper-looking-back): Make it an obsolete alias. Update callers.
9780 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
9781 Use looking-back rather than viper-looking-back.
9782 (viper-tmp-insert-at-eob, viper-enlarge-region)
9783 (viper-read-string-with-history, viper-register-to-point)
9784 (viper-append-to-register, viper-change-state-to-vi)
9785 (viper-backward-char-carefully, viper-forward-char-carefully)
9786 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
9787 (viper-change-state-to-emacs): Declare.
9788 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
9789 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
9790 * emulation/viper-mous.el: Do not load viper-cmd.
9791 (viper-backward-char-carefully, viper-forward-char-carefully)
9792 (viper-forward-word, viper-adjust-window): Declare.
9794 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
9796 * progmodes/idlw-help.el (idlwave-help-fontify):
9797 Use called-interactively-p.
9799 * term/w32console.el (w32-get-console-codepage)
9800 (w32-get-console-output-codepage): Declare.
9802 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
9803 Remove unnecessary declarations.
9804 (dframe-message): Doc fix.
9806 * info.el (dframe-select-attached-frame, dframe-current-frame):
9809 * speedbar.el (speedbar-message): Make it an obsolete alias.
9811 (speedbar-with-attached-buffer)
9812 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
9813 (speedbar-with-writable): Use backquote.
9814 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
9815 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
9816 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
9817 rather than speedbar- aliases.
9818 * mail/rmail.el: Load dframe rather than speedbar when compiling.
9819 (speedbar-make-specialized-keymap, speedbar-insert-button)
9820 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
9821 (speedbar-do-function-pointer): Declare.
9822 (rmail-speedbar-button, rmail-speedbar-find-file)
9823 (rmail-speedbar-move-message):
9824 Use dframe-with-attached-buffer rather than speedbar- alias.
9825 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
9826 (dframe-message, speedbar-make-specialized-keymap)
9827 (speedbar-add-expansion-list, speedbar-mode-functions-list)
9828 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
9829 (speedbar-insert-button, dframe-select-attached-frame)
9830 (dframe-maybee-jump-to-attached-frame)
9831 (speedbar-change-initial-expansion-list)
9832 (speedbar-previously-used-expansion-list-name): Declare.
9833 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
9834 Use dframe-message, dframe-with-attached-buffer rather than
9836 (gud-sentinel): Silence compiler.
9837 * progmodes/vhdl-mode.el (speedbar-refresh)
9838 (speedbar-do-function-pointer, speedbar-add-supported-extension)
9839 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
9840 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
9841 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
9842 (speedbar-file-lists, speedbar-make-tag-line)
9843 (speedbar-line-directory, speedbar-goto-this-file)
9844 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
9845 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
9846 (speedbar-make-button, speedbar-reset-scanners)
9847 (speedbar-files-item-info, speedbar-line-text)
9848 (speedbar-find-file-in-frame, speedbar-set-timer)
9849 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
9850 (speedbar-with-writable): Do not (re)define it.
9851 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
9852 rather than speedbar- alias.
9854 2013-05-21 Leo Liu <sdl.web@gmail.com>
9856 * progmodes/octave.el (octave-mode-menu): Update and re-organize
9858 (octave-mode): Tweak fill-nobreak-predicate.
9859 (inferior-octave-startup): Check process to avoid infinite loop.
9860 (inferior-octave): Pop to buffer first to show abornmal process
9863 2013-05-21 Glenn Morris <rgm@gnu.org>
9865 * printing.el (pr-menu-bar): Define when compiling.
9867 2013-05-21 Leo Liu <sdl.web@gmail.com>
9869 * progmodes/octave.el (octave-auto-fill): Remove.
9870 (octave-indent-new-comment-line): Improve.
9871 (octave-mode): Use auto fill mode through
9872 comment-line-break-function and fill-nobreak-predicate.
9873 (octave-goto-function-definition): Support DEFUN_DLD.
9874 (octave-beginning-of-defun): Small tweak.
9875 (octave-help): Show parent directory.
9877 2013-05-21 Glenn Morris <rgm@gnu.org>
9879 * files.el (dired-unmark):
9880 * progmodes/gud.el (gdb-input): Update declarations.
9882 * calculator.el (electric, ehelp): No need to load when compiling.
9883 (Electric-command-loop, electric-describe-mode): Declare.
9885 * doc-view.el (doc-view-current-converter-processes): Move before use.
9887 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9888 Move MODE-set-explicitly definition before use.
9890 * international/mule-diag.el (mule-diag):
9891 Don't use obsolete window-system-version.
9893 * mail/feedmail.el (smtpmail): No need to load when compiling.
9894 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
9896 * mail/mail-utils.el (rfc822): No need to load when compiling.
9897 (rfc822-addresses): Autoload it.
9898 (mail-strip-quoted-names): Trivial simplification.
9900 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
9901 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
9903 * net/snmp-mode.el (tempo): Don't duplicate requires.
9905 * progmodes/prolog.el (info): No need to load when compiling.
9906 (comint): Require before shell requires it.
9907 (Info-goto-node): Autoload it.
9908 (Info-follow-nearest-node): Declare.
9909 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
9911 * textmodes/artist.el (picture-mode-exit): Declare.
9913 * textmodes/reftex-parse.el (reftex-parse-from-file):
9914 Trivial rewrite so the compiler can parse it better.
9916 2013-05-20 Leo Liu <sdl.web@gmail.com>
9918 * progmodes/octave.el (octave-help-mode-map)
9919 (octave-help-mode-finish-hook): New variables.
9920 (octave-help-mode, octave-help-mode-finish): New functions.
9921 (octave-help): Use octave-help-mode.
9923 2013-05-20 Glenn Morris <rgm@gnu.org>
9925 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
9927 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
9929 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
9930 start at point, so that expansion starting right after opening
9931 slash in a regexp is recognized.
9932 (ruby-syntax-before-regexp-re): New defvar, extracted from
9933 ruby-syntax-propertize-function. Since the value of this regexp
9934 is looked up at runtime now, we should be able to turn
9935 `ruby-syntax-methods-before-regexp' into a defcustom later.
9936 (ruby-syntax-propertize-function): Split regexp matching into two
9937 parts, for opening and closing slashes. That allows us to skip
9938 over string interpolations and support multiline regexps.
9939 Don't call `ruby-syntax-propertize-expansions', instead use another rule
9940 for them, which calls `ruby-syntax-propertize-expansion'.
9941 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
9942 call to `ruby-syntax-propertize-function'.
9943 (ruby-syntax-propertize-expansion): Extracted from
9944 `ruby-syntax-propertize-expansions'. Handles one expansion.
9945 (ruby-syntax-propertize-percent-literal): Leave point right after
9946 the percent symbol, so that the expression expansion rule can
9947 propertize the contents.
9948 (ruby-syntax-propertize-heredoc): Leave point at bol following the
9950 (ruby-syntax-propertize-expansions): Remove.
9952 2013-05-18 Juri Linkov <juri@jurta.org>
9954 * man.el (Man-default-man-entry): Remove `-' from the end
9955 of the default value. (Bug#14400)
9957 2013-05-18 Glenn Morris <rgm@gnu.org>
9959 * comint.el (comint-password-prompt-regexp):
9960 Allow "password for XXX" where XXX contains colons (eg https://...).
9962 2013-05-18 Leo Liu <sdl.web@gmail.com>
9964 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
9965 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
9966 (octave-source-directories): Don't check process.
9967 (octave-source-directories, octave-find-definition): Doc fix.
9969 2013-05-18 Glenn Morris <rgm@gnu.org>
9971 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
9972 Remove backspace/delete bindings. (Bug#14392)
9974 * cus-dep.el (custom-make-dependencies): Sort the output.
9975 (custom-versions-load-alist): Convert comment to doc.
9977 2013-05-17 Leo Liu <sdl.web@gmail.com>
9979 * newcomment.el (comment-search-backward): Stricter in finding
9980 comment start. (Bug#14303)
9982 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
9983 (octave-comment-start-skip): Properly anchored.
9985 2013-05-17 Leo Liu <sdl.web@gmail.com>
9987 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
9988 Clean up when turned off. (Bug#14395)
9989 (smie--highlight-matching-block-overlay): No longer buffer-local.
9990 (smie-highlight-matching-block): Adjust.
9992 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
9994 Doc string fix for "nanoseconds" (Bug#14406).
9995 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
9996 Fix doc string typo that had "nanoseconds" instead of "microseconds".
9998 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
10000 * calc/calc-units.el (math-extract-units): Preserve powers
10003 2013-05-17 Leo Liu <sdl.web@gmail.com>
10005 * subr.el (delete-consecutive-dups): New function.
10006 * ido.el (ido-set-matches-1): Use it.
10007 * progmodes/octave.el (inferior-octave-completion-table): Use it.
10008 * ido.el (ido-remove-consecutive-dups): Remove.
10010 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10012 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
10013 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
10014 regexp-opt's `words'.
10016 2013-05-16 Leo Liu <sdl.web@gmail.com>
10018 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
10019 (smie--highlight-matching-block-overlay)
10020 (smie--highlight-matching-block-lastpos)
10021 (smie--highlight-matching-block-timer): New variables.
10022 (smie-highlight-matching-block): New function.
10023 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
10024 (smie-setup): Conditionally enable smie-blink-matching-open.
10026 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
10028 Sync with upstream verilog-mode r840.
10029 * progmodes/verilog-mode.el (verilog-mode-version)
10030 (verilog-mode-release-date): Update.
10031 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
10032 (verilog-sig-tieoff): Fix string error on
10033 AUTORESET with colon define, bug594. Reported by Andrew Hou.
10034 (verilog-read-decls): Fix parameters confusing
10035 AUTOINST interfaces, bug565. Reported by Leith Johnson.
10037 2013-05-16 Eli Zaretskii <eliz@gnu.org>
10039 * subr.el (reveal-filename): New function.
10041 * loadup.el: Compute Emacs executable versions on MS-Windows,
10042 where executables have the .exe extension. Add a hard link
10043 emacs-XX.YY.ZZ.exe on MS-Windows.
10045 * Makefile.in (XARGS_LIMIT): New variable.
10046 (custom-deps, finder-data, autoloads)
10047 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
10048 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
10049 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
10050 (compile-main): Limit xargs according to $(XARGS_LIMIT).
10052 2013-05-16 Leo Liu <sdl.web@gmail.com>
10054 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
10055 (octave-mode-menu, octave-mode-map): Remove its uses.
10057 2013-05-16 Reto Zimmermann <reto@gnu.org>
10059 Sync with upstream vhdl mode v3.34.2.
10060 * progmodes/vhdl-mode.el: Use `push' throughout.
10061 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
10062 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
10063 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
10064 (vhdl-actual-generic-name): New option to derive actual generic name.
10065 (vhdl-port-paste-signals): Replace formal by actual generics.
10066 (vhdl-beautify): New name for old group vhdl-align. Update users.
10067 (vhdl-beautify-options): New option.
10068 (vhdl-last-input-event): New compat alias. Use throughout.
10069 (vhdl-goto-line): Replace user level function `goto-line'.
10070 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
10071 vhdl-fix-statement-buffer.
10072 (vhdl-create-mode-menu): Add some entries.
10073 (vhdl-align-region-groups): Respect vhdl-beautify-options.
10074 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
10075 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
10076 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
10077 to force statements on one line.
10078 (vhdl-remove-trailing-spaces-region):
10079 New, split from vhdl-remove-trailing-spaces.
10080 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
10081 Respect vhdl-beautify-options.
10082 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
10083 (vhdl-update-sensitivity-list): Not add with index if exists without.
10084 Not include array index with signal. Ignore keywords in comments.
10085 (vhdl-get-visible-signals): Regexp tweaks.
10086 (vhdl-template-component-inst): Handle empty library.
10087 (vhdl-template-type): Add template for 'enum' type.
10088 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
10089 Use vhdl-replace-string.
10090 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
10091 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
10092 (vhdl-speedbar-initialize): Update for above name change.
10093 (vhdl-compose-wire-components): Fix in handling of constants.
10094 (vhdl-error-regexp-emacs-alist): New variable.
10095 (vhdl-error-regexp-add-emacs): New function;
10096 adds support for new compile.el (Emacs 22+)
10097 (vhdl-generate-makefile-1): Change target order for single lib. units.
10098 Allow use of absolute file names.
10100 2013-05-16 Leo Liu <sdl.web@gmail.com>
10102 * simple.el (prog-indent-sexp): Indent enclosing defun.
10104 2013-05-15 Glenn Morris <rgm@gnu.org>
10106 * cus-start.el (show-trailing-whitespace): Move to editing basics.
10107 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
10108 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
10109 (whitespace-highlight): Move to whitespace group.
10111 * comint.el (comint-source):
10112 * pcmpl-linux.el (pcmpl-linux):
10113 * shell.el (shell-faces):
10114 * eshell/esh-opt.el (eshell-opt):
10115 * international/ccl.el (ccl): Remove empty custom groups.
10117 * completion.el (dynamic-completion-mode):
10118 * jit-lock.el (jit-lock-debug-mode):
10119 * minibuffer.el (completion-in-region-mode):
10120 * type-break.el (type-break-mode-line-message-mode)
10121 (type-break-query-mode):
10122 * emulation/tpu-edt.el (tpu-edt-mode):
10123 * progmodes/subword.el (global-subword-mode, global-superword-mode):
10124 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
10125 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
10127 * term/xterm.el (xterm): Change parent group to terminals.
10129 * master.el (master): Remove empty custom group.
10130 (master-mode): Remove unused :group argument.
10131 * textmodes/refill.el (refill): Remove empty custom group.
10132 (refill-mode): Remove unused :group argument.
10134 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
10136 * cus-dep.el: Provide a feature.
10137 (custom-make-dependencies): Ignore dotfiles (dir-locals).
10138 Don't mistakenly ignore files whose basenames match a basename
10139 from preloaded-file-list (eg cedet/ede/simple.el).
10140 Add a fallback method for getting :group.
10142 2013-05-15 Juri Linkov <juri@jurta.org>
10144 * isearch.el (isearch-char-by-name): Rename from
10145 `isearch-insert-char-by-name'. Doc fix.
10146 (isearch-forward): Mention `isearch-char-by-name' in
10147 the docstring. (Bug#13348)
10149 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
10150 `exit-minibuffer' instead of
10151 `isearch-nonincremental-exit-minibuffer'.
10152 (isearch-edit-string): Remove mention of
10153 `isearch-nonincremental-exit-minibuffer' from docstring.
10154 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
10155 (isearch-forward-exit-minibuffer)
10156 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
10158 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
10160 * loadup.el: Just use unversioned DOC.
10162 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
10163 literals as extending to EOB.
10164 (nxml-last-fontify-end): Remove unused variable.
10165 (nxml-after-change1): Use with-silent-modifications.
10166 (nxml-extend-after-change-region): Simplify.
10167 (nxml-extend-after-change-region1): Remove function.
10168 (nxml-after-change1): Don't adjust for dependent regions.
10169 (nxml-fontify-matcher): Simplify.
10170 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
10171 (xmltok-add-dependent): Remove function.
10172 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
10173 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
10174 (xmltok-scan-prolog-after-processing-instruction-open): Treat
10175 unclosed <[[, <?, comment, and other literals as extending to EOB.
10176 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
10177 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
10179 (rng-do-some-validation-1): Don't mark dependent regions.
10180 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
10181 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
10182 (nxml-clear-dependent-regions): Remove functions.
10183 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
10184 (nxml-ensure-scan-up-to-date):
10185 Don't clear&mark dependent regions.
10187 2013-05-15 Leo Liu <sdl.web@gmail.com>
10189 * progmodes/octave.el (octave-goto-function-definition):
10190 Improve and fix callers.
10192 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
10194 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
10195 the setter (bug#14387).
10197 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
10198 surrounding group (bug#14402).
10200 2013-05-14 Juri Linkov <juri@jurta.org>
10202 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
10205 2013-05-14 Glenn Morris <rgm@gnu.org>
10207 * progmodes/f90.el (f90-imenu-generic-expression):
10208 Fix typo in 2013-05-08 change. (Bug#14402)
10210 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
10212 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
10213 Remove signals for which replies are never received.
10215 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
10217 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
10218 (gdb-handler-alist, gdb-handler-number): Remove variables.
10219 (gdb-handler-list): New variable.
10220 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
10221 (gdb-pending-handler-p, gdb-handle-reply)
10222 (gdb-remove-all-pending-triggers): New functions.
10223 (gdb-discard-unordered-replies): New defcustom.
10224 (gdb-handler): New defstruct.
10225 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
10226 instead of gdb-pending-triggers. Update docstring.
10227 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
10228 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
10229 (gdb-var-update-handler, def-gdb-auto-update-trigger)
10230 (def-gdb-auto-update-handler, gdb-get-changed-registers)
10231 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
10232 (gdb-frame-handler): Pending triggers are now automatically managed.
10233 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
10235 (gdb-input): Automatically handles pending triggers. Update docstring.
10236 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
10237 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
10239 (gdb-done-or-error): Now use gdb-handle-reply.
10241 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
10243 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
10246 2013-05-14 Glenn Morris <rgm@gnu.org>
10248 * subr.el (user-emacs-directory-warning): New option.
10249 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
10251 2013-05-14 Leo Liu <sdl.web@gmail.com>
10253 * progmodes/octave.el (octave-font-lock-keywords): Fix error
10255 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
10256 (octave-font-lock-texinfo-comment): Fix invalid search bound
10257 error: wrong side of point.
10259 2013-05-14 Glenn Morris <rgm@gnu.org>
10261 * progmodes/flymake.el (flymake-xml-program): New option.
10262 (flymake-xml-init): Use it.
10264 * term/xterm.el: Provide a feature.
10266 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
10268 2013-05-13 Glenn Morris <rgm@gnu.org>
10270 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
10271 Add compat aliases as a hack workaround. (Bug#14384)
10273 2013-05-13 Leo Liu <sdl.web@gmail.com>
10275 * progmodes/octave.el (octave-indent-comment): Fix indentation for
10277 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
10279 (octave-comment-start-skip): Include %!.
10280 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
10282 2013-05-12 Leo Liu <sdl.web@gmail.com>
10284 * progmodes/octave.el (inferior-octave-startup): Store the value
10285 of __octave_srcdir__ for octave-source-directories.
10286 (inferior-octave-check-process): New function refactored out of
10287 inferior-octave-send-list-and-digest.
10288 (octave-source-directories)
10289 (octave-find-definition-filename-function): New variables.
10290 (octave-source-directories)
10291 (octave-find-definition-default-filename): New functions.
10292 (octave-find-definition): Improve to find functions implemented in C++.
10294 2013-05-12 Glenn Morris <rgm@gnu.org>
10296 * calendar/diary-lib.el (diary-outlook-format-1):
10297 Don't include dayname in the output. (Bug#14349)
10299 2013-05-11 Glenn Morris <rgm@gnu.org>
10301 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
10303 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
10304 Treat cc-provide like provide.
10306 2013-05-11 Kevin Ryde <user42@zip.com.au>
10308 * cus-dep.el (custom-make-dependencies):
10309 Use generated-autoload-load-name for the sake of files such
10310 such cedet/semantic/bovine/c.el, where the base file name
10311 is not in load-path. (Bug#5277)
10313 2013-05-11 Glenn Morris <rgm@gnu.org>
10315 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
10318 2013-05-11 Leo Liu <sdl.web@gmail.com>
10320 * progmodes/octave.el (octave-indent-comment): Improve.
10321 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
10322 (octave-eldoc-function-signatures, octave-eldoc-function):
10324 (octave-mode, inferior-octave-mode): Add eldoc support.
10326 2013-05-11 Richard Stallman <rms@gnu.org>
10328 * epa.el (epa-decrypt-file): Take output file name as argument
10329 and read it using `interactive'.
10331 2013-05-11 Leo Liu <sdl.web@gmail.com>
10333 * progmodes/octave.el (octave-beginning-of-line)
10334 (octave-end-of-line): Check before using up-list because it jumps
10335 out of more syntactic contructs since moving to smie.
10336 (octave-indent-comment): New function.
10337 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
10338 (octave-begin-keywords, octave-end-keywords)
10339 (octave-reserved-words, octave-smie-bnf-table)
10340 (octave-smie-rules): Add new keywords from Octave 3.6.4.
10342 2013-05-11 Glenn Morris <rgm@gnu.org>
10344 * faces.el (internal-face-x-get-resource):
10345 * frame.el (ns-display-monitor-attributes-list):
10346 * calc/calc-aent.el (math-to-radians-2):
10347 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
10350 * calc/calc-menu.el: Make it loadable in isolation.
10352 * net/eudcb-bbdb.el: Make it loadable without bbdb.
10353 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
10354 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
10355 (eudc-bbdb-query-internal): Require 'bbdb.
10357 * lpr.el (lpr-headers-switches):
10358 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
10360 * progmodes/sql.el (sql-login-params): Fix and improve :type.
10362 * emulation/edt-mapper.el: In batch mode, error rather than hang.
10364 * term.el (term-set-escape-char): Make it idempotent.
10366 2013-05-10 Leo Liu <sdl.web@gmail.com>
10368 * progmodes/octave.el (inferior-octave-completion-table):
10369 No longer a function and all uses changed. Use cache to speed up
10370 completion due to bug#11906.
10371 (octave-beginning-of-defun): Re-write to be more general.
10373 2013-05-10 Glenn Morris <rgm@gnu.org>
10375 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
10377 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
10379 * comint.el (comint-redirect-send-command-to-process): Use :around
10380 rather than :override for comint-redirect-filter.
10381 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
10382 Call it instead of comint-redirect-original-filter-function (which
10383 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
10385 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
10387 * frame.el (display-monitor-attributes-list): Add NS case.
10388 (ns-display-monitor-attributes-list): Declare.
10390 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
10392 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
10394 2013-05-09 Glenn Morris <rgm@gnu.org>
10396 * international/fontset.el (vertical-centering-font-regexp):
10397 Set standard-value.
10399 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
10401 * bookmark.el (bookmark-search-delay):
10402 * cus-start.el (vertical-centering-font-regexp):
10403 * ps-mule.el (ps-mule-font-info-database-default):
10404 * ps-print.el (ps-default-fg, ps-default-bg):
10405 * type-break.el (type-break-good-break-interval):
10406 * whitespace.el (whitespace-indentation-regexp)
10407 (whitespace-space-after-tab-regexp):
10408 * emacs-lisp/testcover.el (testcover-1value-functions)
10409 (testcover-noreturn-functions, testcover-progn-functions)
10410 (testcover-prog1-functions):
10411 * emulation/viper-init.el (viper-emacs-state-cursor-color):
10412 * eshell/em-glob.el (eshell-glob-translate-alist):
10413 * play/tetris.el (tetris-tty-colors):
10414 * progmodes/cpp.el (cpp-face-default-list):
10415 * progmodes/flymake.el (flymake-allowed-file-name-masks):
10416 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
10417 (idlwave-help-browser-generic-args):
10418 * progmodes/make-mode.el (makefile-special-targets-list):
10419 * progmodes/python.el (python-shell-virtualenv-path):
10420 * progmodes/verilog-mode.el (verilog-active-low-regexp)
10421 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
10422 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
10423 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
10424 * textmodes/reftex-vars.el (reftex-format-label-function):
10425 * textmodes/remember.el (remember-diary-file): Fix custom types.
10427 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
10430 2013-05-09 Leo Liu <sdl.web@gmail.com>
10432 * progmodes/octave.el (inferior-octave-completion-at-point):
10433 Restore file completion. (Bug#14300)
10434 (inferior-octave-startup): Fix incorrect highlighting for the
10437 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10439 * progmodes/ruby-mode.el: First cut at SMIE support.
10440 (ruby-use-smie): New var.
10441 (ruby-smie-grammar): New constant.
10442 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
10443 (ruby-smie--forward-token, ruby-smie--backward-token)
10444 (ruby-smie-rules): New functions.
10445 (ruby-mode-variables): Setup SMIE if applicable.
10447 2013-05-08 Eli Zaretskii <eliz@gnu.org>
10449 * simple.el (line-move-visual): Signal beginning/end of buffer
10450 only if vertical-motion moved less than it was requested. Avoids
10451 silly incorrect error messages when there are display strings with
10452 multiple newlines at EOL.
10454 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10456 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
10457 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
10458 (prolog-char-quote-workaround):
10459 * progmodes/cperl-mode.el (cperl-under-as-char):
10460 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
10462 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
10464 (vhdl-mode-syntax-table-init): Remove.
10466 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
10469 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
10471 (ld-script-font-lock-keywords):
10472 Change regexps to use things like \_< and \_>.
10474 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
10475 Change all regexps to use things like \_< and \_>.
10477 * progmodes/autoconf.el (autoconf-definition-regexp)
10478 (autoconf-font-lock-keywords, autoconf-current-defun-function):
10479 Handle a _ with symbol syntax.
10480 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
10482 * progmodes/ada-mode.el (ada-mode-abbrev-table):
10483 Consolidate declaration.
10484 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
10486 (ada-create-syntax-table): Remove.
10487 (ada-capitalize-word): Don't mess with the syntax of "_" since it
10488 already has the right syntax nowadays.
10489 (ada-goto-next-word): Don't change the syntax of "_".
10491 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
10494 2013-05-08 Sam Steingold <sds@gnu.org>
10496 * thingatpt.el (thing-at-point): Accept optional second argument
10497 NO-PROPERTIES to strip the text properties from the return value.
10498 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
10499 to `thing-at-point' instead of stripping the properties ourselves.
10500 Also, when `thing-at-point' fails to find a url, prepend "http://"
10501 to the filename at point on the assumption that the user is
10502 pointing at something like gnu.org/gnu.
10504 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
10506 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
10507 * faces.el (crm-separator):
10508 Silence byte-compiler.
10510 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
10511 (tool-bar-map): Remove unneeded defvars.
10513 2013-05-08 Leo Liu <sdl.web@gmail.com>
10515 Re-work a fix for bug#10994 based on Le Wang's patch.
10516 * ido.el (ido-remove-consecutive-dups): New helper.
10517 (ido-completing-read): Use it.
10518 (ido-chop): Revert fix for bug#10994.
10520 2013-05-08 Adam Spiers <emacs@adamspiers.org>
10522 * cus-edit.el (custom-save-variables):
10523 Pretty-print long values. (Bug#14187)
10525 2013-05-08 Glenn Morris <rgm@gnu.org>
10527 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
10528 (m4-mode-syntax-table): Init in the defvar.
10529 (m4-mode-abbrev-table): Let define-derived-mode define it.
10531 2013-05-08 Tom Tromey <tromey@redhat.com>
10533 * progmodes/m4-mode.el (m4-mode-syntax-table):
10534 Do not treat "_" as word constituent. (Bug#14167)
10536 2013-05-07 Glenn Morris <rgm@gnu.org>
10538 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
10539 Remove explicit eshell-isearch-cancel-map.
10541 * progmodes/f90.el (f90-smart-end-names): New option.
10542 (f90-smart-end): Doc fix.
10543 (f90-end-block-optional-name): New constant.
10544 (f90-block-match): Respect f90-smart-end-names.
10546 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
10548 * progmodes/octave.el (octave-smie-forward-token): Be more careful
10549 about implicit semi-colons (bug#14218).
10551 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
10553 * frame.el (display-monitor-attributes-list)
10554 (frame-monitor-attributes): New functions.
10556 2013-05-06 Leo Liu <sdl.web@gmail.com>
10558 * progmodes/octave.el (octave-syntax-propertize-function): Change
10559 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
10560 (octave-font-lock-keywords): Use octave-operator-regexp.
10561 (octave-completion-at-point): Rename from
10562 octave-completion-at-point-function.
10563 (inferior-octave-directory-tracker): Robustify.
10564 (octave-text-functions): Remove and fix its uses. No such things
10567 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10569 * emacs-lisp/trace.el (trace--display-buffer): New function.
10570 (trace-make-advice): Use it.
10572 2013-05-06 Juri Linkov <juri@jurta.org>
10574 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
10575 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
10577 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
10578 in the help string. (Bug#12985)
10580 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
10582 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
10584 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10586 * progmodes/perl-mode.el: Add support for here documents.
10587 (perl-syntax-propertize-function): Match here-doc markers.
10588 (perl-syntax-propertize-special-constructs): Find their end.
10589 (perl-imenu-generic-expression): Use [:alnum:].
10591 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
10592 (advice--add-function): Refresh the advice if already present
10595 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
10597 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
10599 2013-05-06 Glenn Morris <rgm@gnu.org>
10601 * w32-fns.el (w32-charset-info-alist): Declare.
10603 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
10604 of its defcustom properties.
10605 (eshell-cmpl-initialize): No need to load pcomplete.
10607 * generic-x.el: No need to require comint when compiling.
10609 * net/eudc-export.el: Make it loadable without bbdb.
10610 (top-level): Use require rather than load-library.
10611 (eudc-create-bbdb-record, eudc-bbdbify-phone)
10612 (eudc-batch-export-records-to-bbdb)
10613 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
10616 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10618 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
10619 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
10620 some tweaks, instead.
10622 2013-05-05 Leo Liu <sdl.web@gmail.com>
10624 * progmodes/octave.el (octave-font-lock-keywords)
10625 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
10626 (inferior-octave-send-list-and-digest): Improve error message.
10627 (octave-mode, inferior-octave-mode): Use setq-local.
10628 (octave-help): Set info-lookup-mode.
10630 2013-05-05 Richard Stallman <rms@gnu.org>
10632 * vc/compare-w.el (compare-windows-whitespace):
10633 Treat no-break space as whitespace.
10635 * mail/rmailsum.el (rmail-summary-rmail-update):
10636 Detect empty summary and don't change selected message.
10637 (rmail-summary-goto-msg): Likewise.
10639 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
10640 Doc fixes, rename args.
10642 2013-05-05 Alan Mackenzie <acm@muc.de>
10644 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
10646 2013-05-05 Juri Linkov <juri@jurta.org>
10648 * info.el (Info-read-subfile): Use (point-min) instead of (point)
10649 to not add the length of the summary segment to the return value.
10652 2013-05-05 Leo Liu <sdl.web@gmail.com>
10654 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
10655 (inferior-octave-output-filter): Remove.
10656 (octave-send-region, inferior-octave-startup): Fix callers.
10657 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
10658 (octave-binary-file-extensions): New user variable.
10659 (octave-find-definition): Confirm if opening binary files.
10660 (octave-help-file): Use octave-find-definition to get the binary
10662 (octave-help): Adjust for octave-help-file change.
10664 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
10666 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
10667 Merge the two entries that handle function definitions.
10668 (pascal--syntax-propertize): New const.
10669 (pascal-mode): Use it. Use setq-local.
10671 2013-05-04 Glenn Morris <rgm@gnu.org>
10673 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
10674 (diary-from-outlook): Respect diary-from-outlook-function.
10676 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
10678 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
10679 Move the declaration from C.
10680 (read-minibuffer, eval-minibuffer): Move from C.
10681 (completion-setup-function): Avoid minibuffer-completion-contents.
10683 2013-05-03 Leo Liu <sdl.web@gmail.com>
10685 * progmodes/octave.el (octave-font-lock-keywords): Do not
10686 dehighlight 'end' in comments or strings.
10687 (octave-completing-read, octave-goto-function-definition):
10689 (octave-help-buffer): New user variable.
10690 (octave-help-file, octave-help-function): New button types.
10691 (octave-help): New command and bind it to C-h ;.
10692 (octave-find-definition): New command and bind it to M-.
10693 (user-error): Alias to error if not defined.
10695 2013-05-02 Leo Liu <sdl.web@gmail.com>
10697 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
10699 (octave-font-lock-keywords): Include [ and {.
10701 2013-05-02 Leo Liu <sdl.web@gmail.com>
10703 * progmodes/octave.el (inferior-octave-startup-file): Change default.
10704 (inferior-octave): Remove calling comint-mode and return the buffer.
10705 (inferior-octave-startup): Cosmetic changes.
10707 2013-05-02 Leo Liu <sdl.web@gmail.com>
10709 * progmodes/octave.el (octave-syntax-propertize-function):
10710 Include the case when ' is at line beginning. (Bug#14336)
10712 2013-05-02 Glenn Morris <rgm@gnu.org>
10714 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
10715 * desktop.el (vc-dir-mode): Just autoload it here.
10717 2013-05-02 Alan Mackenzie <acm@muc.de>
10719 Eliminate variable c-standard-font-lock-fontify-region-function.
10720 * progmodes/cc-mode.el
10721 (c-standard-font-lock-fontify-region-function): Remove.
10722 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
10724 2013-05-01 Leo Liu <sdl.web@gmail.com>
10726 * progmodes/octave.el: Compatible with older emacs-24 releases.
10727 (inferior-octave-has-built-in-variables): Remove. Built-in
10728 variables were removed from Octave in 2007.
10729 (inferior-octave-startup): Fix uses.
10730 (comint-line-beginning-position): Remove compatibility code for
10733 2013-05-01 Juri Linkov <juri@jurta.org>
10735 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
10737 2013-05-01 Juri Linkov <juri@jurta.org>
10739 * comint.el (comint-previous-matching-input): Don't print message
10740 "History item: %d" when `isearch-mode' is active.
10741 (comint-history-isearch-message): Print message "History item: %d"
10742 when `comint-input-ring-index' is not empty and this function is
10743 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
10745 2013-05-01 Leo Liu <sdl.web@gmail.com>
10747 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
10748 definitions. Use completion-at-point to insert keywords.
10749 (octave-abbrev-start): Remove.
10750 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
10752 2013-04-30 Leo Liu <sdl.web@gmail.com>
10754 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
10757 2013-04-30 Alan Mackenzie <acm@muc.de>
10759 Handle arbitrarily long C++ member initialisation lists.
10760 * progmodes/cc-engine.el (c-back-over-member-initializers):
10762 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
10763 (most) member init lists.
10765 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10767 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
10770 2013-04-30 Leo Liu <sdl.web@gmail.com>
10772 * progmodes/octave.el (octave-variables): Remove. No builtin
10773 variables any more. All converted to functions.
10774 (octave-font-lock-keywords, octave-completion-at-point-function):
10776 (octave-font-lock-texinfo-comment): New user variable.
10777 (octave-texinfo-font-lock-keywords): New variable for texinfo
10779 (octave-function-comment-block): New face.
10780 (octave-font-lock-texinfo-comment): New function.
10781 (octave-mode): Font lock texinfo comment block.
10783 2013-04-29 Leo Liu <sdl.web@gmail.com>
10785 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
10786 indexing expression.
10787 (octave-continuation-string): Do not use \.
10788 (inferior-octave-complete-impossible): Remove.
10789 (inferior-octave-completion-table)
10790 (inferior-octave-completion-at-point): Remove its uses.
10791 (inferior-octave-startup): completion_matches was introduced to
10792 Octave in 1996 so safe to assume it.
10793 (octave-function-file-comment): Improve to follow how Octave does it.
10794 (octave-update-function-file-comment): Tweak.
10796 2013-04-29 Leo Liu <sdl.web@gmail.com>
10798 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
10799 (inferior-octave-startup): Remove inferior-octave-startup-hook.
10800 (octave-function-file-comment): Fix typo.
10801 (octave-sync-function-file-names): Use read-char-choice.
10803 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
10805 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
10806 to t for the less important warnings.
10808 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
10810 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
10812 2013-04-27 Glenn Morris <rgm@gnu.org>
10814 * vc/log-view.el (log-view-current-entry):
10815 Treat "---" separator lines as part of the following rev. (Bug#14169)
10817 2013-04-27 Juri Linkov <juri@jurta.org>
10819 * subr.el (read-number): Doc fix about using it by interactive
10820 code letter `n'. (Bug#14254)
10822 2013-04-27 Juri Linkov <juri@jurta.org>
10824 * desktop.el (desktop-auto-save-timeout): New option.
10825 (desktop-file-checksum): New variable.
10826 (desktop-save): Add optional arg `auto-save' and don't auto-save
10827 if nothing changed.
10828 (desktop-auto-save-timer): New variable.
10829 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
10830 (after-init-hook): Call `desktop-auto-save-set-timer'.
10831 Suggested by Reuben Thomas <rrt@sc3d.org> in
10832 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
10834 2013-04-27 Leo Liu <sdl.web@gmail.com>
10836 * progmodes/octave.el (octave-function-file-p)
10837 (octave-skip-comment-forward, octave-function-file-comment)
10838 (octave-update-function-file-comment): New functions.
10839 (octave-mode-map): Bind C-c ; to
10840 octave-update-function-file-comment.
10841 (octave-mode-menu): Add octave-update-function-file-comment.
10842 (octave-mode, inferior-octave-mode): Fix doc-string.
10843 (octave-insert-defun): Conform to Octave's coding convention.
10846 * files.el (basic-save-buffer): Don't let errors in
10847 before-save-hook prevent saving buffer.
10849 2013-04-20 Roland Winkler <winkler@gnu.org>
10851 * faces.el (read-face-name): Use completing-read if arg multiple
10854 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
10856 * ls-lisp.el (ls-lisp-insert-directory): If no files are
10857 displayed, move point to after the totals line.
10858 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
10861 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
10863 * emacs-lisp/package.el (package-autoload-ensure-default-file):
10864 Add current dir to the load-path.
10865 (package-generate-autoloads): Don't rely on
10866 autoload-ensure-default-file.
10868 2013-04-26 Reuben Thomas <rrt@sc3d.org>
10870 * textmodes/remember.el (remember-store-in-files): Document that
10871 the file name format is passed to `format-time-string'.
10873 2013-04-26 Leo Liu <sdl.web@gmail.com>
10875 * progmodes/octave.el (octave-sync-function-file-names): New function.
10876 (octave-mode): Use it in before-save-hook.
10878 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
10880 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
10883 * progmodes/octave.el (octave-smie-forward-token): Properly skip
10884 \n and comment, even if it's not an implicit ; (bug#14218).
10886 2013-04-26 Glenn Morris <rgm@gnu.org>
10888 * subr.el (read-number): Once more use `read' rather than
10889 `string-to-number', to trap non-numeric input. (Bug#14254)
10891 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
10893 * emacs-lisp/syntax.el (syntax-propertize-multiline):
10894 Use `syntax-multiline' text property consistently instead of
10895 `font-lock-multiline'. (Bug#14237)
10897 2013-04-26 Glenn Morris <rgm@gnu.org>
10899 * emacs-lisp/shadow.el (list-load-path-shadows):
10900 No longer necessary to check for duplicate simple.el, since
10901 2012-07-07 change to init_lread to not include installation lisp
10902 directories in load-path when running uninstalled. (Bug#14270)
10904 2013-04-26 Leo Liu <sdl.web@gmail.com>
10906 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
10907 (octave-mode, inferior-octave-mode): Use setq-local.
10908 (octave-not-in-string-or-comment-p): Rename to
10909 octave-in-string-or-comment-p.
10910 (octave-in-comment-p, octave-in-string-p)
10911 (octave-in-string-or-comment-p): Replace defsubst with defun.
10913 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
10915 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
10917 2013-04-25 Bastien Guerry <bzg@gnu.org>
10919 * textmodes/remember.el (remember-data-directory)
10920 (remember-directory-file-name-format): Fix custom types.
10922 2013-04-25 Leo Liu <sdl.web@gmail.com>
10924 * progmodes/octave.el (octave-completion-at-point-function):
10925 Make use of inferior octave process.
10926 (octave-initialize-completions): Remove.
10927 (inferior-octave-completion-table): New function.
10928 (inferior-octave-completion-at-point): Use it.
10929 (octave-completion-alist): Remove.
10931 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10933 * progmodes/opascal.el: Use font-lock and syntax-propertize.
10934 (opascal-mode-syntax-table): New var.
10935 (opascal-literal-kind, opascal-is-literal-end)
10936 (opascal-literal-token-at): Rewrite.
10937 (opascal--literal-start-re, opascal-font-lock-keywords)
10938 (opascal--syntax-propertize): New constants.
10939 (opascal-font-lock-defaults): Adjust.
10940 (opascal-mode): Use them. Set comment-<foo> variables as well.
10941 (delphi-comment-face, opascal-comment-face, delphi-string-face)
10942 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
10943 (delphi-other-face, opascal-other-face): Remove face variables.
10944 (opascal-save-state): Remove macro.
10945 (opascal-fontifying-progress-step): Remove constant.
10946 (opascal--ignore-changes): Remove var.
10947 (opascal-set-token-property, opascal-parse-next-literal)
10948 (opascal-is-stable-literal, opascal-complete-literal)
10949 (opascal-is-literal-start, opascal-face-of)
10950 (opascal-parse-region, opascal-parse-region-until-stable)
10951 (opascal-fontify-region, opascal-after-change)
10952 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
10953 (opascal-debug-parse-region, opascal-debug-parse-window)
10954 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
10955 (opascal-debug-fontify-buffer): Remove.
10956 (opascal-debug-mode-map): Adjust accordingly.
10958 2013-04-25 Leo Liu <sdl.web@gmail.com>
10960 Merge octave-mod.el and octave-inf.el into octave.el with some
10962 * progmodes/octave.el: New file renamed from octave-mod.el.
10963 * progmodes/octave-inf.el: Merged into octave.el.
10964 * progmodes/octave-mod.el: Renamed to octave.el.
10966 2013-04-25 Tassilo Horn <tsdh@gnu.org>
10968 * textmodes/reftex-vars.el
10969 (reftex-label-ignored-macros-and-environments): New defcustom.
10971 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
10973 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10975 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
10976 (smie-indent-keyword): Improve the check to ensure that the next
10977 comment is really on the same line.
10978 (smie-indent-comment): Don't align with a subsequent closer (or eob).
10980 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
10981 semi-colons if the line is not otherwise empty (bug#14218).
10983 2013-04-25 Glenn Morris <rgm@gnu.org>
10985 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
10987 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
10989 * progmodes/opascal.el (opascal-set-token-property): Rename from
10990 opascal-set-text-properties and only set `token' (bug#14134).
10991 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
10992 (opascal-literal-text-properties): Remove.
10993 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
10996 2013-04-24 Reuben Thomas <rrt@sc3d.org>
10998 * textmodes/remember.el (remember-handler-functions): Add an
10999 option for a new handler `remember-store-in-files'.
11000 (remember-data-directory, remember-directory-file-name-format):
11002 (remember-store-in-files): New function to store remember notes
11003 as separate files within a directory.
11005 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
11007 * progmodes/compile.el (compilation-next-error-function):
11008 Pass "formats" to compilation-find-file (bug#11777).
11010 2013-04-24 Glenn Morris <rgm@gnu.org>
11012 * vc/vc-bzr.el (vc-bzr-print-log):
11013 * vc/vc-hg.el (vc-hg-print-log):
11014 * vc/vc-svn.el (vc-svn-print-log):
11015 Fix START-REVISION with LIMIT != 1. (Bug#14168)
11017 * vc/vc-bzr.el (vc-bzr-print-log):
11018 * vc/vc-cvs.el (vc-cvs-print-log):
11019 * vc/vc-git.el (vc-git-print-log):
11020 * vc/vc-hg.el (vc-hg-print-log):
11021 * vc/vc-mtn.el (vc-mtn-print-log):
11022 * vc/vc-rcs.el (vc-rcs-print-log):
11023 * vc/vc-sccs.el (vc-sccs-print-log):
11024 * vc/vc-svn.el (vc-svn-print-log):
11025 * vc/vc.el (vc-print-log-internal): Doc fixes.
11027 2013-04-23 Glenn Morris <rgm@gnu.org>
11029 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
11030 Remove venerable code attempting to avoid substitute-command-keys.
11032 2013-04-23 Tassilo Horn <tsdh@gnu.org>
11034 * textmodes/reftex-vars.el (reftex-label-regexps):
11035 Call `reftex-compile-variables' after changes to this variable.
11037 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
11039 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
11040 Use lexical-binding.
11041 (jit-lock-force-redisplay): Use markers, check buffer's continued
11042 existence and beware narrowed buffers.
11043 (jit-lock-fontify-now): Adjust call accordingly.
11045 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
11047 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
11048 to avoid misleading the user.
11050 2013-04-22 Leo Liu <sdl.web@gmail.com>
11052 * info-look.el: Prefer latex2e.info. (Bug#14240)
11054 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
11056 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
11058 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
11059 * net/tramp.el (tramp-call-process): ... here.
11060 (tramp-set-completion-function, tramp-parse-putty):
11061 * net/tramp-adb.el (tramp-adb-execute-adb-command):
11062 * net/tramp-gvfs.el (tramp-gvfs-send-command):
11063 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
11064 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
11065 (tramp-call-local-coding-command): Use `tramp-call-process'
11066 instead of `tramp-compat-call-process'.
11068 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
11069 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
11070 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
11071 (tramp-find-inline-compress): Improve traces.
11072 (tramp-maybe-send-script): Check for Perl binary.
11073 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
11075 2013-04-22 Daiki Ueno <ueno@gnu.org>
11077 * epg.el (epg-context-pinentry-mode): New function.
11078 (epg-context-set-pinentry-mode): New function.
11079 (epg--start): Pass --pinentry-mode option to gpg command.
11081 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
11083 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
11084 `comint-dynamic-complete' is obsolete since 24.1, replaced by
11085 `completion-at-point'. (Bug#13774)
11087 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
11088 default key binding for `describe-distribution' has been moved to
11089 `C-h C-o'. (Bug#13970)
11091 2013-04-21 Glenn Morris <rgm@gnu.org>
11093 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
11095 (vc-print-log): Clarify interactive prompt.
11097 2013-04-20 Glenn Morris <rgm@gnu.org>
11099 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
11100 No longer include timestamp etc information.
11102 2013-04-20 Roland Winkler <winkler@gnu.org>
11104 * faces.el (read-face-name): Bug fix, return just one face if arg
11105 multiple is nil. (Bug#14209)
11107 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11109 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
11110 (remove-function): Autoload.
11112 * comint.el (comint-redirect-original-filter-function): Remove.
11113 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
11114 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
11115 (vc-cvs-annotate-command):
11116 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
11117 * progmodes/prolog.el (prolog-consult-compile):
11118 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
11119 Use add/remove-function instead.
11120 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
11121 (gud-tooltip-process-output, gud-tooltip-tips):
11122 Use add/remove-function instead.
11123 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
11124 (scheme-interaction-mode, exit-scheme-interaction-mode):
11125 Use add/remove-function instead.
11127 * vc/vc-dispatcher.el: Use lexical-binding.
11128 (vc--process-sentinel): Rename from vc-process-sentinel.
11129 Change last arg to be the code to run. Don't use vc-previous-sentinel
11130 and vc-sentinel-commands any more.
11131 (vc-exec-after): Allow code to be a function. Use add/remove-function.
11132 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
11134 2013-04-19 Masatake YAMATO <yamato@redhat.com>
11136 * progmodes/sh-script.el (sh-imenu-generic-expression):
11137 Handle function names with a single character. (Bug#14111)
11139 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
11141 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
11142 for subroutines defined in an eval (bug#14182).
11144 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11146 * bookmark.el (bookmark-completing-read): Improve handling of empty
11147 string (bug#14176).
11149 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
11151 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
11153 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
11155 New faster Imenu implementation (bug#14058).
11156 * progmodes/python.el:
11157 (python-imenu-prev-index-position):
11158 (python-imenu-format-item-label-function)
11159 (python-imenu-format-parent-item-label-function)
11160 (python-imenu-format-parent-item-jump-label-function):
11162 (python-imenu-format-item-label)
11163 (python-imenu-format-parent-item-label)
11164 (python-imenu-format-parent-item-jump-label)
11165 (python-imenu--put-parent, python-imenu--build-tree)
11166 (python-imenu-create-index, python-imenu-create-flat-index)
11167 (python-util-popn): New functions.
11168 (python-mode): Set imenu-create-index-function to
11169 python-imenu-create-index.
11171 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
11173 * winner.el (winner-active-region): Use region-active-p, activate-mark
11174 and deactivate-mark (bug#14225).
11176 * simple.el (deactivate-mark): Don't inline it.
11178 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
11180 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
11182 2013-04-18 Tassilo Horn <tsdh@gnu.org>
11184 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
11185 file extensions from the archive-mode entry in order to prefer
11186 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
11188 2013-04-18 Leo Liu <sdl.web@gmail.com>
11190 * bindings.el (help-event-list): Add ?\?.
11192 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
11194 * subr.el (with-wrapper-hook): Declare obsolete.
11195 * simple.el (filter-buffer-substring-function): New hook.
11196 (filter-buffer-substring): Use it.
11197 (filter-buffer-substring-functions): Mark obsolete.
11198 * minibuffer.el (completion-in-region-function): New hook.
11199 (completion-in-region): Use it.
11200 (completion-in-region-functions): Mark obsolete.
11201 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
11202 * abbrev.el (abbrev-expand-function): New hook.
11203 (expand-abbrev): Use it.
11204 (abbrev-expand-functions): Mark obsolete.
11205 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
11206 and :filter-return.
11208 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
11210 * progmodes/python.el (python-nav--syntactically): Fix cornercases
11211 and do not care about match data.
11213 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
11215 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
11216 completion tables when completing error conditions and
11217 `declare' arguments.
11218 (lisp-complete-symbol, field-complete): Mark as obsolete.
11219 (check-parens): Unmatched parens are user errors.
11220 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
11222 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
11224 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
11225 command changed buffer (ie. `flyspell-pre-buffer' is not current
11226 buffer), which prevents making decisions based on invalid value of
11227 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
11228 cause an error when `flyspell-pre-point' was nil after switching
11230 (flyspell-post-command-hook): No longer needs to change buffers when
11231 checking pre-word. While at it remove unnecessary progn.
11233 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
11235 * textmodes/ispell.el (ispell-add-per-file-word-list):
11236 Fix `flyspell-correct-word-before-point' error when accepting
11237 words and `coment-padding' is an integer by using
11238 `comment-normalize-vars' (Bug #14214).
11240 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
11242 New defun movement commands.
11243 * progmodes/python.el (python-nav--syntactically)
11244 (python-nav--forward-defun, python-nav-backward-defun)
11245 (python-nav-forward-defun): New functions.
11247 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
11249 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
11250 (python-syntax-context): Use named compiler-macro for backwards
11251 compatibility with Emacs 24.x.
11253 2013-04-17 Leo Liu <sdl.web@gmail.com>
11255 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
11256 octave-hide-process-buffer.
11258 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
11260 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
11263 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
11265 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
11266 Fix adjustment of offset when receiving incomplete responses from GDB
11269 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
11271 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
11272 python-mode-abbrev-table.
11273 (python-skeleton-define): Adjust accordingly.
11274 (python-mode-abbrev-table): New table that inherits from it so that
11275 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
11277 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
11278 (abbrev-symbol): Use it.
11279 (abbrev--before-point): Use it since we already handle inheritance.
11281 2013-04-16 Leo Liu <sdl.web@gmail.com>
11283 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
11284 binding to info-lookup-symbol.
11286 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
11288 * minibuffer.el (completion--twq-all):
11289 * term/ns-win.el (ns-initialize-window-system):
11290 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
11292 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
11294 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
11297 * doc-view.el (doc-view-start-process): Handle url-handler directories.
11299 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
11301 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
11302 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
11304 (ruby-end-of-defun): Remove the unused arg, change the docstring
11305 to reflect that this function is only used as the value of
11306 `end-of-defun-function'.
11307 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
11308 to reflect an earlier change that beginning/end-of-defun functions
11309 jump between methods in a class definition, as well as top-level
11312 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11314 * minibuffer.el (minibuffer-complete): Don't just scroll
11315 a *Completions* that's been iconified.
11316 (minibuffer-force-complete): Make sure repetitions do cycle when going
11317 through completion-in-region -> minibuffer-complete.
11319 2013-04-15 Alan Mackenzie <acm@muc.de>
11321 Correct the placement of c-cpp-delimiters when there're #s not at
11324 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
11325 place a submatch around the #.
11326 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
11327 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
11330 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11332 * emacs-lisp/nadvice.el: Properly test names when adding advice.
11333 (advice--member-p): New arg `name'.
11334 (advice--add-function, advice-member-p): Use it (bug#14202).
11336 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
11338 Reformulate java imenu-generic-expression.
11339 The old expression contained ill formed regexps.
11341 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
11342 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
11343 (cc-imenu-java-method-arg-regexp): New defconsts.
11344 (cc-imenu-java-build-type-args-regex): New defun.
11345 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
11346 handling of spaces in the regexp.
11348 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11350 * textmodes/ispell.el (ispell-command-loop): Remove
11351 flyspell highlight of a word when ispell accepts it (bug #14178).
11353 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
11355 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
11356 uses code from the previous `ange-ftp-run-real-handler'.
11357 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
11358 only in case that function exist. This is needed for proper
11359 unloading of Tramp.
11361 2013-04-15 Tassilo Horn <tsdh@gnu.org>
11363 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
11365 * textmodes/reftex.el (reftex-compile-variables): Use it.
11367 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
11369 * files.el (normal-mode): Only use default major-mode if no other mode
11372 * emacs-lisp/trace.el (trace-values): New function.
11374 * files.el: Allow : in local variables (bug#14089).
11375 (hack-local-variable-regexp): New var.
11376 (hack-local-variables-prop-line, hack-local-variables): Use it.
11378 2013-04-13 Roland Winkler <winkler@gnu.org>
11380 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
11381 data before it gets modified by bibtex-beginning-of-entry.
11383 2013-04-13 Roland Winkler <winkler@gnu.org>
11385 * textmodes/bibtex.el (bibtex-url): Doc fix.
11387 2013-04-13 Roland Winkler <winkler@gnu.org>
11389 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
11390 does not visit a BibTeX file, exclude it from the list of buffers
11391 returned by bibtex-initialize.
11393 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
11395 * window.el (split-window): Remove interactive form, since as a
11396 command this function is a special case of split-window-below.
11397 Correct doc string.
11399 2013-04-12 Roland Winkler <winkler@gnu.org>
11401 * faces.el (read-face-name): Do not override value of arg default.
11402 Allow single faces and strings as default values. Remove those
11403 elements from return value that are not faces.
11404 (describe-face): Simplify.
11405 (face-at-point): New optional args thing and multiple so that this
11406 function can provide the same functionality previously provided by
11408 (make-face-bold, make-face-unbold, make-face-italic)
11409 (make-face-unitalic, make-face-bold-italic, invert-face)
11410 (modify-face, read-face-and-attribute): Use face-at-point.
11412 * cus-edit.el (customize-face, customize-face-other-window)
11413 * cus-theme.el (custom-theme-add-face)
11414 * face-remap.el (buffer-face-set)
11415 * facemenu.el (facemenu-set-face): Use face-at-point.
11417 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
11419 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
11421 2013-04-10 Tassilo Horn <tsdh@gnu.org>
11423 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
11424 off leading { and trailing } from field values.
11426 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
11428 * emacs-lisp/timer.el (timer--check): New function.
11429 (timer--time, timer-set-function, timer-event-handler): Use it.
11430 (timer-set-idle-time): Simplify.
11431 (timer--activate): CSE.
11432 (timer-event-handler): Give more info in error message.
11433 (internal-timer-start-idle): New function, moved from C.
11435 * mpc.el (mpc-proc): Add `restart' argument.
11436 (mpc-proc-cmd): Use it.
11437 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
11438 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
11441 2013-04-10 Masatake YAMATO <yamato@redhat.com>
11443 * progmodes/sh-script.el: Implement `sh-mode' own
11444 `add-log-current-defun-function' (bug#14112).
11445 (sh-current-defun-name): New function.
11446 (sh-mode): Use the function.
11448 2013-04-09 Bastien Guerry <bzg@gnu.org>
11450 * simple.el (choose-completion-string): Fix docstring (bug#14163).
11452 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
11454 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
11456 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
11459 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
11461 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
11464 2013-04-07 Leo Liu <sdl.web@gmail.com>
11466 * pcmpl-x.el: New file.
11468 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
11470 Do not set x-display-name until X connection is established.
11471 This is needed to prevent from weird situation described at
11472 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
11473 * frame.el (make-frame): Set x-display-name after call to
11474 window system initialization function, not before.
11475 * term/x-win.el (x-initialize-window-system): Add optional
11476 display argument and use it.
11477 * term/w32-win.el (w32-initialize-window-system):
11478 * term/ns-win.el (ns-initialize-window-system):
11479 * term/pc-win.el (msdos-initialize-window-system):
11480 Add compatible optional display argument.
11482 2013-04-06 Eli Zaretskii <eliz@gnu.org>
11484 * files.el (normal-backup-enable-predicate): On MS-Windows and
11485 MS-DOS compare truenames of temporary-file-directory and of the
11486 file, so that 8+3 aliases (usually found in $TEMP on Windows)
11487 don't fail comparison by compare-strings. Also, compare file
11488 names case-insensitively on MS-Windows and MS-DOS.
11490 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
11492 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
11493 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
11495 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
11497 * whitespace.el (whitespace-color-on, whitespace-color-off):
11498 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
11500 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
11502 * ispell.el (ispell-set-spellchecker-params):
11503 Really set `ispell-args' for all equivs.
11505 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
11507 * ido.el (ido-completions): Use extra elements of ido-decorations
11509 (ido-decorations): Update docstring.
11511 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
11513 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
11514 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
11515 nil during initialization, in order not to miss changes since the
11516 file was opened. (Bug#14140)
11518 2013-04-05 Leo Liu <sdl.web@gmail.com>
11520 * kmacro.el (kmacro-call-macro): Fix bug#14135.
11522 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
11524 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
11526 2013-04-04 Glenn Morris <rgm@gnu.org>
11528 * electric.el (electric-pair-inhibit-predicate): Add :version.
11530 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
11532 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
11533 when a package is required several times (bug#14082).
11535 2013-04-04 Roland Winkler <winkler@gnu.org>
11537 * faces.el (read-face-name): Behave as promised by the docstring.
11538 Assume that arg default is a list of faces.
11539 (describe-face): Call read-face-name with list of default faces.
11541 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11543 * bookmark.el: Fix deletion of bookmarks (bug#13972).
11544 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
11545 (bookmark-bmenu-execute-deletions): Only skip first line if it's
11547 (bookmark-exit-hook-internal): Save even if list is empty.
11549 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
11551 * emacs-lisp/package.el (package-pinned-packages): New var.
11552 (package--add-to-archive-contents): Obey it (bug#14118).
11554 2013-04-03 Alan Mackenzie <acm@muc.de>
11556 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
11557 Also adapt to the new values of element 7 of a parse state.
11559 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
11560 parameter `not-in-delimiter'. Handle being inside comment opener.
11561 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
11562 character in case we're typing a '*' after a '/'.
11563 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
11564 instead by passing the parameter to c-state-pp-to-literal.
11566 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
11567 for elt. 7 of a parse state.
11569 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
11571 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
11572 * international/latin1-disp.el, international/mule-util.el:
11573 * language/cyril-util.el, language/european.el, language/ind-util.el:
11574 * language/lao-util.el, language/thai.el, language/tibet-util.el:
11575 * language/tibetan.el, language/viet-util.el:
11576 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
11578 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
11580 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
11581 (electric-pair-post-self-insert-function): Use it.
11582 (electric-pair-default-inhibit): New function, extracted from
11583 electric-pair-post-self-insert-function.
11585 2013-03-31 Roland Winkler <winkler@gnu.org>
11587 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
11589 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
11591 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
11593 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
11595 Un-indent after "pass" and "return" statements (Bug#13888)
11596 * progmodes/python.el (python-indent-block-enders): New var.
11597 (python-indent-calculate-indentation): Use it.
11599 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
11601 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
11602 defun. Defining it as defalias could introduce too eager
11603 byte-compiler optimization. (Bug#14030)
11605 2013-03-30 Chong Yidong <cyd@gnu.org>
11607 * iswitchb.el (iswitchb-read-buffer): Fix typo.
11609 2013-03-30 Leo Liu <sdl.web@gmail.com>
11611 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
11612 (kmacro-execute-from-register): Pass the keyboard macro to
11613 kmacro-call-macro or repeating won't work correctly.
11615 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
11617 * progmodes/subword.el: Back to using `forward-symbol'.
11619 * subr.el (forward-whitespace, forward-symbol)
11620 (forward-same-syntax): Move from thingatpt.el.
11622 2013-03-29 Leo Liu <sdl.web@gmail.com>
11624 * kmacro.el (kmacro-to-register): New command.
11625 (kmacro-execute-from-register): New function.
11626 (kmacro-keymap): Bind to 'x'. (Bug#14071)
11628 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
11630 * mpc.el: Use defvar-local and setq-local.
11631 (mpc--proc-connect): Connection failures are not bugs.
11632 (mpc-mode-map): `follow-link' only applies to the buffer's content.
11633 (mpc-volume-map): Bind to the up-events.
11635 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
11637 * progmodes/subword.el (superword-mode): Use `forward-sexp'
11638 instead of `forward-symbol'.
11640 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
11642 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
11643 (edebug--recursive-edit): Use it.
11644 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
11645 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
11647 2013-03-28 Leo Liu <sdl.web@gmail.com>
11649 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
11651 2013-03-27 Eli Zaretskii <eliz@gnu.org>
11653 * facemenu.el (list-colors-callback): New defvar.
11654 (list-colors-redisplay): New function.
11655 (list-colors-display): Install list-colors-redisplay as the
11656 revert-buffer-function. (Bug#14063)
11658 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
11660 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
11661 and suffixes don't overlap (bug#14061).
11663 * case-table.el: Use lexical-binding.
11664 (case-table-get-table): New function.
11665 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
11667 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
11669 * progmodes/subword.el: Add `superword-mode' to do word motion
11670 over symbol_words (parallels and leverages `subword-mode' which
11671 does word motion inside MixedCaseWords).
11673 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
11675 * eshell/em-unix.el: Move su and sudo to...
11676 * eshell/em-tramp.el: ...Eshell tramp module.
11678 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
11680 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
11681 Change return value to be a sexp. Delay `get-buffer' to after
11682 restoring the desktop (bug#13951).
11684 2013-03-26 Leo Liu <sdl.web@gmail.com>
11686 * register.el: Move semantic tag handling back to
11687 cedet/semantic/senator.el. (Bug#14052)
11689 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
11691 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
11692 into the prompt either (bug#13963).
11694 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
11696 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
11697 part of "(error-foo)".
11699 2013-03-24 Juri Linkov <juri@jurta.org>
11701 * replace.el (list-matching-lines-prefix-face): New defcustom.
11702 (occur-1): Pass `list-matching-lines-prefix-face' to the function
11703 `occur-engine' if `face-differs-from-default-p' returns t.
11704 (occur-engine): Add `,' inside backquote construct to evaluate
11705 `prefix-face'. Propertize the prefix with the `prefix-face' face.
11706 Pass `prefix-face' to the functions `occur-context-lines' and
11707 `occur-engine-add-prefix'.
11708 (occur-engine-add-prefix, occur-context-lines): Add optional arg
11709 `prefix-face' and propertize the prefix with `prefix-face'.
11712 2013-03-24 Leo Liu <sdl.web@gmail.com>
11714 * nxml/rng-valid.el (rng-validate-while-idle)
11715 (rng-validate-quick-while-idle): Guard against deleted buffer.
11718 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
11719 is the last entry in kill-buffer-hook.
11721 * files.el (kill-buffer-hook): Doc fix.
11723 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
11725 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
11726 Make it safe-local.
11728 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
11730 2013-03-23 Leo Liu <sdl.web@gmail.com>
11732 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
11735 * nxml/rng-valid.el (rng-validate-mode)
11736 (rng-after-change-function, rng-do-some-validation):
11737 * nxml/rng-maint.el (rng-validate-buffer):
11738 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
11739 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
11740 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
11741 (nxml-extend-after-change-region): Use with-silent-modifications.
11743 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
11746 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
11747 (rng-next-error-1, rng-previous-error-1): Do not let-bind
11748 timer-idle-list. (Bug#13999)
11750 2013-03-23 Juri Linkov <juri@jurta.org>
11752 * info.el (info-index-match): New face.
11753 (Info-index, Info-apropos-matches): Add a nested subgroup to the
11754 main pattern and add text properties with the new face to matches
11755 in index entries relative to the beginning of the index entry.
11758 2013-03-21 Eric Ludlam <zappo@gnu.org>
11760 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
11761 Inhibit read only while inserting objects.
11763 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
11765 * progmodes/cfengine.el: Update docs to mention
11766 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
11767 symbol motion. Remove "_" from the word syntax.
11769 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
11771 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
11772 syntax for both `cfengine2-mode' and `cfengine3-mode'.
11774 2013-03-20 Juri Linkov <juri@jurta.org>
11776 * info.el (Info-next-reference-or-link)
11777 (Info-prev-reference-or-link): New functions.
11778 (Info-next-reference, Info-prev-reference): Use them.
11779 (Info-try-follow-nearest-node): Handle footnote navigation.
11780 (Info-fontify-node): Fontify footnotes. (Bug#13989)
11782 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
11784 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
11785 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
11787 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
11789 Suppress unnecessary non-ASCII chatter during build process.
11790 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
11791 (batch-skkdic-convert): Suppress most of the chatter.
11792 It's not needed so much now that machines are faster,
11793 and its non-ASCII component was confusing; see Dmitry Gutov in
11794 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
11796 2013-03-20 Leo Liu <sdl.web@gmail.com>
11798 * ido.el (ido-chop): Fix bug#10994.
11800 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
11802 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
11804 (whitespace-color-on, whitespace-color-off):
11805 Use `font-lock-fontify-buffer' (Bug#13817).
11807 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
11809 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
11810 remapping in mode-line.
11811 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
11813 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
11815 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
11816 value for `whitespace-line' face (Bug#13875).
11817 (whitespace-font-lock-keywords): Change description.
11818 (whitespace-color-on): Don't save `font-lock-keywords' value, save
11819 the constructed keywords instead.
11820 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
11822 2013-03-19 Leo Liu <sdl.web@gmail.com>
11824 * progmodes/compile.el (compilation-display-error): New command.
11825 (compilation-mode-map, compilation-minor-mode-map): Bind it to
11828 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
11830 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
11832 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
11834 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
11836 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
11838 * net/tramp-compat.el (tramp-compat-user-error): New defun.
11840 * net/tramp-adb.el (tramp-adb-handle-shell-command):
11841 * net/tramp-gvfs.el (top):
11842 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
11843 (tramp-handle-shell-command): Use it.
11844 (tramp-dissect-file-name): Raise an error when hostname is a
11845 method name, and neither method nor user is specified.
11847 * net/trampver.el: Update release number.
11849 2013-03-18 Leo Liu <sdl.web@gmail.com>
11851 Make sure eldoc can be turned off properly.
11852 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
11854 (eldoc-display-message-p): Revert last change.
11855 (eldoc-display-message-no-interference-p)
11856 (eldoc-print-current-symbol-info): Tweak.
11858 2013-03-18 Tassilo Horn <tsdh@gnu.org>
11860 * doc-view.el (doc-view-new-window-function): Check the new window
11861 overlay's display property instead the char property of the
11862 buffer's first char. Use `with-selected-window' instead of
11863 `save-window-excursion' with `select-window'.
11864 (doc-view-document->bitmap): Check the current doc-view overlay's
11865 display property instead the char property of the buffer's first char.
11867 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
11869 Automate the build of ja-dic.el (Bug#13984).
11870 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
11871 from the input, rather than assume that it's been done for us by the
11872 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
11873 the current date into a ja-dic.el comment, as that complicates
11874 regression testing.
11876 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
11878 * whitespace.el: Fix double evaluation.
11879 (whitespace-space, whitespace-hspace, whitespace-tab)
11880 (whitespace-newline, whitespace-trailing, whitespace-line)
11881 (whitespace-space-before-tab, whitespace-indentation)
11882 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
11884 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
11885 (whitespace-color-on): Use a single font-lock-add-keywords call.
11886 Fix double-evaluation of face variables.
11888 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
11890 * net/tramp-adb.el (tramp-adb-parse-device-names):
11891 Use `start-process' instead of `call-process'. Otherwise, the
11892 function might be blocked under MS Windows. (Bug#13299)
11894 2013-03-17 Leo Liu <sdl.web@gmail.com>
11896 Extend eldoc to display info in the mode-line. (Bug#13978)
11897 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
11898 (eldoc-mode-line-string): New variable.
11899 (eldoc-minibuffer-message): New function.
11900 (eldoc-message-function): New variable.
11901 (eldoc-message): Use it.
11902 (eldoc-display-message-p)
11903 (eldoc-display-message-no-interference-p):
11904 Support eldoc-post-insert-mode.
11906 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
11907 (eval-expression): Run it.
11909 2013-03-17 Roland Winkler <winkler@gnu.org>
11911 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
11912 strings in the list of return values.
11914 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
11916 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
11917 radix before checking for HMS forms.
11919 2013-03-16 Leo Liu <sdl.web@gmail.com>
11921 * progmodes/scheme.el: Add indentation and font-locking for λ.
11924 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
11926 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
11927 token before point (bug#13942).
11929 2013-03-16 Leo Liu <sdl.web@gmail.com>
11931 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
11933 2013-03-16 Eli Zaretskii <eliz@gnu.org>
11935 * startup.el (command-line-normalize-file-name): Fix handling of
11936 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
11937 <xfq.free@gmail.com> in
11938 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
11940 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
11942 Sync with Tramp 2.2.7.
11944 * net/trampver.el: Update release number.
11946 2013-03-14 Tassilo Horn <tsdh@gnu.org>
11948 * doc-view.el: Fix bug#13887.
11949 (doc-view-insert-image): Don't modify overlay associated to
11950 non-live windows, and implement horizontal centering of image in
11951 case it's smaller than the window.
11952 (doc-view-new-window-function): Force redisplay of new windows on
11955 2013-03-13 Karl Fogel <kfogel@red-bean.com>
11957 * saveplace.el (save-place-alist-to-file): Don't sort
11958 `save-place-alist', just pretty-print it (bug#13882).
11960 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
11962 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
11963 Check whether `default-file-name-coding-system' is bound.
11964 It isn't in XEmacs.
11966 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
11968 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
11969 backquotes for `obsolete' (bug#13929).
11971 * international/mule.el (find-auto-coding): Include file name in
11972 obsolescence warning (bug#13922).
11974 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
11976 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
11977 for CFEngine 3-specific indentation.
11978 (cfengine3-indent-line): Use it. Fix up category regex.
11979 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
11981 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
11983 * type-break.el (type-break-file-name):
11984 * textmodes/remember.el (remember-data-file):
11985 * strokes.el (strokes-file):
11986 * shadowfile.el (shadow-initialize):
11987 * saveplace.el (save-place-file):
11988 * ps-bdf.el (bdf-cache-file):
11989 * progmodes/idlwave.el (idlwave-config-directory):
11990 * net/quickurl.el (quickurl-url-file):
11991 * international/kkc.el (kkc-init-file-name):
11992 * ido.el (ido-save-directory-list-file):
11993 * emulation/viper.el (viper-custom-file-name):
11994 * emulation/vip.el (vip-startup-file):
11995 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
11996 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
11998 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
12000 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
12001 * language/thai-word.el: Switch to UTF-8.
12003 See ChangeLog.16 for earlier changes.
12005 ;; Local Variables:
12009 Copyright (C) 2011-2014 Free Software Foundation, Inc.
12011 This file is part of GNU Emacs.
12013 GNU Emacs is free software: you can redistribute it and/or modify
12014 it under the terms of the GNU General Public License as published by
12015 the Free Software Foundation, either version 3 of the License, or
12016 (at your option) any later version.
12018 GNU Emacs is distributed in the hope that it will be useful,
12019 but WITHOUT ANY WARRANTY; without even the implied warranty of
12020 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12021 GNU General Public License for more details.
12023 You should have received a copy of the GNU General Public License
12024 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.