1 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
3 * emacs-lisp/package.el (package-desc-keywords): New function
5 (describe-package-1, package-all-keywords)
6 (package--has-keyword-p): Use it.
8 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
10 * simple.el (define-alternatives): When creating the
11 COMMAND-alternatives variable, assign COMMAND as its definition
12 name so that `describe-variable' can relocate it.
14 2014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
16 * font-lock.el (font-lock-keywords): Fix typo in docstring
19 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
21 * ispell.el (ispell-region): Reset `in-comment' for new line
22 instead of wrongly reset `add-coment' (bug#13577).
24 2014-01-14 Daiki Ueno <ueno@gnu.org>
26 * epa-file.el (epa-file-write-region): Encode the region according
27 to `buffer-file-format'. Problem reported at:
28 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
30 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
32 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
33 so it applies in the right buffer (bug#16410).
35 2014-01-13 Daniel Colascione <dancol@dancol.org>
37 * textmodes/rst.el (rst-define-key): Provide deprecated
38 keybindings through named functions instead of anonymous ones so
39 that "??" doesn't appear in describe-mode output.
41 2014-01-13 Bastien Guerry <bzg@gnu.org>
43 * simple.el (define-alternatives): Call the selected command
44 interactively. When setting `COMMAND--implementation' for the
45 first time, tell the user how to chose another implementation.
46 Enhance the docstring.
48 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
50 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
51 (log-edit--match-first-line): New function.
52 (log-edit-font-lock-keywords): Use it.
53 (log-edit-mode): Make jit-lock-defer-multiline work.
55 2014-01-13 Bastien Guerry <bzg@gnu.org>
57 * rect.el (rectangle-mark-mode): When the region is not active,
58 display a message saying that the mark as been set and that
59 rectangle mode is in use.
60 (rectangle--highlight-for-redisplay): Only put an overlay with a
61 visible vertical bar when (display-graphic-p) is non-nil.
62 This partially fixes Bug#16403.
64 2014-01-13 Juri Linkov <juri@jurta.org>
66 * info.el (Info-find-file): Go to DIR before displaying the error
67 about a nonexistent file if no previous Info file is visited.
68 Use `user-error' instead of `error' for "Info file %s does not exist".
69 (Info-find-node-2): In case of a nonexistent node in unwind forms
70 go to the Top node if there is no previous node to revert to.
73 2014-01-13 Martin Rudalics <rudalics@gmx.at>
75 fit-frame/window-to-buffer code fixes including one for Bug#14096.
76 * window.el (fit-frame-to-buffer): Fix doc-string.
77 Respect window-min-height/-width. Fit pixelwise when
78 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
79 when avoiding that frame goes partially off-screen.
80 (fit-window-to-buffer): Respect window-min-height/-width
83 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
85 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
88 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
90 * net/shr.el (shr-render-region): Autoload.
92 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
94 * net/eww.el (eww-download-directory): Rename from
95 `eww-download-path' (Bug#16419).
97 2014-01-12 Leo Liu <sdl.web@gmail.com>
99 * dired-x.el (dired-mode-map): Fix last change.
101 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
103 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
106 * emacs-lisp/generic.el (generic--normalize-comments):
107 Rename from generic--normalise-comments. All uses changed.
108 * play/bubbles.el (bubbles--neighborhood-score):
109 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
110 (bubbles--neighborhood-available)
111 (bubbles--update-neighborhood-score):
112 Rename from names with 'neighbourhood'. All uses changed.
114 2014-01-12 Leo Liu <sdl.web@gmail.com>
116 Re-implement the feature of showing eldoc info after editing.
117 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
118 (eldoc-edit-message-commands): New function.
119 (eldoc-print-after-edit): New variable.
120 (eldoc-pre-command-refresh-echo-area): Emit message only by
121 eldoc-message-commands.
122 (eldoc-mode): Restrict eldoc-message-commands to editing commands
123 if eldoc-print-after-edit is set. (Bug#16346)
125 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
127 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
129 * version.el (emacs-repository-get-version): Enhance so the
130 function works correctly in either a Bazaar or Git repo.
132 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
133 Goes with removal of the joke manpages from /etc.
135 2014-01-10 K. Handa <handa@gnu.org>
137 * mail/rmail.el (rmail-get-coding-system):
138 Check rmail-get-coding-function before "funcall"ing it.
140 2014-01-10 Glenn Morris <rgm@gnu.org>
142 * emacs-lisp/authors.el (authors-fixed-entries):
143 Update for files that no longer exist.
145 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
147 * version.el (emacs-bzr-get-version): Restore compatibilty with
150 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
152 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
155 2014-01-10 Eli Zaretskii <eliz@gnu.org>
157 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
159 2014-01-10 Chong Yidong <cyd@gnu.org>
161 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
163 2014-01-10 Anders Lindgren <andlind@gmail.com>
165 * follow.el (follow-cache-command-list): Include right-char and
168 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
171 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
172 * woman.el (woman-mark-horizontal-position):
173 Rename from woman-mark-horizonal-position. Use changed.
175 2014-01-10 Glenn Morris <rgm@gnu.org>
177 * info.el (info-initialize): If running uninstalled, ensure our
178 own info files are always found first, even if INFOPATH is set.
180 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
182 2014-01-09 David Engster <deng@randomsample.de>
184 * emacs-lisp/eieio-custom.el:
185 * emacs-lisp/eieio-opt.el: Set generated autoload file to
186 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
187 * emacs-lisp/eieio.el: Regenerate autoloads.
189 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
191 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
192 following renames. (Bug#8756)
194 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
196 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
198 (activate-mark): Add `no-tmm' argument.
199 (set-mark, push-mark-command): Use it instead of running
200 activate-mark-hook by hand.
202 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
204 In preparation for the move to git, sanitize out some
205 Bazaar-specific names.
207 * version.el (emacs-bzr-version): Name changed to
208 emacs-repository-version. Obsolete-variable alias made.
209 * loadup.el: Follow through on this name change.
210 * mail/emacsbug.el (report-emacs-bug): Factor out any
211 assumption about the version control system in use.
213 2014-01-08 David Engster <deng@randomsample.de>
215 * help-fns.el (help-fns-describe-function-functions):
216 New variable to call functions for augmenting help buffers.
217 (describe-function-1): Remove explicit calls to
218 `help-fns--compiler-macro', `help-fns--parent-mode' and
219 `help-fns--obsolete'. Put them in above new variable instead, and
220 call them through `run-hook-with-args'.
221 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
222 `eieio-describe-class'. Not meant for interactive use anymore,
223 but to augment existing help buffers. Remove optional second
224 argument. Create proper button for file location.
225 Rewrite function to use `insert' instead of `princ' and `prin1' where
227 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
228 (eieio-method-def, eieio-class-def): Move further up.
229 (describe-method, describe-generic, eieio-describe-method):
231 (eieio-help-constructor, eieio-help-generic): Rename from
232 `eieio-describe-constructor' and `eieio-describe-generic', resp.
233 Rewrite to use `insert' in the current buffer and use proper help
235 (eieio-help-find-method-definition)
236 (eieio-help-find-class-definition): Also accept symbols as
238 (eieio-help-mode-augmentation-maybee): Remove.
239 (eieio-describe-class-sb): Use `describe-function'.
240 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
241 Add `eieio-help-generic' and `eieio-help-constructor'.
243 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
246 * language/china-util.el (hz-ascii-designation):
247 Rename from hz-ascii-designnation.
248 (hz-ascii-designation): Rename from hz-ascii-designnation.
251 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
253 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
256 2014-01-08 Bastien Guerry <bzg@gnu.org>
258 * emacs-lisp/package.el (package-delete):
259 Correctly delete the package from package-alist.
261 2014-01-08 Daiki Ueno <ueno@gnu.org>
263 * emacs-lisp/package.el (url-recreate-url): Declare.
264 (url-http-target-url): Declare.
265 (package-handle-response): Include requested URL in the error message.
266 (package--check-signature): Don't re-signal errors from
267 package--with-work-buffer. Suggested by Stefan Monnier.
269 2014-01-07 Bastien Guerry <bzg@gnu.org>
271 * minibuffer.el (completion--try-word-completion): When both a
272 hyphen and a space are possible candidates for the character
273 following a word, display both candidates. (Bug#15980)
275 2014-01-07 Martin Rudalics <rudalics@gmx.at>
277 * window.el (balance-windows-2): While rounding don't give a
278 window more than the remainder. Bug#16351, Bug#16383.
280 2014-01-07 Glenn Morris <rgm@gnu.org>
282 * menu-bar.el (menu-bar-help-extra-packages): Remove.
283 (menu-bar-help-menu): Use view-external-packages instead.
285 2014-01-07 Bastien Guerry <bzg@gnu.org>
287 * emacs-lisp/package.el (package-delete): Also delete the package
288 name from `package-alist', not its description only.
290 2014-01-07 Glenn Morris <rgm@gnu.org>
292 * help.el (view-external-packages):
293 * menu-bar.el (menu-bar-help-extra-packages):
294 Visit efaq.info rather than etc/MORE.STUFF.
296 2014-01-07 Juri Linkov <juri@jurta.org>
298 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
299 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
301 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
302 that shadows RET. (Bug#16342)
304 2014-01-07 Chong Yidong <cyd@gnu.org>
306 * isearch.el (isearch-yank-char, isearch-yank-word)
307 (isearch-yank-line): Doc fix.
309 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
311 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
312 * emacs-lisp/elint.el (elint-find-builtins):
313 * emacs-lisp/eldoc.el (eldoc-symbol-function):
314 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
315 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
316 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
317 * apropos.el (apropos-safe-documentation):
318 * subr.el (symbol-file): Remove redundant fboundp.
319 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
321 2014-01-06 Bastien Guerry <bzg@gnu.org>
323 * hl-line.el (global-hl-line-overlay): Make a local variable.
324 (global-hl-line-overlays): New variable to store all overlays.
325 (global-hl-line-mode): Don't delete overlays from the current
326 buffer when `global-hl-line-sticky-flag' is non-nil.
327 (global-hl-line-highlight): Add new overlays to
328 `global-hl-line-overlays'.
329 (global-hl-line-unhighlight-all): New function to delete all
330 overlays when turning off `global-hl-line-mode'.
331 This fixes Bug#16183.
333 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
335 * subr.el (set-transient-map): Fix nested case and docstring.
337 2014-01-06 Tassilo Horn <tsdh@gnu.org>
339 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
342 2014-01-06 Daniel Colascione <dancol@dancol.org>
344 Fix defun navigation in vc log view.
346 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
347 like `beginning-of-defun'.
348 (log-view-end-of-defun,log-view-end-of-defun-1): Rename old
349 log-view-end-of-defun to log-view-end-of-defun-1. Replace
350 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
351 (log-view-extract-comment): Call `log-view-current-entry' directly
352 instead of relying on broken `log-view-beginning-of-defun' behavior.
354 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
357 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
358 * emacs-lisp/debug.el (cancel-debug-on-entry):
359 * epg.el (epg-error-to-string):
360 * files.el (recover-file):
361 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
362 * mail/emacsbug.el (report-emacs-bug-hook):
363 * mail/sendmail.el (mail-recover):
364 * ses.el (ses-yank-resize):
365 * term/ns-win.el (ns-print-buffer):
366 Spelling fixes in diagnostics, mostly for "canceled" with one L.
367 * epg.el (epg-key-capability-alist): Rename from misspelled version.
369 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
371 2014-01-06 Leo Liu <sdl.web@gmail.com>
373 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
374 to avoid shadowing global key. (Bug#16354)
376 2014-01-06 Daniel Colascione <dancol@dancol.org>
378 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
381 2014-01-05 Martin Rudalics <rudalics@gmx.at>
383 * window.el (balance-windows): Add mising t to fix Bug#16351.
385 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
387 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
389 (shr-insert): If we have a word that's longer than `shr-width',
390 break after it anyway. Otherwise we'll do no breaking once we get
393 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
395 * net/eww.el (eww): Support single/double quote for search.
396 * net/eww.el (eww-list-histories,eww-history-browse): Fixup.
397 (eww-history-quit): Delete and use quit-window.
398 (eww-history-kill): Delete, because it doesn't work well and
400 (eww-history-mode-map): Delete some keys and add easy-menu.
402 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
404 Fix misspelling of 'chinese' in rx (Bug#16237).
405 * emacs-lisp/rx.el (rx-categories): Correct spelling of
408 Change subword regexps back to vars (Bug#16296).
409 * progmodes/subword.el (subword-forward-regexp)
410 (subword-backward-regexp): Change these back to variables.
412 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
414 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
415 syntax-begin-function (bug#16247).
417 2014-01-03 Chong Yidong <cyd@gnu.org>
419 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
420 (advice--docstring): Delete variable.
421 (advice--make-1): Leave the docstring empty.
422 (advice-add): Use function-documentation for advised docstring.
424 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
425 Ignore function-documentation property when getting documentation.
426 (ad-activate-advised-definition): Use function-documentation
427 generate the docstring.
428 (ad-make-advised-definition): Don't call
429 ad-make-advised-definition-docstring.
430 (ad-make-advised-definition-docstring, ad-advised-definition-p):
433 * progmodes/sql.el (sql-help): Use function-documentation instead
434 of dynamic-docstring-function property. No need to autoload now.
435 (sql--help-docstring): New variable.
436 (sql--make-help-docstring): Use it.
438 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
440 * ielm.el (ielm-tab): Retarget.
441 (ielm-map): Use ielm-tab for tab.
442 (ielm-complete-filename): Use comint-filename-completion.
443 (ielm-complete-symbol): Remove.
444 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
445 remove ielm-tab from completion-at-point-functions (bug#16224).
447 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
448 Beware signals raised by predicates (bug#16201).
450 2014-01-02 Richard Stallman <rms@gnu.org>
452 * dired-aux.el (dired-do-print): Handle printer-name.
454 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
455 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
456 (rmail-epa-decrypt): Turn off mime processing.
458 * mail/rmail.el (rmail-make-in-reply-to-field):
459 Add parens in message-id.
461 * mail/rmail.el (rmail-get-coding-function): Variable.
462 (rmail-get-coding-system): Use it.
464 2013-12-31 Eli Zaretskii <eliz@gnu.org>
466 * international/mule-conf.el: Unify the charset indian-is13194.
467 (indian-is13194): Specify unify-map.
469 2013-12-31 Leo Liu <sdl.web@gmail.com>
471 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
473 2013-12-30 Daniel Colascione <dancol@dancol.org>
475 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
476 of printing a useless when we resume from sleep.
478 * progmodes/sh-script.el
479 (sh-smie-sh-forward-token,sh-smie-rc-forward-token): Fix infloop
480 in indentation code. (Bug#16233)
482 2013-12-28 João Távora <joaotavora@gmail.com>
484 * elec-pair.el (electric-pair-post-self-insert-function):
485 Don't open extra newlines at beginning of buffer. (Bug#16272)
487 2013-12-28 Eli Zaretskii <eliz@gnu.org>
489 * frame.el (window-system-for-display): Don't allow to create a
490 GUI frame from a -nw session on MS-Windows. (Bug#14739)
492 2013-12-28 Glenn Morris <rgm@gnu.org>
494 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
497 * apropos.el (apropos-match-face):
498 * calculator.el (calculator-displayer):
499 * dabbrev.el (dabbrev-search-these-buffers-only):
500 * face-remap.el (buffer-face-mode-face):
501 * simple.el (yank-handled-properties):
502 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
503 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
504 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
505 (hashcash-double-spend-database):
506 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
507 (ruby-deep-indent-paren-style):
508 * textmodes/flyspell.el (flyspell-auto-correct-binding):
509 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
510 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
511 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
512 Specify custom types.
514 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
515 * bookmark.el (bookmark-bmenu-use-header-line):
516 * doc-view.el (doc-view-scale-internally):
517 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
518 * register.el (register-preview-delay):
519 * net/shr.el (shr-bullet):
520 * progmodes/cfengine.el (cfengine-cf-promises)
521 (cfengine-parameters-indent):
522 * progmodes/octave.el (inferior-octave-error-regexp-alist):
523 * textmodes/reftex-vars.el (reftex-label-regexps):
524 * vc/log-edit.el (log-edit-setup-add-author): Add version.
526 * net/tls.el (tls-certtool-program): Fix default value.
528 * desktop.el (desktop-restore-in-current-display):
529 * newcomment.el (comment-empty-lines):
530 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
531 (idlwave-pad-keyword):
532 * progmodes/tcl.el (tcl-tab-always-indent):
533 * textmodes/reftex-vars.el (reftex-index-default-tag):
534 * elec-pair.el (electric-pair-skip-whitespace):
535 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
537 * emacs-lisp/authors.el (authors-ignored-files)
538 (authors-valid-file-names, authors-renamed-files-alist): Additions.
540 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
542 * shell.el (shell-dynamic-complete-command): Doc fix.
543 (shell--command-completion-data): Shell completion now matches
544 executable filenames from the current buffer's directory, on
545 systems in which this behavior is the default (windows-nt, ms-dos).
547 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
549 * net/shr.el (shr-insert): Don't infloop if the width is zero.
551 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
553 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
556 * electric.el: Move all electric-pair-* to elec-pair.el.
557 * elec-pair.el: New file, split from electric.el.
559 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
561 * net/shr.el (shr-find-fill-point): Don't try to fill if the
562 indentation level is larger than the width, because that will
564 (shr-insert): Fill repeatedly long texts, so that Japanese is
565 formatted correctly (bug#16263).
566 (shr-find-fill-point): Off by one error in comparison with the
569 2013-12-26 João Távora <joaotavora@gmail.com>
571 * electric.el (electric-pair-mode): More flexible engine for skip-
572 and inhibit predicates, new options for pairing-related functionality.
573 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
574 if that keeps or improves their balance in buffers.
575 (electric-pair-delete-adjacent-pairs): Delete the pair when
576 backspacing over adjacent matched delimiters.
577 (electric-pair-open-extra-newline): Open extra newline when
578 inserting newlines between adjacent matched delimiters.
579 (electric--sort-post-self-insertion-hook):
580 Sort post-self-insert-hook according to priority values when
581 minor-modes are activated.
582 * simple.el (newline-and-indent): Call newline with interactive
584 (blink-paren-post-self-insert-function): Set priority to 100.
585 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
586 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
587 comments. Locally set electric-pair-skip-whitespace to 'chomp and
588 electric-pair-open-newline-between-pairs to nil.
590 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
592 * progmodes/python.el: Use lexical-binding.
593 (python-nav-beginning-of-defun): Stop searching ASAP.
595 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
597 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
598 Fix interactive spec. Doc fix. (Bug#15754)
600 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
602 * emacs-lisp/byte-run.el (eval-when-compile):
603 * progmodes/cc-defs.el (cc-eval-when-compile):
604 Fix edebug spec (bug#16184).
606 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
608 * net/shr.el (shr-visit-file): Remove debugging function.
609 (shr-insert): Don't infloop if we can't find a good place to break
610 the line (bug#16256).
612 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
614 * progmodes/python.el:
615 (python-nav--lisp-forward-sexp): New function.
616 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
617 python-nav-lisp-forward-sexp-safe.
618 (python-nav--forward-sexp): New argument SAFE allows switching
619 forward sexp movement behavior for parens.
620 (python-nav-forward-sexp): Throw errors on unterminated parens
622 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
623 (python-nav-backward-sexp-safe): New functions.
624 (python-shell-buffer-substring):
625 Use `python-nav-forward-sexp-safe'.
627 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
629 * net/shr.el (shr-find-fill-point): Don't break lines before a
631 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
632 (shr-find-fill-point): Remove the special checks for the quotation
633 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
635 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
637 * net/eww.el (eww-form-textarea): Use a different face for
638 textareas than text input since they have different keymaps
641 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
643 * progmodes/python.el (python-nav-beginning-of-statement):
644 Speed up (Bug#15295).
646 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
648 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
649 the window configuration.
651 2013-12-24 Eli Zaretskii <eliz@gnu.org>
653 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
654 we run on MS-Windows or MS-DOS.
656 2013-12-24 Martin Rudalics <rudalics@gmx.at>
658 * window.el (balance-windows-area): Call window-size instead of
659 window-height and window-width. Bug#16241.
661 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
663 * net/eww.el (eww-bookmark-quit): Remove.
664 (eww-bookmark-browse): Restore the window configuration when you
665 choose a bookmark (bug#16144).
667 2013-12-24 Daniel Colascione <dancol@dancol.org>
669 * icomplete.el: Remove redundant :group arguments to `defcustom'
671 (icomplete-show-matches-on-no-input): New customizable variable.
672 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
673 we have something to show.
674 (icomplete-exhibit): Compute completions even if we have no user input.
676 2013-12-23 Daniel Colascione <dancol@dancol.org>
678 * icomplete.el: Move `provide' to end of file.
680 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
682 * net/gnutls.el (gnutls-verify-error): Add version tag.
684 2013-12-23 Chong Yidong <cyd@gnu.org>
686 * subr.el (set-transient-map): Rename from
687 set-temporary-overlay-map. Doc fix.
689 * face-remap.el (text-scale-adjust):
690 * indent.el (indent-rigidly):
691 * kmacro.el (kmacro-call-macro):
692 * minibuffer.el (minibuffer-force-complete):
693 * repeat.el (repeat):
694 * simple.el (universal-argument--mode):
695 * calendar/todo-mode.el (todo-insert-item--next-param):
696 * progmodes/f90.el (f90-abbrev-start): Callers changed.
698 * indent.el (indent-rigidly): Use substitute-command-keys.
700 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
702 * net/eww.el (eww-tag-select): Add text-property to jump to next
704 (eww): Add non-supported ftp error.
706 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
708 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
709 comments. Handle electric indent after typing `?' and `!'.
711 2013-12-22 Chong Yidong <cyd@gnu.org>
713 * faces.el (face-spec-recalc): If the theme specs are not
714 applicable to a frame, fall back on the defface spec.
715 This prevents themes from obliterating faces on low-color terminals.
717 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
719 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
720 after `{'. We need it after block openers, and it doesn't seem
721 to hurt after hash openers.
723 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
725 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
726 extracted from `ruby-smie-rules'.
727 (ruby--electric-indent-chars): New variable.
728 (ruby--electric-indent-p): New function.
729 (ruby-mode): Use `electric-indent-functions' instead of
730 `electric-indent-chars'.
732 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
734 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
736 (ruby-smie-rules): Indent plus one level after `=>'.
738 2013-12-21 Richard Stallman <rms@gnu.org>
740 * simple.el (newline): Doc fix.
742 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
744 * net/eww.el (eww-list-histories, eww-list-histories)
745 (eww-history-browse, eww-history-quit, eww-history-kill)
746 (eww-history-mode-map, eww-history-mode): New command and
747 functions to list browser histories.
748 (eww-form-text): Support text form with disabled
749 and readonly attributes.
750 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
752 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
754 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
755 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
756 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
757 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
759 (eww-bookmark-mode-map): Add menu.
760 (eww-render, eww-mode): Use `setq-local'.
761 (eww-tool-bar-map): New variable.
762 (eww-mode): Set `tool-bar-map'.
763 (eww-view-source): Check for `html-mode' with `fboundp'.
765 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
767 * net/shr.el (shr--extract-best-source): Don't bug out on audio
768 elements with text inside. Also remove debugging.
770 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
772 * cus-start.el (all): Add ns-use-srgb-colorspace.
774 2013-12-21 Chong Yidong <cyd@gnu.org>
776 * custom.el (custom-theme-recalc-face): Do nothing if the face is
777 undefined. Thus, theme settings for undefined faces do not take
778 effect until the faces are defined with defface, the same as with
781 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
782 (face-spec-reset-face): Don't assign extra properties in temacs.
783 (face-spec-recalc): Apply X resources too.
785 2013-12-21 Chong Yidong <cyd@gnu.org>
787 * faces.el (face-spec-set):
788 * cus-face.el (custom-theme-set-faces, custom-set-faces):
789 * custom.el (defface): Doc fixes (Bug#16203).
791 * indent.el (indent-rigidly-map): Add docstring, and move commands
792 into named functions.
793 (indent-rigidly-left, indent-rigidly-right)
794 (indent-rigidly-left-to-tab-stop)
795 (indent-rigidly-right-to-tab-stop): New functions. Decide on
796 indentation direction based on bidi direction, and accumulate
797 sequential commands in a single undo boundary.
798 (indent-rigidly--pop-undo): New utility function.
800 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
802 * faces.el (read-face-name): Require crm.el when using crm-separator.
804 2013-12-20 Daniel Colascione <dancol@dancol.org>
806 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
807 so that we don't reflow comments into the shebang line.
809 2013-12-20 Juri Linkov <juri@jurta.org>
811 * saveplace.el (save-place-to-alist): Add `dired-filename' as
812 a position when `dired-directory' is non-nil. Check integer
813 positions with `integerp'.
814 (toggle-save-place, save-places-to-alist): Add check for
816 (save-place-find-file-hook): Check integer positions with
818 (save-place-dired-hook): Use `dired-goto-file' when
819 `dired-filename' is found in the assoc list. Check integer
820 positions with `integerp'.
821 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
823 * dired.el (dired-initial-position-hook): Rename back from
824 `dired-initial-point-hook'.
825 (dired-initial-position): Rename `dired-initial-point-hook' to
826 `dired-initial-position-hook'.
827 (dired-file-name-at-point): Doc fix. (Bug#15329)
829 2013-12-20 Juri Linkov <juri@jurta.org>
831 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
832 (read-regexp-suggestions): New function.
833 (read-regexp): Use `read-regexp-defaults-function' to get default values.
834 Use `read-regexp-suggestions'. Add non-empty default to history
836 (occur-read-regexp-defaults-function): Remove function.
837 (occur-read-primary-args): Use `regexp-history-last' instead of
838 `occur-read-regexp-defaults-function'.
840 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
841 (hi-lock-line-face-buffer, hi-lock-face-buffer)
842 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
843 `hi-lock-read-regexp-defaults-function'. Doc fix.
844 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
845 with `find-tag-default-as-symbol-regexp'. Doc fix.
846 (hi-lock-read-regexp-defaults): Remove function.
847 (hi-lock-regexp-okay): Add check for null.
849 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
850 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
852 * subr.el (find-tag-default-as-symbol-regexp): New function.
853 (find-tag-default-as-regexp): Move symbol regexp formatting to
854 `find-tag-default-as-symbol-regexp'.
856 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
858 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
861 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
863 * calendar/todo-mode.el: New implementation of item insertion
864 commands and key bindings.
865 (todo-key-prompt): New face.
866 (todo-insert-item): New command.
867 (todo-insert-item--parameters): New defconst, replacing defvar
868 todo-insertion-commands-args-genlist.
869 (todo-insert-item--param-key-alist): New defconst, replacing
870 defvar todo-insertion-commands-arg-key-list.
871 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
872 (todo-insert-item--argsleft, todo-insert-item--apply-args)
873 (todo-insert-item--next-param): New functions.
874 (todo-insert-item--args, todo-insert-item--argleft)
875 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
877 (todo-key-bindings-t): Change binding of "i" from
878 todo-insertion-map to todo-insert-item.
879 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
880 (todo-insertion-command-name, todo-insertion-commands-names)
881 (todo-define-insertion-command, todo-insertion-commands)
882 (todo-insertion-key-bindings, todo-insertion-map): Remove.
884 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
886 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
887 (todo-toggle-item-highlighting): Use eval-and-compile instead of
889 (todo-move-category): Allow choosing a non-existing todo file to
890 move the category to, and create that file.
891 (todo-default-priority): New user option.
892 (todo-set-item-priority): Use it.
893 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
894 (desktop-restore-file-buffer): Declare.
895 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
896 (todo-modes-set-2): Locally set desktop-save-buffer to
897 todo-desktop-save-buffer.
898 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
899 (auto-mode-alist): Add autoload cookie.
901 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
903 * emacs-lisp/subr-x.el: Renamed from helpers.el.
904 helpers.el was a poor choice of name.
905 (string-remove-prefix): New function.
906 (string-remove-suffix): New function.
908 2013-12-20 Martin Rudalics <rudalics@gmx.at>
910 Fix assignment for new window total sizes.
911 * window.el (window--pixel-to-size): Remove function.
912 (window--pixel-to-total-1, window--pixel-to-total):
913 Fix calculation of new total sizes.
915 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
917 * comint.el (comint-output-filter): Fix rear-nonsticky property
918 placement (Bug#16010).
920 2013-12-20 Chong Yidong <cyd@gnu.org>
922 * faces.el (read-color): Minor fix for completion function.
924 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
926 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
927 New option. (Bug#16182)
928 (ruby-smie--indent-to-stmt-p): Use it.
929 (ruby-smie-rules): Revert the logic in the handling of `when'.
930 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
931 (ruby-deep-arglist, ruby-deep-indent-paren)
932 (ruby-deep-indent-paren-style): Update docstrings to note that the
933 vars don't have any effect with SMIE.
935 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
937 * calc/calc.el (calc-enter, calc-pop): Use the variable
938 `calc-context-sensitive-enter'.
940 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
942 * net/shr.el (shr-insert): Protect against infloops in degenerate
945 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
947 * progmodes/octave.el (octave): Add link to manual and octave
949 (octave-mode-menu): Link to octave-mode manual.
951 2013-12-20 Leo Liu <sdl.web@gmail.com>
953 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
954 insertion using skeleton-end-newline. (Bug#16138)
956 2013-12-20 Juri Linkov <juri@jurta.org>
958 * replace.el (occur-engine): Use `add-face-text-property'
959 to add the face property to matches and titles. (Bug#14645)
961 * hi-lock.el (hi-green): Use lighter color "light green" closer to
962 the palette of other hi-lock colors.
963 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
965 2013-12-19 Juri Linkov <juri@jurta.org>
967 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
968 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
969 (minibuffer-history-symbol): Move variable declaration closer to
972 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
975 2013-12-19 Juri Linkov <juri@jurta.org>
977 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
979 (log-edit-hook): Add it to :options. (Bug#16170)
981 2013-12-19 Juri Linkov <juri@jurta.org>
983 * simple.el (eval-expression-print-format): Don't check for
984 command names and the last command. Always display additional
985 formats of the integer result in the echo area, and insert them
986 to the current buffer only with a zero prefix arg.
987 Display character when char-displayable-p is non-nil.
988 (eval-expression): With a zero prefix arg, set `print-length' and
989 `print-level' to nil, and insert the integer values from
990 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
992 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
993 `eval-last-sexp-arg-internal'. Doc fix.
994 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
995 `eval-last-sexp-print-value'. Doc fix.
996 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
997 Set `print-length' and `print-level' to nil when arg is zero.
998 (eval-last-sexp): Doc fix.
999 (eval-defun-2): Print the integer values from
1000 `eval-expression-print-format' at the end.
1002 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
1003 values from `eval-expression-print-format' at the end.
1005 * ielm.el (ielm-eval-input): Print the integer
1006 values from `eval-expression-print-format' at the end.
1008 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
1010 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
1011 2013-12-11T19:01:44Z!tzz@lifelogs.com.
1013 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
1015 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
1016 (hl-line-highlight, global-hl-line-highlight): Use it.
1017 (hl-line-overlay): Use defvar-local.
1019 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
1021 * term/ns-win.el: Require dnd.
1022 (global-map): Remove drag items.
1023 (ns-insert-text, ns-set-foreground-at-mouse)
1024 (ns-set-background-at-mouse):
1025 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
1026 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
1029 2013-12-19 Glenn Morris <rgm@gnu.org>
1031 * emacs-lisp/ert.el (ert-select-tests):
1032 Fix string/symbol mixup. (Bug#16121)
1034 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
1036 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
1037 keywords to their parent.
1039 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
1041 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
1042 first arg to be a string (fixed dead code), or an operator symbol.
1043 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
1045 (ruby-smie-rules): Remove parent token check in the `.' clause, it
1046 did nothing. Don't respond to `(:after ".")', it will be called
1047 with :before anyway. Remove the ` @ ' rule, it didn't seem to
1048 change anything. Only return indentation for binary operators
1049 when they are hanging. De-dent opening paren when its parent is
1050 `.', otherwise it looks bad when the dot is not at bol or eol
1053 2013-12-19 Juri Linkov <juri@jurta.org>
1055 * replace.el (query-replace-read-args): Split a non-negative arg
1056 and a negative arg into separate elements.
1057 (query-replace, query-replace-regexp, replace-string)
1058 (replace-regexp): Add arg `backward'. Doc fix.
1059 (replace-match-maybe-edit): When new arg `backward' is non-nil,
1060 move point to the beginning of the match.
1061 (replace-search, replace-highlight): Use new arg `backward'
1062 to set the value of `isearch-forward'.
1063 (perform-replace): Add arg `backward' and use it to perform
1064 replacement backward. (Bug#14979)
1066 * isearch.el (isearch-query-replace): Use a negative prefix arg
1067 to call `perform-replace' with a non-nil arg `backward'.
1069 2013-12-18 Juri Linkov <juri@jurta.org>
1071 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
1072 to the default list. Move `log-edit-show-files' to the end.
1073 Add more available functions to options.
1074 (log-edit): Move default specific settings to
1075 `log-edit-insert-message-template'. Don't move point.
1076 (log-edit-insert-message-template): New function.
1077 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
1080 2013-12-18 Juri Linkov <juri@jurta.org>
1082 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
1083 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
1085 2013-12-18 Leo Liu <sdl.web@gmail.com>
1087 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
1090 2013-12-18 Eli Zaretskii <eliz@gnu.org>
1092 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
1093 formats for displaying file sizes when the -s switch is given.
1094 Instead, compute a separate format for displaying the size in
1095 blocks, which is displayed in addition to the "regular" size.
1096 When -h is given in addition to -s, produce size in blocks in
1097 human-readable form as well. (Bug#16179)
1099 2013-12-18 Tassilo Horn <tsdh@gnu.org>
1101 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
1102 Reference tables with ~\ref{...} instead of only \ref{...}.
1104 2013-12-18 Chong Yidong <cyd@gnu.org>
1106 * cus-edit.el (custom-magic-alist): Fix "themed" description
1109 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
1110 is non-nil, do not create a new entry in the symbol's theme-value
1111 or theme-face property; update theme-settings only (Bug#14664).
1112 (custom-available-themes): Doc fix.
1114 * cus-theme.el (custom-new-theme-mode-map): Add bindings
1117 * replace.el (occur-engine): Avoid infloop (Bug#7593).
1119 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
1121 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
1124 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
1126 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
1128 2013-12-18 Glenn Morris <rgm@gnu.org>
1130 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
1131 * cus-start.el (load-prefer-newer): New option.
1133 2013-12-18 Le Wang <l26wang@gmail.com>
1135 * comint.el (comint-previous-matching-input-from-input):
1136 Retain point (Bug#13404).
1138 2013-12-18 Chong Yidong <cyd@gnu.org>
1140 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
1142 2013-12-18 Glenn Morris <rgm@gnu.org>
1144 * mail/emacsbug.el (report-emacs-bug):
1145 Only mention enable-multibyte-characters if non-standard.
1147 2013-12-17 Juri Linkov <juri@jurta.org>
1149 * arc-mode.el (archive-extract-by-file): Check if directory exists
1150 before deletion to not show irrelevant errors if it doesn't exist.
1152 2013-12-17 Juri Linkov <juri@jurta.org>
1154 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
1157 * net/eww.el (browse-web): Add alias to `eww'.
1158 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
1159 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
1161 * net/browse-url.el (browse-url-browser-function): Move `eww'
1162 closer to similar functions.
1164 * startup.el (fancy-startup-screen, fancy-about-screen):
1165 Set browse-url-browser-function to eww-browse-url locally.
1168 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
1170 * window.el (window--pixel-to-total): Remove unused `mini' var.
1171 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
1172 (split-window): Remove unused `new' var.
1173 (window--display-buffer): Remove unused `frame' and `delta' vars.
1174 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
1177 2013-12-17 Martin Rudalics <rudalics@gmx.at>
1179 * dired.el (dired-mark-pop-up):
1180 * register.el (register-preview): Don't bind
1181 split-height-threshold here since it's now done in
1182 display-buffer-below-selected.
1184 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
1186 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
1187 xterm-rgb-convert-to-16bit.
1188 (rxvt-register-default-colors): Standardize with
1189 xterm-register-default-colors (Bug#14078).
1191 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
1193 * simple.el (kill-region): Pass mark first, then point, so that
1194 kill-append works right (Bug#12819).
1195 (copy-region-as-kill, kill-ring-save): Likewise.
1197 2013-12-17 Leo Liu <sdl.web@gmail.com>
1199 * net/rcirc.el (rcirc-add-face):
1200 * eshell/em-prompt.el (eshell-emit-prompt):
1201 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
1204 2013-12-17 Chong Yidong <cyd@gnu.org>
1206 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
1207 Suggested by Xue Fuqiao.
1209 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
1211 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
1213 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
1215 * net/shr.el (shr-insert-document): Remove unused var
1216 `shr-preliminary-table-render'.
1217 (shr-rescale-image): Remove unused arg `force'.
1218 (shr-put-image): Update calls accordingly.
1219 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
1221 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
1223 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
1224 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
1225 :close-all, to see which indentation method to use (Bug#16116).
1226 (smie-rules-function): Document the method :close-all.
1228 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
1230 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
1232 * net/eww.el (eww-display-html): If we can't find the anchor we're
1233 looking for, then go to point-min.
1235 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
1237 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
1238 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
1239 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
1240 Expand dir too, in case it's relative.
1242 2013-12-16 Juri Linkov <juri@jurta.org>
1244 * desktop.el (desktop-auto-save-timeout): Change default to
1245 `auto-save-timeout'. Doc fix.
1246 (desktop-save): Skip the timestamp in desktop-saved-frameset
1247 when checking for auto-save changes.
1248 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
1249 `desktop-auto-save' is called repeatedly by the idle timer.
1250 (desktop-auto-save-set-timer): Replace `run-with-timer' with
1251 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
1254 2013-12-16 Juri Linkov <juri@jurta.org>
1256 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
1258 (isearch-pre-command-hook): Check `this-command' for symbolp.
1260 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
1262 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
1264 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
1266 * progmodes/cfengine.el (cfengine3--current-word): Remove.
1267 (cfengine3--current-function): Bring in the current-function
1268 functionality from `cfengine3--current-word'.
1269 (cfengine3-completion-function): Bring in the
1270 bounds-of-current-word functionality from
1271 `cfengine3--current-word'.
1273 2013-12-16 Martin Rudalics <rudalics@gmx.at>
1275 * window.el (display-buffer-below-selected):
1276 Bind split-height-threshold to 0 as suggested by Juri Linkov.
1278 2013-12-16 Leo Liu <sdl.web@gmail.com>
1280 * progmodes/compile.el (compile-goto-error): Do not push-mark.
1281 Remove NOMSG arg and all uses changed.
1283 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
1285 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
1286 (cua--deactivate-rectangle): Don't deactivate the mark.
1287 (cua-set-rectangle-mark): Don't set mark-active since
1288 cua--activate-rectangle already does it for us.
1289 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
1290 non-rectangular region.
1292 * emulation/cua-base.el (cua-repeat-replace-region):
1293 Use with-current-buffer.
1295 * net/gnutls.el: Use cl-lib.
1296 (gnutls-negotiate): `mapcan' -> cl-mapcan.
1298 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
1300 * emacs-lisp/package.el (package-built-in-p): Support both
1301 built-in and the package.el converted package descriptions.
1302 (package-show-package-list): Allow keywords.
1303 (package-keyword-button-action): Use it instead of
1304 `finder-list-matches'.
1305 (package-menu-filter-interactive): Interactive filtering (by
1307 (package-menu--generate): Support keywords and change keymappings
1308 and headers when they are given.
1309 (package--has-keyword-p): Helper function.
1310 (package-menu--refresh): Use it.
1311 (package--mapc): Helper function.
1312 (package-all-keywords): Use it.
1313 (package-menu-mode-map): Set up menu items and keybindings to
1314 provide a filtering UI.
1316 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
1318 * net/gnutls.el (gnutls-verify-error): New defcustom to control
1319 the behavior when a certificate fails validation. Defaults to
1320 old behavior: never abort, just warn.
1321 (gnutls-negotiate): Use it.
1323 2013-12-14 Martin Rudalics <rudalics@gmx.at>
1325 * window.el (display-buffer-below-selected): Never split window
1326 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
1328 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
1330 * emacs-lisp/package.el (package--prepare-dependencies): New function.
1331 (package-buffer-info): Use it (bug#15108).
1333 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
1335 * icomplete.el (icomplete-completions): Make sure the prefix is already
1336 displayed elsewhere before hiding it (bug#16219).
1338 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
1340 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
1341 open-paren tokens when preceded by a open-paren, too.
1342 (ruby-smie-rules): Handle virtual indentation after open-paren
1343 tokens specially. If there is code between it and eol, return the
1344 column where is starts (Bug#16118).
1346 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
1348 * progmodes/cfengine.el: Fix `add-hook' doc.
1349 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
1350 (cfengine3--current-word): Fix parameters.
1351 (cfengine3-make-syntax-cache): Simplify further.
1352 (cfengine3-completion-function, cfengine3--current-function):
1353 Use `assq' for symbols.
1354 (cfengine3--current-function): Fix `cfengine3--current-word' call.
1356 2013-12-13 Glenn Morris <rgm@gnu.org>
1358 * loadup.el (load-path): Warn if site-load or site-init changes it.
1359 No more need to reset it when bootstrapping.
1361 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
1363 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
1364 locations for cf-promises.
1365 (cfengine-mode-syntax-functions-regex): New caching variable.
1366 (cfengine3-fallback-syntax): Fallback syntax for cases where
1367 cf-promises doesn't run.
1368 (cfengine3--current-word): Reimplement using
1369 `cfengine-mode-syntax-functions-regex'.
1370 (cfengine3-completion-function, cfengine3--current-function):
1371 Use `cfengine3-make-syntax-cache' directly.
1372 (cfengine3-clear-syntax-cache): New function.
1373 (cfengine3-make-syntax-cache): Simplify and create
1374 `cfengine-mode-syntax-functions-regex' on demand.
1375 (cfengine3-format-function-docstring): Don't call
1376 `cfengine3-make-syntax-cache' explicitly.
1378 2013-12-13 Martin Rudalics <rudalics@gmx.at>
1380 Fix windmove-find-other-window broken after pixelwise resizing
1382 * windmove.el (windmove-other-window-loc): Revert change from
1384 (windmove-find-other-window): Call window-in-direction.
1385 * window.el (window-in-direction): New arguments SIGN, WRAP and
1386 MINI to emulate original windmove-find-other-window behavior.
1388 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
1390 * simple.el (blink-matching--overlay): New variable.
1391 (blink-matching-open): Instead of moving point, highlight the
1392 matching paren with an overlay
1393 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
1395 * faces.el (paren-showing-faces, show-paren-match)
1396 (show-paren-mismatch): Move from paren.el.
1398 2013-12-13 Leo Liu <sdl.web@gmail.com>
1400 * indent.el (indent-region): Disable progress reporter in
1401 minibuffer. (Bug#16108)
1403 * bindings.el (visual-order-cursor-movement): Fix version.
1405 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
1407 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
1408 Also match after beginning of line.
1409 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
1410 files. Thanks to Russell Sim. (Bug#15378)
1412 2013-12-13 Juri Linkov <juri@jurta.org>
1414 * simple.el <Keypad support>: Remove key bindings duplicated
1415 with bindings.el. (Bug#14397)
1417 2013-12-13 Juri Linkov <juri@jurta.org>
1419 * comint.el (comint-mode-map): Replace `delete-char' with
1420 `delete-forward-char'. (Bug#16109)
1422 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
1424 * progmodes/python.el (python-indent-calculate-indentation):
1425 Fix de-denters cornercase. (Bug#15731)
1427 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
1429 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
1430 (advice--make): Pay attention to `depth'.
1431 (advice--make-1): Don't autoload commands eagerly.
1432 * emacs-lisp/elp.el (elp-instrument-function):
1433 * emacs-lisp/trace.el (trace-function-internal):
1434 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
1436 * iswitchb.el (iswitchb-mode): Don't belittle ido.
1438 2013-12-12 Eli Zaretskii <eliz@gnu.org>
1440 * term/w32-win.el (w32-handle-dropped-file):
1441 * startup.el (normal-top-level):
1442 * net/browse-url.el (browse-url-file-url):
1443 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
1444 decode file names using 'utf-8' rather than
1445 file-name-coding-system.
1447 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
1449 * progmodes/python.el (python-indent-context)
1450 (python-indent-calculate-indentation): Fix auto-identation
1451 behavior for comment blocks. (Bug#15916)
1453 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1455 * progmodes/python.el (python-indent-calculate-indentation):
1456 When determining indentation, don't treat "return", "pass", etc., as
1457 operators when they are just string constituents. (Bug#15812)
1459 2013-12-12 Juri Linkov <juri@jurta.org>
1461 * uniquify.el (uniquify-buffer-name-style): Change default to
1462 `post-forward-angle-brackets'.
1464 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
1465 `uniquify'. Change default to `post-forward-angle-brackets'.
1467 2013-12-11 Glenn Morris <rgm@gnu.org>
1469 * emacs-lisp/package.el (finder-list-matches):
1470 Autoload rather than falsely declaring.
1472 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
1474 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
1475 (eww-mode-map): Use them.
1477 2013-12-11 Martin Rudalics <rudalics@gmx.at>
1479 * window.el (display-buffer-in-side-window): Fix doc-string
1482 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
1484 * vc/vc-git.el: Silence byte-compiler warnings.
1485 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
1486 (log-edit-set-header): Declare.
1488 2013-12-11 Eli Zaretskii <eliz@gnu.org>
1490 * Makefile.in (custom-deps, finder-data): Run output file names
1491 through unmsys--file-name. (Bug#16099)
1493 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
1495 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
1496 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
1498 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
1499 instead of deleting the selection "by hand" (bug#16098).
1500 Rely on insert-for-yank to yank rectangles.
1501 (cua-highlight-region-shift-only): Mark obsolete.
1502 (cua-mode): Don't enable/disable transient-mark-mode,
1503 shift-select-mode (cua-mode works both with and without them), and
1504 pc-selection-mode (obsolete).
1505 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
1506 (cua--deactivate-rectangle): Deactivate it.
1508 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
1509 (delete-selection-helper): Make sure yank starts at the top of the
1511 (minibuffer-keyboard-quit): Use region-active-p.
1513 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
1515 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
1516 to `delete' (bug#16109).
1518 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1520 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
1521 info manual and show keybindings and set `:group' keyword.
1523 2013-12-11 Juri Linkov <juri@jurta.org>
1525 * delsel.el (delete-active-region): Let-bind `this-command'
1526 to prevent `kill-region' from changing its original value.
1527 (delete-selection-helper): Handle `overwrite-mode' for the type
1528 `kill' exactly the same way as for the type `t'.
1529 (insert-char, quoted-insert, reindent-then-newline-and-indent):
1530 Support more commands. (Bug#13312)
1532 2013-12-11 Juri Linkov <juri@jurta.org>
1534 * bindings.el: Map kp keys to non-kp keys systematically
1535 with basic modifiers control, meta and shift. (Bug#14397)
1537 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1539 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
1540 "Close browser" menu items. Fix wrong function of "List
1543 2013-12-11 Juri Linkov <juri@jurta.org>
1545 * misearch.el (multi-isearch-buffers): Set the value of
1546 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
1547 arg of isearch-forward to t.
1548 (multi-isearch-buffers-regexp): Set the value of
1549 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
1550 arg of isearch-forward-regexp to t.
1551 (multi-isearch-files): Set the value of
1552 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
1553 arg of isearch-forward to t.
1554 (multi-isearch-files-regexp): Set the value of
1555 `multi-isearch-file-list globally. Set NO-RECURSIVE-EDIT
1556 arg of isearch-forward-regexp to t. (Bug#16035)
1558 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
1559 arg of isearch-forward to t.
1560 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
1561 arg of isearch-forward-regexp to t.
1562 (dired-isearch-filter-filenames): Remove unnecessary check for
1563 `dired-isearch-filenames'.
1565 * comint.el (comint-history-isearch-backward):
1566 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
1567 (comint-history-isearch-backward-regexp):
1568 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
1570 2013-12-10 Eli Zaretskii <eliz@gnu.org>
1572 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
1573 unmsys--file-name. (Bug#16099)
1575 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
1577 * emacs-lisp/package.el (package-keyword-button-action):
1578 Remove finder.el require dependency.
1580 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
1582 * emacs-lisp/package.el: Require finder.el.
1583 (describe-package-1): Add keyword buttons.
1584 (package-make-button): New convenience function.
1585 (package-keyword-button-action): Keyword button action using
1586 `finder-list-matches'.
1588 2013-12-09 Eli Zaretskii <eliz@gnu.org>
1590 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
1593 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
1595 * autorevert.el (auto-revert-notify-add-watch): Do not handle
1598 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
1600 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
1601 after the end of a percent literal.
1603 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
1605 * progmodes/ruby-mode.el (ruby-forward-string): Document.
1606 Handle caret-delimited strings (Bug#16079).
1608 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
1610 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
1611 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
1612 `ruby-parse-partial' (Bug#16078).
1614 2013-12-09 Leo Liu <sdl.web@gmail.com>
1616 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
1618 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
1620 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
1621 (js-switch-indent-offset): New option.
1622 (js--proper-indentation): Use it. And handle the case when
1623 "default" is actually a key in an object literal.
1624 (js--same-line): New function.
1625 (js--multi-line-declaration-indentation): Use it.
1626 (js--indent-in-array-comp, js--array-comp-indentation):
1628 (js--proper-indentation): Use them, to handle array comprehension
1631 2013-12-08 Leo Liu <sdl.web@gmail.com>
1633 * progmodes/flymake.el (flymake-highlight-line): Re-write.
1634 (flymake-make-overlay): Remove arg MOUSE-FACE.
1635 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
1637 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
1639 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
1641 (redisplay-highlight-region-function): Use it.
1643 * emulation/cua-base.el (cua--explicit-region-start)
1644 (cua--last-region-shifted): Remove.
1645 (cua--deactivate): Use deactivate-mark.
1646 (cua--pre-command-handler-1): Don't handle shift-selection.
1647 (cua--post-command-handler-1): Don't change transient-mark-mode.
1648 (cua--select-keymaps): Use region-active-p rather than
1649 cua--explicit-region-start or cua--last-region-shifted.
1650 (cua-mode): Enable shift-select-mode.
1652 2013-12-08 Leo Liu <sdl.web@gmail.com>
1654 * progmodes/flymake.el (flymake-popup-current-error-menu):
1655 Rename from flymake-display-err-menu-for-current-line. Reimplement.
1656 (flymake-posn-at-point-as-event, flymake-popup-menu)
1657 (flymake-make-emacs-menu): Remove. (Bug#16077)
1659 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
1661 * rect.el (rectangle-mark-mode): Activate mark even if
1662 transient-mark-mode is off (bug#16066).
1663 (rectangle--highlight-for-redisplay): Fix boundary condition when point
1664 is > mark and at bolp.
1666 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
1667 (region-extract-function): Use it.
1668 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
1669 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
1671 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
1672 kill-ring-save, kill-region, delete-char, delete-forward-char.
1673 Ignore self-insert-iso.
1675 * emulation/cua-gmrk.el (cua--init-global-mark):
1676 Ignore `self-insert-iso'.
1678 * emulation/cua-base.el (cua--prefix-copy-handler)
1679 (cua--prefix-cut-handler): Rely on region-extract-function rather than
1680 checking cua--rectangle.
1681 (cua-delete-region): Use region-extract-function.
1682 (cua-replace-region): Delete function.
1683 (cua-copy-region, cua-cut-region): Obey region-extract-function.
1684 (cua--pre-command-handler-1): Don't do the delete-selection thing.
1685 (cua--self-insert-char-p): Ignore `self-insert-iso'.
1686 (cua--init-keymaps): Don't remap delete-selection commands.
1687 (cua-mode): Use delete-selection-mode instead of rolling our own
1690 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
1691 Obey region-extract-function.
1693 Make registers and delete-selection-mode work on rectangles.
1694 * register.el (describe-register-1): Don't modify the register's value.
1695 (copy-to-register): Obey region-extract-function.
1696 * delsel.el (delete-active-region): Obey region-extract-function.
1698 2013-12-08 Leo Liu <sdl.web@gmail.com>
1700 * progmodes/flymake.el (flymake, flymake-error-bitmap)
1701 (flymake-warning-bitmap, flymake-fringe-indicator-position)
1702 (flymake-compilation-prevents-syntax-check)
1703 (flymake-start-syntax-check-on-newline)
1704 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
1705 (flymake-start-syntax-check-on-find-file, flymake-log-level)
1706 (flymake-xml-program, flymake-master-file-dirs)
1707 (flymake-master-file-count-limit)
1708 (flymake-allowed-file-name-masks): Relocate.
1709 (flymake-makehash, flymake-float-time)
1710 (flymake-replace-regexp-in-string, flymake-split-string)
1711 (flymake-get-temp-dir): Remove.
1712 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
1713 (flymake-current-row, flymake-selected-frame)
1714 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
1715 related functions. (Bug#16077)
1717 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
1719 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
1721 2013-12-07 Tassilo Horn <tsdh@gnu.org>
1723 * help-fns.el (describe-function-1): Use new advice-* functions
1724 rather than old ad-* functions. Fix function type description and
1725 source links for advised functions and subrs.
1727 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
1729 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
1731 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
1733 * progmodes/compile.el (compilation-start):
1734 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
1736 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1737 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
1739 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1741 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1742 Touch up the last change.
1744 2013-12-06 Leo Liu <sdl.web@gmail.com>
1746 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
1747 (inferior-octave-startup): Always use "octave> " for prompt.
1748 (octave-goto-function-definition)
1749 (octave-sync-function-file-names)
1750 (octave-find-definition-default-filename): Remove redundant backquotes.
1752 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1754 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
1756 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
1757 where appropriate already.
1758 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
1759 end of method names (Bug#15874).
1761 2013-12-06 Juri Linkov <juri@jurta.org>
1763 * isearch.el (isearch--saved-overriding-local-map):
1764 New internal variable.
1765 (isearch-mode): Set it to the initial value of
1766 `overriding-terminal-local-map'.
1767 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
1768 with `isearch--saved-overriding-local-map'. (Bug#16035)
1770 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1772 * progmodes/octave.el (inferior-octave-completion-table):
1773 Turn back into function, use `completion-table-with-cache'
1774 (Bug#11906). Update all references.
1776 * minibuffer.el (completion-table-with-cache): New function.
1778 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
1780 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
1782 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
1784 * net/eww.el (eww-current-source): New variable to store page
1786 (eww-display-html, eww-mode, eww-save-history)
1787 (eww-restore-history): Use it.
1788 (eww-view-source): New command to view page source.
1789 Opportunistically uses `html-mode' to highlight the buffer.
1790 (eww-mode-map): Install it.
1792 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
1794 * net/dbus.el (dbus-unregister-service)
1795 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
1797 (dbus-unregister-service): Skip :serial entries in
1798 `dbus-registered-objects-table'.
1799 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
1801 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
1803 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
1804 around keywords with extra `split-string' argument.
1806 2013-12-04 Martin Rudalics <rudalics@gmx.at>
1808 * windmove.el (windmove-other-window-loc): Handle navigation
1809 between windows (excluding the minibuffer window - Bug#16017).
1811 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
1813 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
1814 in D-Bus type syntax.
1815 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
1816 preserve unibyte strings. (Bug#16048)
1818 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
1820 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
1821 Call force-mode-line-update is the proper buffer (bug#16042).
1823 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
1825 * vc/log-edit.el (log-edit-add-new-comment): Rename to
1826 `log-edit-remember-comment', make argument optional. Adjust all
1828 (log-edit-mode): Add `log-edit-remember-comment' to
1829 `kill-buffer-hook' locally.
1830 (log-edit-kill-buffer): Don't remember comment explicitly since
1831 the buffer is killed anyway.
1833 2013-12-04 Juri Linkov <juri@jurta.org>
1835 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
1836 add-hook and remove-hook for multi-buffer search. (Bug#16035)
1838 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
1840 * notifications.el (notifications-close-notification): Call the
1841 D-Bus method with ID being a `:uint32'. (Bug#16030)
1843 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
1845 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
1847 2013-12-03 Juri Linkov <juri@jurta.org>
1849 * progmodes/compile.el (compilation-start): Rename window alist
1850 entry `no-display-ok' to `allow-no-window'.
1852 * simple.el (shell-command): Add window alist entry
1853 `allow-no-window' to `display-buffer'.
1854 (async-shell-command): Doc fix.
1856 * window.el (display-buffer-no-window): New action function.
1857 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
1859 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1861 * vc/log-edit.el (log-edit-set-header): Extract from
1862 `log-edit-toggle-header'.
1863 (log-edit-extract-headers): Separate the summary, when extracted
1864 from header, from the rest of the message with an empty line.
1866 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
1867 line, if present, to the Summary header.
1869 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
1871 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
1872 in current-buffer (bug#16029).
1874 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
1876 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
1877 (debugger-mode-map): Bind it.
1878 (debugger--backtrace-base): New function.
1879 (debugger-eval-expression): Use it.
1880 (debugger-frame-number): Skip local vars when present.
1881 (debugger--locals-visible-p, debugger--insert-locals)
1882 (debugger--show-locals, debugger--hide-locals): New functions.
1884 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
1886 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
1888 (tramp-get-remote-locale): New defun.
1889 (tramp-open-connection-setup-interactive-shell): Use it.
1891 2013-12-02 Leo Liu <sdl.web@gmail.com>
1893 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
1895 * progmodes/sh-script.el (sh-shell-process):
1896 * progmodes/octave.el (inferior-octave-process-live-p):
1897 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
1898 (gdb-inferior-io-sentinel):
1899 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
1901 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1903 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
1904 `save-selected-window' to `log-edit-hide-buf'. This makes
1905 `log-edit-show-files' idempotent.
1906 (log-edit-show-files): Mark the new window as dedicated.
1908 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1910 * vc/log-edit.el (log-edit-mode-map): Add binding for
1911 `log-edit-kill-biffer'.
1912 (log-edit-hide-buf): Add a FIXME comment.
1913 (log-edit-add-new-comment): New function, extracted from
1915 (log-edit-done, log-edit-add-to-changelog): Use it.
1916 (log-edit-kill-buffer): New command.
1918 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1920 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
1921 instead of killing the buffer.
1923 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
1925 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
1927 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1929 * net/eww.el (eww-form-checkbox-selected-symbol)
1930 (eww-form-checkbox-symbol): New customizable variable.
1931 (eww-form-checkbox, eww-toggle-checkbox):
1932 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
1934 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
1935 (shr--get-media-pref, shr--extract-best-source): New function.
1936 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
1937 no :src tag was specified.
1939 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
1940 (eww-render): Handle `eww-use-external-browser-for-content-type'.
1941 Use \\` to match beginning of string instead of ^.
1942 (eww-browse-with-external-browser): Provide optional URL parameter.
1943 (eww-render): Set `eww-current-title' back to "".
1945 * net/shr.el (shr-tag-video): Display content for video if no
1946 poster is available.
1947 (shr-tag-audio): Add support for <audio> tag.
1949 * net/eww.el (eww-text-input-types): New const.
1950 (eww-process-text-input): Treat input types in
1951 `eww-text-input-types' as text.
1953 * net/shr.el (shr-tag-table): Fix comment typo.
1955 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1957 * net/eww.el (eww-follow-link): New command to avoid reloading
1958 pages when we follow #target links (bug#15243).
1959 (eww-quit): Special mode buffers shouldn't query before exiting.
1961 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1963 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
1966 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1968 * net/eww.el (eww-restore-history): Update the window title after
1969 moving in the history.
1970 (eww-current-dom): New variable used to save the current DOM.
1972 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
1974 * vc/log-edit.el (log-edit-mode-map): Add binding for
1975 `log-edit-beginning-of-line'.
1976 (log-edit-setup-add-author): New user option.
1977 (log-edit-beginning-of-line): New command.
1978 (log-edit): Move major mode call above the contents setup so that
1979 the local variable values are already applied.
1980 (log-edit): Only insert "Author: " when
1981 `log-edit-setup-add-author' is non-nil.
1982 (log-edit): When SETUP is non-nil, position point after ": "
1983 instead of point-min.
1985 2013-12-01 Glenn Morris <rgm@gnu.org>
1987 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
1989 2013-11-30 Eli Zaretskii <eliz@gnu.org>
1991 * startup.el (fancy-splash-frame): On MS-Windows, trigger
1992 redisplay to make sure the initial frame gets a chance to become
1993 visible. (Bug#16014)
1995 2013-11-30 Martin Rudalics <rudalics@gmx.at>
1997 Support resizing frames and windows pixelwise.
1998 * cus-start.el (frame-resize-pixelwise)
1999 (window-resize-pixelwise): New entries.
2000 * emacs-lisp/debug.el (debug): Use window-total-height instead
2001 of window-total-size.
2002 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
2003 * help.el (describe-bindings-internal): Call help-buffer
2004 (temp-buffer-max-width): New option.
2005 (resize-temp-buffer-window, help-window-setup)
2006 (with-help-window): Rewrite.
2007 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
2009 * window.el (frame-char-size, window-min-pixel-height)
2010 (window-safe-min-pixel-height, window-safe-min-pixel-width)
2011 (window-min-pixel-width, window-safe-min-pixel-size)
2012 (window-combination-p, window-safe-min-size)
2013 (window-resizable-p, window--size-to-pixel)
2014 (window--pixel-to-size, window--resize-apply-p): New functions.
2015 (window-safe-min-height): Fix doc-string.
2016 (window-size, window-min-size, window--min-size-1)
2017 (window-sizable, window-sizable-p, window--min-delta-1)
2018 (window-min-delta, window--max-delta-1, window-max-delta)
2019 (window--resizable, window--resizable-p, window-resizable)
2020 (window-full-height-p, window-full-width-p, window-at-side-p)
2021 (window--in-direction-2, window-in-direction)
2022 (window--resize-reset-1, window--resize-mini-window)
2023 (window-resize, window-resize-no-error)
2024 (window--resize-child-windows-normal)
2025 (window--resize-child-windows, window--resize-siblings)
2026 (window--resize-this-window, window--resize-root-window)
2027 (window--resize-root-window-vertically)
2028 (adjust-window-trailing-edge, enlarge-window, shrink-window)
2029 (maximize-window, minimize-window, delete-window)
2030 (quit-restore-window, window-split-min-size, split-window)
2031 (balance-windows-2, balance-windows)
2032 (balance-windows-area-adjust, balance-windows-area)
2033 (window--state-get-1, window-state-get, window--state-put-1)
2034 (window--state-put-2, window-state-put)
2035 (display-buffer-record-window, window--display-buffer):
2036 Make functions handle pixelwise sizing of windows.
2037 (display-buffer--action-function-custom-type)
2038 (display-buffer-fallback-action):
2039 Add display-buffer-in-previous-window.
2040 (display-buffer-use-some-window): Resize window to height it had
2042 (fit-window-to-buffer-horizontally): New option.
2043 (fit-frame-to-buffer): Describe new values.
2044 (fit-frame-to-buffer-bottom-margin): Replace with
2045 fit-frame-to-buffer-margins.
2046 (window--sanitize-margin): New function.
2047 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
2048 using window-text-pixel-size.
2050 2013-11-30 Glenn Morris <rgm@gnu.org>
2052 * emacs-lisp/bytecomp.el (byte-compile-form):
2053 Make the `interactive-only' warning like the `obsolete' one.
2054 * comint.el (comint-run):
2055 * files.el (insert-file-literally, insert-file):
2056 * replace.el (replace-string, replace-regexp):
2057 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
2058 (goto-line, insert-buffer, next-line, previous-line):
2059 Tweak `interactive-only' spec.
2061 Stop keeping (most) generated cedet grammar files in the repository.
2062 * Makefile.in (semantic): New.
2063 (compile-main): Depend on semantic.
2065 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2067 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
2068 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
2070 * uniquify.el (uniquify-buffer-name-style): Change default.
2072 * loadup.el: Preload "uniquify".
2074 * time.el (display-time-update): Update all mode lines (bug#15999).
2076 * electric.el (electric-indent-mode): Enable by default.
2077 * loadup.el: Preload "electric".
2079 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
2081 * emacs-lisp/helpers.el (string-empty-p): New function.
2082 (string-blank-p): New function.
2084 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
2086 * imenu.el (imenu--index-alist): Add missing dot to the docstring
2089 2013-11-29 Andreas Politz <politza@fh-trier.de>
2090 * imenu.el (imenu--subalist-p): Don't error on non-conses and
2091 allow non-lambda lists as functions.
2092 (imenu--in-alist): Don't recurse into non-subalists.
2093 (imenu): Don't pass function itself as an argument (Bug#14029).
2095 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2097 * progmodes/python.el (python-mode-map): Remove binding for ":".
2098 (python-indent-electric-colon): Remove command.
2099 (python-indent-post-self-insert-function): Integrate the previous code
2100 of python-indent-electric-colon. Make it conditional on
2101 electric-indent-mode.
2102 (python-mode): Add ?: to electric-indent-chars.
2103 Move python-indent-post-self-insert-function to the end of
2104 post-self-insert-hook.
2106 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
2108 * doc-view.el (doc-view-goto-page): Update mode-line.
2110 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
2112 2013-11-27 Glenn Morris <rgm@gnu.org>
2114 * international/charprop.el, international/uni-bidi.el:
2115 * international/uni-category.el, international/uni-combining.el:
2116 * international/uni-comment.el, international/uni-decimal.el:
2117 * international/uni-decomposition.el, international/uni-digit.el:
2118 * international/uni-lowercase.el, international/uni-mirrored.el:
2119 * international/uni-name.el, international/uni-numeric.el:
2120 * international/uni-old-name.el, international/uni-titlecase.el:
2121 * international/uni-uppercase.el:
2122 Remove generated files from VCS repository.
2124 2013-11-27 Eli Zaretskii <eliz@gnu.org>
2126 * filenotify.el (file-notify-add-watch): Don't special-case
2127 w32notify when computing the directory to watch.
2129 2013-11-27 Glenn Morris <rgm@gnu.org>
2131 Make bootstrap without generated uni-*.el files possible again.
2132 * loadup.el: Update command-line-args checking for unidata-gen.
2133 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
2134 * composite.el, international/characters.el:
2135 Handle unicode tables being undefined.
2137 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
2138 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
2139 (compile-main): Depend on leim rule.
2141 * loadup.el: Move leim-list.el to leim/ subdirectory.
2142 * startup.el (normal-top-level): No more leim directory.
2143 * international/ja-dic-cnv.el (skkdic-convert):
2144 Disable version-control and autoloads in output files.
2145 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
2146 Disable version-control and autoloads in output files.
2147 * leim/quail: Move here from ../leim.
2148 * leim/quail/hangul.el (hangul-input-method-activate):
2149 Add autoload cookie.
2150 (generated-autoload-load-name): Set file-local value.
2151 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
2152 (generated-autoload-load-name): Set file-local value.
2154 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
2156 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
2157 (eww-add-bookmark): Ask confirmation when add to bookmarks.
2158 (eww-quit): Ask confirmation before quitting eww.
2160 2013-11-26 Eli Zaretskii <eliz@gnu.org>
2162 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
2163 reading output from Diff on MS-Windows and MS-DOS.
2165 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
2167 * emacs-lisp/helpers.el (string-reverse): New function.
2169 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
2171 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
2172 names on MS Windows, like "/[::1]:".
2174 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
2177 2013-11-26 Glenn Morris <rgm@gnu.org>
2179 * progmodes/python.el (python-indent-guess-indent-offset):
2180 Avoid corner-case error. (Bug#15975)
2182 Preload leim-list.el. (Bug#4789)
2183 * loadup.el: Load leim-list.el when found.
2184 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
2186 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
2188 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
2190 * emacs-lisp/helpers.el (string-join): New function.
2192 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
2194 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
2195 Mark as obsolete and replace it with a symbol property.
2196 (byte-compile-form): Use new 'interactive-only property.
2197 * comint.el, files.el, replace.el, simple.el:
2198 Apply new 'interactive-only properly.
2200 2013-11-25 Martin Rudalics <rudalics@gmx.at>
2202 * window.el (display-buffer-at-bottom): Make sure that
2203 split-window-sensibly creates the new window on bottom
2206 2013-11-23 David Kastrup <dak@gnu.org>
2208 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
2209 on the conflict markers when available.
2210 (smerge--get-marker): New function.
2211 (smerge-end-re, smerge-base-re): Add subgroup.
2213 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
2215 * frame.el (handle-focus-in, handle-focus-out): Add missing
2218 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
2220 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
2221 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
2223 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
2225 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
2226 (gomoku--last-pos): New var.
2227 (gomoku--intangible-chars): New const.
2228 (gomoku--intangible): New function.
2229 (gomoku-mode): Use it. Derive from special-mode.
2230 (gomoku-move-up): Adjust line count.
2231 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
2232 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
2233 Simplify accordingly.
2235 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
2236 Remove blink-cursor code.
2237 (blink-cursor-timer-function, blink-cursor-suspend):
2238 Don't special-case GUIs.
2239 (blink-cursor-mode): Use focus-in/out-hook.
2241 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
2243 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
2244 work when annotation is invisible (Bug#13886).
2246 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
2248 * json.el (json-alist-p): Only return non-nil if the alist has
2249 simple keys (Bug#13518).
2251 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
2253 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
2254 when control-statement is the first statement in a buffer (Bug#15956).
2256 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
2258 * imenu.el (imenu-generic-skip-comments-and-strings):
2259 New option (Bug#15560).
2260 (imenu--generic-function): Use it.
2262 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
2264 * minibuffer.el (completion--in-region-1): Scroll the correct window.
2267 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
2269 * emacs-lisp/helpers.el: Add some string helpers.
2270 (string-trim-left): Removes leading whitespace.
2271 (string-trim-right): Removes trailing whitespace.
2272 (string-trim): Removes leading and trailing whitespace.
2274 * subr.el (string-suffix-p): New function.
2276 2013-11-23 Glenn Morris <rgm@gnu.org>
2278 * progmodes/python.el (python-shell-send-file):
2279 Add option to delete file when done. (Bug#15647)
2280 (python-shell-send-string, python-shell-send-region): Use it.
2282 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
2284 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
2285 to set buffer-read-only to t, never to nil. (Bug#15938)
2287 * textmodes/tex-mode.el (latex-noindent-environments):
2288 Add safe-local-variable property. (Bug#15936)
2290 2013-11-23 Glenn Morris <rgm@gnu.org>
2292 * textmodes/enriched.el (enriched-mode): Doc fix.
2293 * emacs-lisp/authors.el (authors-renamed-files-alist):
2294 Add enriched.doc -> enriched.txt.
2296 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
2298 2013-11-22 Leo Liu <sdl.web@gmail.com>
2300 * progmodes/octave.el (inferior-octave-startup): Spit out error
2303 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
2305 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
2308 (ruby-encoding-magic-comment-style): Add :version.
2310 2013-11-22 Leo Liu <sdl.web@gmail.com>
2312 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
2314 (octave-help-mode): Adapt to change to help-mode-finish to use
2315 derived-mode-p on 2013-09-17.
2316 (inferior-octave-prompt): Also match octave-gui.
2317 (octave-kill-process): Don't ask twice. (Bug#10564)
2319 2013-11-22 Leo Liu <sdl.web@gmail.com>
2321 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
2322 (inferior-octave-startup, inferior-octave-check-process)
2323 (inferior-octave-track-window-width-change)
2324 (octave-completion-at-point, octave-eldoc-function): Use it.
2325 (octave-kill-process): Provide confirmation. (Bug#10564)
2327 2013-11-21 Leo Liu <sdl.web@gmail.com>
2329 * progmodes/octave.el (octave-mode, inferior-octave-mode):
2330 Fix obsolete variable comment-use-global-state.
2332 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2334 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
2335 Add `octave-source-file'.
2336 (octave-source-file): New function. (Bug#15935)
2338 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
2340 * net/eww.el (eww-local-regex): New variable.
2341 (eww): Use it to detect localhost and similar.
2343 2013-11-21 Leo Liu <sdl.web@gmail.com>
2345 Add completion for command `ag'.
2346 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
2347 (pcomplete/ag): New function.
2348 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
2350 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
2352 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
2354 (make-obsolete): Remove interactive spec.
2356 2013-11-21 Glenn Morris <rgm@gnu.org>
2358 * startup.el (command-line-1): Use path-separator with -L.
2360 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
2362 * emacs-lisp/package.el (describe-package-1): Add package archive
2365 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
2367 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
2368 Change default to "# encoding: %s" to differentiate it from the
2369 default Ruby encoding comment template.
2371 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
2373 * ses.el (ses-mode): Doc fix. (Bug#14748)
2375 2013-11-20 Leo Liu <sdl.web@gmail.com>
2377 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
2379 2013-11-19 Dan Nicolaescu <dann@gnu.org>
2381 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
2382 when rebase or bisect are in progress.
2384 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
2386 * filenotify.el (file-notify-add-watch): Doc fix.
2388 2013-11-19 Leo Liu <sdl.web@gmail.com>
2390 * obsolete/rcompile.el: Mark obsolete.
2392 * progmodes/compile.el (compilation-start)
2393 (compilation-goto-locus, compilation-find-file):
2394 Pass no-display-ok and handle nil value from display-buffer.
2397 * window.el (display-buffer-alist, display-buffer): Document the
2398 new parameter no-display-ok. Return either a window or nil
2399 but never a non-window value.
2401 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2403 * electric.el (electric-indent-mode-map): Remove.
2404 (electric-indent-mode): Change the global-map instead (bug#15915).
2406 * textmodes/text-mode.el (paragraph-indent-minor-mode):
2409 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
2411 * emacs-lisp/nadvice.el (remove-function): Align with
2412 add-function's behavior.
2414 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
2415 (gdb--string-regexp): New constant.
2416 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
2417 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
2418 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
2420 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
2421 Adjust use accordingly.
2422 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
2424 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
2426 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
2427 interpolation curlies (Bug#15914).
2429 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
2431 * calc/calc.el (calc-context-sensitive-enter): New variable.
2432 (calc-enter): Use `calc-context-sensitive-enter'.
2434 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
2436 * progmodes/cfengine.el: Version bump.
2437 (cfengine-cf-promises): New defcustom to locate cf-promises.
2438 (cfengine3-vartypes): Add new "data" type.
2439 (cfengine3--current-word): New function to get current name-like
2441 (cfengine3--current-function): New function to look up a CFEngine
2442 function's definition.
2443 (cfengine3-format-function-docstring): New function.
2444 (cfengine3-make-syntax-cache): New function.
2445 (cfengine3-documentation-function): New function: ElDoc glue.
2446 (cfengine3-completion-function): New function: completion glue.
2447 (cfengine3-mode): Set `compile-command',
2448 `eldoc-documentation-function', and add to
2449 `completion-at-point-functions'.
2451 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
2453 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
2454 `tramp-current-connection'.
2456 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
2458 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
2459 nil/self/true/false with "end of symbol".
2461 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
2463 * subr.el (version-regexp-alist): Fix a typo.
2465 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
2467 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
2468 "en_US.utf8" and "LC_CTYPE" to "".
2469 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
2470 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
2472 2013-11-15 Leo Liu <sdl.web@gmail.com>
2474 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
2476 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2478 * progmodes/gud.el (ctl-x-map):
2479 Remove C-x SPC binding. (Bug#12342)
2480 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
2482 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
2484 * subr.el (version-regexp-alist):
2485 Recognize hg, svn and darcs versions as snapshot versions.
2487 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
2488 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
2489 (ruby--encoding-comment-required-p): Extract from
2490 `ruby-mode-set-encoding'.
2491 (ruby-mode-set-encoding): Add the ability to always insert an
2492 utf-8 encoding comment. Fix and simplify coding comment update
2495 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
2497 * net/tramp-gvfs.el (top): Run init code only when
2498 `tramp-gvfs-enabled' is not nil.
2499 (tramp-gvfs-enabled): Check also :system bus.
2501 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2503 Sync with upstream verilog-mode revision 78e66ba.
2504 * progmodes/verilog-mode.el (verilog-end-of-defun)
2505 (verilog-type-completion, verilog-get-list): Remove unused funcs.
2506 (verilog-get-end-of-defun): Remove unused argument.
2507 (verilog-comment-depth): Remove unused local `e'.
2508 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
2509 Don't pass arg to verilog-get-end-of-defun.
2511 2013-11-14 Glenn Morris <rgm@gnu.org>
2513 * obsolete/assoc.el (aget): Prefix dynamic variable.
2515 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
2517 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2519 * widget.el, hfy-cmap.el: Remove bogus package version number.
2521 2013-11-13 Glenn Morris <rgm@gnu.org>
2523 * replace.el (replace-eval-replacement):
2524 Try to give more helpful error message. (Bug#15836)
2526 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
2527 (archive-7z-update): Avoid custom type mismatches.
2529 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
2531 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
2533 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
2534 address can be empty.
2536 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
2537 Accept nil SWITCHES.
2538 (tramp-gvfs-handle-write-region): Implement APPEND.
2540 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
2542 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
2543 binary "|" operator and closing block args delimiter.
2544 Remove FIXME comment referring to Ruby 1.8-only syntax.
2545 (ruby-smie--implicit-semi-p): Not after "|" operator.
2546 (ruby-smie--closing-pipe-p): New function.
2547 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
2548 (ruby-smie-rules): Indent after "|".
2550 2013-11-12 Glenn Morris <rgm@gnu.org>
2552 * ps-print.el (ps-face-attribute-list):
2553 Handle anonymous faces. (Bug#15827)
2555 2013-11-12 Martin Rudalics <rudalics@gmx.at>
2557 * window.el (display-buffer-other-frame): Fix doc-string.
2560 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2562 * subr.el (force-mode-line-update): Delete, move to buffer.c.
2564 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
2566 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
2567 (tramp-sh-handle-file-local-copy): Don't write a message when
2568 saving temporary files.
2570 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
2571 both directories are remote.
2572 (tramp-smb-handle-directory-files): Do not return double entries.
2573 Do not expand full file names.
2574 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
2575 (tramp-smb-handle-write-region): Implement APPEND.
2576 (tramp-smb-get-stat-capability): Fix a stupid bug.
2578 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2580 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
2582 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2584 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
2585 throwing error over malformed let/let* (bug#15814).
2587 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2589 * iswitchb.el (iswitchb-mode): Mark obsolete.
2591 2013-11-11 Glenn Morris <rgm@gnu.org>
2593 * international/uni-bidi.el, international/uni-category.el:
2594 * international/uni-name.el, international/uni-numeric.el:
2595 Regenerate for Unicode 6.3.0.
2597 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
2599 * net/tramp.el (tramp-methods):
2600 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
2601 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
2603 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
2605 * progmodes/sh-script.el (sh-font-lock-keywords-var):
2606 Force highlighting text after Summary keyword in doc face for rpm.
2608 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
2610 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
2611 available and the word has no wildcards, append one to the grep pattern.
2612 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
2613 (ispell-complete-word): Call `ispell-lookup-words' with the value
2614 independent of `ispell-look-p'.
2616 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2618 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
2620 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
2623 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2625 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
2626 (ruby-font-lock-keywords): Use backquote.
2628 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2630 * progmodes/ruby-mode.el (ruby-smie--forward-token)
2631 (ruby-smie--backward-token): Only consider full-string matches.
2633 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
2635 * faces.el (describe-face): Add distant-foreground.
2637 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
2639 * progmodes/ruby-mode.el: Improve encoding comment handling.
2640 (ruby-encoding-magic-comment-style): New option.
2641 (ruby-custom-encoding-magic-comment-template): New option.
2642 (ruby--insert-coding-comment, ruby--detect-encoding):
2643 New functions extracted from `ruby-mode-set-encoding'.
2644 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
2645 to control the style of the auto-inserted encoding comment.
2647 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2649 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
2650 Use `smie-backward-sexp' with token argument.
2652 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
2654 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
2655 Remove instrumentation code.
2657 2013-11-08 Glenn Morris <rgm@gnu.org>
2659 * progmodes/autoconf.el (autoconf-mode):
2660 Tweak comment-start-skip. (Bug#15822)
2662 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2664 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
2665 at bobp (bug#15826).
2666 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
2668 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
2670 * man.el (Man-start-calling): New macro, extracted from
2671 Man-getpage-in-background.
2672 (Man-getpage-in-background): Use it.
2673 (Man-update-manpage): New command.
2674 (Man-mode-map): Bind it.
2676 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2678 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
2679 of "and", "or", "&&" and "||".
2680 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
2681 argument. Prohibit opening curly brace because it could only be a
2682 block opener in that position.
2683 (ruby-smie--forward-token, ruby-smie--backward-token):
2684 Separate "|" from "&" or "*" going after it. That can happen in block
2686 (ruby-smie--indent-to-stmt): New function, seeks the end of
2687 previous statement or beginning of buffer.
2688 (ruby-smie-rules): Use it.
2689 (ruby-smie-rules): Check if there's a ":" before a curly block
2690 opener candidate; if there is, it's a hash.
2692 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
2694 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
2695 (cl--block-wrapper): Fix last accidental change.
2697 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
2699 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
2700 Instrument, in order to hunt failure on hydra.
2702 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2704 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
2705 malformed bindings form (bug#15814).
2707 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
2709 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
2710 "." compared to " @ ". This incidentally fixes some indentation
2712 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
2713 (ruby-smie-grammar): New tokens: "and" and "or".
2714 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
2715 Exclude "and" and "or". Remove "do" in order to work around token
2717 (ruby-smie-rules): Add all infix tokens. Handle the case of
2718 beginning-of-buffer.
2720 2013-11-06 Glenn Morris <rgm@gnu.org>
2722 * Makefile.in (setwins_almost, setwins_for_subdirs):
2723 Avoid accidental matches.
2725 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
2727 * menu-bar.el (popup-menu): Use key-binding.
2729 2013-11-06 Eli Zaretskii <eliz@gnu.org>
2731 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
2732 menus, support also the menus produced by minor modes.
2735 2013-11-06 Leo Liu <sdl.web@gmail.com>
2737 * thingatpt.el (thing-at-point-looking-at): Add optional arg
2738 DISTANCE to bound the search. All uses changed. (Bug#15808)
2740 2013-11-06 Glenn Morris <rgm@gnu.org>
2742 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
2743 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
2744 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
2746 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
2748 * electric.el (electric-indent-just-newline): New command.
2749 (electric-indent-mode-map): New keymap.
2750 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
2751 Re-add :group which weren't redundant.
2753 * electric.el (electric-indent-local-mode): New minor mode.
2754 (electric-indent-functions-without-reindent): New var.
2755 (electric-indent-post-self-insert-function): Use it.
2756 * emacs-lisp/gv.el (buffer-local-value): Add setter.
2758 2013-11-05 Eli Zaretskii <eliz@gnu.org>
2760 * international/quail.el (quail-help): Be more explicit about the
2761 meaning of the labels shown on the keys. (Bug#15800)
2763 * startup.el (normal-top-level): Load the subdirs.el files before
2764 setting the locale environment. (Bug#15805)
2766 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
2768 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
2769 via arguments so as to get the right ones (bug#15418).
2771 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
2773 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
2775 Fix problems found while writing a test suite.
2777 * net/tramp-compat.el (tramp-compat-load): New defun.
2778 * net/tramp.el (tramp-handle-load): Use it.
2780 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
2781 "(numberp ok-if-already-exists)" correctly.
2783 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
2785 * international/characters.el (glyphless-char-display-control):
2788 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
2790 * progmodes/python.el (python-mode):
2791 * progmodes/scheme.el (scheme-mode):
2792 * progmodes/prolog.el (prolog-mode):
2793 * progmodes/ruby-mode.el (ruby-mode):
2794 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
2795 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
2797 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2799 * rect.el (rectangle--highlight-for-redisplay):
2800 * emacs-lisp/smie.el (smie--next-indent-change):
2801 Use buffer-chars-modified-tick.
2803 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
2805 * electric.el (electric-indent-post-self-insert-function):
2806 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
2808 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
2810 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
2812 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2814 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
2817 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2819 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
2821 * progmodes/python.el: Fix up last change.
2822 (python-shell--save-temp-file): New function.
2823 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
2824 `string' comes from the current buffer.
2825 (python-shell-send-string-no-output): Remove `msg' arg.
2826 (python--use-fake-loc): New var.
2827 (python-shell-buffer-substring): Obey it. Try to compensate for the
2828 extra coding line added by python-shell--save-temp-file.
2829 (python-shell-send-region): Use python-shell--save-temp-file and
2830 python-shell-send-file directly. Add `nomain' argument.
2831 (python-shell-send-buffer): Use python-shell-send-region.
2832 (python-electric-pair-string-delimiter): New function.
2833 (python-mode): Use it.
2835 2013-11-04 Eli Zaretskii <eliz@gnu.org>
2837 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
2838 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
2839 environment and decoding all of the default-directory's to here
2841 (command-line): Decode also argv[0].
2843 * loadup.el: Error out if default-directory is a multibyte string
2844 when we are dumping.
2846 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
2848 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
2850 * emacs-lisp/package.el (package-menu-mode)
2851 (package-menu--print-info, package-menu--archive-predicate):
2852 Add Archive column to package list.
2854 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
2856 Fix problems found while writing a test suite.
2858 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
2859 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
2860 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
2861 to nil when running original file name handler. Otherwise,
2862 there are problems with constructs like "$$FOO".
2864 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
2867 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
2869 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
2871 * subr.el (version<, version<=, version=):
2872 Update docstrings with information for snapshot versions.
2874 * helpers.el: New library for misc helper functions.
2875 (hash-table-keys): New function returning a list of hash keys.
2876 (hash-table-values): New function returning a list of hash values.
2878 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
2880 * progmodes/ruby-mode.el (ruby-smie--forward-token)
2881 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
2883 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
2885 * textmodes/fill.el (fill-single-char-nobreak-p): New function
2886 checking whether point is after a 1-letter word.
2888 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2890 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
2891 Don't infloop when expanding region over `multiline' syntax-type that
2892 begins a line (bug#15778).
2894 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2896 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
2897 Make it into a proper minor mode.
2898 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
2899 (rectangle-mark-mode-map): New keymap.
2900 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
2902 2013-11-04 Glenn Morris <rgm@gnu.org>
2904 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
2906 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
2908 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
2909 (ruby-smie-rules): Use smie-rule-parent instead.
2911 * emacs-lisp/smie.el (smie-rule-parent): Always call
2912 smie-indent-virtual rather than only for hanging tokens.
2913 (smie--next-indent-change): New helper command.
2915 2013-11-03 Glenn Morris <rgm@gnu.org>
2917 * Makefile.in (abs_srcdir): Remove.
2918 (emacs): Unset EMACSLOADPATH.
2920 2013-11-02 Glenn Morris <rgm@gnu.org>
2922 * Makefile.in (EMACS): Use a relative filename.
2923 (abs_top_builddir): Remove.
2924 (custom-deps, finder-data, autoloads): Use --chdir.
2926 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
2928 Use relative filenames in TAGS files.
2929 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
2930 (lisptagsfiles4, TAGS): Use relative file names.
2931 (TAGS-LISP): Remove.
2932 (maintainer-clean): No more TAGS-LISP file.
2934 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
2935 (lisptagsfiles4): Use absolute filenames again.
2936 (TAGS, TAGS-LISP): Not everything needs to run in one line.
2937 Remove all *loaddefs files, not just the first. Remove esh-groups.
2938 (maintainer-clean): Delete TAGS, TAGS-LISP.
2940 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2942 * emacs-lisp/package.el (package-version-join):
2943 Recognize snapshot versions.
2945 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2947 * subr.el (version-regexp-alist): Add support for snapshot versions.
2949 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
2951 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
2952 New function, replacement for `smie-rule-parent' for when we want to
2953 skip over our direct parent if it's an assignment token..
2954 (ruby-smie-rules): Use it.
2956 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
2958 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
2959 unconditionally. Remove now unnecessary forward declarations.
2960 Remove XEmacs-specific setup.
2961 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
2962 (ruby-font-lock-syntactic-keywords)
2963 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
2964 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
2965 (ruby-here-doc-end-syntax): Remove.
2966 (ruby-mode): Don't check whether `syntax-propertize-rules' is
2967 defined as function.
2969 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2971 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
2973 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
2975 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
2976 table and abbrev table, `define-derived-mode' does that for us
2979 2013-11-01 Glenn Morris <rgm@gnu.org>
2981 * Makefile.in: Remove manual mh-e dependencies (writing .elc
2982 files is atomic for some time, so no parallel compilation issues).
2984 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
2986 * faces.el (face-x-resources): Add :distant-foreground.
2987 (region): Use :distant-foreground for gtk and ns.
2989 2013-11-01 Tassilo Horn <tsdh@gnu.org>
2991 Allow multiple bibliographies when BibLaTeX is used rather than
2993 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
2994 (reftex-locate-bibliography-files): Us it.
2996 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
2998 * image.el (image-type-header-regexps): Fix the 'pbm' part to
2999 allow comments in pbm files.
3001 * term/w32-win.el (dynamic-library-alist): Support newer versions
3002 of libjpeg starting with v7: look only for the DLL from the
3003 version against which Emacs was built.
3004 Support versions of libpng beyond 1.4.x.
3005 Support libtiff v4.x.
3007 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
3009 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
3010 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
3012 (ruby-deep-arglist): Add property :type.
3014 2013-10-31 Glenn Morris <rgm@gnu.org>
3016 * Makefile.in (custom-deps, finder-data): No need to setq the target
3017 variables, we are in the right directory and the defaults work fine.
3019 2013-10-30 Glenn Morris <rgm@gnu.org>
3021 * Makefile.in (autoloads): Do not use abs_lisp.
3023 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
3024 `newline' does not respect `standard-output', so use `princ'.
3026 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
3028 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
3029 * buff-menu.el (Buffer-menu--unmark): New function.
3030 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
3032 2013-10-30 Glenn Morris <rgm@gnu.org>
3034 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
3036 * emacs-lisp/package.el (lm-homepage): Declare.
3038 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
3041 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
3043 * Makefile.in (finder-data, autoloads, update-subdirs)
3044 (compile-main, compile-clean, compile-always, bootstrap-clean):
3045 Check return value of cd.
3046 (compile-calc): Remove.
3048 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
3050 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
3052 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
3053 (byte-compile-and-folded): New function.
3054 (=, <, >, <=, >=): Use it.
3056 * dos-w32.el (minibuffer-history-case-insensitive-variables)
3057 (path-separator, null-device, buffer-file-coding-system)
3058 (lpr-headers-switches): Check system-type before modifying them.
3059 (find-buffer-file-type-coding-system): Mark obsolete.
3060 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
3061 find-file-not-found-set-buffer-file-coding-system.
3062 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
3063 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
3064 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
3065 (w32-direct-print-region-helper, w32-direct-print-region-function)
3066 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
3067 * startup.el (normal-top-level-add-subdirs-to-load-path):
3068 * ps-print.el (ps-print-region-function):
3069 * lpr.el (print-region-function): Use new name.
3071 * subr.el (custom-declare-variable-early): Remove function.
3072 (custom-declare-variable-list): Remove var.
3073 (error, user-error): Remove `while' loop.
3074 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
3075 (user-emacs-directory-warning, locate-user-emacs-file):
3077 * simple.el (read-quoted-char-radix, read-quoted-char):
3078 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
3080 * custom.el (custom-declare-variable-list): Don't process
3081 custom-declare-variable-list.
3083 * progmodes/python.el (python-shell-get-buffer): New function.
3084 (python-shell-get-process): Use it.
3085 (python-shell-send-string): Always use utf-8 and add a cookie to tell
3086 Python which encoding was used. Don't split-string since we only care
3087 about the first line. Return the temp-file, if applicable.
3088 (python-shell-send-region): Tell compile.el how to turn locations in
3089 the temp-file into locations in the source buffer.
3091 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
3093 * subr.el (undefined): Add missing behavior from the C code for
3096 * rect.el: Use lexical-binding. Add new rectangular region support.
3097 (rectangle-mark): New command.
3098 (rectangle--region): New var.
3099 (deactivate-mark-hook): Reset rectangle--region.
3100 (rectangle--extract-region, rectangle--insert-for-yank)
3101 (rectangle--highlight-for-redisplay)
3102 (rectangle--unhighlight-for-redisplay): New functions.
3103 (region-extract-function, redisplay-unhighlight-region-function)
3104 (redisplay-highlight-region-function): Use them to handle
3106 * simple.el (region-extract-function): New var.
3107 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
3108 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
3109 (kill-region): Replace obsolete `yank-handler' arg with `region'.
3110 (copy-region-as-kill, kill-ring-save): Add `region' argument.
3111 (redisplay-unhighlight-region-function)
3112 (redisplay-highlight-region-function): New vars.
3113 (redisplay--update-region-highlight): New function.
3114 (pre-redisplay-function): Use it.
3115 (exchange-point-and-mark): Don't deactivate the mark before
3116 reactivate-it anyway.
3117 * comint.el (comint-kill-region): Remove yank-handler argument.
3118 * delsel.el (delete-backward-char, backward-delete-char-untabify)
3119 (delete-char): Remove property, since it's now part of their
3121 (self-insert-iso): Remove property since this command doesn't exist.
3123 * emacs-lisp/package.el (package--download-one-archive)
3124 (describe-package-1): Don't query the user about final newline.
3126 2013-10-29 Daniel Colascione <dancol@dancol.org>
3128 * net/tramp.el (tramp-methods): Document new functionality.
3129 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
3130 tramp-hostname-checker if method provides one instead of scanning
3131 argument list for "%h" to decide hostname acceptability.
3133 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
3135 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
3136 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
3137 Handle COPY-CONTENTS. (Bug#15737)
3139 2013-10-28 Daiki Ueno <ueno@gnu.org>
3142 (epa-file-cache-passphrase-for-symmetric-encryption):
3143 Document that this option has no effect with GnuPG 2.0 (bug#15552).
3145 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
3147 * image.el (defimage):
3148 (image-load-path): Doc fixes.
3150 2013-10-27 Alan Mackenzie <acm@muc.de>
3152 Indent statements in macros following "##" correctly.
3153 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
3154 Modify the "#" arm of a cond form to handle "#" and "##" operators.
3156 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3158 * linum.el (linum-update-window): Fix boundary test (bug#13446).
3160 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
3162 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
3163 after `=' is probably a new expression.
3165 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3167 * man.el (man-imenu-title): New option.
3168 (Man-mode-map): Add menu. (Bug#15722)
3169 (Man-mode): Add imenu to menu.
3171 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
3173 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
3174 specific in what the first arg can be: a non-keyword word,
3175 string/regexp/percent literal opener, opening paren, or unary
3176 operator followed directly by word.
3178 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3180 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
3181 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
3182 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
3183 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
3184 Remove vars, they do not apply any more.
3185 (prolog-mode-abbrev-table): Remove redundant declaration.
3186 (prolog-upper-case-string, prolog-lower-case-string): Remove.
3187 (prolog-use-smie): Remove.
3188 (prolog-smie-rules): Add indentation rule for the if-then-else layout
3189 supported by prolog-electric-if-then-else-flag.
3190 (prolog-mode-variables, prolog-menu): Use setq-local.
3191 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
3192 Remove binding to `Backspace' since this key doesn't exist anyway.
3193 Remove bindings for electric self-inserting keys.
3194 (prog-mode): Assume it's defined.
3195 (prolog-post-self-insert): New function.
3196 (prolog-mode): Use it.
3197 (prolog-indent-line, prolog-indent-level)
3198 (prolog-find-indent-of-matching-paren)
3199 (prolog-indentation-level-of-line, prolog-goto-comment-column)
3200 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
3201 (prolog-goto-next-paren, prolog-in-string-or-comment)
3202 (prolog-tokenize, prolog-inside-mline-comment)
3203 (prolog-find-start-of-mline-comment): Remove functions.
3204 (prolog-find-unmatched-paren, prolog-clause-end)
3205 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
3206 (prolog-electric--if-then-else): Rename from
3207 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
3208 (prolog-tokenize-searchkey): Remove const.
3209 (prolog-clause-info): Use forward-sexp.
3210 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
3211 (prolog-electric-if-then-else): Remove commands.
3212 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
3213 for use in post-self-insert-hook.
3214 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
3215 for use in post-self-insert-hook.
3216 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
3217 for use in post-self-insert-hook.
3218 (prolog-electric--underscore): Rename from prolog-electric--underscore;
3219 adapt it for use in post-self-insert-hook.
3221 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
3223 * emacs-lisp/ert.el (ert-run-tests-interactively):
3224 Use `completing-read'. (Bug#9756)
3226 2013-10-25 Eli Zaretskii <eliz@gnu.org>
3228 * simple.el (line-move): Call line-move-1 instead of
3229 line-move-visual when the current window hscroll is zero, but
3230 temporary-goal-column indicates we will need to hscroll as result
3231 of the movement. (Bug#15712)
3233 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
3235 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
3236 capitalization. Use :visible instead of :active.
3237 Fix `ruby-indent-exp' reference. Add menu items for the generic
3238 commands that are used with SMIE.
3239 (ruby-do-end-to-brace): Insert space after `{'.
3241 2013-10-25 John Anthony <john@jo.hnanthony.com>
3243 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
3245 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
3247 2013-10-25 Glenn Morris <rgm@gnu.org>
3249 * vc/vc.el (vc-print-log): Don't use a working revision unless
3250 one was explicitly specified. (Bug#15322)
3252 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3254 * subr.el (add-to-list): Preserve return value in compiler-macro
3257 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3259 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
3260 result. Ask user to retry using '-all' flag. (Bug#15701)
3262 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
3264 * emacs-lisp/smie.el: New smie-config system.
3265 (smie-config): New defcustom.
3266 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
3267 (smie-config-guess, smie-config-save): New commands.
3268 (smie-config--mode-local, smie-config--buffer-local)
3269 (smie-config--trace, smie-config--modefuns): New vars.
3270 (smie-config--advice, smie-config--mode-hook)
3271 (smie-config--setter, smie-config-local, smie-config--get-trace)
3272 (smie-config--guess-value, smie-config--guess): New functions.
3273 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
3274 text properties. Treat "string fence" syntax like string syntax.
3276 * progmodes/sh-script.el (sh-use-smie): Change default.
3277 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
3278 (sh-var-value): Simplify by CSE.
3279 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
3280 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
3282 (sh-guess-basic-offset): Use cl-incf.
3283 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
3285 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
3287 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
3290 2013-10-24 Glenn Morris <rgm@gnu.org>
3292 * Makefile.in (abs_top_srcdir): Remove.
3293 (update-subdirs): Use relative path to update-subdirs.
3295 2013-10-24 Eli Zaretskii <eliz@gnu.org>
3297 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
3298 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
3299 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
3300 Call unmsys--file-name before expand-file-name, not after it.
3302 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
3304 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
3305 (ert-test-skipped): New error.
3306 (ert-skip, ert-stats-skipped): New defuns.
3307 (ert--skip-unless): New macro.
3308 (ert-test-skipped): New struct.
3309 (ert--run-test-debugger, ert-test-result-type-p)
3310 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
3311 (ert--stats-set-test-and-result, ert-char-for-test-result)
3312 (ert-string-for-test-result, ert-run-tests-batch)
3313 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
3314 Handle skipped tests. (Bug#9803)
3316 2013-10-24 Glenn Morris <rgm@gnu.org>
3318 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
3320 * Makefile.in (abs_top_srcdir): New, set by configure.
3321 (update-subdirs): Correct build-aux location.
3323 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
3325 * vc/vc.el (vc-print-root-log): Always set `default-directory'
3326 value, whether we could auto-deduce `backend', or not.
3328 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
3329 with parameters" example. Simplify the "is it block or is it
3330 hash" check, but also make it more thorough.
3332 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
3334 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
3336 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
3338 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
3341 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
3344 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
3346 * progmodes/compile.el (compilation-directory-matcher)
3347 (compilation-page-delimiter):
3348 Support GNU Make-4.0 directory quoting. (Bug#15678)
3350 2013-10-23 Leo Liu <sdl.web@gmail.com>
3352 * ido.el (ido-tidy): Handle read-only text.
3354 2013-10-23 Glenn Morris <rgm@gnu.org>
3356 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
3357 (emacs, compile, compile-always):
3358 Quote entities that might contain whitespace.
3359 (custom-deps, finder-data, autoloads): Use abs_lisp.
3360 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
3361 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
3362 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
3364 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
3366 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
3367 Use `following-char'.
3369 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
3371 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
3372 * progmodes/ruby-mode.el (ruby-smie-rules):
3373 Remove corresponding workaround. Fix indentation rule of ";" so it
3374 also applies when ";" is the parent.
3376 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
3378 * frame.el (display-screens, display-pixel-height)
3379 (display-pixel-width, display-mm-width, display-backing-store)
3380 (display-save-under, display-planes, display-color-cells)
3381 (display-visual-class, display-monitor-attributes-list):
3382 Mention the optional ‘display’ argument in doc strings.
3384 2013-10-22 Michael Gauland <mikelygee@amuri.net>
3386 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
3387 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
3389 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
3391 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
3392 TODO. Add "." after " @ ".
3393 (ruby-smie--at-dot-call): New function. Checks if point at method
3394 call with explicit target.
3395 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
3396 to the method name tokens when it precedes them.
3397 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
3398 (ruby-smie-rules): Add rule for indentation before and after "."
3401 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
3403 * textmodes/remember.el (remember-diary-extract-entries):
3406 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
3409 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
3411 * progmodes/ruby-mode.el (ruby-smie-grammar):
3412 Add (almost) all infix operators.
3413 (ruby-smie--implicit-semi-p): Add new operator chars.
3415 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
3417 (ruby-smie--args-separator-p): Check that there's no newline
3418 between method call and its arguments.
3420 2013-10-20 Alan Mackenzie <acm@muc.de>
3422 Allow comma separated lists after Java "implements".
3424 * progmodes/cc-engine.el (c-backward-over-enum-header):
3426 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
3427 from a "disallowed" list in enum fontification.
3429 2013-10-20 Johan Bockgård <bojohan@gnu.org>
3431 * startup.el (default-frame-background-mode): Remove unused defvar.
3433 * progmodes/verilog-mode.el (verilog-mode): Don't set
3434 comment-indent-function globally.
3436 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
3438 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
3439 Move Info menu item creation to ns-win.el.
3441 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
3444 * menu-bar.el: Move GNUStep specific menus...
3446 * term/ns-win.el (ns-initialize-window-system): ... to here.
3448 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
3450 * simple.el (newline): Only run post-self-insert-hook when
3451 called interactively.
3453 2013-10-19 Johan Bockgård <bojohan@gnu.org>
3455 * icomplete.el (icomplete-with-completion-tables): Add :version.
3457 2013-10-19 Alan Mackenzie <acm@muc.de>
3459 Fix fontification bugs with constructors and const.
3461 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
3462 CASE 2) Remove the check for the absence of a suffix construct
3463 after a function declaration with only types (no identifiers) in
3464 the parentheses. Also, accept a function declaration with just a
3465 type inside the parentheses, if this type can be positively
3466 recognised as such, or if a prefix keyword like "explicit" nails
3467 down the construct as a declaration.
3469 2013-10-19 Eli Zaretskii <eliz@gnu.org>
3471 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
3472 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
3473 the problem whereby selecting a menu item that leads to a
3474 minibuffer prompt moves the cursor out of the minibuffer window,
3475 making it hard to type at the prompt. Suggested by Stefan Monnier
3476 <monnier@iro.umontreal.ca>.
3478 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
3480 * menu-bar.el: Don't make Services menu.
3482 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3484 * ffap.el: Handle "/usr/include/c++/<version>" directories.
3485 (ffap-alist): Use ffap-c++-mode for c++-mode.
3486 (ffap-c++-path): New variable.
3487 (ffap-c++-mode): New function.
3489 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
3491 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
3493 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
3495 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
3496 introduced on 2013-09-08, which results in an infinite loop
3497 requesting a password.
3499 2013-10-18 Glenn Morris <rgm@gnu.org>
3501 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
3503 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
3505 Sync with upstream verilog-mode revision 1a6ecec7.
3506 * progmodes/verilog-mode.el (verilog-mode-version): Update.
3507 (verilog-mode-release-date): Remove.
3508 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
3509 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
3510 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
3511 (verilog-auto-tieoff-ignore-regexp)
3512 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
3513 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
3514 (verilog-signals-with, verilog-dir-cache-preserving)
3515 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
3517 (verilog-case-fold): New option, to control case folding in
3518 regexp searches, bug597.
3519 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
3520 (verilog-string-match-fold, verilog-in-paren-count)
3521 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
3522 (verilog-at-close-struct-p): New functions.
3523 (verilog-beg-block-re-ordered, verilog-extended-case-re)
3524 (verilog-forward-sexp, verilog-set-auto-endcomments):
3525 (verilog-leap-to-case-head): Handle "unique0" case.
3526 (verilog-in-constraint-re): New constant.
3527 (verilog-keywords, verilog-type-font-keywords):
3528 Add some SystemVerilog 1800-2012 keywords.
3529 (verilog-label-be): Remove unimplemented argument, bug669.
3530 (verilog-batch-execute-func): When batch expanding clear
3531 create-lockfiles to prevent spurious user locks when a file ends
3533 (verilog-calculate-indent, verilog-calc-1)
3534 (verilog-at-close-constraint-p, verilog-at-constraint-p)
3535 (verilog-do-indent): Fix indentation of nested constraints
3537 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
3538 (verilog-auto-inst-param): Use verilog-string-match-fold.
3539 (verilog-read-inst-module-matcher):
3540 Fix AUTOINST on gate primitives with #1.
3541 (verilog-read-decls): Fix double-declaring user-defined typed signals.
3542 Reads all user-defined typed variables.
3543 (verilog-read-defines): Fix reading definitions inside comments, bug647.
3544 (verilog-signals-matching-regexp)
3545 (verilog-signals-not-matching-regexp, verilog-auto):
3546 Respect verilog-case-fold.
3547 (verilog-diff-report): Fix line count.
3548 (verilog-auto-assign-modport): Remove unused local `modi'.
3549 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
3550 better handle multidimensional arrays.
3551 Fix packed array ports misadding bit index in AUTOINST, bug637.
3552 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
3553 to not double-declare existing outputs and inputs, respectively.
3554 (verilog-template-map): Bind U to verilog-sk-uvm-component.
3555 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
3556 (verilog-sk-uvm-component): New skeleton.
3557 (verilog-submit-bug-report): Add verilog-case-fold,
3558 remove verilog-mode-release-date.
3560 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
3562 * subr.el (sit-for): Call (input-pending-p t) so as to behave
3565 2013-10-18 Reuben Thomas <rrt@sc3d.org>
3567 * textmodes/remember.el (remember): Set buffer-offer-save in
3568 remember buffers (bug#13566).
3570 2013-10-18 Daniel Colascione <dancol@dancol.org>
3572 When evaluating forms in ielm, direct standard output to ielm
3573 buffer. Add new ielm-return-for-effect command. Remove trailing
3574 whitespace throughout.
3576 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
3577 (ielm-return-for-effect): New command.
3578 (ielm-send-input): Accept optional `for-effect' parameter.
3579 (ielm-eval-input): Accept optional `for-effect' parameter.
3580 Bind `standard-output' to stream we create using
3581 `ielm-standard-output-impl'. Suppress printing result when
3583 (ielm-standard-output-impl): New function.
3584 (inferior-emacs-lisp-mode): Explain new features in documentation.
3586 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
3590 * net/tramp.el (tramp-debug-message): Do not check for connection
3592 (tramp-message): Use "vector" connection property.
3594 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
3595 (tramp-equal-remote, tramp-eshell-directory-change)
3596 * net/tramp-adb.el (tramp-adb-handle-copy-file)
3597 (tramp-adb-handle-rename-file)
3598 * net/tramp-cmds.el (tramp-list-remote-buffers)
3599 (tramp-cleanup-connection, tramp-cleanup-this-connection)
3600 * net/tramp-compat.el (tramp-compat-process-running-p)
3601 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
3602 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
3603 (tramp-gvfs-handle-rename-file)
3604 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
3605 (tramp-set-file-uid-gid)
3606 * net/tramp-smb.el (tramp-smb-handle-copy-file)
3607 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
3610 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
3611 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
3612 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
3613 (tramp-gw-open-network-stream): Suppress unrelated traces.
3615 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
3616 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
3617 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
3618 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
3619 connection property.
3621 * net/tramp-cache.el (top): Suppress traces when reading
3624 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
3625 Refactor common code. Improve debug message.
3626 (tramp-maybe-open-connection)
3627 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
3628 connection buffer too early.
3630 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
3631 from `tramp-smb-actions-with-acl'.
3632 (tramp-smb-actions-set-acl): New defconst.
3633 (tramp-smb-handle-copy-directory)
3634 (tramp-smb-action-get-acl): New defun, renamed from
3635 `tramp-smb-action-with-acl'.
3636 (tramp-smb-action-set-acl): New defun.
3637 (tramp-smb-handle-set-file-acl): Rewrite.
3639 2013-10-17 Glenn Morris <rgm@gnu.org>
3641 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
3643 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
3645 * skeleton.el (skeleton-newline): Remove.
3646 (skeleton-internal-1): Use (insert "\n") instead.
3648 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
3651 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
3652 forward-sexp-function while we redo its job (bug#15613).
3654 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
3656 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
3657 represented by lists.
3659 2013-10-16 Glenn Morris <rgm@gnu.org>
3661 * tmm.el (tmm--history): New dynamic variable.
3662 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
3664 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
3666 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
3667 (tramp-smb-errors): Add error messages.
3668 (tramp-smb-actions-with-acl): New defconst.
3669 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
3670 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
3671 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
3672 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
3673 (tramp-smb-get-stat-capability): Fix tests.
3675 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
3677 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
3680 2013-10-16 Glenn Morris <rgm@gnu.org>
3682 * ansi-color.el (ansi-color-drop-regexp):
3683 Add 1J, 1K, 2K. (Bug#15617)
3685 * files.el (hack-local-variables--warned-lexical): New.
3686 (hack-local-variables):
3687 Warn about misplaced lexical-binding. (Bug#15616)
3689 * net/eww.el (eww-render): Always set eww-current-url,
3690 and update header line. (Bug#15622)
3691 (eww-display-html): ... Rather than just doing it here.
3693 2013-10-15 Eli Zaretskii <eliz@gnu.org>
3695 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
3696 menu navigations commands.
3698 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
3700 * progmodes/subword.el (subword-capitalize): Be careful when
3701 the search for [[:alpha:]] fails (bug#15580).
3703 2013-10-14 Eli Zaretskii <eliz@gnu.org>
3705 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
3706 to commands that scroll the menu.
3708 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
3710 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
3711 Handle methods ending with `?' and `!'.
3713 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
3715 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
3716 `japanese-cp932' to `cp932' to fix the problem where saving a
3717 source file written in Shift_JIS twice would end up having
3718 `coding: japanese-cp932' which Ruby could not recognize.
3719 (ruby-mode-set-encoding): Add support for encodings mapped to nil
3720 in `ruby-encoding-map'.
3721 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
3722 doesn't need to be explicitly declared in magic comment.
3723 (ruby-encoding-map): Add type declaration for better customize UI.
3725 2013-10-13 Glenn Morris <rgm@gnu.org>
3727 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
3728 Occur buffers are read-only. http://bugs.debian.org/720775
3730 * emacs-lisp/authors.el (authors-fixed-entries):
3731 Comment out old alpha stuff.
3733 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
3735 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
3736 to `after-save-hook' instead of `before-save-hook'.
3737 (ruby-mode-set-encoding): Use the value of coding system used to
3738 write the file. Call `basic-save-buffer-1' after modifying the
3741 2013-10-13 Alan Mackenzie <acm@muc.de>
3743 Fix indentation/fontification of Java enum with
3744 "implements"/generic.
3746 * progmodes/cc-engine.el (c-backward-over-enum-header):
3747 Extracted from the three other places and enhanced to handle generics.
3748 (c-inside-bracelist-p): Uses new function above.
3749 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
3751 (c-font-lock-enum-tail): Uses new function above.
3753 2013-10-13 Kenichi Handa <handa@gnu.org>
3755 * international/mule-cmds.el (select-safe-coding-system): Remove a
3756 superfluous condition in chekcing whether a coding system is safe
3759 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
3761 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
3763 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
3765 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
3767 2013-10-13 Glenn Morris <rgm@gnu.org>
3769 * menu-bar.el (menu-bar-update-buffers):
3770 Unify Buffers menu prompt string. (Bug#15576)
3772 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
3774 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
3776 (authors-fixed-entries): Use accented form of name.
3778 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
3780 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
3781 method calls (bug#15594).
3782 (ruby-smie--args-separator-p): New function.
3783 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
3784 recognize paren-free method calls.
3786 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
3787 internals of universal-argument.
3789 2013-10-11 Eli Zaretskii <eliz@gnu.org>
3791 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
3792 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
3793 dropped menu on second mouse click on the menu bar.
3795 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
3797 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
3798 (explicit-shell-file-name): Declare.
3799 (sh--vars-before-point, sh--cmd-completion-table): New functions.
3800 (sh-completion-at-point-function): New function.
3802 (sh-smie--keyword-p): Remove unused argument.
3803 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
3805 (sh-set-shell): Always setup SMIE, even if we use the
3806 old indentation code.
3808 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
3810 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
3812 (ruby-smie-rules): Simplify the "do" rule. The cases when the
3813 predicate would return nil are almost non-existent.
3814 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
3816 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
3817 cache also after commands that modify the buffer but don't move
3820 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
3822 * env.el (substitute-env-in-file-name): New function.
3823 (substitute-env-vars): Extend the meaning of the optional arg.
3825 2013-10-10 Eli Zaretskii <eliz@gnu.org>
3827 * term/w32-win.el (dynamic-library-alist): Define separate lists
3828 of GIF DLLs for versions before and after 5.0.0 of giflib.
3831 2013-10-10 João Távora <joaotavora@gmail.com>
3833 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
3834 not locked, use last revision and current source as
3835 defaults. (Bug#15569)
3837 2013-10-10 Masatake YAMATO <yamato@redhat.com>
3839 * menu-bar.el (menu-bar-open): Don't use popup-menu if
3842 2013-10-10 Martin Rudalics <rudalics@gmx.at>
3844 * window.el (pop-to-buffer-same-window): Fix doc-string.
3847 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
3849 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
3851 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
3853 * calendar/icalendar.el (icalendar-import-file):
3854 Fix interactive spec. (Bug#15482)
3856 2013-10-10 Glenn Morris <rgm@gnu.org>
3858 * desktop.el (desktop-save): Default to saving in .emacs.d,
3859 since PWD is no longer in desktop-path by default. (Bug#15319)
3861 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
3862 now that text mode has a menu with the same entry.
3863 (menu-bar-text-mode-auto-fill): Remove now unused func.
3864 * textmodes/text-mode.el (text-mode-map):
3865 Use auto-fill help text from menu-bar.el.
3867 2013-10-10 John Anthony <john@jo.hnanthony.com>
3869 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
3871 2013-10-09 Juri Linkov <juri@jurta.org>
3873 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
3874 instead of this-command-keys. Add universal-argument-more and
3875 universal-argument-minus to the list of prefix commands. (Bug#15568)
3877 2013-10-09 Glenn Morris <rgm@gnu.org>
3879 * vc/vc-svn.el (vc-svn-create-repo):
3880 Expand paths in file://... url. (Bug#15446)
3882 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
3884 (authors): Remove unused local variables.
3886 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
3888 * profiler.el: Create a more coherent calltree from partial backtraces.
3889 (profiler-format): Hide the tail with `invisible' so that C-s can still
3890 find the hidden elements.
3891 (profiler-calltree-depth): Don't recurse so enthusiastically.
3892 (profiler-function-equal): New hash-table-test.
3893 (profiler-calltree-build-unified): New function.
3894 (profiler-calltree-build): Use it.
3895 (profiler-report-make-name-part): Indent the calltree less.
3896 (profiler-report-mode): Add visibility specs for profiler-format.
3897 (profiler-report-expand-entry, profiler-report-toggle-entry):
3898 Expand the whole subtree when provided with a prefix arg.
3900 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
3902 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
3904 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
3905 hanging iuwu-mod token.
3906 (ruby-smie--forward-token): Do not include a dot after a token in
3908 (ruby-smie--backward-token): Likewise.
3910 2013-10-08 Juri Linkov <juri@jurta.org>
3912 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
3913 to isearch-other-control-char.
3914 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
3915 and isearch-post-command-hook to post-command-hook.
3916 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
3917 and isearch-post-command-hook from post-command-hook.
3918 (isearch-unread-key-sequence)
3919 (isearch-reread-key-sequence-naturally)
3920 (isearch-lookup-scroll-key, isearch-other-control-char)
3921 (isearch-other-meta-char): Remove functions.
3922 (isearch-pre-command-hook, isearch-post-command-hook):
3923 New functions based on isearch-other-meta-char rewritten
3924 relying on the new behavior of overriding-terminal-local-map
3925 that does not replace the local keymaps any more. (Bug#15200)
3927 2013-10-08 Eli Zaretskii <eliz@gnu.org>
3929 Support menus on text-mode terminals.
3930 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
3933 * tooltip.el (tooltip-mode): Don't error out on TTYs.
3935 * menu-bar.el (popup-menu, popup-menu-normalize-position):
3936 Move here from mouse.el.
3937 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
3939 (tty-menu-navigation-map): New map for TTY menu navigation.
3941 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
3943 * frame.el (display-mouse-p): Report text-mode mouse as available
3945 (display-popup-menus-p): Report availability if mouse is
3946 available; don't condition on window-system.
3948 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
3949 (tty-menu-selected-face): New faces.
3951 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
3953 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
3954 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
3955 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
3956 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
3958 (lisp-mode-variables): New `elisp' argument.
3959 (emacs-lisp-mode): Use it.
3960 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
3961 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
3963 * indent.el: Use lexical-binding.
3964 (indent-region): Add progress reporter.
3965 (tab-stop-list): Make it implicitly extend to infinity by repeating the
3967 (indent--next-tab-stop): New function to implement this behavior.
3968 (tab-to-tab-stop, move-to-tab-stop): Use it.
3970 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
3972 * indent.el (indent-rigidly--current-indentation): New function.
3973 (indent-rigidly-map): New var.
3974 (indent-rigidly): Use it to provide interactive mode (bug#8196).
3976 2013-10-08 Bastien Guerry <bzg@gnu.org>
3978 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
3980 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
3982 * progmodes/perl-mode.el: Use lexical-binding.
3983 Remove redundant :group args.
3984 (perl-nochange): Change default to be closer to other major modes's
3986 (perl-indent-line): Don't consider text on current line as a
3987 valid beginning of function from which to indent.
3989 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
3990 with more than one argument (bug#15538).
3992 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
3994 * vc/pcvs.el: Use lexical-binding.
3995 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
3996 environment of `eval'.
3997 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
3998 than a list of expressions. Adjust callers.
3999 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
4001 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
4003 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
4004 case of the dot in a chained method call being on the following line.
4006 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4008 * electric.el (electric-indent-inhibit): New var.
4009 (electric-indent-post-self-insert-function): Use it.
4010 * progmodes/python.el (python-mode): Set it.
4012 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
4015 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
4017 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
4018 (css-mode): Use electric-indent-chars.
4020 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
4021 (font-lock-beg, font-lock-end): Move before first use.
4022 (nxml-mode): Use syntax-propertize-function.
4023 (nxml-after-change, nxml-after-change1): Adjust accordingly.
4024 (nxml-extend-after-change-region): Remove.
4025 * nxml/xmltok.el: Use lexical-binding.
4026 (xmltok-save): Use `declare'.
4027 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
4028 * nxml/nxml-util.el: Use lexical-binding.
4029 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
4031 * nxml/nxml-ns.el: Use lexical-binding.
4032 (nxml-ns-save): Use `declare'.
4033 (nxml-ns-prefixes-for): Avoid add-to-list.
4034 * nxml/rng-match.el: Use lexical-binding.
4035 (rng--ipattern): Use cl-defstruct.
4036 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
4037 (rng-cons-group-after, rng-subst-group-after)
4038 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
4039 Use closures instead of `(lambda...).
4041 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
4043 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
4046 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4047 Use `tramp-handle-insert-file-contents'.
4048 (tramp-gvfs-handle-insert-file-contents): Remove function.
4050 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
4051 Use `save-restriction' in order to keep markers.
4053 * net/trampver.el: Update release number.
4055 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4057 * progmodes/compile.el (compilation-parse-errors):
4058 Use compilation--put-prop.
4059 (compilation--ensure-parse): Check compilation-multiline.
4061 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
4063 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
4066 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
4068 * progmodes/ruby-mode.el: Fix recently added tests.
4069 (ruby-smie-grammar): Add - and +.
4070 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
4071 (ruby-smie--backward-id): New functions.
4072 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
4073 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
4076 2013-10-07 Leo Liu <sdl.web@gmail.com>
4078 * register.el (register-preview-delay)
4079 (register-preview-functions): New variables.
4080 (register-read-with-preview, register-preview)
4081 (register-describe-oneline): New functions.
4082 (point-to-register, window-configuration-to-register)
4083 (frame-configuration-to-register, jump-to-register)
4084 (number-to-register, view-register, insert-register)
4085 (copy-to-register, append-to-register, prepend-to-register)
4086 (copy-rectangle-to-register): Use register-read-with-preview to
4087 read register. (Bug#15525)
4089 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
4091 * net/network-stream.el (network-stream-open-starttls): Don't add
4092 --insecure if it's already present, because that gnutls-cli
4093 rejects getting that parameter twice.
4095 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
4097 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
4100 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
4102 * newcomment.el (comment-use-global-state): Change default value
4103 to t, mark obsolete (Bug#15251).
4104 (comment-beginning): In addition to `comment-to-syntax', check the
4105 value of `comment-use-global-state'.
4107 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
4109 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
4110 (ruby-comment-column): Follow the global default, by default.
4111 (ruby-smie-grammar): Add assignment syntax.
4112 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
4113 open-paren, a comma, or a \.
4114 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
4115 and line continuations.
4116 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
4117 followed by implicit semi-colons. Add rule for string concatenation
4118 and for indentation at BOB.
4119 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
4121 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
4122 calling next-sexp, since next-token may have skipped chars which
4123 next-sexp doesn't know should be skipped!
4125 2013-10-05 Leo Liu <sdl.web@gmail.com>
4127 * progmodes/octave.el (octave-send-region):
4128 Call compilation-forget-errors.
4130 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
4132 * vc/vc-svn.el (vc-svn-find-admin-dir):
4133 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
4134 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
4135 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
4136 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
4138 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
4140 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
4142 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
4144 * subr.el (read-passwd): Hide chars even when called within a context
4145 where after-change-functions is disabled (bug#15501).
4146 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
4147 until we removed ourself from overriding-terminal-local-map.
4149 2013-10-04 Leo Liu <sdl.web@gmail.com>
4151 * progmodes/octave.el (inferior-octave-mode):
4152 Call compilation-forget-errors.
4154 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
4156 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
4158 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
4160 * net/secrets.el (secrets-create-collection): Add optional
4161 argument ALIAS. Use proper Label keyword. Append ALIAS as
4162 dbus-call-method argument. (Bug#15516)
4164 2013-10-04 Leo Liu <sdl.web@gmail.com>
4166 * progmodes/octave.el (inferior-octave-error-regexp-alist)
4167 (inferior-octave-compilation-font-lock-keywords): New variables.
4168 (compilation-error-regexp-alist)
4169 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
4170 (inferior-octave-mode): Use compilation-shell-minor-mode.
4172 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
4174 * minibuffer.el (completion--replace): Be careful that `end' might be
4177 2013-10-03 Daiki Ueno <ueno@gnu.org>
4179 Add support for package signature checking.
4180 * emacs-lisp/package.el (url-http-file-exists-p)
4181 (epg-make-context, epg-context-set-home-directory)
4182 (epg-verify-string, epg-context-result-for)
4183 (epg-signature-status, epg-signature-to-string)
4184 (epg-check-configuration, epg-configuration)
4185 (epg-import-keys-from-file): Declare.
4186 (package-check-signature): New user option.
4187 (package-unsigned-archives): New user option.
4188 (package-desc): Add `signed' field.
4189 (package-load-descriptor): Set `signed' field if .signed file exists.
4190 (package--archive-file-exists-p): New function.
4191 (package--check-signature): New function.
4192 (package-install-from-archive): Check package signature.
4193 (package--download-one-archive): Check archive signature.
4194 (package-delete): Remove .signed file.
4195 (package-import-keyring): New command.
4196 (package-refresh-contents): Import default keyring.
4197 (package-desc-status): Add "unsigned" status.
4198 (describe-package-1, package-menu--print-info)
4199 (package-menu-mark-delete, package-menu--find-upgrades)
4200 (package-menu--status-predicate): Support "unsigned" status.
4202 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4204 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
4205 the new compilation scheme using the new byte-codes.
4207 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
4208 (byte-pophandler): New byte codes.
4209 (byte-goto-ops): Adjust accordingly.
4210 (byte-compile--use-old-handlers): New var.
4211 (byte-compile-catch): Use new byte codes depending on
4212 byte-compile--use-old-handlers.
4213 (byte-compile-condition-case--old): Rename from
4214 byte-compile-condition-case.
4215 (byte-compile-condition-case--new): New function.
4216 (byte-compile-condition-case): New function that dispatches depending
4217 on byte-compile--use-old-handlers.
4218 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
4221 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
4222 Optimize under `condition-case' and `catch' if
4223 byte-compile--use-old-handlers is nil.
4224 (disassemble-offset): Handle new bytecodes.
4226 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4228 * subr.el (error): Use `declare'.
4229 (decode-char, encode-char): Use advertised-calling-convention instead
4230 of the docstring to discourage use of the `restriction' arg.
4232 2013-10-03 Daiki Ueno <ueno@gnu.org>
4234 * epg.el (epg-verify-file): Add a comment saying that it does not
4235 notify verification error as a return value nor a signal.
4236 (epg-verify-string): Ditto.
4238 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
4240 * progmodes/compile.el (compilation-start): Try globbing the arg to
4243 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
4245 Sync with Tramp 2.2.8.
4247 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
4248 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
4249 * net/trampver.el: Update release number.
4251 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
4253 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
4254 and default-process-coding-system for darwin only.
4256 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
4258 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
4260 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
4262 * vc/vc-git.el (vc-git-grep): Disable pager.
4264 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
4266 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
4267 Use :url instead of :homepage, as per
4268 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
4270 * newcomment.el (comment-beginning): When `comment-use-syntax' is
4271 non-nil, use `syntax-ppss' (Bug#15251).
4273 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4275 * progmodes/octave.el (inferior-octave-startup-file):
4276 Prefer ~/.emacs.d/init_octave.m.
4278 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
4280 * emacs-lisp/package.el (package-desc-from-define):
4281 Accept additional arguments as plist, convert them to an alist and store
4282 them in the `extras' slot.
4283 (package-generate-description-file): Convert extras alist back to
4284 plist and append to the `define-package' form arguments.
4285 (package--alist-to-plist): New function.
4286 (package--ac-desc): Add `extras' slot.
4287 (package--add-to-archive-contents): Check if the archive-contents
4288 vector is long enough, and if it is, pass its `extras' slot value
4289 to `package-desc-create'.
4290 (package-buffer-info): Call `lm-homepage', pass the returned value
4291 to `package-desc-from-define'.
4292 (describe-package-1): Render the homepage button (Bug#13291).
4294 * emacs-lisp/package-x.el (package-upload-buffer-internal):
4295 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
4297 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
4299 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
4300 and default-process-coding-system to utf-8-unix (Bug#15402).
4302 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
4304 * subr.el (looking-back): Do not recommend using looking-back.
4306 2013-09-28 Alan Mackenzie <acm@muc.de>
4308 Fix indentation/fontification of Java enum with "implements".
4310 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
4311 regexp which matches "implements", etc., in Java.
4312 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
4313 specifier clauses coming after "enum".
4314 * progmodes/cc-fonts.el (c-font-lock-declarations)
4315 (c-font-lock-enum-tail): Check for extra specifier clauses coming
4318 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
4320 * faces.el (region): Change ns_selection_color to
4321 ns_selection_fg_color, add ns_selection_bg_color.
4323 2013-09-28 Leo Liu <sdl.web@gmail.com>
4325 * progmodes/octave.el (inferior-octave-completion-table)
4326 (inferior-octave-completion-at-point): Minor tweaks.
4328 * textmodes/ispell.el (ispell-lookup-words): Rename from
4329 lookup-words. (Bug#15460)
4330 (lookup-words): Obsolete.
4331 (ispell-complete-word, ispell-command-loop): All uses changed.
4333 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4335 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
4336 (octave-mode-menu): Add octave-send-buffer.
4337 (octave-send-buffer): New function.
4339 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4341 * progmodes/octave.el (octave-mode-map): Add key binding for
4343 (octave-mode-menu): Add octave-lookfor.
4344 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
4346 (octave-lookfor): New function.
4348 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
4350 * emacs-lisp/cl-macs.el:
4351 (cl--loop-destr-temps): Remove.
4352 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
4354 (cl--loop-set-iterator-function): New function.
4355 (cl-loop): Adjust accordingly, so as not to use cl-subst.
4356 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
4357 Bind `it' with `let' instead of substituting it with `cl-subst'.
4358 (cl--unused-var-p): New function.
4359 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
4360 Eliminate some unused variable warnings (bug#15326).
4362 2013-09-27 Tassilo Horn <tsdh@gnu.org>
4364 * doc-view.el (doc-view-scale-reset): Rename from
4365 `doc-view-reset-zoom-level'.
4366 (doc-view-scale-adjust): New command.
4367 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
4368 `doc-view-scale-adjust'.
4370 2013-09-26 Tassilo Horn <tsdh@gnu.org>
4372 * doc-view.el (doc-view-reset-zoom-level): New command.
4373 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
4374 zoom commands (bug#15466).
4376 2013-09-26 Kenichi Handa <handa@gnu.org>
4378 * international/quail.el (quail-help): Make it not a command.
4380 2013-09-26 Leo Liu <sdl.web@gmail.com>
4382 * minibuffer.el (completion-all-sorted-completions): Make args
4383 optional as they are.
4385 2013-09-25 Daniel Colascione <dancol@dancol.org>
4387 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
4388 specs are and that they're not evaluated.
4390 2013-09-24 Sam Steingold <sds@gnu.org>
4392 * midnight.el (clean-buffer-list-kill-regexps)
4393 (clean-buffer-list-kill-buffer-names): Update for the new Man
4394 buffer naming which includes the object name.
4396 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
4398 * eshell/esh-cmd.el (eshell--sep-terms): New var.
4399 (eshell-parse-command, eshell-parse-pipeline): Use it since
4400 eshell-separate-commands requires a dynamic scoped var.
4401 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
4403 2013-09-23 Leo Liu <sdl.web@gmail.com>
4405 * autoinsert.el (auto-insert-alist): Make the value of
4406 lexical-binding match its file setting.
4408 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
4410 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
4412 * autoarg.el (autoarg-kp-digit-argument):
4413 * electric.el (Electric-command-loop):
4414 * kmacro.el (kmacro-step-edit-insert):
4415 Do not set universal-argument-num-events.
4417 2013-09-22 Leo Liu <sdl.web@gmail.com>
4419 * files.el (interpreter-mode-alist): Add octave.
4421 2013-09-21 Alan Mackenzie <acm@muc.de>
4423 C++: fontify identifier in declaration following "public:" correctly.
4424 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
4425 to match "public", etc.
4426 (c-decl-prefix-re): Add ":" into the C++ value.
4427 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
4428 bit. Add a check for a ":" preceded by "public", etc.
4430 2013-09-21 Eli Zaretskii <eliz@gnu.org>
4432 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
4433 recognized by GDB 7.5 and later.
4435 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
4437 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
4439 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
4441 * subr.el (internal--call-interactively): New const.
4442 (called-interactively-p): Use it (bug#3984).
4444 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
4446 * vc/pcvs.el (cvs-mode-ignore):
4447 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
4448 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
4450 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
4452 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
4453 (eshell-ls-orig-insert-directory): Remove.
4454 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
4455 (eshell-ls-use-in-dired): Use advice-add/remove.
4456 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
4457 Add `orig-fun' arg for use in :around advice.
4458 Make it check (redundantly) eshell-ls-use-in-dired.
4460 2013-09-19 Glenn Morris <rgm@gnu.org>
4462 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
4464 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
4466 * emacs-lisp/eieio.el (class-parent): Undo previous change.
4468 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
4470 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
4471 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
4472 (tramp-get-remote-python): New defuns.
4473 (tramp-get-remote-uid-with-perl)
4474 (tramp-get-remote-gid-with-perl): New defuns. Perl code
4475 contributed by yary <not.com@gmail.com> (tiny change).
4476 (tramp-get-remote-uid-with-python)
4477 (tramp-get-remote-gid-with-python): New defuns. Python code
4478 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
4479 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
4481 2013-09-19 Glenn Morris <rgm@gnu.org>
4483 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
4485 * eshell/em-unix.el (eshell-remove-entries):
4486 Rename argument to avoid name-clash with global `top-level'.
4488 * eshell/esh-proc.el (eshell-kill-process-function):
4489 Remove eshell-reset-after-proc from eshell-kill-hook if present.
4490 (eshell-reset-after-proc): Remove unused arg `proc'.
4492 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
4493 (directory-files-and-attributes): Mark unused arg.
4495 * eshell/em-unix.el (eshell-remove-entries):
4496 Remove unused arg `path'. Update callers.
4498 * eshell/em-hist.el (eshell-hist-parse-arguments):
4499 Remove unused arg `silent'. Update callers.
4501 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
4502 Fix (f)boundp mix-up.
4504 * eshell/em-smart.el (eshell-smart-scroll-window)
4505 (eshell-disable-after-change):
4506 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
4508 2013-09-18 Alan Mackenzie <acm@muc.de>
4510 Fix fontification of type when followed by "const".
4511 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
4512 "known" types from fontification.
4514 2013-09-18 Glenn Morris <rgm@gnu.org>
4516 * emacs-lisp/chart.el (x-display-color-cells): Declare.
4517 (chart-face-list): Drop Emacsen without display-color-p.
4519 * net/eww.el (libxml-parse-html-region): Declare.
4520 (eww-display-html): Explicit error if no libxml2 support.
4522 * doc-view.el (doc-view-mode): Silence --without-x compilation.
4524 * image.el (image-type-from-buffer, image-multi-frame-p):
4525 Remove --without-x warning/error.
4527 * mouse.el (mouse-yank-primary):
4528 * term.el (term-mouse-paste):
4529 Reorder to silence --without-x compilation.
4531 * mpc.el (doc-view-mode): Silence --without-x compilation.
4533 * mail/rmailmm.el (rmail-mime-set-bulk-data):
4534 Silence --without-x compilation.
4536 * progmodes/gud.el (gud-find-file, gud-mode):
4537 Silence --without-x compilation.
4538 (tooltip-mode): Declare.
4540 * wdired.el (dired-backup-overwrite): Remove declaration.
4541 (wdired-mode-map): Add doc string.
4543 * custom.el (x-get-resource): Declare.
4545 * eshell/em-glob.el (ange-cache):
4546 * eshell/em-unix.el (ange-cache): Declare.
4548 * faces.el (x-display-list, x-open-connection, x-get-resource):
4551 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
4552 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
4555 * frame.el (x-display-grayscale-p, x-display-name): Declare.
4557 * net/gnutls.el (gnutls-log-level): Declare.
4559 * net/shr.el (image-size, image-animate): Declare.
4561 * simple.el (font-info): Declare.
4563 * subr.el (x-popup-dialog): Declare.
4565 * term/common-win.el (x-select-enable-primary)
4566 (x-last-selected-text-primary, x-last-selected-text-clipboard):
4569 * term/ns-win.el (x-handle-args): Declare.
4571 * term/x-win.el (x-select-enable-clipboard): Declare.
4573 * term/w32-win.el (create-default-fontset): Declare.
4575 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
4578 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
4579 (fit-frame-to-buffer): Explicit error if --without-x.
4580 (mouse-autoselect-window-select): Silence compiler.
4582 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
4584 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
4585 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
4586 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
4587 * eshell/esh-util.el (eshell-sublist):
4588 Remove unused local variables.
4590 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
4592 * textmodes/two-column.el: Make 2C-split work for --without-x.
4593 (scroll-bar-columns): Autoload.
4594 (top-level): Require fringe when compiling.
4596 2013-09-18 Leo Liu <sdl.web@gmail.com>
4598 * subr.el (add-hook): Robustify to handle closure as well.
4600 2013-09-17 Glenn Morris <rgm@gnu.org>
4602 * simple.el (messages-buffer-mode-map): Unbind "g".
4604 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
4606 * help-mode.el (help-mode-finish): Use derived-mode-p.
4607 Remove obsolete highlighting.
4609 * play/life.el (life-mode): Use define-derived-mode. Derive from
4611 (life): Let-bind inhibit-read-only.
4612 (life-setup): Avoid `setq'. Use `life-mode'.
4614 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
4615 which should not be needed any more.
4616 (package-menu-refresh, package-menu-describe-package): Use user-error.
4618 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
4619 (eshell-post-rewrite-command-hook): Make obsolete.
4620 (eshell-parse-command): Simplify.
4621 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
4622 (eshell--cmd): Declare.
4623 (eshell-parse-pipeline): Remove unused var `final-p'.
4624 Pass a dynvar to eshell-post-rewrite-command-hook.
4625 Implement the new eshell-post-rewrite-command-function.
4626 (eshell-invoke-directly): Remove unused arg `input'.
4627 * eshell/esh-io.el (eshell-io-initialize):
4628 Use eshell-post-rewrite-command-function (bug#15399).
4629 (eshell--apply-redirections): Rename from eshell-apply-redirections;
4630 adjust to new calling convention.
4631 (eshell-create-handles): Rename args to avoid clashing with dynvar
4634 2013-09-17 Glenn Morris <rgm@gnu.org>
4636 * simple.el (messages-buffer-mode): New major mode.
4637 (messages-buffer): New function.
4638 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
4639 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
4640 (ert-run-test): Use `messages-buffer' function.
4641 (ert--force-message-log-buffer-truncation): Ignore read-only.
4642 * help.el (view-echo-area-messages): Use `messages-buffer' function.
4643 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
4645 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
4647 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
4649 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
4651 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
4653 * icomplete.el (icomplete-in-buffer): New var.
4654 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
4655 vars and replace them with functions.
4656 (icomplete-minibuffer-setup): Adjust accordingly.
4657 (icomplete--completion-table, icomplete--completion-predicate)
4658 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
4660 (icomplete-forward-completions, icomplete-backward-completions)
4661 (icomplete-simple-completing-p, icomplete-exhibit)
4662 (icomplete-completions): Use them.
4663 (icomplete--in-region-buffer): New var.
4664 (icomplete--in-region-setup): New function.
4665 (icomplete-mode): Use it.
4667 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
4669 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
4670 return args and options.
4671 (eshell-eval-using-options): Use the new return value of
4672 eshell--do-opts to set the options's vars in their scope.
4673 (eshell--set-option): Rename from eshell-set-option.
4675 (eshell--process-option): Rename from eshell-process-option.
4677 (eshell--process-args): Use an `opt-vals' alist to store the options's
4678 values during their processing and return them additionally to the
4681 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
4683 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
4684 continuation character an operator, as far as indentation is
4685 concerned (Bug#15369).
4687 2013-09-15 Martin Rudalics <rudalics@gmx.at>
4689 * window.el (window--state-put-2): Don't process buffer state
4690 when buffer doesn't exist any more (Bug#15382).
4692 2013-09-15 Glenn Morris <rgm@gnu.org>
4694 * eshell/em-unix.el (eshell/rm):
4695 Make -f ignore missing files. (Bug#15373)
4697 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
4698 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
4699 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
4701 2013-09-14 Glenn Morris <rgm@gnu.org>
4703 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
4705 2013-09-13 Glenn Morris <rgm@gnu.org>
4707 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
4708 (dired-guess-default): Make `file' available in the env. (Bug#15363)
4710 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
4712 * frame.el (x-focus-frame): Mark as declared in frame.c.
4714 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
4716 * ls-lisp.el: Use advice-add.
4717 (original-insert-directory): Remove.
4718 (ls-lisp--insert-directory): Rename from insert-directory; add
4719 `orig-fun' argument.
4720 (insert-directory): Advise.
4722 2013-09-13 Eli Zaretskii <eliz@gnu.org>
4724 * term.el (term-emulate-terminal): Decode the command string
4725 before passing it to term-command-hook. (Bug#15337)
4727 2013-09-13 Glenn Morris <rgm@gnu.org>
4729 * eshell/esh-util.el (ange-cache): Move declaration earlier.
4731 * eshell/esh-ext.el (eshell-search-path): Declare.
4733 * eshell/em-prompt.el (eshell/pwd): Autoload it.
4734 Otherwise an error occurs if eshell-dirs module not loaded.
4736 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
4738 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
4740 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
4741 `tramp-check-proper-host'. Check for a valid method name.
4743 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4744 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4745 * net/tramp-sh.el (tramp-maybe-open-connection):
4746 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
4748 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
4749 also for hash values.
4751 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4753 * term/ns-win.el (parameters): Don't declare as dynamic.
4754 (before-make-frame-hook): Don't add ineffective function.
4756 * eshell/*.el: Use lexical-binding (bug#15231).
4758 2013-09-12 Kenichi Handa <handa@gnu.org>
4760 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
4762 2013-09-12 Glenn Morris <rgm@gnu.org>
4764 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
4765 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
4767 * subr.el (do-after-load-evaluation): Also give compiler warnings
4768 when obsolete files are used (except by obsolete files).
4770 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
4771 in the status output, assume `filename' is the first. (Bug#15322)
4773 * vc/vc.el (vc-deduce-fileset): Doc fix.
4775 * calc/calc-help.el (Info-goto-node):
4776 * progmodes/cperl-mode.el (Info-find-node):
4777 * vc/ediff.el (Info-goto-node): Update declarations.
4779 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
4781 * vc/vc-bzr.el (vc-compilation-mode): Declare.
4782 (vc-bzr-pull): Require vc-dispatcher.
4783 * vc/vc-git.el (vc-compilation-mode): Declare.
4784 (vc-git-pull): Require vc-dispatcher.
4786 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
4788 * progmodes/octave.el (help-button-action): Declare.
4790 * shell.el (shell-directory-tracker): Output error as a message
4791 rather than just returning it as a string.
4792 (shell-process-pushd): Remove useless use of message.
4794 * dframe.el (dframe-timer-fn):
4795 * files.el (dir-locals-read-from-file):
4796 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
4798 * reveal.el (reveal-post-command):
4799 * saveplace.el (load-save-place-alist-from-file):
4800 * shell.el (shell-resync-dirs):
4801 * w32-common-fns.el (x-get-selection-value):
4802 * emacs-lisp/copyright.el (copyright-find-copyright):
4803 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
4804 * emulation/tpu-edt.el (tpu-copy-keyfile):
4805 * play/bubbles.el (bubbles--mark-neighbourhood):
4806 * progmodes/executable.el
4807 (executable-make-buffer-file-executable-if-script-p):
4808 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
4810 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4812 Cleanup Eshell to rely less on dynamic scoping.
4813 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
4814 last-value, and ext-command here. Bind `args' closer to `body'.
4815 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
4816 (eshell--args): Declare new dynamic var.
4817 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
4818 last-value, and ext-command. Pass `args' to `body'.
4819 (eshell-process-args): Bind eshell--args.
4820 (eshell-set-option): Use eshell--args.
4821 * eshell/eshell.el (eshell): Use derived-mode-p.
4822 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
4823 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
4824 (eshell-glob-function): Declare.
4825 * eshell/esh-util.el: Require cl-lib.
4826 (eshell-read-hosts-file): Avoid add-to-list.
4827 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
4829 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
4831 (eshell/diff): Remove unused var `err'.
4832 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
4834 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
4835 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
4837 * eshell/em-glob.el (eshell-glob-matches, message-shown):
4838 Move declaration before first use.
4839 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
4840 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
4843 2013-09-12 Glenn Morris <rgm@gnu.org>
4845 * term/ns-win.el (global-map): Remove binding for ispell-next,
4846 deleted 1999-05-29. (Bug#15357)
4848 2013-09-11 Glenn Morris <rgm@gnu.org>
4850 * echistory.el (electric-command-history): Remove call to deleted func.
4852 * play/landmark.el (landmark-mode): Fix typos.
4854 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
4855 Check cvs-sort-ignore-file is bound.
4857 * savehist.el: No need for cl when compiling on Emacs.
4859 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
4861 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
4863 (eshell-self-insert-command, eshell-send-invisible):
4864 Remove unused argument.
4865 (eshell-handle-control-codes): Remove unused var `orig'.
4866 Avoid delete-backward-char.
4868 * files.el (set-auto-mode): Simplify a bit further.
4870 2013-09-11 Glenn Morris <rgm@gnu.org>
4872 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
4873 (set-auto-mode): Don't regexp-quote elements.
4874 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
4875 * progmodes/cc-mode.el (interpreter-mode-alist):
4876 * progmodes/ruby-mode.el (interpreter-mode-alist):
4877 Revert previous change.
4879 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
4881 * play/snake.el (snake-mode):
4882 * play/mpuz.el (mpuz-mode):
4883 * play/landmark.el (lm-mode):
4884 * play/blackbox.el (blackbox-mode):
4885 * play/5x5.el (5x5-mode):
4886 * obsolete/options.el (Edit-options-mode):
4887 * net/quickurl.el (quickurl-list-mode):
4888 * net/newst-treeview.el (newsticker-treeview-mode):
4889 * mail/rmailsum.el (rmail-summary-mode):
4890 * mail/mspools.el (mspools-mode):
4891 * locate.el (locate-mode):
4892 * ibuffer.el (ibuffer-mode):
4893 * emulation/ws-mode.el (wordstar-mode):
4894 * emacs-lisp/debug.el (debugger-mode):
4895 * array.el (array-mode):
4896 * net/eudc.el (eudc-mode): Use define-derived-mode.
4897 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
4898 Move initialization into declaration.
4899 (mairix-searches-mode): Use define-derived-mode.
4900 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
4901 (eudc-edit-hotlist): Use dolist.
4902 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
4903 (Man-mode): Use define-derived-mode.
4904 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
4905 (Info-edit-mode): Use define-derived-mode.
4906 (Info-cease-edit): Use Info-mode.
4907 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
4909 (eshell-mode): Use define-derived-mode.
4910 * chistory.el (command-history-mode-map): Rename from
4911 command-history-map.
4912 (command-history-mode): Use define-derived-mode.
4913 (Command-history-setup): Remove function.
4914 * calc/calc.el (calc-trail-mode-map): New var.
4915 (calc-trail-mode): Use define-derived-mode.
4916 (calc-trail-buffer): Set calc-main-buffer manually.
4917 * bookmark.el (bookmark-insert-annotation): New function.
4918 (bookmark-edit-annotation): Use it.
4919 (bookmark-edit-annotation-mode): Make it a proper major mode.
4920 (bookmark-send-edited-annotation): Use derived-mode-p.
4921 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
4922 closer to its ideal place. Use \' to match EOS.
4924 * profiler.el (profiler-calltree-find): Use function-equal.
4926 2013-09-10 Glenn Morris <rgm@gnu.org>
4928 * files.el (interpreter-mode-alist): Convert to regexps.
4929 (set-auto-mode): Adapt for this. (Bug#15306)
4930 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
4931 Comment out unused variable.
4932 * progmodes/cc-mode.el (interpreter-mode-alist):
4933 * progmodes/python.el (interpreter-mode-alist):
4934 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
4935 * progmodes/sh-script.el (sh-set-shell):
4936 No longer use interpreter-mode-alist to get list of shells.
4938 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
4940 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
4942 * simple.el: Use set-temporary-overlay-map for universal-argument.
4943 (universal-argument-map): Don't use default-bindings (bug#15317).
4944 Bind switch-frame explicitly. Replace universal-argument-minus with
4945 a conditional binding.
4946 (universal-argument-num-events, saved-overriding-map): Remove.
4947 (restore-overriding-map): Remove.
4948 (universal-argument--mode): Rename from save&set-overriding-map,
4950 (universal-argument, universal-argument-more, negative-argument)
4951 (digit-argument): Adjust accordingly.
4952 (universal-argument-minus): Remove.
4953 (universal-argument-other-key): Remove.
4955 * subr.el (with-demoted-errors): Add `format' argument.
4957 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
4959 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
4960 `tramp-cleanup-connection'.
4962 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
4963 parameters KEEP-DEBUG and KEEP-PASSWORD.
4965 * net/tramp.el (tramp-file-name-handler):
4966 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4967 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
4968 (tramp-maybe-open-connection):
4969 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
4970 Use `tramp-cleanup-connection'.
4972 * net/tramp-sh.el (tramp-maybe-open-connection):
4973 Catch 'uname-changed inside the progress reporter.
4975 2013-09-10 Glenn Morris <rgm@gnu.org>
4977 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
4979 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
4980 returns "alternate access method" in mode (eg "-rw-r--r--.").
4982 2013-09-08 Glenn Morris <rgm@gnu.org>
4984 * saveplace.el (load-save-place-alist-from-file):
4985 Demote errors. (Bug#15305)
4987 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
4989 Improve compatibility with older Emacsen, and XEmacs.
4991 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
4992 only if it is bound. It isn't for XEmacs.
4993 (with-tramp-progress-reporter): Do not let-bind `result'.
4994 This yields to scoping errors in XEmacs.
4995 (tramp-handle-make-auto-save-file-name): New function, moved from
4998 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
4999 for `make-auto-save-file-name'.
5000 (tramp-adb--gnu-switches-to-ash):
5001 Use `tramp-compat-replace-regexp-in-string'.
5003 * net/tramp-cache.el (tramp-cache-print): Call
5004 `substring-no-properties' only if it is bound. It isn't for XEmacs.
5006 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
5007 bound. It isn't for XEmacs.
5009 * net/tramp-compat.el (tramp-compat-copy-file):
5010 Catch `wrong-number-of-arguments' error.
5011 (tramp-compat-replace-regexp-in-string): New defun.
5013 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
5014 for `make-auto-save-file-name'.
5015 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
5017 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
5018 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
5019 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
5021 * net/tramp-gw.el (tramp-gw-open-network-stream):
5022 Use `tramp-compat-replace-regexp-in-string'.
5024 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5025 Call `tramp-handle-make-auto-save-file-name'.
5026 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
5027 (tramp-sh-file-gvfs-monitor-dir-process-filter)
5028 (tramp-sh-file-inotifywait-process-filter):
5029 Use `tramp-compat-replace-regexp-in-string'.
5030 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
5032 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
5033 for `make-auto-save-file-name'.
5034 (tramp-smb-handle-copy-directory):
5035 Call `tramp-compat-replace-regexp-in-string'.
5036 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
5037 (tramp-smb-handle-copy-file): Improve error message.
5038 (tramp-smb-handle-rename-file): Rename directly only in case
5039 `newname' does not exist yet. This is a restriction of smbclient.
5040 (tramp-smb-maybe-open-connection): Rerun the function only when
5041 `auth-sources' is non-nil.
5043 2013-09-08 Kenichi Handa <handa@gnu.org>
5045 * international/characters.el: Set category "^" (Combining) for
5048 2013-09-07 Alan Mackenzie <acm@muc.de>
5050 Correctly fontify Java class constructors.
5051 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
5053 (c-recognize-typeless-decls): Set the Java value to t.
5054 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
5055 While handling a "(", add a check for, effectively, Java, and handle a
5056 "typeless" declaration there.
5058 2013-09-07 Roland Winkler <winkler@gnu.org>
5060 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
5061 field subtitle for entry type book.
5063 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5065 * minibuffer.el: Make minibuffer-complete call completion-in-region
5066 rather than other way around.
5067 (completion--some, completion-pcm--find-all-completions):
5068 Don't delay signals when debugging.
5069 (minibuffer-completion-contents): Beware fields within the
5070 minibuffer contents.
5071 (completion-all-sorted-completions): Use defvar-local.
5072 (completion--do-completion, completion--cache-all-sorted-completions)
5073 (completion-all-sorted-completions, minibuffer-force-complete):
5074 Add args `beg' and `end'.
5075 (completion--in-region-1): New fun, extracted from minibuffer-complete.
5076 (minibuffer-complete): Use completion-in-region.
5077 (completion-complete-and-exit): New fun, extracted from
5078 minibuffer-complete-and-exit.
5079 (minibuffer-complete-and-exit): Use it.
5080 (completion--complete-and-exit): Rename from
5081 minibuffer--complete-and-exit.
5082 (completion-in-region--single-word): New function, extracted from
5083 minibuffer-complete-word.
5084 (minibuffer-complete-word): Use it.
5085 (display-completion-list): Make `common-substring' argument obsolete.
5086 (completion--in-region): Call completion--in-region-1 instead of
5087 minibuffer-complete.
5088 (completion-help-at-point): Pass boundaries to
5089 minibuffer-completion-help as args rather than via an overlay.
5090 (completion-pcm--string->pattern): Use `any-delim'.
5091 (completion-pcm--optimize-pattern): New function.
5092 (completion-pcm--pattern->regex): Handle `any-delim'.
5093 * icomplete.el (icomplete-forward-completions)
5094 (icomplete-backward-completions, icomplete-completions):
5095 Adjust calls to completion-all-sorted-completions and
5096 completion--cache-all-sorted-completions.
5097 (icomplete-with-completion-tables): Default to t.
5098 * emacs-lisp/crm.el (crm--current-element): Rename from
5099 crm--select-current-element. Don't put an overlay but return the
5101 (crm--completion-command): Take two new args to bind to the boundaries.
5102 (crm-completion-help): Adjust accordingly.
5103 (crm-complete): Use completion-in-region.
5104 (crm-complete-word): Use completion-in-region--single-word.
5105 (crm-complete-and-exit): Use completion-complete-and-exit.
5107 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5109 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
5112 2013-09-06 Juri Linkov <juri@jurta.org>
5114 * info.el (Info-display-images-node): When image file doesn't exist
5115 display text version of the image if it's provided in the Info file.
5116 Otherwise, display the location of missing image from SRC attribute.
5117 Add help-echo text property from ALT attribute. (Bug#15279)
5119 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5121 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
5122 (edit-abbrevs-mode): Use define-derived-mode.
5124 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
5125 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
5127 (epa-key-list-mode, epa-key-mode, epa-info-mode):
5128 Use define-derived-mode.
5130 * epg.el (epg-start-encrypt): Minor CSE simplification.
5132 2013-09-06 William Xu <william.xwl@gmail.com>
5134 * arc-mode.el: Add support for 7za (bug#15264).
5135 (archive-7z-program): New var.
5136 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
5137 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
5138 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
5140 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
5144 * net/tramp.el (tramp-syntax, tramp-prefix-format)
5145 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
5146 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
5147 (tramp-postfix-host-format, tramp-file-name-regexp)
5148 (tramp-completion-file-name-regexp)
5149 (tramp-completion-dissect-file-name)
5150 (tramp-handle-substitute-in-file-name): Remove 'url case.
5151 (tramp-file-name-regexp-url)
5152 (tramp-completion-file-name-regexp-url): Remove constants.
5154 2013-09-06 Glenn Morris <rgm@gnu.org>
5156 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
5158 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
5160 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
5161 keywords" below "here-doc beginnings" (Bug#15270).
5163 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
5165 * subr.el (pop): Use `car-safe'.
5166 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
5167 to detect unused `pop' return value.
5169 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
5171 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
5172 (python-fill-string): Remove unused var `marker'.
5173 (python-skeleton-add-menu-items): Remove unused var `items'.
5175 * international/mule-cmds.el: Require CL.
5176 (find-coding-systems-for-charsets): Avoid add-to-list.
5177 (sanitize-coding-system-list): New function, extracted from
5178 select-safe-coding-system-interactively.
5179 (select-safe-coding-system-interactively): Use it.
5180 (read-input-method-name): Accept symbols for `default'.
5182 * emacs-lisp/advice.el (defadvice): Add indent rule.
5184 2013-09-05 Daniel Hackney <dan@haxney.org>
5188 * net/browse-url.el:
5191 * net/eudcb-ldap.el:
5204 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
5205 byte compiler. Remove some unused let-bound variables.
5207 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
5209 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
5210 a "ref-cell", since it gets better optimized (bug#14883).
5212 2013-09-05 Glenn Morris <rgm@gnu.org>
5214 * progmodes/cc-awk.el (c-forward-sws): Declare.
5216 2013-09-04 Glenn Morris <rgm@gnu.org>
5218 * generic-x.el [rul-generic-mode]: Require cc-mode.
5219 (c++-mode-syntax-table): Declare.
5220 (rul-generic-mode-syntax-table): Init in the defvar.
5222 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
5224 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
5225 (vc-do-command, vc-set-async-update):
5226 * vc/vc-mtn.el (vc-mtn-dir-status):
5227 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
5228 (vc-hg-pull, vc-hg-merge-branch):
5229 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
5230 (vc-git-merge-branch):
5231 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
5232 (vc-cvs-dir-status-files):
5233 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
5234 (vc-bzr-dir-status-files):
5235 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
5236 * vc/vc-annotate.el: Use lexical-binding.
5237 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
5238 (vc-sentinel-movepoint): Declare.
5239 (vc-annotate): Don't use `goto-line'.
5240 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
5241 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
5242 (vc-sentinel-movepoint): Declare.
5243 * vc/vc-svn.el: Use lexical-binding.
5244 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
5246 * vc/vc-rcs.el: Use lexical-binding.
5248 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
5249 `deleted'. Don't drop errors silently.
5251 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
5253 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
5255 * vc/vc.el (vc-ignore): Rewrite.
5256 (vc-default-ignore): New function.
5257 (vc-default-ignore-completion-table): Use find-ignore-file.
5259 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
5260 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
5261 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
5262 Remove. Most code moved to vc.el.
5264 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
5266 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
5267 * net/tramp-smb.el (tramp-smb-get-file-entries):
5268 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
5269 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
5271 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
5273 (eww-change-select): Remove unused var `properties'.
5274 (eww-make-unique-file-name): Remove unused var `base'.
5276 * finder.el (finder-compile-keywords): Don't mess with windows.
5278 * calculator.el (calculator-funcall): Fix typo in last change.
5280 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
5282 * emacs-lisp/package.el (package-activate-1): Don't let a missing
5283 <pkg>-autoloads.el file stop us.
5285 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
5286 warnings, and factor out common code.
5288 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
5290 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
5291 two-character operators and whether the character preceding them
5292 changes their meaning (Bug#15208).
5294 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
5296 Format code sent to Python shell for robustness.
5297 * progmodes/python.el (python-shell-buffer-substring):
5299 (python-shell-send-region, python-shell-send-buffer): Use it.
5301 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
5303 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
5304 * net/tramp.el (tramp-user-error): ... here.
5305 (tramp-find-method, tramp-check-proper-host)
5306 (tramp-dissect-file-name, tramp-debug-message)
5307 (tramp-handle-shell-command):
5308 * net/tramp-adb.el (tramp-adb-handle-shell-command):
5309 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
5311 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
5313 2013-09-02 Martin Rudalics <rudalics@gmx.at>
5315 * avoid.el (mouse-avoidance-point-position)
5316 (mouse-avoidance-too-close-p): Handle case where posn-at-point
5319 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
5321 * progmodes/python.el (python-shell-completion-get-completions):
5322 Drop use of deleted `comint-last-prompt-overlay'.
5323 (python-nav-if-name-main): New command.
5325 2013-09-01 Glenn Morris <rgm@gnu.org>
5327 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
5328 Avoid leading space in $wins. Otherwise the sed command used by
5329 eg compile-main ends up containing "/*.el". (Bug#15170)
5331 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
5333 2013-08-30 Glenn Morris <rgm@gnu.org>
5335 * emacs-lisp/bytecomp.el (byte-recompile-directory):
5336 Fix is-this-a-directory logic. (Bug#15220)
5338 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
5340 * textmodes/css-mode.el: Use SMIE.
5341 (css-smie-grammar): New var.
5342 (css-smie--forward-token, css-smie--backward-token)
5343 (css-smie-rules): New functions.
5344 (css-mode): Use them.
5345 (css-navigation-syntax-table): Remove var.
5346 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
5347 (css-indent-calculate, css-indent-line): Remove functions.
5349 Misc changes to reduce use of `(lambda...); and other cleanups.
5350 * cus-edit.el: Use lexical-binding.
5351 (customize-push-and-save, customize-apropos)
5352 (custom-buffer-create-internal): Use closures.
5353 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
5354 * progmodes/ada-xref.el: Use setq.
5355 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
5356 * dframe.el: Use lexical-binding.
5357 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
5358 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
5359 * descr-text.el: Use lexical-binding.
5360 (describe-text-widget, describe-text-sexp, describe-property-list):
5362 * comint.el (comint-history-isearch-push-state): Use a closure.
5363 * calculator.el: Use lexical-binding.
5364 (calculator-number-to-string): Make it work with lexical-binding.
5365 (calculator-funcall): Same and use cl-letf.
5367 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
5368 (lisp--company-doc-string, lisp--company-location): New functions.
5369 (lisp-completion-at-point): Use them to improve Company support.
5371 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
5372 params of lambda expressions.
5373 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
5374 (ruby-smie--opening-pipe-p): New function.
5375 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
5376 symbols and matched |...| for formal params.
5377 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
5378 from being treated as hanging. Handle "rescue".
5380 2013-08-29 Glenn Morris <rgm@gnu.org>
5382 * progmodes/cc-engine.el (c-pull-open-brace):
5383 Move definition before use.
5385 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
5387 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
5388 are immutable. Don't use `unsafe' any more.
5389 (cl--defsubst-expand): Don't substitute at the same time as keeping
5390 a residual unused let-binding. Don't use `unsafe' any more.
5392 2013-08-29 Glenn Morris <rgm@gnu.org>
5394 * calendar/cal-china.el (calendar-chinese-year-cache):
5397 * nxml/nxml-util.el (nxml-debug-clear-inside):
5398 Use cl-loop rather than loop.
5400 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
5402 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
5404 2013-08-28 Glenn Morris <rgm@gnu.org>
5406 * progmodes/antlr-mode.el: No need to require cc-mode twice.
5408 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
5410 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
5412 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5414 * simple.el (repeat-complex-command--called-interactively-skip):
5416 (repeat-complex-command): Use it (bug#14136).
5418 * progmodes/cc-mode.el: Minor cleanup of var declarations.
5419 (c-define-abbrev-table): Add `doc' argument.
5420 (c-mode-abbrev-table, c++-mode-abbrev-table)
5421 (objc-mode-abbrev-table, java-mode-abbrev-table)
5422 (idl-mode-abbrev-table, pike-mode-abbrev-table)
5423 (awk-mode-abbrev-table): Use it.
5424 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
5425 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
5426 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
5427 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
5428 Move initialization into the declaration; and remove any
5431 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
5432 and dynamic let binding.
5434 * vc/smerge-mode.el: Remove redundant :group args.
5436 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
5439 2013-08-28 Juri Linkov <juri@jurta.org>
5441 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
5442 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
5443 (isearch-other-meta-char): Handle an undefined shifted printing
5444 character by downshifting it. (Bug#15200)
5446 2013-08-28 Juri Linkov <juri@jurta.org>
5448 * isearch.el (isearch-search): Change regexp error message for
5449 non-regexp searches. (Bug#15166)
5451 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
5453 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
5454 for portability to hosts where /bin/sh has problems.
5456 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5458 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
5460 2013-08-27 Juri Linkov <juri@jurta.org>
5462 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
5463 in the keyboard macro. (Bug#15126)
5465 2013-08-27 Juri Linkov <juri@jurta.org>
5467 * isearch.el (isearch-quote-char): Comment out converting unibyte
5468 to multibyte, thus syncing with its `quoted-insert' counterpart.
5471 2013-08-27 Martin Rudalics <rudalics@gmx.at>
5473 * window.el (display-buffer-use-some-window): Add missing
5474 argument in call of get-largest-window (Bug#15185).
5475 Reported by Stephen Leake.
5477 2013-08-27 Glenn Morris <rgm@gnu.org>
5479 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
5481 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
5483 * progmodes/python.el (python-font-lock-keywords): Don't return nil
5484 from a matcher-function unless there's no more matches (bug#15161).
5486 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
5488 * minibuffer.el: Revert change from 2013-08-20.
5490 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
5491 with text property `tramp-default', if appropriate.
5492 (tramp-check-proper-host): New defun.
5493 (tramp-dissect-file-name): Do not check hostname. Revert change
5495 (tramp-backtrace): Make VEC-OR-PROC optional.
5497 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5498 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5499 * net/tramp-sh.el (tramp-maybe-open-connection):
5500 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
5501 Apply `tramp-check-proper-host'.
5503 2013-08-26 Tassilo Horn <tsdh@gnu.org>
5505 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
5506 lambda expression in order to have `describe-variable' display it.
5508 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
5510 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
5511 BUF can be optional. (Bug#15186)
5513 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
5515 * progmodes/flymake.el (flymake-get-real-file-name-function):
5516 Fix broken customization. (Bug#15184)
5518 2013-08-25 Alan Mackenzie <acm@muc.de>
5520 Improve indentation of bracelists defined by macros (without "=").
5522 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
5523 expansion begins with "{", regard it as bracelist when it doesn't
5526 Parse C++ inher-intro when there's a template split over 2 lines.
5528 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
5529 rigorously the search for "class" etc. followed by ":".
5531 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
5532 random languages a regexp which never matches rather than nil.
5534 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
5536 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
5537 (c-awk-regexp-one-line-possibly-open-char-list-re)
5538 (c-awk-one-line-possibly-open-regexp-re)
5539 (c-awk-one-line-non-syn-ws*-re): Remove.
5540 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
5541 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
5542 (c-awk-space*-unclosed-regexp-/-re): New constants.
5543 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
5544 aren't regexp delimiters.
5546 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
5547 handling for a rare situation in AWK Mode involving unterminated
5550 2013-08-23 Glenn Morris <rgm@gnu.org>
5552 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
5554 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
5556 * files.el (create-file-buffer): If the result would begin with
5557 spaces, prepend a "|" instead of removing them. (Bug#15162)
5559 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
5561 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
5562 text-properties (bug#15155).
5564 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
5566 (calc-keypad-redraw): Remove unused var `pad'.
5567 (calc-keypad-press): Remove unused var `menu'.
5569 2013-08-23 Martin Rudalics <rudalics@gmx.at>
5571 * window.el (display-buffer-pop-up-frame):
5572 Call pop-up-frame-function with BUFFER current so `make-frame' will
5573 use it as the new frame's buffer (Bug#15133).
5575 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
5577 * calendar/timeclock.el: Minor cleanups.
5578 (timeclock-ask-before-exiting, timeclock-use-display-time):
5580 (timeclock-modeline-display): Define as alias before the
5582 (timeclock-mode-line-display): Use define-minor-mode.
5583 (timeclock-day-list-template): Make it a function, add an argument.
5584 (timeclock-day-list-required, timeclock-day-list-length)
5585 (timeclock-day-list-debt, timeclock-day-list-span)
5586 (timeclock-day-list-break): Adjust calls accordingly.
5588 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
5590 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
5591 Use read--expression so that completion works again.
5593 2013-08-21 Sam Steingold <sds@gnu.org>
5595 Add rudimentary inferior shell interaction
5596 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
5597 (sh-set-shell): Reset it.
5598 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
5599 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
5601 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
5603 * align.el: Use lexical-binding.
5604 (align-region): Simplify accordingly.
5606 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
5608 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
5610 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
5613 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
5617 * net/tramp-cmds.el:
5619 * net/tramp-gvfs.el:
5621 * net/tramp-sh.el: Don't wrap external variable declarations by
5622 `eval-when-compile'.
5624 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
5626 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
5627 now that Emacs supports ImageMagick animations.
5629 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
5631 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
5632 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
5634 2013-08-16 Martin Rudalics <rudalics@gmx.at>
5636 * window.el (mouse-autoselect-window-select): Do autoselect when
5637 mouse pointer is on margin.
5639 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
5641 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
5643 2013-08-16 Glenn Morris <rgm@gnu.org>
5645 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
5646 Handle "Remote Directory" response of some clients. (Bug#15058)
5648 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
5649 Tweak warning. (Bug#14926)
5651 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
5652 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
5654 * image-mode.el (image-mode-map): Add menu items to reverse,
5655 increase, decrease, reset animation speed.
5656 (image--set-speed, image-increase-speed, image-decrease-speed)
5657 (image-reverse-speed, image-reset-speed): New functions.
5658 (image-mode-map): Add bindings for speed commands.
5660 * image.el (image-animate-get-speed, image-animate-set-speed):
5662 (image-animate-timeout): Respect image :speed property.
5664 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
5666 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
5667 previous line (bug#15101).
5668 (debugger-eval-expression, debugger-record-expression):
5669 Use read--expression (bug#15102).
5671 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
5673 Remove byte compiler warnings, visible when compiling with
5674 `byte-compile-force-lexical-warnings' set to t.
5676 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
5677 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
5678 (tramp-handle-unhandled-file-name-directory)
5679 (tramp-handle-file-notify-add-watch, tramp-action-login)
5680 (tramp-action-succeed, tramp-action-permission-denied)
5681 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
5684 * net/tramp-adb.el (tramp-adb-parse-device-names)
5685 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
5686 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
5687 (tramp-adb-handle-file-truename): Remove unused arguments.
5689 * net/tramp-cache.el (tramp-flush-directory-property)
5690 (tramp-flush-connection-property, tramp-list-connections)
5691 (tramp-parse-connection-properties): Prefix unused arguments with "_".
5693 * net/tramp-compat.el (tramp-compat-make-temp-file):
5694 Rename FILENAME to F.
5696 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
5697 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
5698 (tramp-zeroconf-parse-workstation-device-names)
5699 (tramp-zeroconf-parse-webdav-device-names)
5700 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
5702 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
5703 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
5705 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
5707 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
5708 (tramp-sh-handle-insert-file-contents-literally)
5709 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
5711 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
5712 Remove unused variables.
5714 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
5715 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
5716 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
5718 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
5719 Make them a defconst.
5720 (tramp-uuencode-region): Remove unused variable.
5722 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
5724 * frameset.el (frameset--prop-setter): New function.
5725 (frameset-prop): Add gv-setter declaration.
5726 (frameset-filter-minibuffer): Deal with the case that the minibuffer
5727 parameter was already set in FILTERED. Doc fix.
5728 (frameset--record-minibuffer-relationships): Allow saving a
5729 minibufferless frame without its corresponding minibuffer frame.
5730 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
5731 frame, if the frame id matches.
5732 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
5733 frames before orphaned ones.
5734 (frameset-restore): Warn about orphaned windows, instead of error out.
5736 2013-08-14 Martin Rudalics <rudalics@gmx.at>
5738 * window.el (window-make-atom): Don't overwrite parameter
5740 (display-buffer-in-atom-window): Handle special case where we
5741 split an already atomic window.
5742 (window--major-non-side-window, display-buffer-in-side-window)
5743 (window--side-check): Ignore minibuffer window when walking
5745 (window-deletable-p): Return 'frame only if no other frame uses
5746 our minibuffer window.
5747 (record-window-buffer): Run buffer-list-update-hook.
5748 (split-window): Make sure window--check-frame won't destroy an
5749 existing atomic window in case the new window gets nested
5751 (display-buffer-at-bottom): Ignore minibuffer window when
5752 walking window tree. Don't split a side window.
5753 (pop-to-buffer): Don't set-buffer here, the select-window call
5755 (mouse-autoselect-window-select): Autoselect only if we are in the
5756 text portion of the window.
5758 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
5760 * net/shr.el (shr-parse-image-data): New function to grab both the
5761 data itself and the Content-Type.
5762 (shr-put-image): Use it.
5764 * net/eww.el (eww-display-image): Ditto.
5766 * image.el (image-content-type-suffixes): New variable.
5768 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
5770 * progmodes/python.el (python-imenu--build-tree)
5771 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
5773 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
5775 * simple.el (backward-word): Mention the optional argument.
5777 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
5779 * frameset.el (frameset--make): Rename constructor from make-frameset.
5780 (frameset-p, frameset-valid-p): Don't autoload.
5781 (frameset-valid-p): Use normal accessors.
5783 2013-08-13 Glenn Morris <rgm@gnu.org>
5785 * progmodes/compile.el (compile-command): Tweak example in doc.
5786 * obsolete/scribe.el (scribe-mode):
5787 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
5789 * mail/feedmail.el (feedmail-confirm-outgoing)
5790 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
5792 * cus-start.el (truncate-partial-width-windows): Fix type.
5794 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
5796 * net/shr.el (shr-table-horizontal-line): Fix custom type.
5798 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
5800 * emacs-lisp/timer.el (timer--time-setter): New function.
5801 (timer--time): Use it as gv-setter.
5803 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
5804 setter is not a symbol.
5806 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
5808 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
5809 if sending fails. This makes debugging easier.
5811 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
5813 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
5814 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
5815 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
5817 2013-08-12 Eli Zaretskii <eliz@gnu.org>
5819 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
5821 2013-08-12 Glenn Morris <rgm@gnu.org>
5823 * format.el (format-annotate-function):
5824 Handle read-only text properties in the source. (Bug#14887)
5826 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5828 * net/eww.el (eww-display-html): Ignore coding system errors.
5829 One web site uses "utf-8lias" as the coding system.
5831 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
5833 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
5835 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
5837 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
5838 (tutorial--detailed-help): Remove unused local variables.
5839 (tutorial--save-tutorial-to): Use ignore-errors.
5840 (help-with-tutorial): Use looking-at-p.
5842 * view.el (view-buffer-other-window, view-buffer-other-frame):
5843 Mark unused arguments.
5845 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
5846 (woman-select-symbol-fonts, woman, woman-find-file)
5847 (woman-insert-file-contents, woman-non-underline-faces):
5849 (woman1-unquote): Move declaration.
5851 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
5852 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
5853 argument. Remove unused local variable.
5854 (xml-parse-elem-type): Use string-match-p.
5855 (xml-substitute-numeric-entities): Use ignore-errors.
5857 * calculator.el (calculator): Mark unused argument.
5858 (calculator-paste, calculator-quit, calculator-integer-p):
5860 (calculator-string-to-number, calculator-decimal, calculator-exp)
5861 (calculator-op-or-exp): Use string-match-p.
5863 * dired.el (dired-buffer-more-recently-used-p): Declare.
5864 (dired-insert-set-properties, dired-insert-old-subdirs):
5867 * dired-aux.el (dired-compress): Use ignore-errors.
5868 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
5869 (dired-do-async-shell-command, dired-do-shell-command)
5870 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
5871 (dired-insert-subdir-validate): Use string-match-p.
5872 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
5873 (dired-add-entry): Use string-match-p, looking-at-p.
5874 (dired-insert-subdir-newpos): Remove unused local variable.
5876 * filenotify.el (file-notify-callback): Remove unused local variable.
5878 * filesets.el (filesets-error): Mark unused argument.
5879 (filesets-which-command-p, filesets-filter-dir-names)
5880 (filesets-directory-files, filesets-get-external-viewer)
5881 (filesets-ingroup-get-data): Use string-match-p.
5883 * find-file.el (ff-other-file-name, ff-other-file-name)
5884 (ff-find-the-other-file, ff-cc-hh-converter):
5885 Remove unused local variables.
5886 (ff-get-file-name): Use string-match-p.
5887 (ff-all-dirs-under): Use ignore-errors.
5889 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
5890 (follow-select-if-visible): Remove unused local variable.
5892 * forms.el (read-file-filter): Move declaration.
5893 (forms--make-format, forms--make-parser, forms-insert-record):
5894 Quote function with #'.
5895 (forms--update): Use string-match-p. Quote function with #'.
5897 * help-mode.el (help-dir-local-var-def): Mark unused argument.
5898 (help-make-xrefs): Use looking-at-p.
5899 (help-xref-on-pp): Use looking-at-p, ignore-errors.
5901 * ibuffer.el (ibuffer-ext-visible-p): Declare.
5902 (ibuffer-confirm-operation-on): Use string-match-p.
5904 * msb.el (msb-item-handler, msb-dired-item-handler):
5905 Mark unused arguments.
5907 * ses.el (ses-decode-cell-symbol)
5908 (ses-kill-override): Remove unused local variable.
5909 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
5910 (ses-load): Use ignore-errors, looking-at-p.
5911 (ses-jump-safe): Use ignore-errors.
5912 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
5914 * tabify.el (untabify, tabify): Mark unused arguments.
5916 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
5917 Mark unused argument.
5918 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
5919 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
5921 * emacs-lisp/timer.el (timer--time): Define setter with
5922 gv-define-setter to avoid deprecation warning.
5924 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
5925 (*record-cmpl-statistics-p*): Remove (was commented out).
5926 (cmpl-statistics-block): Remove (body was commented out).
5927 All callers changed.
5928 (add-completions-from-buffer, load-completions-from-file):
5929 Remove unused variables.
5931 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
5933 * filecache.el (file-cache-delete-file-list):
5934 Print message only when told so.
5935 (file-cache-files-matching): Use #' in mapconcat argument.
5937 * ffap.el (ffap-url-at-point): Fix reference to variable
5938 thing-at-point-default-mail-uri-scheme.
5940 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
5942 * subr.el (define-error): New function.
5943 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
5944 error-file-not-found and define with define-error.
5945 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
5946 and define with define-error.
5947 * userlock.el (file-locked, file-supersession):
5948 * simple.el (mark-inactive):
5949 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
5950 * progmodes/ada-mode.el (ada-mode-errors):
5951 * play/life.el (life-extinct):
5952 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
5953 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
5954 * nxml/rng-util.el (rng-error):
5955 * nxml/rng-uri.el (rng-uri-error):
5956 * nxml/rng-match.el (rng-compile-error):
5957 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
5958 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
5959 * nxml/nxml-rap.el (nxml-scan-error):
5960 * nxml/nxml-outln.el (nxml-outline-error):
5961 * net/soap-client.el (soap-error):
5962 * net/gnutls.el (gnutls-error):
5963 * net/ange-ftp.el (ftp-error):
5964 * mpc.el (mpc-proc-error):
5965 * json.el (json-error, json-readtable-error, json-unknown-keyword)
5966 (json-number-format, json-string-escape, json-string-format)
5967 (json-key-format, json-object-format):
5968 * jka-compr.el (compression-error):
5969 * international/quail.el (quail-error):
5970 * international/kkc.el (kkc-error):
5971 * emacs-lisp/ert.el (ert-test-failed):
5972 * calc/calc.el (calc-error, inexact-result, math-overflow)
5974 * bookmark.el (bookmark-error-no-filename):
5975 * epg.el (epg-error): Define with define-error.
5977 * time.el (display-time-event-handler)
5978 (display-time-next-load-average): Don't call sit-for since it seems
5979 unnecessary (bug#15045).
5981 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
5982 Use #' instead of ' to quote functions.
5983 (checkdoc-output-mode): Use setq-local.
5984 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
5985 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
5986 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
5987 (checkdoc-ispell, checkdoc-ispell-current-buffer)
5988 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
5989 (checkdoc-ispell-message-text, checkdoc-ispell-start)
5990 (checkdoc-ispell-continue, checkdoc-ispell-comments)
5991 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
5993 * ido.el (ido-completion-help): Fix up compiler warning.
5995 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
5997 * frameset.el (frameset-p): Add autoload cookie.
5998 (frameset--jump-to-register): New function, based on code moved from
6000 (frameset-to-register): Move from register.el. Adapt to `registerv'.
6002 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
6003 (frameset-restore, frameset-save, frameset-session-filter-alist):
6004 Remove declarations.
6005 (register-alist): Doc fix.
6006 (frameset-to-register): Move to frameset.el.
6007 (jump-to-register, describe-register-1): Remove frameset-specific code.
6009 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6011 * allout-widgets.el (allout-widgets-pre-command-business)
6012 (allout-widgets-post-command-business)
6013 (allout-widgets-after-change-handler)
6014 (allout-decorate-item-and-context, allout-set-boundary-marker)
6015 (allout-body-modification-handler)
6016 (allout-graphics-modification-handler): Mark ignored arguments.
6017 (allout-widgets-post-command-business)
6018 (allout-widgets-exposure-change-processor)
6019 (allout-widgets-exposure-undo-processor)
6020 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
6021 (allout-parse-item-at-point, allout-decorate-item-guides)
6022 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
6023 * allout.el (epa-passphrase-callback-function): Declare.
6024 (allout-overlay-insert-in-front-handler)
6025 (allout-overlay-interior-modification-handler)
6026 (allout-isearch-end-handler, allout-chart-siblings)
6027 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
6028 (allout-yank-processing, allout-process-exposed)
6029 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
6030 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
6031 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
6032 (lisp-indent-defform): Mark ignored arguments.
6033 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
6034 (calculate-lisp-indent): Remove unused variables.
6035 * international/characters.el (indian-2-column, arabic-2-column)
6036 (tibetan): Mark ignored arguments.
6037 (use-cjk-char-width-table): Mark ignored arguments.
6038 Remove unused variables.
6039 * international/fontset.el (build-default-fontset-data)
6040 (x-compose-font-name, create-fontset-from-fontset-spec):
6041 Mark ignored arguments.
6042 (fontset-plain-name): Remove unused variables.
6043 * international/mule.el (charset-id, charset-bytes, generic-char-p)
6044 (keyboard-coding-system): Mark ignored arguments.
6045 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
6046 * help.el (resize-temp-buffer-window):
6047 * window.el (display-buffer-in-major-side-window)
6048 (display-buffer-in-side-window, display-buffer-in-previous-window):
6049 Remove unused variables.
6050 * isearch.el (isearch-forward-symbol):
6051 * version.el (emacs-bzr-version-bzr):
6052 * international/mule-cmds.el (current-language-environment):
6053 * term/common-win.el (x-handle-iconic, x-handle-geometry)
6055 * term/pc-win.el (x-list-fonts, x-display-planes)
6056 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
6057 (x-server-version, x-display-screens, x-display-mm-height)
6058 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
6059 (x-selection-owner-p, x-own-selection-internal)
6060 (x-disown-selection-internal, x-get-selection-internal)
6061 (msdos-initialize-window-system):
6062 * term/tty-colors.el (tty-color-alist, tty-color-clear):
6063 * term/x-win.el (x-handle-no-bitmap-icon):
6064 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
6065 (vc-default-find-file-hook, vc-default-extra-menu):
6066 Mark ignored arguments.
6068 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6070 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
6071 break-condition in the context of the debugged code (bug#12685).
6073 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
6076 Do not use an overlay to highlight the last prompt. (Bug#14744)
6077 (comint-mode): Make comint-last-prompt buffer local.
6078 (comint-last-prompt): New variable.
6079 (comint-last-prompt-overlay): Remove. Superseded by
6081 (comint-snapshot-last-prompt, comint-output-filter):
6082 Use comint-last-prompt.
6084 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6086 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
6087 (frameset-save): Check validity of the resulting frameset.
6089 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
6091 * ido.el (ido-record-command): Add doc string.
6093 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6095 * frameset.el (frameset): Do not disable creation of the default
6096 frameset-p predicate. Doc fix.
6097 (frameset-valid-p): New function, copied from the old predicate-p.
6098 Add additional checks.
6099 (frameset-restore): Check with frameset-valid-p.
6100 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
6101 (frameset-name, frameset-description, frameset-properties)
6102 (frameset-states): Add docstring.
6103 (frameset-session-filter-alist, frameset-persistent-filter-alist)
6104 (frameset-filter-alist): Doc fixes.
6106 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6108 * frameset.el (frameset-p, frameset-prop): Doc fixes.
6110 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6112 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
6113 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
6114 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
6115 (byte-compile-normal-call): Remove obsolescence check.
6117 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6119 * frameset.el (frameset-restore): Doc fix.
6121 * register.el (frameset-frame-id, frameset-frame-with-id)
6122 (frameset-p, frameset-restore, frameset-save): Declare.
6123 (register-alist): Document framesets.
6124 (frameset-session-filter-alist): Declare.
6125 (frameset-to-register): New function.
6126 (jump-to-register): Implement jumping to framesets. Doc fix.
6127 (describe-register-1): Describe framesets.
6129 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
6131 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
6133 * desktop.el (desktop-save-frameset): Use new frameset-save args.
6134 Use lexical-binding.
6136 * frameset.el (frameset): Use type vector, not list (incompatible
6137 change). Do not declare a new constructor, use the default one.
6138 Upgrade suggested properties `app', `name' and `desc' to slots `app',
6139 `name' and `description', respectively, and add read-only slot
6140 `timestamp'. Doc fixes.
6141 (frameset-copy, frameset-persistent-filter-alist)
6142 (frameset-filter-alist, frameset-switch-to-gui-p)
6143 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
6144 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
6145 (frameset-filter-iconified, frameset-keep-original-display-p):
6147 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
6148 Rename from frameset-filter-(save|restore)-param. All callers changed.
6150 (frameset-p): Adapt to change to vector and be more thorough.
6151 Change arg name to OBJECT. Doc fix.
6152 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
6153 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
6154 All callers changed.
6155 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
6156 All callers changed.
6157 (frameset--record-minibuffer-relationships): Rename from
6158 frameset--process-minibuffer-frames. All callers changed.
6159 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
6160 Use new default constructor (again). Doc fix.
6161 (frameset--find-frame-if): Rename from `frameset--find-frame.
6162 All callers changed.
6163 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
6164 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
6166 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
6167 PARAMETERS and WINDOW-STATE, respectively.
6168 (frameset-restore): Add new keyword argument PREDICATE.
6169 Reset frameset--target-display to nil. Doc fix.
6171 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
6173 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
6175 (bat-mode-syntax-table): Mark \n as end-of-comment.
6176 (bat-font-lock-keywords): Remove comment rule.
6178 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
6179 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
6181 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
6182 (byte-compile-callargs-warn): Use `push'.
6183 (byte-compile-arglist-warn): Ignore higher-order "calls".
6184 (byte-compile-file-form-autoload): Use `pcase'.
6185 (byte-compile-function-form): If quoting a symbol, check that it exists.
6187 2013-08-07 Eli Zaretskii <eliz@gnu.org>
6189 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
6190 and add a few popular commands found in batch files.
6191 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
6192 (dos-mode): Doc fixes.
6194 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
6196 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
6197 (dos-mode): Use setq-local. Add space after "rem".
6198 (dos-mode-syntax-table): Don't use "w" for symbol chars.
6199 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
6201 2013-08-07 Arni Magnusson <arnima@hafro.is>
6203 * progmodes/dos.el: New file.
6204 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
6207 2013-08-06 Glenn Morris <rgm@gnu.org>
6209 * calendar/calendar.el: Add new faces, and day-header-array.
6210 (calendar-weekday-header, calendar-weekend-header)
6211 (calendar-month-header): New faces.
6212 (calendar-day-header-construct): New function.
6213 (calendar-day-header-width): Also :set calendar-day-header-array.
6214 (calendar-american-month-header, calendar-european-month-header)
6215 (calendar-iso-month-header): Use calendar- faces.
6216 (calendar-generate-month):
6217 Use calendar-day-header-array for day headers; apply faces to them.
6218 (calendar-mode): Check calendar-font-lock-keywords non-nil.
6219 (calendar-abbrev-construct): Add optional maxlen argument.
6220 (calendar-day-name-array): Doc fix.
6221 (calendar-day-name-array, calendar-abbrev-length)
6222 (calendar-day-abbrev-array):
6223 Also :set calendar-day-header-array, and maybe redraw.
6224 (calendar-day-header-array): New option. (Bug#15007)
6225 (calendar-font-lock-keywords): Set to nil and make obsolete.
6226 (calendar-day-name): Add option to use header array.
6228 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
6230 * net/shr.el (shr-render-td): Remove debugging.
6231 (shr-render-td): Make width computation consistent by defaulting
6232 all zero-width columns to 10 characters. This may not be optimal,
6233 but it's at least consistent.
6234 (shr-make-table-1): Redo last change to fix the real problem in
6237 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
6239 * files.el (cache-long-line-scans):
6240 Make obsolete alias to `cache-long-scans'.
6242 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
6244 * frameset.el (frameset, frameset-filter-alist)
6245 (frameset-filter-params, frameset-save, frameset--reuse-frame)
6246 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
6247 (frameset-compute-pos): Rename from frameset--compute-pos,
6249 (frameset-move-onscreen): Use frameset-compute-pos.
6250 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
6252 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
6253 Fix typos in docstrings.
6255 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
6257 * frame.el (get-other-frame): Tiny cleanup.
6259 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
6261 * vc/vc.el (vc-default-ignore-completion-table):
6262 Silence byte-compiler warning.
6264 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
6265 slot , which can indeed be nil.
6266 (frameset-live-filter-alist, frameset-persistent-filter-alist):
6267 Move entry for `left' from persistent to live filter alist.
6268 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
6270 (frameset-filter-params): When restoring a frame, copy items added to
6271 `filtered', to avoid unwittingly modifying the original parameters.
6272 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
6273 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
6275 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
6276 to use looking-at-p instead of looking-at. (Bug#15028)
6278 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
6280 Revert introduction of isearch-filter-predicates (bug#14714).
6281 Rely on add-function instead.
6282 * isearch.el (isearch-filter-predicates): Rename it back to
6283 isearch-filter-predicate.
6284 (isearch-message-prefix): Use advice-function-mapc and advice
6285 properties to get the isearch-message-prefix.
6286 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
6287 instead of run-hook-with-args-until-failure.
6288 (isearch-filter-visible): Not obsolete any more.
6289 * loadup.el: Preload nadvice.
6290 * replace.el (perform-replace): Revert to funcall
6291 instead of run-hook-with-args-until-failure.
6292 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
6293 * dired-aux.el (dired-isearch-filenames-mode): Rename from
6294 dired-isearch-filenames-toggle; make it into a proper minor mode.
6295 Use add/remove-function.
6296 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
6297 Call the minor-mode rather than add/remove-hook.
6298 (dired-isearch-filter-filenames):
6299 Remove isearch-message-prefix property.
6300 * info.el (Info--search-loop): New function, extracted from Info-search.
6301 Funcall isearch-filter-predicate instead of
6302 run-hook-with-args-until-failure isearch-filter-predicates.
6303 (Info-search): Use it.
6304 (Info-mode): Use isearch-filter-predicate instead of
6305 isearch-filter-predicates.
6307 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
6309 Do not call to `selected-window' where it is assumed by default.
6310 Affected functions are `window-minibuffer-p', `window-dedicated-p',
6311 `window-hscroll', `window-width', `window-height', `window-buffer',
6312 `window-frame', `window-start', `window-point', `next-window'
6313 and `window-display-table'.
6314 * abbrev.el (abbrev--default-expand):
6315 * bs.el (bs--show-with-configuration):
6316 * buff-menu.el (Buffer-menu-mouse-select):
6317 * calc/calc.el (calc):
6318 * calendar/calendar.el (calendar-generate-window):
6319 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
6321 * comint.el (send-invisible, comint-dynamic-complete-filename)
6322 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
6323 * completion.el (complete):
6324 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
6325 * disp-table.el (describe-current-display-table):
6326 * doc-view.el (doc-view-insert-image):
6327 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
6328 * ehelp.el (with-electric-help):
6329 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
6330 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
6331 * emacs-lisp/helper.el (Helper-help-scroller):
6332 * emulation/cua-base.el (cua--post-command-handler-1):
6333 * eshell/esh-mode.el (eshell-output-filter):
6334 * ffap.el (ffap-gnus-wrapper):
6335 * help-macro.el (make-help-screen):
6336 * hilit-chg.el (highlight-compare-buffers):
6337 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
6338 * hl-line.el (global-hl-line-highlight):
6339 * icomplete.el (icomplete-simple-completing-p):
6340 * isearch.el (isearch-done):
6341 * jit-lock.el (jit-lock-stealth-fontify):
6342 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
6343 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
6344 * mpc.el (mpc-tagbrowser, mpc):
6345 * net/rcirc.el (rcirc-any-buffer):
6346 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
6347 * play/landmark.el (landmark-max-width, landmark-max-height):
6348 * play/zone.el (zone):
6349 * progmodes/compile.el (compilation-goto-locus):
6350 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
6351 * progmodes/etags.el (find-tag-other-window):
6352 * progmodes/fortran.el (fortran-column-ruler):
6353 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
6354 * progmodes/verilog-mode.el (verilog-point-text):
6355 * reposition.el (reposition-window):
6356 * rot13.el (toggle-rot13-mode):
6357 * server.el (server-switch-buffer):
6358 * shell.el (shell-dynamic-complete-command)
6359 (shell-dynamic-complete-environment-variable):
6360 * simple.el (insert-buffer, set-selective-display)
6361 (delete-completion-window):
6362 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
6363 (speedbar-recenter):
6364 * startup.el (fancy-splash-head):
6365 * textmodes/ispell.el (ispell-command-loop):
6366 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
6367 * tutorial.el (help-with-tutorial):
6368 * vc/add-log.el (add-change-log-entry):
6369 * vc/compare-w.el (compare-windows):
6370 * vc/ediff-help.el (ediff-indent-help-message):
6371 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
6372 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
6373 (ediff-setup-control-frame):
6374 * vc/emerge.el (emerge-position-region):
6375 * vc/pcvs-util.el (cvs-bury-buffer):
6376 * window.el (walk-windows, mouse-autoselect-window-select):
6377 * winner.el (winner-set-conf, winner-undo): Related users changed.
6379 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
6381 * frameset.el (frameset--set-id): Doc fix.
6382 (frameset-frame-id, frameset-frame-id-equal-p)
6383 (frameset-locate-frame-id): New functions.
6384 (frameset--process-minibuffer-frames, frameset--reuse-frame)
6385 (frameset-restore): Use them.
6387 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
6389 Do not call to `selected-frame' where it is assumed by default.
6390 Affected functions are `raise-frame', `redraw-frame',
6391 `frame-first-window', `frame-terminal' and `delete-frame'.
6392 * calendar/appt.el (appt-disp-window):
6393 * epg.el (epg-wait-for-completion):
6394 * follow.el (follow-delete-other-windows-and-split)
6395 (follow-avoid-tail-recenter):
6396 * international/mule.el (set-terminal-coding-system):
6397 * mail/rmail.el (rmail-mail-return):
6398 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
6399 * progmodes/f90.el (f90-add-imenu-menu):
6400 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
6401 * server.el (server-switch-buffer):
6402 * simple.el (delete-completion-window):
6404 * term/xterm.el (terminal-init-xterm-modify-other-keys)
6405 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
6406 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
6407 * vc/ediff.el (ediff-documentation): Related users changed.
6408 * frame.el (selected-terminal): Remove the leftover.
6410 2013-08-05 Glenn Morris <rgm@gnu.org>
6412 * calendar/calendar.el (calendar-generate-month):
6413 Fix for calendar-column-width != 1 + calendar-day-digit-width.
6414 (calendar-generate-month, calendar-font-lock-keywords):
6415 Fix for calendar-day-header-width > length of any day name.
6417 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
6419 * desktop.el (desktop-clear): Use new name of sort predicate.
6421 * frameset.el (frameset): Add docstring. Move :version property to its
6423 (frameset-copy): Rename from copy-frameset.
6424 (frameset-p): Check more thoroughly.
6425 (frameset-prop): Do not check for :version, which is no longer a prop.
6426 (frameset-live-filter-alist, frameset-persistent-filter-alist):
6427 Use new :never value instead of t.
6428 (frameset-filter-alist): Expand and clarify docstring.
6429 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
6430 (frameset-filter-minibuffer, frameset-filter-save-param)
6431 (frameset-filter-restore-param, frameset-filter-iconified):
6432 Add pointer to docstring of frameset-filter-alist.
6433 (frameset-filter-params): Rename filter values to be more meaningful:
6434 :never instead of t, and reverse the meanings of :save and :restore.
6435 (frameset--process-minibuffer-frames): Clarify error message.
6436 (frameset-save): Avoid unnecessary and confusing call to framep.
6437 Use new BOA constructor for framesets.
6438 (frameset--reuse-list): Doc fix.
6439 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
6440 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
6441 (frameset-minibufferless-first-p): Doc fix.
6442 Rename from frameset-sort-frames-for-deletion.
6443 (frameset-restore): Doc fixes. Use new function names.
6444 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
6446 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
6448 * desktop.el (desktop-restore-forces-onscreen)
6449 (desktop-restore-reuses-frames): Document :keyword constant values.
6450 (desktop-filter-parameters-alist): Remove, now identical to
6451 frameset-filter-alist.
6452 (desktop--filter-tty*): Remove, moved to frameset.el.
6453 (desktop-save-frameset, desktop-restore-frameset):
6454 Do not pass :filters argument.
6456 * frameset.el (frameset-live-filter-alist)
6457 (frameset-persistent-filter-alist): New variables.
6458 (frameset-filter-alist): Use them. Add autoload cookie.
6459 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
6460 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
6461 `frameset--id' (it's supposed to be internal to frameset.el).
6462 (frameset--process-minibuffer-frames): Ditto. Doc fix.
6463 (frameset--initial-params): New function.
6464 (frameset--get-frame): Use it. Doc fix.
6465 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
6466 Accept :all, not 'all.
6467 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
6468 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
6469 with fbound symbols. Fix frame id matching, and remove matching ids if
6470 the frame being restored is deleted. Obey :delete.
6472 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
6474 * subr.el (macrop): New function.
6475 (text-clone--maintaining): New var.
6476 (text-clone--maintain): Rename from text-clone-maintain. Use it
6477 instead of inhibit-modification-hooks.
6479 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
6480 a proxy, so as handle autoloads and redefinitions of the target.
6481 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
6483 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
6484 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
6485 (pcase--mutually-exclusive-p): New function.
6486 (pcase--split-consp): Use it.
6487 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
6488 mutually exclusive with the current predicate.
6490 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
6491 (edebug-macrop): Remove. Use `macrop' instead.
6492 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
6494 * eshell/esh-cmd.el (eshell-macrop):
6495 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
6497 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
6499 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
6500 (advice-mapc): New function, using it.
6501 (advice-function-member-p): New function.
6502 (advice--normalize): Store the cdr in advice--saved-rewrite since
6503 that's the part that will be changed.
6504 (advice--symbol-function): New function.
6505 (advice-remove): Handle removal before the function is defined.
6506 Adjust to new advice--saved-rewrite.
6507 (advice-member-p): Use advice-function-member-p and
6508 advice--symbol-function.
6510 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
6512 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
6513 (frameset-filter-minibuffer): Doc fix.
6514 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
6515 (frameset--set-id, frameset--process-minibuffer-frames)
6516 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
6517 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
6519 * desktop.el (desktop-clear): Only delete frames when called
6520 interactively and desktop-restore-frames is non-nil. Doc fix.
6521 (desktop-read): Set desktop-saved-frameset to nil.
6523 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
6525 * vc/vc.el (vc-ignore): Rewrite.
6526 (vc-default-ignore-completion-table):
6528 (vc--add-line, vc--remove-regexp): New functions.
6530 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
6531 (vc-svn-ignore-completion-table): New function.
6533 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
6534 (vc-hg-ignore-completion-table):
6535 (vc-hg-find-ignore-file): New functions.
6537 * vc/vc-git.el (vc-git-ignore): Rewrite.
6538 (vc-git-ignore-completion-table):
6539 (vc-git-find-ignore-file): New functions.
6541 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
6543 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
6544 (vc-bzr-ignore-completion-table):
6545 (vc-bzr-find-ignore-file): New functions.
6547 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
6549 * frameset.el (frameset-prop): New function and setter.
6550 (frameset-save): Do not modify frame list passed by the caller.
6552 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
6554 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
6556 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
6558 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
6559 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
6561 * custom.el (custom-initialize-default, custom-initialize-set)
6562 (custom-initialize-reset, custom-initialize-changed): Affect the
6563 toplevel-default-value (bug#6275, bug#14586).
6564 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
6567 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
6569 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
6570 Add cl-def* expressions.
6572 * frameset.el (frameset-filter-params): Fix order of arguments.
6574 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
6576 Move code related to saving frames to frameset.el.
6577 * desktop.el: Require frameset.
6578 (desktop-restore-frames): Doc fix.
6579 (desktop-restore-reuses-frames): Rename from
6580 desktop-restoring-reuses-frames.
6581 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
6582 (desktop-clear): Clear frames too.
6583 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
6584 (desktop--filter-tty*, desktop-save, desktop-read):
6585 Use frameset functions.
6586 (desktop-before-saving-frames-functions, desktop--filter-*-color)
6587 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
6588 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
6589 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
6590 (desktop--process-minibuffer-frames, desktop-save-frames)
6591 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
6592 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
6593 (desktop--sort-states, desktop-restoring-frames-p)
6594 (desktop-restore-frames): Remove. Most code moved to frameset.el.
6595 (desktop-restoring-frameset-p, desktop-restore-frameset)
6596 (desktop--check-dont-save, desktop-save-frameset): New functions.
6597 (desktop--app-id): New constant.
6598 (desktop-first-buffer, desktop-buffer-ok-count)
6599 (desktop-buffer-fail-count): Move before first use.
6600 * frameset.el: New file.
6602 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
6604 * files.el: Use lexical-binding.
6605 (dir-locals-read-from-file): Remove unused `err' variable.
6606 (hack-dir-local-variables--warned-coding): New var.
6607 (hack-dir-local-variables): Use it to avoid repeated warnings.
6608 (make-backup-file-name--default-function): New function.
6609 (make-backup-file-name-function): Use it as default.
6610 (buffer-stale--default-function): New function.
6611 (buffer-stale-function): Use it as default.
6612 (revert-buffer-insert-file-contents--default-function): New function.
6613 (revert-buffer-insert-file-contents-function): Use it as default.
6614 (insert-directory): Avoid add-to-list.
6616 * autorevert.el (auto-revert-handler): Simplify.
6617 Use buffer-stale--default-function.
6619 2013-08-01 Tassilo Horn <tsdh@gnu.org>
6621 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
6623 * whitespace.el (whitespace-ensure-local-variables): New function.
6624 (whitespace-cleanup-region): Call it.
6625 (whitespace-turn-on): Call it.
6627 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
6629 Complete file name handlers.
6631 * net/tramp.el (tramp-handle-set-visited-file-modtime)
6632 (tramp-handle-verify-visited-file-modtime)
6633 (tramp-handle-file-notify-rm-watch): New functions.
6634 (tramp-call-process): Do not bind `default-directory'.
6636 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6637 Order alphabetically.
6638 [access-file, add-name-to-file, dired-call-process]:
6639 [dired-compress-file, file-acl, file-notify-rm-watch]:
6640 [file-ownership-preserved-p, file-selinux-context]:
6641 [make-directory-internal, make-symbolic-link, set-file-acl]:
6642 [set-file-selinux-context, set-visited-file-modtime]:
6643 [verify-visited-file-modtime]: Add handler.
6644 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
6646 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
6647 [file-notify-add-watch, file-notify-rm-watch]:
6648 [set-file-times, set-visited-file-modtime]:
6649 [verify-visited-file-modtime]: Add handler.
6650 (with-tramp-gvfs-error-message)
6651 (tramp-gvfs-handle-set-visited-file-modtime)
6652 (tramp-gvfs-fuse-file-name): Remove.
6653 (tramp-gvfs-handle-file-notify-add-watch)
6654 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
6655 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
6657 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6658 Order alphabetically.
6659 [file-notify-rm-watch ]: Use default Tramp handler.
6660 [executable-find]: Remove private handler.
6661 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
6662 `default-directory'.
6663 (tramp-sh-handle-executable-find)
6664 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
6665 (tramp-sh-file-gvfs-monitor-dir-process-filter)
6666 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
6667 Do not use `format' in `tramp-message'.
6669 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
6670 [file-notify-rm-watch, set-visited-file-modtime]:
6671 [verify-visited-file-modtime]: Add handler.
6672 (tramp-smb-call-winexe): Do not bind `default-directory'.
6674 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
6676 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
6678 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
6680 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
6682 (log-view-diff-changeset): Same.
6683 (log-view-diff-common): Call backend command `previous-revision'
6684 to find out the previous revision, in both cases. Swap the
6685 variables `to' and `fr', so that `fr' usually refers to the
6686 earlier revision (Bug#14989).
6688 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
6690 * ibuf-ext.el (ibuffer-filter-by-filename):
6691 Make it work with dired buffers too.
6693 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
6695 * emacs-lisp/re-builder.el (reb-color-display-p):
6696 * files.el (save-buffers-kill-terminal):
6697 * net/browse-url.el (browse-url):
6698 * server.el (server-save-buffers-kill-terminal):
6699 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
6700 Prefer nil to selected-frame for the first arg of frame-parameter.
6702 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
6704 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
6706 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
6708 * minibuffer.el (completion--twq-all): Try and preserve each
6709 completion's case choice (bug#14907).
6711 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
6713 * net/network-stream.el (open-network-stream): Mention the new
6714 :nogreeting parameter.
6715 (network-stream-open-starttls): Use the :nogreeting parameter
6718 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
6720 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
6721 more natural than popping.
6723 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
6724 (shr-urlify): Highlight under mouse.
6726 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
6728 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
6730 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
6732 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
6735 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
6736 point-min==1. Fix search string. Fix parentheses missing.
6738 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
6739 assume point-min==1. Fix search string. Fix parentheses missing.
6741 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
6743 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
6746 2013-07-29 Eli Zaretskii <eliz@gnu.org>
6748 * frame.el (frame-notice-user-settings): Avoid inflooping when the
6749 initial frame is minibuffer-less. (Bug#14841)
6751 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
6753 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
6756 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
6757 (tramp-maybe-open-connection): Use it.
6759 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
6761 * desktop.el (desktop--make-frame): Include `minibuffer' in the
6762 minimal set of parameters passed when creating a frame, because
6763 the minibuffer status of a frame cannot be changed later.
6765 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
6767 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
6768 replace-regexp-in-string and inadvertent omissions in previous change.
6769 (todo-filter-items): Ensure only file names are comma-separated in
6770 name of filtered items buffer.
6772 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
6774 * desktop.el: Optionally force offscreen frames back onscreen.
6775 (desktop-restoring-reuses-frames): New option.
6776 (desktop--compute-pos, desktop--move-onscreen): New functions.
6777 (desktop--make-frame): Use desktop--move-onscreen.
6779 2013-07-27 Alan Mackenzie <acm@muc.de>
6781 Fontify a Java generic method as a function.
6782 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
6785 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
6787 * calendar/todo-mode.el: Add command to rename todo files.
6788 (todo-rename-file): New command.
6789 (todo-key-bindings-t): Add key binding for it. Change the
6790 bindings of todo-filter-regexp-items(-multifile) to use `x'
6791 instead of `r', since the latter is better suited to the new
6794 2013-07-27 Alan Mackenzie <acm@muc.de>
6796 Make Java try-with-resources statement parse properly.
6797 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
6798 (c-block-stmt-1-2-key): New language constants/variables.
6799 * progmodes/cc-engine.el (c-beginning-of-statement-1)
6800 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
6801 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
6802 with c-block-stmt-1-2-key.
6804 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
6806 * desktop.el (desktop--make-frame): Apply most frame parameters after
6807 creating the frame to force (partially or totally) offscreen frames to
6808 be restored as such.
6810 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
6812 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
6815 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6817 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
6818 `base' arg of backtrace-frame.
6820 2013-07-26 Eli Zaretskii <eliz@gnu.org>
6822 * simple.el (list-processes): Doc fix.
6824 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
6826 * desktop.el (desktop--select-frame):
6827 Try harder to reuse existing frames.
6829 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6831 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
6832 (edebug-eval): Use backtrace-eval.
6833 (edebug--display, edebug--recursive-edit): Don't let-bind the
6834 edebug-outer-* vars that keep track of variables we locally let-bind.
6835 (edebug-outside-excursion): Don't restore outside values of locally
6837 (edebug--display): Use user-error.
6838 (cl-lexical-debug, cl-debug-env): Remove.
6840 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
6842 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
6843 are restored to be sure that they are visible before deleting any
6846 2013-07-26 Matthias Meulien <orontee@gmail.com>
6848 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
6849 vc-print-root-log. (Bug#14948)
6851 2013-07-26 Richard Stallman <rms@gnu.org>
6853 Add aliases for encrypting mail.
6854 * epa.el (epa-mail-aliases): New option.
6855 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
6856 Bind inhibit-read-only so read-only text doesn't ruin everything.
6857 (epa-mail-default-recipients): New subroutine broken out.
6858 Handle epa-mail-aliases.
6860 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6862 Add support for lexical variables to the debugger's `e' command.
6863 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
6864 vars, except for debugger-outer-match-data.
6865 (debugger-frame-number): Move check for "on a function call" from
6866 callers into it. Add `skip-base' argument.
6867 (debugger-frame, debugger-frame-clear): Simplify accordingly.
6868 (debugger-env-macro): Only reset the state stored in non-variables,
6869 i.e. current-buffer and match-data.
6870 (debugger-eval-expression): Rewrite using backtrace-eval.
6871 * subr.el (internal--called-interactively-p--get-frame): Remove.
6872 (called-interactively-p):
6873 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
6874 `base' arg of backtrace-frame instead.
6876 2013-07-26 Glenn Morris <rgm@gnu.org>
6878 * align.el (align-regexp): Doc fix. (Bug#14857)
6879 (align-region): Explicit error if subexpression missing/does not match.
6881 * simple.el (global-visual-line-mode):
6882 Do not duplicate the mode lighter. (Bug#14858)
6884 2013-07-25 Martin Rudalics <rudalics@gmx.at>
6886 * window.el (display-buffer): In display-buffer bind
6887 split-window-keep-point to t, bug#14829.
6889 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
6891 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
6892 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
6893 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
6894 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
6896 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
6897 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
6899 2013-07-25 Glenn Morris <rgm@gnu.org>
6901 * dired-x.el (dired-mark-extension): Convert comment to doc string.
6903 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
6905 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
6906 parameter to modify-frame-parameters if the value has not changed;
6907 this is a workaround for bug#14949.
6908 (desktop--make-frame): On cl-delete-if call, check parameter name,
6911 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
6913 * vc/vc.el (vc-ignore): New function.
6915 * vc/vc-svn.el (vc-svn-ignore): New function.
6917 * vc/vc-hg.el (vc-hg-ignore): New function.
6919 * vc/vc-git.el (vc-git-ignore): New function.
6921 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
6922 (vc-dir-ignore): New function.
6924 * vc/vc-cvs.el (vc-cvs-ignore): New function.
6925 (cvs-append-to-ignore): Move here from pcvs.el.
6927 * vc/vc-bzr.el (vc-bzr-ignore): New function.
6929 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
6931 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
6933 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
6934 (desktop-restore-frames): Warn when deleting an existing frame failed.
6936 2013-07-24 Glenn Morris <rgm@gnu.org>
6938 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
6940 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
6942 * filenotify.el (file-notify-supported-p):
6943 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
6946 * autorevert.el (auto-revert-use-notify):
6947 (auto-revert-notify-add-watch):
6948 * net/tramp.el (tramp-file-name-for-operation):
6949 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6950 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6951 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6952 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6953 Remove `file-notify-supported-p' entry.
6955 2013-07-24 Glenn Morris <rgm@gnu.org>
6957 * printing.el: Replace all uses of deleted ps-windows-system,
6958 ps-lp-system, ps-flatten-list with lpr- versions.
6960 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
6962 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
6963 checked with memq (bug#14935).
6965 * files.el (revert-buffer-function): Use a non-nil default.
6966 (revert-buffer-preserve-modes): Declare var to
6967 provide access to the `preserve-modes' argument.
6968 (revert-buffer): Let-bind it.
6969 (revert-buffer--default): New function, extracted from revert-buffer.
6971 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
6973 * lpr.el: Signal print errors more prominently.
6974 (print-region-function): Don't default to nil.
6975 (lpr-print-region): New function, extracted from print-region-1.
6976 Check lpr's return value and signal an error in case of problem.
6977 (print-region-1): Use it.
6978 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
6980 (ps-printer-name): Default to nil.
6981 (ps-printer-name-option): Default to lpr-printer-switch.
6982 (ps-print-region-function): Don't default to nil.
6983 (ps-postscript-code-directory): Simplify default.
6984 (ps-do-despool): Use lpr-print-region to properly check the outcome.
6985 (ps-string-list, ps-eval-switch, ps-flatten-list)
6986 (ps-flatten-list-1): Remove.
6987 (ps-multibyte-buffer): Avoid setq.
6988 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
6989 (print-region-function, ps-print-region-function): Don't set them here.
6991 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
6993 * ido.el (ido-fractionp):
6994 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
6995 (ido-max-file-prompt-width, ido-unc-hosts-cache)
6996 (ido-max-directory-size, ido-max-dir-file-cache)
6997 (ido-decorations): Doc fix.
6999 * ansi-color.el: Fix old URL.
7001 2013-07-23 Michael R. Mauger <michael@mauger.com>
7003 * progmodes/sql.el: Version 3.3
7004 (sql-product-alist): Improve oracle :prompt-cont-regexp.
7005 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
7006 (sql-interactive-remove-continuation-prompt): Rewrite, use
7007 functions above. Fix continuation prompt and complete output line
7009 (sql-redirect-one, sql-execute): Use `read-only-mode' on
7010 redirected output buffer.
7011 (sql-mode): Restore deleted code (Bug#13591).
7013 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
7015 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
7017 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
7019 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
7021 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7022 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7023 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
7025 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
7027 * desktop.el (desktop-clear): Simplify; remove useless checks
7028 against invalid buffer names.
7029 (desktop-list*): Use cl-list*.
7030 (desktop-buffer-info, desktop-create-buffer): Simplify.
7032 2013-07-23 Leo Liu <sdl.web@gmail.com>
7034 * bookmark.el (bookmark-make-record): Restore NAME as a default
7037 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
7039 * emacs-lisp/autoload.el (autoload--setup-output): New function,
7040 extracted from autoload--insert-text.
7041 (autoload--insert-text): Remove.
7042 (autoload--print-cookie-text): New function, extracted from
7043 autoload--insert-cookie-text.
7044 (autoload--insert-cookie-text): Remove.
7045 (autoload-generate-file-autoloads): Adjust calls accordingly.
7047 * winner.el (winner-hook-installed-p): Remove.
7048 (winner-mode): Simplify accordingly.
7050 * subr.el (add-to-list): Fix compiler-macro when `append' is
7051 not constant. Don't use `cl-member' for the base case.
7053 * progmodes/subword.el: Fix boundary case (bug#13758).
7054 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
7056 (subword-backward-regexp): Make it a constant.
7057 (subword-forward-internal): Don't treat a trailing capital as the
7058 beginning of a word.
7060 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
7062 * emacs-lisp/package.el (package-menu-mode): Don't modify the
7063 global value of tabulated-list-revert-hook (bug#14930).
7065 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
7067 * desktop.el: Require 'cl-lib.
7068 (desktop-before-saving-frames-functions): New hook.
7069 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
7070 for frames being saved. Rename from desktop--save-minibuffer-frames.
7071 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
7072 Do not save frames with non-nil `desktop-dont-save' parameter.
7073 Filter out deleted frames.
7074 (desktop--find-frame): Use cl-find-if.
7075 (desktop--select-frame): Use cl-(first|second|third) to access values
7077 (desktop--make-frame): Use cl-delete-if.
7078 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
7079 (desktop-restore-frames): Use cl-(first|second|third) to access values
7080 of desktop-mini. Look for visible frame at the end, not while
7083 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
7084 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
7085 Use string-match-p, looking-at-p (bug#14927).
7087 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
7089 * desktop.el (desktop-saved-frame-states):
7090 Rename from desktop--saved-states; all users changed.
7091 (desktop-save-frames): Rename from desktop--save-frames.
7092 Do not save state to desktop file.
7093 (desktop-save): Save desktop-saved-frame-states to desktop file
7095 (desktop-restoring-frames-p): New function.
7096 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
7097 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
7098 buffer-lists when restoring frames. Suggested by Martin Rudalics.
7100 * desktop.el: Correctly restore iconified frames.
7101 (desktop--filter-iconified-position): New function.
7102 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
7104 2013-07-20 Glenn Morris <rgm@gnu.org>
7106 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
7107 Let `message' do the formatting.
7108 (def-gdb-preempt-display-buffer): Add explicit format.
7110 * image-dired.el (image-dired-track-original-file):
7111 Use with-current-buffer.
7112 (image-dired-track-thumbnail): Use with-current-buffer.
7113 Avoid changing point of wrong window.
7115 * image-dired.el (image-dired-track-original-file):
7116 Avoid changing point of wrong window. (Bug#14909)
7118 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
7120 * progmodes/gdb-mi.el (gdb-done-or-error):
7121 Guard against "%" in gdb output. (Bug#14127)
7123 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
7125 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
7128 * international/mule.el (coding-system-iso-2022-flags): Fix last
7131 2013-07-20 Kenichi Handa <handa@gnu.org>
7133 * international/mule.el (coding-system-iso-2022-flags):
7134 Add `8-bit-level-4'. (Bug#8522)
7136 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7138 * net/shr.el (shr-mouse-browse-url): New command and keystroke
7141 * net/eww.el (eww-process-text-input): Allow inputting when the
7142 point is at the start of the line, as the properties aren't
7145 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
7148 2013-07-19 Richard Stallman <rms@gnu.org>
7150 * epa.el (epa-popup-info-window): Doc fix.
7152 * subr.el (split-string): New arg TRIM.
7154 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
7156 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
7157 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
7159 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
7161 * filenotify.el (file-notify--library): Rename from
7162 `file-notify-support'. Do not autoload. Adapt all uses.
7163 (file-notify-supported-p): New defun.
7165 * autorevert.el (auto-revert-use-notify):
7166 Use `file-notify-supported-p' instead of `file-notify-support'.
7168 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
7170 * net/tramp.el (tramp-file-name-for-operation):
7171 Add `file-notify-supported-p'.
7173 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
7175 (tramp-sh-file-name-handler-alist): Add it as handler for
7176 `file-notify-supported-p '.
7178 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7179 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7180 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
7181 Add `ignore' as handler for `file-notify-*' functions.
7183 2013-07-17 Eli Zaretskii <eliz@gnu.org>
7185 * simple.el (line-move-partial, line-move): Don't start vscroll or
7186 scroll-up if the current line is not taller than the window.
7189 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
7191 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
7192 highlight question marks in the method names as strings.
7193 (ruby-block-beg-keywords): Inline.
7194 (ruby-font-lock-keyword-beg-re): Extract from
7195 `ruby-font-lock-keywords'.
7197 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
7199 * frame.el (blink-cursor-blinks): New defcustom.
7200 (blink-cursor-blinks-done): New defvar.
7201 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
7202 (blink-cursor-timer-function): Check if number of blinks has been
7204 (blink-cursor-suspend, blink-cursor-check): New defuns.
7206 2013-07-15 Glenn Morris <rgm@gnu.org>
7208 * edmacro.el (edmacro-format-keys): Fix previous change.
7210 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
7212 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
7213 The hack didn't work outside English locales anyway.
7215 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
7217 * simple.el (define-alternatives): Rename from alternatives-define,
7218 per RMS' suggestion.
7220 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
7222 * desktop.el (desktop-restore-frames): Change default to t.
7223 (desktop-restore-in-current-display): Now offer more options.
7224 (desktop-restoring-reuses-frames): New customization option.
7225 (desktop--saved-states): Doc fix.
7226 (desktop-filter-parameters-alist): New variable, renamed and expanded
7227 from desktop--excluded-frame-parameters.
7228 (desktop--target-display): New variable.
7229 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
7230 (desktop--filter-tty*, desktop--filter-*-color)
7231 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
7232 (desktop--filter-save-desktop-parm)
7233 (desktop-restore-in-original-display-p): New functions.
7234 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
7235 (desktop--save-minibuffer-frames): New function, inspired by a similar
7236 function from Martin Rudalics.
7237 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
7238 (desktop--restore-in-this-display-p): Remove.
7239 (desktop--find-frame): Rename from desktop--find-frame-in-display
7240 and add predicate argument.
7241 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
7242 (desktop--reuse-list): New variable.
7243 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
7245 (desktop--restore-frames): Add support for "minibuffer-special" frames.
7247 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
7249 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
7251 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
7253 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7254 Highlight conversion methods on Kernel.
7256 2013-07-13 Alan Mackenzie <acm@muc.de>
7258 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
7259 and comment it out. This out-commenting enables certain C++
7260 declarations to be parsed correctly.
7262 2013-07-13 Eli Zaretskii <eliz@gnu.org>
7264 * international/mule.el (define-coding-system): Doc fix.
7266 * simple.el (default-font-height): Don't call font-info if the
7267 frame's default font didn't change since the frame was created.
7270 2013-07-13 Leo Liu <sdl.web@gmail.com>
7272 * ido.el (ido-read-file-name): Guard against non-symbol value.
7274 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
7276 * progmodes/python.el (python-imenu--build-tree): Fix corner case
7279 2013-07-13 Leo Liu <sdl.web@gmail.com>
7281 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
7282 ido-set-matches call. (Bug#6852)
7284 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
7286 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
7287 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
7289 (ruby-font-lock-keywords): Distinguish calls to functions with
7290 module-like names from module references. Highlight character
7293 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
7295 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
7296 (gdb-send): Handle continued commands. (Bug#14847)
7298 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
7300 * desktop.el (desktop--v2s): Remove unused local variable.
7301 (desktop-save-buffer): Make defvar-local; adjust docstring.
7302 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
7303 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
7305 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
7307 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
7309 2013-07-12 Eli Zaretskii <eliz@gnu.org>
7311 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
7314 2013-07-12 Glenn Morris <rgm@gnu.org>
7316 * doc-view.el: Require cl-lib at runtime too.
7317 (doc-view-remove-if): Remove.
7318 (doc-view-search-next-match, doc-view-search-previous-match):
7321 * edmacro.el: Require cl-lib at runtime too.
7322 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
7323 (edmacro-mismatch, edmacro-subseq): Remove.
7325 * shadowfile.el: Require cl-lib.
7326 (shadow-remove-if): Remove.
7327 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
7330 * wid-edit.el: Require cl-lib.
7331 (widget-choose): Use cl-remove-if.
7332 (widget-remove-if): Remove.
7334 * progmodes/ebrowse.el: Require cl-lib at runtime too.
7335 (ebrowse-delete-if-not): Remove.
7336 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
7337 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
7338 Use cl-delete-if-not.
7340 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
7342 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
7343 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
7345 2013-07-12 Leo Liu <sdl.web@gmail.com>
7347 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
7349 2013-07-11 Glenn Morris <rgm@gnu.org>
7351 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
7352 (edebug-gensym-index, edebug-gensym):
7353 Remove reimplementation of cl-gensym.
7354 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
7356 * thumbs.el: Require cl-lib at run-time too.
7357 (thumbs-gensym-counter, thumbs-gensym):
7358 Remove reimplementation of cl-gensym.
7359 (thumbs-temp-file): Use cl-gensym.
7361 * emacs-lisp/ert.el: Require cl-lib at runtime too.
7362 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
7363 (ert--intersection, ert--set-difference, ert--set-difference-eq)
7364 (ert--union, ert--gensym-counter, ert--gensym-counter)
7365 (ert--coerce-to-vector, ert--remove*, ert--string-position)
7366 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
7367 (ert-make-test-unbound, ert--expand-should-1)
7368 (ert--expand-should, ert--should-error-handle-error)
7369 (should-error, ert--explain-equal-rec)
7370 (ert--plist-difference-explanation, ert-select-tests)
7371 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
7372 Use cl-lib functions rather than reimplementations.
7374 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
7376 * net/tramp.el (tramp-methods): Extend docstring.
7377 (tramp-connection-timeout): New defcustom.
7378 (tramp-error-with-buffer): Reset timestamp only when appropriate.
7379 (with-tramp-progress-reporter): Simplify.
7380 (tramp-process-actions): Improve messages.
7382 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
7383 * net/tramp-sh.el (tramp-maybe-open-connection):
7384 Use `tramp-connection-timeout'.
7385 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
7388 2013-07-11 Leo Liu <sdl.web@gmail.com>
7390 * ido.el (ido-read-file-name): Conform to the requirements of
7391 read-file-name. (Bug#11861)
7392 (ido-read-directory-name): Conform to the requirements of
7393 read-directory-name.
7395 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
7397 * subr.el (delay-warning): New function.
7399 2013-07-10 Eli Zaretskii <eliz@gnu.org>
7401 * simple.el (default-line-height): New function.
7402 (line-move-partial, line-move): Use it instead of computing the
7404 (line-move-partial): Always compute ROWH. If the last line is
7405 partially-visible, but its text is completely visible, allow
7406 cursor to enter such a partially-visible line.
7408 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
7410 Improve error messages. (Bug#14808)
7412 * net/tramp.el (tramp-current-connection): New defvar, moved from
7414 (tramp-message-show-progress-reporter-message): Remove, not
7416 (tramp-error-with-buffer): Show message in minibuffer.
7417 Discard input before waiting. Reset connection timestamp.
7418 (with-tramp-progress-reporter): Improve messages.
7419 (tramp-process-actions): Use progress reporter. Delete process in
7420 case of error. Improve messages.
7422 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
7423 Call `tramp-error-with-buffer' with vector and buffer.
7424 (tramp-current-connection): Remove.
7425 (tramp-maybe-open-connection): The car of
7426 `tramp-current-connection' are the first 3 slots of the vector.
7428 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
7430 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
7431 inside continued strings.
7433 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
7435 Timestamp fixes for undo (Bug#14824).
7436 * files.el (clear-visited-file-modtime): Move here from fileio.c.
7438 2013-07-10 Leo Liu <sdl.web@gmail.com>
7440 * files.el (require-final-newline): Allow safe local value.
7443 2013-07-09 Leo Liu <sdl.web@gmail.com>
7445 * ido.el (ido-read-directory-name): Handle fallback.
7446 (ido-read-file-name): Update DIR to ido-current-directory.
7448 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
7450 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
7452 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
7453 "autoload". Remove "warn lower camel case" section, previously
7454 commented out. Highlight negation char. Do not highlight the
7455 target in singleton method definitions.
7457 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
7459 * faces.el (tty-setup-hook): Declare the hook.
7461 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
7462 and detect when a guard/pred depends on local vars (bug#14773).
7463 (pcase--u1): Adjust caller.
7465 2013-07-08 Eli Zaretskii <eliz@gnu.org>
7467 * simple.el (line-move-partial, line-move): Account for
7469 (line-move-partial): Avoid setting vscroll when the last
7470 partially-visible line in window is of default height.
7472 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
7474 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
7477 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
7479 * subr.el (read-quoted-char): Remove unused local variable `char'.
7481 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
7483 * ediff.el (ediff-version): Version update.
7484 (ediff-files-command, ediff3-files-command, ediff-merge-command)
7485 (ediff-merge-with-ancestor-command, ediff-directories-command)
7486 (ediff-directories3-command, ediff-merge-directories-command)
7487 (ediff-merge-directories-with-ancestor-command): New functions.
7488 All are command-line interfaces to ediff: to facilitate calling
7489 Emacs with the appropriate ediff functions invoked.
7491 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
7492 (viper-save-kill-buffer): Check if buffer is modified.
7494 * viper.el (viper-version): Version update.
7495 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
7497 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
7499 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
7500 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
7501 (viper-intercept-ESC-key): Simplify.
7502 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
7503 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
7504 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
7505 (viper-setup-ESC-to-escape): New functions.
7506 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
7507 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
7509 2013-07-07 Eli Zaretskii <eliz@gnu.org>
7511 * simple.el (default-font-height, window-screen-lines):
7513 (line-move, line-move-partial): Use them instead of
7514 frame-char-height and window-text-height. This makes scrolling
7515 text smoother when the buffer's default face uses a font that is
7516 different from the frame's default font.
7518 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
7520 * files.el (write-file): Do not display confirm dialog for NS,
7521 it does its own dialog, which can't be canceled (Bug#14578).
7523 2013-07-06 Eli Zaretskii <eliz@gnu.org>
7525 * simple.el (line-move-partial): Adjust the row returned by
7526 posn-at-point for the current window-vscroll. (Bug#14567)
7528 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
7530 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
7531 (tramp-sh-file-inotifywait-process-filter): Handle file names with
7534 2013-07-06 Martin Rudalics <rudalics@gmx.at>
7536 * window.el (window-state-put-stale-windows): New variable.
7537 (window--state-put-2): Save list of windows without matching buffer.
7538 (window-state-put): Remove "bufferless" windows if possible.
7540 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
7542 * simple.el (alternatives-define): Remove leftover :group keyword.
7545 2013-07-06 Leo Liu <sdl.web@gmail.com>
7547 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
7548 (ido-enable-virtual-buffers): New variable.
7549 (ido-buffer-internal, ido-toggle-virtual-buffers)
7550 (ido-make-buffer-list): Use it.
7551 (ido-exhibit): Support turning on and off virtual buffers
7554 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
7556 * simple.el (alternatives-define): New macro.
7558 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
7560 * subr.el (read-quoted-char): Use read-key.
7561 (sit-for): Let read-event decode tty input (bug#14782).
7563 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
7565 * calendar/todo-mode.el: Add handling of file deletion, both by
7566 mode command and externally. Fix various related bugs.
7567 Clarify Commentary and improve some documentation strings and code.
7568 (todo-delete-file): New command.
7569 (todo-check-file): New function.
7570 (todo-show): Handle external deletion of the file we're trying to
7571 show (bug#14688). Replace called-interactively-p by an optional
7572 prefix argument to avoid problematic interaction with catch form
7573 when byte compiled (bug#14702).
7574 (todo-quit): Handle external deletion of the archive's todo file.
7575 Make sure the buffer that was visiting the archive file is still
7576 live before trying to bury it.
7577 (todo-category-completions): Handle external deletion of any
7578 category completion files.
7579 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
7580 of todo files, in case of external deletion.
7581 (todo-add-file): Replace unnecessary setq by let-binding.
7582 (todo-find-archive): Check whether there are any archives.
7583 Replace unnecessary setq by let-binding.
7584 (todo-archive-done-item): Use find-file-noselect to get the
7585 archive buffer whether or not the archive already exists.
7586 Remove superfluous code. Use file size instead of buffer-file-name to
7587 check if the archive is new; if it is, update list of archives.
7588 (todo-default-todo-file): Allow nil to be a valid value for when
7589 there are no todo files.
7590 (todo-reevaluate-default-file-defcustom): Use corrected definition
7591 of todo-default-todo-file.
7592 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
7593 (todo-delete-category, todo-show-categories-table)
7594 (todo-category-number): Clarify comment.
7595 (todo-filter-items): Clarify documentation string.
7596 (todo-show-current-file, todo-display-as-todo-file)
7597 (todo-reset-and-enable-done-separator): Tweak documentation string.
7598 (todo-done-separator): Make separator length window-width, since
7599 bug#2749 is now fixed.
7601 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
7603 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
7604 Support both "gvfs-monitor-dir" and "inotifywait".
7605 (tramp-sh-file-inotifywait-process-filter): Rename from
7606 `tramp-sh-file-notify-process-filter'.
7607 (tramp-sh-file-gvfs-monitor-dir-process-filter)
7608 (tramp-get-remote-gvfs-monitor-dir): New defuns.
7610 2013-07-05 Leo Liu <sdl.web@gmail.com>
7612 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
7614 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
7616 * frame.el (display-pixel-height, display-pixel-width)
7617 (display-mm-height, display-mm-width): Mention behavior on
7618 multi-monitor setups in docstrings.
7619 (w32-display-monitor-attributes-list): Declare function.
7620 (display-monitor-attributes-list): Use it.
7622 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
7624 * filenotify.el: New package.
7626 * autorevert.el (top): Require filenotify.el.
7627 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
7629 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
7630 (auto-revert-notify-handler): Use `file-notify-*' functions.
7632 * subr.el (file-notify-handle-event): Move function to filenotify.el.
7634 * net/tramp.el (tramp-file-name-for-operation):
7635 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
7637 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
7638 for `file-notify-add-watch' and `file-notify-rm-watch'.
7639 (tramp-process-sentinel): Improve trace.
7640 (tramp-sh-handle-file-notify-add-watch)
7641 (tramp-sh-file-notify-process-filter)
7642 (tramp-sh-handle-file-notify-rm-watch)
7643 (tramp-get-remote-inotifywait): New defuns.
7645 2013-07-03 Juri Linkov <juri@jurta.org>
7647 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
7648 call of `occur-read-primary-args' to interactive spec.
7650 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
7651 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
7653 2013-07-03 Matthias Meulien <orontee@gmail.com>
7655 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
7656 `Buffer-menu-multi-occur'. Add it to the menu.
7657 (Buffer-menu-mode): Document it in docstring.
7658 (Buffer-menu-multi-occur): New command. (Bug#14673)
7660 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
7662 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
7663 keywords and built-ins.
7665 2013-07-03 Glenn Morris <rgm@gnu.org>
7667 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
7669 Make info-xref checks case-sensitive by default
7670 * info.el (Info-find-node, Info-find-in-tag-table)
7671 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
7672 Add option for exact case matching of nodes.
7673 * info-xref.el (info-xref): New custom group.
7674 (info-xref-case-fold): New option.
7675 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
7677 2013-07-03 Leo Liu <sdl.web@gmail.com>
7679 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
7681 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
7683 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
7684 middle of block statement initially, lower the depth. Remove
7685 FIXME comment, not longer valid. Remove middle of block statement
7686 detection, no need to do that anymore since we've been using
7687 `ruby-parse-region' here.
7689 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
7691 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
7693 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
7695 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
7697 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
7699 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
7700 (desktop-restore-in-current-display): New customization option.
7701 (desktop--excluded-frame-parameters): Add `font'.
7702 (desktop--save-frames): Rename from desktop--save-windows.
7703 (desktop--restore-in-this-display-p): New function.
7704 (desktop--make-full-frame): Remove unwanted width/height from
7705 full(width|height) frames.
7706 (desktop--restore-frames): Rename from desktop--restore-windows.
7707 Obey desktop-restore-current-display. Do not delete old frames or
7708 select a new frame unless we were able to restore at least one frame.
7710 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
7712 * files.el (find-file-noselect): Simplify conditional expression.
7714 * textmodes/remember.el (remember-append-to-file):
7715 Don't mix `find-buffer-visiting' and `get-file-buffer'.
7717 Add `remember-notes' function to store random notes across Emacs
7719 * textmodes/remember.el (remember-data-file): Add :set callback to affect
7720 notes buffer (if any).
7721 (remember-notes): New command.
7722 (remember-notes-buffer-name, bury-remember-notes-on-kill):
7723 New defcustoms for the `remember-notes' function.
7724 (remember-notes-save-and-bury-buffer): New command.
7725 (remember-notes-mode-map): New variable.
7726 (remember-mode): New minor mode.
7727 (remember-notes--kill-buffer-query): New function.
7728 * startup.el (initial-buffer-choice): Add notes to custom type.
7730 2013-06-30 Eli Zaretskii <eliz@gnu.org>
7732 * bindings.el (right-char, left-char): Don't call sit-for, this is
7733 no longer needed. Use arithmetic comparison only for numerical
7736 * international/mule-cmds.el (select-safe-coding-system):
7737 Handle the case of FROM being a string correctly. (Bug#14755)
7739 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7741 * net/shr.el (shr-make-table-1): Add a sanity check that allows
7742 progression on degenerate tables.
7743 (shr-rescale-image): ImageMagick animated images currently don't work.
7745 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
7747 Some fixes and improvements for desktop frame restoration.
7748 It is still experimental and disabled by default.
7749 * desktop.el (desktop--save-windows): Put the selected frame at
7750 the head of the list.
7751 (desktop--make-full-frame): New function.
7752 (desktop--restore-windows): Try to re-select the frame that was
7753 selected upon saving. Do not abort if some frames fail to restore,
7754 just show an error message and continue. Set up maximized frames
7755 so they have default non-maximized dimensions.
7757 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
7759 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
7760 Don't start heredoc inside a string or comment.
7762 2013-06-29 Eli Zaretskii <eliz@gnu.org>
7764 * bindings.el (visual-order-cursor-movement): New defcustom.
7765 (right-char, left-char): Provide visual-order cursor motion by
7766 calling move-point-visually. Update the doc strings.
7768 2013-06-28 Kenichi Handa <handa@gnu.org>
7770 * international/mule.el (define-coding-system): New coding system
7771 properties :inhibit-null-byte-detection,
7772 :inhibit-iso-escape-detection, and :prefer-utf-8.
7773 (set-buffer-file-coding-system): If :charset-list property of
7774 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
7775 appropriate for setting.
7777 * international/mule-cmds.el (select-safe-coding-system):
7778 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
7779 multibyte characters, return utf-8 (or one of its siblings).
7781 * international/mule-conf.el (prefer-utf-8): New coding system.
7782 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
7785 2013-06-28 Ivan Kanis <ivan@kanis.fr>
7787 * net/shr.el (shr-render-region): New function.
7789 * net/eww.el: Autoload `eww-browse-url'.
7791 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
7793 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7794 Adapt to `package-desc-version' being a list.
7795 Use `package--ac-desc-version' to retrieve version from a package
7798 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
7800 New experimental feature to save&restore window and frame setup.
7801 * desktop.el (desktop-save-windows): New defcustom.
7802 (desktop--saved-states): New var.
7803 (desktop--excluded-frame-parameters): New defconst.
7804 (desktop--filter-frame-parms, desktop--find-frame-in-display)
7805 (desktop--restore-windows, desktop--save-windows): New functions.
7806 (desktop-save): Call `desktop--save-windows'.
7807 (desktop-read): Call `desktop--restore-windows'.
7809 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
7811 * net/shr.el (add-face-text-property): Remove compat definition.
7813 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
7815 * info.el (Info-try-follow-nearest-node): Move search for footnote
7816 above search for node name to prevent missing a footnote (bug#14717).
7818 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
7820 * obsolete/otodo-mode.el: Add obsolescence info to file header.
7822 2013-06-27 Leo Liu <sdl.web@gmail.com>
7824 * net/eww.el (eww-read-bookmarks): Check file size.
7826 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
7828 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
7829 advice--pending if newdef is nil or an autoload (bug#13820).
7830 (advice-mapc): New function.
7832 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
7834 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
7836 (eww-mode-map): Add a menu bar.
7837 (eww-add-bookmark): New command.
7838 (eww-bookmark-mode): New mode and commands.
7839 (eww-add-bookmark): Remove newlines from the title.
7840 (eww-bookmark-browse): Don't bug out if it's the only window.
7842 2013-06-26 Glenn Morris <rgm@gnu.org>
7844 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
7845 (hfy-size): Handle ttys. (Bug#14668)
7847 * info-xref.el: Update for Texinfo 5 change in *note format.
7848 (info-xref-node-re, info-xref-note-re): New constants.
7849 (info-xref-check-buffer): Use info-xref-note-re.
7851 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
7853 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
7855 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
7856 nil terminate the loop (bug#14718).
7858 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7860 * net/eww.el: Rework history traversal. When going forward/back,
7861 put these actions into the history, too, so that they can be
7863 (eww-render): Move the history reset to the correct buffer.
7865 2013-06-25 Juri Linkov <juri@jurta.org>
7867 * files-x.el (modify-dir-local-variable): Change the header comment
7868 in the file with directory local variables. (Bug#14692)
7870 * files-x.el (read-file-local-variable-value): Add `default'.
7873 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7875 * net/eww.el (eww-make-unique-file-name): Create a unique file
7876 name before saving to entering `y' accidentally asynchronously.
7878 2013-06-25 Ivan Kanis <ivan@kanis.fr>
7880 * net/eww.el (eww-download): New command and keystroke.
7882 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7884 * net/eww.el (eww-copy-page-url): Change name of command.
7886 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
7887 be more consistent with Info and dired.
7889 * net/eww.el (eww-mode-map): Ditto.
7891 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
7893 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
7894 packages from archives.
7895 (package-archive-contents): Change format; include obsolete packages.
7896 (package-desc): Use `dir' to mark builtin packages.
7897 (package--from-builtin): Set the `dir' field to `builtin'.
7898 (generated-autoload-file, version-control): Declare.
7899 (package-compute-transaction): Change first arg and return value to be
7900 lists of package-descs. Adjust to new package-archive-contents format.
7901 (package--add-to-archive-contents): Adjust to new
7902 package-archive-contents format.
7903 (package-download-transaction): Arg is now a list of package-descs.
7904 (package-install): If `pkg' is a package name, pass it as
7905 a requirement, so it is subject to the usual (e.g. disabled) checks.
7906 (describe-package): Accept package-desc as well.
7907 (describe-package-1): Describe a specific package-desc. Add links to
7908 other package-descs for the same package name.
7909 (package-menu-describe-package): Pass the actual package-desc.
7910 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
7912 (package-desc-status): New function.
7913 (package-menu--refresh): New function, extracted
7914 from package-menu--generate.
7915 (package-menu--generate): Use it.
7916 (package-delete): Update package-alist.
7917 (package-menu-execute): Don't call package-initialize.
7919 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
7920 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
7921 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
7922 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
7923 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
7924 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
7926 2013-06-25 Martin Rudalics <rudalics@gmx.at>
7928 * window.el (window--state-get-1): Workaround for bug#14527.
7929 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
7931 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7933 * net/eww.el (eww-back-url): Implement the history by stashing all
7934 the data into a list.
7935 (eww-forward-url): Allow going forward in the history, too.
7937 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
7939 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
7940 for values and use read--expression for expressions (bug#14710).
7941 (read-file-local-variable): Avoid setq.
7942 (read-file-local-variable-mode): Use minor-mode-list.
7944 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7946 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
7949 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7951 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
7952 Update imenu-support when dialect changes.
7954 2013-06-25 Leo Liu <sdl.web@gmail.com>
7956 * ido.el (ido-read-internal): Allow forward slash on windows.
7958 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
7960 * net/eww.el (eww): Start of strings is \\`, not ^.
7962 2013-06-24 Ivan Kanis <ivan@kanis.fr>
7964 * net/shr.el (shr-browse-url): Fix interactive spec.
7966 * net/eww.el (eww): Add a trailing slash to domain names.
7968 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
7970 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
7972 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
7974 * net/shr.el (shr-browse-url): Use an external browser if given a
7977 * net/eww.el (eww-external-browser): Move to shr.
7979 2013-06-24 Ivan Kanis <ivan@kanis.fr>
7981 * net/eww.el (eww): Work more correctly for file: URLs.
7982 (eww-detect-charset): Allow quoted charsets.
7983 (eww-yank-page-url): New command and keystroke.
7985 2013-06-24 Daiki Ueno <ueno@gnu.org>
7987 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
7988 file name of gpg executable.
7989 (epg-context-program): New function.
7990 (epg-context-home-directory): New function.
7991 (epg-context-set-program): New function.
7992 (epg-context-set-home-directory): New function.
7993 (epg--start): Use `epg-context-program' instead of
7995 (epg--list-keys-1): Likewise.
7997 2013-06-24 Leo Liu <sdl.web@gmail.com>
7999 * ido.el (ido-read-internal): Fix bug#14620.
8001 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
8003 * faces.el (face-documentation): Simplify.
8004 (read-face-attribute, tty-find-type, x-resolve-font-name):
8005 Use `string-match-p'.
8006 (list-faces-display): Use `string-match-p'. Simplify.
8007 (face-spec-recalc): Check face to avoid face alias loops.
8008 (read-color): Use `string-match-p' and non-capturing parenthesis.
8010 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
8012 * net/shr.el (shr-rescale-image): Use the new
8013 :max-width/:max-height functionality.
8015 2013-06-23 Ivan Kanis <ivan@kanis.fr>
8017 * net/eww.el (eww-search-prefix): New variable.
8019 (eww-external-browser): New variable.
8020 (eww-mode-map): New keystroke.
8021 (eww-browse-with-external-browser): New command.
8023 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
8025 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
8027 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
8028 Don't skip aligning the next header field when padding is 0;
8029 otherwise, field width is not respected unless the title is as
8032 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
8034 * emacs-lisp/package.el (package-el-version): Remove.
8035 (package-process-define-package): Fix inf-loop.
8036 (package-install): Allow symbols as arguments again.
8038 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
8040 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
8041 add some more keyword-like methods.
8042 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
8044 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
8046 * bs.el (bs-buffer-show-mark): Make defvar-local.
8047 (bs-mode): Use setq-local.
8049 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
8050 (emacs-lock--try-unlocking): Make defvar-local.
8052 2013-06-22 Glenn Morris <rgm@gnu.org>
8054 * play/cookie1.el (cookie-apropos): Minor simplification.
8056 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
8058 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
8060 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
8061 `regexp-opt', it breaks the build during dumping.
8063 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
8065 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
8066 Highlight keyword-like methods on Kernel and Module with
8067 font-lock-builtin-face.
8068 (auto-mode-alist): Consolidate different entries into one regexp
8069 and add more *file-s.
8071 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
8073 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
8075 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
8076 (diary-entry): Use it in the action of this button type instead of
8079 * calendar/todo-mode.el: New version.
8080 (todo-add-category): Append new category to end of file and give
8081 it the highest number, instead of putting it at the beginning and
8082 giving it 0. Incorporate noninteractive functionality.
8083 (todo-forward-category): Adapt to 1-based category numbering.
8084 Allow skipping over archived categories.
8085 (todo-backward-category): Derive from todo-forward-category.
8086 (todo-backward-item, todo-forward-item): Make noninteractive and
8087 delegate interactive part to new commands. Make sensitive to done items.
8088 (todo-categories): Make value an alist of category names and
8089 vectors of item counts.
8090 (todo-category-beg): Make a defconst.
8091 (todo-category-number): Use 1 instead of 0 as initial value.
8092 (todo-category-select): Make sensitive to overlays, optional item
8093 highlighting and done items.
8094 (todo-delete-item): Make sensitive to overlays and marked and done items.
8095 (todo-edit-item): Make sensitive to overlays and editing of
8096 date/time header optional. Add format checks.
8097 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
8098 no-op if point is not on an item. Advertise using todo-edit-quit.
8099 (todo-edit-mode): Make sensitive to new format, font-locking, and
8100 multiple todo files.
8101 (todo-insert-item, todo-insert-item-here): Derive from
8102 todo-basic-insert-item and extend functionality.
8103 (todo-item-end, todo-item-start): Make sensitive to done items.
8104 (todo-item-string): Don't return text properties. Restore point.
8105 (todo-jump-to-category): Make sensitive to multiple todo files and
8106 todo archives. Use extended category completion.
8107 (todo-lower-item, todo-raise-item): Rename to *-priority and
8108 derive from todo-set-item-priority.
8109 (todo-mode): Derive from special-mode. Make sensitive to new
8110 format, font-locking and multiple todo files. Make read-only.
8111 (todo-mode-map): Don't suppress digit keys, so they can supply
8112 prefix arguments. Add many new key bindings.
8113 (todo-prefix): Insert as an overlay instead of file text.
8114 Change semantics from diary date expression to purely visual mark.
8115 (todo-print): Rename to todo-print-buffer. Make buffer display
8116 features printable. Remove option to restrict number of items
8117 printed. Add option to print to file.
8118 (todo-print-function): Rename to todo-print-buffer-function.
8119 (todo-quit): Extend to handle exiting new todo modes.
8120 (todo-remove-item): Make sensitive to overlays.
8121 (todo-save): Extend to buffers of filtered items.
8122 (todo-show): Make sensitive to done items, multiple todo files and
8123 new todo modes. Offer to convert legacy todo file before creating
8124 first new todo file.
8125 (todo-show-priorities): Rename to todo-top-priorities.
8126 Change semantics of value 0.
8127 (todo-top-priorities): Rename to todo-filter-top-priorities,
8128 derive from todo-filter-items and extend functionality.
8129 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
8130 and extend functionality to other types of filtered items.
8131 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
8132 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
8133 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
8134 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
8135 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
8136 (todo-edit-mode-hook, todo-entry-prefix-function)
8137 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
8138 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
8139 (todo-initials, todo-insert-threshold, todo-item-string-start)
8140 (todo-line-string, todo-menu, todo-mode-hook)
8141 (todo-more-important-p, todo-previous-answer, todo-previous-line)
8142 (todo-print-priorities, todo-remove-separator)
8143 (todo-save-top-priorities-too, todo-string-count-lines)
8144 (todo-string-multiline-p, todo-time-string-format)
8145 (todo-tmp-buffer-name): Remove.
8146 (todo-add-file, todo-archive-done-item, todo-choose-archive)
8147 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
8148 (todo-edit-category-diary-inclusion)
8149 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
8150 (todo-edit-file, todo-edit-item-date-day)
8151 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
8152 (todo-edit-item-date-month, todo-edit-item-date-to-today)
8153 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
8154 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
8155 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
8156 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
8157 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
8158 (todo-filter-top-priorities-multifile, todo-find-archive)
8159 (todo-find-filtered-items-file, todo-go-to-source-item)
8160 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
8161 (todo-jump-to-archive-category, todo-lower-category)
8162 (todo-mark-category, todo-marked-item-p, todo-merge-category)
8163 (todo-move-category, todo-move-item, todo-next-button)
8164 (todo-next-item, todo-padded-string, todo-powerset)
8165 (todo-previous-button, todo-previous-item)
8166 (todo-print-buffer-to-file, todo-raise-category)
8167 (todo-rename-category, todo-repair-categories-sexp, todo-search)
8168 (todo-set-category-number, todo-set-item-priority)
8169 (todo-set-top-priorities-in-category)
8170 (todo-set-top-priorities-in-file, todo-show-categories-table)
8171 (todo-sort-categories-alphabetically-or-numerically)
8172 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
8173 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
8174 (todo-toggle-item-header, todo-toggle-item-highlighting)
8175 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
8176 (todo-toggle-view-done-items, todo-toggle-view-done-only)
8177 (todo-unarchive-items, todo-unmark-category): New commands.
8178 (todo-absolute-file-name, todo-add-to-buffer-list)
8179 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
8180 (todo-basic-insert-item, todo-category-completions)
8181 (todo-category-number, todo-category-string-matcher-1)
8182 (todo-category-string-matcher-2, todo-check-filtered-items-file)
8183 (todo-check-format, todo-clear-matches)
8184 (todo-comment-string-matcher, todo-convert-legacy-date-time)
8185 (todo-current-category, todo-date-string-matcher)
8186 (todo-define-insertion-command, todo-diary-expired-matcher)
8187 (todo-diary-goto-entry, todo-diary-item-p)
8188 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
8189 (todo-display-categories, todo-display-sorted, todo-done-item-p)
8190 (todo-done-item-section-p, todo-done-separator)
8191 (todo-done-string-matcher, todo-files, todo-filter-items)
8192 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
8193 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
8194 (todo-insert-category-line, todo-insert-item-from-calendar)
8195 (todo-insert-sort-button, todo-insert-with-overlays)
8196 (todo-insertion-command-name, todo-insertion-key-bindings)
8197 (todo-label-to-key, todo-longest-category-name-length)
8198 (todo-make-categories-list, todo-mode-external-set)
8199 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
8200 (todo-modes-set-3, todo-multiple-filter-files)
8201 (todo-nondiary-marker-matcher, todo-prefix-overlays)
8202 (todo-read-category, todo-read-date, todo-read-dayname)
8203 (todo-read-file-name, todo-read-time)
8204 (todo-reevaluate-category-completions-files-defcustom)
8205 (todo-reevaluate-default-file-defcustom)
8206 (todo-reevaluate-filelist-defcustoms)
8207 (todo-reevaluate-filter-files-defcustom)
8208 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
8209 (todo-reset-done-separator, todo-reset-done-separator-string)
8210 (todo-reset-done-string, todo-reset-global-current-todo-file)
8211 (todo-reset-highlight-item, todo-reset-nondiary-marker)
8212 (todo-reset-prefix, todo-set-categories)
8213 (todo-set-date-from-calendar, todo-set-show-current-file)
8214 (todo-set-top-priorities, todo-short-file-name)
8215 (todo-show-current-file, todo-sort, todo-time-string-matcher)
8216 (todo-total-item-counts, todo-update-buffer-list)
8217 (todo-update-categories-display, todo-update-categories-sexp)
8218 (todo-update-count, todo-validate-name, todo-y-or-n-p):
8220 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
8222 (todo-categories, todo-display, todo-edit, todo-faces)
8223 (todo-filtered): New defgroups.
8224 (todo-archived-only, todo-button, todo-category-string, todo-date)
8225 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
8226 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
8227 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
8228 (todo-add-item-if-new-category, todo-always-add-time-string)
8229 (todo-categories-align, todo-categories-archived-label)
8230 (todo-categories-category-label, todo-categories-diary-label)
8231 (todo-categories-done-label, todo-categories-number-separator)
8232 (todo-categories-todo-label, todo-categories-totals-label)
8233 (todo-category-completions-files, todo-completion-ignore-case)
8234 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
8235 (todo-done-separator-string, todo-done-string)
8236 (todo-files-function, todo-filter-done-items, todo-filter-files)
8237 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
8238 (todo-initial-category, todo-initial-file, todo-item-mark)
8239 (todo-legacy-date-time-regexp, todo-mode-line-function)
8240 (todo-nondiary-marker, todo-number-prefix)
8241 (todo-print-buffer-function, todo-show-current-file)
8242 (todo-show-done-only, todo-show-first, todo-show-with-done)
8243 (todo-skip-archived-categories, todo-top-priorities-overrides)
8244 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
8245 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
8247 (todo-category-done, todo-date-pattern, todo-date-string-start)
8248 (todo-diary-items-buffer, todo-done-string-start)
8249 (todo-filtered-items-buffer, todo-item-start)
8250 (todo-month-abbrev-array, todo-month-name-array)
8251 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
8252 (todo-top-priorities-buffer): New defconsts.
8253 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
8254 (todo-categories-with-marks, todo-category-string-face)
8255 (todo-comment-face, todo-comment-string, todo-current-todo-file)
8256 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
8257 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
8258 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
8259 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
8260 (todo-font-lock-keywords, todo-global-current-todo-file)
8261 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
8262 (todo-insertion-commands-args)
8263 (todo-insertion-commands-args-genlist)
8264 (todo-insertion-commands-names, todo-insertion-map)
8265 (todo-key-bindings-t, todo-key-bindings-t+a)
8266 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
8267 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
8268 (todo-nondiary-face, todo-print-buffer, todo-time-face)
8269 (todo-visited): New variables.
8271 2013-06-21 Glenn Morris <rgm@gnu.org>
8273 * play/cookie1.el (cookie-apropos): Add optional display argument.
8274 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
8275 (psychoanalyze-pinhead): Use cookie-doctor.
8277 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
8279 * emacs-lisp/package.el (tar-get-file-descriptor)
8280 (tar--extract): Declare.
8282 2013-06-21 Eduard Wiebe <usenet@pusto.de>
8284 Extend flymake's warning predicate to be a function (bug#14217).
8285 * progmodes/flymake.el (flymake-warning-predicate): New.
8286 (flymake-parse-line): Use it.
8287 (flymake-warning-re): Make obsolete alias to
8288 `flymake-warning-predicate'.
8290 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8292 * emacs-lisp/package.el (package-alist): Include obsolete packages.
8293 (package-obsolete-list): Remove.
8294 (package-activate): Remove min-version argument. Add `force' argument.
8295 Adjust to new package-alist format.
8296 (package-mark-obsolete): Remove.
8297 (package-unpack): Force reload of the package's autoloads.
8298 (package-installed-p): Check builtins if the installed package is not
8300 (package-initialize): Don't reset package-obsolete-list.
8301 Don't specify which package version to activate.
8302 (package-process-define-package, describe-package-1)
8303 (package-menu--generate): Adjust to new package-alist format.
8305 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
8307 * allout-widgets.el (allout-widgets-mode-off)
8308 (allout-widgets-mode-on, allout-widgets-pre-command-business)
8309 (allout-widgets-post-command-business)
8310 (allout-widgets-after-copy-or-kill-function)
8311 (allout-widgets-after-undo-function, allout-test-range-overlaps)
8312 (allout-decorate-item-and-context)
8313 (allout-graphics-modification-handler): Fix typos in docstrings.
8314 (allout-get-or-create-parent-widget): Use `looking-at-p'.
8316 * cmuscheme.el (scheme-start-file): Doc fix.
8317 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
8318 (scheme-input-filter): Use `string-match-p'.
8320 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
8322 * dired-x.el: Use Dired consistently in docstrings.
8324 * dired.el: Use Dired consistently in docstrings.
8325 (dired-readin, dired-mode): Use `setq-local'.
8326 (dired-switches-alist): Make defvar-local.
8327 (dired-buffers-for-dir): Use `zerop'.
8328 (dired-safe-switches-p, dired-switches-escape-p)
8329 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
8330 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
8331 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
8332 (dired-goto-next-nontrivial-file): Use `string-match-p'.
8333 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
8334 (dired-toggle-marks, dired-mark-files-containing-regexp)
8335 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
8336 (dired-flag-auto-save-files, dired-flag-backup-files):
8338 (dired-mark-files-regexp, dired-build-subdir-alist):
8339 Use `string-match-p', `looking-at-p'.
8341 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
8342 (direct-print-region-helper): Use `string-match-p'.
8344 2013-06-21 Leo Liu <sdl.web@gmail.com>
8346 * comint.el (comint-redirect-results-list-from-process):
8349 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8351 * net/eww.el (eww-update-header-line-format): Quote % characters.
8353 2013-06-21 Glenn Morris <rgm@gnu.org>
8355 * play/cookie1.el (cookie): New custom group.
8356 (cookie-file): New option.
8357 (cookie-check-file): New function.
8358 (cookie): Make it interactive. Make start and end messages optional.
8359 Interactively, display the result. Default to cookie-file.
8360 (cookie-insert): Default to cookie-file.
8361 (cookie-snarf): Make start and end messages optional.
8362 Default to cookie-file. Use with-temp-buffer.
8363 (cookie-read): Rename from read-cookie.
8364 Make start and end messages optional. Default to cookie-file.
8365 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
8367 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
8368 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
8370 2013-06-21 Leo Liu <sdl.web@gmail.com>
8372 * progmodes/octave.el (octave-mode): Backward compatibility fix.
8374 2013-06-21 Glenn Morris <rgm@gnu.org>
8376 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
8378 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8379 Daniel Hackney <dan@haxney.org>
8381 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
8382 Consolidate the single-file vs tarball code.
8383 (package-desc-suffix): New function.
8384 (package-desc-full-name): Don't bother inlining it.
8385 (package-load-descriptor): Return the new package-desc.
8386 (package-mark-obsolete): Remove unused arg `package'.
8387 (package-unpack): Make it work for single files as well.
8388 Make it update package-alist.
8389 (package--make-autoloads-and-stuff): Rename from
8390 package--make-autoloads-and-compile. Don't compile any more.
8391 (package--compile): New function.
8392 (package-generate-description-file): New function, extracted from
8393 package-unpack-single.
8394 (package-unpack-single): Remove.
8395 (package--with-work-buffer): Add indentation and debugging info.
8396 (package-download-single): Remove.
8397 (package-install-from-archive): Rename from package-download-tar, make
8398 it take a pkg-desc, and make it work for single files as well.
8399 (package-download-transaction): Simplify.
8400 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
8401 external tar program.
8402 (package-install-from-buffer): Remove `pkg-desc' argument.
8403 Use package-tar-file-info for tar-mode buffers.
8404 (package-install-file): Simplify accordingly.
8405 (package-archive-base): Change to take a pkg-desc.
8406 * tar-mode.el (tar--check-descriptor): New function, extracted from
8408 (tar-get-descriptor): Use it.
8409 (tar-get-file-descriptor): New function.
8410 (tar--extract): New function, extracted from tar-extract.
8411 (tar--extract): Use it.
8412 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
8413 case the summary uses non-ascii. Adjust to new calling convention of
8414 package-tar-file-info.
8416 2013-06-21 Leo Liu <sdl.web@gmail.com>
8418 * comint.el (comint-redirect-results-list-from-process):
8419 Fix random delay. (Bug#14681)
8421 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
8423 * profiler.el (profiler-format-number): Use log, not log10.
8425 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
8427 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
8429 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
8431 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
8432 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
8434 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
8435 (AUTOGENEL): ... here.
8436 * emacs-lisp/cl-macs.el (cl--sublis): New function.
8437 (cl--defsubst-expand): Use it.
8439 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
8441 * subr.el (log10): Move here from C code, and declare as obsolete.
8442 All uses of (log10 X) replaced with (log X 10).
8444 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
8446 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
8447 Declare with `defvar-local'.
8448 (tabulated-list-use-header-line, tabulated-list-entries)
8449 (tabulated-list-padding, tabulated-list-printer)
8450 (tabulated-list-sort-key): Declare with `defvar-local'.
8451 (tabulated-list-init-header, tabulated-list-print-fake-header):
8454 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
8456 * arc-mode.el (archive-mode): Add `archive-write-file' to
8457 `write-contents-functions' also for remote files. (Bug#14652)
8459 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
8461 * cus-edit.el (custom-commands): Fix typos.
8462 (custom-display): Fix tooltip text.
8463 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
8464 Fix typos in docstrings.
8465 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
8466 (custom-unlispify-menu-entry, custom-magic-value-create)
8467 (custom-add-see-also, custom-group-value-create): Use ?\s.
8468 (custom-guess-type, customize-apropos, editable-field)
8469 (custom-face-value-create): Use `string-match-p'.
8470 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
8472 * custom.el (custom-load-symbol): Use `string-match-p'.
8474 * ansi-color.el: Convert to lexical binding.
8475 (ansi-colors): Fix URL.
8476 (ansi-color-context, ansi-color-context-region): Use defvar-local.
8477 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
8478 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
8480 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8482 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
8484 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
8486 2013-06-19 Tom Tromey <tromey@redhat.com>
8488 * net/eww.el (eww-top-url): Remove.
8489 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
8490 (eww-render): Set new variables. Don't set eww-top-url.
8491 (eww-handle-link): Handle "prev", "home", and "contents".
8492 Downcase the rel text.
8493 (eww-top-url): Choose best top URL.
8495 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8497 * net/eww.el: Rewrite to implement form elements "by hand" instead of
8498 relying in widget.el. Using widget.el leads to too many
8499 user interface inconsistencies.
8500 (eww-self-insert): Implement entering commands in text fields.
8501 (eww-process-text-input): New function to make text input field editing
8503 (eww-submit): Rewrite to use the new-style form methods.
8504 (eww-select-display): Display the correct selected item.
8505 (eww-change-select): Implement changing the select value.
8506 (eww-toggle-checkbox): Implement radio/checkboxes.
8507 (eww-update-field): Fix compilation error.
8508 (eww-tag-textarea): Implement <textarea>.
8510 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
8511 we don't shadow mode-specific bindings.
8513 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
8516 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
8518 2013-06-19 Glenn Morris <rgm@gnu.org>
8520 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
8522 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
8524 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
8527 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
8529 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8531 * net/browse-url.el (browse-url-browser-function):
8532 `eww-browse-url' has the right calling signature, `eww' does not.
8534 2013-06-19 Glenn Morris <rgm@gnu.org>
8536 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
8537 Only eval autoloaded macros.
8538 (byte-compile-autoload): Only give the macro warning for macros.
8540 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
8541 (ps-underlined-faces): Declare.
8543 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
8544 (speedbar-add-supported-extension): Declare.
8546 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
8547 Don't include a date stamp in the header of the generated file;
8548 it leads to needless differences between output files.
8550 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
8552 * net/secrets.el (secrets-struct-secret-content-type):
8553 Replace check of introspection data by a test call of "CreateItem".
8554 Some servers do not offer introspection.
8556 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
8558 * electric.el (electric-pair-mode): Improve interaction with
8559 electric-layout-mode.
8560 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
8561 (electric-pair-syntax): Use text-mode-syntax-table in comments
8563 (electric-pair--insert): New function.
8564 (electric-pair-post-self-insert-function): Use it and
8565 electric--after-char-pos.
8567 2013-06-19 Leo Liu <sdl.web@gmail.com>
8569 * progmodes/octave.el (octave-help): Fix regexp.
8571 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
8573 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
8574 (shr-table-horizontal-line): Allow nil as a value, and change the
8576 (shr-insert-table-ruler): Respect the nil value.
8578 2013-06-18 Tom Tromey <tromey@barimba>
8580 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
8582 (eww-open-file): New defun.
8583 (eww-render): Initialize new variables.
8584 (eww-display-html): Handle "link" and "a".
8585 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
8586 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
8587 (eww-back-url): Rename from eww-previous-url.
8588 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
8591 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
8593 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
8594 Distinguish ternary operator tokens from slash symbol and slash
8597 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
8599 Convert symbol prettification into minor mode and global minor mode.
8601 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
8602 `prog-prettify-symbols', and make a local defvar instead of defcustom.
8603 (prettify-symbols--keywords): Rename from
8604 `prog-prettify-symbols-alist' and make a local defvar.
8605 (prettify-symbols--compose-symbol): Rename from
8606 `prog--prettify-font-lock-compose-symbol'.
8607 (prettify-symbols--make-keywords): Rename from
8608 `prog-prettify-font-lock-symbols-keywords' and simplify.
8609 (prog-prettify-install): Remove.
8610 (prettify-symbols-mode): New minor mode, based on
8611 `prog-prettify-install'.
8612 (turn-on-prettify-symbols-mode): New function.
8613 (global-prettify-symbols-mode): New globalized minor mode.
8615 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
8616 * progmodes/cfengine.el (cfengine3-mode):
8617 * progmodes/perl-mode.el (perl-mode): Don't call
8618 `prog-prettify-install'; set `prettify-symbols-alist' instead.
8620 2013-06-18 Juri Linkov <juri@jurta.org>
8622 * files-x.el (modify-file-local-variable-message): New function.
8623 (modify-file-local-variable)
8624 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
8625 and call `modify-file-local-variable-message' when it's non-nil.
8626 (add-file-local-variable, delete-file-local-variable)
8627 (add-file-local-variable-prop-line)
8628 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
8629 and use it. (Bug#9820)
8631 2013-06-18 Juri Linkov <juri@jurta.org>
8633 * emulation/vi.el (vi-shell-op):
8634 * emulation/vip.el (vip-execute-com, ex-command):
8635 * emulation/viper-cmd.el (viper-exec-bang):
8636 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
8637 the call of `shell-command-on-region'. (Bug#14637)
8639 * simple.el (shell-command-on-region): Doc fix.
8641 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8643 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
8646 2013-06-18 Glenn Morris <rgm@gnu.org>
8648 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
8650 * newcomment.el (comment-search-forward, comment-search-backward):
8651 Doc fix. (Bug#14376)
8653 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
8655 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
8656 (buffer-face-mode-invoke): Doc fix.
8658 2013-06-18 Matthias Meulien <orontee@gmail.com>
8660 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
8661 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
8663 2013-06-18 Glenn Morris <rgm@gnu.org>
8665 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
8666 Replace obsolete function generic-make-keywords with its expansion.
8668 * progmodes/python.el (ffap-alist): Declare.
8670 * textmodes/reftex.el (bibtex-mode-map): Declare.
8672 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8674 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
8675 (package-unpack, package-unpack-single): Return the pkg-dir.
8676 (package-download-transaction): Use it to update package-alist.
8678 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
8680 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
8683 2013-06-17 Juri Linkov <juri@jurta.org>
8685 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
8687 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
8689 * emacs-lisp/package.el (package-load-descriptor):
8690 Remove `with-syntax-table' call, `read' doesn't need it.
8691 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
8693 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
8695 * startup.el (command-line): Expand package name returned by
8696 `package--description-file' (bug#14639).
8698 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
8700 * emacs-lisp/package.el (package-load-descriptor): Do not call
8701 `emacs-lisp-mode', just use its syntax table.
8703 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
8705 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
8706 `font-lock-extra-managed-props' if any prettifying keyword is added.
8707 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
8708 (prog-mode): Use `setq-local'.
8710 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
8712 * international/characters.el (standard-case-table): Set syntax of ?»
8713 and ?« to punctuation.
8715 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
8717 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
8718 Save relevant match data before calling `syntax-ppss' (bug#14595).
8720 2013-06-15 Juri Linkov <juri@jurta.org>
8722 * files-x.el (modify-file-local-variable-prop-line): Add local
8723 variables to the end of the existing comment on the first line.
8724 Use `file-auto-mode-skip' to skip interpreter magic line,
8725 and also skip XML declaration.
8727 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
8729 * startup.el (package--builtin-versions): New var.
8730 (package-subdirectory-regexp): Remove.
8731 (package--description-file): Hard code its value instead.
8733 * emacs-lisp/package.el: Don't activate packages older than builtin.
8734 (package-obsolete-list): Rename from package-obsolete-alist, and make
8735 it into a simple list of package-desc.
8736 (package-strip-version): Remove.
8737 (package-built-in-p): Use package--builtin-versions.
8738 (package-mark-obsolete): Simplify.
8739 (package-process-define-package): Mark it obsolete if older than the
8741 (package-handle-response): Use line-end-position.
8742 (package-read-archive-contents, package--download-one-archive):
8744 (package--add-to-archive-contents): Skip if older than the builtin or
8746 (package-menu-describe-package): Fix last change.
8747 (package-list-unversioned): New var.
8748 (package-menu--generate): Use it.
8750 * emacs-lisp/autoload.el: Manage package--builtin-versions.
8751 (autoload--insert-text, autoload--insert-cookie-text): New functions.
8752 (autoload-builtin-package-versions): New variable.
8753 (autoload-generate-file-autoloads): Use them.
8754 Remove the list of autoloaded functions/macros from the
8755 (autoload...) comments.
8757 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
8759 2013-06-15 Eli Zaretskii <eliz@gnu.org>
8761 * simple.el (line-move-partial): Don't jump to the next screen
8762 line as soon as it becomes visible. Instead, continue enlarging
8763 the vscroll until the portion of a tall screen line that's left on
8764 display is about the height of the frame's default font.
8767 2013-06-15 Glenn Morris <rgm@gnu.org>
8769 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
8770 compilation-error-regexp-alist void, or local while let-bound.
8772 * progmodes/make-mode.el (makefile-mode-syntax-table):
8773 Treat "=" as punctuation. (Bug#14614)
8775 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
8777 * help-fns.el (describe-variable):
8778 Add extra line for permanent-local variables.
8780 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
8782 * progmodes/scheme.el (scheme-font-lock-keywords-2):
8783 Add export, import, library. (Bug#9164)
8784 (library): Set indent function.
8786 2013-06-14 Glenn Morris <rgm@gnu.org>
8788 * term/xterm.el (xterm--query):
8789 Stop after first matching handler. (Bug#14615)
8791 2013-06-14 Ivan Kanis <ivan@kanis.fr>
8793 Add support for dired in saveplace.
8794 * dired.el (dired-initial-position-hook): New variable.
8795 (dired-initial-position): Call hook to place cursor position.
8796 * saveplace.el (save-place-to-alist): Add dired position.
8797 (save-place-dired-hook): New function.
8799 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
8801 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
8802 through a symbol rather than letrec.
8804 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
8805 (package-desc): Add `dir' field.
8806 (package-desc-full-name): New function.
8807 (package-load-descriptor): Combine the two arguments. Don't use `load'.
8808 (package-maybe-load-descriptor): Remove.
8809 (package-load-all-descriptors): Just call package-load-descriptor.
8810 (package--disabled-p): New function.
8811 (package-desc-vers, package-desc-doc): Remove aliases.
8812 (package--dir): Remove function.
8813 (package-activate): Check if a package is disabled.
8814 (package-process-define-package): New function, extracted from
8816 (define-package): Turn into a place holder.
8817 (package-unpack-single, package-tar-file-info):
8818 Use package--description-file.
8819 (package-compute-transaction): Use package--disabled-p.
8820 (package-download-transaction): Don't call
8821 package-maybe-load-descriptor since they're all loaded anyway.
8822 (package-install): Change argument to be a pkg-desc.
8823 (package-delete): Use a single pkg-desc argument.
8824 (describe-package-1): Use package-desc-dir instead of package--dir.
8825 Use package-desc property instead of package-symbol.
8826 (package-install-button-action): Adjust accordingly.
8827 (package--push): Rewrite.
8828 (package-menu--print-info): Adjust accordingly. Change the ID format
8830 (package-menu-describe-package, package-menu-get-status)
8831 (package-menu--find-upgrades, package-menu-mark-upgrades)
8832 (package-menu-execute, package-menu--name-predicate):
8834 * startup.el (package--description-file): New function.
8835 (command-line): Use it.
8836 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8837 Use package-desc-version.
8839 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
8840 (byte-compile-preprocess): Use it.
8841 (byte-compile-file-form-defalias): Try a bit harder to use macros we
8842 can't quite recognize.
8843 (byte-compile-add-to-list): Remove.
8844 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
8845 (cconv-closure-convert): Add assertion.
8847 * emacs-lisp/map-ynp.el: Use lexical-binding.
8848 (map-y-or-n-p): Remove unused vars `tail' and `object'.
8849 Factor out some repeated code.
8851 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
8853 * subr.el (with-eval-after-load): New macro.
8854 (eval-after-load): Allow form to be a function.
8855 take advantage of lexical-binding.
8856 (do-after-load-evaluation): Use dolist and adjust to new format.
8857 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
8859 2013-06-13 Juri Linkov <juri@jurta.org>
8861 * replace.el (perform-replace): Display "symbol " and other search
8862 modes from `isearch-message-prefix' in the *Help* buffer.
8864 * isearch.el (isearch-query-replace): Add " symbol" and other
8865 possible search modes from `isearch-message-prefix' to the prompt.
8866 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
8867 when reading a regexp to collect.
8869 2013-06-13 Juri Linkov <juri@jurta.org>
8871 * isearch.el (word-search-regexp): Match whitespace if the search
8872 string begins or ends in whitespace. The LAX arg is applied to
8873 both ends of the search string. Use `regexp-quote' and explicit
8874 \< and \> instead of \b. Use \` and \' instead of ^ and $.
8875 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
8876 boundaries are replaced with symbol boundaries, and characters
8877 between symbols match non-word non-symbol syntax. (Bug#14602)
8879 2013-06-13 Juri Linkov <juri@jurta.org>
8881 * isearch.el (isearch-del-char): Don't exceed the length of
8882 `isearch-string' by the prefix arg. (Bug#14563)
8884 2013-06-13 Juri Linkov <juri@jurta.org>
8886 * isearch.el (isearch-yank-word, isearch-yank-line)
8887 (isearch-char-by-name, isearch-quote-char)
8888 (isearch-printing-char, isearch-process-search-char):
8889 Add optional count prefix arg. (Bug#14563)
8891 * international/isearch-x.el
8892 (isearch-process-search-multibyte-characters):
8893 Add optional count prefix arg.
8895 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
8897 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
8898 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
8901 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
8903 * subr.el (set-temporary-overlay-map): Add on-exit argument.
8905 2013-06-13 Glenn Morris <rgm@gnu.org>
8907 * startup.el (tty-handle-args):
8908 Don't just discard "--" and anything after. (Bug#14608)
8910 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
8912 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
8914 Implement changes in Secret Service API. Make it backward compatible.
8915 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
8916 (secrets-create-item): Use it. Prefix properties with interface.
8918 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
8920 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
8921 (term-emulate-terminal): Respect term-suppress-hard-newline.
8923 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
8925 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
8926 Only remove a `thumb-file' overlay. (Bug#14548)
8928 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
8930 * mail/reporter.el (reporter-submit-bug-report):
8931 Handle missing package-name. (Bug#14600)
8933 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8935 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
8936 (reftex-citation-prompt, reftex-default-bibliography)
8937 (reftex-bib-or-thebib, reftex-get-bibfile-list)
8938 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
8939 (reftex-bib-sort-author, reftex-bib-sort-year)
8940 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
8941 (reftex-extract-bib-entries-from-thebibliography)
8942 (reftex-get-bibkey-default, reftex-get-bib-names)
8943 (reftex-parse-bibtex-entry, reftex-get-bib-field)
8944 (reftex-format-bib-entry, reftex-parse-bibitem)
8945 (reftex-format-bibitem, reftex-do-citation)
8946 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
8947 (reftex-restrict-bib-matches, reftex-extract-bib-file)
8948 (reftex-insert-bib-matches, reftex-format-citation)
8949 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
8950 (reftex-create-bibtex-file): Add docstrings, mostly by converting
8951 existing comments into docstrings.
8953 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
8955 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
8957 2013-06-12 Andreas Schwab <schwab@suse.de>
8959 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
8960 for auto-save files.
8962 2013-06-12 Glenn Morris <rgm@gnu.org>
8964 * ido.el (ido-delete-ignored-files): Remove.
8965 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
8966 Go back to calling ido-ignore-item-p directly.
8968 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
8970 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
8972 * ido.el (ido-delete-ignored-files): New function,
8973 split from ido-make-file-list-1.
8974 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
8975 (ido-make-file-list-1): Use ido-delete-ignored-files.
8977 2013-06-12 Leo Liu <sdl.web@gmail.com>
8979 * progmodes/octave.el (inferior-octave-startup)
8980 (inferior-octave-completion-table)
8981 (inferior-octave-track-window-width-change)
8982 (octave-eldoc-function-signatures, octave-help)
8983 (octave-find-definition): Use single quoted strings.
8984 (inferior-octave-startup-args): Change default value.
8985 (inferior-octave-startup): Do not hard code "-i" and
8986 "--no-line-editing".
8987 (inferior-octave-resync-dirs): Add optional arg NOERROR.
8988 (inferior-octave-directory-tracker): Use it.
8989 (octave-goto-function-definition): Robustify.
8990 (octave-help): Support highlighting operators in 'See also'.
8991 (octave-find-definition): Find subfunctions only in Octave mode.
8993 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
8995 * help-fns.el (help-fns--compiler-macro): If the handler function is
8996 named, then put a link to it.
8997 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
8998 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
9000 (cl-eval-when): Simplify debug spec.
9001 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
9002 compiler-macro function instead of setting `compiler-macro-file'.
9004 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
9006 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
9007 * vc/vc-hooks.el (vc-stay-local): Doc fix.
9009 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
9010 Daniel Hackney <dan@haxney.org>
9012 First part of Daniel Hackney's patch to package.el.
9013 * emacs-lisp/package.el: Use defstruct.
9014 (package-desc): New, main struct.
9015 (package--bi-desc, package--ac-desc): New structs, used to describe the
9016 format in external files.
9017 (package-desc-vers): Replace with package-desc-version accessor.
9018 (package-desc-doc): Replace with package-desc-summary accessor.
9019 (package-activate-1): Remove `package' arg since the pkg-vec now
9021 (define-package): Use package-desc-from-define.
9022 (package-unpack-single): Change file-name arg to be a symbol.
9023 (package--add-to-archive-contents): Use package-desc-create and new
9024 accessor functions to package--ac-desc.
9025 (package-buffer-info, package-tar-file-info): Return a package-desc.
9026 (package-install-from-buffer): Remove `type' argument. Change pkg-info
9027 arg to be a package-desc.
9028 (package-install-file): Adjust accordingly. Use \' to match EOS.
9029 (package--from-builtin): New function.
9030 (describe-package-1, package-menu--generate): Use it.
9031 (package--make-autoloads-and-compile): Change name arg to be a symbol.
9032 (package-generate-autoloads): Idem and return the name of the file.
9033 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9034 Change pkg-info arg to be a package-desc.
9035 Use package-make-ac-desc.
9036 (package-upload-file): Use \' to match EOS.
9037 * finder.el (finder-compile-keywords): Use package-make-builtin.
9039 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9041 * vc/vc.el (vc-deduce-fileset): Change error message.
9042 (vc-read-backend): New function.
9043 (vc-next-action): Use it.
9045 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
9047 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
9048 (prolog-font-lock-keywords): Use regexp-opt instead.
9049 Don't manually highlight strings.
9050 (prolog-mode-variables): Simplify comment-start-skip.
9051 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
9053 * emacs-lisp/generic.el (generic--normalise-comments)
9054 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
9055 (generic-mode-set-comments): Use them.
9056 (generic-bracket-support): Use setq-local.
9057 (generic-make-keywords-list): Declare obsolete.
9059 2013-06-11 Glenn Morris <rgm@gnu.org>
9061 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
9062 Prettify after setting font-lock-defaults. (Bug#14574)
9064 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
9066 * replace.el (query-replace, occur-read-regexp-defaults-function)
9068 * subr.el (declare-function, number-sequence, local-set-key)
9069 (substitute-key-definition, locate-user-emacs-file)
9070 (with-silent-modifications, split-string, eval-after-load):
9071 Fix typos, remove unneeded backslashes and reflow some docstrings.
9073 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9075 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
9076 default for Elisp files.
9078 2013-06-11 Glenn Morris <rgm@gnu.org>
9080 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
9081 although define-derived-mode was doing this anyway. (Bug#14583)
9083 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
9085 * allout.el (allout-encryption-plaintext-sanitization-regexps):
9086 Fix make-variable-buffer-local call to refer to the correct variable.
9088 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
9090 * eshell/em-term.el (eshell-visual-commands)
9091 (eshell-visual-subcommands, eshell-visual-options):
9092 Add summary line to docstrings. Add cross-references.
9094 2013-06-10 Glenn Morris <rgm@gnu.org>
9096 * epa.el (epa-read-file-name): New function. (Bug#14510)
9097 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
9099 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
9101 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
9102 output redirection to be ignored with visual commands.
9104 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
9106 * eshell/em-term.el (eshell-visual-command-p): New function.
9107 (eshell-term-initialize): Move long lambda to separate function
9108 eshell-visual-command-p.
9109 * eshell/em-dirs.el (eshell-dirs-initialise):
9110 * eshell/em-script.el (eshell-script-initialize):
9111 Add missing #' to lambda.
9113 2013-06-08 Leo Liu <sdl.web@gmail.com>
9115 * progmodes/octave.el (octave-add-log-current-defun): New function.
9116 (octave-mode): Set add-log-current-defun-function.
9117 (octave-goto-function-definition): Do not move point if not found.
9118 (octave-find-definition): Enhance to try subfunctions first.
9120 2013-06-08 Glenn Morris <rgm@gnu.org>
9122 * emacs-lisp/bytecomp.el (byte-compile-char-before)
9123 (byte-compile-backward-char, byte-compile-backward-word):
9124 Improve previous change, to handle non-explicit nil.
9126 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
9128 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
9129 (smie--opener/closer-at-point): New function.
9130 (smie--matching-block-data): Use it. Don't match from right after an
9131 opener or right before a closer. Obey smie-blink-matching-inners.
9132 Don't signal a mismatch for repeated inners like "switch..case..case".
9134 2013-06-07 Leo Liu <sdl.web@gmail.com>
9136 * progmodes/octave.el (octave-mode): Set comment-use-global-state
9138 (octave-function-header-regexp): Fix. (Bug#14570)
9139 (octave-help-mode-finish-hook, octave-help-mode-finish):
9140 Remove. Just use temp-buffer-show-hook.
9142 * newcomment.el (comment-search-backward): Revert last change.
9145 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
9147 2013-06-07 Eli Zaretskii <eliz@gnu.org>
9149 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
9150 through xargs, to avoid failure due to MS-Windows limitations on
9151 command-line length.
9153 2013-06-06 Glenn Morris <rgm@gnu.org>
9155 * font-lock.el (lisp-font-lock-keywords-2):
9156 Treat user-error like error.
9158 * emacs-lisp/bytecomp.el (byte-compile-char-before)
9159 (byte-compile-backward-char, byte-compile-backward-word):
9160 Handle explicit nil arguments. (Bug#14565)
9162 2013-06-05 Alan Mackenzie <acm@muc.de>
9164 * isearch.el (isearch-allow-prefix): New user option.
9165 (isearch-other-meta-char): Don't exit isearch when a prefix
9166 argument is typed whilst `isearch-allow-prefix' is non-nil.
9169 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9171 * autorevert.el (auto-revert-notify-handler): Use memq.
9172 Hide assertion failure.
9174 * skeleton.el: Use cl-lib.
9175 (skeleton-further-elements): Use defvar-local.
9176 (skeleton-insert): Use cl-progv.
9178 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9180 * progmodes/prog-mode.el (prog-prettify-symbols)
9181 (prog-prettify-install): Update docstrings.
9183 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9185 * simple.el: Move all the prog-mode code to prog-mode.el.
9186 * progmodes/prog-mode.el: New file.
9187 * loadup.el: Add prog-mode.el.
9189 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9191 * simple.el (prog-prettify-symbols): Add version.
9192 (prog-prettify-install): Add convenience function to prettify symbols.
9194 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
9195 (perl--augmented-font-lock-keywords-1)
9196 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
9197 variables and use it.
9199 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
9200 (cfengine3-mode): Remove unneeded variable and use it.
9202 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
9203 (lisp--augmented-font-lock-keywords-1)
9204 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
9205 Remove unneeded variables and use it.
9207 2013-06-05 João Távora <joaotavora@gmail.com>
9209 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
9210 to point when opening the connection. (Bug#14380)
9212 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9214 * subr.el (load-history-regexp, load-history-filename-element)
9215 (eval-after-load, after-load-functions, do-after-load-evaluation)
9216 (eval-next-after-load, display-delayed-warnings)
9217 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
9218 definition of save-match-data.
9219 (overriding-local-map): Remove accidental obsolescence declaration.
9221 * emacs-lisp/edebug.el (edebug-result): Move before first use.
9223 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9225 Generalize symbol prettify support to prog-mode and implement it
9226 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
9227 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
9228 (prog--prettify-font-lock-compose-symbol)
9229 (prog-prettify-font-lock-symbols-keywords): New variables and
9230 functions to support symbol prettification.
9231 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
9232 (lisp--augmented-font-lock-keywords-1)
9233 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
9234 (lisp--prettify-symbols-alist): Implement prettify of lambda.
9235 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
9236 (cfengine3--prettify-symbols-alist, cfengine3-mode):
9237 Implement prettify of -> => :: strings.
9238 * progmodes/perl-mode.el (perl-prettify-symbols)
9239 (perl--font-lock-compose-symbol)
9240 (perl--font-lock-symbols-keywords): Move to prog-mode.
9241 (perl--prettify-symbols-alist): Prettify -> => :: strings.
9242 (perl-font-lock-keywords-1)
9243 (perl-font-lock-keywords-2): Remove explicit prettify support.
9244 (perl--augmented-font-lock-keywords)
9245 (perl--augmented-font-lock-keywords-1)
9246 (perl--augmented-font-lock-keywords-2, perl-mode):
9247 Implement prettify support.
9249 2013-06-05 Leo Liu <sdl.web@gmail.com>
9251 Re-implement smie matching block highlight using
9252 show-paren-data-function. (Bug#14395)
9253 * emacs-lisp/smie.el (smie-matching-block-highlight)
9254 (smie--highlight-matching-block-overlay)
9255 (smie--highlight-matching-block-lastpos)
9256 (smie-highlight-matching-block)
9257 (smie-highlight-matching-block-mode): Remove.
9258 (smie--matching-block-data-cache): New variable.
9259 (smie--matching-block-data): New function.
9260 (smie-setup): Use smie--matching-block-data for
9261 show-paren-data-function.
9263 * progmodes/octave.el (octave-mode-menu): Fix.
9264 (octave-find-definition): Skip garbage lines.
9266 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9268 Fix compilation error with simultaneous dynamic+lexical scoping.
9269 Add warning when a defvar appears after the first let-binding.
9270 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
9271 (byte-compile-close-variables): Initialize it.
9272 (byte-compile--declare-var): New function.
9273 (byte-compile-file-form-defvar)
9274 (byte-compile-file-form-define-abbrev-table)
9275 (byte-compile-file-form-custom-declare-variable): Use it.
9276 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
9277 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
9278 (byte-compile-bind): Handle dynamic bindings that shadow
9280 (byte-compile-unbind): Make arg non-optional.
9281 (byte-compile-let): Simplify.
9282 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
9283 (cconv--analyse-function, cconv-analyse-form): Populate it.
9284 Protect byte-compile-bound-variables to limit the scope of defvars.
9285 (cconv-analyse-form): Add missing rule for (defvar <foo>).
9286 Remove unneeded rule for `declare'.
9288 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
9289 so as to avoid depending on cl-adjoin at run-time.
9290 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
9292 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
9293 (macroexp--warn-and-return): Use it.
9295 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9297 * subr.el: Convert to lexical binding.
9298 (overriding-local-map): Make obsolete.
9299 (add-to-list): Doc fix. Add compiler macro.
9300 (read-key): Swap values of local maps.
9302 2013-06-05 Leo Liu <sdl.web@gmail.com>
9304 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
9306 2013-06-04 Leo Liu <sdl.web@gmail.com>
9308 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
9309 (compilation-auto-jump): Suppress the "Mark set" message to give
9310 way to exit message.
9312 2013-06-04 Alan Mackenzie <acm@muc.de>
9314 Remove faulty optimisation from indentation calculation.
9315 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
9316 search limit based on 2000 characters back from indent-point.
9318 2013-06-03 Tassilo Horn <tsdh@gnu.org>
9320 * eshell/em-term.el (cl-lib): Require `cl-lib'.
9322 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
9324 * emacs-lisp/lisp.el: Use lexical-binding.
9325 (lisp--local-variables-1, lisp--local-variables): New functions.
9326 (lisp--local-variables-completion-table): New var.
9327 (lisp-completion-at-point): Use it complete let-bound vars.
9329 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
9330 eagerly (bug#14422).
9332 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
9334 * autorevert.el (auto-revert-notify-enabled)
9335 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
9336 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
9337 (auto-revert-notify-handler): Handle also gfilenotify.
9339 * subr.el (file-notify-handle-event): New defun. Replacing ...
9340 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
9343 2013-06-03 Juri Linkov <juri@jurta.org>
9345 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
9346 `M-s h .'. (Bug#14427)
9348 * hi-lock.el (highlight-symbol-at-point): New alias for the new
9349 command `hi-lock-face-symbol-at-point'.
9350 (hi-lock-face-symbol-at-point): New command.
9351 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
9352 (hi-lock-menu): Add `highlight-symbol-at-point'.
9353 (hi-lock-mode): Doc fix.
9355 * isearch.el (isearch-forward-symbol-at-point): New command.
9356 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
9357 (isearch-highlight-regexp): Add a regexp which matches
9358 words/symbols for word/symbol mode.
9360 * subr.el (find-tag-default-bounds): New function with the body
9361 mostly moved from `find-tag-default'.
9362 (find-tag-default): Move most code to `find-tag-default-bounds',
9363 call it and apply `buffer-substring-no-properties' afterwards.
9365 2013-06-03 Tassilo Horn <tsdh@gnu.org>
9367 * eshell/em-term.el (eshell-term-initialize):
9368 Use `cl-intersection' rather than `intersection'.
9370 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
9372 * vc/log-view.el: Doc fix.
9373 (log-view-mode-map): Copy keymap from `special-mode-map'.
9375 2013-06-02 Eric Ludlam <zappo@gnu.org>
9377 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
9378 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
9379 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
9380 (eieio-unbound, eieio-default-superclass)
9381 (eieio--define-field-accessors, method-static, method-before)
9382 (method-primary, method-after, method-num-lists)
9383 (method-generic-before, method-generic-primary)
9384 (method-generic-after, method-num-slots)
9385 (eieio-specialized-key-to-generic-key)
9386 (eieio--check-type, class-v, class-p)
9387 (eieio-class-name, define-obsolete-function-alias)
9388 (eieio-class-parents-fast, eieio-class-children-fast)
9389 (same-class-fast-p, class-constructor, generic-p)
9390 (generic-primary-only-p, generic-primary-only-one-p)
9391 (class-option-assoc, class-option, eieio-object-p)
9392 (class-abstract-p, class-method-invocation-order)
9393 (eieio-defclass-autoload-map, eieio-defclass-autoload)
9394 (eieio-class-un-autoload, eieio-defclass)
9395 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
9396 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
9397 (eieio--defgeneric-init-form, eieio-defgeneric-form)
9398 (eieio-defgeneric-reset-generic-form)
9399 (eieio-defgeneric-form-primary-only)
9400 (eieio-defgeneric-reset-generic-form-primary-only)
9401 (eieio-defgeneric-form-primary-only-one)
9402 (eieio-defgeneric-reset-generic-form-primary-only-one)
9403 (eieio-unbind-method-implementations)
9404 (eieio--defmethod, eieio--typep)
9405 (eieio-perform-slot-validation, eieio-validate-slot-value)
9406 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
9407 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
9408 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
9409 (eieio-slot-name-index, eieio-class-slot-name-index)
9410 (eieio-set-defaults, eieio-initarg-to-attribute)
9411 (eieio-attribute-to-initarg, eieio-c3-candidate)
9412 (eieio-c3-merge-lists, eieio-class-precedence-c3)
9413 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
9414 (eieio-class-precedence-list, eieio-generic-call-methodname)
9415 (eieio-generic-call-arglst, eieio-generic-call-key)
9416 (eieio-generic-call-next-method-list)
9417 (eieio-pre-method-execution-functions, eieio-generic-call)
9418 (eieio-generic-call-primary-only, eieiomt-method-list)
9419 (eieiomt-optimizing-obarray, eieiomt-install)
9420 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
9421 (eieio-generic-form, eieio-defmethod, make-obsolete)
9422 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
9423 (defclass): Remove `eval-and-compile' from macro.
9424 (call-next-method, shared-initialize): Instead of using
9425 `scoped-class' variable, use new eieio--scoped-class, and
9426 eieio--with-scoped-class.
9427 (initialize-instance): Rename local variable 'scoped-class' to
9428 'this-class' to remove ambiguitity from old global.
9430 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
9432 (eieio--scoped-class-stack): New variable.
9433 (eieio--scoped-class): New fcn.
9434 (eieio--with-scoped-class): New scoping macro.
9435 (eieio-defclass): Use pushnew instead of add-to-list.
9436 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
9437 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
9438 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
9439 `scoped-class' variable, use new eieio--scoped-class, and
9440 eieio--with-scoped-class.
9442 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
9444 2013-06-02 Tassilo Horn <tsdh@gnu.org>
9446 * eshell/esh-ext.el (eshell-external-command): Pass args to
9447 `eshell-find-interpreter'.
9448 (eshell-find-interpreter): Add new second parameter ARGS.
9450 * eshell/em-script.el (eshell-script-initialize): Add second arg
9451 to the function added as MATCH to `eshell-interpreter-alist'.
9453 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
9454 the function added as MATCH to `eshell-interpreter-alist'.
9456 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
9457 (eshell-visual-options): New defcustom.
9458 (eshell-escape-control-x): Adapt docstring.
9459 (eshell-term-initialize): Test `eshell-visual-subcommands' and
9460 `eshell-visual-options' in addition to `eshell-visual-commands'.
9461 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
9463 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
9465 * progmodes/python.el (python-indent-block-enders): Add break,
9466 continue and raise keywords.
9468 2013-06-01 Glenn Morris <rgm@gnu.org>
9470 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
9472 Plain (f)boundp silences compilation warnings since Emacs 22.1.
9473 * progmodes/cc-cmds.el (delete-forward-p):
9474 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
9475 * progmodes/cc-engine.el (buffer-syntactic-context):
9476 * progmodes/cc-fonts.el (face-property-instance):
9477 * progmodes/cc-mode.el (set-keymap-parents):
9478 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
9479 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
9480 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
9481 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
9482 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
9484 * progmodes/cc-vars.el (other): Emacs has this widget since
9485 at least 21.1, so don't (re)define it.
9487 * eshell/em-cmpl.el (eshell-cmpl-initialize):
9488 Replace the obsolete alias pcomplete-arg-quote-list.
9490 2013-06-01 Leo Liu <sdl.web@gmail.com>
9492 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
9494 (inferior-octave-minimal-columns)
9495 (inferior-octave-last-column-width): New variables.
9496 (inferior-octave-track-window-width-change): New function.
9497 (inferior-octave-mode): Adjust column width so that Octave output,
9498 for example from 'ls', can fit into the window nicely.
9500 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
9502 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
9503 Highlight expansions inside regexp literals.
9505 2013-05-31 Glenn Morris <rgm@gnu.org>
9507 * obsolete/sym-comp.el (symbol-complete):
9508 Replace obsolete completion-annotate-function.
9510 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
9512 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
9514 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
9515 New function, checks if point is inside a literal that allows
9516 expression expansion.
9517 (ruby-syntax-propertize-expansion): Use it.
9518 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
9521 2013-05-30 Juri Linkov <juri@jurta.org>
9523 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
9525 (isearch-invisible): New variable.
9526 (isearch-forward): Doc fix.
9527 (isearch-mode): Set `isearch-invisible'
9528 to the value of `search-invisible'.
9529 (isearch-toggle-case-fold): Doc fix.
9530 (isearch-toggle-invisible): New command.
9531 (isearch-query-replace): Let-bind `search-invisible'
9532 to the value of `isearch-invisible'.
9533 (isearch-search): Use `isearch-invisible' instead of
9534 `search-invisible'. Let-bind `search-invisible'
9535 to the value of `isearch-invisible'. (Bug#11378)
9537 2013-05-30 Juri Linkov <juri@jurta.org>
9539 * replace.el (perform-replace): Avoid `isearch-range-invisible'
9540 call when `query-flag' is nil and `search-invisible' is non-nil.
9543 2013-05-30 Glenn Morris <rgm@gnu.org>
9545 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
9547 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
9548 (cc-require): Suppress spurious "noruntime" warnings.
9549 (cc-require-when-compile): Use fboundp, for sake of compiler.
9551 * progmodes/cc-mode.el: Move load of cc-vars before that of
9552 cc-langs (which in turn loads cc-vars), to quieten compiler.
9554 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9556 * paren.el: Simplify the code.
9557 (show-paren-mode): Always start the timer.
9558 (show-paren--idle-timer): Rename from show-paren-idle-timer.
9559 (show-paren--overlay, show-paren--overlay-1): Rename from
9560 show-paren-overlay and show-paren-overlay-1, and initialize to an
9561 overlay rather than to nil.
9562 (show-paren-function): Misc cleanup and simplifications.
9564 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9566 * paren.el (show-paren-data-function): New hook.
9567 (show-paren--default): New function, extracted from show-paren-function.
9568 (show-paren-function): Use show-paren-data-function.
9570 2013-05-30 Glenn Morris <rgm@gnu.org>
9572 * ielm.el (ielm-map, ielm-complete-symbol):
9573 Use completion-at-point rather than obsolete functions.
9574 (inferior-emacs-lisp-mode): Doc fix.
9575 Set completion-at-point-functions, rather than
9576 comint-dynamic-complete-functions.
9578 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
9579 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
9580 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
9582 * image.el (image-animated-p): Tweak definition.
9584 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
9585 (rlogin-process-connection-type): Tweak default. Add set-after.
9586 (rlogin-host): Doc fix.
9587 (rlogin): Tweak prompt.
9588 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
9590 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
9591 * progmodes/tcl.el (inferior-tcl-mode-map):
9592 Use completion-at-point rather than obsolete alias.
9594 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
9596 * minibuffer.el (read-file-name-completion-ignore-case):
9597 Move before completion--in-region, for eager macro expansion.
9599 2013-05-29 Juri Linkov <juri@jurta.org>
9601 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
9602 for total count of matching lines. Add `global-matches' for total
9603 count of matches. Rename `matches' to `lines' for count of
9604 matching lines. Add `matches' for count of matches.
9605 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
9606 to `prev-line' for line number of prev match endpt.
9607 Increment `matches' for every match. Print the number of
9608 matching lines in the header.
9609 (occur-context-lines): Rename `lines' to `curr-line'.
9610 Rename `prev-lines' to `prev-line'. (Bug#14017)
9612 2013-05-29 Juri Linkov <juri@jurta.org>
9614 * replace.el (perform-replace): Add `skip-read-only-count',
9615 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
9616 Increment them for corresponding conditions and report the number
9617 of skipped occurrences in the final message. (Bug#11746)
9618 (query-replace, query-replace-regexp, query-replace-regexp-eval)
9619 (replace-string, replace-regexp): Doc fix.
9621 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
9623 * emacs-lisp/trace.el (trace--read-args): Provide a default.
9625 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
9626 prog-mode-map (bug#14504).
9628 2013-05-29 Leo Liu <sdl.web@gmail.com>
9630 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
9631 (octave-help): Small simplification.
9633 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
9634 off the highlight first.
9636 2013-05-29 Glenn Morris <rgm@gnu.org>
9638 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
9639 Handle idlwave-last-system-routine-info-cons-cell being nil.
9641 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
9642 (idlwave-write-paths): Simplify via with-temp-buffer.
9644 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
9645 * emulation/cua-rect.el: Also load cua-base at run time.
9647 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
9648 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
9649 (cperl-imenu-on-info): Require imenu.
9651 2013-05-28 Alan Mackenzie <acm@muc.de>
9653 Handle "capitalised keywords" correctly.
9654 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
9656 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
9658 * eshell/em-unix.el: Add -r option to cp.
9660 2013-05-28 Glenn Morris <rgm@gnu.org>
9662 * vc/vc-arch.el (vc-exec-after): Declare.
9663 (vc-switches): Autoload.
9664 * vc/vc-bzr.el: No need to require vc when compiling.
9665 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
9666 (vc-resynch-buffer, vc-dir-refresh): Declare.
9667 (vc-setup-buffer, vc-switches): Autoload.
9668 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
9669 (vc-resynch-buffer): Declare.
9670 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
9671 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
9672 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
9673 (grep-read-regexp, grep-read-files, grep-expand-template)
9674 (vc-dir-refresh): Declare.
9675 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
9676 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
9677 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
9678 * vc/vc-mtn.el (vc-exec-after): Declare.
9679 (vc-switches): Autoload.
9680 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
9681 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
9682 (vc-file-tree-walk): Declare.
9683 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
9684 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
9685 (vc-tag-precondition, vc-rename-master): Autoload.
9686 * vc/vc-svn.el (vc-exec-after): Declare.
9687 (vc-switches, vc-setup-buffer): Autoload.
9688 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
9690 (vc-resynch-buffer): Declare.
9692 * obsolete/fast-lock.el (byte-compile-warnings):
9693 Don't warn about obsolete features in this obsolete file.
9695 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
9696 Move definition before use.
9698 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
9699 (dun-unix-verbs): Remove dun-zippy.
9700 (dun-zippy): Remove function.
9702 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
9704 2013-05-27 Juri Linkov <juri@jurta.org>
9706 * replace.el (replace-search): New function with code moved out
9707 from `perform-replace'.
9708 (replace-highlight, replace-dehighlight): Move function definitions
9709 up closer to `replace-search'. (Bug#11746)
9711 2013-05-27 Juri Linkov <juri@jurta.org>
9713 * replace.el (perform-replace): Ignore invisible matches.
9714 In addition to checking `query-replace-skip-read-only', also
9715 filter out matches by calling `run-hook-with-args-until-failure'
9716 on `isearch-filter-predicates', and also check `search-invisible'
9717 for t or call `isearch-range-invisible'.
9718 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
9720 2013-05-27 Juri Linkov <juri@jurta.org>
9722 * isearch.el (isearch-filter-predicates): Rename from
9723 `isearch-filter-predicate'. Doc fix. (Bug#11378)
9724 (isearch-message-prefix): Display text from the property
9725 `isearch-message-prefix' of the currently active filters.
9726 (isearch-search): Don't compare `isearch-filter-predicate' with
9727 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
9728 on `isearch-filter-predicates'. Also check `search-invisible' for t
9729 or call `isearch-range-invisible'.
9730 (isearch-filter-visible): Make obsolete.
9731 (isearch-lazy-highlight-search):
9732 Call `run-hook-with-args-until-failure' on
9733 `isearch-filter-predicates' and use `isearch-range-invisible'.
9735 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
9736 `isearch-filter-predicates' instead of `funcall'ing
9737 `isearch-filter-predicate'.
9738 (Info-mode): Set `Info-isearch-filter' to
9739 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
9741 * dired-aux.el (dired-isearch-filter-predicate-orig):
9743 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
9744 (dired-isearch-filenames-end): Add and remove
9745 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
9746 instead of changing the value of `isearch-filter-predicate'.
9747 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
9748 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
9749 Put property `isearch-message-prefix' to "filename " on
9750 `dired-isearch-filter-filenames'.
9752 * wdired.el (wdired-change-to-wdired-mode):
9753 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
9754 locally instead of changing `isearch-filter-predicate'.
9755 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
9757 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
9759 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
9760 return the commit hash (Bug#14459). Also set the
9761 `vc-git-detached' property.
9762 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
9763 (vc-git-mode-line-string): Use the same help-echo format whether
9764 in detached mode or not, because we know the actual revision now.
9765 When in detached mode, shorten the revision to 7 chars.
9767 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
9769 * emacs-lisp/easy-mmode.el (define-minor-mode):
9770 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
9771 mode hook and provide a docstring.
9773 2013-05-27 Alan Mackenzie <acm@muc.de>
9775 Remove spurious syntax-table text properties inserted by C-y.
9776 * progmodes/cc-mode.el (c-after-change): Also clear hard
9777 syntax-table property with value nil.
9779 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
9781 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
9782 when reading the events; the buffer layout shall not be changed.
9784 2013-05-27 Leo Liu <sdl.web@gmail.com>
9786 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
9788 (inferior-octave-directory-tracker): Automatically re-sync
9790 (octave-help): Improve handling of 'See also'.
9792 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
9794 * doc-view.el: Minor naming convention tweaks.
9795 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
9797 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
9798 even if there's no `display' property yet (bug#14435).
9800 2013-05-25 Eli Zaretskii <eliz@gnu.org>
9802 * subr.el (unmsys--file-name): Rename from reveal-filename.
9804 * Makefile.in (custom-deps, finder-data, autoloads)
9805 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
9806 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
9807 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
9809 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9811 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
9812 error-completion on the first 2 args of condition-case (bug#14446).
9815 2013-05-25 Leo Liu <sdl.web@gmail.com>
9817 * comint.el (comint-previous-matching-input): Do not flood the
9818 *Messages* buffer with trivial messages.
9820 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9822 * progmodes/flymake.el (flymake-nop): Don't return a string.
9823 (flymake-set-at): Fix typo.
9825 * simple.el (read--expression): New function, extracted from
9826 eval-expression. Set completion-at-point-functions (bug#14465).
9827 (eval-expression, eval-minibuffer): Use it.
9829 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
9831 * progmodes/flymake.el (flymake-save-buffer-in-file)
9832 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
9833 (flymake-selected-frame, flymake-log, flymake-ins-after)
9834 (flymake-set-at, flymake-get-buildfile-from-cache)
9835 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
9836 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
9837 Refine the doc string.
9838 (flymake-get-file-name-mode-and-masks): Reformat.
9839 (flymake-get-real-file-name-function): Fix a minor bug.
9841 2013-05-24 Juri Linkov <juri@jurta.org>
9843 * progmodes/grep.el (grep-mode-font-lock-keywords):
9844 Support =linenumber= format used by git-grep for lines with
9845 function names. (Bug#13549)
9847 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
9849 * progmodes/octave.el (octave-smie-rules): Return nil rather than
9850 0 after a semi-colon; it works better for smie-auto-fill.
9851 (octave--indent-new-comment-line): New function.
9852 (octave-indent-new-comment-line): Use it (indirectly).
9853 (octave-mode): Don't disable smie-auto-fill. Use add-function to
9854 modify comment-line-break-function.
9856 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
9857 (smie-setup): Use add-function to set it.
9859 2013-05-24 Sam Steingold <sds@gnu.org>
9861 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
9862 argument (before the `interactive' argument).
9864 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
9866 * image-mode.el (image-mode-winprops): Add winprops to
9867 image-mode-winprops-alist before running
9868 image-mode-new-window-functions.
9869 * doc-view.el (doc-view-new-window-function): Don't delay
9870 doc-view-goto-page via timers (bug#14435).
9872 2013-05-24 Tassilo Horn <tsdh@gnu.org>
9874 * doc-view.el: Integrate with desktop.el. (Bug#14435)
9875 (doc-view-desktop-save-buffer): New function.
9876 (doc-view-restore-desktop-buffer): New function.
9877 (desktop-buffer-mode-handlers):
9878 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
9880 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
9881 `desktop-save-buffer' function.
9883 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
9885 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
9886 (tramp-gvfs-file-name-handler): Raise a user error when
9887 `tramp-gvfs-enabled' is nil.
9888 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
9889 Do not raise a user error when loading package. (Bug#14447)
9891 * net/xesam.el: Move to obsolete/.
9893 2013-05-24 Glenn Morris <rgm@gnu.org>
9895 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
9897 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
9899 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
9900 (Info-find-node, Man-getpage-in-background): Declare.
9902 * mail/unrmail.el (unrmail):
9903 Replace obsolete detect-coding-with-priority.
9905 * net/socks.el (socks-split-string): Use this rather than split-string.
9906 (socks-nslookup-host): Update for above change.
9907 (dynamic-choice, s5-dynamic-choice-match)
9908 (s5-dynamic-choice-match-inline, s5-widget-value-create):
9909 Comment out unused code.
9911 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
9912 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
9913 (gud-tooltip-echo-area): Make obsolete.
9914 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
9916 * progmodes/js.el (js--optimize-arglist): Declare.
9918 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
9920 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
9921 (ediff-window-C): Declare.
9923 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
9924 Tweak requires to silence compiler.
9926 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
9927 (he-search-string, he-tried-table, he-expand-list)
9928 (he-init-string, he-string-member, he-substitute-string)
9929 (he-reset-string): Declare.
9931 * obsolete/options.el (list-options): Use custom-variable-p,
9932 rather than obsolete alias.
9934 2013-05-23 Sam Steingold <sds@gnu.org>
9936 * simple.el (shell-command-on-region): Pass the `replace' argument
9937 down to `call-process-region' to comply with the doc as reported on
9938 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
9940 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
9942 * emacs-lisp/smie.el (smie-indent-forward-token)
9943 (smie-indent-backward-token): Handle string tokens (bug#14381).
9945 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9947 * ielm.el (ielm-menu): New menu.
9948 (inferior-emacs-lisp-mode): Set comment-start.
9950 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9952 * textmodes/reftex.el (reftex-ref-style-toggle):
9953 Fix deactivate action.
9955 * textmodes/reftex-vars.el (reftex-ref-style-alist):
9956 Add cleveref macros.
9958 * textmodes/reftex-parse.el
9959 (reftex-locate-bibliography-files): Accept options for
9960 bibliography commands.
9961 * textmodes/reftex-vars.el (reftex-bibliography-commands):
9962 Add addbibresource. Basic Biblatex support.
9964 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
9966 * net/tramp-gvfs.el (top):
9967 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
9968 when loading package. (Bug#14447)
9970 2013-05-23 Glenn Morris <rgm@gnu.org>
9972 * progmodes/js.el: No need to load comint when compiling.
9973 (ring-insert, comint-send-string, comint-send-input)
9974 (comint-last-input-end, ido-chop): Declare.
9976 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
9977 * vc/ediff-mult.el: Adjust requires.
9978 (ediff-directories-internal, ediff-directory-revisions-internal)
9979 (ediff-patch-file-internal): Declare.
9980 * vc/ediff-ptch.el: Adjust requires.
9981 (ediff-use-last-dir, ediff-buffers-internal): Declare.
9982 (ediff-find-file): Autoload.
9983 * vc/ediff-util.el: No need to load ediff when compiling.
9984 (ediff-regions-internal): Declare.
9985 * vc/ediff-wind.el: Adjust requires.
9986 (ediff-compute-toolbar-width): Define when compiling.
9987 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
9988 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
9989 (dired-get-filename, dired-get-marked-files)
9990 (ediff-last-dir-patch, ediff-patch-default-directory)
9991 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
9992 (ediff-patch-buffer-internal): Declare.
9994 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
9995 (ispell-process, ispell-buffer-local-words, lm-summary)
9996 (lm-section-start, lm-section-end): Declare.
9997 (checkdoc-ispell-init): Simplify.
9999 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
10000 (he-string-member, he-reset-string, he-substitute-string): Declare.
10002 * eshell/em-ls.el: Adjust requires.
10003 (eshell-glob-regexp): Declare.
10004 * eshell/em-tramp.el: Adjust requires.
10005 (eshell-parse-command): Autoload.
10006 * eshell/em-xtra.el: Adjust requires.
10007 (eshell-parse-command): Autoload.
10008 * eshell/esh-ext.el: Adjust requires.
10009 (eshell-parse-command, eshell-close-handles): Autoload.
10010 * eshell/esh-io.el: Adjust requires.
10011 (eshell-output-filter): Autoload.
10012 * eshell/esh-util.el: No need to load tramp when compiling.
10013 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
10015 (eshell-parse-ange-ls): Require ange-ftp and tramp.
10016 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
10017 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
10018 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
10019 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
10020 * eshell/esh-opt.el, eshell/esh-proc.el:
10021 * eshell/esh-var.el: Adjust requires.
10022 * eshell/eshell.el: Do not require esh-util twice.
10023 (eshell-add-input-to-history): Declare.
10024 (eshell-command): Check history module is active before using it.
10026 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
10028 2013-05-22 Leo Liu <sdl.web@gmail.com>
10030 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
10032 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
10034 * autorevert.el (auto-revert-notify-add-watch)
10035 (auto-revert-notify-handler): Add `attrib' for the inotify case,
10036 it indicates changes in file modification time.
10038 2013-05-22 Glenn Morris <rgm@gnu.org>
10040 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
10041 Always delete the autoloaded function from the noruntime and
10042 unresolved functions lists.
10044 * allout.el: No need to load epa, epg, overlay when compiling.
10045 (epg-context-set-passphrase-callback, epg-list-keys)
10046 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
10047 (epg-key-user-id-list): Declare.
10049 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
10050 (viper-set-parsing-style-toggling-macro)
10051 (viper-set-emacs-state-searchstyle-macros):
10052 Use called-interactively-p on Emacs.
10053 (viper-looking-back): Make it an obsolete alias. Update callers.
10054 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
10055 Use looking-back rather than viper-looking-back.
10056 (viper-tmp-insert-at-eob, viper-enlarge-region)
10057 (viper-read-string-with-history, viper-register-to-point)
10058 (viper-append-to-register, viper-change-state-to-vi)
10059 (viper-backward-char-carefully, viper-forward-char-carefully)
10060 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
10061 (viper-change-state-to-emacs): Declare.
10062 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
10063 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
10064 * emulation/viper-mous.el: Do not load viper-cmd.
10065 (viper-backward-char-carefully, viper-forward-char-carefully)
10066 (viper-forward-word, viper-adjust-window): Declare.
10068 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
10070 * progmodes/idlw-help.el (idlwave-help-fontify):
10071 Use called-interactively-p.
10073 * term/w32console.el (w32-get-console-codepage)
10074 (w32-get-console-output-codepage): Declare.
10076 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
10077 Remove unnecessary declarations.
10078 (dframe-message): Doc fix.
10080 * info.el (dframe-select-attached-frame, dframe-current-frame):
10083 * speedbar.el (speedbar-message): Make it an obsolete alias.
10084 Update all callers.
10085 (speedbar-with-attached-buffer)
10086 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
10087 (speedbar-with-writable): Use backquote.
10088 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
10089 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
10090 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
10091 rather than speedbar- aliases.
10092 * mail/rmail.el: Load dframe rather than speedbar when compiling.
10093 (speedbar-make-specialized-keymap, speedbar-insert-button)
10094 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
10095 (speedbar-do-function-pointer): Declare.
10096 (rmail-speedbar-button, rmail-speedbar-find-file)
10097 (rmail-speedbar-move-message):
10098 Use dframe-with-attached-buffer rather than speedbar- alias.
10099 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
10100 (dframe-message, speedbar-make-specialized-keymap)
10101 (speedbar-add-expansion-list, speedbar-mode-functions-list)
10102 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
10103 (speedbar-insert-button, dframe-select-attached-frame)
10104 (dframe-maybee-jump-to-attached-frame)
10105 (speedbar-change-initial-expansion-list)
10106 (speedbar-previously-used-expansion-list-name): Declare.
10107 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
10108 Use dframe-message, dframe-with-attached-buffer rather than
10110 (gud-sentinel): Silence compiler.
10111 * progmodes/vhdl-mode.el (speedbar-refresh)
10112 (speedbar-do-function-pointer, speedbar-add-supported-extension)
10113 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
10114 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
10115 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
10116 (speedbar-file-lists, speedbar-make-tag-line)
10117 (speedbar-line-directory, speedbar-goto-this-file)
10118 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
10119 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
10120 (speedbar-make-button, speedbar-reset-scanners)
10121 (speedbar-files-item-info, speedbar-line-text)
10122 (speedbar-find-file-in-frame, speedbar-set-timer)
10123 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
10124 (speedbar-with-writable): Do not (re)define it.
10125 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
10126 rather than speedbar- alias.
10128 2013-05-21 Leo Liu <sdl.web@gmail.com>
10130 * progmodes/octave.el (octave-mode-menu): Update and re-organize
10132 (octave-mode): Tweak fill-nobreak-predicate.
10133 (inferior-octave-startup): Check process to avoid infinite loop.
10134 (inferior-octave): Pop to buffer first to show abornmal process
10137 2013-05-21 Glenn Morris <rgm@gnu.org>
10139 * printing.el (pr-menu-bar): Define when compiling.
10141 2013-05-21 Leo Liu <sdl.web@gmail.com>
10143 * progmodes/octave.el (octave-auto-fill): Remove.
10144 (octave-indent-new-comment-line): Improve.
10145 (octave-mode): Use auto fill mode through
10146 comment-line-break-function and fill-nobreak-predicate.
10147 (octave-goto-function-definition): Support DEFUN_DLD.
10148 (octave-beginning-of-defun): Small tweak.
10149 (octave-help): Show parent directory.
10151 2013-05-21 Glenn Morris <rgm@gnu.org>
10153 * files.el (dired-unmark):
10154 * progmodes/gud.el (gdb-input): Update declarations.
10156 * calculator.el (electric, ehelp): No need to load when compiling.
10157 (Electric-command-loop, electric-describe-mode): Declare.
10159 * doc-view.el (doc-view-current-converter-processes): Move before use.
10161 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10162 Move MODE-set-explicitly definition before use.
10164 * international/mule-diag.el (mule-diag):
10165 Don't use obsolete window-system-version.
10167 * mail/feedmail.el (smtpmail): No need to load when compiling.
10168 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
10170 * mail/mail-utils.el (rfc822): No need to load when compiling.
10171 (rfc822-addresses): Autoload it.
10172 (mail-strip-quoted-names): Trivial simplification.
10174 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
10175 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
10177 * net/snmp-mode.el (tempo): Don't duplicate requires.
10179 * progmodes/prolog.el (info): No need to load when compiling.
10180 (comint): Require before shell requires it.
10181 (Info-goto-node): Autoload it.
10182 (Info-follow-nearest-node): Declare.
10183 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
10185 * textmodes/artist.el (picture-mode-exit): Declare.
10187 * textmodes/reftex-parse.el (reftex-parse-from-file):
10188 Trivial rewrite so the compiler can parse it better.
10190 2013-05-20 Leo Liu <sdl.web@gmail.com>
10192 * progmodes/octave.el (octave-help-mode-map)
10193 (octave-help-mode-finish-hook): New variables.
10194 (octave-help-mode, octave-help-mode-finish): New functions.
10195 (octave-help): Use octave-help-mode.
10197 2013-05-20 Glenn Morris <rgm@gnu.org>
10199 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
10201 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
10203 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
10204 start at point, so that expansion starting right after opening
10205 slash in a regexp is recognized.
10206 (ruby-syntax-before-regexp-re): New defvar, extracted from
10207 ruby-syntax-propertize-function. Since the value of this regexp
10208 is looked up at runtime now, we should be able to turn
10209 `ruby-syntax-methods-before-regexp' into a defcustom later.
10210 (ruby-syntax-propertize-function): Split regexp matching into two
10211 parts, for opening and closing slashes. That allows us to skip
10212 over string interpolations and support multiline regexps.
10213 Don't call `ruby-syntax-propertize-expansions', instead use another rule
10214 for them, which calls `ruby-syntax-propertize-expansion'.
10215 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
10216 call to `ruby-syntax-propertize-function'.
10217 (ruby-syntax-propertize-expansion): Extracted from
10218 `ruby-syntax-propertize-expansions'. Handles one expansion.
10219 (ruby-syntax-propertize-percent-literal): Leave point right after
10220 the percent symbol, so that the expression expansion rule can
10221 propertize the contents.
10222 (ruby-syntax-propertize-heredoc): Leave point at bol following the
10224 (ruby-syntax-propertize-expansions): Remove.
10226 2013-05-18 Juri Linkov <juri@jurta.org>
10228 * man.el (Man-default-man-entry): Remove `-' from the end
10229 of the default value. (Bug#14400)
10231 2013-05-18 Glenn Morris <rgm@gnu.org>
10233 * comint.el (comint-password-prompt-regexp):
10234 Allow "password for XXX" where XXX contains colons (eg https://...).
10236 2013-05-18 Leo Liu <sdl.web@gmail.com>
10238 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
10239 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
10240 (octave-source-directories): Don't check process.
10241 (octave-source-directories, octave-find-definition): Doc fix.
10243 2013-05-18 Glenn Morris <rgm@gnu.org>
10245 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
10246 Remove backspace/delete bindings. (Bug#14392)
10248 * cus-dep.el (custom-make-dependencies): Sort the output.
10249 (custom-versions-load-alist): Convert comment to doc.
10251 2013-05-17 Leo Liu <sdl.web@gmail.com>
10253 * newcomment.el (comment-search-backward): Stricter in finding
10254 comment start. (Bug#14303)
10256 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
10257 (octave-comment-start-skip): Properly anchored.
10259 2013-05-17 Leo Liu <sdl.web@gmail.com>
10261 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
10262 Clean up when turned off. (Bug#14395)
10263 (smie--highlight-matching-block-overlay): No longer buffer-local.
10264 (smie-highlight-matching-block): Adjust.
10266 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
10268 Doc string fix for "nanoseconds" (Bug#14406).
10269 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
10270 Fix doc string typo that had "nanoseconds" instead of "microseconds".
10272 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
10274 * calc/calc-units.el (math-extract-units): Preserve powers
10277 2013-05-17 Leo Liu <sdl.web@gmail.com>
10279 * subr.el (delete-consecutive-dups): New function.
10280 * ido.el (ido-set-matches-1): Use it.
10281 * progmodes/octave.el (inferior-octave-completion-table): Use it.
10282 * ido.el (ido-remove-consecutive-dups): Remove.
10284 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10286 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
10287 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
10288 regexp-opt's `words'.
10290 2013-05-16 Leo Liu <sdl.web@gmail.com>
10292 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
10293 (smie--highlight-matching-block-overlay)
10294 (smie--highlight-matching-block-lastpos)
10295 (smie--highlight-matching-block-timer): New variables.
10296 (smie-highlight-matching-block): New function.
10297 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
10298 (smie-setup): Conditionally enable smie-blink-matching-open.
10300 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
10302 Sync with upstream verilog-mode r840.
10303 * progmodes/verilog-mode.el (verilog-mode-version)
10304 (verilog-mode-release-date): Update.
10305 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
10306 (verilog-sig-tieoff): Fix string error on
10307 AUTORESET with colon define, bug594. Reported by Andrew Hou.
10308 (verilog-read-decls): Fix parameters confusing
10309 AUTOINST interfaces, bug565. Reported by Leith Johnson.
10311 2013-05-16 Eli Zaretskii <eliz@gnu.org>
10313 * subr.el (reveal-filename): New function.
10315 * loadup.el: Compute Emacs executable versions on MS-Windows,
10316 where executables have the .exe extension. Add a hard link
10317 emacs-XX.YY.ZZ.exe on MS-Windows.
10319 * Makefile.in (XARGS_LIMIT): New variable.
10320 (custom-deps, finder-data, autoloads)
10321 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
10322 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
10323 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
10324 (compile-main): Limit xargs according to $(XARGS_LIMIT).
10326 2013-05-16 Leo Liu <sdl.web@gmail.com>
10328 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
10329 (octave-mode-menu, octave-mode-map): Remove its uses.
10331 2013-05-16 Reto Zimmermann <reto@gnu.org>
10333 Sync with upstream vhdl mode v3.34.2.
10334 * progmodes/vhdl-mode.el: Use `push' throughout.
10335 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
10336 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
10337 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
10338 (vhdl-actual-generic-name): New option to derive actual generic name.
10339 (vhdl-port-paste-signals): Replace formal by actual generics.
10340 (vhdl-beautify): New name for old group vhdl-align. Update users.
10341 (vhdl-beautify-options): New option.
10342 (vhdl-last-input-event): New compat alias. Use throughout.
10343 (vhdl-goto-line): Replace user level function `goto-line'.
10344 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
10345 vhdl-fix-statement-buffer.
10346 (vhdl-create-mode-menu): Add some entries.
10347 (vhdl-align-region-groups): Respect vhdl-beautify-options.
10348 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
10349 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
10350 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
10351 to force statements on one line.
10352 (vhdl-remove-trailing-spaces-region):
10353 New, split from vhdl-remove-trailing-spaces.
10354 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
10355 Respect vhdl-beautify-options.
10356 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
10357 (vhdl-update-sensitivity-list): Not add with index if exists without.
10358 Not include array index with signal. Ignore keywords in comments.
10359 (vhdl-get-visible-signals): Regexp tweaks.
10360 (vhdl-template-component-inst): Handle empty library.
10361 (vhdl-template-type): Add template for 'enum' type.
10362 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
10363 Use vhdl-replace-string.
10364 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
10365 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
10366 (vhdl-speedbar-initialize): Update for above name change.
10367 (vhdl-compose-wire-components): Fix in handling of constants.
10368 (vhdl-error-regexp-emacs-alist): New variable.
10369 (vhdl-error-regexp-add-emacs): New function;
10370 adds support for new compile.el (Emacs 22+)
10371 (vhdl-generate-makefile-1): Change target order for single lib. units.
10372 Allow use of absolute file names.
10374 2013-05-16 Leo Liu <sdl.web@gmail.com>
10376 * simple.el (prog-indent-sexp): Indent enclosing defun.
10378 2013-05-15 Glenn Morris <rgm@gnu.org>
10380 * cus-start.el (show-trailing-whitespace): Move to editing basics.
10381 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
10382 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
10383 (whitespace-highlight): Move to whitespace group.
10385 * comint.el (comint-source):
10386 * pcmpl-linux.el (pcmpl-linux):
10387 * shell.el (shell-faces):
10388 * eshell/esh-opt.el (eshell-opt):
10389 * international/ccl.el (ccl): Remove empty custom groups.
10391 * completion.el (dynamic-completion-mode):
10392 * jit-lock.el (jit-lock-debug-mode):
10393 * minibuffer.el (completion-in-region-mode):
10394 * type-break.el (type-break-mode-line-message-mode)
10395 (type-break-query-mode):
10396 * emulation/tpu-edt.el (tpu-edt-mode):
10397 * progmodes/subword.el (global-subword-mode, global-superword-mode):
10398 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
10399 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
10401 * term/xterm.el (xterm): Change parent group to terminals.
10403 * master.el (master): Remove empty custom group.
10404 (master-mode): Remove unused :group argument.
10405 * textmodes/refill.el (refill): Remove empty custom group.
10406 (refill-mode): Remove unused :group argument.
10408 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
10410 * cus-dep.el: Provide a feature.
10411 (custom-make-dependencies): Ignore dotfiles (dir-locals).
10412 Don't mistakenly ignore files whose basenames match a basename
10413 from preloaded-file-list (eg cedet/ede/simple.el).
10414 Add a fallback method for getting :group.
10416 2013-05-15 Juri Linkov <juri@jurta.org>
10418 * isearch.el (isearch-char-by-name): Rename from
10419 `isearch-insert-char-by-name'. Doc fix.
10420 (isearch-forward): Mention `isearch-char-by-name' in
10421 the docstring. (Bug#13348)
10423 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
10424 `exit-minibuffer' instead of
10425 `isearch-nonincremental-exit-minibuffer'.
10426 (isearch-edit-string): Remove mention of
10427 `isearch-nonincremental-exit-minibuffer' from docstring.
10428 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
10429 (isearch-forward-exit-minibuffer)
10430 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
10432 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
10434 * loadup.el: Just use unversioned DOC.
10436 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
10437 literals as extending to EOB.
10438 (nxml-last-fontify-end): Remove unused variable.
10439 (nxml-after-change1): Use with-silent-modifications.
10440 (nxml-extend-after-change-region): Simplify.
10441 (nxml-extend-after-change-region1): Remove function.
10442 (nxml-after-change1): Don't adjust for dependent regions.
10443 (nxml-fontify-matcher): Simplify.
10444 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
10445 (xmltok-add-dependent): Remove function.
10446 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
10447 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
10448 (xmltok-scan-prolog-after-processing-instruction-open): Treat
10449 unclosed <[[, <?, comment, and other literals as extending to EOB.
10450 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
10451 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
10453 (rng-do-some-validation-1): Don't mark dependent regions.
10454 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
10455 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
10456 (nxml-clear-dependent-regions): Remove functions.
10457 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
10458 (nxml-ensure-scan-up-to-date):
10459 Don't clear&mark dependent regions.
10461 2013-05-15 Leo Liu <sdl.web@gmail.com>
10463 * progmodes/octave.el (octave-goto-function-definition):
10464 Improve and fix callers.
10466 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
10468 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
10469 the setter (bug#14387).
10471 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
10472 surrounding group (bug#14402).
10474 2013-05-14 Juri Linkov <juri@jurta.org>
10476 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
10479 2013-05-14 Glenn Morris <rgm@gnu.org>
10481 * progmodes/f90.el (f90-imenu-generic-expression):
10482 Fix typo in 2013-05-08 change. (Bug#14402)
10484 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
10486 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
10487 Remove signals for which replies are never received.
10489 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
10491 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
10492 (gdb-handler-alist, gdb-handler-number): Remove variables.
10493 (gdb-handler-list): New variable.
10494 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
10495 (gdb-pending-handler-p, gdb-handle-reply)
10496 (gdb-remove-all-pending-triggers): New functions.
10497 (gdb-discard-unordered-replies): New defcustom.
10498 (gdb-handler): New defstruct.
10499 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
10500 instead of gdb-pending-triggers. Update docstring.
10501 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
10502 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
10503 (gdb-var-update-handler, def-gdb-auto-update-trigger)
10504 (def-gdb-auto-update-handler, gdb-get-changed-registers)
10505 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
10506 (gdb-frame-handler): Pending triggers are now automatically managed.
10507 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
10509 (gdb-input): Automatically handles pending triggers. Update docstring.
10510 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
10511 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
10513 (gdb-done-or-error): Now use gdb-handle-reply.
10515 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
10517 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
10520 2013-05-14 Glenn Morris <rgm@gnu.org>
10522 * subr.el (user-emacs-directory-warning): New option.
10523 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
10525 2013-05-14 Leo Liu <sdl.web@gmail.com>
10527 * progmodes/octave.el (octave-font-lock-keywords): Fix error
10529 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
10530 (octave-font-lock-texinfo-comment): Fix invalid search bound
10531 error: wrong side of point.
10533 2013-05-14 Glenn Morris <rgm@gnu.org>
10535 * progmodes/flymake.el (flymake-xml-program): New option.
10536 (flymake-xml-init): Use it.
10538 * term/xterm.el: Provide a feature.
10540 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
10542 2013-05-13 Glenn Morris <rgm@gnu.org>
10544 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
10545 Add compat aliases as a hack workaround. (Bug#14384)
10547 2013-05-13 Leo Liu <sdl.web@gmail.com>
10549 * progmodes/octave.el (octave-indent-comment): Fix indentation for
10551 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
10553 (octave-comment-start-skip): Include %!.
10554 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
10556 2013-05-12 Leo Liu <sdl.web@gmail.com>
10558 * progmodes/octave.el (inferior-octave-startup): Store the value
10559 of __octave_srcdir__ for octave-source-directories.
10560 (inferior-octave-check-process): New function refactored out of
10561 inferior-octave-send-list-and-digest.
10562 (octave-source-directories)
10563 (octave-find-definition-filename-function): New variables.
10564 (octave-source-directories)
10565 (octave-find-definition-default-filename): New functions.
10566 (octave-find-definition): Improve to find functions implemented in C++.
10568 2013-05-12 Glenn Morris <rgm@gnu.org>
10570 * calendar/diary-lib.el (diary-outlook-format-1):
10571 Don't include dayname in the output. (Bug#14349)
10573 2013-05-11 Glenn Morris <rgm@gnu.org>
10575 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
10577 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
10578 Treat cc-provide like provide.
10580 2013-05-11 Kevin Ryde <user42@zip.com.au>
10582 * cus-dep.el (custom-make-dependencies):
10583 Use generated-autoload-load-name for the sake of files such
10584 such cedet/semantic/bovine/c.el, where the base file name
10585 is not in load-path. (Bug#5277)
10587 2013-05-11 Glenn Morris <rgm@gnu.org>
10589 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
10592 2013-05-11 Leo Liu <sdl.web@gmail.com>
10594 * progmodes/octave.el (octave-indent-comment): Improve.
10595 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
10596 (octave-eldoc-function-signatures, octave-eldoc-function):
10598 (octave-mode, inferior-octave-mode): Add eldoc support.
10600 2013-05-11 Richard Stallman <rms@gnu.org>
10602 * epa.el (epa-decrypt-file): Take output file name as argument
10603 and read it using `interactive'.
10605 2013-05-11 Leo Liu <sdl.web@gmail.com>
10607 * progmodes/octave.el (octave-beginning-of-line)
10608 (octave-end-of-line): Check before using up-list because it jumps
10609 out of more syntactic contructs since moving to smie.
10610 (octave-indent-comment): New function.
10611 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
10612 (octave-begin-keywords, octave-end-keywords)
10613 (octave-reserved-words, octave-smie-bnf-table)
10614 (octave-smie-rules): Add new keywords from Octave 3.6.4.
10616 2013-05-11 Glenn Morris <rgm@gnu.org>
10618 * faces.el (internal-face-x-get-resource):
10619 * frame.el (ns-display-monitor-attributes-list):
10620 * calc/calc-aent.el (math-to-radians-2):
10621 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
10624 * calc/calc-menu.el: Make it loadable in isolation.
10626 * net/eudcb-bbdb.el: Make it loadable without bbdb.
10627 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
10628 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
10629 (eudc-bbdb-query-internal): Require 'bbdb.
10631 * lpr.el (lpr-headers-switches):
10632 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
10634 * progmodes/sql.el (sql-login-params): Fix and improve :type.
10636 * emulation/edt-mapper.el: In batch mode, error rather than hang.
10638 * term.el (term-set-escape-char): Make it idempotent.
10640 2013-05-10 Leo Liu <sdl.web@gmail.com>
10642 * progmodes/octave.el (inferior-octave-completion-table):
10643 No longer a function and all uses changed. Use cache to speed up
10644 completion due to bug#11906.
10645 (octave-beginning-of-defun): Re-write to be more general.
10647 2013-05-10 Glenn Morris <rgm@gnu.org>
10649 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
10651 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
10653 * comint.el (comint-redirect-send-command-to-process): Use :around
10654 rather than :override for comint-redirect-filter.
10655 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
10656 Call it instead of comint-redirect-original-filter-function (which
10657 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
10659 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
10661 * frame.el (display-monitor-attributes-list): Add NS case.
10662 (ns-display-monitor-attributes-list): Declare.
10664 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
10666 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
10668 2013-05-09 Glenn Morris <rgm@gnu.org>
10670 * international/fontset.el (vertical-centering-font-regexp):
10671 Set standard-value.
10673 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
10675 * bookmark.el (bookmark-search-delay):
10676 * cus-start.el (vertical-centering-font-regexp):
10677 * ps-mule.el (ps-mule-font-info-database-default):
10678 * ps-print.el (ps-default-fg, ps-default-bg):
10679 * type-break.el (type-break-good-break-interval):
10680 * whitespace.el (whitespace-indentation-regexp)
10681 (whitespace-space-after-tab-regexp):
10682 * emacs-lisp/testcover.el (testcover-1value-functions)
10683 (testcover-noreturn-functions, testcover-progn-functions)
10684 (testcover-prog1-functions):
10685 * emulation/viper-init.el (viper-emacs-state-cursor-color):
10686 * eshell/em-glob.el (eshell-glob-translate-alist):
10687 * play/tetris.el (tetris-tty-colors):
10688 * progmodes/cpp.el (cpp-face-default-list):
10689 * progmodes/flymake.el (flymake-allowed-file-name-masks):
10690 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
10691 (idlwave-help-browser-generic-args):
10692 * progmodes/make-mode.el (makefile-special-targets-list):
10693 * progmodes/python.el (python-shell-virtualenv-path):
10694 * progmodes/verilog-mode.el (verilog-active-low-regexp)
10695 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
10696 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
10697 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
10698 * textmodes/reftex-vars.el (reftex-format-label-function):
10699 * textmodes/remember.el (remember-diary-file): Fix custom types.
10701 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
10704 2013-05-09 Leo Liu <sdl.web@gmail.com>
10706 * progmodes/octave.el (inferior-octave-completion-at-point):
10707 Restore file completion. (Bug#14300)
10708 (inferior-octave-startup): Fix incorrect highlighting for the
10711 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10713 * progmodes/ruby-mode.el: First cut at SMIE support.
10714 (ruby-use-smie): New var.
10715 (ruby-smie-grammar): New constant.
10716 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
10717 (ruby-smie--forward-token, ruby-smie--backward-token)
10718 (ruby-smie-rules): New functions.
10719 (ruby-mode-variables): Setup SMIE if applicable.
10721 2013-05-08 Eli Zaretskii <eliz@gnu.org>
10723 * simple.el (line-move-visual): Signal beginning/end of buffer
10724 only if vertical-motion moved less than it was requested. Avoids
10725 silly incorrect error messages when there are display strings with
10726 multiple newlines at EOL.
10728 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10730 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
10731 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
10732 (prolog-char-quote-workaround):
10733 * progmodes/cperl-mode.el (cperl-under-as-char):
10734 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
10736 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
10738 (vhdl-mode-syntax-table-init): Remove.
10740 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
10743 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
10745 (ld-script-font-lock-keywords):
10746 Change regexps to use things like \_< and \_>.
10748 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
10749 Change all regexps to use things like \_< and \_>.
10751 * progmodes/autoconf.el (autoconf-definition-regexp)
10752 (autoconf-font-lock-keywords, autoconf-current-defun-function):
10753 Handle a _ with symbol syntax.
10754 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
10756 * progmodes/ada-mode.el (ada-mode-abbrev-table):
10757 Consolidate declaration.
10758 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
10760 (ada-create-syntax-table): Remove.
10761 (ada-capitalize-word): Don't mess with the syntax of "_" since it
10762 already has the right syntax nowadays.
10763 (ada-goto-next-word): Don't change the syntax of "_".
10765 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
10768 2013-05-08 Sam Steingold <sds@gnu.org>
10770 * thingatpt.el (thing-at-point): Accept optional second argument
10771 NO-PROPERTIES to strip the text properties from the return value.
10772 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
10773 to `thing-at-point' instead of stripping the properties ourselves.
10774 Also, when `thing-at-point' fails to find a url, prepend "http://"
10775 to the filename at point on the assumption that the user is
10776 pointing at something like gnu.org/gnu.
10778 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
10780 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
10781 * faces.el (crm-separator):
10782 Silence byte-compiler.
10784 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
10785 (tool-bar-map): Remove unneeded defvars.
10787 2013-05-08 Leo Liu <sdl.web@gmail.com>
10789 Re-work a fix for bug#10994 based on Le Wang's patch.
10790 * ido.el (ido-remove-consecutive-dups): New helper.
10791 (ido-completing-read): Use it.
10792 (ido-chop): Revert fix for bug#10994.
10794 2013-05-08 Adam Spiers <emacs@adamspiers.org>
10796 * cus-edit.el (custom-save-variables):
10797 Pretty-print long values. (Bug#14187)
10799 2013-05-08 Glenn Morris <rgm@gnu.org>
10801 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
10802 (m4-mode-syntax-table): Init in the defvar.
10803 (m4-mode-abbrev-table): Let define-derived-mode define it.
10805 2013-05-08 Tom Tromey <tromey@redhat.com>
10807 * progmodes/m4-mode.el (m4-mode-syntax-table):
10808 Do not treat "_" as word constituent. (Bug#14167)
10810 2013-05-07 Glenn Morris <rgm@gnu.org>
10812 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
10813 Remove explicit eshell-isearch-cancel-map.
10815 * progmodes/f90.el (f90-smart-end-names): New option.
10816 (f90-smart-end): Doc fix.
10817 (f90-end-block-optional-name): New constant.
10818 (f90-block-match): Respect f90-smart-end-names.
10820 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
10822 * progmodes/octave.el (octave-smie-forward-token): Be more careful
10823 about implicit semi-colons (bug#14218).
10825 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
10827 * frame.el (display-monitor-attributes-list)
10828 (frame-monitor-attributes): New functions.
10830 2013-05-06 Leo Liu <sdl.web@gmail.com>
10832 * progmodes/octave.el (octave-syntax-propertize-function): Change
10833 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
10834 (octave-font-lock-keywords): Use octave-operator-regexp.
10835 (octave-completion-at-point): Rename from
10836 octave-completion-at-point-function.
10837 (inferior-octave-directory-tracker): Robustify.
10838 (octave-text-functions): Remove and fix its uses. No such things
10841 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10843 * emacs-lisp/trace.el (trace--display-buffer): New function.
10844 (trace-make-advice): Use it.
10846 2013-05-06 Juri Linkov <juri@jurta.org>
10848 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
10849 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
10851 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
10852 in the help string. (Bug#12985)
10854 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
10856 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
10858 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10860 * progmodes/perl-mode.el: Add support for here documents.
10861 (perl-syntax-propertize-function): Match here-doc markers.
10862 (perl-syntax-propertize-special-constructs): Find their end.
10863 (perl-imenu-generic-expression): Use [:alnum:].
10865 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
10866 (advice--add-function): Refresh the advice if already present
10869 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
10871 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
10873 2013-05-06 Glenn Morris <rgm@gnu.org>
10875 * w32-fns.el (w32-charset-info-alist): Declare.
10877 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
10878 of its defcustom properties.
10879 (eshell-cmpl-initialize): No need to load pcomplete.
10881 * generic-x.el: No need to require comint when compiling.
10883 * net/eudc-export.el: Make it loadable without bbdb.
10884 (top-level): Use require rather than load-library.
10885 (eudc-create-bbdb-record, eudc-bbdbify-phone)
10886 (eudc-batch-export-records-to-bbdb)
10887 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
10890 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10892 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
10893 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
10894 some tweaks, instead.
10896 2013-05-05 Leo Liu <sdl.web@gmail.com>
10898 * progmodes/octave.el (octave-font-lock-keywords)
10899 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
10900 (inferior-octave-send-list-and-digest): Improve error message.
10901 (octave-mode, inferior-octave-mode): Use setq-local.
10902 (octave-help): Set info-lookup-mode.
10904 2013-05-05 Richard Stallman <rms@gnu.org>
10906 * vc/compare-w.el (compare-windows-whitespace):
10907 Treat no-break space as whitespace.
10909 * mail/rmailsum.el (rmail-summary-rmail-update):
10910 Detect empty summary and don't change selected message.
10911 (rmail-summary-goto-msg): Likewise.
10913 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
10914 Doc fixes, rename args.
10916 2013-05-05 Alan Mackenzie <acm@muc.de>
10918 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
10920 2013-05-05 Juri Linkov <juri@jurta.org>
10922 * info.el (Info-read-subfile): Use (point-min) instead of (point)
10923 to not add the length of the summary segment to the return value.
10926 2013-05-05 Leo Liu <sdl.web@gmail.com>
10928 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
10929 (inferior-octave-output-filter): Remove.
10930 (octave-send-region, inferior-octave-startup): Fix callers.
10931 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
10932 (octave-binary-file-extensions): New user variable.
10933 (octave-find-definition): Confirm if opening binary files.
10934 (octave-help-file): Use octave-find-definition to get the binary
10936 (octave-help): Adjust for octave-help-file change.
10938 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
10940 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
10941 Merge the two entries that handle function definitions.
10942 (pascal--syntax-propertize): New const.
10943 (pascal-mode): Use it. Use setq-local.
10945 2013-05-04 Glenn Morris <rgm@gnu.org>
10947 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
10948 (diary-from-outlook): Respect diary-from-outlook-function.
10950 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
10952 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
10953 Move the declaration from C.
10954 (read-minibuffer, eval-minibuffer): Move from C.
10955 (completion-setup-function): Avoid minibuffer-completion-contents.
10957 2013-05-03 Leo Liu <sdl.web@gmail.com>
10959 * progmodes/octave.el (octave-font-lock-keywords): Do not
10960 dehighlight 'end' in comments or strings.
10961 (octave-completing-read, octave-goto-function-definition):
10963 (octave-help-buffer): New user variable.
10964 (octave-help-file, octave-help-function): New button types.
10965 (octave-help): New command and bind it to C-h ;.
10966 (octave-find-definition): New command and bind it to M-.
10967 (user-error): Alias to error if not defined.
10969 2013-05-02 Leo Liu <sdl.web@gmail.com>
10971 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
10973 (octave-font-lock-keywords): Include [ and {.
10975 2013-05-02 Leo Liu <sdl.web@gmail.com>
10977 * progmodes/octave.el (inferior-octave-startup-file): Change default.
10978 (inferior-octave): Remove calling comint-mode and return the buffer.
10979 (inferior-octave-startup): Cosmetic changes.
10981 2013-05-02 Leo Liu <sdl.web@gmail.com>
10983 * progmodes/octave.el (octave-syntax-propertize-function):
10984 Include the case when ' is at line beginning. (Bug#14336)
10986 2013-05-02 Glenn Morris <rgm@gnu.org>
10988 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
10989 * desktop.el (vc-dir-mode): Just autoload it here.
10991 2013-05-02 Alan Mackenzie <acm@muc.de>
10993 Eliminate variable c-standard-font-lock-fontify-region-function.
10994 * progmodes/cc-mode.el
10995 (c-standard-font-lock-fontify-region-function): Remove.
10996 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
10998 2013-05-01 Leo Liu <sdl.web@gmail.com>
11000 * progmodes/octave.el: Compatible with older emacs-24 releases.
11001 (inferior-octave-has-built-in-variables): Remove. Built-in
11002 variables were removed from Octave in 2007.
11003 (inferior-octave-startup): Fix uses.
11004 (comint-line-beginning-position): Remove compatibility code for
11007 2013-05-01 Juri Linkov <juri@jurta.org>
11009 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
11011 2013-05-01 Juri Linkov <juri@jurta.org>
11013 * comint.el (comint-previous-matching-input): Don't print message
11014 "History item: %d" when `isearch-mode' is active.
11015 (comint-history-isearch-message): Print message "History item: %d"
11016 when `comint-input-ring-index' is not empty and this function is
11017 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
11019 2013-05-01 Leo Liu <sdl.web@gmail.com>
11021 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
11022 definitions. Use completion-at-point to insert keywords.
11023 (octave-abbrev-start): Remove.
11024 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
11026 2013-04-30 Leo Liu <sdl.web@gmail.com>
11028 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
11031 2013-04-30 Alan Mackenzie <acm@muc.de>
11033 Handle arbitrarily long C++ member initialisation lists.
11034 * progmodes/cc-engine.el (c-back-over-member-initializers):
11036 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
11037 (most) member init lists.
11039 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11041 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
11044 2013-04-30 Leo Liu <sdl.web@gmail.com>
11046 * progmodes/octave.el (octave-variables): Remove. No builtin
11047 variables any more. All converted to functions.
11048 (octave-font-lock-keywords, octave-completion-at-point-function):
11050 (octave-font-lock-texinfo-comment): New user variable.
11051 (octave-texinfo-font-lock-keywords): New variable for texinfo
11053 (octave-function-comment-block): New face.
11054 (octave-font-lock-texinfo-comment): New function.
11055 (octave-mode): Font lock texinfo comment block.
11057 2013-04-29 Leo Liu <sdl.web@gmail.com>
11059 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
11060 indexing expression.
11061 (octave-continuation-string): Do not use \.
11062 (inferior-octave-complete-impossible): Remove.
11063 (inferior-octave-completion-table)
11064 (inferior-octave-completion-at-point): Remove its uses.
11065 (inferior-octave-startup): completion_matches was introduced to
11066 Octave in 1996 so safe to assume it.
11067 (octave-function-file-comment): Improve to follow how Octave does it.
11068 (octave-update-function-file-comment): Tweak.
11070 2013-04-29 Leo Liu <sdl.web@gmail.com>
11072 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
11073 (inferior-octave-startup): Remove inferior-octave-startup-hook.
11074 (octave-function-file-comment): Fix typo.
11075 (octave-sync-function-file-names): Use read-char-choice.
11077 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
11079 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
11080 to t for the less important warnings.
11082 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
11084 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
11086 2013-04-27 Glenn Morris <rgm@gnu.org>
11088 * vc/log-view.el (log-view-current-entry):
11089 Treat "---" separator lines as part of the following rev. (Bug#14169)
11091 2013-04-27 Juri Linkov <juri@jurta.org>
11093 * subr.el (read-number): Doc fix about using it by interactive
11094 code letter `n'. (Bug#14254)
11096 2013-04-27 Juri Linkov <juri@jurta.org>
11098 * desktop.el (desktop-auto-save-timeout): New option.
11099 (desktop-file-checksum): New variable.
11100 (desktop-save): Add optional arg `auto-save' and don't auto-save
11101 if nothing changed.
11102 (desktop-auto-save-timer): New variable.
11103 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
11104 (after-init-hook): Call `desktop-auto-save-set-timer'.
11105 Suggested by Reuben Thomas <rrt@sc3d.org> in
11106 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
11108 2013-04-27 Leo Liu <sdl.web@gmail.com>
11110 * progmodes/octave.el (octave-function-file-p)
11111 (octave-skip-comment-forward, octave-function-file-comment)
11112 (octave-update-function-file-comment): New functions.
11113 (octave-mode-map): Bind C-c ; to
11114 octave-update-function-file-comment.
11115 (octave-mode-menu): Add octave-update-function-file-comment.
11116 (octave-mode, inferior-octave-mode): Fix doc-string.
11117 (octave-insert-defun): Conform to Octave's coding convention.
11120 * files.el (basic-save-buffer): Don't let errors in
11121 before-save-hook prevent saving buffer.
11123 2013-04-20 Roland Winkler <winkler@gnu.org>
11125 * faces.el (read-face-name): Use completing-read if arg multiple
11128 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
11130 * ls-lisp.el (ls-lisp-insert-directory): If no files are
11131 displayed, move point to after the totals line.
11132 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
11135 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
11137 * emacs-lisp/package.el (package-autoload-ensure-default-file):
11138 Add current dir to the load-path.
11139 (package-generate-autoloads): Don't rely on
11140 autoload-ensure-default-file.
11142 2013-04-26 Reuben Thomas <rrt@sc3d.org>
11144 * textmodes/remember.el (remember-store-in-files): Document that
11145 the file name format is passed to `format-time-string'.
11147 2013-04-26 Leo Liu <sdl.web@gmail.com>
11149 * progmodes/octave.el (octave-sync-function-file-names): New function.
11150 (octave-mode): Use it in before-save-hook.
11152 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
11154 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
11157 * progmodes/octave.el (octave-smie-forward-token): Properly skip
11158 \n and comment, even if it's not an implicit ; (bug#14218).
11160 2013-04-26 Glenn Morris <rgm@gnu.org>
11162 * subr.el (read-number): Once more use `read' rather than
11163 `string-to-number', to trap non-numeric input. (Bug#14254)
11165 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
11167 * emacs-lisp/syntax.el (syntax-propertize-multiline):
11168 Use `syntax-multiline' text property consistently instead of
11169 `font-lock-multiline'. (Bug#14237)
11171 2013-04-26 Glenn Morris <rgm@gnu.org>
11173 * emacs-lisp/shadow.el (list-load-path-shadows):
11174 No longer necessary to check for duplicate simple.el, since
11175 2012-07-07 change to init_lread to not include installation lisp
11176 directories in load-path when running uninstalled. (Bug#14270)
11178 2013-04-26 Leo Liu <sdl.web@gmail.com>
11180 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
11181 (octave-mode, inferior-octave-mode): Use setq-local.
11182 (octave-not-in-string-or-comment-p): Rename to
11183 octave-in-string-or-comment-p.
11184 (octave-in-comment-p, octave-in-string-p)
11185 (octave-in-string-or-comment-p): Replace defsubst with defun.
11187 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
11189 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
11191 2013-04-25 Bastien Guerry <bzg@gnu.org>
11193 * textmodes/remember.el (remember-data-directory)
11194 (remember-directory-file-name-format): Fix custom types.
11196 2013-04-25 Leo Liu <sdl.web@gmail.com>
11198 * progmodes/octave.el (octave-completion-at-point-function):
11199 Make use of inferior octave process.
11200 (octave-initialize-completions): Remove.
11201 (inferior-octave-completion-table): New function.
11202 (inferior-octave-completion-at-point): Use it.
11203 (octave-completion-alist): Remove.
11205 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11207 * progmodes/opascal.el: Use font-lock and syntax-propertize.
11208 (opascal-mode-syntax-table): New var.
11209 (opascal-literal-kind, opascal-is-literal-end)
11210 (opascal-literal-token-at): Rewrite.
11211 (opascal--literal-start-re, opascal-font-lock-keywords)
11212 (opascal--syntax-propertize): New constants.
11213 (opascal-font-lock-defaults): Adjust.
11214 (opascal-mode): Use them. Set comment-<foo> variables as well.
11215 (delphi-comment-face, opascal-comment-face, delphi-string-face)
11216 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
11217 (delphi-other-face, opascal-other-face): Remove face variables.
11218 (opascal-save-state): Remove macro.
11219 (opascal-fontifying-progress-step): Remove constant.
11220 (opascal--ignore-changes): Remove var.
11221 (opascal-set-token-property, opascal-parse-next-literal)
11222 (opascal-is-stable-literal, opascal-complete-literal)
11223 (opascal-is-literal-start, opascal-face-of)
11224 (opascal-parse-region, opascal-parse-region-until-stable)
11225 (opascal-fontify-region, opascal-after-change)
11226 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
11227 (opascal-debug-parse-region, opascal-debug-parse-window)
11228 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
11229 (opascal-debug-fontify-buffer): Remove.
11230 (opascal-debug-mode-map): Adjust accordingly.
11232 2013-04-25 Leo Liu <sdl.web@gmail.com>
11234 Merge octave-mod.el and octave-inf.el into octave.el with some
11236 * progmodes/octave.el: New file renamed from octave-mod.el.
11237 * progmodes/octave-inf.el: Merged into octave.el.
11238 * progmodes/octave-mod.el: Renamed to octave.el.
11240 2013-04-25 Tassilo Horn <tsdh@gnu.org>
11242 * textmodes/reftex-vars.el
11243 (reftex-label-ignored-macros-and-environments): New defcustom.
11245 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
11247 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11249 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
11250 (smie-indent-keyword): Improve the check to ensure that the next
11251 comment is really on the same line.
11252 (smie-indent-comment): Don't align with a subsequent closer (or eob).
11254 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
11255 semi-colons if the line is not otherwise empty (bug#14218).
11257 2013-04-25 Glenn Morris <rgm@gnu.org>
11259 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
11261 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
11263 * progmodes/opascal.el (opascal-set-token-property): Rename from
11264 opascal-set-text-properties and only set `token' (bug#14134).
11265 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
11266 (opascal-literal-text-properties): Remove.
11267 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
11270 2013-04-24 Reuben Thomas <rrt@sc3d.org>
11272 * textmodes/remember.el (remember-handler-functions): Add an
11273 option for a new handler `remember-store-in-files'.
11274 (remember-data-directory, remember-directory-file-name-format):
11276 (remember-store-in-files): New function to store remember notes
11277 as separate files within a directory.
11279 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
11281 * progmodes/compile.el (compilation-next-error-function):
11282 Pass "formats" to compilation-find-file (bug#11777).
11284 2013-04-24 Glenn Morris <rgm@gnu.org>
11286 * vc/vc-bzr.el (vc-bzr-print-log):
11287 * vc/vc-hg.el (vc-hg-print-log):
11288 * vc/vc-svn.el (vc-svn-print-log):
11289 Fix START-REVISION with LIMIT != 1. (Bug#14168)
11291 * vc/vc-bzr.el (vc-bzr-print-log):
11292 * vc/vc-cvs.el (vc-cvs-print-log):
11293 * vc/vc-git.el (vc-git-print-log):
11294 * vc/vc-hg.el (vc-hg-print-log):
11295 * vc/vc-mtn.el (vc-mtn-print-log):
11296 * vc/vc-rcs.el (vc-rcs-print-log):
11297 * vc/vc-sccs.el (vc-sccs-print-log):
11298 * vc/vc-svn.el (vc-svn-print-log):
11299 * vc/vc.el (vc-print-log-internal): Doc fixes.
11301 2013-04-23 Glenn Morris <rgm@gnu.org>
11303 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
11304 Remove venerable code attempting to avoid substitute-command-keys.
11306 2013-04-23 Tassilo Horn <tsdh@gnu.org>
11308 * textmodes/reftex-vars.el (reftex-label-regexps):
11309 Call `reftex-compile-variables' after changes to this variable.
11311 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
11313 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
11314 Use lexical-binding.
11315 (jit-lock-force-redisplay): Use markers, check buffer's continued
11316 existence and beware narrowed buffers.
11317 (jit-lock-fontify-now): Adjust call accordingly.
11319 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
11321 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
11322 to avoid misleading the user.
11324 2013-04-22 Leo Liu <sdl.web@gmail.com>
11326 * info-look.el: Prefer latex2e.info. (Bug#14240)
11328 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
11330 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
11332 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
11333 * net/tramp.el (tramp-call-process): ... here.
11334 (tramp-set-completion-function, tramp-parse-putty):
11335 * net/tramp-adb.el (tramp-adb-execute-adb-command):
11336 * net/tramp-gvfs.el (tramp-gvfs-send-command):
11337 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
11338 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
11339 (tramp-call-local-coding-command): Use `tramp-call-process'
11340 instead of `tramp-compat-call-process'.
11342 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
11343 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
11344 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
11345 (tramp-find-inline-compress): Improve traces.
11346 (tramp-maybe-send-script): Check for Perl binary.
11347 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
11349 2013-04-22 Daiki Ueno <ueno@gnu.org>
11351 * epg.el (epg-context-pinentry-mode): New function.
11352 (epg-context-set-pinentry-mode): New function.
11353 (epg--start): Pass --pinentry-mode option to gpg command.
11355 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
11357 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
11358 `comint-dynamic-complete' is obsolete since 24.1, replaced by
11359 `completion-at-point'. (Bug#13774)
11361 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
11362 default key binding for `describe-distribution' has been moved to
11363 `C-h C-o'. (Bug#13970)
11365 2013-04-21 Glenn Morris <rgm@gnu.org>
11367 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
11369 (vc-print-log): Clarify interactive prompt.
11371 2013-04-20 Glenn Morris <rgm@gnu.org>
11373 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
11374 No longer include timestamp etc information.
11376 2013-04-20 Roland Winkler <winkler@gnu.org>
11378 * faces.el (read-face-name): Bug fix, return just one face if arg
11379 multiple is nil. (Bug#14209)
11381 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11383 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
11384 (remove-function): Autoload.
11386 * comint.el (comint-redirect-original-filter-function): Remove.
11387 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
11388 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
11389 (vc-cvs-annotate-command):
11390 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
11391 * progmodes/prolog.el (prolog-consult-compile):
11392 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
11393 Use add/remove-function instead.
11394 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
11395 (gud-tooltip-process-output, gud-tooltip-tips):
11396 Use add/remove-function instead.
11397 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
11398 (scheme-interaction-mode, exit-scheme-interaction-mode):
11399 Use add/remove-function instead.
11401 * vc/vc-dispatcher.el: Use lexical-binding.
11402 (vc--process-sentinel): Rename from vc-process-sentinel.
11403 Change last arg to be the code to run. Don't use vc-previous-sentinel
11404 and vc-sentinel-commands any more.
11405 (vc-exec-after): Allow code to be a function. Use add/remove-function.
11406 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
11408 2013-04-19 Masatake YAMATO <yamato@redhat.com>
11410 * progmodes/sh-script.el (sh-imenu-generic-expression):
11411 Handle function names with a single character. (Bug#14111)
11413 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
11415 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
11416 for subroutines defined in an eval (bug#14182).
11418 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11420 * bookmark.el (bookmark-completing-read): Improve handling of empty
11421 string (bug#14176).
11423 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
11425 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
11427 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
11429 New faster Imenu implementation (bug#14058).
11430 * progmodes/python.el:
11431 (python-imenu-prev-index-position):
11432 (python-imenu-format-item-label-function)
11433 (python-imenu-format-parent-item-label-function)
11434 (python-imenu-format-parent-item-jump-label-function):
11436 (python-imenu-format-item-label)
11437 (python-imenu-format-parent-item-label)
11438 (python-imenu-format-parent-item-jump-label)
11439 (python-imenu--put-parent, python-imenu--build-tree)
11440 (python-imenu-create-index, python-imenu-create-flat-index)
11441 (python-util-popn): New functions.
11442 (python-mode): Set imenu-create-index-function to
11443 python-imenu-create-index.
11445 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
11447 * winner.el (winner-active-region): Use region-active-p, activate-mark
11448 and deactivate-mark (bug#14225).
11450 * simple.el (deactivate-mark): Don't inline it.
11452 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
11454 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
11456 2013-04-18 Tassilo Horn <tsdh@gnu.org>
11458 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
11459 file extensions from the archive-mode entry in order to prefer
11460 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
11462 2013-04-18 Leo Liu <sdl.web@gmail.com>
11464 * bindings.el (help-event-list): Add ?\?.
11466 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
11468 * subr.el (with-wrapper-hook): Declare obsolete.
11469 * simple.el (filter-buffer-substring-function): New hook.
11470 (filter-buffer-substring): Use it.
11471 (filter-buffer-substring-functions): Mark obsolete.
11472 * minibuffer.el (completion-in-region-function): New hook.
11473 (completion-in-region): Use it.
11474 (completion-in-region-functions): Mark obsolete.
11475 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
11476 * abbrev.el (abbrev-expand-function): New hook.
11477 (expand-abbrev): Use it.
11478 (abbrev-expand-functions): Mark obsolete.
11479 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
11480 and :filter-return.
11482 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
11484 * progmodes/python.el (python-nav--syntactically): Fix cornercases
11485 and do not care about match data.
11487 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
11489 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
11490 completion tables when completing error conditions and
11491 `declare' arguments.
11492 (lisp-complete-symbol, field-complete): Mark as obsolete.
11493 (check-parens): Unmatched parens are user errors.
11494 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
11496 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
11498 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
11499 command changed buffer (ie. `flyspell-pre-buffer' is not current
11500 buffer), which prevents making decisions based on invalid value of
11501 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
11502 cause an error when `flyspell-pre-point' was nil after switching
11504 (flyspell-post-command-hook): No longer needs to change buffers when
11505 checking pre-word. While at it remove unnecessary progn.
11507 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
11509 * textmodes/ispell.el (ispell-add-per-file-word-list):
11510 Fix `flyspell-correct-word-before-point' error when accepting
11511 words and `coment-padding' is an integer by using
11512 `comment-normalize-vars' (Bug #14214).
11514 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
11516 New defun movement commands.
11517 * progmodes/python.el (python-nav--syntactically)
11518 (python-nav--forward-defun, python-nav-backward-defun)
11519 (python-nav-forward-defun): New functions.
11521 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
11523 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
11524 (python-syntax-context): Use named compiler-macro for backwards
11525 compatibility with Emacs 24.x.
11527 2013-04-17 Leo Liu <sdl.web@gmail.com>
11529 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
11530 octave-hide-process-buffer.
11532 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
11534 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
11537 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
11539 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
11540 Fix adjustment of offset when receiving incomplete responses from GDB
11543 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
11545 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
11546 python-mode-abbrev-table.
11547 (python-skeleton-define): Adjust accordingly.
11548 (python-mode-abbrev-table): New table that inherits from it so that
11549 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
11551 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
11552 (abbrev-symbol): Use it.
11553 (abbrev--before-point): Use it since we already handle inheritance.
11555 2013-04-16 Leo Liu <sdl.web@gmail.com>
11557 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
11558 binding to info-lookup-symbol.
11560 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
11562 * minibuffer.el (completion--twq-all):
11563 * term/ns-win.el (ns-initialize-window-system):
11564 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
11566 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
11568 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
11571 * doc-view.el (doc-view-start-process): Handle url-handler directories.
11573 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
11575 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
11576 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
11578 (ruby-end-of-defun): Remove the unused arg, change the docstring
11579 to reflect that this function is only used as the value of
11580 `end-of-defun-function'.
11581 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
11582 to reflect an earlier change that beginning/end-of-defun functions
11583 jump between methods in a class definition, as well as top-level
11586 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11588 * minibuffer.el (minibuffer-complete): Don't just scroll
11589 a *Completions* that's been iconified.
11590 (minibuffer-force-complete): Make sure repetitions do cycle when going
11591 through completion-in-region -> minibuffer-complete.
11593 2013-04-15 Alan Mackenzie <acm@muc.de>
11595 Correct the placement of c-cpp-delimiters when there're #s not at
11598 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
11599 place a submatch around the #.
11600 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
11601 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
11604 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11606 * emacs-lisp/nadvice.el: Properly test names when adding advice.
11607 (advice--member-p): New arg `name'.
11608 (advice--add-function, advice-member-p): Use it (bug#14202).
11610 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
11612 Reformulate java imenu-generic-expression.
11613 The old expression contained ill formed regexps.
11615 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
11616 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
11617 (cc-imenu-java-method-arg-regexp): New defconsts.
11618 (cc-imenu-java-build-type-args-regex): New defun.
11619 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
11620 handling of spaces in the regexp.
11622 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11624 * textmodes/ispell.el (ispell-command-loop): Remove
11625 flyspell highlight of a word when ispell accepts it (bug #14178).
11627 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
11629 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
11630 uses code from the previous `ange-ftp-run-real-handler'.
11631 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
11632 only in case that function exist. This is needed for proper
11633 unloading of Tramp.
11635 2013-04-15 Tassilo Horn <tsdh@gnu.org>
11637 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
11639 * textmodes/reftex.el (reftex-compile-variables): Use it.
11641 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
11643 * files.el (normal-mode): Only use default major-mode if no other mode
11646 * emacs-lisp/trace.el (trace-values): New function.
11648 * files.el: Allow : in local variables (bug#14089).
11649 (hack-local-variable-regexp): New var.
11650 (hack-local-variables-prop-line, hack-local-variables): Use it.
11652 2013-04-13 Roland Winkler <winkler@gnu.org>
11654 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
11655 data before it gets modified by bibtex-beginning-of-entry.
11657 2013-04-13 Roland Winkler <winkler@gnu.org>
11659 * textmodes/bibtex.el (bibtex-url): Doc fix.
11661 2013-04-13 Roland Winkler <winkler@gnu.org>
11663 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
11664 does not visit a BibTeX file, exclude it from the list of buffers
11665 returned by bibtex-initialize.
11667 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
11669 * window.el (split-window): Remove interactive form, since as a
11670 command this function is a special case of split-window-below.
11671 Correct doc string.
11673 2013-04-12 Roland Winkler <winkler@gnu.org>
11675 * faces.el (read-face-name): Do not override value of arg default.
11676 Allow single faces and strings as default values. Remove those
11677 elements from return value that are not faces.
11678 (describe-face): Simplify.
11679 (face-at-point): New optional args thing and multiple so that this
11680 function can provide the same functionality previously provided by
11682 (make-face-bold, make-face-unbold, make-face-italic)
11683 (make-face-unitalic, make-face-bold-italic, invert-face)
11684 (modify-face, read-face-and-attribute): Use face-at-point.
11686 * cus-edit.el (customize-face, customize-face-other-window)
11687 * cus-theme.el (custom-theme-add-face)
11688 * face-remap.el (buffer-face-set)
11689 * facemenu.el (facemenu-set-face): Use face-at-point.
11691 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
11693 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
11695 2013-04-10 Tassilo Horn <tsdh@gnu.org>
11697 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
11698 off leading { and trailing } from field values.
11700 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
11702 * emacs-lisp/timer.el (timer--check): New function.
11703 (timer--time, timer-set-function, timer-event-handler): Use it.
11704 (timer-set-idle-time): Simplify.
11705 (timer--activate): CSE.
11706 (timer-event-handler): Give more info in error message.
11707 (internal-timer-start-idle): New function, moved from C.
11709 * mpc.el (mpc-proc): Add `restart' argument.
11710 (mpc-proc-cmd): Use it.
11711 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
11712 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
11715 2013-04-10 Masatake YAMATO <yamato@redhat.com>
11717 * progmodes/sh-script.el: Implement `sh-mode' own
11718 `add-log-current-defun-function' (bug#14112).
11719 (sh-current-defun-name): New function.
11720 (sh-mode): Use the function.
11722 2013-04-09 Bastien Guerry <bzg@gnu.org>
11724 * simple.el (choose-completion-string): Fix docstring (bug#14163).
11726 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
11728 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
11730 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
11733 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
11735 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
11738 2013-04-07 Leo Liu <sdl.web@gmail.com>
11740 * pcmpl-x.el: New file.
11742 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
11744 Do not set x-display-name until X connection is established.
11745 This is needed to prevent from weird situation described at
11746 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
11747 * frame.el (make-frame): Set x-display-name after call to
11748 window system initialization function, not before.
11749 * term/x-win.el (x-initialize-window-system): Add optional
11750 display argument and use it.
11751 * term/w32-win.el (w32-initialize-window-system):
11752 * term/ns-win.el (ns-initialize-window-system):
11753 * term/pc-win.el (msdos-initialize-window-system):
11754 Add compatible optional display argument.
11756 2013-04-06 Eli Zaretskii <eliz@gnu.org>
11758 * files.el (normal-backup-enable-predicate): On MS-Windows and
11759 MS-DOS compare truenames of temporary-file-directory and of the
11760 file, so that 8+3 aliases (usually found in $TEMP on Windows)
11761 don't fail comparison by compare-strings. Also, compare file
11762 names case-insensitively on MS-Windows and MS-DOS.
11764 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
11766 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
11767 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
11769 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
11771 * whitespace.el (whitespace-color-on, whitespace-color-off):
11772 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
11774 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
11776 * ispell.el (ispell-set-spellchecker-params):
11777 Really set `ispell-args' for all equivs.
11779 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
11781 * ido.el (ido-completions): Use extra elements of ido-decorations
11783 (ido-decorations): Update docstring.
11785 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
11787 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
11788 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
11789 nil during initialization, in order not to miss changes since the
11790 file was opened. (Bug#14140)
11792 2013-04-05 Leo Liu <sdl.web@gmail.com>
11794 * kmacro.el (kmacro-call-macro): Fix bug#14135.
11796 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
11798 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
11800 2013-04-04 Glenn Morris <rgm@gnu.org>
11802 * electric.el (electric-pair-inhibit-predicate): Add :version.
11804 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
11806 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
11807 when a package is required several times (bug#14082).
11809 2013-04-04 Roland Winkler <winkler@gnu.org>
11811 * faces.el (read-face-name): Behave as promised by the docstring.
11812 Assume that arg default is a list of faces.
11813 (describe-face): Call read-face-name with list of default faces.
11815 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11817 * bookmark.el: Fix deletion of bookmarks (bug#13972).
11818 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
11819 (bookmark-bmenu-execute-deletions): Only skip first line if it's
11821 (bookmark-exit-hook-internal): Save even if list is empty.
11823 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
11825 * emacs-lisp/package.el (package-pinned-packages): New var.
11826 (package--add-to-archive-contents): Obey it (bug#14118).
11828 2013-04-03 Alan Mackenzie <acm@muc.de>
11830 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
11831 Also adapt to the new values of element 7 of a parse state.
11833 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
11834 parameter `not-in-delimiter'. Handle being inside comment opener.
11835 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
11836 character in case we're typing a '*' after a '/'.
11837 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
11838 instead by passing the parameter to c-state-pp-to-literal.
11840 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
11841 for elt. 7 of a parse state.
11843 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
11845 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
11846 * international/latin1-disp.el, international/mule-util.el:
11847 * language/cyril-util.el, language/european.el, language/ind-util.el:
11848 * language/lao-util.el, language/thai.el, language/tibet-util.el:
11849 * language/tibetan.el, language/viet-util.el:
11850 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
11852 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
11854 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
11855 (electric-pair-post-self-insert-function): Use it.
11856 (electric-pair-default-inhibit): New function, extracted from
11857 electric-pair-post-self-insert-function.
11859 2013-03-31 Roland Winkler <winkler@gnu.org>
11861 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
11863 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
11865 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
11867 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
11869 Un-indent after "pass" and "return" statements (Bug#13888)
11870 * progmodes/python.el (python-indent-block-enders): New var.
11871 (python-indent-calculate-indentation): Use it.
11873 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
11875 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
11876 defun. Defining it as defalias could introduce too eager
11877 byte-compiler optimization. (Bug#14030)
11879 2013-03-30 Chong Yidong <cyd@gnu.org>
11881 * iswitchb.el (iswitchb-read-buffer): Fix typo.
11883 2013-03-30 Leo Liu <sdl.web@gmail.com>
11885 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
11886 (kmacro-execute-from-register): Pass the keyboard macro to
11887 kmacro-call-macro or repeating won't work correctly.
11889 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
11891 * progmodes/subword.el: Back to using `forward-symbol'.
11893 * subr.el (forward-whitespace, forward-symbol)
11894 (forward-same-syntax): Move from thingatpt.el.
11896 2013-03-29 Leo Liu <sdl.web@gmail.com>
11898 * kmacro.el (kmacro-to-register): New command.
11899 (kmacro-execute-from-register): New function.
11900 (kmacro-keymap): Bind to 'x'. (Bug#14071)
11902 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
11904 * mpc.el: Use defvar-local and setq-local.
11905 (mpc--proc-connect): Connection failures are not bugs.
11906 (mpc-mode-map): `follow-link' only applies to the buffer's content.
11907 (mpc-volume-map): Bind to the up-events.
11909 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
11911 * progmodes/subword.el (superword-mode): Use `forward-sexp'
11912 instead of `forward-symbol'.
11914 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
11916 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
11917 (edebug--recursive-edit): Use it.
11918 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
11919 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
11921 2013-03-28 Leo Liu <sdl.web@gmail.com>
11923 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
11925 2013-03-27 Eli Zaretskii <eliz@gnu.org>
11927 * facemenu.el (list-colors-callback): New defvar.
11928 (list-colors-redisplay): New function.
11929 (list-colors-display): Install list-colors-redisplay as the
11930 revert-buffer-function. (Bug#14063)
11932 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
11934 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
11935 and suffixes don't overlap (bug#14061).
11937 * case-table.el: Use lexical-binding.
11938 (case-table-get-table): New function.
11939 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
11941 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
11943 * progmodes/subword.el: Add `superword-mode' to do word motion
11944 over symbol_words (parallels and leverages `subword-mode' which
11945 does word motion inside MixedCaseWords).
11947 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
11949 * eshell/em-unix.el: Move su and sudo to...
11950 * eshell/em-tramp.el: ...Eshell tramp module.
11952 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
11954 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
11955 Change return value to be a sexp. Delay `get-buffer' to after
11956 restoring the desktop (bug#13951).
11958 2013-03-26 Leo Liu <sdl.web@gmail.com>
11960 * register.el: Move semantic tag handling back to
11961 cedet/semantic/senator.el. (Bug#14052)
11963 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
11965 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
11966 into the prompt either (bug#13963).
11968 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
11970 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
11971 part of "(error-foo)".
11973 2013-03-24 Juri Linkov <juri@jurta.org>
11975 * replace.el (list-matching-lines-prefix-face): New defcustom.
11976 (occur-1): Pass `list-matching-lines-prefix-face' to the function
11977 `occur-engine' if `face-differs-from-default-p' returns t.
11978 (occur-engine): Add `,' inside backquote construct to evaluate
11979 `prefix-face'. Propertize the prefix with the `prefix-face' face.
11980 Pass `prefix-face' to the functions `occur-context-lines' and
11981 `occur-engine-add-prefix'.
11982 (occur-engine-add-prefix, occur-context-lines): Add optional arg
11983 `prefix-face' and propertize the prefix with `prefix-face'.
11986 2013-03-24 Leo Liu <sdl.web@gmail.com>
11988 * nxml/rng-valid.el (rng-validate-while-idle)
11989 (rng-validate-quick-while-idle): Guard against deleted buffer.
11992 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
11993 is the last entry in kill-buffer-hook.
11995 * files.el (kill-buffer-hook): Doc fix.
11997 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
11999 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
12000 Make it safe-local.
12002 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
12004 2013-03-23 Leo Liu <sdl.web@gmail.com>
12006 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
12009 * nxml/rng-valid.el (rng-validate-mode)
12010 (rng-after-change-function, rng-do-some-validation):
12011 * nxml/rng-maint.el (rng-validate-buffer):
12012 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
12013 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
12014 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
12015 (nxml-extend-after-change-region): Use with-silent-modifications.
12017 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
12020 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
12021 (rng-next-error-1, rng-previous-error-1): Do not let-bind
12022 timer-idle-list. (Bug#13999)
12024 2013-03-23 Juri Linkov <juri@jurta.org>
12026 * info.el (info-index-match): New face.
12027 (Info-index, Info-apropos-matches): Add a nested subgroup to the
12028 main pattern and add text properties with the new face to matches
12029 in index entries relative to the beginning of the index entry.
12032 2013-03-21 Eric Ludlam <zappo@gnu.org>
12034 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
12035 Inhibit read only while inserting objects.
12037 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
12039 * progmodes/cfengine.el: Update docs to mention
12040 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
12041 symbol motion. Remove "_" from the word syntax.
12043 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
12045 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
12046 syntax for both `cfengine2-mode' and `cfengine3-mode'.
12048 2013-03-20 Juri Linkov <juri@jurta.org>
12050 * info.el (Info-next-reference-or-link)
12051 (Info-prev-reference-or-link): New functions.
12052 (Info-next-reference, Info-prev-reference): Use them.
12053 (Info-try-follow-nearest-node): Handle footnote navigation.
12054 (Info-fontify-node): Fontify footnotes. (Bug#13989)
12056 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
12058 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
12059 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
12061 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
12063 Suppress unnecessary non-ASCII chatter during build process.
12064 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
12065 (batch-skkdic-convert): Suppress most of the chatter.
12066 It's not needed so much now that machines are faster,
12067 and its non-ASCII component was confusing; see Dmitry Gutov in
12068 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
12070 2013-03-20 Leo Liu <sdl.web@gmail.com>
12072 * ido.el (ido-chop): Fix bug#10994.
12074 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
12076 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
12078 (whitespace-color-on, whitespace-color-off):
12079 Use `font-lock-fontify-buffer' (Bug#13817).
12081 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
12083 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
12084 remapping in mode-line.
12085 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
12087 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
12089 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
12090 value for `whitespace-line' face (Bug#13875).
12091 (whitespace-font-lock-keywords): Change description.
12092 (whitespace-color-on): Don't save `font-lock-keywords' value, save
12093 the constructed keywords instead.
12094 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
12096 2013-03-19 Leo Liu <sdl.web@gmail.com>
12098 * progmodes/compile.el (compilation-display-error): New command.
12099 (compilation-mode-map, compilation-minor-mode-map): Bind it to
12102 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
12104 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
12106 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
12108 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
12110 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
12112 * net/tramp-compat.el (tramp-compat-user-error): New defun.
12114 * net/tramp-adb.el (tramp-adb-handle-shell-command):
12115 * net/tramp-gvfs.el (top):
12116 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
12117 (tramp-handle-shell-command): Use it.
12118 (tramp-dissect-file-name): Raise an error when hostname is a
12119 method name, and neither method nor user is specified.
12121 * net/trampver.el: Update release number.
12123 2013-03-18 Leo Liu <sdl.web@gmail.com>
12125 Make sure eldoc can be turned off properly.
12126 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
12128 (eldoc-display-message-p): Revert last change.
12129 (eldoc-display-message-no-interference-p)
12130 (eldoc-print-current-symbol-info): Tweak.
12132 2013-03-18 Tassilo Horn <tsdh@gnu.org>
12134 * doc-view.el (doc-view-new-window-function): Check the new window
12135 overlay's display property instead the char property of the
12136 buffer's first char. Use `with-selected-window' instead of
12137 `save-window-excursion' with `select-window'.
12138 (doc-view-document->bitmap): Check the current doc-view overlay's
12139 display property instead the char property of the buffer's first char.
12141 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
12143 Automate the build of ja-dic.el (Bug#13984).
12144 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
12145 from the input, rather than assume that it's been done for us by the
12146 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
12147 the current date into a ja-dic.el comment, as that complicates
12148 regression testing.
12150 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
12152 * whitespace.el: Fix double evaluation.
12153 (whitespace-space, whitespace-hspace, whitespace-tab)
12154 (whitespace-newline, whitespace-trailing, whitespace-line)
12155 (whitespace-space-before-tab, whitespace-indentation)
12156 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
12158 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
12159 (whitespace-color-on): Use a single font-lock-add-keywords call.
12160 Fix double-evaluation of face variables.
12162 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
12164 * net/tramp-adb.el (tramp-adb-parse-device-names):
12165 Use `start-process' instead of `call-process'. Otherwise, the
12166 function might be blocked under MS Windows. (Bug#13299)
12168 2013-03-17 Leo Liu <sdl.web@gmail.com>
12170 Extend eldoc to display info in the mode-line. (Bug#13978)
12171 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
12172 (eldoc-mode-line-string): New variable.
12173 (eldoc-minibuffer-message): New function.
12174 (eldoc-message-function): New variable.
12175 (eldoc-message): Use it.
12176 (eldoc-display-message-p)
12177 (eldoc-display-message-no-interference-p):
12178 Support eldoc-post-insert-mode.
12180 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
12181 (eval-expression): Run it.
12183 2013-03-17 Roland Winkler <winkler@gnu.org>
12185 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
12186 strings in the list of return values.
12188 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
12190 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
12191 radix before checking for HMS forms.
12193 2013-03-16 Leo Liu <sdl.web@gmail.com>
12195 * progmodes/scheme.el: Add indentation and font-locking for λ.
12198 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
12200 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
12201 token before point (bug#13942).
12203 2013-03-16 Leo Liu <sdl.web@gmail.com>
12205 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
12207 2013-03-16 Eli Zaretskii <eliz@gnu.org>
12209 * startup.el (command-line-normalize-file-name): Fix handling of
12210 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
12211 <xfq.free@gmail.com> in
12212 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
12214 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
12216 Sync with Tramp 2.2.7.
12218 * net/trampver.el: Update release number.
12220 2013-03-14 Tassilo Horn <tsdh@gnu.org>
12222 * doc-view.el: Fix bug#13887.
12223 (doc-view-insert-image): Don't modify overlay associated to
12224 non-live windows, and implement horizontal centering of image in
12225 case it's smaller than the window.
12226 (doc-view-new-window-function): Force redisplay of new windows on
12229 2013-03-13 Karl Fogel <kfogel@red-bean.com>
12231 * saveplace.el (save-place-alist-to-file): Don't sort
12232 `save-place-alist', just pretty-print it (bug#13882).
12234 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
12236 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
12237 Check whether `default-file-name-coding-system' is bound.
12238 It isn't in XEmacs.
12240 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
12242 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
12243 backquotes for `obsolete' (bug#13929).
12245 * international/mule.el (find-auto-coding): Include file name in
12246 obsolescence warning (bug#13922).
12248 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
12250 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
12251 for CFEngine 3-specific indentation.
12252 (cfengine3-indent-line): Use it. Fix up category regex.
12253 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
12255 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12257 * type-break.el (type-break-file-name):
12258 * textmodes/remember.el (remember-data-file):
12259 * strokes.el (strokes-file):
12260 * shadowfile.el (shadow-initialize):
12261 * saveplace.el (save-place-file):
12262 * ps-bdf.el (bdf-cache-file):
12263 * progmodes/idlwave.el (idlwave-config-directory):
12264 * net/quickurl.el (quickurl-url-file):
12265 * international/kkc.el (kkc-init-file-name):
12266 * ido.el (ido-save-directory-list-file):
12267 * emulation/viper.el (viper-custom-file-name):
12268 * emulation/vip.el (vip-startup-file):
12269 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
12270 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
12272 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
12274 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
12275 * language/thai-word.el: Switch to UTF-8.
12277 See ChangeLog.16 for earlier changes.
12279 ;; Local Variables:
12283 Copyright (C) 2011-2014 Free Software Foundation, Inc.
12285 This file is part of GNU Emacs.
12287 GNU Emacs is free software: you can redistribute it and/or modify
12288 it under the terms of the GNU General Public License as published by
12289 the Free Software Foundation, either version 3 of the License, or
12290 (at your option) any later version.
12292 GNU Emacs is distributed in the hope that it will be useful,
12293 but WITHOUT ANY WARRANTY; without even the implied warranty of
12294 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12295 GNU General Public License for more details.
12297 You should have received a copy of the GNU General Public License
12298 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.