1 2014-01-07 Bastien Guerry <bzg@gnu.org>
3 * minibuffer.el (completion--try-word-completion): When both a
4 hyphen and a space are possible candidates for the character
5 following a word, display both candidates. (Bug#15980)
7 2014-01-07 Martin Rudalics <rudalics@gmx.at>
9 * window.el (balance-windows-2): While rounding don't give a
10 window more than the remainder. Bug#16351, Bug#16383.
12 2014-01-07 Glenn Morris <rgm@gnu.org>
14 * menu-bar.el (menu-bar-help-extra-packages): Remove.
15 (menu-bar-help-menu): Use view-external-packages instead.
17 2014-01-07 Bastien Guerry <bzg@gnu.org>
19 * emacs-lisp/package.el (package-delete): Also delete the package
20 name from `package-alist', not its description only.
22 2014-01-07 Glenn Morris <rgm@gnu.org>
24 * help.el (view-external-packages):
25 * menu-bar.el (menu-bar-help-extra-packages):
26 Visit efaq.info rather than etc/MORE.STUFF.
28 2014-01-07 Juri Linkov <juri@jurta.org>
30 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
31 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
33 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
34 that shadows RET. (Bug#16342)
36 2014-01-07 Chong Yidong <cyd@gnu.org>
38 * isearch.el (isearch-yank-char, isearch-yank-word)
39 (isearch-yank-line): Doc fix.
41 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
43 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
44 * emacs-lisp/elint.el (elint-find-builtins):
45 * emacs-lisp/eldoc.el (eldoc-symbol-function):
46 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
47 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
48 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
49 * apropos.el (apropos-safe-documentation):
50 * subr.el (symbol-file): Remove redundant fboundp.
51 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
53 2014-01-06 Bastien Guerry <bzg@gnu.org>
55 * hl-line.el (global-hl-line-overlay): Make a local variable.
56 (global-hl-line-overlays): New variable to store all overlays.
57 (global-hl-line-mode): Don't delete overlays from the current
58 buffer when `global-hl-line-sticky-flag' is non-nil.
59 (global-hl-line-highlight): Add new overlays to
60 `global-hl-line-overlays'.
61 (global-hl-line-unhighlight-all): New function to delete all
62 overlays when turning off `global-hl-line-mode'.
65 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
67 * subr.el (set-transient-map): Fix nested case and docstring.
69 2014-01-06 Tassilo Horn <tsdh@gnu.org>
71 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
74 2014-01-06 Daniel Colascione <dancol@dancol.org>
76 Fix defun navigation in vc log view.
78 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
79 like `beginning-of-defun'.
80 (log-view-end-of-defun,log-view-end-of-defun-1): Rename old
81 log-view-end-of-defun to log-view-end-of-defun-1. Replace
82 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
83 (log-view-extract-comment): Call `log-view-current-entry' directly
84 instead of relying on broken `log-view-beginning-of-defun' behavior.
86 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
89 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
90 * emacs-lisp/debug.el (cancel-debug-on-entry):
91 * epg.el (epg-error-to-string):
92 * files.el (recover-file):
93 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
94 * mail/emacsbug.el (report-emacs-bug-hook):
95 * mail/sendmail.el (mail-recover):
96 * ses.el (ses-yank-resize):
97 * term/ns-win.el (ns-print-buffer):
98 Spelling fixes in diagnostics, mostly for "canceled" with one L.
99 * epg.el (epg-key-capability-alist): Rename from misspelled version.
101 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
103 2014-01-06 Leo Liu <sdl.web@gmail.com>
105 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
106 to avoid shadowning global key. (Bug#16354)
108 2014-01-06 Daniel Colascione <dancol@dancol.org>
110 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
113 2014-01-05 Martin Rudalics <rudalics@gmx.at>
115 * window.el (balance-windows): Add mising t to fix Bug#16351.
117 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
119 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
121 (shr-insert): If we have a word that's longer than `shr-width',
122 break after it anyway. Otherwise we'll do no breaking once we get
125 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
127 * net/eww.el (eww): Support single/double quote for search.
128 * net/eww.el (eww-list-histories,eww-history-browse): Fixup.
129 (eww-history-quit): Delete and use quit-window.
130 (eww-history-kill): Delete, because it doesn't work well and
132 (eww-history-mode-map): Delete some keys and add easy-menu.
134 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
136 Fix misspelling of 'chinese' in rx (Bug#16237).
137 * emacs-lisp/rx.el (rx-categories): Correct spelling of
140 Change subword regexps back to vars (Bug#16296).
141 * progmodes/subword.el (subword-forward-regexp)
142 (subword-backward-regexp): Change these back to variables.
144 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
146 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
147 syntax-begin-function (bug#16247).
149 2014-01-03 Chong Yidong <cyd@gnu.org>
151 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
152 (advice--docstring): Delete variable.
153 (advice--make-1): Leave the docstring empty.
154 (advice-add): Use function-documentation for advised docstring.
156 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
157 Ignore function-documentation property when getting documentation.
158 (ad-activate-advised-definition): Use function-documentation
159 generate the docstring.
160 (ad-make-advised-definition): Don't call
161 ad-make-advised-definition-docstring.
162 (ad-make-advised-definition-docstring, ad-advised-definition-p):
165 * progmodes/sql.el (sql-help): Use function-documentation instead
166 of dynamic-docstring-function property. No need to autoload now.
167 (sql--help-docstring): New variable.
168 (sql--make-help-docstring): Use it.
170 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
172 * ielm.el (ielm-tab): Retarget.
173 (ielm-map): Use ielm-tab for tab.
174 (ielm-complete-filename): Use comint-filename-completion.
175 (ielm-complete-symbol): Remove.
176 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
177 remove ielm-tab from completion-at-point-functions (bug#16224).
179 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
180 Beware signals raised by predicates (bug#16201).
182 2014-01-02 Richard Stallman <rms@gnu.org>
184 * dired-aux.el (dired-do-print): Handle printer-name.
186 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
187 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
188 (rmail-epa-decrypt): Turn off mime processing.
190 * mail/rmail.el (rmail-make-in-reply-to-field):
191 Add parens in message-id.
193 * mail/rmail.el (rmail-get-coding-function): Variable.
194 (rmail-get-coding-system): Use it.
196 2013-12-31 Eli Zaretskii <eliz@gnu.org>
198 * international/mule-conf.el: Unify the charset indian-is13194.
199 (indian-is13194): Specify unify-map.
201 2013-12-31 Leo Liu <sdl.web@gmail.com>
203 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
205 2013-12-30 Daniel Colascione <dancol@dancol.org>
207 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
208 of printing a useless when we resume from sleep.
210 * progmodes/sh-script.el
211 (sh-smie-sh-forward-token,sh-smie-rc-forward-token): Fix infloop
212 in indentation code. (Bug#16233)
214 2013-12-28 João Távora <joaotavora@gmail.com>
216 * elec-pair.el (electric-pair-post-self-insert-function):
217 Don't open extra newlines at beginning of buffer. (Bug#16272)
219 2013-12-28 Eli Zaretskii <eliz@gnu.org>
221 * frame.el (window-system-for-display): Don't allow to create a
222 GUI frame from a -nw session on MS-Windows. (Bug#14739)
224 2013-12-28 Glenn Morris <rgm@gnu.org>
226 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
229 * apropos.el (apropos-match-face):
230 * calculator.el (calculator-displayer):
231 * dabbrev.el (dabbrev-search-these-buffers-only):
232 * face-remap.el (buffer-face-mode-face):
233 * simple.el (yank-handled-properties):
234 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
235 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
236 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
237 (hashcash-double-spend-database):
238 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
239 (ruby-deep-indent-paren-style):
240 * textmodes/flyspell.el (flyspell-auto-correct-binding):
241 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
242 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
243 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
244 Specify custom types.
246 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
247 * bookmark.el (bookmark-bmenu-use-header-line):
248 * doc-view.el (doc-view-scale-internally):
249 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
250 * register.el (register-preview-delay):
251 * net/shr.el (shr-bullet):
252 * progmodes/cfengine.el (cfengine-cf-promises)
253 (cfengine-parameters-indent):
254 * progmodes/octave.el (inferior-octave-error-regexp-alist):
255 * textmodes/reftex-vars.el (reftex-label-regexps):
256 * vc/log-edit.el (log-edit-setup-add-author): Add version.
258 * net/tls.el (tls-certtool-program): Fix default value.
260 * desktop.el (desktop-restore-in-current-display):
261 * newcomment.el (comment-empty-lines):
262 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
263 (idlwave-pad-keyword):
264 * progmodes/tcl.el (tcl-tab-always-indent):
265 * textmodes/reftex-vars.el (reftex-index-default-tag):
266 * elec-pair.el (electric-pair-skip-whitespace):
267 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
269 * emacs-lisp/authors.el (authors-ignored-files)
270 (authors-valid-file-names, authors-renamed-files-alist): Additions.
272 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
274 * shell.el (shell-dynamic-complete-command): Doc fix.
275 (shell--command-completion-data): Shell completion now matches
276 executable filenames from the current buffer's directory, on
277 systems in which this behavior is the default (windows-nt, ms-dos).
279 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
281 * net/shr.el (shr-insert): Don't infloop if the width is zero.
283 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
285 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
288 * electric.el: Move all electric-pair-* to elec-pair.el.
289 * elec-pair.el: New file, split from electric.el.
291 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
293 * net/shr.el (shr-find-fill-point): Don't try to fill if the
294 indentation level is larger than the width, because that will
296 (shr-insert): Fill repeatedly long texts, so that Japanese is
297 formatted correctly (bug#16263).
298 (shr-find-fill-point): Off by one error in comparison with the
301 2013-12-26 João Távora <joaotavora@gmail.com>
303 * electric.el (electric-pair-mode): More flexible engine for skip-
304 and inhibit predicates, new options for pairing-related functionality.
305 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
306 if that keeps or improves their balance in buffers.
307 (electric-pair-delete-adjacent-pairs): Delete the pair when
308 backspacing over adjacent matched delimiters.
309 (electric-pair-open-extra-newline): Open extra newline when
310 inserting newlines between adjacent matched delimiters.
311 (electric--sort-post-self-insertion-hook):
312 Sort post-self-insert-hook according to priority values when
313 minor-modes are activated.
314 * simple.el (newline-and-indent): Call newline with interactive
316 (blink-paren-post-self-insert-function): Set priority to 100.
317 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
318 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
319 comments. Locally set electric-pair-skip-whitespace to 'chomp and
320 electric-pair-open-newline-between-pairs to nil.
322 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
324 * progmodes/python.el: Use lexical-binding.
325 (python-nav-beginning-of-defun): Stop searching ASAP.
327 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
329 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
330 Fix interactive spec. Doc fix. (Bug#15754)
332 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
334 * emacs-lisp/byte-run.el (eval-when-compile):
335 * progmodes/cc-defs.el (cc-eval-when-compile):
336 Fix edebug spec (bug#16184).
338 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
340 * net/shr.el (shr-visit-file): Remove debugging function.
341 (shr-insert): Don't infloop if we can't find a good place to break
342 the line (bug#16256).
344 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
346 * progmodes/python.el:
347 (python-nav--lisp-forward-sexp): New function.
348 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
349 python-nav-lisp-forward-sexp-safe.
350 (python-nav--forward-sexp): New argument SAFE allows switching
351 forward sexp movement behavior for parens.
352 (python-nav-forward-sexp): Throw errors on unterminated parens
354 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
355 (python-nav-backward-sexp-safe): New functions.
356 (python-shell-buffer-substring):
357 Use `python-nav-forward-sexp-safe'.
359 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
361 * net/shr.el (shr-find-fill-point): Don't break lines before a
363 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
364 (shr-find-fill-point): Remove the special checks for the quotation
365 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
367 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
369 * net/eww.el (eww-form-textarea): Use a different face for
370 textareas than text input since they have different keymaps
373 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
375 * progmodes/python.el (python-nav-beginning-of-statement):
376 Speed up (Bug#15295).
378 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
380 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
381 the window configuration.
383 2013-12-24 Eli Zaretskii <eliz@gnu.org>
385 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
386 we run on MS-Windows or MS-DOS.
388 2013-12-24 Martin Rudalics <rudalics@gmx.at>
390 * window.el (balance-windows-area): Call window-size instead of
391 window-height and window-width. Bug#16241.
393 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
395 * net/eww.el (eww-bookmark-quit): Remove.
396 (eww-bookmark-browse): Restore the window configuration when you
397 choose a bookmark (bug#16144).
399 2013-12-24 Daniel Colascione <dancol@dancol.org>
401 * icomplete.el: Remove redundant :group arguments to `defcustom'
403 (icomplete-show-matches-on-no-input): New customizable variable.
404 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
405 we have something to show.
406 (icomplete-exhibit): Compute completions even if we have no user input.
408 2013-12-23 Daniel Colascione <dancol@dancol.org>
410 * icomplete.el: Move `provide' to end of file.
412 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
414 * net/gnutls.el (gnutls-verify-error): Add version tag.
416 2013-12-23 Chong Yidong <cyd@gnu.org>
418 * subr.el (set-transient-map): Rename from
419 set-temporary-overlay-map. Doc fix.
421 * face-remap.el (text-scale-adjust):
422 * indent.el (indent-rigidly):
423 * kmacro.el (kmacro-call-macro):
424 * minibuffer.el (minibuffer-force-complete):
425 * repeat.el (repeat):
426 * simple.el (universal-argument--mode):
427 * calendar/todo-mode.el (todo-insert-item--next-param):
428 * progmodes/f90.el (f90-abbrev-start): Callers changed.
430 * indent.el (indent-rigidly): Use substitute-command-keys.
432 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
434 * net/eww.el (eww-tag-select): Add text-property to jump to next
436 (eww): Add non-supported ftp error.
438 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
440 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
441 comments. Handle electric indent after typing `?' and `!'.
443 2013-12-22 Chong Yidong <cyd@gnu.org>
445 * faces.el (face-spec-recalc): If the theme specs are not
446 applicable to a frame, fall back on the defface spec.
447 This prevents themes from obliterating faces on low-color terminals.
449 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
451 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
452 after `{'. We need it after block openers, and it doesn't seem
453 to hurt after hash openers.
455 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
457 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
458 extracted from `ruby-smie-rules'.
459 (ruby--electric-indent-chars): New variable.
460 (ruby--electric-indent-p): New function.
461 (ruby-mode): Use `electric-indent-functions' instead of
462 `electric-indent-chars'.
464 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
466 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
468 (ruby-smie-rules): Indent plus one level after `=>'.
470 2013-12-21 Richard Stallman <rms@gnu.org>
472 * simple.el (newline): Doc fix.
474 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
476 * net/eww.el (eww-list-histories, eww-list-histories)
477 (eww-history-browse, eww-history-quit, eww-history-kill)
478 (eww-history-mode-map, eww-history-mode): New command and
479 functions to list browser histories.
480 (eww-form-text): Support text form with disabled
481 and readonly attributes.
482 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
484 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
486 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
487 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
488 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
489 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
491 (eww-bookmark-mode-map): Add menu.
492 (eww-render, eww-mode): Use `setq-local'.
493 (eww-tool-bar-map): New variable.
494 (eww-mode): Set `tool-bar-map'.
495 (eww-view-source): Check for `html-mode' with `fboundp'.
497 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
499 * net/shr.el (shr--extract-best-source): Don't bug out on audio
500 elements with text inside. Also remove debugging.
502 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
504 * cus-start.el (all): Add ns-use-srgb-colorspace.
506 2013-12-21 Chong Yidong <cyd@gnu.org>
508 * custom.el (custom-theme-recalc-face): Do nothing if the face is
509 undefined. Thus, theme settings for undefined faces do not take
510 effect until the faces are defined with defface, the same as with
513 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
514 (face-spec-reset-face): Don't assign extra properties in temacs.
515 (face-spec-recalc): Apply X resources too.
517 2013-12-21 Chong Yidong <cyd@gnu.org>
519 * faces.el (face-spec-set):
520 * cus-face.el (custom-theme-set-faces, custom-set-faces):
521 * custom.el (defface): Doc fixes (Bug#16203).
523 * indent.el (indent-rigidly-map): Add docstring, and move commands
524 into named functions.
525 (indent-rigidly-left, indent-rigidly-right)
526 (indent-rigidly-left-to-tab-stop)
527 (indent-rigidly-right-to-tab-stop): New functions. Decide on
528 indentation direction based on bidi direction, and accumulate
529 sequential commands in a single undo boundary.
530 (indent-rigidly--pop-undo): New utility function.
532 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
534 * faces.el (read-face-name): Require crm.el when using crm-separator.
536 2013-12-20 Daniel Colascione <dancol@dancol.org>
538 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
539 so that we don't reflow comments into the shebang line.
541 2013-12-20 Juri Linkov <juri@jurta.org>
543 * saveplace.el (save-place-to-alist): Add `dired-filename' as
544 a position when `dired-directory' is non-nil. Check integer
545 positions with `integerp'.
546 (toggle-save-place, save-places-to-alist): Add check for
548 (save-place-find-file-hook): Check integer positions with
550 (save-place-dired-hook): Use `dired-goto-file' when
551 `dired-filename' is found in the assoc list. Check integer
552 positions with `integerp'.
553 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
555 * dired.el (dired-initial-position-hook): Rename back from
556 `dired-initial-point-hook'.
557 (dired-initial-position): Rename `dired-initial-point-hook' to
558 `dired-initial-position-hook'.
559 (dired-file-name-at-point): Doc fix. (Bug#15329)
561 2013-12-20 Juri Linkov <juri@jurta.org>
563 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
564 (read-regexp-suggestions): New function.
565 (read-regexp): Use `read-regexp-defaults-function' to get default values.
566 Use `read-regexp-suggestions'. Add non-empty default to history
568 (occur-read-regexp-defaults-function): Remove function.
569 (occur-read-primary-args): Use `regexp-history-last' instead of
570 `occur-read-regexp-defaults-function'.
572 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
573 (hi-lock-line-face-buffer, hi-lock-face-buffer)
574 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
575 `hi-lock-read-regexp-defaults-function'. Doc fix.
576 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
577 with `find-tag-default-as-symbol-regexp'. Doc fix.
578 (hi-lock-read-regexp-defaults): Remove function.
579 (hi-lock-regexp-okay): Add check for null.
581 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
582 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
584 * subr.el (find-tag-default-as-symbol-regexp): New function.
585 (find-tag-default-as-regexp): Move symbol regexp formatting to
586 `find-tag-default-as-symbol-regexp'.
588 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
590 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
593 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
595 * calendar/todo-mode.el: New implementation of item insertion
596 commands and key bindings.
597 (todo-key-prompt): New face.
598 (todo-insert-item): New command.
599 (todo-insert-item--parameters): New defconst, replacing defvar
600 todo-insertion-commands-args-genlist.
601 (todo-insert-item--param-key-alist): New defconst, replacing
602 defvar todo-insertion-commands-arg-key-list.
603 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
604 (todo-insert-item--argsleft, todo-insert-item--apply-args)
605 (todo-insert-item--next-param): New functions.
606 (todo-insert-item--args, todo-insert-item--argleft)
607 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
609 (todo-key-bindings-t): Change binding of "i" from
610 todo-insertion-map to todo-insert-item.
611 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
612 (todo-insertion-command-name, todo-insertion-commands-names)
613 (todo-define-insertion-command, todo-insertion-commands)
614 (todo-insertion-key-bindings, todo-insertion-map): Remove.
616 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
618 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
619 (todo-toggle-item-highlighting): Use eval-and-compile instead of
621 (todo-move-category): Allow choosing a non-existing todo file to
622 move the category to, and create that file.
623 (todo-default-priority): New user option.
624 (todo-set-item-priority): Use it.
625 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
626 (desktop-restore-file-buffer): Declare.
627 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
628 (todo-modes-set-2): Locally set desktop-save-buffer to
629 todo-desktop-save-buffer.
630 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
631 (auto-mode-alist): Add autoload cookie.
633 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
635 * emacs-lisp/subr-x.el: Renamed from helpers.el.
636 helpers.el was a poor choice of name.
637 (string-remove-prefix): New function.
638 (string-remove-suffix): New function.
640 2013-12-20 Martin Rudalics <rudalics@gmx.at>
642 Fix assignment for new window total sizes.
643 * window.el (window--pixel-to-size): Remove function.
644 (window--pixel-to-total-1, window--pixel-to-total):
645 Fix calculation of new total sizes.
647 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
649 * comint.el (comint-output-filter): Fix rear-nonsticky property
650 placement (Bug#16010).
652 2013-12-20 Chong Yidong <cyd@gnu.org>
654 * faces.el (read-color): Minor fix for completion function.
656 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
658 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
659 New option. (Bug#16182)
660 (ruby-smie--indent-to-stmt-p): Use it.
661 (ruby-smie-rules): Revert the logic in the handling of `when'.
662 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
663 (ruby-deep-arglist, ruby-deep-indent-paren)
664 (ruby-deep-indent-paren-style): Update docstrings to note that the
665 vars don't have any effect with SMIE.
667 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
669 * calc/calc.el (calc-enter, calc-pop): Use the variable
670 `calc-context-sensitive-enter'.
672 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
674 * net/shr.el (shr-insert): Protect against infloops in degenerate
677 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
679 * progmodes/octave.el (octave): Add link to manual and octave
681 (octave-mode-menu): Link to octave-mode manual.
683 2013-12-20 Leo Liu <sdl.web@gmail.com>
685 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
686 insertion using skeleton-end-newline. (Bug#16138)
688 2013-12-20 Juri Linkov <juri@jurta.org>
690 * replace.el (occur-engine): Use `add-face-text-property'
691 to add the face property to matches and titles. (Bug#14645)
693 * hi-lock.el (hi-green): Use lighter color "light green" closer to
694 the palette of other hi-lock colors.
695 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
697 2013-12-19 Juri Linkov <juri@jurta.org>
699 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
700 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
701 (minibuffer-history-symbol): Move variable declaration closer to
704 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
707 2013-12-19 Juri Linkov <juri@jurta.org>
709 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
711 (log-edit-hook): Add it to :options. (Bug#16170)
713 2013-12-19 Juri Linkov <juri@jurta.org>
715 * simple.el (eval-expression-print-format): Don't check for
716 command names and the last command. Always display additional
717 formats of the integer result in the echo area, and insert them
718 to the current buffer only with a zero prefix arg.
719 Display character when char-displayable-p is non-nil.
720 (eval-expression): With a zero prefix arg, set `print-length' and
721 `print-level' to nil, and insert the integer values from
722 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
724 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
725 `eval-last-sexp-arg-internal'. Doc fix.
726 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
727 `eval-last-sexp-print-value'. Doc fix.
728 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
729 Set `print-length' and `print-level' to nil when arg is zero.
730 (eval-last-sexp): Doc fix.
731 (eval-defun-2): Print the integer values from
732 `eval-expression-print-format' at the end.
734 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
735 values from `eval-expression-print-format' at the end.
737 * ielm.el (ielm-eval-input): Print the integer
738 values from `eval-expression-print-format' at the end.
740 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
742 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
743 2013-12-11T19:01:44Z!tzz@lifelogs.com.
745 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
747 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
748 (hl-line-highlight, global-hl-line-highlight): Use it.
749 (hl-line-overlay): Use defvar-local.
751 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
753 * term/ns-win.el: Require dnd.
754 (global-map): Remove drag items.
755 (ns-insert-text, ns-set-foreground-at-mouse)
756 (ns-set-background-at-mouse):
757 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
758 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
761 2013-12-19 Glenn Morris <rgm@gnu.org>
763 * emacs-lisp/ert.el (ert-select-tests):
764 Fix string/symbol mixup. (Bug#16121)
766 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
768 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
769 keywords to their parent.
771 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
773 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
774 first arg to be a string (fixed dead code), or an operator symbol.
775 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
777 (ruby-smie-rules): Remove parent token check in the `.' clause, it
778 did nothing. Don't respond to `(:after ".")', it will be called
779 with :before anyway. Remove the ` @ ' rule, it didn't seem to
780 change anything. Only return indentation for binary operators
781 when they are hanging. De-dent opening paren when its parent is
782 `.', otherwise it looks bad when the dot is not at bol or eol
785 2013-12-19 Juri Linkov <juri@jurta.org>
787 * replace.el (query-replace-read-args): Split a non-negative arg
788 and a negative arg into separate elements.
789 (query-replace, query-replace-regexp, replace-string)
790 (replace-regexp): Add arg `backward'. Doc fix.
791 (replace-match-maybe-edit): When new arg `backward' is non-nil,
792 move point to the beginning of the match.
793 (replace-search, replace-highlight): Use new arg `backward'
794 to set the value of `isearch-forward'.
795 (perform-replace): Add arg `backward' and use it to perform
796 replacement backward. (Bug#14979)
798 * isearch.el (isearch-query-replace): Use a negative prefix arg
799 to call `perform-replace' with a non-nil arg `backward'.
801 2013-12-18 Juri Linkov <juri@jurta.org>
803 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
804 to the default list. Move `log-edit-show-files' to the end.
805 Add more available functions to options.
806 (log-edit): Move default specific settings to
807 `log-edit-insert-message-template'. Don't move point.
808 (log-edit-insert-message-template): New function.
809 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
812 2013-12-18 Juri Linkov <juri@jurta.org>
814 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
815 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
817 2013-12-18 Leo Liu <sdl.web@gmail.com>
819 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
822 2013-12-18 Eli Zaretskii <eliz@gnu.org>
824 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
825 formats for displaying file sizes when the -s switch is given.
826 Instead, compute a separate format for displaying the size in
827 blocks, which is displayed in addition to the "regular" size.
828 When -h is given in addition to -s, produce size in blocks in
829 human-readable form as well. (Bug#16179)
831 2013-12-18 Tassilo Horn <tsdh@gnu.org>
833 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
834 Reference tables with ~\ref{...} instead of only \ref{...}.
836 2013-12-18 Chong Yidong <cyd@gnu.org>
838 * cus-edit.el (custom-magic-alist): Fix "themed" description
841 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
842 is non-nil, do not create a new entry in the symbol's theme-value
843 or theme-face property; update theme-settings only (Bug#14664).
844 (custom-available-themes): Doc fix.
846 * cus-theme.el (custom-new-theme-mode-map): Add bindings
849 * replace.el (occur-engine): Avoid infloop (Bug#7593).
851 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
853 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
856 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
858 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
860 2013-12-18 Glenn Morris <rgm@gnu.org>
862 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
863 * cus-start.el (load-prefer-newer): New option.
865 2013-12-18 Le Wang <l26wang@gmail.com>
867 * comint.el (comint-previous-matching-input-from-input):
868 Retain point (Bug#13404).
870 2013-12-18 Chong Yidong <cyd@gnu.org>
872 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
874 2013-12-18 Glenn Morris <rgm@gnu.org>
876 * mail/emacsbug.el (report-emacs-bug):
877 Only mention enable-multibyte-characters if non-standard.
879 2013-12-17 Juri Linkov <juri@jurta.org>
881 * arc-mode.el (archive-extract-by-file): Check if directory exists
882 before deletion to not show irrelevant errors if it doesn't exist.
884 2013-12-17 Juri Linkov <juri@jurta.org>
886 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
889 * net/eww.el (browse-web): Add alias to `eww'.
890 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
891 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
893 * net/browse-url.el (browse-url-browser-function): Move `eww'
894 closer to similar functions.
896 * startup.el (fancy-startup-screen, fancy-about-screen):
897 Set browse-url-browser-function to eww-browse-url locally.
900 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
902 * window.el (window--pixel-to-total): Remove unused `mini' var.
903 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
904 (split-window): Remove unused `new' var.
905 (window--display-buffer): Remove unused `frame' and `delta' vars.
906 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
909 2013-12-17 Martin Rudalics <rudalics@gmx.at>
911 * dired.el (dired-mark-pop-up):
912 * register.el (register-preview): Don't bind
913 split-height-threshold here since it's now done in
914 display-buffer-below-selected.
916 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
918 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
919 xterm-rgb-convert-to-16bit.
920 (rxvt-register-default-colors): Standardize with
921 xterm-register-default-colors (Bug#14078).
923 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
925 * simple.el (kill-region): Pass mark first, then point, so that
926 kill-append works right (Bug#12819).
927 (copy-region-as-kill, kill-ring-save): Likewise.
929 2013-12-17 Leo Liu <sdl.web@gmail.com>
931 * net/rcirc.el (rcirc-add-face):
932 * eshell/em-prompt.el (eshell-emit-prompt):
933 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
936 2013-12-17 Chong Yidong <cyd@gnu.org>
938 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
939 Suggested by Xue Fuqiao.
941 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
943 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
945 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
947 * net/shr.el (shr-insert-document): Remove unused var
948 `shr-preliminary-table-render'.
949 (shr-rescale-image): Remove unused arg `force'.
950 (shr-put-image): Update calls accordingly.
951 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
953 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
955 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
956 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
957 :close-all, to see which indentation method to use (Bug#16116).
958 (smie-rules-function): Document the method :close-all.
960 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
962 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
964 * net/eww.el (eww-display-html): If we can't find the anchor we're
965 looking for, then go to point-min.
967 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
969 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
970 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
971 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
972 Expand dir too, in case it's relative.
974 2013-12-16 Juri Linkov <juri@jurta.org>
976 * desktop.el (desktop-auto-save-timeout): Change default to
977 `auto-save-timeout'. Doc fix.
978 (desktop-save): Skip the timestamp in desktop-saved-frameset
979 when checking for auto-save changes.
980 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
981 `desktop-auto-save' is called repeatedly by the idle timer.
982 (desktop-auto-save-set-timer): Replace `run-with-timer' with
983 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
986 2013-12-16 Juri Linkov <juri@jurta.org>
988 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
990 (isearch-pre-command-hook): Check `this-command' for symbolp.
992 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
994 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
996 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
998 * progmodes/cfengine.el (cfengine3--current-word): Remove.
999 (cfengine3--current-function): Bring in the current-function
1000 functionality from `cfengine3--current-word'.
1001 (cfengine3-completion-function): Bring in the
1002 bounds-of-current-word functionality from
1003 `cfengine3--current-word'.
1005 2013-12-16 Martin Rudalics <rudalics@gmx.at>
1007 * window.el (display-buffer-below-selected):
1008 Bind split-height-threshold to 0 as suggested by Juri Linkov.
1010 2013-12-16 Leo Liu <sdl.web@gmail.com>
1012 * progmodes/compile.el (compile-goto-error): Do not push-mark.
1013 Remove NOMSG arg and all uses changed.
1015 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
1017 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
1018 (cua--deactivate-rectangle): Don't deactivate the mark.
1019 (cua-set-rectangle-mark): Don't set mark-active since
1020 cua--activate-rectangle already does it for us.
1021 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
1022 non-rectangular region.
1024 * emulation/cua-base.el (cua-repeat-replace-region):
1025 Use with-current-buffer.
1027 * net/gnutls.el: Use cl-lib.
1028 (gnutls-negotiate): `mapcan' -> cl-mapcan.
1030 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
1032 * emacs-lisp/package.el (package-built-in-p): Support both
1033 built-in and the package.el converted package descriptions.
1034 (package-show-package-list): Allow keywords.
1035 (package-keyword-button-action): Use it instead of
1036 `finder-list-matches'.
1037 (package-menu-filter-interactive): Interactive filtering (by
1039 (package-menu--generate): Support keywords and change keymappings
1040 and headers when they are given.
1041 (package--has-keyword-p): Helper function.
1042 (package-menu--refresh): Use it.
1043 (package--mapc): Helper function.
1044 (package-all-keywords): Use it.
1045 (package-menu-mode-map): Set up menu items and keybindings to
1046 provide a filtering UI.
1048 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
1050 * net/gnutls.el (gnutls-verify-error): New defcustom to control
1051 the behavior when a certificate fails validation. Defaults to
1052 old behavior: never abort, just warn.
1053 (gnutls-negotiate): Use it.
1055 2013-12-14 Martin Rudalics <rudalics@gmx.at>
1057 * window.el (display-buffer-below-selected): Never split window
1058 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
1060 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
1062 * emacs-lisp/package.el (package--prepare-dependencies): New function.
1063 (package-buffer-info): Use it (bug#15108).
1065 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
1067 * icomplete.el (icomplete-completions): Make sure the prefix is already
1068 displayed elsewhere before hiding it (bug#16219).
1070 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
1072 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
1073 open-paren tokens when preceded by a open-paren, too.
1074 (ruby-smie-rules): Handle virtual indentation after open-paren
1075 tokens specially. If there is code between it and eol, return the
1076 column where is starts (Bug#16118).
1078 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
1080 * progmodes/cfengine.el: Fix `add-hook' doc.
1081 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
1082 (cfengine3--current-word): Fix parameters.
1083 (cfengine3-make-syntax-cache): Simplify further.
1084 (cfengine3-completion-function, cfengine3--current-function):
1085 Use `assq' for symbols.
1086 (cfengine3--current-function): Fix `cfengine3--current-word' call.
1088 2013-12-13 Glenn Morris <rgm@gnu.org>
1090 * loadup.el (load-path): Warn if site-load or site-init changes it.
1091 No more need to reset it when bootstrapping.
1093 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
1095 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
1096 locations for cf-promises.
1097 (cfengine-mode-syntax-functions-regex): New caching variable.
1098 (cfengine3-fallback-syntax): Fallback syntax for cases where
1099 cf-promises doesn't run.
1100 (cfengine3--current-word): Reimplement using
1101 `cfengine-mode-syntax-functions-regex'.
1102 (cfengine3-completion-function, cfengine3--current-function):
1103 Use `cfengine3-make-syntax-cache' directly.
1104 (cfengine3-clear-syntax-cache): New function.
1105 (cfengine3-make-syntax-cache): Simplify and create
1106 `cfengine-mode-syntax-functions-regex' on demand.
1107 (cfengine3-format-function-docstring): Don't call
1108 `cfengine3-make-syntax-cache' explicitly.
1110 2013-12-13 Martin Rudalics <rudalics@gmx.at>
1112 Fix windmove-find-other-window broken after pixelwise resizing
1114 * windmove.el (windmove-other-window-loc): Revert change from
1116 (windmove-find-other-window): Call window-in-direction.
1117 * window.el (window-in-direction): New arguments SIGN, WRAP and
1118 MINI to emulate original windmove-find-other-window behavior.
1120 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
1122 * simple.el (blink-matching--overlay): New variable.
1123 (blink-matching-open): Instead of moving point, highlight the
1124 matching paren with an overlay
1125 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
1127 * faces.el (paren-showing-faces, show-paren-match)
1128 (show-paren-mismatch): Move from paren.el.
1130 2013-12-13 Leo Liu <sdl.web@gmail.com>
1132 * indent.el (indent-region): Disable progress reporter in
1133 minibuffer. (Bug#16108)
1135 * bindings.el (visual-order-cursor-movement): Fix version.
1137 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
1139 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
1140 Also match after beginning of line.
1141 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
1142 files. Thanks to Russell Sim. (Bug#15378)
1144 2013-12-13 Juri Linkov <juri@jurta.org>
1146 * simple.el <Keypad support>: Remove key bindings duplicated
1147 with bindings.el. (Bug#14397)
1149 2013-12-13 Juri Linkov <juri@jurta.org>
1151 * comint.el (comint-mode-map): Replace `delete-char' with
1152 `delete-forward-char'. (Bug#16109)
1154 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
1156 * progmodes/python.el (python-indent-calculate-indentation):
1157 Fix de-denters cornercase. (Bug#15731)
1159 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
1161 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
1162 (advice--make): Pay attention to `depth'.
1163 (advice--make-1): Don't autoload commands eagerly.
1164 * emacs-lisp/elp.el (elp-instrument-function):
1165 * emacs-lisp/trace.el (trace-function-internal):
1166 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
1168 * iswitchb.el (iswitchb-mode): Don't belittle ido.
1170 2013-12-12 Eli Zaretskii <eliz@gnu.org>
1172 * term/w32-win.el (w32-handle-dropped-file):
1173 * startup.el (normal-top-level):
1174 * net/browse-url.el (browse-url-file-url):
1175 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
1176 decode file names using 'utf-8' rather than
1177 file-name-coding-system.
1179 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
1181 * progmodes/python.el (python-indent-context)
1182 (python-indent-calculate-indentation): Fix auto-identation
1183 behavior for comment blocks. (Bug#15916)
1185 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1187 * progmodes/python.el (python-indent-calculate-indentation):
1188 When determining indentation, don't treat "return", "pass", etc., as
1189 operators when they are just string constituents. (Bug#15812)
1191 2013-12-12 Juri Linkov <juri@jurta.org>
1193 * uniquify.el (uniquify-buffer-name-style): Change default to
1194 `post-forward-angle-brackets'.
1196 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
1197 `uniquify'. Change default to `post-forward-angle-brackets'.
1199 2013-12-11 Glenn Morris <rgm@gnu.org>
1201 * emacs-lisp/package.el (finder-list-matches):
1202 Autoload rather than falsely declaring.
1204 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
1206 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
1207 (eww-mode-map): Use them.
1209 2013-12-11 Martin Rudalics <rudalics@gmx.at>
1211 * window.el (display-buffer-in-side-window): Fix doc-string
1214 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
1216 * vc/vc-git.el: Silence byte-compiler warnings.
1217 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
1218 (log-edit-set-header): Declare.
1220 2013-12-11 Eli Zaretskii <eliz@gnu.org>
1222 * Makefile.in (custom-deps, finder-data): Run output file names
1223 through unmsys--file-name. (Bug#16099)
1225 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
1227 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
1228 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
1230 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
1231 instead of deleting the selection "by hand" (bug#16098).
1232 Rely on insert-for-yank to yank rectangles.
1233 (cua-highlight-region-shift-only): Mark obsolete.
1234 (cua-mode): Don't enable/disable transient-mark-mode,
1235 shift-select-mode (cua-mode works both with and without them), and
1236 pc-selection-mode (obsolete).
1237 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
1238 (cua--deactivate-rectangle): Deactivate it.
1240 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
1241 (delete-selection-helper): Make sure yank starts at the top of the
1243 (minibuffer-keyboard-quit): Use region-active-p.
1245 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
1247 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
1248 to `delete' (bug#16109).
1250 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1252 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
1253 info manual and show keybindings and set `:group' keyword.
1255 2013-12-11 Juri Linkov <juri@jurta.org>
1257 * delsel.el (delete-active-region): Let-bind `this-command'
1258 to prevent `kill-region' from changing its original value.
1259 (delete-selection-helper): Handle `overwrite-mode' for the type
1260 `kill' exactly the same way as for the type `t'.
1261 (insert-char, quoted-insert, reindent-then-newline-and-indent):
1262 Support more commands. (Bug#13312)
1264 2013-12-11 Juri Linkov <juri@jurta.org>
1266 * bindings.el: Map kp keys to non-kp keys systematically
1267 with basic modifiers control, meta and shift. (Bug#14397)
1269 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1271 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
1272 "Close browser" menu items. Fix wrong function of "List
1275 2013-12-11 Juri Linkov <juri@jurta.org>
1277 * misearch.el (multi-isearch-buffers): Set the value of
1278 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
1279 arg of isearch-forward to t.
1280 (multi-isearch-buffers-regexp): Set the value of
1281 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
1282 arg of isearch-forward-regexp to t.
1283 (multi-isearch-files): Set the value of
1284 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
1285 arg of isearch-forward to t.
1286 (multi-isearch-files-regexp): Set the value of
1287 `multi-isearch-file-list globally. Set NO-RECURSIVE-EDIT
1288 arg of isearch-forward-regexp to t. (Bug#16035)
1290 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
1291 arg of isearch-forward to t.
1292 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
1293 arg of isearch-forward-regexp to t.
1294 (dired-isearch-filter-filenames): Remove unnecessary check for
1295 `dired-isearch-filenames'.
1297 * comint.el (comint-history-isearch-backward):
1298 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
1299 (comint-history-isearch-backward-regexp):
1300 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
1302 2013-12-10 Eli Zaretskii <eliz@gnu.org>
1304 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
1305 unmsys--file-name. (Bug#16099)
1307 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
1309 * emacs-lisp/package.el (package-keyword-button-action):
1310 Remove finder.el require dependency.
1312 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
1314 * emacs-lisp/package.el: Require finder.el.
1315 (describe-package-1): Add keyword buttons.
1316 (package-make-button): New convenience function.
1317 (package-keyword-button-action): Keyword button action using
1318 `finder-list-matches'.
1320 2013-12-09 Eli Zaretskii <eliz@gnu.org>
1322 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
1325 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
1327 * autorevert.el (auto-revert-notify-add-watch): Do not handle
1330 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
1332 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
1333 after the end of a percent literal.
1335 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
1337 * progmodes/ruby-mode.el (ruby-forward-string): Document.
1338 Handle caret-delimited strings (Bug#16079).
1340 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
1342 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
1343 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
1344 `ruby-parse-partial' (Bug#16078).
1346 2013-12-09 Leo Liu <sdl.web@gmail.com>
1348 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
1350 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
1352 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
1353 (js-switch-indent-offset): New option.
1354 (js--proper-indentation): Use it. And handle the case when
1355 "default" is actually a key in an object literal.
1356 (js--same-line): New function.
1357 (js--multi-line-declaration-indentation): Use it.
1358 (js--indent-in-array-comp, js--array-comp-indentation):
1360 (js--proper-indentation): Use them, to handle array comprehension
1363 2013-12-08 Leo Liu <sdl.web@gmail.com>
1365 * progmodes/flymake.el (flymake-highlight-line): Re-write.
1366 (flymake-make-overlay): Remove arg MOUSE-FACE.
1367 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
1369 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
1371 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
1373 (redisplay-highlight-region-function): Use it.
1375 * emulation/cua-base.el (cua--explicit-region-start)
1376 (cua--last-region-shifted): Remove.
1377 (cua--deactivate): Use deactivate-mark.
1378 (cua--pre-command-handler-1): Don't handle shift-selection.
1379 (cua--post-command-handler-1): Don't change transient-mark-mode.
1380 (cua--select-keymaps): Use region-active-p rather than
1381 cua--explicit-region-start or cua--last-region-shifted.
1382 (cua-mode): Enable shift-select-mode.
1384 2013-12-08 Leo Liu <sdl.web@gmail.com>
1386 * progmodes/flymake.el (flymake-popup-current-error-menu):
1387 Rename from flymake-display-err-menu-for-current-line. Reimplement.
1388 (flymake-posn-at-point-as-event, flymake-popup-menu)
1389 (flymake-make-emacs-menu): Remove. (Bug#16077)
1391 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
1393 * rect.el (rectangle-mark-mode): Activate mark even if
1394 transient-mark-mode is off (bug#16066).
1395 (rectangle--highlight-for-redisplay): Fix boundary condition when point
1396 is > mark and at bolp.
1398 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
1399 (region-extract-function): Use it.
1400 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
1401 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
1403 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
1404 kill-ring-save, kill-region, delete-char, delete-forward-char.
1405 Ignore self-insert-iso.
1407 * emulation/cua-gmrk.el (cua--init-global-mark):
1408 Ignore `self-insert-iso'.
1410 * emulation/cua-base.el (cua--prefix-copy-handler)
1411 (cua--prefix-cut-handler): Rely on region-extract-function rather than
1412 checking cua--rectangle.
1413 (cua-delete-region): Use region-extract-function.
1414 (cua-replace-region): Delete function.
1415 (cua-copy-region, cua-cut-region): Obey region-extract-function.
1416 (cua--pre-command-handler-1): Don't do the delete-selection thing.
1417 (cua--self-insert-char-p): Ignore `self-insert-iso'.
1418 (cua--init-keymaps): Don't remap delete-selection commands.
1419 (cua-mode): Use delete-selection-mode instead of rolling our own
1422 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
1423 Obey region-extract-function.
1425 Make registers and delete-selection-mode work on rectangles.
1426 * register.el (describe-register-1): Don't modify the register's value.
1427 (copy-to-register): Obey region-extract-function.
1428 * delsel.el (delete-active-region): Obey region-extract-function.
1430 2013-12-08 Leo Liu <sdl.web@gmail.com>
1432 * progmodes/flymake.el (flymake, flymake-error-bitmap)
1433 (flymake-warning-bitmap, flymake-fringe-indicator-position)
1434 (flymake-compilation-prevents-syntax-check)
1435 (flymake-start-syntax-check-on-newline)
1436 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
1437 (flymake-start-syntax-check-on-find-file, flymake-log-level)
1438 (flymake-xml-program, flymake-master-file-dirs)
1439 (flymake-master-file-count-limit)
1440 (flymake-allowed-file-name-masks): Relocate.
1441 (flymake-makehash, flymake-float-time)
1442 (flymake-replace-regexp-in-string, flymake-split-string)
1443 (flymake-get-temp-dir): Remove.
1444 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
1445 (flymake-current-row, flymake-selected-frame)
1446 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
1447 related functions. (Bug#16077)
1449 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
1451 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
1453 2013-12-07 Tassilo Horn <tsdh@gnu.org>
1455 * help-fns.el (describe-function-1): Use new advice-* functions
1456 rather than old ad-* functions. Fix function type description and
1457 source links for advised functions and subrs.
1459 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
1461 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
1463 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
1465 * progmodes/compile.el (compilation-start):
1466 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
1468 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1469 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
1471 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1473 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1474 Touch up the last change.
1476 2013-12-06 Leo Liu <sdl.web@gmail.com>
1478 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
1479 (inferior-octave-startup): Always use "octave> " for prompt.
1480 (octave-goto-function-definition)
1481 (octave-sync-function-file-names)
1482 (octave-find-definition-default-filename): Remove redundant backquotes.
1484 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1486 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
1488 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
1489 where appropriate already.
1490 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
1491 end of method names (Bug#15874).
1493 2013-12-06 Juri Linkov <juri@jurta.org>
1495 * isearch.el (isearch--saved-overriding-local-map):
1496 New internal variable.
1497 (isearch-mode): Set it to the initial value of
1498 `overriding-terminal-local-map'.
1499 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
1500 with `isearch--saved-overriding-local-map'. (Bug#16035)
1502 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1504 * progmodes/octave.el (inferior-octave-completion-table):
1505 Turn back into function, use `completion-table-with-cache'
1506 (Bug#11906). Update all references.
1508 * minibuffer.el (completion-table-with-cache): New function.
1510 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
1512 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
1514 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
1516 * net/eww.el (eww-current-source): New variable to store page
1518 (eww-display-html, eww-mode, eww-save-history)
1519 (eww-restore-history): Use it.
1520 (eww-view-source): New command to view page source.
1521 Opportunistically uses `html-mode' to highlight the buffer.
1522 (eww-mode-map): Install it.
1524 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
1526 * net/dbus.el (dbus-unregister-service)
1527 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
1529 (dbus-unregister-service): Skip :serial entries in
1530 `dbus-registered-objects-table'.
1531 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
1533 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
1535 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
1536 around keywords with extra `split-string' argument.
1538 2013-12-04 Martin Rudalics <rudalics@gmx.at>
1540 * windmove.el (windmove-other-window-loc): Handle navigation
1541 between windows (excluding the minibuffer window - Bug#16017).
1543 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
1545 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
1546 in D-Bus type syntax.
1547 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
1548 preserve unibyte strings. (Bug#16048)
1550 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
1552 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
1553 Call force-mode-line-update is the proper buffer (bug#16042).
1555 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
1557 * vc/log-edit.el (log-edit-add-new-comment): Rename to
1558 `log-edit-remember-comment', make argument optional. Adjust all
1560 (log-edit-mode): Add `log-edit-remember-comment' to
1561 `kill-buffer-hook' locally.
1562 (log-edit-kill-buffer): Don't remember comment explicitly since
1563 the buffer is killed anyway.
1565 2013-12-04 Juri Linkov <juri@jurta.org>
1567 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
1568 add-hook and remove-hook for multi-buffer search. (Bug#16035)
1570 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
1572 * notifications.el (notifications-close-notification): Call the
1573 D-Bus method with ID being a `:uint32'. (Bug#16030)
1575 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
1577 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
1579 2013-12-03 Juri Linkov <juri@jurta.org>
1581 * progmodes/compile.el (compilation-start): Rename window alist
1582 entry `no-display-ok' to `allow-no-window'.
1584 * simple.el (shell-command): Add window alist entry
1585 `allow-no-window' to `display-buffer'.
1586 (async-shell-command): Doc fix.
1588 * window.el (display-buffer-no-window): New action function.
1589 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
1591 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1593 * vc/log-edit.el (log-edit-set-header): Extract from
1594 `log-edit-toggle-header'.
1595 (log-edit-extract-headers): Separate the summary, when extracted
1596 from header, from the rest of the message with an empty line.
1598 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
1599 line, if present, to the Summary header.
1601 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
1603 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
1604 in current-buffer (bug#16029).
1606 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
1608 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
1609 (debugger-mode-map): Bind it.
1610 (debugger--backtrace-base): New function.
1611 (debugger-eval-expression): Use it.
1612 (debugger-frame-number): Skip local vars when present.
1613 (debugger--locals-visible-p, debugger--insert-locals)
1614 (debugger--show-locals, debugger--hide-locals): New functions.
1616 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
1618 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
1620 (tramp-get-remote-locale): New defun.
1621 (tramp-open-connection-setup-interactive-shell): Use it.
1623 2013-12-02 Leo Liu <sdl.web@gmail.com>
1625 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
1627 * progmodes/sh-script.el (sh-shell-process):
1628 * progmodes/octave.el (inferior-octave-process-live-p):
1629 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
1630 (gdb-inferior-io-sentinel):
1631 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
1633 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1635 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
1636 `save-selected-window' to `log-edit-hide-buf'. This makes
1637 `log-edit-show-files' idempotent.
1638 (log-edit-show-files): Mark the new window as dedicated.
1640 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1642 * vc/log-edit.el (log-edit-mode-map): Add binding for
1643 `log-edit-kill-biffer'.
1644 (log-edit-hide-buf): Add a FIXME comment.
1645 (log-edit-add-new-comment): New function, extracted from
1647 (log-edit-done, log-edit-add-to-changelog): Use it.
1648 (log-edit-kill-buffer): New command.
1650 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1652 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
1653 instead of killing the buffer.
1655 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
1657 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
1659 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1661 * net/eww.el (eww-form-checkbox-selected-symbol)
1662 (eww-form-checkbox-symbol): New customizable variable.
1663 (eww-form-checkbox, eww-toggle-checkbox):
1664 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
1666 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
1667 (shr--get-media-pref, shr--extract-best-source): New function.
1668 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
1669 no :src tag was specified.
1671 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
1672 (eww-render): Handle `eww-use-external-browser-for-content-type'.
1673 Use \\` to match beginning of string instead of ^.
1674 (eww-browse-with-external-browser): Provide optional URL parameter.
1675 (eww-render): Set `eww-current-title' back to "".
1677 * net/shr.el (shr-tag-video): Display content for video if no
1678 poster is available.
1679 (shr-tag-audio): Add support for <audio> tag.
1681 * net/eww.el (eww-text-input-types): New const.
1682 (eww-process-text-input): Treat input types in
1683 `eww-text-input-types' as text.
1685 * net/shr.el (shr-tag-table): Fix comment typo.
1687 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1689 * net/eww.el (eww-follow-link): New command to avoid reloading
1690 pages when we follow #target links (bug#15243).
1691 (eww-quit): Special mode buffers shouldn't query before exiting.
1693 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1695 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
1698 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1700 * net/eww.el (eww-restore-history): Update the window title after
1701 moving in the history.
1702 (eww-current-dom): New variable used to save the current DOM.
1704 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
1706 * vc/log-edit.el (log-edit-mode-map): Add binding for
1707 `log-edit-beginning-of-line'.
1708 (log-edit-setup-add-author): New user option.
1709 (log-edit-beginning-of-line): New command.
1710 (log-edit): Move major mode call above the contents setup so that
1711 the local variable values are already applied.
1712 (log-edit): Only insert "Author: " when
1713 `log-edit-setup-add-author' is non-nil.
1714 (log-edit): When SETUP is non-nil, position point after ": "
1715 instead of point-min.
1717 2013-12-01 Glenn Morris <rgm@gnu.org>
1719 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
1721 2013-11-30 Eli Zaretskii <eliz@gnu.org>
1723 * startup.el (fancy-splash-frame): On MS-Windows, trigger
1724 redisplay to make sure the initial frame gets a chance to become
1725 visible. (Bug#16014)
1727 2013-11-30 Martin Rudalics <rudalics@gmx.at>
1729 Support resizing frames and windows pixelwise.
1730 * cus-start.el (frame-resize-pixelwise)
1731 (window-resize-pixelwise): New entries.
1732 * emacs-lisp/debug.el (debug): Use window-total-height instead
1733 of window-total-size.
1734 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
1735 * help.el (describe-bindings-internal): Call help-buffer
1736 (temp-buffer-max-width): New option.
1737 (resize-temp-buffer-window, help-window-setup)
1738 (with-help-window): Rewrite.
1739 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
1741 * window.el (frame-char-size, window-min-pixel-height)
1742 (window-safe-min-pixel-height, window-safe-min-pixel-width)
1743 (window-min-pixel-width, window-safe-min-pixel-size)
1744 (window-combination-p, window-safe-min-size)
1745 (window-resizable-p, window--size-to-pixel)
1746 (window--pixel-to-size, window--resize-apply-p): New functions.
1747 (window-safe-min-height): Fix doc-string.
1748 (window-size, window-min-size, window--min-size-1)
1749 (window-sizable, window-sizable-p, window--min-delta-1)
1750 (window-min-delta, window--max-delta-1, window-max-delta)
1751 (window--resizable, window--resizable-p, window-resizable)
1752 (window-full-height-p, window-full-width-p, window-at-side-p)
1753 (window--in-direction-2, window-in-direction)
1754 (window--resize-reset-1, window--resize-mini-window)
1755 (window-resize, window-resize-no-error)
1756 (window--resize-child-windows-normal)
1757 (window--resize-child-windows, window--resize-siblings)
1758 (window--resize-this-window, window--resize-root-window)
1759 (window--resize-root-window-vertically)
1760 (adjust-window-trailing-edge, enlarge-window, shrink-window)
1761 (maximize-window, minimize-window, delete-window)
1762 (quit-restore-window, window-split-min-size, split-window)
1763 (balance-windows-2, balance-windows)
1764 (balance-windows-area-adjust, balance-windows-area)
1765 (window--state-get-1, window-state-get, window--state-put-1)
1766 (window--state-put-2, window-state-put)
1767 (display-buffer-record-window, window--display-buffer):
1768 Make functions handle pixelwise sizing of windows.
1769 (display-buffer--action-function-custom-type)
1770 (display-buffer-fallback-action):
1771 Add display-buffer-in-previous-window.
1772 (display-buffer-use-some-window): Resize window to height it had
1774 (fit-window-to-buffer-horizontally): New option.
1775 (fit-frame-to-buffer): Describe new values.
1776 (fit-frame-to-buffer-bottom-margin): Replace with
1777 fit-frame-to-buffer-margins.
1778 (window--sanitize-margin): New function.
1779 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
1780 using window-text-pixel-size.
1782 2013-11-30 Glenn Morris <rgm@gnu.org>
1784 * emacs-lisp/bytecomp.el (byte-compile-form):
1785 Make the `interactive-only' warning like the `obsolete' one.
1786 * comint.el (comint-run):
1787 * files.el (insert-file-literally, insert-file):
1788 * replace.el (replace-string, replace-regexp):
1789 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
1790 (goto-line, insert-buffer, next-line, previous-line):
1791 Tweak `interactive-only' spec.
1793 Stop keeping (most) generated cedet grammar files in the repository.
1794 * Makefile.in (semantic): New.
1795 (compile-main): Depend on semantic.
1797 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
1799 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
1800 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
1802 * uniquify.el (uniquify-buffer-name-style): Change default.
1804 * loadup.el: Preload "uniquify".
1806 * time.el (display-time-update): Update all mode lines (bug#15999).
1808 * electric.el (electric-indent-mode): Enable by default.
1809 * loadup.el: Preload "electric".
1811 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
1813 * emacs-lisp/helpers.el (string-empty-p): New function.
1814 (string-blank-p): New function.
1816 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
1818 * imenu.el (imenu--index-alist): Add missing dot to the docstring
1821 2013-11-29 Andreas Politz <politza@fh-trier.de>
1822 * imenu.el (imenu--subalist-p): Don't error on non-conses and
1823 allow non-lambda lists as functions.
1824 (imenu--in-alist): Don't recurse into non-subalists.
1825 (imenu): Don't pass function itself as an argument (Bug#14029).
1827 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
1829 * progmodes/python.el (python-mode-map): Remove binding for ":".
1830 (python-indent-electric-colon): Remove command.
1831 (python-indent-post-self-insert-function): Integrate the previous code
1832 of python-indent-electric-colon. Make it conditional on
1833 electric-indent-mode.
1834 (python-mode): Add ?: to electric-indent-chars.
1835 Move python-indent-post-self-insert-function to the end of
1836 post-self-insert-hook.
1838 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
1840 * doc-view.el (doc-view-goto-page): Update mode-line.
1842 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
1844 2013-11-27 Glenn Morris <rgm@gnu.org>
1846 * international/charprop.el, international/uni-bidi.el:
1847 * international/uni-category.el, international/uni-combining.el:
1848 * international/uni-comment.el, international/uni-decimal.el:
1849 * international/uni-decomposition.el, international/uni-digit.el:
1850 * international/uni-lowercase.el, international/uni-mirrored.el:
1851 * international/uni-name.el, international/uni-numeric.el:
1852 * international/uni-old-name.el, international/uni-titlecase.el:
1853 * international/uni-uppercase.el:
1854 Remove generated files from VCS repository.
1856 2013-11-27 Eli Zaretskii <eliz@gnu.org>
1858 * filenotify.el (file-notify-add-watch): Don't special-case
1859 w32notify when computing the directory to watch.
1861 2013-11-27 Glenn Morris <rgm@gnu.org>
1863 Make bootstrap without generated uni-*.el files possible again.
1864 * loadup.el: Update command-line-args checking for unidata-gen.
1865 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
1866 * composite.el, international/characters.el:
1867 Handle unicode tables being undefined.
1869 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
1870 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
1871 (compile-main): Depend on leim rule.
1873 * loadup.el: Move leim-list.el to leim/ subdirectory.
1874 * startup.el (normal-top-level): No more leim directory.
1875 * international/ja-dic-cnv.el (skkdic-convert):
1876 Disable version-control and autoloads in output files.
1877 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
1878 Disable version-control and autoloads in output files.
1879 * leim/quail: Move here from ../leim.
1880 * leim/quail/hangul.el (hangul-input-method-activate):
1881 Add autoload cookie.
1882 (generated-autoload-load-name): Set file-local value.
1883 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
1884 (generated-autoload-load-name): Set file-local value.
1886 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
1888 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
1889 (eww-add-bookmark): Ask confirmation when add to bookmarks.
1890 (eww-quit): Ask confirmation before quitting eww.
1892 2013-11-26 Eli Zaretskii <eliz@gnu.org>
1894 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
1895 reading output from Diff on MS-Windows and MS-DOS.
1897 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
1899 * emacs-lisp/helpers.el (string-reverse): New function.
1901 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
1903 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
1904 names on MS Windows, like "/[::1]:".
1906 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
1909 2013-11-26 Glenn Morris <rgm@gnu.org>
1911 * progmodes/python.el (python-indent-guess-indent-offset):
1912 Avoid corner-case error. (Bug#15975)
1914 Preload leim-list.el. (Bug#4789)
1915 * loadup.el: Load leim-list.el when found.
1916 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
1918 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
1920 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
1922 * emacs-lisp/helpers.el (string-join): New function.
1924 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
1926 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
1927 Mark as obsolete and replace it with a symbol property.
1928 (byte-compile-form): Use new 'interactive-only property.
1929 * comint.el, files.el, replace.el, simple.el:
1930 Apply new 'interactive-only properly.
1932 2013-11-25 Martin Rudalics <rudalics@gmx.at>
1934 * window.el (display-buffer-at-bottom): Make sure that
1935 split-window-sensibly creates the new window on bottom
1938 2013-11-23 David Kastrup <dak@gnu.org>
1940 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
1941 on the conflict markers when available.
1942 (smerge--get-marker): New function.
1943 (smerge-end-re, smerge-base-re): Add subgroup.
1945 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
1947 * frame.el (handle-focus-in, handle-focus-out): Add missing
1950 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
1952 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
1953 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
1955 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
1957 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
1958 (gomoku--last-pos): New var.
1959 (gomoku--intangible-chars): New const.
1960 (gomoku--intangible): New function.
1961 (gomoku-mode): Use it. Derive from special-mode.
1962 (gomoku-move-up): Adjust line count.
1963 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
1964 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
1965 Simplify accordingly.
1967 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
1968 Remove blink-cursor code.
1969 (blink-cursor-timer-function, blink-cursor-suspend):
1970 Don't special-case GUIs.
1971 (blink-cursor-mode): Use focus-in/out-hook.
1973 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
1975 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
1976 work when annotation is invisible (Bug#13886).
1978 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
1980 * json.el (json-alist-p): Only return non-nil if the alist has
1981 simple keys (Bug#13518).
1983 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
1985 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
1986 when control-statement is the first statement in a buffer (Bug#15956).
1988 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
1990 * imenu.el (imenu-generic-skip-comments-and-strings):
1991 New option (Bug#15560).
1992 (imenu--generic-function): Use it.
1994 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
1996 * minibuffer.el (completion--in-region-1): Scroll the correct window.
1999 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
2001 * emacs-lisp/helpers.el: Add some string helpers.
2002 (string-trim-left): Removes leading whitespace.
2003 (string-trim-right): Removes trailing whitespace.
2004 (string-trim): Removes leading and trailing whitespace.
2006 * subr.el (string-suffix-p): New function.
2008 2013-11-23 Glenn Morris <rgm@gnu.org>
2010 * progmodes/python.el (python-shell-send-file):
2011 Add option to delete file when done. (Bug#15647)
2012 (python-shell-send-string, python-shell-send-region): Use it.
2014 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
2016 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
2017 to set buffer-read-only to t, never to nil. (Bug#15938)
2019 * textmodes/tex-mode.el (latex-noindent-environments):
2020 Add safe-local-variable property. (Bug#15936)
2022 2013-11-23 Glenn Morris <rgm@gnu.org>
2024 * textmodes/enriched.el (enriched-mode): Doc fix.
2025 * emacs-lisp/authors.el (authors-renamed-files-alist):
2026 Add enriched.doc -> enriched.txt.
2028 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
2030 2013-11-22 Leo Liu <sdl.web@gmail.com>
2032 * progmodes/octave.el (inferior-octave-startup): Spit out error
2035 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
2037 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
2040 (ruby-encoding-magic-comment-style): Add :version.
2042 2013-11-22 Leo Liu <sdl.web@gmail.com>
2044 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
2046 (octave-help-mode): Adapt to change to help-mode-finish to use
2047 derived-mode-p on 2013-09-17.
2048 (inferior-octave-prompt): Also match octave-gui.
2049 (octave-kill-process): Don't ask twice. (Bug#10564)
2051 2013-11-22 Leo Liu <sdl.web@gmail.com>
2053 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
2054 (inferior-octave-startup, inferior-octave-check-process)
2055 (inferior-octave-track-window-width-change)
2056 (octave-completion-at-point, octave-eldoc-function): Use it.
2057 (octave-kill-process): Provide confirmation. (Bug#10564)
2059 2013-11-21 Leo Liu <sdl.web@gmail.com>
2061 * progmodes/octave.el (octave-mode, inferior-octave-mode):
2062 Fix obsolete variable comment-use-global-state.
2064 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2066 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
2067 Add `octave-source-file'.
2068 (octave-source-file): New function. (Bug#15935)
2070 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
2072 * net/eww.el (eww-local-regex): New variable.
2073 (eww): Use it to detect localhost and similar.
2075 2013-11-21 Leo Liu <sdl.web@gmail.com>
2077 Add completion for command `ag'.
2078 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
2079 (pcomplete/ag): New function.
2080 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
2082 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
2084 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
2086 (make-obsolete): Remove interactive spec.
2088 2013-11-21 Glenn Morris <rgm@gnu.org>
2090 * startup.el (command-line-1): Use path-separator with -L.
2092 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
2094 * emacs-lisp/package.el (describe-package-1): Add package archive
2097 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
2099 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
2100 Change default to "# encoding: %s" to differentiate it from the
2101 default Ruby encoding comment template.
2103 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
2105 * ses.el (ses-mode): Doc fix. (Bug#14748)
2107 2013-11-20 Leo Liu <sdl.web@gmail.com>
2109 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
2111 2013-11-19 Dan Nicolaescu <dann@gnu.org>
2113 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
2114 when rebase or bisect are in progress.
2116 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
2118 * filenotify.el (file-notify-add-watch): Doc fix.
2120 2013-11-19 Leo Liu <sdl.web@gmail.com>
2122 * obsolete/rcompile.el: Mark obsolete.
2124 * progmodes/compile.el (compilation-start)
2125 (compilation-goto-locus, compilation-find-file):
2126 Pass no-display-ok and handle nil value from display-buffer.
2129 * window.el (display-buffer-alist, display-buffer): Document the
2130 new parameter no-display-ok. Return either a window or nil
2131 but never a non-window value.
2133 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2135 * electric.el (electric-indent-mode-map): Remove.
2136 (electric-indent-mode): Change the global-map instead (bug#15915).
2138 * textmodes/text-mode.el (paragraph-indent-minor-mode):
2141 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
2143 * emacs-lisp/nadvice.el (remove-function): Align with
2144 add-function's behavior.
2146 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
2147 (gdb--string-regexp): New constant.
2148 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
2149 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
2150 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
2152 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
2153 Adjust use accordingly.
2154 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
2156 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
2158 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
2159 interpolation curlies (Bug#15914).
2161 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
2163 * calc/calc.el (calc-context-sensitive-enter): New variable.
2164 (calc-enter): Use `calc-context-sensitive-enter'.
2166 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
2168 * progmodes/cfengine.el: Version bump.
2169 (cfengine-cf-promises): New defcustom to locate cf-promises.
2170 (cfengine3-vartypes): Add new "data" type.
2171 (cfengine3--current-word): New function to get current name-like
2173 (cfengine3--current-function): New function to look up a CFEngine
2174 function's definition.
2175 (cfengine3-format-function-docstring): New function.
2176 (cfengine3-make-syntax-cache): New function.
2177 (cfengine3-documentation-function): New function: ElDoc glue.
2178 (cfengine3-completion-function): New function: completion glue.
2179 (cfengine3-mode): Set `compile-command',
2180 `eldoc-documentation-function', and add to
2181 `completion-at-point-functions'.
2183 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
2185 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
2186 `tramp-current-connection'.
2188 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
2190 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
2191 nil/self/true/false with "end of symbol".
2193 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
2195 * subr.el (version-regexp-alist): Fix a typo.
2197 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
2199 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
2200 "en_US.utf8" and "LC_CTYPE" to "".
2201 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
2202 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
2204 2013-11-15 Leo Liu <sdl.web@gmail.com>
2206 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
2208 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2210 * progmodes/gud.el (ctl-x-map):
2211 Remove C-x SPC binding. (Bug#12342)
2212 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
2214 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
2216 * subr.el (version-regexp-alist):
2217 Recognize hg, svn and darcs versions as snapshot versions.
2219 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
2220 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
2221 (ruby--encoding-comment-required-p): Extract from
2222 `ruby-mode-set-encoding'.
2223 (ruby-mode-set-encoding): Add the ability to always insert an
2224 utf-8 encoding comment. Fix and simplify coding comment update
2227 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
2229 * net/tramp-gvfs.el (top): Run init code only when
2230 `tramp-gvfs-enabled' is not nil.
2231 (tramp-gvfs-enabled): Check also :system bus.
2233 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2235 Sync with upstream verilog-mode revision 78e66ba.
2236 * progmodes/verilog-mode.el (verilog-end-of-defun)
2237 (verilog-type-completion, verilog-get-list): Remove unused funcs.
2238 (verilog-get-end-of-defun): Remove unused argument.
2239 (verilog-comment-depth): Remove unused local `e'.
2240 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
2241 Don't pass arg to verilog-get-end-of-defun.
2243 2013-11-14 Glenn Morris <rgm@gnu.org>
2245 * obsolete/assoc.el (aget): Prefix dynamic variable.
2247 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
2249 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2251 * widget.el, hfy-cmap.el: Remove bogus package version number.
2253 2013-11-13 Glenn Morris <rgm@gnu.org>
2255 * replace.el (replace-eval-replacement):
2256 Try to give more helpful error message. (Bug#15836)
2258 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
2259 (archive-7z-update): Avoid custom type mismatches.
2261 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
2263 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
2265 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
2266 address can be empty.
2268 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
2269 Accept nil SWITCHES.
2270 (tramp-gvfs-handle-write-region): Implement APPEND.
2272 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
2274 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
2275 binary "|" operator and closing block args delimiter.
2276 Remove FIXME comment referring to Ruby 1.8-only syntax.
2277 (ruby-smie--implicit-semi-p): Not after "|" operator.
2278 (ruby-smie--closing-pipe-p): New function.
2279 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
2280 (ruby-smie-rules): Indent after "|".
2282 2013-11-12 Glenn Morris <rgm@gnu.org>
2284 * ps-print.el (ps-face-attribute-list):
2285 Handle anonymous faces. (Bug#15827)
2287 2013-11-12 Martin Rudalics <rudalics@gmx.at>
2289 * window.el (display-buffer-other-frame): Fix doc-string.
2292 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2294 * subr.el (force-mode-line-update): Delete, move to buffer.c.
2296 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
2298 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
2299 (tramp-sh-handle-file-local-copy): Don't write a message when
2300 saving temporary files.
2302 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
2303 both directories are remote.
2304 (tramp-smb-handle-directory-files): Do not return double entries.
2305 Do not expand full file names.
2306 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
2307 (tramp-smb-handle-write-region): Implement APPEND.
2308 (tramp-smb-get-stat-capability): Fix a stupid bug.
2310 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2312 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
2314 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2316 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
2317 throwing error over malformed let/let* (bug#15814).
2319 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2321 * iswitchb.el (iswitchb-mode): Mark obsolete.
2323 2013-11-11 Glenn Morris <rgm@gnu.org>
2325 * international/uni-bidi.el, international/uni-category.el:
2326 * international/uni-name.el, international/uni-numeric.el:
2327 Regenerate for Unicode 6.3.0.
2329 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
2331 * net/tramp.el (tramp-methods):
2332 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
2333 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
2335 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
2337 * progmodes/sh-script.el (sh-font-lock-keywords-var):
2338 Force highlighting text after Summary keyword in doc face for rpm.
2340 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
2342 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
2343 available and the word has no wildcards, append one to the grep pattern.
2344 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
2345 (ispell-complete-word): Call `ispell-lookup-words' with the value
2346 independent of `ispell-look-p'.
2348 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2350 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
2352 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
2355 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2357 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
2358 (ruby-font-lock-keywords): Use backquote.
2360 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2362 * progmodes/ruby-mode.el (ruby-smie--forward-token)
2363 (ruby-smie--backward-token): Only consider full-string matches.
2365 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
2367 * faces.el (describe-face): Add distant-foreground.
2369 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
2371 * progmodes/ruby-mode.el: Improve encoding comment handling.
2372 (ruby-encoding-magic-comment-style): New option.
2373 (ruby-custom-encoding-magic-comment-template): New option.
2374 (ruby--insert-coding-comment, ruby--detect-encoding):
2375 New functions extracted from `ruby-mode-set-encoding'.
2376 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
2377 to control the style of the auto-inserted encoding comment.
2379 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2381 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
2382 Use `smie-backward-sexp' with token argument.
2384 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
2386 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
2387 Remove instrumentation code.
2389 2013-11-08 Glenn Morris <rgm@gnu.org>
2391 * progmodes/autoconf.el (autoconf-mode):
2392 Tweak comment-start-skip. (Bug#15822)
2394 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2396 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
2397 at bobp (bug#15826).
2398 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
2400 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
2402 * man.el (Man-start-calling): New macro, extracted from
2403 Man-getpage-in-background.
2404 (Man-getpage-in-background): Use it.
2405 (Man-update-manpage): New command.
2406 (Man-mode-map): Bind it.
2408 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2410 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
2411 of "and", "or", "&&" and "||".
2412 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
2413 argument. Prohibit opening curly brace because it could only be a
2414 block opener in that position.
2415 (ruby-smie--forward-token, ruby-smie--backward-token):
2416 Separate "|" from "&" or "*" going after it. That can happen in block
2418 (ruby-smie--indent-to-stmt): New function, seeks the end of
2419 previous statement or beginning of buffer.
2420 (ruby-smie-rules): Use it.
2421 (ruby-smie-rules): Check if there's a ":" before a curly block
2422 opener candidate; if there is, it's a hash.
2424 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
2426 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
2427 (cl--block-wrapper): Fix last accidental change.
2429 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
2431 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
2432 Instrument, in order to hunt failure on hydra.
2434 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2436 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
2437 malformed bindings form (bug#15814).
2439 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
2441 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
2442 "." compared to " @ ". This incidentally fixes some indentation
2444 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
2445 (ruby-smie-grammar): New tokens: "and" and "or".
2446 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
2447 Exclude "and" and "or". Remove "do" in order to work around token
2449 (ruby-smie-rules): Add all infix tokens. Handle the case of
2450 beginning-of-buffer.
2452 2013-11-06 Glenn Morris <rgm@gnu.org>
2454 * Makefile.in (setwins_almost, setwins_for_subdirs):
2455 Avoid accidental matches.
2457 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
2459 * menu-bar.el (popup-menu): Use key-binding.
2461 2013-11-06 Eli Zaretskii <eliz@gnu.org>
2463 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
2464 menus, support also the menus produced by minor modes.
2467 2013-11-06 Leo Liu <sdl.web@gmail.com>
2469 * thingatpt.el (thing-at-point-looking-at): Add optional arg
2470 DISTANCE to bound the search. All uses changed. (Bug#15808)
2472 2013-11-06 Glenn Morris <rgm@gnu.org>
2474 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
2475 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
2476 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
2478 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
2480 * electric.el (electric-indent-just-newline): New command.
2481 (electric-indent-mode-map): New keymap.
2482 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
2483 Re-add :group which weren't redundant.
2485 * electric.el (electric-indent-local-mode): New minor mode.
2486 (electric-indent-functions-without-reindent): New var.
2487 (electric-indent-post-self-insert-function): Use it.
2488 * emacs-lisp/gv.el (buffer-local-value): Add setter.
2490 2013-11-05 Eli Zaretskii <eliz@gnu.org>
2492 * international/quail.el (quail-help): Be more explicit about the
2493 meaning of the labels shown on the keys. (Bug#15800)
2495 * startup.el (normal-top-level): Load the subdirs.el files before
2496 setting the locale environment. (Bug#15805)
2498 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
2500 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
2501 via arguments so as to get the right ones (bug#15418).
2503 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
2505 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
2507 Fix problems found while writing a test suite.
2509 * net/tramp-compat.el (tramp-compat-load): New defun.
2510 * net/tramp.el (tramp-handle-load): Use it.
2512 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
2513 "(numberp ok-if-already-exists)" correctly.
2515 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
2517 * international/characters.el (glyphless-char-display-control):
2520 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
2522 * progmodes/python.el (python-mode):
2523 * progmodes/scheme.el (scheme-mode):
2524 * progmodes/prolog.el (prolog-mode):
2525 * progmodes/ruby-mode.el (ruby-mode):
2526 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
2527 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
2529 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2531 * rect.el (rectangle--highlight-for-redisplay):
2532 * emacs-lisp/smie.el (smie--next-indent-change):
2533 Use buffer-chars-modified-tick.
2535 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
2537 * electric.el (electric-indent-post-self-insert-function):
2538 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
2540 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
2542 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
2544 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2546 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
2549 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2551 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
2553 * progmodes/python.el: Fix up last change.
2554 (python-shell--save-temp-file): New function.
2555 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
2556 `string' comes from the current buffer.
2557 (python-shell-send-string-no-output): Remove `msg' arg.
2558 (python--use-fake-loc): New var.
2559 (python-shell-buffer-substring): Obey it. Try to compensate for the
2560 extra coding line added by python-shell--save-temp-file.
2561 (python-shell-send-region): Use python-shell--save-temp-file and
2562 python-shell-send-file directly. Add `nomain' argument.
2563 (python-shell-send-buffer): Use python-shell-send-region.
2564 (python-electric-pair-string-delimiter): New function.
2565 (python-mode): Use it.
2567 2013-11-04 Eli Zaretskii <eliz@gnu.org>
2569 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
2570 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
2571 environment and decoding all of the default-directory's to here
2573 (command-line): Decode also argv[0].
2575 * loadup.el: Error out if default-directory is a multibyte string
2576 when we are dumping.
2578 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
2580 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
2582 * emacs-lisp/package.el (package-menu-mode)
2583 (package-menu--print-info, package-menu--archive-predicate):
2584 Add Archive column to package list.
2586 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
2588 Fix problems found while writing a test suite.
2590 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
2591 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
2592 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
2593 to nil when running original file name handler. Otherwise,
2594 there are problems with constructs like "$$FOO".
2596 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
2599 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
2601 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
2603 * subr.el (version<, version<=, version=):
2604 Update docstrings with information for snapshot versions.
2606 * helpers.el: New library for misc helper functions.
2607 (hash-table-keys): New function returning a list of hash keys.
2608 (hash-table-values): New function returning a list of hash values.
2610 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
2612 * progmodes/ruby-mode.el (ruby-smie--forward-token)
2613 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
2615 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
2617 * textmodes/fill.el (fill-single-char-nobreak-p): New function
2618 checking whether point is after a 1-letter word.
2620 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2622 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
2623 Don't infloop when expanding region over `multiline' syntax-type that
2624 begins a line (bug#15778).
2626 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2628 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
2629 Make it into a proper minor mode.
2630 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
2631 (rectangle-mark-mode-map): New keymap.
2632 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
2634 2013-11-04 Glenn Morris <rgm@gnu.org>
2636 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
2638 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
2640 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
2641 (ruby-smie-rules): Use smie-rule-parent instead.
2643 * emacs-lisp/smie.el (smie-rule-parent): Always call
2644 smie-indent-virtual rather than only for hanging tokens.
2645 (smie--next-indent-change): New helper command.
2647 2013-11-03 Glenn Morris <rgm@gnu.org>
2649 * Makefile.in (abs_srcdir): Remove.
2650 (emacs): Unset EMACSLOADPATH.
2652 2013-11-02 Glenn Morris <rgm@gnu.org>
2654 * Makefile.in (EMACS): Use a relative filename.
2655 (abs_top_builddir): Remove.
2656 (custom-deps, finder-data, autoloads): Use --chdir.
2658 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
2660 Use relative filenames in TAGS files.
2661 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
2662 (lisptagsfiles4, TAGS): Use relative file names.
2663 (TAGS-LISP): Remove.
2664 (maintainer-clean): No more TAGS-LISP file.
2666 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
2667 (lisptagsfiles4): Use absolute filenames again.
2668 (TAGS, TAGS-LISP): Not everything needs to run in one line.
2669 Remove all *loaddefs files, not just the first. Remove esh-groups.
2670 (maintainer-clean): Delete TAGS, TAGS-LISP.
2672 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2674 * emacs-lisp/package.el (package-version-join):
2675 Recognize snapshot versions.
2677 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2679 * subr.el (version-regexp-alist): Add support for snapshot versions.
2681 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
2683 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
2684 New function, replacement for `smie-rule-parent' for when we want to
2685 skip over our direct parent if it's an assignment token..
2686 (ruby-smie-rules): Use it.
2688 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
2690 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
2691 unconditionally. Remove now unnecessary forward declarations.
2692 Remove XEmacs-specific setup.
2693 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
2694 (ruby-font-lock-syntactic-keywords)
2695 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
2696 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
2697 (ruby-here-doc-end-syntax): Remove.
2698 (ruby-mode): Don't check whether `syntax-propertize-rules' is
2699 defined as function.
2701 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2703 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
2705 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
2707 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
2708 table and abbrev table, `define-derived-mode' does that for us
2711 2013-11-01 Glenn Morris <rgm@gnu.org>
2713 * Makefile.in: Remove manual mh-e dependencies (writing .elc
2714 files is atomic for some time, so no parallel compilation issues).
2716 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
2718 * faces.el (face-x-resources): Add :distant-foreground.
2719 (region): Use :distant-foreground for gtk and ns.
2721 2013-11-01 Tassilo Horn <tsdh@gnu.org>
2723 Allow multiple bibliographies when BibLaTeX is used rather than
2725 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
2726 (reftex-locate-bibliography-files): Us it.
2728 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
2730 * image.el (image-type-header-regexps): Fix the 'pbm' part to
2731 allow comments in pbm files.
2733 * term/w32-win.el (dynamic-library-alist): Support newer versions
2734 of libjpeg starting with v7: look only for the DLL from the
2735 version against which Emacs was built.
2736 Support versions of libpng beyond 1.4.x.
2737 Support libtiff v4.x.
2739 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
2741 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
2742 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
2744 (ruby-deep-arglist): Add property :type.
2746 2013-10-31 Glenn Morris <rgm@gnu.org>
2748 * Makefile.in (custom-deps, finder-data): No need to setq the target
2749 variables, we are in the right directory and the defaults work fine.
2751 2013-10-30 Glenn Morris <rgm@gnu.org>
2753 * Makefile.in (autoloads): Do not use abs_lisp.
2755 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
2756 `newline' does not respect `standard-output', so use `princ'.
2758 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
2760 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
2761 * buff-menu.el (Buffer-menu--unmark): New function.
2762 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
2764 2013-10-30 Glenn Morris <rgm@gnu.org>
2766 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
2768 * emacs-lisp/package.el (lm-homepage): Declare.
2770 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
2773 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
2775 * Makefile.in (finder-data, autoloads, update-subdirs)
2776 (compile-main, compile-clean, compile-always, bootstrap-clean):
2777 Check return value of cd.
2778 (compile-calc): Remove.
2780 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
2782 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
2784 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
2785 (byte-compile-and-folded): New function.
2786 (=, <, >, <=, >=): Use it.
2788 * dos-w32.el (minibuffer-history-case-insensitive-variables)
2789 (path-separator, null-device, buffer-file-coding-system)
2790 (lpr-headers-switches): Check system-type before modifying them.
2791 (find-buffer-file-type-coding-system): Mark obsolete.
2792 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
2793 find-file-not-found-set-buffer-file-coding-system.
2794 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
2795 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
2796 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
2797 (w32-direct-print-region-helper, w32-direct-print-region-function)
2798 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
2799 * startup.el (normal-top-level-add-subdirs-to-load-path):
2800 * ps-print.el (ps-print-region-function):
2801 * lpr.el (print-region-function): Use new name.
2803 * subr.el (custom-declare-variable-early): Remove function.
2804 (custom-declare-variable-list): Remove var.
2805 (error, user-error): Remove `while' loop.
2806 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
2807 (user-emacs-directory-warning, locate-user-emacs-file):
2809 * simple.el (read-quoted-char-radix, read-quoted-char):
2810 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
2812 * custom.el (custom-declare-variable-list): Don't process
2813 custom-declare-variable-list.
2815 * progmodes/python.el (python-shell-get-buffer): New function.
2816 (python-shell-get-process): Use it.
2817 (python-shell-send-string): Always use utf-8 and add a cookie to tell
2818 Python which encoding was used. Don't split-string since we only care
2819 about the first line. Return the temp-file, if applicable.
2820 (python-shell-send-region): Tell compile.el how to turn locations in
2821 the temp-file into locations in the source buffer.
2823 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
2825 * subr.el (undefined): Add missing behavior from the C code for
2828 * rect.el: Use lexical-binding. Add new rectangular region support.
2829 (rectangle-mark): New command.
2830 (rectangle--region): New var.
2831 (deactivate-mark-hook): Reset rectangle--region.
2832 (rectangle--extract-region, rectangle--insert-for-yank)
2833 (rectangle--highlight-for-redisplay)
2834 (rectangle--unhighlight-for-redisplay): New functions.
2835 (region-extract-function, redisplay-unhighlight-region-function)
2836 (redisplay-highlight-region-function): Use them to handle
2838 * simple.el (region-extract-function): New var.
2839 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
2840 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
2841 (kill-region): Replace obsolete `yank-handler' arg with `region'.
2842 (copy-region-as-kill, kill-ring-save): Add `region' argument.
2843 (redisplay-unhighlight-region-function)
2844 (redisplay-highlight-region-function): New vars.
2845 (redisplay--update-region-highlight): New function.
2846 (pre-redisplay-function): Use it.
2847 (exchange-point-and-mark): Don't deactivate the mark before
2848 reactivate-it anyway.
2849 * comint.el (comint-kill-region): Remove yank-handler argument.
2850 * delsel.el (delete-backward-char, backward-delete-char-untabify)
2851 (delete-char): Remove property, since it's now part of their
2853 (self-insert-iso): Remove property since this command doesn't exist.
2855 * emacs-lisp/package.el (package--download-one-archive)
2856 (describe-package-1): Don't query the user about final newline.
2858 2013-10-29 Daniel Colascione <dancol@dancol.org>
2860 * net/tramp.el (tramp-methods): Document new functionality.
2861 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
2862 tramp-hostname-checker if method provides one instead of scanning
2863 argument list for "%h" to decide hostname acceptability.
2865 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
2867 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
2868 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
2869 Handle COPY-CONTENTS. (Bug#15737)
2871 2013-10-28 Daiki Ueno <ueno@gnu.org>
2874 (epa-file-cache-passphrase-for-symmetric-encryption):
2875 Document that this option has no effect with GnuPG 2.0 (bug#15552).
2877 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
2879 * image.el (defimage):
2880 (image-load-path): Doc fixes.
2882 2013-10-27 Alan Mackenzie <acm@muc.de>
2884 Indent statements in macros following "##" correctly.
2885 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
2886 Modify the "#" arm of a cond form to handle "#" and "##" operators.
2888 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2890 * linum.el (linum-update-window): Fix boundary test (bug#13446).
2892 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
2894 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
2895 after `=' is probably a new expression.
2897 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2899 * man.el (man-imenu-title): New option.
2900 (Man-mode-map): Add menu. (Bug#15722)
2901 (Man-mode): Add imenu to menu.
2903 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
2905 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
2906 specific in what the first arg can be: a non-keyword word,
2907 string/regexp/percent literal opener, opening paren, or unary
2908 operator followed directly by word.
2910 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
2912 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
2913 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
2914 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
2915 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
2916 Remove vars, they do not apply any more.
2917 (prolog-mode-abbrev-table): Remove redundant declaration.
2918 (prolog-upper-case-string, prolog-lower-case-string): Remove.
2919 (prolog-use-smie): Remove.
2920 (prolog-smie-rules): Add indentation rule for the if-then-else layout
2921 supported by prolog-electric-if-then-else-flag.
2922 (prolog-mode-variables, prolog-menu): Use setq-local.
2923 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
2924 Remove binding to `Backspace' since this key doesn't exist anyway.
2925 Remove bindings for electric self-inserting keys.
2926 (prog-mode): Assume it's defined.
2927 (prolog-post-self-insert): New function.
2928 (prolog-mode): Use it.
2929 (prolog-indent-line, prolog-indent-level)
2930 (prolog-find-indent-of-matching-paren)
2931 (prolog-indentation-level-of-line, prolog-goto-comment-column)
2932 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
2933 (prolog-goto-next-paren, prolog-in-string-or-comment)
2934 (prolog-tokenize, prolog-inside-mline-comment)
2935 (prolog-find-start-of-mline-comment): Remove functions.
2936 (prolog-find-unmatched-paren, prolog-clause-end)
2937 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
2938 (prolog-electric--if-then-else): Rename from
2939 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
2940 (prolog-tokenize-searchkey): Remove const.
2941 (prolog-clause-info): Use forward-sexp.
2942 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
2943 (prolog-electric-if-then-else): Remove commands.
2944 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
2945 for use in post-self-insert-hook.
2946 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
2947 for use in post-self-insert-hook.
2948 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
2949 for use in post-self-insert-hook.
2950 (prolog-electric--underscore): Rename from prolog-electric--underscore;
2951 adapt it for use in post-self-insert-hook.
2953 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
2955 * emacs-lisp/ert.el (ert-run-tests-interactively):
2956 Use `completing-read'. (Bug#9756)
2958 2013-10-25 Eli Zaretskii <eliz@gnu.org>
2960 * simple.el (line-move): Call line-move-1 instead of
2961 line-move-visual when the current window hscroll is zero, but
2962 temporary-goal-column indicates we will need to hscroll as result
2963 of the movement. (Bug#15712)
2965 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
2967 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
2968 capitalization. Use :visible instead of :active.
2969 Fix `ruby-indent-exp' reference. Add menu items for the generic
2970 commands that are used with SMIE.
2971 (ruby-do-end-to-brace): Insert space after `{'.
2973 2013-10-25 John Anthony <john@jo.hnanthony.com>
2975 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
2977 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
2979 2013-10-25 Glenn Morris <rgm@gnu.org>
2981 * vc/vc.el (vc-print-log): Don't use a working revision unless
2982 one was explicitly specified. (Bug#15322)
2984 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
2986 * subr.el (add-to-list): Preserve return value in compiler-macro
2989 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2991 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
2992 result. Ask user to retry using '-all' flag. (Bug#15701)
2994 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
2996 * emacs-lisp/smie.el: New smie-config system.
2997 (smie-config): New defcustom.
2998 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
2999 (smie-config-guess, smie-config-save): New commands.
3000 (smie-config--mode-local, smie-config--buffer-local)
3001 (smie-config--trace, smie-config--modefuns): New vars.
3002 (smie-config--advice, smie-config--mode-hook)
3003 (smie-config--setter, smie-config-local, smie-config--get-trace)
3004 (smie-config--guess-value, smie-config--guess): New functions.
3005 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
3006 text properties. Treat "string fence" syntax like string syntax.
3008 * progmodes/sh-script.el (sh-use-smie): Change default.
3009 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
3010 (sh-var-value): Simplify by CSE.
3011 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
3012 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
3014 (sh-guess-basic-offset): Use cl-incf.
3015 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
3017 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
3019 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
3022 2013-10-24 Glenn Morris <rgm@gnu.org>
3024 * Makefile.in (abs_top_srcdir): Remove.
3025 (update-subdirs): Use relative path to update-subdirs.
3027 2013-10-24 Eli Zaretskii <eliz@gnu.org>
3029 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
3030 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
3031 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
3032 Call unmsys--file-name before expand-file-name, not after it.
3034 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
3036 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
3037 (ert-test-skipped): New error.
3038 (ert-skip, ert-stats-skipped): New defuns.
3039 (ert--skip-unless): New macro.
3040 (ert-test-skipped): New struct.
3041 (ert--run-test-debugger, ert-test-result-type-p)
3042 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
3043 (ert--stats-set-test-and-result, ert-char-for-test-result)
3044 (ert-string-for-test-result, ert-run-tests-batch)
3045 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
3046 Handle skipped tests. (Bug#9803)
3048 2013-10-24 Glenn Morris <rgm@gnu.org>
3050 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
3052 * Makefile.in (abs_top_srcdir): New, set by configure.
3053 (update-subdirs): Correct build-aux location.
3055 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
3057 * vc/vc.el (vc-print-root-log): Always set `default-directory'
3058 value, whether we could auto-deduce `backend', or not.
3060 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
3061 with parameters" example. Simplify the "is it block or is it
3062 hash" check, but also make it more thorough.
3064 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
3066 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
3068 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
3070 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
3073 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
3076 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
3078 * progmodes/compile.el (compilation-directory-matcher)
3079 (compilation-page-delimiter):
3080 Support GNU Make-4.0 directory quoting. (Bug#15678)
3082 2013-10-23 Leo Liu <sdl.web@gmail.com>
3084 * ido.el (ido-tidy): Handle read-only text.
3086 2013-10-23 Glenn Morris <rgm@gnu.org>
3088 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
3089 (emacs, compile, compile-always):
3090 Quote entities that might contain whitespace.
3091 (custom-deps, finder-data, autoloads): Use abs_lisp.
3092 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
3093 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
3094 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
3096 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
3098 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
3099 Use `following-char'.
3101 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
3103 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
3104 * progmodes/ruby-mode.el (ruby-smie-rules):
3105 Remove corresponding workaround. Fix indentation rule of ";" so it
3106 also applies when ";" is the parent.
3108 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
3110 * frame.el (display-screens, display-pixel-height)
3111 (display-pixel-width, display-mm-width, display-backing-store)
3112 (display-save-under, display-planes, display-color-cells)
3113 (display-visual-class, display-monitor-attributes-list):
3114 Mention the optional ‘display’ argument in doc strings.
3116 2013-10-22 Michael Gauland <mikelygee@amuri.net>
3118 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
3119 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
3121 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
3123 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
3124 TODO. Add "." after " @ ".
3125 (ruby-smie--at-dot-call): New function. Checks if point at method
3126 call with explicit target.
3127 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
3128 to the method name tokens when it precedes them.
3129 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
3130 (ruby-smie-rules): Add rule for indentation before and after "."
3133 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
3135 * textmodes/remember.el (remember-diary-extract-entries):
3138 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
3141 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
3143 * progmodes/ruby-mode.el (ruby-smie-grammar):
3144 Add (almost) all infix operators.
3145 (ruby-smie--implicit-semi-p): Add new operator chars.
3147 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
3149 (ruby-smie--args-separator-p): Check that there's no newline
3150 between method call and its arguments.
3152 2013-10-20 Alan Mackenzie <acm@muc.de>
3154 Allow comma separated lists after Java "implements".
3156 * progmodes/cc-engine.el (c-backward-over-enum-header):
3158 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
3159 from a "disallowed" list in enum fontification.
3161 2013-10-20 Johan Bockgård <bojohan@gnu.org>
3163 * startup.el (default-frame-background-mode): Remove unused defvar.
3165 * progmodes/verilog-mode.el (verilog-mode): Don't set
3166 comment-indent-function globally.
3168 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
3170 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
3171 Move Info menu item creation to ns-win.el.
3173 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
3176 * menu-bar.el: Move GNUStep specific menus...
3178 * term/ns-win.el (ns-initialize-window-system): ... to here.
3180 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
3182 * simple.el (newline): Only run post-self-insert-hook when
3183 called interactively.
3185 2013-10-19 Johan Bockgård <bojohan@gnu.org>
3187 * icomplete.el (icomplete-with-completion-tables): Add :version.
3189 2013-10-19 Alan Mackenzie <acm@muc.de>
3191 Fix fontification bugs with constructors and const.
3193 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
3194 CASE 2) Remove the check for the absence of a suffix construct
3195 after a function declaration with only types (no identifiers) in
3196 the parentheses. Also, accept a function declaration with just a
3197 type inside the parentheses, if this type can be positively
3198 recognised as such, or if a prefix keyword like "explicit" nails
3199 down the construct as a declaration.
3201 2013-10-19 Eli Zaretskii <eliz@gnu.org>
3203 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
3204 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
3205 the problem whereby selecting a menu item that leads to a
3206 minibuffer prompt moves the cursor out of the minibuffer window,
3207 making it hard to type at the prompt. Suggested by Stefan Monnier
3208 <monnier@iro.umontreal.ca>.
3210 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
3212 * menu-bar.el: Don't make Services menu.
3214 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3216 * ffap.el: Handle "/usr/include/c++/<version>" directories.
3217 (ffap-alist): Use ffap-c++-mode for c++-mode.
3218 (ffap-c++-path): New variable.
3219 (ffap-c++-mode): New function.
3221 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
3223 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
3225 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
3227 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
3228 introduced on 2013-09-08, which results in an infinite loop
3229 requesting a password.
3231 2013-10-18 Glenn Morris <rgm@gnu.org>
3233 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
3235 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
3237 Sync with upstream verilog-mode revision 1a6ecec7.
3238 * progmodes/verilog-mode.el (verilog-mode-version): Update.
3239 (verilog-mode-release-date): Remove.
3240 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
3241 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
3242 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
3243 (verilog-auto-tieoff-ignore-regexp)
3244 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
3245 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
3246 (verilog-signals-with, verilog-dir-cache-preserving)
3247 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
3249 (verilog-case-fold): New option, to control case folding in
3250 regexp searches, bug597.
3251 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
3252 (verilog-string-match-fold, verilog-in-paren-count)
3253 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
3254 (verilog-at-close-struct-p): New functions.
3255 (verilog-beg-block-re-ordered, verilog-extended-case-re)
3256 (verilog-forward-sexp, verilog-set-auto-endcomments):
3257 (verilog-leap-to-case-head): Handle "unique0" case.
3258 (verilog-in-constraint-re): New constant.
3259 (verilog-keywords, verilog-type-font-keywords):
3260 Add some SystemVerilog 1800-2012 keywords.
3261 (verilog-label-be): Remove unimplemented argument, bug669.
3262 (verilog-batch-execute-func): When batch expanding clear
3263 create-lockfiles to prevent spurious user locks when a file ends
3265 (verilog-calculate-indent, verilog-calc-1)
3266 (verilog-at-close-constraint-p, verilog-at-constraint-p)
3267 (verilog-do-indent): Fix indentation of nested constraints
3269 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
3270 (verilog-auto-inst-param): Use verilog-string-match-fold.
3271 (verilog-read-inst-module-matcher):
3272 Fix AUTOINST on gate primitives with #1.
3273 (verilog-read-decls): Fix double-declaring user-defined typed signals.
3274 Reads all user-defined typed variables.
3275 (verilog-read-defines): Fix reading definitions inside comments, bug647.
3276 (verilog-signals-matching-regexp)
3277 (verilog-signals-not-matching-regexp, verilog-auto):
3278 Respect verilog-case-fold.
3279 (verilog-diff-report): Fix line count.
3280 (verilog-auto-assign-modport): Remove unused local `modi'.
3281 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
3282 better handle multidimensional arrays.
3283 Fix packed array ports misadding bit index in AUTOINST, bug637.
3284 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
3285 to not double-declare existing outputs and inputs, respectively.
3286 (verilog-template-map): Bind U to verilog-sk-uvm-component.
3287 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
3288 (verilog-sk-uvm-component): New skeleton.
3289 (verilog-submit-bug-report): Add verilog-case-fold,
3290 remove verilog-mode-release-date.
3292 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
3294 * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
3297 2013-10-18 Reuben Thomas <rrt@sc3d.org>
3299 * textmodes/remember.el (remember): Set buffer-offer-save in
3300 remember buffers (bug#13566).
3302 2013-10-18 Daniel Colascione <dancol@dancol.org>
3304 When evaluating forms in ielm, direct standard output to ielm
3305 buffer. Add new ielm-return-for-effect command. Remove trailing
3306 whitespace throughout.
3308 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
3309 (ielm-return-for-effect): New command.
3310 (ielm-send-input): Accept optional `for-effect' parameter.
3311 (ielm-eval-input): Accept optional `for-effect' parameter.
3312 Bind `standard-output' to stream we create using
3313 `ielm-standard-output-impl'. Suppress printing result when
3315 (ielm-standard-output-impl): New function.
3316 (inferior-emacs-lisp-mode): Explain new features in documentation.
3318 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
3322 * net/tramp.el (tramp-debug-message): Do not check for connection
3324 (tramp-message): Use "vector" connection property.
3326 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
3327 (tramp-equal-remote, tramp-eshell-directory-change)
3328 * net/tramp-adb.el (tramp-adb-handle-copy-file)
3329 (tramp-adb-handle-rename-file)
3330 * net/tramp-cmds.el (tramp-list-remote-buffers)
3331 (tramp-cleanup-connection, tramp-cleanup-this-connection)
3332 * net/tramp-compat.el (tramp-compat-process-running-p)
3333 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
3334 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
3335 (tramp-gvfs-handle-rename-file)
3336 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
3337 (tramp-set-file-uid-gid)
3338 * net/tramp-smb.el (tramp-smb-handle-copy-file)
3339 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
3342 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
3343 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
3344 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
3345 (tramp-gw-open-network-stream): Suppress unrelated traces.
3347 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
3348 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
3349 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
3350 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
3351 connection property.
3353 * net/tramp-cache.el (top): Suppress traces when reading
3356 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
3357 Refactor common code. Improve debug message.
3358 (tramp-maybe-open-connection)
3359 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
3360 connection buffer too early.
3362 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
3363 from `tramp-smb-actions-with-acl'.
3364 (tramp-smb-actions-set-acl): New defconst.
3365 (tramp-smb-handle-copy-directory)
3366 (tramp-smb-action-get-acl): New defun, renamed from
3367 `tramp-smb-action-with-acl'.
3368 (tramp-smb-action-set-acl): New defun.
3369 (tramp-smb-handle-set-file-acl): Rewrite.
3371 2013-10-17 Glenn Morris <rgm@gnu.org>
3373 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
3375 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
3377 * skeleton.el (skeleton-newline): Remove.
3378 (skeleton-internal-1): Use (insert "\n") instead.
3380 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
3383 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
3384 forward-sexp-function while we redo its job (bug#15613).
3386 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
3388 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
3389 represented by lists.
3391 2013-10-16 Glenn Morris <rgm@gnu.org>
3393 * tmm.el (tmm--history): New dynamic variable.
3394 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
3396 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
3398 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
3399 (tramp-smb-errors): Add error messages.
3400 (tramp-smb-actions-with-acl): New defconst.
3401 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
3402 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
3403 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
3404 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
3405 (tramp-smb-get-stat-capability): Fix tests.
3407 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
3409 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
3412 2013-10-16 Glenn Morris <rgm@gnu.org>
3414 * ansi-color.el (ansi-color-drop-regexp):
3415 Add 1J, 1K, 2K. (Bug#15617)
3417 * files.el (hack-local-variables--warned-lexical): New.
3418 (hack-local-variables):
3419 Warn about misplaced lexical-binding. (Bug#15616)
3421 * net/eww.el (eww-render): Always set eww-current-url,
3422 and update header line. (Bug#15622)
3423 (eww-display-html): ... Rather than just doing it here.
3425 2013-10-15 Eli Zaretskii <eliz@gnu.org>
3427 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
3428 menu navigations commands.
3430 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
3432 * progmodes/subword.el (subword-capitalize): Be careful when
3433 the search for [[:alpha:]] fails (bug#15580).
3435 2013-10-14 Eli Zaretskii <eliz@gnu.org>
3437 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
3438 to commands that scroll the menu.
3440 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
3442 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
3443 Handle methods ending with `?' and `!'.
3445 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
3447 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
3448 `japanese-cp932' to `cp932' to fix the problem where saving a
3449 source file written in Shift_JIS twice would end up having
3450 `coding: japanese-cp932' which Ruby could not recognize.
3451 (ruby-mode-set-encoding): Add support for encodings mapped to nil
3452 in `ruby-encoding-map'.
3453 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
3454 doesn't need to be explicitly declared in magic comment.
3455 (ruby-encoding-map): Add type declaration for better customize UI.
3457 2013-10-13 Glenn Morris <rgm@gnu.org>
3459 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
3460 Occur buffers are read-only. http://bugs.debian.org/720775
3462 * emacs-lisp/authors.el (authors-fixed-entries):
3463 Comment out old alpha stuff.
3465 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
3467 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
3468 to `after-save-hook' instead of `before-save-hook'.
3469 (ruby-mode-set-encoding): Use the value of coding system used to
3470 write the file. Call `basic-save-buffer-1' after modifying the
3473 2013-10-13 Alan Mackenzie <acm@muc.de>
3475 Fix indentation/fontification of Java enum with
3476 "implements"/generic.
3478 * progmodes/cc-engine.el (c-backward-over-enum-header):
3479 Extracted from the three other places and enhanced to handle generics.
3480 (c-inside-bracelist-p): Uses new function above.
3481 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
3483 (c-font-lock-enum-tail): Uses new function above.
3485 2013-10-13 Kenichi Handa <handa@gnu.org>
3487 * international/mule-cmds.el (select-safe-coding-system): Remove a
3488 superfluous condition in chekcing whether a coding system is safe
3491 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
3493 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
3495 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
3497 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
3499 2013-10-13 Glenn Morris <rgm@gnu.org>
3501 * menu-bar.el (menu-bar-update-buffers):
3502 Unify Buffers menu prompt string. (Bug#15576)
3504 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
3506 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
3508 (authors-fixed-entries): Use accented form of name.
3510 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
3512 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
3513 method calls (bug#15594).
3514 (ruby-smie--args-separator-p): New function.
3515 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
3516 recognize paren-free method calls.
3518 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
3519 internals of universal-argument.
3521 2013-10-11 Eli Zaretskii <eliz@gnu.org>
3523 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
3524 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
3525 dropped menu on second mouse click on the menu bar.
3527 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
3529 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
3530 (explicit-shell-file-name): Declare.
3531 (sh--vars-before-point, sh--cmd-completion-table): New functions.
3532 (sh-completion-at-point-function): New function.
3534 (sh-smie--keyword-p): Remove unused argument.
3535 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
3537 (sh-set-shell): Always setup SMIE, even if we use the
3538 old indentation code.
3540 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
3542 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
3544 (ruby-smie-rules): Simplify the "do" rule. The cases when the
3545 predicate would return nil are almost non-existent.
3546 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
3548 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
3549 cache also after commands that modify the buffer but don't move
3552 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
3554 * env.el (substitute-env-in-file-name): New function.
3555 (substitute-env-vars): Extend the meaning of the optional arg.
3557 2013-10-10 Eli Zaretskii <eliz@gnu.org>
3559 * term/w32-win.el (dynamic-library-alist): Define separate lists
3560 of GIF DLLs for versions before and after 5.0.0 of giflib.
3563 2013-10-10 João Távora <joaotavora@gmail.com>
3565 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
3566 not locked, use last revision and current source as
3567 defaults. (Bug#15569)
3569 2013-10-10 Masatake YAMATO <yamato@redhat.com>
3571 * menu-bar.el (menu-bar-open): Don't use popup-menu if
3574 2013-10-10 Martin Rudalics <rudalics@gmx.at>
3576 * window.el (pop-to-buffer-same-window): Fix doc-string.
3579 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
3581 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
3583 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
3585 * calendar/icalendar.el (icalendar-import-file):
3586 Fix interactive spec. (Bug#15482)
3588 2013-10-10 Glenn Morris <rgm@gnu.org>
3590 * desktop.el (desktop-save): Default to saving in .emacs.d,
3591 since PWD is no longer in desktop-path by default. (Bug#15319)
3593 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
3594 now that text mode has a menu with the same entry.
3595 (menu-bar-text-mode-auto-fill): Remove now unused func.
3596 * textmodes/text-mode.el (text-mode-map):
3597 Use auto-fill help text from menu-bar.el.
3599 2013-10-10 John Anthony <john@jo.hnanthony.com>
3601 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
3603 2013-10-09 Juri Linkov <juri@jurta.org>
3605 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
3606 instead of this-command-keys. Add universal-argument-more and
3607 universal-argument-minus to the list of prefix commands. (Bug#15568)
3609 2013-10-09 Glenn Morris <rgm@gnu.org>
3611 * vc/vc-svn.el (vc-svn-create-repo):
3612 Expand paths in file://... url. (Bug#15446)
3614 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
3616 (authors): Remove unused local variables.
3618 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
3620 * profiler.el: Create a more coherent calltree from partial backtraces.
3621 (profiler-format): Hide the tail with `invisible' so that C-s can still
3622 find the hidden elements.
3623 (profiler-calltree-depth): Don't recurse so enthusiastically.
3624 (profiler-function-equal): New hash-table-test.
3625 (profiler-calltree-build-unified): New function.
3626 (profiler-calltree-build): Use it.
3627 (profiler-report-make-name-part): Indent the calltree less.
3628 (profiler-report-mode): Add visibility specs for profiler-format.
3629 (profiler-report-expand-entry, profiler-report-toggle-entry):
3630 Expand the whole subtree when provided with a prefix arg.
3632 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
3634 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
3636 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
3637 hanging iuwu-mod token.
3638 (ruby-smie--forward-token): Do not include a dot after a token in
3640 (ruby-smie--backward-token): Likewise.
3642 2013-10-08 Juri Linkov <juri@jurta.org>
3644 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
3645 to isearch-other-control-char.
3646 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
3647 and isearch-post-command-hook to post-command-hook.
3648 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
3649 and isearch-post-command-hook from post-command-hook.
3650 (isearch-unread-key-sequence)
3651 (isearch-reread-key-sequence-naturally)
3652 (isearch-lookup-scroll-key, isearch-other-control-char)
3653 (isearch-other-meta-char): Remove functions.
3654 (isearch-pre-command-hook, isearch-post-command-hook):
3655 New functions based on isearch-other-meta-char rewritten
3656 relying on the new behavior of overriding-terminal-local-map
3657 that does not replace the local keymaps any more. (Bug#15200)
3659 2013-10-08 Eli Zaretskii <eliz@gnu.org>
3661 Support menus on text-mode terminals.
3662 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
3665 * tooltip.el (tooltip-mode): Don't error out on TTYs.
3667 * menu-bar.el (popup-menu, popup-menu-normalize-position):
3668 Move here from mouse.el.
3669 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
3671 (tty-menu-navigation-map): New map for TTY menu navigation.
3673 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
3675 * frame.el (display-mouse-p): Report text-mode mouse as available
3677 (display-popup-menus-p): Report availability if mouse is
3678 available; don't condition on window-system.
3680 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
3681 (tty-menu-selected-face): New faces.
3683 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
3685 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
3686 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
3687 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
3688 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
3690 (lisp-mode-variables): New `elisp' argument.
3691 (emacs-lisp-mode): Use it.
3692 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
3693 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
3695 * indent.el: Use lexical-binding.
3696 (indent-region): Add progress reporter.
3697 (tab-stop-list): Make it implicitly extend to infinity by repeating the
3699 (indent--next-tab-stop): New function to implement this behavior.
3700 (tab-to-tab-stop, move-to-tab-stop): Use it.
3702 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
3704 * indent.el (indent-rigidly--current-indentation): New function.
3705 (indent-rigidly-map): New var.
3706 (indent-rigidly): Use it to provide interactive mode (bug#8196).
3708 2013-10-08 Bastien Guerry <bzg@gnu.org>
3710 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
3712 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
3714 * progmodes/perl-mode.el: Use lexical-binding.
3715 Remove redundant :group args.
3716 (perl-nochange): Change default to be closer to other major modes's
3718 (perl-indent-line): Don't consider text on current line as a
3719 valid beginning of function from which to indent.
3721 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
3722 with more than one argument (bug#15538).
3724 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
3726 * vc/pcvs.el: Use lexical-binding.
3727 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
3728 environment of `eval'.
3729 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
3730 than a list of expressions. Adjust callers.
3731 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
3733 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
3735 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
3736 case of the dot in a chained method call being on the following line.
3738 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3740 * electric.el (electric-indent-inhibit): New var.
3741 (electric-indent-post-self-insert-function): Use it.
3742 * progmodes/python.el (python-mode): Set it.
3744 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
3747 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
3749 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
3750 (css-mode): Use electric-indent-chars.
3752 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
3753 (font-lock-beg, font-lock-end): Move before first use.
3754 (nxml-mode): Use syntax-propertize-function.
3755 (nxml-after-change, nxml-after-change1): Adjust accordingly.
3756 (nxml-extend-after-change-region): Remove.
3757 * nxml/xmltok.el: Use lexical-binding.
3758 (xmltok-save): Use `declare'.
3759 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
3760 * nxml/nxml-util.el: Use lexical-binding.
3761 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
3763 * nxml/nxml-ns.el: Use lexical-binding.
3764 (nxml-ns-save): Use `declare'.
3765 (nxml-ns-prefixes-for): Avoid add-to-list.
3766 * nxml/rng-match.el: Use lexical-binding.
3767 (rng--ipattern): Use cl-defstruct.
3768 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
3769 (rng-cons-group-after, rng-subst-group-after)
3770 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
3771 Use closures instead of `(lambda...).
3773 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
3775 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
3778 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3779 Use `tramp-handle-insert-file-contents'.
3780 (tramp-gvfs-handle-insert-file-contents): Remove function.
3782 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
3783 Use `save-restriction' in order to keep markers.
3785 * net/trampver.el: Update release number.
3787 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3789 * progmodes/compile.el (compilation-parse-errors):
3790 Use compilation--put-prop.
3791 (compilation--ensure-parse): Check compilation-multiline.
3793 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
3795 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
3798 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
3800 * progmodes/ruby-mode.el: Fix recently added tests.
3801 (ruby-smie-grammar): Add - and +.
3802 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
3803 (ruby-smie--backward-id): New functions.
3804 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
3805 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
3808 2013-10-07 Leo Liu <sdl.web@gmail.com>
3810 * register.el (register-preview-delay)
3811 (register-preview-functions): New variables.
3812 (register-read-with-preview, register-preview)
3813 (register-describe-oneline): New functions.
3814 (point-to-register, window-configuration-to-register)
3815 (frame-configuration-to-register, jump-to-register)
3816 (number-to-register, view-register, insert-register)
3817 (copy-to-register, append-to-register, prepend-to-register)
3818 (copy-rectangle-to-register): Use register-read-with-preview to
3819 read register. (Bug#15525)
3821 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
3823 * net/network-stream.el (network-stream-open-starttls): Don't add
3824 --insecure if it's already present, because that gnutls-cli
3825 rejects getting that parameter twice.
3827 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
3829 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
3832 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
3834 * newcomment.el (comment-use-global-state): Change default value
3835 to t, mark obsolete (Bug#15251).
3836 (comment-beginning): In addition to `comment-to-syntax', check the
3837 value of `comment-use-global-state'.
3839 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
3841 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
3842 (ruby-comment-column): Follow the global default, by default.
3843 (ruby-smie-grammar): Add assignment syntax.
3844 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
3845 open-paren, a comma, or a \.
3846 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
3847 and line continuations.
3848 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
3849 followed by implicit semi-colons. Add rule for string concatenation
3850 and for indentation at BOB.
3851 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
3853 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
3854 calling next-sexp, since next-token may have skipped chars which
3855 next-sexp doesn't know should be skipped!
3857 2013-10-05 Leo Liu <sdl.web@gmail.com>
3859 * progmodes/octave.el (octave-send-region):
3860 Call compilation-forget-errors.
3862 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
3864 * vc/vc-svn.el (vc-svn-find-admin-dir):
3865 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
3866 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
3867 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
3868 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
3870 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
3872 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
3874 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
3876 * subr.el (read-passwd): Hide chars even when called within a context
3877 where after-change-functions is disabled (bug#15501).
3878 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
3879 until we removed ourself from overriding-terminal-local-map.
3881 2013-10-04 Leo Liu <sdl.web@gmail.com>
3883 * progmodes/octave.el (inferior-octave-mode):
3884 Call compilation-forget-errors.
3886 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
3888 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
3890 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
3892 * net/secrets.el (secrets-create-collection): Add optional
3893 argument ALIAS. Use proper Label keyword. Append ALIAS as
3894 dbus-call-method argument. (Bug#15516)
3896 2013-10-04 Leo Liu <sdl.web@gmail.com>
3898 * progmodes/octave.el (inferior-octave-error-regexp-alist)
3899 (inferior-octave-compilation-font-lock-keywords): New variables.
3900 (compilation-error-regexp-alist)
3901 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
3902 (inferior-octave-mode): Use compilation-shell-minor-mode.
3904 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
3906 * minibuffer.el (completion--replace): Be careful that `end' might be
3909 2013-10-03 Daiki Ueno <ueno@gnu.org>
3911 Add support for package signature checking.
3912 * emacs-lisp/package.el (url-http-file-exists-p)
3913 (epg-make-context, epg-context-set-home-directory)
3914 (epg-verify-string, epg-context-result-for)
3915 (epg-signature-status, epg-signature-to-string)
3916 (epg-check-configuration, epg-configuration)
3917 (epg-import-keys-from-file): Declare.
3918 (package-check-signature): New user option.
3919 (package-unsigned-archives): New user option.
3920 (package-desc): Add `signed' field.
3921 (package-load-descriptor): Set `signed' field if .signed file exists.
3922 (package--archive-file-exists-p): New function.
3923 (package--check-signature): New function.
3924 (package-install-from-archive): Check package signature.
3925 (package--download-one-archive): Check archive signature.
3926 (package-delete): Remove .signed file.
3927 (package-import-keyring): New command.
3928 (package-refresh-contents): Import default keyring.
3929 (package-desc-status): Add "unsigned" status.
3930 (describe-package-1, package-menu--print-info)
3931 (package-menu-mark-delete, package-menu--find-upgrades)
3932 (package-menu--status-predicate): Support "unsigned" status.
3934 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
3936 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
3937 the new compilation scheme using the new byte-codes.
3939 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
3940 (byte-pophandler): New byte codes.
3941 (byte-goto-ops): Adjust accordingly.
3942 (byte-compile--use-old-handlers): New var.
3943 (byte-compile-catch): Use new byte codes depending on
3944 byte-compile--use-old-handlers.
3945 (byte-compile-condition-case--old): Rename from
3946 byte-compile-condition-case.
3947 (byte-compile-condition-case--new): New function.
3948 (byte-compile-condition-case): New function that dispatches depending
3949 on byte-compile--use-old-handlers.
3950 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
3953 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
3954 Optimize under `condition-case' and `catch' if
3955 byte-compile--use-old-handlers is nil.
3956 (disassemble-offset): Handle new bytecodes.
3958 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
3960 * subr.el (error): Use `declare'.
3961 (decode-char, encode-char): Use advertised-calling-convention instead
3962 of the docstring to discourage use of the `restriction' arg.
3964 2013-10-03 Daiki Ueno <ueno@gnu.org>
3966 * epg.el (epg-verify-file): Add a comment saying that it does not
3967 notify verification error as a return value nor a signal.
3968 (epg-verify-string): Ditto.
3970 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
3972 * progmodes/compile.el (compilation-start): Try globbing the arg to
3975 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
3977 Sync with Tramp 2.2.8.
3979 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
3980 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
3981 * net/trampver.el: Update release number.
3983 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
3985 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
3986 and default-process-coding-system for darwin only.
3988 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
3990 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
3992 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
3994 * vc/vc-git.el (vc-git-grep): Disable pager.
3996 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
3998 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
3999 Use :url instead of :homepage, as per
4000 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
4002 * newcomment.el (comment-beginning): When `comment-use-syntax' is
4003 non-nil, use `syntax-ppss' (Bug#15251).
4005 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4007 * progmodes/octave.el (inferior-octave-startup-file):
4008 Prefer ~/.emacs.d/init_octave.m.
4010 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
4012 * emacs-lisp/package.el (package-desc-from-define):
4013 Accept additional arguments as plist, convert them to an alist and store
4014 them in the `extras' slot.
4015 (package-generate-description-file): Convert extras alist back to
4016 plist and append to the `define-package' form arguments.
4017 (package--alist-to-plist): New function.
4018 (package--ac-desc): Add `extras' slot.
4019 (package--add-to-archive-contents): Check if the archive-contents
4020 vector is long enough, and if it is, pass its `extras' slot value
4021 to `package-desc-create'.
4022 (package-buffer-info): Call `lm-homepage', pass the returned value
4023 to `package-desc-from-define'.
4024 (describe-package-1): Render the homepage button (Bug#13291).
4026 * emacs-lisp/package-x.el (package-upload-buffer-internal):
4027 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
4029 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
4031 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
4032 and default-process-coding-system to utf-8-unix (Bug#15402).
4034 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
4036 * subr.el (looking-back): Do not recommend using looking-back.
4038 2013-09-28 Alan Mackenzie <acm@muc.de>
4040 Fix indentation/fontification of Java enum with "implements".
4042 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
4043 regexp which matches "implements", etc., in Java.
4044 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
4045 specifier clauses coming after "enum".
4046 * progmodes/cc-fonts.el (c-font-lock-declarations)
4047 (c-font-lock-enum-tail): Check for extra specifier clauses coming
4050 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
4052 * faces.el (region): Change ns_selection_color to
4053 ns_selection_fg_color, add ns_selection_bg_color.
4055 2013-09-28 Leo Liu <sdl.web@gmail.com>
4057 * progmodes/octave.el (inferior-octave-completion-table)
4058 (inferior-octave-completion-at-point): Minor tweaks.
4060 * textmodes/ispell.el (ispell-lookup-words): Rename from
4061 lookup-words. (Bug#15460)
4062 (lookup-words): Obsolete.
4063 (ispell-complete-word, ispell-command-loop): All uses changed.
4065 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4067 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
4068 (octave-mode-menu): Add octave-send-buffer.
4069 (octave-send-buffer): New function.
4071 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4073 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
4075 (octave-mode-menu): Add octave-lookfor.
4076 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
4078 (octave-lookfor): New function.
4080 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
4082 * emacs-lisp/cl-macs.el:
4083 (cl--loop-destr-temps): Remove.
4084 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
4086 (cl--loop-set-iterator-function): New function.
4087 (cl-loop): Adjust accordingly, so as not to use cl-subst.
4088 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
4089 Bind `it' with `let' instead of substituting it with `cl-subst'.
4090 (cl--unused-var-p): New function.
4091 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
4092 Eliminate some unused variable warnings (bug#15326).
4094 2013-09-27 Tassilo Horn <tsdh@gnu.org>
4096 * doc-view.el (doc-view-scale-reset): Rename from
4097 `doc-view-reset-zoom-level'.
4098 (doc-view-scale-adjust): New command.
4099 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
4100 `doc-view-scale-adjust'.
4102 2013-09-26 Tassilo Horn <tsdh@gnu.org>
4104 * doc-view.el (doc-view-reset-zoom-level): New command.
4105 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
4106 zoom commands (bug#15466).
4108 2013-09-26 Kenichi Handa <handa@gnu.org>
4110 * international/quail.el (quail-help): Make it not a command.
4112 2013-09-26 Leo Liu <sdl.web@gmail.com>
4114 * minibuffer.el (completion-all-sorted-completions): Make args
4115 optional as they are.
4117 2013-09-25 Daniel Colascione <dancol@dancol.org>
4119 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
4120 specs are and that they're not evaluated.
4122 2013-09-24 Sam Steingold <sds@gnu.org>
4124 * midnight.el (clean-buffer-list-kill-regexps)
4125 (clean-buffer-list-kill-buffer-names): Update for the new Man
4126 buffer naming which includes the object name.
4128 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
4130 * eshell/esh-cmd.el (eshell--sep-terms): New var.
4131 (eshell-parse-command, eshell-parse-pipeline): Use it since
4132 eshell-separate-commands requires a dynamic scoped var.
4133 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
4135 2013-09-23 Leo Liu <sdl.web@gmail.com>
4137 * autoinsert.el (auto-insert-alist): Make the value of
4138 lexical-binding match its file setting.
4140 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
4142 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
4144 * autoarg.el (autoarg-kp-digit-argument):
4145 * electric.el (Electric-command-loop):
4146 * kmacro.el (kmacro-step-edit-insert):
4147 Do not set universal-argument-num-events.
4149 2013-09-22 Leo Liu <sdl.web@gmail.com>
4151 * files.el (interpreter-mode-alist): Add octave.
4153 2013-09-21 Alan Mackenzie <acm@muc.de>
4155 C++: fontify identifier in declaration following "public:" correctly.
4156 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
4157 to match "public", etc.
4158 (c-decl-prefix-re): Add ":" into the C++ value.
4159 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
4160 bit. Add a check for a ":" preceded by "public", etc.
4162 2013-09-21 Eli Zaretskii <eliz@gnu.org>
4164 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
4165 recognized by GDB 7.5 and later.
4167 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
4169 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
4171 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
4173 * subr.el (internal--call-interactively): New const.
4174 (called-interactively-p): Use it (bug#3984).
4176 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
4178 * vc/pcvs.el (cvs-mode-ignore):
4179 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
4180 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
4182 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
4184 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
4185 (eshell-ls-orig-insert-directory): Remove.
4186 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
4187 (eshell-ls-use-in-dired): Use advice-add/remove.
4188 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
4189 Add `orig-fun' arg for use in :around advice.
4190 Make it check (redundantly) eshell-ls-use-in-dired.
4192 2013-09-19 Glenn Morris <rgm@gnu.org>
4194 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
4196 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
4198 * emacs-lisp/eieio.el (class-parent): Undo previous change.
4200 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
4202 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
4203 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
4204 (tramp-get-remote-python): New defuns.
4205 (tramp-get-remote-uid-with-perl)
4206 (tramp-get-remote-gid-with-perl): New defuns. Perl code
4207 contributed by yary <not.com@gmail.com> (tiny change).
4208 (tramp-get-remote-uid-with-python)
4209 (tramp-get-remote-gid-with-python): New defuns. Python code
4210 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
4211 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
4213 2013-09-19 Glenn Morris <rgm@gnu.org>
4215 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
4217 * eshell/em-unix.el (eshell-remove-entries):
4218 Rename argument to avoid name-clash with global `top-level'.
4220 * eshell/esh-proc.el (eshell-kill-process-function):
4221 Remove eshell-reset-after-proc from eshell-kill-hook if present.
4222 (eshell-reset-after-proc): Remove unused arg `proc'.
4224 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
4225 (directory-files-and-attributes): Mark unused arg.
4227 * eshell/em-unix.el (eshell-remove-entries):
4228 Remove unused arg `path'. Update callers.
4230 * eshell/em-hist.el (eshell-hist-parse-arguments):
4231 Remove unused arg `silent'. Update callers.
4233 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
4234 Fix (f)boundp mix-up.
4236 * eshell/em-smart.el (eshell-smart-scroll-window)
4237 (eshell-disable-after-change):
4238 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
4240 2013-09-18 Alan Mackenzie <acm@muc.de>
4242 Fix fontification of type when followed by "const".
4243 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
4244 "known" types from fontification.
4246 2013-09-18 Glenn Morris <rgm@gnu.org>
4248 * emacs-lisp/chart.el (x-display-color-cells): Declare.
4249 (chart-face-list): Drop Emacsen without display-color-p.
4251 * net/eww.el (libxml-parse-html-region): Declare.
4252 (eww-display-html): Explicit error if no libxml2 support.
4254 * doc-view.el (doc-view-mode): Silence --without-x compilation.
4256 * image.el (image-type-from-buffer, image-multi-frame-p):
4257 Remove --without-x warning/error.
4259 * mouse.el (mouse-yank-primary):
4260 * term.el (term-mouse-paste):
4261 Reorder to silence --without-x compilation.
4263 * mpc.el (doc-view-mode): Silence --without-x compilation.
4265 * mail/rmailmm.el (rmail-mime-set-bulk-data):
4266 Silence --without-x compilation.
4268 * progmodes/gud.el (gud-find-file, gud-mode):
4269 Silence --without-x compilation.
4270 (tooltip-mode): Declare.
4272 * wdired.el (dired-backup-overwrite): Remove declaration.
4273 (wdired-mode-map): Add doc string.
4275 * custom.el (x-get-resource): Declare.
4277 * eshell/em-glob.el (ange-cache):
4278 * eshell/em-unix.el (ange-cache): Declare.
4280 * faces.el (x-display-list, x-open-connection, x-get-resource):
4283 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
4284 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
4287 * frame.el (x-display-grayscale-p, x-display-name): Declare.
4289 * net/gnutls.el (gnutls-log-level): Declare.
4291 * net/shr.el (image-size, image-animate): Declare.
4293 * simple.el (font-info): Declare.
4295 * subr.el (x-popup-dialog): Declare.
4297 * term/common-win.el (x-select-enable-primary)
4298 (x-last-selected-text-primary, x-last-selected-text-clipboard):
4301 * term/ns-win.el (x-handle-args): Declare.
4303 * term/x-win.el (x-select-enable-clipboard): Declare.
4305 * term/w32-win.el (create-default-fontset): Declare.
4307 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
4310 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
4311 (fit-frame-to-buffer): Explicit error if --without-x.
4312 (mouse-autoselect-window-select): Silence compiler.
4314 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
4316 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
4317 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
4318 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
4319 * eshell/esh-util.el (eshell-sublist):
4320 Remove unused local variables.
4322 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
4324 * textmodes/two-column.el: Make 2C-split work for --without-x.
4325 (scroll-bar-columns): Autoload.
4326 (top-level): Require fringe when compiling.
4328 2013-09-18 Leo Liu <sdl.web@gmail.com>
4330 * subr.el (add-hook): Robustify to handle closure as well.
4332 2013-09-17 Glenn Morris <rgm@gnu.org>
4334 * simple.el (messages-buffer-mode-map): Unbind "g".
4336 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
4338 * help-mode.el (help-mode-finish): Use derived-mode-p.
4339 Remove obsolete highlighting.
4341 * play/life.el (life-mode): Use define-derived-mode. Derive from
4343 (life): Let-bind inhibit-read-only.
4344 (life-setup): Avoid `setq'. Use `life-mode'.
4346 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
4347 which should not be needed any more.
4348 (package-menu-refresh, package-menu-describe-package): Use user-error.
4350 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
4351 (eshell-post-rewrite-command-hook): Make obsolete.
4352 (eshell-parse-command): Simplify.
4353 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
4354 (eshell--cmd): Declare.
4355 (eshell-parse-pipeline): Remove unused var `final-p'.
4356 Pass a dynvar to eshell-post-rewrite-command-hook.
4357 Implement the new eshell-post-rewrite-command-function.
4358 (eshell-invoke-directly): Remove unused arg `input'.
4359 * eshell/esh-io.el (eshell-io-initialize):
4360 Use eshell-post-rewrite-command-function (bug#15399).
4361 (eshell--apply-redirections): Rename from eshell-apply-redirections;
4362 adjust to new calling convention.
4363 (eshell-create-handles): Rename args to avoid clashing with dynvar
4366 2013-09-17 Glenn Morris <rgm@gnu.org>
4368 * simple.el (messages-buffer-mode): New major mode.
4369 (messages-buffer): New function.
4370 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
4371 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
4372 (ert-run-test): Use `messages-buffer' function.
4373 (ert--force-message-log-buffer-truncation): Ignore read-only.
4374 * help.el (view-echo-area-messages): Use `messages-buffer' function.
4375 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
4377 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
4379 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
4381 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
4383 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
4385 * icomplete.el (icomplete-in-buffer): New var.
4386 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
4387 vars and replace them with functions.
4388 (icomplete-minibuffer-setup): Adjust accordingly.
4389 (icomplete--completion-table, icomplete--completion-predicate)
4390 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
4392 (icomplete-forward-completions, icomplete-backward-completions)
4393 (icomplete-simple-completing-p, icomplete-exhibit)
4394 (icomplete-completions): Use them.
4395 (icomplete--in-region-buffer): New var.
4396 (icomplete--in-region-setup): New function.
4397 (icomplete-mode): Use it.
4399 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
4401 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
4402 return args and options.
4403 (eshell-eval-using-options): Use the new return value of
4404 eshell--do-opts to set the options's vars in their scope.
4405 (eshell--set-option): Rename from eshell-set-option.
4407 (eshell--process-option): Rename from eshell-process-option.
4409 (eshell--process-args): Use an `opt-vals' alist to store the options's
4410 values during their processing and return them additionally to the
4413 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
4415 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
4416 continuation character an operator, as far as indentation is
4417 concerned (Bug#15369).
4419 2013-09-15 Martin Rudalics <rudalics@gmx.at>
4421 * window.el (window--state-put-2): Don't process buffer state
4422 when buffer doesn't exist any more (Bug#15382).
4424 2013-09-15 Glenn Morris <rgm@gnu.org>
4426 * eshell/em-unix.el (eshell/rm):
4427 Make -f ignore missing files. (Bug#15373)
4429 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
4430 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
4431 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
4433 2013-09-14 Glenn Morris <rgm@gnu.org>
4435 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
4437 2013-09-13 Glenn Morris <rgm@gnu.org>
4439 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
4440 (dired-guess-default): Make `file' available in the env. (Bug#15363)
4442 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
4444 * frame.el (x-focus-frame): Mark as declared in frame.c.
4446 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
4448 * ls-lisp.el: Use advice-add.
4449 (original-insert-directory): Remove.
4450 (ls-lisp--insert-directory): Rename from insert-directory; add
4451 `orig-fun' argument.
4452 (insert-directory): Advise.
4454 2013-09-13 Eli Zaretskii <eliz@gnu.org>
4456 * term.el (term-emulate-terminal): Decode the command string
4457 before passing it to term-command-hook. (Bug#15337)
4459 2013-09-13 Glenn Morris <rgm@gnu.org>
4461 * eshell/esh-util.el (ange-cache): Move declaration earlier.
4463 * eshell/esh-ext.el (eshell-search-path): Declare.
4465 * eshell/em-prompt.el (eshell/pwd): Autoload it.
4466 Otherwise an error occurs if eshell-dirs module not loaded.
4468 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
4470 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
4472 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
4473 `tramp-check-proper-host'. Check for a valid method name.
4475 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4476 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4477 * net/tramp-sh.el (tramp-maybe-open-connection):
4478 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
4480 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
4481 also for hash values.
4483 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4485 * term/ns-win.el (parameters): Don't declare as dynamic.
4486 (before-make-frame-hook): Don't add ineffective function.
4488 * eshell/*.el: Use lexical-binding (bug#15231).
4490 2013-09-12 Kenichi Handa <handa@gnu.org>
4492 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
4494 2013-09-12 Glenn Morris <rgm@gnu.org>
4496 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
4497 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
4499 * subr.el (do-after-load-evaluation): Also give compiler warnings
4500 when obsolete files are used (except by obsolete files).
4502 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
4503 in the status output, assume `filename' is the first. (Bug#15322)
4505 * vc/vc.el (vc-deduce-fileset): Doc fix.
4507 * calc/calc-help.el (Info-goto-node):
4508 * progmodes/cperl-mode.el (Info-find-node):
4509 * vc/ediff.el (Info-goto-node): Update declarations.
4511 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
4513 * vc/vc-bzr.el (vc-compilation-mode): Declare.
4514 (vc-bzr-pull): Require vc-dispatcher.
4515 * vc/vc-git.el (vc-compilation-mode): Declare.
4516 (vc-git-pull): Require vc-dispatcher.
4518 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
4520 * progmodes/octave.el (help-button-action): Declare.
4522 * shell.el (shell-directory-tracker): Output error as a message
4523 rather than just returning it as a string.
4524 (shell-process-pushd): Remove useless use of message.
4526 * dframe.el (dframe-timer-fn):
4527 * files.el (dir-locals-read-from-file):
4528 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
4530 * reveal.el (reveal-post-command):
4531 * saveplace.el (load-save-place-alist-from-file):
4532 * shell.el (shell-resync-dirs):
4533 * w32-common-fns.el (x-get-selection-value):
4534 * emacs-lisp/copyright.el (copyright-find-copyright):
4535 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
4536 * emulation/tpu-edt.el (tpu-copy-keyfile):
4537 * play/bubbles.el (bubbles--mark-neighbourhood):
4538 * progmodes/executable.el
4539 (executable-make-buffer-file-executable-if-script-p):
4540 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
4542 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4544 Cleanup Eshell to rely less on dynamic scoping.
4545 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
4546 last-value, and ext-command here. Bind `args' closer to `body'.
4547 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
4548 (eshell--args): Declare new dynamic var.
4549 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
4550 last-value, and ext-command. Pass `args' to `body'.
4551 (eshell-process-args): Bind eshell--args.
4552 (eshell-set-option): Use eshell--args.
4553 * eshell/eshell.el (eshell): Use derived-mode-p.
4554 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
4555 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
4556 (eshell-glob-function): Declare.
4557 * eshell/esh-util.el: Require cl-lib.
4558 (eshell-read-hosts-file): Avoid add-to-list.
4559 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
4561 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
4563 (eshell/diff): Remove unused var `err'.
4564 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
4566 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
4567 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
4569 * eshell/em-glob.el (eshell-glob-matches, message-shown):
4570 Move declaration before first use.
4571 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
4572 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
4575 2013-09-12 Glenn Morris <rgm@gnu.org>
4577 * term/ns-win.el (global-map): Remove binding for ispell-next,
4578 deleted 1999-05-29. (Bug#15357)
4580 2013-09-11 Glenn Morris <rgm@gnu.org>
4582 * echistory.el (electric-command-history): Remove call to deleted func.
4584 * play/landmark.el (landmark-mode): Fix typos.
4586 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
4587 Check cvs-sort-ignore-file is bound.
4589 * savehist.el: No need for cl when compiling on Emacs.
4591 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
4593 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
4595 (eshell-self-insert-command, eshell-send-invisible):
4596 Remove unused argument.
4597 (eshell-handle-control-codes): Remove unused var `orig'.
4598 Avoid delete-backward-char.
4600 * files.el (set-auto-mode): Simplify a bit further.
4602 2013-09-11 Glenn Morris <rgm@gnu.org>
4604 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
4605 (set-auto-mode): Don't regexp-quote elements.
4606 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
4607 * progmodes/cc-mode.el (interpreter-mode-alist):
4608 * progmodes/ruby-mode.el (interpreter-mode-alist):
4609 Revert previous change.
4611 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
4613 * play/snake.el (snake-mode):
4614 * play/mpuz.el (mpuz-mode):
4615 * play/landmark.el (lm-mode):
4616 * play/blackbox.el (blackbox-mode):
4617 * play/5x5.el (5x5-mode):
4618 * obsolete/options.el (Edit-options-mode):
4619 * net/quickurl.el (quickurl-list-mode):
4620 * net/newst-treeview.el (newsticker-treeview-mode):
4621 * mail/rmailsum.el (rmail-summary-mode):
4622 * mail/mspools.el (mspools-mode):
4623 * locate.el (locate-mode):
4624 * ibuffer.el (ibuffer-mode):
4625 * emulation/ws-mode.el (wordstar-mode):
4626 * emacs-lisp/debug.el (debugger-mode):
4627 * array.el (array-mode):
4628 * net/eudc.el (eudc-mode): Use define-derived-mode.
4629 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
4630 Move initialization into declaration.
4631 (mairix-searches-mode): Use define-derived-mode.
4632 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
4633 (eudc-edit-hotlist): Use dolist.
4634 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
4635 (Man-mode): Use define-derived-mode.
4636 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
4637 (Info-edit-mode): Use define-derived-mode.
4638 (Info-cease-edit): Use Info-mode.
4639 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
4641 (eshell-mode): Use define-derived-mode.
4642 * chistory.el (command-history-mode-map): Rename from
4643 command-history-map.
4644 (command-history-mode): Use define-derived-mode.
4645 (Command-history-setup): Remove function.
4646 * calc/calc.el (calc-trail-mode-map): New var.
4647 (calc-trail-mode): Use define-derived-mode.
4648 (calc-trail-buffer): Set calc-main-buffer manually.
4649 * bookmark.el (bookmark-insert-annotation): New function.
4650 (bookmark-edit-annotation): Use it.
4651 (bookmark-edit-annotation-mode): Make it a proper major mode.
4652 (bookmark-send-edited-annotation): Use derived-mode-p.
4653 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
4654 closer to its ideal place. Use \' to match EOS.
4656 * profiler.el (profiler-calltree-find): Use function-equal.
4658 2013-09-10 Glenn Morris <rgm@gnu.org>
4660 * files.el (interpreter-mode-alist): Convert to regexps.
4661 (set-auto-mode): Adapt for this. (Bug#15306)
4662 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
4663 Comment out unused variable.
4664 * progmodes/cc-mode.el (interpreter-mode-alist):
4665 * progmodes/python.el (interpreter-mode-alist):
4666 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
4667 * progmodes/sh-script.el (sh-set-shell):
4668 No longer use interpreter-mode-alist to get list of shells.
4670 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
4672 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
4674 * simple.el: Use set-temporary-overlay-map for universal-argument.
4675 (universal-argument-map): Don't use default-bindings (bug#15317).
4676 Bind switch-frame explicitly. Replace universal-argument-minus with
4677 a conditional binding.
4678 (universal-argument-num-events, saved-overriding-map): Remove.
4679 (restore-overriding-map): Remove.
4680 (universal-argument--mode): Rename from save&set-overriding-map,
4682 (universal-argument, universal-argument-more, negative-argument)
4683 (digit-argument): Adjust accordingly.
4684 (universal-argument-minus): Remove.
4685 (universal-argument-other-key): Remove.
4687 * subr.el (with-demoted-errors): Add `format' argument.
4689 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
4691 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
4692 `tramp-cleanup-connection'.
4694 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
4695 parameters KEEP-DEBUG and KEEP-PASSWORD.
4697 * net/tramp.el (tramp-file-name-handler):
4698 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4699 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
4700 (tramp-maybe-open-connection):
4701 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
4702 Use `tramp-cleanup-connection'.
4704 * net/tramp-sh.el (tramp-maybe-open-connection):
4705 Catch 'uname-changed inside the progress reporter.
4707 2013-09-10 Glenn Morris <rgm@gnu.org>
4709 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
4711 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
4712 returns "alternate access method" in mode (eg "-rw-r--r--.").
4714 2013-09-08 Glenn Morris <rgm@gnu.org>
4716 * saveplace.el (load-save-place-alist-from-file):
4717 Demote errors. (Bug#15305)
4719 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
4721 Improve compatibility with older Emacsen, and XEmacs.
4723 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
4724 only if it is bound. It isn't for XEmacs.
4725 (with-tramp-progress-reporter): Do not let-bind `result'.
4726 This yields to scoping errors in XEmacs.
4727 (tramp-handle-make-auto-save-file-name): New function, moved from
4730 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
4731 for `make-auto-save-file-name'.
4732 (tramp-adb--gnu-switches-to-ash):
4733 Use `tramp-compat-replace-regexp-in-string'.
4735 * net/tramp-cache.el (tramp-cache-print): Call
4736 `substring-no-properties' only if it is bound. It isn't for XEmacs.
4738 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
4739 bound. It isn't for XEmacs.
4741 * net/tramp-compat.el (tramp-compat-copy-file):
4742 Catch `wrong-number-of-arguments' error.
4743 (tramp-compat-replace-regexp-in-string): New defun.
4745 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
4746 for `make-auto-save-file-name'.
4747 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
4749 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
4750 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
4751 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
4753 * net/tramp-gw.el (tramp-gw-open-network-stream):
4754 Use `tramp-compat-replace-regexp-in-string'.
4756 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4757 Call `tramp-handle-make-auto-save-file-name'.
4758 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
4759 (tramp-sh-file-gvfs-monitor-dir-process-filter)
4760 (tramp-sh-file-inotifywait-process-filter):
4761 Use `tramp-compat-replace-regexp-in-string'.
4762 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
4764 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
4765 for `make-auto-save-file-name'.
4766 (tramp-smb-handle-copy-directory):
4767 Call `tramp-compat-replace-regexp-in-string'.
4768 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
4769 (tramp-smb-handle-copy-file): Improve error message.
4770 (tramp-smb-handle-rename-file): Rename directly only in case
4771 `newname' does not exist yet. This is a restriction of smbclient.
4772 (tramp-smb-maybe-open-connection): Rerun the function only when
4773 `auth-sources' is non-nil.
4775 2013-09-08 Kenichi Handa <handa@gnu.org>
4777 * international/characters.el: Set category "^" (Combining) for
4780 2013-09-07 Alan Mackenzie <acm@muc.de>
4782 Correctly fontify Java class constructors.
4783 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
4785 (c-recognize-typeless-decls): Set the Java value to t.
4786 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
4787 While handling a "(", add a check for, effectively, Java, and handle a
4788 "typeless" declaration there.
4790 2013-09-07 Roland Winkler <winkler@gnu.org>
4792 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
4793 field subtitle for entry type book.
4795 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4797 * minibuffer.el: Make minibuffer-complete call completion-in-region
4798 rather than other way around.
4799 (completion--some, completion-pcm--find-all-completions):
4800 Don't delay signals when debugging.
4801 (minibuffer-completion-contents): Beware fields within the
4802 minibuffer contents.
4803 (completion-all-sorted-completions): Use defvar-local.
4804 (completion--do-completion, completion--cache-all-sorted-completions)
4805 (completion-all-sorted-completions, minibuffer-force-complete):
4806 Add args `beg' and `end'.
4807 (completion--in-region-1): New fun, extracted from minibuffer-complete.
4808 (minibuffer-complete): Use completion-in-region.
4809 (completion-complete-and-exit): New fun, extracted from
4810 minibuffer-complete-and-exit.
4811 (minibuffer-complete-and-exit): Use it.
4812 (completion--complete-and-exit): Rename from
4813 minibuffer--complete-and-exit.
4814 (completion-in-region--single-word): New function, extracted from
4815 minibuffer-complete-word.
4816 (minibuffer-complete-word): Use it.
4817 (display-completion-list): Make `common-substring' argument obsolete.
4818 (completion--in-region): Call completion--in-region-1 instead of
4819 minibuffer-complete.
4820 (completion-help-at-point): Pass boundaries to
4821 minibuffer-completion-help as args rather than via an overlay.
4822 (completion-pcm--string->pattern): Use `any-delim'.
4823 (completion-pcm--optimize-pattern): New function.
4824 (completion-pcm--pattern->regex): Handle `any-delim'.
4825 * icomplete.el (icomplete-forward-completions)
4826 (icomplete-backward-completions, icomplete-completions):
4827 Adjust calls to completion-all-sorted-completions and
4828 completion--cache-all-sorted-completions.
4829 (icomplete-with-completion-tables): Default to t.
4830 * emacs-lisp/crm.el (crm--current-element): Rename from
4831 crm--select-current-element. Don't put an overlay but return the
4833 (crm--completion-command): Take two new args to bind to the boundaries.
4834 (crm-completion-help): Adjust accordingly.
4835 (crm-complete): Use completion-in-region.
4836 (crm-complete-word): Use completion-in-region--single-word.
4837 (crm-complete-and-exit): Use completion-complete-and-exit.
4839 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4841 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
4844 2013-09-06 Juri Linkov <juri@jurta.org>
4846 * info.el (Info-display-images-node): When image file doesn't exist
4847 display text version of the image if it's provided in the Info file.
4848 Otherwise, display the location of missing image from SRC attribute.
4849 Add help-echo text property from ALT attribute. (Bug#15279)
4851 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4853 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
4854 (edit-abbrevs-mode): Use define-derived-mode.
4856 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
4857 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
4859 (epa-key-list-mode, epa-key-mode, epa-info-mode):
4860 Use define-derived-mode.
4862 * epg.el (epg-start-encrypt): Minor CSE simplification.
4864 2013-09-06 William Xu <william.xwl@gmail.com>
4866 * arc-mode.el: Add support for 7za (bug#15264).
4867 (archive-7z-program): New var.
4868 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
4869 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
4870 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
4872 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
4876 * net/tramp.el (tramp-syntax, tramp-prefix-format)
4877 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
4878 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
4879 (tramp-postfix-host-format, tramp-file-name-regexp)
4880 (tramp-completion-file-name-regexp)
4881 (tramp-completion-dissect-file-name)
4882 (tramp-handle-substitute-in-file-name): Remove 'url case.
4883 (tramp-file-name-regexp-url)
4884 (tramp-completion-file-name-regexp-url): Remove constants.
4886 2013-09-06 Glenn Morris <rgm@gnu.org>
4888 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
4890 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
4892 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
4893 keywords" below "here-doc beginnings" (Bug#15270).
4895 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
4897 * subr.el (pop): Use `car-safe'.
4898 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
4899 to detect unused `pop' return value.
4901 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
4903 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
4904 (python-fill-string): Remove unused var `marker'.
4905 (python-skeleton-add-menu-items): Remove unused var `items'.
4907 * international/mule-cmds.el: Require CL.
4908 (find-coding-systems-for-charsets): Avoid add-to-list.
4909 (sanitize-coding-system-list): New function, extracted from
4910 select-safe-coding-system-interactively.
4911 (select-safe-coding-system-interactively): Use it.
4912 (read-input-method-name): Accept symbols for `default'.
4914 * emacs-lisp/advice.el (defadvice): Add indent rule.
4916 2013-09-05 Daniel Hackney <dan@haxney.org>
4920 * net/browse-url.el:
4923 * net/eudcb-ldap.el:
4936 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
4937 byte compiler. Remove some unused let-bound variables.
4939 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
4941 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
4942 a "ref-cell", since it gets better optimized (bug#14883).
4944 2013-09-05 Glenn Morris <rgm@gnu.org>
4946 * progmodes/cc-awk.el (c-forward-sws): Declare.
4948 2013-09-04 Glenn Morris <rgm@gnu.org>
4950 * generic-x.el [rul-generic-mode]: Require cc-mode.
4951 (c++-mode-syntax-table): Declare.
4952 (rul-generic-mode-syntax-table): Init in the defvar.
4954 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
4956 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
4957 (vc-do-command, vc-set-async-update):
4958 * vc/vc-mtn.el (vc-mtn-dir-status):
4959 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
4960 (vc-hg-pull, vc-hg-merge-branch):
4961 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
4962 (vc-git-merge-branch):
4963 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
4964 (vc-cvs-dir-status-files):
4965 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
4966 (vc-bzr-dir-status-files):
4967 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
4968 * vc/vc-annotate.el: Use lexical-binding.
4969 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
4970 (vc-sentinel-movepoint): Declare.
4971 (vc-annotate): Don't use `goto-line'.
4972 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
4973 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
4974 (vc-sentinel-movepoint): Declare.
4975 * vc/vc-svn.el: Use lexical-binding.
4976 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
4978 * vc/vc-rcs.el: Use lexical-binding.
4980 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
4981 `deleted'. Don't drop errors silently.
4983 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
4985 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
4987 * vc/vc.el (vc-ignore): Rewrite.
4988 (vc-default-ignore): New function.
4989 (vc-default-ignore-completion-table): Use find-ignore-file.
4991 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
4992 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
4993 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
4994 Remove. Most code moved to vc.el.
4996 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
4998 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
4999 * net/tramp-smb.el (tramp-smb-get-file-entries):
5000 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
5001 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
5003 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
5005 (eww-change-select): Remove unused var `properties'.
5006 (eww-make-unique-file-name): Remove unused var `base'.
5008 * finder.el (finder-compile-keywords): Don't mess with windows.
5010 * calculator.el (calculator-funcall): Fix typo in last change.
5012 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
5014 * emacs-lisp/package.el (package-activate-1): Don't let a missing
5015 <pkg>-autoloads.el file stop us.
5017 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
5018 warnings, and factor out common code.
5020 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
5022 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
5023 two-character operators and whether the character preceding them
5024 changes their meaning (Bug#15208).
5026 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
5028 Format code sent to Python shell for robustness.
5029 * progmodes/python.el (python-shell-buffer-substring):
5031 (python-shell-send-region, python-shell-send-buffer): Use it.
5033 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
5035 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
5036 * net/tramp.el (tramp-user-error): ... here.
5037 (tramp-find-method, tramp-check-proper-host)
5038 (tramp-dissect-file-name, tramp-debug-message)
5039 (tramp-handle-shell-command):
5040 * net/tramp-adb.el (tramp-adb-handle-shell-command):
5041 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
5043 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
5045 2013-09-02 Martin Rudalics <rudalics@gmx.at>
5047 * avoid.el (mouse-avoidance-point-position)
5048 (mouse-avoidance-too-close-p): Handle case where posn-at-point
5051 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
5053 * progmodes/python.el (python-shell-completion-get-completions):
5054 Drop use of deleted `comint-last-prompt-overlay'.
5055 (python-nav-if-name-main): New command.
5057 2013-09-01 Glenn Morris <rgm@gnu.org>
5059 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
5060 Avoid leading space in $wins. Otherwise the sed command used by
5061 eg compile-main ends up containing "/*.el". (Bug#15170)
5063 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
5065 2013-08-30 Glenn Morris <rgm@gnu.org>
5067 * emacs-lisp/bytecomp.el (byte-recompile-directory):
5068 Fix is-this-a-directory logic. (Bug#15220)
5070 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
5072 * textmodes/css-mode.el: Use SMIE.
5073 (css-smie-grammar): New var.
5074 (css-smie--forward-token, css-smie--backward-token)
5075 (css-smie-rules): New functions.
5076 (css-mode): Use them.
5077 (css-navigation-syntax-table): Remove var.
5078 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
5079 (css-indent-calculate, css-indent-line): Remove functions.
5081 Misc changes to reduce use of `(lambda...); and other cleanups.
5082 * cus-edit.el: Use lexical-binding.
5083 (customize-push-and-save, customize-apropos)
5084 (custom-buffer-create-internal): Use closures.
5085 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
5086 * progmodes/ada-xref.el: Use setq.
5087 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
5088 * dframe.el: Use lexical-binding.
5089 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
5090 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
5091 * descr-text.el: Use lexical-binding.
5092 (describe-text-widget, describe-text-sexp, describe-property-list):
5094 * comint.el (comint-history-isearch-push-state): Use a closure.
5095 * calculator.el: Use lexical-binding.
5096 (calculator-number-to-string): Make it work with lexical-binding.
5097 (calculator-funcall): Same and use cl-letf.
5099 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
5100 (lisp--company-doc-string, lisp--company-location): New functions.
5101 (lisp-completion-at-point): Use them to improve Company support.
5103 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
5104 params of lambda expressions.
5105 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
5106 (ruby-smie--opening-pipe-p): New function.
5107 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
5108 symbols and matched |...| for formal params.
5109 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
5110 from being treated as hanging. Handle "rescue".
5112 2013-08-29 Glenn Morris <rgm@gnu.org>
5114 * progmodes/cc-engine.el (c-pull-open-brace):
5115 Move definition before use.
5117 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
5119 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
5120 are immutable. Don't use `unsafe' any more.
5121 (cl--defsubst-expand): Don't substitute at the same time as keeping
5122 a residual unused let-binding. Don't use `unsafe' any more.
5124 2013-08-29 Glenn Morris <rgm@gnu.org>
5126 * calendar/cal-china.el (calendar-chinese-year-cache):
5129 * nxml/nxml-util.el (nxml-debug-clear-inside):
5130 Use cl-loop rather than loop.
5132 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
5134 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
5136 2013-08-28 Glenn Morris <rgm@gnu.org>
5138 * progmodes/antlr-mode.el: No need to require cc-mode twice.
5140 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
5142 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
5144 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5146 * simple.el (repeat-complex-command--called-interactively-skip):
5148 (repeat-complex-command): Use it (bug#14136).
5150 * progmodes/cc-mode.el: Minor cleanup of var declarations.
5151 (c-define-abbrev-table): Add `doc' argument.
5152 (c-mode-abbrev-table, c++-mode-abbrev-table)
5153 (objc-mode-abbrev-table, java-mode-abbrev-table)
5154 (idl-mode-abbrev-table, pike-mode-abbrev-table)
5155 (awk-mode-abbrev-table): Use it.
5156 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
5157 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
5158 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
5159 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
5160 Move initialization into the declaration; and remove any
5163 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
5164 and dynamic let binding.
5166 * vc/smerge-mode.el: Remove redundant :group args.
5168 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
5171 2013-08-28 Juri Linkov <juri@jurta.org>
5173 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
5174 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
5175 (isearch-other-meta-char): Handle an undefined shifted printing
5176 character by downshifting it. (Bug#15200)
5178 2013-08-28 Juri Linkov <juri@jurta.org>
5180 * isearch.el (isearch-search): Change regexp error message for
5181 non-regexp searches. (Bug#15166)
5183 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
5185 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
5186 for portability to hosts where /bin/sh has problems.
5188 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5190 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
5192 2013-08-27 Juri Linkov <juri@jurta.org>
5194 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
5195 in the keyboard macro. (Bug#15126)
5197 2013-08-27 Juri Linkov <juri@jurta.org>
5199 * isearch.el (isearch-quote-char): Comment out converting unibyte
5200 to multibyte, thus syncing with its `quoted-insert' counterpart.
5203 2013-08-27 Martin Rudalics <rudalics@gmx.at>
5205 * window.el (display-buffer-use-some-window): Add missing
5206 argument in call of get-largest-window (Bug#15185).
5207 Reported by Stephen Leake.
5209 2013-08-27 Glenn Morris <rgm@gnu.org>
5211 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
5213 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
5215 * progmodes/python.el (python-font-lock-keywords): Don't return nil
5216 from a matcher-function unless there's no more matches (bug#15161).
5218 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
5220 * minibuffer.el: Revert change from 2013-08-20.
5222 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
5223 with text property `tramp-default', if appropriate.
5224 (tramp-check-proper-host): New defun.
5225 (tramp-dissect-file-name): Do not check hostname. Revert change
5227 (tramp-backtrace): Make VEC-OR-PROC optional.
5229 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5230 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5231 * net/tramp-sh.el (tramp-maybe-open-connection):
5232 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
5233 Apply `tramp-check-proper-host'.
5235 2013-08-26 Tassilo Horn <tsdh@gnu.org>
5237 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
5238 lambda expression in order to have `describe-variable' display it.
5240 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
5242 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
5243 BUF can be optional. (Bug#15186)
5245 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
5247 * progmodes/flymake.el (flymake-get-real-file-name-function):
5248 Fix broken customization. (Bug#15184)
5250 2013-08-25 Alan Mackenzie <acm@muc.de>
5252 Improve indentation of bracelists defined by macros (without "=").
5254 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
5255 expansion begins with "{", regard it as bracelist when it doesn't
5258 Parse C++ inher-intro when there's a template split over 2 lines.
5260 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
5261 rigorously the search for "class" etc. followed by ":".
5263 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
5264 random languages a regexp which never matches rather than nil.
5266 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
5268 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
5269 (c-awk-regexp-one-line-possibly-open-char-list-re)
5270 (c-awk-one-line-possibly-open-regexp-re)
5271 (c-awk-one-line-non-syn-ws*-re): Remove.
5272 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
5273 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
5274 (c-awk-space*-unclosed-regexp-/-re): New constants.
5275 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
5276 aren't regexp delimiters.
5278 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
5279 handling for a rare situation in AWK Mode involving unterminated
5282 2013-08-23 Glenn Morris <rgm@gnu.org>
5284 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
5286 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
5288 * files.el (create-file-buffer): If the result would begin with
5289 spaces, prepend a "|" instead of removing them. (Bug#15162)
5291 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
5293 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
5294 text-properties (bug#15155).
5296 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
5298 (calc-keypad-redraw): Remove unused var `pad'.
5299 (calc-keypad-press): Remove unused var `menu'.
5301 2013-08-23 Martin Rudalics <rudalics@gmx.at>
5303 * window.el (display-buffer-pop-up-frame):
5304 Call pop-up-frame-function with BUFFER current so `make-frame' will
5305 use it as the new frame's buffer (Bug#15133).
5307 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
5309 * calendar/timeclock.el: Minor cleanups.
5310 (timeclock-ask-before-exiting, timeclock-use-display-time):
5312 (timeclock-modeline-display): Define as alias before the
5314 (timeclock-mode-line-display): Use define-minor-mode.
5315 (timeclock-day-list-template): Make it a function, add an argument.
5316 (timeclock-day-list-required, timeclock-day-list-length)
5317 (timeclock-day-list-debt, timeclock-day-list-span)
5318 (timeclock-day-list-break): Adjust calls accordingly.
5320 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
5322 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
5323 Use read--expression so that completion works again.
5325 2013-08-21 Sam Steingold <sds@gnu.org>
5327 Add rudimentary inferior shell interaction
5328 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
5329 (sh-set-shell): Reset it.
5330 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
5331 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
5333 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
5335 * align.el: Use lexical-binding.
5336 (align-region): Simplify accordingly.
5338 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
5340 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
5342 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
5345 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
5349 * net/tramp-cmds.el:
5351 * net/tramp-gvfs.el:
5353 * net/tramp-sh.el: Don't wrap external variable declarations by
5354 `eval-when-compile'.
5356 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
5358 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
5359 now that Emacs supports ImageMagick animations.
5361 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
5363 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
5364 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
5366 2013-08-16 Martin Rudalics <rudalics@gmx.at>
5368 * window.el (mouse-autoselect-window-select): Do autoselect when
5369 mouse pointer is on margin.
5371 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
5373 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
5375 2013-08-16 Glenn Morris <rgm@gnu.org>
5377 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
5378 Handle "Remote Directory" response of some clients. (Bug#15058)
5380 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
5381 Tweak warning. (Bug#14926)
5383 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
5384 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
5386 * image-mode.el (image-mode-map): Add menu items to reverse,
5387 increase, decrease, reset animation speed.
5388 (image--set-speed, image-increase-speed, image-decrease-speed)
5389 (image-reverse-speed, image-reset-speed): New functions.
5390 (image-mode-map): Add bindings for speed commands.
5392 * image.el (image-animate-get-speed, image-animate-set-speed):
5394 (image-animate-timeout): Respect image :speed property.
5396 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
5398 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
5399 previous line (bug#15101).
5400 (debugger-eval-expression, debugger-record-expression):
5401 Use read--expression (bug#15102).
5403 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
5405 Remove byte compiler warnings, visible when compiling with
5406 `byte-compile-force-lexical-warnings' set to t.
5408 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
5409 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
5410 (tramp-handle-unhandled-file-name-directory)
5411 (tramp-handle-file-notify-add-watch, tramp-action-login)
5412 (tramp-action-succeed, tramp-action-permission-denied)
5413 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
5416 * net/tramp-adb.el (tramp-adb-parse-device-names)
5417 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
5418 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
5419 (tramp-adb-handle-file-truename): Remove unused arguments.
5421 * net/tramp-cache.el (tramp-flush-directory-property)
5422 (tramp-flush-connection-property, tramp-list-connections)
5423 (tramp-parse-connection-properties): Prefix unused arguments with "_".
5425 * net/tramp-compat.el (tramp-compat-make-temp-file):
5426 Rename FILENAME to F.
5428 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
5429 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
5430 (tramp-zeroconf-parse-workstation-device-names)
5431 (tramp-zeroconf-parse-webdav-device-names)
5432 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
5434 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
5435 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
5437 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
5439 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
5440 (tramp-sh-handle-insert-file-contents-literally)
5441 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
5443 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
5444 Remove unused variables.
5446 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
5447 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
5448 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
5450 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
5451 Make them a defconst.
5452 (tramp-uuencode-region): Remove unused variable.
5454 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
5456 * frameset.el (frameset--prop-setter): New function.
5457 (frameset-prop): Add gv-setter declaration.
5458 (frameset-filter-minibuffer): Deal with the case that the minibuffer
5459 parameter was already set in FILTERED. Doc fix.
5460 (frameset--record-minibuffer-relationships): Allow saving a
5461 minibufferless frame without its corresponding minibuffer frame.
5462 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
5463 frame, if the frame id matches.
5464 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
5465 frames before orphaned ones.
5466 (frameset-restore): Warn about orphaned windows, instead of error out.
5468 2013-08-14 Martin Rudalics <rudalics@gmx.at>
5470 * window.el (window-make-atom): Don't overwrite parameter
5472 (display-buffer-in-atom-window): Handle special case where we
5473 split an already atomic window.
5474 (window--major-non-side-window, display-buffer-in-side-window)
5475 (window--side-check): Ignore minibuffer window when walking
5477 (window-deletable-p): Return 'frame only if no other frame uses
5478 our minibuffer window.
5479 (record-window-buffer): Run buffer-list-update-hook.
5480 (split-window): Make sure window--check-frame won't destroy an
5481 existing atomic window in case the new window gets nested
5483 (display-buffer-at-bottom): Ignore minibuffer window when
5484 walking window tree. Don't split a side window.
5485 (pop-to-buffer): Don't set-buffer here, the select-window call
5487 (mouse-autoselect-window-select): Autoselect only if we are in the
5488 text portion of the window.
5490 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
5492 * net/shr.el (shr-parse-image-data): New function to grab both the
5493 data itself and the Content-Type.
5494 (shr-put-image): Use it.
5496 * net/eww.el (eww-display-image): Ditto.
5498 * image.el (image-content-type-suffixes): New variable.
5500 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
5502 * progmodes/python.el (python-imenu--build-tree)
5503 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
5505 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
5507 * simple.el (backward-word): Mention the optional argument.
5509 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
5511 * frameset.el (frameset--make): Rename constructor from make-frameset.
5512 (frameset-p, frameset-valid-p): Don't autoload.
5513 (frameset-valid-p): Use normal accessors.
5515 2013-08-13 Glenn Morris <rgm@gnu.org>
5517 * progmodes/compile.el (compile-command): Tweak example in doc.
5518 * obsolete/scribe.el (scribe-mode):
5519 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
5521 * mail/feedmail.el (feedmail-confirm-outgoing)
5522 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
5524 * cus-start.el (truncate-partial-width-windows): Fix type.
5526 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
5528 * net/shr.el (shr-table-horizontal-line): Fix custom type.
5530 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
5532 * emacs-lisp/timer.el (timer--time-setter): New function.
5533 (timer--time): Use it as gv-setter.
5535 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
5536 setter is not a symbol.
5538 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
5540 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
5541 if sending fails. This makes debugging easier.
5543 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
5545 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
5546 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
5547 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
5549 2013-08-12 Eli Zaretskii <eliz@gnu.org>
5551 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
5553 2013-08-12 Glenn Morris <rgm@gnu.org>
5555 * format.el (format-annotate-function):
5556 Handle read-only text properties in the source. (Bug#14887)
5558 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5560 * net/eww.el (eww-display-html): Ignore coding system errors.
5561 One web site uses "utf-8lias" as the coding system.
5563 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
5565 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
5567 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
5569 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
5570 (tutorial--detailed-help): Remove unused local variables.
5571 (tutorial--save-tutorial-to): Use ignore-errors.
5572 (help-with-tutorial): Use looking-at-p.
5574 * view.el (view-buffer-other-window, view-buffer-other-frame):
5575 Mark unused arguments.
5577 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
5578 (woman-select-symbol-fonts, woman, woman-find-file)
5579 (woman-insert-file-contents, woman-non-underline-faces):
5581 (woman1-unquote): Move declaration.
5583 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
5584 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
5585 argument. Remove unused local variable.
5586 (xml-parse-elem-type): Use string-match-p.
5587 (xml-substitute-numeric-entities): Use ignore-errors.
5589 * calculator.el (calculator): Mark unused argument.
5590 (calculator-paste, calculator-quit, calculator-integer-p):
5592 (calculator-string-to-number, calculator-decimal, calculator-exp)
5593 (calculator-op-or-exp): Use string-match-p.
5595 * dired.el (dired-buffer-more-recently-used-p): Declare.
5596 (dired-insert-set-properties, dired-insert-old-subdirs):
5599 * dired-aux.el (dired-compress): Use ignore-errors.
5600 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
5601 (dired-do-async-shell-command, dired-do-shell-command)
5602 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
5603 (dired-insert-subdir-validate): Use string-match-p.
5604 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
5605 (dired-add-entry): Use string-match-p, looking-at-p.
5606 (dired-insert-subdir-newpos): Remove unused local variable.
5608 * filenotify.el (file-notify-callback): Remove unused local variable.
5610 * filesets.el (filesets-error): Mark unused argument.
5611 (filesets-which-command-p, filesets-filter-dir-names)
5612 (filesets-directory-files, filesets-get-external-viewer)
5613 (filesets-ingroup-get-data): Use string-match-p.
5615 * find-file.el (ff-other-file-name, ff-other-file-name)
5616 (ff-find-the-other-file, ff-cc-hh-converter):
5617 Remove unused local variables.
5618 (ff-get-file-name): Use string-match-p.
5619 (ff-all-dirs-under): Use ignore-errors.
5621 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
5622 (follow-select-if-visible): Remove unused local variable.
5624 * forms.el (read-file-filter): Move declaration.
5625 (forms--make-format, forms--make-parser, forms-insert-record):
5626 Quote function with #'.
5627 (forms--update): Use string-match-p. Quote function with #'.
5629 * help-mode.el (help-dir-local-var-def): Mark unused argument.
5630 (help-make-xrefs): Use looking-at-p.
5631 (help-xref-on-pp): Use looking-at-p, ignore-errors.
5633 * ibuffer.el (ibuffer-ext-visible-p): Declare.
5634 (ibuffer-confirm-operation-on): Use string-match-p.
5636 * msb.el (msb-item-handler, msb-dired-item-handler):
5637 Mark unused arguments.
5639 * ses.el (ses-decode-cell-symbol)
5640 (ses-kill-override): Remove unused local variable.
5641 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
5642 (ses-load): Use ignore-errors, looking-at-p.
5643 (ses-jump-safe): Use ignore-errors.
5644 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
5646 * tabify.el (untabify, tabify): Mark unused arguments.
5648 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
5649 Mark unused argument.
5650 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
5651 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
5653 * emacs-lisp/timer.el (timer--time): Define setter with
5654 gv-define-setter to avoid deprecation warning.
5656 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
5657 (*record-cmpl-statistics-p*): Remove (was commented out).
5658 (cmpl-statistics-block): Remove (body was commented out).
5659 All callers changed.
5660 (add-completions-from-buffer, load-completions-from-file):
5661 Remove unused variables.
5663 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
5665 * filecache.el (file-cache-delete-file-list):
5666 Print message only when told so.
5667 (file-cache-files-matching): Use #' in mapconcat argument.
5669 * ffap.el (ffap-url-at-point): Fix reference to variable
5670 thing-at-point-default-mail-uri-scheme.
5672 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
5674 * subr.el (define-error): New function.
5675 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
5676 error-file-not-found and define with define-error.
5677 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
5678 and define with define-error.
5679 * userlock.el (file-locked, file-supersession):
5680 * simple.el (mark-inactive):
5681 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
5682 * progmodes/ada-mode.el (ada-mode-errors):
5683 * play/life.el (life-extinct):
5684 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
5685 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
5686 * nxml/rng-util.el (rng-error):
5687 * nxml/rng-uri.el (rng-uri-error):
5688 * nxml/rng-match.el (rng-compile-error):
5689 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
5690 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
5691 * nxml/nxml-rap.el (nxml-scan-error):
5692 * nxml/nxml-outln.el (nxml-outline-error):
5693 * net/soap-client.el (soap-error):
5694 * net/gnutls.el (gnutls-error):
5695 * net/ange-ftp.el (ftp-error):
5696 * mpc.el (mpc-proc-error):
5697 * json.el (json-error, json-readtable-error, json-unknown-keyword)
5698 (json-number-format, json-string-escape, json-string-format)
5699 (json-key-format, json-object-format):
5700 * jka-compr.el (compression-error):
5701 * international/quail.el (quail-error):
5702 * international/kkc.el (kkc-error):
5703 * emacs-lisp/ert.el (ert-test-failed):
5704 * calc/calc.el (calc-error, inexact-result, math-overflow)
5706 * bookmark.el (bookmark-error-no-filename):
5707 * epg.el (epg-error): Define with define-error.
5709 * time.el (display-time-event-handler)
5710 (display-time-next-load-average): Don't call sit-for since it seems
5711 unnecessary (bug#15045).
5713 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
5714 Use #' instead of ' to quote functions.
5715 (checkdoc-output-mode): Use setq-local.
5716 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
5717 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
5718 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
5719 (checkdoc-ispell, checkdoc-ispell-current-buffer)
5720 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
5721 (checkdoc-ispell-message-text, checkdoc-ispell-start)
5722 (checkdoc-ispell-continue, checkdoc-ispell-comments)
5723 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
5725 * ido.el (ido-completion-help): Fix up compiler warning.
5727 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
5729 * frameset.el (frameset-p): Add autoload cookie.
5730 (frameset--jump-to-register): New function, based on code moved from
5732 (frameset-to-register): Move from register.el. Adapt to `registerv'.
5734 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
5735 (frameset-restore, frameset-save, frameset-session-filter-alist):
5736 Remove declarations.
5737 (register-alist): Doc fix.
5738 (frameset-to-register): Move to frameset.el.
5739 (jump-to-register, describe-register-1): Remove frameset-specific code.
5741 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5743 * allout-widgets.el (allout-widgets-pre-command-business)
5744 (allout-widgets-post-command-business)
5745 (allout-widgets-after-change-handler)
5746 (allout-decorate-item-and-context, allout-set-boundary-marker)
5747 (allout-body-modification-handler)
5748 (allout-graphics-modification-handler): Mark ignored arguments.
5749 (allout-widgets-post-command-business)
5750 (allout-widgets-exposure-change-processor)
5751 (allout-widgets-exposure-undo-processor)
5752 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
5753 (allout-parse-item-at-point, allout-decorate-item-guides)
5754 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
5755 * allout.el (epa-passphrase-callback-function): Declare.
5756 (allout-overlay-insert-in-front-handler)
5757 (allout-overlay-interior-modification-handler)
5758 (allout-isearch-end-handler, allout-chart-siblings)
5759 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
5760 (allout-yank-processing, allout-process-exposed)
5761 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5762 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
5763 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
5764 (lisp-indent-defform): Mark ignored arguments.
5765 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
5766 (calculate-lisp-indent): Remove unused variables.
5767 * international/characters.el (indian-2-column, arabic-2-column)
5768 (tibetan): Mark ignored arguments.
5769 (use-cjk-char-width-table): Mark ignored arguments.
5770 Remove unused variables.
5771 * international/fontset.el (build-default-fontset-data)
5772 (x-compose-font-name, create-fontset-from-fontset-spec):
5773 Mark ignored arguments.
5774 (fontset-plain-name): Remove unused variables.
5775 * international/mule.el (charset-id, charset-bytes, generic-char-p)
5776 (keyboard-coding-system): Mark ignored arguments.
5777 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
5778 * help.el (resize-temp-buffer-window):
5779 * window.el (display-buffer-in-major-side-window)
5780 (display-buffer-in-side-window, display-buffer-in-previous-window):
5781 Remove unused variables.
5782 * isearch.el (isearch-forward-symbol):
5783 * version.el (emacs-bzr-version-bzr):
5784 * international/mule-cmds.el (current-language-environment):
5785 * term/common-win.el (x-handle-iconic, x-handle-geometry)
5787 * term/pc-win.el (x-list-fonts, x-display-planes)
5788 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
5789 (x-server-version, x-display-screens, x-display-mm-height)
5790 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
5791 (x-selection-owner-p, x-own-selection-internal)
5792 (x-disown-selection-internal, x-get-selection-internal)
5793 (msdos-initialize-window-system):
5794 * term/tty-colors.el (tty-color-alist, tty-color-clear):
5795 * term/x-win.el (x-handle-no-bitmap-icon):
5796 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
5797 (vc-default-find-file-hook, vc-default-extra-menu):
5798 Mark ignored arguments.
5800 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5802 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
5803 break-condition in the context of the debugged code (bug#12685).
5805 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
5808 Do not use an overlay to highlight the last prompt. (Bug#14744)
5809 (comint-mode): Make comint-last-prompt buffer local.
5810 (comint-last-prompt): New variable.
5811 (comint-last-prompt-overlay): Remove. Superseded by
5813 (comint-snapshot-last-prompt, comint-output-filter):
5814 Use comint-last-prompt.
5816 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5818 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
5819 (frameset-save): Check validity of the resulting frameset.
5821 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
5823 * ido.el (ido-record-command): Add doc string.
5825 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5827 * frameset.el (frameset): Do not disable creation of the default
5828 frameset-p predicate. Doc fix.
5829 (frameset-valid-p): New function, copied from the old predicate-p.
5830 Add additional checks.
5831 (frameset-restore): Check with frameset-valid-p.
5832 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
5833 (frameset-name, frameset-description, frameset-properties)
5834 (frameset-states): Add docstring.
5835 (frameset-session-filter-alist, frameset-persistent-filter-alist)
5836 (frameset-filter-alist): Doc fixes.
5838 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5840 * frameset.el (frameset-p, frameset-prop): Doc fixes.
5842 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5844 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
5845 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
5846 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
5847 (byte-compile-normal-call): Remove obsolescence check.
5849 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5851 * frameset.el (frameset-restore): Doc fix.
5853 * register.el (frameset-frame-id, frameset-frame-with-id)
5854 (frameset-p, frameset-restore, frameset-save): Declare.
5855 (register-alist): Document framesets.
5856 (frameset-session-filter-alist): Declare.
5857 (frameset-to-register): New function.
5858 (jump-to-register): Implement jumping to framesets. Doc fix.
5859 (describe-register-1): Describe framesets.
5861 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
5863 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
5865 * desktop.el (desktop-save-frameset): Use new frameset-save args.
5866 Use lexical-binding.
5868 * frameset.el (frameset): Use type vector, not list (incompatible
5869 change). Do not declare a new constructor, use the default one.
5870 Upgrade suggested properties `app', `name' and `desc' to slots `app',
5871 `name' and `description', respectively, and add read-only slot
5872 `timestamp'. Doc fixes.
5873 (frameset-copy, frameset-persistent-filter-alist)
5874 (frameset-filter-alist, frameset-switch-to-gui-p)
5875 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
5876 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
5877 (frameset-filter-iconified, frameset-keep-original-display-p):
5879 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
5880 Rename from frameset-filter-(save|restore)-param. All callers changed.
5882 (frameset-p): Adapt to change to vector and be more thorough.
5883 Change arg name to OBJECT. Doc fix.
5884 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
5885 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
5886 All callers changed.
5887 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
5888 All callers changed.
5889 (frameset--record-minibuffer-relationships): Rename from
5890 frameset--process-minibuffer-frames. All callers changed.
5891 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
5892 Use new default constructor (again). Doc fix.
5893 (frameset--find-frame-if): Rename from `frameset--find-frame.
5894 All callers changed.
5895 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
5896 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
5898 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
5899 PARAMETERS and WINDOW-STATE, respectively.
5900 (frameset-restore): Add new keyword argument PREDICATE.
5901 Reset frameset--target-display to nil. Doc fix.
5903 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
5905 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
5907 (bat-mode-syntax-table): Mark \n as end-of-comment.
5908 (bat-font-lock-keywords): Remove comment rule.
5910 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
5911 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
5913 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
5914 (byte-compile-callargs-warn): Use `push'.
5915 (byte-compile-arglist-warn): Ignore higher-order "calls".
5916 (byte-compile-file-form-autoload): Use `pcase'.
5917 (byte-compile-function-form): If quoting a symbol, check that it exists.
5919 2013-08-07 Eli Zaretskii <eliz@gnu.org>
5921 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
5922 and add a few popular commands found in batch files.
5923 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
5924 (dos-mode): Doc fixes.
5926 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
5928 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
5929 (dos-mode): Use setq-local. Add space after "rem".
5930 (dos-mode-syntax-table): Don't use "w" for symbol chars.
5931 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
5933 2013-08-07 Arni Magnusson <arnima@hafro.is>
5935 * progmodes/dos.el: New file.
5936 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
5939 2013-08-06 Glenn Morris <rgm@gnu.org>
5941 * calendar/calendar.el: Add new faces, and day-header-array.
5942 (calendar-weekday-header, calendar-weekend-header)
5943 (calendar-month-header): New faces.
5944 (calendar-day-header-construct): New function.
5945 (calendar-day-header-width): Also :set calendar-day-header-array.
5946 (calendar-american-month-header, calendar-european-month-header)
5947 (calendar-iso-month-header): Use calendar- faces.
5948 (calendar-generate-month):
5949 Use calendar-day-header-array for day headers; apply faces to them.
5950 (calendar-mode): Check calendar-font-lock-keywords non-nil.
5951 (calendar-abbrev-construct): Add optional maxlen argument.
5952 (calendar-day-name-array): Doc fix.
5953 (calendar-day-name-array, calendar-abbrev-length)
5954 (calendar-day-abbrev-array):
5955 Also :set calendar-day-header-array, and maybe redraw.
5956 (calendar-day-header-array): New option. (Bug#15007)
5957 (calendar-font-lock-keywords): Set to nil and make obsolete.
5958 (calendar-day-name): Add option to use header array.
5960 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
5962 * net/shr.el (shr-render-td): Remove debugging.
5963 (shr-render-td): Make width computation consistent by defaulting
5964 all zero-width columns to 10 characters. This may not be optimal,
5965 but it's at least consistent.
5966 (shr-make-table-1): Redo last change to fix the real problem in
5969 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
5971 * files.el (cache-long-line-scans):
5972 Make obsolete alias to `cache-long-scans'.
5974 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
5976 * frameset.el (frameset, frameset-filter-alist)
5977 (frameset-filter-params, frameset-save, frameset--reuse-frame)
5978 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
5979 (frameset-compute-pos): Rename from frameset--compute-pos,
5981 (frameset-move-onscreen): Use frameset-compute-pos.
5982 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
5984 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
5985 Fix typos in docstrings.
5987 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
5989 * frame.el (get-other-frame): Tiny cleanup.
5991 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
5993 * vc/vc.el (vc-default-ignore-completion-table):
5994 Silence byte-compiler warning.
5996 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
5997 slot , which can indeed be nil.
5998 (frameset-live-filter-alist, frameset-persistent-filter-alist):
5999 Move entry for `left' from persistent to live filter alist.
6000 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
6002 (frameset-filter-params): When restoring a frame, copy items added to
6003 `filtered', to avoid unwittingly modifying the original parameters.
6004 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
6005 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
6007 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
6008 to use looking-at-p instead of looking-at. (Bug#15028)
6010 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
6012 Revert introduction of isearch-filter-predicates (bug#14714).
6013 Rely on add-function instead.
6014 * isearch.el (isearch-filter-predicates): Rename it back to
6015 isearch-filter-predicate.
6016 (isearch-message-prefix): Use advice-function-mapc and advice
6017 properties to get the isearch-message-prefix.
6018 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
6019 instead of run-hook-with-args-until-failure.
6020 (isearch-filter-visible): Not obsolete any more.
6021 * loadup.el: Preload nadvice.
6022 * replace.el (perform-replace): Revert to funcall
6023 instead of run-hook-with-args-until-failure.
6024 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
6025 * dired-aux.el (dired-isearch-filenames-mode): Rename from
6026 dired-isearch-filenames-toggle; make it into a proper minor mode.
6027 Use add/remove-function.
6028 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
6029 Call the minor-mode rather than add/remove-hook.
6030 (dired-isearch-filter-filenames):
6031 Remove isearch-message-prefix property.
6032 * info.el (Info--search-loop): New function, extracted from Info-search.
6033 Funcall isearch-filter-predicate instead of
6034 run-hook-with-args-until-failure isearch-filter-predicates.
6035 (Info-search): Use it.
6036 (Info-mode): Use isearch-filter-predicate instead of
6037 isearch-filter-predicates.
6039 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
6041 Do not call to `selected-window' where it is assumed by default.
6042 Affected functions are `window-minibuffer-p', `window-dedicated-p',
6043 `window-hscroll', `window-width', `window-height', `window-buffer',
6044 `window-frame', `window-start', `window-point', `next-window'
6045 and `window-display-table'.
6046 * abbrev.el (abbrev--default-expand):
6047 * bs.el (bs--show-with-configuration):
6048 * buff-menu.el (Buffer-menu-mouse-select):
6049 * calc/calc.el (calc):
6050 * calendar/calendar.el (calendar-generate-window):
6051 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
6053 * comint.el (send-invisible, comint-dynamic-complete-filename)
6054 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
6055 * completion.el (complete):
6056 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
6057 * disp-table.el (describe-current-display-table):
6058 * doc-view.el (doc-view-insert-image):
6059 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
6060 * ehelp.el (with-electric-help):
6061 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
6062 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
6063 * emacs-lisp/helper.el (Helper-help-scroller):
6064 * emulation/cua-base.el (cua--post-command-handler-1):
6065 * eshell/esh-mode.el (eshell-output-filter):
6066 * ffap.el (ffap-gnus-wrapper):
6067 * help-macro.el (make-help-screen):
6068 * hilit-chg.el (highlight-compare-buffers):
6069 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
6070 * hl-line.el (global-hl-line-highlight):
6071 * icomplete.el (icomplete-simple-completing-p):
6072 * isearch.el (isearch-done):
6073 * jit-lock.el (jit-lock-stealth-fontify):
6074 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
6075 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
6076 * mpc.el (mpc-tagbrowser, mpc):
6077 * net/rcirc.el (rcirc-any-buffer):
6078 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
6079 * play/landmark.el (landmark-max-width, landmark-max-height):
6080 * play/zone.el (zone):
6081 * progmodes/compile.el (compilation-goto-locus):
6082 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
6083 * progmodes/etags.el (find-tag-other-window):
6084 * progmodes/fortran.el (fortran-column-ruler):
6085 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
6086 * progmodes/verilog-mode.el (verilog-point-text):
6087 * reposition.el (reposition-window):
6088 * rot13.el (toggle-rot13-mode):
6089 * server.el (server-switch-buffer):
6090 * shell.el (shell-dynamic-complete-command)
6091 (shell-dynamic-complete-environment-variable):
6092 * simple.el (insert-buffer, set-selective-display)
6093 (delete-completion-window):
6094 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
6095 (speedbar-recenter):
6096 * startup.el (fancy-splash-head):
6097 * textmodes/ispell.el (ispell-command-loop):
6098 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
6099 * tutorial.el (help-with-tutorial):
6100 * vc/add-log.el (add-change-log-entry):
6101 * vc/compare-w.el (compare-windows):
6102 * vc/ediff-help.el (ediff-indent-help-message):
6103 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
6104 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
6105 (ediff-setup-control-frame):
6106 * vc/emerge.el (emerge-position-region):
6107 * vc/pcvs-util.el (cvs-bury-buffer):
6108 * window.el (walk-windows, mouse-autoselect-window-select):
6109 * winner.el (winner-set-conf, winner-undo): Related users changed.
6111 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
6113 * frameset.el (frameset--set-id): Doc fix.
6114 (frameset-frame-id, frameset-frame-id-equal-p)
6115 (frameset-locate-frame-id): New functions.
6116 (frameset--process-minibuffer-frames, frameset--reuse-frame)
6117 (frameset-restore): Use them.
6119 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
6121 Do not call to `selected-frame' where it is assumed by default.
6122 Affected functions are `raise-frame', `redraw-frame',
6123 `frame-first-window', `frame-terminal' and `delete-frame'.
6124 * calendar/appt.el (appt-disp-window):
6125 * epg.el (epg-wait-for-completion):
6126 * follow.el (follow-delete-other-windows-and-split)
6127 (follow-avoid-tail-recenter):
6128 * international/mule.el (set-terminal-coding-system):
6129 * mail/rmail.el (rmail-mail-return):
6130 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
6131 * progmodes/f90.el (f90-add-imenu-menu):
6132 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
6133 * server.el (server-switch-buffer):
6134 * simple.el (delete-completion-window):
6136 * term/xterm.el (terminal-init-xterm-modify-other-keys)
6137 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
6138 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
6139 * vc/ediff.el (ediff-documentation): Related users changed.
6140 * frame.el (selected-terminal): Remove the leftover.
6142 2013-08-05 Glenn Morris <rgm@gnu.org>
6144 * calendar/calendar.el (calendar-generate-month):
6145 Fix for calendar-column-width != 1 + calendar-day-digit-width.
6146 (calendar-generate-month, calendar-font-lock-keywords):
6147 Fix for calendar-day-header-width > length of any day name.
6149 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
6151 * desktop.el (desktop-clear): Use new name of sort predicate.
6153 * frameset.el (frameset): Add docstring. Move :version property to its
6155 (frameset-copy): Rename from copy-frameset.
6156 (frameset-p): Check more thoroughly.
6157 (frameset-prop): Do not check for :version, which is no longer a prop.
6158 (frameset-live-filter-alist, frameset-persistent-filter-alist):
6159 Use new :never value instead of t.
6160 (frameset-filter-alist): Expand and clarify docstring.
6161 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
6162 (frameset-filter-minibuffer, frameset-filter-save-param)
6163 (frameset-filter-restore-param, frameset-filter-iconified):
6164 Add pointer to docstring of frameset-filter-alist.
6165 (frameset-filter-params): Rename filter values to be more meaningful:
6166 :never instead of t, and reverse the meanings of :save and :restore.
6167 (frameset--process-minibuffer-frames): Clarify error message.
6168 (frameset-save): Avoid unnecessary and confusing call to framep.
6169 Use new BOA constructor for framesets.
6170 (frameset--reuse-list): Doc fix.
6171 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
6172 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
6173 (frameset-minibufferless-first-p): Doc fix.
6174 Rename from frameset-sort-frames-for-deletion.
6175 (frameset-restore): Doc fixes. Use new function names.
6176 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
6178 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
6180 * desktop.el (desktop-restore-forces-onscreen)
6181 (desktop-restore-reuses-frames): Document :keyword constant values.
6182 (desktop-filter-parameters-alist): Remove, now identical to
6183 frameset-filter-alist.
6184 (desktop--filter-tty*): Remove, moved to frameset.el.
6185 (desktop-save-frameset, desktop-restore-frameset):
6186 Do not pass :filters argument.
6188 * frameset.el (frameset-live-filter-alist)
6189 (frameset-persistent-filter-alist): New variables.
6190 (frameset-filter-alist): Use them. Add autoload cookie.
6191 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
6192 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
6193 `frameset--id' (it's supposed to be internal to frameset.el).
6194 (frameset--process-minibuffer-frames): Ditto. Doc fix.
6195 (frameset--initial-params): New function.
6196 (frameset--get-frame): Use it. Doc fix.
6197 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
6198 Accept :all, not 'all.
6199 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
6200 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
6201 with fbound symbols. Fix frame id matching, and remove matching ids if
6202 the frame being restored is deleted. Obey :delete.
6204 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
6206 * subr.el (macrop): New function.
6207 (text-clone--maintaining): New var.
6208 (text-clone--maintain): Rename from text-clone-maintain. Use it
6209 instead of inhibit-modification-hooks.
6211 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
6212 a proxy, so as handle autoloads and redefinitions of the target.
6213 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
6215 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
6216 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
6217 (pcase--mutually-exclusive-p): New function.
6218 (pcase--split-consp): Use it.
6219 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
6220 mutually exclusive with the current predicate.
6222 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
6223 (edebug-macrop): Remove. Use `macrop' instead.
6224 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
6226 * eshell/esh-cmd.el (eshell-macrop):
6227 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
6229 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
6231 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
6232 (advice-mapc): New function, using it.
6233 (advice-function-member-p): New function.
6234 (advice--normalize): Store the cdr in advice--saved-rewrite since
6235 that's the part that will be changed.
6236 (advice--symbol-function): New function.
6237 (advice-remove): Handle removal before the function is defined.
6238 Adjust to new advice--saved-rewrite.
6239 (advice-member-p): Use advice-function-member-p and
6240 advice--symbol-function.
6242 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
6244 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
6245 (frameset-filter-minibuffer): Doc fix.
6246 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
6247 (frameset--set-id, frameset--process-minibuffer-frames)
6248 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
6249 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
6251 * desktop.el (desktop-clear): Only delete frames when called
6252 interactively and desktop-restore-frames is non-nil. Doc fix.
6253 (desktop-read): Set desktop-saved-frameset to nil.
6255 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
6257 * vc/vc.el (vc-ignore): Rewrite.
6258 (vc-default-ignore-completion-table):
6260 (vc--add-line, vc--remove-regexp): New functions.
6262 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
6263 (vc-svn-ignore-completion-table): New function.
6265 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
6266 (vc-hg-ignore-completion-table):
6267 (vc-hg-find-ignore-file): New functions.
6269 * vc/vc-git.el (vc-git-ignore): Rewrite.
6270 (vc-git-ignore-completion-table):
6271 (vc-git-find-ignore-file): New functions.
6273 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
6275 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
6276 (vc-bzr-ignore-completion-table):
6277 (vc-bzr-find-ignore-file): New functions.
6279 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
6281 * frameset.el (frameset-prop): New function and setter.
6282 (frameset-save): Do not modify frame list passed by the caller.
6284 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
6286 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
6288 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
6290 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
6291 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
6293 * custom.el (custom-initialize-default, custom-initialize-set)
6294 (custom-initialize-reset, custom-initialize-changed): Affect the
6295 toplevel-default-value (bug#6275, bug#14586).
6296 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
6299 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
6301 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
6302 Add cl-def* expressions.
6304 * frameset.el (frameset-filter-params): Fix order of arguments.
6306 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
6308 Move code related to saving frames to frameset.el.
6309 * desktop.el: Require frameset.
6310 (desktop-restore-frames): Doc fix.
6311 (desktop-restore-reuses-frames): Rename from
6312 desktop-restoring-reuses-frames.
6313 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
6314 (desktop-clear): Clear frames too.
6315 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
6316 (desktop--filter-tty*, desktop-save, desktop-read):
6317 Use frameset functions.
6318 (desktop-before-saving-frames-functions, desktop--filter-*-color)
6319 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
6320 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
6321 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
6322 (desktop--process-minibuffer-frames, desktop-save-frames)
6323 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
6324 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
6325 (desktop--sort-states, desktop-restoring-frames-p)
6326 (desktop-restore-frames): Remove. Most code moved to frameset.el.
6327 (desktop-restoring-frameset-p, desktop-restore-frameset)
6328 (desktop--check-dont-save, desktop-save-frameset): New functions.
6329 (desktop--app-id): New constant.
6330 (desktop-first-buffer, desktop-buffer-ok-count)
6331 (desktop-buffer-fail-count): Move before first use.
6332 * frameset.el: New file.
6334 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
6336 * files.el: Use lexical-binding.
6337 (dir-locals-read-from-file): Remove unused `err' variable.
6338 (hack-dir-local-variables--warned-coding): New var.
6339 (hack-dir-local-variables): Use it to avoid repeated warnings.
6340 (make-backup-file-name--default-function): New function.
6341 (make-backup-file-name-function): Use it as default.
6342 (buffer-stale--default-function): New function.
6343 (buffer-stale-function): Use it as default.
6344 (revert-buffer-insert-file-contents--default-function): New function.
6345 (revert-buffer-insert-file-contents-function): Use it as default.
6346 (insert-directory): Avoid add-to-list.
6348 * autorevert.el (auto-revert-handler): Simplify.
6349 Use buffer-stale--default-function.
6351 2013-08-01 Tassilo Horn <tsdh@gnu.org>
6353 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
6355 * whitespace.el (whitespace-ensure-local-variables): New function.
6356 (whitespace-cleanup-region): Call it.
6357 (whitespace-turn-on): Call it.
6359 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
6361 Complete file name handlers.
6363 * net/tramp.el (tramp-handle-set-visited-file-modtime)
6364 (tramp-handle-verify-visited-file-modtime)
6365 (tramp-handle-file-notify-rm-watch): New functions.
6366 (tramp-call-process): Do not bind `default-directory'.
6368 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6369 Order alphabetically.
6370 [access-file, add-name-to-file, dired-call-process]:
6371 [dired-compress-file, file-acl, file-notify-rm-watch]:
6372 [file-ownership-preserved-p, file-selinux-context]:
6373 [make-directory-internal, make-symbolic-link, set-file-acl]:
6374 [set-file-selinux-context, set-visited-file-modtime]:
6375 [verify-visited-file-modtime]: Add handler.
6376 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
6378 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
6379 [file-notify-add-watch, file-notify-rm-watch]:
6380 [set-file-times, set-visited-file-modtime]:
6381 [verify-visited-file-modtime]: Add handler.
6382 (with-tramp-gvfs-error-message)
6383 (tramp-gvfs-handle-set-visited-file-modtime)
6384 (tramp-gvfs-fuse-file-name): Remove.
6385 (tramp-gvfs-handle-file-notify-add-watch)
6386 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
6387 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
6389 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6390 Order alphabetically.
6391 [file-notify-rm-watch ]: Use default Tramp handler.
6392 [executable-find]: Remove private handler.
6393 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
6394 `default-directory'.
6395 (tramp-sh-handle-executable-find)
6396 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
6397 (tramp-sh-file-gvfs-monitor-dir-process-filter)
6398 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
6399 Do not use `format' in `tramp-message'.
6401 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
6402 [file-notify-rm-watch, set-visited-file-modtime]:
6403 [verify-visited-file-modtime]: Add handler.
6404 (tramp-smb-call-winexe): Do not bind `default-directory'.
6406 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
6408 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
6410 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
6412 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
6414 (log-view-diff-changeset): Same.
6415 (log-view-diff-common): Call backend command `previous-revision'
6416 to find out the previous revision, in both cases. Swap the
6417 variables `to' and `fr', so that `fr' usually refers to the
6418 earlier revision (Bug#14989).
6420 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
6422 * ibuf-ext.el (ibuffer-filter-by-filename):
6423 Make it work with dired buffers too.
6425 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
6427 * emacs-lisp/re-builder.el (reb-color-display-p):
6428 * files.el (save-buffers-kill-terminal):
6429 * net/browse-url.el (browse-url):
6430 * server.el (server-save-buffers-kill-terminal):
6431 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
6432 Prefer nil to selected-frame for the first arg of frame-parameter.
6434 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
6436 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
6438 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
6440 * minibuffer.el (completion--twq-all): Try and preserve each
6441 completion's case choice (bug#14907).
6443 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
6445 * net/network-stream.el (open-network-stream): Mention the new
6446 :nogreeting parameter.
6447 (network-stream-open-starttls): Use the :nogreeting parameter
6450 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
6452 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
6453 more natural than popping.
6455 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
6456 (shr-urlify): Highlight under mouse.
6458 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
6460 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
6462 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
6464 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
6467 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
6468 point-min==1. Fix search string. Fix parentheses missing.
6470 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
6471 assume point-min==1. Fix search string. Fix parentheses missing.
6473 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
6475 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
6478 2013-07-29 Eli Zaretskii <eliz@gnu.org>
6480 * frame.el (frame-notice-user-settings): Avoid inflooping when the
6481 initial frame is minibuffer-less. (Bug#14841)
6483 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
6485 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
6488 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
6489 (tramp-maybe-open-connection): Use it.
6491 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
6493 * desktop.el (desktop--make-frame): Include `minibuffer' in the
6494 minimal set of parameters passed when creating a frame, because
6495 the minibuffer status of a frame cannot be changed later.
6497 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
6499 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
6500 replace-regexp-in-string and inadvertent omissions in previous change.
6501 (todo-filter-items): Ensure only file names are comma-separated in
6502 name of filtered items buffer.
6504 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
6506 * desktop.el: Optionally force offscreen frames back onscreen.
6507 (desktop-restoring-reuses-frames): New option.
6508 (desktop--compute-pos, desktop--move-onscreen): New functions.
6509 (desktop--make-frame): Use desktop--move-onscreen.
6511 2013-07-27 Alan Mackenzie <acm@muc.de>
6513 Fontify a Java generic method as a function.
6514 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
6517 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
6519 * calendar/todo-mode.el: Add command to rename todo files.
6520 (todo-rename-file): New command.
6521 (todo-key-bindings-t): Add key binding for it. Change the
6522 bindings of todo-filter-regexp-items(-multifile) to use `x'
6523 instead of `r', since the latter is better suited to the new
6526 2013-07-27 Alan Mackenzie <acm@muc.de>
6528 Make Java try-with-resources statement parse properly.
6529 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
6530 (c-block-stmt-1-2-key): New language constants/variables.
6531 * progmodes/cc-engine.el (c-beginning-of-statement-1)
6532 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
6533 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
6534 with c-block-stmt-1-2-key.
6536 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
6538 * desktop.el (desktop--make-frame): Apply most frame parameters after
6539 creating the frame to force (partially or totally) offscreen frames to
6540 be restored as such.
6542 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
6544 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
6547 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6549 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
6550 `base' arg of backtrace-frame.
6552 2013-07-26 Eli Zaretskii <eliz@gnu.org>
6554 * simple.el (list-processes): Doc fix.
6556 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
6558 * desktop.el (desktop--select-frame):
6559 Try harder to reuse existing frames.
6561 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6563 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
6564 (edebug-eval): Use backtrace-eval.
6565 (edebug--display, edebug--recursive-edit): Don't let-bind the
6566 edebug-outer-* vars that keep track of variables we locally let-bind.
6567 (edebug-outside-excursion): Don't restore outside values of locally
6569 (edebug--display): Use user-error.
6570 (cl-lexical-debug, cl-debug-env): Remove.
6572 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
6574 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
6575 are restored to be sure that they are visible before deleting any
6578 2013-07-26 Matthias Meulien <orontee@gmail.com>
6580 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
6581 vc-print-root-log. (Bug#14948)
6583 2013-07-26 Richard Stallman <rms@gnu.org>
6585 Add aliases for encrypting mail.
6586 * epa.el (epa-mail-aliases): New option.
6587 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
6588 Bind inhibit-read-only so read-only text doesn't ruin everything.
6589 (epa-mail-default-recipients): New subroutine broken out.
6590 Handle epa-mail-aliases.
6592 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6594 Add support for lexical variables to the debugger's `e' command.
6595 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
6596 vars, except for debugger-outer-match-data.
6597 (debugger-frame-number): Move check for "on a function call" from
6598 callers into it. Add `skip-base' argument.
6599 (debugger-frame, debugger-frame-clear): Simplify accordingly.
6600 (debugger-env-macro): Only reset the state stored in non-variables,
6601 i.e. current-buffer and match-data.
6602 (debugger-eval-expression): Rewrite using backtrace-eval.
6603 * subr.el (internal--called-interactively-p--get-frame): Remove.
6604 (called-interactively-p):
6605 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
6606 `base' arg of backtrace-frame instead.
6608 2013-07-26 Glenn Morris <rgm@gnu.org>
6610 * align.el (align-regexp): Doc fix. (Bug#14857)
6611 (align-region): Explicit error if subexpression missing/does not match.
6613 * simple.el (global-visual-line-mode):
6614 Do not duplicate the mode lighter. (Bug#14858)
6616 2013-07-25 Martin Rudalics <rudalics@gmx.at>
6618 * window.el (display-buffer): In display-buffer bind
6619 split-window-keep-point to t, bug#14829.
6621 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
6623 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
6624 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
6625 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
6626 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
6628 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
6629 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
6631 2013-07-25 Glenn Morris <rgm@gnu.org>
6633 * dired-x.el (dired-mark-extension): Convert comment to doc string.
6635 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
6637 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
6638 parameter to modify-frame-parameters if the value has not changed;
6639 this is a workaround for bug#14949.
6640 (desktop--make-frame): On cl-delete-if call, check parameter name,
6643 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
6645 * vc/vc.el (vc-ignore): New function.
6647 * vc/vc-svn.el (vc-svn-ignore): New function.
6649 * vc/vc-hg.el (vc-hg-ignore): New function.
6651 * vc/vc-git.el (vc-git-ignore): New function.
6653 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
6654 (vc-dir-ignore): New function.
6656 * vc/vc-cvs.el (vc-cvs-ignore): New function.
6657 (cvs-append-to-ignore): Move here from pcvs.el.
6659 * vc/vc-bzr.el (vc-bzr-ignore): New function.
6661 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
6663 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
6665 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
6666 (desktop-restore-frames): Warn when deleting an existing frame failed.
6668 2013-07-24 Glenn Morris <rgm@gnu.org>
6670 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
6672 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
6674 * filenotify.el (file-notify-supported-p):
6675 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
6678 * autorevert.el (auto-revert-use-notify):
6679 (auto-revert-notify-add-watch):
6680 * net/tramp.el (tramp-file-name-for-operation):
6681 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6682 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6683 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6684 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6685 Remove `file-notify-supported-p' entry.
6687 2013-07-24 Glenn Morris <rgm@gnu.org>
6689 * printing.el: Replace all uses of deleted ps-windows-system,
6690 ps-lp-system, ps-flatten-list with lpr- versions.
6692 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
6694 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
6695 checked with memq (bug#14935).
6697 * files.el (revert-buffer-function): Use a non-nil default.
6698 (revert-buffer-preserve-modes): Declare var to
6699 provide access to the `preserve-modes' argument.
6700 (revert-buffer): Let-bind it.
6701 (revert-buffer--default): New function, extracted from revert-buffer.
6703 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
6705 * lpr.el: Signal print errors more prominently.
6706 (print-region-function): Don't default to nil.
6707 (lpr-print-region): New function, extracted from print-region-1.
6708 Check lpr's return value and signal an error in case of problem.
6709 (print-region-1): Use it.
6710 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
6712 (ps-printer-name): Default to nil.
6713 (ps-printer-name-option): Default to lpr-printer-switch.
6714 (ps-print-region-function): Don't default to nil.
6715 (ps-postscript-code-directory): Simplify default.
6716 (ps-do-despool): Use lpr-print-region to properly check the outcome.
6717 (ps-string-list, ps-eval-switch, ps-flatten-list)
6718 (ps-flatten-list-1): Remove.
6719 (ps-multibyte-buffer): Avoid setq.
6720 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
6721 (print-region-function, ps-print-region-function): Don't set them here.
6723 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
6725 * ido.el (ido-fractionp):
6726 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
6727 (ido-max-file-prompt-width, ido-unc-hosts-cache)
6728 (ido-max-directory-size, ido-max-dir-file-cache)
6729 (ido-decorations): Doc fix.
6731 * ansi-color.el: Fix old URL.
6733 2013-07-23 Michael R. Mauger <michael@mauger.com>
6735 * progmodes/sql.el: Version 3.3
6736 (sql-product-alist): Improve oracle :prompt-cont-regexp.
6737 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
6738 (sql-interactive-remove-continuation-prompt): Rewrite, use
6739 functions above. Fix continuation prompt and complete output line
6741 (sql-redirect-one, sql-execute): Use `read-only-mode' on
6742 redirected output buffer.
6743 (sql-mode): Restore deleted code (Bug#13591).
6745 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
6747 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
6749 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
6751 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
6753 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6754 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6755 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
6757 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
6759 * desktop.el (desktop-clear): Simplify; remove useless checks
6760 against invalid buffer names.
6761 (desktop-list*): Use cl-list*.
6762 (desktop-buffer-info, desktop-create-buffer): Simplify.
6764 2013-07-23 Leo Liu <sdl.web@gmail.com>
6766 * bookmark.el (bookmark-make-record): Restore NAME as a default
6769 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
6771 * emacs-lisp/autoload.el (autoload--setup-output): New function,
6772 extracted from autoload--insert-text.
6773 (autoload--insert-text): Remove.
6774 (autoload--print-cookie-text): New function, extracted from
6775 autoload--insert-cookie-text.
6776 (autoload--insert-cookie-text): Remove.
6777 (autoload-generate-file-autoloads): Adjust calls accordingly.
6779 * winner.el (winner-hook-installed-p): Remove.
6780 (winner-mode): Simplify accordingly.
6782 * subr.el (add-to-list): Fix compiler-macro when `append' is
6783 not constant. Don't use `cl-member' for the base case.
6785 * progmodes/subword.el: Fix boundary case (bug#13758).
6786 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
6788 (subword-backward-regexp): Make it a constant.
6789 (subword-forward-internal): Don't treat a trailing capital as the
6790 beginning of a word.
6792 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
6794 * emacs-lisp/package.el (package-menu-mode): Don't modify the
6795 global value of tabulated-list-revert-hook (bug#14930).
6797 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
6799 * desktop.el: Require 'cl-lib.
6800 (desktop-before-saving-frames-functions): New hook.
6801 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
6802 for frames being saved. Rename from desktop--save-minibuffer-frames.
6803 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
6804 Do not save frames with non-nil `desktop-dont-save' parameter.
6805 Filter out deleted frames.
6806 (desktop--find-frame): Use cl-find-if.
6807 (desktop--select-frame): Use cl-(first|second|third) to access values
6809 (desktop--make-frame): Use cl-delete-if.
6810 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
6811 (desktop-restore-frames): Use cl-(first|second|third) to access values
6812 of desktop-mini. Look for visible frame at the end, not while
6815 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
6816 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
6817 Use string-match-p, looking-at-p (bug#14927).
6819 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
6821 * desktop.el (desktop-saved-frame-states):
6822 Rename from desktop--saved-states; all users changed.
6823 (desktop-save-frames): Rename from desktop--save-frames.
6824 Do not save state to desktop file.
6825 (desktop-save): Save desktop-saved-frame-states to desktop file
6827 (desktop-restoring-frames-p): New function.
6828 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
6829 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
6830 buffer-lists when restoring frames. Suggested by Martin Rudalics.
6832 * desktop.el: Correctly restore iconified frames.
6833 (desktop--filter-iconified-position): New function.
6834 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
6836 2013-07-20 Glenn Morris <rgm@gnu.org>
6838 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
6839 Let `message' do the formatting.
6840 (def-gdb-preempt-display-buffer): Add explicit format.
6842 * image-dired.el (image-dired-track-original-file):
6843 Use with-current-buffer.
6844 (image-dired-track-thumbnail): Use with-current-buffer.
6845 Avoid changing point of wrong window.
6847 * image-dired.el (image-dired-track-original-file):
6848 Avoid changing point of wrong window. (Bug#14909)
6850 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
6852 * progmodes/gdb-mi.el (gdb-done-or-error):
6853 Guard against "%" in gdb output. (Bug#14127)
6855 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
6857 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
6860 * international/mule.el (coding-system-iso-2022-flags): Fix last
6863 2013-07-20 Kenichi Handa <handa@gnu.org>
6865 * international/mule.el (coding-system-iso-2022-flags):
6866 Add `8-bit-level-4'. (Bug#8522)
6868 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6870 * net/shr.el (shr-mouse-browse-url): New command and keystroke
6873 * net/eww.el (eww-process-text-input): Allow inputting when the
6874 point is at the start of the line, as the properties aren't
6877 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
6880 2013-07-19 Richard Stallman <rms@gnu.org>
6882 * epa.el (epa-popup-info-window): Doc fix.
6884 * subr.el (split-string): New arg TRIM.
6886 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
6888 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
6889 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
6891 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
6893 * filenotify.el (file-notify--library): Rename from
6894 `file-notify-support'. Do not autoload. Adapt all uses.
6895 (file-notify-supported-p): New defun.
6897 * autorevert.el (auto-revert-use-notify):
6898 Use `file-notify-supported-p' instead of `file-notify-support'.
6900 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
6902 * net/tramp.el (tramp-file-name-for-operation):
6903 Add `file-notify-supported-p'.
6905 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
6907 (tramp-sh-file-name-handler-alist): Add it as handler for
6908 `file-notify-supported-p '.
6910 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6911 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6912 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6913 Add `ignore' as handler for `file-notify-*' functions.
6915 2013-07-17 Eli Zaretskii <eliz@gnu.org>
6917 * simple.el (line-move-partial, line-move): Don't start vscroll or
6918 scroll-up if the current line is not taller than the window.
6921 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
6923 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
6924 highlight question marks in the method names as strings.
6925 (ruby-block-beg-keywords): Inline.
6926 (ruby-font-lock-keyword-beg-re): Extract from
6927 `ruby-font-lock-keywords'.
6929 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
6931 * frame.el (blink-cursor-blinks): New defcustom.
6932 (blink-cursor-blinks-done): New defvar.
6933 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
6934 (blink-cursor-timer-function): Check if number of blinks has been
6936 (blink-cursor-suspend, blink-cursor-check): New defuns.
6938 2013-07-15 Glenn Morris <rgm@gnu.org>
6940 * edmacro.el (edmacro-format-keys): Fix previous change.
6942 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
6944 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
6945 The hack didn't work outside English locales anyway.
6947 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
6949 * simple.el (define-alternatives): Rename from alternatives-define,
6950 per RMS' suggestion.
6952 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
6954 * desktop.el (desktop-restore-frames): Change default to t.
6955 (desktop-restore-in-current-display): Now offer more options.
6956 (desktop-restoring-reuses-frames): New customization option.
6957 (desktop--saved-states): Doc fix.
6958 (desktop-filter-parameters-alist): New variable, renamed and expanded
6959 from desktop--excluded-frame-parameters.
6960 (desktop--target-display): New variable.
6961 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
6962 (desktop--filter-tty*, desktop--filter-*-color)
6963 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
6964 (desktop--filter-save-desktop-parm)
6965 (desktop-restore-in-original-display-p): New functions.
6966 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
6967 (desktop--save-minibuffer-frames): New function, inspired by a similar
6968 function from Martin Rudalics.
6969 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
6970 (desktop--restore-in-this-display-p): Remove.
6971 (desktop--find-frame): Rename from desktop--find-frame-in-display
6972 and add predicate argument.
6973 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
6974 (desktop--reuse-list): New variable.
6975 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
6977 (desktop--restore-frames): Add support for "minibuffer-special" frames.
6979 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
6981 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
6983 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
6985 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6986 Highlight conversion methods on Kernel.
6988 2013-07-13 Alan Mackenzie <acm@muc.de>
6990 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
6991 and comment it out. This out-commenting enables certain C++
6992 declarations to be parsed correctly.
6994 2013-07-13 Eli Zaretskii <eliz@gnu.org>
6996 * international/mule.el (define-coding-system): Doc fix.
6998 * simple.el (default-font-height): Don't call font-info if the
6999 frame's default font didn't change since the frame was created.
7002 2013-07-13 Leo Liu <sdl.web@gmail.com>
7004 * ido.el (ido-read-file-name): Guard against non-symbol value.
7006 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
7008 * progmodes/python.el (python-imenu--build-tree): Fix corner case
7011 2013-07-13 Leo Liu <sdl.web@gmail.com>
7013 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
7014 ido-set-matches call. (Bug#6852)
7016 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
7018 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
7019 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
7021 (ruby-font-lock-keywords): Distinguish calls to functions with
7022 module-like names from module references. Highlight character
7025 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
7027 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
7028 (gdb-send): Handle continued commands. (Bug#14847)
7030 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
7032 * desktop.el (desktop--v2s): Remove unused local variable.
7033 (desktop-save-buffer): Make defvar-local; adjust docstring.
7034 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
7035 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
7037 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
7039 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
7041 2013-07-12 Eli Zaretskii <eliz@gnu.org>
7043 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
7046 2013-07-12 Glenn Morris <rgm@gnu.org>
7048 * doc-view.el: Require cl-lib at runtime too.
7049 (doc-view-remove-if): Remove.
7050 (doc-view-search-next-match, doc-view-search-previous-match):
7053 * edmacro.el: Require cl-lib at runtime too.
7054 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
7055 (edmacro-mismatch, edmacro-subseq): Remove.
7057 * shadowfile.el: Require cl-lib.
7058 (shadow-remove-if): Remove.
7059 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
7062 * wid-edit.el: Require cl-lib.
7063 (widget-choose): Use cl-remove-if.
7064 (widget-remove-if): Remove.
7066 * progmodes/ebrowse.el: Require cl-lib at runtime too.
7067 (ebrowse-delete-if-not): Remove.
7068 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
7069 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
7070 Use cl-delete-if-not.
7072 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
7074 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
7075 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
7077 2013-07-12 Leo Liu <sdl.web@gmail.com>
7079 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
7081 2013-07-11 Glenn Morris <rgm@gnu.org>
7083 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
7084 (edebug-gensym-index, edebug-gensym):
7085 Remove reimplementation of cl-gensym.
7086 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
7088 * thumbs.el: Require cl-lib at run-time too.
7089 (thumbs-gensym-counter, thumbs-gensym):
7090 Remove reimplementation of cl-gensym.
7091 (thumbs-temp-file): Use cl-gensym.
7093 * emacs-lisp/ert.el: Require cl-lib at runtime too.
7094 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
7095 (ert--intersection, ert--set-difference, ert--set-difference-eq)
7096 (ert--union, ert--gensym-counter, ert--gensym-counter)
7097 (ert--coerce-to-vector, ert--remove*, ert--string-position)
7098 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
7099 (ert-make-test-unbound, ert--expand-should-1)
7100 (ert--expand-should, ert--should-error-handle-error)
7101 (should-error, ert--explain-equal-rec)
7102 (ert--plist-difference-explanation, ert-select-tests)
7103 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
7104 Use cl-lib functions rather than reimplementations.
7106 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
7108 * net/tramp.el (tramp-methods): Extend docstring.
7109 (tramp-connection-timeout): New defcustom.
7110 (tramp-error-with-buffer): Reset timestamp only when appropriate.
7111 (with-tramp-progress-reporter): Simplify.
7112 (tramp-process-actions): Improve messages.
7114 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
7115 * net/tramp-sh.el (tramp-maybe-open-connection):
7116 Use `tramp-connection-timeout'.
7117 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
7120 2013-07-11 Leo Liu <sdl.web@gmail.com>
7122 * ido.el (ido-read-file-name): Conform to the requirements of
7123 read-file-name. (Bug#11861)
7124 (ido-read-directory-name): Conform to the requirements of
7125 read-directory-name.
7127 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
7129 * subr.el (delay-warning): New function.
7131 2013-07-10 Eli Zaretskii <eliz@gnu.org>
7133 * simple.el (default-line-height): New function.
7134 (line-move-partial, line-move): Use it instead of computing the
7136 (line-move-partial): Always compute ROWH. If the last line is
7137 partially-visible, but its text is completely visible, allow
7138 cursor to enter such a partially-visible line.
7140 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
7142 Improve error messages. (Bug#14808)
7144 * net/tramp.el (tramp-current-connection): New defvar, moved from
7146 (tramp-message-show-progress-reporter-message): Remove, not
7148 (tramp-error-with-buffer): Show message in minibuffer.
7149 Discard input before waiting. Reset connection timestamp.
7150 (with-tramp-progress-reporter): Improve messages.
7151 (tramp-process-actions): Use progress reporter. Delete process in
7152 case of error. Improve messages.
7154 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
7155 Call `tramp-error-with-buffer' with vector and buffer.
7156 (tramp-current-connection): Remove.
7157 (tramp-maybe-open-connection): The car of
7158 `tramp-current-connection' are the first 3 slots of the vector.
7160 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
7162 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
7163 inside continued strings.
7165 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
7167 Timestamp fixes for undo (Bug#14824).
7168 * files.el (clear-visited-file-modtime): Move here from fileio.c.
7170 2013-07-10 Leo Liu <sdl.web@gmail.com>
7172 * files.el (require-final-newline): Allow safe local value.
7175 2013-07-09 Leo Liu <sdl.web@gmail.com>
7177 * ido.el (ido-read-directory-name): Handle fallback.
7178 (ido-read-file-name): Update DIR to ido-current-directory.
7180 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
7182 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
7184 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
7185 "autoload". Remove "warn lower camel case" section, previously
7186 commented out. Highlight negation char. Do not highlight the
7187 target in singleton method definitions.
7189 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
7191 * faces.el (tty-setup-hook): Declare the hook.
7193 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
7194 and detect when a guard/pred depends on local vars (bug#14773).
7195 (pcase--u1): Adjust caller.
7197 2013-07-08 Eli Zaretskii <eliz@gnu.org>
7199 * simple.el (line-move-partial, line-move): Account for
7201 (line-move-partial): Avoid setting vscroll when the last
7202 partially-visible line in window is of default height.
7204 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
7206 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
7209 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
7211 * subr.el (read-quoted-char): Remove unused local variable `char'.
7213 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
7215 * ediff.el (ediff-version): Version update.
7216 (ediff-files-command, ediff3-files-command, ediff-merge-command)
7217 (ediff-merge-with-ancestor-command, ediff-directories-command)
7218 (ediff-directories3-command, ediff-merge-directories-command)
7219 (ediff-merge-directories-with-ancestor-command): New functions.
7220 All are command-line interfaces to ediff: to facilitate calling
7221 Emacs with the appropriate ediff functions invoked.
7223 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
7224 (viper-save-kill-buffer): Check if buffer is modified.
7226 * viper.el (viper-version): Version update.
7227 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
7229 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
7231 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
7232 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
7233 (viper-intercept-ESC-key): Simplify.
7234 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
7235 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
7236 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
7237 (viper-setup-ESC-to-escape): New functions.
7238 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
7239 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
7241 2013-07-07 Eli Zaretskii <eliz@gnu.org>
7243 * simple.el (default-font-height, window-screen-lines):
7245 (line-move, line-move-partial): Use them instead of
7246 frame-char-height and window-text-height. This makes scrolling
7247 text smoother when the buffer's default face uses a font that is
7248 different from the frame's default font.
7250 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
7252 * files.el (write-file): Do not display confirm dialog for NS,
7253 it does its own dialog, which can't be canceled (Bug#14578).
7255 2013-07-06 Eli Zaretskii <eliz@gnu.org>
7257 * simple.el (line-move-partial): Adjust the row returned by
7258 posn-at-point for the current window-vscroll. (Bug#14567)
7260 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
7262 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
7263 (tramp-sh-file-inotifywait-process-filter): Handle file names with
7266 2013-07-06 Martin Rudalics <rudalics@gmx.at>
7268 * window.el (window-state-put-stale-windows): New variable.
7269 (window--state-put-2): Save list of windows without matching buffer.
7270 (window-state-put): Remove "bufferless" windows if possible.
7272 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
7274 * simple.el (alternatives-define): Remove leftover :group keyword.
7277 2013-07-06 Leo Liu <sdl.web@gmail.com>
7279 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
7280 (ido-enable-virtual-buffers): New variable.
7281 (ido-buffer-internal, ido-toggle-virtual-buffers)
7282 (ido-make-buffer-list): Use it.
7283 (ido-exhibit): Support turning on and off virtual buffers
7286 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
7288 * simple.el (alternatives-define): New macro.
7290 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
7292 * subr.el (read-quoted-char): Use read-key.
7293 (sit-for): Let read-event decode tty input (bug#14782).
7295 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
7297 * calendar/todo-mode.el: Add handling of file deletion, both by
7298 mode command and externally. Fix various related bugs.
7299 Clarify Commentary and improve some documentation strings and code.
7300 (todo-delete-file): New command.
7301 (todo-check-file): New function.
7302 (todo-show): Handle external deletion of the file we're trying to
7303 show (bug#14688). Replace called-interactively-p by an optional
7304 prefix argument to avoid problematic interaction with catch form
7305 when byte compiled (bug#14702).
7306 (todo-quit): Handle external deletion of the archive's todo file.
7307 Make sure the buffer that was visiting the archive file is still
7308 live before trying to bury it.
7309 (todo-category-completions): Handle external deletion of any
7310 category completion files.
7311 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
7312 of todo files, in case of external deletion.
7313 (todo-add-file): Replace unnecessary setq by let-binding.
7314 (todo-find-archive): Check whether there are any archives.
7315 Replace unnecessary setq by let-binding.
7316 (todo-archive-done-item): Use find-file-noselect to get the
7317 archive buffer whether or not the archive already exists.
7318 Remove superfluous code. Use file size instead of buffer-file-name to
7319 check if the archive is new; if it is, update list of archives.
7320 (todo-default-todo-file): Allow nil to be a valid value for when
7321 there are no todo files.
7322 (todo-reevaluate-default-file-defcustom): Use corrected definition
7323 of todo-default-todo-file.
7324 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
7325 (todo-delete-category, todo-show-categories-table)
7326 (todo-category-number): Clarify comment.
7327 (todo-filter-items): Clarify documentation string.
7328 (todo-show-current-file, todo-display-as-todo-file)
7329 (todo-reset-and-enable-done-separator): Tweak documentation string.
7330 (todo-done-separator): Make separator length window-width, since
7331 bug#2749 is now fixed.
7333 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
7335 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
7336 Support both "gvfs-monitor-dir" and "inotifywait".
7337 (tramp-sh-file-inotifywait-process-filter): Rename from
7338 `tramp-sh-file-notify-process-filter'.
7339 (tramp-sh-file-gvfs-monitor-dir-process-filter)
7340 (tramp-get-remote-gvfs-monitor-dir): New defuns.
7342 2013-07-05 Leo Liu <sdl.web@gmail.com>
7344 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
7346 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
7348 * frame.el (display-pixel-height, display-pixel-width)
7349 (display-mm-height, display-mm-width): Mention behavior on
7350 multi-monitor setups in docstrings.
7351 (w32-display-monitor-attributes-list): Declare function.
7352 (display-monitor-attributes-list): Use it.
7354 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
7356 * filenotify.el: New package.
7358 * autorevert.el (top): Require filenotify.el.
7359 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
7361 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
7362 (auto-revert-notify-handler): Use `file-notify-*' functions.
7364 * subr.el (file-notify-handle-event): Move function to filenotify.el.
7366 * net/tramp.el (tramp-file-name-for-operation):
7367 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
7369 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
7370 for `file-notify-add-watch' and `file-notify-rm-watch'.
7371 (tramp-process-sentinel): Improve trace.
7372 (tramp-sh-handle-file-notify-add-watch)
7373 (tramp-sh-file-notify-process-filter)
7374 (tramp-sh-handle-file-notify-rm-watch)
7375 (tramp-get-remote-inotifywait): New defuns.
7377 2013-07-03 Juri Linkov <juri@jurta.org>
7379 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
7380 call of `occur-read-primary-args' to interactive spec.
7382 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
7383 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
7385 2013-07-03 Matthias Meulien <orontee@gmail.com>
7387 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
7388 `Buffer-menu-multi-occur'. Add it to the menu.
7389 (Buffer-menu-mode): Document it in docstring.
7390 (Buffer-menu-multi-occur): New command. (Bug#14673)
7392 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
7394 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
7395 keywords and built-ins.
7397 2013-07-03 Glenn Morris <rgm@gnu.org>
7399 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
7401 Make info-xref checks case-sensitive by default
7402 * info.el (Info-find-node, Info-find-in-tag-table)
7403 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
7404 Add option for exact case matching of nodes.
7405 * info-xref.el (info-xref): New custom group.
7406 (info-xref-case-fold): New option.
7407 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
7409 2013-07-03 Leo Liu <sdl.web@gmail.com>
7411 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
7413 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
7415 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
7416 middle of block statement initially, lower the depth. Remove
7417 FIXME comment, not longer valid. Remove middle of block statement
7418 detection, no need to do that anymore since we've been using
7419 `ruby-parse-region' here.
7421 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
7423 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
7425 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
7427 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
7429 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
7431 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
7432 (desktop-restore-in-current-display): New customization option.
7433 (desktop--excluded-frame-parameters): Add `font'.
7434 (desktop--save-frames): Rename from desktop--save-windows.
7435 (desktop--restore-in-this-display-p): New function.
7436 (desktop--make-full-frame): Remove unwanted width/height from
7437 full(width|height) frames.
7438 (desktop--restore-frames): Rename from desktop--restore-windows.
7439 Obey desktop-restore-current-display. Do not delete old frames or
7440 select a new frame unless we were able to restore at least one frame.
7442 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
7444 * files.el (find-file-noselect): Simplify conditional expression.
7446 * remember.el (remember-append-to-file):
7447 Don't mix `find-buffer-visiting' and `get-file-buffer'.
7449 Add `remember-notes' function to store random notes across Emacs
7451 * remember.el (remember-data-file): Add :set callback to affect
7452 notes buffer (if any).
7453 (remember-notes): New command.
7454 (remember-notes-buffer-name, bury-remember-notes-on-kill):
7455 New defcustoms for the `remember-notes' function.
7456 (remember-notes-save-and-bury-buffer): New command.
7457 (remember-notes-mode-map): New variable.
7458 (remember-mode): New minor mode.
7459 (remember-notes--kill-buffer-query): New function.
7460 * startup.el (initial-buffer-choice): Add notes to custom type.
7462 2013-06-30 Eli Zaretskii <eliz@gnu.org>
7464 * bindings.el (right-char, left-char): Don't call sit-for, this is
7465 no longer needed. Use arithmetic comparison only for numerical
7468 * international/mule-cmds.el (select-safe-coding-system):
7469 Handle the case of FROM being a string correctly. (Bug#14755)
7471 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7473 * net/shr.el (shr-make-table-1): Add a sanity check that allows
7474 progression on degenerate tables.
7475 (shr-rescale-image): ImageMagick animated images currently don't work.
7477 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
7479 Some fixes and improvements for desktop frame restoration.
7480 It is still experimental and disabled by default.
7481 * desktop.el (desktop--save-windows): Put the selected frame at
7482 the head of the list.
7483 (desktop--make-full-frame): New function.
7484 (desktop--restore-windows): Try to re-select the frame that was
7485 selected upon saving. Do not abort if some frames fail to restore,
7486 just show an error message and continue. Set up maximized frames
7487 so they have default non-maximized dimensions.
7489 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
7491 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
7492 Don't start heredoc inside a string or comment.
7494 2013-06-29 Eli Zaretskii <eliz@gnu.org>
7496 * bindings.el (visual-order-cursor-movement): New defcustom.
7497 (right-char, left-char): Provide visual-order cursor motion by
7498 calling move-point-visually. Update the doc strings.
7500 2013-06-28 Kenichi Handa <handa@gnu.org>
7502 * international/mule.el (define-coding-system): New coding system
7503 properties :inhibit-null-byte-detection,
7504 :inhibit-iso-escape-detection, and :prefer-utf-8.
7505 (set-buffer-file-coding-system): If :charset-list property of
7506 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
7507 appropriate for setting.
7509 * international/mule-cmds.el (select-safe-coding-system):
7510 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
7511 multibyte characters, return utf-8 (or one of its siblings).
7513 * international/mule-conf.el (prefer-utf-8): New coding system.
7514 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
7517 2013-06-28 Ivan Kanis <ivan@kanis.fr>
7519 * net/shr.el (shr-render-region): New function.
7521 * net/eww.el: Autoload `eww-browse-url'.
7523 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
7525 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7526 Adapt to `package-desc-version' being a list.
7527 Use `package--ac-desc-version' to retrieve version from a package
7530 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
7532 New experimental feature to save&restore window and frame setup.
7533 * desktop.el (desktop-save-windows): New defcustom.
7534 (desktop--saved-states): New var.
7535 (desktop--excluded-frame-parameters): New defconst.
7536 (desktop--filter-frame-parms, desktop--find-frame-in-display)
7537 (desktop--restore-windows, desktop--save-windows): New functions.
7538 (desktop-save): Call `desktop--save-windows'.
7539 (desktop-read): Call `desktop--restore-windows'.
7541 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
7543 * net/shr.el (add-face-text-property): Remove compat definition.
7545 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
7547 * info.el (Info-try-follow-nearest-node): Move search for footnote
7548 above search for node name to prevent missing a footnote (bug#14717).
7550 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
7552 * obsolete/otodo-mode.el: Add obsolescence info to file header.
7554 2013-06-27 Leo Liu <sdl.web@gmail.com>
7556 * net/eww.el (eww-read-bookmarks): Check file size.
7558 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
7560 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
7561 advice--pending if newdef is nil or an autoload (bug#13820).
7562 (advice-mapc): New function.
7564 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
7566 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
7568 (eww-mode-map): Add a menu bar.
7569 (eww-add-bookmark): New command.
7570 (eww-bookmark-mode): New mode and commands.
7571 (eww-add-bookmark): Remove newlines from the title.
7572 (eww-bookmark-browse): Don't bug out if it's the only window.
7574 2013-06-26 Glenn Morris <rgm@gnu.org>
7576 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
7577 (hfy-size): Handle ttys. (Bug#14668)
7579 * info-xref.el: Update for Texinfo 5 change in *note format.
7580 (info-xref-node-re, info-xref-note-re): New constants.
7581 (info-xref-check-buffer): Use info-xref-note-re.
7583 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
7585 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
7587 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
7588 nil terminate the loop (bug#14718).
7590 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7592 * net/eww.el: Rework history traversal. When going forward/back,
7593 put these actions into the history, too, so that they can be
7595 (eww-render): Move the history reset to the correct buffer.
7597 2013-06-25 Juri Linkov <juri@jurta.org>
7599 * files-x.el (modify-dir-local-variable): Change the header comment
7600 in the file with directory local variables. (Bug#14692)
7602 * files-x.el (read-file-local-variable-value): Add `default'.
7605 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7607 * net/eww.el (eww-make-unique-file-name): Create a unique file
7608 name before saving to entering `y' accidentally asynchronously.
7610 2013-06-25 Ivan Kanis <ivan@kanis.fr>
7612 * net/eww.el (eww-download): New command and keystroke.
7614 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7616 * net/eww.el (eww-copy-page-url): Change name of command.
7618 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
7619 be more consistent with Info and dired.
7621 * net/eww.el (eww-mode-map): Ditto.
7623 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
7625 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
7626 packages from archives.
7627 (package-archive-contents): Change format; include obsolete packages.
7628 (package-desc): Use `dir' to mark builtin packages.
7629 (package--from-builtin): Set the `dir' field to `builtin'.
7630 (generated-autoload-file, version-control): Declare.
7631 (package-compute-transaction): Change first arg and return value to be
7632 lists of package-descs. Adjust to new package-archive-contents format.
7633 (package--add-to-archive-contents): Adjust to new
7634 package-archive-contents format.
7635 (package-download-transaction): Arg is now a list of package-descs.
7636 (package-install): If `pkg' is a package name, pass it as
7637 a requirement, so it is subject to the usual (e.g. disabled) checks.
7638 (describe-package): Accept package-desc as well.
7639 (describe-package-1): Describe a specific package-desc. Add links to
7640 other package-descs for the same package name.
7641 (package-menu-describe-package): Pass the actual package-desc.
7642 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
7644 (package-desc-status): New function.
7645 (package-menu--refresh): New function, extracted
7646 from package-menu--generate.
7647 (package-menu--generate): Use it.
7648 (package-delete): Update package-alist.
7649 (package-menu-execute): Don't call package-initialize.
7651 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
7652 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
7653 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
7654 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
7655 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
7656 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
7658 2013-06-25 Martin Rudalics <rudalics@gmx.at>
7660 * window.el (window--state-get-1): Workaround for bug#14527.
7661 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
7663 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7665 * net/eww.el (eww-back-url): Implement the history by stashing all
7666 the data into a list.
7667 (eww-forward-url): Allow going forward in the history, too.
7669 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
7671 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
7672 for values and use read--expression for expressions (bug#14710).
7673 (read-file-local-variable): Avoid setq.
7674 (read-file-local-variable-mode): Use minor-mode-list.
7676 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7678 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
7681 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7683 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
7684 Update imenu-support when dialect changes.
7686 2013-06-25 Leo Liu <sdl.web@gmail.com>
7688 * ido.el (ido-read-internal): Allow forward slash on windows.
7690 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
7692 * net/eww.el (eww): Start of strings is \\`, not ^.
7694 2013-06-24 Ivan Kanis <ivan@kanis.fr>
7696 * net/shr.el (shr-browse-url): Fix interactive spec.
7698 * net/eww.el (eww): Add a trailing slash to domain names.
7700 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
7702 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
7704 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
7706 * net/shr.el (shr-browse-url): Use an external browser if given a
7709 * net/eww.el (eww-external-browser): Move to shr.
7711 2013-06-24 Ivan Kanis <ivan@kanis.fr>
7713 * net/eww.el (eww): Work more correctly for file: URLs.
7714 (eww-detect-charset): Allow quoted charsets.
7715 (eww-yank-page-url): New command and keystroke.
7717 2013-06-24 Daiki Ueno <ueno@gnu.org>
7719 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
7720 file name of gpg executable.
7721 (epg-context-program): New function.
7722 (epg-context-home-directory): New function.
7723 (epg-context-set-program): New function.
7724 (epg-context-set-home-directory): New function.
7725 (epg--start): Use `epg-context-program' instead of
7727 (epg--list-keys-1): Likewise.
7729 2013-06-24 Leo Liu <sdl.web@gmail.com>
7731 * ido.el (ido-read-internal): Fix bug#14620.
7733 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
7735 * faces.el (face-documentation): Simplify.
7736 (read-face-attribute, tty-find-type, x-resolve-font-name):
7737 Use `string-match-p'.
7738 (list-faces-display): Use `string-match-p'. Simplify.
7739 (face-spec-recalc): Check face to avoid face alias loops.
7740 (read-color): Use `string-match-p' and non-capturing parenthesis.
7742 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
7744 * net/shr.el (shr-rescale-image): Use the new
7745 :max-width/:max-height functionality.
7747 2013-06-23 Ivan Kanis <ivan@kanis.fr>
7749 * net/eww.el (eww-search-prefix): New variable.
7751 (eww-external-browser): New variable.
7752 (eww-mode-map): New keystroke.
7753 (eww-browse-with-external-browser): New command.
7755 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
7757 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
7759 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
7760 Don't skip aligning the next header field when padding is 0;
7761 otherwise, field width is not respected unless the title is as
7764 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
7766 * emacs-lisp/package.el (package-el-version): Remove.
7767 (package-process-define-package): Fix inf-loop.
7768 (package-install): Allow symbols as arguments again.
7770 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
7772 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
7773 add some more keyword-like methods.
7774 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
7776 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
7778 * bs.el (bs-buffer-show-mark): Make defvar-local.
7779 (bs-mode): Use setq-local.
7781 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
7782 (emacs-lock--try-unlocking): Make defvar-local.
7784 2013-06-22 Glenn Morris <rgm@gnu.org>
7786 * play/cookie1.el (cookie-apropos): Minor simplification.
7788 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
7790 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
7792 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
7793 `regexp-opt', it breaks the build during dumping.
7795 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
7797 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7798 Highlight keyword-like methods on Kernel and Module with
7799 font-lock-builtin-face.
7800 (auto-mode-alist): Consolidate different entries into one regexp
7801 and add more *file-s.
7803 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
7805 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
7807 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
7808 (diary-entry): Use it in the action of this button type instead of
7811 * calendar/todo-mode.el: New version.
7812 (todo-add-category): Append new category to end of file and give
7813 it the highest number, instead of putting it at the beginning and
7814 giving it 0. Incorporate noninteractive functionality.
7815 (todo-forward-category): Adapt to 1-based category numbering.
7816 Allow skipping over archived categories.
7817 (todo-backward-category): Derive from todo-forward-category.
7818 (todo-backward-item, todo-forward-item): Make noninteractive and
7819 delegate interactive part to new commands. Make sensitive to done items.
7820 (todo-categories): Make value an alist of category names and
7821 vectors of item counts.
7822 (todo-category-beg): Make a defconst.
7823 (todo-category-number): Use 1 instead of 0 as initial value.
7824 (todo-category-select): Make sensitive to overlays, optional item
7825 highlighting and done items.
7826 (todo-delete-item): Make sensitive to overlays and marked and done items.
7827 (todo-edit-item): Make sensitive to overlays and editing of
7828 date/time header optional. Add format checks.
7829 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
7830 no-op if point is not on an item. Advertise using todo-edit-quit.
7831 (todo-edit-mode): Make sensitive to new format, font-locking, and
7832 multiple todo files.
7833 (todo-insert-item, todo-insert-item-here): Derive from
7834 todo-basic-insert-item and extend functionality.
7835 (todo-item-end, todo-item-start): Make sensitive to done items.
7836 (todo-item-string): Don't return text properties. Restore point.
7837 (todo-jump-to-category): Make sensitive to multiple todo files and
7838 todo archives. Use extended category completion.
7839 (todo-lower-item, todo-raise-item): Rename to *-priority and
7840 derive from todo-set-item-priority.
7841 (todo-mode): Derive from special-mode. Make sensitive to new
7842 format, font-locking and multiple todo files. Make read-only.
7843 (todo-mode-map): Don't suppress digit keys, so they can supply
7844 prefix arguments. Add many new key bindings.
7845 (todo-prefix): Insert as an overlay instead of file text.
7846 Change semantics from diary date expression to purely visual mark.
7847 (todo-print): Rename to todo-print-buffer. Make buffer display
7848 features printable. Remove option to restrict number of items
7849 printed. Add option to print to file.
7850 (todo-print-function): Rename to todo-print-buffer-function.
7851 (todo-quit): Extend to handle exiting new todo modes.
7852 (todo-remove-item): Make sensitive to overlays.
7853 (todo-save): Extend to buffers of filtered items.
7854 (todo-show): Make sensitive to done items, multiple todo files and
7855 new todo modes. Offer to convert legacy todo file before creating
7856 first new todo file.
7857 (todo-show-priorities): Rename to todo-top-priorities.
7858 Change semantics of value 0.
7859 (todo-top-priorities): Rename to todo-filter-top-priorities,
7860 derive from todo-filter-items and extend functionality.
7861 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
7862 and extend functionality to other types of filtered items.
7863 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
7864 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
7865 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
7866 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
7867 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
7868 (todo-edit-mode-hook, todo-entry-prefix-function)
7869 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
7870 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
7871 (todo-initials, todo-insert-threshold, todo-item-string-start)
7872 (todo-line-string, todo-menu, todo-mode-hook)
7873 (todo-more-important-p, todo-previous-answer, todo-previous-line)
7874 (todo-print-priorities, todo-remove-separator)
7875 (todo-save-top-priorities-too, todo-string-count-lines)
7876 (todo-string-multiline-p, todo-time-string-format)
7877 (todo-tmp-buffer-name): Remove.
7878 (todo-add-file, todo-archive-done-item, todo-choose-archive)
7879 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
7880 (todo-edit-category-diary-inclusion)
7881 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
7882 (todo-edit-file, todo-edit-item-date-day)
7883 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
7884 (todo-edit-item-date-month, todo-edit-item-date-to-today)
7885 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
7886 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
7887 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
7888 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
7889 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
7890 (todo-filter-top-priorities-multifile, todo-find-archive)
7891 (todo-find-filtered-items-file, todo-go-to-source-item)
7892 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
7893 (todo-jump-to-archive-category, todo-lower-category)
7894 (todo-mark-category, todo-marked-item-p, todo-merge-category)
7895 (todo-move-category, todo-move-item, todo-next-button)
7896 (todo-next-item, todo-padded-string, todo-powerset)
7897 (todo-previous-button, todo-previous-item)
7898 (todo-print-buffer-to-file, todo-raise-category)
7899 (todo-rename-category, todo-repair-categories-sexp, todo-search)
7900 (todo-set-category-number, todo-set-item-priority)
7901 (todo-set-top-priorities-in-category)
7902 (todo-set-top-priorities-in-file, todo-show-categories-table)
7903 (todo-sort-categories-alphabetically-or-numerically)
7904 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
7905 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
7906 (todo-toggle-item-header, todo-toggle-item-highlighting)
7907 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
7908 (todo-toggle-view-done-items, todo-toggle-view-done-only)
7909 (todo-unarchive-items, todo-unmark-category): New commands.
7910 (todo-absolute-file-name, todo-add-to-buffer-list)
7911 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
7912 (todo-basic-insert-item, todo-category-completions)
7913 (todo-category-number, todo-category-string-matcher-1)
7914 (todo-category-string-matcher-2, todo-check-filtered-items-file)
7915 (todo-check-format, todo-clear-matches)
7916 (todo-comment-string-matcher, todo-convert-legacy-date-time)
7917 (todo-current-category, todo-date-string-matcher)
7918 (todo-define-insertion-command, todo-diary-expired-matcher)
7919 (todo-diary-goto-entry, todo-diary-item-p)
7920 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
7921 (todo-display-categories, todo-display-sorted, todo-done-item-p)
7922 (todo-done-item-section-p, todo-done-separator)
7923 (todo-done-string-matcher, todo-files, todo-filter-items)
7924 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
7925 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
7926 (todo-insert-category-line, todo-insert-item-from-calendar)
7927 (todo-insert-sort-button, todo-insert-with-overlays)
7928 (todo-insertion-command-name, todo-insertion-key-bindings)
7929 (todo-label-to-key, todo-longest-category-name-length)
7930 (todo-make-categories-list, todo-mode-external-set)
7931 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
7932 (todo-modes-set-3, todo-multiple-filter-files)
7933 (todo-nondiary-marker-matcher, todo-prefix-overlays)
7934 (todo-read-category, todo-read-date, todo-read-dayname)
7935 (todo-read-file-name, todo-read-time)
7936 (todo-reevaluate-category-completions-files-defcustom)
7937 (todo-reevaluate-default-file-defcustom)
7938 (todo-reevaluate-filelist-defcustoms)
7939 (todo-reevaluate-filter-files-defcustom)
7940 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
7941 (todo-reset-done-separator, todo-reset-done-separator-string)
7942 (todo-reset-done-string, todo-reset-global-current-todo-file)
7943 (todo-reset-highlight-item, todo-reset-nondiary-marker)
7944 (todo-reset-prefix, todo-set-categories)
7945 (todo-set-date-from-calendar, todo-set-show-current-file)
7946 (todo-set-top-priorities, todo-short-file-name)
7947 (todo-show-current-file, todo-sort, todo-time-string-matcher)
7948 (todo-total-item-counts, todo-update-buffer-list)
7949 (todo-update-categories-display, todo-update-categories-sexp)
7950 (todo-update-count, todo-validate-name, todo-y-or-n-p):
7952 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
7954 (todo-categories, todo-display, todo-edit, todo-faces)
7955 (todo-filtered): New defgroups.
7956 (todo-archived-only, todo-button, todo-category-string, todo-date)
7957 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
7958 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
7959 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
7960 (todo-add-item-if-new-category, todo-always-add-time-string)
7961 (todo-categories-align, todo-categories-archived-label)
7962 (todo-categories-category-label, todo-categories-diary-label)
7963 (todo-categories-done-label, todo-categories-number-separator)
7964 (todo-categories-todo-label, todo-categories-totals-label)
7965 (todo-category-completions-files, todo-completion-ignore-case)
7966 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
7967 (todo-done-separator-string, todo-done-string)
7968 (todo-files-function, todo-filter-done-items, todo-filter-files)
7969 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
7970 (todo-initial-category, todo-initial-file, todo-item-mark)
7971 (todo-legacy-date-time-regexp, todo-mode-line-function)
7972 (todo-nondiary-marker, todo-number-prefix)
7973 (todo-print-buffer-function, todo-show-current-file)
7974 (todo-show-done-only, todo-show-first, todo-show-with-done)
7975 (todo-skip-archived-categories, todo-top-priorities-overrides)
7976 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
7977 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
7979 (todo-category-done, todo-date-pattern, todo-date-string-start)
7980 (todo-diary-items-buffer, todo-done-string-start)
7981 (todo-filtered-items-buffer, todo-item-start)
7982 (todo-month-abbrev-array, todo-month-name-array)
7983 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
7984 (todo-top-priorities-buffer): New defconsts.
7985 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
7986 (todo-categories-with-marks, todo-category-string-face)
7987 (todo-comment-face, todo-comment-string, todo-current-todo-file)
7988 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
7989 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
7990 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
7991 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
7992 (todo-font-lock-keywords, todo-global-current-todo-file)
7993 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
7994 (todo-insertion-commands-args)
7995 (todo-insertion-commands-args-genlist)
7996 (todo-insertion-commands-names, todo-insertion-map)
7997 (todo-key-bindings-t, todo-key-bindings-t+a)
7998 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
7999 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
8000 (todo-nondiary-face, todo-print-buffer, todo-time-face)
8001 (todo-visited): New variables.
8003 2013-06-21 Glenn Morris <rgm@gnu.org>
8005 * play/cookie1.el (cookie-apropos): Add optional display argument.
8006 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
8007 (psychoanalyze-pinhead): Use cookie-doctor.
8009 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
8011 * emacs-lisp/package.el (tar-get-file-descriptor)
8012 (tar--extract): Declare.
8014 2013-06-21 Eduard Wiebe <usenet@pusto.de>
8016 Extend flymake's warning predicate to be a function (bug#14217).
8017 * progmodes/flymake.el (flymake-warning-predicate): New.
8018 (flymake-parse-line): Use it.
8019 (flymake-warning-re): Make obsolete alias to
8020 `flymake-warning-predicate'.
8022 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8024 * emacs-lisp/package.el (package-alist): Include obsolete packages.
8025 (package-obsolete-list): Remove.
8026 (package-activate): Remove min-version argument. Add `force' argument.
8027 Adjust to new package-alist format.
8028 (package-mark-obsolete): Remove.
8029 (package-unpack): Force reload of the package's autoloads.
8030 (package-installed-p): Check builtins if the installed package is not
8032 (package-initialize): Don't reset package-obsolete-list.
8033 Don't specify which package version to activate.
8034 (package-process-define-package, describe-package-1)
8035 (package-menu--generate): Adjust to new package-alist format.
8037 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
8039 * allout-widgets.el (allout-widgets-mode-off)
8040 (allout-widgets-mode-on, allout-widgets-pre-command-business)
8041 (allout-widgets-post-command-business)
8042 (allout-widgets-after-copy-or-kill-function)
8043 (allout-widgets-after-undo-function, allout-test-range-overlaps)
8044 (allout-decorate-item-and-context)
8045 (allout-graphics-modification-handler): Fix typos in docstrings.
8046 (allout-get-or-create-parent-widget): Use `looking-at-p'.
8048 * cmuscheme.el (scheme-start-file): Doc fix.
8049 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
8050 (scheme-input-filter): Use `string-match-p'.
8052 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
8054 * dired-x.el: Use Dired consistently in docstrings.
8056 * dired.el: Use Dired consistently in docstrings.
8057 (dired-readin, dired-mode): Use `setq-local'.
8058 (dired-switches-alist): Make defvar-local.
8059 (dired-buffers-for-dir): Use `zerop'.
8060 (dired-safe-switches-p, dired-switches-escape-p)
8061 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
8062 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
8063 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
8064 (dired-goto-next-nontrivial-file): Use `string-match-p'.
8065 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
8066 (dired-toggle-marks, dired-mark-files-containing-regexp)
8067 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
8068 (dired-flag-auto-save-files, dired-flag-backup-files):
8070 (dired-mark-files-regexp, dired-build-subdir-alist):
8071 Use `string-match-p', `looking-at-p'.
8073 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
8074 (direct-print-region-helper): Use `string-match-p'.
8076 2013-06-21 Leo Liu <sdl.web@gmail.com>
8078 * comint.el (comint-redirect-results-list-from-process):
8081 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8083 * net/eww.el (eww-update-header-line-format): Quote % characters.
8085 2013-06-21 Glenn Morris <rgm@gnu.org>
8087 * play/cookie1.el (cookie): New custom group.
8088 (cookie-file): New option.
8089 (cookie-check-file): New function.
8090 (cookie): Make it interactive. Make start and end messages optional.
8091 Interactively, display the result. Default to cookie-file.
8092 (cookie-insert): Default to cookie-file.
8093 (cookie-snarf): Make start and end messages optional.
8094 Default to cookie-file. Use with-temp-buffer.
8095 (cookie-read): Rename from read-cookie.
8096 Make start and end messages optional. Default to cookie-file.
8097 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
8099 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
8100 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
8102 2013-06-21 Leo Liu <sdl.web@gmail.com>
8104 * progmodes/octave.el (octave-mode): Backward compatibility fix.
8106 2013-06-21 Glenn Morris <rgm@gnu.org>
8108 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
8110 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8111 Daniel Hackney <dan@haxney.org>
8113 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
8114 Consolidate the single-file vs tarball code.
8115 (package-desc-suffix): New function.
8116 (package-desc-full-name): Don't bother inlining it.
8117 (package-load-descriptor): Return the new package-desc.
8118 (package-mark-obsolete): Remove unused arg `package'.
8119 (package-unpack): Make it work for single files as well.
8120 Make it update package-alist.
8121 (package--make-autoloads-and-stuff): Rename from
8122 package--make-autoloads-and-compile. Don't compile any more.
8123 (package--compile): New function.
8124 (package-generate-description-file): New function, extracted from
8125 package-unpack-single.
8126 (package-unpack-single): Remove.
8127 (package--with-work-buffer): Add indentation and debugging info.
8128 (package-download-single): Remove.
8129 (package-install-from-archive): Rename from package-download-tar, make
8130 it take a pkg-desc, and make it work for single files as well.
8131 (package-download-transaction): Simplify.
8132 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
8133 external tar program.
8134 (package-install-from-buffer): Remove `pkg-desc' argument.
8135 Use package-tar-file-info for tar-mode buffers.
8136 (package-install-file): Simplify accordingly.
8137 (package-archive-base): Change to take a pkg-desc.
8138 * tar-mode.el (tar--check-descriptor): New function, extracted from
8140 (tar-get-descriptor): Use it.
8141 (tar-get-file-descriptor): New function.
8142 (tar--extract): New function, extracted from tar-extract.
8143 (tar--extract): Use it.
8144 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
8145 case the summary uses non-ascii. Adjust to new calling convention of
8146 package-tar-file-info.
8148 2013-06-21 Leo Liu <sdl.web@gmail.com>
8150 * comint.el (comint-redirect-results-list-from-process):
8151 Fix random delay. (Bug#14681)
8153 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
8155 * profiler.el (profiler-format-number): Use log, not log10.
8157 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
8159 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
8161 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
8163 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
8164 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
8166 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
8167 (AUTOGENEL): ... here.
8168 * emacs-lisp/cl-macs.el (cl--sublis): New function.
8169 (cl--defsubst-expand): Use it.
8171 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
8173 * subr.el (log10): Move here from C code, and declare as obsolete.
8174 All uses of (log10 X) replaced with (log X 10).
8176 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
8178 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
8179 Declare with `defvar-local'.
8180 (tabulated-list-use-header-line, tabulated-list-entries)
8181 (tabulated-list-padding, tabulated-list-printer)
8182 (tabulated-list-sort-key): Declare with `defvar-local'.
8183 (tabulated-list-init-header, tabulated-list-print-fake-header):
8186 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
8188 * arc-mode.el (archive-mode): Add `archive-write-file' to
8189 `write-contents-functions' also for remote files. (Bug#14652)
8191 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
8193 * cus-edit.el (custom-commands): Fix typos.
8194 (custom-display): Fix tooltip text.
8195 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
8196 Fix typos in docstrings.
8197 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
8198 (custom-unlispify-menu-entry, custom-magic-value-create)
8199 (custom-add-see-also, custom-group-value-create): Use ?\s.
8200 (custom-guess-type, customize-apropos, editable-field)
8201 (custom-face-value-create): Use `string-match-p'.
8202 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
8204 * custom.el (custom-load-symbol): Use `string-match-p'.
8206 * ansi-color.el: Convert to lexical binding.
8207 (ansi-colors): Fix URL.
8208 (ansi-color-context, ansi-color-context-region): Use defvar-local.
8209 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
8210 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
8212 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8214 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
8216 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
8218 2013-06-19 Tom Tromey <tromey@redhat.com>
8220 * net/eww.el (eww-top-url): Remove.
8221 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
8222 (eww-render): Set new variables. Don't set eww-top-url.
8223 (eww-handle-link): Handle "prev", "home", and "contents".
8224 Downcase the rel text.
8225 (eww-top-url): Choose best top URL.
8227 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8229 * net/eww.el: Rewrite to implement form elements "by hand" instead of
8230 relying in widget.el. Using widget.el leads to too many
8231 user interface inconsistencies.
8232 (eww-self-insert): Implement entering commands in text fields.
8233 (eww-process-text-input): New function to make text input field editing
8235 (eww-submit): Rewrite to use the new-style form methods.
8236 (eww-select-display): Display the correct selected item.
8237 (eww-change-select): Implement changing the select value.
8238 (eww-toggle-checkbox): Implement radio/checkboxes.
8239 (eww-update-field): Fix compilation error.
8240 (eww-tag-textarea): Implement <textarea>.
8242 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
8243 we don't shadow mode-specific bindings.
8245 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
8248 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
8250 2013-06-19 Glenn Morris <rgm@gnu.org>
8252 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
8254 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
8256 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
8259 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
8261 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8263 * net/browse-url.el (browse-url-browser-function):
8264 `eww-browse-url' has the right calling signature, `eww' does not.
8266 2013-06-19 Glenn Morris <rgm@gnu.org>
8268 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
8269 Only eval autoloaded macros.
8270 (byte-compile-autoload): Only give the macro warning for macros.
8272 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
8273 (ps-underlined-faces): Declare.
8275 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
8276 (speedbar-add-supported-extension): Declare.
8278 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
8279 Don't include a date stamp in the header of the generated file;
8280 it leads to needless differences between output files.
8282 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
8284 * net/secrets.el (secrets-struct-secret-content-type):
8285 Replace check of introspection data by a test call of "CreateItem".
8286 Some servers do not offer introspection.
8288 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
8290 * electric.el (electric-pair-mode): Improve interaction with
8291 electric-layout-mode.
8292 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
8293 (electric-pair-syntax): Use text-mode-syntax-table in comments
8295 (electric-pair--insert): New function.
8296 (electric-pair-post-self-insert-function): Use it and
8297 electric--after-char-pos.
8299 2013-06-19 Leo Liu <sdl.web@gmail.com>
8301 * progmodes/octave.el (octave-help): Fix regexp.
8303 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
8305 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
8306 (shr-table-horizontal-line): Allow nil as a value, and change the
8308 (shr-insert-table-ruler): Respect the nil value.
8310 2013-06-18 Tom Tromey <tromey@barimba>
8312 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
8314 (eww-open-file): New defun.
8315 (eww-render): Initialize new variables.
8316 (eww-display-html): Handle "link" and "a".
8317 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
8318 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
8319 (eww-back-url): Rename from eww-previous-url.
8320 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
8323 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
8325 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
8326 Distinguish ternary operator tokens from slash symbol and slash
8329 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
8331 Convert symbol prettification into minor mode and global minor mode.
8333 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
8334 `prog-prettify-symbols', and make a local defvar instead of defcustom.
8335 (prettify-symbols--keywords): Rename from
8336 `prog-prettify-symbols-alist' and make a local defvar.
8337 (prettify-symbols--compose-symbol): Rename from
8338 `prog--prettify-font-lock-compose-symbol'.
8339 (prettify-symbols--make-keywords): Rename from
8340 `prog-prettify-font-lock-symbols-keywords' and simplify.
8341 (prog-prettify-install): Remove.
8342 (prettify-symbols-mode): New minor mode, based on
8343 `prog-prettify-install'.
8344 (turn-on-prettify-symbols-mode): New function.
8345 (global-prettify-symbols-mode): New globalized minor mode.
8347 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
8348 * progmodes/cfengine.el (cfengine3-mode):
8349 * progmodes/perl-mode.el (perl-mode): Don't call
8350 `prog-prettify-install'; set `prettify-symbols-alist' instead.
8352 2013-06-18 Juri Linkov <juri@jurta.org>
8354 * files-x.el (modify-file-local-variable-message): New function.
8355 (modify-file-local-variable)
8356 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
8357 and call `modify-file-local-variable-message' when it's non-nil.
8358 (add-file-local-variable, delete-file-local-variable)
8359 (add-file-local-variable-prop-line)
8360 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
8361 and use it. (Bug#9820)
8363 2013-06-18 Juri Linkov <juri@jurta.org>
8365 * emulation/vi.el (vi-shell-op):
8366 * emulation/vip.el (vip-execute-com, ex-command):
8367 * emulation/viper-cmd.el (viper-exec-bang):
8368 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
8369 the call of `shell-command-on-region'. (Bug#14637)
8371 * simple.el (shell-command-on-region): Doc fix.
8373 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8375 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
8378 2013-06-18 Glenn Morris <rgm@gnu.org>
8380 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
8382 * newcomment.el (comment-search-forward, comment-search-backward):
8383 Doc fix. (Bug#14376)
8385 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
8387 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
8388 (buffer-face-mode-invoke): Doc fix.
8390 2013-06-18 Matthias Meulien <orontee@gmail.com>
8392 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
8393 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
8395 2013-06-18 Glenn Morris <rgm@gnu.org>
8397 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
8398 Replace obsolete function generic-make-keywords with its expansion.
8400 * progmodes/python.el (ffap-alist): Declare.
8402 * textmodes/reftex.el (bibtex-mode-map): Declare.
8404 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8406 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
8407 (package-unpack, package-unpack-single): Return the pkg-dir.
8408 (package-download-transaction): Use it to update package-alist.
8410 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
8412 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
8415 2013-06-17 Juri Linkov <juri@jurta.org>
8417 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
8419 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
8421 * emacs-lisp/package.el (package-load-descriptor):
8422 Remove `with-syntax-table' call, `read' doesn't need it.
8423 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
8425 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
8427 * startup.el (command-line): Expand package name returned by
8428 `package--description-file' (bug#14639).
8430 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
8432 * emacs-lisp/package.el (package-load-descriptor): Do not call
8433 `emacs-lisp-mode', just use its syntax table.
8435 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
8437 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
8438 `font-lock-extra-managed-props' if any prettifying keyword is added.
8439 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
8440 (prog-mode): Use `setq-local'.
8442 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
8444 * international/characters.el (standard-case-table): Set syntax of ?»
8445 and ?« to punctuation.
8447 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
8449 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
8450 Save relevant match data before calling `syntax-ppss' (bug#14595).
8452 2013-06-15 Juri Linkov <juri@jurta.org>
8454 * files-x.el (modify-file-local-variable-prop-line): Add local
8455 variables to the end of the existing comment on the first line.
8456 Use `file-auto-mode-skip' to skip interpreter magic line,
8457 and also skip XML declaration.
8459 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
8461 * startup.el (package--builtin-versions): New var.
8462 (package-subdirectory-regexp): Remove.
8463 (package--description-file): Hard code its value instead.
8465 * emacs-lisp/package.el: Don't activate packages older than builtin.
8466 (package-obsolete-list): Rename from package-obsolete-alist, and make
8467 it into a simple list of package-desc.
8468 (package-strip-version): Remove.
8469 (package-built-in-p): Use package--builtin-versions.
8470 (package-mark-obsolete): Simplify.
8471 (package-process-define-package): Mark it obsolete if older than the
8473 (package-handle-response): Use line-end-position.
8474 (package-read-archive-contents, package--download-one-archive):
8476 (package--add-to-archive-contents): Skip if older than the builtin or
8478 (package-menu-describe-package): Fix last change.
8479 (package-list-unversioned): New var.
8480 (package-menu--generate): Use it.
8482 * emacs-lisp/autoload.el: Manage package--builtin-versions.
8483 (autoload--insert-text, autoload--insert-cookie-text): New functions.
8484 (autoload-builtin-package-versions): New variable.
8485 (autoload-generate-file-autoloads): Use them.
8486 Remove the list of autoloaded functions/macros from the
8487 (autoload...) comments.
8489 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
8491 2013-06-15 Eli Zaretskii <eliz@gnu.org>
8493 * simple.el (line-move-partial): Don't jump to the next screen
8494 line as soon as it becomes visible. Instead, continue enlarging
8495 the vscroll until the portion of a tall screen line that's left on
8496 display is about the height of the frame's default font.
8499 2013-06-15 Glenn Morris <rgm@gnu.org>
8501 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
8502 compilation-error-regexp-alist void, or local while let-bound.
8504 * progmodes/make-mode.el (makefile-mode-syntax-table):
8505 Treat "=" as punctuation. (Bug#14614)
8507 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
8509 * help-fns.el (describe-variable):
8510 Add extra line for permanent-local variables.
8512 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
8514 * progmodes/scheme.el (scheme-font-lock-keywords-2):
8515 Add export, import, library. (Bug#9164)
8516 (library): Set indent function.
8518 2013-06-14 Glenn Morris <rgm@gnu.org>
8520 * term/xterm.el (xterm--query):
8521 Stop after first matching handler. (Bug#14615)
8523 2013-06-14 Ivan Kanis <ivan@kanis.fr>
8525 Add support for dired in saveplace.
8526 * dired.el (dired-initial-position-hook): New variable.
8527 (dired-initial-position): Call hook to place cursor position.
8528 * saveplace.el (save-place-to-alist): Add dired position.
8529 (save-place-dired-hook): New function.
8531 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
8533 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
8534 through a symbol rather than letrec.
8536 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
8537 (package-desc): Add `dir' field.
8538 (package-desc-full-name): New function.
8539 (package-load-descriptor): Combine the two arguments. Don't use `load'.
8540 (package-maybe-load-descriptor): Remove.
8541 (package-load-all-descriptors): Just call package-load-descriptor.
8542 (package--disabled-p): New function.
8543 (package-desc-vers, package-desc-doc): Remove aliases.
8544 (package--dir): Remove function.
8545 (package-activate): Check if a package is disabled.
8546 (package-process-define-package): New function, extracted from
8548 (define-package): Turn into a place holder.
8549 (package-unpack-single, package-tar-file-info):
8550 Use package--description-file.
8551 (package-compute-transaction): Use package--disabled-p.
8552 (package-download-transaction): Don't call
8553 package-maybe-load-descriptor since they're all loaded anyway.
8554 (package-install): Change argument to be a pkg-desc.
8555 (package-delete): Use a single pkg-desc argument.
8556 (describe-package-1): Use package-desc-dir instead of package--dir.
8557 Use package-desc property instead of package-symbol.
8558 (package-install-button-action): Adjust accordingly.
8559 (package--push): Rewrite.
8560 (package-menu--print-info): Adjust accordingly. Change the ID format
8562 (package-menu-describe-package, package-menu-get-status)
8563 (package-menu--find-upgrades, package-menu-mark-upgrades)
8564 (package-menu-execute, package-menu--name-predicate):
8566 * startup.el (package--description-file): New function.
8567 (command-line): Use it.
8568 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8569 Use package-desc-version.
8571 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
8572 (byte-compile-preprocess): Use it.
8573 (byte-compile-file-form-defalias): Try a bit harder to use macros we
8574 can't quite recognize.
8575 (byte-compile-add-to-list): Remove.
8576 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
8577 (cconv-closure-convert): Add assertion.
8579 * emacs-lisp/map-ynp.el: Use lexical-binding.
8580 (map-y-or-n-p): Remove unused vars `tail' and `object'.
8581 Factor out some repeated code.
8583 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
8585 * subr.el (with-eval-after-load): New macro.
8586 (eval-after-load): Allow form to be a function.
8587 take advantage of lexical-binding.
8588 (do-after-load-evaluation): Use dolist and adjust to new format.
8589 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
8591 2013-06-13 Juri Linkov <juri@jurta.org>
8593 * replace.el (perform-replace): Display "symbol " and other search
8594 modes from `isearch-message-prefix' in the *Help* buffer.
8596 * isearch.el (isearch-query-replace): Add " symbol" and other
8597 possible search modes from `isearch-message-prefix' to the prompt.
8598 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
8599 when reading a regexp to collect.
8601 2013-06-13 Juri Linkov <juri@jurta.org>
8603 * isearch.el (word-search-regexp): Match whitespace if the search
8604 string begins or ends in whitespace. The LAX arg is applied to
8605 both ends of the search string. Use `regexp-quote' and explicit
8606 \< and \> instead of \b. Use \` and \' instead of ^ and $.
8607 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
8608 boundaries are replaced with symbol boundaries, and characters
8609 between symbols match non-word non-symbol syntax. (Bug#14602)
8611 2013-06-13 Juri Linkov <juri@jurta.org>
8613 * isearch.el (isearch-del-char): Don't exceed the length of
8614 `isearch-string' by the prefix arg. (Bug#14563)
8616 2013-06-13 Juri Linkov <juri@jurta.org>
8618 * isearch.el (isearch-yank-word, isearch-yank-line)
8619 (isearch-char-by-name, isearch-quote-char)
8620 (isearch-printing-char, isearch-process-search-char):
8621 Add optional count prefix arg. (Bug#14563)
8623 * international/isearch-x.el
8624 (isearch-process-search-multibyte-characters):
8625 Add optional count prefix arg.
8627 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
8629 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
8630 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
8633 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
8635 * subr.el (set-temporary-overlay-map): Add on-exit argument.
8637 2013-06-13 Glenn Morris <rgm@gnu.org>
8639 * startup.el (tty-handle-args):
8640 Don't just discard "--" and anything after. (Bug#14608)
8642 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
8644 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
8646 Implement changes in Secret Service API. Make it backward compatible.
8647 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
8648 (secrets-create-item): Use it. Prefix properties with interface.
8650 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
8652 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
8653 (term-emulate-terminal): Respect term-suppress-hard-newline.
8655 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
8657 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
8658 Only remove a `thumb-file' overlay. (Bug#14548)
8660 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
8662 * mail/reporter.el (reporter-submit-bug-report):
8663 Handle missing package-name. (Bug#14600)
8665 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8667 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
8668 (reftex-citation-prompt, reftex-default-bibliography)
8669 (reftex-bib-or-thebib, reftex-get-bibfile-list)
8670 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
8671 (reftex-bib-sort-author, reftex-bib-sort-year)
8672 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
8673 (reftex-extract-bib-entries-from-thebibliography)
8674 (reftex-get-bibkey-default, reftex-get-bib-names)
8675 (reftex-parse-bibtex-entry, reftex-get-bib-field)
8676 (reftex-format-bib-entry, reftex-parse-bibitem)
8677 (reftex-format-bibitem, reftex-do-citation)
8678 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
8679 (reftex-restrict-bib-matches, reftex-extract-bib-file)
8680 (reftex-insert-bib-matches, reftex-format-citation)
8681 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
8682 (reftex-create-bibtex-file): Add docstrings, mostly by converting
8683 existing comments into docstrings.
8685 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
8687 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
8689 2013-06-12 Andreas Schwab <schwab@suse.de>
8691 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
8692 for auto-save files.
8694 2013-06-12 Glenn Morris <rgm@gnu.org>
8696 * ido.el (ido-delete-ignored-files): Remove.
8697 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
8698 Go back to calling ido-ignore-item-p directly.
8700 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
8702 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
8704 * ido.el (ido-delete-ignored-files): New function,
8705 split from ido-make-file-list-1.
8706 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
8707 (ido-make-file-list-1): Use ido-delete-ignored-files.
8709 2013-06-12 Leo Liu <sdl.web@gmail.com>
8711 * progmodes/octave.el (inferior-octave-startup)
8712 (inferior-octave-completion-table)
8713 (inferior-octave-track-window-width-change)
8714 (octave-eldoc-function-signatures, octave-help)
8715 (octave-find-definition): Use single quoted strings.
8716 (inferior-octave-startup-args): Change default value.
8717 (inferior-octave-startup): Do not hard code "-i" and
8718 "--no-line-editing".
8719 (inferior-octave-resync-dirs): Add optional arg NOERROR.
8720 (inferior-octave-directory-tracker): Use it.
8721 (octave-goto-function-definition): Robustify.
8722 (octave-help): Support highlighting operators in 'See also'.
8723 (octave-find-definition): Find subfunctions only in Octave mode.
8725 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
8727 * help-fns.el (help-fns--compiler-macro): If the handler function is
8728 named, then put a link to it.
8729 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
8730 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
8732 (cl-eval-when): Simplify debug spec.
8733 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
8734 compiler-macro function instead of setting `compiler-macro-file'.
8736 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
8738 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
8739 * vc/vc-hooks.el (vc-stay-local): Doc fix.
8741 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
8742 Daniel Hackney <dan@haxney.org>
8744 First part of Daniel Hackney's patch to package.el.
8745 * emacs-lisp/package.el: Use defstruct.
8746 (package-desc): New, main struct.
8747 (package--bi-desc, package--ac-desc): New structs, used to describe the
8748 format in external files.
8749 (package-desc-vers): Replace with package-desc-version accessor.
8750 (package-desc-doc): Replace with package-desc-summary accessor.
8751 (package-activate-1): Remove `package' arg since the pkg-vec now
8753 (define-package): Use package-desc-from-define.
8754 (package-unpack-single): Change file-name arg to be a symbol.
8755 (package--add-to-archive-contents): Use package-desc-create and new
8756 accessor functions to package--ac-desc.
8757 (package-buffer-info, package-tar-file-info): Return a package-desc.
8758 (package-install-from-buffer): Remove `type' argument. Change pkg-info
8759 arg to be a package-desc.
8760 (package-install-file): Adjust accordingly. Use \' to match EOS.
8761 (package--from-builtin): New function.
8762 (describe-package-1, package-menu--generate): Use it.
8763 (package--make-autoloads-and-compile): Change name arg to be a symbol.
8764 (package-generate-autoloads): Idem and return the name of the file.
8765 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8766 Change pkg-info arg to be a package-desc.
8767 Use package-make-ac-desc.
8768 (package-upload-file): Use \' to match EOS.
8769 * finder.el (finder-compile-keywords): Use package-make-builtin.
8771 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8773 * vc/vc.el (vc-deduce-fileset): Change error message.
8774 (vc-read-backend): New function.
8775 (vc-next-action): Use it.
8777 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
8779 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
8780 (prolog-font-lock-keywords): Use regexp-opt instead.
8781 Don't manually highlight strings.
8782 (prolog-mode-variables): Simplify comment-start-skip.
8783 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
8785 * emacs-lisp/generic.el (generic--normalise-comments)
8786 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
8787 (generic-mode-set-comments): Use them.
8788 (generic-bracket-support): Use setq-local.
8789 (generic-make-keywords-list): Declare obsolete.
8791 2013-06-11 Glenn Morris <rgm@gnu.org>
8793 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
8794 Prettify after setting font-lock-defaults. (Bug#14574)
8796 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
8798 * replace.el (query-replace, occur-read-regexp-defaults-function)
8800 * subr.el (declare-function, number-sequence, local-set-key)
8801 (substitute-key-definition, locate-user-emacs-file)
8802 (with-silent-modifications, split-string, eval-after-load):
8803 Fix typos, remove unneeded backslashes and reflow some docstrings.
8805 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8807 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
8808 default for Elisp files.
8810 2013-06-11 Glenn Morris <rgm@gnu.org>
8812 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
8813 although define-derived-mode was doing this anyway. (Bug#14583)
8815 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
8817 * allout.el (allout-encryption-plaintext-sanitization-regexps):
8818 Fix make-variable-buffer-local call to refer to the correct variable.
8820 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
8822 * eshell/em-term.el (eshell-visual-commands)
8823 (eshell-visual-subcommands, eshell-visual-options):
8824 Add summary line to docstrings. Add cross-references.
8826 2013-06-10 Glenn Morris <rgm@gnu.org>
8828 * epa.el (epa-read-file-name): New function. (Bug#14510)
8829 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
8831 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
8833 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
8834 output redirection to be ignored with visual commands.
8836 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
8838 * eshell/em-term.el (eshell-visual-command-p): New function.
8839 (eshell-term-initialize): Move long lambda to separate function
8840 eshell-visual-command-p.
8841 * eshell/em-dirs.el (eshell-dirs-initialise):
8842 * eshell/em-script.el (eshell-script-initialize):
8843 Add missing #' to lambda.
8845 2013-06-08 Leo Liu <sdl.web@gmail.com>
8847 * progmodes/octave.el (octave-add-log-current-defun): New function.
8848 (octave-mode): Set add-log-current-defun-function.
8849 (octave-goto-function-definition): Do not move point if not found.
8850 (octave-find-definition): Enhance to try subfunctions first.
8852 2013-06-08 Glenn Morris <rgm@gnu.org>
8854 * emacs-lisp/bytecomp.el (byte-compile-char-before)
8855 (byte-compile-backward-char, byte-compile-backward-word):
8856 Improve previous change, to handle non-explicit nil.
8858 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
8860 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
8861 (smie--opener/closer-at-point): New function.
8862 (smie--matching-block-data): Use it. Don't match from right after an
8863 opener or right before a closer. Obey smie-blink-matching-inners.
8864 Don't signal a mismatch for repeated inners like "switch..case..case".
8866 2013-06-07 Leo Liu <sdl.web@gmail.com>
8868 * progmodes/octave.el (octave-mode): Set comment-use-global-state
8870 (octave-function-header-regexp): Fix. (Bug#14570)
8871 (octave-help-mode-finish-hook, octave-help-mode-finish):
8872 Remove. Just use temp-buffer-show-hook.
8874 * newcomment.el (comment-search-backward): Revert last change.
8877 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
8879 2013-06-07 Eli Zaretskii <eliz@gnu.org>
8881 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
8882 through xargs, to avoid failure due to MS-Windows limitations on
8883 command-line length.
8885 2013-06-06 Glenn Morris <rgm@gnu.org>
8887 * font-lock.el (lisp-font-lock-keywords-2):
8888 Treat user-error like error.
8890 * emacs-lisp/bytecomp.el (byte-compile-char-before)
8891 (byte-compile-backward-char, byte-compile-backward-word):
8892 Handle explicit nil arguments. (Bug#14565)
8894 2013-06-05 Alan Mackenzie <acm@muc.de>
8896 * isearch.el (isearch-allow-prefix): New user option.
8897 (isearch-other-meta-char): Don't exit isearch when a prefix
8898 argument is typed whilst `isearch-allow-prefix' is non-nil.
8901 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8903 * autorevert.el (auto-revert-notify-handler): Use memq.
8904 Hide assertion failure.
8906 * skeleton.el: Use cl-lib.
8907 (skeleton-further-elements): Use defvar-local.
8908 (skeleton-insert): Use cl-progv.
8910 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8912 * progmodes/prog-mode.el (prog-prettify-symbols)
8913 (prog-prettify-install): Update docstrings.
8915 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8917 * simple.el: Move all the prog-mode code to prog-mode.el.
8918 * progmodes/prog-mode.el: New file.
8919 * loadup.el: Add prog-mode.el.
8921 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8923 * simple.el (prog-prettify-symbols): Add version.
8924 (prog-prettify-install): Add convenience function to prettify symbols.
8926 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
8927 (perl--augmented-font-lock-keywords-1)
8928 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
8929 variables and use it.
8931 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
8932 (cfengine3-mode): Remove unneeded variable and use it.
8934 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
8935 (lisp--augmented-font-lock-keywords-1)
8936 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
8937 Remove unneeded variables and use it.
8939 2013-06-05 João Távora <joaotavora@gmail.com>
8941 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
8942 to point when opening the connection. (Bug#14380)
8944 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8946 * subr.el (load-history-regexp, load-history-filename-element)
8947 (eval-after-load, after-load-functions, do-after-load-evaluation)
8948 (eval-next-after-load, display-delayed-warnings)
8949 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
8950 definition of save-match-data.
8951 (overriding-local-map): Remove accidental obsolescence declaration.
8953 * emacs-lisp/edebug.el (edebug-result): Move before first use.
8955 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8957 Generalize symbol prettify support to prog-mode and implement it
8958 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
8959 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
8960 (prog--prettify-font-lock-compose-symbol)
8961 (prog-prettify-font-lock-symbols-keywords): New variables and
8962 functions to support symbol prettification.
8963 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
8964 (lisp--augmented-font-lock-keywords-1)
8965 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
8966 (lisp--prettify-symbols-alist): Implement prettify of lambda.
8967 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
8968 (cfengine3--prettify-symbols-alist, cfengine3-mode):
8969 Implement prettify of -> => :: strings.
8970 * progmodes/perl-mode.el (perl-prettify-symbols)
8971 (perl--font-lock-compose-symbol)
8972 (perl--font-lock-symbols-keywords): Move to prog-mode.
8973 (perl--prettify-symbols-alist): Prettify -> => :: strings.
8974 (perl-font-lock-keywords-1)
8975 (perl-font-lock-keywords-2): Remove explicit prettify support.
8976 (perl--augmented-font-lock-keywords)
8977 (perl--augmented-font-lock-keywords-1)
8978 (perl--augmented-font-lock-keywords-2, perl-mode):
8979 Implement prettify support.
8981 2013-06-05 Leo Liu <sdl.web@gmail.com>
8983 Re-implement smie matching block highlight using
8984 show-paren-data-function. (Bug#14395)
8985 * emacs-lisp/smie.el (smie-matching-block-highlight)
8986 (smie--highlight-matching-block-overlay)
8987 (smie--highlight-matching-block-lastpos)
8988 (smie-highlight-matching-block)
8989 (smie-highlight-matching-block-mode): Remove.
8990 (smie--matching-block-data-cache): New variable.
8991 (smie--matching-block-data): New function.
8992 (smie-setup): Use smie--matching-block-data for
8993 show-paren-data-function.
8995 * progmodes/octave.el (octave-mode-menu): Fix.
8996 (octave-find-definition): Skip garbage lines.
8998 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9000 Fix compilation error with simultaneous dynamic+lexical scoping.
9001 Add warning when a defvar appears after the first let-binding.
9002 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
9003 (byte-compile-close-variables): Initialize it.
9004 (byte-compile--declare-var): New function.
9005 (byte-compile-file-form-defvar)
9006 (byte-compile-file-form-define-abbrev-table)
9007 (byte-compile-file-form-custom-declare-variable): Use it.
9008 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
9009 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
9010 (byte-compile-bind): Handle dynamic bindings that shadow
9012 (byte-compile-unbind): Make arg non-optional.
9013 (byte-compile-let): Simplify.
9014 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
9015 (cconv--analyse-function, cconv-analyse-form): Populate it.
9016 Protect byte-compile-bound-variables to limit the scope of defvars.
9017 (cconv-analyse-form): Add missing rule for (defvar <foo>).
9018 Remove unneeded rule for `declare'.
9020 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
9021 so as to avoid depending on cl-adjoin at run-time.
9022 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
9024 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
9025 (macroexp--warn-and-return): Use it.
9027 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9029 * lisp/subr.el: Convert to lexical binding.
9030 (overriding-local-map): Make obsolete.
9031 (add-to-list): Doc fix. Add compiler macro.
9032 (read-key): Swap values of local maps.
9034 2013-06-05 Leo Liu <sdl.web@gmail.com>
9036 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
9038 2013-06-04 Leo Liu <sdl.web@gmail.com>
9040 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
9041 (compilation-auto-jump): Suppress the "Mark set" message to give
9042 way to exit message.
9044 2013-06-04 Alan Mackenzie <acm@muc.de>
9046 Remove faulty optimisation from indentation calculation.
9047 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
9048 search limit based on 2000 characters back from indent-point.
9050 2013-06-03 Tassilo Horn <tsdh@gnu.org>
9052 * eshell/em-term.el (cl-lib): Require `cl-lib'.
9054 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
9056 * emacs-lisp/lisp.el: Use lexical-binding.
9057 (lisp--local-variables-1, lisp--local-variables): New functions.
9058 (lisp--local-variables-completion-table): New var.
9059 (lisp-completion-at-point): Use it complete let-bound vars.
9061 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
9062 eagerly (bug#14422).
9064 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
9066 * autorevert.el (auto-revert-notify-enabled)
9067 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
9068 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
9069 (auto-revert-notify-handler): Handle also gfilenotify.
9071 * subr.el (file-notify-handle-event): New defun. Replacing ...
9072 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
9075 2013-06-03 Juri Linkov <juri@jurta.org>
9077 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
9078 `M-s h .'. (Bug#14427)
9080 * hi-lock.el (highlight-symbol-at-point): New alias for the new
9081 command `hi-lock-face-symbol-at-point'.
9082 (hi-lock-face-symbol-at-point): New command.
9083 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
9084 (hi-lock-menu): Add `highlight-symbol-at-point'.
9085 (hi-lock-mode): Doc fix.
9087 * isearch.el (isearch-forward-symbol-at-point): New command.
9088 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
9089 (isearch-highlight-regexp): Add a regexp which matches
9090 words/symbols for word/symbol mode.
9092 * subr.el (find-tag-default-bounds): New function with the body
9093 mostly moved from `find-tag-default'.
9094 (find-tag-default): Move most code to `find-tag-default-bounds',
9095 call it and apply `buffer-substring-no-properties' afterwards.
9097 2013-06-03 Tassilo Horn <tsdh@gnu.org>
9099 * eshell/em-term.el (eshell-term-initialize):
9100 Use `cl-intersection' rather than `intersection'.
9102 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
9104 * vc/log-view.el: Doc fix.
9105 (log-view-mode-map): Copy keymap from `special-mode-map'.
9107 2013-06-02 Eric Ludlam <zappo@gnu.org>
9109 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
9110 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
9111 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
9112 (eieio-unbound, eieio-default-superclass)
9113 (eieio--define-field-accessors, method-static, method-before)
9114 (method-primary, method-after, method-num-lists)
9115 (method-generic-before, method-generic-primary)
9116 (method-generic-after, method-num-slots)
9117 (eieio-specialized-key-to-generic-key)
9118 (eieio--check-type, class-v, class-p)
9119 (eieio-class-name, define-obsolete-function-alias)
9120 (eieio-class-parents-fast, eieio-class-children-fast)
9121 (same-class-fast-p, class-constructor, generic-p)
9122 (generic-primary-only-p, generic-primary-only-one-p)
9123 (class-option-assoc, class-option, eieio-object-p)
9124 (class-abstract-p, class-method-invocation-order)
9125 (eieio-defclass-autoload-map, eieio-defclass-autoload)
9126 (eieio-class-un-autoload, eieio-defclass)
9127 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
9128 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
9129 (eieio--defgeneric-init-form, eieio-defgeneric-form)
9130 (eieio-defgeneric-reset-generic-form)
9131 (eieio-defgeneric-form-primary-only)
9132 (eieio-defgeneric-reset-generic-form-primary-only)
9133 (eieio-defgeneric-form-primary-only-one)
9134 (eieio-defgeneric-reset-generic-form-primary-only-one)
9135 (eieio-unbind-method-implementations)
9136 (eieio--defmethod, eieio--typep)
9137 (eieio-perform-slot-validation, eieio-validate-slot-value)
9138 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
9139 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
9140 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
9141 (eieio-slot-name-index, eieio-class-slot-name-index)
9142 (eieio-set-defaults, eieio-initarg-to-attribute)
9143 (eieio-attribute-to-initarg, eieio-c3-candidate)
9144 (eieio-c3-merge-lists, eieio-class-precedence-c3)
9145 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
9146 (eieio-class-precedence-list, eieio-generic-call-methodname)
9147 (eieio-generic-call-arglst, eieio-generic-call-key)
9148 (eieio-generic-call-next-method-list)
9149 (eieio-pre-method-execution-functions, eieio-generic-call)
9150 (eieio-generic-call-primary-only, eieiomt-method-list)
9151 (eieiomt-optimizing-obarray, eieiomt-install)
9152 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
9153 (eieio-generic-form, eieio-defmethod, make-obsolete)
9154 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
9155 (defclass): Remove `eval-and-compile' from macro.
9156 (call-next-method, shared-initialize): Instead of using
9157 `scoped-class' variable, use new eieio--scoped-class, and
9158 eieio--with-scoped-class.
9159 (initialize-instance): Rename local variable 'scoped-class' to
9160 'this-class' to remove ambiguitity from old global.
9162 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
9164 (eieio--scoped-class-stack): New variable.
9165 (eieio--scoped-class): New fcn.
9166 (eieio--with-scoped-class): New scoping macro.
9167 (eieio-defclass): Use pushnew instead of add-to-list.
9168 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
9169 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
9170 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
9171 `scoped-class' variable, use new eieio--scoped-class, and
9172 eieio--with-scoped-class.
9174 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
9176 2013-06-02 Tassilo Horn <tsdh@gnu.org>
9178 * eshell/esh-ext.el (eshell-external-command): Pass args to
9179 `eshell-find-interpreter'.
9180 (eshell-find-interpreter): Add new second parameter ARGS.
9182 * eshell/em-script.el (eshell-script-initialize): Add second arg
9183 to the function added as MATCH to `eshell-interpreter-alist'.
9185 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
9186 the function added as MATCH to `eshell-interpreter-alist'.
9188 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
9189 (eshell-visual-options): New defcustom.
9190 (eshell-escape-control-x): Adapt docstring.
9191 (eshell-term-initialize): Test `eshell-visual-subcommands' and
9192 `eshell-visual-options' in addition to `eshell-visual-commands'.
9193 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
9195 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
9197 * progmodes/python.el (python-indent-block-enders): Add break,
9198 continue and raise keywords.
9200 2013-06-01 Glenn Morris <rgm@gnu.org>
9202 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
9204 Plain (f)boundp silences compilation warnings since Emacs 22.1.
9205 * progmodes/cc-cmds.el (delete-forward-p):
9206 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
9207 * progmodes/cc-engine.el (buffer-syntactic-context):
9208 * progmodes/cc-fonts.el (face-property-instance):
9209 * progmodes/cc-mode.el (set-keymap-parents):
9210 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
9211 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
9212 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
9213 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
9214 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
9216 * progmodes/cc-vars.el (other): Emacs has this widget since
9217 at least 21.1, so don't (re)define it.
9219 * eshell/em-cmpl.el (eshell-cmpl-initialize):
9220 Replace the obsolete alias pcomplete-arg-quote-list.
9222 2013-06-01 Leo Liu <sdl.web@gmail.com>
9224 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
9226 (inferior-octave-minimal-columns)
9227 (inferior-octave-last-column-width): New variables.
9228 (inferior-octave-track-window-width-change): New function.
9229 (inferior-octave-mode): Adjust column width so that Octave output,
9230 for example from 'ls', can fit into the window nicely.
9232 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
9234 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
9235 Highlight expansions inside regexp literals.
9237 2013-05-31 Glenn Morris <rgm@gnu.org>
9239 * obsolete/sym-comp.el (symbol-complete):
9240 Replace obsolete completion-annotate-function.
9242 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
9244 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
9246 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
9247 New function, checks if point is inside a literal that allows
9248 expression expansion.
9249 (ruby-syntax-propertize-expansion): Use it.
9250 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
9253 2013-05-30 Juri Linkov <juri@jurta.org>
9255 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
9257 (isearch-invisible): New variable.
9258 (isearch-forward): Doc fix.
9259 (isearch-mode): Set `isearch-invisible'
9260 to the value of `search-invisible'.
9261 (isearch-toggle-case-fold): Doc fix.
9262 (isearch-toggle-invisible): New command.
9263 (isearch-query-replace): Let-bind `search-invisible'
9264 to the value of `isearch-invisible'.
9265 (isearch-search): Use `isearch-invisible' instead of
9266 `search-invisible'. Let-bind `search-invisible'
9267 to the value of `isearch-invisible'. (Bug#11378)
9269 2013-05-30 Juri Linkov <juri@jurta.org>
9271 * replace.el (perform-replace): Avoid `isearch-range-invisible'
9272 call when `query-flag' is nil and `search-invisible' is non-nil.
9275 2013-05-30 Glenn Morris <rgm@gnu.org>
9277 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
9279 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
9280 (cc-require): Suppress spurious "noruntime" warnings.
9281 (cc-require-when-compile): Use fboundp, for sake of compiler.
9283 * progmodes/cc-mode.el: Move load of cc-vars before that of
9284 cc-langs (which in turn loads cc-vars), to quieten compiler.
9286 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9288 * paren.el: Simplify the code.
9289 (show-paren-mode): Always start the timer.
9290 (show-paren--idle-timer): Rename from show-paren-idle-timer.
9291 (show-paren--overlay, show-paren--overlay-1): Rename from
9292 show-paren-overlay and show-paren-overlay-1, and initialize to an
9293 overlay rather than to nil.
9294 (show-paren-function): Misc cleanup and simplifications.
9296 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9298 * paren.el (show-paren-data-function): New hook.
9299 (show-paren--default): New function, extracted from show-paren-function.
9300 (show-paren-function): Use show-paren-data-function.
9302 2013-05-30 Glenn Morris <rgm@gnu.org>
9304 * ielm.el (ielm-map, ielm-complete-symbol):
9305 Use completion-at-point rather than obsolete functions.
9306 (inferior-emacs-lisp-mode): Doc fix.
9307 Set completion-at-point-functions, rather than
9308 comint-dynamic-complete-functions.
9310 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
9311 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
9312 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
9314 * image.el (image-animated-p): Tweak definition.
9316 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
9317 (rlogin-process-connection-type): Tweak default. Add set-after.
9318 (rlogin-host): Doc fix.
9319 (rlogin): Tweak prompt.
9320 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
9322 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
9323 * progmodes/tcl.el (inferior-tcl-mode-map):
9324 Use completion-at-point rather than obsolete alias.
9326 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
9328 * minibuffer.el (read-file-name-completion-ignore-case):
9329 Move before completion--in-region, for eager macro expansion.
9331 2013-05-29 Juri Linkov <juri@jurta.org>
9333 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
9334 for total count of matching lines. Add `global-matches' for total
9335 count of matches. Rename `matches' to `lines' for count of
9336 matching lines. Add `matches' for count of matches.
9337 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
9338 to `prev-line' for line number of prev match endpt.
9339 Increment `matches' for every match. Print the number of
9340 matching lines in the header.
9341 (occur-context-lines): Rename `lines' to `curr-line'.
9342 Rename `prev-lines' to `prev-line'. (Bug#14017)
9344 2013-05-29 Juri Linkov <juri@jurta.org>
9346 * replace.el (perform-replace): Add `skip-read-only-count',
9347 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
9348 Increment them for corresponding conditions and report the number
9349 of skipped occurrences in the final message. (Bug#11746)
9350 (query-replace, query-replace-regexp, query-replace-regexp-eval)
9351 (replace-string, replace-regexp): Doc fix.
9353 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
9355 * emacs-lisp/trace.el (trace--read-args): Provide a default.
9357 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
9358 prog-mode-map (bug#14504).
9360 2013-05-29 Leo Liu <sdl.web@gmail.com>
9362 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
9363 (octave-help): Small simplification.
9365 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
9366 off the highlight first.
9368 2013-05-29 Glenn Morris <rgm@gnu.org>
9370 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
9371 Handle idlwave-last-system-routine-info-cons-cell being nil.
9373 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
9374 (idlwave-write-paths): Simplify via with-temp-buffer.
9376 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
9377 * emulation/cua-rect.el: Also load cua-base at run time.
9379 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
9380 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
9381 (cperl-imenu-on-info): Require imenu.
9383 2013-05-28 Alan Mackenzie <acm@muc.de>
9385 Handle "capitalised keywords" correctly.
9386 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
9388 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
9390 * eshell/em-unix.el: Add -r option to cp.
9392 2013-05-28 Glenn Morris <rgm@gnu.org>
9394 * vc/vc-arch.el (vc-exec-after): Declare.
9395 (vc-switches): Autoload.
9396 * vc/vc-bzr.el: No need to require vc when compiling.
9397 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
9398 (vc-resynch-buffer, vc-dir-refresh): Declare.
9399 (vc-setup-buffer, vc-switches): Autoload.
9400 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
9401 (vc-resynch-buffer): Declare.
9402 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
9403 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
9404 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
9405 (grep-read-regexp, grep-read-files, grep-expand-template)
9406 (vc-dir-refresh): Declare.
9407 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
9408 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
9409 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
9410 * vc/vc-mtn.el (vc-exec-after): Declare.
9411 (vc-switches): Autoload.
9412 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
9413 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
9414 (vc-file-tree-walk): Declare.
9415 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
9416 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
9417 (vc-tag-precondition, vc-rename-master): Autoload.
9418 * vc/vc-svn.el (vc-exec-after): Declare.
9419 (vc-switches, vc-setup-buffer): Autoload.
9420 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
9422 (vc-resynch-buffer): Declare.
9424 * obsolete/fast-lock.el (byte-compile-warnings):
9425 Don't warn about obsolete features in this obsolete file.
9427 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
9428 Move definition before use.
9430 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
9431 (dun-unix-verbs): Remove dun-zippy.
9432 (dun-zippy): Remove function.
9434 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
9436 2013-05-27 Juri Linkov <juri@jurta.org>
9438 * replace.el (replace-search): New function with code moved out
9439 from `perform-replace'.
9440 (replace-highlight, replace-dehighlight): Move function definitions
9441 up closer to `replace-search'. (Bug#11746)
9443 2013-05-27 Juri Linkov <juri@jurta.org>
9445 * replace.el (perform-replace): Ignore invisible matches.
9446 In addition to checking `query-replace-skip-read-only', also
9447 filter out matches by calling `run-hook-with-args-until-failure'
9448 on `isearch-filter-predicates', and also check `search-invisible'
9449 for t or call `isearch-range-invisible'.
9450 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
9452 2013-05-27 Juri Linkov <juri@jurta.org>
9454 * isearch.el (isearch-filter-predicates): Rename from
9455 `isearch-filter-predicate'. Doc fix. (Bug#11378)
9456 (isearch-message-prefix): Display text from the property
9457 `isearch-message-prefix' of the currently active filters.
9458 (isearch-search): Don't compare `isearch-filter-predicate' with
9459 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
9460 on `isearch-filter-predicates'. Also check `search-invisible' for t
9461 or call `isearch-range-invisible'.
9462 (isearch-filter-visible): Make obsolete.
9463 (isearch-lazy-highlight-search):
9464 Call `run-hook-with-args-until-failure' on
9465 `isearch-filter-predicates' and use `isearch-range-invisible'.
9467 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
9468 `isearch-filter-predicates' instead of `funcall'ing
9469 `isearch-filter-predicate'.
9470 (Info-mode): Set `Info-isearch-filter' to
9471 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
9473 * dired-aux.el (dired-isearch-filter-predicate-orig):
9475 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
9476 (dired-isearch-filenames-end): Add and remove
9477 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
9478 instead of changing the value of `isearch-filter-predicate'.
9479 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
9480 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
9481 Put property `isearch-message-prefix' to "filename " on
9482 `dired-isearch-filter-filenames'.
9484 * wdired.el (wdired-change-to-wdired-mode):
9485 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
9486 locally instead of changing `isearch-filter-predicate'.
9487 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
9489 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
9491 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
9492 return the commit hash (Bug#14459). Also set the
9493 `vc-git-detached' property.
9494 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
9495 (vc-git-mode-line-string): Use the same help-echo format whether
9496 in detached mode or not, because we know the actual revision now.
9497 When in detached mode, shorten the revision to 7 chars.
9499 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
9501 * emacs-lisp/easy-mmode.el (define-minor-mode):
9502 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
9503 mode hook and provide a docstring.
9505 2013-05-27 Alan Mackenzie <acm@muc.de>
9507 Remove spurious syntax-table text properties inserted by C-y.
9508 * progmodes/cc-mode.el (c-after-change): Also clear hard
9509 syntax-table property with value nil.
9511 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
9513 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
9514 when reading the events; the buffer layout shall not be changed.
9516 2013-05-27 Leo Liu <sdl.web@gmail.com>
9518 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
9520 (inferior-octave-directory-tracker): Automatically re-sync
9522 (octave-help): Improve handling of 'See also'.
9524 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
9526 * doc-view.el: Minor naming convention tweaks.
9527 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
9529 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
9530 even if there's no `display' property yet (bug#14435).
9532 2013-05-25 Eli Zaretskii <eliz@gnu.org>
9534 * subr.el (unmsys--file-name): Rename from reveal-filename.
9536 * Makefile.in (custom-deps, finder-data, autoloads)
9537 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
9538 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
9539 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
9541 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9543 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
9544 error-completion on the first 2 args of condition-case (bug#14446).
9547 2013-05-25 Leo Liu <sdl.web@gmail.com>
9549 * comint.el (comint-previous-matching-input): Do not flood the
9550 *Messages* buffer with trivial messages.
9552 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9554 * progmodes/flymake.el (flymake-nop): Don't return a string.
9555 (flymake-set-at): Fix typo.
9557 * simple.el (read--expression): New function, extracted from
9558 eval-expression. Set completion-at-point-functions (bug#14465).
9559 (eval-expression, eval-minibuffer): Use it.
9561 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
9563 * progmodes/flymake.el (flymake-save-buffer-in-file)
9564 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
9565 (flymake-selected-frame, flymake-log, flymake-ins-after)
9566 (flymake-set-at, flymake-get-buildfile-from-cache)
9567 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
9568 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
9569 Refine the doc string.
9570 (flymake-get-file-name-mode-and-masks): Reformat.
9571 (flymake-get-real-file-name-function): Fix a minor bug.
9573 2013-05-24 Juri Linkov <juri@jurta.org>
9575 * progmodes/grep.el (grep-mode-font-lock-keywords):
9576 Support =linenumber= format used by git-grep for lines with
9577 function names. (Bug#13549)
9579 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
9581 * progmodes/octave.el (octave-smie-rules): Return nil rather than
9582 0 after a semi-colon; it works better for smie-auto-fill.
9583 (octave--indent-new-comment-line): New function.
9584 (octave-indent-new-comment-line): Use it (indirectly).
9585 (octave-mode): Don't disable smie-auto-fill. Use add-function to
9586 modify comment-line-break-function.
9588 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
9589 (smie-setup): Use add-function to set it.
9591 2013-05-24 Sam Steingold <sds@gnu.org>
9593 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
9594 argument (before the `interactive' argument).
9596 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
9598 * image-mode.el (image-mode-winprops): Add winprops to
9599 image-mode-winprops-alist before running
9600 image-mode-new-window-functions.
9601 * doc-view.el (doc-view-new-window-function): Don't delay
9602 doc-view-goto-page via timers (bug#14435).
9604 2013-05-24 Tassilo Horn <tsdh@gnu.org>
9606 * doc-view.el: Integrate with desktop.el. (Bug#14435)
9607 (doc-view-desktop-save-buffer): New function.
9608 (doc-view-restore-desktop-buffer): New function.
9609 (desktop-buffer-mode-handlers):
9610 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
9612 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
9613 `desktop-save-buffer' function.
9615 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
9617 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
9618 (tramp-gvfs-file-name-handler): Raise a user error when
9619 `tramp-gvfs-enabled' is nil.
9620 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
9621 Do not raise a user error when loading package. (Bug#14447)
9623 * net/xesam.el: Move to obsolete/.
9625 2013-05-24 Glenn Morris <rgm@gnu.org>
9627 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
9629 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
9631 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
9632 (Info-find-node, Man-getpage-in-background): Declare.
9634 * mail/unrmail.el (unrmail):
9635 Replace obsolete detect-coding-with-priority.
9637 * net/socks.el (socks-split-string): Use this rather than split-string.
9638 (socks-nslookup-host): Update for above change.
9639 (dynamic-choice, s5-dynamic-choice-match)
9640 (s5-dynamic-choice-match-inline, s5-widget-value-create):
9641 Comment out unused code.
9643 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
9644 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
9645 (gud-tooltip-echo-area): Make obsolete.
9646 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
9648 * progmodes/js.el (js--optimize-arglist): Declare.
9650 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
9652 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
9653 (ediff-window-C): Declare.
9655 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
9656 Tweak requires to silence compiler.
9658 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
9659 (he-search-string, he-tried-table, he-expand-list)
9660 (he-init-string, he-string-member, he-substitute-string)
9661 (he-reset-string): Declare.
9663 * obsolete/options.el (list-options): Use custom-variable-p,
9664 rather than obsolete alias.
9666 2013-05-23 Sam Steingold <sds@gnu.org>
9668 * simple.el (shell-command-on-region): Pass the `replace' argument
9669 down to `call-process-region' to comply with the doc as reported on
9670 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
9672 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
9674 * emacs-lisp/smie.el (smie-indent-forward-token)
9675 (smie-indent-backward-token): Handle string tokens (bug#14381).
9677 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9679 * ielm.el (ielm-menu): New menu.
9680 (inferior-emacs-lisp-mode): Set comment-start.
9682 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9684 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
9685 Fix deactivate action.
9687 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
9688 Add cleveref macros.
9690 * lisp/textmodes/reftex-parse.el
9691 (reftex-locate-bibliography-files): Accept options for
9692 bibliography commands.
9693 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
9694 Add addbibresource. Basic Biblatex support.
9696 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
9698 * net/tramp-gvfs.el (top):
9699 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
9700 when loading package. (Bug#14447)
9702 2013-05-23 Glenn Morris <rgm@gnu.org>
9704 * progmodes/js.el: No need to load comint when compiling.
9705 (ring-insert, comint-send-string, comint-send-input)
9706 (comint-last-input-end, ido-chop): Declare.
9708 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
9709 * vc/ediff-mult.el: Adjust requires.
9710 (ediff-directories-internal, ediff-directory-revisions-internal)
9711 (ediff-patch-file-internal): Declare.
9712 * vc/ediff-ptch.el: Adjust requires.
9713 (ediff-use-last-dir, ediff-buffers-internal): Declare.
9714 (ediff-find-file): Autoload.
9715 * vc/ediff-util.el: No need to load ediff when compiling.
9716 (ediff-regions-internal): Declare.
9717 * vc/ediff-wind.el: Adjust requires.
9718 (ediff-compute-toolbar-width): Define when compiling.
9719 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
9720 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
9721 (dired-get-filename, dired-get-marked-files)
9722 (ediff-last-dir-patch, ediff-patch-default-directory)
9723 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
9724 (ediff-patch-buffer-internal): Declare.
9726 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
9727 (ispell-process, ispell-buffer-local-words, lm-summary)
9728 (lm-section-start, lm-section-end): Declare.
9729 (checkdoc-ispell-init): Simplify.
9731 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
9732 (he-string-member, he-reset-string, he-substitute-string): Declare.
9734 * eshell/em-ls.el: Adjust requires.
9735 (eshell-glob-regexp): Declare.
9736 * eshell/em-tramp.el: Adjust requires.
9737 (eshell-parse-command): Autoload.
9738 * eshell/em-xtra.el: Adjust requires.
9739 (eshell-parse-command): Autoload.
9740 * eshell/esh-ext.el: Adjust requires.
9741 (eshell-parse-command, eshell-close-handles): Autoload.
9742 * eshell/esh-io.el: Adjust requires.
9743 (eshell-output-filter): Autoload.
9744 * eshell/esh-util.el: No need to load tramp when compiling.
9745 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
9747 (eshell-parse-ange-ls): Require ange-ftp and tramp.
9748 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
9749 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
9750 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
9751 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
9752 * eshell/esh-opt.el, eshell/esh-proc.el:
9753 * eshell/esh-var.el: Adjust requires.
9754 * eshell/eshell.el: Do not require esh-util twice.
9755 (eshell-add-input-to-history): Declare.
9756 (eshell-command): Check history module is active before using it.
9758 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
9760 2013-05-22 Leo Liu <sdl.web@gmail.com>
9762 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
9764 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
9766 * autorevert.el (auto-revert-notify-add-watch)
9767 (auto-revert-notify-handler): Add `attrib' for the inotify case,
9768 it indicates changes in file modification time.
9770 2013-05-22 Glenn Morris <rgm@gnu.org>
9772 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
9773 Always delete the autoloaded function from the noruntime and
9774 unresolved functions lists.
9776 * allout.el: No need to load epa, epg, overlay when compiling.
9777 (epg-context-set-passphrase-callback, epg-list-keys)
9778 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
9779 (epg-key-user-id-list): Declare.
9781 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
9782 (viper-set-parsing-style-toggling-macro)
9783 (viper-set-emacs-state-searchstyle-macros):
9784 Use called-interactively-p on Emacs.
9785 (viper-looking-back): Make it an obsolete alias. Update callers.
9786 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
9787 Use looking-back rather than viper-looking-back.
9788 (viper-tmp-insert-at-eob, viper-enlarge-region)
9789 (viper-read-string-with-history, viper-register-to-point)
9790 (viper-append-to-register, viper-change-state-to-vi)
9791 (viper-backward-char-carefully, viper-forward-char-carefully)
9792 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
9793 (viper-change-state-to-emacs): Declare.
9794 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
9795 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
9796 * emulation/viper-mous.el: Do not load viper-cmd.
9797 (viper-backward-char-carefully, viper-forward-char-carefully)
9798 (viper-forward-word, viper-adjust-window): Declare.
9800 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
9802 * progmodes/idlw-help.el (idlwave-help-fontify):
9803 Use called-interactively-p.
9805 * term/w32console.el (w32-get-console-codepage)
9806 (w32-get-console-output-codepage): Declare.
9808 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
9809 Remove unnecessary declarations.
9810 (dframe-message): Doc fix.
9812 * info.el (dframe-select-attached-frame, dframe-current-frame):
9815 * speedbar.el (speedbar-message): Make it an obsolete alias.
9817 (speedbar-with-attached-buffer)
9818 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
9819 (speedbar-with-writable): Use backquote.
9820 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
9821 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
9822 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
9823 rather than speedbar- aliases.
9824 * mail/rmail.el: Load dframe rather than speedbar when compiling.
9825 (speedbar-make-specialized-keymap, speedbar-insert-button)
9826 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
9827 (speedbar-do-function-pointer): Declare.
9828 (rmail-speedbar-button, rmail-speedbar-find-file)
9829 (rmail-speedbar-move-message):
9830 Use dframe-with-attached-buffer rather than speedbar- alias.
9831 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
9832 (dframe-message, speedbar-make-specialized-keymap)
9833 (speedbar-add-expansion-list, speedbar-mode-functions-list)
9834 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
9835 (speedbar-insert-button, dframe-select-attached-frame)
9836 (dframe-maybee-jump-to-attached-frame)
9837 (speedbar-change-initial-expansion-list)
9838 (speedbar-previously-used-expansion-list-name): Declare.
9839 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
9840 Use dframe-message, dframe-with-attached-buffer rather than
9842 (gud-sentinel): Silence compiler.
9843 * progmodes/vhdl-mode.el (speedbar-refresh)
9844 (speedbar-do-function-pointer, speedbar-add-supported-extension)
9845 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
9846 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
9847 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
9848 (speedbar-file-lists, speedbar-make-tag-line)
9849 (speedbar-line-directory, speedbar-goto-this-file)
9850 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
9851 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
9852 (speedbar-make-button, speedbar-reset-scanners)
9853 (speedbar-files-item-info, speedbar-line-text)
9854 (speedbar-find-file-in-frame, speedbar-set-timer)
9855 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
9856 (speedbar-with-writable): Do not (re)define it.
9857 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
9858 rather than speedbar- alias.
9860 2013-05-21 Leo Liu <sdl.web@gmail.com>
9862 * progmodes/octave.el (octave-mode-menu): Update and re-organize
9864 (octave-mode): Tweak fill-nobreak-predicate.
9865 (inferior-octave-startup): Check process to avoid infinite loop.
9866 (inferior-octave): Pop to buffer first to show abornmal process
9869 2013-05-21 Glenn Morris <rgm@gnu.org>
9871 * printing.el (pr-menu-bar): Define when compiling.
9873 2013-05-21 Leo Liu <sdl.web@gmail.com>
9875 * progmodes/octave.el (octave-auto-fill): Remove.
9876 (octave-indent-new-comment-line): Improve.
9877 (octave-mode): Use auto fill mode through
9878 comment-line-break-function and fill-nobreak-predicate.
9879 (octave-goto-function-definition): Support DEFUN_DLD.
9880 (octave-beginning-of-defun): Small tweak.
9881 (octave-help): Show parent directory.
9883 2013-05-21 Glenn Morris <rgm@gnu.org>
9885 * files.el (dired-unmark):
9886 * progmodes/gud.el (gdb-input): Update declarations.
9888 * calculator.el (electric, ehelp): No need to load when compiling.
9889 (Electric-command-loop, electric-describe-mode): Declare.
9891 * doc-view.el (doc-view-current-converter-processes): Move before use.
9893 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9894 Move MODE-set-explicitly definition before use.
9896 * international/mule-diag.el (mule-diag):
9897 Don't use obsolete window-system-version.
9899 * mail/feedmail.el (smtpmail): No need to load when compiling.
9900 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
9902 * mail/mail-utils.el (rfc822): No need to load when compiling.
9903 (rfc822-addresses): Autoload it.
9904 (mail-strip-quoted-names): Trivial simplification.
9906 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
9907 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
9909 * net/snmp-mode.el (tempo): Don't duplicate requires.
9911 * progmodes/prolog.el (info): No need to load when compiling.
9912 (comint): Require before shell requires it.
9913 (Info-goto-node): Autoload it.
9914 (Info-follow-nearest-node): Declare.
9915 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
9917 * textmodes/artist.el (picture-mode-exit): Declare.
9919 * textmodes/reftex-parse.el (reftex-parse-from-file):
9920 Trivial rewrite so the compiler can parse it better.
9922 2013-05-20 Leo Liu <sdl.web@gmail.com>
9924 * progmodes/octave.el (octave-help-mode-map)
9925 (octave-help-mode-finish-hook): New variables.
9926 (octave-help-mode, octave-help-mode-finish): New functions.
9927 (octave-help): Use octave-help-mode.
9929 2013-05-20 Glenn Morris <rgm@gnu.org>
9931 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
9933 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
9935 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
9936 start at point, so that expansion starting right after opening
9937 slash in a regexp is recognized.
9938 (ruby-syntax-before-regexp-re): New defvar, extracted from
9939 ruby-syntax-propertize-function. Since the value of this regexp
9940 is looked up at runtime now, we should be able to turn
9941 `ruby-syntax-methods-before-regexp' into a defcustom later.
9942 (ruby-syntax-propertize-function): Split regexp matching into two
9943 parts, for opening and closing slashes. That allows us to skip
9944 over string interpolations and support multiline regexps.
9945 Don't call `ruby-syntax-propertize-expansions', instead use another rule
9946 for them, which calls `ruby-syntax-propertize-expansion'.
9947 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
9948 call to `ruby-syntax-propertize-function'.
9949 (ruby-syntax-propertize-expansion): Extracted from
9950 `ruby-syntax-propertize-expansions'. Handles one expansion.
9951 (ruby-syntax-propertize-percent-literal): Leave point right after
9952 the percent symbol, so that the expression expansion rule can
9953 propertize the contents.
9954 (ruby-syntax-propertize-heredoc): Leave point at bol following the
9956 (ruby-syntax-propertize-expansions): Remove.
9958 2013-05-18 Juri Linkov <juri@jurta.org>
9960 * man.el (Man-default-man-entry): Remove `-' from the end
9961 of the default value. (Bug#14400)
9963 2013-05-18 Glenn Morris <rgm@gnu.org>
9965 * comint.el (comint-password-prompt-regexp):
9966 Allow "password for XXX" where XXX contains colons (eg https://...).
9968 2013-05-18 Leo Liu <sdl.web@gmail.com>
9970 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
9971 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
9972 (octave-source-directories): Don't check process.
9973 (octave-source-directories, octave-find-definition): Doc fix.
9975 2013-05-18 Glenn Morris <rgm@gnu.org>
9977 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
9978 Remove backspace/delete bindings. (Bug#14392)
9980 * cus-dep.el (custom-make-dependencies): Sort the output.
9981 (custom-versions-load-alist): Convert comment to doc.
9983 2013-05-17 Leo Liu <sdl.web@gmail.com>
9985 * newcomment.el (comment-search-backward): Stricter in finding
9986 comment start. (Bug#14303)
9988 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
9989 (octave-comment-start-skip): Properly anchored.
9991 2013-05-17 Leo Liu <sdl.web@gmail.com>
9993 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
9994 Clean up when turned off. (Bug#14395)
9995 (smie--highlight-matching-block-overlay): No longer buffer-local.
9996 (smie-highlight-matching-block): Adjust.
9998 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
10000 Doc string fix for "nanoseconds" (Bug#14406).
10001 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
10002 Fix doc string typo that had "nanoseconds" instead of "microseconds".
10004 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
10006 * calc/calc-units.el (math-extract-units): Preserve powers
10009 2013-05-17 Leo Liu <sdl.web@gmail.com>
10011 * subr.el (delete-consecutive-dups): New function.
10012 * ido.el (ido-set-matches-1): Use it.
10013 * progmodes/octave.el (inferior-octave-completion-table): Use it.
10014 * ido.el (ido-remove-consecutive-dups): Remove.
10016 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10018 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
10019 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
10020 regexp-opt's `words'.
10022 2013-05-16 Leo Liu <sdl.web@gmail.com>
10024 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
10025 (smie--highlight-matching-block-overlay)
10026 (smie--highlight-matching-block-lastpos)
10027 (smie--highlight-matching-block-timer): New variables.
10028 (smie-highlight-matching-block): New function.
10029 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
10030 (smie-setup): Conditionally enable smie-blink-matching-open.
10032 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
10034 Sync with upstream verilog-mode r840.
10035 * progmodes/verilog-mode.el (verilog-mode-version)
10036 (verilog-mode-release-date): Update.
10037 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
10038 (verilog-sig-tieoff): Fix string error on
10039 AUTORESET with colon define, bug594. Reported by Andrew Hou.
10040 (verilog-read-decls): Fix parameters confusing
10041 AUTOINST interfaces, bug565. Reported by Leith Johnson.
10043 2013-05-16 Eli Zaretskii <eliz@gnu.org>
10045 * subr.el (reveal-filename): New function.
10047 * loadup.el: Compute Emacs executable versions on MS-Windows,
10048 where executables have the .exe extension. Add a hard link
10049 emacs-XX.YY.ZZ.exe on MS-Windows.
10051 * Makefile.in (XARGS_LIMIT): New variable.
10052 (custom-deps, finder-data, autoloads)
10053 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
10054 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
10055 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
10056 (compile-main): Limit xargs according to $(XARGS_LIMIT).
10058 2013-05-16 Leo Liu <sdl.web@gmail.com>
10060 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
10061 (octave-mode-menu, octave-mode-map): Remove its uses.
10063 2013-05-16 Reto Zimmermann <reto@gnu.org>
10065 Sync with upstream vhdl mode v3.34.2.
10066 * progmodes/vhdl-mode.el: Use `push' throughout.
10067 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
10068 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
10069 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
10070 (vhdl-actual-generic-name): New option to derive actual generic name.
10071 (vhdl-port-paste-signals): Replace formal by actual generics.
10072 (vhdl-beautify): New name for old group vhdl-align. Update users.
10073 (vhdl-beautify-options): New option.
10074 (vhdl-last-input-event): New compat alias. Use throughout.
10075 (vhdl-goto-line): Replace user level function `goto-line'.
10076 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
10077 vhdl-fix-statement-buffer.
10078 (vhdl-create-mode-menu): Add some entries.
10079 (vhdl-align-region-groups): Respect vhdl-beautify-options.
10080 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
10081 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
10082 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
10083 to force statements on one line.
10084 (vhdl-remove-trailing-spaces-region):
10085 New, split from vhdl-remove-trailing-spaces.
10086 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
10087 Respect vhdl-beautify-options.
10088 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
10089 (vhdl-update-sensitivity-list): Not add with index if exists without.
10090 Not include array index with signal. Ignore keywords in comments.
10091 (vhdl-get-visible-signals): Regexp tweaks.
10092 (vhdl-template-component-inst): Handle empty library.
10093 (vhdl-template-type): Add template for 'enum' type.
10094 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
10095 Use vhdl-replace-string.
10096 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
10097 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
10098 (vhdl-speedbar-initialize): Update for above name change.
10099 (vhdl-compose-wire-components): Fix in handling of constants.
10100 (vhdl-error-regexp-emacs-alist): New variable.
10101 (vhdl-error-regexp-add-emacs): New function;
10102 adds support for new compile.el (Emacs 22+)
10103 (vhdl-generate-makefile-1): Change target order for single lib. units.
10104 Allow use of absolute file names.
10106 2013-05-16 Leo Liu <sdl.web@gmail.com>
10108 * simple.el (prog-indent-sexp): Indent enclosing defun.
10110 2013-05-15 Glenn Morris <rgm@gnu.org>
10112 * cus-start.el (show-trailing-whitespace): Move to editing basics.
10113 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
10114 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
10115 (whitespace-highlight): Move to whitespace group.
10117 * comint.el (comint-source):
10118 * pcmpl-linux.el (pcmpl-linux):
10119 * shell.el (shell-faces):
10120 * eshell/esh-opt.el (eshell-opt):
10121 * international/ccl.el (ccl): Remove empty custom groups.
10123 * completion.el (dynamic-completion-mode):
10124 * jit-lock.el (jit-lock-debug-mode):
10125 * minibuffer.el (completion-in-region-mode):
10126 * type-break.el (type-break-mode-line-message-mode)
10127 (type-break-query-mode):
10128 * emulation/tpu-edt.el (tpu-edt-mode):
10129 * progmodes/subword.el (global-subword-mode, global-superword-mode):
10130 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
10131 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
10133 * term/xterm.el (xterm): Change parent group to terminals.
10135 * master.el (master): Remove empty custom group.
10136 (master-mode): Remove unused :group argument.
10137 * textmodes/refill.el (refill): Remove empty custom group.
10138 (refill-mode): Remove unused :group argument.
10140 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
10142 * cus-dep.el: Provide a feature.
10143 (custom-make-dependencies): Ignore dotfiles (dir-locals).
10144 Don't mistakenly ignore files whose basenames match a basename
10145 from preloaded-file-list (eg cedet/ede/simple.el).
10146 Add a fallback method for getting :group.
10148 2013-05-15 Juri Linkov <juri@jurta.org>
10150 * isearch.el (isearch-char-by-name): Rename from
10151 `isearch-insert-char-by-name'. Doc fix.
10152 (isearch-forward): Mention `isearch-char-by-name' in
10153 the docstring. (Bug#13348)
10155 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
10156 `exit-minibuffer' instead of
10157 `isearch-nonincremental-exit-minibuffer'.
10158 (isearch-edit-string): Remove mention of
10159 `isearch-nonincremental-exit-minibuffer' from docstring.
10160 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
10161 (isearch-forward-exit-minibuffer)
10162 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
10164 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
10166 * loadup.el: Just use unversioned DOC.
10168 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
10169 literals as extending to EOB.
10170 (nxml-last-fontify-end): Remove unused variable.
10171 (nxml-after-change1): Use with-silent-modifications.
10172 (nxml-extend-after-change-region): Simplify.
10173 (nxml-extend-after-change-region1): Remove function.
10174 (nxml-after-change1): Don't adjust for dependent regions.
10175 (nxml-fontify-matcher): Simplify.
10176 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
10177 (xmltok-add-dependent): Remove function.
10178 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
10179 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
10180 (xmltok-scan-prolog-after-processing-instruction-open): Treat
10181 unclosed <[[, <?, comment, and other literals as extending to EOB.
10182 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
10183 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
10185 (rng-do-some-validation-1): Don't mark dependent regions.
10186 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
10187 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
10188 (nxml-clear-dependent-regions): Remove functions.
10189 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
10190 (nxml-ensure-scan-up-to-date):
10191 Don't clear&mark dependent regions.
10193 2013-05-15 Leo Liu <sdl.web@gmail.com>
10195 * progmodes/octave.el (octave-goto-function-definition):
10196 Improve and fix callers.
10198 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
10200 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
10201 the setter (bug#14387).
10203 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
10204 surrounding group (bug#14402).
10206 2013-05-14 Juri Linkov <juri@jurta.org>
10208 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
10211 2013-05-14 Glenn Morris <rgm@gnu.org>
10213 * progmodes/f90.el (f90-imenu-generic-expression):
10214 Fix typo in 2013-05-08 change. (Bug#14402)
10216 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
10218 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
10219 Remove signals for which replies are never received.
10221 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
10223 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
10224 (gdb-handler-alist, gdb-handler-number): Remove variables.
10225 (gdb-handler-list): New variable.
10226 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
10227 (gdb-pending-handler-p, gdb-handle-reply)
10228 (gdb-remove-all-pending-triggers): New functions.
10229 (gdb-discard-unordered-replies): New defcustom.
10230 (gdb-handler): New defstruct.
10231 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
10232 instead of gdb-pending-triggers. Update docstring.
10233 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
10234 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
10235 (gdb-var-update-handler, def-gdb-auto-update-trigger)
10236 (def-gdb-auto-update-handler, gdb-get-changed-registers)
10237 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
10238 (gdb-frame-handler): Pending triggers are now automatically managed.
10239 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
10241 (gdb-input): Automatically handles pending triggers. Update docstring.
10242 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
10243 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
10245 (gdb-done-or-error): Now use gdb-handle-reply.
10247 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
10249 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
10252 2013-05-14 Glenn Morris <rgm@gnu.org>
10254 * subr.el (user-emacs-directory-warning): New option.
10255 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
10257 2013-05-14 Leo Liu <sdl.web@gmail.com>
10259 * progmodes/octave.el (octave-font-lock-keywords): Fix error
10261 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
10262 (octave-font-lock-texinfo-comment): Fix invalid search bound
10263 error: wrong side of point.
10265 2013-05-14 Glenn Morris <rgm@gnu.org>
10267 * progmodes/flymake.el (flymake-xml-program): New option.
10268 (flymake-xml-init): Use it.
10270 * term/xterm.el: Provide a feature.
10272 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
10274 2013-05-13 Glenn Morris <rgm@gnu.org>
10276 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
10277 Add compat aliases as a hack workaround. (Bug#14384)
10279 2013-05-13 Leo Liu <sdl.web@gmail.com>
10281 * progmodes/octave.el (octave-indent-comment): Fix indentation for
10283 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
10285 (octave-comment-start-skip): Include %!.
10286 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
10288 2013-05-12 Leo Liu <sdl.web@gmail.com>
10290 * progmodes/octave.el (inferior-octave-startup): Store the value
10291 of __octave_srcdir__ for octave-source-directories.
10292 (inferior-octave-check-process): New function refactored out of
10293 inferior-octave-send-list-and-digest.
10294 (octave-source-directories)
10295 (octave-find-definition-filename-function): New variables.
10296 (octave-source-directories)
10297 (octave-find-definition-default-filename): New functions.
10298 (octave-find-definition): Improve to find functions implemented in C++.
10300 2013-05-12 Glenn Morris <rgm@gnu.org>
10302 * calendar/diary-lib.el (diary-outlook-format-1):
10303 Don't include dayname in the output. (Bug#14349)
10305 2013-05-11 Glenn Morris <rgm@gnu.org>
10307 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
10309 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
10310 Treat cc-provide like provide.
10312 2013-05-11 Kevin Ryde <user42@zip.com.au>
10314 * cus-dep.el (custom-make-dependencies):
10315 Use generated-autoload-load-name for the sake of files such
10316 such cedet/semantic/bovine/c.el, where the base file name
10317 is not in load-path. (Bug#5277)
10319 2013-05-11 Glenn Morris <rgm@gnu.org>
10321 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
10324 2013-05-11 Leo Liu <sdl.web@gmail.com>
10326 * progmodes/octave.el (octave-indent-comment): Improve.
10327 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
10328 (octave-eldoc-function-signatures, octave-eldoc-function):
10330 (octave-mode, inferior-octave-mode): Add eldoc support.
10332 2013-05-11 Richard Stallman <rms@gnu.org>
10334 * epa.el (epa-decrypt-file): Take output file name as argument
10335 and read it using `interactive'.
10337 2013-05-11 Leo Liu <sdl.web@gmail.com>
10339 * progmodes/octave.el (octave-beginning-of-line)
10340 (octave-end-of-line): Check before using up-list because it jumps
10341 out of more syntactic contructs since moving to smie.
10342 (octave-indent-comment): New function.
10343 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
10344 (octave-begin-keywords, octave-end-keywords)
10345 (octave-reserved-words, octave-smie-bnf-table)
10346 (octave-smie-rules): Add new keywords from Octave 3.6.4.
10348 2013-05-11 Glenn Morris <rgm@gnu.org>
10350 * faces.el (internal-face-x-get-resource):
10351 * frame.el (ns-display-monitor-attributes-list):
10352 * calc/calc-aent.el (math-to-radians-2):
10353 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
10356 * calc/calc-menu.el: Make it loadable in isolation.
10358 * net/eudcb-bbdb.el: Make it loadable without bbdb.
10359 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
10360 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
10361 (eudc-bbdb-query-internal): Require 'bbdb.
10363 * lpr.el (lpr-headers-switches):
10364 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
10366 * progmodes/sql.el (sql-login-params): Fix and improve :type.
10368 * emulation/edt-mapper.el: In batch mode, error rather than hang.
10370 * term.el (term-set-escape-char): Make it idempotent.
10372 2013-05-10 Leo Liu <sdl.web@gmail.com>
10374 * progmodes/octave.el (inferior-octave-completion-table):
10375 No longer a function and all uses changed. Use cache to speed up
10376 completion due to bug#11906.
10377 (octave-beginning-of-defun): Re-write to be more general.
10379 2013-05-10 Glenn Morris <rgm@gnu.org>
10381 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
10383 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
10385 * comint.el (comint-redirect-send-command-to-process): Use :around
10386 rather than :override for comint-redirect-filter.
10387 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
10388 Call it instead of comint-redirect-original-filter-function (which
10389 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
10391 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
10393 * frame.el (display-monitor-attributes-list): Add NS case.
10394 (ns-display-monitor-attributes-list): Declare.
10396 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
10398 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
10400 2013-05-09 Glenn Morris <rgm@gnu.org>
10402 * international/fontset.el (vertical-centering-font-regexp):
10403 Set standard-value.
10405 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
10407 * bookmark.el (bookmark-search-delay):
10408 * cus-start.el (vertical-centering-font-regexp):
10409 * ps-mule.el (ps-mule-font-info-database-default):
10410 * ps-print.el (ps-default-fg, ps-default-bg):
10411 * type-break.el (type-break-good-break-interval):
10412 * whitespace.el (whitespace-indentation-regexp)
10413 (whitespace-space-after-tab-regexp):
10414 * emacs-lisp/testcover.el (testcover-1value-functions)
10415 (testcover-noreturn-functions, testcover-progn-functions)
10416 (testcover-prog1-functions):
10417 * emulation/viper-init.el (viper-emacs-state-cursor-color):
10418 * eshell/em-glob.el (eshell-glob-translate-alist):
10419 * play/tetris.el (tetris-tty-colors):
10420 * progmodes/cpp.el (cpp-face-default-list):
10421 * progmodes/flymake.el (flymake-allowed-file-name-masks):
10422 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
10423 (idlwave-help-browser-generic-args):
10424 * progmodes/make-mode.el (makefile-special-targets-list):
10425 * progmodes/python.el (python-shell-virtualenv-path):
10426 * progmodes/verilog-mode.el (verilog-active-low-regexp)
10427 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
10428 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
10429 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
10430 * textmodes/reftex-vars.el (reftex-format-label-function):
10431 * textmodes/remember.el (remember-diary-file): Fix custom types.
10433 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
10436 2013-05-09 Leo Liu <sdl.web@gmail.com>
10438 * progmodes/octave.el (inferior-octave-completion-at-point):
10439 Restore file completion. (Bug#14300)
10440 (inferior-octave-startup): Fix incorrect highlighting for the
10443 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10445 * progmodes/ruby-mode.el: First cut at SMIE support.
10446 (ruby-use-smie): New var.
10447 (ruby-smie-grammar): New constant.
10448 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
10449 (ruby-smie--forward-token, ruby-smie--backward-token)
10450 (ruby-smie-rules): New functions.
10451 (ruby-mode-variables): Setup SMIE if applicable.
10453 2013-05-08 Eli Zaretskii <eliz@gnu.org>
10455 * simple.el (line-move-visual): Signal beginning/end of buffer
10456 only if vertical-motion moved less than it was requested. Avoids
10457 silly incorrect error messages when there are display strings with
10458 multiple newlines at EOL.
10460 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10462 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
10463 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
10464 (prolog-char-quote-workaround):
10465 * progmodes/cperl-mode.el (cperl-under-as-char):
10466 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
10468 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
10470 (vhdl-mode-syntax-table-init): Remove.
10472 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
10475 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
10477 (ld-script-font-lock-keywords):
10478 Change regexps to use things like \_< and \_>.
10480 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
10481 Change all regexps to use things like \_< and \_>.
10483 * progmodes/autoconf.el (autoconf-definition-regexp)
10484 (autoconf-font-lock-keywords, autoconf-current-defun-function):
10485 Handle a _ with symbol syntax.
10486 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
10488 * progmodes/ada-mode.el (ada-mode-abbrev-table):
10489 Consolidate declaration.
10490 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
10492 (ada-create-syntax-table): Remove.
10493 (ada-capitalize-word): Don't mess with the syntax of "_" since it
10494 already has the right syntax nowadays.
10495 (ada-goto-next-word): Don't change the syntax of "_".
10497 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
10500 2013-05-08 Sam Steingold <sds@gnu.org>
10502 * thingatpt.el (thing-at-point): Accept optional second argument
10503 NO-PROPERTIES to strip the text properties from the return value.
10504 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
10505 to `thing-at-point' instead of stripping the properties ourselves.
10506 Also, when `thing-at-point' fails to find a url, prepend "http://"
10507 to the filename at point on the assumption that the user is
10508 pointing at something like gnu.org/gnu.
10510 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
10512 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
10513 * faces.el (crm-separator):
10514 Silence byte-compiler.
10516 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
10517 (tool-bar-map): Remove unneeded defvars.
10519 2013-05-08 Leo Liu <sdl.web@gmail.com>
10521 Re-work a fix for bug#10994 based on Le Wang's patch.
10522 * ido.el (ido-remove-consecutive-dups): New helper.
10523 (ido-completing-read): Use it.
10524 (ido-chop): Revert fix for bug#10994.
10526 2013-05-08 Adam Spiers <emacs@adamspiers.org>
10528 * cus-edit.el (custom-save-variables):
10529 Pretty-print long values. (Bug#14187)
10531 2013-05-08 Glenn Morris <rgm@gnu.org>
10533 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
10534 (m4-mode-syntax-table): Init in the defvar.
10535 (m4-mode-abbrev-table): Let define-derived-mode define it.
10537 2013-05-08 Tom Tromey <tromey@redhat.com>
10539 * progmodes/m4-mode.el (m4-mode-syntax-table):
10540 Do not treat "_" as word constituent. (Bug#14167)
10542 2013-05-07 Glenn Morris <rgm@gnu.org>
10544 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
10545 Remove explicit eshell-isearch-cancel-map.
10547 * progmodes/f90.el (f90-smart-end-names): New option.
10548 (f90-smart-end): Doc fix.
10549 (f90-end-block-optional-name): New constant.
10550 (f90-block-match): Respect f90-smart-end-names.
10552 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
10554 * progmodes/octave.el (octave-smie-forward-token): Be more careful
10555 about implicit semi-colons (bug#14218).
10557 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
10559 * frame.el (display-monitor-attributes-list)
10560 (frame-monitor-attributes): New functions.
10562 2013-05-06 Leo Liu <sdl.web@gmail.com>
10564 * progmodes/octave.el (octave-syntax-propertize-function): Change
10565 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
10566 (octave-font-lock-keywords): Use octave-operator-regexp.
10567 (octave-completion-at-point): Rename from
10568 octave-completion-at-point-function.
10569 (inferior-octave-directory-tracker): Robustify.
10570 (octave-text-functions): Remove and fix its uses. No such things
10573 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10575 * emacs-lisp/trace.el (trace--display-buffer): New function.
10576 (trace-make-advice): Use it.
10578 2013-05-06 Juri Linkov <juri@jurta.org>
10580 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
10581 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
10583 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
10584 in the help string. (Bug#12985)
10586 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
10588 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
10590 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10592 * progmodes/perl-mode.el: Add support for here documents.
10593 (perl-syntax-propertize-function): Match here-doc markers.
10594 (perl-syntax-propertize-special-constructs): Find their end.
10595 (perl-imenu-generic-expression): Use [:alnum:].
10597 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
10598 (advice--add-function): Refresh the advice if already present
10601 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
10603 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
10605 2013-05-06 Glenn Morris <rgm@gnu.org>
10607 * w32-fns.el (w32-charset-info-alist): Declare.
10609 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
10610 of its defcustom properties.
10611 (eshell-cmpl-initialize): No need to load pcomplete.
10613 * generic-x.el: No need to require comint when compiling.
10615 * net/eudc-export.el: Make it loadable without bbdb.
10616 (top-level): Use require rather than load-library.
10617 (eudc-create-bbdb-record, eudc-bbdbify-phone)
10618 (eudc-batch-export-records-to-bbdb)
10619 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
10622 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10624 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
10625 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
10626 some tweaks, instead.
10628 2013-05-05 Leo Liu <sdl.web@gmail.com>
10630 * progmodes/octave.el (octave-font-lock-keywords)
10631 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
10632 (inferior-octave-send-list-and-digest): Improve error message.
10633 (octave-mode, inferior-octave-mode): Use setq-local.
10634 (octave-help): Set info-lookup-mode.
10636 2013-05-05 Richard Stallman <rms@gnu.org>
10638 * vc/compare-w.el (compare-windows-whitespace):
10639 Treat no-break space as whitespace.
10641 * mail/rmailsum.el (rmail-summary-rmail-update):
10642 Detect empty summary and don't change selected message.
10643 (rmail-summary-goto-msg): Likewise.
10645 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
10646 Doc fixes, rename args.
10648 2013-05-05 Alan Mackenzie <acm@muc.de>
10650 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
10652 2013-05-05 Juri Linkov <juri@jurta.org>
10654 * info.el (Info-read-subfile): Use (point-min) instead of (point)
10655 to not add the length of the summary segment to the return value.
10658 2013-05-05 Leo Liu <sdl.web@gmail.com>
10660 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
10661 (inferior-octave-output-filter): Remove.
10662 (octave-send-region, inferior-octave-startup): Fix callers.
10663 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
10664 (octave-binary-file-extensions): New user variable.
10665 (octave-find-definition): Confirm if opening binary files.
10666 (octave-help-file): Use octave-find-definition to get the binary
10668 (octave-help): Adjust for octave-help-file change.
10670 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
10672 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
10673 Merge the two entries that handle function definitions.
10674 (pascal--syntax-propertize): New const.
10675 (pascal-mode): Use it. Use setq-local.
10677 2013-05-04 Glenn Morris <rgm@gnu.org>
10679 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
10680 (diary-from-outlook): Respect diary-from-outlook-function.
10682 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
10684 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
10685 Move the declaration from C.
10686 (read-minibuffer, eval-minibuffer): Move from C.
10687 (completion-setup-function): Avoid minibuffer-completion-contents.
10689 2013-05-03 Leo Liu <sdl.web@gmail.com>
10691 * progmodes/octave.el (octave-font-lock-keywords): Do not
10692 dehighlight 'end' in comments or strings.
10693 (octave-completing-read, octave-goto-function-definition):
10695 (octave-help-buffer): New user variable.
10696 (octave-help-file, octave-help-function): New button types.
10697 (octave-help): New command and bind it to C-h ;.
10698 (octave-find-definition): New command and bind it to M-.
10699 (user-error): Alias to error if not defined.
10701 2013-05-02 Leo Liu <sdl.web@gmail.com>
10703 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
10705 (octave-font-lock-keywords): Include [ and {.
10707 2013-05-02 Leo Liu <sdl.web@gmail.com>
10709 * progmodes/octave.el (inferior-octave-startup-file): Change default.
10710 (inferior-octave): Remove calling comint-mode and return the buffer.
10711 (inferior-octave-startup): Cosmetic changes.
10713 2013-05-02 Leo Liu <sdl.web@gmail.com>
10715 * progmodes/octave.el (octave-syntax-propertize-function):
10716 Include the case when ' is at line beginning. (Bug#14336)
10718 2013-05-02 Glenn Morris <rgm@gnu.org>
10720 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
10721 * desktop.el (vc-dir-mode): Just autoload it here.
10723 2013-05-02 Alan Mackenzie <acm@muc.de>
10725 Eliminate variable c-standard-font-lock-fontify-region-function.
10726 * progmodes/cc-mode.el
10727 (c-standard-font-lock-fontify-region-function): Remove.
10728 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
10730 2013-05-01 Leo Liu <sdl.web@gmail.com>
10732 * progmodes/octave.el: Compatible with older emacs-24 releases.
10733 (inferior-octave-has-built-in-variables): Remove. Built-in
10734 variables were removed from Octave in 2007.
10735 (inferior-octave-startup): Fix uses.
10736 (comint-line-beginning-position): Remove compatibility code for
10739 2013-05-01 Juri Linkov <juri@jurta.org>
10741 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
10743 2013-05-01 Juri Linkov <juri@jurta.org>
10745 * comint.el (comint-previous-matching-input): Don't print message
10746 "History item: %d" when `isearch-mode' is active.
10747 (comint-history-isearch-message): Print message "History item: %d"
10748 when `comint-input-ring-index' is not empty and this function is
10749 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
10751 2013-05-01 Leo Liu <sdl.web@gmail.com>
10753 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
10754 definitions. Use completion-at-point to insert keywords.
10755 (octave-abbrev-start): Remove.
10756 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
10758 2013-04-30 Leo Liu <sdl.web@gmail.com>
10760 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
10763 2013-04-30 Alan Mackenzie <acm@muc.de>
10765 Handle arbitrarily long C++ member initialisation lists.
10766 * progmodes/cc-engine.el (c-back-over-member-initializers):
10768 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
10769 (most) member init lists.
10771 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10773 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
10776 2013-04-30 Leo Liu <sdl.web@gmail.com>
10778 * progmodes/octave.el (octave-variables): Remove. No builtin
10779 variables any more. All converted to functions.
10780 (octave-font-lock-keywords, octave-completion-at-point-function):
10782 (octave-font-lock-texinfo-comment): New user variable.
10783 (octave-texinfo-font-lock-keywords): New variable for texinfo
10785 (octave-function-comment-block): New face.
10786 (octave-font-lock-texinfo-comment): New function.
10787 (octave-mode): Font lock texinfo comment block.
10789 2013-04-29 Leo Liu <sdl.web@gmail.com>
10791 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
10792 indexing expression.
10793 (octave-continuation-string): Do not use \.
10794 (inferior-octave-complete-impossible): Remove.
10795 (inferior-octave-completion-table)
10796 (inferior-octave-completion-at-point): Remove its uses.
10797 (inferior-octave-startup): completion_matches was introduced to
10798 Octave in 1996 so safe to assume it.
10799 (octave-function-file-comment): Improve to follow how Octave does it.
10800 (octave-update-function-file-comment): Tweak.
10802 2013-04-29 Leo Liu <sdl.web@gmail.com>
10804 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
10805 (inferior-octave-startup): Remove inferior-octave-startup-hook.
10806 (octave-function-file-comment): Fix typo.
10807 (octave-sync-function-file-names): Use read-char-choice.
10809 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
10811 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
10812 to t for the less important warnings.
10814 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
10816 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
10818 2013-04-27 Glenn Morris <rgm@gnu.org>
10820 * vc/log-view.el (log-view-current-entry):
10821 Treat "---" separator lines as part of the following rev. (Bug#14169)
10823 2013-04-27 Juri Linkov <juri@jurta.org>
10825 * subr.el (read-number): Doc fix about using it by interactive
10826 code letter `n'. (Bug#14254)
10828 2013-04-27 Juri Linkov <juri@jurta.org>
10830 * desktop.el (desktop-auto-save-timeout): New option.
10831 (desktop-file-checksum): New variable.
10832 (desktop-save): Add optional arg `auto-save' and don't auto-save
10833 if nothing changed.
10834 (desktop-auto-save-timer): New variable.
10835 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
10836 (after-init-hook): Call `desktop-auto-save-set-timer'.
10837 Suggested by Reuben Thomas <rrt@sc3d.org> in
10838 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
10840 2013-04-27 Leo Liu <sdl.web@gmail.com>
10842 * progmodes/octave.el (octave-function-file-p)
10843 (octave-skip-comment-forward, octave-function-file-comment)
10844 (octave-update-function-file-comment): New functions.
10845 (octave-mode-map): Bind C-c ; to
10846 octave-update-function-file-comment.
10847 (octave-mode-menu): Add octave-update-function-file-comment.
10848 (octave-mode, inferior-octave-mode): Fix doc-string.
10849 (octave-insert-defun): Conform to Octave's coding convention.
10852 * files.el (basic-save-buffer): Don't let errors in
10853 before-save-hook prevent saving buffer.
10855 2013-04-20 Roland Winkler <winkler@gnu.org>
10857 * faces.el (read-face-name): Use completing-read if arg multiple
10860 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
10862 * ls-lisp.el (ls-lisp-insert-directory): If no files are
10863 displayed, move point to after the totals line.
10864 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
10867 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
10869 * emacs-lisp/package.el (package-autoload-ensure-default-file):
10870 Add current dir to the load-path.
10871 (package-generate-autoloads): Don't rely on
10872 autoload-ensure-default-file.
10874 2013-04-26 Reuben Thomas <rrt@sc3d.org>
10876 * textmodes/remember.el (remember-store-in-files): Document that
10877 the file name format is passed to `format-time-string'.
10879 2013-04-26 Leo Liu <sdl.web@gmail.com>
10881 * progmodes/octave.el (octave-sync-function-file-names): New function.
10882 (octave-mode): Use it in before-save-hook.
10884 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
10886 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
10889 * progmodes/octave.el (octave-smie-forward-token): Properly skip
10890 \n and comment, even if it's not an implicit ; (bug#14218).
10892 2013-04-26 Glenn Morris <rgm@gnu.org>
10894 * subr.el (read-number): Once more use `read' rather than
10895 `string-to-number', to trap non-numeric input. (Bug#14254)
10897 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
10899 * emacs-lisp/syntax.el (syntax-propertize-multiline):
10900 Use `syntax-multiline' text property consistently instead of
10901 `font-lock-multiline'. (Bug#14237)
10903 2013-04-26 Glenn Morris <rgm@gnu.org>
10905 * emacs-lisp/shadow.el (list-load-path-shadows):
10906 No longer necessary to check for duplicate simple.el, since
10907 2012-07-07 change to init_lread to not include installation lisp
10908 directories in load-path when running uninstalled. (Bug#14270)
10910 2013-04-26 Leo Liu <sdl.web@gmail.com>
10912 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
10913 (octave-mode, inferior-octave-mode): Use setq-local.
10914 (octave-not-in-string-or-comment-p): Rename to
10915 octave-in-string-or-comment-p.
10916 (octave-in-comment-p, octave-in-string-p)
10917 (octave-in-string-or-comment-p): Replace defsubst with defun.
10919 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
10921 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
10923 2013-04-25 Bastien Guerry <bzg@gnu.org>
10925 * textmodes/remember.el (remember-data-directory)
10926 (remember-directory-file-name-format): Fix custom types.
10928 2013-04-25 Leo Liu <sdl.web@gmail.com>
10930 * progmodes/octave.el (octave-completion-at-point-function):
10931 Make use of inferior octave process.
10932 (octave-initialize-completions): Remove.
10933 (inferior-octave-completion-table): New function.
10934 (inferior-octave-completion-at-point): Use it.
10935 (octave-completion-alist): Remove.
10937 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10939 * progmodes/opascal.el: Use font-lock and syntax-propertize.
10940 (opascal-mode-syntax-table): New var.
10941 (opascal-literal-kind, opascal-is-literal-end)
10942 (opascal-literal-token-at): Rewrite.
10943 (opascal--literal-start-re, opascal-font-lock-keywords)
10944 (opascal--syntax-propertize): New constants.
10945 (opascal-font-lock-defaults): Adjust.
10946 (opascal-mode): Use them. Set comment-<foo> variables as well.
10947 (delphi-comment-face, opascal-comment-face, delphi-string-face)
10948 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
10949 (delphi-other-face, opascal-other-face): Remove face variables.
10950 (opascal-save-state): Remove macro.
10951 (opascal-fontifying-progress-step): Remove constant.
10952 (opascal--ignore-changes): Remove var.
10953 (opascal-set-token-property, opascal-parse-next-literal)
10954 (opascal-is-stable-literal, opascal-complete-literal)
10955 (opascal-is-literal-start, opascal-face-of)
10956 (opascal-parse-region, opascal-parse-region-until-stable)
10957 (opascal-fontify-region, opascal-after-change)
10958 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
10959 (opascal-debug-parse-region, opascal-debug-parse-window)
10960 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
10961 (opascal-debug-fontify-buffer): Remove.
10962 (opascal-debug-mode-map): Adjust accordingly.
10964 2013-04-25 Leo Liu <sdl.web@gmail.com>
10966 Merge octave-mod.el and octave-inf.el into octave.el with some
10968 * progmodes/octave.el: New file renamed from octave-mod.el.
10969 * progmodes/octave-inf.el: Merged into octave.el.
10970 * progmodes/octave-mod.el: Renamed to octave.el.
10972 2013-04-25 Tassilo Horn <tsdh@gnu.org>
10974 * textmodes/reftex-vars.el
10975 (reftex-label-ignored-macros-and-environments): New defcustom.
10977 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
10979 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10981 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
10982 (smie-indent-keyword): Improve the check to ensure that the next
10983 comment is really on the same line.
10984 (smie-indent-comment): Don't align with a subsequent closer (or eob).
10986 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
10987 semi-colons if the line is not otherwise empty (bug#14218).
10989 2013-04-25 Glenn Morris <rgm@gnu.org>
10991 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
10993 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
10995 * progmodes/opascal.el (opascal-set-token-property): Rename from
10996 opascal-set-text-properties and only set `token' (bug#14134).
10997 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
10998 (opascal-literal-text-properties): Remove.
10999 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
11002 2013-04-24 Reuben Thomas <rrt@sc3d.org>
11004 * textmodes/remember.el (remember-handler-functions): Add an
11005 option for a new handler `remember-store-in-files'.
11006 (remember-data-directory, remember-directory-file-name-format):
11008 (remember-store-in-files): New function to store remember notes
11009 as separate files within a directory.
11011 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
11013 * progmodes/compile.el (compilation-next-error-function):
11014 Pass "formats" to compilation-find-file (bug#11777).
11016 2013-04-24 Glenn Morris <rgm@gnu.org>
11018 * vc/vc-bzr.el (vc-bzr-print-log):
11019 * vc/vc-hg.el (vc-hg-print-log):
11020 * vc/vc-svn.el (vc-svn-print-log):
11021 Fix START-REVISION with LIMIT != 1. (Bug#14168)
11023 * vc/vc-bzr.el (vc-bzr-print-log):
11024 * vc/vc-cvs.el (vc-cvs-print-log):
11025 * vc/vc-git.el (vc-git-print-log):
11026 * vc/vc-hg.el (vc-hg-print-log):
11027 * vc/vc-mtn.el (vc-mtn-print-log):
11028 * vc/vc-rcs.el (vc-rcs-print-log):
11029 * vc/vc-sccs.el (vc-sccs-print-log):
11030 * vc/vc-svn.el (vc-svn-print-log):
11031 * vc/vc.el (vc-print-log-internal): Doc fixes.
11033 2013-04-23 Glenn Morris <rgm@gnu.org>
11035 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
11036 Remove venerable code attempting to avoid substitute-command-keys.
11038 2013-04-23 Tassilo Horn <tsdh@gnu.org>
11040 * textmodes/reftex-vars.el (reftex-label-regexps):
11041 Call `reftex-compile-variables' after changes to this variable.
11043 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
11045 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
11046 Use lexical-binding.
11047 (jit-lock-force-redisplay): Use markers, check buffer's continued
11048 existence and beware narrowed buffers.
11049 (jit-lock-fontify-now): Adjust call accordingly.
11051 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
11053 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
11054 to avoid misleading the user.
11056 2013-04-22 Leo Liu <sdl.web@gmail.com>
11058 * info-look.el: Prefer latex2e.info. (Bug#14240)
11060 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
11062 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
11064 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
11065 * net/tramp.el (tramp-call-process): ... here.
11066 (tramp-set-completion-function, tramp-parse-putty):
11067 * net/tramp-adb.el (tramp-adb-execute-adb-command):
11068 * net/tramp-gvfs.el (tramp-gvfs-send-command):
11069 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
11070 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
11071 (tramp-call-local-coding-command): Use `tramp-call-process'
11072 instead of `tramp-compat-call-process'.
11074 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
11075 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
11076 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
11077 (tramp-find-inline-compress): Improve traces.
11078 (tramp-maybe-send-script): Check for Perl binary.
11079 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
11081 2013-04-22 Daiki Ueno <ueno@gnu.org>
11083 * epg.el (epg-context-pinentry-mode): New function.
11084 (epg-context-set-pinentry-mode): New function.
11085 (epg--start): Pass --pinentry-mode option to gpg command.
11087 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
11089 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
11090 `comint-dynamic-complete' is obsolete since 24.1, replaced by
11091 `completion-at-point'. (Bug#13774)
11093 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
11094 default key binding for `describe-distribution' has been moved to
11095 `C-h C-o'. (Bug#13970)
11097 2013-04-21 Glenn Morris <rgm@gnu.org>
11099 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
11101 (vc-print-log): Clarify interactive prompt.
11103 2013-04-20 Glenn Morris <rgm@gnu.org>
11105 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
11106 No longer include timestamp etc information.
11108 2013-04-20 Roland Winkler <winkler@gnu.org>
11110 * faces.el (read-face-name): Bug fix, return just one face if arg
11111 multiple is nil. (Bug#14209)
11113 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11115 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
11116 (remove-function): Autoload.
11118 * comint.el (comint-redirect-original-filter-function): Remove.
11119 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
11120 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
11121 (vc-cvs-annotate-command):
11122 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
11123 * progmodes/prolog.el (prolog-consult-compile):
11124 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
11125 Use add/remove-function instead.
11126 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
11127 (gud-tooltip-process-output, gud-tooltip-tips):
11128 Use add/remove-function instead.
11129 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
11130 (scheme-interaction-mode, exit-scheme-interaction-mode):
11131 Use add/remove-function instead.
11133 * vc/vc-dispatcher.el: Use lexical-binding.
11134 (vc--process-sentinel): Rename from vc-process-sentinel.
11135 Change last arg to be the code to run. Don't use vc-previous-sentinel
11136 and vc-sentinel-commands any more.
11137 (vc-exec-after): Allow code to be a function. Use add/remove-function.
11138 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
11140 2013-04-19 Masatake YAMATO <yamato@redhat.com>
11142 * progmodes/sh-script.el (sh-imenu-generic-expression):
11143 Handle function names with a single character. (Bug#14111)
11145 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
11147 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
11148 for subroutines defined in an eval (bug#14182).
11150 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11152 * bookmark.el (bookmark-completing-read): Improve handling of empty
11153 string (bug#14176).
11155 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
11157 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
11159 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
11161 New faster Imenu implementation (bug#14058).
11162 * progmodes/python.el:
11163 (python-imenu-prev-index-position):
11164 (python-imenu-format-item-label-function)
11165 (python-imenu-format-parent-item-label-function)
11166 (python-imenu-format-parent-item-jump-label-function):
11168 (python-imenu-format-item-label)
11169 (python-imenu-format-parent-item-label)
11170 (python-imenu-format-parent-item-jump-label)
11171 (python-imenu--put-parent, python-imenu--build-tree)
11172 (python-imenu-create-index, python-imenu-create-flat-index)
11173 (python-util-popn): New functions.
11174 (python-mode): Set imenu-create-index-function to
11175 python-imenu-create-index.
11177 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
11179 * winner.el (winner-active-region): Use region-active-p, activate-mark
11180 and deactivate-mark (bug#14225).
11182 * simple.el (deactivate-mark): Don't inline it.
11184 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
11186 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
11188 2013-04-18 Tassilo Horn <tsdh@gnu.org>
11190 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
11191 file extensions from the archive-mode entry in order to prefer
11192 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
11194 2013-04-18 Leo Liu <sdl.web@gmail.com>
11196 * bindings.el (help-event-list): Add ?\?.
11198 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
11200 * subr.el (with-wrapper-hook): Declare obsolete.
11201 * simple.el (filter-buffer-substring-function): New hook.
11202 (filter-buffer-substring): Use it.
11203 (filter-buffer-substring-functions): Mark obsolete.
11204 * minibuffer.el (completion-in-region-function): New hook.
11205 (completion-in-region): Use it.
11206 (completion-in-region-functions): Mark obsolete.
11207 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
11208 * abbrev.el (abbrev-expand-function): New hook.
11209 (expand-abbrev): Use it.
11210 (abbrev-expand-functions): Mark obsolete.
11211 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
11212 and :filter-return.
11214 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
11216 * progmodes/python.el (python-nav--syntactically): Fix cornercases
11217 and do not care about match data.
11219 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
11221 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
11222 completion tables when completing error conditions and
11223 `declare' arguments.
11224 (lisp-complete-symbol, field-complete): Mark as obsolete.
11225 (check-parens): Unmatched parens are user errors.
11226 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
11228 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
11230 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
11231 command changed buffer (ie. `flyspell-pre-buffer' is not current
11232 buffer), which prevents making decisions based on invalid value of
11233 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
11234 cause an error when `flyspell-pre-point' was nil after switching
11236 (flyspell-post-command-hook): No longer needs to change buffers when
11237 checking pre-word. While at it remove unnecessary progn.
11239 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
11241 * textmodes/ispell.el (ispell-add-per-file-word-list):
11242 Fix `flyspell-correct-word-before-point' error when accepting
11243 words and `coment-padding' is an integer by using
11244 `comment-normalize-vars' (Bug #14214).
11246 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
11248 New defun movement commands.
11249 * progmodes/python.el (python-nav--syntactically)
11250 (python-nav--forward-defun, python-nav-backward-defun)
11251 (python-nav-forward-defun): New functions.
11253 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
11255 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
11256 (python-syntax-context): Use named compiler-macro for backwards
11257 compatibility with Emacs 24.x.
11259 2013-04-17 Leo Liu <sdl.web@gmail.com>
11261 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
11262 octave-hide-process-buffer.
11264 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
11266 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
11269 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
11271 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
11272 Fix adjustment of offset when receiving incomplete responses from GDB
11275 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
11277 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
11278 python-mode-abbrev-table.
11279 (python-skeleton-define): Adjust accordingly.
11280 (python-mode-abbrev-table): New table that inherits from it so that
11281 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
11283 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
11284 (abbrev-symbol): Use it.
11285 (abbrev--before-point): Use it since we already handle inheritance.
11287 2013-04-16 Leo Liu <sdl.web@gmail.com>
11289 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
11290 binding to info-lookup-symbol.
11292 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
11294 * minibuffer.el (completion--twq-all):
11295 * term/ns-win.el (ns-initialize-window-system):
11296 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
11298 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
11300 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
11303 * doc-view.el (doc-view-start-process): Handle url-handler directories.
11305 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
11307 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
11308 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
11310 (ruby-end-of-defun): Remove the unused arg, change the docstring
11311 to reflect that this function is only used as the value of
11312 `end-of-defun-function'.
11313 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
11314 to reflect an earlier change that beginning/end-of-defun functions
11315 jump between methods in a class definition, as well as top-level
11318 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11320 * minibuffer.el (minibuffer-complete): Don't just scroll
11321 a *Completions* that's been iconified.
11322 (minibuffer-force-complete): Make sure repetitions do cycle when going
11323 through completion-in-region -> minibuffer-complete.
11325 2013-04-15 Alan Mackenzie <acm@muc.de>
11327 Correct the placement of c-cpp-delimiters when there're #s not at
11330 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
11331 place a submatch around the #.
11332 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
11333 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
11336 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11338 * emacs-lisp/nadvice.el: Properly test names when adding advice.
11339 (advice--member-p): New arg `name'.
11340 (advice--add-function, advice-member-p): Use it (bug#14202).
11342 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
11344 Reformulate java imenu-generic-expression.
11345 The old expression contained ill formed regexps.
11347 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
11348 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
11349 (cc-imenu-java-method-arg-regexp): New defconsts.
11350 (cc-imenu-java-build-type-args-regex): New defun.
11351 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
11352 handling of spaces in the regexp.
11354 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11356 * textmodes/ispell.el (ispell-command-loop): Remove
11357 flyspell highlight of a word when ispell accepts it (bug #14178).
11359 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
11361 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
11362 uses code from the previous `ange-ftp-run-real-handler'.
11363 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
11364 only in case that function exist. This is needed for proper
11365 unloading of Tramp.
11367 2013-04-15 Tassilo Horn <tsdh@gnu.org>
11369 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
11371 * textmodes/reftex.el (reftex-compile-variables): Use it.
11373 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
11375 * files.el (normal-mode): Only use default major-mode if no other mode
11378 * emacs-lisp/trace.el (trace-values): New function.
11380 * files.el: Allow : in local variables (bug#14089).
11381 (hack-local-variable-regexp): New var.
11382 (hack-local-variables-prop-line, hack-local-variables): Use it.
11384 2013-04-13 Roland Winkler <winkler@gnu.org>
11386 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
11387 data before it gets modified by bibtex-beginning-of-entry.
11389 2013-04-13 Roland Winkler <winkler@gnu.org>
11391 * textmodes/bibtex.el (bibtex-url): Doc fix.
11393 2013-04-13 Roland Winkler <winkler@gnu.org>
11395 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
11396 does not visit a BibTeX file, exclude it from the list of buffers
11397 returned by bibtex-initialize.
11399 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
11401 * window.el (split-window): Remove interactive form, since as a
11402 command this function is a special case of split-window-below.
11403 Correct doc string.
11405 2013-04-12 Roland Winkler <winkler@gnu.org>
11407 * faces.el (read-face-name): Do not override value of arg default.
11408 Allow single faces and strings as default values. Remove those
11409 elements from return value that are not faces.
11410 (describe-face): Simplify.
11411 (face-at-point): New optional args thing and multiple so that this
11412 function can provide the same functionality previously provided by
11414 (make-face-bold, make-face-unbold, make-face-italic)
11415 (make-face-unitalic, make-face-bold-italic, invert-face)
11416 (modify-face, read-face-and-attribute): Use face-at-point.
11418 * cus-edit.el (customize-face, customize-face-other-window)
11419 * cus-theme.el (custom-theme-add-face)
11420 * face-remap.el (buffer-face-set)
11421 * facemenu.el (facemenu-set-face): Use face-at-point.
11423 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
11425 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
11427 2013-04-10 Tassilo Horn <tsdh@gnu.org>
11429 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
11430 off leading { and trailing } from field values.
11432 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
11434 * emacs-lisp/timer.el (timer--check): New function.
11435 (timer--time, timer-set-function, timer-event-handler): Use it.
11436 (timer-set-idle-time): Simplify.
11437 (timer--activate): CSE.
11438 (timer-event-handler): Give more info in error message.
11439 (internal-timer-start-idle): New function, moved from C.
11441 * mpc.el (mpc-proc): Add `restart' argument.
11442 (mpc-proc-cmd): Use it.
11443 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
11444 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
11447 2013-04-10 Masatake YAMATO <yamato@redhat.com>
11449 * progmodes/sh-script.el: Implement `sh-mode' own
11450 `add-log-current-defun-function' (bug#14112).
11451 (sh-current-defun-name): New function.
11452 (sh-mode): Use the function.
11454 2013-04-09 Bastien Guerry <bzg@gnu.org>
11456 * simple.el (choose-completion-string): Fix docstring (bug#14163).
11458 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
11460 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
11462 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
11465 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
11467 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
11470 2013-04-07 Leo Liu <sdl.web@gmail.com>
11472 * pcmpl-x.el: New file.
11474 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
11476 Do not set x-display-name until X connection is established.
11477 This is needed to prevent from weird situation described at
11478 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
11479 * frame.el (make-frame): Set x-display-name after call to
11480 window system initialization function, not before.
11481 * term/x-win.el (x-initialize-window-system): Add optional
11482 display argument and use it.
11483 * term/w32-win.el (w32-initialize-window-system):
11484 * term/ns-win.el (ns-initialize-window-system):
11485 * term/pc-win.el (msdos-initialize-window-system):
11486 Add compatible optional display argument.
11488 2013-04-06 Eli Zaretskii <eliz@gnu.org>
11490 * files.el (normal-backup-enable-predicate): On MS-Windows and
11491 MS-DOS compare truenames of temporary-file-directory and of the
11492 file, so that 8+3 aliases (usually found in $TEMP on Windows)
11493 don't fail comparison by compare-strings. Also, compare file
11494 names case-insensitively on MS-Windows and MS-DOS.
11496 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
11498 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
11499 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
11501 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
11503 * whitespace.el (whitespace-color-on, whitespace-color-off):
11504 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
11506 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
11508 * ispell.el (ispell-set-spellchecker-params):
11509 Really set `ispell-args' for all equivs.
11511 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
11513 * ido.el (ido-completions): Use extra elements of ido-decorations
11515 (ido-decorations): Update docstring.
11517 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
11519 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
11520 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
11521 nil during initialization, in order not to miss changes since the
11522 file was opened. (Bug#14140)
11524 2013-04-05 Leo Liu <sdl.web@gmail.com>
11526 * kmacro.el (kmacro-call-macro): Fix bug#14135.
11528 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
11530 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
11532 2013-04-04 Glenn Morris <rgm@gnu.org>
11534 * electric.el (electric-pair-inhibit-predicate): Add :version.
11536 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
11538 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
11539 when a package is required several times (bug#14082).
11541 2013-04-04 Roland Winkler <winkler@gnu.org>
11543 * faces.el (read-face-name): Behave as promised by the docstring.
11544 Assume that arg default is a list of faces.
11545 (describe-face): Call read-face-name with list of default faces.
11547 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11549 * bookmark.el: Fix deletion of bookmarks (bug#13972).
11550 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
11551 (bookmark-bmenu-execute-deletions): Only skip first line if it's
11553 (bookmark-exit-hook-internal): Save even if list is empty.
11555 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
11557 * emacs-lisp/package.el (package-pinned-packages): New var.
11558 (package--add-to-archive-contents): Obey it (bug#14118).
11560 2013-04-03 Alan Mackenzie <acm@muc.de>
11562 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
11563 Also adapt to the new values of element 7 of a parse state.
11565 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
11566 parameter `not-in-delimiter'. Handle being inside comment opener.
11567 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
11568 character in case we're typing a '*' after a '/'.
11569 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
11570 instead by passing the parameter to c-state-pp-to-literal.
11572 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
11573 for elt. 7 of a parse state.
11575 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
11577 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
11578 * international/latin1-disp.el, international/mule-util.el:
11579 * language/cyril-util.el, language/european.el, language/ind-util.el:
11580 * language/lao-util.el, language/thai.el, language/tibet-util.el:
11581 * language/tibetan.el, language/viet-util.el:
11582 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
11584 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
11586 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
11587 (electric-pair-post-self-insert-function): Use it.
11588 (electric-pair-default-inhibit): New function, extracted from
11589 electric-pair-post-self-insert-function.
11591 2013-03-31 Roland Winkler <winkler@gnu.org>
11593 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
11595 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
11597 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
11599 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
11601 Un-indent after "pass" and "return" statements (Bug#13888)
11602 * progmodes/python.el (python-indent-block-enders): New var.
11603 (python-indent-calculate-indentation): Use it.
11605 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
11607 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
11608 defun. Defining it as defalias could introduce too eager
11609 byte-compiler optimization. (Bug#14030)
11611 2013-03-30 Chong Yidong <cyd@gnu.org>
11613 * iswitchb.el (iswitchb-read-buffer): Fix typo.
11615 2013-03-30 Leo Liu <sdl.web@gmail.com>
11617 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
11618 (kmacro-execute-from-register): Pass the keyboard macro to
11619 kmacro-call-macro or repeating won't work correctly.
11621 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
11623 * progmodes/subword.el: Back to using `forward-symbol'.
11625 * subr.el (forward-whitespace, forward-symbol)
11626 (forward-same-syntax): Move from thingatpt.el.
11628 2013-03-29 Leo Liu <sdl.web@gmail.com>
11630 * kmacro.el (kmacro-to-register): New command.
11631 (kmacro-execute-from-register): New function.
11632 (kmacro-keymap): Bind to 'x'. (Bug#14071)
11634 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
11636 * mpc.el: Use defvar-local and setq-local.
11637 (mpc--proc-connect): Connection failures are not bugs.
11638 (mpc-mode-map): `follow-link' only applies to the buffer's content.
11639 (mpc-volume-map): Bind to the up-events.
11641 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
11643 * progmodes/subword.el (superword-mode): Use `forward-sexp'
11644 instead of `forward-symbol'.
11646 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
11648 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
11649 (edebug--recursive-edit): Use it.
11650 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
11651 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
11653 2013-03-28 Leo Liu <sdl.web@gmail.com>
11655 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
11657 2013-03-27 Eli Zaretskii <eliz@gnu.org>
11659 * facemenu.el (list-colors-callback): New defvar.
11660 (list-colors-redisplay): New function.
11661 (list-colors-display): Install list-colors-redisplay as the
11662 revert-buffer-function. (Bug#14063)
11664 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
11666 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
11667 and suffixes don't overlap (bug#14061).
11669 * case-table.el: Use lexical-binding.
11670 (case-table-get-table): New function.
11671 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
11673 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
11675 * progmodes/subword.el: Add `superword-mode' to do word motion
11676 over symbol_words (parallels and leverages `subword-mode' which
11677 does word motion inside MixedCaseWords).
11679 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
11681 * eshell/em-unix.el: Move su and sudo to...
11682 * eshell/em-tramp.el: ...Eshell tramp module.
11684 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
11686 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
11687 Change return value to be a sexp. Delay `get-buffer' to after
11688 restoring the desktop (bug#13951).
11690 2013-03-26 Leo Liu <sdl.web@gmail.com>
11692 * register.el: Move semantic tag handling back to
11693 cedet/semantic/senator.el. (Bug#14052)
11695 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
11697 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
11698 into the prompt either (bug#13963).
11700 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
11702 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
11703 part of "(error-foo)".
11705 2013-03-24 Juri Linkov <juri@jurta.org>
11707 * replace.el (list-matching-lines-prefix-face): New defcustom.
11708 (occur-1): Pass `list-matching-lines-prefix-face' to the function
11709 `occur-engine' if `face-differs-from-default-p' returns t.
11710 (occur-engine): Add `,' inside backquote construct to evaluate
11711 `prefix-face'. Propertize the prefix with the `prefix-face' face.
11712 Pass `prefix-face' to the functions `occur-context-lines' and
11713 `occur-engine-add-prefix'.
11714 (occur-engine-add-prefix, occur-context-lines): Add optional arg
11715 `prefix-face' and propertize the prefix with `prefix-face'.
11718 2013-03-24 Leo Liu <sdl.web@gmail.com>
11720 * nxml/rng-valid.el (rng-validate-while-idle)
11721 (rng-validate-quick-while-idle): Guard against deleted buffer.
11724 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
11725 is the last entry in kill-buffer-hook.
11727 * files.el (kill-buffer-hook): Doc fix.
11729 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
11731 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
11732 Make it safe-local.
11734 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
11736 2013-03-23 Leo Liu <sdl.web@gmail.com>
11738 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
11741 * nxml/rng-valid.el (rng-validate-mode)
11742 (rng-after-change-function, rng-do-some-validation):
11743 * nxml/rng-maint.el (rng-validate-buffer):
11744 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
11745 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
11746 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
11747 (nxml-extend-after-change-region): Use with-silent-modifications.
11749 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
11752 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
11753 (rng-next-error-1, rng-previous-error-1): Do not let-bind
11754 timer-idle-list. (Bug#13999)
11756 2013-03-23 Juri Linkov <juri@jurta.org>
11758 * info.el (info-index-match): New face.
11759 (Info-index, Info-apropos-matches): Add a nested subgroup to the
11760 main pattern and add text properties with the new face to matches
11761 in index entries relative to the beginning of the index entry.
11764 2013-03-21 Eric Ludlam <zappo@gnu.org>
11766 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
11767 Inhibit read only while inserting objects.
11769 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
11771 * progmodes/cfengine.el: Update docs to mention
11772 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
11773 symbol motion. Remove "_" from the word syntax.
11775 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
11777 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
11778 syntax for both `cfengine2-mode' and `cfengine3-mode'.
11780 2013-03-20 Juri Linkov <juri@jurta.org>
11782 * info.el (Info-next-reference-or-link)
11783 (Info-prev-reference-or-link): New functions.
11784 (Info-next-reference, Info-prev-reference): Use them.
11785 (Info-try-follow-nearest-node): Handle footnote navigation.
11786 (Info-fontify-node): Fontify footnotes. (Bug#13989)
11788 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
11790 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
11791 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
11793 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
11795 Suppress unnecessary non-ASCII chatter during build process.
11796 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
11797 (batch-skkdic-convert): Suppress most of the chatter.
11798 It's not needed so much now that machines are faster,
11799 and its non-ASCII component was confusing; see Dmitry Gutov in
11800 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
11802 2013-03-20 Leo Liu <sdl.web@gmail.com>
11804 * ido.el (ido-chop): Fix bug#10994.
11806 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
11808 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
11810 (whitespace-color-on, whitespace-color-off):
11811 Use `font-lock-fontify-buffer' (Bug#13817).
11813 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
11815 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
11816 remapping in mode-line.
11817 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
11819 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
11821 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
11822 value for `whitespace-line' face (Bug#13875).
11823 (whitespace-font-lock-keywords): Change description.
11824 (whitespace-color-on): Don't save `font-lock-keywords' value, save
11825 the constructed keywords instead.
11826 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
11828 2013-03-19 Leo Liu <sdl.web@gmail.com>
11830 * progmodes/compile.el (compilation-display-error): New command.
11831 (compilation-mode-map, compilation-minor-mode-map): Bind it to
11834 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
11836 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
11838 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
11840 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
11842 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
11844 * net/tramp-compat.el (tramp-compat-user-error): New defun.
11846 * net/tramp-adb.el (tramp-adb-handle-shell-command):
11847 * net/tramp-gvfs.el (top):
11848 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
11849 (tramp-handle-shell-command): Use it.
11850 (tramp-dissect-file-name): Raise an error when hostname is a
11851 method name, and neither method nor user is specified.
11853 * net/trampver.el: Update release number.
11855 2013-03-18 Leo Liu <sdl.web@gmail.com>
11857 Make sure eldoc can be turned off properly.
11858 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
11860 (eldoc-display-message-p): Revert last change.
11861 (eldoc-display-message-no-interference-p)
11862 (eldoc-print-current-symbol-info): Tweak.
11864 2013-03-18 Tassilo Horn <tsdh@gnu.org>
11866 * doc-view.el (doc-view-new-window-function): Check the new window
11867 overlay's display property instead the char property of the
11868 buffer's first char. Use `with-selected-window' instead of
11869 `save-window-excursion' with `select-window'.
11870 (doc-view-document->bitmap): Check the current doc-view overlay's
11871 display property instead the char property of the buffer's first char.
11873 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
11875 Automate the build of ja-dic.el (Bug#13984).
11876 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
11877 from the input, rather than assume that it's been done for us by the
11878 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
11879 the current date into a ja-dic.el comment, as that complicates
11880 regression testing.
11882 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
11884 * whitespace.el: Fix double evaluation.
11885 (whitespace-space, whitespace-hspace, whitespace-tab)
11886 (whitespace-newline, whitespace-trailing, whitespace-line)
11887 (whitespace-space-before-tab, whitespace-indentation)
11888 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
11890 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
11891 (whitespace-color-on): Use a single font-lock-add-keywords call.
11892 Fix double-evaluation of face variables.
11894 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
11896 * net/tramp-adb.el (tramp-adb-parse-device-names):
11897 Use `start-process' instead of `call-process'. Otherwise, the
11898 function might be blocked under MS Windows. (Bug#13299)
11900 2013-03-17 Leo Liu <sdl.web@gmail.com>
11902 Extend eldoc to display info in the mode-line. (Bug#13978)
11903 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
11904 (eldoc-mode-line-string): New variable.
11905 (eldoc-minibuffer-message): New function.
11906 (eldoc-message-function): New variable.
11907 (eldoc-message): Use it.
11908 (eldoc-display-message-p)
11909 (eldoc-display-message-no-interference-p):
11910 Support eldoc-post-insert-mode.
11912 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
11913 (eval-expression): Run it.
11915 2013-03-17 Roland Winkler <winkler@gnu.org>
11917 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
11918 strings in the list of return values.
11920 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
11922 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
11923 radix before checking for HMS forms.
11925 2013-03-16 Leo Liu <sdl.web@gmail.com>
11927 * progmodes/scheme.el: Add indentation and font-locking for λ.
11930 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
11932 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
11933 token before point (bug#13942).
11935 2013-03-16 Leo Liu <sdl.web@gmail.com>
11937 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
11939 2013-03-16 Eli Zaretskii <eliz@gnu.org>
11941 * startup.el (command-line-normalize-file-name): Fix handling of
11942 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
11943 <xfq.free@gmail.com> in
11944 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
11946 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
11948 Sync with Tramp 2.2.7.
11950 * net/trampver.el: Update release number.
11952 2013-03-14 Tassilo Horn <tsdh@gnu.org>
11954 * doc-view.el: Fix bug#13887.
11955 (doc-view-insert-image): Don't modify overlay associated to
11956 non-live windows, and implement horizontal centering of image in
11957 case it's smaller than the window.
11958 (doc-view-new-window-function): Force redisplay of new windows on
11961 2013-03-13 Karl Fogel <kfogel@red-bean.com>
11963 * saveplace.el (save-place-alist-to-file): Don't sort
11964 `save-place-alist', just pretty-print it (bug#13882).
11966 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
11968 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
11969 Check whether `default-file-name-coding-system' is bound.
11970 It isn't in XEmacs.
11972 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
11974 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
11975 backquotes for `obsolete' (bug#13929).
11977 * international/mule.el (find-auto-coding): Include file name in
11978 obsolescence warning (bug#13922).
11980 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
11982 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
11983 for CFEngine 3-specific indentation.
11984 (cfengine3-indent-line): Use it. Fix up category regex.
11985 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
11987 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
11989 * type-break.el (type-break-file-name):
11990 * textmodes/remember.el (remember-data-file):
11991 * strokes.el (strokes-file):
11992 * shadowfile.el (shadow-initialize):
11993 * saveplace.el (save-place-file):
11994 * ps-bdf.el (bdf-cache-file):
11995 * progmodes/idlwave.el (idlwave-config-directory):
11996 * net/quickurl.el (quickurl-url-file):
11997 * international/kkc.el (kkc-init-file-name):
11998 * ido.el (ido-save-directory-list-file):
11999 * emulation/viper.el (viper-custom-file-name):
12000 * emulation/vip.el (vip-startup-file):
12001 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
12002 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
12004 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
12006 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
12007 * language/thai-word.el: Switch to UTF-8.
12009 See ChangeLog.16 for earlier changes.
12011 ;; Local Variables:
12015 Copyright (C) 2011-2014 Free Software Foundation, Inc.
12017 This file is part of GNU Emacs.
12019 GNU Emacs is free software: you can redistribute it and/or modify
12020 it under the terms of the GNU General Public License as published by
12021 the Free Software Foundation, either version 3 of the License, or
12022 (at your option) any later version.
12024 GNU Emacs is distributed in the hope that it will be useful,
12025 but WITHOUT ANY WARRANTY; without even the implied warranty of
12026 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12027 GNU General Public License for more details.
12029 You should have received a copy of the GNU General Public License
12030 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.